/*
 *             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{Plugin as _0x151d85,Command as _0x208eac,ContextPlugin as _0x304a5a,Editor as _0x8aa8ea,PendingActions as _0x1bb5aa,Context as _0x5152d3,ElementApiMixin as _0x891879}from'ckeditor5';import{uid as _0x3eda13,CKEditorError as _0x522f1f,ObservableMixin as _0x4e29c1,global as _0x313644,isVisible as _0xa36475,Rect as _0x2bf707,Collection as _0x47a54f,FocusTracker as _0xafcb0e,KeystrokeHandler as _0x2ae5e6,first as _0x1e08d5,logWarning as _0x445208,logError as _0x1ede73,toArray as _0x3920f6,version as _0xe3d6ee,EmitterMixin as _0x3cde5f,scrollViewportToShowTarget as _0x4e25b4,insertToPriorityArray as _0x3b227a,scrollAncestorsToShowTarget as _0x1f5771,ResizeObserver as _0x4ebf8b,_isMotionReduced as _0xef0d87,getConstrainedViewportRect as _0x2a28e2,DomEmitterMixin as _0x3c72d0,diff as _0x48a903,priorities as _0x537830,getEnvKeystrokeText as _0x10f09f,toUnit as _0x27e6af,keyCodes as _0x594067,diffToChanges as _0x45a9b4,collectStylesheets as _0x1e3974,createElement as _0x455380,env as _0x342f35,ElementReplacer as _0x3b627b,formatHtml as _0xa51c36,getAncestors as _0xfaa7f5}from'ckeditor5';import{ToolbarView as _0xbea5f1,ButtonView as _0x4c508c,View as _0xa34d16,SpinnerView as _0x36c3a7,IconView as _0x468811,AutocompleteView as _0xe24be8,ListView as _0x1688f4,ListItemGroupView as _0x121725,ListItemView as _0xcc051a,ButtonLabelView as tt,FocusCycler as et,createLabeledTextarea as it,Dialog as st,createDropdown as nt,addMenuToDropdown as rt,MenuBarMenuView as ot,MenuBarMenuListItemButtonView as at,DialogViewPosition as ct,MenuBarMenuListView as lt,MenuBarMenuListItemView as ht,DropdownButtonView as ut,isViewWithFocusCycler as dt,BodyCollection as ft,BalloonPanelView as mt,clickOutsideHandler as gt,addListToDropdown as pt,UIModel as Ot,submitHandler as wt,LabeledFieldView as bt,createLabeledInputText as yt,FormHeaderView as vt,HighlightedTextView as _t,ViewCollection as Et,FileDialogButtonView as Tt,InputTextView as At,SearchTextView as It,ListItemButtonView as St,ButtonLabelWithHighlightView as Ct,DropdownMenuPanelPositioningFunctions as kt,BalloonToolbar as xt,FormRowView as Rt,TextareaView as Pt,EditorUIView as Mt,InlineEditableUIView as Nt,EditorUI as Lt,focusChildOnDropdownOpen as $t,ContextualBalloon as Dt,Notification as Qt,addKeyboardHandlingForGrid as Vt,CollapsibleView as Ut,createLabeledInputNumber as Bt,SplitButtonView as Ft,MenuBarMenuListItemFileDialogButtonView as jt,filterGroupAndItemNames as Ht,LabelWithHighlightView as Gt,InputNumberView as Zt,normalizeColorOptions as Xt,ListSeparatorView as qt,CssTransitionDisablerMixin as Wt,ToolbarSeparatorView as zt,normalizeToolbarConfig as Yt,BoxedEditorUIView as Kt,StickyPanelView as Jt,LabelView as te}from'ckeditor5';import{IconCopy as _0x5a418e,IconCheck as _0x253584,IconError as _0x3b8641,IconSubmit as _0xc57d4a,IconAIHistory as _0x3fae78,IconMagicWand as _0x51fde0,IconRobotPencil as _0x1ebc09,IconMaximize as _0x9a9ba,IconMinimize as _0x1adf91,IconNotification as _0x509ff5,IconCancel as _0x3f6f57,IconShowChangesOn as _0x5e7fc3,IconShowChangesOff as _0x47634b,IconDocument as _0x4fcba6,IconBoxWithCross as _0x7607b9,IconBoxWithCheck as _0xa7ecbf,IconBoxWithMarker as _0x29d861,IconInfo as _0x25dd10,IconWeb as _0x3fc0ea,IconSelection as _0x1058ea,IconFileUpload as _0x3c95e9,IconLink as _0x3c2990,IconImage as _0x42a5af,IconBulb as _0x859fc,IconAI as _0x15b204,IconPreviousArrow as _0x388e03,IconDocumentOutline as _0x51eff3,IconLoupe as _0x1d02d6,IconPaperClip as _0xec5cf0,IconBrowseFiles as _0x3d11a9,IconDropdownArrow as _0x56ba57,IconStop as _0xe12a8e,IconPlus as _0x20d5b9,IconAIChat as _0x15447f,IconPin as _0x1203b0,IconThreeHorizontalDots as _0x56368b,IconAIReview as _0x208016,IconAITranslate as _0x1b2af2,IconAIAskAI as _0x3738fb,IconThumbUp as _0x1e3601,IconThumbDown as _0x304a09,IconChevronDown as _0x40df9d,IconChevronUp as _0x3505fc,IconAIQuickActions as _0xf50f2a,IconAIChatCommands as _0x428218,IconAIImproveWriting as _0x4b26e3,IconAIContinueWriting as _0x487641,IconAIGrammarCheck as _0x8d64b,IconAIAdjustLength as _0x447e0e,IconAIChangeTone as _0x575f96,IconAIOther as _0x1919e1,IconRefresh as _0x171757,IconNextArrow as _0xdb1598,IconOutdated as ti,IconEye as _0x2fd89d,IconEyeCrossedOut as _0x531ad5,IconChevronRight as _0x57f3d1,IconCaseChange as _0x4be854,IconUndo as _0x4464d3,IconPencil as _0x14b582,IconRemoveComment as _0x5ec9de,IconThreeVerticalDots as _0x1fb390,IconAddComment as _0x3f7577,IconCommentsArchive as _0x265a12,IconTableOfContents as _0x1fcdf2,IconExportPdf as _0xa9a6d9,IconExportWord as _0x46517a,IconFootnote as _0x345316,IconListStyleDecimal as _0x149fb1,IconListStyleDecimalLeadingZero as _0x228fa1,IconListStyleLowerRoman as _0x1a13fb,IconListStyleUpperRoman as _0x26b217,IconListStyleLowerLatin as _0x5f5612,IconListStyleUpperLatin as _0x25bc04,IconListStyleArabicIndic as _0x3a0f16,IconPaintRoller as _0xcde6dd,IconImportWord as _0x5b9218,IconLineHeight as _0x19f48e,IconMultiLevelList as _0x1d0f4f,IconWarning as _0x3d4d1a,IconInsertMergeField as _0x25cead,IconPreviewMergeFields as _0x2102ee,IconArrowDown as _0x552723,IconArrowUp as _0x10db46,IconTrackChanges as _0x5d5180,IconHistory as _0x1be39e,IconUser as _0x40d2ec,IconQuote as _0x3ebf76,IconBulletedList as _0x27747b,IconCodeBlock as _0x3b250e,IconEmoji as _0x16298e,IconHeading1 as _0x2a98c4,IconHeading2 as _0x20f8e9,IconHeading3 as _0x33f235,IconHeading4 as _0x3e2345,IconHeading5 as _0x4009ab,IconHeading6 as _0x4c7f0c,IconHorizontalLine as _0xcd4e5f,IconHtml as _0x57ff1c,IconIndent as _0x37af09,IconTable as _0x1364bf,IconNumberedList as _0x3ca3b3,IconOutdent as _0x3f95a0,IconParagraph as _0x2f4764,IconTodoList as _0x2d7755,IconPlay as _0x3617a0,IconSource as _0x5ac98b,IconTemplateGeneric as ts,IconTemplate as _0x1ec93d,IconOneDrive as _0x452fd6,IconGooglePhotos as _0x4b8d07,IconGoogleDrive as _0x3edecb,IconFacebook as _0x57e7d2,IconDropbox as _0x4074a2,IconUploadcareLink as _0x116d4c,IconUploadcareImageUpload as _0x50c5bb,IconUploadcareImageEdit as _0x56e485}from'ckeditor5';import{setHighlightHandling as _0x521476,toWidget as _0x42fba9,Widget as _0x4990cb,isWidget as _0x3b410d,toWidgetEditable as _0x4b3e94,WidgetToolbarRepository as _0x2364a5,findOptimalInsertionRange as _0x3abc4f,viewToModelPositionOutsideModelElement as _0xe084f9}from'ckeditor5';import{ViewDocumentDomEventData as _0x2208a4,ViewDataTransfer as _0x23aec4,ViewUpcastWriter as _0x5ca631,Matcher as _0x4c3de8,InsertOperation as _0xf189cc,MoveOperation as _0x4a1432,ModelPosition as _0x1845da,ModelRange as _0x2b1886,MarkerOperation as _0x16ce72,MergeOperation as _0x275758,SplitOperation as _0x2517f7,RenameOperation as _0x116634,AttributeOperation as _0x1b9f3b,ModelTreeWalker as _0x483405,ModelText as _0x3b4df1,_DetachOperation as _0x2e6f80,_insertIntoModelNodeList as _0x573e77,_removeFromModelNodeList as _0x5ce29d,transformOperationSets as _0x142dc9,ViewDowncastWriter as _0x5dc9b1,ModelDocumentFragment as _0x50f751,disableViewPlaceholder as _0x3e892b,enableViewPlaceholder as _0x381cb8,MouseObserver as _0x263f33,StylesMap as _0x1ccfd0,addMarginStylesRules as _0x1478fc,addPaddingStylesRules as _0x379087,PointerObserver as _0x421289,ClickObserver as _0x356a11,isPercentageStyleValue as _0x17bc1c,ViewDocument as _0x5b73b6,ViewDomConverter as _0x10f752,ModelLiveRange as _0x49053d,History as _0x55cc22,NoOperation as _0x2d2051,RootAttributeOperation as _0x2a30cf,OperationFactory as tn,ModelElement as _0x48588f,ModelLivePosition as _0x103f40,ViewContainerElement as _0x2b93b4,ViewAttributeElement as _0x127036,ViewEmptyElement as _0x134b55,ViewRawElement as _0x12e3fd,ViewUIElement as _0x290df5,ViewDocumentFragment as _0x271258,ViewText as _0x4d683a,ViewElement as _0x147cda}from'ckeditor5';import{ClipboardPipeline as _0x4d1fc7,ClipboardMarkersUtils as _0x34e652,Clipboard as _0x511698}from'ckeditor5';import{Enter as _0x25873b,ShiftEnter as _0x406dd2}from'ckeditor5';import{SelectAll as _0x325c6d}from'ckeditor5';import{Typing as _0x16f6b5,Delete as _0x193487,Input as _0x1ca82f}from'ckeditor5';import{Undo as _0x5278cc}from'ckeditor5';import{Paragraph as _0x302706}from'ckeditor5';import{CloudServices as _0x4eeba8}from'ckeditor5';import{RemoveFormatCommand as _0x35ae0d}from'ckeditor5';import{ListEditing as _0x55f789,_isFirstBlockOfListItem as _0x57abb1}from'ckeditor5';import{ImageUtils as _0x58f910,ImageEditing as _0x44af9d,ImageUploadEditing as _0x11e849,ImageUploadProgress as _0x54dda1,PictureEditing as _0x5c8053}from'ckeditor5';import{Mention as _0x54efb5}from'ckeditor5';import{PasteFromOfficeMSWordNormalizer as _0x3ea026,PasteFromOffice as _0x222999}from'ckeditor5';import{MarkdownGfmMdToHtmlDefaultPlugins as _0x3b4095,MarkdownGfmMdToHtml as _0x330a4d}from'ckeditor5';import{FileRepository as _0x18a1ca}from'ckeditor5';const Qn='_ungrouppedCommands';function Vn(_0x197211,_0x147875){const _0xf927bb=(0x0,_0x147875['t'])('Other');return _0x197211['length']?'groupId'in _0x197211[0x0]?_0x197211:[{'groupId':Qn,'groupLabel':_0xf927bb,'order':0x1/0x0,'commands':_0x197211}]:[{'groupId':Qn,'groupLabel':_0xf927bb,'order':0x1/0x0,'commands':[]}];}const Un=globalThis['DataTransfer'],Bn='ai-ui';class AIAssistantEditing extends _0x151d85{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x533a14}=this,_0x5ac1ae=['ck-fake-ai-selection'];_0x533a14['config']['get']('ai.assistant.useTheme')&&_0x5ac1ae['push']('ck-ai-assistant-ui_theme'),_0x533a14['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Bn,'view':{'classes':_0x5ac1ae,'priority':0xc}}),_0x533a14['conversion']['for']('editingDowncast')['markerToElement']({'model':Bn,'view':(_0x252d6d,{writer:_0x126b0c})=>{if(!_0x252d6d['markerRange']['isCollapsed'])return null;const _0x463bc5=_0x126b0c['createUIElement']('span');return _0x126b0c['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x463bc5),_0x463bc5;}});}['afterInit'](){!async function(_0x2ce754){const _0x10eb4d=_0x35dbd8([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x32c0cb=0x3dffc4e1,_0x25bade=0x3df84f31^_0x32c0cb,_0x4a49b1=window[_0x35dbd8([0x44,0x61,0x74,0x65])][_0x35dbd8([0x6e,0x6f,0x77])](),_0x2cd91d=_0x2ce754[_0x35dbd8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ecb30=new window[(_0x35dbd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ba086=>{_0x2cd91d[_0x35dbd8([0x6f,0x6e,0x63,0x65])](_0x35dbd8([0x72,0x65,0x61,0x64,0x79]),_0x3ba086);}),_0x421e71={[_0x35dbd8([0x6b,0x74,0x79])]:_0x35dbd8([0x45,0x43]),[_0x35dbd8([0x75,0x73,0x65])]:_0x35dbd8([0x73,0x69,0x67]),[_0x35dbd8([0x63,0x72,0x76])]:_0x35dbd8([0x50,0x2d,0x32,0x35,0x36]),[_0x35dbd8([0x78])]:_0x35dbd8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x35dbd8([0x79])]:_0x35dbd8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x35dbd8([0x61,0x6c,0x67])]:_0x35dbd8([0x45,0x53,0x32,0x35,0x36])},_0x56ffc1=_0x2cd91d[_0x35dbd8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35dbd8([0x67,0x65,0x74])](_0x35dbd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d4a35(){let _0x34a883,_0x79440=null,_0x4dd3af=null;try{if(_0x56ffc1==_0x35dbd8([0x47,0x50,0x4c]))return _0x35dbd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34a883=_0x1b9f18(),!_0x34a883)return _0x35dbd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34a883[_0x35dbd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dd3af=_0x479687(_0x34a883[_0x35dbd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34a883[_0x35dbd8([0x6a,0x74,0x69])])),await _0x113a14()?_0x21d9b7()?_0x1be22c()?_0x35dbd8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2ffa70()?(_0x34a883[_0x35dbd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35dbd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x79440=_0x2830bc(_0x35dbd8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b7ec3()):_0x35dbd8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35dbd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35dbd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35dbd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1be22c(){const _0x330b36=[_0x35dbd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35dbd8([0x74,0x72,0x69,0x61,0x6c])][_0x35dbd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34a883[_0x35dbd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a49b1/0x3e8:0xe10*_0x25bade;return _0x34a883[_0x35dbd8([0x65,0x78,0x70])]<_0x330b36;}function _0x21d9b7(){const _0x18e8c3=_0x34a883[_0x35dbd8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18e8c3&&(!!_0x18e8c3[_0x35dbd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35dbd8([0x2a]))||!!_0x18e8c3[_0x35dbd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35dbd8([0x41,0x49])));}function _0x2ffa70(){const _0x7f4479=_0x34a883[_0x35dbd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x7f4479||0x0==_0x7f4479[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b1936}=new URL(window[_0x35dbd8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x7f4479[_0x35dbd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b1936))return!0x0;const _0x2fc1ce=_0x2b1936[_0x35dbd8([0x73,0x70,0x6c,0x69,0x74])](_0x35dbd8([0x2e]));return _0x7f4479[_0x35dbd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44d470=>_0x44d470[_0x35dbd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35dbd8([0x2a])))[_0x35dbd8([0x6d,0x61,0x70])](_0x164438=>_0x164438[_0x35dbd8([0x73,0x70,0x6c,0x69,0x74])](_0x35dbd8([0x2e])))[_0x35dbd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c5db1=>_0x2c5db1[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2fc1ce[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35dbd8([0x6d,0x61,0x70])](_0x3ee698=>Array(_0x2fc1ce[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ee698[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35dbd8([0x66,0x69,0x6c,0x6c])](_0x3ee698[0x0]===_0x35dbd8([0x2a])?_0x35dbd8([0x2a]):'')[_0x35dbd8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ee698))[_0x35dbd8([0x73,0x6f,0x6d,0x65])](_0x3a48df=>_0x2fc1ce[_0x35dbd8([0x65,0x76,0x65,0x72,0x79])]((_0x4ba605,_0x44015e)=>_0x3a48df[_0x44015e]===_0x4ba605||_0x3a48df[_0x44015e]===_0x35dbd8([0x2a])));}function _0x1b7ec3(){return _0x79440&&_0x4dd3af?new window[(_0x35dbd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39fbf5,_0x9000ba)=>{_0x79440[_0x35dbd8([0x74,0x68,0x65,0x6e])](_0x39fbf5,_0x9000ba),_0x4dd3af[_0x35dbd8([0x74,0x68,0x65,0x6e])](_0x4fbc8e=>{_0x4fbc8e!=_0x35dbd8([0x56,0x61,0x6c,0x69,0x64])&&_0x39fbf5(_0x4fbc8e);},_0x9000ba);}):_0x79440||_0x4dd3af||_0x35dbd8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x479687(_0xb82392,_0x15924b){return new window[(_0x35dbd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b579d=>{if(_0x172e64())return _0x2b579d(_0x35dbd8([0x56,0x61,0x6c,0x69,0x64]));_0x1705a8(),_0x2cd91d[_0x35dbd8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35dbd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x167f3d=!0x1;const _0x10ae17=_0x3eda13();function _0x6e6607(_0x494215){return!!_0x494215&&(typeof _0x494215===_0x35dbd8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x494215===_0x35dbd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x494215[_0x35dbd8([0x74,0x68,0x65,0x6e])]===_0x35dbd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x494215[_0x35dbd8([0x63,0x61,0x74,0x63,0x68])]===_0x35dbd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39eca5(_0x4112b0){_0xa27e09(_0x4112b0)[_0x35dbd8([0x74,0x68,0x65,0x6e])](_0x48ac6c=>{if(!_0x48ac6c||_0x48ac6c[_0x35dbd8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35dbd8([0x6f,0x6b]))return _0x35dbd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12de1e(_0x497e98(_0x10ae17+_0x15924b))!=_0x48ac6c[_0x35dbd8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35dbd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35dbd8([0x56,0x61,0x6c,0x69,0x64]);})[_0x35dbd8([0x74,0x68,0x65,0x6e])](_0x472c86=>(_0x403a97(),_0x472c86),()=>{const _0x416764=_0x5ea4c0();return null==_0x416764?(_0x403a97(),_0x35dbd8([0x56,0x61,0x6c,0x69,0x64])):_0x35dbd8(_0x4a49b1-_0x416764>(0x19f340e1^_0x32c0cb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35dbd8([0x74,0x68,0x65,0x6e])](_0x2b579d)[_0x35dbd8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2b579d(_0x35dbd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51cbde=0x3dc92a61^_0x32c0cb;function _0x403a97(){const _0x128637=_0x35dbd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x12de1e(_0x497e98(_0xb82392)),_0x198112=_0x32efba(_0x12de1e(window[_0x35dbd8([0x4d,0x61,0x74,0x68])][_0x35dbd8([0x63,0x65,0x69,0x6c])](_0x4a49b1/_0x51cbde)));window[_0x35dbd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35dbd8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x128637,_0x198112);}function _0x5ea4c0(){const _0x360fea=_0x35dbd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x12de1e(_0x497e98(_0xb82392)),_0x4ec6ea=window[_0x35dbd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35dbd8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x360fea);return _0x4ec6ea?window[_0x35dbd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32efba(_0x4ec6ea),0x10)*_0x51cbde:null;}function _0xa27e09(_0x37c436){return new window[(_0x35dbd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d7a17,_0x24bfa9)=>{_0x37c436[_0x35dbd8([0x74,0x68,0x65,0x6e])](_0x5d7a17,_0x24bfa9),window[_0x35dbd8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24bfa9,0x3dfe1021^_0x32c0cb);});}}_0x2cd91d[_0x35dbd8([0x6f,0x6e])](_0x35dbd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5de04f,_0x2f0b3e)=>{if(_0x2f0b3e[0x0]!=_0xb82392)return _0x2b579d(_0x35dbd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f0b3e[0x1]={..._0x2f0b3e[0x1],[_0x35dbd8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10ae17};},{[_0x35dbd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35dbd8([0x68,0x69,0x67,0x68])}),_0x2cd91d[_0x35dbd8([0x6f,0x6e])](_0x35dbd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf420a6=>{_0x6e6607(_0xf420a6[_0x35dbd8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x167f3d=!0x0,_0x39eca5(_0xf420a6[_0x35dbd8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35dbd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35dbd8([0x6c,0x6f,0x77])}),_0x3ecb30[_0x35dbd8([0x74,0x68,0x65,0x6e])](()=>{_0x167f3d||_0x2b579d(_0x35dbd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x172e64(){return _0x2cd91d[_0x35dbd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35dbd8([0x76,0x69,0x65,0x77])][_0x35dbd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35dbd8([0x61,0x75,0x74,0x6f]);}function _0x1705a8(){_0x2cd91d[_0x35dbd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35dbd8([0x76,0x69,0x65,0x77])][_0x35dbd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35dbd8([0x61,0x75,0x74,0x6f]);}}function _0x2830bc(_0x2d4217){const _0x4f4d6b=[new window[(_0x35dbd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3488c7=>setTimeout(_0x3488c7,0x3df6fa2d^_0x32c0cb)),_0x3ecb30[_0x35dbd8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35dbd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30a2f8=>{let _0x3f21a3=0x0;_0x2cd91d[_0x35dbd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x35dbd8([0x6f,0x6e])](_0x35dbd8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3dc2a1,_0x153204)=>{_0x153204[0x0][_0x35dbd8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3f21a3++,_0x3f21a3==(0x3dffc109^_0x32c0cb)&&(_0x30a2f8(),_0x3dc2a1[_0x35dbd8([0x6f,0x66,0x66])]());});}))];return window[_0x35dbd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35dbd8([0x72,0x61,0x63,0x65])](_0x4f4d6b)[_0x35dbd8([0x74,0x68,0x65,0x6e])](()=>_0x2d4217);}async function _0x3429a4(){await _0x3ecb30,_0x2cd91d[_0x35dbd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x35dbd8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5013cc,_0x2cd91d[_0x35dbd8([0x6d,0x6f,0x64,0x65,0x6c])][_0x35dbd8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5013cc,_0x2cd91d[_0x35dbd8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35dbd8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54034a(_0x53a4f1){const _0x482eb6=_0x4b658f();_0x2cd91d[_0x482eb6]=_0x35dbd8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53a4f1,_0x53a4f1!=_0x35dbd8([0x56,0x61,0x6c,0x69,0x64])&&_0x3429a4();}function _0x4b658f(){const _0x4cdba9=window[_0x35dbd8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35dbd8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35dbd8([0x6e,0x6f,0x77])]())[_0x35dbd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35dbd8([0x2e]),'');let _0x1c5400=_0x35dbd8([0x6e]);for(let _0x339b13=0x0;_0x339b13<_0x4cdba9[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x339b13+=0x2){let _0xf78711=window[_0x35dbd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4cdba9[_0x35dbd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x339b13,_0x339b13+0x2));_0xf78711>=_0x10eb4d[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf78711-=_0x10eb4d[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c5400+=_0x10eb4d[_0xf78711];}return _0x1c5400;}function _0x1b9f18(){const _0x3fd5ff=_0x56ffc1[_0x35dbd8([0x73,0x70,0x6c,0x69,0x74])](_0x35dbd8([0x2e]));if(0x3!=_0x3fd5ff[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x331ec2(_0x3fd5ff[0x1]);function _0x331ec2(_0x202213){const _0x5aec3f=_0x38de4b(_0x202213);return _0x5aec3f&&_0x575bc5()?_0x5aec3f:null;function _0x575bc5(){const _0x23f7f9=_0x5aec3f[_0x35dbd8([0x6a,0x74,0x69])],_0x41f1b4=window[_0x35dbd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23f7f9[_0x35dbd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23f7f9[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ee9f2={..._0x5aec3f,[_0x35dbd8([0x6a,0x74,0x69])]:_0x23f7f9[_0x35dbd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23f7f9[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ee9f2[_0x35dbd8([0x76,0x63])],_0x497e98(_0x2ee9f2)==_0x41f1b4;}}}async function _0x113a14(){let _0x3e2af5=!0x0;try{const _0x474276=_0x56ffc1[_0x35dbd8([0x73,0x70,0x6c,0x69,0x74])](_0x35dbd8([0x2e])),[_0xca24c0,_0x22320d,_0xcaab2e]=_0x474276;return _0x5458c0(_0xca24c0),await _0x39baae(_0xca24c0,_0x22320d,_0xcaab2e),_0x3e2af5;}catch{return!0x1;}function _0x5458c0(_0x2673e6){const _0xbf4594=_0x38de4b(_0x2673e6);_0xbf4594&&_0xbf4594[_0x35dbd8([0x61,0x6c,0x67])]==_0x35dbd8([0x45,0x53,0x32,0x35,0x36])||(_0x3e2af5=!0x1);}async function _0x39baae(_0x341201,_0x4da03f,_0x1fbaf5){const _0x13799d=window[_0x35dbd8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35dbd8([0x66,0x72,0x6f,0x6d])](_0x413488(_0x1fbaf5),_0x266789=>_0x266789[_0x35dbd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8d3eb8=new window[(_0x35dbd8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35dbd8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x341201+_0x35dbd8([0x2e])+_0x4da03f),_0x36dd19=window[_0x35dbd8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35dbd8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x36dd19)return;const _0x5299f0=await _0x36dd19[_0x35dbd8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35dbd8([0x6a,0x77,0x6b]),_0x421e71,{[_0x35dbd8([0x6e,0x61,0x6d,0x65])]:_0x35dbd8([0x45,0x43,0x44,0x53,0x41]),[_0x35dbd8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35dbd8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35dbd8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x36dd19[_0x35dbd8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35dbd8([0x6e,0x61,0x6d,0x65])]:_0x35dbd8([0x45,0x43,0x44,0x53,0x41]),[_0x35dbd8([0x68,0x61,0x73,0x68])]:{[_0x35dbd8([0x6e,0x61,0x6d,0x65])]:_0x35dbd8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5299f0,_0x13799d,_0x8d3eb8)||(_0x3e2af5=!0x1);}}function _0x38de4b(_0x40e1de){return _0x40e1de[_0x35dbd8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35dbd8([0x65,0x79]))?JSON[_0x35dbd8([0x70,0x61,0x72,0x73,0x65])](_0x413488(_0x40e1de)):null;}function _0x413488(_0x700f83){return window[_0x35dbd8([0x61,0x74,0x6f,0x62])](_0x700f83[_0x35dbd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35dbd8([0x2b]))[_0x35dbd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35dbd8([0x2f])));}function _0x497e98(_0x22bf5d){let _0x34e830=0x1505;function _0x4df162(_0x25470f){for(let _0x210c4e=0x0;_0x210c4e<_0x25470f[_0x35dbd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x210c4e++){const _0x362108=_0x25470f[_0x35dbd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x210c4e);_0x34e830=(_0x34e830<<0x5)+_0x34e830+_0x362108,_0x34e830&=_0x34e830;}}function _0x144e16(_0x2762bb){Array[_0x35dbd8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2762bb)?_0x2762bb[_0x35dbd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x144e16):_0x2762bb&&typeof _0x2762bb==_0x35dbd8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35dbd8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2762bb)[_0x35dbd8([0x73,0x6f,0x72,0x74])]()[_0x35dbd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1960dc,_0x5d4383])=>{_0x4df162(_0x1960dc),_0x144e16(_0x5d4383);}):_0x4df162(window[_0x35dbd8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2762bb));}return _0x144e16(_0x22bf5d),_0x34e830>>>0x0;}function _0x12de1e(_0x55a0c9){return _0x55a0c9[_0x35dbd8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35dbd8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35dbd8([0x30]));}function _0x32efba(_0x378cf2){return _0x378cf2[_0x35dbd8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35dbd8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35dbd8([0x6a,0x6f,0x69,0x6e])]('');}function _0x5013cc(){}function _0x35dbd8(_0x2825ae){return _0x2825ae['map'](_0x43274e=>String['fromCharCode'](_0x43274e))['join']('');}_0x54034a(await _0x1d4a35());}(this);}['showFakeVisualSelection'](){const _0x4e681f=this['editor']['model'];_0x4e681f['change'](_0x4bc0bd=>{const _0x36fb4d=_0x4e681f['document']['selection']['getRanges']();let _0x1cbd48=0x0;for(const _0x371020 of _0x36fb4d){const _0x48142f=Bn+':'+_0x1cbd48;if(_0x4e681f['markers']['has'](_0x48142f))_0x4bc0bd['updateMarker'](_0x48142f,{'range':_0x371020});else{if(_0x371020['start']['isAtEnd']){const _0x620a18=_0x371020['start']['getLastMatchingPosition'](({item:_0x198011})=>!_0x4e681f['schema']['isContent'](_0x198011),{'boundaries':_0x371020});_0x4bc0bd['addMarker'](_0x48142f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4bc0bd['createRange'](_0x620a18,_0x371020['end'])});}else _0x4bc0bd['addMarker'](_0x48142f,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x371020});}_0x1cbd48++;}});}['hideFakeVisualSelection'](){const _0x5e1bb4=this['editor']['model'],_0x3b84fc=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](Bn));_0x3b84fc['length']&&_0x5e1bb4['change'](_0x453966=>{_0x3b84fc['forEach'](_0x15e33a=>{_0x453966['removeMarker'](_0x15e33a);});});}['insertContent'](_0x4cc0b5,_0x1157d1){const _0x502467=this['_getAISelection'](),_0x3f9e25=_0x1157d1||_0x502467['getFirstRange']();this['editor']['model']['canEditAt'](_0x3f9e25)&&this['editor']['model']['change'](_0x57f62c=>{this['hideFakeVisualSelection'](),_0x1157d1||this['_resetContentOfSelectedTableCells'](_0x57f62c,_0x502467),this['_pasteHTMLUsingClipboard']({'insertAt':_0x3f9e25,'writer':_0x57f62c,'html':_0x4cc0b5});});}['insertContentBelow'](_0x92d44d){const {model:_0x57483c}=this['editor'],_0x5df141=this['_getAISelection']();_0x57483c['change'](()=>{const _0x4cb670=this['_prepareTableInsertBelowPosition'](_0x92d44d,_0x5df141)||this['_getDefaultInsertBelowPosition'](_0x5df141);this['insertContent'](_0x92d44d,_0x4cb670);});}['_getAISelection'](){const _0x3d3829=this['editor']['model'],_0x325b42=Array['from'](_0x3d3829['markers']['getMarkersGroup'](Bn))['map'](_0x5269d0=>_0x5269d0['getRange']());return _0x3d3829['createSelection'](_0x325b42);}['_pasteHTMLUsingClipboard']({writer:_0x4475f3,html:_0x3ee5b5,insertAt:_0x55ec95}){const {view:_0x5f502e}=this['editor']['editing'],_0x507a47=this['editor']['plugins']['get'](_0x4d1fc7),_0xdb96fe=new Un();_0xdb96fe['setData']('text/html',_0x3ee5b5);const _0x4f0e16=new ClipboardEvent('paste',{'clipboardData':_0xdb96fe}),_0x2e1e03=new _0x2208a4(_0x5f502e,_0x4f0e16,{'dataTransfer':new _0x23aec4(_0xdb96fe)});_0x4475f3['setSelection'](_0x55ec95);const _0x225c1e=(_0x29e03c,_0x138edd)=>{_0x138edd['resultRange']&&_0x4475f3['setSelection'](_0x138edd['resultRange']);};_0x507a47['once']('contentInsertion',_0x225c1e,{'priority':'lowest'}),_0x5f502e['document']['fire']('paste',_0x2e1e03),_0x507a47['off']('contentInsertion',_0x225c1e);}['_getDefaultInsertBelowPosition'](_0x1fb771){const {model:_0x42472d}=this['editor'],_0x3651a1=Array['from'](_0x1fb771['getSelectedBlocks']());return _0x3651a1['length']?_0x42472d['createPositionAfter'](_0x3651a1['pop']()):_0x1fb771['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x4ec394,_0x5be70e){const {model:_0x5a848e,plugins:_0x469dd9}=this['editor'];if(_0x469dd9['has']('TableUtils')){const _0x348075=_0x469dd9['get']('TableUtils')['getSelectedTableCells'](_0x5be70e);if(_0x348075['length']){const _0x100be3=this['_getTableRowCountFromContent'](_0x4ec394),_0x544568=this['_createEmptyTableRows'](_0x348075,_0x100be3);return _0x5a848e['createPositionAt'](_0x544568,0x0);}}return null;}['_getTableRowCountFromContent'](_0x2a458b){const _0x2b53df=this['editor']['plugins']['get']('TableUtils'),_0x184183=this['editor']['data']['parse'](_0x2a458b,'$documentFragment'),_0x2a1b7b=Array['from'](_0x184183['getChildren']())['filter'](_0x392255=>_0x392255['is']('element','table'));let _0x280e13=0x0;return _0x2a1b7b['forEach'](_0x43a411=>{_0x280e13+=_0x2b53df['getRows'](_0x43a411);}),_0x280e13;}['_createEmptyTableRows'](_0x538d16,_0x364d67){const _0x5de9e5=this['editor']['plugins']['get']('TableUtils'),_0x4a4d94=_0x5de9e5['getRowIndexes'](_0x538d16),_0x4c10a=_0x5de9e5['getColumnIndexes'](_0x538d16),_0x20231c=_0x4a4d94['last']+0x1,_0x43af2e=_0x4c10a['first'],_0x27bfa9=_0x538d16[0x0]['findAncestor']('table');for(let _0xbd21c1=0x0;_0xbd21c1<_0x364d67;_0xbd21c1++)_0x5de9e5['insertRows'](_0x27bfa9,{'at':_0x20231c});return _0x27bfa9['getChild'](_0x20231c)['getChild'](_0x43af2e);}['_resetContentOfSelectedTableCells'](_0xe518a5,_0x1080fc){const {plugins:_0x581737}=this['editor'],{model:_0x58beb9}=_0xe518a5;if(!_0x581737['has']('TableUtils'))return;_0x581737['get']('TableUtils')['getSelectedTableCells'](_0x1080fc)['length']&&_0x58beb9['deleteContent'](_0x1080fc);}}class AIAdapter extends _0x151d85{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x522f1f('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x5853ce){super(_0x5853ce),this['name']='AIRequestError';}}function Fn(_0x5515e8,_0x2ece02,_0x34a96e){const t=_0x5515e8['t'];switch(_0x2ece02){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',_0x34a96e);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x34a96e);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'},_0x34a96e);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 _0x2ece02;}}class ShowAIAssistantCommand extends _0x208eac{['_commandDefinitions'];constructor(_0x14df92,_0x45bff1){super(_0x14df92),this['_commandDefinitions']=_0x45bff1,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x2360b3,_0xcaf757,_0x27567c)=>{this['isEnabled']&&(this['enabledCommandsIds']=jn(this['_commandDefinitions'],_0x27567c));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x515430,_0x2df97f,_0x5f3a5e)=>{this['enabledCommandsIds']=_0x5f3a5e?jn(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x52f955=this['editor']['model'];this['_hasContext']=function(_0x4fc463){const _0x3b3058=_0x4fc463['document']['selection'];return _0x3b3058['isCollapsed']?0x0!==[..._0x3b3058['getSelectedBlocks']()]['length']&&![..._0x3b3058['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x4fc463['hasContent'](_0x3b3058['getFirstRange']());}(_0x52f955);const _0x3d2fdb=_0x52f955['document']['selection'],_0x26a761=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x2e7bd7 of _0x3d2fdb['getRanges']())for(const _0x128233 of _0x2e7bd7['getItems']())if(_0x128233['is']('element')&&_0x26a761['includes'](_0x128233['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x4a037e='',_0x35ae8b='',_0x5c3683='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x4a037e,_0x35ae8b,_0x5c3683);}}function jn(_0x31e0b0,_0x3d91d5){const _0x2cb249=new Set();for(const _0x1504b7 of _0x31e0b0['values']())(_0x3d91d5||!0x1===_0x1504b7['requiresContent'])&&_0x2cb249['add'](_0x1504b7['id']);return Array['from'](_0x2cb249);}const Hn=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x5a79c9,_0x3f77c8,_0x269452){super(),this['editor']=_0x5a79c9,this['textAdapter']=_0x3f77c8,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x269452,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x50d066,_0x3035b2,_0x5511d6)=>{this['view']['value']=this['_sanitizeHTML'](_0x5511d6);}),this['listenTo'](this['view'],'submitPrompt',(_0x1f6cc7,_0x1d7e3d)=>{const _0x10d84a=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x1d7e3d,_0x10d84a,'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:_0x3db3c5,query:_0x5a9f89,htmlContent:_0x2827d2,label:_0x32ab2f,mainActionLabel:_0x317222}){this['view']['prompt']=_0x32ab2f,this['view']['mainAction']=_0x317222,this['initialContext']=_0x2827d2,_0x5a9f89&&(this['view']['isRendered']?this['_handleQuery'](_0x5a9f89,_0x2827d2,_0x3db3c5,_0x32ab2f):this['view']['once']('render',()=>{this['_handleQuery'](_0x5a9f89,_0x2827d2,_0x3db3c5,_0x32ab2f);}));}['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'](_0x51becc,_0x517172,_0x3038e4,_0x4c4441){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x517172,this['previousQuery']=_0x51becc,this['previousLabel']=_0x4c4441||_0x51becc,this['previousActionId']=_0x3038e4,new Promise(_0x225898=>{this['textAdapter']['makeRequest']({'query':_0x51becc,'context':_0x517172,'onData':_0x10c610=>{this['currentResponse']=_0x10c610,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x3038e4})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x15eed7=>{_0x15eed7 instanceof AIRequestError?this['view']['handleError'](_0x15eed7['message']):this['view']['handleError'](),_0x225898();})['finally'](()=>{this['stopProcessing'](),_0x225898();});});}['_parseAndNormalizeContent'](_0x56054f,_0x14ac81=!0x1){const _0x456374=Hn['exec'](_0x56054f);_0x56054f=_0x456374?_0x56054f['substring'](_0x456374[0x1]['length']):_0x56054f['length']<0x64&&!_0x14ac81?'':this['_stripMarkdownSyntax'](_0x56054f);const _0x247ebc=this['_domParser']['parseFromString'](_0x56054f,'text/html');if(_0x456374){const _0x993aa9=Array['from'](_0x247ebc['body']['childNodes']);_0x993aa9['reverse']();for(const _0x3c8fd1 of _0x993aa9){if(_0x3c8fd1['nodeType']==Node['ELEMENT_NODE'])break;_0x3c8fd1['remove']();}}const _0x5747e6=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x247ebc['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x5747e6);const _0x2f8640=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x5dc32f=this['editor']['data']['toModel'](_0x5747e6);return _0x2f8640||_0x5dc32f['markers']['clear'](),this['editor']['data']['stringify'](_0x5dc32f);}['_normalizeResponseHeadings'](_0x4efdee){const _0x45dcb9=new _0x5ca631(this['editor']['editing']['view']['document']),_0x3bd3c8=new _0x4c3de8({'name':/^h[1-5]$/}),_0x1f9580=[];let _0x542e32=!0x1;for(const _0x12d012 of _0x4efdee)_0x12d012['is']('element')&&_0x3bd3c8['match'](_0x12d012)&&(_0x1f9580['push'](_0x12d012),'h1'==_0x12d012['name']&&(_0x542e32=!0x0));if(_0x542e32){for(const _0x48a42c of _0x1f9580)_0x45dcb9['rename']('h'+(parseInt(_0x48a42c['name'][0x1])+0x1),_0x48a42c);}}['_isH1TagSupportEnabled'](){const {data:_0x12e1c9,editing:_0x16df4e}=this['editor'],_0x4f3ce9=_0x12e1c9['htmlProcessor']['toView']('<h1></h1>'),_0x4fefcd=_0x12e1c9['toView'](_0x12e1c9['toModel'](_0x4f3ce9));return!!_0x16df4e['view']['domConverter']['viewToDom'](_0x4fefcd)['querySelector']('h1');}['_sanitizeHTML'](_0x2aef1e){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x2aef1e),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x568e01){const _0x204d90=_0x568e01['trim']();return _0x204d90['startsWith']('```html')?_0x204d90['endsWith']('```')?_0x204d90['substring'](0x7,_0x204d90['length']-0x3):_0x204d90['substring'](0x7):_0x568e01;}}const Gn={'REPLACE':'replace','INSERT':'insert'};class AIFormToolbarView extends _0xbea5f1{constructor(_0x3bf7f8){super(_0x3bf7f8),this['set']('isVisible',!0x1),this['set']('mainAction',Gn['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x12b2a3=>Fn(_0x3bf7f8,'AI_'+_0x12b2a3['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](Fn(_0x3bf7f8,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](Fn(_0x3bf7f8,'Try\x20again')),this['stopButton']=this['_createButton'](Fn(_0x3bf7f8,'Stop'));const _0x283e49=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x283e49['if']('isVisible','ck-hidden',_0xf9f531=>!_0xf9f531)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x29f7a3,_0x105174){const _0x349d5d=new _0x4c508c(this['locale']);return _0x349d5d['set']({'label':_0x29f7a3,'class':_0x105174||'','isVisible':!0x0,'withText':!0x0}),_0x349d5d;}}class AIFormContentArea extends _0xa34d16{['contentFieldView'];['copyButtonView'];constructor(_0x13aca5,_0x10b517=''){super(_0x13aca5),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x54fe87=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x13aca5,_0x10b517),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x54fe87['if']('isVisible','ck-hidden',_0x47710c=>!_0x47710c)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x54fe87['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 _0x32b03f=!0x1;this['on']('change:value',(_0x43154f,_0x14b10b,_0xc96e44)=>{const _0x1a546c=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0xc96e44),this['isProcessing']&&_0x1a546c&&!_0x32b03f&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x49189e,_0x440833,_0x3c265a)=>{_0x32b03f=!0x1,_0x3c265a?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x32b03f=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x32b03f=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x507aeb=this['locale'],_0x310306=new _0x4c508c(this['locale']),_0x464788='ck-ai-form__copy-button';return _0x310306['set']({'label':Fn(_0x507aeb,'Copy'),'icon':_0x5a418e,'class':_0x464788,'tooltip':!0x0}),_0x310306['bind']('isVisible')['to'](this,'value',_0x3cb481=>!!_0x3cb481),_0x310306['bind']('isEnabled')['to'](this,'isProcessing',_0x4906e1=>!_0x4906e1),_0x310306['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x310306['icon']=_0x253584,_0x310306['class']=_0x464788+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x310306['icon']=_0x5a418e,_0x310306['class']=_0x464788;},0x3e8);}),_0x310306;}['_copyHTMLToClipboard'](_0x3fd9c2){const {window:_0x1b91bf,document:_0x80ca34}=_0x313644;if(_0x1b91bf['ClipboardItem']){const {Blob:_0x13e476,ClipboardItem:_0x441e88}=_0x1b91bf,_0x76108e=[new _0x441e88({'text/html':new _0x13e476([_0x3fd9c2['innerHTML']],{'type':'text/html'}),'text/plain':new _0x13e476([_0x3fd9c2['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x76108e);}else{const _0x53207d=_0x80ca34['createElement']('div');_0x53207d['style']['position']='absolute',_0x53207d['style']['left']='-9999px',_0x53207d['innerHTML']='<span>[</span>'+_0x3fd9c2['innerHTML']+'<span>]</span>',_0x80ca34['body']['appendChild'](_0x53207d);const _0x1e574a=_0x80ca34['createRange']();_0x1e574a['setStartAfter'](_0x53207d['firstElementChild']),_0x1e574a['setEndBefore'](_0x53207d['lastElementChild']);const _0x514697=_0x1b91bf['getSelection']();_0x514697['removeAllRanges'](),_0x514697['addRange'](_0x1e574a),_0x80ca34['execCommand']('copy'),_0x53207d['remove']();}}}class ContentFieldView extends _0xa34d16{constructor(_0x1e93f0,_0xdb7d68=''){super(_0x1e93f0),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0xdb7d68,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x19d4ed){this['element']['innerHTML']=_0x19d4ed;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x3da47a=new _0xa34d16(),_0x10a089=this['locale'],_0x64b930=new _0x36c3a7();return _0x64b930['isVisible']=!0x0,_0x3da47a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x64b930,{'text':Fn(_0x10a089,'AI\x20is\x20writing...')}]}),_0x3da47a['render'](),_0x3da47a;}}class AIFormErrorView extends _0xa34d16{constructor(_0x473a92,_0x2beec7=''){super(_0x473a92);const _0x2cddbd=new _0x468811(),_0x4d7d8d=this['bindTemplate'];this['set']('text',_0x2beec7),_0x2cddbd['content']=_0x3b8641,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x2cddbd,{'text':_0x4d7d8d['to']('text')}]});}}class AIFormPromptView extends _0xe24be8{['submitButtonView'];['showHistoryButtonView'];constructor(_0x12c5f5,_0xdafd9){super(_0x12c5f5,_0xdafd9),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',(_0x2d351d,_0x10ba53)=>{_0x2d351d['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x10ba53());});}['_createSubmitButton'](){const _0x58ecb4=new _0x4c508c(this['locale']),_0x28165c=this['locale'];return _0x58ecb4['set']({'icon':_0xc57d4a,'label':Fn(_0x28165c,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x58ecb4['on']('execute',()=>{this['submit']();}),_0x58ecb4['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x4863bf,_0x156ca0)=>!_0x4863bf&&_0x156ca0),_0x58ecb4;}['_createShowHistoryButton'](){const _0x2c7ed8=new _0x4c508c(this['locale']),_0x4cb46b=this['resultsView'],_0x53f67d=this['locale'];_0x2c7ed8['set']({'label':Fn(_0x53f67d,'History'),'withText':!0x1,'icon':_0x3fae78,'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x2c7ed8['bind']('isOn')['to'](_0x4cb46b,'isVisible'),_0x2c7ed8['bind']('isEnabled')['to'](this,'isEnabled'),_0x2c7ed8['on']('execute',()=>{_0x4cb46b['isVisible']=!_0x4cb46b['isVisible'],_0x4cb46b['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x58e5c4=()=>{_0x313644['window']['requestAnimationFrame'](()=>{if(_0xa36475(this['element'])){const _0xef0db7=new _0x2bf707(this['queryView']['fieldView']['element']),_0x5d1ee4=_0xef0db7['width'],_0x413749='rtl'===_0x53f67d['uiLanguageDirection']?'left':'right';_0xef0db7['excludeScrollbarsAndBorders'](),_0x2c7ed8['element']['style'][_0x413749]=_0x5d1ee4-_0xef0db7['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x58e5c4),this['on']('render',_0x58e5c4),_0x2c7ed8;}['submit'](){const _0x1ae9d0=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x1ae9d0);}['focus'](_0x349c52){-0x1===_0x349c52?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends _0x1688f4{['historyGroupView'];['clearHistoryButton'];constructor(_0x3251b3){super(_0x3251b3),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x121725(),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=Fn(_0x3251b3,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0xd121d0=0x0;for(const _0x1df30e of this['items'])_0xd121d0+=_0x1df30e['items']['length'];return{'resultsCount':_0xd121d0,'totalItemsCount':_0xd121d0};}['_createClearHistoryButton'](){const _0x395ab1=this['locale'],_0x5891b3=new _0x4c508c(this['locale']);return _0x5891b3['set']({'label':'('+Fn(_0x395ab1,'Clear')+')','withText':!0x0}),_0x5891b3['on']('execute',()=>this['fire']('clearHistory')),_0x5891b3;}}function Zn(_0x10d34e){return null!=_0x10d34e&&'function'!=typeof _0x10d34e&&function(_0x2185a2){return Number['isSafeInteger'](_0x2185a2)&&_0x2185a2>=0x0;}(_0x10d34e['length']);}function Xn(_0x1ac3f2){return'__proto__'===_0x1ac3f2;}function qn(_0x20f0cd){switch(typeof _0x20f0cd){case'number':case'symbol':return!0x1;case'string':return _0x20f0cd['includes']('.')||_0x20f0cd['includes']('[')||_0x20f0cd['includes'](']');}}function Wn(_0x2dbb6c){return'string'==typeof _0x2dbb6c||'symbol'==typeof _0x2dbb6c?_0x2dbb6c:Object['is'](_0x2dbb6c?.['valueOf']?.(),-0x0)?'-0':String(_0x2dbb6c);}function zn(_0x5689f4){if(null==_0x5689f4)return'';if('string'==typeof _0x5689f4)return _0x5689f4;if(Array['isArray'](_0x5689f4))return _0x5689f4['map'](zn)['join'](',');const _0x143d57=String(_0x5689f4);return'0'===_0x143d57&&Object['is'](Number(_0x5689f4),-0x0)?'-0':_0x143d57;}function Yn(_0x2044f3){if(Array['isArray'](_0x2044f3))return _0x2044f3['map'](Wn);if('symbol'==typeof _0x2044f3)return[_0x2044f3];const _0x1a7263=[],_0x5c2471=(_0x2044f3=zn(_0x2044f3))['length'];if(0x0===_0x5c2471)return _0x1a7263;let _0xe77dd2=0x0,_0x2a8527='',_0x428413='',_0x35ead0=!0x1;for(0x2e===_0x2044f3['charCodeAt'](0x0)&&(_0x1a7263['push'](''),_0xe77dd2++);_0xe77dd2<_0x5c2471;){const _0x2f152e=_0x2044f3[_0xe77dd2];_0x428413?'\x5c'===_0x2f152e&&_0xe77dd2+0x1<_0x5c2471?(_0xe77dd2++,_0x2a8527+=_0x2044f3[_0xe77dd2]):_0x2f152e===_0x428413?_0x428413='':_0x2a8527+=_0x2f152e:_0x35ead0?'\x22'===_0x2f152e||'\x27'===_0x2f152e?_0x428413=_0x2f152e:']'===_0x2f152e?(_0x35ead0=!0x1,_0x1a7263['push'](_0x2a8527),_0x2a8527=''):_0x2a8527+=_0x2f152e:'['===_0x2f152e?(_0x35ead0=!0x0,_0x2a8527&&(_0x1a7263['push'](_0x2a8527),_0x2a8527='')):'.'===_0x2f152e?_0x2a8527&&(_0x1a7263['push'](_0x2a8527),_0x2a8527=''):_0x2a8527+=_0x2f152e,_0xe77dd2++;}return _0x2a8527&&_0x1a7263['push'](_0x2a8527),_0x1a7263;}function Kn(_0x83c5de,_0x2baf90,_0x38301d){if(null==_0x83c5de)return _0x38301d;switch(typeof _0x2baf90){case'string':{if(Xn(_0x2baf90))return _0x38301d;const _0x61d1b0=_0x83c5de[_0x2baf90];return void 0x0===_0x61d1b0?qn(_0x2baf90)?Kn(_0x83c5de,Yn(_0x2baf90),_0x38301d):_0x38301d:_0x61d1b0;}case'number':case'symbol':{'number'==typeof _0x2baf90&&(_0x2baf90=Wn(_0x2baf90));const _0x3cca2b=_0x83c5de[_0x2baf90];return void 0x0===_0x3cca2b?_0x38301d:_0x3cca2b;}default:{if(Array['isArray'](_0x2baf90))return function(_0x3bce3b,_0x564f06,_0x242235){if(0x0===_0x564f06['length'])return _0x242235;let _0x858b06=_0x3bce3b;for(let _0x47e1dd=0x0;_0x47e1dd<_0x564f06['length'];_0x47e1dd++){if(null==_0x858b06)return _0x242235;if(Xn(_0x564f06[_0x47e1dd]))return _0x242235;_0x858b06=_0x858b06[_0x564f06[_0x47e1dd]];}if(void 0x0===_0x858b06)return _0x242235;return _0x858b06;}(_0x83c5de,_0x2baf90,_0x38301d);if(Xn(_0x2baf90=Object['is'](_0x2baf90?.['valueOf'](),-0x0)?'-0':String(_0x2baf90)))return _0x38301d;const _0x132ba3=_0x83c5de[_0x2baf90];return void 0x0===_0x132ba3?_0x38301d:_0x132ba3;}}}function Jn(_0x4ced93){return null!==_0x4ced93&&('object'==typeof _0x4ced93||'function'==typeof _0x4ced93);}function tr(_0x3e419f,_0xd0e081){return _0x3e419f===_0xd0e081||Number['isNaN'](_0x3e419f)&&Number['isNaN'](_0xd0e081);}function er(_0x4bac7f){return Object['getOwnPropertySymbols'](_0x4bac7f)['filter'](_0x348b01=>Object['prototype']['propertyIsEnumerable']['call'](_0x4bac7f,_0x348b01));}function ir(_0x4f2033){return null==_0x4f2033?void 0x0===_0x4f2033?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x4f2033);}const sr='[object\x20RegExp]',nr='[object\x20String]',rr='[object\x20Number]',or='[object\x20Boolean]',ar='[object\x20Arguments]',cr='[object\x20Symbol]',lr='[object\x20Date]',hr='[object\x20Map]',ur='[object\x20Set]',dr='[object\x20Array]',fr='[object\x20ArrayBuffer]',mr='[object\x20Object]',gr='[object\x20DataView]',pr='[object\x20Uint8Array]',Or='[object\x20Uint8ClampedArray]',wr='[object\x20Uint16Array]',br='[object\x20Uint32Array]',yr='[object\x20Int8Array]',vr='[object\x20Int16Array]',_r='[object\x20Int32Array]',Er='[object\x20Float32Array]',Tr='[object\x20Float64Array]';function Ar(_0x8b7067){return ArrayBuffer['isView'](_0x8b7067)&&!(_0x8b7067 instanceof DataView);}function Ir(_0x5ce37a,_0x26a17a,_0x5e3bff,_0x1cfd48=new Map(),_0x1840cc=void 0x0){const _0x5d0564=_0x1840cc?.(_0x5ce37a,_0x26a17a,_0x5e3bff,_0x1cfd48);if(void 0x0!==_0x5d0564)return _0x5d0564;if(function(_0x1c2d70){return null==_0x1c2d70||'object'!=typeof _0x1c2d70&&'function'!=typeof _0x1c2d70;}(_0x5ce37a))return _0x5ce37a;if(_0x1cfd48['has'](_0x5ce37a))return _0x1cfd48['get'](_0x5ce37a);if(Array['isArray'](_0x5ce37a)){const _0x4ff671=new Array(_0x5ce37a['length']);_0x1cfd48['set'](_0x5ce37a,_0x4ff671);for(let _0x59cfbd=0x0;_0x59cfbd<_0x5ce37a['length'];_0x59cfbd++)_0x4ff671[_0x59cfbd]=Ir(_0x5ce37a[_0x59cfbd],_0x59cfbd,_0x5e3bff,_0x1cfd48,_0x1840cc);return Object['hasOwn'](_0x5ce37a,'index')&&(_0x4ff671['index']=_0x5ce37a['index']),Object['hasOwn'](_0x5ce37a,'input')&&(_0x4ff671['input']=_0x5ce37a['input']),_0x4ff671;}if(_0x5ce37a instanceof Date)return new Date(_0x5ce37a['getTime']());if(_0x5ce37a instanceof RegExp){const _0x2b7270=new RegExp(_0x5ce37a['source'],_0x5ce37a['flags']);return _0x2b7270['lastIndex']=_0x5ce37a['lastIndex'],_0x2b7270;}if(_0x5ce37a instanceof Map){const _0x22d2ca=new Map();_0x1cfd48['set'](_0x5ce37a,_0x22d2ca);for(const [_0x3d10fb,_0x23a241]of _0x5ce37a)_0x22d2ca['set'](_0x3d10fb,Ir(_0x23a241,_0x3d10fb,_0x5e3bff,_0x1cfd48,_0x1840cc));return _0x22d2ca;}if(_0x5ce37a instanceof Set){const _0x49cc0f=new Set();_0x1cfd48['set'](_0x5ce37a,_0x49cc0f);for(const _0x41976c of _0x5ce37a)_0x49cc0f['add'](Ir(_0x41976c,void 0x0,_0x5e3bff,_0x1cfd48,_0x1840cc));return _0x49cc0f;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x5ce37a))return _0x5ce37a['subarray']();if(Ar(_0x5ce37a)){const _0xc21685=new(Object['getPrototypeOf'](_0x5ce37a))['constructor'](_0x5ce37a['length']);_0x1cfd48['set'](_0x5ce37a,_0xc21685);for(let _0x15a19e=0x0;_0x15a19e<_0x5ce37a['length'];_0x15a19e++)_0xc21685[_0x15a19e]=Ir(_0x5ce37a[_0x15a19e],_0x15a19e,_0x5e3bff,_0x1cfd48,_0x1840cc);return _0xc21685;}if(_0x5ce37a instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x5ce37a instanceof SharedArrayBuffer)return _0x5ce37a['slice'](0x0);if(_0x5ce37a instanceof DataView){const _0x19a872=new DataView(_0x5ce37a['buffer']['slice'](0x0),_0x5ce37a['byteOffset'],_0x5ce37a['byteLength']);return _0x1cfd48['set'](_0x5ce37a,_0x19a872),Sr(_0x19a872,_0x5ce37a,_0x5e3bff,_0x1cfd48,_0x1840cc),_0x19a872;}if('undefined'!=typeof File&&_0x5ce37a instanceof File){const _0x5d8a74=new File([_0x5ce37a],_0x5ce37a['name'],{'type':_0x5ce37a['type']});return _0x1cfd48['set'](_0x5ce37a,_0x5d8a74),Sr(_0x5d8a74,_0x5ce37a,_0x5e3bff,_0x1cfd48,_0x1840cc),_0x5d8a74;}if('undefined'!=typeof Blob&&_0x5ce37a instanceof Blob){const _0x1ba964=new Blob([_0x5ce37a],{'type':_0x5ce37a['type']});return _0x1cfd48['set'](_0x5ce37a,_0x1ba964),Sr(_0x1ba964,_0x5ce37a,_0x5e3bff,_0x1cfd48,_0x1840cc),_0x1ba964;}if(_0x5ce37a instanceof Error){const _0x9b3ad9=structuredClone(_0x5ce37a);return _0x1cfd48['set'](_0x5ce37a,_0x9b3ad9),_0x9b3ad9['message']=_0x5ce37a['message'],_0x9b3ad9['name']=_0x5ce37a['name'],_0x9b3ad9['stack']=_0x5ce37a['stack'],_0x9b3ad9['cause']=_0x5ce37a['cause'],_0x9b3ad9['constructor']=_0x5ce37a['constructor'],Sr(_0x9b3ad9,_0x5ce37a,_0x5e3bff,_0x1cfd48,_0x1840cc),_0x9b3ad9;}if(_0x5ce37a instanceof Boolean){const _0x3894e9=new Boolean(_0x5ce37a['valueOf']());return _0x1cfd48['set'](_0x5ce37a,_0x3894e9),Sr(_0x3894e9,_0x5ce37a,_0x5e3bff,_0x1cfd48,_0x1840cc),_0x3894e9;}if(_0x5ce37a instanceof Number){const _0x33f30e=new Number(_0x5ce37a['valueOf']());return _0x1cfd48['set'](_0x5ce37a,_0x33f30e),Sr(_0x33f30e,_0x5ce37a,_0x5e3bff,_0x1cfd48,_0x1840cc),_0x33f30e;}if(_0x5ce37a instanceof String){const _0xaf2726=new String(_0x5ce37a['valueOf']());return _0x1cfd48['set'](_0x5ce37a,_0xaf2726),Sr(_0xaf2726,_0x5ce37a,_0x5e3bff,_0x1cfd48,_0x1840cc),_0xaf2726;}if('object'==typeof _0x5ce37a&&function(_0x1240a3){switch(ir(_0x1240a3)){case ar:case dr:case fr:case gr:case or:case lr:case Er:case Tr:case yr:case vr:case _r:case hr:case rr:case mr:case sr:case ur:case nr:case cr:case pr:case Or:case wr:case br:return!0x0;default:return!0x1;}}(_0x5ce37a)){const _0x2c1b56=Object['create'](Object['getPrototypeOf'](_0x5ce37a));return _0x1cfd48['set'](_0x5ce37a,_0x2c1b56),Sr(_0x2c1b56,_0x5ce37a,_0x5e3bff,_0x1cfd48,_0x1840cc),_0x2c1b56;}return _0x5ce37a;}function Sr(_0x4814eb,_0x210b39,_0x5bc172=_0x4814eb,_0x5dad55,_0x1bd885){const _0x4d137a=[...Object['keys'](_0x210b39),...er(_0x210b39)];for(let _0x3c43c4=0x0;_0x3c43c4<_0x4d137a['length'];_0x3c43c4++){const _0x2cd17f=_0x4d137a[_0x3c43c4],_0x12e0dd=Object['getOwnPropertyDescriptor'](_0x4814eb,_0x2cd17f);(null==_0x12e0dd||_0x12e0dd['writable'])&&(_0x4814eb[_0x2cd17f]=Ir(_0x210b39[_0x2cd17f],_0x2cd17f,_0x5bc172,_0x5dad55,_0x1bd885));}}function Cr(_0x2a20e7,_0x1a562e){return function(_0xea1e7d,_0x1dffe9){return Ir(_0xea1e7d,void 0x0,_0xea1e7d,new Map(),_0x1dffe9);}(_0x2a20e7,(_0x508989,_0x54bd0a,_0x17c22b,_0x5ba6b3)=>{const _0x38d587=_0x1a562e?.(_0x508989,_0x54bd0a,_0x17c22b,_0x5ba6b3);if(void 0x0!==_0x38d587)return _0x38d587;if('object'==typeof _0x2a20e7){if(ir(_0x2a20e7)===mr&&'function'!=typeof _0x2a20e7['constructor']){const _0x32f2f0={};return _0x5ba6b3['set'](_0x2a20e7,_0x32f2f0),Sr(_0x32f2f0,_0x2a20e7,_0x17c22b,_0x5ba6b3),_0x32f2f0;}switch(Object['prototype']['toString']['call'](_0x2a20e7)){case rr:case nr:case or:{const _0x29e141=new _0x2a20e7['constructor'](_0x2a20e7?.['valueOf']());return Sr(_0x29e141,_0x2a20e7),_0x29e141;}case ar:{const _0x4dfbff={};return Sr(_0x4dfbff,_0x2a20e7),_0x4dfbff['length']=_0x2a20e7['length'],_0x4dfbff[Symbol['iterator']]=_0x2a20e7[Symbol['iterator']],_0x4dfbff;}default:return;}}});}function kr(_0x59f283){return Cr(_0x59f283);}const xr=/^(?:0|[1-9]\d*)$/;function Rr(_0x5794d4,_0x47a1c3=Number['MAX_SAFE_INTEGER']){switch(typeof _0x5794d4){case'number':return Number['isInteger'](_0x5794d4)&&_0x5794d4>=0x0&&_0x5794d4<_0x47a1c3;case'symbol':return!0x1;case'string':return xr['test'](_0x5794d4);}}function Pr(_0x37b4b2){return'symbol'==typeof _0x37b4b2||_0x37b4b2 instanceof Symbol;}function Mr(_0xa76080){if(!_0xa76080)return 0x0===_0xa76080?_0xa76080:0x0;if((_0xa76080=function(_0x13496c){return Pr(_0x13496c)?NaN:Number(_0x13496c);}(_0xa76080))===0x1/0x0||_0xa76080===-0x1/0x0)return(_0xa76080<0x0?-0x1:0x1)*Number['MAX_VALUE'];return _0xa76080==_0xa76080?_0xa76080:0x0;}const Nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lr=/^\w*$/;function $r(_0x4c1749,_0x577ba9){if(null==_0x4c1749)return!0x0;switch(typeof _0x577ba9){case'symbol':case'number':case'object':if(Array['isArray'](_0x577ba9))return Dr(_0x4c1749,_0x577ba9);if('number'==typeof _0x577ba9?_0x577ba9=Wn(_0x577ba9):'object'==typeof _0x577ba9&&(_0x577ba9=Object['is'](_0x577ba9?.['valueOf'](),-0x0)?'-0':String(_0x577ba9)),Xn(_0x577ba9))return!0x1;if(void 0x0===_0x4c1749?.[_0x577ba9])return!0x0;try{return delete _0x4c1749[_0x577ba9],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x4c1749?.[_0x577ba9]&&qn(_0x577ba9))return Dr(_0x4c1749,Yn(_0x577ba9));if(Xn(_0x577ba9))return!0x1;try{return delete _0x4c1749[_0x577ba9],!0x0;}catch{return!0x1;}}}function Dr(_0x24c8c2,_0x4aaa8d){const _0xd52c91=0x1===_0x4aaa8d['length']?_0x24c8c2:Kn(_0x24c8c2,_0x4aaa8d['slice'](0x0,-0x1)),_0x209f3e=_0x4aaa8d[_0x4aaa8d['length']-0x1];if(void 0x0===_0xd52c91?.[_0x209f3e])return!0x0;if(Xn(_0x209f3e))return!0x1;try{return delete _0xd52c91[_0x209f3e],!0x0;}catch{return!0x1;}}const Qr=(_0x3f5204,_0x4f6db9,_0x471927)=>{const _0x2343ce=_0x3f5204[_0x4f6db9];Object['hasOwn'](_0x3f5204,_0x4f6db9)&&tr(_0x2343ce,_0x471927)&&(void 0x0!==_0x471927||_0x4f6db9 in _0x3f5204)||(_0x3f5204[_0x4f6db9]=_0x471927);};function Vr(_0x503215,_0x469ce2,_0x5ca50a,_0xc01eaf){if(null==_0x503215&&!Jn(_0x503215))return _0x503215;let _0x4c1aad;_0x4c1aad=function(_0x36baa1,_0x384733){return!Array['isArray'](_0x36baa1)&&(!('number'!=typeof _0x36baa1&&'boolean'!=typeof _0x36baa1&&null!=_0x36baa1&&!Pr(_0x36baa1))||'string'==typeof _0x36baa1&&(Lr['test'](_0x36baa1)||!Nr['test'](_0x36baa1))||null!=_0x384733&&Object['hasOwn'](_0x384733,_0x36baa1));}(_0x469ce2,_0x503215)?[_0x469ce2]:Array['isArray'](_0x469ce2)?_0x469ce2:Yn(_0x469ce2);const _0x55f101=_0x5ca50a(Kn(_0x503215,_0x4c1aad));let _0x6aeb4b=_0x503215;for(let _0x527d21=0x0;_0x527d21<_0x4c1aad['length']&&null!=_0x6aeb4b;_0x527d21++){const _0x5ec435=Wn(_0x4c1aad[_0x527d21]);if(Xn(_0x5ec435))continue;let _0x3fb134;if(_0x527d21===_0x4c1aad['length']-0x1)_0x3fb134=_0x55f101;else{const _0x152c04=_0x6aeb4b[_0x5ec435],_0x44dd0e=_0xc01eaf?.(_0x152c04,_0x5ec435,_0x503215);_0x3fb134=void 0x0!==_0x44dd0e?_0x44dd0e:Jn(_0x152c04)?_0x152c04:Rr(_0x4c1aad[_0x527d21+0x1])?[]:{};}Qr(_0x6aeb4b,_0x5ec435,_0x3fb134),_0x6aeb4b=_0x6aeb4b[_0x5ec435];}return _0x503215;}function Ur(_0x3cf9f0,_0x2e329b,_0x76b03){return Vr(_0x3cf9f0,_0x2e329b,()=>_0x76b03,()=>{});}function Br(_0x49ed1e,_0x421477,{signal:_0x50b094,edges:_0xbd124a}={}){let _0x10fc63,_0x2be43b=null;const _0x370386=null!=_0xbd124a&&_0xbd124a['includes']('leading'),_0x2c210c=null==_0xbd124a||_0xbd124a['includes']('trailing'),_0x379238=()=>{null!==_0x2be43b&&(_0x49ed1e['apply'](_0x10fc63,_0x2be43b),_0x10fc63=void 0x0,_0x2be43b=null);};let _0x355b9e=null;const _0x24a726=()=>{null!=_0x355b9e&&clearTimeout(_0x355b9e),_0x355b9e=setTimeout(()=>{_0x355b9e=null,_0x2c210c&&_0x379238(),_0xdff97a();},_0x421477);},_0xdff97a=()=>{null!==_0x355b9e&&(clearTimeout(_0x355b9e),_0x355b9e=null),_0x10fc63=void 0x0,_0x2be43b=null;},_0x45b296=function(..._0x10856d){if(_0x50b094?.['aborted'])return;_0x10fc63=this,_0x2be43b=_0x10856d;const _0x43b099=null==_0x355b9e;_0x24a726(),_0x370386&&_0x43b099&&_0x379238();};return _0x45b296['schedule']=_0x24a726,_0x45b296['cancel']=_0xdff97a,_0x45b296['flush']=()=>{_0x379238();},_0x50b094?.['addEventListener']('abort',_0xdff97a,{'once':!0x0}),_0x45b296;}function Fr(_0x2f3184,_0xc9b2f6=0x0,_0x3d922a={}){'object'!=typeof _0x3d922a&&(_0x3d922a={});const {leading:_0x29bd7e=!0x1,trailing:_0xdd915b=!0x0,maxWait:_0x16f4a3}=_0x3d922a,_0x73bf36=Array(0x2);let _0x27bad1;_0x29bd7e&&(_0x73bf36[0x0]='leading'),_0xdd915b&&(_0x73bf36[0x1]='trailing');let _0x24d0d6=null;const _0x2c8e6b=Br(function(..._0x3dee58){_0x27bad1=_0x2f3184['apply'](this,_0x3dee58),_0x24d0d6=null;},_0xc9b2f6,{'edges':_0x73bf36}),_0x44473a=function(..._0x40debb){return null!=_0x16f4a3&&(null===_0x24d0d6&&(_0x24d0d6=Date['now']()),Date['now']()-_0x24d0d6>=_0x16f4a3)?(_0x27bad1=_0x2f3184['apply'](this,_0x40debb),_0x24d0d6=Date['now'](),_0x2c8e6b['cancel'](),_0x2c8e6b['schedule'](),_0x27bad1):(_0x2c8e6b['apply'](this,_0x40debb),_0x27bad1);};return _0x44473a['cancel']=_0x2c8e6b['cancel'],_0x44473a['flush']=()=>(_0x2c8e6b['flush'](),_0x27bad1),_0x44473a;}function jr(_0x545e13,_0x5bf13b=0x0,_0x3e3112={}){const {leading:_0x468120=!0x0,trailing:_0x43cb59=!0x0}=_0x3e3112;return Fr(_0x545e13,_0x5bf13b,{'leading':_0x468120,'maxWait':_0x5bf13b,'trailing':_0x43cb59});}function Hr(_0x15a4f5){if(!_0x15a4f5||'object'!=typeof _0x15a4f5)return!0x1;const _0x3c1b15=Object['getPrototypeOf'](_0x15a4f5);return!(null!==_0x3c1b15&&_0x3c1b15!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x3c1b15))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x15a4f5);}function Gr(_0x10cb8f,_0x148013,_0x193d2b,_0x213e17,_0x12371d,_0x4ebdf6,_0x15b647){const _0x84a9e6=_0x15b647(_0x10cb8f,_0x148013,_0x193d2b,_0x213e17,_0x12371d,_0x4ebdf6);if(void 0x0!==_0x84a9e6)return _0x84a9e6;if(typeof _0x10cb8f==typeof _0x148013)switch(typeof _0x10cb8f){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x10cb8f===_0x148013;case'number':return _0x10cb8f===_0x148013||Object['is'](_0x10cb8f,_0x148013);case'object':return Zr(_0x10cb8f,_0x148013,_0x4ebdf6,_0x15b647);}return Zr(_0x10cb8f,_0x148013,_0x4ebdf6,_0x15b647);}function Zr(_0x44d3f5,_0x35bc4f,_0x19b0d3,_0x111d9b){if(Object['is'](_0x44d3f5,_0x35bc4f))return!0x0;let _0x4f89c8=ir(_0x44d3f5),_0x2496b0=ir(_0x35bc4f);if(_0x4f89c8===ar&&(_0x4f89c8=mr),_0x2496b0===ar&&(_0x2496b0=mr),_0x4f89c8!==_0x2496b0)return!0x1;switch(_0x4f89c8){case nr:return _0x44d3f5['toString']()===_0x35bc4f['toString']();case rr:return tr(_0x44d3f5['valueOf'](),_0x35bc4f['valueOf']());case or:case lr:case cr:return Object['is'](_0x44d3f5['valueOf'](),_0x35bc4f['valueOf']());case sr:return _0x44d3f5['source']===_0x35bc4f['source']&&_0x44d3f5['flags']===_0x35bc4f['flags'];case'[object\x20Function]':return _0x44d3f5===_0x35bc4f;}const _0x1b7990=(_0x19b0d3=_0x19b0d3??new Map())['get'](_0x44d3f5),_0x4b2f2b=_0x19b0d3['get'](_0x35bc4f);if(null!=_0x1b7990&&null!=_0x4b2f2b)return _0x1b7990===_0x35bc4f;_0x19b0d3['set'](_0x44d3f5,_0x35bc4f),_0x19b0d3['set'](_0x35bc4f,_0x44d3f5);try{switch(_0x4f89c8){case hr:if(_0x44d3f5['size']!==_0x35bc4f['size'])return!0x1;for(const [_0x350fc6,_0x5d6e9f]of _0x44d3f5['entries']())if(!_0x35bc4f['has'](_0x350fc6)||!Gr(_0x5d6e9f,_0x35bc4f['get'](_0x350fc6),_0x350fc6,_0x44d3f5,_0x35bc4f,_0x19b0d3,_0x111d9b))return!0x1;return!0x0;case ur:{if(_0x44d3f5['size']!==_0x35bc4f['size'])return!0x1;const _0x2f5249=Array['from'](_0x44d3f5['values']()),_0x42bd33=Array['from'](_0x35bc4f['values']());for(let _0x4ae97f=0x0;_0x4ae97f<_0x2f5249['length'];_0x4ae97f++){const _0x448a45=_0x2f5249[_0x4ae97f],_0xaf1e27=_0x42bd33['findIndex'](_0x2c59c8=>Gr(_0x448a45,_0x2c59c8,void 0x0,_0x44d3f5,_0x35bc4f,_0x19b0d3,_0x111d9b));if(-0x1===_0xaf1e27)return!0x1;_0x42bd33['splice'](_0xaf1e27,0x1);}return!0x0;}case dr:case pr:case Or:case wr:case br:case'[object\x20BigUint64Array]':case yr:case vr:case _r:case'[object\x20BigInt64Array]':case Er:case Tr:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x44d3f5)!==Buffer['isBuffer'](_0x35bc4f))return!0x1;if(_0x44d3f5['length']!==_0x35bc4f['length'])return!0x1;for(let _0x22e246=0x0;_0x22e246<_0x44d3f5['length'];_0x22e246++)if(!Gr(_0x44d3f5[_0x22e246],_0x35bc4f[_0x22e246],_0x22e246,_0x44d3f5,_0x35bc4f,_0x19b0d3,_0x111d9b))return!0x1;return!0x0;case fr:return _0x44d3f5['byteLength']===_0x35bc4f['byteLength']&&Zr(new Uint8Array(_0x44d3f5),new Uint8Array(_0x35bc4f),_0x19b0d3,_0x111d9b);case gr:return _0x44d3f5['byteLength']===_0x35bc4f['byteLength']&&_0x44d3f5['byteOffset']===_0x35bc4f['byteOffset']&&Zr(new Uint8Array(_0x44d3f5),new Uint8Array(_0x35bc4f),_0x19b0d3,_0x111d9b);case'[object\x20Error]':return _0x44d3f5['name']===_0x35bc4f['name']&&_0x44d3f5['message']===_0x35bc4f['message'];case mr:{if(!(Zr(_0x44d3f5['constructor'],_0x35bc4f['constructor'],_0x19b0d3,_0x111d9b)||Hr(_0x44d3f5)&&Hr(_0x35bc4f)))return!0x1;const _0x64920d=[...Object['keys'](_0x44d3f5),...er(_0x44d3f5)],_0x2db7ea=[...Object['keys'](_0x35bc4f),...er(_0x35bc4f)];if(_0x64920d['length']!==_0x2db7ea['length'])return!0x1;for(let _0x583922=0x0;_0x583922<_0x64920d['length'];_0x583922++){const _0x313ee4=_0x64920d[_0x583922],_0x1bcdd7=_0x44d3f5[_0x313ee4];if(!Object['hasOwn'](_0x35bc4f,_0x313ee4))return!0x1;if(!Gr(_0x1bcdd7,_0x35bc4f[_0x313ee4],_0x313ee4,_0x44d3f5,_0x35bc4f,_0x19b0d3,_0x111d9b))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x19b0d3['delete'](_0x44d3f5),_0x19b0d3['delete'](_0x35bc4f);}}function Xr(){}function qr(_0x3b6e45,_0x6aef1d){return function(_0x177f8e,_0x37e25b,_0x421be6){return Gr(_0x177f8e,_0x37e25b,void 0x0,void 0x0,void 0x0,void 0x0,_0x421be6);}(_0x3b6e45,_0x6aef1d,Xr);}function Wr(_0x8eec9c,_0x1a42d1){if(_0x8eec9c=function(_0x35ef1b){const _0x2f7391=Mr(_0x35ef1b),_0x56075e=_0x2f7391%0x1;return _0x56075e?_0x2f7391-_0x56075e:_0x2f7391;}(_0x8eec9c),_0x8eec9c<0x1||!Number['isSafeInteger'](_0x8eec9c))return[];const _0x5dbf9b=new Array(_0x8eec9c);for(let _0x4f8d3c=0x0;_0x4f8d3c<_0x8eec9c;_0x4f8d3c++)_0x5dbf9b[_0x4f8d3c]='function'==typeof _0x1a42d1?_0x1a42d1(_0x4f8d3c):_0x4f8d3c;return _0x5dbf9b;}function zr(_0x52663a){if(null==_0x52663a)return[];switch(typeof _0x52663a){case'object':case'function':return Zn(_0x52663a)?function(_0x17fc06){const _0x7ac751=Wr(_0x17fc06['length'],_0x97faeb=>''+_0x97faeb),_0x42580d=new Set(_0x7ac751);(function(_0x505d41){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x505d41);}(_0x17fc06)&&(_0x42580d['add']('offset'),_0x42580d['add']('parent')),function(_0x5f123d){return Ar(_0x5f123d);}(_0x17fc06)&&(_0x42580d['add']('buffer'),_0x42580d['add']('byteLength'),_0x42580d['add']('byteOffset')));const _0x2cdd53=Yr(_0x17fc06)['filter'](_0x52869c=>!_0x42580d['has'](_0x52869c));if(Array['isArray'](_0x17fc06))return[..._0x7ac751,..._0x2cdd53];return[..._0x7ac751['filter'](_0x18eb75=>Object['hasOwn'](_0x17fc06,_0x18eb75)),..._0x2cdd53];}(_0x52663a):function(_0x3268d2){const _0x3f9c97=_0x3268d2?.['constructor'];return _0x3268d2===('function'==typeof _0x3f9c97?_0x3f9c97['prototype']:Object['prototype']);}(_0x52663a)?function(_0x5d4489){const _0x4a0c60=Yr(_0x5d4489);return _0x4a0c60['filter'](_0x4abb0a=>'constructor'!==_0x4abb0a);}(_0x52663a):Yr(_0x52663a);default:return Yr(Object(_0x52663a));}}function Yr(_0x125b3d){const _0x3d8beb=[];for(const _0x36b034 in _0x125b3d)_0x3d8beb['push'](_0x36b034);return _0x3d8beb;}function Kr(_0x56b819){if('object'!=typeof _0x56b819)return!0x1;if(null==_0x56b819)return!0x1;if(null===Object['getPrototypeOf'](_0x56b819))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x56b819)){const _0x34cc16=_0x56b819[Symbol['toStringTag']];if(null==_0x34cc16)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x56b819,Symbol['toStringTag'])?.['writable']&&_0x56b819['toString']()==='[object\x20'+_0x34cc16+']';}let _0x2482b8=_0x56b819;for(;null!==Object['getPrototypeOf'](_0x2482b8);)_0x2482b8=Object['getPrototypeOf'](_0x2482b8);return Object['getPrototypeOf'](_0x56b819)===_0x2482b8;}function Jr(_0x532377){const _0x328f1c=[];for(;_0x532377;)_0x328f1c['push'](...er(_0x532377)),_0x532377=Object['getPrototypeOf'](_0x532377);return _0x328f1c;}function to(_0x274a1c,..._0x3be882){if(null==_0x274a1c)return{};_0x3be882=function(_0x162582,_0x2c6aca=0x1){const _0x2745de=[],_0x5709ba=Math['floor'](_0x2c6aca);if(!Zn(_0x162582))return _0x2745de;const _0x139169=(_0x157b20,_0x382e74)=>{for(let _0x37bf3e=0x0;_0x37bf3e<_0x157b20['length'];_0x37bf3e++){const _0x49956f=_0x157b20[_0x37bf3e];_0x382e74<_0x5709ba&&(Array['isArray'](_0x49956f)||Boolean(_0x49956f?.[Symbol['isConcatSpreadable']])||null!==_0x49956f&&'object'==typeof _0x49956f&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0x49956f))?Array['isArray'](_0x49956f)?_0x139169(_0x49956f,_0x382e74+0x1):_0x139169(Array['from'](_0x49956f),_0x382e74+0x1):_0x2745de['push'](_0x49956f);}};return _0x139169(Array['from'](_0x162582),0x0),_0x2745de;}(_0x3be882);const _0x170ce0=function(_0x5473e5,_0x2aaf4c){const _0xbc9546=_0x2aaf4c['some'](_0x46d079=>Array['isArray'](_0x46d079)||qn(_0x46d079));if(_0xbc9546)return function(_0xefc90a){const _0x2fd4f8={},_0x59a85f=[...zr(_0xefc90a),...Jr(_0xefc90a)];for(let _0x23afad=0x0;_0x23afad<_0x59a85f['length'];_0x23afad++){const _0x431124=_0x59a85f[_0x23afad];_0x2fd4f8[_0x431124]=Cr(_0xefc90a[_0x431124],_0x4291b3=>{if(!Kr(_0x4291b3))return _0x4291b3;});}return _0x2fd4f8;}(_0x5473e5);return function(_0x285731){const _0x27ffb0={},_0x41e29b=[...zr(_0x285731),...Jr(_0x285731)];for(let _0x3d1f62=0x0;_0x3d1f62<_0x41e29b['length'];_0x3d1f62++){const _0xa0ea67=_0x41e29b[_0x3d1f62];_0x27ffb0[_0xa0ea67]=_0x285731[_0xa0ea67];}return _0x27ffb0;}(_0x5473e5);}(_0x274a1c,_0x3be882);for(let _0x522cb7=0x0;_0x522cb7<_0x3be882['length'];_0x522cb7++){let _0x552332=_0x3be882[_0x522cb7];switch(typeof _0x552332){case'object':Array['isArray'](_0x552332)||(_0x552332=Array['from'](_0x552332));for(let _0x51795d=0x0;_0x51795d<_0x552332['length'];_0x51795d++){$r(_0x170ce0,_0x552332[_0x51795d]);}break;case'string':case'symbol':case'number':$r(_0x170ce0,_0x552332);}}return _0x170ce0;}const eo={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function io(_0x4a9cec){return zn(_0x4a9cec)['replace'](/[&<>"']/g,_0x346a8b=>eo[_0x346a8b]);}function so(_0x460927){return function(_0x37383c){return _0x37383c['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(zn(_0x460927));}const no={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function ro(_0x1da523){return function(_0x2e5eb4){return _0x2e5eb4['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x1560d8=>no[_0x1560d8]||'\x27');}(zn(_0x1da523));}class AIHistoryListItemView extends _0xcc051a{constructor(_0x59c288){super();const _0x25e380=new tt(),_0xf106f3=new _0x4c508c(this['locale'],_0x25e380);this['children']['add'](_0xf106f3),_0xf106f3['set']({'label':_0x59c288['prompt'],'withText':!0x0}),_0xf106f3['on']('execute',()=>{this['fire']('execute',{'value':ro(_0x59c288['prompt'])});});}}const oo='CKEditor/AIFormView/PromptHistory';class PromptHistory extends _0x47a54f{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x164f14,_0x89e6ee)=>{const _0x3773fe=ao(_0x89e6ee['prompt']);for(const _0x178d61 of this)if(_0x178d61!=_0x89e6ee&&ao(_0x178d61['prompt'])===_0x3773fe){this['remove'](_0x178d61);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x393bf7=sessionStorage['getItem'](oo)||'[]';this['addMany'](JSON['parse'](_0x393bf7));}['_saveToSessionStorage'](){sessionStorage['setItem'](oo,JSON['stringify'](this['map'](_0x4d0a26=>_0x4d0a26)));}}function ao(_0x9ebbd1){return _0x9ebbd1['toLowerCase']()['trim']();}class AIFormView extends _0xa34d16{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x202516,_0x58ff38,_0x26445e=''){super(_0x202516),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',Gn['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new AIFormErrorView(_0x202516),this['contentArea']=new AIFormContentArea(_0x202516,_0x26445e),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 _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new et({'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 _0x4a8be7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x58ff38],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x4a8be7['if']('isError','ck-hidden',_0x4504bc=>!_0x4504bc)]},'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'](_0x24c66b=0x1){-0x1===_0x24c66b?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 _0x563234=this['locale'],_0x2c0349=new AIFormPromptView(_0x563234,{'queryView':{'label':Fn(_0x563234,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':it,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':Fn(_0x563234,'Empty\x20history'),'secondary':Fn(_0x563234,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2c0349['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x48a9ea,_0x98b0af)=>_0x48a9ea&&!_0x98b0af),this['listenTo'](_0x2c0349,'submit',(_0x541407,_0x172d4a)=>{this['prompt']=_0x172d4a;const _0x352b43=io(_0x172d4a);this['fire']('submitPrompt',_0x352b43),_0x172d4a['trim']()&&this['_promptHistory']['add']({'prompt':_0x352b43},0x0);},{'priority':'high'}),_0x2c0349;}['_createHistoryView'](){const _0x5a1e2b=new AIHistoryListView(this['locale']);return _0x5a1e2b['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x5a1e2b['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x5a1e2b;}['_createToolbar'](){const _0x2c53b8=new AIFormToolbarView(this['locale']);return _0x2c53b8['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x533313,_0x7b9bf0,_0x3be413)=>_0x533313&&!_0x7b9bf0&&!!_0x3be413),_0x2c53b8['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x2c53b8['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x12fe07,_0x2c9814,_0x3df58a)=>_0x12fe07&&!_0x2c9814&&!!_0x3df58a),_0x2c53b8['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x2c53b8['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x421fab,_0x79d544)=>_0x421fab&&!_0x79d544),_0x2c53b8['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x2c53b8['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x2c53b8['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x2c53b8;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x27d5cd=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=Fn(_0x27d5cd,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x25eefe){const _0x230d25=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x25eefe||Fn(_0x230d25,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const co=globalThis['DataTransfer'];class AIAssistantUI extends _0x151d85{['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[_0x34e652,AIAssistantEditing,AIAdapter,st];}constructor(_0x1374d8){super(_0x1374d8),_0x1374d8['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x1374d8['config']['define']('ai.assistant.contentAreaCssClass',''),_0x1374d8['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x1374d8['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x1fe8de}=this;this['_aiAdapter']=_0x1fe8de['plugins']['get'](AIAdapter),this['_dialog']=_0x1fe8de['plugins']['get'](st),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x3cc8b8=new ShowAIAssistantCommand(_0x1fe8de,Array['from'](this['_commandDefinitions']['values']()));_0x1fe8de['commands']['add']('showAIAssistant',_0x3cc8b8),_0x1fe8de['ui']['componentFactory']['add']('aiCommands',_0x222cee=>{const _0x30cf8d=nt(_0x222cee);return _0x30cf8d['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x30cf8d['buttonView']['set']({'label':Fn(_0x222cee,'AI\x20Commands'),'icon':_0x51fde0,'tooltip':!0x0}),_0x30cf8d['on']('execute',_0x1f78ba=>this['_onExecute'](_0x1f78ba['source']['id'])),rt(_0x30cf8d,_0x1fe8de['ui']['view']['body'],function(_0x4d9f18){const _0x54ab10=Vn(_0x4d9f18['config']['get']('ai.assistant.commands'),_0x4d9f18['locale']),_0x497665=ho(_0x4d9f18,_0x54ab10)['filter'](_0x15db66=>_0x15db66['commands']['length']);if(0x1===_0x497665['length'])return ho(_0x4d9f18,_0x497665[0x0]['commands'])['map'](_0x3f3eec=>({'id':_0x3f3eec['id'],'label':_0x3f3eec['label']}));return _0x497665['map'](_0x5d6af4=>{const {groupId:_0xedd28,groupLabel:_0x2231b9,commands:_0x35a0fa}=_0x5d6af4,_0x47c623=ho(_0x4d9f18,_0x35a0fa)['map'](_0x314b4f=>({'id':_0x314b4f['id'],'label':_0x314b4f['label']}));return{'id':_0xedd28,'menu':_0x2231b9||_0xedd28,'children':_0x47c623};});}(_0x1fe8de),{'ariaLabel':Fn(_0x222cee,'AI\x20Commands')}),_0x30cf8d['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x3cc8b8['on']('change:enabledCommandsIds',_0x1a6687),_0x30cf8d['menuView']['once']('render',_0x1a6687),_0x30cf8d;function _0x1a6687(){_0x30cf8d['isEnabled']=_0x3cc8b8['enabledCommandsIds']['length']>0x0;for(const _0x4870f8 of _0x30cf8d['menuView']['buttons'])_0x4870f8['isEnabled']=_0x3cc8b8['enabledCommandsIds']['includes'](_0x4870f8['id']);}}),_0x1fe8de['ui']['componentFactory']['add']('menuBar:aiCommands',_0x1cce54=>{const _0x240fed=new ot(_0x1cce54);_0x240fed['buttonView']['set']({'label':Fn(_0x1cce54,'AI\x20Commands'),'icon':_0x51fde0}),_0x240fed['bind']('isEnabled')['to'](_0x3cc8b8,'enabledCommandsIds',_0x24d0d2=>_0x24d0d2['length']>0x0);const _0x5e5ded=Vn(_0x1fe8de['config']['get']('ai.assistant.commands'),_0x1cce54);return this['_populateMenuBarMenu'](_0x3cc8b8,_0x240fed,_0x5e5ded,_0x2615f9=>this['_onExecute'](_0x2615f9)),_0x240fed;}),_0x1fe8de['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x396672=this['_createAIAssistantUIButton'](_0x4c508c);return _0x396672['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x396672;}),_0x1fe8de['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x346b51=this['_createAIAssistantUIButton'](at);return _0x346b51['set']({'role':'menuitemcheckbox'}),_0x346b51;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44216f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x363ea5;for(const _0xcdc419 in _0x44216f){const _0x330fc1=_0xcdc419,_0x4fb7cc=_0x44216f[_0x330fc1];if('aiLicenseKeyValid'==_0x4fb7cc||'aiLicenseKeyInvalid'==_0x4fb7cc||'aiLicenseKeyExpired'==_0x4fb7cc||'aiLicenseKeyDomainLimit'==_0x4fb7cc||'aiLicenseKeyNotAllowed'==_0x4fb7cc||'aiLicenseKeyEvaluationLimit'==_0x4fb7cc||'aiLicenseKeyUsageLimit'==_0x4fb7cc){delete _0x44216f[_0x330fc1],_0x363ea5=_0x4fb7cc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x363ea5&&_0x44216f['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x363ea5&&_0x44216f['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x363ea5&&_0x44216f['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x363ea5&&_0x44216f['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x363ea5&&_0x44216f['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x363ea5&&_0x44216f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x32d33c='',_0xa329c='',_0x192e07='custom'){const _0x2c04d0=this['editor'],_0x2b27ed=_0x2c04d0['editing']['view'],_0x538e53=_0x2c04d0['plugins']['get'](AIAssistantEditing),_0x595002=_0x2c04d0['plugins']['get'](_0x34e652);_0x538e53['showFakeVisualSelection']();const _0x1edb8f=new co(),_0x79a1e8=new ClipboardEvent('copy',{'clipboardData':_0x1edb8f}),_0x1449ba=new _0x23aec4(_0x1edb8f),_0x514156=new _0x2208a4(_0x2b27ed,_0x79a1e8,{'dataTransfer':_0x1449ba});_0x595002['_forceMarkersCopy']('comment',()=>{_0x2b27ed['document']['fire']('copy',_0x514156);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x2c04d0,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x4d45a6=_0x1449ba['getData']('text/html');const _0xdad565=_0x2c04d0['model']['document']['selection'],_0x5089b5=Array['from'](_0xdad565['getRanges']());0x1===_0x5089b5['length']&&_0x5089b5[0x0]['isFlat']&&!_0xdad565['getSelectedElement']()&&''!==_0x4d45a6['replace'](/&nbsp;/g,'')['trim']()&&(_0x4d45a6='<p>'+_0x4d45a6+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x192e07,'query':_0x32d33c,'htmlContent':_0x4d45a6,'label':_0xa329c,'mainActionLabel':Gn[_0x2c04d0['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0x1ebc09,'title':Fn(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':ct['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x538e53['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x56ca92=new Map(),_0x30bddc=Vn(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x4dfd1a of _0x30bddc)for(const _0x54524e of _0x4dfd1a['commands'])_0x56ca92['set'](_0x54524e['id'],{..._0x54524e,'groupId':_0x4dfd1a['groupId'],'groupLabel':_0x4dfd1a['groupLabel']||_0x4dfd1a['groupId']});return _0x56ca92;}['_createAIAssistantUIButton'](_0x19542a){const _0xb058ad=this['editor'],_0xa450c3=_0xb058ad['commands']['get']('showAIAssistant'),_0x2bf503=new _0x19542a(_0xb058ad['locale']);return _0x2bf503['set']({'label':Fn(_0xb058ad['locale'],'AI\x20Assistant'),'icon':_0x1ebc09,'isToggleable':!0x0}),_0x2bf503['bind']('isEnabled')['to'](_0xa450c3),_0x2bf503['bind']('isOn')['to'](this['_dialog'],'id',_0x14f32f=>'aiAssistant'===_0x14f32f),this['listenTo'](_0x2bf503,'execute',()=>{_0x2bf503['isOn']?this['hideUI']():_0xa450c3['execute']();}),_0x2bf503;}['_initView'](){const _0xe22023=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new AIFormView(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',()=>{_0xe22023['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0xe22023['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x164ec1,ui:{ariaLiveAnnouncer:_0x398a86}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x5bef08,_0x40e520,_0x4648c8)=>{const _0x14071e=this['_aiAssistantController']['currentContext'];_0x4648c8?_0x398a86['announce'](Fn(_0x164ec1,'AI\x20is\x20writing')):_0x14071e&&_0x398a86['announce'](Fn(_0x164ec1,'Generated\x20content:\x20%0',_0x14071e),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x1a036f,_0x52e79f,_0xa4da83)=>{if(_0xa4da83){const _0xb3ca80=this['_formView']['errorView']['text'];_0x398a86['announce'](Fn(_0x164ec1,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0xb3ca80));}});}['_onExecute'](_0x478e7e){const _0x117a7d=this['_commandDefinitions']['get'](_0x478e7e),_0x5c81fb=this['editor'],_0x23366e=_0x5c81fb['model']['document']['selection'],_0x2d9fd3=_0x5c81fb['commands']['get']('showAIAssistant'),_0x3f13e2=_0x5c81fb['plugins']['get'](AIAssistantEditing),_0x509194=''+(_0x117a7d['groupId']!==Qn?_0x117a7d['groupLabel']+':\x20':'')+_0x117a7d['label'];if(!0x1!==_0x117a7d['requiresContent']&&_0x23366e['isCollapsed']){const _0x3ea06d=_0x1e08d5(_0x23366e['getSelectedBlocks']())||_0x5c81fb['model']['schema']['getLimitElement'](_0x23366e);_0x5c81fb['model']['change'](_0x49bcd7=>{_0x49bcd7['setSelection'](_0x3ea06d,'in');});}_0x3f13e2['showFakeVisualSelection'](),_0x2d9fd3['execute'](_0x117a7d['prompt'],_0x509194,'command:'+_0x478e7e);}['_populateMenuBarMenu'](_0x22029f,_0x326e3b,_0x5628d1,_0x90a60d){const _0x3c98bb=this['editor'],_0x43297d=_0x3c98bb['locale'],_0x27f62d=new lt(_0x43297d),_0x1d89c1=ho(_0x3c98bb,_0x5628d1)['filter'](_0x2dd1f7=>_0x2dd1f7['commands']['length']);0x1===_0x1d89c1['length']?this['_getMenuBarGroupButtons']({'command':_0x22029f,'commands':_0x1d89c1[0x0]['commands'],'parentMenuView':_0x326e3b,'onExecute':_0x90a60d})['forEach'](_0x13ff6b=>_0x27f62d['items']['add'](_0x13ff6b)):_0x1d89c1['forEach'](({groupId:_0x125f19,groupLabel:_0x369609,commands:_0x1f082e})=>{const _0x55c8c3=new ht(_0x43297d,_0x326e3b),_0x4a11b8=new ot(_0x43297d),_0x432309=new lt(_0x43297d),_0x26b02e=this['_getMenuBarGroupButtons']({'command':_0x22029f,'commands':_0x1f082e,'parentMenuView':_0x4a11b8,'onExecute':_0x90a60d});_0x4a11b8['buttonView']['set']({'label':_0x369609||_0x125f19}),_0x4a11b8['delegate']('execute')['to'](_0x326e3b),_0x432309['items']['addMany'](_0x26b02e),_0x4a11b8['panelView']['children']['add'](_0x432309),_0x55c8c3['children']['add'](_0x4a11b8),_0x27f62d['items']['add'](_0x55c8c3);}),_0x326e3b['panelView']['children']['add'](_0x27f62d);}['_getMenuBarGroupButtons']({command:_0x1e74e0,commands:_0x345276,parentMenuView:_0x357df8,onExecute:_0x3d8bba}){const _0x4b971d=this['editor'],_0x5d2236=_0x4b971d['locale'];return ho(_0x4b971d,_0x345276)['map'](_0x3957bf=>{const _0x4ac2a5=new ht(_0x5d2236,_0x357df8),_0x26c933=new at(_0x5d2236);return _0x26c933['set']({'label':_0x3957bf['label']}),_0x26c933['delegate']('execute')['to'](_0x357df8),_0x26c933['on']('execute',()=>_0x3d8bba(_0x3957bf['id'])),_0x26c933['bind']('isEnabled')['to'](_0x1e74e0,'enabledCommandsIds',_0x1afbe9=>_0x1afbe9['includes'](_0x3957bf['id'])),_0x4ac2a5['children']['add'](_0x26c933),_0x4ac2a5;});}}function lo(_0x1995e0,_0x4488ed){return void 0x0!==_0x1995e0['order']&&void 0x0===_0x4488ed['order']?0x1:void 0x0===_0x1995e0['order']&&void 0x0!==_0x4488ed['order']?-0x1:void 0x0!==_0x1995e0['order']&&void 0x0!==_0x4488ed['order']?_0x1995e0['order']-_0x4488ed['order']:0x0;}function ho(_0x4c7fe6,_0x851e00){_0x851e00['sort'](lo);const _0xda5fa7={},_0x32207f=[];for(const _0x229f7b of _0x851e00)if(void 0x0!==_0x229f7b['order']){if(_0x229f7b['order']in _0xda5fa7)throw new _0x522f1f('ai-commands-config-order-collision',_0x4c7fe6,{'conflictingDefinitions':[_0x229f7b,_0xda5fa7[_0x229f7b['order']]]});_0xda5fa7[_0x229f7b['order']]=_0x229f7b,_0x32207f['splice'](_0x229f7b['order'],0x0,_0x229f7b);}else _0x32207f['push'](_0x229f7b);return _0x32207f;}class AIAssistant extends _0x151d85{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5256c5){super(_0x5256c5);const _0x2a47f4=_0x5256c5['config'],_0x5c95ca=_0x5256c5['locale'];_0x2a47f4['define']('ai.assistant.preserveComments',!0x0),_0x2a47f4['define']('ai.assistant.commands',uo(_0x5c95ca)),_0x2a47f4['define']('ai.assistant.extraCommandGroups',[]),_0x2a47f4['define']('ai.assistant.removeCommands',[]);let _0x28f171=Vn(_0x2a47f4['get']('ai.assistant.commands'),_0x5c95ca);const _0x40651e=_0x2a47f4['get']('ai.assistant.extraCommandGroups'),_0x3f1aae=_0x2a47f4['get']('ai.assistant.removeCommands');_0x40651e['forEach'](_0x5e22c1=>{const _0x4bc81d=_0x28f171['find'](_0x313350=>_0x313350['groupId']===_0x5e22c1['groupId']);_0x4bc81d?_0x4bc81d['commands']=_0x4bc81d['commands']['concat'](_0x5e22c1['commands']):_0x28f171['push'](_0x5e22c1);}),_0x28f171=_0x28f171['filter'](_0x5d7f2e=>!_0x3f1aae['includes'](_0x5d7f2e['groupId'])),_0x28f171['forEach'](_0x20ea5f=>{_0x20ea5f['commands']=_0x20ea5f['commands']['filter'](_0x59532a=>!_0x3f1aae['includes'](_0x59532a['id']));}),_0x2a47f4['set']('ai.assistant.commands',_0x28f171);}}function uo(_0x43c86e){return[{'groupId':'editOrReview','groupLabel':Fn(_0x43c86e,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':Fn(_0x43c86e,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':Fn(_0x43c86e,'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':Fn(_0x43c86e,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':Fn(_0x43c86e,'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':Fn(_0x43c86e,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':Fn(_0x43c86e,'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':Fn(_0x43c86e,'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':Fn(_0x43c86e,'Change\x20tone'),'commands':[{'id':'professional','label':Fn(_0x43c86e,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':Fn(_0x43c86e,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':Fn(_0x43c86e,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':Fn(_0x43c86e,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':Fn(_0x43c86e,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':Fn(_0x43c86e,'Change\x20style'),'commands':[{'id':'business','label':Fn(_0x43c86e,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':Fn(_0x43c86e,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':Fn(_0x43c86e,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':Fn(_0x43c86e,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':Fn(_0x43c86e,'Translate'),'commands':[{'id':'translateEnglish','label':Fn(_0x43c86e,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':Fn(_0x43c86e,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':Fn(_0x43c86e,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':Fn(_0x43c86e,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':Fn(_0x43c86e,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':Fn(_0x43c86e,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':Fn(_0x43c86e,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':Fn(_0x43c86e,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends _0x151d85{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x1ed3f1){super(_0x1ed3f1),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](AIAdapter)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x57a6c9){return this['sendRequest'](_0x57a6c9)['catch'](_0x5cf340=>{if(_0x5cf340 instanceof AIRequestError)return Promise['reject'](_0x5cf340);if('AbortError'==_0x5cf340['name'])return Promise['resolve']();throw console['error'](_0x5cf340),new _0x522f1f('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x4123a3,_0x97e6cf){const _0x29ddd9=this['editor']['locale'],_0x57741b={'Content-Type':'application/json'};if('object'==typeof _0x4123a3)Object['assign'](_0x57741b,_0x4123a3);else{if(_0x4123a3)try{const _0x41bcfb=await _0x4123a3(_0x97e6cf);Object['assign'](_0x57741b,_0x41bcfb);}catch{return Promise['reject'](new AIRequestError(Fn(_0x29ddd9,'AI_ERROR_GET_HEADERS')));}}return _0x57741b;}async['_prepareRequestParameters'](_0x15395b,_0x1af60f){const _0x49215c=this['editor']['locale'];if('object'==typeof _0x15395b)return _0x15395b;try{return await _0x15395b(_0x1af60f);}catch{return Promise['reject'](new AIRequestError(Fn(_0x49215c,'AI_ERROR_GET_PARAMETERS')));}}}class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x508b70){super(_0x508b70),_0x508b70['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x508b70['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x508b70['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x508b70['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x508b70['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x508b70['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x4635a1,context:_0x4e04c7,onData:_0x473797,actionId:_0x7a6b3b}){const _0x281808=this['editor']['locale'],_0x2576dc=await this['prepareMessages'](_0x4635a1,_0x4e04c7,_0x7a6b3b),_0x18404f=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x7a6b3b),_0x4a8255=await this['_prepareRequestParameters'](this['_requestParameters'],_0x7a6b3b),_0x17c416={'messages':_0x2576dc,..._0x4a8255},_0x6157d8={'method':'POST','headers':_0x18404f,'body':JSON['stringify'](_0x17c416),'signal':this['abortController']['signal']},_0x4457f9=await fetch(this['_apiUrl'],_0x6157d8);if(_0x4457f9['ok'])return _0x4a8255['stream']?await this['_readStreamableResponse'](_0x4457f9,_0x473797):await this['_readStaticResponse'](_0x4457f9,_0x473797),Promise['resolve']();{const _0x437d41=await _0x4457f9['text']();return _0x437d41['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(Fn(_0x281808,'AI_ERROR_CONTEXT_LENGTH'))):_0x437d41['includes']('Moderation')?Promise['reject'](new AIRequestError(Fn(_0x281808,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x437d41));}}async['prepareMessages'](_0x3f542a,_0xa56e9a,_0x4f2269){let _0x39413d,_0x5067ee;return _0xa56e9a?(_0x39413d='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.',_0x5067ee='Instruction:\x0a'+_0x3f542a+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0xa56e9a):(_0x39413d='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.',_0x5067ee=_0x3f542a),[{'role':'system','content':_0x39413d},{'role':'user','content':_0x5067ee}];}async['_readStreamableResponse'](_0x42417d,_0x2f3f42){const _0xc7915c=_0x42417d['body']['getReader'](),_0x3601b1=new TextDecoder();let _0xef12fc='',_0x29c8f6='',_0x4ba844='',_0x14ffb8=!0x1;for(;!_0x14ffb8;){const {done:_0x1242ac,value:_0x2870bb}=await _0xc7915c['read'](),_0x402864=_0xef12fc+_0x3601b1['decode'](_0x2870bb);let _0x51ba33='';_0x14ffb8=_0x1242ac;try{_0x51ba33=this['_cleanUpData'](_0x402864),_0xef12fc='';}catch{_0xef12fc=_0x402864;continue;}_0x29c8f6+=_0x51ba33,!_0x14ffb8&&this['_isBufferIncomplete'](_0x29c8f6)||_0x29c8f6&&(_0x4ba844+=_0x29c8f6,_0x29c8f6='',_0x2f3f42(_0x4ba844));}return Promise['resolve']();}async['_readStaticResponse'](_0x207341,_0x7100ce){return _0x7100ce((await _0x207341['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x3d300b){const _0x5b3172=_0x3d300b['split']('<')['length']!==_0x3d300b['split']('>')['length'],_0x5848ea=_0x3d300b['length']<0x1e;return _0x5b3172&&_0x5848ea;}['_cleanUpData'](_0x2a4128){return _0x2a4128['split'](/\n(?![^{]*\})/g)['map'](_0x46a0b0=>_0x46a0b0['replace']('data:\x20',''))['filter'](_0x3ec8e4=>_0x3ec8e4&&_0x3ec8e4['length']>0x0&&'[DONE]'!==_0x3ec8e4)['map'](_0x4b86c8=>{const {choices:_0x3080fd}=JSON['parse'](_0x4b86c8);if(_0x3080fd[0x0]?.['delta']?.['content'])return _0x3080fd[0x0]['delta']['content'];})['filter'](_0x2f4f17=>_0x2f4f17)['join']('');}}class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0x445208('ai-aws-adapter-not-supported');}async['sendRequest'](_0xf81646){throw _0x1ede73('ai-aws-adapter-not-supported'),new AIRequestError(Fn(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}}class TabButtonView extends _0x4c508c{constructor(_0x1c8ec9,_0x317106={}){super(_0x1c8ec9),this['isToggleable']=!0x0,this['set']('side',_0x317106['side']||'top');const _0x5e85b1=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0x3920f6(_0x317106['class']||[]),_0x5e85b1['to']('side',_0x291485=>'ck-tab-button_'+_0x291485),_0x5e85b1['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class TabPanelView extends _0xa34d16{['children'];constructor(_0x11a990,_0x2f4107={}){super(_0x11a990);const _0x47346a=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-tab-panel',..._0x3920f6(_0x2f4107['class']||[]),_0x47346a['to']('class'),_0x47346a['if']('isVisible','ck-hidden',_0x290191=>!_0x290191)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class AITabsView extends _0xa34d16{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x225a2f,_0x3b7d33={}){super(_0x225a2f),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x3b7d33['side']||'top'),this['set']('isMaximized',!0x1),this['set']('collapsible',_0x3b7d33['collapsible']||!0x1),this['set']('_isMaximizedActive',!0x1),this['bind']('_isMaximizedActive')['to'](this,'isMaximized',this,'activeTab',(_0x4000e3,_0x8ee3f2)=>_0x4000e3&&null!==_0x8ee3f2);const _0x5dbd61=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0x3920f6(_0x3b7d33['class']||[]),_0x5dbd61['to']('side',_0x2b2c51=>'ck-tabs_'+_0x2b2c51),_0x5dbd61['to']('class'),_0x5dbd61['if']('_isMaximizedActive','ck-ai-tabs_maximized'),_0x5dbd61['to']('activeTab',_0x408837=>null===_0x408837?'ck-ai-tabs_collapsed':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x5dbd61['to']('side',_0x3b2c7b=>'ck-tabs__buttons-container_'+_0x3b2c7b)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x5dbd61['to']('side',_0x20e682=>'ck-tabs__panels-container_'+_0x20e682)]},'children':this['panelViews']},..._0x3920f6(_0x3b7d33['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x157385){const _0x25c1e3=this['_tabs']['get'](_0x157385);return _0x25c1e3||null;}['addTab'](_0x413c99){const _0x99f01d=this['_setupButton']({'id':_0x413c99['id'],'label':_0x413c99['buttonLabel'],'icon':_0x413c99['buttonIcon'],'order':_0x413c99['order']}),_0x5c66c4=new TabPanelView(this['locale']);return _0x5c66c4['render'](),_0x413c99['content']&&_0x5c66c4['children']['add'](_0x413c99['content']),this['panelViews']['add'](_0x5c66c4),this['_tabs']['set'](_0x413c99['id'],{'button':_0x99f01d,'panel':_0x5c66c4,'order':void 0x0!==_0x413c99['order']?_0x413c99['order']:null}),this['fire']('addTab:'+_0x413c99['id'],{'id':_0x413c99['id'],'button':_0x99f01d,'panel':_0x5c66c4}),null===this['activeTab']?this['activateTab'](_0x413c99['id']):this['_hidePanel'](_0x413c99['id']),{'button':_0x99f01d,'panel':_0x5c66c4};}['activateTab'](_0xfc3b52){if(null!==_0xfc3b52&&!this['getTab'](_0xfc3b52))throw new _0x522f1f('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0xfc3b52});if(this['activeTab']===_0xfc3b52)return;const _0x4ce7dc=this['activeTab'];this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0xfc3b52,_0xfc3b52&&this['_showPanel'](_0xfc3b52),this['fire']('activateTab:'+_0xfc3b52,{'newTab':_0xfc3b52,'oldTab':_0x4ce7dc});}['toggleTabPanel'](_0x82c6ac){if(!this['getTab'](_0x82c6ac))throw new _0x522f1f('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x82c6ac});this['activeTab']===_0x82c6ac?this['collapsible']&&(this['activeTab']=null):this['activateTab'](_0x82c6ac);}['showTab'](_0x51bf87){if(!this['getTab'](_0x51bf87))throw new _0x522f1f('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x51bf87});this['_showPanel'](_0x51bf87),this['_showButton'](_0x51bf87),this['fire']('show:'+_0x51bf87,_0x51bf87);}['hideTab'](_0x17cf8e){if(!this['getTab'](_0x17cf8e))throw new _0x522f1f('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x17cf8e});const _0x28a97d=this['activeTab'];this['_hidePanel'](_0x17cf8e),this['_hideButton'](_0x17cf8e);const _0x9ac0fb=this['getTabIds']();_0x28a97d===_0x17cf8e&&_0x9ac0fb['length']>0x1&&this['activateTab'](_0x9ac0fb['find'](_0x27e188=>_0x27e188!==_0x17cf8e)),this['fire']('hide:'+_0x17cf8e,_0x17cf8e);}['_getPanel'](_0x2a7cb2){const _0x1f54bd=this['_tabs']['get'](_0x2a7cb2);return _0x1f54bd?_0x1f54bd['panel']:null;}['_showPanel'](_0x2bc898){null!==this['activeTab']&&this['activeTab']!==_0x2bc898||this['_getPanel'](_0x2bc898)['show']();}['_hidePanel'](_0x37609c){const _0x398ab1=this['_getPanel'](_0x37609c);_0x398ab1['isVisible']&&(this['activeTab']===_0x37609c&&(this['activeTab']=null),_0x398ab1['hide']());}['_getButton'](_0x4294bc){const _0x369cc4=this['_tabs']['get'](_0x4294bc);return _0x369cc4?_0x369cc4['button']:null;}['_showButton'](_0x37e3df){this['_getButton'](_0x37e3df)['show']();}['_hideButton'](_0x43b262){this['_getButton'](_0x43b262)['hide']();}['_setupButton'](_0x53250b){const _0x3cf134=new TabButtonView(this['locale'],{'side':this['side']}),_0xac1598=this['buttonViews'];if(_0x3cf134['set']({'label':_0x53250b['label'],'icon':_0x53250b['icon'],'tooltip':!0x0,'withText':!0x0}),_0x3cf134['bind']('isOn')['to'](this,'activeTab',_0x53224e=>_0x53224e===_0x53250b['id']),_0x3cf134['bind']('side')['to'](this,'side'),_0x53250b['order']){const _0x4eedb4=[...this['_tabs']]['reduce']((_0x273cd0,_0x412a41)=>{const _0x2f0e96=_0x412a41[0x0],{order:_0x25b43c}=_0x412a41[0x1];return!_0x25b43c||_0x25b43c>_0x53250b['order']?_0x273cd0:_0x25b43c>=_0x273cd0['order']?{'id':_0x2f0e96,'order':_0x25b43c}:_0x273cd0;},{'id':'','order':0x0}),_0x488736=_0xac1598['getIndex'](this['_getButton'](_0x4eedb4['id']));_0xac1598['add'](_0x3cf134,_0x488736+0x1);}else _0xac1598['add'](_0x3cf134);return _0x3cf134['on']('execute',()=>{this['toggleTabPanel'](_0x53250b['id']);}),_0x3cf134;}}const fo=['overlay','sidebar','custom'],mo=['left','right'];class AITabsMainView extends AITabsView{constructor(_0x4d1e12,_0x53dcb1={}){super(_0x4d1e12,_0x53dcb1),this['set']('type',_0x53dcb1['type']||'sidebar'),this['set']('side',_0x53dcb1['side']||'right'),this['set']('isVisible',_0x53dcb1['visibleByDefault']??!0x0);const _0x28cdc9=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x28cdc9['if']('type','ck-ai-tabs__overlay',_0xb3543=>'overlay'===_0xb3543),_0x28cdc9['if']('type','ck-ai-tabs__sidebar',_0x5e4178=>'sidebar'===_0x5e4178),_0x28cdc9['if']('isVisible','ck-hidden',_0x5f4602=>!_0x5f4602)]}}),this['buttonViews']['on']('add',(_0x41f7aa,_0x50f567)=>{_0x50f567['set']('withText',!0x1);});}}class AITabs extends _0x304a5a{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x44533){if(super(_0x44533),!this['context']['config']['get']('ai.container'))throw new _0x522f1f('ai-tabs-configuration-not-found');this['context']['config']['define']('ai.container.visibleByDefault',!0x0),this['context']['config']['define']('ai.container.collapsible',!0x1);const _0x30fb81=this['context']['config']['get']('ai.container');if(this['set']('side','right'),void 0x0!==_0x30fb81['showResizeButton']&&(this['showResizeButton']=_0x30fb81['showResizeButton']),'sidebar'!==_0x30fb81['type']&&'overlay'!==_0x30fb81['type']||_0x30fb81['side']&&(this['side']=_0x30fb81['side']),'sidebar'===_0x30fb81['type']){if(this['container']=_0x30fb81['element'],this['set']('type','sidebar'),!this['container'])throw new _0x522f1f('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x30fb81['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new AITabsMainView(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':_0x30fb81['visibleByDefault'],'collapsible':_0x30fb81['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 _0x8aa8ea&&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'](_0x503f52){if(_0x503f52&&this['type']!==_0x503f52){if(!fo['includes'](_0x503f52))throw new _0x522f1f('ai-tabs-unsupported-ui-type');this['type']=_0x503f52;}}['switchSide'](_0x234601){if(_0x234601&&this['side']!==_0x234601){if(!mo['includes'](_0x234601))throw new _0x522f1f('ai-tabs-unsupported-ui-side');this['side']=_0x234601;}}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class ParseError extends Error{constructor(_0x5dc1c5,_0x590f37){super(_0x5dc1c5),this['name']='ParseError',this['type']=_0x590f37['type'],this['field']=_0x590f37['field'],this['value']=_0x590f37['value'],this['line']=_0x590f37['line'];}}function go(_0x3ff49f){}function po(_0x1d0d3c){if('function'==typeof _0x1d0d3c)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x2214b9=go,onError:_0x4e6ce2=go,onRetry:_0x9448cf=go,onComment:_0xf3f172}=_0x1d0d3c;let _0x259e43,_0x3c5c87='',_0xcc2eda=!0x0,_0x4531e0='',_0x4c83f6='';function _0x3c6e3b(_0xfb6ed0){if(''===_0xfb6ed0)return _0x4531e0['length']>0x0&&_0x2214b9({'id':_0x259e43,'event':_0x4c83f6||void 0x0,'data':_0x4531e0['endsWith']('\x0a')?_0x4531e0['slice'](0x0,-0x1):_0x4531e0}),_0x259e43=void 0x0,_0x4531e0='',void(_0x4c83f6='');if(_0xfb6ed0['startsWith'](':'))return void(_0xf3f172&&_0xf3f172(_0xfb6ed0['slice'](_0xfb6ed0['startsWith'](':\x20')?0x2:0x1)));const _0x5c6a80=_0xfb6ed0['indexOf'](':');if(-0x1!==_0x5c6a80){const _0x42e55e=_0xfb6ed0['slice'](0x0,_0x5c6a80),_0x11fe93='\x20'===_0xfb6ed0[_0x5c6a80+0x1]?0x2:0x1;return void _0x4ff5b2(_0x42e55e,_0xfb6ed0['slice'](_0x5c6a80+_0x11fe93),_0xfb6ed0);}_0x4ff5b2(_0xfb6ed0,'',_0xfb6ed0);}function _0x4ff5b2(_0x4d4a78,_0xf33f75,_0xb3df6e){switch(_0x4d4a78){case'event':_0x4c83f6=_0xf33f75;break;case'data':_0x4531e0=''+_0x4531e0+_0xf33f75+'\x0a';break;case'id':_0x259e43=_0xf33f75['includes']('\x00')?void 0x0:_0xf33f75;break;case'retry':/^\d+$/['test'](_0xf33f75)?_0x9448cf(parseInt(_0xf33f75,0xa)):_0x4e6ce2(new ParseError('Invalid\x20`retry`\x20value:\x20\x22'+_0xf33f75+'\x22',{'type':'invalid-retry','value':_0xf33f75,'line':_0xb3df6e}));break;default:_0x4e6ce2(new ParseError('Unknown\x20field\x20\x22'+(_0x4d4a78['length']>0x14?_0x4d4a78['slice'](0x0,0x14)+'…':_0x4d4a78)+'\x22',{'type':'unknown-field','field':_0x4d4a78,'value':_0xf33f75,'line':_0xb3df6e}));}}return{'feed':function(_0x5e4d1f){const _0x5a3582=_0xcc2eda?_0x5e4d1f['replace'](/^\xEF\xBB\xBF/,''):_0x5e4d1f,[_0x4294b7,_0xfca57e]=function(_0x3115e3){const _0x4b9e4b=[];let _0xc6784f='',_0x5567e6=0x0;for(;_0x5567e6<_0x3115e3['length'];){const _0xfa3a0c=_0x3115e3['indexOf']('\x0d',_0x5567e6),_0x16d6a3=_0x3115e3['indexOf']('\x0a',_0x5567e6);let _0x3b954d=-0x1;if(-0x1!==_0xfa3a0c&&-0x1!==_0x16d6a3?_0x3b954d=Math['min'](_0xfa3a0c,_0x16d6a3):-0x1!==_0xfa3a0c?_0x3b954d=_0xfa3a0c:-0x1!==_0x16d6a3&&(_0x3b954d=_0x16d6a3),-0x1===_0x3b954d){_0xc6784f=_0x3115e3['slice'](_0x5567e6);break;}{const _0x35041f=_0x3115e3['slice'](_0x5567e6,_0x3b954d);_0x4b9e4b['push'](_0x35041f),_0x5567e6=_0x3b954d+0x1,'\x0d'===_0x3115e3[_0x5567e6-0x1]&&'\x0a'===_0x3115e3[_0x5567e6]&&_0x5567e6++;}}return[_0x4b9e4b,_0xc6784f];}(''+_0x3c5c87+_0x5a3582);for(const _0x4a450f of _0x4294b7)_0x3c6e3b(_0x4a450f);_0x3c5c87=_0xfca57e,_0xcc2eda=!0x1;},'reset':function(_0x5d18bc={}){_0x3c5c87&&_0x5d18bc['consume']&&_0x3c6e3b(_0x3c5c87),_0xcc2eda=!0x0,_0x259e43=void 0x0,_0x4531e0='',_0x4c83f6='',_0x3c5c87='';}};}class AIConnector extends _0x304a5a{['_apiUrl'];get['_apiUrlV11'](){return this['_apiUrl']['replace'](/\/v1$/,'/v1.1');}['_token'];['_decoder'];['_responseCache'];static get['requires'](){return[_0x4eeba8];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x652768){if(super(_0x652768),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 _0x522f1f('ai-service-url-invalid-version',this,{'serviceUrl':this['_apiUrl']});this['_token']=null,this['_decoder']=new TextDecoder(),this['_responseCache']=new Map();}['init'](){const _0x1cfc9c=this['context']['plugins']['get'](_0x4eeba8);if(!_0x1cfc9c['token'])throw new _0x522f1f('ai-missing-token',this);this['_token']=_0x1cfc9c['token'];}['startConversation'](_0x6dbb4,_0x3a184a){const _0x3f8c10=this['_sendApiRequest']('/conversations','POST',{'id':_0x6dbb4,'group':_0x3a184a});return{'getConversation':async()=>(await _0x3f8c10['request'])['json'](),'abortController':_0x3f8c10['abortController']};}['queryAssistant']({message:_0x2e51eb,conversationId:_0x38a387,parts:_0x7618c0,capabilities:_0x1cbd2c,model:_0x12ca7e,attributes:_0x24a33b}){const _0x5707d7={'prompt':_0x2e51eb,'content':_0x7618c0,'model':_0x12ca7e,..._0x1cbd2c&&{'capabilities':_0x1cbd2c},..._0x24a33b&&{'attributes':_0x24a33b}},_0x49cc16=this['_sendApiRequest']('/conversations/'+_0x38a387+'/messages','POST',_0x5707d7,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x2a474b=(await _0x49cc16['request'])['body'];return this['_getStreamReader'](_0x2a474b);},'abortController':_0x49cc16['abortController']};}['executeCustomAction']({content:_0x27dde1,message:_0x5db225,model:_0x2e2d38,outputFormat:_0x3680e8}){const _0x457bfb={'content':[{'type':'text','content':_0x27dde1}],'prompt':_0x5db225,'model':_0x2e2d38,'outputFormat':_0x3680e8},_0x52f527=this['_sendApiRequest']('/actions/custom/calls','POST',_0x457bfb);return{'getStream':async()=>{const _0x2d6b15=(await _0x52f527['request'])['body'];return this['_getStreamReader'](_0x2d6b15);},'abortController':_0x52f527['abortController']};}['executeAction']({actionName:_0x2646b8,content:_0x3d4020,args:_0x2d9d2e}){const _0xa6919f={'content':[{'type':'text','content':_0x3d4020}],'args':_0x2d9d2e},_0x157269=this['_sendApiRequest']('/actions/system/'+_0x2646b8+'/calls','POST',_0xa6919f);return{'getStream':async()=>{const _0x428e87=(await _0x157269['request'])['body'];return this['_getStreamReader'](_0x428e87);},'abortController':_0x157269['abortController']};}['uploadFile'](_0x460c0d,_0x33ce54,_0x10cf8c){const _0x549c2e=new FormData();_0x549c2e['append']('file',_0x33ce54,_0x33ce54['name']),_0x10cf8c&&_0x549c2e['append']('attributes',JSON['stringify'](_0x10cf8c));const _0x4918c4=this['_sendApiRequest']('/conversations/'+_0x460c0d+'/files','POST',_0x549c2e);return{'getId':async()=>(await _0x4918c4['request'])['json'](),'abortController':_0x4918c4['abortController']};}['fetchDocument'](_0x2b6185,_0xc6ade7){const _0x536bf1=this['_sendApiRequest']('/conversations/'+_0x2b6185+'/documents/'+_0xc6ade7,'GET');return{'getDocument':async()=>(await _0x536bf1['request'])['json'](),'abortController':_0x536bf1['abortController']};}['uploadDocument'](_0x2fa83a,_0x28edbd,_0x3f30da){const _0xe4d15e={'content':_0x28edbd};_0x3f30da&&(_0xe4d15e['attributes']=_0x3f30da);const _0x1951a2=this['_sendApiRequest']('/conversations/'+_0x2fa83a+'/documents','POST',_0xe4d15e);return{'getId':async()=>(await _0x1951a2['request'])['json'](),'abortController':_0x1951a2['abortController']};}['uploadDocuments'](_0xfd45a4,_0x251a69){const _0x385b21={'documents':_0x251a69['map'](_0x5b11c4=>({'content':_0x5b11c4['content'],'attributes':{'version':_0x5b11c4['version'],'sessionId':_0x5b11c4['sessionId'],'channelId':_0x5b11c4['channelId'],'rootName':_0x5b11c4['rootName'],'selections':_0x5b11c4['selections']},...void 0x0!==_0x5b11c4['name']?{'name':_0x5b11c4['name']}:{},...void 0x0!==_0x5b11c4['description']?{'description':_0x5b11c4['description']}:{}}))},_0x5ab7e8=this['_sendApiRequest']('/conversations/'+_0xfd45a4+'/documents/batch','POST',_0x385b21);return{'getIds':async()=>(await _0x5ab7e8['request'])['json'](),'abortController':_0x5ab7e8['abortController']};}['fetchDocuments'](_0x3f628d,_0x249eac){const _0x26ca7b=new URLSearchParams();_0x26ca7b['append']('documentIds',_0x249eac['join'](','));const _0x457c9b=this['_sendApiRequest']('/conversations/'+_0x3f628d+'/documents/batch?'+_0x26ca7b['toString'](),'GET');return{'getDocuments':async()=>(await _0x457c9b['request'])['json'](),'abortController':_0x457c9b['abortController']};}['fetchConversations'](_0x5bfa24,_0x363d74={}){const _0x2cb8eb=new URLSearchParams();_0x2cb8eb['append']('group',_0x5bfa24),_0x2cb8eb['append']('excludeEmpty',!0x1!==_0x363d74['excludeEmpty']?'true':'false'),_0x2cb8eb['append']('limit',_0x363d74['limit']?_0x363d74['limit']['toString']():'100'),_0x2cb8eb['append']('sortBy',_0x363d74['sortBy']?_0x363d74['sortBy']:'createdAt'),_0x2cb8eb['append']('order',_0x363d74['order']?_0x363d74['order']:'desc');const _0x10d162=this['_sendApiRequest']('/conversations?'+_0x2cb8eb['toString'](),'GET');return{'getConversations':async()=>{const _0x18ff7a=await _0x10d162['request'];return(await _0x18ff7a['json']())['items'];},'abortController':_0x10d162['abortController']};}['deleteConversation'](_0x3b11e1){const _0x35664d=this['_sendApiRequest']('/conversations/'+_0x3b11e1,'DELETE');return{'execute':async()=>{await _0x35664d['request'];},'abortController':_0x35664d['abortController']};}['updateConversation'](_0x13597c,_0x3f7dc6){const _0x1e7b6a=this['_sendApiRequest']('/conversations/'+_0x13597c,'PATCH',_0x3f7dc6);return{'getResult':async()=>(await _0x1e7b6a['request'],_0x3f7dc6),'abortController':_0x1e7b6a['abortController']};}['fetchConversation'](_0x27e309){const _0x19c6f7=this['_sendApiRequest']('/conversations/'+_0x27e309,'GET');return{'getConversation':async()=>(await _0x19c6f7['request'])['json'](),'abortController':_0x19c6f7['abortController']};}['fetchConversationMessages'](_0x3d61aa){const _0x3cc41a=this['_sendApiRequest']('/conversations/'+_0x3d61aa+'/messages','GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getMessages':async()=>{const _0x5cfac8=await _0x3cc41a['request'];return(await _0x5cfac8['json']())['items'];},'abortController':_0x3cc41a['abortController']};}['uploadUrl'](_0x57c4cf,_0x244e42,_0x537cdc){const _0x2727fe=this['_sendApiRequest']('/conversations/'+_0x57c4cf+'/web-resources','POST',{'url':_0x244e42,'attributes':_0x537cdc});return{'getId':async()=>(await _0x2727fe['request'])['json'](),'abortController':_0x2727fe['abortController']};}['getModels'](_0x2747c8='en'){const _0x6a9e90=new URLSearchParams();_0x6a9e90['append']('language',_0x2747c8);const _0x3ae8ea='/models/1?'+_0x6a9e90['toString'](),_0x4c8dc7=this['_sendApiRequest'](_0x3ae8ea,'GET',void 0x0,{'useCache':!0x0});return{'list':async()=>await(await _0x4c8dc7['request'])['json'](),'abortController':_0x4c8dc7['abortController']};}['deleteFile'](_0x40e931,_0x2221a2){const _0x26c21c=this['_sendApiRequest']('/conversations/'+_0x40e931+'/files/'+_0x2221a2,'DELETE');return{'execute':async()=>{await _0x26c21c['request'];},'abortController':_0x26c21c['abortController']};}['deleteDocument'](_0xf116d5,_0x750041){const _0x128312=this['_sendApiRequest']('/conversations/'+_0xf116d5+'/documents/'+_0x750041,'DELETE');return{'execute':async()=>{await _0x128312['request'];},'abortController':_0x128312['abortController']};}['deleteWebResource'](_0x2a142b,_0x594f59){const _0x3d1fc0=this['_sendApiRequest']('/conversations/'+_0x2a142b+'/web-resources/'+_0x594f59,'DELETE');return{'execute':async()=>{await _0x3d1fc0['request'];},'abortController':_0x3d1fc0['abortController']};}['cancelStream'](_0x501977,_0x1eed17){const _0xa26815=this['_sendApiRequest']('/conversations/'+_0x501977+'/messages/'+_0x1eed17+'/stream','DELETE',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'execute':async()=>{await _0xa26815['request'];},'abortController':_0xa26815['abortController']};}['resumeStream'](_0x5599ad,_0x1d0647,_0x46ac10='0-0'){const _0x179d6a=new URLSearchParams({'lastEventId':_0x46ac10}),_0xc52153=this['_sendApiRequest']('/conversations/'+_0x5599ad+'/messages/'+_0x1d0647+'/stream?'+_0x179d6a['toString'](),'GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x1f9ccf=await _0xc52153['request'];return this['_getStreamReader'](_0x1f9ccf['body']);},'abortController':_0xc52153['abortController']};}['callSystemReview']({reviewName:_0x1aa882,content:_0x4690e5,args:_0x1fe752}){const _0x52e12a=this['_sendApiRequest']('/reviews/system/'+_0x1aa882+'/calls','POST',{'content':[{'type':'text','content':_0x4690e5}],'args':_0x1fe752});return{'getStream':async()=>{const _0xb02a3c=(await _0x52e12a['request'])['body'];return this['_getStreamReader'](_0xb02a3c);},'abortController':_0x52e12a['abortController']};}['callCustomReview']({content:_0x1bc57b,prompt:_0x4ae040,model:_0x264d49}){const _0xe3e5a2=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x1bc57b}],'prompt':_0x4ae040,'model':_0x264d49});return{'getStream':async()=>{const _0x55200d=(await _0xe3e5a2['request'])['body'];return this['_getStreamReader'](_0x55200d);},'abortController':_0xe3e5a2['abortController']};}['upsertAIChatRating'](_0x135d24,_0x8c7376,_0x37b5be){const _0xae660c=this['_sendApiRequest']('/conversations/'+_0x135d24+'/messages/'+_0x8c7376+'/ratings','PUT',{'positiveCount':_0x37b5be['positiveCount'],'totalCount':_0x37b5be['totalCount'],'modificationId':_0x37b5be['modificationId']});return{'execute':async()=>{await _0xae660c['request'];},'abortController':_0xae660c['abortController']};}['upsertAIActionRating'](_0x872a61,_0x3cb77c,_0x23390e){const _0x362879=this['_sendApiRequest']('/actions/system/'+_0x872a61+'/calls/'+_0x3cb77c+'/ratings','PUT',{'positiveCount':_0x23390e['positiveCount'],'totalCount':_0x23390e['totalCount']});return{'execute':async()=>{await _0x362879['request'];},'abortController':_0x362879['abortController']};}['upsertCustomAIActionRating'](_0x37480d,_0x17fbef){const _0x2cf768=this['_sendApiRequest']('/actions/custom/calls/'+_0x37480d+'/ratings','PUT',{'positiveCount':_0x17fbef['positiveCount'],'totalCount':_0x17fbef['totalCount']});return{'execute':async()=>{await _0x2cf768['request'];},'abortController':_0x2cf768['abortController']};}['upsertAIReviewRating'](_0x769f85,_0x2100d2,_0x3583ff,_0x247b34){const _0x1f4727=this['_sendApiRequest']('/reviews/system/'+_0x769f85+'/calls/'+_0x2100d2+'/ratings','PUT',{'positiveCount':_0x3583ff['positiveCount'],'totalCount':_0x3583ff['totalCount'],'dataId':_0x247b34});return{'execute':async()=>{await _0x1f4727['request'];},'abortController':_0x1f4727['abortController']};}['upsertCustomAIReviewRating'](_0x448a33,_0x57fcf8,_0x59f4dd){const _0x37a290=this['_sendApiRequest']('/reviews/custom/calls/'+_0x448a33+'/ratings','PUT',{'positiveCount':_0x57fcf8['positiveCount'],'totalCount':_0x57fcf8['totalCount'],'dataId':_0x59f4dd});return{'execute':async()=>{await _0x37a290['request'];},'abortController':_0x37a290['abortController']};}['_sendApiRequest'](_0x55174d,_0x2e8506,_0x3341e4,_0x631435={}){const {useCache:_0x1af9fa=!0x1,apiUrl:_0x438af6=this['_apiUrl']}=_0x631435,_0x3a0dfe=new AbortController(),_0x5083f9=_0x1af9fa?_0x2e8506+':'+_0x55174d:null;if(_0x5083f9){const _0x33be71=this['_responseCache']['get'](_0x5083f9);if(_0x33be71)return{'request':_0x33be71['then'](_0x9d83da=>_0x9d83da['clone']()),'abortController':_0x3a0dfe};}const _0x23076a=_0x3341e4 instanceof FormData,_0x4f4a13={'Authorization':'Bearer\x20'+this['_token']?.['value'],'X-Editor-Version':_0xe3d6ee};_0x3341e4&&!_0x23076a&&(_0x4f4a13['Content-Type']='application/json');const _0x300523={'method':_0x2e8506,'headers':_0x4f4a13,'signal':_0x3a0dfe['signal']};_0x3341e4&&(_0x300523['body']=_0x23076a?_0x3341e4:JSON['stringify'](_0x3341e4));const _0x327bf8=fetch(''+_0x438af6+_0x55174d,_0x300523)['catch'](_0x2e5e6a=>{_0x5083f9&&this['_responseCache']['delete'](_0x5083f9),this['_handleError'](_0x2e5e6a);})['then'](_0x4c2a4d=>_0x4c2a4d['ok']?_0x4c2a4d:_0x4c2a4d['json']()['then'](_0x254692=>{throw _0x5083f9&&this['_responseCache']['delete'](_0x5083f9),{'url':_0x438af6,'path':_0x55174d,'method':_0x2e8506,'body':_0x3341e4,'status':(_0x4c2a4d||{})['status'],'statusText':(_0x4c2a4d||{})['statusText'],'code':_0x254692['code'],'message':_0x254692['message'],'traceId':_0x254692['traceId']};}));return _0x5083f9&&this['_responseCache']['set'](_0x5083f9,_0x327bf8['then'](_0x36a816=>_0x36a816['clone']())),{'request':_0x327bf8,'abortController':_0x3a0dfe};}async*['_getStreamReader'](_0xe56af2){const _0x4f32de=[],_0x935207=_0xe56af2['getReader'](),_0x3b88d9=po({'onError':_0x5a3431=>{this['_handleError'](_0x5a3431);},'onEvent':_0x5514ef=>{_0x5514ef['data']=JSON['parse'](_0x5514ef['data']),_0x4f32de['push'](_0x5514ef);}});try{let _0x15a022=!0x1;for(;!_0x15a022;){const {done:_0x5a01df,value:_0x41b822}=await _0x935207['read']();_0x5a01df&&(_0x15a022=!0x0),_0x3b88d9['feed'](this['_decoder']['decode'](_0x41b822,{'stream':!0x0})),yield*_0x4f32de,_0x4f32de['length']=0x0;}}catch(_0x23592a){this['_handleError'](_0x23592a);}finally{_0x935207['releaseLock'](),_0x3b88d9['reset']();}}['_handleError'](_0x17c5b9){if(_0x17c5b9 instanceof _0x522f1f)throw _0x17c5b9;if(_0x17c5b9 instanceof Error&&'AbortError'===_0x17c5b9['name'])throw new _0x522f1f('ai-request-aborted',this,{'originalError':_0x17c5b9});throw new _0x522f1f('ai-request-failed',this,{'originalError':_0x17c5b9});}}function Oo(_0xb62db3,_0x5e866c,_0x5f0ca3){const t=_0xb62db3['t'];switch(_0x5e866c){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'},_0x5f0ca3);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.'},_0x5f0ca3);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.'},_0x5f0ca3);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.'},_0x5f0ca3);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'},_0x5f0ca3);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x5f0ca3);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'},_0x5f0ca3);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.'},_0x5f0ca3);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.'},_0x5f0ca3);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.'},_0x5f0ca3);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.'},_0x5f0ca3);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'},_0x5f0ca3);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.'},_0x5f0ca3);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 _0x5e866c;}}const wo='ck-ai-button-primary',bo='ck-ai-button-secondary',yo='ck-ai-button-tertiary';function vo(_0x409f38,_0x5536d9){const _0x3aaa43=new _0x4c508c(_0x409f38),_0x21cdc4=Oo(_0x409f38,'AI_TABS_LABEL_MINIMIZE'),_0x165c34=Oo(_0x409f38,'AI_TABS_LABEL_MAXIMIZE');return _0x3aaa43['set']({'withText':!0x1,'icon':_0x9a9ba,'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+yo}),_0x3aaa43['bind']('label')['to'](_0x5536d9,'isMaximized',_0x46f00c=>_0x46f00c?_0x21cdc4:_0x165c34),_0x3aaa43['bind']('icon')['to'](_0x5536d9,'isMaximized',_0x5ed93e=>_0x5ed93e?_0x1adf91:_0x9a9ba),_0x3aaa43['bind']('isOn')['to'](_0x5536d9,'isMaximized'),_0x3aaa43['on']('execute',()=>{_0x5536d9['fire']('resizeTabs');}),_0x3aaa43;}const _o=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'](_0x17cf20=>_0x17cf20['charCodeAt'](0x0))),Eo=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0xe6f1da=>_0xe6f1da['charCodeAt'](0x0)));var To;const Ao=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]]),Io=null!==(To=String['fromCodePoint'])&&void 0x0!==To?To:function(_0x59f836){let _0x5469f1='';return _0x59f836>0xffff&&(_0x59f836-=0x10000,_0x5469f1+=String['fromCharCode'](_0x59f836>>>0xa&0x3ff|0xd800),_0x59f836=0xdc00|0x3ff&_0x59f836),_0x5469f1+=String['fromCharCode'](_0x59f836),_0x5469f1;};var So;!function(_0x152ce4){_0x152ce4[_0x152ce4['NUM']=0x23]='NUM',_0x152ce4[_0x152ce4['SEMI']=0x3b]='SEMI',_0x152ce4[_0x152ce4['EQUALS']=0x3d]='EQUALS',_0x152ce4[_0x152ce4['ZERO']=0x30]='ZERO',_0x152ce4[_0x152ce4['NINE']=0x39]='NINE',_0x152ce4[_0x152ce4['LOWER_A']=0x61]='LOWER_A',_0x152ce4[_0x152ce4['LOWER_F']=0x66]='LOWER_F',_0x152ce4[_0x152ce4['LOWER_X']=0x78]='LOWER_X',_0x152ce4[_0x152ce4['LOWER_Z']=0x7a]='LOWER_Z',_0x152ce4[_0x152ce4['UPPER_A']=0x41]='UPPER_A',_0x152ce4[_0x152ce4['UPPER_F']=0x46]='UPPER_F',_0x152ce4[_0x152ce4['UPPER_Z']=0x5a]='UPPER_Z';}(So||(So={}));var Co,ko,xo,Ro,Po,Mo;function No(_0x2ad915){return _0x2ad915>=So['ZERO']&&_0x2ad915<=So['NINE'];}function Lo(_0x21fdec){return _0x21fdec>=So['UPPER_A']&&_0x21fdec<=So['UPPER_F']||_0x21fdec>=So['LOWER_A']&&_0x21fdec<=So['LOWER_F'];}function $o(_0x42d6ce){return _0x42d6ce===So['EQUALS']||function(_0x1bc703){return _0x1bc703>=So['UPPER_A']&&_0x1bc703<=So['UPPER_Z']||_0x1bc703>=So['LOWER_A']&&_0x1bc703<=So['LOWER_Z']||No(_0x1bc703);}(_0x42d6ce);}!function(_0xa6643e){_0xa6643e[_0xa6643e['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0xa6643e[_0xa6643e['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0xa6643e[_0xa6643e['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(Co||(Co={})),function(_0x535e07){_0x535e07[_0x535e07['EntityStart']=0x0]='EntityStart',_0x535e07[_0x535e07['NumericStart']=0x1]='NumericStart',_0x535e07[_0x535e07['NumericDecimal']=0x2]='NumericDecimal',_0x535e07[_0x535e07['NumericHex']=0x3]='NumericHex',_0x535e07[_0x535e07['NamedEntity']=0x4]='NamedEntity';}(ko||(ko={})),function(_0x4b2474){_0x4b2474[_0x4b2474['Legacy']=0x0]='Legacy',_0x4b2474[_0x4b2474['Strict']=0x1]='Strict',_0x4b2474[_0x4b2474['Attribute']=0x2]='Attribute';}(xo||(xo={}));class EntityDecoder{constructor(_0x5bc2d6,_0x30e9de,_0x4a9400){this['decodeTree']=_0x5bc2d6,this['emitCodePoint']=_0x30e9de,this['errors']=_0x4a9400,this['state']=ko['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=xo['Strict'];}['startEntity'](_0x58952f){this['decodeMode']=_0x58952f,this['state']=ko['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x591ff1,_0x5dbcc5){switch(this['state']){case ko['EntityStart']:return _0x591ff1['charCodeAt'](_0x5dbcc5)===So['NUM']?(this['state']=ko['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x591ff1,_0x5dbcc5+0x1)):(this['state']=ko['NamedEntity'],this['stateNamedEntity'](_0x591ff1,_0x5dbcc5));case ko['NumericStart']:return this['stateNumericStart'](_0x591ff1,_0x5dbcc5);case ko['NumericDecimal']:return this['stateNumericDecimal'](_0x591ff1,_0x5dbcc5);case ko['NumericHex']:return this['stateNumericHex'](_0x591ff1,_0x5dbcc5);case ko['NamedEntity']:return this['stateNamedEntity'](_0x591ff1,_0x5dbcc5);}}['stateNumericStart'](_0x74908,_0x3db95e){return _0x3db95e>=_0x74908['length']?-0x1:(0x20|_0x74908['charCodeAt'](_0x3db95e))===So['LOWER_X']?(this['state']=ko['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x74908,_0x3db95e+0x1)):(this['state']=ko['NumericDecimal'],this['stateNumericDecimal'](_0x74908,_0x3db95e));}['addToNumericResult'](_0x5942a8,_0x8b25d6,_0x39a71e,_0x42ed00){if(_0x8b25d6!==_0x39a71e){const _0x27e017=_0x39a71e-_0x8b25d6;this['result']=this['result']*Math['pow'](_0x42ed00,_0x27e017)+Number['parseInt'](_0x5942a8['substr'](_0x8b25d6,_0x27e017),_0x42ed00),this['consumed']+=_0x27e017;}}['stateNumericHex'](_0x4cd2f9,_0x4ec8cc){const _0x7e83f7=_0x4ec8cc;for(;_0x4ec8cc<_0x4cd2f9['length'];){const _0x4fcddc=_0x4cd2f9['charCodeAt'](_0x4ec8cc);if(!No(_0x4fcddc)&&!Lo(_0x4fcddc))return this['addToNumericResult'](_0x4cd2f9,_0x7e83f7,_0x4ec8cc,0x10),this['emitNumericEntity'](_0x4fcddc,0x3);_0x4ec8cc+=0x1;}return this['addToNumericResult'](_0x4cd2f9,_0x7e83f7,_0x4ec8cc,0x10),-0x1;}['stateNumericDecimal'](_0x11ce18,_0x3729f7){const _0x435067=_0x3729f7;for(;_0x3729f7<_0x11ce18['length'];){const _0x3ef351=_0x11ce18['charCodeAt'](_0x3729f7);if(!No(_0x3ef351))return this['addToNumericResult'](_0x11ce18,_0x435067,_0x3729f7,0xa),this['emitNumericEntity'](_0x3ef351,0x2);_0x3729f7+=0x1;}return this['addToNumericResult'](_0x11ce18,_0x435067,_0x3729f7,0xa),-0x1;}['emitNumericEntity'](_0x13eb11,_0x4645ac){var _0x1cbdf7;if(this['consumed']<=_0x4645ac)return null===(_0x1cbdf7=this['errors'])||void 0x0===_0x1cbdf7||_0x1cbdf7['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x13eb11===So['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===xo['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x1c8d7b){var _0x1d7265;return _0x1c8d7b>=0xd800&&_0x1c8d7b<=0xdfff||_0x1c8d7b>0x10ffff?0xfffd:null!==(_0x1d7265=Ao['get'](_0x1c8d7b))&&void 0x0!==_0x1d7265?_0x1d7265:_0x1c8d7b;}(this['result']),this['consumed']),this['errors']&&(_0x13eb11!==So['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x34c498,_0x10c025){const {decodeTree:_0xf57bc}=this;let _0xebf705=_0xf57bc[this['treeIndex']],_0x3a6975=(_0xebf705&Co['VALUE_LENGTH'])>>0xe;for(;_0x10c025<_0x34c498['length'];_0x10c025++,this['excess']++){const _0x54affd=_0x34c498['charCodeAt'](_0x10c025);if(this['treeIndex']=Do(_0xf57bc,_0xebf705,this['treeIndex']+Math['max'](0x1,_0x3a6975),_0x54affd),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===xo['Attribute']&&(0x0===_0x3a6975||$o(_0x54affd))?0x0:this['emitNotTerminatedNamedEntity']();if(_0xebf705=_0xf57bc[this['treeIndex']],_0x3a6975=(_0xebf705&Co['VALUE_LENGTH'])>>0xe,0x0!==_0x3a6975){if(_0x54affd===So['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x3a6975,this['consumed']+this['excess']);this['decodeMode']!==xo['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x4ce4ae;const {result:_0x159d2e,decodeTree:_0x26d486}=this,_0x556287=(_0x26d486[_0x159d2e]&Co['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x159d2e,_0x556287,this['consumed']),null===(_0x4ce4ae=this['errors'])||void 0x0===_0x4ce4ae||_0x4ce4ae['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x2e08dd,_0x1395b6,_0x3e92bc){const {decodeTree:_0x3a0897}=this;return this['emitCodePoint'](0x1===_0x1395b6?_0x3a0897[_0x2e08dd]&~Co['VALUE_LENGTH']:_0x3a0897[_0x2e08dd+0x1],_0x3e92bc),0x3===_0x1395b6&&this['emitCodePoint'](_0x3a0897[_0x2e08dd+0x2],_0x3e92bc),_0x3e92bc;}['end'](){var _0x20a199;switch(this['state']){case ko['NamedEntity']:return 0x0===this['result']||this['decodeMode']===xo['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case ko['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case ko['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case ko['NumericStart']:return null===(_0x20a199=this['errors'])||void 0x0===_0x20a199||_0x20a199['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case ko['EntityStart']:return 0x0;}}}function Do(_0x31545d,_0x6cc01,_0x460252,_0x442a70){const _0x242ce5=(_0x6cc01&Co['BRANCH_LENGTH'])>>0x7,_0x2ffbbc=_0x6cc01&Co['JUMP_TABLE'];if(0x0===_0x242ce5)return 0x0!==_0x2ffbbc&&_0x442a70===_0x2ffbbc?_0x460252:-0x1;if(_0x2ffbbc){const _0x167bf1=_0x442a70-_0x2ffbbc;return _0x167bf1<0x0||_0x167bf1>=_0x242ce5?-0x1:_0x31545d[_0x460252+_0x167bf1]-0x1;}let _0x2b3a86=_0x460252,_0x4f64d1=_0x2b3a86+_0x242ce5-0x1;for(;_0x2b3a86<=_0x4f64d1;){const _0x9113ad=_0x2b3a86+_0x4f64d1>>>0x1,_0x679c1b=_0x31545d[_0x9113ad];if(_0x679c1b<_0x442a70)_0x2b3a86=_0x9113ad+0x1;else{if(!(_0x679c1b>_0x442a70))return _0x31545d[_0x9113ad+_0x242ce5];_0x4f64d1=_0x9113ad-0x1;}}return-0x1;}function Qo(_0x4c9afa){return _0x4c9afa===Ro['Space']||_0x4c9afa===Ro['NewLine']||_0x4c9afa===Ro['Tab']||_0x4c9afa===Ro['FormFeed']||_0x4c9afa===Ro['CarriageReturn'];}function Vo(_0xeb7685){return _0xeb7685===Ro['Slash']||_0xeb7685===Ro['Gt']||Qo(_0xeb7685);}!function(_0x2b59be){_0x2b59be[_0x2b59be['Tab']=0x9]='Tab',_0x2b59be[_0x2b59be['NewLine']=0xa]='NewLine',_0x2b59be[_0x2b59be['FormFeed']=0xc]='FormFeed',_0x2b59be[_0x2b59be['CarriageReturn']=0xd]='CarriageReturn',_0x2b59be[_0x2b59be['Space']=0x20]='Space',_0x2b59be[_0x2b59be['ExclamationMark']=0x21]='ExclamationMark',_0x2b59be[_0x2b59be['Number']=0x23]='Number',_0x2b59be[_0x2b59be['Amp']=0x26]='Amp',_0x2b59be[_0x2b59be['SingleQuote']=0x27]='SingleQuote',_0x2b59be[_0x2b59be['DoubleQuote']=0x22]='DoubleQuote',_0x2b59be[_0x2b59be['Dash']=0x2d]='Dash',_0x2b59be[_0x2b59be['Slash']=0x2f]='Slash',_0x2b59be[_0x2b59be['Zero']=0x30]='Zero',_0x2b59be[_0x2b59be['Nine']=0x39]='Nine',_0x2b59be[_0x2b59be['Semi']=0x3b]='Semi',_0x2b59be[_0x2b59be['Lt']=0x3c]='Lt',_0x2b59be[_0x2b59be['Eq']=0x3d]='Eq',_0x2b59be[_0x2b59be['Gt']=0x3e]='Gt',_0x2b59be[_0x2b59be['Questionmark']=0x3f]='Questionmark',_0x2b59be[_0x2b59be['UpperA']=0x41]='UpperA',_0x2b59be[_0x2b59be['LowerA']=0x61]='LowerA',_0x2b59be[_0x2b59be['UpperF']=0x46]='UpperF',_0x2b59be[_0x2b59be['LowerF']=0x66]='LowerF',_0x2b59be[_0x2b59be['UpperZ']=0x5a]='UpperZ',_0x2b59be[_0x2b59be['LowerZ']=0x7a]='LowerZ',_0x2b59be[_0x2b59be['LowerX']=0x78]='LowerX',_0x2b59be[_0x2b59be['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(Ro||(Ro={})),function(_0x3630e4){_0x3630e4[_0x3630e4['Text']=0x1]='Text',_0x3630e4[_0x3630e4['BeforeTagName']=0x2]='BeforeTagName',_0x3630e4[_0x3630e4['InTagName']=0x3]='InTagName',_0x3630e4[_0x3630e4['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x3630e4[_0x3630e4['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x3630e4[_0x3630e4['InClosingTagName']=0x6]='InClosingTagName',_0x3630e4[_0x3630e4['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x3630e4[_0x3630e4['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x3630e4[_0x3630e4['InAttributeName']=0x9]='InAttributeName',_0x3630e4[_0x3630e4['AfterAttributeName']=0xa]='AfterAttributeName',_0x3630e4[_0x3630e4['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x3630e4[_0x3630e4['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x3630e4[_0x3630e4['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x3630e4[_0x3630e4['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x3630e4[_0x3630e4['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x3630e4[_0x3630e4['InDeclaration']=0x10]='InDeclaration',_0x3630e4[_0x3630e4['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x3630e4[_0x3630e4['BeforeComment']=0x12]='BeforeComment',_0x3630e4[_0x3630e4['CDATASequence']=0x13]='CDATASequence',_0x3630e4[_0x3630e4['InSpecialComment']=0x14]='InSpecialComment',_0x3630e4[_0x3630e4['InCommentLike']=0x15]='InCommentLike',_0x3630e4[_0x3630e4['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x3630e4[_0x3630e4['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x3630e4[_0x3630e4['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x3630e4[_0x3630e4['InSpecialTag']=0x19]='InSpecialTag',_0x3630e4[_0x3630e4['InEntity']=0x1a]='InEntity';}(Po||(Po={})),function(_0x476a9){_0x476a9[_0x476a9['NoValue']=0x0]='NoValue',_0x476a9[_0x476a9['Unquoted']=0x1]='Unquoted',_0x476a9[_0x476a9['Single']=0x2]='Single',_0x476a9[_0x476a9['Double']=0x3]='Double';}(Mo||(Mo={}));const Uo={'Cdata':new Uint8Array([0x43,0x44,0x41,0x54,0x41,0x5b]),'CdataEnd':new Uint8Array([0x5d,0x5d,0x3e]),'CommentEnd':new Uint8Array([0x2d,0x2d,0x3e]),'ScriptEnd':new Uint8Array([0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74]),'StyleEnd':new Uint8Array([0x3c,0x2f,0x73,0x74,0x79,0x6c,0x65]),'TitleEnd':new Uint8Array([0x3c,0x2f,0x74,0x69,0x74,0x6c,0x65]),'TextareaEnd':new Uint8Array([0x3c,0x2f,0x74,0x65,0x78,0x74,0x61,0x72,0x65,0x61]),'XmpEnd':new Uint8Array([0x3c,0x2f,0x78,0x6d,0x70])};class Tokenizer{constructor({xmlMode:_0x245e54=!0x1,decodeEntities:_0x2c9f88=!0x0},_0xbb2ab4){this['cbs']=_0xbb2ab4,this['state']=Po['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=Po['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x245e54,this['decodeEntities']=_0x2c9f88,this['entityDecoder']=new EntityDecoder(_0x245e54?Eo:_o,(_0x4ba873,_0x177724)=>this['emitCodePoint'](_0x4ba873,_0x177724));}['reset'](){this['state']=Po['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=Po['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x4673b7){this['offset']+=this['buffer']['length'],this['buffer']=_0x4673b7,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'](_0x108e69){_0x108e69===Ro['Lt']||!this['decodeEntities']&&this['fastForwardTo'](Ro['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=Po['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x108e69===Ro['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x34b307){const _0x44a6e4=this['sequenceIndex']===this['currentSequence']['length'];if(_0x44a6e4?Vo(_0x34b307):(0x20|_0x34b307)===this['currentSequence'][this['sequenceIndex']]){if(!_0x44a6e4)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=Po['InTagName'],this['stateInTagName'](_0x34b307);}['stateInSpecialTag'](_0x4a6faf){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x4a6faf===Ro['Gt']||Qo(_0x4a6faf)){const _0x322608=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x322608){const _0x98f578=this['index'];this['index']=_0x322608,this['cbs']['ontext'](this['sectionStart'],_0x322608),this['index']=_0x98f578;}return this['isSpecial']=!0x1,this['sectionStart']=_0x322608+0x2,void this['stateInClosingTagName'](_0x4a6faf);}this['sequenceIndex']=0x0;}(0x20|_0x4a6faf)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===Uo['TitleEnd']?this['decodeEntities']&&_0x4a6faf===Ro['Amp']&&this['startEntity']():this['fastForwardTo'](Ro['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x4a6faf===Ro['Lt']);}['stateCDATASequence'](_0x5842a6){_0x5842a6===Uo['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===Uo['Cdata']['length']&&(this['state']=Po['InCommentLike'],this['currentSequence']=Uo['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=Po['InDeclaration'],this['stateInDeclaration'](_0x5842a6));}['fastForwardTo'](_0xceaddf){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0xceaddf)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x468bca){_0x468bca===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===Uo['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']=Po['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x468bca!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x363a5b){return this['xmlMode']?!Vo(_0x363a5b):function(_0x771264){return _0x771264>=Ro['LowerA']&&_0x771264<=Ro['LowerZ']||_0x771264>=Ro['UpperA']&&_0x771264<=Ro['UpperZ'];}(_0x363a5b);}['startSpecial'](_0xad1fb7,_0x1446c3){this['isSpecial']=!0x0,this['currentSequence']=_0xad1fb7,this['sequenceIndex']=_0x1446c3,this['state']=Po['SpecialStartSequence'];}['stateBeforeTagName'](_0x56779e){if(_0x56779e===Ro['ExclamationMark'])this['state']=Po['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x56779e===Ro['Questionmark'])this['state']=Po['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x56779e)){const _0x255886=0x20|_0x56779e;this['sectionStart']=this['index'],this['xmlMode']?this['state']=Po['InTagName']:_0x255886===Uo['ScriptEnd'][0x2]?this['state']=Po['BeforeSpecialS']:_0x255886===Uo['TitleEnd'][0x2]||_0x255886===Uo['XmpEnd'][0x2]?this['state']=Po['BeforeSpecialT']:this['state']=Po['InTagName'];}else _0x56779e===Ro['Slash']?this['state']=Po['BeforeClosingTagName']:(this['state']=Po['Text'],this['stateText'](_0x56779e));}}}['stateInTagName'](_0x2ee9da){Vo(_0x2ee9da)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Po['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x2ee9da));}['stateBeforeClosingTagName'](_0x4d9cd2){Qo(_0x4d9cd2)||(_0x4d9cd2===Ro['Gt']?this['state']=Po['Text']:(this['state']=this['isTagStartChar'](_0x4d9cd2)?Po['InClosingTagName']:Po['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x14ea0b){(_0x14ea0b===Ro['Gt']||Qo(_0x14ea0b))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Po['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x14ea0b));}['stateAfterClosingTagName'](_0x2a0ecc){(_0x2a0ecc===Ro['Gt']||this['fastForwardTo'](Ro['Gt']))&&(this['state']=Po['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x32b9a1){_0x32b9a1===Ro['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=Po['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=Po['Text'],this['sectionStart']=this['index']+0x1):_0x32b9a1===Ro['Slash']?this['state']=Po['InSelfClosingTag']:Qo(_0x32b9a1)||(this['state']=Po['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x54aafb){_0x54aafb===Ro['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=Po['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):Qo(_0x54aafb)||(this['state']=Po['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x54aafb));}['stateInAttributeName'](_0x8984b){(_0x8984b===Ro['Eq']||Vo(_0x8984b))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=Po['AfterAttributeName'],this['stateAfterAttributeName'](_0x8984b));}['stateAfterAttributeName'](_0x5385a4){_0x5385a4===Ro['Eq']?this['state']=Po['BeforeAttributeValue']:_0x5385a4===Ro['Slash']||_0x5385a4===Ro['Gt']?(this['cbs']['onattribend'](Mo['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=Po['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x5385a4)):Qo(_0x5385a4)||(this['cbs']['onattribend'](Mo['NoValue'],this['sectionStart']),this['state']=Po['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x3f9719){_0x3f9719===Ro['DoubleQuote']?(this['state']=Po['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x3f9719===Ro['SingleQuote']?(this['state']=Po['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):Qo(_0x3f9719)||(this['sectionStart']=this['index'],this['state']=Po['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x3f9719));}['handleInAttributeValue'](_0x321332,_0x292177){_0x321332===_0x292177||!this['decodeEntities']&&this['fastForwardTo'](_0x292177)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x292177===Ro['DoubleQuote']?Mo['Double']:Mo['Single'],this['index']+0x1),this['state']=Po['BeforeAttributeName']):this['decodeEntities']&&_0x321332===Ro['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x5f0cda){this['handleInAttributeValue'](_0x5f0cda,Ro['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x50815b){this['handleInAttributeValue'](_0x50815b,Ro['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x5ce793){Qo(_0x5ce793)||_0x5ce793===Ro['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](Mo['Unquoted'],this['index']),this['state']=Po['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x5ce793)):this['decodeEntities']&&_0x5ce793===Ro['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x1ad800){_0x1ad800===Ro['OpeningSquareBracket']?(this['state']=Po['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x1ad800===Ro['Dash']?Po['BeforeComment']:Po['InDeclaration'];}['stateInDeclaration'](_0x45be05){(_0x45be05===Ro['Gt']||this['fastForwardTo'](Ro['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=Po['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x3a3e68){(_0x3a3e68===Ro['Gt']||this['fastForwardTo'](Ro['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=Po['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x1dc674){_0x1dc674===Ro['Dash']?(this['state']=Po['InCommentLike'],this['currentSequence']=Uo['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=Po['InDeclaration'];}['stateInSpecialComment'](_0x1dd31e){(_0x1dd31e===Ro['Gt']||this['fastForwardTo'](Ro['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=Po['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x9db614){const _0x57761f=0x20|_0x9db614;_0x57761f===Uo['ScriptEnd'][0x3]?this['startSpecial'](Uo['ScriptEnd'],0x4):_0x57761f===Uo['StyleEnd'][0x3]?this['startSpecial'](Uo['StyleEnd'],0x4):(this['state']=Po['InTagName'],this['stateInTagName'](_0x9db614));}['stateBeforeSpecialT'](_0x328965){switch(0x20|_0x328965){case Uo['TitleEnd'][0x3]:this['startSpecial'](Uo['TitleEnd'],0x4);break;case Uo['TextareaEnd'][0x3]:this['startSpecial'](Uo['TextareaEnd'],0x4);break;case Uo['XmpEnd'][0x3]:this['startSpecial'](Uo['XmpEnd'],0x4);break;default:this['state']=Po['InTagName'],this['stateInTagName'](_0x328965);}}['startEntity'](){this['baseState']=this['state'],this['state']=Po['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?xo['Strict']:this['baseState']===Po['Text']||this['baseState']===Po['InSpecialTag']?xo['Legacy']:xo['Attribute']);}['stateInEntity'](){const _0x26c664=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x26c664>=0x0?(this['state']=this['baseState'],0x0===_0x26c664&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===Po['Text']||this['state']===Po['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==Po['InAttributeValueDq']&&this['state']!==Po['InAttributeValueSq']&&this['state']!==Po['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 _0x179247=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case Po['Text']:this['stateText'](_0x179247);break;case Po['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x179247);break;case Po['InSpecialTag']:this['stateInSpecialTag'](_0x179247);break;case Po['CDATASequence']:this['stateCDATASequence'](_0x179247);break;case Po['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x179247);break;case Po['InAttributeName']:this['stateInAttributeName'](_0x179247);break;case Po['InCommentLike']:this['stateInCommentLike'](_0x179247);break;case Po['InSpecialComment']:this['stateInSpecialComment'](_0x179247);break;case Po['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x179247);break;case Po['InTagName']:this['stateInTagName'](_0x179247);break;case Po['InClosingTagName']:this['stateInClosingTagName'](_0x179247);break;case Po['BeforeTagName']:this['stateBeforeTagName'](_0x179247);break;case Po['AfterAttributeName']:this['stateAfterAttributeName'](_0x179247);break;case Po['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x179247);break;case Po['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x179247);break;case Po['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x179247);break;case Po['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x179247);break;case Po['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x179247);break;case Po['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x179247);break;case Po['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x179247);break;case Po['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x179247);break;case Po['InDeclaration']:this['stateInDeclaration'](_0x179247);break;case Po['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x179247);break;case Po['BeforeComment']:this['stateBeforeComment'](_0x179247);break;case Po['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x179247);break;case Po['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===Po['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x59fbb0=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x59fbb0||(this['state']===Po['InCommentLike']?this['currentSequence']===Uo['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x59fbb0,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x59fbb0,0x0):this['state']===Po['InTagName']||this['state']===Po['BeforeAttributeName']||this['state']===Po['BeforeAttributeValue']||this['state']===Po['AfterAttributeName']||this['state']===Po['InAttributeName']||this['state']===Po['InAttributeValueSq']||this['state']===Po['InAttributeValueDq']||this['state']===Po['InAttributeValueNq']||this['state']===Po['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x59fbb0));}['emitCodePoint'](_0x4866bb,_0x3a4914){this['baseState']!==Po['Text']&&this['baseState']!==Po['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x3a4914,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x4866bb)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x3a4914,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x4866bb,this['sectionStart']));}}const Bo=new Set(['input','option','optgroup','select','button','datalist','textarea']),Fo=new Set(['p']),jo=new Set(['thead','tbody']),Ho=new Set(['dd','dt']),Go=new Set(['rt','rp']),Zo=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',Fo],['h1',Fo],['h2',Fo],['h3',Fo],['h4',Fo],['h5',Fo],['h6',Fo],['select',Bo],['input',Bo],['output',Bo],['button',Bo],['datalist',Bo],['textarea',Bo],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',Ho],['dt',Ho],['address',Fo],['article',Fo],['aside',Fo],['blockquote',Fo],['details',Fo],['div',Fo],['dl',Fo],['fieldset',Fo],['figcaption',Fo],['figure',Fo],['footer',Fo],['form',Fo],['header',Fo],['hr',Fo],['main',Fo],['nav',Fo],['ol',Fo],['pre',Fo],['section',Fo],['table',Fo],['ul',Fo],['rt',Go],['rp',Go],['tbody',jo],['tfoot',jo]]),Xo=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),qo=new Set(['math','svg']),Wo=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),zo=/\s|\//;let Yo=class Parser{constructor(_0xe125b2,_0x54a171={}){var _0x4c5430,_0xf0a6ec,_0x43c07a,_0x1c24b0,_0x44416d,_0x3dc65a;this['options']=_0x54a171,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!=_0xe125b2?_0xe125b2:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x4c5430=_0x54a171['lowerCaseTags'])&&void 0x0!==_0x4c5430?_0x4c5430:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0xf0a6ec=_0x54a171['lowerCaseAttributeNames'])&&void 0x0!==_0xf0a6ec?_0xf0a6ec:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x43c07a=_0x54a171['recognizeSelfClosing'])&&void 0x0!==_0x43c07a?_0x43c07a:!this['htmlMode'],this['tokenizer']=new(null!==(_0x1c24b0=_0x54a171['Tokenizer'])&&void 0x0!==_0x1c24b0?_0x1c24b0:Tokenizer)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x3dc65a=(_0x44416d=this['cbs'])['onparserinit'])||void 0x0===_0x3dc65a||_0x3dc65a['call'](_0x44416d,this);}['ontext'](_0x59deed,_0x38d462){var _0x3c0a9d,_0x5053bb;const _0x158558=this['getSlice'](_0x59deed,_0x38d462);this['endIndex']=_0x38d462-0x1,null===(_0x5053bb=(_0x3c0a9d=this['cbs'])['ontext'])||void 0x0===_0x5053bb||_0x5053bb['call'](_0x3c0a9d,_0x158558),this['startIndex']=_0x38d462;}['ontextentity'](_0x3edf3a,_0x2b94d9){var _0x26a18b,_0x242397;this['endIndex']=_0x2b94d9-0x1,null===(_0x242397=(_0x26a18b=this['cbs'])['ontext'])||void 0x0===_0x242397||_0x242397['call'](_0x26a18b,Io(_0x3edf3a)),this['startIndex']=_0x2b94d9;}['isVoidElement'](_0x567a6e){return this['htmlMode']&&Xo['has'](_0x567a6e);}['onopentagname'](_0x193c6b,_0x57cf1e){this['endIndex']=_0x57cf1e;let _0x2214d0=this['getSlice'](_0x193c6b,_0x57cf1e);this['lowerCaseTagNames']&&(_0x2214d0=_0x2214d0['toLowerCase']()),this['emitOpenTag'](_0x2214d0);}['emitOpenTag'](_0x4394b3){var _0x552c0d,_0x23fd31,_0x21567a,_0x17c406;this['openTagStart']=this['startIndex'],this['tagname']=_0x4394b3;const _0x5e2852=this['htmlMode']&&Zo['get'](_0x4394b3);if(_0x5e2852)for(;this['stack']['length']>0x0&&_0x5e2852['has'](this['stack'][0x0]);){const _0x1f93f7=this['stack']['shift']();null===(_0x23fd31=(_0x552c0d=this['cbs'])['onclosetag'])||void 0x0===_0x23fd31||_0x23fd31['call'](_0x552c0d,_0x1f93f7,!0x0);}this['isVoidElement'](_0x4394b3)||(this['stack']['unshift'](_0x4394b3),this['htmlMode']&&(qo['has'](_0x4394b3)?this['foreignContext']['unshift'](!0x0):Wo['has'](_0x4394b3)&&this['foreignContext']['unshift'](!0x1))),null===(_0x17c406=(_0x21567a=this['cbs'])['onopentagname'])||void 0x0===_0x17c406||_0x17c406['call'](_0x21567a,_0x4394b3),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x40d777){var _0x1567d4,_0x51074a;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x51074a=(_0x1567d4=this['cbs'])['onopentag'])||void 0x0===_0x51074a||_0x51074a['call'](_0x1567d4,this['tagname'],this['attribs'],_0x40d777),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x1455fa){this['endIndex']=_0x1455fa,this['endOpenTag'](!0x1),this['startIndex']=_0x1455fa+0x1;}['onclosetag'](_0x4938dc,_0x1e86c2){var _0x2bae9f,_0x1cc07a,_0x59f9a9,_0x2858e8,_0x2a5401,_0x16c7c8,_0x4dc83d,_0x149d4a;this['endIndex']=_0x1e86c2;let _0x406691=this['getSlice'](_0x4938dc,_0x1e86c2);if(this['lowerCaseTagNames']&&(_0x406691=_0x406691['toLowerCase']()),this['htmlMode']&&(qo['has'](_0x406691)||Wo['has'](_0x406691))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x406691))this['htmlMode']&&'br'===_0x406691&&(null===(_0x2858e8=(_0x59f9a9=this['cbs'])['onopentagname'])||void 0x0===_0x2858e8||_0x2858e8['call'](_0x59f9a9,'br'),null===(_0x16c7c8=(_0x2a5401=this['cbs'])['onopentag'])||void 0x0===_0x16c7c8||_0x16c7c8['call'](_0x2a5401,'br',{},!0x0),null===(_0x149d4a=(_0x4dc83d=this['cbs'])['onclosetag'])||void 0x0===_0x149d4a||_0x149d4a['call'](_0x4dc83d,'br',!0x1));else{const _0xae8296=this['stack']['indexOf'](_0x406691);if(-0x1!==_0xae8296)for(let _0xfb7eaf=0x0;_0xfb7eaf<=_0xae8296;_0xfb7eaf++){const _0x2f6ca5=this['stack']['shift']();null===(_0x1cc07a=(_0x2bae9f=this['cbs'])['onclosetag'])||void 0x0===_0x1cc07a||_0x1cc07a['call'](_0x2bae9f,_0x2f6ca5,_0xfb7eaf!==_0xae8296);}else this['htmlMode']&&'p'===_0x406691&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x1e86c2+0x1;}['onselfclosingtag'](_0x5e713b){this['endIndex']=_0x5e713b,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x5e713b+0x1):this['onopentagend'](_0x5e713b);}['closeCurrentTag'](_0x1db51d){var _0x37a590,_0x466a29;const _0x5da832=this['tagname'];this['endOpenTag'](_0x1db51d),this['stack'][0x0]===_0x5da832&&(null===(_0x466a29=(_0x37a590=this['cbs'])['onclosetag'])||void 0x0===_0x466a29||_0x466a29['call'](_0x37a590,_0x5da832,!_0x1db51d),this['stack']['shift']());}['onattribname'](_0x5b538f,_0xd7c382){this['startIndex']=_0x5b538f;const _0x7abca5=this['getSlice'](_0x5b538f,_0xd7c382);this['attribname']=this['lowerCaseAttributeNames']?_0x7abca5['toLowerCase']():_0x7abca5;}['onattribdata'](_0x38ebfa,_0x13ecf4){this['attribvalue']+=this['getSlice'](_0x38ebfa,_0x13ecf4);}['onattribentity'](_0x3af453){this['attribvalue']+=Io(_0x3af453);}['onattribend'](_0x57556b,_0xab6a27){var _0x194a90,_0x2a00b7;this['endIndex']=_0xab6a27,null===(_0x2a00b7=(_0x194a90=this['cbs'])['onattribute'])||void 0x0===_0x2a00b7||_0x2a00b7['call'](_0x194a90,this['attribname'],this['attribvalue'],_0x57556b===Mo['Double']?'\x22':_0x57556b===Mo['Single']?'\x27':_0x57556b===Mo['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x54ddae){const _0x1e4808=_0x54ddae['search'](zo);let _0x101f2d=_0x1e4808<0x0?_0x54ddae:_0x54ddae['substr'](0x0,_0x1e4808);return this['lowerCaseTagNames']&&(_0x101f2d=_0x101f2d['toLowerCase']()),_0x101f2d;}['ondeclaration'](_0x71366d,_0xf2b685){this['endIndex']=_0xf2b685;const _0x46f50b=this['getSlice'](_0x71366d,_0xf2b685);if(this['cbs']['onprocessinginstruction']){const _0x14cecf=this['getInstructionName'](_0x46f50b);this['cbs']['onprocessinginstruction']('!'+_0x14cecf,'!'+_0x46f50b);}this['startIndex']=_0xf2b685+0x1;}['onprocessinginstruction'](_0x996a50,_0x36df66){this['endIndex']=_0x36df66;const _0x54d463=this['getSlice'](_0x996a50,_0x36df66);if(this['cbs']['onprocessinginstruction']){const _0x170245=this['getInstructionName'](_0x54d463);this['cbs']['onprocessinginstruction']('?'+_0x170245,'?'+_0x54d463);}this['startIndex']=_0x36df66+0x1;}['oncomment'](_0x375622,_0x3287e4,_0x23c2d9){var _0x484c1c,_0x3a454b,_0x1a7d96,_0xf8ec11;this['endIndex']=_0x3287e4,null===(_0x3a454b=(_0x484c1c=this['cbs'])['oncomment'])||void 0x0===_0x3a454b||_0x3a454b['call'](_0x484c1c,this['getSlice'](_0x375622,_0x3287e4-_0x23c2d9)),null===(_0xf8ec11=(_0x1a7d96=this['cbs'])['oncommentend'])||void 0x0===_0xf8ec11||_0xf8ec11['call'](_0x1a7d96),this['startIndex']=_0x3287e4+0x1;}['oncdata'](_0x1a8eff,_0x10778c,_0xe4f291){var _0x3c52d6,_0x1e5dc6,_0x1f44fb,_0x3787b5,_0x15bd6a,_0x2c633e,_0x383424,_0x1e808d,_0x58e289,_0x51299b;this['endIndex']=_0x10778c;const _0x5a1e95=this['getSlice'](_0x1a8eff,_0x10778c-_0xe4f291);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x1e5dc6=(_0x3c52d6=this['cbs'])['oncdatastart'])||void 0x0===_0x1e5dc6||_0x1e5dc6['call'](_0x3c52d6),null===(_0x3787b5=(_0x1f44fb=this['cbs'])['ontext'])||void 0x0===_0x3787b5||_0x3787b5['call'](_0x1f44fb,_0x5a1e95),null===(_0x2c633e=(_0x15bd6a=this['cbs'])['oncdataend'])||void 0x0===_0x2c633e||_0x2c633e['call'](_0x15bd6a)):(null===(_0x1e808d=(_0x383424=this['cbs'])['oncomment'])||void 0x0===_0x1e808d||_0x1e808d['call'](_0x383424,'[CDATA['+_0x5a1e95+']]'),null===(_0x51299b=(_0x58e289=this['cbs'])['oncommentend'])||void 0x0===_0x51299b||_0x51299b['call'](_0x58e289)),this['startIndex']=_0x10778c+0x1;}['onend'](){var _0x23e393,_0x48b312;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x2145dc=0x0;_0x2145dc<this['stack']['length'];_0x2145dc++)this['cbs']['onclosetag'](this['stack'][_0x2145dc],!0x0);}null===(_0x48b312=(_0x23e393=this['cbs'])['onend'])||void 0x0===_0x48b312||_0x48b312['call'](_0x23e393);}['reset'](){var _0x3400bb,_0x6ff635,_0x4af852,_0x4836b1;null===(_0x6ff635=(_0x3400bb=this['cbs'])['onreset'])||void 0x0===_0x6ff635||_0x6ff635['call'](_0x3400bb),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x4836b1=(_0x4af852=this['cbs'])['onparserinit'])||void 0x0===_0x4836b1||_0x4836b1['call'](_0x4af852,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x3ff7e8){this['reset'](),this['end'](_0x3ff7e8);}['getSlice'](_0x4e9ad9,_0x5e882d){for(;_0x4e9ad9-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x3759e4=this['buffers'][0x0]['slice'](_0x4e9ad9-this['bufferOffset'],_0x5e882d-this['bufferOffset']);for(;_0x5e882d-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x3759e4+=this['buffers'][0x0]['slice'](0x0,_0x5e882d-this['bufferOffset']);return _0x3759e4;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x1af24f){var _0x2c6646,_0x531a8b;this['ended']?null===(_0x531a8b=(_0x2c6646=this['cbs'])['onerror'])||void 0x0===_0x531a8b||_0x531a8b['call'](_0x2c6646,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x1af24f),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x1af24f),this['writeIndex']++));}['end'](_0x402266){var _0x56fa91,_0x1a9ced;this['ended']?null===(_0x1a9ced=(_0x56fa91=this['cbs'])['onerror'])||void 0x0===_0x1a9ced||_0x1a9ced['call'](_0x56fa91,new Error('.end()\x20after\x20done!')):(_0x402266&&this['write'](_0x402266),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'](_0x259c05){this['write'](_0x259c05);}['done'](_0x164c36){this['end'](_0x164c36);}};var Ko;!function(_0x1d9644){_0x1d9644['Root']='root',_0x1d9644['Text']='text',_0x1d9644['Directive']='directive',_0x1d9644['Comment']='comment',_0x1d9644['Script']='script',_0x1d9644['Style']='style',_0x1d9644['Tag']='tag',_0x1d9644['CDATA']='cdata',_0x1d9644['Doctype']='doctype';}(Ko||(Ko={}));const Jo=Ko['Root'],ta=Ko['Text'],ea=Ko['Directive'],ia=Ko['Comment'],sa=Ko['Script'],na=Ko['Style'],ra=Ko['Tag'],oa=Ko['CDATA'],aa=Ko['Doctype'];let ca=class Node{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x2935e2){this['parent']=_0x2935e2;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x453de3){this['prev']=_0x453de3;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x2378f1){this['next']=_0x2378f1;}['cloneNode'](_0x2a70cc=!0x1){return wa(this,_0x2a70cc);}};class DataNode extends ca{constructor(_0x50ab0b){super(),this['data']=_0x50ab0b;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x536e36){this['data']=_0x536e36;}}let la=class Text extends DataNode{constructor(){super(...arguments),this['type']=Ko['Text'];}get['nodeType'](){return 0x3;}},ha=class Comment extends DataNode{constructor(){super(...arguments),this['type']=Ko['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x4260e0,_0x55591e){super(_0x55591e),this['name']=_0x4260e0,this['type']=Ko['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends ca{constructor(_0x43695d){super(),this['children']=_0x43695d;}get['firstChild'](){var _0x596231;return null!==(_0x596231=this['children'][0x0])&&void 0x0!==_0x596231?_0x596231:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x23ed96){this['children']=_0x23ed96;}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this['type']=Ko['CDATA'];}get['nodeType'](){return 0x4;}}let ua=class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=Ko['Root'];}get['nodeType'](){return 0x9;}},da=class Element extends NodeWithChildren{constructor(_0x9b6561,_0x804f00,_0x5083d4=[],_0xc8232d='script'===_0x9b6561?Ko['Script']:'style'===_0x9b6561?Ko['Style']:Ko['Tag']){super(_0x5083d4),this['name']=_0x9b6561,this['attribs']=_0x804f00,this['type']=_0xc8232d;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x378e4d){this['name']=_0x378e4d;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x3afa3e=>{var _0x5a9341,_0x1d04da;return{'name':_0x3afa3e,'value':this['attribs'][_0x3afa3e],'namespace':null===(_0x5a9341=this['x-attribsNamespace'])||void 0x0===_0x5a9341?void 0x0:_0x5a9341[_0x3afa3e],'prefix':null===(_0x1d04da=this['x-attribsPrefix'])||void 0x0===_0x1d04da?void 0x0:_0x1d04da[_0x3afa3e]};});}};function fa(_0x148f72){return(_0x40f625=_0x148f72)['type']===Ko['Tag']||_0x40f625['type']===Ko['Script']||_0x40f625['type']===Ko['Style'];var _0x40f625;}function ma(_0x49ddf1){return _0x49ddf1['type']===Ko['Text'];}function ga(_0x542125){return _0x542125['type']===Ko['Comment'];}function pa(_0x259709){return _0x259709['type']===Ko['Root'];}function Oa(_0x415935){return Object['prototype']['hasOwnProperty']['call'](_0x415935,'children');}function wa(_0x4acb55,_0x3f97f1=!0x1){let _0x5ee4bb;if(ma(_0x4acb55))_0x5ee4bb=new la(_0x4acb55['data']);else{if(ga(_0x4acb55))_0x5ee4bb=new ha(_0x4acb55['data']);else{if(fa(_0x4acb55)){const _0x32de58=_0x3f97f1?ba(_0x4acb55['children']):[],_0xd46c42=new da(_0x4acb55['name'],{..._0x4acb55['attribs']},_0x32de58);_0x32de58['forEach'](_0x5c0297=>_0x5c0297['parent']=_0xd46c42),null!=_0x4acb55['namespace']&&(_0xd46c42['namespace']=_0x4acb55['namespace']),_0x4acb55['x-attribsNamespace']&&(_0xd46c42['x-attribsNamespace']={..._0x4acb55['x-attribsNamespace']}),_0x4acb55['x-attribsPrefix']&&(_0xd46c42['x-attribsPrefix']={..._0x4acb55['x-attribsPrefix']}),_0x5ee4bb=_0xd46c42;}else{if(function(_0x37d886){return _0x37d886['type']===Ko['CDATA'];}(_0x4acb55)){const _0x479c14=_0x3f97f1?ba(_0x4acb55['children']):[],_0x1f44b8=new CDATA(_0x479c14);_0x479c14['forEach'](_0x479d7c=>_0x479d7c['parent']=_0x1f44b8),_0x5ee4bb=_0x1f44b8;}else{if(pa(_0x4acb55)){const _0x2ed6c2=_0x3f97f1?ba(_0x4acb55['children']):[],_0x3b22f0=new ua(_0x2ed6c2);_0x2ed6c2['forEach'](_0x174e65=>_0x174e65['parent']=_0x3b22f0),_0x4acb55['x-mode']&&(_0x3b22f0['x-mode']=_0x4acb55['x-mode']),_0x5ee4bb=_0x3b22f0;}else{if(!function(_0x44f4be){return _0x44f4be['type']===Ko['Directive'];}(_0x4acb55))throw new Error('Not\x20implemented\x20yet:\x20'+_0x4acb55['type']);{const _0x549bb5=new ProcessingInstruction(_0x4acb55['name'],_0x4acb55['data']);null!=_0x4acb55['x-name']&&(_0x549bb5['x-name']=_0x4acb55['x-name'],_0x549bb5['x-publicId']=_0x4acb55['x-publicId'],_0x549bb5['x-systemId']=_0x4acb55['x-systemId']),_0x5ee4bb=_0x549bb5;}}}}}}return _0x5ee4bb['startIndex']=_0x4acb55['startIndex'],_0x5ee4bb['endIndex']=_0x4acb55['endIndex'],null!=_0x4acb55['sourceCodeLocation']&&(_0x5ee4bb['sourceCodeLocation']=_0x4acb55['sourceCodeLocation']),_0x5ee4bb;}function ba(_0x98b675){const _0x20f54e=_0x98b675['map'](_0x2357e1=>wa(_0x2357e1,!0x0));for(let _0x522881=0x1;_0x522881<_0x20f54e['length'];_0x522881++)_0x20f54e[_0x522881]['prev']=_0x20f54e[_0x522881-0x1],_0x20f54e[_0x522881-0x1]['next']=_0x20f54e[_0x522881];return _0x20f54e;}const ya={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class DomHandler{constructor(_0x3089cb,_0x11dceb,_0x222166){this['dom']=[],this['root']=new ua(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x11dceb&&(_0x222166=_0x11dceb,_0x11dceb=ya),'object'==typeof _0x3089cb&&(_0x11dceb=_0x3089cb,_0x3089cb=void 0x0),this['callback']=null!=_0x3089cb?_0x3089cb:null,this['options']=null!=_0x11dceb?_0x11dceb:ya,this['elementCB']=null!=_0x222166?_0x222166:null;}['onparserinit'](_0x596449){this['parser']=_0x596449;}['onreset'](){this['dom']=[],this['root']=new ua(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'](_0x443294){this['handleCallback'](_0x443294);}['onclosetag'](){this['lastNode']=null;const _0x214e05=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x214e05['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x214e05);}['onopentag'](_0x1696a4,_0x25a770){const _0x534477=this['options']['xmlMode']?Ko['Tag']:void 0x0,_0x1fb1d1=new da(_0x1696a4,_0x25a770,void 0x0,_0x534477);this['addNode'](_0x1fb1d1),this['tagStack']['push'](_0x1fb1d1);}['ontext'](_0x273456){const {lastNode:_0x3758f6}=this;if(_0x3758f6&&_0x3758f6['type']===Ko['Text'])_0x3758f6['data']+=_0x273456,this['options']['withEndIndices']&&(_0x3758f6['endIndex']=this['parser']['endIndex']);else{const _0x3d3f96=new la(_0x273456);this['addNode'](_0x3d3f96),this['lastNode']=_0x3d3f96;}}['oncomment'](_0x58fc4a){if(this['lastNode']&&this['lastNode']['type']===Ko['Comment'])return void(this['lastNode']['data']+=_0x58fc4a);const _0x2d80b2=new ha(_0x58fc4a);this['addNode'](_0x2d80b2),this['lastNode']=_0x2d80b2;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0xffd70d=new la(''),_0x185f96=new CDATA([_0xffd70d]);this['addNode'](_0x185f96),_0xffd70d['parent']=_0x185f96,this['lastNode']=_0xffd70d;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x4706de,_0x5874ca){const _0x2305ff=new ProcessingInstruction(_0x4706de,_0x5874ca);this['addNode'](_0x2305ff);}['handleCallback'](_0x57c134){if('function'==typeof this['callback'])this['callback'](_0x57c134,this['dom']);else{if(_0x57c134)throw _0x57c134;}}['addNode'](_0xf75ce9){const _0x3f534b=this['tagStack'][this['tagStack']['length']-0x1],_0x19b446=_0x3f534b['children'][_0x3f534b['children']['length']-0x1];this['options']['withStartIndices']&&(_0xf75ce9['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0xf75ce9['endIndex']=this['parser']['endIndex']),_0x3f534b['children']['push'](_0xf75ce9),_0x19b446&&(_0xf75ce9['prev']=_0x19b446,_0x19b446['next']=_0xf75ce9),_0xf75ce9['parent']=_0x3f534b,this['lastNode']=null;}}const va=/["&'<>$\x80-\uFFFF]/g,_a=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),Ea=null!=String['prototype']['codePointAt']?(_0x2c881a,_0x1b6cbf)=>_0x2c881a['codePointAt'](_0x1b6cbf):(_0x5cab45,_0x288c29)=>0xd800==(0xfc00&_0x5cab45['charCodeAt'](_0x288c29))?0x400*(_0x5cab45['charCodeAt'](_0x288c29)-0xd800)+_0x5cab45['charCodeAt'](_0x288c29+0x1)-0xdc00+0x10000:_0x5cab45['charCodeAt'](_0x288c29);function Ta(_0x23d36b){let _0x5ccd39,_0x211f09='',_0x42cbd9=0x0;for(;null!==(_0x5ccd39=va['exec'](_0x23d36b));){const _0x31128c=_0x5ccd39['index'],_0x28125c=_0x23d36b['charCodeAt'](_0x31128c),_0x26d584=_a['get'](_0x28125c);void 0x0!==_0x26d584?(_0x211f09+=_0x23d36b['substring'](_0x42cbd9,_0x31128c)+_0x26d584,_0x42cbd9=_0x31128c+0x1):(_0x211f09+=_0x23d36b['substring'](_0x42cbd9,_0x31128c)+'&#x'+Ea(_0x23d36b,_0x31128c)['toString'](0x10)+';',_0x42cbd9=va['lastIndex']+=Number(0xd800==(0xfc00&_0x28125c)));}return _0x211f09+_0x23d36b['substr'](_0x42cbd9);}function Aa(_0x45c98b,_0x47a713){return function(_0x11d424){let _0x144863,_0x5dac5d=0x0,_0x551fd2='';for(;_0x144863=_0x45c98b['exec'](_0x11d424);)_0x5dac5d!==_0x144863['index']&&(_0x551fd2+=_0x11d424['substring'](_0x5dac5d,_0x144863['index'])),_0x551fd2+=_0x47a713['get'](_0x144863[0x0]['charCodeAt'](0x0)),_0x5dac5d=_0x144863['index']+0x1;return _0x551fd2+_0x11d424['substring'](_0x5dac5d);};}const Ia=Aa(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),Sa=Aa(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),Ca=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'](_0x4f6f48=>[_0x4f6f48['toLowerCase'](),_0x4f6f48])),ka=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'](_0x184d06=>[_0x184d06['toLowerCase'](),_0x184d06])),xa=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function Ra(_0x5ae795){return _0x5ae795['replace'](/"/g,'&quot;');}const Pa=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function Ma(_0xff33b5,_0x2c9571={}){const _0x55c902='length'in _0xff33b5?_0xff33b5:[_0xff33b5];let _0x5d4f5b='';for(let _0x50c3d1=0x0;_0x50c3d1<_0x55c902['length'];_0x50c3d1++)_0x5d4f5b+=Na(_0x55c902[_0x50c3d1],_0x2c9571);return _0x5d4f5b;}function Na(_0x3422da,_0x29ad98){switch(_0x3422da['type']){case Jo:return Ma(_0x3422da['children'],_0x29ad98);case aa:case ea:return'<'+_0x3422da['data']+'>';case ia:return function(_0x43f516){return'<!--'+_0x43f516['data']+'-->';}(_0x3422da);case oa:return function(_0x586c0f){return'<![CDATA['+_0x586c0f['children'][0x0]['data']+']]>';}(_0x3422da);case sa:case na:case ra:return function(_0x5787e2,_0x6858c3){var _0x4297d6;'foreign'===_0x6858c3['xmlMode']&&(_0x5787e2['name']=null!==(_0x4297d6=Ca['get'](_0x5787e2['name']))&&void 0x0!==_0x4297d6?_0x4297d6:_0x5787e2['name'],_0x5787e2['parent']&&La['has'](_0x5787e2['parent']['name'])&&(_0x6858c3={..._0x6858c3,'xmlMode':!0x1})),!_0x6858c3['xmlMode']&&$a['has'](_0x5787e2['name'])&&(_0x6858c3={..._0x6858c3,'xmlMode':'foreign'});let _0x202e18='<'+_0x5787e2['name'];const _0x1b5387=function(_0x2f7bc6,_0xe54372){var _0x58b720;if(!_0x2f7bc6)return;const _0x22d35b=!0x1===(null!==(_0x58b720=_0xe54372['encodeEntities'])&&void 0x0!==_0x58b720?_0x58b720:_0xe54372['decodeEntities'])?Ra:_0xe54372['xmlMode']||'utf8'!==_0xe54372['encodeEntities']?Ta:Ia;return Object['keys'](_0x2f7bc6)['map'](_0x375b64=>{var _0x880e05,_0x19b0cb;const _0x44ef22=null!==(_0x880e05=_0x2f7bc6[_0x375b64])&&void 0x0!==_0x880e05?_0x880e05:'';return'foreign'===_0xe54372['xmlMode']&&(_0x375b64=null!==(_0x19b0cb=ka['get'](_0x375b64))&&void 0x0!==_0x19b0cb?_0x19b0cb:_0x375b64),_0xe54372['emptyAttrs']||_0xe54372['xmlMode']||''!==_0x44ef22?_0x375b64+'=\x22'+_0x22d35b(_0x44ef22)+'\x22':_0x375b64;})['join']('\x20');}(_0x5787e2['attribs'],_0x6858c3);return _0x1b5387&&(_0x202e18+='\x20'+_0x1b5387),0x0===_0x5787e2['children']['length']&&(_0x6858c3['xmlMode']?!0x1!==_0x6858c3['selfClosingTags']:_0x6858c3['selfClosingTags']&&Pa['has'](_0x5787e2['name']))?(_0x6858c3['xmlMode']||(_0x202e18+='\x20'),_0x202e18+='/>'):(_0x202e18+='>',_0x5787e2['children']['length']>0x0&&(_0x202e18+=Ma(_0x5787e2['children'],_0x6858c3)),!_0x6858c3['xmlMode']&&Pa['has'](_0x5787e2['name'])||(_0x202e18+='</'+_0x5787e2['name']+'>')),_0x202e18;}(_0x3422da,_0x29ad98);case ta:return function(_0x4f9898,_0x5813a4){var _0x1af62e;let _0x6b06b4=_0x4f9898['data']||'';return!0x1===(null!==(_0x1af62e=_0x5813a4['encodeEntities'])&&void 0x0!==_0x1af62e?_0x1af62e:_0x5813a4['decodeEntities'])||!_0x5813a4['xmlMode']&&_0x4f9898['parent']&&xa['has'](_0x4f9898['parent']['name'])||(_0x6b06b4=_0x5813a4['xmlMode']||'utf8'!==_0x5813a4['encodeEntities']?Ta(_0x6b06b4):Sa(_0x6b06b4)),_0x6b06b4;}(_0x3422da,_0x29ad98);}}const La=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),$a=new Set(['svg','math']);function Da(_0xb8d0f2){return Array['isArray'](_0xb8d0f2)?_0xb8d0f2['map'](Da)['join'](''):Oa(_0xb8d0f2)&&!ga(_0xb8d0f2)?Da(_0xb8d0f2['children']):ma(_0xb8d0f2)?_0xb8d0f2['data']:'';}function Qa(_0x4e4c4a){return _0x4e4c4a['parent']||null;}function Va(_0x3ba980){if(_0x3ba980['prev']&&(_0x3ba980['prev']['next']=_0x3ba980['next']),_0x3ba980['next']&&(_0x3ba980['next']['prev']=_0x3ba980['prev']),_0x3ba980['parent']){const _0x82ac50=_0x3ba980['parent']['children'],_0x19588c=_0x82ac50['lastIndexOf'](_0x3ba980);_0x19588c>=0x0&&_0x82ac50['splice'](_0x19588c,0x1);}_0x3ba980['next']=null,_0x3ba980['prev']=null,_0x3ba980['parent']=null;}function Ua(_0x362f4b,_0x4f3780){const _0x54822b=_0x4f3780['prev']=_0x362f4b['prev'];_0x54822b&&(_0x54822b['next']=_0x4f3780);const _0x3adf70=_0x4f3780['next']=_0x362f4b['next'];_0x3adf70&&(_0x3adf70['prev']=_0x4f3780);const _0x1be2e9=_0x4f3780['parent']=_0x362f4b['parent'];if(_0x1be2e9){const _0x1be5b3=_0x1be2e9['children'];_0x1be5b3[_0x1be5b3['lastIndexOf'](_0x362f4b)]=_0x4f3780,_0x362f4b['parent']=null;}}function Ba(_0x37e198,_0x36a82b){if(Va(_0x36a82b),_0x36a82b['next']=null,_0x36a82b['parent']=_0x37e198,_0x37e198['children']['push'](_0x36a82b)>0x1){const _0x1a25f6=_0x37e198['children'][_0x37e198['children']['length']-0x2];_0x1a25f6['next']=_0x36a82b,_0x36a82b['prev']=_0x1a25f6;}else _0x36a82b['prev']=null;}function Fa(_0x55fa06,_0x35ec74){Va(_0x35ec74);const {parent:_0x5d7a44}=_0x55fa06,_0x542641=_0x55fa06['next'];if(_0x35ec74['next']=_0x542641,_0x35ec74['prev']=_0x55fa06,_0x55fa06['next']=_0x35ec74,_0x35ec74['parent']=_0x5d7a44,_0x542641){if(_0x542641['prev']=_0x35ec74,_0x5d7a44){const _0x278a44=_0x5d7a44['children'];_0x278a44['splice'](_0x278a44['lastIndexOf'](_0x542641),0x0,_0x35ec74);}}else _0x5d7a44&&_0x5d7a44['children']['push'](_0x35ec74);}function ja(_0x53495c,_0x3b00b9){if(Va(_0x3b00b9),_0x3b00b9['parent']=_0x53495c,_0x3b00b9['prev']=null,0x1!==_0x53495c['children']['unshift'](_0x3b00b9)){const _0x2e59a5=_0x53495c['children'][0x1];_0x2e59a5['prev']=_0x3b00b9,_0x3b00b9['next']=_0x2e59a5;}else _0x3b00b9['next']=null;}function Ha(_0x50a779,_0x53fb91){Va(_0x53fb91);const {parent:_0x257f50}=_0x50a779;if(_0x257f50){const _0x5478de=_0x257f50['children'];_0x5478de['splice'](_0x5478de['indexOf'](_0x50a779),0x0,_0x53fb91);}_0x50a779['prev']&&(_0x50a779['prev']['next']=_0x53fb91),_0x53fb91['parent']=_0x257f50,_0x53fb91['prev']=_0x50a779['prev'],_0x53fb91['next']=_0x50a779,_0x50a779['prev']=_0x53fb91;}function Ga(_0x16c269,_0x1a4736,_0x2c3ec6=!0x0){const _0x148e58=Array['isArray'](_0x1a4736)?_0x1a4736:[_0x1a4736];for(let _0x43ae19=0x0;_0x43ae19<_0x148e58['length'];_0x43ae19++){const _0x475b38=_0x148e58[_0x43ae19];if(fa(_0x475b38)&&_0x16c269(_0x475b38))return _0x475b38;if(_0x2c3ec6&&Oa(_0x475b38)&&_0x475b38['children']['length']>0x0){const _0x4aa734=Ga(_0x16c269,_0x475b38['children'],!0x0);if(_0x4aa734)return _0x4aa734;}}return null;}function Za(_0x445f39,_0x550389){const _0xa8cd72=[],_0x3a66e4=[Array['isArray'](_0x550389)?_0x550389:[_0x550389]],_0x3fc3b9=[0x0];for(;;){if(_0x3fc3b9[0x0]>=_0x3a66e4[0x0]['length']){if(0x1===_0x3a66e4['length'])return _0xa8cd72;_0x3a66e4['shift'](),_0x3fc3b9['shift']();continue;}const _0x5ba3fe=_0x3a66e4[0x0][_0x3fc3b9[0x0]++];fa(_0x5ba3fe)&&_0x445f39(_0x5ba3fe)&&_0xa8cd72['push'](_0x5ba3fe),Oa(_0x5ba3fe)&&_0x5ba3fe['children']['length']>0x0&&(_0x3fc3b9['unshift'](0x0),_0x3a66e4['unshift'](_0x5ba3fe['children']));}}function Xa(_0x4332ed,_0x2aa130){return function(_0x52728b,_0x3cb618){const _0x257beb=new DomHandler(void 0x0,_0x3cb618);return new Yo(_0x257beb,_0x3cb618)['end'](_0x52728b),_0x257beb['root'];}(_0x4332ed,_0x2aa130);}function qa(_0x135ca1,_0x3f9f97){return Ma(_0x135ca1,_0x3f9f97);}function Wa(_0x1e2a1f,_0x1dfb38,_0x459849){const _0x2be1c9=null!==_0x1dfb38?_0x3f25e8=>_0x3f25e8['attribs'][_0x1e2a1f]===_0x1dfb38:_0x3433e6=>Boolean(_0x3433e6['attribs'][_0x1e2a1f]);return Ga(_0x5572cd=>fa(_0x5572cd)&&_0x2be1c9(_0x5572cd),_0x459849);}function za(_0x43e2f7,_0x404c4e,_0x22fc45){const _0x18a84a=null!==_0x404c4e?_0x1bf342=>_0x1bf342['attribs'][_0x43e2f7]===_0x404c4e:_0x50c621=>Boolean(_0x50c621['attribs'][_0x43e2f7]);return Za(_0x24b54e=>fa(_0x24b54e)&&_0x18a84a(_0x24b54e),_0x22fc45);}function Ya(_0x264350){return Za(_0x99eff4=>fa(_0x99eff4)&&function(_0xf0edd4){const _0x3fbddc=_0xf0edd4['toLowerCase']();return'script'===_0x3fbddc||'style'===_0x3fbddc||_0x3fbddc['includes']('-');}(_0x99eff4['name']),_0x264350);}function Ka(_0x30db7e){return function(_0xffd2b6,_0x13c921,_0x3e9b70,_0x42203c){const _0x5d68ed=[],_0x49b232=[Array['isArray'](_0x13c921)?_0x13c921:[_0x13c921]],_0x104d38=[0x0];for(;;){if(_0x104d38[0x0]>=_0x49b232[0x0]['length']){if(0x1===_0x104d38['length'])return _0x5d68ed;_0x49b232['shift'](),_0x104d38['shift']();continue;}const _0x5cac96=_0x49b232[0x0][_0x104d38[0x0]++];if(_0xffd2b6(_0x5cac96)&&(_0x5d68ed['push'](_0x5cac96),--_0x42203c<=0x0))return _0x5d68ed;Oa(_0x5cac96)&&_0x5cac96['children']['length']>0x0&&(_0x104d38['unshift'](0x0),_0x49b232['unshift'](_0x5cac96['children']));}}(_0x5726de=>ga(_0x5726de),_0x30db7e,0x0,0x1/0x0);}function Ja(_0x1cbae0,_0x17b139){return _0x1cbae0&&fa(_0x1cbae0)?_0x1cbae0['attribs'][_0x17b139]:null;}function tc(_0x1d2e47,_0x25feda,_0x5f139f){fa(_0x1d2e47)&&(null===_0x5f139f?delete _0x1d2e47['attribs'][_0x25feda]:_0x1d2e47['attribs'][_0x25feda]=_0x5f139f);}function ec(_0x2ac33e,_0x4ea12f,_0x87005b){const _0x5e6632=_0x4ea12f['cloneNode'](!0x0);'beforebegin'===_0x87005b?Ha(_0x2ac33e,_0x5e6632):'afterbegin'===_0x87005b?ja(_0x2ac33e,_0x5e6632):'beforeend'===_0x87005b?Ba(_0x2ac33e,_0x5e6632):'afterend'===_0x87005b&&Fa(_0x2ac33e,_0x5e6632);}function ic(_0x129082){const _0x107603=[];let _0x58b748=_0x129082;for(;_0x58b748;)_0x58b748=Qa(_0x58b748),_0x58b748&&_0x107603['push'](_0x58b748);return _0x107603;}function sc(_0x2fe088){return _0x2fe088['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function nc(_0x33d673){let _0xcde68f=0x0;for(;_0x33d673['parentNode'];)_0x33d673=_0x33d673['parentNode'],_0xcde68f++;return _0xcde68f;}function rc(_0x1df127){const _0x11d93e=[];let _0x451724=_0x1df127['nextSibling'];for(;_0x451724;)_0x11d93e['push'](_0x451724),_0x451724=_0x451724['nextSibling'];_0x11d93e['forEach'](_0x19e030=>{Va(_0x19e030);});}const oc='object'==typeof self?self:globalThis,ac=_0xb06c90=>((_0x125d75,_0x28b810)=>{const _0x5cd01b=(_0x297676,_0x39a570)=>(_0x125d75['set'](_0x39a570,_0x297676),_0x297676),_0xa0ad12=_0x17796e=>{if(_0x125d75['has'](_0x17796e))return _0x125d75['get'](_0x17796e);const [_0x54ea76,_0x43f59b]=_0x28b810[_0x17796e];switch(_0x54ea76){case 0x0:case-0x1:return _0x5cd01b(_0x43f59b,_0x17796e);case 0x1:{const _0x4d3755=_0x5cd01b([],_0x17796e);for(const _0x39069f of _0x43f59b)_0x4d3755['push'](_0xa0ad12(_0x39069f));return _0x4d3755;}case 0x2:{const _0x150e1d=_0x5cd01b({},_0x17796e);for(const [_0x270b7a,_0x14c4fc]of _0x43f59b)_0x150e1d[_0xa0ad12(_0x270b7a)]=_0xa0ad12(_0x14c4fc);return _0x150e1d;}case 0x3:return _0x5cd01b(new Date(_0x43f59b),_0x17796e);case 0x4:{const {source:_0x3c5732,flags:_0x2c78be}=_0x43f59b;return _0x5cd01b(new RegExp(_0x3c5732,_0x2c78be),_0x17796e);}case 0x5:{const _0x364734=_0x5cd01b(new Map(),_0x17796e);for(const [_0x325a6f,_0xf7c8e1]of _0x43f59b)_0x364734['set'](_0xa0ad12(_0x325a6f),_0xa0ad12(_0xf7c8e1));return _0x364734;}case 0x6:{const _0x4c2522=_0x5cd01b(new Set(),_0x17796e);for(const _0x360e16 of _0x43f59b)_0x4c2522['add'](_0xa0ad12(_0x360e16));return _0x4c2522;}case 0x7:{const {name:_0x19225b,message:_0x475ffe}=_0x43f59b;return _0x5cd01b(new oc[_0x19225b](_0x475ffe),_0x17796e);}case 0x8:return _0x5cd01b(BigInt(_0x43f59b),_0x17796e);case'BigInt':return _0x5cd01b(Object(BigInt(_0x43f59b)),_0x17796e);case'ArrayBuffer':return _0x5cd01b(new Uint8Array(_0x43f59b)['buffer'],_0x43f59b);case'DataView':{const {buffer:_0x4d1029}=new Uint8Array(_0x43f59b);return _0x5cd01b(new DataView(_0x4d1029),_0x43f59b);}}return _0x5cd01b(new oc[_0x54ea76](_0x43f59b),_0x17796e);};return _0xa0ad12;})(new Map(),_0xb06c90)(0x0),cc='',{toString:lc}={},{keys:hc}=Object,uc=_0x42586b=>{const _0x463915=typeof _0x42586b;if('object'!==_0x463915||!_0x42586b)return[0x0,_0x463915];const _0x2ac9b4=lc['call'](_0x42586b)['slice'](0x8,-0x1);switch(_0x2ac9b4){case'Array':return[0x1,cc];case'Object':return[0x2,cc];case'Date':return[0x3,cc];case'RegExp':return[0x4,cc];case'Map':return[0x5,cc];case'Set':return[0x6,cc];case'DataView':return[0x1,_0x2ac9b4];}return _0x2ac9b4['includes']('Array')?[0x1,_0x2ac9b4]:_0x2ac9b4['includes']('Error')?[0x7,_0x2ac9b4]:[0x2,_0x2ac9b4];},dc=([_0x52720c,_0x2b9a82])=>0x0===_0x52720c&&('function'===_0x2b9a82||'symbol'===_0x2b9a82),fc=(_0x2f8d53,{json:_0x22ac17,lossy:_0xd1c7ec}={})=>{const _0x4162c2=[];return((_0x14bc4c,_0x4bce17,_0x37c888,_0x54b2bd)=>{const _0x5eb358=(_0x41a1e6,_0x19184b)=>{const _0x4d06e0=_0x54b2bd['push'](_0x41a1e6)-0x1;return _0x37c888['set'](_0x19184b,_0x4d06e0),_0x4d06e0;},_0x1b2c25=_0xdb1bb6=>{if(_0x37c888['has'](_0xdb1bb6))return _0x37c888['get'](_0xdb1bb6);let [_0x163c96,_0x1f99a6]=uc(_0xdb1bb6);switch(_0x163c96){case 0x0:{let _0x33e52f=_0xdb1bb6;switch(_0x1f99a6){case'bigint':_0x163c96=0x8,_0x33e52f=_0xdb1bb6['toString']();break;case'function':case'symbol':if(_0x14bc4c)throw new TypeError('unable\x20to\x20serialize\x20'+_0x1f99a6);_0x33e52f=null;break;case'undefined':return _0x5eb358([-0x1],_0xdb1bb6);}return _0x5eb358([_0x163c96,_0x33e52f],_0xdb1bb6);}case 0x1:{if(_0x1f99a6){let _0x5ec9ba=_0xdb1bb6;return'DataView'===_0x1f99a6?_0x5ec9ba=new Uint8Array(_0xdb1bb6['buffer']):'ArrayBuffer'===_0x1f99a6&&(_0x5ec9ba=new Uint8Array(_0xdb1bb6)),_0x5eb358([_0x1f99a6,[..._0x5ec9ba]],_0xdb1bb6);}const _0x5124f2=[],_0x2fc4e8=_0x5eb358([_0x163c96,_0x5124f2],_0xdb1bb6);for(const _0x197558 of _0xdb1bb6)_0x5124f2['push'](_0x1b2c25(_0x197558));return _0x2fc4e8;}case 0x2:{if(_0x1f99a6)switch(_0x1f99a6){case'BigInt':return _0x5eb358([_0x1f99a6,_0xdb1bb6['toString']()],_0xdb1bb6);case'Boolean':case'Number':case'String':return _0x5eb358([_0x1f99a6,_0xdb1bb6['valueOf']()],_0xdb1bb6);}if(_0x4bce17&&'toJSON'in _0xdb1bb6)return _0x1b2c25(_0xdb1bb6['toJSON']());const _0x311669=[],_0x1b10f5=_0x5eb358([_0x163c96,_0x311669],_0xdb1bb6);for(const _0x4858f6 of hc(_0xdb1bb6))!_0x14bc4c&&dc(uc(_0xdb1bb6[_0x4858f6]))||_0x311669['push']([_0x1b2c25(_0x4858f6),_0x1b2c25(_0xdb1bb6[_0x4858f6])]);return _0x1b10f5;}case 0x3:return _0x5eb358([_0x163c96,_0xdb1bb6['toISOString']()],_0xdb1bb6);case 0x4:{const {source:_0x46a110,flags:_0x51e332}=_0xdb1bb6;return _0x5eb358([_0x163c96,{'source':_0x46a110,'flags':_0x51e332}],_0xdb1bb6);}case 0x5:{const _0x4513b1=[],_0x1e1d10=_0x5eb358([_0x163c96,_0x4513b1],_0xdb1bb6);for(const [_0x466a70,_0x426448]of _0xdb1bb6)(_0x14bc4c||!dc(uc(_0x466a70))&&!dc(uc(_0x426448)))&&_0x4513b1['push']([_0x1b2c25(_0x466a70),_0x1b2c25(_0x426448)]);return _0x1e1d10;}case 0x6:{const _0x15ac40=[],_0x10608b=_0x5eb358([_0x163c96,_0x15ac40],_0xdb1bb6);for(const _0x288c57 of _0xdb1bb6)!_0x14bc4c&&dc(uc(_0x288c57))||_0x15ac40['push'](_0x1b2c25(_0x288c57));return _0x10608b;}}const {message:_0x40e830}=_0xdb1bb6;return _0x5eb358([_0x163c96,{'name':_0x1f99a6,'message':_0x40e830}],_0xdb1bb6);};return _0x1b2c25;})(!(_0x22ac17||_0xd1c7ec),!!_0x22ac17,new Map(),_0x4162c2)(_0x2f8d53),_0x4162c2;};var mc='function'==typeof structuredClone?(_0xfe134d,_0x5a70a4)=>_0x5a70a4&&('json'in _0x5a70a4||'lossy'in _0x5a70a4)?ac(fc(_0xfe134d,_0x5a70a4)):structuredClone(_0xfe134d):(_0x49b7e9,_0x3e2d34)=>ac(fc(_0x49b7e9,_0x3e2d34));const gc=Oc('end'),pc=Oc('start');function Oc(_0x129a0d){return function(_0x5d086b){const _0x1c946d=_0x5d086b&&_0x5d086b['position']&&_0x5d086b['position'][_0x129a0d]||{};if('number'==typeof _0x1c946d['line']&&_0x1c946d['line']>0x0&&'number'==typeof _0x1c946d['column']&&_0x1c946d['column']>0x0)return{'line':_0x1c946d['line'],'column':_0x1c946d['column'],'offset':'number'==typeof _0x1c946d['offset']&&_0x1c946d['offset']>-0x1?_0x1c946d['offset']:void 0x0};};}const wc=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],bc={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[...wc,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[...wc],'h2':[['className','sr-only']],'img':[...wc,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[...wc,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[...wc],'table':[...wc],'ul':[...wc,['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']},yc={}['hasOwnProperty'];function vc(_0x687ce3,_0x1be61e){if(_0x1be61e&&'object'==typeof _0x1be61e){const _0x387625=_0x1be61e;switch('string'==typeof _0x387625['type']?_0x387625['type']:''){case'comment':return function(_0x33abd4,_0x41d849){if(_0x33abd4['schema']['allowComments']){const _0x37a78f='string'==typeof _0x41d849['value']?_0x41d849['value']:'',_0x4127dc=_0x37a78f['indexOf']('-->'),_0x35e18f={'type':'comment','value':_0x4127dc<0x0?_0x37a78f:_0x37a78f['slice'](0x0,_0x4127dc)};return Ac(_0x35e18f,_0x41d849),_0x35e18f;}}(_0x687ce3,_0x387625);case'doctype':return function(_0x526fab,_0x4083cd){if(_0x526fab['schema']['allowDoctypes']){const _0xc82b43={'type':'doctype'};return Ac(_0xc82b43,_0x4083cd),_0xc82b43;}}(_0x687ce3,_0x387625);case'element':return function(_0x112047,_0x3bce88){const _0x8d1334='string'==typeof _0x3bce88['tagName']?_0x3bce88['tagName']:'';_0x112047['stack']['push'](_0x8d1334);const _0x4aa433=_c(_0x112047,_0x3bce88['children']),_0x370640=function(_0x441502,_0x5514dd){const _0x40d907=_0x441502['stack'][_0x441502['stack']['length']-0x1],_0x5825a6=_0x441502['schema']['attributes'],_0x45b9e6=_0x441502['schema']['required'],_0x2c9cc4=_0x5825a6&&yc['call'](_0x5825a6,_0x40d907)?_0x5825a6[_0x40d907]:void 0x0,_0xf2b67d=_0x5825a6&&yc['call'](_0x5825a6,'*')?_0x5825a6['*']:void 0x0,_0x38316c=_0x5514dd&&'object'==typeof _0x5514dd?_0x5514dd:{},_0x4b6bcc={};let _0x2cc0d0;for(_0x2cc0d0 in _0x38316c)if(yc['call'](_0x38316c,_0x2cc0d0)){const _0xac4135=_0x38316c[_0x2cc0d0];let _0x22423a=Ec(_0x441502,Ic(_0x2c9cc4,_0x2cc0d0),_0x2cc0d0,_0xac4135);null==_0x22423a&&(_0x22423a=Ec(_0x441502,Ic(_0xf2b67d,_0x2cc0d0),_0x2cc0d0,_0xac4135)),null!=_0x22423a&&(_0x4b6bcc[_0x2cc0d0]=_0x22423a);}if(_0x45b9e6&&yc['call'](_0x45b9e6,_0x40d907)){const _0x37109c=_0x45b9e6[_0x40d907];for(_0x2cc0d0 in _0x37109c)yc['call'](_0x37109c,_0x2cc0d0)&&!yc['call'](_0x4b6bcc,_0x2cc0d0)&&(_0x4b6bcc[_0x2cc0d0]=_0x37109c[_0x2cc0d0]);}return _0x4b6bcc;}(_0x112047,_0x3bce88['properties']);_0x112047['stack']['pop']();let _0x461579=!0x1;if(_0x8d1334&&'*'!==_0x8d1334&&(!_0x112047['schema']['tagNames']||_0x112047['schema']['tagNames']['includes'](_0x8d1334))&&(_0x461579=!0x0,_0x112047['schema']['ancestors']&&yc['call'](_0x112047['schema']['ancestors'],_0x8d1334))){const _0x260ddf=_0x112047['schema']['ancestors'][_0x8d1334];let _0xe44f27=-0x1;for(_0x461579=!0x1;++_0xe44f27<_0x260ddf['length'];)_0x112047['stack']['includes'](_0x260ddf[_0xe44f27])&&(_0x461579=!0x0);}if(!_0x461579)return _0x112047['schema']['strip']&&!_0x112047['schema']['strip']['includes'](_0x8d1334)?_0x4aa433:void 0x0;const _0x14f83e={'type':'element','tagName':_0x8d1334,'properties':_0x370640,'children':_0x4aa433};return Ac(_0x14f83e,_0x3bce88),_0x14f83e;}(_0x687ce3,_0x387625);case'root':return function(_0x2dee64,_0xea98a8){const _0x2638c6=_c(_0x2dee64,_0xea98a8['children']),_0x8e0673={'type':'root','children':_0x2638c6};return Ac(_0x8e0673,_0xea98a8),_0x8e0673;}(_0x687ce3,_0x387625);case'text':return function(_0x55da47,_0xcf1fcf){const _0x4e27ae='string'==typeof _0xcf1fcf['value']?_0xcf1fcf['value']:'',_0x314e46={'type':'text','value':_0x4e27ae};return Ac(_0x314e46,_0xcf1fcf),_0x314e46;}(0x0,_0x387625);}}}function _c(_0x20f2cb,_0x105218){const _0x5374a1=[];if(Array['isArray'](_0x105218)){const _0x13af0a=_0x105218;let _0x3ac6c3=-0x1;for(;++_0x3ac6c3<_0x13af0a['length'];){const _0x1d5b5f=vc(_0x20f2cb,_0x13af0a[_0x3ac6c3]);_0x1d5b5f&&(Array['isArray'](_0x1d5b5f)?_0x5374a1['push'](..._0x1d5b5f):_0x5374a1['push'](_0x1d5b5f));}}return _0x5374a1;}function Ec(_0x1aafcf,_0x36c5ef,_0x5606f4,_0x2ecaa5){return _0x36c5ef?Array['isArray'](_0x2ecaa5)?function(_0x421680,_0x28d378,_0x317ba1,_0x24bc19){let _0x305b76=-0x1;const _0x3b3c34=[];for(;++_0x305b76<_0x24bc19['length'];){const _0x3e4e17=Tc(_0x421680,_0x28d378,_0x317ba1,_0x24bc19[_0x305b76]);'number'!=typeof _0x3e4e17&&'string'!=typeof _0x3e4e17||_0x3b3c34['push'](_0x3e4e17);}return _0x3b3c34;}(_0x1aafcf,_0x36c5ef,_0x5606f4,_0x2ecaa5):Tc(_0x1aafcf,_0x36c5ef,_0x5606f4,_0x2ecaa5):void 0x0;}function Tc(_0x54f025,_0x577793,_0x4af1c9,_0x402439){if(('boolean'==typeof _0x402439||'number'==typeof _0x402439||'string'==typeof _0x402439)&&function(_0x2df648,_0x3230a0,_0x56fa4d){const _0x4de6d7=_0x2df648['schema']['protocols']&&yc['call'](_0x2df648['schema']['protocols'],_0x3230a0)?_0x2df648['schema']['protocols'][_0x3230a0]:void 0x0;if(!_0x4de6d7||0x0===_0x4de6d7['length'])return!0x0;const _0x4fe7a0=String(_0x56fa4d),_0x269b0a=_0x4fe7a0['indexOf'](':'),_0x692cf6=_0x4fe7a0['indexOf']('?'),_0x2b81ac=_0x4fe7a0['indexOf']('#'),_0x14a6e2=_0x4fe7a0['indexOf']('/');if(_0x269b0a<0x0||_0x14a6e2>-0x1&&_0x269b0a>_0x14a6e2||_0x692cf6>-0x1&&_0x269b0a>_0x692cf6||_0x2b81ac>-0x1&&_0x269b0a>_0x2b81ac)return!0x0;let _0x37792c=-0x1;for(;++_0x37792c<_0x4de6d7['length'];){const _0x699461=_0x4de6d7[_0x37792c];if(_0x269b0a===_0x699461['length']&&_0x4fe7a0['slice'](0x0,_0x699461['length'])===_0x699461)return!0x0;}return!0x1;}(_0x54f025,_0x4af1c9,_0x402439)){if('object'==typeof _0x577793&&_0x577793['length']>0x1){let _0x4f3fbd=!0x1,_0x2bd2d1=0x0;for(;++_0x2bd2d1<_0x577793['length'];){const _0x22b0d7=_0x577793[_0x2bd2d1];if(_0x22b0d7&&'object'==typeof _0x22b0d7&&'flags'in _0x22b0d7){if(_0x22b0d7['test'](String(_0x402439))){_0x4f3fbd=!0x0;break;}}else{if(_0x22b0d7===_0x402439){_0x4f3fbd=!0x0;break;}}}if(!_0x4f3fbd)return;}return _0x54f025['schema']['clobber']&&_0x54f025['schema']['clobberPrefix']&&_0x54f025['schema']['clobber']['includes'](_0x4af1c9)?_0x54f025['schema']['clobberPrefix']+_0x402439:_0x402439;}}function Ac(_0xad43de,_0x2e27bc){const _0x1d0108=function(_0x11a5d4){const _0x46aad4=pc(_0x11a5d4),_0x2e7bf5=gc(_0x11a5d4);if(_0x46aad4&&_0x2e7bf5)return{'start':_0x46aad4,'end':_0x2e7bf5};}(_0x2e27bc);_0x2e27bc['data']&&(_0xad43de['data']=mc(_0x2e27bc['data'])),_0x1d0108&&(_0xad43de['position']=_0x1d0108);}function Ic(_0x254717,_0x5a220a){let _0x1c3131,_0x1b2202=-0x1;if(_0x254717)for(;++_0x1b2202<_0x254717['length'];){const _0x2aa34e=_0x254717[_0x1b2202],_0x3eee14='string'==typeof _0x2aa34e?_0x2aa34e:_0x2aa34e[0x0];if(_0x3eee14===_0x5a220a)return _0x2aa34e;'data*'===_0x3eee14&&(_0x1c3131=_0x2aa34e);}if(_0x5a220a['length']>0x4&&'data'===_0x5a220a['slice'](0x0,0x4)['toLowerCase']())return _0x1c3131;}function Sc(_0x3748ff){return function(_0x1fe7cf){const _0x260118=function(_0x2b9e84,_0x2b430a){let _0x1e5170={'type':'root','children':[]};const _0x427d87=vc({'schema':_0x2b430a?{...bc,..._0x2b430a}:bc,'stack':[]},_0x2b9e84);return _0x427d87&&(Array['isArray'](_0x427d87)?0x1===_0x427d87['length']?_0x1e5170=_0x427d87[0x0]:_0x1e5170['children']=_0x427d87:_0x1e5170=_0x427d87),_0x1e5170;}(_0x1fe7cf,_0x3748ff);return _0x260118;};}class AIResponseParser extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['_m2html'];constructor(){super();const _0x49cecd=Object['entries'](_0x3b4095),_0x3315fe=_0x49cecd['findIndex'](([_0x3fa547])=>'rehypeDomRaw'===_0x3fa547);if(-0x1===_0x3315fe)throw new _0x522f1f('ai-response-parser-unable-to-set-up-parser');_0x49cecd['splice'](_0x3315fe+0x1,0x0,['rehypeSanitize',Sc]),this['_m2html']=new _0x330a4d({'plugins':Object['fromEntries'](_0x49cecd)});}['convertMarkdownToHTML'](_0x5d56af){const _0x37aaa4=this['_m2html']['parse'](_0x5d56af);return this['parseAndNormalizeHTML'](_0x37aaa4);}['parseAndNormalizeHTML'](_0x3be7f8){return this['_parseHTML'](_0x3be7f8);}['_parseHTML'](_0x4a9adb){const _0x4edb70=Xa('<dummy>'+_0x4a9adb['replace'](/<[^>]*?$/g,'')+'</dummy>');return Cc(_0x4edb70),_0x4edb70['children']=_0x4edb70['children'][0x0]['children'],_0x4edb70;}}function Cc(_0x3eb280){for(const _0x2871f4 of _0x3eb280['children'])fa(_0x2871f4)?'pre'!==_0x2871f4['name']&&Cc(_0x2871f4):ma(_0x2871f4)&&(_0x2871f4['data']=_0x2871f4['data']['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/[ \t\r\f\v]+/g,'\x20'));}class AIResponseApplier extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['_generateUid'];['_uidCounter']=0x0;['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null,'rescuedNewIds':new Set()};['_existingDataIds']=new Set();['_referencedExistingIds']=new Set();constructor(_0x189b13){super(),this['_generateUid']=_0x189b13||(()=>'e'+String(this['_uidCounter']++));}['merge'](_0x43cca6,_0x2b22d7,_0x15b908){this['_uidCounter']=0x0;const _0x4d9470=_0x43cca6['cloneNode'](!0x0);Rc(_0x2b22d7,_0x4d9470);const _0x5e8cea=_0x4d9470['childNodes'],_0x3b18c6=Array['from'](_0x5e8cea)['filter'](_0x3836b3=>!(0x3===_0x3836b3['nodeType']&&''===qa(_0x3836b3)['trim']())),_0x4d989e=_0x3b18c6['length'];for(const _0x15e83c of _0x3b18c6)_0x15e83c&&fa(_0x15e83c)&&void 0x0===_0x15e83c['attribs']['data-id']&&tc(_0x15e83c,'data-id','new-element');if(0x0===_0x2b22d7['childNodes']['length']){const _0x5bc655=[];return za('data-id','new-element',_0x4d9470)['forEach'](_0x18e928=>{const _0x217121=this['_generateUid']();tc(_0x18e928,'data-id',_0x217121),_0x5bc655['push'](_0x217121);}),this['_removeSpecialComments'](_0x4d9470),{'parsedContent':_0x4d9470,'newNodeIds':_0x5bc655,'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(),this['_existingDataIds']=new Set(za('data-id',null,_0x2b22d7)['map'](_0x5758b9=>Ja(_0x5758b9,'data-id'))['filter'](_0x30690e=>!!_0x30690e));let _0x1743e6=-0x1,_0x2812fd=!0x1;for(let _0x4e52b9=0x0;_0x4e52b9<_0x4d989e;_0x4e52b9++){const _0x3c4fac=_0x3b18c6[_0x4e52b9],_0x523091=_0x3b18c6[_0x4e52b9+0x1];if(this['_isNewNode'](_0x3c4fac)){if(-0x1===_0x1743e6&&(_0x1743e6=_0x4e52b9),this['_markWrappedElements'](_0x3c4fac),!this['_isNewNode'](_0x523091)){const [_0x7b60ea,_0x4c8fdb]=this['_findReferenceNode'](_0x3c4fac,_0x2812fd,_0x2b22d7);if(_0x7b60ea){const _0x4646fe=Array['from'](_0x3b18c6)['slice'](_0x1743e6,_0x4e52b9+0x1);this['_insertNodes'](_0x7b60ea,_0x4646fe,_0x4c8fdb),_0x1743e6=-0x1;}}}else{if(this['_isExistingContentComment'](_0x3c4fac))_0x2812fd=!0x0;else{if(this['_isExistingNode'](_0x3c4fac)){const _0x96e8de=Ja(_0x3c4fac,'data-id');if(_0x96e8de&&this['_existingDataIds']['has'](_0x96e8de)){this['_referencedExistingIds']['add'](_0x96e8de);const _0x4e140c=Wa('data-id',_0x96e8de,_0x2b22d7);this['_replaceNode'](_0x4e140c,_0x3c4fac);}}else{if(kc(_0x3c4fac)){const _0x2ac654=xc(_0x3c4fac);!!Wa('data-id',_0x2ac654,_0x4d9470)||this['_touchedNodesState']['removedIds']['push'](_0x2ac654);}}}}}for(const _0x419968 of this['_touchedNodesState']['removedIds']){const _0x757ed2=Wa('data-id',_0x419968,_0x2b22d7);_0x757ed2&&(this['_rescueUnwrappedElements'](_0x757ed2),this['_removeNode'](_0x757ed2,_0x419968,_0x15b908));}if(za('data-id','new-element',_0x2b22d7)['forEach'](_0x44fdda=>{const _0x53f7c6=this['_getUid'](_0x44fdda);tc(_0x44fdda,'data-id',_0x53f7c6),this['_touchedNodesState']['newIds']['push'](_0x53f7c6);}),this['_removeSpecialComments'](_0x2b22d7),_0x15b908&&_0x15b908['cutAfterUnstable']){const _0x11136c=this['_findLastConfirmationPoint'](_0x3b18c6),_0x18682f=this['_getLastStableElement'](_0x2b22d7,_0x11136c);this['_markUnstableElements'](_0x2b22d7,_0x18682f);}if(this['_processWrappedElements'](_0x2b22d7,_0x15b908),_0x15b908&&_0x15b908['cutAfterUnstable']&&this['_touchedNodesState']['lastTouchedId']){const _0x3952ea=za('data-id',this['_touchedNodesState']['lastTouchedId'],_0x2b22d7);let _0x94ede2=_0x3952ea[_0x3952ea['length']-0x1];for(;_0x94ede2;)rc(_0x94ede2),_0x94ede2=_0x94ede2['parentNode'];}return{'parsedContent':_0x2b22d7,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x2dd071,_0xc72202,_0x231b95){for(const _0x576af0 of _0xc72202){const _0x3d9620=this['_getUid'](_0x576af0);tc(_0x576af0,'data-id',_0x3d9620),this['_touchedNodesState']['newIds']['push'](_0x3d9620),this['_touchedNodesState']['lastTouchedId']=_0x3d9620;}const _0x320e28='afterbegin'===_0x231b95||'afterend'===_0x231b95?_0xc72202['reverse']():_0xc72202;for(const _0x35ebd6 of _0x320e28)ec(_0x2dd071,_0x35ebd6,_0x231b95);}['_replaceNode'](_0x3122f7,_0x1c5281){if(!_0x3122f7)return;if(_0x249b43=_0x1c5281,sc(qa(_0x3122f7))===sc(qa(_0x249b43)))return;var _0x249b43;const _0x303c27=Ja(_0x3122f7,'data-id');this['_touchedNodesState']['modifiedIds']['push'](_0x303c27),this['_touchedNodesState']['lastTouchedId']=_0x303c27,Ua(_0x3122f7,_0x1c5281['cloneNode'](!0x0));}['_removeNode'](_0x4a73f1,_0x32b551,_0x2f13d6){if(_0x2f13d6&&_0x2f13d6['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x32b551;const _0x49cdf9=_0x2f13d6['replaceRemovedWith']['cloneNode'](!0x0);tc(_0x49cdf9,'data-id',_0x32b551),tc(_0x49cdf9,'data-removed','true'),Ua(_0x4a73f1,_0x49cdf9);}else Va(_0x4a73f1);}['_findReferenceNode'](_0xf4dc39,_0x13ef3c,_0x3b4d1e){const _0x245f23=this['_findPrevElementWithDataId'](_0xf4dc39,!0x1);if(_0x245f23){const _0x6833f6=xc(_0x245f23),_0x1cb29b=Wa('data-id',_0x6833f6,_0x3b4d1e);if(_0x1cb29b)return[_0x1cb29b,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x6833f6);}const _0x412f45=this['_findNextElementWithDataId'](_0xf4dc39,!0x1);if(_0x412f45){const _0x50dc6f=xc(_0x412f45),_0x3fa3f8=Wa('data-id',_0x50dc6f,_0x3b4d1e);if(_0x3fa3f8)return[_0x3fa3f8,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x50dc6f);}return _0x13ef3c?_0xf4dc39['nextSibling']?this['_findFallbackReferenceNode'](_0xf4dc39,_0x3b4d1e):[_0x3b4d1e['childNodes'][_0x3b4d1e['childNodes']['length']-0x1],'afterend']:[_0x3b4d1e['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x593bc0,_0x532604){const _0x3f42f8=[],_0x1d47b7=this['_findPrevElementWithDataId'](_0x593bc0,!0x0);if(_0x1d47b7){const _0x48ba61=Wa('data-id',xc(_0x1d47b7),_0x532604);_0x48ba61&&_0x3f42f8['push']([_0x48ba61,'afterend']);}const _0x18a30f=this['_findNextElementWithDataId'](_0x593bc0,!0x0);if(_0x18a30f){const _0x19a6ce=Wa('data-id',xc(_0x18a30f),_0x532604);_0x19a6ce&&_0x3f42f8['push']([_0x19a6ce,'beforebegin']);}if(_0x3f42f8['length']>0x1)return nc(_0x3f42f8[0x0][0x0])<=nc(_0x3f42f8[0x1][0x0])?_0x3f42f8[0x0]:_0x3f42f8[0x1];return 0x1===_0x3f42f8['length']?_0x3f42f8[0x0]:[_0x532604['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x33bc9c,_0x1684a6){let _0x5715cf=_0x33bc9c['nextSibling'],_0x2cf4e3=null,_0x27b1d2=!0x1;for(;_0x5715cf;){if(ga(_0x5715cf)){if(kc(_0x5715cf)&&(_0x2cf4e3=_0x5715cf),this['_isExistingContentComment'](_0x5715cf)&&_0x1684a6&&!_0x27b1d2){_0x27b1d2=!0x0,_0x5715cf=_0x5715cf['nextSibling'];continue;}break;}const _0x3f71c5=Ja(_0x5715cf,'data-id');if(_0x3f71c5&&'new-element'!==_0x3f71c5&&this['_existingDataIds']['has'](_0x3f71c5)){_0x2cf4e3=_0x5715cf;break;}_0x5715cf=_0x5715cf['nextSibling'];}return _0x2cf4e3;}['_findPrevElementWithDataId'](_0x281b45,_0xc38c88){let _0x120451=_0x281b45['previousSibling'],_0x5ab4c4=null,_0x3efc42=!0x1;for(;_0x120451;){if(ga(_0x120451)){if(kc(_0x120451)&&(_0x5ab4c4=_0x120451),this['_isExistingContentComment'](_0x120451)&&_0xc38c88&&!_0x3efc42){_0x3efc42=!0x0,_0x120451=_0x120451['previousSibling'];continue;}break;}const _0x47cbde=Ja(_0x120451,'data-id');if(_0x47cbde&&'new-element'!==_0x47cbde&&this['_existingDataIds']['has'](_0x47cbde)){_0x5ab4c4=_0x120451;break;}_0x120451=_0x120451['previousSibling'];}return _0x5ab4c4;}['_markWrappedElements'](_0x4c714d){fa(_0x4c714d)&&za('data-id',null,_0x4c714d)['forEach'](_0x45fa4a=>{this['_isExistingNode'](_0x45fa4a)&&(tc(_0x45fa4a,'data-wrapped-id',Ja(_0x45fa4a,'data-id')),tc(_0x45fa4a,'data-id',null));});}['_processWrappedElements'](_0x284a09,_0x19787f){za('data-wrapped-id',null,_0x284a09)['forEach'](_0x3028e5=>{const _0x1a2e2a=Ja(_0x3028e5,'data-wrapped-id');if(this['_hasUnstableParent'](_0x3028e5))return;const _0x257c53=Wa('data-id',_0x1a2e2a,_0x284a09);tc(_0x3028e5,'data-id',_0x1a2e2a),_0x257c53&&(this['_removeNode'](_0x257c53,_0x1a2e2a,_0x19787f),this['_touchedNodesState']['removedIds']['push'](_0x1a2e2a),this['_touchedNodesState']['lastTouchedId']=_0x1a2e2a);});}['_hasUnstableParent'](_0x12d2f1){let _0x23a7c4=_0x12d2f1['parentNode'];for(;_0x23a7c4;){if(Ja(_0x23a7c4,'data-unstable'))return!0x0;_0x23a7c4=_0x23a7c4['parentNode'];}return!0x1;}['_rescueUnwrappedElements'](_0x2c93a2){const _0x4b21f1=new Set(this['_touchedNodesState']['removedIds']),_0x10d014=new Set(this['_touchedNodesState']['newIds']);za('data-id',null,_0x2c93a2)['forEach'](_0x1bd2e3=>{const _0x999198=Ja(_0x1bd2e3,'data-id'),_0x349a0b=!!_0x999198&&this['_referencedExistingIds']['has'](_0x999198),_0x581d67=!!_0x999198&&_0x10d014['has'](_0x999198);if(!_0x999198||!_0x349a0b&&!_0x581d67)return;if(_0x4b21f1['has'](_0x999198))return;let _0x17fa66=_0x1bd2e3['parentNode'],_0x323647=!0x1;for(;_0x17fa66;){if(_0x17fa66===_0x2c93a2){_0x323647=!0x0;break;}const _0x8214f=Ja(_0x17fa66,'data-id');if(_0x8214f&&(this['_referencedExistingIds']['has'](_0x8214f)||_0x10d014['has'](_0x8214f)))return;_0x17fa66=_0x17fa66['parentNode'];}if(_0x323647){if(Ha(_0x2c93a2,_0x1bd2e3),_0x349a0b){const _0xb49ec7=this['_generateUid'](),_0x46736c=this['_touchedNodesState']['modifiedIds']['indexOf'](_0x999198);-0x1!==_0x46736c&&this['_touchedNodesState']['modifiedIds']['splice'](_0x46736c,0x1),tc(_0x1bd2e3,'data-unwrapped-id',_0x999198),tc(_0x1bd2e3,'data-id',_0xb49ec7),this['_touchedNodesState']['newIds']['push'](_0xb49ec7),this['_touchedNodesState']['rescuedNewIds']['add'](_0xb49ec7),this['_touchedNodesState']['lastTouchedId']=_0xb49ec7;}else this['_touchedNodesState']['rescuedNewIds']['add'](_0x999198),this['_touchedNodesState']['lastTouchedId']=_0x999198;}});}['_getUid'](_0x552e1b){return this['_isExistingNode'](_0x552e1b)?Ja(_0x552e1b,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x12cdff){Ka(_0x12cdff)['filter'](_0x4b8a84=>kc(_0x4b8a84)||this['_isExistingContentComment'](_0x4b8a84))['forEach'](_0x35add3=>{Va(_0x35add3);});}['_findLastConfirmationPoint'](_0x1ad1cf){let _0x5e59f6=null,_0x5e45a4=null,_0x23f756=null,_0x317c17=null;const _0x4283d2=_0x221e25=>{_0x221e25&&(_0x5e59f6=_0x221e25),_0x23f756=null,_0x317c17=null;};for(let _0x2c63f8=0x0;_0x2c63f8<_0x1ad1cf['length'];_0x2c63f8++){const _0x1f844a=_0x1ad1cf[_0x2c63f8];if(this['_isExistingContentComment'](_0x1f844a)){_0x4283d2(_0x5e45a4);continue;}if(fa(_0x1f844a)){const _0x243edc=Ja(_0x1f844a,'data-id'),_0x5a8bd0=_0x2c63f8===_0x1ad1cf['length']-0x1;if(_0x243edc&&'new-element'!==_0x243edc&&this['_touchedNodesState']['modifiedIds']['includes'](_0x243edc)&&!_0x5a8bd0){_0x4283d2(_0x243edc),_0x5e45a4=_0x243edc;continue;}}let _0x1468e1=null;const _0x291bd5=xc(_0x1f844a);if(_0x291bd5&&this['_touchedNodesState']['rescuedNewIds']['has'](_0x291bd5))_0x5e45a4=_0x291bd5;else{if(_0x291bd5&&this['_touchedNodesState']['newIds']['includes'](_0x291bd5))_0x1468e1='N';else{if(!kc(_0x1f844a))continue;_0x1468e1='R';}_0x1468e1===_0x317c17||null===_0x317c17?_0x317c17=_0x1468e1:null!==_0x23f756?(_0x4283d2(_0x5e45a4),_0x317c17=_0x1468e1):(_0x23f756=_0x317c17,_0x317c17=_0x1468e1),_0x5e45a4=_0x291bd5;}}const _0x53a936=_0x1ad1cf[_0x1ad1cf['length']-0x1];return _0x53a936&&!fa(_0x53a936)&&!kc(_0x53a936)&&_0x5e45a4&&_0x4283d2(_0x5e45a4),_0x5e59f6;}['_getLastStableElement'](_0x39863e,_0x419592){if(!_0x419592)return null;const _0xdfb6a=Wa('data-id',_0x419592,_0x39863e);if(!_0xdfb6a)return null;const _0x5b2073=[_0xdfb6a,...ic(_0xdfb6a)]['at'](-0x2);if(_0x5b2073===_0xdfb6a)return _0xdfb6a;let _0x4e8e5d=_0x5b2073['previousSibling'];for(;_0x4e8e5d&&!fa(_0x4e8e5d);)_0x4e8e5d=_0x4e8e5d['previousSibling'];return _0x4e8e5d;}['_markUnstableElements'](_0x37cc42,_0x5b1366){const _0xf37107=new Set([...this['_touchedNodesState']['newIds'],...this['_touchedNodesState']['modifiedIds'],...this['_touchedNodesState']['removedIds']]);let _0x5220f0=_0x5b1366?_0x5b1366['nextSibling']:_0x37cc42['firstChild'];for(;_0x5220f0;){if(fa(_0x5220f0)){const _0x217576=_0xf37107['has'](Ja(_0x5220f0,'data-id'))||za('data-id',null,_0x5220f0)['some'](_0x41c827=>_0xf37107['has'](Ja(_0x41c827,'data-id')));_0x217576&&tc(_0x5220f0,'data-unstable','true');}_0x5220f0=_0x5220f0['nextSibling'];}}['_isNewNode'](_0xe52a6e){return Boolean('new-element'===Ja(_0xe52a6e,'data-id'));}['_isExistingNode'](_0x42515d){return Boolean((Ja(_0x42515d,'data-id')||'')['length']>0x0&&'new-element'!==Ja(_0x42515d,'data-id'));}['_isExistingContentComment'](_0x2c8045){return Boolean(ga(_0x2c8045)&&qa(_0x2c8045)['match'](/\s*existing[\s*-](content|document)\s*/g));}}function kc(_0x306658){return!!_0x306658&&Boolean(ga(_0x306658)&&qa(_0x306658)['match'](/removed[\s*-]data-id="[^"]+"/));}function xc(_0x205035){if(!_0x205035)return null;if(fa(_0x205035))return Ja(_0x205035,'data-id')??null;if(ga(_0x205035)){const _0x52219f=qa(_0x205035)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x52219f&&_0x52219f[0x1])return _0x52219f[0x1];}return null;}function Rc(_0x5beb47,_0x5235a8){const _0x114dc0=new Map();for(const _0x7a6420 of Ya(_0x5beb47))_0x114dc0['set'](Ja(_0x7a6420,'data-id'),_0x7a6420);const _0x3e9991=new Set();for(const _0x1cada7 of Ya(_0x5235a8)){const _0x3837f2=Ja(_0x1cada7,'data-id'),_0x56bacc=_0x3837f2?_0x114dc0['get'](_0x3837f2):void 0x0;_0x56bacc?(Ua(_0x1cada7,wa(_0x56bacc,!0x0)),_0x3e9991['add'](_0x3837f2)):Va(_0x1cada7);}for(const _0x36e1f1 of Ka(_0x5235a8))kc(_0x36e1f1)&&_0x114dc0['has'](xc(_0x36e1f1))&&Va(_0x36e1f1);const _0x39ffa5=new Set(za('data-id',null,_0x5235a8)['map'](_0x27fb1b=>Ja(_0x27fb1b,'data-id')));for(const [_0x445eae,_0xa272de]of _0x114dc0){if(_0x3e9991['has'](_0x445eae))continue;let _0x4bc991=_0xa272de['parent'],_0x156906=null;for(;_0x4bc991&&fa(_0x4bc991);){const _0x1be6f2=Ja(_0x4bc991,'data-id');if(_0x1be6f2&&_0x39ffa5['has'](_0x1be6f2)){_0x156906=_0x1be6f2;break;}_0x4bc991=_0x4bc991['parent'];}if(!_0x156906)continue;const _0x1e47d4=Wa('data-id',_0x156906,_0x5235a8);_0x1e47d4&&Ba(_0x1e47d4,wa(_0xa272de,!0x0));}}class Permissions extends _0x304a5a{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x174e8b,_0x5151de){let _0x315a24;if(_0x5151de||(_0x5151de=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x5151de?_0x315a24=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x315a24=this['context']['editors']['find'](_0x30c046=>_0x30c046['config']['get']('collaboration.channelId')==_0x5151de)),!_0x315a24)throw new _0x522f1f('permissions-set-permissions-invalid-channel-id',null);const _0x48732f=_0x315a24['plugins'],_0x424d5f=_0x48732f['has']('CommentsRepository')?_0x48732f['get']('CommentsRepository'):void 0x0,_0x4ba041=_0x48732f['has']('CommentsOnly')&&_0x48732f['get']('CommentsOnly'),_0x63dfd8=_0x174e8b['includes']('document:write'),_0x135ea6=_0x174e8b['includes']('comment:modify_all'),_0x280e81=_0x174e8b['includes']('comment:admin'),_0x15658d=_0x174e8b['includes']('comment:write'),_0x45b37e=_0x15658d||_0x280e81,_0x24c02c=_0x45b37e||_0x135ea6,_0x41a422=_0x63dfd8||_0x45b37e;(_0x4ba041&&(_0x4ba041['isEnabled']=!_0x63dfd8&&_0x24c02c),_0x315a24 instanceof _0x8aa8ea)&&(!(_0x63dfd8||_0x24c02c&&_0x424d5f)?_0x315a24['enableReadOnlyMode']('no-permissions'):_0x315a24['disableReadOnlyMode']('no-permissions'));if(_0x424d5f){_0x424d5f['setPermissions']({'admin':_0x280e81,'modifyAll':_0x135ea6,'write':_0x15658d,'resolve':_0x41a422},_0x5151de);const _0x106ecf=_0x315a24 instanceof _0x8aa8ea&&_0x315a24['commands']['get']('addCommentThread');_0x106ecf&&(_0x45b37e?_0x106ecf['clearForceDisabled']('noPermissions'):_0x106ecf['forceDisabled']('noPermissions'));}}}function Pc(_0x336ba2,_0x495240){const t=_0x336ba2['t'];switch(_0x495240){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}class Users extends _0x304a5a{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Permissions];}constructor(_0x260c97){super(_0x260c97),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x47a54f(),this['_locale']=_0x260c97['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:_0x153f79,name:_0x37bef6,..._0x83abd4}){if(!_0x153f79||'string'!=typeof _0x153f79)throw new _0x522f1f('users-add-invalid-id');if(this['users']['has'](_0x153f79))throw new _0x522f1f('users-add-duplicated-id',null,{'id':_0x153f79});const _0x10ef08=this['context']['config']['get']('users.getInitialsCallback'),_0x477886={..._0x83abd4,'id':_0x153f79,'name':Nc(this['_locale'],_0x37bef6),'color':this['_getNextColor']()};_0x477886['name']=Nc(this['_locale'],_0x477886['name']);const _0x3926b8=new Mc(_0x477886,_0x10ef08);return this['users']['add'](_0x3926b8),_0x3926b8;}['getUser'](_0x39eecc){return this['users']['get'](_0x39eecc);}['useAnonymousUser'](){const _0x5cdc28=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5cdc28);}['defineMe'](_0x3f5406){if(this['_myId'])throw new _0x522f1f('users-me-already-defined',null);const _0x1f9f41=this['getUser'](_0x3f5406);if(!_0x1f9f41)throw new _0x522f1f('users-me-missing-user',null);this['_myId']=_0x3f5406,_0x1f9f41['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x21be2c=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x21be2c&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4a99ad=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4a99ad,'name':Pc(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let Mc=class User{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x524a88,_0x484bfc){this['id']=_0x524a88['id'],this['color']=_0x524a88['color'],this['name']=_0x524a88['name'],this['initials']=_0x484bfc?_0x484bfc(this['name']):this['_computeInitials'](),this['avatar']=_0x524a88['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x15fab5=this['name']['split']('\x20')['filter'](_0x2c15b9=>/^[\p{Letter}]/u['test'](_0x2c15b9));return 0x1===_0x15fab5['length']?this['_getInitial'](_0x15fab5[0x0]):0x0===_0x15fab5['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x15fab5[0x0])+this['_getInitial'](_0x15fab5[_0x15fab5['length']-0x1]);}['_getInitial'](_0x2b274b){return String['fromCodePoint'](_0x2b274b['codePointAt'](0x0))['toUpperCase']();}};function Nc(_0x59403e,_0x3e0cde=''){return''==(_0x3e0cde=_0x3e0cde['trim']())?Pc(_0x59403e,'Anonymous'):_0x3e0cde;}class CollaborationUserColor{['_id'];constructor(_0x21215e){this['_id']=_0x21215e;}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))';}}class UserView extends _0xa34d16{['name'];['notificationView'];constructor(_0x5417fe,_0x5d65c6,_0x1aded1){super(_0x5417fe),this['name']=_0x5d65c6['name'],this['notificationView']=null;const _0x4ea634=['ck','ck-user'],_0x1b4ed7=['ck','ck-user__img'];if(_0x5d65c6['isAnonymous']&&_0x1b4ed7['push']('ck-user__anonymous'),!_0x5d65c6['isAnonymous']&&_0x5d65c6['isMe']&&_0x4ea634['push']('ck-user_me'),_0x5d65c6['avatar']&&_0x1b4ed7['push']('ck-user__avatar'),_0x1aded1){const _0x5a0971=new _0x468811();_0x5a0971['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x5a0971['content']=_0x509ff5,this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1aded1},'children':[_0x5a0971]};}const _0xb613ab=[{'tag':'div','attributes':{'class':_0x1b4ed7,'style':{'background-image':_0x5d65c6['avatar']?'url(\x27'+_0x5d65c6['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x5d65c6['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x5d65c6['name']},'children':[{'text':_0x5d65c6['initials']}]}];this['notificationView']&&_0xb613ab['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x4ea634,'data-user-id':_0x5d65c6['id']},'children':_0xb613ab});}}class AriaDescriptionView extends _0xa34d16{['id'];constructor(_0x5588fc,_0x30ad1e){super(_0x5588fc),this['id']='ck-aria-description-'+_0x3eda13(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x30ad1e}]});}}class LateFocusButtonView extends _0x4c508c{['render'](){super['render'](),Lc(this);}}class LateFocusDropdownButtonView extends ut{['render'](){super['render'](),Lc(this);}}function Lc(_0x19c512){_0x19c512['listenTo'](_0x19c512['element'],'mousedown',(_0x372b82,_0x5f5887)=>{_0x5f5887['stopPropagation'](),_0x5f5887['preventDefault']();}),_0x19c512['listenTo'](_0x19c512['element'],'mouseup',()=>{_0x19c512['element']['focus']();});}function $c(_0x5897ff){const _0x2c3e6e=_0x5897ff['split'](':');return{'group':_0x2c3e6e[0x0],'type':_0x2c3e6e[0x1],'subType':_0x2c3e6e['length']>=0x5?_0x2c3e6e[0x2]:null,'id':_0x2c3e6e['length']<0x5?_0x2c3e6e[0x2]:_0x2c3e6e[0x3],'authorId':_0x2c3e6e['length']<0x5?_0x2c3e6e[0x3]:_0x2c3e6e[0x4],'markerCount':0x6==_0x2c3e6e['length']?_0x2c3e6e[0x5]:null};}function Dc(_0xc4f0d1,_0xe365b){const _0x5e2734=_0xc4f0d1['end']['nodeBefore'];if(_0x5e2734&&_0x5e2734['is']('element')&&_0xe365b['schema']['isBlock'](_0x5e2734)&&!_0xe365b['schema']['isObject'](_0x5e2734)){const _0x6855e7=_0xe365b['createPositionAt'](_0x5e2734,'end');return _0xe365b['createRange'](_0xc4f0d1['start'],_0x6855e7);}return _0xc4f0d1;}class SuggestionsConversionAlignment extends _0x151d85{['afterInit'](){const _0x219af8=this['editor'];if(!_0x219af8['plugins']['has']('AlignmentEditing'))return;_0x219af8['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const Qc=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x151d85{['afterInit'](){const _0x438a16=this['editor'],_0x555eec=_0x438a16['plugins']['get']('SuggestionsConversion');for(const _0x4c4600 of Qc){if(!_0x438a16['plugins']['has'](_0x4c4600))continue;const _0x5c9073=_0x4c4600['slice'](0x0,-0x7)['toLowerCase']();_0x555eec['registerInlineAttribute'](_0x5c9073);}}}class SuggestionsConversionBookmark extends _0x151d85{['afterInit'](){const _0x327c5c=this['editor'],_0x7c5807=_0x327c5c['plugins']['get']('SuggestionsConversion');_0x327c5c['plugins']['has']('BookmarkEditing')&&_0x7c5807['registerBlockAttribute']('bookmarkId');}}const Vc=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x151d85{['afterInit'](){const _0x52e36d=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x4435e5,commandName:_0x20aca4}of Vc)this['editor']['plugins']['has'](_0x4435e5)&&_0x52e36d['registerInlineAttribute'](_0x20aca4);}}class SuggestionsConversionFootnotes extends _0x151d85{['afterInit'](){const {editor:_0x42d87d}=this;if(!_0x42d87d['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x40804c=_0x42d87d['plugins']['get']('SuggestionsConversion');_0x40804c['registerBlockAttribute']('footnotesListStyle'),_0x40804c['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x151d85{['afterInit'](){const _0x17792d=this['editor'];if(!_0x17792d['plugins']['has']('GeneralHtmlSupport')||!_0x17792d['plugins']['has']('DataSchema'))return;const _0x7a147d=_0x17792d['plugins']['get']('SuggestionsConversion'),_0x47654b=_0x17792d['plugins']['get']('GeneralHtmlSupport'),_0x237dcc=_0x17792d['plugins']['get']('DataSchema');for(const _0x43904e of _0x237dcc['getDefinitionsForView'](/.*/,!0x1)){const _0x23fb59=_0x47654b['getGhsAttributeNameForElement'](_0x43904e['view']);_0x43904e['isInline']&&!_0x43904e['isObject']&&!('appliesToBlock'in _0x43904e&&_0x43904e['appliesToBlock'])?_0x7a147d['registerInlineAttribute'](_0x23fb59):_0x7a147d['registerBlockAttribute'](_0x23fb59);}}}class SuggestionsConversionHighlight extends _0x151d85{['afterInit'](){const _0x3ce50f=this['editor'];if(!_0x3ce50f['plugins']['has']('HighlightEditing'))return;_0x3ce50f['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x151d85{['afterInit'](){const _0x19bd18=this['editor'];if(!_0x19bd18['plugins']['has']('HtmlEmbed'))return;_0x19bd18['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x151d85{['afterInit'](){const _0x22bf9c=this['editor'];if(!_0x22bf9c['plugins']['has']('ImageEditing'))return;const _0x1e820c=_0x22bf9c['plugins']['get']('SuggestionsConversion');_0x1e820c['registerBlockAttribute']('src'),_0x22bf9c['plugins']['has']('ImageResize')&&_0x1e820c['registerBlockAttribute']('resizedWidth'),_0x22bf9c['plugins']['has']('ImageTextAlternativeEditing')&&_0x1e820c['registerBlockAttribute']('alt'),_0x22bf9c['plugins']['has']('PictureEditing')&&_0x1e820c['registerBlockAttribute']('sources'),_0x22bf9c['plugins']['has']('ImageSizeAttributes')&&(_0x1e820c['registerBlockAttribute']('width'),_0x1e820c['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x151d85{['afterInit'](){const _0x3084c1=this['editor'],_0x283155=_0x3084c1['plugins']['get']('SuggestionsConversion');_0x3084c1['plugins']['has']('IndentBlock')&&(_0x283155['registerBlockAttribute']('blockIndent'),_0x3084c1['plugins']['has']('ListEditing')&&(_0x283155['registerBlockAttribute']('blockIndentList'),_0x283155['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x151d85{['afterInit'](){const _0x268dcc=this['editor'];if(!_0x268dcc['plugins']['has']('LineHeight'))return;_0x268dcc['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x151d85{['afterInit'](){const _0x4402cf=this['editor'];if(!_0x4402cf['plugins']['has']('LinkEditing'))return;const _0x247d61=_0x4402cf['plugins']['get']('SuggestionsConversion'),_0x463b05=_0x4402cf['commands']['get']('link');_0x247d61['registerInlineAttribute']('linkHref');for(const _0x3b9737 of _0x463b05['manualDecorators'])_0x247d61['registerInlineAttribute'](_0x3b9737['id']);}}class SuggestionsConversionList extends _0x151d85{['afterInit'](){const _0xe7930a=this['editor'];if(!_0xe7930a['plugins']['has']('ListEditing'))return;const _0x1df60c=_0xe7930a['plugins']['get']('SuggestionsConversion'),_0x1e6288=_0xe7930a['plugins']['has']('TodoListEditing');_0x1df60c['registerBlockAttribute']('listItemId'),_0x1df60c['registerBlockAttribute']('listType'),_0x1df60c['registerBlockAttribute']('listIndent'),_0x1e6288&&_0x1df60c['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x151d85{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x1f16d3=this['editor']['config']['get']('list.properties'),_0x49e67c=this['editor']['plugins']['get']('SuggestionsConversion');_0x1f16d3['styles']&&_0x49e67c['registerBlockAttribute']('listStyle'),_0x1f16d3['reversed']&&_0x49e67c['registerBlockAttribute']('listReversed'),_0x1f16d3['startIndex']&&_0x49e67c['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x151d85{['afterInit'](){const _0x307fc9=this['editor'],_0x23318b=_0x307fc9['plugins']['get']('SuggestionsConversion');_0x307fc9['plugins']['has']('MultiLevelList')&&_0x23318b['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x151d85{['afterInit'](){const _0x3b591a=this['editor'];if(!_0x3b591a['plugins']['has']('TableEditing'))return;const _0x3e9711=_0x3b591a['plugins']['get']('SuggestionsConversion');_0x3e9711['registerBlockAttribute']('headingRows'),_0x3e9711['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x151d85{['afterInit'](){const {plugins:_0x3fca87}=this['editor'];if(!_0x3fca87['has']('TablePropertiesEditing'))return;const _0x56387b=_0x3fca87['get']('SuggestionsConversion'),_0x2124e7=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x27137b of _0x2124e7)_0x56387b['registerBlockAttribute'](_0x27137b);}}class SuggestionsConversionTableLayout extends _0x151d85{['afterInit'](){const _0x5f03c4=this['editor'],_0x21cbe4=_0x5f03c4['plugins']['get']('SuggestionsConversion');_0x5f03c4['plugins']['has']('TableLayout')&&_0x21cbe4['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x151d85{['afterInit'](){const _0x193560=this['editor'],_0x364566=this['editor']['plugins']['get']('SuggestionsConversion');_0x193560['plugins']['has']('Uploadcare')&&_0x193560['plugins']['has']('UploadcareImageEdit')&&_0x364566['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x151d85{['afterInit'](){const _0x99054e=this['editor'];if(!_0x99054e['plugins']['has']('ShiftEnter'))return;const _0xe25694=_0x99054e['plugins']['get']('SuggestionsConversion'),_0x42bc71=(_0x1372c9,_0x216505,_0x42e2b9,_0x459633)=>{if(_0x459633&&!_0x42e2b9['options']['showSuggestionHighlights'])return;if(!_0x42e2b9['consumable']['test'](_0x216505['markerRange'],_0x1372c9['name']))return;const _0x4386db=_0x99054e['model'];for(const _0x2e27f8 of _0x216505['markerRange']['getItems']()){if(!_0x2e27f8['is']('element','softBreak'))continue;const _0x3cec5d='deletion'==_0x216505['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x14afe7,authorId:_0x2afbf2}=$c(_0x216505['markerName']),_0x433f13=_0x42e2b9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3cec5d,'data-suggestion':_0x14afe7,'data-author-id':_0x2afbf2}),_0x17c19=_0x42e2b9['mapper']['toViewPosition'](_0x4386db['createPositionBefore'](_0x2e27f8));!_0x459633&&_0xe25694['_activeMarkers']['includes'](_0x216505['markerName'])&&_0x42e2b9['writer']['addClass']('ck-suggestion-marker--active',_0x433f13),_0x42e2b9['writer']['insert'](_0x17c19,_0x433f13),_0x42e2b9['mapper']['bindElementToMarker'](_0x433f13,_0x216505['markerName']);}};_0x99054e['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x316994,_0x1ad969,_0x44e3b3)=>{_0x42bc71(_0x316994,_0x1ad969,_0x44e3b3,!0x1);},{'priority':'high'}),_0x99054e['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x547238,_0x20ef69,_0x569d4f)=>{_0x42bc71(_0x547238,_0x20ef69,_0x569d4f,!0x1);},{'priority':'high'}),_0x99054e['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x2d5955,_0x5d5451,_0x480596)=>{_0x42bc71(_0x2d5955,_0x5d5451,_0x480596,!0x0);},{'priority':'high'}),_0x99054e['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3c3848,_0xa1837f,_0x32abe5)=>{_0x42bc71(_0x3c3848,_0xa1837f,_0x32abe5,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x151d85{['afterInit'](){const _0x2514f6=this['editor'];if(!_0x2514f6['plugins']['has']('MediaEmbedEditing'))return;const _0x30536b=_0x2514f6['plugins']['get']('SuggestionsConversion');_0x2514f6['plugins']['has']('MediaEmbedResizeEditing')&&_0x30536b['registerBlockAttribute']('resizedWidth'),_0x2514f6['plugins']['has']('MediaEmbedStyleEditing')&&_0x30536b['registerBlockAttribute']('mediaStyle'),_0x2514f6['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x243acc,{writer:_0x280c6a,options:_0x21b512})=>{if(_0x21b512['showSuggestionHighlights'])return _0x280c6a['createEmptyElement']('div');},'converterPriority':'high'}),_0x2514f6['data']['downcastDispatcher']['on']('attribute:url:media',(_0x480a92,_0x36c93c,_0x419f68)=>{_0x419f68['options']['showSuggestionHighlights']&&_0x480a92['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x151d85{['afterInit'](){const _0x2f413a=this['editor'];if(!_0x2f413a['plugins']['has']('Table'))return;_0x2f413a['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x21eaa4,_0x223170,_0x4ff804)=>{((_0x31df9c,_0x52aa4f,_0x25e1d9)=>{if(!_0x25e1d9['options']['showSuggestionHighlights'])return;const _0x5ab9e9=_0x52aa4f['item'];if(!_0x5ab9e9||!_0x5ab9e9['is']('element','tableCell'))return;const _0xb100dc=_0x25e1d9['mapper']['toViewElement'](_0x5ab9e9);if(_0xb100dc){const {id:_0x504455,authorId:_0x4e3dc0}=$c(_0x52aa4f['markerName']);_0x521476(_0xb100dc,_0x25e1d9['writer'],(_0x2f1424,_0x39d7fd,_0x353853)=>{_0x353853['addClass'](_0x3920f6(_0x39d7fd['classes']),_0x2f1424),_0x353853['setAttribute']('data-suggestion',_0x504455,_0x2f1424),_0x353853['setAttribute']('data-author-id',_0x4e3dc0,_0x2f1424);});}})(0x0,_0x223170,_0x4ff804);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x151d85{['afterInit'](){const _0x229c38=this['editor'];_0x229c38['plugins']['has']('HorizontalLineEditing')&&_0x229c38['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x94673,{writer:_0x3b717c,options:_0x40ef08})=>{if(!_0x40ef08['showSuggestionHighlights'])return null;const _0x58fab1=_0x3b717c['createContainerElement']('div'),_0x3568e6=_0x3b717c['createEmptyElement']('hr');return _0x3b717c['addClass']('ck-horizontal-line',_0x58fab1),_0x3b717c['insert'](_0x3b717c['createPositionAt'](_0x58fab1,0x0),_0x3568e6),_0x58fab1;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x151d85{['afterInit'](){const {plugins:_0xaad9cc,model:_0x4611cb}=this['editor'];if(!_0xaad9cc['has']('TableCellPropertiesEditing'))return;const _0x28601b=_0xaad9cc['get']('SuggestionsConversion'),_0xfc0f0e=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x165722 of _0xfc0f0e)_0x28601b['registerBlockAttribute'](_0x165722);_0x4611cb['schema']['checkAttribute']('tableCell','tableCellType')&&_0x28601b['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x151d85{['afterInit'](){const _0x24de0a=this['editor'];if(!_0x24de0a['plugins']['has']('TableEditing')||!_0x24de0a['config']['get']('table.enableFooters'))return;_0x24de0a['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x151d85{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionGeneralHtmlSupport,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x474e66=this['editor'],_0x47f84=(_0x700ab8,_0x36c6e5,_0x3622d1)=>{const {id:_0x198ebf,authorId:_0x21cb97,type:_0x26f283,subType:_0x5d9f4a}=$c(_0x700ab8['markerName']),_0x4d695a=['ck-suggestion-marker',this['_getClassName'](_0x26f283,_0x5d9f4a)];let _0x13bfee=0xbb8;return!_0x3622d1&&(this['_activeMarkers']['includes'](_0x700ab8['markerName'])&&(_0x4d695a['push']('ck-suggestion-marker--active'),_0x13bfee=0xbc2)),('deletion'==_0x26f283&&(_0x13bfee+=0x5),{'classes':_0x4d695a,'attributes':{'data-suggestion':_0x198ebf,'data-author-id':_0x21cb97},'priority':_0x13bfee});};_0x474e66['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x54916b,_0x25a39c)=>_0x47f84(_0x54916b,0x0,!0x1)}),_0x474e66['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0xbff18a,_0x5d474c)=>_0x47f84(_0xbff18a,0x0,!0x0)}),_0x474e66['conversion']['for']('dataDowncast')['add'](_0x27fda5=>{_0x27fda5['on']('addMarker:suggestion',(_0x1e924c,_0x18d512,_0x1676d8)=>{if(!_0x1676d8['options']['showSuggestionHighlights'])return;const _0x1a82f6=_0x18d512['item'];if(!_0x1a82f6)return;const _0x48be88=_0x1676d8['mapper']['toViewElement'](_0x1a82f6);_0x474e66['model']['schema']['isObject'](_0x1a82f6)&&_0x48be88&&!_0x48be88['getCustomProperty']('widget')&&_0x48be88['is']('containerElement')&&_0x42fba9(_0x48be88,_0x1676d8['writer']);},{'priority':'high'});});const _0x26faac=(_0x455b9a,_0x4eb5fc,_0x562f3c,_0x3fa73a,_0x4e2391)=>{if(_0x3fa73a&&!_0x562f3c['options']['showSuggestionHighlights'])return;if(!_0x4eb5fc['item'])return;const {id:_0xd4c61b,authorId:_0x2a1f80,subType:_0x4a36ca}=$c(_0x4eb5fc['markerName']);if(_0x4e2391){const _0x4f91a5=_0x4a36ca['split']('|')[0x0];if(!this['isBlockAttribute'](_0x4f91a5))return;}if(_0x4eb5fc['item']['is']('selection'))return void _0x562f3c['consumable']['consume'](_0x4eb5fc['item'],_0x455b9a['name']);const _0x258393=_0x562f3c['mapper']['toViewElement'](_0x4eb5fc['item']);if(_0x4eb5fc['item']['is']('element')&&_0x474e66['model']['schema']['isBlock'](_0x4eb5fc['item'])&&!_0x258393['getCustomProperty']('addHighlight')){_0x562f3c['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x258393),_0x562f3c['writer']['setAttribute']('data-suggestion',_0xd4c61b,_0x258393),_0x562f3c['writer']['setAttribute']('data-author-id',_0x2a1f80,_0x258393),_0x562f3c['mapper']['bindElementToMarker'](_0x258393,_0x4eb5fc['markerName']),_0x3fa73a||(this['_activeMarkers']['includes'](_0x4eb5fc['markerName'])?_0x562f3c['writer']['addClass']('ck-suggestion-marker--active',_0x258393):_0x562f3c['writer']['removeClass']('ck-suggestion-marker--active',_0x258393));for(const _0x41f846 of _0x474e66['model']['createRangeIn'](_0x4eb5fc['item'])['getItems']())_0x562f3c['consumable']['consume'](_0x41f846,_0x455b9a['name']);_0x562f3c['consumable']['consume'](_0x4eb5fc['item'],_0x455b9a['name']);}},_0x39e64b=(_0x1a6413,_0x2566eb,_0x373272,_0x2349ab)=>{const _0x281745=_0x373272['mapper']['markerNameToElements'](_0x2566eb['markerName']);if(_0x281745){if(_0x2349ab){const {subType:_0x34764e}=$c(_0x2566eb['markerName']),_0x1f0b6e=_0x34764e['split']('|')[0x0];if(!this['isBlockAttribute'](_0x1f0b6e))return;}for(const _0x337fe8 of _0x281745)_0x337fe8['getCustomProperty']('addHighlight')||(_0x373272['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x337fe8),_0x373272['writer']['removeAttribute']('data-suggestion',_0x337fe8),_0x373272['writer']['removeAttribute']('data-author-id',_0x337fe8),_0x373272['mapper']['unbindElementFromMarkerName'](_0x337fe8,_0x2566eb['markerName']));}};_0x474e66['conversion']['for']('editingDowncast')['add'](_0x34ba9c=>{_0x34ba9c['on']('addMarker:suggestion:formatBlock',(_0x1e262b,_0x207782,_0xe5df2d)=>{_0x26faac(_0x1e262b,_0x207782,_0xe5df2d,!0x1,!0x1);},{'priority':'high'});}),_0x474e66['conversion']['for']('editingDowncast')['add'](_0x258449=>{_0x258449['on']('addMarker:suggestion:attribute',(_0x69254c,_0x5e44f9,_0x49816c)=>{_0x26faac(_0x69254c,_0x5e44f9,_0x49816c,!0x1,!0x0);},{'priority':'high'});}),_0x474e66['conversion']['for']('editingDowncast')['add'](_0x58a9ee=>{_0x58a9ee['on']('removeMarker:suggestion:formatBlock',(_0x1ef105,_0x563db9,_0xfbdcfe)=>{_0x39e64b(0x0,_0x563db9,_0xfbdcfe,!0x1);},{'priority':'high'});}),_0x474e66['conversion']['for']('editingDowncast')['add'](_0x3962bc=>{_0x3962bc['on']('removeMarker:suggestion:attribute',(_0x5172ac,_0x2a2516,_0x5604ca)=>{_0x39e64b(0x0,_0x2a2516,_0x5604ca,!0x0);},{'priority':'high'});}),_0x474e66['conversion']['for']('dataDowncast')['add'](_0x1e038c=>{_0x1e038c['on']('addMarker:suggestion:formatBlock',(_0x5d2c71,_0x4c6435,_0x451e22)=>{_0x26faac(_0x5d2c71,_0x4c6435,_0x451e22,!0x0,!0x1);},{'priority':'highest'});}),_0x474e66['conversion']['for']('dataDowncast')['add'](_0x457469=>{_0x457469['on']('addMarker:suggestion:attribute',(_0x3f4a0c,_0x292858,_0x1377f0)=>{_0x26faac(_0x3f4a0c,_0x292858,_0x1377f0,!0x0,!0x0);},{'priority':'highest'});}),_0x474e66['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x2b278b,_0x68eb52)=>_0x68eb52['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x2b278b['substr'](0xb)}});const _0x1405de=(_0x502563,_0x458ebc,_0x5d667b,_0x176065,_0x444b4b)=>{if(_0x176065&&!_0x5d667b['options']['showSuggestionHighlights'])return;if(!_0x5d667b['consumable']['test'](_0x458ebc['markerRange'],_0x502563['name']))return;const _0x5b0c95=this['_activeMarkers'],_0xe6cea2=_0x458ebc['markerRange']['getWalker'](),_0x550eaa=_0x458ebc['markerRange']['start'],_0x5e7779=_0x474e66['model']['schema'];let _0x32c043=null,_0x2ec899=null,_0x46e302=!0x1,_0x217955=!0x1;for(const _0x42b398 of _0xe6cea2){const _0x402ab1=_0x42b398['item'];_0x46e302=_0x46e302||_0x5e7779['isContent'](_0x402ab1);const _0x4990e7=_0x5d667b['mapper']['toViewElement'](_0x402ab1);if(_0x4990e7&&_0x4990e7['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x42b398['type']&&(_0x5e7779['isBlock'](_0x402ab1)&&!_0x5e7779['isLimit'](_0x402ab1)&&(_0x402ab1['nextSibling']||_0x550eaa['isAtEnd']?_0x32c043&&_0x32c043['parent']==_0x402ab1||(_0x32c043=_0x402ab1,_0x1b6c92(_0x42b398['previousPosition']),_0x217955=!0x0):_0x2ec899=_0x2ec899||_0x42b398['previousPosition']));}function _0x1b6c92(_0x37df6f){const {id:_0x1d02cf,authorId:_0x1df726}=$c(_0x458ebc['markerName']),_0x3e3e88=_0x5d667b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x444b4b,'data-suggestion':_0x1d02cf,'data-author-id':_0x1df726}),_0x376a4f=_0x5d667b['mapper']['toViewPosition'](_0x37df6f);!_0x176065&&_0x5b0c95['includes'](_0x458ebc['markerName'])&&_0x5d667b['writer']['addClass']('ck-suggestion-marker--active',_0x3e3e88),_0x5d667b['writer']['insert'](_0x376a4f,_0x3e3e88),_0x5d667b['mapper']['bindElementToMarker'](_0x3e3e88,_0x458ebc['markerName']);}_0x46e302||_0x217955||!_0x2ec899||_0x1b6c92(_0x2ec899);};_0x474e66['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x12d8ee,_0x3d57e2,_0x491e79)=>{_0x1405de(_0x12d8ee,_0x3d57e2,_0x491e79,!0x1,'merge');},{'priority':'high'}),_0x474e66['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x47640f,_0x5bf2f6,_0x232497)=>{_0x1405de(_0x47640f,_0x5bf2f6,_0x232497,!0x0,'merge');},{'priority':'high'}),_0x474e66['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5df8f0,_0x137a54,_0x5ae814)=>{_0x1405de(_0x5df8f0,_0x137a54,_0x5ae814,!0x1,'split');},{'priority':'high'}),_0x474e66['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x48cea4,_0x5c0c3e,_0x5f2abf)=>{_0x1405de(_0x48cea4,_0x5c0c3e,_0x5f2abf,!0x0,'split');},{'priority':'high'}),_0x474e66['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0xa34ff2,_0x3916bb,_0x4db231)=>{((_0x399a0e,_0x45e1b3,_0x23393b)=>{const _0x16dc4d=_0x23393b['mapper']['markerNameToElements'](_0x45e1b3['markerName']);if(_0x16dc4d){for(const _0x501172 of _0x16dc4d)(_0x501172['hasClass']('ck-suggestion-marker-split')||_0x501172['hasClass']('ck-suggestion-marker-merge'))&&(_0x23393b['mapper']['unbindElementFromMarkerName'](_0x501172,_0x45e1b3['markerName']),_0x23393b['writer']['remove'](_0x501172));}})(0x0,_0x3916bb,_0x4db231);},{'priority':'high'});const _0x27ddb1=(_0x147e94,_0x4aad69,_0x562d22,_0x3b11cf)=>{if(_0x3b11cf&&!_0x562d22['options']['showSuggestionHighlights'])return;const _0x2e3397=_0x4aad69['markerRange']['start'],_0x58747e=_0x4aad69['markerRange']['end'],_0x56a65f=_0x474e66['model']['schema'];if(!_0x2e3397['isTouching'](_0x58747e)||!_0x2e3397['nodeAfter'])return;const _0x4f6354=_0x2e3397['nodeAfter'];if(_0x56a65f['isBlock'](_0x4f6354)&&!_0x56a65f['isLimit'](_0x4f6354)&&_0x56a65f['checkChild'](_0x4f6354,'$text')){if(!_0x562d22['consumable']['consume'](_0x4aad69['markerRange'],_0x147e94['name']))return;const {id:_0x578a6d,authorId:_0x3b54c4}=$c(_0x4aad69['markerName']),_0x3d94e7=_0x562d22['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x578a6d,'data-author-id':_0x3b54c4}),_0x3dd53f=_0x562d22['mapper']['toViewPosition'](_0x58747e);!_0x3b11cf&&this['_activeMarkers']['includes'](_0x4aad69['markerName'])&&_0x562d22['writer']['addClass']('ck-suggestion-marker--active',_0x3d94e7),_0x562d22['writer']['insert'](_0x3dd53f,_0x3d94e7),_0x562d22['mapper']['bindElementToMarker'](_0x3d94e7,_0x4aad69['markerName']);}};_0x474e66['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3560f9,_0x457862,_0x396f4d)=>{_0x27ddb1(_0x3560f9,_0x457862,_0x396f4d,!0x1);},{'priority':'high'}),_0x474e66['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x39ef3e,_0x5649ea,_0x4fd0c6)=>{_0x27ddb1(_0x39ef3e,_0x5649ea,_0x4fd0c6,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4b8936,_0x149114,_0x146246)=>{this['_activeMarkers']=_0x146246['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x26eca0){this['_blockAttributeKeys']['add'](_0x26eca0);}['registerInlineAttribute'](_0x472c1b){this['_inlineAttributeKeys']['add'](_0x472c1b);}['isBlockAttribute'](_0x3de598){return this['_blockAttributeKeys']['has'](_0x3de598);}['isInlineAttribute'](_0x625ee0){return this['_inlineAttributeKeys']['has'](_0x625ee0);}['isRegisteredAttribute'](_0x54f9ad){return this['isInlineAttribute'](_0x54f9ad)||this['isBlockAttribute'](_0x54f9ad);}['_getClassName'](_0x2f75da,_0x338764){if('attribute'!=_0x2f75da)return'ck-suggestion-marker-'+_0x2f75da;const _0x323a81=_0x338764['split']('|')[0x0];return this['isBlockAttribute'](_0x323a81)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(_0x1e0db7){super('Invalid\x20DateTime:\x20'+_0x1e0db7['toMessage']());}}class InvalidIntervalError extends LuxonError{constructor(_0x248e1b){super('Invalid\x20Interval:\x20'+_0x248e1b['toMessage']());}}class InvalidDurationError extends LuxonError{constructor(_0x4e7774){super('Invalid\x20Duration:\x20'+_0x4e7774['toMessage']());}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(_0x5dfe0b){super('Invalid\x20unit\x20'+_0x5dfe0b);}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const Uc='numeric',Bc='short',Fc='long',jc={'year':Uc,'month':Uc,'day':Uc},Hc={'year':Uc,'month':Bc,'day':Uc},Gc={'year':Uc,'month':Bc,'day':Uc,'weekday':Bc},Zc={'year':Uc,'month':Fc,'day':Uc},Xc={'year':Uc,'month':Fc,'day':Uc,'weekday':Fc},qc={'hour':Uc,'minute':Uc},Wc={'hour':Uc,'minute':Uc,'second':Uc},zc={'hour':Uc,'minute':Uc,'second':Uc,'timeZoneName':Bc},Yc={'hour':Uc,'minute':Uc,'second':Uc,'timeZoneName':Fc},Kc={'hour':Uc,'minute':Uc,'hourCycle':'h23'},Jc={'hour':Uc,'minute':Uc,'second':Uc,'hourCycle':'h23'},tl={'hour':Uc,'minute':Uc,'second':Uc,'hourCycle':'h23','timeZoneName':Bc},el={'hour':Uc,'minute':Uc,'second':Uc,'hourCycle':'h23','timeZoneName':Fc},il={'year':Uc,'month':Uc,'day':Uc,'hour':Uc,'minute':Uc},sl={'year':Uc,'month':Uc,'day':Uc,'hour':Uc,'minute':Uc,'second':Uc},nl={'year':Uc,'month':Bc,'day':Uc,'hour':Uc,'minute':Uc},rl={'year':Uc,'month':Bc,'day':Uc,'hour':Uc,'minute':Uc,'second':Uc},ol={'year':Uc,'month':Bc,'day':Uc,'weekday':Bc,'hour':Uc,'minute':Uc},al={'year':Uc,'month':Fc,'day':Uc,'hour':Uc,'minute':Uc,'timeZoneName':Bc},cl={'year':Uc,'month':Fc,'day':Uc,'hour':Uc,'minute':Uc,'second':Uc,'timeZoneName':Bc},ll={'year':Uc,'month':Fc,'day':Uc,'weekday':Fc,'hour':Uc,'minute':Uc,'timeZoneName':Fc},hl={'year':Uc,'month':Fc,'day':Uc,'weekday':Fc,'hour':Uc,'minute':Uc,'second':Uc,'timeZoneName':Fc};class Zone{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x5d1b34,_0x1b60b8){throw new ZoneIsAbstractError();}['formatOffset'](_0x2c82a9,_0x5e8f99){throw new ZoneIsAbstractError();}['offset'](_0x45ba64){throw new ZoneIsAbstractError();}['equals'](_0x3f3b7f){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let ul=null;class SystemZone extends Zone{static get['instance'](){return null===ul&&(ul=new SystemZone()),ul;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x324eb3,{format:_0x54579b,locale:_0xf93f87}){return _h(_0x324eb3,_0x54579b,_0xf93f87);}['formatOffset'](_0x5991a9,_0x337def){return Ih(this['offset'](_0x5991a9),_0x337def);}['offset'](_0x50855d){return-new Date(_0x50855d)['getTimezoneOffset']();}['equals'](_0xb7f0e5){return'system'===_0xb7f0e5['type'];}get['isValid'](){return!0x0;}}const dl=new Map(),fl={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},ml=new Map();class IANAZone extends Zone{static['create'](_0x4f3f82){let _0x2bb7f8=ml['get'](_0x4f3f82);return void 0x0===_0x2bb7f8&&ml['set'](_0x4f3f82,_0x2bb7f8=new IANAZone(_0x4f3f82)),_0x2bb7f8;}static['resetCache'](){ml['clear'](),dl['clear']();}static['isValidSpecifier'](_0x3740a0){return this['isValidZone'](_0x3740a0);}static['isValidZone'](_0x5ca130){if(!_0x5ca130)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x5ca130})['format'](),!0x0;}catch(_0x3e0874){return!0x1;}}constructor(_0x3c9e4d){super(),this['zoneName']=_0x3c9e4d,this['valid']=IANAZone['isValidZone'](_0x3c9e4d);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x594520,{format:_0x1586d1,locale:_0x266552}){return _h(_0x594520,_0x1586d1,_0x266552,this['name']);}['formatOffset'](_0x509bff,_0x40d51a){return Ih(this['offset'](_0x509bff),_0x40d51a);}['offset'](_0x5b34ff){if(!this['valid'])return NaN;const _0x96e88=new Date(_0x5b34ff);if(isNaN(_0x96e88))return NaN;const _0x3e3d2f=function(_0x4247f6){let _0x258104=dl['get'](_0x4247f6);return void 0x0===_0x258104&&(_0x258104=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x4247f6,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),dl['set'](_0x4247f6,_0x258104)),_0x258104;}(this['name']);let [_0x484742,_0x24e572,_0x3700a3,_0x53187c,_0x5bafc7,_0x48bb08,_0x126f0e]=_0x3e3d2f['formatToParts']?function(_0x4ed35e,_0x3ddb66){const _0x26e14f=_0x4ed35e['formatToParts'](_0x3ddb66),_0x55585f=[];for(let _0x432a61=0x0;_0x432a61<_0x26e14f['length'];_0x432a61++){const {type:_0x3d5050,value:_0x1feeca}=_0x26e14f[_0x432a61],_0x30d656=fl[_0x3d5050];'era'===_0x3d5050?_0x55585f[_0x30d656]=_0x1feeca:eh(_0x30d656)||(_0x55585f[_0x30d656]=parseInt(_0x1feeca,0xa));}return _0x55585f;}(_0x3e3d2f,_0x96e88):function(_0xfc82c9,_0x425fac){const _0x4c53f2=_0xfc82c9['format'](_0x425fac)['replace'](/\u200E/g,''),_0x54f2ab=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x4c53f2),[,_0x286160,_0x5bac0e,_0x183d38,_0x1bda3e,_0x1309fd,_0x3e4f2c,_0x39d1b2]=_0x54f2ab;return[_0x183d38,_0x286160,_0x5bac0e,_0x1bda3e,_0x1309fd,_0x3e4f2c,_0x39d1b2];}(_0x3e3d2f,_0x96e88);'BC'===_0x53187c&&(_0x484742=0x1-Math['abs'](_0x484742));let _0x3c24d1=+_0x96e88;const _0x5d5147=_0x3c24d1%0x3e8;return _0x3c24d1-=_0x5d5147>=0x0?_0x5d5147:0x3e8+_0x5d5147,(wh({'year':_0x484742,'month':_0x24e572,'day':_0x3700a3,'hour':0x18===_0x5bafc7?0x0:_0x5bafc7,'minute':_0x48bb08,'second':_0x126f0e,'millisecond':0x0})-_0x3c24d1)/0xea60;}['equals'](_0x3255b4){return'iana'===_0x3255b4['type']&&_0x3255b4['name']===this['name'];}get['isValid'](){return this['valid'];}}let gl={};const pl=new Map();function Ol(_0x527b43,_0x5b8bce={}){const _0x61436f=JSON['stringify']([_0x527b43,_0x5b8bce]);let _0x456927=pl['get'](_0x61436f);return void 0x0===_0x456927&&(_0x456927=new Intl['DateTimeFormat'](_0x527b43,_0x5b8bce),pl['set'](_0x61436f,_0x456927)),_0x456927;}const wl=new Map(),bl=new Map();let yl=null;const vl=new Map();function _l(_0x426225){let _0x22f6dc=vl['get'](_0x426225);return void 0x0===_0x22f6dc&&(_0x22f6dc=new Intl['DateTimeFormat'](_0x426225)['resolvedOptions'](),vl['set'](_0x426225,_0x22f6dc)),_0x22f6dc;}const El=new Map();function Tl(_0x46aa8c,_0x3d3280,_0xb4d3c5,_0x1c78b5){const _0x2725e3=_0x46aa8c['listingMode']();return'error'===_0x2725e3?null:'en'===_0x2725e3?_0xb4d3c5(_0x3d3280):_0x1c78b5(_0x3d3280);}class PolyNumberFormatter{constructor(_0x2ec264,_0x4bb1e1,_0x129df0){this['padTo']=_0x129df0['padTo']||0x0,this['floor']=_0x129df0['floor']||!0x1;const {padTo:_0x42069e,floor:_0x49c606,..._0x3e5806}=_0x129df0;if(!_0x4bb1e1||Object['keys'](_0x3e5806)['length']>0x0){const _0x1bbdce={'useGrouping':!0x1,..._0x129df0};_0x129df0['padTo']>0x0&&(_0x1bbdce['minimumIntegerDigits']=_0x129df0['padTo']),this['inf']=function(_0x42eb7a,_0xecc2d0={}){const _0x4704bb=JSON['stringify']([_0x42eb7a,_0xecc2d0]);let _0x36a930=wl['get'](_0x4704bb);return void 0x0===_0x36a930&&(_0x36a930=new Intl['NumberFormat'](_0x42eb7a,_0xecc2d0),wl['set'](_0x4704bb,_0x36a930)),_0x36a930;}(_0x2ec264,_0x1bbdce);}}['format'](_0x30a0db){if(this['inf']){const _0x2067fa=this['floor']?Math['floor'](_0x30a0db):_0x30a0db;return this['inf']['format'](_0x2067fa);}return hh(this['floor']?Math['floor'](_0x30a0db):mh(_0x30a0db,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x17f109,_0x1aa08b,_0x255118){let _0x1d8d3c;if(this['opts']=_0x255118,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x17f109;else{if('fixed'===_0x17f109['zone']['type']){const _0x13326a=_0x17f109['offset']/0x3c*-0x1,_0x4d09fb=_0x13326a>=0x0?'Etc/GMT+'+_0x13326a:'Etc/GMT'+_0x13326a;0x0!==_0x17f109['offset']&&IANAZone['create'](_0x4d09fb)['valid']?(_0x1d8d3c=_0x4d09fb,this['dt']=_0x17f109):(_0x1d8d3c='UTC',this['dt']=0x0===_0x17f109['offset']?_0x17f109:_0x17f109['setZone']('UTC')['plus']({'minutes':_0x17f109['offset']}),this['originalZone']=_0x17f109['zone']);}else'system'===_0x17f109['zone']['type']?this['dt']=_0x17f109:'iana'===_0x17f109['zone']['type']?(this['dt']=_0x17f109,_0x1d8d3c=_0x17f109['zone']['name']):(_0x1d8d3c='UTC',this['dt']=_0x17f109['setZone']('UTC')['plus']({'minutes':_0x17f109['offset']}),this['originalZone']=_0x17f109['zone']);}const _0x423736={...this['opts']};_0x423736['timeZone']=_0x423736['timeZone']||_0x1d8d3c,this['dtf']=Ol(_0x1aa08b,_0x423736);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x2c1f9c})=>_0x2c1f9c)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x3f9e87=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x3f9e87['map'](_0x35b048=>{if('timeZoneName'===_0x35b048['type']){const _0x45f37e=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x35b048,'value':_0x45f37e};}return _0x35b048;}):_0x3f9e87;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x18593f,_0x3bf6df,_0xc57774){this['opts']={'style':'long',..._0xc57774},!_0x3bf6df&&nh()&&(this['rtf']=function(_0x1bb461,_0x3a84aa={}){const {base:_0x58b8b1,..._0x4f93e6}=_0x3a84aa,_0x501e70=JSON['stringify']([_0x1bb461,_0x4f93e6]);let _0x59facb=bl['get'](_0x501e70);return void 0x0===_0x59facb&&(_0x59facb=new Intl['RelativeTimeFormat'](_0x1bb461,_0x3a84aa),bl['set'](_0x501e70,_0x59facb)),_0x59facb;}(_0x18593f,_0xc57774));}['format'](_0x1df5ad,_0x213cbe){return this['rtf']?this['rtf']['format'](_0x1df5ad,_0x213cbe):function(_0x4ddae7,_0xebd622,_0x55520b='always',_0xcded5e=!0x1){const _0x45e304={'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.']},_0x4a6f10=-0x1===['hours','minutes','seconds']['indexOf'](_0x4ddae7);if('auto'===_0x55520b&&_0x4a6f10){const _0x3b9d87='days'===_0x4ddae7;switch(_0xebd622){case 0x1:return _0x3b9d87?'tomorrow':'next\x20'+_0x45e304[_0x4ddae7][0x0];case-0x1:return _0x3b9d87?'yesterday':'last\x20'+_0x45e304[_0x4ddae7][0x0];case 0x0:return _0x3b9d87?'today':'this\x20'+_0x45e304[_0x4ddae7][0x0];}}const _0x3d5513=Object['is'](_0xebd622,-0x0)||_0xebd622<0x0,_0x50e266=Math['abs'](_0xebd622),_0x3674cd=0x1===_0x50e266,_0x424c7b=_0x45e304[_0x4ddae7],_0x1d6d26=_0xcded5e?_0x3674cd?_0x424c7b[0x1]:_0x424c7b[0x2]||_0x424c7b[0x1]:_0x3674cd?_0x45e304[_0x4ddae7][0x0]:_0x4ddae7;return _0x3d5513?_0x50e266+'\x20'+_0x1d6d26+'\x20ago':'in\x20'+_0x50e266+'\x20'+_0x1d6d26;}(_0x213cbe,_0x1df5ad,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x558321,_0xf57e3b){return this['rtf']?this['rtf']['formatToParts'](_0x558321,_0xf57e3b):[];}}const Al={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class Locale{static['fromOpts'](_0x399b16){return Locale['create'](_0x399b16['locale'],_0x399b16['numberingSystem'],_0x399b16['outputCalendar'],_0x399b16['weekSettings'],_0x399b16['defaultToEN']);}static['create'](_0x204e45,_0x464f28,_0x36c496,_0xd03706,_0x5bcf11=!0x1){const _0x239006=_0x204e45||Settings['defaultLocale'],_0x362998=_0x239006||(_0x5bcf11?'en-US':yl||(yl=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],yl)),_0x59aea1=_0x464f28||Settings['defaultNumberingSystem'],_0x274f9b=_0x36c496||Settings['defaultOutputCalendar'],_0x4cce6b=ch(_0xd03706)||Settings['defaultWeekSettings'];return new Locale(_0x362998,_0x59aea1,_0x274f9b,_0x4cce6b,_0x239006);}static['resetCache'](){yl=null,pl['clear'](),wl['clear'](),bl['clear'](),vl['clear'](),El['clear']();}static['fromObject']({locale:_0x3f2e7e,numberingSystem:_0x2969d4,outputCalendar:_0x3fbedf,weekSettings:_0x5a5d37}={}){return Locale['create'](_0x3f2e7e,_0x2969d4,_0x3fbedf,_0x5a5d37);}constructor(_0x475323,_0x25a3ea,_0xf574ae,_0x4254b5,_0x134616){const [_0x17f5f9,_0xc79ac9,_0x5db607]=function(_0x4f5a58){const _0x330d86=_0x4f5a58['indexOf']('-x-');-0x1!==_0x330d86&&(_0x4f5a58=_0x4f5a58['substring'](0x0,_0x330d86));const _0x373acd=_0x4f5a58['indexOf']('-u-');if(-0x1===_0x373acd)return[_0x4f5a58];{let _0xdab971,_0x279f3;try{_0xdab971=Ol(_0x4f5a58)['resolvedOptions'](),_0x279f3=_0x4f5a58;}catch(_0x3ece02){const _0x43bd01=_0x4f5a58['substring'](0x0,_0x373acd);_0xdab971=Ol(_0x43bd01)['resolvedOptions'](),_0x279f3=_0x43bd01;}const {numberingSystem:_0x741f0a,calendar:_0x1731b3}=_0xdab971;return[_0x279f3,_0x741f0a,_0x1731b3];}}(_0x475323);this['locale']=_0x17f5f9,this['numberingSystem']=_0x25a3ea||_0xc79ac9||null,this['outputCalendar']=_0xf574ae||_0x5db607||null,this['weekSettings']=_0x4254b5,this['intl']=function(_0x48591c,_0x528ce3,_0x3bde7f){return _0x3bde7f||_0x528ce3?(_0x48591c['includes']('-u-')||(_0x48591c+='-u'),_0x3bde7f&&(_0x48591c+='-ca-'+_0x3bde7f),_0x528ce3&&(_0x48591c+='-nu-'+_0x528ce3),_0x48591c):_0x48591c;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x134616,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x22d4c2;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x22d4c2=this)['numberingSystem']||'latn'===_0x22d4c2['numberingSystem'])&&('latn'===_0x22d4c2['numberingSystem']||!_0x22d4c2['locale']||_0x22d4c2['locale']['startsWith']('en')||'latn'===_l(_0x22d4c2['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0x353e90=this['isEnglish'](),_0x9a03b7=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x353e90&&_0x9a03b7?'en':'intl';}['clone'](_0x13fac6){return _0x13fac6&&0x0!==Object['getOwnPropertyNames'](_0x13fac6)['length']?Locale['create'](_0x13fac6['locale']||this['specifiedLocale'],_0x13fac6['numberingSystem']||this['numberingSystem'],_0x13fac6['outputCalendar']||this['outputCalendar'],ch(_0x13fac6['weekSettings'])||this['weekSettings'],_0x13fac6['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x3bac34={}){return this['clone']({..._0x3bac34,'defaultToEN':!0x0});}['redefaultToSystem'](_0x116184={}){return this['clone']({..._0x116184,'defaultToEN':!0x1});}['months'](_0x4aa388,_0x1a76fc=!0x1){return Tl(this,_0x4aa388,Rh,()=>{const _0x1b4071=_0x1a76fc?{'month':_0x4aa388,'day':'numeric'}:{'month':_0x4aa388},_0x550de7=_0x1a76fc?'format':'standalone';return this['monthsCache'][_0x550de7][_0x4aa388]||(this['monthsCache'][_0x550de7][_0x4aa388]=function(_0x37474d){const _0xe924b2=[];for(let _0x1a53f5=0x1;_0x1a53f5<=0xc;_0x1a53f5++){const _0x544137=DateTime['utc'](0x7d9,_0x1a53f5,0x1);_0xe924b2['push'](_0x37474d(_0x544137));}return _0xe924b2;}(_0x5028ba=>this['extract'](_0x5028ba,_0x1b4071,'month'))),this['monthsCache'][_0x550de7][_0x4aa388];});}['weekdays'](_0x4726e2,_0x359f47=!0x1){return Tl(this,_0x4726e2,Lh,()=>{const _0x204194=_0x359f47?{'weekday':_0x4726e2,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x4726e2},_0x4cd884=_0x359f47?'format':'standalone';return this['weekdaysCache'][_0x4cd884][_0x4726e2]||(this['weekdaysCache'][_0x4cd884][_0x4726e2]=function(_0x56fd03){const _0xc8803d=[];for(let _0x7618a6=0x1;_0x7618a6<=0x7;_0x7618a6++){const _0x2bfb1d=DateTime['utc'](0x7e0,0xb,0xd+_0x7618a6);_0xc8803d['push'](_0x56fd03(_0x2bfb1d));}return _0xc8803d;}(_0x206604=>this['extract'](_0x206604,_0x204194,'weekday'))),this['weekdaysCache'][_0x4cd884][_0x4726e2];});}['meridiems'](){return Tl(this,void 0x0,()=>$h,()=>{if(!this['meridiemCache']){const _0x51957f={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x591346=>this['extract'](_0x591346,_0x51957f,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0xa5a1c6){return Tl(this,_0xa5a1c6,Uh,()=>{const _0x52c8f8={'era':_0xa5a1c6};return this['eraCache'][_0xa5a1c6]||(this['eraCache'][_0xa5a1c6]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0xe4b2d2=>this['extract'](_0xe4b2d2,_0x52c8f8,'era'))),this['eraCache'][_0xa5a1c6];});}['extract'](_0x25bb80,_0x4f93f3,_0x4b06fd){const _0xc6b929=this['dtFormatter'](_0x25bb80,_0x4f93f3)['formatToParts']()['find'](_0x17de85=>_0x17de85['type']['toLowerCase']()===_0x4b06fd);return _0xc6b929?_0xc6b929['value']:null;}['numberFormatter'](_0xb499db={}){return new PolyNumberFormatter(this['intl'],_0xb499db['forceSimple']||this['fastNumbers'],_0xb499db);}['dtFormatter'](_0x54e8bc,_0x735a56={}){return new PolyDateFormatter(_0x54e8bc,this['intl'],_0x735a56);}['relFormatter'](_0x454f2e={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x454f2e);}['listFormatter'](_0x2965a5={}){return function(_0x36dccb,_0x4a1f5f={}){const _0x4bee07=JSON['stringify']([_0x36dccb,_0x4a1f5f]);let _0x55ed4e=gl[_0x4bee07];return _0x55ed4e||(_0x55ed4e=new Intl['ListFormat'](_0x36dccb,_0x4a1f5f),gl[_0x4bee07]=_0x55ed4e),_0x55ed4e;}(this['intl'],_0x2965a5);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||_l(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:rh()?function(_0x240b2d){let _0x422cec=El['get'](_0x240b2d);if(!_0x422cec){const _0x1299a1=new Intl['Locale'](_0x240b2d);_0x422cec='getWeekInfo'in _0x1299a1?_0x1299a1['getWeekInfo']():_0x1299a1['weekInfo'],'minimalDays'in _0x422cec||(_0x422cec={...Al,..._0x422cec}),El['set'](_0x240b2d,_0x422cec);}return _0x422cec;}(this['locale']):Al;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x14d416){return this['locale']===_0x14d416['locale']&&this['numberingSystem']===_0x14d416['numberingSystem']&&this['outputCalendar']===_0x14d416['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let Il=null;class FixedOffsetZone extends Zone{static get['utcInstance'](){return null===Il&&(Il=new FixedOffsetZone(0x0)),Il;}static['instance'](_0x1be347){return 0x0===_0x1be347?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x1be347);}static['parseSpecifier'](_0x482459){if(_0x482459){const _0x548029=_0x482459['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x548029)return new FixedOffsetZone(Eh(_0x548029[0x1],_0x548029[0x2]));}return null;}constructor(_0x15fa27){super(),this['fixed']=_0x15fa27;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+Ih(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+Ih(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x144f22,_0x1cf0e3){return Ih(this['fixed'],_0x1cf0e3);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x4e622e){return'fixed'===_0x4e622e['type']&&_0x4e622e['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class InvalidZone extends Zone{constructor(_0x53da1c){super(),this['zoneName']=_0x53da1c;}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 Sl(_0x2fc3fb,_0x2d63b0){if(eh(_0x2fc3fb)||null===_0x2fc3fb)return _0x2d63b0;if(_0x2fc3fb instanceof Zone)return _0x2fc3fb;if('string'==typeof _0x2fc3fb){const _0x353174=_0x2fc3fb['toLowerCase']();return'default'===_0x353174?_0x2d63b0:'local'===_0x353174||'system'===_0x353174?SystemZone['instance']:'utc'===_0x353174||'gmt'===_0x353174?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x353174)||IANAZone['create'](_0x2fc3fb);}return ih(_0x2fc3fb)?FixedOffsetZone['instance'](_0x2fc3fb):'object'==typeof _0x2fc3fb&&'offset'in _0x2fc3fb&&'function'==typeof _0x2fc3fb['offset']?_0x2fc3fb:new InvalidZone(_0x2fc3fb);}const Cl={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},kl={'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]},xl=Cl['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),Rl=new Map();function Pl({numberingSystem:_0xfe3185},_0x126326=''){const _0x5f1e17=_0xfe3185||'latn';let _0x4dac53=Rl['get'](_0x5f1e17);void 0x0===_0x4dac53&&(_0x4dac53=new Map(),Rl['set'](_0x5f1e17,_0x4dac53));let _0x42c6ff=_0x4dac53['get'](_0x126326);return void 0x0===_0x42c6ff&&(_0x42c6ff=new RegExp(''+Cl[_0x5f1e17]+_0x126326),_0x4dac53['set'](_0x126326,_0x42c6ff)),_0x42c6ff;}let Ml,Nl=()=>Date['now'](),Ll='system',$l=null,Dl=null,Ql=null,Vl=0x3c,Ul=null;class Settings{static get['now'](){return Nl;}static set['now'](_0x1de127){Nl=_0x1de127;}static set['defaultZone'](_0x2b2f02){Ll=_0x2b2f02;}static get['defaultZone'](){return Sl(Ll,SystemZone['instance']);}static get['defaultLocale'](){return $l;}static set['defaultLocale'](_0x3d810d){$l=_0x3d810d;}static get['defaultNumberingSystem'](){return Dl;}static set['defaultNumberingSystem'](_0x2c62b0){Dl=_0x2c62b0;}static get['defaultOutputCalendar'](){return Ql;}static set['defaultOutputCalendar'](_0xd68997){Ql=_0xd68997;}static get['defaultWeekSettings'](){return Ul;}static set['defaultWeekSettings'](_0xb59e9d){Ul=ch(_0xb59e9d);}static get['twoDigitCutoffYear'](){return Vl;}static set['twoDigitCutoffYear'](_0x3264ed){Vl=_0x3264ed%0x64;}static get['throwOnInvalid'](){return Ml;}static set['throwOnInvalid'](t){Ml=t;}static['resetCaches'](){Locale['resetCache'](),IANAZone['resetCache'](),DateTime['resetCache'](),Rl['clear']();}}class Invalid{constructor(_0x1ba7fe,_0x44ecf5){this['reason']=_0x1ba7fe,this['explanation']=_0x44ecf5;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const Bl=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],Fl=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function jl(_0x314966,_0x5b8e03){return new Invalid('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x5b8e03+'\x20(of\x20type\x20'+typeof _0x5b8e03+')\x20as\x20a\x20'+_0x314966+',\x20which\x20is\x20invalid');}function Hl(_0x6e2dec,_0x3a4d68,_0x1d0324){const _0x174f83=new Date(Date['UTC'](_0x6e2dec,_0x3a4d68-0x1,_0x1d0324));_0x6e2dec<0x64&&_0x6e2dec>=0x0&&_0x174f83['setUTCFullYear'](_0x174f83['getUTCFullYear']()-0x76c);const _0x5adf75=_0x174f83['getUTCDay']();return 0x0===_0x5adf75?0x7:_0x5adf75;}function Gl(_0x37fa26,_0x1cecbb,_0x18983b){return _0x18983b+(gh(_0x37fa26)?Fl:Bl)[_0x1cecbb-0x1];}function Zl(_0x5f3bf5,_0x5c9715){const _0x75b35c=gh(_0x5f3bf5)?Fl:Bl,_0x247d55=_0x75b35c['findIndex'](_0xe90151=>_0xe90151<_0x5c9715);return{'month':_0x247d55+0x1,'day':_0x5c9715-_0x75b35c[_0x247d55]};}function Xl(_0x4e0933,_0x262115){return(_0x4e0933-_0x262115+0x7)%0x7+0x1;}function ql(_0x6dcf81,_0x44f613=0x4,_0x551ca2=0x1){const {year:_0x3f3af7,month:_0xd69c6e,day:_0x1787fa}=_0x6dcf81,_0x11ff02=Gl(_0x3f3af7,_0xd69c6e,_0x1787fa),_0x3089f4=Xl(Hl(_0x3f3af7,_0xd69c6e,_0x1787fa),_0x551ca2);let _0xbd3e74,_0x3ae9aa=Math['floor']((_0x11ff02-_0x3089f4+0xe-_0x44f613)/0x7);return _0x3ae9aa<0x1?(_0xbd3e74=_0x3f3af7-0x1,_0x3ae9aa=yh(_0xbd3e74,_0x44f613,_0x551ca2)):_0x3ae9aa>yh(_0x3f3af7,_0x44f613,_0x551ca2)?(_0xbd3e74=_0x3f3af7+0x1,_0x3ae9aa=0x1):_0xbd3e74=_0x3f3af7,{'weekYear':_0xbd3e74,'weekNumber':_0x3ae9aa,'weekday':_0x3089f4,...Sh(_0x6dcf81)};}function Wl(_0x2899b8,_0x2e6c77=0x4,_0x198948=0x1){const {weekYear:_0x23b1d5,weekNumber:_0x3c1769,weekday:_0x49bab0}=_0x2899b8,_0x2d25a8=Xl(Hl(_0x23b1d5,0x1,_0x2e6c77),_0x198948),_0x12cde6=ph(_0x23b1d5);let _0x5513b8,_0x51d0ef=0x7*_0x3c1769+_0x49bab0-_0x2d25a8-0x7+_0x2e6c77;_0x51d0ef<0x1?(_0x5513b8=_0x23b1d5-0x1,_0x51d0ef+=ph(_0x5513b8)):_0x51d0ef>_0x12cde6?(_0x5513b8=_0x23b1d5+0x1,_0x51d0ef-=ph(_0x23b1d5)):_0x5513b8=_0x23b1d5;const {month:_0xbab3cd,day:_0x1bf60c}=Zl(_0x5513b8,_0x51d0ef);return{'year':_0x5513b8,'month':_0xbab3cd,'day':_0x1bf60c,...Sh(_0x2899b8)};}function zl(_0x3c8043){const {year:_0x5100fa,month:_0x52be54,day:_0x2e46dd}=_0x3c8043;return{'year':_0x5100fa,'ordinal':Gl(_0x5100fa,_0x52be54,_0x2e46dd),...Sh(_0x3c8043)};}function Yl(_0x5aabbf){const {year:_0x29f110,ordinal:_0x90e72b}=_0x5aabbf,{month:_0x38aa2c,day:_0x447703}=Zl(_0x29f110,_0x90e72b);return{'year':_0x29f110,'month':_0x38aa2c,'day':_0x447703,...Sh(_0x5aabbf)};}function Kl(_0x1fabcf,_0x51fb4b){if(!eh(_0x1fabcf['localWeekday'])||!eh(_0x1fabcf['localWeekNumber'])||!eh(_0x1fabcf['localWeekYear'])){if(!eh(_0x1fabcf['weekday'])||!eh(_0x1fabcf['weekNumber'])||!eh(_0x1fabcf['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return eh(_0x1fabcf['localWeekday'])||(_0x1fabcf['weekday']=_0x1fabcf['localWeekday']),eh(_0x1fabcf['localWeekNumber'])||(_0x1fabcf['weekNumber']=_0x1fabcf['localWeekNumber']),eh(_0x1fabcf['localWeekYear'])||(_0x1fabcf['weekYear']=_0x1fabcf['localWeekYear']),delete _0x1fabcf['localWeekday'],delete _0x1fabcf['localWeekNumber'],delete _0x1fabcf['localWeekYear'],{'minDaysInFirstWeek':_0x51fb4b['getMinDaysInFirstWeek'](),'startOfWeek':_0x51fb4b['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function Jl(_0x46a264){const _0x130972=sh(_0x46a264['year']),_0x115c8f=lh(_0x46a264['month'],0x1,0xc),_0x37dc06=lh(_0x46a264['day'],0x1,Oh(_0x46a264['year'],_0x46a264['month']));return _0x130972?_0x115c8f?!_0x37dc06&&jl('day',_0x46a264['day']):jl('month',_0x46a264['month']):jl('year',_0x46a264['year']);}function th(_0x50eff0){const {hour:_0x46434a,minute:_0x2e4d13,second:_0x731f6b,millisecond:_0x28846f}=_0x50eff0,_0x2c185b=lh(_0x46434a,0x0,0x17)||0x18===_0x46434a&&0x0===_0x2e4d13&&0x0===_0x731f6b&&0x0===_0x28846f,_0x5e66c7=lh(_0x2e4d13,0x0,0x3b),_0x477138=lh(_0x731f6b,0x0,0x3b),_0x4437d2=lh(_0x28846f,0x0,0x3e7);return _0x2c185b?_0x5e66c7?_0x477138?!_0x4437d2&&jl('millisecond',_0x28846f):jl('second',_0x731f6b):jl('minute',_0x2e4d13):jl('hour',_0x46434a);}function eh(_0x8a41bf){return void 0x0===_0x8a41bf;}function ih(_0x358543){return'number'==typeof _0x358543;}function sh(_0x59c495){return'number'==typeof _0x59c495&&_0x59c495%0x1==0x0;}function nh(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x42ce5e){return!0x1;}}function rh(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x1f1ad9){return!0x1;}}function oh(_0x573123,_0xd0f89e,_0x5b63b5){if(0x0!==_0x573123['length'])return _0x573123['reduce']((_0x1051f4,_0x357115)=>{const _0x19ff8d=[_0xd0f89e(_0x357115),_0x357115];return _0x1051f4&&_0x5b63b5(_0x1051f4[0x0],_0x19ff8d[0x0])===_0x1051f4[0x0]?_0x1051f4:_0x19ff8d;},null)[0x1];}function ah(_0x668a9f,_0x3242d5){return Object['prototype']['hasOwnProperty']['call'](_0x668a9f,_0x3242d5);}function ch(_0x5346bf){if(null==_0x5346bf)return null;if('object'!=typeof _0x5346bf)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!lh(_0x5346bf['firstDay'],0x1,0x7)||!lh(_0x5346bf['minimalDays'],0x1,0x7)||!Array['isArray'](_0x5346bf['weekend'])||_0x5346bf['weekend']['some'](_0x3a55f9=>!lh(_0x3a55f9,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x5346bf['firstDay'],'minimalDays':_0x5346bf['minimalDays'],'weekend':Array['from'](_0x5346bf['weekend'])};}function lh(_0x3c735b,_0x3fbec3,_0x23770b){return sh(_0x3c735b)&&_0x3c735b>=_0x3fbec3&&_0x3c735b<=_0x23770b;}function hh(_0x5fbd84,_0x3de371=0x2){let _0x3ce4bf;return _0x3ce4bf=_0x5fbd84<0x0?'-'+(''+-_0x5fbd84)['padStart'](_0x3de371,'0'):(''+_0x5fbd84)['padStart'](_0x3de371,'0'),_0x3ce4bf;}function uh(_0x470fd7){return eh(_0x470fd7)||null===_0x470fd7||''===_0x470fd7?void 0x0:parseInt(_0x470fd7,0xa);}function dh(_0x3b747a){return eh(_0x3b747a)||null===_0x3b747a||''===_0x3b747a?void 0x0:parseFloat(_0x3b747a);}function fh(_0x41dab9){if(!eh(_0x41dab9)&&null!==_0x41dab9&&''!==_0x41dab9){const _0x403f90=0x3e8*parseFloat('0.'+_0x41dab9);return Math['floor'](_0x403f90);}}function mh(_0x275c78,_0x1f6c7f,_0x55baaa=!0x1){const _0xb242e=0xa**_0x1f6c7f;return(_0x55baaa?Math['trunc']:Math['round'])(_0x275c78*_0xb242e)/_0xb242e;}function gh(_0x27297a){return _0x27297a%0x4==0x0&&(_0x27297a%0x64!=0x0||_0x27297a%0x190==0x0);}function ph(_0x47856b){return gh(_0x47856b)?0x16e:0x16d;}function Oh(_0x4dfd66,_0x35e9d1){const _0x3d14bb=function(_0x498699,_0x481f8d){return _0x498699-_0x481f8d*Math['floor'](_0x498699/_0x481f8d);}(_0x35e9d1-0x1,0xc)+0x1;return 0x2===_0x3d14bb?gh(_0x4dfd66+(_0x35e9d1-_0x3d14bb)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x3d14bb-0x1];}function wh(_0x8e47c5){let _0x1dd0bd=Date['UTC'](_0x8e47c5['year'],_0x8e47c5['month']-0x1,_0x8e47c5['day'],_0x8e47c5['hour'],_0x8e47c5['minute'],_0x8e47c5['second'],_0x8e47c5['millisecond']);return _0x8e47c5['year']<0x64&&_0x8e47c5['year']>=0x0&&(_0x1dd0bd=new Date(_0x1dd0bd),_0x1dd0bd['setUTCFullYear'](_0x8e47c5['year'],_0x8e47c5['month']-0x1,_0x8e47c5['day'])),+_0x1dd0bd;}function bh(_0x4a6be0,_0x3d354b,_0x560746){return-Xl(Hl(_0x4a6be0,0x1,_0x3d354b),_0x560746)+_0x3d354b-0x1;}function yh(_0x348972,_0x4afe79=0x4,_0xb2db5e=0x1){const _0x2b4c30=bh(_0x348972,_0x4afe79,_0xb2db5e),_0x49d3c3=bh(_0x348972+0x1,_0x4afe79,_0xb2db5e);return(ph(_0x348972)-_0x2b4c30+_0x49d3c3)/0x7;}function vh(_0x244600){return _0x244600>0x63?_0x244600:_0x244600>Settings['twoDigitCutoffYear']?0x76c+_0x244600:0x7d0+_0x244600;}function _h(_0x49105f,_0x4e2343,_0x295f8e,_0x3a55d0=null){const _0xeabd6=new Date(_0x49105f),_0x694186={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x3a55d0&&(_0x694186['timeZone']=_0x3a55d0);const _0x1d1d17={'timeZoneName':_0x4e2343,..._0x694186},_0x19ccf3=new Intl['DateTimeFormat'](_0x295f8e,_0x1d1d17)['formatToParts'](_0xeabd6)['find'](_0x443eb1=>'timezonename'===_0x443eb1['type']['toLowerCase']());return _0x19ccf3?_0x19ccf3['value']:null;}function Eh(_0x36b8c6,_0xc08c72){let _0x46d056=parseInt(_0x36b8c6,0xa);Number['isNaN'](_0x46d056)&&(_0x46d056=0x0);const _0x53496d=parseInt(_0xc08c72,0xa)||0x0;return 0x3c*_0x46d056+(_0x46d056<0x0||Object['is'](_0x46d056,-0x0)?-_0x53496d:_0x53496d);}function Th(_0x1b582d){const _0x4f5d4a=Number(_0x1b582d);if('boolean'==typeof _0x1b582d||''===_0x1b582d||Number['isNaN'](_0x4f5d4a))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x1b582d);return _0x4f5d4a;}function Ah(_0x2d99f3,_0xa16836){const _0x267e20={};for(const _0x437296 in _0x2d99f3)if(ah(_0x2d99f3,_0x437296)){const _0x1b94df=_0x2d99f3[_0x437296];if(null==_0x1b94df)continue;_0x267e20[_0xa16836(_0x437296)]=Th(_0x1b94df);}return _0x267e20;}function Ih(_0x513609,_0x481186){const _0x2747a0=Math['trunc'](Math['abs'](_0x513609/0x3c)),_0x155f71=Math['trunc'](Math['abs'](_0x513609%0x3c)),_0x577343=_0x513609>=0x0?'+':'-';switch(_0x481186){case'short':return''+_0x577343+hh(_0x2747a0,0x2)+':'+hh(_0x155f71,0x2);case'narrow':return''+_0x577343+_0x2747a0+(_0x155f71>0x0?':'+_0x155f71:'');case'techie':return''+_0x577343+hh(_0x2747a0,0x2)+hh(_0x155f71,0x2);default:throw new RangeError('Value\x20format\x20'+_0x481186+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function Sh(_0x27eff8){return function(_0x226c03,_0x1753fb){return _0x1753fb['reduce']((_0x30eae8,_0x57a6b6)=>(_0x30eae8[_0x57a6b6]=_0x226c03[_0x57a6b6],_0x30eae8),{});}(_0x27eff8,['hour','minute','second','millisecond']);}const Ch=['January','February','March','April','May','June','July','August','September','October','November','December'],kh=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],xh=['J','F','M','A','M','J','J','A','S','O','N','D'];function Rh(_0x625840){switch(_0x625840){case'narrow':return[...xh];case'short':return[...kh];case'long':return[...Ch];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 Ph=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],Mh=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],Nh=['M','T','W','T','F','S','S'];function Lh(_0x435f77){switch(_0x435f77){case'narrow':return[...Nh];case'short':return[...Mh];case'long':return[...Ph];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const $h=['AM','PM'],Dh=['Before\x20Christ','Anno\x20Domini'],Qh=['BC','AD'],Vh=['B','A'];function Uh(_0xf635f2){switch(_0xf635f2){case'narrow':return[...Vh];case'short':return[...Qh];case'long':return[...Dh];default:return null;}}function Bh(_0x38999e,_0x103275){let _0x3c13c5='';for(const _0xced220 of _0x38999e)_0xced220['literal']?_0x3c13c5+=_0xced220['val']:_0x3c13c5+=_0x103275(_0xced220['val']);return _0x3c13c5;}const Fh={'D':jc,'DD':Hc,'DDD':Zc,'DDDD':Xc,'t':qc,'tt':Wc,'ttt':zc,'tttt':Yc,'T':Kc,'TT':Jc,'TTT':tl,'TTTT':el,'f':il,'ff':nl,'fff':al,'ffff':ll,'F':sl,'FF':rl,'FFF':cl,'FFFF':hl};class Formatter{static['create'](_0x284aa5,_0x3c6735={}){return new Formatter(_0x284aa5,_0x3c6735);}static['parseFormat'](_0x428447){let _0xd8add2=null,_0xaa0f4c='',_0x2c0bd1=!0x1;const _0x23507b=[];for(let _0x20416b=0x0;_0x20416b<_0x428447['length'];_0x20416b++){const _0x37f460=_0x428447['charAt'](_0x20416b);'\x27'===_0x37f460?(_0xaa0f4c['length']>0x0&&_0x23507b['push']({'literal':_0x2c0bd1||/^\s+$/['test'](_0xaa0f4c),'val':_0xaa0f4c}),_0xd8add2=null,_0xaa0f4c='',_0x2c0bd1=!_0x2c0bd1):_0x2c0bd1||_0x37f460===_0xd8add2?_0xaa0f4c+=_0x37f460:(_0xaa0f4c['length']>0x0&&_0x23507b['push']({'literal':/^\s+$/['test'](_0xaa0f4c),'val':_0xaa0f4c}),_0xaa0f4c=_0x37f460,_0xd8add2=_0x37f460);}return _0xaa0f4c['length']>0x0&&_0x23507b['push']({'literal':_0x2c0bd1||/^\s+$/['test'](_0xaa0f4c),'val':_0xaa0f4c}),_0x23507b;}static['macroTokenToFormatOpts'](_0x5d4449){return Fh[_0x5d4449];}constructor(_0x523cac,_0x35cd82){this['opts']=_0x35cd82,this['loc']=_0x523cac,this['systemLoc']=null;}['formatWithSystemDefault'](_0x43de3d,_0x2ed649){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x43de3d,{...this['opts'],..._0x2ed649})['format']();}['dtFormatter'](_0x374952,_0x30288c={}){return this['loc']['dtFormatter'](_0x374952,{...this['opts'],..._0x30288c});}['formatDateTime'](_0x83648a,_0x2d70e0){return this['dtFormatter'](_0x83648a,_0x2d70e0)['format']();}['formatDateTimeParts'](_0x1a1c7b,_0x9f82e2){return this['dtFormatter'](_0x1a1c7b,_0x9f82e2)['formatToParts']();}['formatInterval'](_0x2f27de,_0x51edf0){return this['dtFormatter'](_0x2f27de['start'],_0x51edf0)['dtf']['formatRange'](_0x2f27de['start']['toJSDate'](),_0x2f27de['end']['toJSDate']());}['resolvedOptions'](_0x406dfe,_0x1853c2){return this['dtFormatter'](_0x406dfe,_0x1853c2)['resolvedOptions']();}['num'](_0xfb4a9d,_0x2a0c0b=0x0){if(this['opts']['forceSimple'])return hh(_0xfb4a9d,_0x2a0c0b);const _0x6d56a={...this['opts']};return _0x2a0c0b>0x0&&(_0x6d56a['padTo']=_0x2a0c0b),this['loc']['numberFormatter'](_0x6d56a)['format'](_0xfb4a9d);}['formatDateTimeFromString'](_0x46bffd,_0x4216ee){const _0x483e77='en'===this['loc']['listingMode'](),_0x5a1431=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x371f19=(_0x30f720,_0xfe7f68)=>this['loc']['extract'](_0x46bffd,_0x30f720,_0xfe7f68),_0xcf4cff=_0x900955=>_0x46bffd['isOffsetFixed']&&0x0===_0x46bffd['offset']&&_0x900955['allowZ']?'Z':_0x46bffd['isValid']?_0x46bffd['zone']['formatOffset'](_0x46bffd['ts'],_0x900955['format']):'',_0x181e7b=()=>_0x483e77?function(_0x5d6437){return $h[_0x5d6437['hour']<0xc?0x0:0x1];}(_0x46bffd):_0x371f19({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x5ab2a4=(_0x5d491d,_0x4a119a)=>_0x483e77?function(_0x3bbaa4,_0x57c38d){return Rh(_0x57c38d)[_0x3bbaa4['month']-0x1];}(_0x46bffd,_0x5d491d):_0x371f19(_0x4a119a?{'month':_0x5d491d}:{'month':_0x5d491d,'day':'numeric'},'month'),_0x2b746f=(_0x2204df,_0x153c25)=>_0x483e77?function(_0x4e1f24,_0x34dd52){return Lh(_0x34dd52)[_0x4e1f24['weekday']-0x1];}(_0x46bffd,_0x2204df):_0x371f19(_0x153c25?{'weekday':_0x2204df}:{'weekday':_0x2204df,'month':'long','day':'numeric'},'weekday'),_0x56438e=_0x3cbc97=>{const _0x44e644=Formatter['macroTokenToFormatOpts'](_0x3cbc97);return _0x44e644?this['formatWithSystemDefault'](_0x46bffd,_0x44e644):_0x3cbc97;},_0x41a184=_0x55710a=>_0x483e77?function(_0x14cc80,_0x3d7591){return Uh(_0x3d7591)[_0x14cc80['year']<0x0?0x0:0x1];}(_0x46bffd,_0x55710a):_0x371f19({'era':_0x55710a},'era');return Bh(Formatter['parseFormat'](_0x4216ee),_0x5c3510=>{switch(_0x5c3510){case'S':return this['num'](_0x46bffd['millisecond']);case'u':case'SSS':return this['num'](_0x46bffd['millisecond'],0x3);case's':return this['num'](_0x46bffd['second']);case'ss':return this['num'](_0x46bffd['second'],0x2);case'uu':return this['num'](Math['floor'](_0x46bffd['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x46bffd['millisecond']/0x64));case'm':return this['num'](_0x46bffd['minute']);case'mm':return this['num'](_0x46bffd['minute'],0x2);case'h':return this['num'](_0x46bffd['hour']%0xc==0x0?0xc:_0x46bffd['hour']%0xc);case'hh':return this['num'](_0x46bffd['hour']%0xc==0x0?0xc:_0x46bffd['hour']%0xc,0x2);case'H':return this['num'](_0x46bffd['hour']);case'HH':return this['num'](_0x46bffd['hour'],0x2);case'Z':return _0xcf4cff({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0xcf4cff({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0xcf4cff({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x46bffd['zone']['offsetName'](_0x46bffd['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x46bffd['zone']['offsetName'](_0x46bffd['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x46bffd['zoneName'];case'a':return _0x181e7b();case'd':return _0x5a1431?_0x371f19({'day':'numeric'},'day'):this['num'](_0x46bffd['day']);case'dd':return _0x5a1431?_0x371f19({'day':'2-digit'},'day'):this['num'](_0x46bffd['day'],0x2);case'c':case'E':return this['num'](_0x46bffd['weekday']);case'ccc':return _0x2b746f('short',!0x0);case'cccc':return _0x2b746f('long',!0x0);case'ccccc':return _0x2b746f('narrow',!0x0);case'EEE':return _0x2b746f('short',!0x1);case'EEEE':return _0x2b746f('long',!0x1);case'EEEEE':return _0x2b746f('narrow',!0x1);case'L':return _0x5a1431?_0x371f19({'month':'numeric','day':'numeric'},'month'):this['num'](_0x46bffd['month']);case'LL':return _0x5a1431?_0x371f19({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x46bffd['month'],0x2);case'LLL':return _0x5ab2a4('short',!0x0);case'LLLL':return _0x5ab2a4('long',!0x0);case'LLLLL':return _0x5ab2a4('narrow',!0x0);case'M':return _0x5a1431?_0x371f19({'month':'numeric'},'month'):this['num'](_0x46bffd['month']);case'MM':return _0x5a1431?_0x371f19({'month':'2-digit'},'month'):this['num'](_0x46bffd['month'],0x2);case'MMM':return _0x5ab2a4('short',!0x1);case'MMMM':return _0x5ab2a4('long',!0x1);case'MMMMM':return _0x5ab2a4('narrow',!0x1);case'y':return _0x5a1431?_0x371f19({'year':'numeric'},'year'):this['num'](_0x46bffd['year']);case'yy':return _0x5a1431?_0x371f19({'year':'2-digit'},'year'):this['num'](_0x46bffd['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x5a1431?_0x371f19({'year':'numeric'},'year'):this['num'](_0x46bffd['year'],0x4);case'yyyyyy':return _0x5a1431?_0x371f19({'year':'numeric'},'year'):this['num'](_0x46bffd['year'],0x6);case'G':return _0x41a184('short');case'GG':return _0x41a184('long');case'GGGGG':return _0x41a184('narrow');case'kk':return this['num'](_0x46bffd['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x46bffd['weekYear'],0x4);case'W':return this['num'](_0x46bffd['weekNumber']);case'WW':return this['num'](_0x46bffd['weekNumber'],0x2);case'n':return this['num'](_0x46bffd['localWeekNumber']);case'nn':return this['num'](_0x46bffd['localWeekNumber'],0x2);case'ii':return this['num'](_0x46bffd['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x46bffd['localWeekYear'],0x4);case'o':return this['num'](_0x46bffd['ordinal']);case'ooo':return this['num'](_0x46bffd['ordinal'],0x3);case'q':return this['num'](_0x46bffd['quarter']);case'qq':return this['num'](_0x46bffd['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x46bffd['ts']/0x3e8));case'x':return this['num'](_0x46bffd['ts']);default:return _0x56438e(_0x5c3510);}});}['formatDurationFromString'](_0x246bc2,_0x508551){const _0x31d4a8=_0x19e9a4=>{switch(_0x19e9a4[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;}},_0xaaa5e1=Formatter['parseFormat'](_0x508551),_0x3ba44b=_0xaaa5e1['reduce']((_0x55fab3,{literal:_0x4ce931,val:_0x53572c})=>_0x4ce931?_0x55fab3:_0x55fab3['concat'](_0x53572c),[]),_0xd858a5=_0x246bc2['shiftTo'](..._0x3ba44b['map'](_0x31d4a8)['filter'](t=>t));return Bh(_0xaaa5e1,(_0x39d4fa=>_0x5ed3b0=>{const _0x3f1046=_0x31d4a8(_0x5ed3b0);return _0x3f1046?this['num'](_0x39d4fa['get'](_0x3f1046),_0x5ed3b0['length']):_0x5ed3b0;})(_0xd858a5));}}const jh=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Hh(..._0x3e8997){const _0x1850de=_0x3e8997['reduce']((_0x6100d4,_0x557bc2)=>_0x6100d4+_0x557bc2['source'],'');return RegExp('^'+_0x1850de+'$');}function Gh(..._0x413d89){return _0x1bab31=>_0x413d89['reduce'](([_0x424e31,_0x231787,_0x595552],_0x3c7911)=>{const [_0x3dc544,_0x115c6b,_0x1890a8]=_0x3c7911(_0x1bab31,_0x595552);return[{..._0x424e31,..._0x3dc544},_0x115c6b||_0x231787,_0x1890a8];},[{},null,0x1])['slice'](0x0,0x2);}function Zh(_0x379ed8,..._0x4cc5c7){if(null==_0x379ed8)return[null,null];for(const [_0x27940a,_0x5c0cd4]of _0x4cc5c7){const _0x5eebec=_0x27940a['exec'](_0x379ed8);if(_0x5eebec)return _0x5c0cd4(_0x5eebec);}return[null,null];}function Xh(..._0x4de1be){return(_0x4fd90a,_0x94c3e)=>{const _0x11bc7f={};let _0x29dc00;for(_0x29dc00=0x0;_0x29dc00<_0x4de1be['length'];_0x29dc00++)_0x11bc7f[_0x4de1be[_0x29dc00]]=uh(_0x4fd90a[_0x94c3e+_0x29dc00]);return[_0x11bc7f,null,_0x94c3e+_0x29dc00];};}const qh=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Wh=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,zh=RegExp(''+Wh['source']+('(?:'+qh['source']+'?(?:\x5c[('+jh['source']+')\x5c])?)?')),Yh=RegExp('(?:T'+zh['source']+')?'),Kh=Xh('weekYear','weekNumber','weekDay'),Jh=Xh('year','ordinal'),tu=RegExp(Wh['source']+'\x20?(?:'+qh['source']+'|('+jh['source']+'))?'),eu=RegExp('(?:\x20'+tu['source']+')?');function iu(_0x80fb1f,_0x57b31b,_0x4492ee){const _0x356498=_0x80fb1f[_0x57b31b];return eh(_0x356498)?_0x4492ee:uh(_0x356498);}function su(_0x30dfef,_0x41f384){return[{'hours':iu(_0x30dfef,_0x41f384,0x0),'minutes':iu(_0x30dfef,_0x41f384+0x1,0x0),'seconds':iu(_0x30dfef,_0x41f384+0x2,0x0),'milliseconds':fh(_0x30dfef[_0x41f384+0x3])},null,_0x41f384+0x4];}function nu(_0x913dab,_0x28f31d){const _0x4d17a5=!_0x913dab[_0x28f31d]&&!_0x913dab[_0x28f31d+0x1],_0x3e3329=Eh(_0x913dab[_0x28f31d+0x1],_0x913dab[_0x28f31d+0x2]);return[{},_0x4d17a5?null:FixedOffsetZone['instance'](_0x3e3329),_0x28f31d+0x3];}function ru(_0x5b8445,_0x673c28){return[{},_0x5b8445[_0x673c28]?IANAZone['create'](_0x5b8445[_0x673c28]):null,_0x673c28+0x1];}const ou=RegExp('^T?'+Wh['source']+'$'),au=/^-?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 cu(_0x2b54ea){const [_0x3c43c2,_0x34ce1c,_0x1fe60d,_0x381283,_0xcc062d,_0x506050,_0x3eea9e,_0x4ebeb1,_0x24cfe3]=_0x2b54ea,_0x521b98='-'===_0x3c43c2[0x0],_0x1ebf3f=_0x4ebeb1&&'-'===_0x4ebeb1[0x0],_0x5b1a9a=(_0x13e219,_0x32b7ff=!0x1)=>void 0x0!==_0x13e219&&(_0x32b7ff||_0x13e219&&_0x521b98)?-_0x13e219:_0x13e219;return[{'years':_0x5b1a9a(dh(_0x34ce1c)),'months':_0x5b1a9a(dh(_0x1fe60d)),'weeks':_0x5b1a9a(dh(_0x381283)),'days':_0x5b1a9a(dh(_0xcc062d)),'hours':_0x5b1a9a(dh(_0x506050)),'minutes':_0x5b1a9a(dh(_0x3eea9e)),'seconds':_0x5b1a9a(dh(_0x4ebeb1),'-0'===_0x4ebeb1),'milliseconds':_0x5b1a9a(fh(_0x24cfe3),_0x1ebf3f)}];}const lu={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function hu(_0x500d77,_0x9618fe,_0x27077a,_0x1cd68a,_0x508ec2,_0x237441,_0x27d90d){const _0x567ccb={'year':0x2===_0x9618fe['length']?vh(uh(_0x9618fe)):uh(_0x9618fe),'month':kh['indexOf'](_0x27077a)+0x1,'day':uh(_0x1cd68a),'hour':uh(_0x508ec2),'minute':uh(_0x237441)};return _0x27d90d&&(_0x567ccb['second']=uh(_0x27d90d)),_0x500d77&&(_0x567ccb['weekday']=_0x500d77['length']>0x3?Ph['indexOf'](_0x500d77)+0x1:Mh['indexOf'](_0x500d77)+0x1),_0x567ccb;}const uu=/^(?:(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 du(_0x265c28){const [,_0x4292b8,_0x48c395,_0x12d2dc,_0x38006d,_0x38b8c2,_0x47f7d8,_0x2b3a18,_0x1de720,_0x28934a,_0x1f9a09,_0x36f12b]=_0x265c28,_0x1f004c=hu(_0x4292b8,_0x38006d,_0x12d2dc,_0x48c395,_0x38b8c2,_0x47f7d8,_0x2b3a18);let _0x12a00b;return _0x12a00b=_0x1de720?lu[_0x1de720]:_0x28934a?0x0:Eh(_0x1f9a09,_0x36f12b),[_0x1f004c,new FixedOffsetZone(_0x12a00b)];}const fu=/^(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$/,mu=/^(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$/,gu=/^(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 pu(_0x510a1e){const [,_0x9c7af5,_0x4085f7,_0x323f27,_0x48c67c,_0xd42c44,_0x216088,_0x28bdb0]=_0x510a1e;return[hu(_0x9c7af5,_0x48c67c,_0x323f27,_0x4085f7,_0xd42c44,_0x216088,_0x28bdb0),FixedOffsetZone['utcInstance']];}function Ou(_0x2b9264){const [,_0x447ca7,_0x36a838,_0x2613b2,_0x29f405,_0x484247,_0x355450,_0x2d8fdf]=_0x2b9264;return[hu(_0x447ca7,_0x2d8fdf,_0x36a838,_0x2613b2,_0x29f405,_0x484247,_0x355450),FixedOffsetZone['utcInstance']];}const wu=Hh(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Yh),bu=Hh(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Yh),yu=Hh(/(\d{4})-?(\d{3})/,Yh),vu=Hh(zh),_u=Gh(function(_0xd5926d,_0x49b0ae){return[{'year':iu(_0xd5926d,_0x49b0ae),'month':iu(_0xd5926d,_0x49b0ae+0x1,0x1),'day':iu(_0xd5926d,_0x49b0ae+0x2,0x1)},null,_0x49b0ae+0x3];},su,nu,ru),Eu=Gh(Kh,su,nu,ru),Tu=Gh(Jh,su,nu,ru),Au=Gh(su,nu,ru),Iu=Gh(su),Su=Hh(/(\d{4})-(\d\d)-(\d\d)/,eu),Cu=Hh(tu),ku=Gh(su,nu,ru),xu='Invalid\x20Duration',Ru={'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}},Pu={'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},...Ru},Mu=365.2425,Nu=30.436875,Lu={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':Mu,'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':Nu,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},...Ru},$u=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],Du=$u['slice'](0x0)['reverse']();function Qu(_0x16d761,_0x1c767c,_0xf7161a=!0x1){const _0x102daf={'values':_0xf7161a?_0x1c767c['values']:{..._0x16d761['values'],..._0x1c767c['values']||{}},'loc':_0x16d761['loc']['clone'](_0x1c767c['loc']),'conversionAccuracy':_0x1c767c['conversionAccuracy']||_0x16d761['conversionAccuracy'],'matrix':_0x1c767c['matrix']||_0x16d761['matrix']};return new Duration(_0x102daf);}function Vu(_0x5eec91,_0x485fa5){let _0x73d2d8=_0x485fa5['milliseconds']??0x0;for(const _0x265ce1 of Du['slice'](0x1))_0x485fa5[_0x265ce1]&&(_0x73d2d8+=_0x485fa5[_0x265ce1]*_0x5eec91[_0x265ce1]['milliseconds']);return _0x73d2d8;}function Uu(_0x3804be,_0x51983a){const _0x2145fb=Vu(_0x3804be,_0x51983a)<0x0?-0x1:0x1;$u['reduceRight']((_0x2e351a,_0x69b0eb)=>{if(eh(_0x51983a[_0x69b0eb]))return _0x2e351a;if(_0x2e351a){const _0xf83398=_0x51983a[_0x2e351a]*_0x2145fb,_0x18a756=_0x3804be[_0x69b0eb][_0x2e351a],_0xffc939=Math['floor'](_0xf83398/_0x18a756);_0x51983a[_0x69b0eb]+=_0xffc939*_0x2145fb,_0x51983a[_0x2e351a]-=_0xffc939*_0x18a756*_0x2145fb;}return _0x69b0eb;},null),$u['reduce']((_0x2ca96c,_0x409282)=>{if(eh(_0x51983a[_0x409282]))return _0x2ca96c;if(_0x2ca96c){const _0x4364f5=_0x51983a[_0x2ca96c]%0x1;_0x51983a[_0x2ca96c]-=_0x4364f5,_0x51983a[_0x409282]+=_0x4364f5*_0x3804be[_0x2ca96c][_0x409282];}return _0x409282;},null);}class Duration{constructor(_0x2aca74){const _0x5c0a40='longterm'===_0x2aca74['conversionAccuracy']||!0x1;let _0x3eeb69=_0x5c0a40?Lu:Pu;_0x2aca74['matrix']&&(_0x3eeb69=_0x2aca74['matrix']),this['values']=_0x2aca74['values'],this['loc']=_0x2aca74['loc']||Locale['create'](),this['conversionAccuracy']=_0x5c0a40?'longterm':'casual',this['invalid']=_0x2aca74['invalid']||null,this['matrix']=_0x3eeb69,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x2f405f,_0x150da5){return Duration['fromObject']({'milliseconds':_0x2f405f},_0x150da5);}static['fromObject'](_0x51d11e,_0x30053d={}){if(null==_0x51d11e||'object'!=typeof _0x51d11e)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x51d11e?'null':typeof _0x51d11e));return new Duration({'values':Ah(_0x51d11e,Duration['normalizeUnit']),'loc':Locale['fromObject'](_0x30053d),'conversionAccuracy':_0x30053d['conversionAccuracy'],'matrix':_0x30053d['matrix']});}static['fromDurationLike'](_0x2f80d5){if(ih(_0x2f80d5))return Duration['fromMillis'](_0x2f80d5);if(Duration['isDuration'](_0x2f80d5))return _0x2f80d5;if('object'==typeof _0x2f80d5)return Duration['fromObject'](_0x2f80d5);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x2f80d5+'\x20of\x20type\x20'+typeof _0x2f80d5);}static['fromISO'](_0x28a83f,_0x481b98){const [_0x50cd46]=function(_0x4b767a){return Zh(_0x4b767a,[au,cu]);}(_0x28a83f);return _0x50cd46?Duration['fromObject'](_0x50cd46,_0x481b98):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x28a83f+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x526f43,_0x5bbc01){const [_0x39cc67]=function(_0x5a65fd){return Zh(_0x5a65fd,[ou,Iu]);}(_0x526f43);return _0x39cc67?Duration['fromObject'](_0x39cc67,_0x5bbc01):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x526f43+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x5e55bd,_0x2e9490=null){if(!_0x5e55bd)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x5eddfc=_0x5e55bd instanceof Invalid?_0x5e55bd:new Invalid(_0x5e55bd,_0x2e9490);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x5eddfc);return new Duration({'invalid':_0x5eddfc});}static['normalizeUnit'](_0x5e1ca9){const _0x548271={'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'}[_0x5e1ca9?_0x5e1ca9['toLowerCase']():_0x5e1ca9];if(!_0x548271)throw new InvalidUnitError(_0x5e1ca9);return _0x548271;}static['isDuration'](_0x317c8d){return _0x317c8d&&_0x317c8d['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x3e27ab,_0x14c0a1={}){const _0x2811b4={..._0x14c0a1,'floor':!0x1!==_0x14c0a1['round']&&!0x1!==_0x14c0a1['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x2811b4)['formatDurationFromString'](this,_0x3e27ab):xu;}['toHuman'](_0x23273a={}){if(!this['isValid'])return xu;const _0x447dc5=$u['map'](_0x151323=>{const _0x415f3a=this['values'][_0x151323];return eh(_0x415f3a)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x23273a,'unit':_0x151323['slice'](0x0,-0x1)})['format'](_0x415f3a);})['filter'](_0x30e165=>_0x30e165);return this['loc']['listFormatter']({'type':'conjunction','style':_0x23273a['listStyle']||'narrow',..._0x23273a})['format'](_0x447dc5);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x42535f='P';return 0x0!==this['years']&&(_0x42535f+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x42535f+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x42535f+=this['weeks']+'W'),0x0!==this['days']&&(_0x42535f+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x42535f+='T'),0x0!==this['hours']&&(_0x42535f+=this['hours']+'H'),0x0!==this['minutes']&&(_0x42535f+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x42535f+=mh(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x42535f&&(_0x42535f+='T0S'),_0x42535f;}['toISOTime'](_0x5e412b={}){if(!this['isValid'])return null;const _0x451846=this['toMillis']();if(_0x451846<0x0||_0x451846>=0x5265c00)return null;return _0x5e412b={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x5e412b,'includeOffset':!0x1},DateTime['fromMillis'](_0x451846,{'zone':'UTC'})['toISOTime'](_0x5e412b);}['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']?Vu(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x1b659c){if(!this['isValid'])return this;const _0x68e86=Duration['fromDurationLike'](_0x1b659c),_0x3f652c={};for(const _0x276ec4 of $u)(ah(_0x68e86['values'],_0x276ec4)||ah(this['values'],_0x276ec4))&&(_0x3f652c[_0x276ec4]=_0x68e86['get'](_0x276ec4)+this['get'](_0x276ec4));return Qu(this,{'values':_0x3f652c},!0x0);}['minus'](_0x4abf08){if(!this['isValid'])return this;const _0x1acd86=Duration['fromDurationLike'](_0x4abf08);return this['plus'](_0x1acd86['negate']());}['mapUnits'](_0x153adf){if(!this['isValid'])return this;const _0x47ab14={};for(const _0x2b39b7 of Object['keys'](this['values']))_0x47ab14[_0x2b39b7]=Th(_0x153adf(this['values'][_0x2b39b7],_0x2b39b7));return Qu(this,{'values':_0x47ab14},!0x0);}['get'](_0x5c8946){return this[Duration['normalizeUnit'](_0x5c8946)];}['set'](_0x21b4c6){if(!this['isValid'])return this;return Qu(this,{'values':{...this['values'],...Ah(_0x21b4c6,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x8bda1d,numberingSystem:_0x3ff4eb,conversionAccuracy:_0x42fd2d,matrix:_0x16849c}={}){return Qu(this,{'loc':this['loc']['clone']({'locale':_0x8bda1d,'numberingSystem':_0x3ff4eb}),'matrix':_0x16849c,'conversionAccuracy':_0x42fd2d});}['as'](_0x3ce7c3){return this['isValid']?this['shiftTo'](_0x3ce7c3)['get'](_0x3ce7c3):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x38f6cc=this['toObject']();return Uu(this['matrix'],_0x38f6cc),Qu(this,{'values':_0x38f6cc},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x8aa4c3=function(_0x48a38e){const _0x328d62={};for(const [_0x3d8884,_0x231918]of Object['entries'](_0x48a38e))0x0!==_0x231918&&(_0x328d62[_0x3d8884]=_0x231918);return _0x328d62;}(this['normalize']()['shiftToAll']()['toObject']());return Qu(this,{'values':_0x8aa4c3},!0x0);}['shiftTo'](..._0x1e5b42){if(!this['isValid'])return this;if(0x0===_0x1e5b42['length'])return this;_0x1e5b42=_0x1e5b42['map'](_0x292a42=>Duration['normalizeUnit'](_0x292a42));const _0x1050bd={},_0x2333fc={},_0x4307ee=this['toObject']();let _0x52b6c5;for(const _0x2a2e2f of $u)if(_0x1e5b42['indexOf'](_0x2a2e2f)>=0x0){_0x52b6c5=_0x2a2e2f;let _0x7b4534=0x0;for(const _0x3940de in _0x2333fc)_0x7b4534+=this['matrix'][_0x3940de][_0x2a2e2f]*_0x2333fc[_0x3940de],_0x2333fc[_0x3940de]=0x0;ih(_0x4307ee[_0x2a2e2f])&&(_0x7b4534+=_0x4307ee[_0x2a2e2f]);const _0x445262=Math['trunc'](_0x7b4534);_0x1050bd[_0x2a2e2f]=_0x445262,_0x2333fc[_0x2a2e2f]=(0x3e8*_0x7b4534-0x3e8*_0x445262)/0x3e8;}else ih(_0x4307ee[_0x2a2e2f])&&(_0x2333fc[_0x2a2e2f]=_0x4307ee[_0x2a2e2f]);for(const _0x9a23ca in _0x2333fc)0x0!==_0x2333fc[_0x9a23ca]&&(_0x1050bd[_0x52b6c5]+=_0x9a23ca===_0x52b6c5?_0x2333fc[_0x9a23ca]:_0x2333fc[_0x9a23ca]/this['matrix'][_0x52b6c5][_0x9a23ca]);return Uu(this['matrix'],_0x1050bd),Qu(this,{'values':_0x1050bd},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x522384={};for(const _0x43a327 of Object['keys'](this['values']))_0x522384[_0x43a327]=0x0===this['values'][_0x43a327]?0x0:-this['values'][_0x43a327];return Qu(this,{'values':_0x522384},!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'](_0x1e19ec){if(!this['isValid']||!_0x1e19ec['isValid'])return!0x1;if(!this['loc']['equals'](_0x1e19ec['loc']))return!0x1;function _0x526693(_0xc61101,_0x8b381d){return void 0x0===_0xc61101||0x0===_0xc61101?void 0x0===_0x8b381d||0x0===_0x8b381d:_0xc61101===_0x8b381d;}for(const _0x25c1cf of $u)if(!_0x526693(this['values'][_0x25c1cf],_0x1e19ec['values'][_0x25c1cf]))return!0x1;return!0x0;}}const Bu='Invalid\x20Interval';class Interval{constructor(_0x5648e6){this['s']=_0x5648e6['start'],this['e']=_0x5648e6['end'],this['invalid']=_0x5648e6['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x1038d2,_0x56a6a7=null){if(!_0x1038d2)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x4d0fff=_0x1038d2 instanceof Invalid?_0x1038d2:new Invalid(_0x1038d2,_0x56a6a7);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x4d0fff);return new Interval({'invalid':_0x4d0fff});}static['fromDateTimes'](_0x192042,_0x454484){const _0x221cdb=xd(_0x192042),_0x53fbb6=xd(_0x454484),_0x5a63d0=function(_0x21fe8,_0x523ec2){return _0x21fe8&&_0x21fe8['isValid']?_0x523ec2&&_0x523ec2['isValid']?_0x523ec2<_0x21fe8?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x21fe8['toISO']()+'\x20and\x20end='+_0x523ec2['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}(_0x221cdb,_0x53fbb6);return null==_0x5a63d0?new Interval({'start':_0x221cdb,'end':_0x53fbb6}):_0x5a63d0;}static['after'](_0x320738,_0x40604a){const _0xeed193=Duration['fromDurationLike'](_0x40604a),_0x426edb=xd(_0x320738);return Interval['fromDateTimes'](_0x426edb,_0x426edb['plus'](_0xeed193));}static['before'](_0x29ea6f,_0x1497af){const _0x34a04d=Duration['fromDurationLike'](_0x1497af),_0x2efe46=xd(_0x29ea6f);return Interval['fromDateTimes'](_0x2efe46['minus'](_0x34a04d),_0x2efe46);}static['fromISO'](_0x863952,_0x51ef4d){const [_0x3fce95,_0x190221]=(_0x863952||'')['split']('/',0x2);if(_0x3fce95&&_0x190221){let _0x5721b0,_0x20d347,_0xe8162,_0x261932;try{_0x5721b0=DateTime['fromISO'](_0x3fce95,_0x51ef4d),_0x20d347=_0x5721b0['isValid'];}catch(_0x5e8843){_0x20d347=!0x1;}try{_0xe8162=DateTime['fromISO'](_0x190221,_0x51ef4d),_0x261932=_0xe8162['isValid'];}catch(_0x6b37c1){_0x261932=!0x1;}if(_0x20d347&&_0x261932)return Interval['fromDateTimes'](_0x5721b0,_0xe8162);if(_0x20d347){const _0x58fcfb=Duration['fromISO'](_0x190221,_0x51ef4d);if(_0x58fcfb['isValid'])return Interval['after'](_0x5721b0,_0x58fcfb);}else{if(_0x261932){const _0x58f207=Duration['fromISO'](_0x3fce95,_0x51ef4d);if(_0x58f207['isValid'])return Interval['before'](_0xe8162,_0x58f207);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x863952+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x2b7980){return _0x2b7980&&_0x2b7980['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'](_0x1bd918='milliseconds'){return this['isValid']?this['toDuration'](_0x1bd918)['get'](_0x1bd918):NaN;}['count'](_0x2a07d2='milliseconds',_0x17d04f){if(!this['isValid'])return NaN;const _0x4a7cd3=this['start']['startOf'](_0x2a07d2,_0x17d04f);let _0x404507;return _0x404507=_0x17d04f?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x4a7cd3['locale']}):this['end'],_0x404507=_0x404507['startOf'](_0x2a07d2,_0x17d04f),Math['floor'](_0x404507['diff'](_0x4a7cd3,_0x2a07d2)['get'](_0x2a07d2))+(_0x404507['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x15097d){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x15097d));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x2a2ca4){return!!this['isValid']&&this['s']>_0x2a2ca4;}['isBefore'](_0x4dfb81){return!!this['isValid']&&this['e']<=_0x4dfb81;}['contains'](_0x56c5a2){return!!this['isValid']&&(this['s']<=_0x56c5a2&&this['e']>_0x56c5a2);}['set']({start:_0x274760,end:_0x41d59c}={}){return this['isValid']?Interval['fromDateTimes'](_0x274760||this['s'],_0x41d59c||this['e']):this;}['splitAt'](..._0x1f3261){if(!this['isValid'])return[];const _0x10b53c=_0x1f3261['map'](xd)['filter'](_0x18f145=>this['contains'](_0x18f145))['sort']((_0x21be79,_0x1b27c9)=>_0x21be79['toMillis']()-_0x1b27c9['toMillis']()),_0xa6af55=[];let {s:_0x1b8824}=this,_0x41d53f=0x0;for(;_0x1b8824<this['e'];){const _0x21cead=_0x10b53c[_0x41d53f]||this['e'],_0x5ccbac=+_0x21cead>+this['e']?this['e']:_0x21cead;_0xa6af55['push'](Interval['fromDateTimes'](_0x1b8824,_0x5ccbac)),_0x1b8824=_0x5ccbac,_0x41d53f+=0x1;}return _0xa6af55;}['splitBy'](_0x3f25d6){const _0x13ed02=Duration['fromDurationLike'](_0x3f25d6);if(!this['isValid']||!_0x13ed02['isValid']||0x0===_0x13ed02['as']('milliseconds'))return[];let _0xfb0ca8,{s:_0x5befcd}=this,_0x10f9bc=0x1;const _0x184a8c=[];for(;_0x5befcd<this['e'];){const _0x405037=this['start']['plus'](_0x13ed02['mapUnits'](_0x27a7ce=>_0x27a7ce*_0x10f9bc));_0xfb0ca8=+_0x405037>+this['e']?this['e']:_0x405037,_0x184a8c['push'](Interval['fromDateTimes'](_0x5befcd,_0xfb0ca8)),_0x5befcd=_0xfb0ca8,_0x10f9bc+=0x1;}return _0x184a8c;}['divideEqually'](_0x5b73db){return this['isValid']?this['splitBy'](this['length']()/_0x5b73db)['slice'](0x0,_0x5b73db):[];}['overlaps'](_0x170e3d){return this['e']>_0x170e3d['s']&&this['s']<_0x170e3d['e'];}['abutsStart'](_0x3ad9dd){return!!this['isValid']&&+this['e']===+_0x3ad9dd['s'];}['abutsEnd'](_0x5edd19){return!!this['isValid']&&+_0x5edd19['e']===+this['s'];}['engulfs'](_0x1411e0){return!!this['isValid']&&(this['s']<=_0x1411e0['s']&&this['e']>=_0x1411e0['e']);}['equals'](_0x3a8a06){return!(!this['isValid']||!_0x3a8a06['isValid'])&&(this['s']['equals'](_0x3a8a06['s'])&&this['e']['equals'](_0x3a8a06['e']));}['intersection'](_0x55df52){if(!this['isValid'])return this;const _0xe3edc=this['s']>_0x55df52['s']?this['s']:_0x55df52['s'],_0x187602=this['e']<_0x55df52['e']?this['e']:_0x55df52['e'];return _0xe3edc>=_0x187602?null:Interval['fromDateTimes'](_0xe3edc,_0x187602);}['union'](_0x4acfb2){if(!this['isValid'])return this;const _0x13ad12=this['s']<_0x4acfb2['s']?this['s']:_0x4acfb2['s'],_0x1d27e5=this['e']>_0x4acfb2['e']?this['e']:_0x4acfb2['e'];return Interval['fromDateTimes'](_0x13ad12,_0x1d27e5);}static['merge'](_0xbcfb09){const [_0x37e31d,_0x2fc341]=_0xbcfb09['sort']((_0x2e6be9,_0x2fc88f)=>_0x2e6be9['s']-_0x2fc88f['s'])['reduce'](([_0x1ebf5b,_0x382e26],_0x47d6b6)=>_0x382e26?_0x382e26['overlaps'](_0x47d6b6)||_0x382e26['abutsStart'](_0x47d6b6)?[_0x1ebf5b,_0x382e26['union'](_0x47d6b6)]:[_0x1ebf5b['concat']([_0x382e26]),_0x47d6b6]:[_0x1ebf5b,_0x47d6b6],[[],null]);return _0x2fc341&&_0x37e31d['push'](_0x2fc341),_0x37e31d;}static['xor'](_0x2d7617){let _0x479595=null,_0x3bbe98=0x0;const _0x441104=[],_0x32922f=_0x2d7617['map'](_0x4551e4=>[{'time':_0x4551e4['s'],'type':'s'},{'time':_0x4551e4['e'],'type':'e'}]),_0x1fc038=Array['prototype']['concat'](..._0x32922f)['sort']((_0x187050,_0x4ac2be)=>_0x187050['time']-_0x4ac2be['time']);for(const _0x465470 of _0x1fc038)_0x3bbe98+='s'===_0x465470['type']?0x1:-0x1,0x1===_0x3bbe98?_0x479595=_0x465470['time']:(_0x479595&&+_0x479595!==+_0x465470['time']&&_0x441104['push'](Interval['fromDateTimes'](_0x479595,_0x465470['time'])),_0x479595=null);return Interval['merge'](_0x441104);}['difference'](..._0x8825dc){return Interval['xor']([this]['concat'](_0x8825dc))['map'](_0x542c6f=>this['intersection'](_0x542c6f))['filter'](_0x37f0a5=>_0x37f0a5&&!_0x37f0a5['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':Bu;}[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'](_0x208fc6=jc,_0x53c0f1={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x53c0f1),_0x208fc6)['formatInterval'](this):Bu;}['toISO'](_0x2d6226){return this['isValid']?this['s']['toISO'](_0x2d6226)+'/'+this['e']['toISO'](_0x2d6226):Bu;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():Bu;}['toISOTime'](_0x40288b){return this['isValid']?this['s']['toISOTime'](_0x40288b)+'/'+this['e']['toISOTime'](_0x40288b):Bu;}['toFormat'](_0x55fe37,{separator:_0x5912f0='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x55fe37)+_0x5912f0+this['e']['toFormat'](_0x55fe37):Bu;}['toDuration'](_0x539d96,_0x398881){return this['isValid']?this['e']['diff'](this['s'],_0x539d96,_0x398881):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x13d9c6){return Interval['fromDateTimes'](_0x13d9c6(this['s']),_0x13d9c6(this['e']));}}class Info{static['hasDST'](_0x107489=Settings['defaultZone']){const _0x33ea6b=DateTime['now']()['setZone'](_0x107489)['set']({'month':0xc});return!_0x107489['isUniversal']&&_0x33ea6b['offset']!==_0x33ea6b['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x29d131){return IANAZone['isValidZone'](_0x29d131);}static['normalizeZone'](_0x4388ae){return Sl(_0x4388ae,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x4b18ec=null,locObj:_0x50d6c4=null}={}){return(_0x50d6c4||Locale['create'](_0x4b18ec))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0xc4229c=null,locObj:_0x13f457=null}={}){return(_0x13f457||Locale['create'](_0xc4229c))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x187f37=null,locObj:_0x25bc4f=null}={}){return(_0x25bc4f||Locale['create'](_0x187f37))['getWeekendDays']()['slice']();}static['months'](_0x3604a7='long',{locale:_0x61e76d=null,numberingSystem:_0x1fdcf0=null,locObj:_0x3c0125=null,outputCalendar:_0x556fb9='gregory'}={}){return(_0x3c0125||Locale['create'](_0x61e76d,_0x1fdcf0,_0x556fb9))['months'](_0x3604a7);}static['monthsFormat'](_0x204b55='long',{locale:_0x5350d6=null,numberingSystem:_0x17db39=null,locObj:_0x52e741=null,outputCalendar:_0x22bd31='gregory'}={}){return(_0x52e741||Locale['create'](_0x5350d6,_0x17db39,_0x22bd31))['months'](_0x204b55,!0x0);}static['weekdays'](_0x20d0bb='long',{locale:_0x5f1821=null,numberingSystem:_0x5031bc=null,locObj:_0x242db4=null}={}){return(_0x242db4||Locale['create'](_0x5f1821,_0x5031bc,null))['weekdays'](_0x20d0bb);}static['weekdaysFormat'](_0x43b3f8='long',{locale:_0x5120b9=null,numberingSystem:_0x42b347=null,locObj:_0x3c0658=null}={}){return(_0x3c0658||Locale['create'](_0x5120b9,_0x42b347,null))['weekdays'](_0x43b3f8,!0x0);}static['meridiems']({locale:_0x2ae18b=null}={}){return Locale['create'](_0x2ae18b)['meridiems']();}static['eras'](_0x1e732c='short',{locale:_0x15f07c=null}={}){return Locale['create'](_0x15f07c,null,'gregory')['eras'](_0x1e732c);}static['features'](){return{'relative':nh(),'localeWeek':rh()};}}function Fu(_0x185194,_0x5b93bf){const _0x275ec0=_0x214b9f=>_0x214b9f['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x478584=_0x275ec0(_0x5b93bf)-_0x275ec0(_0x185194);return Math['floor'](Duration['fromMillis'](_0x478584)['as']('days'));}function ju(_0x3c743e,_0x30820e,_0x2e9406,_0x47d504){let [_0x5cae08,_0x19421d,_0x2824e4,_0x54247b]=function(_0x1c6a8d,_0x5e5fe0,_0x45d428){const _0x4e62db=[['years',(_0x5b70f0,_0x5b5899)=>_0x5b5899['year']-_0x5b70f0['year']],['quarters',(_0x133b2c,_0x345507)=>_0x345507['quarter']-_0x133b2c['quarter']+0x4*(_0x345507['year']-_0x133b2c['year'])],['months',(_0x2e8e27,_0x4bb088)=>_0x4bb088['month']-_0x2e8e27['month']+0xc*(_0x4bb088['year']-_0x2e8e27['year'])],['weeks',(_0x17c1f1,_0x36caab)=>{const _0x42c46d=Fu(_0x17c1f1,_0x36caab);return(_0x42c46d-_0x42c46d%0x7)/0x7;}],['days',Fu]],_0x47e380={},_0x260496=_0x1c6a8d;let _0x1e82bd,_0x5e8e15;for(const [_0x369539,_0x5bd5b3]of _0x4e62db)_0x45d428['indexOf'](_0x369539)>=0x0&&(_0x1e82bd=_0x369539,_0x47e380[_0x369539]=_0x5bd5b3(_0x1c6a8d,_0x5e5fe0),_0x5e8e15=_0x260496['plus'](_0x47e380),_0x5e8e15>_0x5e5fe0?(_0x47e380[_0x369539]--,(_0x1c6a8d=_0x260496['plus'](_0x47e380))>_0x5e5fe0&&(_0x5e8e15=_0x1c6a8d,_0x47e380[_0x369539]--,_0x1c6a8d=_0x260496['plus'](_0x47e380))):_0x1c6a8d=_0x5e8e15);return[_0x1c6a8d,_0x47e380,_0x5e8e15,_0x1e82bd];}(_0x3c743e,_0x30820e,_0x2e9406);const _0x58fb4c=_0x30820e-_0x5cae08,_0x3cb65c=_0x2e9406['filter'](_0x218ce3=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x218ce3)>=0x0);0x0===_0x3cb65c['length']&&(_0x2824e4<_0x30820e&&(_0x2824e4=_0x5cae08['plus']({[_0x54247b]:0x1})),_0x2824e4!==_0x5cae08&&(_0x19421d[_0x54247b]=(_0x19421d[_0x54247b]||0x0)+_0x58fb4c/(_0x2824e4-_0x5cae08)));const _0x19daf3=Duration['fromObject'](_0x19421d,_0x47d504);return _0x3cb65c['length']>0x0?Duration['fromMillis'](_0x58fb4c,_0x47d504)['shiftTo'](..._0x3cb65c)['plus'](_0x19daf3):_0x19daf3;}function Hu(_0x11e188,_0x175ba0=_0x4f931e=>_0x4f931e){return{'regex':_0x11e188,'deser':([_0x4c2551])=>_0x175ba0(function(_0xa154b6){let _0xf71a28=parseInt(_0xa154b6,0xa);if(isNaN(_0xf71a28)){_0xf71a28='';for(let _0x3c764a=0x0;_0x3c764a<_0xa154b6['length'];_0x3c764a++){const _0x4b7ee6=_0xa154b6['charCodeAt'](_0x3c764a);if(-0x1!==_0xa154b6[_0x3c764a]['search'](Cl['hanidec']))_0xf71a28+=xl['indexOf'](_0xa154b6[_0x3c764a]);else for(const _0x4ef5fb in kl){const [_0x3edfe3,_0x20776c]=kl[_0x4ef5fb];_0x4b7ee6>=_0x3edfe3&&_0x4b7ee6<=_0x20776c&&(_0xf71a28+=_0x4b7ee6-_0x3edfe3);}}return parseInt(_0xf71a28,0xa);}return _0xf71a28;}(_0x4c2551))};}const Gu='[\x20'+String['fromCharCode'](0xa0)+']',Zu=new RegExp(Gu,'g');function Xu(_0x21ccf5){return _0x21ccf5['replace'](/\./g,'\x5c.?')['replace'](Zu,Gu);}function qu(_0x48ea83){return _0x48ea83['replace'](/\./g,'')['replace'](Zu,'\x20')['toLowerCase']();}function Wu(_0x2c5b7a,_0x2a894d){return null===_0x2c5b7a?null:{'regex':RegExp(_0x2c5b7a['map'](Xu)['join']('|')),'deser':([_0x3e924e])=>_0x2c5b7a['findIndex'](_0x4329bc=>qu(_0x3e924e)===qu(_0x4329bc))+_0x2a894d};}function zu(_0x189ed6,_0x54ba1a){return{'regex':_0x189ed6,'deser':([,_0x3ec535,_0x49966b])=>Eh(_0x3ec535,_0x49966b),'groups':_0x54ba1a};}function Yu(_0x19d543){return{'regex':_0x19d543,'deser':([_0x5484e7])=>_0x5484e7};}function Ku(_0x3f51c0){return _0x3f51c0['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const Ju={'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 td=null;function ed(_0x2d9801,_0x2caeb9){return Array['prototype']['concat'](..._0x2d9801['map'](t=>function(_0x23ed15,_0x3caa9f){if(_0x23ed15['literal'])return _0x23ed15;const _0x52f387=sd(Formatter['macroTokenToFormatOpts'](_0x23ed15['val']),_0x3caa9f);return null==_0x52f387||_0x52f387['includes'](void 0x0)?_0x23ed15:_0x52f387;}(t,_0x2caeb9)));}class TokenParser{constructor(_0xb6a2be,_0x78a997){if(this['locale']=_0xb6a2be,this['format']=_0x78a997,this['tokens']=ed(Formatter['parseFormat'](_0x78a997),_0xb6a2be),this['units']=this['tokens']['map'](t=>function(_0x3f3ca8,_0x58dbac){const _0x1e5ce4=Pl(_0x58dbac),_0x4acd4b=Pl(_0x58dbac,'{2}'),_0x2c9041=Pl(_0x58dbac,'{3}'),_0x29e6ed=Pl(_0x58dbac,'{4}'),_0x3fb6f7=Pl(_0x58dbac,'{6}'),_0x333662=Pl(_0x58dbac,'{1,2}'),_0x33cc00=Pl(_0x58dbac,'{1,3}'),_0x5587ee=Pl(_0x58dbac,'{1,6}'),_0x29d2b1=Pl(_0x58dbac,'{1,9}'),_0x5cf712=Pl(_0x58dbac,'{2,4}'),_0x27f529=Pl(_0x58dbac,'{4,6}'),_0x24b95d=t=>({'regex':RegExp(Ku(t['val'])),'deser':([_0x3e880d])=>_0x3e880d,'literal':!0x0}),_0x2138ea=(t=>{if(_0x3f3ca8['literal'])return _0x24b95d(t);switch(t['val']){case'G':return Wu(_0x58dbac['eras']('short'),0x0);case'GG':return Wu(_0x58dbac['eras']('long'),0x0);case'y':return Hu(_0x5587ee);case'yy':case'kk':return Hu(_0x5cf712,vh);case'yyyy':case'kkkk':return Hu(_0x29e6ed);case'yyyyy':return Hu(_0x27f529);case'yyyyyy':return Hu(_0x3fb6f7);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return Hu(_0x333662);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return Hu(_0x4acd4b);case'MMM':return Wu(_0x58dbac['months']('short',!0x0),0x1);case'MMMM':return Wu(_0x58dbac['months']('long',!0x0),0x1);case'LLL':return Wu(_0x58dbac['months']('short',!0x1),0x1);case'LLLL':return Wu(_0x58dbac['months']('long',!0x1),0x1);case'o':case'S':return Hu(_0x33cc00);case'ooo':case'SSS':return Hu(_0x2c9041);case'u':return Yu(_0x29d2b1);case'uu':return Yu(_0x333662);case'uuu':case'E':case'c':return Hu(_0x1e5ce4);case'a':return Wu(_0x58dbac['meridiems'](),0x0);case'EEE':return Wu(_0x58dbac['weekdays']('short',!0x1),0x1);case'EEEE':return Wu(_0x58dbac['weekdays']('long',!0x1),0x1);case'ccc':return Wu(_0x58dbac['weekdays']('short',!0x0),0x1);case'cccc':return Wu(_0x58dbac['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return zu(new RegExp('([+-]'+_0x333662['source']+')(?::('+_0x4acd4b['source']+'))?'),0x2);case'ZZZ':return zu(new RegExp('([+-]'+_0x333662['source']+')('+_0x4acd4b['source']+')?'),0x2);case'z':return Yu(/[a-z_+-/]{1,256}?/i);case'\x20':return Yu(/[^\S\n\r]/);default:return _0x24b95d(t);}})(_0x3f3ca8)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x2138ea['token']=_0x3f3ca8,_0x2138ea;}(t,_0xb6a2be)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x311156,_0xe70782]=['^'+(_0x202927=this['units'])['map'](_0x161ec6=>_0x161ec6['regex'])['reduce']((_0x5473fc,_0x27b5f9)=>_0x5473fc+'('+_0x27b5f9['source']+')','')+'$',_0x202927];this['regex']=RegExp(_0x311156,'i'),this['handlers']=_0xe70782;}var _0x202927;}['explainFromTokens'](_0x448e3e){if(this['isValid']){const [_0x377a3c,_0x1fac93]=function(_0x5c7c51,_0x886026,_0x49818f){const _0x537a2c=_0x5c7c51['match'](_0x886026);if(_0x537a2c){const _0xdf0774={};let _0x7d013=0x1;for(const _0x3d24d8 in _0x49818f)if(ah(_0x49818f,_0x3d24d8)){const _0x2c4a85=_0x49818f[_0x3d24d8],_0x32e33c=_0x2c4a85['groups']?_0x2c4a85['groups']+0x1:0x1;!_0x2c4a85['literal']&&_0x2c4a85['token']&&(_0xdf0774[_0x2c4a85['token']['val'][0x0]]=_0x2c4a85['deser'](_0x537a2c['slice'](_0x7d013,_0x7d013+_0x32e33c))),_0x7d013+=_0x32e33c;}return[_0x537a2c,_0xdf0774];}return[_0x537a2c,{}];}(_0x448e3e,this['regex'],this['handlers']),[_0x36737a,_0x54b10b,_0x15615f]=_0x1fac93?function(_0x4eea1b){let _0x9cb9c1,_0x534461=null;eh(_0x4eea1b['z'])||(_0x534461=IANAZone['create'](_0x4eea1b['z'])),eh(_0x4eea1b['Z'])||(_0x534461||(_0x534461=new FixedOffsetZone(_0x4eea1b['Z'])),_0x9cb9c1=_0x4eea1b['Z']),eh(_0x4eea1b['q'])||(_0x4eea1b['M']=0x3*(_0x4eea1b['q']-0x1)+0x1),eh(_0x4eea1b['h'])||(_0x4eea1b['h']<0xc&&0x1===_0x4eea1b['a']?_0x4eea1b['h']+=0xc:0xc===_0x4eea1b['h']&&0x0===_0x4eea1b['a']&&(_0x4eea1b['h']=0x0)),0x0===_0x4eea1b['G']&&_0x4eea1b['y']&&(_0x4eea1b['y']=-_0x4eea1b['y']),eh(_0x4eea1b['u'])||(_0x4eea1b['S']=fh(_0x4eea1b['u']));const _0xcb1ab8=Object['keys'](_0x4eea1b)['reduce']((_0x1ff32b,_0x43e285)=>{const _0x2e9407=(_0x754634=>{switch(_0x754634){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;}})(_0x43e285);return _0x2e9407&&(_0x1ff32b[_0x2e9407]=_0x4eea1b[_0x43e285]),_0x1ff32b;},{});return[_0xcb1ab8,_0x534461,_0x9cb9c1];}(_0x1fac93):[null,null,void 0x0];if(ah(_0x1fac93,'a')&&ah(_0x1fac93,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x448e3e,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x377a3c,'matches':_0x1fac93,'result':_0x36737a,'zone':_0x54b10b,'specificOffset':_0x15615f};}return{'input':_0x448e3e,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function id(_0x711463,_0x45bc24,_0x19f678){return new TokenParser(_0x711463,_0x19f678)['explainFromTokens'](_0x45bc24);}function sd(_0x476c23,_0x527aef){if(!_0x476c23)return null;const _0x5867fd=Formatter['create'](_0x527aef,_0x476c23)['dtFormatter']((td||(td=DateTime['fromMillis'](0x16a2e5618e3)),td)),_0x3e4549=_0x5867fd['formatToParts'](),_0x29e003=_0x5867fd['resolvedOptions']();return _0x3e4549['map'](_0x5e028a=>function(_0x59aacf,_0x30dc58,_0x436474){const {type:_0x2c218f,value:_0x46c387}=_0x59aacf;if('literal'===_0x2c218f){const _0x521843=/^\s+$/['test'](_0x46c387);return{'literal':!_0x521843,'val':_0x521843?'\x20':_0x46c387};}const _0x57a4f3=_0x30dc58[_0x2c218f];let _0x5bb60c=_0x2c218f;'hour'===_0x2c218f&&(_0x5bb60c=null!=_0x30dc58['hour12']?_0x30dc58['hour12']?'hour12':'hour24':null!=_0x30dc58['hourCycle']?'h11'===_0x30dc58['hourCycle']||'h12'===_0x30dc58['hourCycle']?'hour12':'hour24':_0x436474['hour12']?'hour12':'hour24');let _0x299264=Ju[_0x5bb60c];if('object'==typeof _0x299264&&(_0x299264=_0x299264[_0x57a4f3]),_0x299264)return{'literal':!0x1,'val':_0x299264};}(_0x5e028a,_0x476c23,_0x29e003));}const nd='Invalid\x20DateTime',rd=0x1eb208c2dc0000;function od(_0x2f2316){return new Invalid('unsupported\x20zone','the\x20zone\x20\x22'+_0x2f2316['name']+'\x22\x20is\x20not\x20supported');}function ad(_0x350d3e){return null===_0x350d3e['weekData']&&(_0x350d3e['weekData']=ql(_0x350d3e['c'])),_0x350d3e['weekData'];}function cd(_0x591e2b){return null===_0x591e2b['localWeekData']&&(_0x591e2b['localWeekData']=ql(_0x591e2b['c'],_0x591e2b['loc']['getMinDaysInFirstWeek'](),_0x591e2b['loc']['getStartOfWeek']())),_0x591e2b['localWeekData'];}function ld(_0x186e21,_0x6d3d8e){const _0x494063={'ts':_0x186e21['ts'],'zone':_0x186e21['zone'],'c':_0x186e21['c'],'o':_0x186e21['o'],'loc':_0x186e21['loc'],'invalid':_0x186e21['invalid']};return new DateTime({..._0x494063,..._0x6d3d8e,'old':_0x494063});}function hd(_0x80e59d,_0x3e007f,_0x5ecf1d){let _0x5dfb64=_0x80e59d-0x3c*_0x3e007f*0x3e8;const _0x45945=_0x5ecf1d['offset'](_0x5dfb64);if(_0x3e007f===_0x45945)return[_0x5dfb64,_0x3e007f];_0x5dfb64-=0x3c*(_0x45945-_0x3e007f)*0x3e8;const _0x3d1826=_0x5ecf1d['offset'](_0x5dfb64);return _0x45945===_0x3d1826?[_0x5dfb64,_0x45945]:[_0x80e59d-0x3c*Math['min'](_0x45945,_0x3d1826)*0x3e8,Math['max'](_0x45945,_0x3d1826)];}function ud(_0x439c70,_0x1a74cd){const _0x40b37=new Date(_0x439c70+=0x3c*_0x1a74cd*0x3e8);return{'year':_0x40b37['getUTCFullYear'](),'month':_0x40b37['getUTCMonth']()+0x1,'day':_0x40b37['getUTCDate'](),'hour':_0x40b37['getUTCHours'](),'minute':_0x40b37['getUTCMinutes'](),'second':_0x40b37['getUTCSeconds'](),'millisecond':_0x40b37['getUTCMilliseconds']()};}function dd(_0x116730,_0x119db9,_0x25cf8a){return hd(wh(_0x116730),_0x119db9,_0x25cf8a);}function fd(_0x482ec4,_0x4c4a7a){const _0x19141b=_0x482ec4['o'],_0x30a52d=_0x482ec4['c']['year']+Math['trunc'](_0x4c4a7a['years']),_0x17b03a=_0x482ec4['c']['month']+Math['trunc'](_0x4c4a7a['months'])+0x3*Math['trunc'](_0x4c4a7a['quarters']),_0x240cf2={..._0x482ec4['c'],'year':_0x30a52d,'month':_0x17b03a,'day':Math['min'](_0x482ec4['c']['day'],Oh(_0x30a52d,_0x17b03a))+Math['trunc'](_0x4c4a7a['days'])+0x7*Math['trunc'](_0x4c4a7a['weeks'])},_0x5ba99b=Duration['fromObject']({'years':_0x4c4a7a['years']-Math['trunc'](_0x4c4a7a['years']),'quarters':_0x4c4a7a['quarters']-Math['trunc'](_0x4c4a7a['quarters']),'months':_0x4c4a7a['months']-Math['trunc'](_0x4c4a7a['months']),'weeks':_0x4c4a7a['weeks']-Math['trunc'](_0x4c4a7a['weeks']),'days':_0x4c4a7a['days']-Math['trunc'](_0x4c4a7a['days']),'hours':_0x4c4a7a['hours'],'minutes':_0x4c4a7a['minutes'],'seconds':_0x4c4a7a['seconds'],'milliseconds':_0x4c4a7a['milliseconds']})['as']('milliseconds'),_0x4ad0b5=wh(_0x240cf2);let [_0x12b0aa,_0x402d04]=hd(_0x4ad0b5,_0x19141b,_0x482ec4['zone']);return 0x0!==_0x5ba99b&&(_0x12b0aa+=_0x5ba99b,_0x402d04=_0x482ec4['zone']['offset'](_0x12b0aa)),{'ts':_0x12b0aa,'o':_0x402d04};}function md(_0x5971ac,_0x704d1a,_0x290561,_0x790783,_0x425af5,_0x5c4d77){const {setZone:_0x44d0f9,zone:_0x51f88a}=_0x290561;if(_0x5971ac&&0x0!==Object['keys'](_0x5971ac)['length']||_0x704d1a){const _0x3b36af=_0x704d1a||_0x51f88a,_0x3744e0=DateTime['fromObject'](_0x5971ac,{..._0x290561,'zone':_0x3b36af,'specificOffset':_0x5c4d77});return _0x44d0f9?_0x3744e0:_0x3744e0['setZone'](_0x51f88a);}return DateTime['invalid'](new Invalid('unparsable','the\x20input\x20\x22'+_0x425af5+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x790783));}function gd(_0x483b8b,_0x3867f7,_0x2d2cd5=!0x0){return _0x483b8b['isValid']?Formatter['create'](Locale['create']('en-US'),{'allowZ':_0x2d2cd5,'forceSimple':!0x0})['formatDateTimeFromString'](_0x483b8b,_0x3867f7):null;}function pd(_0x4f964f,_0x1f12e6){const _0x54e1dd=_0x4f964f['c']['year']>0x270f||_0x4f964f['c']['year']<0x0;let _0x5e46ad='';return _0x54e1dd&&_0x4f964f['c']['year']>=0x0&&(_0x5e46ad+='+'),_0x5e46ad+=hh(_0x4f964f['c']['year'],_0x54e1dd?0x6:0x4),_0x1f12e6?(_0x5e46ad+='-',_0x5e46ad+=hh(_0x4f964f['c']['month']),_0x5e46ad+='-',_0x5e46ad+=hh(_0x4f964f['c']['day'])):(_0x5e46ad+=hh(_0x4f964f['c']['month']),_0x5e46ad+=hh(_0x4f964f['c']['day'])),_0x5e46ad;}function Od(_0x599656,_0x461420,_0x3d9512,_0x5643d0,_0x3e95cd,_0x327798){let _0x50927f=hh(_0x599656['c']['hour']);return _0x461420?(_0x50927f+=':',_0x50927f+=hh(_0x599656['c']['minute']),0x0===_0x599656['c']['millisecond']&&0x0===_0x599656['c']['second']&&_0x3d9512||(_0x50927f+=':')):_0x50927f+=hh(_0x599656['c']['minute']),0x0===_0x599656['c']['millisecond']&&0x0===_0x599656['c']['second']&&_0x3d9512||(_0x50927f+=hh(_0x599656['c']['second']),0x0===_0x599656['c']['millisecond']&&_0x5643d0||(_0x50927f+='.',_0x50927f+=hh(_0x599656['c']['millisecond'],0x3))),_0x3e95cd&&(_0x599656['isOffsetFixed']&&0x0===_0x599656['offset']&&!_0x327798?_0x50927f+='Z':_0x599656['o']<0x0?(_0x50927f+='-',_0x50927f+=hh(Math['trunc'](-_0x599656['o']/0x3c)),_0x50927f+=':',_0x50927f+=hh(Math['trunc'](-_0x599656['o']%0x3c))):(_0x50927f+='+',_0x50927f+=hh(Math['trunc'](_0x599656['o']/0x3c)),_0x50927f+=':',_0x50927f+=hh(Math['trunc'](_0x599656['o']%0x3c)))),_0x327798&&(_0x50927f+='['+_0x599656['zone']['ianaName']+']'),_0x50927f;}const wd={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},bd={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},yd={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},vd=['year','month','day','hour','minute','second','millisecond'],_d=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],Ed=['year','ordinal','hour','minute','second','millisecond'];function Td(_0x47fa9c){switch(_0x47fa9c['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x244bef){const _0x33110f={'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'}[_0x244bef['toLowerCase']()];if(!_0x33110f)throw new InvalidUnitError(_0x244bef);return _0x33110f;}(_0x47fa9c);}}function Ad(_0x84ee1a,_0x492cfc){const _0x9fa017=Sl(_0x492cfc['zone'],Settings['defaultZone']);if(!_0x9fa017['isValid'])return DateTime['invalid'](od(_0x9fa017));const _0x53030c=Locale['fromObject'](_0x492cfc);let _0x21e790,_0xe27e9d;if(eh(_0x84ee1a['year']))_0x21e790=Settings['now']();else{for(const _0xcfada of vd)eh(_0x84ee1a[_0xcfada])&&(_0x84ee1a[_0xcfada]=wd[_0xcfada]);const _0xb08f87=Jl(_0x84ee1a)||th(_0x84ee1a);if(_0xb08f87)return DateTime['invalid'](_0xb08f87);const _0x2d3e65=function(_0x26bab1){if(void 0x0===Cd&&(Cd=Settings['now']()),'iana'!==_0x26bab1['type'])return _0x26bab1['offset'](Cd);const _0xb1a0db=_0x26bab1['name'];let _0x149cdd=kd['get'](_0xb1a0db);return void 0x0===_0x149cdd&&(_0x149cdd=_0x26bab1['offset'](Cd),kd['set'](_0xb1a0db,_0x149cdd)),_0x149cdd;}(_0x9fa017);[_0x21e790,_0xe27e9d]=dd(_0x84ee1a,_0x2d3e65,_0x9fa017);}return new DateTime({'ts':_0x21e790,'zone':_0x9fa017,'loc':_0x53030c,'o':_0xe27e9d});}function Id(_0x26d126,_0xf78602,_0x7d3487){const _0x50104c=!!eh(_0x7d3487['round'])||_0x7d3487['round'],_0x539ff8=(_0x3c6fc1,_0x4129bc)=>{return _0x3c6fc1=mh(_0x3c6fc1,_0x50104c||_0x7d3487['calendary']?0x0:0x2,!0x0),_0xf78602['loc']['clone'](_0x7d3487)['relFormatter'](_0x7d3487)['format'](_0x3c6fc1,_0x4129bc);},_0x5b0249=_0xc8a72a=>_0x7d3487['calendary']?_0xf78602['hasSame'](_0x26d126,_0xc8a72a)?0x0:_0xf78602['startOf'](_0xc8a72a)['diff'](_0x26d126['startOf'](_0xc8a72a),_0xc8a72a)['get'](_0xc8a72a):_0xf78602['diff'](_0x26d126,_0xc8a72a)['get'](_0xc8a72a);if(_0x7d3487['unit'])return _0x539ff8(_0x5b0249(_0x7d3487['unit']),_0x7d3487['unit']);for(const _0x30170b of _0x7d3487['units']){const _0x3c44be=_0x5b0249(_0x30170b);if(Math['abs'](_0x3c44be)>=0x1)return _0x539ff8(_0x3c44be,_0x30170b);}return _0x539ff8(_0x26d126>_0xf78602?-0x0:0x0,_0x7d3487['units'][_0x7d3487['units']['length']-0x1]);}function Sd(_0x8c7ab2){let _0x1bd1fb,_0x3cabba={};return _0x8c7ab2['length']>0x0&&'object'==typeof _0x8c7ab2[_0x8c7ab2['length']-0x1]?(_0x3cabba=_0x8c7ab2[_0x8c7ab2['length']-0x1],_0x1bd1fb=Array['from'](_0x8c7ab2)['slice'](0x0,_0x8c7ab2['length']-0x1)):_0x1bd1fb=Array['from'](_0x8c7ab2),[_0x3cabba,_0x1bd1fb];}let Cd;const kd=new Map();class DateTime{constructor(_0xf07faa){const _0x407284=_0xf07faa['zone']||Settings['defaultZone'];let _0x1a1e31=_0xf07faa['invalid']||(Number['isNaN'](_0xf07faa['ts'])?new Invalid('invalid\x20input'):null)||(_0x407284['isValid']?null:od(_0x407284));this['ts']=eh(_0xf07faa['ts'])?Settings['now']():_0xf07faa['ts'];let _0x321ee4=null,_0x57fc9b=null;if(!_0x1a1e31){if(_0xf07faa['old']&&_0xf07faa['old']['ts']===this['ts']&&_0xf07faa['old']['zone']['equals'](_0x407284))[_0x321ee4,_0x57fc9b]=[_0xf07faa['old']['c'],_0xf07faa['old']['o']];else{const _0x3debee=ih(_0xf07faa['o'])&&!_0xf07faa['old']?_0xf07faa['o']:_0x407284['offset'](this['ts']);_0x321ee4=ud(this['ts'],_0x3debee),_0x1a1e31=Number['isNaN'](_0x321ee4['year'])?new Invalid('invalid\x20input'):null,_0x321ee4=_0x1a1e31?null:_0x321ee4,_0x57fc9b=_0x1a1e31?null:_0x3debee;}}this['_zone']=_0x407284,this['loc']=_0xf07faa['loc']||Locale['create'](),this['invalid']=_0x1a1e31,this['weekData']=null,this['localWeekData']=null,this['c']=_0x321ee4,this['o']=_0x57fc9b,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x4ae715,_0x123c8e]=Sd(arguments),[_0x4227e2,_0x1e108f,_0x5bc1fe,_0x20a04d,_0x38d194,_0xe6d566,_0x29fc2e]=_0x123c8e;return Ad({'year':_0x4227e2,'month':_0x1e108f,'day':_0x5bc1fe,'hour':_0x20a04d,'minute':_0x38d194,'second':_0xe6d566,'millisecond':_0x29fc2e},_0x4ae715);}static['utc'](){const [_0x3bfb27,_0x47c9bc]=Sd(arguments),[_0x3e4b7f,_0x287d87,_0x2b9e49,_0x5b9010,_0x344909,_0x347100,_0x2a1610]=_0x47c9bc;return _0x3bfb27['zone']=FixedOffsetZone['utcInstance'],Ad({'year':_0x3e4b7f,'month':_0x287d87,'day':_0x2b9e49,'hour':_0x5b9010,'minute':_0x344909,'second':_0x347100,'millisecond':_0x2a1610},_0x3bfb27);}static['fromJSDate'](_0x12255b,_0x37ef50={}){const _0x18ddb9=(_0x32e87a=_0x12255b,'[object\x20Date]'===Object['prototype']['toString']['call'](_0x32e87a)?_0x12255b['valueOf']():NaN);var _0x32e87a;if(Number['isNaN'](_0x18ddb9))return DateTime['invalid']('invalid\x20input');const _0x4abfa8=Sl(_0x37ef50['zone'],Settings['defaultZone']);return _0x4abfa8['isValid']?new DateTime({'ts':_0x18ddb9,'zone':_0x4abfa8,'loc':Locale['fromObject'](_0x37ef50)}):DateTime['invalid'](od(_0x4abfa8));}static['fromMillis'](_0x5ec1d8,_0x36d3d4={}){if(ih(_0x5ec1d8))return _0x5ec1d8<-rd||_0x5ec1d8>rd?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x5ec1d8,'zone':Sl(_0x36d3d4['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x36d3d4)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x5ec1d8+'\x20with\x20value\x20'+_0x5ec1d8);}static['fromSeconds'](_0x3d9bf8,_0x2802fc={}){if(ih(_0x3d9bf8))return new DateTime({'ts':0x3e8*_0x3d9bf8,'zone':Sl(_0x2802fc['zone'],Settings['defaultZone']),'loc':Locale['fromObject'](_0x2802fc)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x890d98,_0x589b58={}){_0x890d98=_0x890d98||{};const _0x597c57=Sl(_0x589b58['zone'],Settings['defaultZone']);if(!_0x597c57['isValid'])return DateTime['invalid'](od(_0x597c57));const _0x293bd6=Locale['fromObject'](_0x589b58),_0x384513=Ah(_0x890d98,Td),{minDaysInFirstWeek:_0x6ebb7b,startOfWeek:_0xb79221}=Kl(_0x384513,_0x293bd6),_0x5c56b9=Settings['now'](),_0x2172c6=eh(_0x589b58['specificOffset'])?_0x597c57['offset'](_0x5c56b9):_0x589b58['specificOffset'],_0x271d29=!eh(_0x384513['ordinal']),_0x173076=!eh(_0x384513['year']),_0x397b3b=!eh(_0x384513['month'])||!eh(_0x384513['day']),_0x5aa601=_0x173076||_0x397b3b,_0x1fc0da=_0x384513['weekYear']||_0x384513['weekNumber'];if((_0x5aa601||_0x271d29)&&_0x1fc0da)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x397b3b&&_0x271d29)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x32ce45=_0x1fc0da||_0x384513['weekday']&&!_0x5aa601;let _0x225760,_0x39f11b,_0x522ee8=ud(_0x5c56b9,_0x2172c6);_0x32ce45?(_0x225760=_d,_0x39f11b=bd,_0x522ee8=ql(_0x522ee8,_0x6ebb7b,_0xb79221)):_0x271d29?(_0x225760=Ed,_0x39f11b=yd,_0x522ee8=zl(_0x522ee8)):(_0x225760=vd,_0x39f11b=wd);let _0x572613=!0x1;for(const _0x412a9c of _0x225760){eh(_0x384513[_0x412a9c])?_0x384513[_0x412a9c]=_0x572613?_0x39f11b[_0x412a9c]:_0x522ee8[_0x412a9c]:_0x572613=!0x0;}const _0x4609bb=_0x32ce45?function(_0x1b82f8,_0x1e687b=0x4,_0x14216e=0x1){const _0x2c4cd1=sh(_0x1b82f8['weekYear']),_0x497764=lh(_0x1b82f8['weekNumber'],0x1,yh(_0x1b82f8['weekYear'],_0x1e687b,_0x14216e)),_0x319b9b=lh(_0x1b82f8['weekday'],0x1,0x7);return _0x2c4cd1?_0x497764?!_0x319b9b&&jl('weekday',_0x1b82f8['weekday']):jl('week',_0x1b82f8['weekNumber']):jl('weekYear',_0x1b82f8['weekYear']);}(_0x384513,_0x6ebb7b,_0xb79221):_0x271d29?function(_0x2912de){const _0x4bb064=sh(_0x2912de['year']),_0x13bfe0=lh(_0x2912de['ordinal'],0x1,ph(_0x2912de['year']));return _0x4bb064?!_0x13bfe0&&jl('ordinal',_0x2912de['ordinal']):jl('year',_0x2912de['year']);}(_0x384513):Jl(_0x384513),_0x3900ec=_0x4609bb||th(_0x384513);if(_0x3900ec)return DateTime['invalid'](_0x3900ec);const _0x1cebe3=_0x32ce45?Wl(_0x384513,_0x6ebb7b,_0xb79221):_0x271d29?Yl(_0x384513):_0x384513,[_0x2e1468,_0x33c8f0]=dd(_0x1cebe3,_0x2172c6,_0x597c57),_0x10beb4=new DateTime({'ts':_0x2e1468,'zone':_0x597c57,'o':_0x33c8f0,'loc':_0x293bd6});return _0x384513['weekday']&&_0x5aa601&&_0x890d98['weekday']!==_0x10beb4['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x384513['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x10beb4['toISO']()):_0x10beb4['isValid']?_0x10beb4:DateTime['invalid'](_0x10beb4['invalid']);}static['fromISO'](_0x1511e5,_0x146beb={}){const [_0x27bd53,_0x20e47c]=function(_0x1c44a8){return Zh(_0x1c44a8,[wu,_u],[bu,Eu],[yu,Tu],[vu,Au]);}(_0x1511e5);return md(_0x27bd53,_0x20e47c,_0x146beb,'ISO\x208601',_0x1511e5);}static['fromRFC2822'](_0x1bcfd1,_0x420b9a={}){const [_0x25602e,_0x20ba90]=function(_0x29d34a){return Zh(function(_0x40d9b4){return _0x40d9b4['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x29d34a),[uu,du]);}(_0x1bcfd1);return md(_0x25602e,_0x20ba90,_0x420b9a,'RFC\x202822',_0x1bcfd1);}static['fromHTTP'](_0x1383b6,_0x1b61a0={}){const [_0x2ace96,_0x5661b4]=function(_0x45ad58){return Zh(_0x45ad58,[fu,pu],[mu,pu],[gu,Ou]);}(_0x1383b6);return md(_0x2ace96,_0x5661b4,_0x1b61a0,'HTTP',_0x1b61a0);}static['fromFormat'](_0x2c5979,_0x2694d0,_0x390d6f={}){if(eh(_0x2c5979)||eh(_0x2694d0))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x229e8e=null,numberingSystem:_0x5151af=null}=_0x390d6f,_0x3a3750=Locale['fromOpts']({'locale':_0x229e8e,'numberingSystem':_0x5151af,'defaultToEN':!0x0}),[_0x47a93a,_0x3c71c8,_0x50de77,_0x28ccdc]=function(_0x36e394,_0x5a1d84,_0x1ba1b1){const {result:_0x10a3ad,zone:_0x4f0a45,specificOffset:_0x23755c,invalidReason:_0x13e157}=id(_0x36e394,_0x5a1d84,_0x1ba1b1);return[_0x10a3ad,_0x4f0a45,_0x23755c,_0x13e157];}(_0x3a3750,_0x2c5979,_0x2694d0);return _0x28ccdc?DateTime['invalid'](_0x28ccdc):md(_0x47a93a,_0x3c71c8,_0x390d6f,'format\x20'+_0x2694d0,_0x2c5979,_0x50de77);}static['fromString'](_0x2e67b6,_0xa7369,_0x455618={}){return DateTime['fromFormat'](_0x2e67b6,_0xa7369,_0x455618);}static['fromSQL'](_0x3e8329,_0x3e5076={}){const [_0x803b9,_0x42e44d]=function(_0x3bc870){return Zh(_0x3bc870,[Su,_u],[Cu,ku]);}(_0x3e8329);return md(_0x803b9,_0x42e44d,_0x3e5076,'SQL',_0x3e8329);}static['invalid'](_0x5a6c46,_0x207db8=null){if(!_0x5a6c46)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x19c798=_0x5a6c46 instanceof Invalid?_0x5a6c46:new Invalid(_0x5a6c46,_0x207db8);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x19c798);return new DateTime({'invalid':_0x19c798});}static['isDateTime'](_0x5a6fab){return _0x5a6fab&&_0x5a6fab['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x178bae,_0x49a13f={}){const _0x147a13=sd(_0x178bae,Locale['fromObject'](_0x49a13f));return _0x147a13?_0x147a13['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x18b75,_0x3a6082={}){return ed(Formatter['parseFormat'](_0x18b75),Locale['fromObject'](_0x3a6082))['map'](t=>t['val'])['join']('');}static['resetCache'](){Cd=void 0x0,kd['clear']();}['get'](_0x5ec985){return this[_0x5ec985];}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']?ad(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?ad(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?ad(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?cd(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?cd(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?cd(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?zl(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?Info['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?Info['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?Info['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?Info['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 _0x75bdb7=0x5265c00,_0x214803=0xea60,_0x359c02=wh(this['c']),_0x429e6b=this['zone']['offset'](_0x359c02-_0x75bdb7),_0x9cc5a0=this['zone']['offset'](_0x359c02+_0x75bdb7),_0x3e019e=this['zone']['offset'](_0x359c02-_0x429e6b*_0x214803),_0x26676d=this['zone']['offset'](_0x359c02-_0x9cc5a0*_0x214803);if(_0x3e019e===_0x26676d)return[this];const _0x568809=_0x359c02-_0x3e019e*_0x214803,_0x46c268=_0x359c02-_0x26676d*_0x214803,_0xcc8191=ud(_0x568809,_0x3e019e),_0x5ef32f=ud(_0x46c268,_0x26676d);return _0xcc8191['hour']===_0x5ef32f['hour']&&_0xcc8191['minute']===_0x5ef32f['minute']&&_0xcc8191['second']===_0x5ef32f['second']&&_0xcc8191['millisecond']===_0x5ef32f['millisecond']?[ld(this,{'ts':_0x568809}),ld(this,{'ts':_0x46c268})]:[this];}get['isInLeapYear'](){return gh(this['year']);}get['daysInMonth'](){return Oh(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?ph(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?yh(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?yh(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x47a1ab={}){const {locale:_0x2b73e6,numberingSystem:_0x3a0555,calendar:_0x554f56}=Formatter['create'](this['loc']['clone'](_0x47a1ab),_0x47a1ab)['resolvedOptions'](this);return{'locale':_0x2b73e6,'numberingSystem':_0x3a0555,'outputCalendar':_0x554f56};}['toUTC'](_0xb5d232=0x0,_0x394173={}){return this['setZone'](FixedOffsetZone['instance'](_0xb5d232),_0x394173);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x308cde,{keepLocalTime:_0xfe1d7f=!0x1,keepCalendarTime:_0xcbf9bc=!0x1}={}){if((_0x308cde=Sl(_0x308cde,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x308cde['isValid']){let _0x72a361=this['ts'];if(_0xfe1d7f||_0xcbf9bc){const _0x1dea16=_0x308cde['offset'](this['ts']),_0x2de657=this['toObject']();[_0x72a361]=dd(_0x2de657,_0x1dea16,_0x308cde);}return ld(this,{'ts':_0x72a361,'zone':_0x308cde});}return DateTime['invalid'](od(_0x308cde));}['reconfigure']({locale:_0x28e12f,numberingSystem:_0x3f07b5,outputCalendar:_0x4de0f6}={}){return ld(this,{'loc':this['loc']['clone']({'locale':_0x28e12f,'numberingSystem':_0x3f07b5,'outputCalendar':_0x4de0f6})});}['setLocale'](_0x1a3feb){return this['reconfigure']({'locale':_0x1a3feb});}['set'](_0x219b69){if(!this['isValid'])return this;const _0x31c10c=Ah(_0x219b69,Td),{minDaysInFirstWeek:_0x3529fb,startOfWeek:_0x3d95a1}=Kl(_0x31c10c,this['loc']),_0x46d1ce=!eh(_0x31c10c['weekYear'])||!eh(_0x31c10c['weekNumber'])||!eh(_0x31c10c['weekday']),_0x14a4b6=!eh(_0x31c10c['ordinal']),_0x55974e=!eh(_0x31c10c['year']),_0x423a49=!eh(_0x31c10c['month'])||!eh(_0x31c10c['day']),_0x286bea=_0x55974e||_0x423a49,_0x1adbc4=_0x31c10c['weekYear']||_0x31c10c['weekNumber'];if((_0x286bea||_0x14a4b6)&&_0x1adbc4)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x423a49&&_0x14a4b6)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x5e5046;_0x46d1ce?_0x5e5046=Wl({...ql(this['c'],_0x3529fb,_0x3d95a1),..._0x31c10c},_0x3529fb,_0x3d95a1):eh(_0x31c10c['ordinal'])?(_0x5e5046={...this['toObject'](),..._0x31c10c},eh(_0x31c10c['day'])&&(_0x5e5046['day']=Math['min'](Oh(_0x5e5046['year'],_0x5e5046['month']),_0x5e5046['day']))):_0x5e5046=Yl({...zl(this['c']),..._0x31c10c});const [_0x23600f,_0xb92f07]=dd(_0x5e5046,this['o'],this['zone']);return ld(this,{'ts':_0x23600f,'o':_0xb92f07});}['plus'](_0x52d951){if(!this['isValid'])return this;return ld(this,fd(this,Duration['fromDurationLike'](_0x52d951)));}['minus'](_0x4fc4db){if(!this['isValid'])return this;return ld(this,fd(this,Duration['fromDurationLike'](_0x4fc4db)['negate']()));}['startOf'](_0x566cd4,{useLocaleWeeks:_0x3d678b=!0x1}={}){if(!this['isValid'])return this;const _0x45bf05={},_0x386374=Duration['normalizeUnit'](_0x566cd4);switch(_0x386374){case'years':_0x45bf05['month']=0x1;case'quarters':case'months':_0x45bf05['day']=0x1;case'weeks':case'days':_0x45bf05['hour']=0x0;case'hours':_0x45bf05['minute']=0x0;case'minutes':_0x45bf05['second']=0x0;case'seconds':_0x45bf05['millisecond']=0x0;}if('weeks'===_0x386374){if(_0x3d678b){const _0x37575c=this['loc']['getStartOfWeek'](),{weekday:_0x3a9f81}=this;_0x3a9f81<_0x37575c&&(_0x45bf05['weekNumber']=this['weekNumber']-0x1),_0x45bf05['weekday']=_0x37575c;}else _0x45bf05['weekday']=0x1;}if('quarters'===_0x386374){const _0x55bc2f=Math['ceil'](this['month']/0x3);_0x45bf05['month']=0x3*(_0x55bc2f-0x1)+0x1;}return this['set'](_0x45bf05);}['endOf'](_0x1540b2,_0x1ad5ea){return this['isValid']?this['plus']({[_0x1540b2]:0x1})['startOf'](_0x1540b2,_0x1ad5ea)['minus'](0x1):this;}['toFormat'](_0xbd5d4e,_0x350a69={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x350a69))['formatDateTimeFromString'](this,_0xbd5d4e):nd;}['toLocaleString'](_0x1276a7=jc,_0x557a90={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x557a90),_0x1276a7)['formatDateTime'](this):nd;}['toLocaleParts'](_0x4d16f4={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x4d16f4),_0x4d16f4)['formatDateTimeParts'](this):[];}['toISO']({format:_0x2b235f='extended',suppressSeconds:_0x1044f4=!0x1,suppressMilliseconds:_0x5b5616=!0x1,includeOffset:_0x262861=!0x0,extendedZone:_0x588bb4=!0x1}={}){if(!this['isValid'])return null;const _0x5f32ac='extended'===_0x2b235f;let _0x2bc270=pd(this,_0x5f32ac);return _0x2bc270+='T',_0x2bc270+=Od(this,_0x5f32ac,_0x1044f4,_0x5b5616,_0x262861,_0x588bb4),_0x2bc270;}['toISODate']({format:_0x3516f1='extended'}={}){return this['isValid']?pd(this,'extended'===_0x3516f1):null;}['toISOWeekDate'](){return gd(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x9b4765=!0x1,suppressSeconds:_0x59a0e3=!0x1,includeOffset:_0x3a059e=!0x0,includePrefix:_0x5db4b5=!0x1,extendedZone:_0x372a2d=!0x1,format:_0x204440='extended'}={}){if(!this['isValid'])return null;return(_0x5db4b5?'T':'')+Od(this,'extended'===_0x204440,_0x59a0e3,_0x9b4765,_0x3a059e,_0x372a2d);}['toRFC2822'](){return gd(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return gd(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?pd(this,!0x0):null;}['toSQLTime']({includeOffset:_0x5e7308=!0x0,includeZone:_0x5e6866=!0x1,includeOffsetSpace:_0x4c50f0=!0x0}={}){let _0x38560e='HH:mm:ss.SSS';return(_0x5e6866||_0x5e7308)&&(_0x4c50f0&&(_0x38560e+='\x20'),_0x5e6866?_0x38560e+='z':_0x5e7308&&(_0x38560e+='ZZ')),gd(this,_0x38560e,!0x0);}['toSQL'](_0x26d6b6={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x26d6b6):null;}['toString'](){return this['isValid']?this['toISO']():nd;}[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'](_0x2fa72d={}){if(!this['isValid'])return{};const _0x524264={...this['c']};return _0x2fa72d['includeConfig']&&(_0x524264['outputCalendar']=this['outputCalendar'],_0x524264['numberingSystem']=this['loc']['numberingSystem'],_0x524264['locale']=this['loc']['locale']),_0x524264;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x556464,_0x1f2bd1='milliseconds',_0x27411b={}){if(!this['isValid']||!_0x556464['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x544db0={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x27411b},_0x4cece6=(_0x1eb358=_0x1f2bd1,Array['isArray'](_0x1eb358)?_0x1eb358:[_0x1eb358])['map'](Duration['normalizeUnit']),_0x5bb4be=_0x556464['valueOf']()>this['valueOf'](),_0x2c9ed8=ju(_0x5bb4be?this:_0x556464,_0x5bb4be?_0x556464:this,_0x4cece6,_0x544db0);var _0x1eb358;return _0x5bb4be?_0x2c9ed8['negate']():_0x2c9ed8;}['diffNow'](_0x4f3955='milliseconds',_0x176643={}){return this['diff'](DateTime['now'](),_0x4f3955,_0x176643);}['until'](_0x108684){return this['isValid']?Interval['fromDateTimes'](this,_0x108684):this;}['hasSame'](_0x2b1454,_0x54acc0,_0x5e6b2c){if(!this['isValid'])return!0x1;const _0x3c6513=_0x2b1454['valueOf'](),_0x121cf1=this['setZone'](_0x2b1454['zone'],{'keepLocalTime':!0x0});return _0x121cf1['startOf'](_0x54acc0,_0x5e6b2c)<=_0x3c6513&&_0x3c6513<=_0x121cf1['endOf'](_0x54acc0,_0x5e6b2c);}['equals'](_0x15f327){return this['isValid']&&_0x15f327['isValid']&&this['valueOf']()===_0x15f327['valueOf']()&&this['zone']['equals'](_0x15f327['zone'])&&this['loc']['equals'](_0x15f327['loc']);}['toRelative'](_0x3e73cf={}){if(!this['isValid'])return null;const _0x134bf3=_0x3e73cf['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x2ea7c5=_0x3e73cf['padding']?this<_0x134bf3?-_0x3e73cf['padding']:_0x3e73cf['padding']:0x0;let _0x42f45e=['years','months','days','hours','minutes','seconds'],_0x351bda=_0x3e73cf['unit'];return Array['isArray'](_0x3e73cf['unit'])&&(_0x42f45e=_0x3e73cf['unit'],_0x351bda=void 0x0),Id(_0x134bf3,this['plus'](_0x2ea7c5),{..._0x3e73cf,'numeric':'always','units':_0x42f45e,'unit':_0x351bda});}['toRelativeCalendar'](_0x3c5f3f={}){return this['isValid']?Id(_0x3c5f3f['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x3c5f3f,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x4a2d67){if(!_0x4a2d67['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return oh(_0x4a2d67,_0x152e35=>_0x152e35['valueOf'](),Math['min']);}static['max'](..._0x1bacdf){if(!_0x1bacdf['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return oh(_0x1bacdf,_0xd4f49c=>_0xd4f49c['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x4c37dc,_0x40e4aa,_0x47230c={}){const {locale:_0x1a2647=null,numberingSystem:_0x58d3b2=null}=_0x47230c;return id(Locale['fromOpts']({'locale':_0x1a2647,'numberingSystem':_0x58d3b2,'defaultToEN':!0x0}),_0x4c37dc,_0x40e4aa);}static['fromStringExplain'](_0x44f94a,_0x1fb41e,_0x79903={}){return DateTime['fromFormatExplain'](_0x44f94a,_0x1fb41e,_0x79903);}static['buildFormatParser'](_0x163a4f,_0x49640a={}){const {locale:_0x2c84a0=null,numberingSystem:_0x288299=null}=_0x49640a,_0x208e97=Locale['fromOpts']({'locale':_0x2c84a0,'numberingSystem':_0x288299,'defaultToEN':!0x0});return new TokenParser(_0x208e97,_0x163a4f);}static['fromFormatParser'](_0x124d69,_0xa1b1c5,_0x4520f6={}){if(eh(_0x124d69)||eh(_0xa1b1c5))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x351940=null,numberingSystem:_0x27412d=null}=_0x4520f6,_0x3ece85=Locale['fromOpts']({'locale':_0x351940,'numberingSystem':_0x27412d,'defaultToEN':!0x0});if(!_0x3ece85['equals'](_0xa1b1c5['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x3ece85+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0xa1b1c5['locale']);const {result:_0x5d8682,zone:_0x57097a,specificOffset:_0x3ece45,invalidReason:_0x51590a}=_0xa1b1c5['explainFromTokens'](_0x124d69);return _0x51590a?DateTime['invalid'](_0x51590a):md(_0x5d8682,_0x57097a,_0x4520f6,'format\x20'+_0xa1b1c5['format'],_0x124d69,_0x3ece45);}static get['DATE_SHORT'](){return jc;}static get['DATE_MED'](){return Hc;}static get['DATE_MED_WITH_WEEKDAY'](){return Gc;}static get['DATE_FULL'](){return Zc;}static get['DATE_HUGE'](){return Xc;}static get['TIME_SIMPLE'](){return qc;}static get['TIME_WITH_SECONDS'](){return Wc;}static get['TIME_WITH_SHORT_OFFSET'](){return zc;}static get['TIME_WITH_LONG_OFFSET'](){return Yc;}static get['TIME_24_SIMPLE'](){return Kc;}static get['TIME_24_WITH_SECONDS'](){return Jc;}static get['TIME_24_WITH_SHORT_OFFSET'](){return tl;}static get['TIME_24_WITH_LONG_OFFSET'](){return el;}static get['DATETIME_SHORT'](){return il;}static get['DATETIME_SHORT_WITH_SECONDS'](){return sl;}static get['DATETIME_MED'](){return nl;}static get['DATETIME_MED_WITH_SECONDS'](){return rl;}static get['DATETIME_MED_WITH_WEEKDAY'](){return ol;}static get['DATETIME_FULL'](){return al;}static get['DATETIME_FULL_WITH_SECONDS'](){return cl;}static get['DATETIME_HUGE'](){return ll;}static get['DATETIME_HUGE_WITH_SECONDS'](){return hl;}}function xd(_0x32aaef){if(DateTime['isDateTime'](_0x32aaef))return _0x32aaef;if(_0x32aaef&&_0x32aaef['valueOf']&&ih(_0x32aaef['valueOf']()))return DateTime['fromJSDate'](_0x32aaef);if(_0x32aaef&&'object'==typeof _0x32aaef)return DateTime['fromObject'](_0x32aaef);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x32aaef+',\x20of\x20type\x20'+typeof _0x32aaef);}function Rd(_0x306516={},_0x8b0f1){if(void 0x0!==_0x306516['dateTimeFormat']&&'function'!=typeof _0x306516['dateTimeFormat'])throw new _0x522f1f('invalid-date-time-format');return _0x61ec4c=>{const _0x5c9c12='string'==typeof _0x61ec4c?DateTime['fromISO'](_0x61ec4c):DateTime['fromJSDate'](_0x61ec4c),_0x6ca973=DateTime['now'](),_0x36315c=Math['floor'](_0x6ca973['diff'](_0x5c9c12,'days')['days']);return _0x306516['dateTimeFormat']?_0x306516['dateTimeFormat'](_0x5c9c12['toJSDate'](),_0x8b0f1&&_0x8b0f1['t']?_0x8b0f1['t']:void 0x0):0x0===_0x36315c?_0x8b0f1?Pc(_0x8b0f1,'Today')+'\x20'+_0x5c9c12['toFormat']('hh:mma'):_0x5c9c12['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x36315c?_0x8b0f1?Pc(_0x8b0f1,'Yesterday')+'\x20'+_0x5c9c12['toFormat']('hh:mma'):_0x5c9c12['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x36315c<0x7?_0x8b0f1?Pc(_0x8b0f1,'Last')+'\x20'+Pc(_0x8b0f1,_0x5c9c12['toFormat']('EEEE'))+'\x20'+_0x5c9c12['toFormat']('hh:mma'):_0x5c9c12['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x5c9c12['toFormat']('LL-dd-yyyy\x20hh:mma');};}function Pd(_0x389fd7,_0x36751b){const _0x485c24=_0x389fd7['mapper']['markerNameToElements'](_0x36751b['name']);if(!_0x485c24)return null;const _0x351b92=_0x1e08d5(_0x485c24['values']());return _0x389fd7['view']['domConverter']['mapViewToDom'](_0x351b92)||null;}function Md(_0xe3daf9,_0x2ede8a){if(0x0===_0x2ede8a['length'])return null;const _0x232980=[],_0xc9dc58=_0xe3daf9['view']['domConverter'];for(const _0xaaf464 of _0x2ede8a){const _0x277f09=_0xe3daf9['mapper']['markerNameToElements'](_0xaaf464['name']);if(!_0x277f09)continue;const _0x742614=Array['from'](_0x277f09)['map'](_0x347cf5=>_0xc9dc58['mapViewToDom'](_0x347cf5))['filter'](_0x3ed833=>!!_0x3ed833);_0x232980['push'](..._0x742614);}if(0x0===_0x232980['length'])return null;const _0x262981=[];for(const _0xc3c7ba of _0x232980){const _0x49842c=_0xc3c7ba['getClientRects']()['item'](0x0);_0x49842c&&_0x262981['push']({'x':_0x49842c['x'],'y':_0x49842c['y'],'domElement':_0xc3c7ba});}return 0x0===_0x262981['length']?null:(_0x262981['sort']((_0x573aed,_0x2c2568)=>_0x573aed['y']-_0x2c2568['y']||_0x573aed['x']-_0x2c2568['x']),_0x262981['map'](_0x3bddd1=>_0x3bddd1['domElement']));}function Nd(_0x248050,{limit:_0x1bb098,suffix:_0x38cd21='...'}){const _0x5a9459=[];let _0x319721=0x0;const _0x41b8f1=_0x248050['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x5184fe=0x0;_0x5184fe<_0x41b8f1['length'];_0x5184fe++){let _0x4ab9dc=_0x41b8f1[_0x5184fe];const _0x545bc3=Ld(_0x4ab9dc);if(_0x4ab9dc['startsWith']('<')){if(_0x319721>=_0x1bb098){const _0x4485c6=_0x4ab9dc['match'](/[a-zA-Z]+/);if(!_0x4485c6){_0x41b8f1[_0x5184fe]='';continue;}const _0x22b7b6=_0x4485c6[0x0];_0x4ab9dc['startsWith']('</')?(_0x5a9459['length']&&(_0x4ab9dc=''),_0x5a9459['pop']()):(_0x5a9459['push'](_0x22b7b6),_0x4ab9dc='');}}else{if(_0x319721>=_0x1bb098)_0x4ab9dc='';else{if(_0x319721+_0x545bc3['length']>=_0x1bb098){let _0x2fc782=_0x1bb098-_0x319721;if('\x20'===_0x545bc3[_0x2fc782-0x1])_0x2fc782--;else{const _0x326bc0=_0x545bc3['slice'](_0x2fc782)['indexOf']('\x20');-0x1!==_0x326bc0?_0x2fc782+=_0x326bc0:_0x2fc782=_0x4ab9dc['length'];}_0x4ab9dc=_0x545bc3['slice'](0x0,_0x2fc782)['join']('')+_0x38cd21,_0x319721=_0x1bb098;}else _0x319721+=_0x545bc3['length'];}}_0x41b8f1[_0x5184fe]=_0x4ab9dc;}return _0x41b8f1['join']('\x0a')['replace'](/\n/g,'');}function Ld(_0xa6b08e){const _0x4de06d=[];for(let _0x2ceac4=0x0;_0x2ceac4<_0xa6b08e['length'];_0x2ceac4++){const _0x5e8922=_0xa6b08e['substring'](_0x2ceac4)['match'](/^&[a-z0-9#]+;/);if(_0x5e8922){const _0x2bed72=_0x5e8922[0x0];_0x4de06d['push'](_0x2bed72),_0x2ceac4+=_0x2bed72['length']-0x1;}else _0x4de06d['push'](_0xa6b08e[_0x2ceac4]);}return _0x4de06d;}class ConfirmView extends _0xa34d16{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0xe04c87){super(_0xe04c87);const _0xae0a4e=this['bindTemplate'];this['set']('message',Pc(_0xe04c87,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0xe04c87,Pc(_0xe04c87,'Yes'),_0x253584,'submit'),this['cancelView']=this['_createButtonView'](_0xe04c87,Pc(_0xe04c87,'No'),_0x3f6f57,'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['focusCycler']=new et({'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':_0xae0a4e['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'](_0x5a1e89,_0x1bcaae,_0x2a68f1,_0x399280){const _0x323a08=new _0x4c508c(_0x5a1e89);return _0x323a08['label']=_0x1bcaae,_0x323a08['icon']=_0x2a68f1,_0x323a08['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x399280}}),_0x323a08['on']('execute',()=>this['fire'](_0x399280)),_0x323a08;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x18ba32=>{this['keystrokes']['listenTo'](_0x18ba32['element']),this['focusTracker']['add'](_0x18ba32['element']);}),this['keystrokes']['set']('esc',(_0x133cf0,_0x2a8225)=>{this['fire']('cancel'),_0x2a8225();});}}function $d(_0x3e9267){return class _0x1eebd7 extends _0x3e9267{['showConfirm'](_0x4a14dc,_0x4eadf0){return this['confirmView']=new ConfirmView(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x4a14dc,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x4eadf0['appendChild'](this['confirmView']['element']),_0x4eadf0['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x42ec50,_0xf4156,_0x43ef73)=>{_0x43ef73||_0x4eadf0['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x38ccd2=>this['confirmView']['on']('submit',_0x38ccd2));}['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 Dd(_0x38f214){let _0x27807d=0x0,_0x590a8d=0x0;for(const _0x370210 of Vd(_0x38f214))_0x27807d=(_0x27807d<<0x5)-_0x27807d+_0x370210,_0x27807d&=_0x27807d,[_0x27807d,_0x590a8d]=[_0x590a8d,_0x27807d];return Fd(_0x27807d)+Fd(_0x590a8d);}function*Qd(_0x17313a){null==_0x17313a||null==_0x17313a?yield 0x12b9b0a1:0x0===_0x17313a||!0x1===_0x17313a?yield 0x0:0x1===_0x17313a||0x1==_0x17313a?yield 0x1:Array['isArray'](_0x17313a)?yield*function*(_0x2d893e){for(const _0x314a5e of _0x2d893e)yield*Qd(_0x314a5e);}(_0x17313a):'object'==typeof _0x17313a?yield*Vd(_0x17313a):'string'==typeof _0x17313a?yield*Ud(_0x17313a):'number'==typeof _0x17313a&&(yield _0x17313a);}function*Vd(_0x1d1d90){if(yield Bd('{'),_0x1d1d90){const _0xdcf6bf=Object['keys'](_0x1d1d90)['sort']();for(const _0x43b3f7 of _0xdcf6bf){yield*Ud(_0x43b3f7),yield Bd(':');const _0x4bbf62=_0x1d1d90[_0x43b3f7];yield*Qd(_0x4bbf62);}}yield Bd('}');}function*Ud(_0x24558a){yield Bd('\x22');for(const _0x1c5367 of _0x24558a)yield Bd(_0x1c5367);yield Bd('\x22');}function Bd(_0x315a8d){return _0x315a8d['charCodeAt'](0x0);}function Fd(_0x522463){return(_0x522463*=Math['sign'](_0x522463))['toString'](0x24);}const jd=['root','roots','initialData','context','toolbar','rootsAttributes'],Hd=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function Gd(_0x5ecc84,_0x1e76cb,_0x3b7255,_0x11b098=[]){const _0x5d23a4='string'==typeof _0x5ecc84?_0x3b7255['get'](_0x5ecc84)['constructor']:_0x5ecc84['prototype']['constructor'];if(_0x1e76cb['has'](_0x5d23a4))return _0x1e76cb['get'](_0x5d23a4);_0x1e76cb['set'](_0x5d23a4,!0x0);const _0x4b9481=[...Hd,..._0x11b098]['map'](_0x1f5b7f=>{if(_0x3b7255['has'](_0x1f5b7f))return _0x3b7255['get'](_0x1f5b7f)['constructor'];})['filter'](_0x2d0c8c=>_0x2d0c8c);if(_0x5d23a4&&_0x4b9481['includes'](_0x5d23a4))return _0x1e76cb['set'](_0x5d23a4,!0x1),!0x1;if(!_0x5d23a4['requires'])return _0x1e76cb['set'](_0x5d23a4,!0x0),!0x0;const _0x3f9808=_0x5d23a4['requires']['every'](_0x41c430=>Gd(_0x41c430,_0x1e76cb,_0x3b7255,_0x11b098));return _0x1e76cb['set'](_0x5d23a4,_0x3f9808),_0x3f9808;}function Zd(_0x294a7e,_0x4f6454){const _0x3a65d6={};for(const _0x16c5d7 of _0x294a7e['config']['names']())jd['includes'](_0x16c5d7)||(_0x3a65d6[_0x16c5d7]=_0x294a7e['config']['get'](_0x16c5d7));const _0x3436f8=_0x3a65d6['plugins']||[],_0x2a1c8f=_0x294a7e['constructor']['builtinPlugins']||[],_0x1e64d7=_0x3436f8['length']?_0x3436f8:_0x2a1c8f,_0x5c46e8=_0x3a65d6['extraPlugins']||[];delete _0x3a65d6['extraPlugins'];const _0x422720=_0x3a65d6['removePlugins']||[];delete _0x3a65d6['removePlugins'];const _0x3e036c=_0x294a7e['_context']['config']['get']('plugins')||[],_0x5b44f5=_0x1e64d7['concat'](_0x5c46e8)['concat'](_0x3e036c)['map'](_0x165555=>'string'==typeof _0x165555?_0x2a1c8f['find'](_0x294beb=>_0x294beb['pluginName']==_0x165555):_0x165555)['filter'](_0x6a5457=>!_0x422720['includes'](_0x6a5457)&&!_0x422720['includes'](_0x6a5457['pluginName'])),_0x5de6ea=Array['from'](new Set(_0x5b44f5)),_0x117df6=new Map();return _0x3a65d6['plugins']=_0x5de6ea['filter'](_0x32f80a=>Gd(_0x32f80a,_0x117df6,_0x294a7e['plugins'],_0x4f6454)),_0x3a65d6;}function Xd(_0x2c204f,_0x14db7f){const _0x466d74=[];_0x2c204f['document']['selection']['on']('change:range',()=>{const _0x552247=function(_0x182790,_0xcce52){const _0x2b6d60=[];for(const _0x2b8a9a of _0x182790['markers']){const _0xbfe271=_0x2b8a9a['getRange']();(_0xbfe271['containsPosition'](_0xcce52)||_0xbfe271['start']['isEqual'](_0xcce52)||_0xbfe271['end']['isEqual'](_0xcce52))&&_0x2b6d60['push'](_0x2b8a9a);}return _0x2b6d60;}(_0x2c204f,_0x2c204f['document']['selection']['focus']),_0x4997f1=[],_0x100326=[],_0x1b39c9=[];for(const _0x26604f of _0x466d74)_0x552247['includes'](_0x26604f)||_0x4997f1['push'](_0x26604f);for(const _0x23966b of _0x552247)_0x466d74['includes'](_0x23966b)||_0x100326['push'](_0x23966b),_0x1b39c9['push'](_0x23966b);(_0x4997f1['length']||_0x100326['length'])&&_0x14db7f({'left':_0x4997f1,'entered':_0x100326}),_0x466d74['length']=0x0,_0x466d74['push'](..._0x1b39c9);});}const qd='Ctrl+Shift+E';function Wd(_0x189295,_0x3be6f2){const _0x17e2e5=_0x189295['element'];_0x189295['keystrokes']['listenTo'](_0x17e2e5);for(const _0x47fbf0 of _0x3be6f2)zd(_0x189295,_0x47fbf0);_0x3be6f2['on']('change',(_0x1d7b8f,_0x33c516)=>{for(const _0x15d96e of _0x33c516['removed'])Yd(_0x189295,_0x15d96e);for(const _0x276dbe of Array['from'](_0x33c516['added'])['reverse']())zd(_0x189295,_0x276dbe);}),_0x189295['keystrokes']['set']('enter',(_0x5ecf82,_0x6652d3)=>{_0x17e2e5===_0x5ecf82['target']&&(_0x189295['focusCycler']['focusFirst'](),_0x6652d3());},{'filter':_0x2683a9=>_0x2683a9['target']===_0x17e2e5}),_0x189295['keystrokes']['set']('esc',(_0x1604da,_0x54572b)=>{_0x17e2e5!==_0x1604da['target']?_0x189295['focus']():_0x189295['fire']('escape'),_0x54572b();}),_0x189295['keystrokes']['set']('arrowdown',(_0x16a176,_0x44fff1)=>{_0x17e2e5===_0x16a176['target']&&(_0x189295['fire']('arrowdown'),_0x44fff1());}),_0x189295['keystrokes']['set']('arrowup',(_0x554a24,_0x2ed102)=>{_0x17e2e5===_0x554a24['target']&&(_0x189295['fire']('arrowup'),_0x2ed102());});}function zd(_0x192b53,_0xba87b){_0xba87b['isRendered']&&(_0x192b53['focusTracker']['add'](_0xba87b['element']),_0x192b53['keystrokes']['listenTo'](_0xba87b['element']),dt(_0xba87b)&&function(_0x40f2bc,_0x4ad495){const _0x2e2f6e=_0x40f2bc['actions'],_0x46fe13=_0x4ad495['actions'];for(const _0x53ba84 of Object['keys'](_0x2e2f6e))if(_0x53ba84 in _0x46fe13&&_0x2e2f6e[_0x53ba84]!==_0x46fe13[_0x53ba84])return!0x1;return!0x0;}(_0x192b53['focusCycler'],_0xba87b['focusCycler'])&&_0x192b53['focusCycler']['chain'](_0xba87b['focusCycler']));}function Yd(_0x3ff5a3,_0x32ec00){_0x3ff5a3['focusTracker']['remove'](_0x32ec00['element']),_0x3ff5a3['keystrokes']['stopListening'](_0x32ec00['element']),dt(_0x32ec00)&&_0x3ff5a3['focusCycler']['unchain'](_0x32ec00['focusCycler']);}class Diff{['diff'](_0x3ab9e1,_0x41cf2a,_0x537635={}){let _0x2365c3;'function'==typeof _0x537635?(_0x2365c3=_0x537635,_0x537635={}):'callback'in _0x537635&&(_0x2365c3=_0x537635['callback']);const _0x1edb04=this['castInput'](_0x3ab9e1,_0x537635),_0x175d1c=this['castInput'](_0x41cf2a,_0x537635),_0x410e73=this['removeEmpty'](this['tokenize'](_0x1edb04,_0x537635)),_0x4aa1f8=this['removeEmpty'](this['tokenize'](_0x175d1c,_0x537635));return this['diffWithOptionsObj'](_0x410e73,_0x4aa1f8,_0x537635,_0x2365c3);}['diffWithOptionsObj'](_0x3c6bb2,_0x1819c4,_0x5015a1,_0x2fa01c){var _0x5469e7;const _0x5ced0a=_0x566c43=>(_0x566c43=this['postProcess'](_0x566c43,_0x5015a1),_0x2fa01c?void setTimeout(function(){_0x2fa01c(_0x566c43);},0x0):_0x566c43),_0x4bcd6e=_0x1819c4['length'],_0x5a857b=_0x3c6bb2['length'];let _0x45d837=0x1,_0x27bf0e=_0x4bcd6e+_0x5a857b;null!=_0x5015a1['maxEditLength']&&(_0x27bf0e=Math['min'](_0x27bf0e,_0x5015a1['maxEditLength']));const _0x308ad6=null!==(_0x5469e7=_0x5015a1['timeout'])&&void 0x0!==_0x5469e7?_0x5469e7:0x1/0x0,_0x547335=Date['now']()+_0x308ad6,_0x127e88=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x33700f=this['extractCommon'](_0x127e88[0x0],_0x1819c4,_0x3c6bb2,0x0,_0x5015a1);if(_0x127e88[0x0]['oldPos']+0x1>=_0x5a857b&&_0x33700f+0x1>=_0x4bcd6e)return _0x5ced0a(this['buildValues'](_0x127e88[0x0]['lastComponent'],_0x1819c4,_0x3c6bb2));let _0x38b9ce=-0x1/0x0,_0x23efe1=0x1/0x0;const _0x3e8605=()=>{for(let _0x4efbda=Math['max'](_0x38b9ce,-_0x45d837);_0x4efbda<=Math['min'](_0x23efe1,_0x45d837);_0x4efbda+=0x2){let _0x5699a7;const _0x5d481f=_0x127e88[_0x4efbda-0x1],_0x3ed3bf=_0x127e88[_0x4efbda+0x1];_0x5d481f&&(_0x127e88[_0x4efbda-0x1]=void 0x0);let _0x270f12=!0x1;if(_0x3ed3bf){const _0x1835fd=_0x3ed3bf['oldPos']-_0x4efbda;_0x270f12=_0x3ed3bf&&0x0<=_0x1835fd&&_0x1835fd<_0x4bcd6e;}const _0x4ee964=_0x5d481f&&_0x5d481f['oldPos']+0x1<_0x5a857b;if(_0x270f12||_0x4ee964){if(_0x5699a7=!_0x4ee964||_0x270f12&&_0x5d481f['oldPos']<_0x3ed3bf['oldPos']?this['addToPath'](_0x3ed3bf,!0x0,!0x1,0x0,_0x5015a1):this['addToPath'](_0x5d481f,!0x1,!0x0,0x1,_0x5015a1),_0x33700f=this['extractCommon'](_0x5699a7,_0x1819c4,_0x3c6bb2,_0x4efbda,_0x5015a1),_0x5699a7['oldPos']+0x1>=_0x5a857b&&_0x33700f+0x1>=_0x4bcd6e)return _0x5ced0a(this['buildValues'](_0x5699a7['lastComponent'],_0x1819c4,_0x3c6bb2))||!0x0;_0x127e88[_0x4efbda]=_0x5699a7,_0x5699a7['oldPos']+0x1>=_0x5a857b&&(_0x23efe1=Math['min'](_0x23efe1,_0x4efbda-0x1)),_0x33700f+0x1>=_0x4bcd6e&&(_0x38b9ce=Math['max'](_0x38b9ce,_0x4efbda+0x1));}else _0x127e88[_0x4efbda]=void 0x0;}_0x45d837++;};if(_0x2fa01c)!function _0x1a951f(){setTimeout(function(){if(_0x45d837>_0x27bf0e||Date['now']()>_0x547335)return _0x2fa01c(void 0x0);_0x3e8605()||_0x1a951f();},0x0);}();else for(;_0x45d837<=_0x27bf0e&&Date['now']()<=_0x547335;){const _0x4d0584=_0x3e8605();if(_0x4d0584)return _0x4d0584;}}['addToPath'](_0x4345d9,_0x348567,_0x5f05aa,_0x576cef,_0x1700e5){const _0x18780d=_0x4345d9['lastComponent'];return _0x18780d&&!_0x1700e5['oneChangePerToken']&&_0x18780d['added']===_0x348567&&_0x18780d['removed']===_0x5f05aa?{'oldPos':_0x4345d9['oldPos']+_0x576cef,'lastComponent':{'count':_0x18780d['count']+0x1,'added':_0x348567,'removed':_0x5f05aa,'previousComponent':_0x18780d['previousComponent']}}:{'oldPos':_0x4345d9['oldPos']+_0x576cef,'lastComponent':{'count':0x1,'added':_0x348567,'removed':_0x5f05aa,'previousComponent':_0x18780d}};}['extractCommon'](_0x5cc356,_0x45ad3d,_0x1d6f5e,_0x2a94f4,_0x26f1cd){const _0x28dd52=_0x45ad3d['length'],_0x53054d=_0x1d6f5e['length'];let _0x3e1662=_0x5cc356['oldPos'],_0x39617b=_0x3e1662-_0x2a94f4,_0x39773f=0x0;for(;_0x39617b+0x1<_0x28dd52&&_0x3e1662+0x1<_0x53054d&&this['equals'](_0x1d6f5e[_0x3e1662+0x1],_0x45ad3d[_0x39617b+0x1],_0x26f1cd);)_0x39617b++,_0x3e1662++,_0x39773f++,_0x26f1cd['oneChangePerToken']&&(_0x5cc356['lastComponent']={'count':0x1,'previousComponent':_0x5cc356['lastComponent'],'added':!0x1,'removed':!0x1});return _0x39773f&&!_0x26f1cd['oneChangePerToken']&&(_0x5cc356['lastComponent']={'count':_0x39773f,'previousComponent':_0x5cc356['lastComponent'],'added':!0x1,'removed':!0x1}),_0x5cc356['oldPos']=_0x3e1662,_0x39617b;}['equals'](_0x34a66b,_0x55bc83,_0x18603b){return _0x18603b['comparator']?_0x18603b['comparator'](_0x34a66b,_0x55bc83):_0x34a66b===_0x55bc83||!!_0x18603b['ignoreCase']&&_0x34a66b['toLowerCase']()===_0x55bc83['toLowerCase']();}['removeEmpty'](_0x4cf929){const _0x37d5df=[];for(let _0x15d2e5=0x0;_0x15d2e5<_0x4cf929['length'];_0x15d2e5++)_0x4cf929[_0x15d2e5]&&_0x37d5df['push'](_0x4cf929[_0x15d2e5]);return _0x37d5df;}['castInput'](_0x30c40a,_0x56ce6e){return _0x30c40a;}['tokenize'](_0x179dd5,_0x2e29e9){return Array['from'](_0x179dd5);}['join'](_0x4d4762){return _0x4d4762['join']('');}['postProcess'](_0x5cc231,_0x5cd618){return _0x5cc231;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x3792d4,_0x5aaaf5,_0x42fcbc){const _0x2bf7e0=[];let _0x26ecc6;for(;_0x3792d4;)_0x2bf7e0['push'](_0x3792d4),_0x26ecc6=_0x3792d4['previousComponent'],delete _0x3792d4['previousComponent'],_0x3792d4=_0x26ecc6;_0x2bf7e0['reverse']();const _0x520cd2=_0x2bf7e0['length'];let _0x1b7146=0x0,_0x50ad01=0x0,_0x3ff9c0=0x0;for(;_0x1b7146<_0x520cd2;_0x1b7146++){const _0x2c9193=_0x2bf7e0[_0x1b7146];if(_0x2c9193['removed'])_0x2c9193['value']=this['join'](_0x42fcbc['slice'](_0x3ff9c0,_0x3ff9c0+_0x2c9193['count'])),_0x3ff9c0+=_0x2c9193['count'];else{if(!_0x2c9193['added']&&this['useLongestToken']){let _0x51101a=_0x5aaaf5['slice'](_0x50ad01,_0x50ad01+_0x2c9193['count']);_0x51101a=_0x51101a['map'](function(_0x1c317c,_0x2e31a6){const _0x3748cc=_0x42fcbc[_0x3ff9c0+_0x2e31a6];return _0x3748cc['length']>_0x1c317c['length']?_0x3748cc:_0x1c317c;}),_0x2c9193['value']=this['join'](_0x51101a);}else _0x2c9193['value']=this['join'](_0x5aaaf5['slice'](_0x50ad01,_0x50ad01+_0x2c9193['count']));_0x50ad01+=_0x2c9193['count'],_0x2c9193['added']||(_0x3ff9c0+=_0x2c9193['count']);}}return _0x2bf7e0;}}const Kd=new class ArrayDiff extends Diff{['tokenize'](_0x495255){return _0x495255['slice']();}['join'](_0x478da7){return _0x478da7;}['removeEmpty'](_0x3c8915){return _0x3c8915;}}();function Jd(_0x38b3bc,_0x405df7,_0x176703){return Kd['diff'](_0x38b3bc,_0x405df7,_0x176703);}const tf='$elementId',ef='data-id';class DocumentCompare extends _0x304a5a{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x8aa8ea?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x384d94,_0x19f733)=>{_0x19f733['on']('ready',()=>{this['_integrateEditor'](_0x19f733);});});}get['editor'](){if(this['context']instanceof _0x8aa8ea)return this['context'];{const _0x23da6a=this['context']['editors']['first'];if(!_0x23da6a)throw new _0x522f1f('documentcompare-no-editor',this);return _0x23da6a;}}['getDiff'](_0x5a895d,_0xdcc443,_0x4baa90={'anchor':'main','markDeletions':!0x1}){const _0x484a16=_0x4baa90['targetEditor']||this['editor'];let _0x297d3b,_0x5e1877;if('string'==typeof _0x4baa90['anchor']){const _0x5c5015=_0x484a16['model']['document']['getRoot'](_0x4baa90['anchor']);if(!_0x5c5015)throw new _0x522f1f('documentcompare-compare-no-root',this,{'anchor':_0x4baa90['anchor']});_0x297d3b=_0x5c5015,_0x5e1877=_0x484a16['model']['createPositionAt'](_0x5c5015,0x0);}else _0x297d3b=_0x4baa90['anchor']['clone'](),_0x5e1877=_0x4baa90['anchor']['clone']();const _0xf0df49=_0x484a16['data']['parse'](_0x5a895d,_0x297d3b),_0x581b64=_0x484a16['data']['parse'](_0xdcc443,_0x297d3b);return new DocumentDiff({'editor':_0x484a16,'before':_0xf0df49,'after':_0x581b64,'options':{'anchor':_0x5e1877,'markDeletions':_0x4baa90['markDeletions']}});}['isMarkedRemoveOperation'](_0x42be25){return'marker'==_0x42be25['type']&&_0x42be25['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x48e648){_0x48e648['conversion']['for']('upcast')['add'](_0x2ea497=>{_0x2ea497['on']('element',(_0xde89d1,_0x19eaf1,_0x56afbb)=>{if(_0x19eaf1['modelRange']&&_0x56afbb['consumable']['consume'](_0x19eaf1['viewItem'],{'attributes':'data-id'}))for(const _0x21efd3 of _0x19eaf1['modelRange']['getItems']({'shallow':!0x0})){if(_0x21efd3['is']('$textProxy'))continue;const _0x28ec24=_0x19eaf1['viewItem']['getAttribute'](ef);_0x28ec24&&_0x56afbb['writer']['setAttribute'](tf,_0x28ec24,_0x21efd3);}},{'priority':'low'});}),_0x48e648['model']['schema']['addAttributeCheck'](()=>!0x0,tf);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x3d5de3,before:_0x451b87,after:_0x1d632f,options:_0x1b4daf}){this['_editor']=_0x3d5de3,this['_markDeletions']=!!_0x1b4daf['markDeletions'],this['_anchor']=_0x1b4daf['anchor'];const _0x162e4f=this['_tokenizeModel'](_0x451b87),_0x8363f9=this['_tokenizeModel'](_0x1d632f);this['_diffItems']=this['_diffModelTokens'](_0x162e4f,_0x8363f9),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x451b87['markers'],_0x1d632f['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x362e19=this['_editor']['model']['document'],_0x1d4452=[];let _0xa4125c=_0x362e19['version'];for(const _0x5a09cf of this['_operationsData'])switch(_0x5a09cf['type']){case'attribute':{const _0x4596b5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['path']),_0x38191a=_0x4596b5['getShiftedBy'](_0x5a09cf['howMany']),_0x661746=new _0x2b1886(_0x4596b5,_0x38191a),_0x574bec=JSON['parse'](_0x5a09cf['oldValue']),_0x1064b7=JSON['parse'](_0x5a09cf['newValue']);_0x1d4452['push'](new _0x1b9f3b(_0x661746,_0x5a09cf['key'],_0x574bec,_0x1064b7,_0xa4125c++));break;}case'insert':{const _0x5f46d9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['path']),_0x2ac00c=this['_makeModelFromTokens'](_0x5a09cf['tokens']);_0x1d4452['push'](new _0xf189cc(_0x5f46d9,_0x2ac00c,_0xa4125c++));break;}case'remove':{const _0x2f851f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['path']),_0x42fbf4=new _0x1845da(_0x362e19['graveyard'],[0x0]);_0x1d4452['push'](new _0x4a1432(_0x2f851f,_0x5a09cf['howMany'],_0x42fbf4,_0xa4125c++));break;}case'rename':{const _0x1010f8=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['path']);_0x1d4452['push'](new _0x116634(_0x1010f8,_0x5a09cf['oldName'],_0x5a09cf['newName'],_0xa4125c++));break;}case'split':{const _0x171bc7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['path']),_0x306675=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['path']['slice'](0x0,-0x1));_0x306675['offset']++,_0x1d4452['push'](new _0x2517f7(_0x171bc7,Number['NEGATIVE_INFINITY'],_0x306675,null,_0xa4125c++));break;}case'merge':{const _0x2d1515=_0x5a09cf['path']['slice'](),_0x7c8d7d=_0x2d1515['slice'](0x0,-0x1);_0x7c8d7d[_0x7c8d7d['length']-0x1]++,_0x7c8d7d['push'](0x0);const _0x262424=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x7c8d7d),_0x5ace36=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2d1515),_0x4334f7=new _0x1845da(_0x362e19['graveyard'],[0x0]);_0x1d4452['push'](new _0x275758(_0x262424,Number['NEGATIVE_INFINITY'],_0x5ace36,_0x4334f7,_0xa4125c++));break;}case'marker':case'markedRemove':{let _0x5eb033=null;if(_0x5a09cf['range']){const _0x21d676=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['range']['start']),_0x4a8586=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['range']['end']);_0x5eb033=new _0x2b1886(_0x21d676,_0x4a8586);}const _0x263822='marker'==_0x5a09cf['type']?_0x5a09cf['name']:'$markedRemove:'+_0x3eda13();_0x1d4452['push'](new _0x16ce72(_0x263822,null,_0x5eb033,_0x362e19['model']['markers'],!0x0,_0xa4125c++));break;}case'unwrap':{const _0x1589eb=_0x5a09cf['path']['slice']();_0x1589eb['push'](0x0);const _0x39979a=_0x5a09cf['path']['slice'](),_0x23cff1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x1589eb),_0x9358de=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x39979a),_0x4074b7=new _0x1845da(_0x362e19['graveyard'],[0x0]);_0x1d4452['push'](new _0x4a1432(_0x23cff1,_0x5a09cf['howMany'],_0x9358de,_0xa4125c++)),_0x1d4452['push'](new _0x4a1432(_0x9358de['getShiftedBy'](_0x5a09cf['howMany']),0x1,_0x4074b7,_0xa4125c++));break;}case'wrap':{const _0x3462be=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['range']['start']),_0x4b98e7=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5a09cf['range']['end']),_0x224b6f=_0x5a09cf['token']['element']['_clone'](!0x1);_0x224b6f['_removeAttribute'](tf);const _0x5fbc49=_0x5a09cf['range']['end']['slice']();_0x5fbc49['push'](0x0);const _0x4c9e50=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x5fbc49);_0x1d4452['push'](new _0xf189cc(_0x4b98e7,_0x224b6f,_0xa4125c++)),_0x1d4452['push'](new _0x4a1432(_0x3462be,_0x4b98e7['offset']-_0x3462be['offset'],_0x4c9e50,_0xa4125c++));break;}}return _0x1d4452;}['_tokenizeModel'](_0x53bfc0){const _0x5d8e3a=[],_0x21aa02=_0x2b1886['_createIn'](_0x53bfc0),_0x2ad654=new _0x483405({'boundaries':_0x21aa02});let _0x5d766d='',_0x58773b=null;const _0x1bdd81=[''],_0x3c6254=new Map();for(const _0x1d8f75 of _0x2ad654)if('elementStart'==_0x1d8f75['type']||'elementEnd'==_0x1d8f75['type']){let _0x24ed2a=_0x1bdd81[0x0];''!==_0x5d766d&&(_0x5d8e3a['push'](...this['_makeTokensFromTextByWords'](_0x5d766d,_0x58773b,_0x24ed2a)),_0x5d766d='');const _0x4a6429=_0x1d8f75['item'];let _0x5eaeeb;_0x4a6429['getAttribute'](tf)?_0x5eaeeb=_0x4a6429['getAttribute'](tf):'elementStart'==_0x1d8f75['type']?(_0x5eaeeb=nf(_0x4a6429),_0x3c6254['set'](_0x4a6429,_0x5eaeeb)):_0x5eaeeb=_0x3c6254['get'](_0x4a6429);const _0x3ef480=this['_getElementCategory'](_0x4a6429);'solid'==_0x3ef480&&('elementStart'==_0x1d8f75['type']?(_0x24ed2a=_0x5eaeeb,_0x1bdd81['unshift'](_0x24ed2a)):_0x1bdd81['shift']());const _0x4f17e5={'type':'element','element':_0x4a6429,'elementId':_0x5eaeeb,'category':_0x3ef480,'isStart':'elementStart'==_0x1d8f75['type'],'limitId':_0x24ed2a};_0x5d8e3a['push'](_0x4f17e5);}else''==_0x5d766d&&(_0x58773b=_0x1d8f75['previousPosition']['clone']()),_0x5d766d+=_0x1d8f75['item']['data'];return''!==_0x5d766d&&_0x5d8e3a['push'](...this['_makeTokensFromTextByWords'](_0x5d766d,_0x58773b,_0x1bdd81[0x0])),_0x5d8e3a;}['_makeTokensFromTextByWords'](_0x160dd6,_0x473f49,_0x533465){const _0x5e7544=_0x160dd6['matchAll'](/(\s)/g),_0x15ec07=Array['from'](_0x5e7544)['map'](_0x455be1=>_0x455be1['index']);_0x15ec07['push'](_0x160dd6['length']),0x0==_0x15ec07[0x0]&&_0x15ec07['shift']();const _0x4fe36f=[],_0x5e2671=_0x473f49['parent'];let _0x432e29=0x0,_0xee712b=_0x473f49['offset'];for(let _0x444db8=0x0;_0x444db8<_0x15ec07['length'];_0x444db8++)_0x4fe36f['push']({'type':'text','data':_0x160dd6['slice'](_0x432e29,_0x15ec07[_0x444db8]),'parent':_0x5e2671,'offset':_0xee712b,'limitId':_0x533465}),_0x432e29=_0x15ec07[_0x444db8],_0xee712b=_0x473f49['offset']+_0x15ec07[_0x444db8];return _0x4fe36f;}['_getElementCategory'](_0x53af0c){const _0x1ff53b=this['_editor']['model']['schema'];return _0x1ff53b['isLimit'](_0x53af0c)||_0x1ff53b['isContent'](_0x53af0c)||_0x1ff53b['isInline'](_0x53af0c)?'solid':_0x1ff53b['isBlock'](_0x53af0c)?'block':function(_0x2b8db9,_0x5c7cab){const _0x3757b7=_0x2b8db9['parent'];if(!_0x3757b7||_0x3757b7['is']('documentFragment'))return!0x1;if(_0x5c7cab['checkChild'](_0x3757b7,'$text'))return!0x1;for(const _0x5bbc3a of _0x2b8db9['getChildren']())if(_0x5bbc3a['is']('$text'))return!0x0;return!0x1;}(_0x53af0c,_0x1ff53b)?'solid':'container';}['_diffModelTokens'](_0x2c8265,_0x54cdc1){const _0x59cb72=Jd(_0x2c8265,_0x54cdc1,{'comparator':sf});this['_handleUnclosedBlockOpeningTags'](_0x59cb72);const _0x423734=_0x59cb72['flatMap'](_0x2d4fad=>{const _0x2d8539=_0x2d4fad['added']?'added':_0x2d4fad['removed']?'removed':'unchanged';return _0x2d4fad['value']['map'](_0x4c7091=>({'token':_0x4c7091,'change':_0x2d8539}));});let _0x282899=0x0;for(const _0x52f2fd of _0x423734)'added'!=_0x52f2fd['change']&&('unchanged'==_0x52f2fd['change']&&(_0x52f2fd['before']=_0x2c8265[_0x282899]),_0x282899++);return _0x423734;}['_handleUnclosedBlockOpeningTags'](_0x4e733c){for(let _0x589562=0x0;_0x589562<_0x4e733c['length']-0x1;_0x589562++)if(_0x4e733c[_0x589562]['removed']&&_0x4e733c[_0x589562+0x1]['added']){const _0x127b0d=this['_findUnclosedBlockOpeningToken'](_0x4e733c[_0x589562]['value']);if(null!==_0x127b0d){const _0x292c43=this['_findUnclosedBlockOpeningToken'](_0x4e733c[_0x589562+0x1]['value']),_0x1e18bb=_0x4e733c[_0x589562]['value']['splice'](_0x127b0d),_0x202763=_0x4e733c[_0x589562+0x1]['value']['splice'](_0x292c43),_0x12a015=[_0x202763['shift']()];_0x1e18bb['shift']();const _0x290758={'value':_0x1e18bb,'removed':!0x0},_0xb9f895={'value':_0x202763,'added':!0x0},_0x5ea96e={'value':_0x12a015};_0x4e733c['splice'](_0x589562+0x2,0x0,_0x5ea96e,_0x290758,_0xb9f895);}}}['_findUnclosedBlockOpeningToken'](_0x3c2b4b){let _0x3e9deb=0x0,_0x59ef64=-0x1;for(let _0x518e33=0x0;_0x518e33<_0x3c2b4b['length'];_0x518e33++){const _0x52036a=_0x3c2b4b[_0x518e33];'element'==_0x52036a['type']&&'block'==_0x52036a['category']&&(_0x3e9deb+=_0x52036a['isStart']?0x1:-0x1,_0x52036a['isStart']&&(_0x59ef64=_0x518e33));}return 0x0===_0x3e9deb?null:_0x59ef64;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x3b25a1=0x0;_0x3b25a1<this['_diffItems']['length'];_0x3b25a1++){const _0x23a8a4=this['_diffItems'][_0x3b25a1]['change'],_0x25239b=[];_0x25239b['push'](this['_diffItems'][_0x3b25a1]);let _0x486fdf=_0x3b25a1+0x1;for(;this['_diffItems'][_0x486fdf]&&this['_diffItems'][_0x486fdf]['change']==_0x23a8a4;)_0x25239b['push'](this['_diffItems'][_0x486fdf]),_0x486fdf++,_0x3b25a1++;const _0x45fe9a=_0x25239b['map'](_0x4462a6=>_0x4462a6['token']);if('unchanged'==_0x23a8a4)_0x25239b['map'](_0x2b159e=>_0x2b159e['before'])['forEach'](_0x2a7f88=>this['_traverseOverItem'](_0x2a7f88));else{if('removed'==_0x23a8a4){if(this['_markDeletions']){const _0xd257ce=this['_path']['slice']();_0x45fe9a['forEach'](_0x2f8bdb=>this['_traverseOverItem'](_0x2f8bdb));const _0x53a351=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0xd257ce,'end':_0x53a351}});}else this['_handleChanged'](_0x45fe9a,!0x0,this['_path']['slice']());}else{const _0x1bb625=_0x45fe9a['filter'](_0x5e0fdd=>'element'!=_0x5e0fdd['type']||'container'!=_0x5e0fdd['category']);this['_handleChanged'](_0x1bb625,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x5912ce=0x0;_0x5912ce<this['_diffItems']['length'];_0x5912ce++){const _0x53a959=this['_diffItems'][_0x5912ce]['change'],_0x3e0005=[];_0x3e0005['push'](this['_diffItems'][_0x5912ce]);let _0x5e6158=_0x5912ce+0x1;for(;this['_diffItems'][_0x5e6158]&&this['_diffItems'][_0x5e6158]['change']==_0x53a959;)_0x3e0005['push'](this['_diffItems'][_0x5e6158]),_0x5e6158++,_0x5912ce++;const _0x57c6d7=_0x3e0005['map'](_0x3c1757=>_0x3c1757['token']);if('unchanged'==_0x53a959){const _0x5041b8=_0x3e0005['map'](_0x39842b=>_0x39842b['before']);this['_handleUnchanged'](_0x5041b8,_0x57c6d7);}else('added'==_0x53a959||this['_markDeletions'])&&_0x57c6d7['forEach'](_0x424218=>{'element'==_0x424218['type']&&_0x424218['isStart']&&this['_splitPostponedData']['has'](_0x424218['element'])&&this['_handleSplitPostponedData'](_0x424218['element'],this['_path']),this['_traverseOverItem'](_0x424218);});}}['_handleSplitPostponedData'](_0x53c121,_0x50260e){const _0x1772d2=this['_splitPostponedData']['get'](_0x53c121);for(const _0x6136a5 of _0x1772d2)'rename'==_0x6136a5['type']?this['_operationsData']['push']({'type':'rename','path':_0x50260e['slice'](),'oldName':_0x6136a5['oldValue'],'newName':_0x53c121['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x50260e['slice'](),'howMany':0x1,'key':_0x6136a5['key'],'oldValue':_0x6136a5['oldValue'],'newValue':JSON['stringify'](_0x53c121['getAttribute'](_0x6136a5['key'])??null)});}['_calculateMarkersOperationsData'](_0x548d8b,_0x59e4d5){const _0x4e0d7e={};for(const [_0x1004d4]of _0x548d8b)_0x4e0d7e[_0x1004d4]=null;for(const [_0x1b31b5,_0x261586]of _0x59e4d5)_0x4e0d7e[_0x1b31b5]=_0x261586;const _0x2fc474=Object['entries'](_0x4e0d7e)['map'](([_0x4f6942,_0x203476])=>({'type':'marker','name':_0x4f6942,'range':_0x203476?{'start':_0x203476['start']['path']['slice'](),'end':_0x203476['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2fc474);}['_handleUnwraps'](){const _0x4e3127=new Map(),_0xfe0414=[],_0x535ea8=[0x0];let _0x1ea5da=this['_diffItems']['length']+0x1;for(let _0x37cf99=this['_diffItems']['length']-0x1;_0x37cf99>=0x0;_0x37cf99--){const {token:_0x2cbda9,before:_0x3bcf7f,change:_0x1d8881}=this['_diffItems'][_0x37cf99];if('removed'!=_0x1d8881&&(_0x1ea5da=_0x37cf99),'element'!=_0x2cbda9['type']||'container'!=_0x2cbda9['category']||'added'==_0x1d8881)continue;const _0x23c246=_0x3bcf7f?_0x3bcf7f['element']:_0x2cbda9['element'];if(_0x2cbda9['isStart']){const _0x160e8f=_0x4e3127['get'](_0x23c246),_0x273d27=this['_diffItems'][_0x160e8f];('removed'==_0x1d8881||'removed'==_0x273d27['change'])&&_0x1ea5da<_0x160e8f&&(this['_operationsData']['push']({'type':'unwrap','path':_0x23c246['getPath'](),'howMany':_0x23c246['maxOffset']+_0x535ea8[0x0]}),_0x535ea8['shift'](),_0x535ea8[0x0]+=_0x23c246['maxOffset']-0x1,_0xfe0414['push'](_0x37cf99),_0xfe0414['push'](_0x160e8f));}else _0x4e3127['set'](_0x23c246,_0x37cf99),_0x535ea8['unshift'](0x0);}_0xfe0414['sort']((_0x5dcf83,_0x31d2b5)=>_0x31d2b5-_0x5dcf83),_0xfe0414['forEach'](_0x48a434=>{const _0x35e274=this['_diffItems'][_0x48a434];'removed'==_0x35e274['change']?this['_diffItems']['splice'](_0x48a434,0x1):(_0x35e274['change']='added',delete _0x35e274['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x4f9920=[];for(let _0x4c2879=0x0;_0x4c2879<this['_diffItems']['length'];_0x4c2879++){const {change:_0x4b1988,token:_0x456cc6}=this['_diffItems'][_0x4c2879];if('added'==_0x4b1988&&'element'==_0x456cc6['type']&&'container'==_0x456cc6['category']){if(_0x456cc6['isStart'])_0x4f9920['push'](this['_path']['slice']());else{if(!_0x456cc6['isStart']){const _0x403dcc=_0x4f9920['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x403dcc,'end':this['_path']['slice']()},'token':_0x456cc6}),this['_path'][this['_path']['length']-0x1]=_0x403dcc[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x4b1988||this['_markDeletions'])&&this['_traverseOverItem'](_0x456cc6);}}['_handleUnchanged'](_0x5028c4,_0xc9cf37){for(let _0x11f160=0x0;_0x11f160<_0x5028c4['length'];_0x11f160++){const _0x1cc484=_0x5028c4[_0x11f160];if('element'==_0x1cc484['type']&&_0x1cc484['isStart']){const _0x54020f=_0xc9cf37[_0x11f160];'block'==_0x1cc484['category']&&this['_handleElementRename'](_0x1cc484['element'],_0x54020f['element'],this['_path']),this['_handleElementAttributeChanges'](_0x1cc484['element'],_0x54020f['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x54020f);}else{if('element'!=_0x1cc484['type']||_0x1cc484['isStart']){if('text'==_0x1cc484['type']){const _0x40c92a=this['_path']['slice'](),_0x536bc2=[],_0x3c8ba9=[];for(;_0x5028c4[_0x11f160]&&'text'==_0x5028c4[_0x11f160]['type'];)_0x536bc2['push'](_0x5028c4[_0x11f160]),_0x3c8ba9['push'](_0xc9cf37[_0x11f160]),this['_path'][this['_path']['length']-0x1]+=_0x5028c4[_0x11f160]['data']['length'],_0x11f160++;_0x11f160--,this['_handleTextAttributeChanges'](_0x536bc2,_0x3c8ba9,_0x40c92a);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x22e5ac,_0x46f3d9,_0x688eca){const _0x2dce5a=[],_0x42673c=[],_0x2885ae=_0x688eca['slice']();let _0x27b6f0=this['_parents']['length']-0x1;for(let _0x204dff=0x0;_0x204dff<_0x22e5ac['length'];_0x204dff++){const _0x4e7b81=_0x22e5ac[_0x204dff],_0x381a6c=_0x688eca['slice']();'element'!=_0x4e7b81['type']||_0x4e7b81['isStart']?'element'==_0x4e7b81['type']&&_0x4e7b81['isStart']?(_0x688eca['push'](0x0),_0x27b6f0++,_0x42673c['push']({'before':_0x381a6c,'after':_0x688eca['slice'](),'index':_0x204dff})):_0x688eca[_0x688eca['length']-0x1]+=_0x4e7b81['data']['length']:(_0x688eca['pop'](),_0x688eca[_0x688eca['length']-0x1]++,_0x27b6f0--,_0x42673c['length']?_0x42673c['pop']():_0x2dce5a['push']({'before':_0x381a6c,'after':_0x688eca['slice'](),'index':_0x204dff}));}if(_0x42673c['length']!==_0x2dce5a['length'])throw new _0x522f1f('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x22e5ac,'isRemove':_0x46f3d9});const _0x4e8964=[{'after':_0x2885ae['slice'](),'index':-0x1},..._0x2dce5a,..._0x42673c,{'before':_0x688eca['slice'](),'index':_0x22e5ac['length']}];if(_0x46f3d9){for(let _0x4568a1=_0x4e8964['length']-0x1;_0x4568a1>=0x1;_0x4568a1--){const _0xf0a395=_0x4e8964[_0x4568a1-0x1]['after'],_0x470ef8=_0x4e8964[_0x4568a1]['before'],_0x35b74a=_0x470ef8[_0x470ef8['length']-0x1]-_0xf0a395[_0xf0a395['length']-0x1];_0x35b74a&&(this['_operationsData']['push']({'type':'remove','path':_0xf0a395,'howMany':_0x35b74a}),_0x470ef8[_0x470ef8['length']-0x1]-=_0x35b74a);}for(const {before:_0x37b9e5}of _0x2dce5a)this['_operationsData']['push']({'type':'merge','path':_0x37b9e5});}else for(let _0x262068=0x0;_0x262068<_0x4e8964['length']-0x1;_0x262068++){const _0x58b357=_0x4e8964[_0x262068]['after'],_0x3b305b=_0x4e8964[_0x262068+0x1]['before'],_0x375886=_0x4e8964[_0x262068]['index']+0x1,_0x266dfe=_0x4e8964[_0x262068+0x1]['index'];if(_0x375886!==_0x266dfe&&this['_operationsData']['push']({'type':'insert','path':_0x58b357,'tokens':_0x22e5ac['slice'](_0x375886,_0x266dfe)}),_0x262068<_0x2dce5a['length']){this['_operationsData']['push']({'type':'split','path':_0x3b305b});const _0x32491d=_0x22e5ac[_0x42673c[_0x42673c['length']-0x1-_0x262068]['index']],_0x1cac7e=this['_parents'][_0x27b6f0]['element'];_0x1cac7e['name']!=_0x32491d['element']['name']&&this['_addSplitPostponedData'](_0x32491d['element'],{'type':'rename','oldValue':_0x1cac7e['name']});const _0x15a9f9=this['_getAttributeChanges'](_0x1cac7e['getAttributes'](),_0x32491d['element']['getAttributes']());for(const _0xf136cd in _0x15a9f9){const _0x2d16e3=_0x15a9f9[_0xf136cd]['oldValue'];this['_addSplitPostponedData'](_0x32491d['element'],{'type':'attribute','key':_0xf136cd,'oldValue':_0x2d16e3});}}}}['_addSplitPostponedData'](_0x14e641,_0x3dea80){const _0x5dccad=this['_splitPostponedData']['get'](_0x14e641)||[];_0x5dccad['push'](_0x3dea80),this['_splitPostponedData']['set'](_0x14e641,_0x5dccad);}['_traverseOverItem'](_0x1124c0){'element'==_0x1124c0['type']&&_0x1124c0['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x1124c0)):'element'!=_0x1124c0['type']||_0x1124c0['isStart']?'text'==_0x1124c0['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x1124c0['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x5034b2,_0x407acd,_0x1621dd){_0x5034b2['name']!=_0x407acd['name']&&this['_operationsData']['push']({'type':'rename','path':_0x1621dd['slice'](),'oldName':_0x5034b2['name'],'newName':_0x407acd['name']});}['_handleElementAttributeChanges'](_0x36844e,_0x5cf738,_0x4012a4){const _0xe07d73=this['_getAttributeChanges'](_0x36844e['getAttributes'](),_0x5cf738['getAttributes']());for(const _0x5d153f in _0xe07d73){const {oldValue:_0x491ac8,newValue:_0x4fea88}=_0xe07d73[_0x5d153f];this['_operationsData']['push']({'type':'attribute','path':_0x4012a4['slice'](),'howMany':0x1,'key':_0x5d153f,'oldValue':_0x491ac8,'newValue':_0x4fea88});}}['_handleTextAttributeChanges'](_0x4d2042,_0x52a4dd,_0x439e55){const _0x54bdc0=this['_operationsData'],_0x1687a4=_0x4d2042[0x0]['parent'],_0x2c9be3=_0x4d2042[0x0]['offset'],_0x33f9ae=_0x52a4dd[0x0]['parent'],_0x280c4f=_0x52a4dd[0x0]['offset'],_0x1c17e3=_0x4d2042['reduce']((_0xee9190,_0x56f68d)=>_0xee9190+_0x56f68d['data']['length'],0x0),_0x4a8ef7=this['_getAttrsForOffsets'](_0x1687a4,_0x2c9be3,_0x1c17e3),_0x105ff6=this['_getAttrsForOffsets'](_0x33f9ae,_0x280c4f,_0x1c17e3),_0x4d2398={};for(let _0x5f9421=0x0;_0x5f9421<_0x1c17e3;_0x5f9421++){const _0x85afc6=_0x4a8ef7[_0x2c9be3+_0x5f9421],_0x119d30=_0x105ff6[_0x280c4f+_0x5f9421],_0x3a276e=this['_getAttributeChanges'](_0x85afc6,_0x119d30);for(const _0x39451e in _0x4d2398)_0x3a276e[_0x39451e]||_0x1c5fef(_0x39451e);for(const _0x1fe669 in _0x3a276e){const {oldValue:_0x1c5a24,newValue:_0x43a094}=_0x3a276e[_0x1fe669],_0xedd646=_0x4d2398[_0x1fe669];_0xedd646?_0xedd646['oldValue']==_0x1c5a24&&_0xedd646['newValue']==_0x43a094?_0xedd646['length']++:(_0x1c5fef(_0x1fe669),_0x4d2398[_0x1fe669]={'oldValue':_0x1c5a24,'newValue':_0x43a094,'start':_0x5f9421,'length':0x1}):_0x4d2398[_0x1fe669]={'oldValue':_0x1c5a24,'newValue':_0x43a094,'start':_0x5f9421,'length':0x1};}}for(const _0x52cbe7 in _0x4d2398)_0x1c5fef(_0x52cbe7);function _0x1c5fef(_0x208dcf){const _0x3ef512=_0x4d2398[_0x208dcf],_0x58cc5a=_0x439e55['slice']();_0x58cc5a[_0x58cc5a['length']-0x1]+=_0x3ef512['start'],_0x54bdc0['push']({'type':'attribute','path':_0x58cc5a,'howMany':_0x3ef512['length'],'key':_0x208dcf,'oldValue':_0x3ef512['oldValue'],'newValue':_0x3ef512['newValue']}),delete _0x4d2398[_0x208dcf];}}['_getAttributeChanges'](_0x9aca76,_0x2fc6e3){const _0x54e60a={};for(const [_0x4ca6cc,_0x13dd8b]of _0x9aca76)_0x54e60a[_0x4ca6cc]={'oldValue':JSON['stringify'](_0x13dd8b),'newValue':'null'};for(const [_0x22919c,_0x31f7ff]of _0x2fc6e3){const _0x4136f6=JSON['stringify'](_0x31f7ff);_0x54e60a[_0x22919c]?_0x54e60a[_0x22919c]['oldValue']==_0x4136f6?delete _0x54e60a[_0x22919c]:_0x54e60a[_0x22919c]['newValue']=_0x4136f6:_0x54e60a[_0x22919c]={'oldValue':'null','newValue':_0x4136f6};}return delete _0x54e60a[tf],_0x54e60a;}['_getAttrsForOffsets'](_0x5918ff,_0x20b360,_0x3e2545){const _0x34436e=new Array(_0x20b360+_0x3e2545);let _0x88af49=_0x5918ff['getChildAtOffset'](_0x20b360),_0x8bda44=_0x88af49['startOffset'];for(;_0x88af49&&_0x8bda44<_0x20b360+_0x3e2545;){const _0x4c568e=Array['from'](_0x88af49['getAttributes']());_0x34436e['fill'](_0x4c568e,_0x8bda44,_0x8bda44+_0x88af49['offsetSize']),_0x8bda44+=_0x88af49['offsetSize'],_0x88af49=_0x88af49['nextSibling'];}return _0x34436e;}['_getPositionFromAnchorAndPath'](_0x33907a,_0x346967){const _0x34c83e=[..._0x33907a['path']['slice'](0x0,-0x1),_0x33907a['offset']+_0x346967[0x0],..._0x346967['slice'](0x1)];return new _0x1845da(_0x33907a['root'],_0x34c83e);}['_makeModelFromTokens'](_0x569dcf){const _0x1e7da4=[];let _0x5ef38a=null;for(const _0x526daa of _0x569dcf)if('element'!=_0x526daa['type']||_0x526daa['isStart']||_0x5ef38a!=_0x526daa['element']){if(!_0x5ef38a){if('text'==_0x526daa['type']){const _0x5edddd=_0x1845da['_createAt'](_0x526daa['parent'],_0x526daa['offset']),_0x289393=_0x2b1886['_createFromPositionAndShift'](_0x5edddd,_0x526daa['data']['length']),_0x94acac=Array['from'](_0x289393['getItems']())['map'](_0x48f153=>new _0x3b4df1(_0x48f153['data'],_0x48f153['getAttributes']()));_0x1e7da4['push'](..._0x94acac);}else{_0x5ef38a=_0x526daa['element'];const _0x214a98=_0x526daa['element']['_clone'](!0x0);_0x214a98['_removeAttribute'](tf);for(const _0x18667c of this['_editor']['model']['createRangeIn'](_0x214a98)['getItems']())_0x18667c['is']('element')&&_0x18667c['_removeAttribute'](tf);_0x1e7da4['push'](_0x214a98);}}}else _0x5ef38a=null;return _0x1e7da4;}}function sf(_0x2ba72a,_0x2ad137){return _0x2ba72a['type']===_0x2ad137['type']&&(_0x2ba72a['limitId']===_0x2ad137['limitId']&&('text'==_0x2ba72a['type']?_0x2ba72a['data']==_0x2ad137['data']:function(_0x40f9dd,_0x2c13fa){if(_0x40f9dd['isStart']!=_0x2c13fa['isStart'])return!0x1;if(_0x40f9dd['isStart']&&_0x40f9dd['elementId']!=_0x2c13fa['elementId'])return!0x1;if(_0x40f9dd['category']!=_0x2c13fa['category'])return!0x1;if('block'==_0x40f9dd['category'])return!0x0;if('container'==_0x40f9dd['category']&&_0x40f9dd['elementId']!=_0x2c13fa['elementId'])return!0x1;return _0x40f9dd['element']['name']==_0x2c13fa['element']['name'];}(_0x2ba72a,_0x2ad137)));}function nf(_0x4146c2){return Dd({'name':_0x4146c2['name'],...Object['fromEntries'](_0x4146c2['getAttributes']())});}function rf({changeGroups:_0x1e07b1,documentContextContent:_0x3fc4d1,showDiff:_0x5ccf98,trimUnchanged:_0x43fc35=!0x0}){return _0x1e07b1['map'](_0x46a3c2=>{if('destroyed'===_0x46a3c2['editor']['state'])return null;const _0x205ed7=new ua([]),_0x64d37c=new ua([]),_0x328537=new Set();for(const _0xf7b0cf of _0x46a3c2['changes'])'new'==_0xf7b0cf['type']&&za('data-id',null,_0xf7b0cf['node'])['forEach'](_0x57778b=>{_0x328537['add'](Ja(_0x57778b,'data-id'));});for(const _0x4a3279 of _0x46a3c2['changes'])if('removed'!=_0x4a3279['type']?_0x64d37c['children']['push'](_0x4a3279['node']['cloneNode'](!0x0)):_0x5ccf98||_0x328537['has'](_0x4a3279['id'])||_0x64d37c['children']['push'](_0x4a3279['node']['cloneNode'](!0x0)),'new'!=_0x4a3279['type']&&(_0x5ccf98||'removed'!=_0x4a3279['type'])){const _0x7b51ce=Ga(_0x120768=>Ja(_0x120768,'data-id')==_0x4a3279['id'],_0x3fc4d1['get'](_0x46a3c2['documentId']),!0x0);_0x7b51ce&&_0x205ed7['children']['push'](_0x7b51ce['cloneNode'](!0x0));}const {content:_0x832a08,hasChanges:_0x5138bb}=of(_0x46a3c2['editor'],_0x205ed7,_0x64d37c,_0x5ccf98,_0x43fc35);return{'type':_0x46a3c2['changes'][0x0]['type'],'index':_0x46a3c2['index'],'content':_0x832a08,'hasChanges':_0x5138bb};})['filter'](_0x1aa327=>null!==_0x1aa327);}function of(_0x9f0efb,_0x250b22,_0x5f2d96,_0x3f7469,_0x1f45ef=!0x0){const _0x169b23=_0x9f0efb['plugins']['get']('DocumentCompare'),_0x5235f8=qa(_0x250b22),_0x2aadca=qa(_0x5f2d96),_0x4c1890=_0x9f0efb['data']['parse'](_0x5235f8,'$root'),_0x23b85a=_0x9f0efb['model']['createPositionAt'](_0x4c1890,0x0),_0x5d06b0=_0x169b23['getDiff'](_0x5235f8,_0x2aadca,{'anchor':_0x23b85a,'markDeletions':_0x3f7469,'targetEditor':_0x9f0efb})['getOperations']();if(0x0==_0x5d06b0['length'])return{'content':_0x250b22['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x3f7469?function(_0xa36534,_0x52fb26,_0x358a2c){if(0x0==_0xa36534['length'])return;const _0x25a68f=_0x358a2c['plugins']['get']('DocumentCompare'),_0x3dd795=_0x358a2c['plugins']['get']('SuggestionsConversion');_0x358a2c['model']['change'](_0x46c847=>{const _0x388a39=new Set();for(let _0x33dca6=0x0;_0x33dca6<_0xa36534['length'];_0x33dca6++){const _0x5ab233=_0xa36534[_0x33dca6];if(_0x5ab233['baseVersion']=null,_0x5ab233['isDocumentOperation']=!0x1,_0x25a68f['isMarkedRemoveOperation'](_0x5ab233)){const _0x52fd17=Dc(_0x5ab233['newRange'],_0x358a2c['model']),_0x20e65e='suggestion:deletion:'+_0x3eda13()+':$aiSuggestion';_0x52fb26['markers']['set'](_0x20e65e,_0x52fd17);}else switch(_0x5ab233['type']){case'rename':{if(_0x5ab233['oldName']==_0x5ab233['newName'])break;_0x46c847['batch']['addOperation'](_0x5ab233),_0x358a2c['model']['applyOperation'](_0x5ab233);const _0x2e5816='$elementName',_0x3e914b=_0x5ab233['position'],_0x580941=_0x358a2c['model']['createRange'](_0x3e914b,_0x358a2c['model']['createPositionAt'](_0x3e914b['nodeAfter'],'end')),_0x1d210b='suggestion:attribute:'+_0x2e5816+':'+_0x3eda13()+':$aiSuggestion';_0x52fb26['markers']['set'](_0x1d210b,_0x580941);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x5ab233['oldValue']==_0x5ab233['newValue'])break;_0x46c847['batch']['addOperation'](_0x5ab233),_0x358a2c['model']['applyOperation'](_0x5ab233);const _0x3a1b22=_0x5ab233['key'];if(!_0x3dd795['isRegisteredAttribute'](_0x3a1b22))break;const _0x302f22=Dc(_0x5ab233['range'],_0x358a2c['model']),_0x485564='suggestion:attribute:'+_0x3a1b22+':'+_0x3eda13()+':$aiSuggestion';_0x52fb26['markers']['set'](_0x485564,_0x302f22);break;}case'insert':{_0x46c847['batch']['addOperation'](_0x5ab233),_0x358a2c['model']['applyOperation'](_0x5ab233);if(_0xa36534[_0x33dca6+0x1]&&'move'==_0xa36534[_0x33dca6+0x1]['type']){af(_0x52fb26,_0x5ab233);break;}const _0x46743c=_0x5ab233['position'],_0x37f9a7=_0x5ab233['howMany'],_0xc24da8=Dc(_0x358a2c['model']['createRange'](_0x46743c,_0x46743c['getShiftedBy'](_0x37f9a7)),_0x358a2c['model']),_0x3a8a04='suggestion:insertion:'+_0x3eda13()+':$aiSuggestion';_0x52fb26['markers']['set'](_0x3a8a04,_0xc24da8);break;}case'split':{_0x46c847['batch']['addOperation'](_0x5ab233),_0x358a2c['model']['applyOperation'](_0x5ab233);const _0x527c03=_0x5ab233['splitPosition'],_0x389251=_0x5ab233['moveTargetPosition'],_0x1ee2e1=_0x358a2c['model']['createRange'](_0x527c03,_0x389251),_0xa34fb5='suggestion:insertion:'+_0x3eda13()+':$aiSuggestion';_0x52fb26['markers']['set'](_0xa34fb5,_0x1ee2e1);break;}case'move':{_0x46c847['batch']['addOperation'](_0x5ab233),_0x358a2c['model']['applyOperation'](_0x5ab233),_0xa36534[_0x33dca6-0x1]&&'insert'==_0xa36534[_0x33dca6-0x1]['type']&&af(_0x52fb26,_0x5ab233);const _0x3a8268=_0x5ab233['getMovedRangeStart'](),_0x145360=_0x5ab233['howMany'];for(let _0x4b653e=0x0;_0x4b653e<_0x145360;_0x4b653e++){const _0x548fc8=_0x3a8268['getShiftedBy'](_0x4b653e)['nodeAfter'];_0x388a39['add'](_0x548fc8);}break;}case'remove':{const _0x3b3a53=_0x5ab233['sourcePosition'],_0x54b2a9=_0x5ab233['howMany'],_0x9967cc=new _0x2e6f80(_0x3b3a53,_0x54b2a9);_0x46c847['batch']['addOperation'](_0x9967cc),_0x358a2c['model']['applyOperation'](_0x9967cc);break;}}}for(const _0x2a4bab of _0x388a39){const _0x5e6a6c=_0x358a2c['model']['createRangeOn'](_0x2a4bab),_0x2215a9='suggestion:formatBlock:$fakeWrap:'+_0x3eda13()+':$aiSuggestion';_0x52fb26['markers']['set'](_0x2215a9,Dc(_0x5e6a6c,_0x358a2c['model']));}});}(_0x5d06b0,_0x4c1890,_0x9f0efb):_0x9f0efb['model']['change'](_0x4dcbfb=>{for(const _0x5267f9 of _0x5d06b0)if('remove'==_0x5267f9['type']){const _0x763719=_0x5267f9['sourcePosition'],_0x1c2d17=_0x5267f9['howMany'],_0x4d3710=new _0x2e6f80(_0x763719,_0x1c2d17);_0x4dcbfb['batch']['addOperation'](_0x4d3710),_0x9f0efb['model']['applyOperation'](_0x4d3710);}else{if('marker'==_0x5267f9['type']){const _0x511533=_0x5267f9['name'],_0x5e643d=_0x5267f9['newRange'];null!==_0x5e643d?_0x4c1890['markers']['set'](_0x511533,_0x5e643d):_0x4c1890['markers']['delete'](_0x511533);}else _0x5267f9['baseVersion']=null,_0x5267f9['isDocumentOperation']=!0x1,_0x4dcbfb['batch']['addOperation'](_0x5267f9),_0x9f0efb['model']['applyOperation'](_0x5267f9);}}),_0x1f45ef){const _0x165866=cf(_0x9f0efb,_0x5d06b0,_0x4c1890);hf(_0x9f0efb['model'],_0x165866),function(_0xe2fd8,_0x11fe4d){const _0x225747=_0x11fe4d['getFirstRange']()['start'];let _0x400e0f=_0x11fe4d['getFirstRange']()['end'];const _0x31b85e=_0x225747['root'];(_0x400e0f['textNode']||_0x400e0f['nodeAfter']&&_0x400e0f['nodeAfter']['is']('$text'))&&(_0x573e77(_0x400e0f,'...'),_0x400e0f=_0x400e0f['getShiftedBy'](0x3)),(_0x225747['textNode']||_0x225747['nodeBefore']&&_0x225747['nodeBefore']['is']('$text'))&&(_0x573e77(_0x225747,'...'),function(_0x520ad1,_0x51341c,_0x1898cb){for(let [_0x12c67d,_0x514abc]of _0x520ad1['markers']){const _0x1a8d34=_0x514abc['_getTransformedByInsertion'](_0x51341c,_0x1898cb,!0x1);_0x514abc=_0x1a8d34[0x0],_0x520ad1['markers']['set'](_0x12c67d,_0x514abc);}}(_0x31b85e,_0x225747,0x3),_0x225747['parent']==_0x400e0f['parent']&&(_0x400e0f=_0x400e0f['getShiftedBy'](0x3)));const _0x23d02f=_0xe2fd8['createRange'](_0xe2fd8['createPositionAt'](_0x31b85e,0x0),_0x225747),_0x118bc7=_0xe2fd8['createRange'](_0x400e0f,_0xe2fd8['createPositionAt'](_0x31b85e,'end')),_0x1f41d0=[..._0x23d02f['getMinimalFlatRanges'](),..._0x118bc7['getMinimalFlatRanges']()];_0x1f41d0['reverse']();for(const _0x472993 of _0x1f41d0)_0x5ce29d(_0x472993),df(_0x31b85e,_0x472993);}(_0x9f0efb['model'],_0x165866);}return{'content':Xa(_0x9f0efb['data']['stringify'](_0x4c1890,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function af(_0x3b3cb7,_0x5d4d0e){for(const [_0x4df50f,_0x52164d]of _0x3b3cb7['markers']){const _0x283bb4=_0x2b1886['_createFromRanges'](_0x52164d['getTransformedByOperation'](_0x5d4d0e));_0x3b3cb7['markers']['set'](_0x4df50f,_0x283bb4);}}function cf(_0x11281c,_0x3e587f,_0x441e3d){const _0x234de2=_0x11281c['plugins']['get']('DocumentCompare');let _0x2a2c28=_0x11281c['model']['createPositionAt'](_0x441e3d,Number['POSITIVE_INFINITY']),_0x4d3453=_0x11281c['model']['createPositionAt'](_0x441e3d,0x0);for(const _0x2f04c3 of _0x3e587f){let _0x4c3a5f,_0x33d567;if(_0x234de2['isMarkedRemoveOperation'](_0x2f04c3))_0x4c3a5f=_0x2f04c3['newRange']['start'],_0x33d567=_0x2f04c3['newRange']['end'];else switch(_0x2a2c28=lf(_0x2a2c28,_0x2f04c3),_0x4d3453=lf(_0x4d3453,_0x2f04c3),_0x2f04c3['type']){case'rename':_0x4c3a5f=_0x2f04c3['position'],_0x33d567=_0x4c3a5f['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x4c3a5f=_0x2f04c3['range']['start'],_0x33d567=_0x2f04c3['range']['end'];break;case'insert':_0x4c3a5f=_0x2f04c3['position'],_0x33d567=_0x4c3a5f['getShiftedBy'](_0x2f04c3['howMany']);break;case'split':_0x4c3a5f=_0x2f04c3['splitPosition'],_0x33d567=_0x2f04c3['moveTargetPosition'];break;case'merge':{const _0x4bc19f=_0x2f04c3['targetPosition']['path']['slice'](0x0,-0x1);_0x4c3a5f=_0x11281c['model']['createPositionFromPath'](_0x441e3d,_0x4bc19f),_0x33d567=_0x4c3a5f['getShiftedBy'](0x1);break;}case'move':case'remove':{const _0x3afbd0=_0x2f04c3['howMany'],_0x1798f9=_0x2f04c3['sourcePosition']['_getTransformedByInsertion'](_0x2f04c3['targetPosition'],_0x3afbd0),_0x217d44=_0x2f04c3['getMovedRangeStart']();'remove'==_0x2f04c3['type']?(_0x4c3a5f=_0x1798f9,_0x33d567=_0x1798f9):(_0x4c3a5f=_0x217d44,_0x33d567=_0x217d44['getShiftedBy'](_0x3afbd0));break;}}_0x4c3a5f&&_0x4c3a5f['isBefore'](_0x2a2c28)&&(_0x2a2c28=_0x4c3a5f['clone'](),_0x2a2c28['stickiness']='toNone'),_0x33d567&&_0x33d567['isAfter'](_0x4d3453)&&(_0x4d3453=_0x33d567['clone'](),_0x4d3453['stickiness']='toNone');}return _0x11281c['model']['createSelection'](_0x11281c['model']['createRange'](_0x2a2c28,_0x4d3453));}function lf(_0x4d482b,_0x27bcab){return'move'!=_0x27bcab['type']&&'remove'!=_0x27bcab['type']||_0x27bcab['sourceRange']['containsPosition'](_0x4d482b)&&((_0x4d482b=_0x27bcab['sourcePosition']['clone']())['stickiness']='toNone'),_0x4d482b['getTransformedByOperation'](_0x27bcab);}function hf(_0x406ff1,_0x5cf38b){uf(_0x406ff1,_0x5cf38b,'forward');const _0x25eaf9=_0x5cf38b['getFirstRange']();_0x5cf38b['setTo']([]),_0x5cf38b['setTo'](_0x25eaf9,{'backward':!0x0}),uf(_0x406ff1,_0x5cf38b,'backward');}function uf(_0x2d3942,_0x251e74,_0x2496d3){let _0x27ba10=0x14;for(;_0x27ba10;){_0x2d3942['modifySelection'](_0x251e74,{'unit':'word','direction':_0x2496d3}),_0x27ba10--;const _0x53975a=_0x251e74['focus']['forward'==_0x2496d3?'nodeBefore':'nodeAfter'];if(_0x53975a&&_0x53975a['is']('element')&&_0x2d3942['schema']['isBlock'](_0x53975a)&&_0x2d3942['schema']['isObject'](_0x53975a))break;}}function df(_0x3bb6b9,_0x2bb93e){for(const [_0x1a60cd,_0xc623d4]of _0x3bb6b9['markers']){const _0x17da64=_0xc623d4['_getTransformedByDeletion'](_0x2bb93e['start'],_0x2bb93e['end']['offset']-_0x2bb93e['start']['offset']);null!=_0x17da64?_0x3bb6b9['markers']['set'](_0x1a60cd,_0x17da64):_0x3bb6b9['markers']['delete'](_0x1a60cd);}}class AIReply extends _0x4e29c1(){['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:_0x20e77a,isDone:_0xf3cb70=!0x1,isComplete:_0x1cbd0b,interactionId:_0x235d02,areActionsDisabled:_0x9caa1,isFromHistory:_0x41de19=!0x1,documentContextContent:_0x113a78,locale:_0x3bc10e,id:_0x1283e8,channelsToEditors:_0x21fe9e}){super(),this['id']=_0x1283e8||_0x3eda13(),this['interactionId']=_0x235d02,this['type']=_0x20e77a,this['areActionsDisabled']=!!_0x9caa1,this['isFromHistory']=_0x41de19,this['locale']=_0x3bc10e,this['aiResponseParser']=new AIResponseParser(),this['aiResponseApplier']=new AIResponseApplier(),this['documentContextContent']=new Map(_0x113a78?.['map'](_0x58a602=>[_0x58a602['id'],Xa(_0x58a602['content'])])||[]),this['_documentIdToSource']=new Map(_0x113a78?.['map'](_0x507c8a=>[_0x507c8a['id'],{'editor':_0x21fe9e['get'](_0x507c8a['channelId']),'rootName':_0x507c8a['rootName']}])||[]),this['set']('isDone',_0xf3cb70),this['set']('isComplete',_0x1cbd0b??_0xf3cb70),'text'===this['type']&&this['content']['set']('text','');}['appendContent'](_0x46b595,_0x3f53bc){const _0x1bf7bc='text'===this['type']?'text':_0x3f53bc;this['content']['has'](_0x1bf7bc)||this['content']['set'](_0x1bf7bc,''),this['content']['set'](_0x1bf7bc,this['content']['get'](_0x1bf7bc)+_0x46b595),this['onContentChange'](_0x1bf7bc);}['done'](_0x2ec842=!0x0){this['isComplete']=_0x2ec842,this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0xcb986c,_0x2dd7dc){this['changeGroups'][_0xcb986c]['state']=_0x2dd7dc,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0xcb986c,'state':_0x2dd7dc});}['getContentParts']({showDiff:_0x2bbeab,groupIndex:_0x5dae63}){const _0x222ba2=this['_getCachedContentParts'](_0x2bbeab,_0x5dae63);if(_0x222ba2)return _0x222ba2;let _0x17d366=[];if(void 0x0===_0x5dae63)_0x17d366=this['changeGroups'];else{const _0x468308=this['changeGroups']['find'](({index:_0x5ef975})=>_0x5ef975===_0x5dae63);if(!_0x468308)throw new _0x522f1f('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x5dae63});_0x17d366=[_0x468308];}const _0x32444a=rf({'showDiff':_0x2bbeab,'changeGroups':_0x17d366,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x2bbeab,_0x32444a),_0x32444a;}['_getCachedContentParts'](_0x361a8e,_0x56c7c5){const _0x5d6b85=_0x361a8e?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x5d6b85]['length'])return null;const _0x5c98e6=this['cachedSuggestionContentParts'][_0x5d6b85];if(void 0x0===_0x56c7c5)return _0x5c98e6['length']>0x0&&_0x5c98e6['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x361a8e,null),null):kr(_0x5c98e6);{const _0x5dfbb2=_0x5c98e6['find'](({index:_0x4266a8})=>_0x4266a8===_0x56c7c5);if(_0x5dfbb2)return[kr(_0x5dfbb2)];}return null;}['_setCachedContentParts'](_0x404d65,_0x115283){const _0x42033d=_0x404d65?'withDiff':'withoutDiff';_0x115283?_0x115283['forEach'](_0x30a9c7=>{const _0x2379af=this['cachedSuggestionContentParts'][_0x42033d],_0x4254bc=_0x2379af['find'](({index:_0x10195a})=>_0x10195a===_0x30a9c7['index']);if(_0x4254bc){const _0x3ee507=_0x2379af['indexOf'](_0x4254bc);_0x2379af['splice'](_0x3ee507,0x1,_0x30a9c7);}else _0x2379af['push'](_0x30a9c7);}):this['cachedSuggestionContentParts'][_0x42033d]['length']=0x0;}['onContentChange'](_0x4dc28e){if('modification'===this['type']){if(_0x4dc28e)this['parsedContent']['set'](_0x4dc28e,this['aiResponseParser']['parseAndNormalizeHTML'](this['content']['get'](_0x4dc28e)));else{for(const [_0x4196be,_0x3b5a32]of this['content'])this['parsedContent']['set'](_0x4196be,this['aiResponseParser']['parseAndNormalizeHTML'](_0x3b5a32));}const _0x2ab364=this['changeGroups'];for(const _0x4a268d of this['content']['keys']())this['updateChangeGroups'](_0x4a268d);const _0x366a0a=this['_getDifferentChangeGroups'](_0x2ab364,this['changeGroups']);(_0x366a0a['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x366a0a),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'](_0x59d871,_0x2b64b9){const _0x4080fb=[];for(const _0x1549bf of _0x2b64b9){const _0x398d61=_0x59d871[_0x1549bf['index']];_0x398d61?_0x398d61['changes']['length']!==_0x1549bf['changes']['length']?_0x4080fb['push'](_0x1549bf):_0x398d61['changes']['forEach']((_0x422993,_0xc1ba54)=>{const _0x5c0bbe=_0x1549bf['changes'][_0xc1ba54];_0x422993['id']!==_0x5c0bbe['id']&&_0x4080fb['push'](_0x1549bf);}):_0x4080fb['push'](_0x1549bf);}return _0x4080fb;}['updateChangeGroups'](_0x447be7){const _0x5b9529=this['documentContextContent']['get'](_0x447be7),_0xbe717d=this['parsedContent']['get'](_0x447be7);if(!_0x5b9529||!_0xbe717d)return;const _0x4b59d2=new da('p',{},[new da('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new la(Oo(this['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x4a9627=this['aiResponseApplier']['merge'](_0xbe717d,_0x5b9529['cloneNode'](!0x0),{'cutAfterUnstable':!this['isDone']||!this['isComplete'],'replaceRemovedWith':_0x4b59d2});this['parsedMergedContent']['set'](_0x447be7,_0x4a9627['parsedContent']);let _0x522c77=[];if(Za(_0x139185=>{const _0xd4ee50=Ja(_0x139185,'data-id');if(!_0xd4ee50||!_0x7f8b35(_0xd4ee50))return!0x1;const _0x5db31a=[_0x139185,...ic(_0x139185)]['at'](-0x2);if(_0x139185!=_0x5db31a){const _0x50b9a6=Ja(_0x5db31a,'data-id');_0x7f8b35(_0x50b9a6)||(_0x522c77['push']({'node':_0x5db31a,'id':_0x50b9a6,'type':'modified'}),_0x4a9627['modifiedNodeIds']['push'](_0x50b9a6));}else _0x4a9627['modifiedNodeIds']['includes'](_0xd4ee50)?_0x522c77['push']({'node':_0x139185,'type':'modified','id':_0xd4ee50}):_0x4a9627['newNodeIds']['includes'](_0xd4ee50)?_0x522c77['push']({'node':_0x139185,'type':'new','id':_0xd4ee50,'anchorId':Ja(_0x139185['previousSibling'],'data-id')}):_0x522c77['push']({'node':_0x139185,'type':'removed','id':_0xd4ee50});return!0x0;},this['parsedMergedContent']['get'](_0x447be7)),_0x522c77=_0x522c77['filter'](({node:_0x5211a6})=>[...ic(_0x5211a6),_0x5211a6]['every'](_0x509648=>!Ja(_0x509648,'data-unstable'))),this['changeGroups']=this['changeGroups']['filter'](_0x3e9aa1=>_0x3e9aa1['documentId']!==_0x447be7),0x0==_0x522c77['length'])return;const _0xf7843b=[[_0x522c77[0x0]]];for(let _0x210208=0x1;_0x210208<_0x522c77['length'];_0x210208++){const _0x35952d=_0xf7843b[_0xf7843b['length']-0x1],_0x1bfec2=_0x35952d[_0x35952d['length']-0x1];_0x522c77[_0x210208]['node']['previousSibling']==_0x1bfec2['node']&&'modified'!=_0x522c77[_0x210208]['type']&&'modified'!=_0x1bfec2['type']?_0x35952d['push'](_0x522c77[_0x210208]):_0xf7843b['push']([_0x522c77[_0x210208]]);}for(const _0x575652 of _0xf7843b){const _0x375d00=_0x575652[0x0],_0x348866=_0x575652[_0x575652['length']-0x1],_0xa025fa=_0x49a993(_0x375d00['node']['previousSibling']);_0xa025fa&&_0x575652['unshift'](_0xa025fa);const _0xaf02ba=_0x49a993(_0x348866['node']['nextSibling']);_0xaf02ba&&_0x575652['push'](_0xaf02ba);}za('data-wrapped-id',null,this['parsedMergedContent']['get'](_0x447be7))['forEach'](_0x1abd09=>{tc(_0x1abd09,'data-wrapped-id',null);});const _0x7d318b=new Map();za('data-unwrapped-id',null,this['parsedMergedContent']['get'](_0x447be7))['forEach'](_0x153fa4=>{const _0x58d355=Ja(_0x153fa4,'data-unwrapped-id'),_0x4a3ce9=Ja(_0x153fa4,'data-id');_0x7d318b['set'](_0x4a3ce9,_0x58d355),tc(_0x153fa4,'data-id',_0x58d355),tc(_0x153fa4,'data-unwrapped-id',null);});for(const _0x4ef092 of _0x522c77){const _0x1eae85=_0x7d318b['get'](_0x4ef092['id']);_0x1eae85&&(_0x4ef092['id']=_0x1eae85);}this['changeGroups']['push'](..._0xf7843b['map']((_0x5d8bcd,_0x7467a9)=>({'changes':_0x5d8bcd,'state':'pending','index':_0x7467a9,'editor':this['_documentIdToSource']['get'](_0x447be7)['editor'],'rootName':this['_documentIdToSource']['get'](_0x447be7)['rootName'],'documentId':_0x447be7})));const _0x139d56=Array['from'](this['documentContextContent']['keys']());function _0x7f8b35(_0x195a1d){return _0x4a9627['modifiedNodeIds']['includes'](_0x195a1d)||_0x4a9627['newNodeIds']['includes'](_0x195a1d)||_0x4a9627['removedNodeIds']['includes'](_0x195a1d);}function _0x49a993(_0x30ec72){if(_0x30ec72&&Ja(_0x30ec72,'data-id')&&!Ja(_0x30ec72,'data-unstable')){const _0x3ea26d=Ja(_0x30ec72,'data-id');if(!_0x7f8b35(_0x3ea26d))return{'node':_0x30ec72,'type':'context','id':_0x3ea26d};}return null;}this['changeGroups']['sort']((_0x13a1a2,_0x5f451b)=>_0x139d56['indexOf'](_0x13a1a2['documentId'])-_0x139d56['indexOf'](_0x5f451b['documentId'])),this['changeGroups']['forEach']((_0x2eab4e,_0x4403f1)=>{_0x2eab4e['index']=_0x4403f1;});}}const ff=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends _0x3cde5f(){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['locale'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;['_channelsToEditors'];constructor({connector:_0x24fc5a,locale:_0x1a5b7e,channelsToEditors:_0x4f5117}){super(),this['id']=_0x3eda13(),this['connector']=_0x24fc5a,this['isStopped']=!0x0,this['locale']=_0x1a5b7e,this['_channelsToEditors']=_0x4f5117||new Map();}async['start'](){await this['_run']();}async['resume'](_0x3d3f29){await this['_run'](_0x3d3f29);}async['_run'](_0x59febe){const _0x25d982=[];let _0x589ac7,_0x1cc9b,_0x519f83,_0x1b3dc1=!0x1;this['isStopped']=!0x1;try{this['currentRequest']=_0x59febe||await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x429bb6=await this['currentRequest']['getStream']();for await(const _0x56a2ce of _0x429bb6){if(this['isStopped'])return;if('error'==_0x56a2ce['event'])return void this['fire']('error',{'error':new _0x522f1f('ai-chat-interaction-error',this)});switch(_0x56a2ce['event']){case'message-metadata':this['messageId']=_0x56a2ce['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x56a2ce['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x56a2ce['data']['conversationTitle'],!0x0);break;case'source':_0x25d982['push'](_0x56a2ce['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'](),_0x589ac7='modification-delta'==_0x56a2ce['event']?'modification':'text',_0x1cc9b='modification-delta'==_0x56a2ce['event']?_0x56a2ce['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x589ac7&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x589ac7,'interactionId':this['id'],'id':_0x1cc9b,'channelsToEditors':this['_channelsToEditors'],...'modification-delta'==_0x56a2ce['event']&&{'documentId':_0x56a2ce['data']['documentId']}}),'modification'==_0x589ac7&&(this['currentReply']['sources']=_0x25d982['splice'](0x0))),this['currentReply']['appendContent'](_0x56a2ce['data']['textDelta'],_0x56a2ce['data']['documentId']);break;case'mcp-tool-result':_0x519f83=JSON['parse'](_0x56a2ce['data']['result']),this['_handleToolResultData']({'toolName':_0x56a2ce['data']['toolName'],'data':_0x519f83['data'],'attributes':_0x519f83['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x56a2ce['data']['toolName'],'data':_0x56a2ce['data']['data']});}}_0x1b3dc1=!0x0;}finally{this['isStopped']||(this['currentReply']&&_0x25d982['length']>0x0&&(this['currentReply']['sources']=_0x25d982['splice'](0x0)),this['_finalizeInteraction'](_0x1b3dc1),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0xbaaf33){return this['replies']['find'](_0x2d17c4=>_0x2d17c4['id']===_0xbaaf33);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x23cc13=>_0x23cc13['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x1036d5){const _0x139d70=this['getDocumentContext'](),_0x10d968=new AIReply({'locale':this['locale'],'documentContextContent':_0x139d70?.['documents'],..._0x1036d5});return this['replies']['push'](_0x10d968),_0x10d968['delegate'](...ff)['to'](this),this['fire']('replyCreated',_0x10d968),_0x10d968;}['setConversationTitle'](_0x516986,_0x4e47ea=!0x1){this['fire']('setConversationTitle',_0x516986,_0x4e47ea);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x30f7e5){this['fire']('toolDataReceived',{'type':'result','toolName':_0x30f7e5['toolName'],'data':structuredClone(_0x30f7e5['data']||{}),'attributes':structuredClone(_0x30f7e5['attributes']||{})},this);}['_handleToolNotificationData'](_0x30cb2b){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x30cb2b['toolName'],'data':structuredClone(_0x30cb2b['data'])},this);}['_finalizeInteraction'](_0xbf445b=!0x1){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](_0xbf445b),this['currentRequest']=this['currentReply']=void 0x0;}}const mf=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']]),gf=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends _0x4e29c1(){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x53c41a,config:_0x2344cd,ownerId:_0x454168}){super(),this['_connector']=_0x53c41a,this['_config']=_0x2344cd,this['_ownerId']=_0x454168;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x21463d){const _0x5939d4=await this['_createContextItemFromContent'](_0x21463d);return this['_addToConversationContextItem'](_0x5939d4),'current-document'===_0x5939d4['uiId']&&this['toggleAddCurrentDocumentOptionVisibility'](),_0x5939d4;}async['populateDocumentsFromMessage'](_0x123b16,_0x43680a){const _0x58e411=_0x123b16['filter'](_0x5edde1=>'document'===_0x5edde1['type']);if(0x0===_0x58e411['length'])return{'hasUnmatched':!0x1};const _0x44a5b0=_0x58e411['map'](_0x34dded=>_0x34dded['id']),_0x32a9d6=await this['_connector']['fetchDocuments'](this['_ownerId'],_0x44a5b0)['getDocuments'](),_0x576cc9=new Map(_0x32a9d6['map'](_0x4acf40=>[_0x4acf40['id'],_0x4acf40])),_0x4c8822=[];let _0xb9acfd=!0x1;for(const _0x3287bc of _0x58e411){const _0x12e0f7=_0x576cc9['get'](_0x3287bc['id']);_0x12e0f7&&(this['_matchDocumentToRoot'](_0x12e0f7,_0x43680a)||(_0xb9acfd=!0x0),_0x4c8822['push']({'id':_0x12e0f7['id'],'content':_0x12e0f7['content'],'version':_0x12e0f7['attributes']?.['version']??0x0,'sessionId':_0x12e0f7['attributes']?.['sessionId']??null,'selection':[],'channelId':_0x12e0f7['attributes']?.['channelId']??_0x43680a[0x0]?.['config']['get']('collaboration.channelId')??'','rootName':_0x12e0f7['attributes']?.['rootName']??_0x43680a[0x0]?.['model']['document']['getRoots']()[0x0]['rootName']??''}));}const _0xd6925e={'id':'current-document','uiId':'current-document','label':'Current\x20document','type':'document','hidden':this['_conversationContextItems']['has']('current-document'),'documents':_0x4c8822};return this['_addToConversationContextItem'](_0xd6925e),this['toggleAddCurrentDocumentOptionVisibility'](),{'contextItem':_0xd6925e,'hasUnmatched':_0xb9acfd};}['_matchDocumentToRoot'](_0x34392f,_0x333379){const _0x3e2ba1=_0x34392f['attributes']?.['channelId'],_0x5ebaa7=_0x34392f['attributes']?.['rootName'];if(_0x3e2ba1&&_0x5ebaa7){for(const _0x132117 of _0x333379)if(_0x132117['config']['get']('collaboration.channelId')===_0x3e2ba1){for(const _0x46e011 of _0x132117['model']['document']['getRoots']())if('$graveyard'!==_0x46e011['rootName']&&_0x46e011['rootName']===_0x5ebaa7)return{'editor':_0x132117,'rootName':_0x46e011['rootName']};}}}async['_createContextItemFromContent'](_0x26542d){if('document'===_0x26542d['type']){const _0x4c50f7=await this['_connector']['fetchDocument'](this['_ownerId'],_0x26542d['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x26542d['type'],'content':_0x4c50f7['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x4c50f7['attributes']?.['version'],'sessionId':_0x4c50f7['attributes']?.['sessionId']};}if('mcp-tool-context'===_0x26542d['type'])return{'id':_0x26542d['id'],'uiId':_0x26542d['id'],'label':_0x26542d['data']?.['label']||_0x26542d['id'],'type':'mcp-tool-context','mcpServerName':_0x26542d['mcpServerName'],'toolName':_0x26542d['toolName'],'data':_0x26542d['data']||{}};return{'id':_0x26542d['id'],'uiId':_0x26542d['id'],'label':_0x26542d['attributes']?.['label']||_0x26542d['name']||_0x26542d['url']||_0x26542d['id'],'type':_0x26542d['type'],..._0x26542d?.['attributes']?.['resourceId']?{'resourceId':_0x26542d['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0xaa3669){const _0x307368=this['_pendingContextItems']['get'](_0xaa3669);_0x307368?.['isReadOnly']||this['_removeContextItem'](_0xaa3669);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x106e6a of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x106e6a['uiId']);const _0xa41d8d=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0xa41d8d&&this['_addContextItem']({..._0xa41d8d,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x48d4fa){for(const _0x52d01c of _0x48d4fa['values']())this['_addToConversationContextItem'](_0x52d01c);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'](_0x2be3a5){return Array['from'](_0x2be3a5['values']())['flatMap'](_0x345c24=>this['_mapContextItemToRequestData'](_0x345c24));}async['addFilesToContext'](_0x56a228,_0xa27c84,_0x4902f1='file'){const _0x14d535='files-'+_0x3eda13();this['_startUploadOperation'](_0x14d535);try{await Promise['all'](_0x56a228['map'](async _0xa3062a=>{const _0x3288d3='file-'+_0x3eda13(),_0x4fc218=io(_0xa3062a['name']),_0x427538='file'===_0x4902f1&&_0xa3062a['type']['startsWith']('image/')?'image':_0x4902f1;try{this['_addContextItem']({'type':_0x427538,'label':_0xa27c84?.['label']||_0x4fc218,'uiId':_0x3288d3,'resourceId':_0xa27c84?.['resourceId']},!0x0);const _0x8711a2=this['_connector']['uploadFile'](this['_ownerId'],_0xa3062a,_0xa27c84);this['_ongoingUploads']['set'](_0x3288d3,_0x8711a2['abortController']);const {id:_0x451b54}=await _0x8711a2['getId']();this['_ongoingUploads']['delete'](_0x3288d3),this['_finishContextItemLoading']({'type':_0x427538,'id':_0x451b54,'label':_0xa27c84?.['label']||_0x4fc218,'uiId':_0x3288d3,'resourceId':_0xa27c84?.['resourceId']},!0x1);}catch(_0x35152c){this['_ongoingUploads']['delete'](_0x3288d3);if(!(_0x35152c instanceof _0x522f1f&&_0x35152c['message']['startsWith']('ai-request-aborted'))){const _0x4053ad=mf['get'](_0x35152c['code'])||'ai-chat-file-upload-failed',_0x53cfde=new _0x522f1f(_0x4053ad,null,{'fileName':_0x4fc218,..._0x35152c});_0x53cfde['stack']=_0x35152c['stack'],this['fire']('error',{'error':_0x53cfde});}this['_removeContextItem'](_0x3288d3);}}));}finally{this['_finishUploadOperation'](_0x14d535);}}['addCurrentDocumentToContext'](_0xbc5e9){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x3fbdb8={'type':'document','uiId':'current-document','label':_0xbc5e9,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x3fbdb8);}async['updateCurrentDocuments'](_0x49e645){const _0x56e1e4=this['_pendingContextItems']['get']('current-document');if(!_0x56e1e4||!_0x49e645['length']||_0x49e645['every'](_0x5a9789=>!_0x5a9789['content']))return;_0x49e645['length']>0x1&&_0x49e645['some'](_0xf70cb8=>!_0xf70cb8['description'])&&_0x445208('ai-chat-documents-missing-description');try{const _0x58dae0=await this['_connector']['uploadDocuments'](this['_ownerId'],_0x49e645)['getIds']();if(_0x58dae0['length']!==_0x49e645['length']||_0x58dae0['some'](_0x147bb2=>!_0x147bb2?.['id'])){const _0x2016b6=new _0x522f1f('ai-chat-document-upload-reply-mismatch',null);return void this['fire']('error',{'error':_0x2016b6});}_0x56e1e4['documents']=_0x49e645['map']((_0x2305a7,_0x40bf61)=>{return{'id':_0x58dae0[_0x40bf61]['id'],'content':_0x2305a7['content'],'version':_0x2305a7['version'],'sessionId':_0x2305a7['sessionId'],'selection':(_0xb3c6a3=_0x2305a7['selections'],_0xb3c6a3?_0xb3c6a3['map'](_0x9be200=>({'start':_0x9be200['start'],'end':_0x9be200['end']})):[]),'channelId':_0x2305a7['channelId'],'rootName':_0x2305a7['rootName']};var _0xb3c6a3;});}catch(_0xd246d5){const _0x3ad71b=new _0x522f1f('ai-chat-document-upload-failed',null);_0x3ad71b['stack']=_0xd246d5['stack'],this['fire']('error',{'error':_0x3ad71b});}}['addSelectionToContext'](_0x3bc02c){this['_addContextItem']({'type':'selection','label':_0x3bc02c,'uiId':'selection','content':_0x3bc02c});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x2202cd,_0x3d368a){const _0x4a210b='url-'+_0x3eda13();this['_startUploadOperation'](_0x4a210b);const _0x56a1ed='url-'+_0x3eda13();try{this['_addContextItem']({'type':'web-resource','label':_0x3d368a?.['label']||_0x2202cd,'uiId':_0x56a1ed,'resourceId':_0x3d368a?.['resourceId']},!0x0);const _0x260ed6=this['_connector']['uploadUrl'](this['_ownerId'],_0x2202cd,_0x3d368a);this['_ongoingUploads']['set'](_0x56a1ed,_0x260ed6['abortController']);const {id:_0x5f329d}=await _0x260ed6['getId']();this['_ongoingUploads']['delete'](_0x56a1ed),this['_finishContextItemLoading']({'type':'web-resource','id':_0x5f329d,'label':_0x3d368a?.['label']||_0x2202cd,'uiId':_0x56a1ed,'resourceId':_0x3d368a?.['resourceId']},!0x1);}catch(_0x21029f){this['_ongoingUploads']['delete'](_0x56a1ed),(_0x21029f['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new _0x522f1f('ai-chat-url-upload-failed',this,{'url':_0x2202cd,'originalError':_0x21029f}),'url':_0x2202cd}),this['_removeContextItem'](_0x56a1ed));}finally{this['_finishUploadOperation'](_0x4a210b);}}['addToolItemToContext'](_0x57c1d5){_0x57c1d5['id']=_0x57c1d5['id']??_0x3eda13()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x57c1d5['uiId'],_0x57c1d5),this['fire']('contextItemAdded',{'contextItem':_0x57c1d5,'isLoading':!0x1});}async['loadSourceResources'](_0x50b16f,_0x1d117e,_0xad3944){const _0x186a97=this['_addContextOptionsState']['sources']['find'](_0x5622ca=>_0x5622ca['id']===_0x50b16f);if(!_0x186a97)return this['fire']('error',{'error':new _0x522f1f('ai-chat-source-not-found',this,{'sourceId':_0x50b16f}),'sourceId':_0x50b16f}),[];try{const _0x3729cd=(await _0x186a97['getResources'](_0x1d117e))['map'](_0x54d416=>{const _0x34c508=this['_isResourceInContext'](_0x54d416['id']);return{..._0x54d416,'isInContext':_0x34c508};});return _0x186a97['resources']=_0x3729cd,this['fire']('sourceResourcesLoaded',{'sourceId':_0x50b16f,'source':_0x186a97,'resources':_0x3729cd,'uid':_0xad3944}),_0x3729cd;}catch(_0x95bc6){return this['fire']('error',{'error':new _0x522f1f('ai-chat-source-resources-load-failed',this,{'sourceId':_0x50b16f,'originalError':_0x95bc6}),'sourceId':_0x50b16f,'sourceLabel':_0x186a97['label']}),[];}}async['addResourceToContext'](_0x19e622,_0x26b57a){if(this['_isResourceInContext'](_0x26b57a['id']))return;let _0x3f1103=_0x26b57a['data'];if(!_0x3f1103&&_0x19e622['getData'])try{_0x3f1103=await _0x19e622['getData'](_0x26b57a['id']);}catch(_0x5f261b){return void this['fire']('error',{'error':new _0x522f1f('ai-chat-resource-load-failed',this,{'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id'],'originalError':_0x5f261b}),'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id']});}if(_0x3f1103)switch(_0x26b57a['type']){case'web-resource':if('string'!=typeof _0x3f1103)return void this['fire']('error',{'error':new _0x522f1f('ai-chat-context-invalid-data',this,{'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id'],'expectedType':'string','actualType':typeof _0x3f1103}),'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id']});await this['addUrlToContext'](_0x3f1103,{'label':_0x26b57a['label'],'resourceId':_0x26b57a['id']});break;case'file':if(!(_0x3f1103 instanceof File))return void this['fire']('error',{'error':new _0x522f1f('ai-chat-context-invalid-data',this,{'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id'],'expectedType':'File','actualType':typeof _0x3f1103}),'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id']});await this['addFilesToContext']([_0x3f1103],{'label':_0x26b57a['label'],'resourceId':_0x26b57a['id']});break;case'text':if('object'!=typeof _0x3f1103||!('content'in _0x3f1103)||!('type'in _0x3f1103))return void this['fire']('error',{'error':new _0x522f1f('ai-chat-context-invalid-data',this,{'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x3f1103}),'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id']});_0x3f1103=AIChatContext['_convertTextResourceToFile'](_0x3f1103,_0x26b57a['label']),await this['addFilesToContext']([_0x3f1103],{'label':_0x26b57a['label'],'resourceId':_0x26b57a['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new _0x522f1f('ai-chat-context-unsupported-type',this,{'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id'],'resourceType':_0x26b57a['type']}),'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id']});}else this['fire']('error',{'error':new _0x522f1f('ai-chat-resource-no-data',this,{'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id']}),'resourceId':_0x26b57a['id'],'sourceId':_0x19e622['id']});}['toggleAddCurrentDocumentOptionVisibility'](_0x5068ad){if(void 0x0!==_0x5068ad)this['_addContextOptionsState']['document']['isHidden']=!_0x5068ad;else{const _0x5e7ebd=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x5e7ebd;}this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}static['_convertTextResourceToFile'](_0xa7be51,_0x34abef){switch(_0xa7be51['type']){case'markdown':return new File([_0xa7be51['content']],_0x34abef,{'type':'text/markdown'});case'html':return new File([_0xa7be51['content']],_0x34abef,{'type':'text/html'});default:return new File([_0xa7be51['content']],_0x34abef,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x24f02b){switch(_0x24f02b['type']){case'file':case'image':case'text':return[{'type':'file','id':_0x24f02b['id']}];case'web-resource':return[{'type':'web-resource','id':_0x24f02b['id']}];case'document':return _0x24f02b['documents']?.['length']?_0x24f02b['documents']['map'](_0x5056fe=>({'type':'document','id':_0x5056fe['id'],..._0x5056fe['selection']?.['length']&&{'selection':_0x5056fe['selection']}})):[{'type':'document','id':_0x24f02b['id'],..._0x24f02b['selection']?.['length']&&{'selection':_0x24f02b['selection']}}];case'mcp-tool-context':{const _0x547ed8=_0x24f02b;return[{'type':'mcp-tool-context','mcpServerName':_0x547ed8['mcpServerName'],'toolName':_0x547ed8['toolName'],'data':{..._0x547ed8['data'],'label':_0x547ed8['label']||_0x547ed8['data']?.['label']||_0x547ed8['id']},'id':_0x547ed8['id']}];}default:return[];}}['_addContextItem'](_0x582044,_0x3e4917=!0x1){if(this['_pendingContextItems']['set'](_0x582044['uiId'],_0x582044),_0x582044['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x582044,'isLoading':_0x3e4917}),'current-document'===_0x582044['uiId']&&this['toggleAddCurrentDocumentOptionVisibility'](),_0x582044['resourceId']){const _0x4c82cf=this['_findSourceIdsByResourceId'](_0x582044['resourceId']);_0x4c82cf&&_0x4c82cf['forEach'](_0x3fcfef=>{this['_updateResourceInContextState'](_0x3fcfef,_0x582044['resourceId'],!0x0);});}}['_removeContextItem'](_0x30a7ea){const _0x3ac4b5=this['_pendingContextItems']['get'](_0x30a7ea),_0xe1bfbb=this['_ongoingUploads']['get'](_0x30a7ea);if(_0xe1bfbb&&(_0xe1bfbb['abort'](),this['_ongoingUploads']['delete'](_0x30a7ea)),_0x3ac4b5?.['resourceId']){const _0xb72df=this['_findSourceIdsByResourceId'](_0x3ac4b5['resourceId']);_0xb72df&&_0xb72df['forEach'](_0x49192b=>{this['_updateResourceInContextState'](_0x49192b,_0x3ac4b5['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x30a7ea),this['fire']('contextItemRemoved',{'uiId':_0x30a7ea,'type':_0x3ac4b5?.['type']}),'current-document'===_0x30a7ea&&this['toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x30735e,_0x374b01){if(this['_pendingContextItems']['has'](_0x30735e['uiId'])&&(this['_pendingContextItems']['set'](_0x30735e['uiId'],_0x30735e),this['fire']('contextItemLoadingEnded',{'contextItem':_0x30735e,'isLoading':_0x374b01}),_0x30735e['resourceId'])){const _0x3c38ca=this['_findSourceIdsByResourceId'](_0x30735e['resourceId']);_0x3c38ca&&_0x3c38ca['forEach'](_0x21e0d0=>{this['_updateResourceInContextState'](_0x21e0d0,_0x30735e['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x3e6a2b){this['_conversationContextItems']['set'](_0x3e6a2b['uiId'],_0x3e6a2b);}['_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'](_0x48a8e2=>({..._0x48a8e2,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x39e197=>({..._0x39e197,'resources':[]}))??[];}['_isResourceInContext'](_0x3a5961){for(const _0x130edc of this['_pendingContextItems']['values']())if(_0x130edc['resourceId']===_0x3a5961)return!0x0;for(const _0x254ce4 of this['_conversationContextItems']['values']())if(_0x254ce4['resourceId']===_0x3a5961)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x394cd0){const _0x3d75a5=[];for(const _0x46c7aa of this['_addContextOptionsState']['sources']){_0x46c7aa['resources']['find'](_0xc7c0ca=>_0xc7c0ca['id']===_0x394cd0)&&_0x3d75a5['push'](_0x46c7aa['id']);}return 0x0===_0x3d75a5['length']?null:_0x3d75a5;}['_updateResourceInContextState'](_0x3c4788,_0x3a986d,_0x4e78d2){const _0x3ef407=this['_addContextOptionsState']['sources']['find'](_0x393ed0=>_0x393ed0['id']===_0x3c4788);if(!_0x3ef407)return;const _0x34100d=_0x3ef407['resources']['find'](_0xe7f869=>_0xe7f869['id']===_0x3a986d);_0x34100d&&(_0x34100d['isInContext']=_0x4e78d2,this['fire']('resourceStateChanged',{'sourceId':_0x3c4788,'resourceId':_0x3a986d,'isInContext':_0x4e78d2}));}['_startUploadOperation'](_0x305b77){this['_ongoingUploadOperations']['set'](_0x305b77,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x16f975){this['_ongoingUploadOperations']['delete'](_0x16f975),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const pf=['capabilitiesUpdated'];class AICapabilities extends _0x3cde5f(){['_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'](_0x9f8bbd){const _0x1f6d77={};return _0x9f8bbd&&_0x9f8bbd['isWebSearchEnabled']&&(_0x1f6d77['webSearch']={}),_0x9f8bbd&&_0x9f8bbd['isReasoningEnabled']&&(_0x1f6d77['reasoning']={}),_0x1f6d77;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x50f590){_0x50f590!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x50f590,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x5bd4ea){_0x5bd4ea!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x5bd4ea,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['capabilities'];['model'];['attributes'];constructor(_0x54c408){super(_0x54c408),this['conversationId']=_0x54c408['conversationId'],this['contextItems']=_0x54c408['contextItems'],this['capabilities']=_0x54c408['capabilities'],this['userMessage']=_0x54c408['userMessage'],this['model']=_0x54c408['model'],this['attributes']=_0x54c408['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':AIChatContext['mapContextItemsToRequestData'](this['contextItems']),'capabilities':AICapabilities['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}}class AIChatConversation extends _0x3cde5f(){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];['_channelsToEditors'];['_getSessionId'];constructor(_0x29741b){super(),this['options']=_0x29741b,this['connector']=_0x29741b['connector'],this['chatModels']=_0x29741b['chatModels'],this['id']=_0x29741b['conversationId'],this['isFromHistory']=_0x29741b['isFromHistory'],this['_channelsToEditors']=_0x29741b['channelsToEditors'],this['_getSessionId']=_0x29741b['getSessionId'];}async['init'](_0x3060c7){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x3060c7,'ownerId':this['id']}),this['chatContext']['delegate'](...gf)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](...pf)['to'](this),this['chatCapabilities']['init']();const _0x116f6c=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x116f6c});const _0xc8d530=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0xc8d530&&await this['setModel'](_0xc8d530);}catch(_0x26f3e0){const _0x1d3d72=new _0x522f1f('ai-chat-conversation-init-failed',null,{'message':_0x26f3e0['message']||_0x26f3e0});_0x1d3d72['stack']=_0x26f3e0['stack'],this['fire']('error',{'error':_0x1d3d72});}}async['start'](){if(this['isStarted'])throw new _0x522f1f('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x522f1f('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0xab4dc5}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0xab4dc5,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x5bebca){const _0x3d6079=new _0x522f1f('ai-chat-conversation-start-failed',null,{'message':_0x5bebca['message'],'conversationId':this['id']});throw _0x3d6079['stack']=_0x5bebca['stack'],this['fire']('error',{'error':_0x3d6079}),_0x3d6079;}}async['load'](_0x5664b0){try{const _0x5bd7fd=await this['connector']['fetchConversation'](_0x5664b0)['getConversation'](),_0xe3f177=await this['connector']['fetchConversationMessages'](_0x5664b0)['getMessages'](),_0xd67c6=_0xe3f177[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x5bd7fd['id'],'title'in _0x5bd7fd?this['fire']('setConversationTitle',_0x5bd7fd['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x14b03e=(await this['chatModels']['getAll']())['find'](_0x25c78d=>_0x25c78d['id']['toLowerCase']()===_0xd67c6['toLowerCase']());this['selectedModel']=_0x14b03e,this['fire']('modelSelected',{'selectedModel':_0x14b03e,'isDisabled':!0x0});const {streamingMessageId:_0x53d27e}=await this['_processMessagesToInteractions'](_0xe3f177,_0xd67c6);return _0x53d27e&&this['currentInteraction']?this['_resumeStream'](_0x53d27e):this['currentInteraction']=void 0x0,this;}catch(_0x3cd6e2){const _0x17f2e9=new _0x522f1f('ai-chat-conversation-init-from-id-failed',null,{'message':_0x3cd6e2['message'],'conversationId':_0x5664b0});throw _0x17f2e9['stack']=_0x3cd6e2['stack'],this['fire']('error',{'error':_0x17f2e9}),_0x17f2e9;}}async['_processMessagesToInteractions'](_0x41ea89,_0x38f084){let _0xc3f618,_0x3c53cd,_0x5beb37=!0x1;for(const _0x419b70 of _0x41ea89)if('user'===_0x419b70['role']){const {contextItems:_0x47113d,hasUnmatched:_0x16ab66}=await this['_extractContextItems'](_0x419b70);_0x5beb37=_0x16ab66;const _0x5482b3={'isReasoningEnabled':Object['hasOwn'](_0x419b70['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x419b70['capabilities'],'webSearch')};_0xc3f618=this['createInteraction']({'userMessage':_0x419b70['prompt'],'contextItems':_0x47113d,'capabilities':_0x5482b3,'modelId':_0x38f084,'attributes':_0x419b70['attributes'],'channelsToEditors':this['_channelsToEditors']}),this['currentInteraction']=_0xc3f618,_0x3c53cd=void 0x0,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x419b70['role']&&_0xc3f618){if('streaming'===_0x419b70['status']){_0x3c53cd=_0x419b70['id'];continue;}if('error'===_0x419b70['status'])continue;const _0x361bcb=[];for(const _0x27153f of _0x419b70['content'])switch(_0x27153f['type']){case'text':case'modification':{const _0x5f557b=_0xc3f618['getDocumentContext'](),_0x4f08af=this['_hasSessionMismatch'](_0x5f557b)||_0x5beb37;_0xc3f618['currentReply']?.['type']!==_0x27153f['type']&&(_0xc3f618['currentReply']=_0xc3f618['createReply']({'type':_0x27153f['type'],'isDone':!0x0,'interactionId':_0xc3f618['id'],'areActionsDisabled':_0x4f08af,'isFromHistory':!0x0,'channelsToEditors':this['_channelsToEditors']}),_0x361bcb['length']>0x0&&(_0xc3f618['currentReply']['sources']=_0x361bcb['splice'](0x0))),_0xc3f618['currentReply']['appendContent'](_0x27153f['content'],_0x27153f['documentId']);break;}case'url':_0x361bcb['push'](_0x27153f);break;case'mcp-tool-result':{const {data:_0x48f0ab,attributes:_0x44d9cc}=JSON['parse'](_0x27153f['content']);_0xc3f618['_handleToolResultData']({'toolName':_0x27153f['toolName'],'data':_0x48f0ab,'attributes':_0x44d9cc});break;}}'cancelled'===_0x419b70['status']&&this['fire']('error',{'interactionId':_0xc3f618['id'],'error':new _0x522f1f('ai-request-aborted',this)});}}return{'streamingMessageId':_0x3c53cd};}async['_resumeStream'](_0x3da1c0){if(this['currentInteraction'])try{const _0x37479f=this['connector']['resumeStream'](this['id'],_0x3da1c0);await this['currentInteraction']['resume'](_0x37479f);}catch(_0x2813aa){_0x2813aa instanceof _0x522f1f&&this['fire']('error',{'interactionId':this['currentInteraction']?.['id'],'error':_0x2813aa});}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}async['_extractContextItems'](_0x275c99){const _0x5a6df4=new Map();if(!_0x275c99['content'])return{'contextItems':_0x5a6df4,'hasUnmatched':!0x1};const {contextItem:_0x3cb233,hasUnmatched:_0x459cb4}=await this['chatContext']['populateDocumentsFromMessage'](_0x275c99['content'],Array['from'](this['_channelsToEditors']['values']()));_0x3cb233&&_0x5a6df4['set'](_0x3cb233['id'],_0x3cb233);for(const _0x2f1c7d of _0x275c99['content']){if('document'===_0x2f1c7d['type'])continue;const _0x1cd29a=await this['chatContext']['populateFromMessage'](_0x2f1c7d);_0x1cd29a&&_0x5a6df4['set'](_0x1cd29a['id'],_0x1cd29a);}return{'contextItems':_0x5a6df4,'hasUnmatched':_0x459cb4};}async['handleUserInteraction']({userMessage:_0x126fa2,attributes:_0x2792eb}){if(!this['isStarted'])throw new _0x522f1f('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x522f1f('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x1e111a=new Map(this['getPendingContextItems']()),_0x582b24=this['chatCapabilities']['getCapabilitiesConfig'](),_0x261840=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x126fa2,'contextItems':_0x1e111a,'capabilities':_0x582b24,'modelId':_0x261840,'attributes':_0x2792eb,'channelsToEditors':this['_channelsToEditors']}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x47834a){if(_0x47834a instanceof _0x522f1f)this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x47834a});else{const _0x16f3f6=mf['get'](_0x47834a['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x522f1f(_0x16f3f6,null,{'error':_0x47834a})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x159c80,contextItems:_0x2dab0e,capabilities:_0x4f2733,modelId:_0x32f427,attributes:_0x13c4f2,channelsToEditors:_0x340e43}){const _0x413429=new AIChatInteraction({'userMessage':_0x159c80,'contextItems':_0x2dab0e,'capabilities':_0x4f2733,'conversationId':this['id'],'connector':this['connector'],'locale':this['options']['locale'],'model':_0x32f427,'attributes':_0x13c4f2,'channelsToEditors':_0x340e43});return _0x413429['delegate'](...ff)['to'](this),this['interactions']['push'](_0x413429),this['fire']('interactionCreated',_0x413429),_0x413429;}['getInteraction'](_0x5a4ab7){return this['interactions']['find'](_0x44ef2a=>_0x44ef2a['id']===_0x5a4ab7);}['removeInteraction'](_0x17df0a){const _0x2e4501=this['getInteraction'](_0x17df0a);_0x2e4501&&(_0x2e4501['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x2e4501),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['cancelLastInteractionStream'](){const _0x384e3e=this['lastInteraction'];_0x384e3e?.['conversationId']&&_0x384e3e['messageId']&&this['connector']['cancelStream'](_0x384e3e['conversationId'],_0x384e3e['messageId'])['execute']()['catch'](()=>{});}['addCurrentDocumentToContext'](_0x4aaec8){this['chatContext']['addCurrentDocumentToContext'](_0x4aaec8);}async['updateCurrentDocumentsInContext'](_0x4bc5b8){await this['chatContext']['updateCurrentDocuments'](_0x4bc5b8);}['toggleAddCurrentDocumentOptionVisibility'](_0x519251){this['chatContext']['toggleAddCurrentDocumentOptionVisibility'](_0x519251);}['_hasSessionMismatch'](_0x10a41a){return!!_0x10a41a&&_0x10a41a['documents']['some'](_0x2af3a6=>{const _0x35e9f5=this['_channelsToEditors']['get'](_0x2af3a6['channelId']);return!_0x35e9f5||_0x2af3a6['sessionId']!==this['_getSessionId'](_0x35e9f5);});}['addSelectionToContext'](_0x338a73){this['chatContext']['addSelectionToContext'](_0x338a73);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x8f65a7){this['chatContext']['addFilesToContext'](_0x8f65a7);}['addUrlToContext'](_0x47082e){this['chatContext']['addUrlToContext'](_0x47082e);}['addToolItemToContext'](_0x5d64d2){this['chatContext']['addToolItemToContext'](_0x5d64d2);}['addResourceToContext'](_0x395024,_0x516ece){this['chatContext']['addResourceToContext'](_0x395024,_0x516ece);}['loadSourceResources'](_0x53e99c,_0x4c072d,_0x15a390){return this['chatContext']['loadSourceResources'](_0x53e99c,_0x4c072d,_0x15a390);}['removeFromContext'](_0x54c181){this['chatContext']['removeFromContext'](_0x54c181);}['setWebSearch'](_0x91caf2){this['chatCapabilities']['setWebSearch'](_0x91caf2);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x53ae55){this['chatCapabilities']['setReasoning'](_0x53ae55);}['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'](_0x4e2325){_0x4e2325?!0x1===await this['chatModels']['isAvailable'](_0x4e2325)&&(_0x445208('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x4e2325}),_0x4e2325=(await this['chatModels']['getAvailableModels']())[0x0]):(_0x445208('ai-chat-conversation-set-model-null',{'conversation':this}),_0x4e2325=(await this['chatModels']['getAvailableModels']())[0x0]),_0x4e2325['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x4e2325,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x4e2325}));}}class AIModels extends _0x3cde5f(){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x3aeb74,config:_0x5f4488,locale:_0x55ca0f}){super(),this['_connector']=_0x3aeb74,this['_config']=_0x5f4488,this['_locale']=_0x55ca0f;}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 _0x3d8f8a=await this['getAll']();let _0x28c1de;return _0x28c1de=this['_availableModels']?this['_filterModels'](_0x3d8f8a,this['_availableModels']):_0x3d8f8a['filter'](_0x382aad=>_0x382aad['recommended']),_0x28c1de;}async['getModel'](_0x3c6dce){const _0x4e9adb=await this['getAll']();if(!_0x4e9adb['length'])return null;if(_0x3c6dce){const _0x61a6ff=this['_getModelById'](_0x4e9adb,_0x3c6dce);if(_0x61a6ff)return _0x61a6ff;_0x445208('ai-chat-model-id-unrecognized',{'modelId':_0x3c6dce,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x5a63c7=await this['getAvailableModels']();if(!_0x5a63c7['length'])return null;if(this['_defaultModelId']){const _0x46d35f=this['_getModelById'](_0x5a63c7,this['_defaultModelId']);if(_0x46d35f)return _0x46d35f;_0x445208('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x5a63c7[0x0]['id']});}return _0x5a63c7[0x0];}async['isAvailable'](_0x1e87f4){return(await this['getAvailableModels']())['some'](_0x25186e=>_0x25186e['name']===_0x1e87f4['name']&&_0x25186e['provider']===_0x1e87f4['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x88f7c0=this['_locale']['uiLanguage']||'en',_0x5763a6=this['_connector']['getModels'](_0x88f7c0),_0x476f2b=await _0x5763a6['list']();this['_modelList']=_0x476f2b['items']['map'](_0x53938d=>Of(_0x53938d)?{..._0x53938d,'name':Oo(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x53938d);}catch(_0x5ded01){throw _0x1ede73('ai-models-unable-to-retrieve',{'error':_0x5ded01}),_0x5ded01;}return[...this['_modelList']];}['_filterModels'](_0x283e4f,_0x312095){let _0x55579b;if(_0x312095){_0x55579b=[];const _0x13e9b8=new Set(),_0x374977='string'==typeof _0x312095?[_0x312095['toLocaleLowerCase']()]:_0x312095['map'](_0x39cfb6=>_0x39cfb6['toLocaleLowerCase']());for(const _0x29727c of _0x374977)for(const _0x2916a0 of _0x283e4f)!_0x13e9b8['has'](_0x2916a0['id'])&&this['_isMatchingFilter'](_0x2916a0,_0x29727c)&&(_0x55579b['push'](_0x2916a0),_0x13e9b8['add'](_0x2916a0['id']));}else _0x55579b=_0x283e4f;return _0x55579b;}['_isMatchingFilter'](_0x55c3d4,_0x9c3b8e){const _0x15037d=_0x55c3d4['id']['toLocaleLowerCase'](),_0xdf455c=_0x55c3d4['name']['toLocaleLowerCase'](),_0x58fa86=_0x55c3d4['provider']['toLocaleLowerCase']();return _0x15037d===_0x9c3b8e||_0xdf455c===_0x9c3b8e||Of(_0x55c3d4)&&'auto'===_0x9c3b8e||_0x58fa86===_0x9c3b8e||_0x15037d['startsWith'](_0x9c3b8e);}['_getModelById'](_0x3ee7b7,_0x2d9998){return _0x3ee7b7['find'](_0x4867e1=>Of(_0x4867e1)&&'auto'===_0x2d9998?_0x4867e1:_0x4867e1['id']===_0x2d9998)||null;}}function Of(_0xe35fb3){return _0xe35fb3['id']['startsWith']('agent');}function wf(_0xde8d7f){return _0xde8d7f?_0xde8d7f instanceof _0x8aa8ea?[_0xde8d7f]:_0xde8d7f['editors']&&0x0!==_0xde8d7f['editors']['length']?Array['from'](_0xde8d7f['editors']):[]:[];}function bf(_0x30b90c){const _0x268c0d=wf(_0x30b90c);if(!_0x268c0d['length'])throw new _0x522f1f('ai-get-editor-from-context-no-editor');if(0x1===_0x268c0d['length'])return _0x268c0d[0x0];const _0x21af25=_0x268c0d['find'](_0x421fe1=>_0x421fe1['ui']?.['focusTracker']?.['isFocused']);if(_0x21af25)return _0x21af25;const _0x313623=function(_0x3b27d3){if(_0x3b27d3 instanceof _0x8aa8ea)return;const _0x191bde=_0x3b27d3;if(!_0x191bde['plugins']||!_0x191bde['plugins']['has']('AIEditing'))return;const _0xbbd819=_0x191bde['plugins']['get']('AIEditing');return _0xbbd819['getLastContentFocusedEditor']?.();}(_0x30b90c);return _0x313623&&_0x268c0d['includes'](_0x313623)?_0x313623:_0x268c0d[0x0];}function yf({interaction:_0x4f1ea2,reply:_0x506d32,groups:_0x4c6911,transform:_0x1c2540,documentCompare:_0x5a3af5,documentCompareOptions:_0xb95b1f}){const _0x120f9=_0x4f1ea2['getDocumentContext']()['documents']['find'](_0x50e409=>_0x50e409['id']==_0x4c6911[0x0]['documentId']),_0x2790ad=_0x4c6911[0x0]['editor'];if(!_0x120f9)return[];const _0x3f31d7=_0x120f9['content'],_0x1b9805=_0x120f9['version'],_0x2c645e=_0x506d32['documentContextContent']['get'](_0x4c6911[0x0]['documentId'])['cloneNode'](!0x0);for(const {changes:_0x3fec8a}of _0x4c6911){const _0x3ce118=_0x3fec8a['filter'](_0x4f8d06=>'new'!=_0x4f8d06['type'])['map'](_0x37d3bc=>Wa('data-id',_0x37d3bc['id'],_0x2c645e)),_0x47488c=_0x3fec8a['filter'](_0x159772=>'removed'!=_0x159772['type'])['map'](_0x5d7bb4=>_0x5d7bb4['node']['cloneNode'](!0x0));let _0x1a66f2=null;if(_0x3ce118['length']){_0x1a66f2=_0x3ce118[0x0]['previousSibling'];for(let _0x1f124b=0x0;_0x1f124b<_0x3ce118['length'];_0x1f124b++)Va(_0x3ce118[_0x1f124b]);}if(_0x47488c['length']){_0x1a66f2||(_0x3fec8a[0x0]['anchorId']?_0x1a66f2=Wa('data-id',_0x3fec8a[0x0]['anchorId'],_0x2c645e):(_0x1a66f2=_0x47488c['shift'](),ja(_0x2c645e,_0x1a66f2)));for(let _0x50385b=0x0;_0x50385b<_0x47488c['length'];_0x50385b++)Fa(_0x1a66f2,_0x47488c[_0x50385b]),_0x1a66f2=_0x47488c[_0x50385b];}}const _0x15146f=qa(_0x2c645e),_0x27bbdd=_0x5a3af5['getDiff'](_0x3f31d7,_0x15146f,{'targetEditor':_0x2790ad,..._0xb95b1f})['getOperations']();if(_0x1c2540){const _0x52b4ef=_0x2790ad['model']['document']['history']['getOperations'](_0x1b9805),_0x55434e={'document':_0x2790ad['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x142dc9(_0x27bbdd,_0x52b4ef,_0x55434e)['operationsA'];}return _0x27bbdd;}function vf(_0x516144,_0x195c63){if('marker'!=_0x195c63['type'])return;const _0xb27eb2=_0x516144['model']['markers']['get'](_0x195c63['name']);_0xb27eb2&&(_0x195c63['oldRange']=_0xb27eb2['getRange']());}function _f(_0x10f188,_0x105407){if(_0x10f188['files']['length']>0x0&&_0x105407['filesEnabled']){const _0x5d4cf4=_0x10f188['files']['filter'](_0x414948=>_0x414948['name']);return _0x5d4cf4['length']>0x0?{'type':'file','files':_0x5d4cf4}:null;}if(_0x105407['urlsEnabled']){const _0x38ed1e=function(_0x38d6b9){const _0x55c9b7=_0x38d6b9['trim']();if(/\s/['test'](_0x55c9b7))return null;try{const _0x393330=new URL(_0x55c9b7);return'http:'!==_0x393330['protocol']&&'https:'!==_0x393330['protocol']?null:_0x393330['toString']();}catch{return null;}}(_0x10f188['plainText']);if(_0x38ed1e)return{'type':'url','url':_0x38ed1e};}const _0x598579=_0x10f188['forceTextAttachment']?0x1:_0x105407['longTextThreshold']??0x1/0x0;if(_0x10f188['plainText']['length']>=Math['max'](_0x598579,0x1)&&_0x105407['filesEnabled']){const _0x47d979=_0x105407['pastedTextLabel']+'.txt';return{'type':'text','files':[new File([_0x10f188['plainText']],_0x47d979,{'type':'text/plain'})]};}return null;}class AIChatController extends _0x304a5a{['activeConversation'];['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_hasAIChatBalloon']=!0x1;['_activeBalloon'];['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];['_channelsToEditors']=new Map();static get['requires'](){return[AIConnector,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']('isConversationReady',!0x1),this['_bodyCollection']=new ft(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_aiChatModels']=new AIModels({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x8a4b24=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x387b19,_0x33fd47)=>{this['_handleUIUserMessage']({'message':_0x33fd47});}),this['listenTo'](_0x8a4b24['view'],'change:activeTab',(_0x3959dc,_0x92f685,_0x3d0b10)=>{'chat'!==_0x3d0b10&&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',(_0x40d040,_0x26d92f)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x26d92f));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x39b2ae,_0x47f622)=>{this['activeConversation']?.['addUrlToContext'](_0x47f622);}),this['listenTo'](this['_aiChatUi'],'promptInputPaste',(_0x16599a,_0x1322f8)=>{const _0x3ac56f=this['activeConversation'];if(!_0x3ac56f)return;_0x1322f8['hasDirectory']&&(_0x1322f8['preventDefault'](),this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED'),'id':'folder-error-'+_0x3eda13()}));const _0x2d5d0c=_f(_0x1322f8,{'pastedTextLabel':Oo(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')});_0x2d5d0c&&(_0x1322f8['preventDefault'](),'url'===_0x2d5d0c['type']?_0x3ac56f['addUrlToContext'](_0x2d5d0c['url']):_0x3ac56f['chatContext']['addFilesToContext'](_0x2d5d0c['files'],void 0x0,_0x2d5d0c['type']));}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x48f2f9,_0x24b820)=>{_0x24b820['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x285e43,_0x5b6036)=>{this['activeConversation']?.['addResourceToContext'](_0x5b6036['source'],_0x5b6036['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x2884f1,_0x148c78)=>{this['_removeFromContext'](_0x148c78);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x431478,_0xfef47e)=>{this['activeConversation']?.['loadSourceResources'](_0xfef47e['sourceId'],_0xfef47e['query'],_0xfef47e['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x57fdbe,_0x3a750b)=>{this['activeConversation']?.['setModel'](_0x3a750b);}),this['listenTo'](this['_aiChatUi'],'like',(_0xda46a1,{replyId:_0x49e6d0})=>{console['log']('Liked\x20response',_0x49e6d0);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x28d438,{replyId:_0x24bd40})=>{console['log']('Disliked\x20response',_0x24bd40);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x908a50,_0x35b02e)=>{this['_insertSuggestion'](_0x35b02e);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x19c120,{replyId:_0x26f8ea,partIndex:_0x28c338})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x26f8ea,_0x28c338);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x3740bc,{replyId:_0x59e87d,partIndex:_0x215de9})=>{const _0xa78e5c=this['_getDocumentRangeForReplyChanges'](_0x59e87d,_0x215de9);if(!_0xa78e5c)return;const {reply:_0x59b818}=this['getInteractionAndReplyById'](_0x59e87d);'$graveyard'!=_0xa78e5c['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'editor':_0x59b818['changeGroups'][_0x215de9]['editor'],'ranges':[_0xa78e5c['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x2dfb24,_0x26155c)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0x26155c);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x1bba6a,{replyId:_0x2d3f87,showDiff:_0x5377d2})=>{const {interaction:_0x4b0c24,reply:_0x3c6299}=this['getInteractionAndReplyById'](_0x2d3f87),_0x17cd02=_0x3c6299['getContentParts']({'showDiff':_0x5377d2});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x4b0c24['id']+':'+_0x3c6299['id'],'parts':_0x17cd02});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x7b0fe1,{replyId:_0x37fc82,partIndex:_0x151e9f})=>{this['_rejectSuggestion']({'replyId':_0x37fc82,'partIndex':_0x151e9f}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['set']('_aiChatBalloonShowDiff',!0x1),this['on']('interactionCreated',(_0xc0c32f,_0x45d860)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x45d860);}),this['on']('replyCreated',(_0x1409f8,_0x5c4e6f)=>{this['_addFeedItemReply'](_0x5c4e6f);});}['afterInit'](){this['context']instanceof _0x8aa8ea?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4be7d1,_0x59e115)=>{_0x59e115['on']('ready',()=>{this['_integrateEditor'](_0x59e115);});}),this['_initConversation']();}async['_initConversation'](){const _0xb5e83a=this['context']['config']['get']('ai.chat.initialConversation');let _0x1fcbf9=_0xb5e83a;('lastCreated'!=_0xb5e83a||(_0x1fcbf9=await this['_getLastCreatedConversationId'](),_0x1fcbf9))&&('new'==_0x1fcbf9?await this['_startConversationSafely']():await this['loadConversation'](_0x1fcbf9));}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async['loadConversation'](_0x2be9a2){this['_closeActiveBalloon'](),(this['context']['plugins']['get'](AITabs)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),this['activeConversation']&&this['stopListening'](this['activeConversation']),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x2be9a2)['getConversation'](),await this['_startConversationSafely']({'id':_0x2be9a2}),this['_updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x2be9a2),this['_aiChatUi']['enableControls'](),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x3e8d7d){this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x2be9a2}),this['_logError'](new _0x522f1f('ai-chat-conversation-not-found',this,{'error':_0x3e8d7d}));}finally{this['_aiChatUi']['startAutoScroll']({'smooth':!0x1}),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['registerToolDataCallback'](_0x17910e){let _0x2e6954=null,_0x4fd3ed=null;this['on']('toolDataReceived',(_0x1c4e0a,_0x15f375,_0x33c8e9)=>{_0x33c8e9['id']!==_0x2e6954&&(_0x2e6954=_0x33c8e9['id'],_0x4fd3ed=this['_getAIChatFeedAPI'](_0x33c8e9)),_0x17910e(_0x15f375,_0x4fd3ed);});}['addCurrentDocumentToChatContext'](){wf(this['context'])['length']&&this['activeConversation']?.['addCurrentDocumentToContext'](Oo(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](_0x1a061f){const _0x342e74=this['_aiEditing']['getSelectionText'](_0x1a061f);this['activeConversation']?.['addSelectionToContext'](_0x342e74),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](_0x451cef){await this['_startConversationSafely']({'modelId':_0x451cef?.['modelId']});}async['sendMessage'](_0x237748){await this['_handleUIUserMessage'](_0x237748);}['getGroupId'](){const _0x410611=this['context']['config']['get']('collaboration.channelId');if(!_0x410611)throw new _0x522f1f('ai-missing-channel-id',this);return _0x410611;}['_handleRemovedConversation'](_0xf09045){this['activeConversation']['id']===_0xf09045&&this['_startConversationSafely']();}['_insertSuggestion'](_0x386d2d){const _0x249757=this['context']['plugins']['get'](DocumentCompare),{reply:_0x35b6f6,interaction:_0x1be0eb}=this['getInteractionAndReplyById'](_0x386d2d['replyId']),_0x30daa5=void 0x0!==_0x386d2d['partIndex']?[_0x35b6f6['changeGroups'][_0x386d2d['partIndex']]]:_0x35b6f6['changeGroups']['filter'](_0x3f66c1=>'pending'==_0x3f66c1['state']);_0x30daa5['map'](_0x331bb7=>_0x35b6f6['changeGroups']['indexOf'](_0x331bb7))['forEach'](_0x34978a=>{const _0x210085=this['_getDocumentRangeForReplyChanges'](_0x386d2d['replyId'],_0x34978a);_0x210085&&'$graveyard'!=_0x210085['range']['root']['rootName']?(_0x35b6f6['setChangeGroupState'](_0x34978a,'accepted'),void 0x0!==_0x386d2d['partIndex']&&this['_scrollToSuggestionRange'](_0x210085['range'],!0x1,_0x210085['targetEditor'])):_0x35b6f6['setChangeGroupState'](_0x34978a,'outdated');});const _0x175c97={},_0x442b4d=_0x30daa5['reduce']((_0xe9aad1,_0x359609)=>('outdated'===_0x359609['state']||(_0xe9aad1[_0x359609['documentId']]=[..._0xe9aad1[_0x359609['documentId']]||[],_0x359609],_0x175c97[_0x359609['documentId']]=[..._0x175c97[_0x359609['documentId']]||[],_0x35b6f6['changeGroups']['indexOf'](_0x359609)]),_0xe9aad1),{});for(const [_0x252b19,_0x1558f6]of Object['entries'](_0x442b4d)){const _0x356fc5=_0x1558f6[0x0]['editor'];if(!_0x356fc5['plugins']['has']('TrackChanges')){_0x445208('ai-no-track-changes',{'editor':_0x356fc5});continue;}const _0x58cdc7=yf({'reply':_0x35b6f6,'interaction':_0x1be0eb,'groups':_0x1558f6,'transform':!0x0,'documentCompare':_0x249757,'documentCompareOptions':{'anchor':_0x1558f6[0x0]['rootName'],'markDeletions':!0x0}});let _0xe6e3e9;_0x356fc5['model']['change'](_0x1163a1=>{_0xe6e3e9=_0x1163a1['batch'],_0x356fc5['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x58cdc7),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0xe6e3e9,{'interactionId':_0x1be0eb['id'],'replyId':_0x35b6f6['id'],'indexes':_0x175c97[_0x252b19]});}this['_updateRatings'](_0x35b6f6);}['_applySuggestion'](_0x292348){const _0x3f1589=this['context']['plugins']['get'](DocumentCompare),{reply:_0x176fba,interaction:_0x2c2dec}=this['getInteractionAndReplyById'](_0x292348['replyId']),_0x274158=void 0x0!==_0x292348['partIndex']?[_0x176fba['changeGroups'][_0x292348['partIndex']]]:_0x176fba['changeGroups']['filter'](_0x4a9ee0=>'pending'==_0x4a9ee0['state']);_0x274158['map'](_0x32b97b=>_0x176fba['changeGroups']['indexOf'](_0x32b97b))['forEach'](_0x4fea2d=>{const _0x57f263=this['_getDocumentRangeForReplyChanges'](_0x292348['replyId'],_0x4fea2d);_0x57f263&&'$graveyard'!=_0x57f263['range']['root']['rootName']?(_0x176fba['setChangeGroupState'](_0x4fea2d,'accepted'),void 0x0!==_0x292348['partIndex']&&this['_scrollToSuggestionRange'](_0x57f263['range'],!0x1,_0x57f263['targetEditor'])):_0x176fba['setChangeGroupState'](_0x4fea2d,'outdated');});const _0x26497b={},_0x34f3e9=_0x274158['reduce']((_0x2d3b0b,_0x525c25)=>('outdated'===_0x525c25['state']||(_0x2d3b0b[_0x525c25['documentId']]=[..._0x2d3b0b[_0x525c25['documentId']]||[],_0x525c25],_0x26497b[_0x525c25['documentId']]=[..._0x26497b[_0x525c25['documentId']]||[],_0x176fba['changeGroups']['indexOf'](_0x525c25)]),_0x2d3b0b),{});for(const [_0x40008c,_0x305c74]of Object['entries'](_0x34f3e9)){const _0x395bf0=yf({'reply':_0x176fba,'interaction':_0x2c2dec,'groups':_0x305c74,'transform':!0x0,'documentCompare':_0x3f1589,'documentCompareOptions':{'anchor':_0x305c74[0x0]['rootName'],'markDeletions':!0x1}});let _0x1c2c5d;const _0x12d162=_0x305c74[0x0]['editor'];_0x12d162['model']['change'](_0x579c72=>{_0x1c2c5d=_0x579c72['batch'];for(const _0x59c95f of _0x395bf0)_0x59c95f['baseVersion']=_0x12d162['model']['document']['version'],vf(_0x12d162,_0x59c95f),_0x579c72['batch']['addOperation'](_0x59c95f),_0x12d162['model']['applyOperation'](_0x59c95f);}),this['_batchToChanges']['set'](_0x1c2c5d,{'interactionId':_0x2c2dec['id'],'replyId':_0x176fba['id'],'indexes':_0x26497b[_0x40008c]});}this['_updateRatings'](_0x176fba);}['_rejectSuggestion'](_0x3bed94){const {reply:_0x1e19a0}=this['getInteractionAndReplyById'](_0x3bed94['replyId']);_0x1e19a0['setChangeGroupState'](_0x3bed94['partIndex'],'rejected');}['_openBalloonFor'](_0x5a7dc0,_0x3cc760){if(!this['_hasAIChatBalloon'])return;const {reply:_0x3ccc2d}=this['getInteractionAndReplyById'](_0x5a7dc0),_0x2bfcd7=_0x3ccc2d['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(!_0x2bfcd7['length'])return;let _0x377d7c,_0x1fb1be;if(void 0x0!==_0x3cc760?(_0x1fb1be=_0x2bfcd7['find'](_0x435c1b=>_0x435c1b['index']==_0x3cc760),_0x377d7c=_0x1fb1be?.['index']):(_0x1fb1be=_0x2bfcd7[0x0],_0x377d7c=_0x1fb1be['index']),!_0x1fb1be)return void _0x3ccc2d['setChangeGroupState'](_0x3cc760??0x0,'outdated');if(this['_currentPreviewedChangeGroup']?.['replyId']==_0x5a7dc0&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x377d7c)return;const _0x3c219c=this['_getUserPresentableContentPartDocumentRange'](_0x5a7dc0,_0x3ccc2d,_0x1fb1be),_0xb07b8d=_0x3ccc2d['changeGroups']['find'](_0x33907b=>_0x33907b['index']==_0x377d7c)['editor'],_0x21be0c=_0xb07b8d['plugins']['get']('AIChatBalloon');if(this['_activeBalloon']&&this['_activeBalloon']!==_0x21be0c&&this['_activeBalloon']['close'](),!_0x3c219c)return _0x21be0c['close'](),void(this['_activeBalloon']=void 0x0);this['_activeBalloon']=_0x21be0c,this['_currentPreviewedChangeGroup']={'replyId':_0x5a7dc0,'partIndex':_0x377d7c},this['_scrollToSuggestionRange'](_0x3c219c,!0x0,_0xb07b8d);const _0x3aa525=this['_getPresentableSiblingContentPartIndex'](_0x5a7dc0,_0x377d7c,'next');_0x21be0c['clearContent'](),_0x21be0c['updateContent']({'part':_0x1fb1be,'renderingStrategy':'static'}),_0x21be0c['open']({'index':_0x377d7c,'title':Oo(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x377d7c+0x1)['toString']()),'showRotator':null!==_0x3aa525,'ranges':[_0x3c219c],'areActionsDisabled':_0x3ccc2d['areActionsDisabled'],'targetEditor':_0xb07b8d}),_0x21be0c['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x5a7dc0,_0x377d7c),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x5a7dc0,'index':_0x377d7c,'isActive':!0x0});}['_closeActiveBalloon'](){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null;}['_getPresentableSiblingContentPartIndex'](_0xd72c8e,_0x1eb683,_0x487d76){const {reply:_0xbf157c}=this['getInteractionAndReplyById'](_0xd72c8e),_0x4b1c3b=_0xbf157c['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x4b1c3b['length'])return null;const _0x35b32b='next'==_0x487d76?0x1:-0x1;function _0x2febf2(_0x3c84ae){const _0x47e643=(_0x3c84ae+_0x35b32b+_0x4b1c3b['length'])%_0x4b1c3b['length'];return{'siblingIndex':_0x47e643,'siblingPart':_0x4b1c3b[_0x47e643]};}const _0x42b338=_0x4b1c3b['findIndex'](_0x39e4e6=>_0x39e4e6['index']==_0x1eb683);let {siblingIndex:_0x2fcd80,siblingPart:_0x4c64a1}=_0x2febf2(_0x42b338);for(;!this['_getUserPresentableContentPartDocumentRange'](_0xd72c8e,_0xbf157c,_0x4c64a1);)if({siblingIndex:_0x2fcd80,siblingPart:_0x4c64a1}=_0x2febf2(_0x2fcd80),_0x2fcd80===_0x42b338)return null;return _0x4c64a1['index'];}['_getUserPresentableContentPartDocumentRange'](_0x802056,_0x489ed0,_0x5009aa){const _0x4f50cc=_0x489ed0['changeGroups'];if(!_0x5009aa['hasChanges'])return null;const _0x2f4aa5=_0x4f50cc['find'](_0x1e9db1=>_0x1e9db1['index']==_0x5009aa['index']);if('pending'!==_0x2f4aa5?.['state'])return null;if('destroyed'===_0x2f4aa5?.['editor']['state'])return _0x489ed0['setChangeGroupState'](_0x5009aa['index'],'outdated'),null;const _0x470955=this['_getDocumentRangeForReplyChanges'](_0x802056,_0x5009aa['index']);if(!_0x470955)return _0x489ed0['setChangeGroupState'](_0x5009aa['index'],'outdated'),null;const {range:_0x27a911,currentIndex:_0x53974e}=_0x470955;return'$graveyard'==_0x27a911['root']['rootName']?(_0x489ed0['setChangeGroupState'](_0x53974e,'outdated'),null):_0x470955['range'];}['_getDocumentRangeForReplyChanges'](_0x4df5f8,_0xfcd982){const {reply:_0x40f238,interaction:_0x51aeff}=this['getInteractionAndReplyById'](_0x4df5f8),_0x26459c=_0x40f238['changeGroups']['filter'](_0x28d97d=>'pending'==_0x28d97d['state']),_0x58930a=_0x26459c['map'](_0x3e4370=>_0x40f238['changeGroups']['indexOf'](_0x3e4370));void 0x0===_0xfcd982&&(_0xfcd982=_0x58930a[0x0]);const _0x531a52=_0x58930a['indexOf'](_0xfcd982);if(-0x1==_0x531a52)return null;const _0x1d6f8d=_0x26459c[_0x531a52],_0x503890=_0x1d6f8d['editor'];if('destroyed'===_0x503890['state'])return null;const _0x434435=_0x40f238['documentContextContent']['get'](_0x1d6f8d['documentId']),_0xce410f=new ua([]),_0x5488b9=new ua([]);for(const _0x17ea51 of _0x1d6f8d['changes'])if('removed'!=_0x17ea51['type']&&_0x5488b9['children']['push'](_0x17ea51['node']['cloneNode'](!0x0)),'new'!=_0x17ea51['type']){const _0x26d32d=Ga(_0x8e3e96=>Ja(_0x8e3e96,'data-id')==_0x17ea51['id'],_0x434435,!0x0);_0xce410f['children']['push'](_0x26d32d['cloneNode'](!0x0));}if(0x0==_0xce410f['children']['length']){if(_0x1d6f8d['changes'][0x0]['anchorId']){const _0x1d5bca=Wa('data-id',_0x1d6f8d['changes'][0x0]['anchorId'],_0x434435);_0xce410f['children']['unshift'](_0x1d5bca['cloneNode'](!0x0)),_0x5488b9['children']['unshift'](_0x1d5bca['cloneNode'](!0x0)),_0x1d5bca['nextSibling']&&(_0xce410f['children']['push'](_0x1d5bca['nextSibling']['cloneNode'](!0x0)),_0x5488b9['children']['push'](_0x1d5bca['nextSibling']['cloneNode'](!0x0)));}else{const _0x6cbbe2=_0x434435['children'][0x0];if(!_0x6cbbe2)return null;_0xce410f['children']['push'](_0x6cbbe2['cloneNode'](!0x0)),_0x5488b9['children']['push'](_0x6cbbe2['cloneNode'](!0x0));}}const _0x128ac1=_0x51aeff['getDocumentContext'](),_0x14b7eb=_0x128ac1['content']||_0x128ac1['documents']['find'](_0x44dee6=>_0x44dee6['id']==_0x1d6f8d['documentId'])['content'],_0x4820a0=_0x503890['model']['document']['getRoot'](_0x1d6f8d['rootName']),_0x1e91aa=_0x503890['data']['parse'](_0x14b7eb,_0x4820a0),_0x5d715d=qa(_0xce410f),_0x5e7399=_0x503890['data']['parse'](_0x5d715d,_0x4820a0),_0x40a14d=_0x503890['data']['parse'](_0x5d715d,_0x4820a0),_0x2d2c1d=_0x503890['model']['createPositionAt'](_0x5e7399,0x0),_0x5c64e2=qa(_0x5488b9),_0x262755={'targetEditor':_0x503890,'anchor':_0x2d2c1d,'markDeletions':!0x1},_0x20899c=_0x503890['plugins']['get'](DocumentCompare)['getDiff'](_0x5d715d,_0x5c64e2,_0x262755)['getOperations']();if(!_0x20899c['length'])return null;_0x503890['model']['change'](_0x4b4eec=>{for(const _0x3614e6 of _0x20899c)if('remove'==_0x3614e6['type']){const _0x46da81=_0x3614e6['sourcePosition'],_0x1e1029=_0x3614e6['howMany'],_0x367e57=new _0x2e6f80(_0x46da81,_0x1e1029);_0x4b4eec['batch']['addOperation'](_0x367e57),_0x503890['model']['applyOperation'](_0x367e57);}else'marker'!==_0x3614e6['type']&&(_0x3614e6['baseVersion']=null,_0x3614e6['isDocumentOperation']=!0x1,_0x4b4eec['batch']['addOperation'](_0x3614e6),_0x503890['model']['applyOperation'](_0x3614e6));});const _0x271b54=cf(_0x503890,_0x20899c,_0x5e7399);hf(_0x503890['model'],_0x271b54);const _0xd7a990=_0x271b54['getFirstRange']()['start']['path']['slice'](),_0x422cc9=_0x271b54['getFirstRange']()['end']['path']['slice'](),_0x5cc95e=[];let _0xd8634b=_0x5e7399,_0x2fcb81=_0x40a14d;for(let _0x3ce163=0x0;_0x3ce163<_0x422cc9['length'];_0x3ce163++){const _0x3db638=_0xd8634b['maxOffset']-_0x422cc9[_0x3ce163];_0x5cc95e[_0x3ce163]=_0x2fcb81['maxOffset']-_0x3db638,_0xd8634b=_0xd8634b['getChildAtOffset'](_0x422cc9[_0x3ce163]),_0x2fcb81=_0x2fcb81['getChildAtOffset'](_0x5cc95e[_0x3ce163]);}const _0x345251=_0x503890['model']['createRange'](_0x503890['model']['createPositionFromPath'](_0x40a14d,_0xd7a990),_0x503890['model']['createPositionFromPath'](_0x40a14d,_0x5cc95e)),_0x4010dc=_0x40a14d['getChild'](0x0)['getAttribute'](tf),_0x240d1a=Array['from'](_0x1e91aa['getChildren']())['find'](_0x1be651=>_0x1be651['getAttribute'](tf)==_0x4010dc),_0x570424=_0x240d1a['getPath'](),_0x373663=_0x345251['start']['path']['slice'](),_0x3645cc=_0x345251['end']['path']['slice']();_0x373663[0x0]=_0x570424[0x0]+_0x373663[0x0],_0x3645cc[0x0]=_0x570424[0x0]+_0x3645cc[0x0];let _0x57be8a=_0x503890['model']['createRange'](_0x503890['model']['createPositionFromPath'](_0x503890['model']['document']['getRoot'](_0x1d6f8d['rootName']),_0x373663),_0x503890['model']['createPositionFromPath'](_0x503890['model']['document']['getRoot'](_0x1d6f8d['rootName']),_0x3645cc));const _0x32c85a=_0x128ac1['documents']['find'](_0x46b707=>_0x46b707['id']==_0x1d6f8d['documentId'])['version'],_0x1bc41c=_0x503890['model']['document']['history']['getOperations'](_0x32c85a);for(const _0x4bf96e of _0x1bc41c)_0x57be8a=_0x2b1886['_createFromRanges'](_0x57be8a['getTransformedByOperation'](_0x4bf96e));return{'range':_0x57be8a,'currentIndex':_0xfcd982,'targetEditor':_0x503890};}['_integrateEditorBalloon'](_0x48ceda){if(!_0x48ceda['plugins']['has']('AIChatBalloon'))return;const _0x1eb5c8=_0x48ceda['plugins']['get']('AIChatBalloon');this['_hasAIChatBalloon']=!0x0,_0x1eb5c8['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](_0x1eb5c8,'toggleSuggestionDisplayMode',()=>{const {replyId:_0x2e7ca1,partIndex:_0x408cb3}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x516a25}=this['getInteractionAndReplyById'](_0x2e7ca1),_0x96ca64=_0x516a25['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x408cb3});_0x1eb5c8['updateContent']({'part':_0x96ca64[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](_0x1eb5c8,'applySuggestion',()=>{const {replyId:_0x5d490d,partIndex:_0xfda44c}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x5d490d,'partIndex':_0xfda44c}),_0x1eb5c8['setState']('accepted');}),this['listenTo'](_0x1eb5c8,'insertSuggestion',()=>{const {replyId:_0x514e6b,partIndex:_0x1cad84}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x514e6b,'partIndex':_0x1cad84}),_0x1eb5c8['setState']('accepted');}),this['listenTo'](_0x1eb5c8,'rejectSuggestion',()=>{const {replyId:_0x1f7b93,partIndex:_0x183574}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x1f7b93,'partIndex':_0x183574}),_0x1eb5c8['setState']('rejected');}),this['listenTo'](_0x1eb5c8,'showNext',()=>{const {replyId:_0x14b198,partIndex:_0x15c5c6}=this['_currentPreviewedChangeGroup'],_0x3f3e3f=this['_getPresentableSiblingContentPartIndex'](_0x14b198,_0x15c5c6,'next');null!==_0x3f3e3f&&this['_openBalloonFor'](_0x14b198,_0x3f3e3f);}),this['listenTo'](_0x1eb5c8,'showPrevious',()=>{const {replyId:_0x140f22,partIndex:_0x3b7872}=this['_currentPreviewedChangeGroup'],_0x1d0ace=this['_getPresentableSiblingContentPartIndex'](_0x140f22,_0x3b7872,'previous');null!==_0x1d0ace&&this['_openBalloonFor'](_0x140f22,_0x1d0ace);}),this['listenTo'](_0x1eb5c8,'dialogClosed',(_0x19298c,{id:_0x3fe41f})=>{if('aiChatBalloon'!==_0x3fe41f)return;const {replyId:_0x17287c,partIndex:_0x4b7dd8}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x17287c,'index':_0x4b7dd8,'isActive':!0x1}),this['_activeBalloon']===_0x1eb5c8&&(this['_activeBalloon']=void 0x0);});}['_integrateEditor'](_0x3eb17d){if(this['_channelsToEditors']['set'](_0x3eb17d['config']['get']('collaboration.channelId'),_0x3eb17d),this['_integrateEditorBalloon'](_0x3eb17d),this['addCurrentDocumentToChatContext'](),_0x3eb17d['once']('destroy',()=>{this['_checkRemoveCurrentDocumentFromChatContext']();}),_0x3eb17d['plugins']['has']('Undo')){const _0xeefd83=_0x3eb17d['commands']['get']('undo'),_0x59c8e0=_0x3eb17d['commands']['get']('redo');this['listenTo'](_0xeefd83,'revert',(_0x43ee18,_0x26f843,_0x4d1275)=>{const _0x24456b=this['_batchToChanges']['get'](_0x26f843);if(!_0x24456b)return;const _0x4c63a0=this['activeConversation']['getInteraction'](_0x24456b['interactionId']),_0x4ed303=_0x4c63a0?.['getReply'](_0x24456b['replyId']);this['_batchToChanges']['delete'](_0x26f843),_0x4c63a0&&_0x4ed303&&(_0x24456b['indexes']['forEach'](_0x3465be=>_0x4ed303['setChangeGroupState'](_0x3465be,'pending')),this['_batchToChanges']['set'](_0x4d1275,_0x24456b));}),this['listenTo'](_0x59c8e0,'revert',(_0x42e5db,_0x9685,_0x8dcf87)=>{const _0x1ab2c6=this['_batchToChanges']['get'](_0x9685);if(!_0x1ab2c6)return;const _0x27ea4f=this['activeConversation']['getInteraction'](_0x1ab2c6['interactionId']),_0x213188=_0x27ea4f?.['getReply'](_0x1ab2c6['replyId']);this['_batchToChanges']['delete'](_0x9685),_0x27ea4f&&_0x213188&&(_0x1ab2c6['indexes']['forEach'](_0x3332f0=>_0x213188['setChangeGroupState'](_0x3332f0,'accepted')),this['_batchToChanges']['set'](_0x8dcf87,_0x1ab2c6));});}const _0x10ad3a=_0x3eb17d['config']['get']('ai.chat.context');_0x10ad3a['alwaysAddSelection']&&_0x10ad3a['document']['enabled']&&this['listenTo'](_0x3eb17d['model']['document']['selection'],'change:range',(_0x127787,_0x17a0c9)=>{if(!_0x17a0c9['directChange'])return;'chat'===_0x3eb17d['plugins']['get']('AITabs')['view']['activeTab']&&(_0x3eb17d['model']['hasContent'](_0x3eb17d['model']['document']['selection'])?this['addSelectionToChatContext'](_0x3eb17d):this['removeSelectionFromChatContext']());});}async['_getLastCreatedConversationId'](){const _0x46cb40=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x18704a=await _0x46cb40['getConversations']();return _0x18704a['length']?_0x18704a[0x0]['id']:'new';}catch(_0x2223dd){return this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x3eda13()}),this['_logError'](new _0x522f1f('ai-chat-conversation-init-failed',this,{'error':_0x2223dd})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async['_startConversationSafely'](_0x59f60b={}){this['set']('isConversationReady',!0x1);try{await this['_handleStartConversation'](_0x59f60b);}catch(_0x29c40a){this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x59f60b['id']||_0x3eda13()}),console['error'](_0x29c40a),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation']({id:_0x621c24,modelId:_0x47bba6}={}){this['_closeActiveBalloon']();let _0x1fd2ed=_0x47bba6;_0x1fd2ed||(_0x621c24||!this['activeConversation']?_0x1fd2ed=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x1fd2ed=this['activeConversation']['selectedModel']['id'])),this['activeConversation']&&this['stopListening'](this['activeConversation']),await this['_stopLastInteraction']();const _0x180f6d=this['getGroupId'](),_0x4755cb=_0x621c24||_0x3eda13();let _0x25641f;this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x1fd2ed,'conversationId':_0x4755cb,'group':_0x180f6d,'locale':this['context']['locale'],'isFromHistory':!!_0x621c24,'channelsToEditors':this['_channelsToEditors'],'getSessionId':_0x379468=>this['_aiEditing']['getSessionId'](_0x379468)}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['listenTo'](this['activeConversation'],'conversationInitialized',(_0x3e8650,_0x381dec)=>{this['_aiChatUi']['createConversation'](_0x381dec),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x621c24||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['listenTo'](this['activeConversation'],'uploadProgressChanged',(_0x1aefd8,_0x59caef)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x59caef['isUploadInProgress']);}),this['listenTo'](this['activeConversation'],'webSearchStarted',()=>{const _0x527dcb=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x527dcb);}),this['listenTo'](this['activeConversation'],'reasoningStarted',()=>{const _0x55cd99=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x55cd99);}),this['listenTo'](this['activeConversation'],'webSearchFinished',(_0x59c095,_0x2fb720)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x2fb720,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['listenTo'](this['activeConversation'],'reasoningFinished',(_0x9b1a92,_0x183187)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x183187,{'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',(_0x44f065,_0x5d964a)=>{this['_aiChatUi']['removeFeedInteraction'](_0x5d964a['id']);}),this['listenTo'](this['activeConversation'],'setConversationTitle',(_0x26eca6,_0x2c8c0c,_0x494e20)=>{this['_updateConversationTitle'](_0x2c8c0c,_0x494e20);}),this['listenTo'](this['activeConversation'],'replyContentUpdated',async(_0x26ed82,_0x16c5bc)=>{void 0x0!==_0x25641f&&_0x25641f!==_0x16c5bc['id']&&this['_updateReplyContentThrottled']['flush'](),_0x25641f=_0x16c5bc['id'],_0x16c5bc['isFromHistory']?await this['_updateReplyContent']({'reply':_0x16c5bc}):await this['_updateReplyContentThrottled']({'reply':_0x16c5bc});}),this['listenTo'](this['activeConversation'],'replyChangeGroupStateUpdated',(_0x5e9005,{reply:_0x2cd963,index:_0x44fb6d,state:_0x57957b})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x2cd963['id'],'index':_0x44fb6d,'state':_0x57957b}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x2cd963['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x44fb6d&&this['_activeBalloon']?.['setState'](_0x57957b);}),this['listenTo'](this['activeConversation'],'contextItemAdded',(_0x1f5d98,_0x235067)=>{if(this['_aiChatUi']['addContextItem'](_0x235067['contextItem'],_0x235067['isLoading']),'selection'===_0x235067['contextItem']['type']){const _0x478e02=bf(this['context']),_0x5caeb2=[..._0x478e02['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'editor':_0x478e02,'ranges':_0x5caeb2,'id':'context','priority':0x1});}}),this['listenTo'](this['activeConversation'],'contextItemRemoved',(_0x306ff1,_0x4c8a90)=>{this['_aiChatUi']['removeContextItem'](_0x4c8a90['uiId']),'current-document'==_0x4c8a90['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x4c8a90['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['listenTo'](this['activeConversation'],'contextItemLoadingEnded',(_0x3c8186,_0xec9d82)=>{this['_aiChatUi']['setContextItemLoading'](_0xec9d82['contextItem']['uiId'],_0xec9d82['isLoading']);}),this['listenTo'](this['activeConversation'],'contextSent',(_0x2b3e83,_0x154ddf)=>{this['_aiChatUi']['setConversationContext'](_0x154ddf['contextItems']);}),this['listenTo'](this['activeConversation'],'addContextOptionsChanged',(_0x14079f,_0xbf2fdd)=>{this['_aiChatUi']['setAddContextOptions'](_0xbf2fdd['options']);}),this['listenTo'](this['activeConversation'],'sourceResourcesLoaded',(_0x9e2636,_0x56259e)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x56259e['sourceId'],_0x56259e['source'],_0x56259e['resources'],_0x56259e['uid']);}),this['listenTo'](this['activeConversation'],'resourceStateChanged',(_0x52ba93,_0x2d748f)=>{this['_aiChatUi']['updateResourceState'](_0x2d748f['sourceId'],_0x2d748f['resourceId'],_0x2d748f['isInContext']);}),this['listenTo'](this['activeConversation'],'capabilitiesUpdated',(_0x529ab5,_0x55a559)=>{this['_aiChatUi']['updateCapabilities'](_0x55a559);}),this['listenTo'](this['activeConversation'],'modelSelected',async(_0x272944,_0xed001d)=>{const _0x53fe5d=(await this['_aiChatModels']['getAll']())['find'](_0x2c7416=>_0x2c7416['id']===_0xed001d['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x53fe5d,_0xed001d['isDisabled']);}),this['listenTo'](this['activeConversation'],'error',(_0x48f628,{error:_0x3e18c5,interactionId:_0x14fbcd,fileName:_0x3cb681,url:_0x5ebdda,sourceId:_0x536904,sourceLabel:_0x524c71})=>{const _0x5387d2=_0x14fbcd?_0x14fbcd+':'+_0x3eda13():_0x3eda13();_0x3e18c5['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':Oo(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x5387d2}):_0x3e18c5['message']['startsWith']('ai-chat-conversation-init-failed')||_0x3e18c5['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x5387d2}),this['_logError'](_0x3e18c5)):_0x3e18c5['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x3cb681),'id':_0x5387d2}):_0x3e18c5['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x5ebdda),'id':_0x5387d2}):_0x3e18c5['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x5387d2}):_0x3e18c5['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x5387d2}):_0x3e18c5['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x536904&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x536904),this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x524c71||'source'),'id':_0x5387d2}),this['_logError'](_0x3e18c5)):_0x3e18c5['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x5387d2}),this['_logError'](_0x3e18c5)):_0x3e18c5['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x5387d2}),this['_logError'](_0x3e18c5)):_0x3e18c5['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x5387d2}),this['_logError'](_0x3e18c5)):_0x3e18c5['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x5387d2}),this['_logError'](_0x3e18c5)):_0x3e18c5['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x5387d2}),this['_logError'](_0x3e18c5)):_0x3e18c5['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x5387d2}),this['_logError'](_0x3e18c5)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':Oo(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x5387d2}),this['_logError'](_0x3e18c5));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x621c24||(await this['activeConversation']['start'](),this['_aiChatUi']['enableControls']()),this['set']('isConversationReady',!0x0);}async['_handleUIUserMessage']({message:_0x584204,attributes:_0x378220}){if(!this['activeConversation'])throw new _0x522f1f('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0xcd01a8=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentsInContext'](_0xcd01a8);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x584204,'attributes':_0x378220});}['_logError'](_0x165194){_0x1ede73(_0x165194['message'],_0x165194['data']);}['_removeFromContext'](_0x46abe8){this['activeConversation']?.['removeFromContext'](_0x46abe8);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x4fb516){const [_0x4107af,_0x476e58]=_0x4fb516['split'](':'),_0x9411fc=this['activeConversation']['getInteraction'](_0x4107af),_0x5def04=_0x9411fc['getReply'](_0x476e58);return{'interaction':_0x9411fc,'reply':_0x5def04};}['_scrollToSuggestionRange'](_0x59d759,_0x1e5900=!0x1,_0x1940ef){const _0x48e9f8={'target':_0x1940ef['editing']['view']['domConverter']['viewRangeToDom'](_0x1940ef['editing']['mapper']['toViewRange'](_0x59d759)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x1e5900};_0x1e5900&&(_0x48e9f8['alignToTop']=!0x0),_0x4e25b4(_0x48e9f8);}['_updateConversationTitle'](_0x332e1b,_0x203e31=!0x1){this['_aiChatUi']['setConversationTitle'](_0x332e1b||Oo(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x203e31);}['_addFeedItemReply'](_0x525cc8){'text'===_0x525cc8['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x525cc8):this['_aiChatUi']['addFeedItemAISuggestion'](_0x525cc8);}async['_updateReplyContent']({reply:_0x1f25e3,renderingStrategy:_0x2be618}){const {id:_0x5d0f70,interactionId:_0x24477e,isDone:_0x38ce2,type:_0x278fac,parsedContent:_0x5aaef7}=_0x1f25e3,_0x27b680=_0x24477e+':'+_0x5d0f70;if('modification'===_0x278fac){const _0x589130=_0x1f25e3['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x27b680,'parts':_0x589130,'isDone':_0x38ce2,'skipLoadingEffects':_0x1f25e3['isFromHistory']});}else'text'===_0x278fac&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x27b680,'parsedContent':_0x5aaef7['get']('text'),'renderingStrategy':_0x2be618,'isDone':_0x38ce2});_0x38ce2&&_0x1f25e3['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x27b680,_0x1f25e3['sources']);}['_updateReplyContentThrottled']=jr(this['_updateReplyContent']['bind'](this),0xc8);async['_stopLastInteraction'](){const _0x35f8ab=this['activeConversation']?.['lastInteraction'];_0x35f8ab&&(_0x35f8ab['stop'](),this['_aiChatUi']['stopInteraction'](_0x35f8ab)),this['_updateReplyContentThrottled']['cancel']();}async['_flushLastInteractionUI'](){const _0x5f283a=this['activeConversation']?.['lastInteraction'];if(_0x5f283a){for await(const _0x58ed1c of _0x5f283a['replies'])this['_aiChatUi']['hasFeedItem'](_0x58ed1c['id'])||this['_addFeedItemReply'](_0x58ed1c),await this['_updateReplyContent']({'reply':_0x58ed1c,'renderingStrategy':'static'});}}['_updateRatings'](_0x41249e){const _0x2781e8={'positiveCount':_0x41249e['changeGroups']['filter'](_0x5cfac4=>'accepted'===_0x5cfac4['state'])['length'],'totalCount':_0x41249e['changeGroups']['length'],'modificationId':_0x41249e['id']},_0x2c8d8a=this['activeConversation']['getInteraction'](_0x41249e['interactionId'])['messageId'];_0x2c8d8a&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x2c8d8a,_0x2781e8);}['_getAIChatFeedAPI'](_0x28cea7){const _0x179bc6=this['_aiChatUi'],_0x145ce7=()=>{_0x28cea7['resetWebSearchState'](),_0x28cea7['resetReasoningState'](),_0x179bc6['clearLoadingMessage']();},_0x4139df=()=>{_0x28cea7['currentReply']&&(_0x28cea7['currentReply']['done'](),_0x28cea7['currentReply']=void 0x0);};return{'insertTextReply':(_0x4266c5,_0x32f9f9)=>{_0x4139df(),_0x145ce7();const _0x16cb32=_0x28cea7['currentReply']=_0x28cea7['createReply']({'type':'text','interactionId':_0x28cea7['id'],'id':_0x32f9f9||_0x3eda13(),'channelsToEditors':this['_channelsToEditors']});return _0x16cb32['appendContent'](_0x4266c5),_0x4139df(),_0x16cb32;},'insertCustomElement':async(_0x564af1,_0x247797)=>(_0x4139df(),_0x145ce7(),_0x179bc6['addFeedItemCustomElement'](_0x564af1,_0x247797||_0x3eda13())),'setLoadingMessage':_0x52efe8=>{_0x179bc6['setLoadingMessage'](_0x52efe8);},'clearLoadingMessage':()=>{_0x179bc6['clearLoadingMessage']();}};}['_checkRemoveCurrentDocumentFromChatContext'](){wf(this['context'])['find'](_0x5ef7bb=>'destroyed'!==_0x5ef7bb['state'])||(this['activeConversation']?.['removeFromContext']('current-document'),this['activeConversation']?.['toggleAddCurrentDocumentOptionVisibility'](!0x1));}}const Ef='ai-selection',Tf=['br'];class AIEditing extends _0x304a5a{constructor(_0x1fdec8){super(_0x1fdec8),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'](_0x120600){let _0x37a16e=this['_sessionIdByEditor']['get'](_0x120600);return!_0x37a16e&&(_0x37a16e=_0x120600['plugins']['has']('RealTimeCollaborationClient')&&_0x120600['plugins']['get']('RealTimeCollaborationClient')['sessionId']||_0x3eda13(),this['_sessionIdByEditor']['set'](_0x120600,_0x37a16e)),_0x37a16e;}async['getDocumentData'](){const _0x278b08=wf(this['context']);if(!_0x278b08['length'])throw new _0x522f1f('ai-get-editor-from-context-no-editor');const _0x23a039=[],_0x63c95d=new Set();for(const _0x57fa2e of _0x278b08){const _0x563e8f=_0x57fa2e['config']['get']('roots')||{};for(const _0x13b786 of _0x57fa2e['model']['document']['getRoots']()){if('$graveyard'===_0x13b786['rootName'])continue;const _0x3675bf=await this['_getDocumentDataForEditorRoot'](_0x57fa2e,_0x13b786,_0x63c95d),_0x4c0a56=_0x563e8f[_0x13b786['rootName']];let _0x4709ee;_0x4c0a56?.['label']?_0x4709ee=_0x4c0a56['label']:(_0x445208('ai-document-root-missing-label',{'editor':_0x57fa2e,'rootConfig':_0x4c0a56}),_0x4709ee=_0x13b786['rootName']),_0x23a039['push']({'editor':_0x57fa2e,'rootName':_0x13b786['rootName'],'content':_0x3675bf['content'],'version':_0x3675bf['version'],'sessionId':this['getSessionId'](_0x57fa2e),'channelId':_0x57fa2e['config']['get']('collaboration.channelId'),'selections':_0x3675bf['selections'],'name':_0x4709ee,'description':_0x4c0a56?.['description']});}}return _0x23a039;}async['_getDocumentDataForEditorRoot'](_0x182570,_0x42fdeb,_0x1c6bf9){const _0x151946=_0x182570['data']['toView'](_0x42fdeb,{'convertAiChatSelectionMarker':!0x0}),_0x584f7d=new _0x5dc9b1(_0x182570['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x151946,_0x584f7d,_0x1c6bf9);let _0x52c16e=await this['_getDocumentDataStringFromView'](_0x151946,_0x182570);const _0x4b461d=this['_getMarkersInDocumentOrder'](_0x182570,_0x42fdeb),_0x59822c=[];for(const _0x5c0996 of _0x4b461d){const _0x44e5b6='<'+_0x5c0996['name']+':start></'+_0x5c0996['name']+':start>',_0x8a78d8=_0x52c16e['indexOf'](_0x44e5b6);_0x52c16e=_0x52c16e['substring'](0x0,_0x8a78d8)+_0x52c16e['substring'](_0x8a78d8+_0x44e5b6['length']);const _0x1c9428='<'+_0x5c0996['name']+':end></'+_0x5c0996['name']+':end>',_0x27525c=_0x52c16e['indexOf'](_0x1c9428);_0x52c16e=_0x52c16e['substring'](0x0,_0x27525c)+_0x52c16e['substring'](_0x27525c+_0x1c9428['length']),_0x59822c['push']({'markerName':_0x5c0996['name'],'start':_0x8a78d8,'end':_0x27525c,'htmlFragment':_0x52c16e['substring'](_0x8a78d8,_0x27525c)});}return{'content':_0x52c16e,'version':_0x182570['model']['document']['version'],'selections':_0x59822c};}['afterInit'](){this['context']instanceof _0x8aa8ea?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x582168,_0xd6f0f9)=>{_0xd6f0f9['on']('ready',()=>{this['_integrateEditor'](_0xd6f0f9);});});}['_setOutputDataProcessor'](_0x1bf002){this['_outputDataProcessor']=_0x1bf002;}async['_getDocumentDataStringFromView'](_0x167c00,_0x111861){let _0x16afbb;if(this['_outputDataProcessor']){const _0x33a31d=_0x111861['data']['processor']['domConverter']['viewToDom'](_0x167c00),_0xcc0da1=await this['_outputDataProcessor'](_0x33a31d);_0x16afbb=_0x111861['data']['processor']['htmlWriter']['getHtml'](_0xcc0da1);}else _0x16afbb=_0x111861['data']['processor']['toData'](_0x167c00);return _0x16afbb;}['_integrateEditor'](_0x21fac4){if(!_0x21fac4['config']['get']('collaboration.channelId'))throw new _0x522f1f('ai-missing-channel-id',_0x21fac4);_0x21fac4['ui']['focusTracker']['on']('change:isFocused',(_0x4dd1a0,_0x41c1bb,_0x37adfe)=>{_0x37adfe&&(this['_lastContentFocusedEditor']=_0x21fac4);}),_0x21fac4['on']('destroy',()=>{this['_lastContentFocusedEditor']===_0x21fac4&&(this['_lastContentFocusedEditor']=void 0x0);}),_0x21fac4['conversion']['for']('editingDowncast')['markerToHighlight']({'model':Ef,'view':({markerName:_0x2886b8})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0x2886b8['split'](':')[0x1]],'priority':0xc})}),_0x21fac4['conversion']['for']('dataDowncast')['markerToElement']({'model':Ef+':context','view':(_0x25e205,{writer:_0x9258f9,options:_0x51595e})=>_0x51595e['convertAiChatSelectionMarker']?_0x9258f9['createUIElement'](_0x25e205['markerName']+':'+(_0x25e205['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x57bc27){const _0x566e40=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0x57bc27);const _0x1ad325=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x566e40,_0x1ad325);}['hideFakeVisualSelection'](_0x345bbb){const _0x4e0c8b=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x345bbb);const _0x1f0e1b=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x4e0c8b,_0x1f0e1b);}async['modelToDataWithIds'](_0x289d6a,_0x400347){const _0xd129f5=_0x400347['data']['toView'](_0x289d6a),_0x291d6a=new _0x5dc9b1(_0x400347['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0xd129f5,_0x291d6a),this['_getDocumentDataStringFromView'](_0xd129f5,_0x400347);}['_setDataIdsOnChildren'](_0xe24c6b,_0x37ebbe,_0x38949c=new Set()){let _0xa94209=!0x1;for(const _0x4783de of _0xe24c6b['getChildren']()){if(!_0x4783de['is']('view:element')||Tf['includes'](_0x4783de['name']))continue;const _0x2a6dfc=_0x4783de['is']('view:containerElement'),_0x2d2357=_0x4783de['is']('view:emptyElement'),_0x17f39a=_0x4783de['is']('view:rawElement'),_0x18783c=this['_setDataIdsOnChildren'](_0x4783de,_0x37ebbe,_0x38949c);if(_0x4783de['hasAttribute']('data-id')){_0xa94209=!0x0,_0x38949c['add'](_0x4783de['getAttribute']('data-id'));continue;}(_0x2a6dfc||_0x2d2357||_0x17f39a||_0x18783c)&&(_0x37ebbe['setAttribute']('data-id',this['_nextDataId'](_0x38949c),_0x4783de),_0xa94209=!0x0);}return _0xa94209;}['_nextDataId'](_0x5e1fc1){let _0x3cbb70;do{_0x3cbb70='';for(let _0x21f56e=0x0;_0x21f56e<0x4;_0x21f56e++)_0x3cbb70+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x5e1fc1['has'](_0x3cbb70));return _0x5e1fc1['add'](_0x3cbb70),_0x3cbb70;}['getSelectionText'](_0x599254){const _0x5d1132=(_0x599254?_0x599254['model']:bf(this['context'])['model'])['document']['selection'],_0xbc2543=[],_0x45e93f=Array['from'](_0x5d1132['getRanges']());_0x45e93f['sort']((_0x1640c7,_0x34ff11)=>_0x1640c7['start']['isBefore'](_0x34ff11['start'])?-0x1:0x1);for(const _0x23e519 of _0x45e93f)for(const _0x585727 of _0x23e519['getItems']())_0x585727['is']('$textProxy')?_0xbc2543['push'](_0x585727['data']):_0x585727['is']('element')&&_0xbc2543['length']>0x0&&'\x20'!==_0xbc2543[_0xbc2543['length']-0x1]&&_0xbc2543['push']('\x20');return _0xbc2543['length']?'\x22'+_0xbc2543['join']('')['trim']()+'\x22':Oo(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_removeFakeSelectionById'](_0x549b86){for(let _0x44d3ec=0x0;_0x44d3ec<this['_fakeSelections']['length'];_0x44d3ec++)if(this['_fakeSelections'][_0x44d3ec]['id']==_0x549b86)return void this['_fakeSelections']['splice'](_0x44d3ec,0x1);}['_addFakeSelection'](_0xaac14d){this['_removeFakeSelectionById'](_0xaac14d['id']),_0x3b227a(this['_fakeSelections'],_0xaac14d);}['_refreshFakeSelection'](_0x381732,_0x299820){if(_0x381732==_0x299820)return;const _0x59d789=_0x381732?_0x381732['editor']:null,_0x1697e=_0x299820?_0x299820['editor']:null,_0x182100=(_0x57a078,_0x25f254)=>{const _0xee1041=_0x25f254['model']['markers']['getMarkersGroup'](Ef);for(const _0x5d947f of _0xee1041)_0x57a078['removeMarker'](_0x5d947f);},_0x3f7eb7=(_0x1be563,_0x3d089b,_0x529d1d)=>{const _0x36e5fb=_0x3d089b['model'];for(let _0x2dfc00=0x0;_0x2dfc00<_0x529d1d['ranges']['length'];_0x2dfc00++){let _0x3ab751=_0x529d1d['ranges'][_0x2dfc00];const _0x314eb1=Ef+':'+_0x529d1d['id']+':'+_0x2dfc00;if(_0x3ab751['start']['isAtEnd']){const _0xb56fac=_0x3ab751['start']['getLastMatchingPosition'](({item:_0x36a90a})=>!_0x36e5fb['schema']['isContent'](_0x36a90a),{'boundaries':_0x3ab751});_0x3ab751=_0x1be563['createRange'](_0xb56fac,_0x3ab751['end']);}_0x1be563['addMarker'](_0x314eb1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3ab751});}};_0x59d789&&_0x1697e&&_0x59d789===_0x1697e&&_0x299820?_0x59d789['model']['change'](_0x13a95f=>{_0x182100(_0x13a95f,_0x59d789),_0x3f7eb7(_0x13a95f,_0x1697e,_0x299820);}):(_0x59d789&&_0x59d789['model']['change'](_0x5417cf=>_0x182100(_0x5417cf,_0x59d789)),_0x1697e&&_0x299820&&_0x1697e['model']['change'](_0x5ba37b=>_0x3f7eb7(_0x5ba37b,_0x1697e,_0x299820)));}['_getMarkersInDocumentOrder'](_0x53ff47,_0x3b0ed4){const _0x4e4616=Array['from'](_0x53ff47['model']['markers']['getMarkersGroup'](Ef+':context')),_0x21c60a=_0x3b0ed4?_0x4e4616['filter'](_0x4e7b5e=>{const _0x43dc57=_0x4e7b5e['getRange']();return _0x43dc57&&_0x43dc57['root']['rootName']===_0x3b0ed4['rootName'];}):_0x4e4616;return _0x21c60a['sort']((_0x13a140,_0x33721c)=>_0x13a140['getStart']()['isBefore'](_0x33721c['getStart']())?-0x1:_0x13a140['getStart']()['isAfter'](_0x33721c['getStart']())?0x1:0x0);}}const Af=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],If=[...Af,'startConversation','sendUserMessage','promptInputPaste','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var Sf,Cf='undefined'==typeof document?void 0x0:document,kf=!!Cf&&'content'in Cf['createElement']('template'),xf=!!Cf&&Cf['createRange']&&'createContextualFragment'in Cf['createRange']();function Rf(_0x43ad37){return _0x43ad37=_0x43ad37['trim'](),kf?function(_0x5cf279){var _0x3e2b8f=Cf['createElement']('template');return _0x3e2b8f['innerHTML']=_0x5cf279,_0x3e2b8f['content']['childNodes'][0x0];}(_0x43ad37):xf?function(_0x464c99){return Sf||(Sf=Cf['createRange']())['selectNode'](Cf['body']),Sf['createContextualFragment'](_0x464c99)['childNodes'][0x0];}(_0x43ad37):function(_0x3a2deb){var _0x497450=Cf['createElement']('body');return _0x497450['innerHTML']=_0x3a2deb,_0x497450['childNodes'][0x0];}(_0x43ad37);}function Pf(_0x3261a2,_0x3d27cf){var _0x1dce8b,_0xc36d27,_0x50698b=_0x3261a2['nodeName'],_0x3227bb=_0x3d27cf['nodeName'];return _0x50698b===_0x3227bb||(_0x1dce8b=_0x50698b['charCodeAt'](0x0),_0xc36d27=_0x3227bb['charCodeAt'](0x0),_0x1dce8b<=0x5a&&_0xc36d27>=0x61?_0x50698b===_0x3227bb['toUpperCase']():_0xc36d27<=0x5a&&_0x1dce8b>=0x61&&_0x3227bb===_0x50698b['toUpperCase']());}function Mf(_0x4191fd,_0x3bb903,_0x5af2e8){_0x4191fd[_0x5af2e8]!==_0x3bb903[_0x5af2e8]&&(_0x4191fd[_0x5af2e8]=_0x3bb903[_0x5af2e8],_0x4191fd[_0x5af2e8]?_0x4191fd['setAttribute'](_0x5af2e8,''):_0x4191fd['removeAttribute'](_0x5af2e8));}var Nf={'OPTION':function(_0x3cebcd,_0x14f87b){var _0x4096df=_0x3cebcd['parentNode'];if(_0x4096df){var _0x3ddec0=_0x4096df['nodeName']['toUpperCase']();'OPTGROUP'===_0x3ddec0&&(_0x3ddec0=(_0x4096df=_0x4096df['parentNode'])&&_0x4096df['nodeName']['toUpperCase']()),'SELECT'!==_0x3ddec0||_0x4096df['hasAttribute']('multiple')||(_0x3cebcd['hasAttribute']('selected')&&!_0x14f87b['selected']&&(_0x3cebcd['setAttribute']('selected','selected'),_0x3cebcd['removeAttribute']('selected')),_0x4096df['selectedIndex']=-0x1);}Mf(_0x3cebcd,_0x14f87b,'selected');},'INPUT':function(_0x4c8ecf,_0x12e213){Mf(_0x4c8ecf,_0x12e213,'checked'),Mf(_0x4c8ecf,_0x12e213,'disabled'),_0x4c8ecf['value']!==_0x12e213['value']&&(_0x4c8ecf['value']=_0x12e213['value']),_0x12e213['hasAttribute']('value')||_0x4c8ecf['removeAttribute']('value');},'TEXTAREA':function(_0x21421f,_0x39d0f4){var _0x3f9bbd=_0x39d0f4['value'];_0x21421f['value']!==_0x3f9bbd&&(_0x21421f['value']=_0x3f9bbd);var _0x6fce80=_0x21421f['firstChild'];if(_0x6fce80){var _0x4ae451=_0x6fce80['nodeValue'];if(_0x4ae451==_0x3f9bbd||!_0x3f9bbd&&_0x4ae451==_0x21421f['placeholder'])return;_0x6fce80['nodeValue']=_0x3f9bbd;}},'SELECT':function(_0x2a7f82,_0x2005c3){if(!_0x2005c3['hasAttribute']('multiple')){for(var _0x157dce,_0x5c90d0,_0x312939=-0x1,_0x303074=0x0,_0x53909e=_0x2a7f82['firstChild'];_0x53909e;)if('OPTGROUP'===(_0x5c90d0=_0x53909e['nodeName']&&_0x53909e['nodeName']['toUpperCase']()))(_0x53909e=(_0x157dce=_0x53909e)['firstChild'])||(_0x53909e=_0x157dce['nextSibling'],_0x157dce=null);else{if('OPTION'===_0x5c90d0){if(_0x53909e['hasAttribute']('selected')){_0x312939=_0x303074;break;}_0x303074++;}!(_0x53909e=_0x53909e['nextSibling'])&&_0x157dce&&(_0x53909e=_0x157dce['nextSibling'],_0x157dce=null);}_0x2a7f82['selectedIndex']=_0x312939;}}};function Lf(){}function $f(_0x30a94d){if(_0x30a94d)return _0x30a94d['getAttribute']&&_0x30a94d['getAttribute']('id')||_0x30a94d['id'];}var Df=function(_0x128029){return function(_0x3e8c11,_0x42d7cd,_0x4d1246){if(_0x4d1246||(_0x4d1246={}),'string'==typeof _0x42d7cd){if('#document'===_0x3e8c11['nodeName']||'HTML'===_0x3e8c11['nodeName']||'BODY'===_0x3e8c11['nodeName']){var _0x48a74d=_0x42d7cd;(_0x42d7cd=Cf['createElement']('html'))['innerHTML']=_0x48a74d;}else _0x42d7cd=Rf(_0x42d7cd);}else 0xb===_0x42d7cd['nodeType']&&(_0x42d7cd=_0x42d7cd['firstElementChild']);var _0x10bd32=_0x4d1246['getNodeKey']||$f,_0x8e7b81=_0x4d1246['onBeforeNodeAdded']||Lf,_0xd9f486=_0x4d1246['onNodeAdded']||Lf,_0x55cc50=_0x4d1246['onBeforeElUpdated']||Lf,_0x13d3e9=_0x4d1246['onElUpdated']||Lf,_0x215b94=_0x4d1246['onBeforeNodeDiscarded']||Lf,_0x37504d=_0x4d1246['onNodeDiscarded']||Lf,_0x348fa0=_0x4d1246['onBeforeElChildrenUpdated']||Lf,_0x5fc33d=_0x4d1246['skipFromChildren']||Lf,_0x4b9c64=_0x4d1246['addChild']||function(_0x4b613f,_0x45f7da){return _0x4b613f['appendChild'](_0x45f7da);},_0x179551=!0x0===_0x4d1246['childrenOnly'],_0x297d7c=Object['create'](null),_0x2abe95=[];function _0x1c5525(_0x51626e){_0x2abe95['push'](_0x51626e);}function _0x2534c7(_0x9f4e0b,_0x1cba19){if(0x1===_0x9f4e0b['nodeType'])for(var _0x224008=_0x9f4e0b['firstChild'];_0x224008;){var _0x535b23=void 0x0;_0x1cba19&&(_0x535b23=_0x10bd32(_0x224008))?_0x1c5525(_0x535b23):(_0x37504d(_0x224008),_0x224008['firstChild']&&_0x2534c7(_0x224008,_0x1cba19)),_0x224008=_0x224008['nextSibling'];}}function _0x2580b7(_0x24f1dd,_0x1e67f5,_0x492b85){!0x1!==_0x215b94(_0x24f1dd)&&(_0x1e67f5&&_0x1e67f5['removeChild'](_0x24f1dd),_0x37504d(_0x24f1dd),_0x2534c7(_0x24f1dd,_0x492b85));}function _0x5e6bea(_0x1ccd39){if(0x1===_0x1ccd39['nodeType']||0xb===_0x1ccd39['nodeType'])for(var _0xf3fa82=_0x1ccd39['firstChild'];_0xf3fa82;){var _0x4f214a=_0x10bd32(_0xf3fa82);_0x4f214a&&(_0x297d7c[_0x4f214a]=_0xf3fa82),_0x5e6bea(_0xf3fa82),_0xf3fa82=_0xf3fa82['nextSibling'];}}function _0x501167(_0x433002){_0xd9f486(_0x433002);for(var _0x10333a=_0x433002['firstChild'];_0x10333a;){var _0x3b430f=_0x10333a['nextSibling'],_0x23eff2=_0x10bd32(_0x10333a);if(_0x23eff2){var _0x26f314=_0x297d7c[_0x23eff2];_0x26f314&&Pf(_0x10333a,_0x26f314)?(_0x10333a['parentNode']['replaceChild'](_0x26f314,_0x10333a),_0x3bc53d(_0x26f314,_0x10333a)):_0x501167(_0x10333a);}else _0x501167(_0x10333a);_0x10333a=_0x3b430f;}}function _0x3bc53d(_0xa043f7,_0x2929b,_0x1b0672){var _0x814d4a=_0x10bd32(_0x2929b);if(_0x814d4a&&delete _0x297d7c[_0x814d4a],!_0x1b0672){var _0x4cdcb=_0x55cc50(_0xa043f7,_0x2929b);if(!0x1===_0x4cdcb)return;if(_0x4cdcb instanceof HTMLElement&&_0x5e6bea(_0xa043f7=_0x4cdcb),_0x128029(_0xa043f7,_0x2929b),_0x13d3e9(_0xa043f7),!0x1===_0x348fa0(_0xa043f7,_0x2929b))return;}'TEXTAREA'!==_0xa043f7['nodeName']?function(_0x4ea89d,_0x17a04b){var _0x111146,_0x4f3fab,_0x2104e4,_0x219975,_0x3b03f5,_0x1c574c=_0x5fc33d(_0x4ea89d,_0x17a04b),_0x2abfd6=_0x17a04b['firstChild'],_0x445e0d=_0x4ea89d['firstChild'];t:for(;_0x2abfd6;){for(_0x219975=_0x2abfd6['nextSibling'],_0x111146=_0x10bd32(_0x2abfd6);!_0x1c574c&&_0x445e0d;){if(_0x2104e4=_0x445e0d['nextSibling'],_0x2abfd6['isSameNode']&&_0x2abfd6['isSameNode'](_0x445e0d)){_0x2abfd6=_0x219975,_0x445e0d=_0x2104e4;continue t;}_0x4f3fab=_0x10bd32(_0x445e0d);var _0x33fc7e=_0x445e0d['nodeType'],_0x3ef47f=void 0x0;if(_0x33fc7e===_0x2abfd6['nodeType']&&(0x1===_0x33fc7e?(_0x111146?_0x111146!==_0x4f3fab&&((_0x3b03f5=_0x297d7c[_0x111146])?_0x2104e4===_0x3b03f5?_0x3ef47f=!0x1:(_0x4ea89d['insertBefore'](_0x3b03f5,_0x445e0d),_0x4f3fab?_0x1c5525(_0x4f3fab):_0x2580b7(_0x445e0d,_0x4ea89d,!0x0),_0x4f3fab=_0x10bd32(_0x445e0d=_0x3b03f5)):_0x3ef47f=!0x1):_0x4f3fab&&(_0x3ef47f=!0x1),(_0x3ef47f=!0x1!==_0x3ef47f&&Pf(_0x445e0d,_0x2abfd6))&&_0x3bc53d(_0x445e0d,_0x2abfd6)):0x3!==_0x33fc7e&&0x8!=_0x33fc7e||(_0x3ef47f=!0x0,_0x445e0d['nodeValue']!==_0x2abfd6['nodeValue']&&(_0x445e0d['nodeValue']=_0x2abfd6['nodeValue']))),_0x3ef47f){_0x2abfd6=_0x219975,_0x445e0d=_0x2104e4;continue t;}_0x4f3fab?_0x1c5525(_0x4f3fab):_0x2580b7(_0x445e0d,_0x4ea89d,!0x0),_0x445e0d=_0x2104e4;}if(_0x111146&&(_0x3b03f5=_0x297d7c[_0x111146])&&Pf(_0x3b03f5,_0x2abfd6))_0x1c574c||_0x4b9c64(_0x4ea89d,_0x3b03f5),_0x3bc53d(_0x3b03f5,_0x2abfd6);else{var _0x16b875=_0x8e7b81(_0x2abfd6);!0x1!==_0x16b875&&(_0x16b875&&(_0x2abfd6=_0x16b875),_0x2abfd6['actualize']&&(_0x2abfd6=_0x2abfd6['actualize'](_0x4ea89d['ownerDocument']||Cf)),_0x4b9c64(_0x4ea89d,_0x2abfd6),_0x501167(_0x2abfd6));}_0x2abfd6=_0x219975,_0x445e0d=_0x2104e4;}!function(_0x31c891,_0x54bad9,_0x421c7c){for(;_0x54bad9;){var _0x31c82f=_0x54bad9['nextSibling'];(_0x421c7c=_0x10bd32(_0x54bad9))?_0x1c5525(_0x421c7c):_0x2580b7(_0x54bad9,_0x31c891,!0x0),_0x54bad9=_0x31c82f;}}(_0x4ea89d,_0x445e0d,_0x4f3fab);var _0x20cef9=Nf[_0x4ea89d['nodeName']];_0x20cef9&&_0x20cef9(_0x4ea89d,_0x17a04b);}(_0xa043f7,_0x2929b):Nf['TEXTAREA'](_0xa043f7,_0x2929b);}_0x5e6bea(_0x3e8c11);var _0x35e241=_0x3e8c11,_0xddf01a=_0x35e241['nodeType'],_0x4469c1=_0x42d7cd['nodeType'];if(!_0x179551){if(0x1===_0xddf01a)0x1===_0x4469c1?Pf(_0x3e8c11,_0x42d7cd)||(_0x37504d(_0x3e8c11),_0x35e241=function(_0x3721cf,_0x169eda){for(var _0xf6c9d=_0x3721cf['firstChild'];_0xf6c9d;){var _0x4947a1=_0xf6c9d['nextSibling'];_0x169eda['appendChild'](_0xf6c9d),_0xf6c9d=_0x4947a1;}return _0x169eda;}(_0x3e8c11,function(_0x31d671,_0x574c7d){return _0x574c7d&&'http://www.w3.org/1999/xhtml'!==_0x574c7d?Cf['createElementNS'](_0x574c7d,_0x31d671):Cf['createElement'](_0x31d671);}(_0x42d7cd['nodeName'],_0x42d7cd['namespaceURI']))):_0x35e241=_0x42d7cd;else{if(0x3===_0xddf01a||0x8===_0xddf01a){if(_0x4469c1===_0xddf01a)return _0x35e241['nodeValue']!==_0x42d7cd['nodeValue']&&(_0x35e241['nodeValue']=_0x42d7cd['nodeValue']),_0x35e241;_0x35e241=_0x42d7cd;}}}if(_0x35e241===_0x42d7cd)_0x37504d(_0x3e8c11);else{if(_0x42d7cd['isSameNode']&&_0x42d7cd['isSameNode'](_0x35e241))return;if(_0x3bc53d(_0x35e241,_0x42d7cd,_0x179551),_0x2abe95)for(var _0x1fabb0=0x0,_0x1eeea=_0x2abe95['length'];_0x1fabb0<_0x1eeea;_0x1fabb0++){var _0x21ceaf=_0x297d7c[_0x2abe95[_0x1fabb0]];_0x21ceaf&&_0x2580b7(_0x21ceaf,_0x21ceaf['parentNode'],!0x1);}}return!_0x179551&&_0x35e241!==_0x3e8c11&&_0x3e8c11['parentNode']&&(_0x35e241['actualize']&&(_0x35e241=_0x35e241['actualize'](_0x3e8c11['ownerDocument']||Cf)),_0x3e8c11['parentNode']['replaceChild'](_0x35e241,_0x3e8c11)),_0x35e241;};}(function(_0xde953b,_0x530136){var _0x258378,_0xdcc7c,_0x44af63,_0x196a26,_0x1732fd=_0x530136['attributes'];if(0xb!==_0x530136['nodeType']&&0xb!==_0xde953b['nodeType']){for(var _0xa85387=_0x1732fd['length']-0x1;_0xa85387>=0x0;_0xa85387--)_0xdcc7c=(_0x258378=_0x1732fd[_0xa85387])['name'],_0x44af63=_0x258378['namespaceURI'],_0x196a26=_0x258378['value'],_0x44af63?(_0xdcc7c=_0x258378['localName']||_0xdcc7c,_0xde953b['getAttributeNS'](_0x44af63,_0xdcc7c)!==_0x196a26&&('xmlns'===_0x258378['prefix']&&(_0xdcc7c=_0x258378['name']),_0xde953b['setAttributeNS'](_0x44af63,_0xdcc7c,_0x196a26))):_0xde953b['getAttribute'](_0xdcc7c)!==_0x196a26&&_0xde953b['setAttribute'](_0xdcc7c,_0x196a26);for(var _0x19e308=_0xde953b['attributes'],_0x64f797=_0x19e308['length']-0x1;_0x64f797>=0x0;_0x64f797--)_0xdcc7c=(_0x258378=_0x19e308[_0x64f797])['name'],(_0x44af63=_0x258378['namespaceURI'])?(_0xdcc7c=_0x258378['localName']||_0xdcc7c,_0x530136['hasAttributeNS'](_0x44af63,_0xdcc7c)||_0xde953b['removeAttributeNS'](_0x44af63,_0xdcc7c)):_0x530136['hasAttribute'](_0xdcc7c)||_0xde953b['removeAttribute'](_0xdcc7c);}});function Qf(_0x5337e4){const _0x4d59fa=new AbortController();return{'promise':new Promise((_0x324011,_0x2dd2bd)=>{const _0xead945=setTimeout(_0x324011,_0x5337e4);_0x4d59fa['signal']['addEventListener']('abort',()=>{clearTimeout(_0xead945),_0x2dd2bd();});}),'abortController':_0x4d59fa};}class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x38027d){this['options']={'delay':_0x38027d?.['delay']??0xa,'textNodeStyle':_0x38027d?.['textNodeStyle']??'animation:\x20ck-html-streamer-fade-in\x20.3s'};}async['stream']({document:_0x44e7d3,targetElement:_0x1de74c,abortSignal:_0x1ccdff}){this['isStreaming']&&this['stop'](),_0x1ccdff?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=wa(_0x44e7d3,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0xdbefac=0x0;_0xdbefac<this['currentIndex'];_0xdbefac++)this['nodesList'][_0xdbefac]['shouldBeStreamed']=!0x0;do{const _0x20027a=Date['now'](),_0x3061e7=this['nodesList'][this['currentIndex']],_0x1dc589=_0x20027a-this['lastUpdateTime'];if(_0x3061e7){_0x3061e7['shouldBeStreamed']=!0x0;let _0x4893c9=_0x3061e7['parent'];for(;_0x4893c9;)_0x4893c9['shouldBeStreamed']=!0x0,_0x4893c9=_0x4893c9['parent'];}if(_0x1dc589<this['options']['delay'])try{const {promise:_0x4b93af,abortController:_0xd991cf}=Qf(this['options']['delay']-_0x1dc589);this['timeoutAbortController']=_0xd991cf,await _0x4b93af;}catch(_0xd0105a){return;}Df(_0x1de74c,'<'+_0x1de74c['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x1de74c['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:_0x4491dd}){Array['from'](_0x4491dd['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x38c686=>{_0x38c686['replaceWith'](_0x38c686['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x360616){let _0x3b5582='';if(function(_0x53f09e){return pa(_0x53f09e);}(_0x360616)){for(const _0x788103 of _0x360616['children'])_0x3b5582+=this['renderNode'](_0x788103);}else{if(Bf(_0x360616)){if(!_0x360616['shouldBeStreamed'])return'';const _0xda5f2b=_0x360616,_0x5b144c=Object['entries'](_0xda5f2b['attribs'])['map'](([_0x13abe3,_0x1c261e])=>_0x13abe3+'=\x22'+_0x1c261e+'\x22')['join']('\x20');_0x3b5582+='<'+_0xda5f2b['tagName']+(_0x5b144c?'\x20'+_0x5b144c:'')+'>';for(const _0xf0e4cd of Oa(_0x308a9a=_0xda5f2b)?_0x308a9a['children']:[])_0x3b5582+=this['renderNode'](_0xf0e4cd);_0x3b5582+='</'+_0xda5f2b['tagName']+'>';}else{if(!Uf(_0x360616))return'';if(!_0x360616['shouldBeStreamed'])return'';!function(_0x3c6dbe){if(!_0x3c6dbe['parent']||!Bf(_0x3c6dbe['parent']))return!0x1;if(!Vf['includes'](_0x3c6dbe['parent']['tagName']))return!0x1;return!Da(_0x3c6dbe)['match'](/^\s*[<>]\s*$/);}(_0x360616)?_0x3b5582+=Ma(_0x360616):_0x3b5582+=Ma(new da('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x360616]));}}var _0x308a9a;return _0x3b5582;}['getParsedDocumentNodeList'](){const _0x54a91b=[];return function(_0xbf4301,_0x1e0730){const _0x1e5fef=_0x532af9=>{if(_0x1e0730(_0x532af9),_0x532af9 instanceof NodeWithChildren)for(let _0x5854dc=0x0;_0x5854dc<_0x532af9['children']['length'];_0x5854dc++){const _0x18cd82=_0x532af9['children'][_0x5854dc];_0x1e5fef(_0x18cd82);}};for(let _0x1d9c33=0x0;_0x1d9c33<_0xbf4301['children']['length'];_0x1d9c33++)_0x1e5fef(_0xbf4301['children'][_0x1d9c33]);}(this['document'],_0x23f507=>{if(Uf(_0x23f507)){const _0x5158a0=this['splitTextNodeIntoWordNodes'](_0x23f507);_0x5158a0['length']&&_0x54a91b['push'](..._0x5158a0);}_0x23f507['isWordSplitSource']||_0x23f507['isWordSplitResult']||_0x54a91b['push'](_0x23f507);}),_0x54a91b;}['splitTextNodeIntoWordNodes'](_0x45e87d){if(_0x45e87d['isWordSplitSource']||_0x45e87d['isWordSplitResult'])return[];const _0x1ea425=Da(_0x45e87d)['match'](/(?:\s*\S+\s*)/g),_0x3c1149=[];if(_0x1ea425&&_0x1ea425['length']>0x1){for(const _0x178cd8 of _0x1ea425){const _0x42e291=new la(_0x178cd8);_0x42e291['isWordSplitResult']=!0x0,Ha(_0x45e87d,_0x42e291),_0x3c1149['push'](_0x42e291);}_0x45e87d['isWordSplitSource']=!0x0,Va(_0x45e87d);}return _0x3c1149;}}const Vf=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function Uf(_0x993927){return ma(_0x993927);}function Bf(_0x3f6a8e){return fa(_0x3f6a8e);}class AIChatFeedItemView extends _0xa34d16{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x3bddd8){super();const _0x11539d=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer(),this['options']=_0x3bddd8,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x11539d['if']('isDone','ck-ai-chat__feed__item_done'),_0x11539d['if']('isVisible','ck-hidden',_0x392f82=>!_0x392f82),'ck-ai-chat__feed__text-item'],'data-cke-ai-id':this['options']['id']},'children':this['children']});}['markAsDone'](){this['htmlStreamer']['cleanUpAnimations']({'targetElement':this['element']}),this['element']['querySelectorAll']('[data-id]')['forEach'](_0x45caeb=>{_0x45caeb['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x319cb4,_0x3a4e63,_0x4dff43){await this['htmlStreamer']['stream']({'document':_0x319cb4,'targetElement':_0x3a4e63,'abortSignal':_0x4dff43});}}class AISuggestionHeaderView extends _0xa34d16{['showChangesToggleView'];constructor(_0x12c53c,_0x2ffa14){super(_0x12c53c),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new ShowChangesToggleView(_0x12c53c),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+yo,'label':Oo(_0x12c53c,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x2ffa14['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x3c67ca=>_0x3c67ca?_0x5e7fc3:_0x47634b),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x4dacf6=new _0x468811();_0x4dacf6['content']=_0x4fcba6,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x2ffa14['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x4dacf6,{'tag':'span','children':[Oo(_0x12c53c,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class ShowChangesToggleView extends _0x4c508c{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const Ff={'accepted':_0xa7ecbf,'rejected':_0x7607b9,'outdated':_0x7607b9};class AISuggestionContentPartStateView extends _0xa34d16{['stateIconView'];constructor(_0x3d234d){super(_0x3d234d);const _0xe9996=this['bindTemplate'];this['set']('state','accepted'),this['set']('isVisible',!0x0),this['stateIconView']=new StateIconView(),this['stateIconView']['bind']('state')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0xe9996['to']('state',_0x159704=>'ck-ai-suggestion__content-part-state_'+_0x159704),_0xe9996['if']('isVisible','ck-hidden',_0x5e0d3d=>!_0x5e0d3d)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0xe9996['to']('state',_0x220243=>{switch(_0x220243){case'accepted':return Oo(_0x3d234d,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return Oo(_0x3d234d,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return Oo(_0x3d234d,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x1776a8){this['state']=_0x1776a8;}}class StateIconView extends _0x468811{constructor(){super(),this['set']('state','accepted'),this['content']=Ff[this['state']],this['on']('change:state',()=>{this['content']=Ff[this['state']];});}}class AISuggestionContentPartToolbarView extends _0xbea5f1{['_applyButton'];['_suggestButton'];constructor(_0x4a3585,_0x50b6dc,_0x659c5a){super(_0x4a3585);const _0x241984=Boolean(_0x659c5a);this['set']('isEnabled',!_0x241984),this['set']('isVisible',!0x0),this['set']('isTrackChangesOn',!0x1),this['class']='ck-ai-suggestion-content-part-toolbar';const _0xba0f90=[];if(_0x241984){const _0x3d42d1=new _0x4c508c(_0x4a3585);_0x3d42d1['set']({'label':Oo(_0x4a3585,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x25dd10}),_0x3d42d1['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}}),_0xba0f90['push'](_0x3d42d1);}else{_0x50b6dc['includes']('applySuggestion')&&(this['_applyButton']=new _0x4c508c(_0x4a3585),this['_applyButton']['set']({'label':Oo(_0x4a3585,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xa7ecbf}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['bind']('isVisible')['to'](this,'isTrackChangesOn',_0x4c3284=>!_0x4c3284),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0xba0f90['push'](this['_applyButton'])),_0x50b6dc['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x4c508c(_0x4a3585),this['_suggestButton']['set']({'label':Oo(_0x4a3585,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x29d861}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0xba0f90['push'](this['_suggestButton']));const _0x233cc1=new _0x4c508c(_0x4a3585);_0x233cc1['set']({'label':Oo(_0x4a3585,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x7607b9}),_0x233cc1['bind']('isEnabled')['to'](this),_0x233cc1['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0xba0f90['push'](_0x233cc1);}this['items']['addMany'](_0xba0f90);const _0x314247=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x314247['if']('isVisible','ck-hidden',_0x12887f=>!_0x12887f)]}});}['setButtonsVisibility']({showApplyButton:_0x586c6d,showSuggestButton:_0x54774e}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x586c6d),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x54774e);}}class AISuggestionContentPartHeaderView extends _0xa34d16{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0xaa2034,{part:_0xeeab5a,uiIndex:_0x545289,availableActions:_0x56a095,areActionsDisabled:_0xc2088b}){super(_0xaa2034),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['set']('isTrackChangesOn',!0x1),this['toolbarView']=new AISuggestionContentPartToolbarView(_0xaa2034,_0x56a095,_0xc2088b),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0xeeab5a['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0xeeab5a['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0xeeab5a['index']});}),this['toolbarView']['bind']('isEnabled','isTrackChangesOn')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0xaa2034),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0xaa2034,_0x545289),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',(_0x5c8337,_0x10d60c,_0xd98f8b,_0x574e9c)=>{'pending'===_0x574e9c?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0xd98f8b?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0xd98f8b),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends _0xa34d16{constructor(_0x246563,_0x4c8ae8){super(_0x246563),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[Oo(_0x246563,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x4c8ae8['toString']())]});}}class AISuggestionStreamableContentView extends _0xa34d16{['htmlStreamer'];constructor(_0x4f49bf){super(_0x4f49bf),this['htmlStreamer']=new HTMLStreamer(),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x2facc5,renderingStrategy:_0x840d17,abortSignal:_0x23997d}){const _0x56812e=wa(_0x2facc5['content'],!0x0);for(const _0x12f6f0 of Ya(_0x56812e))Va(_0x12f6f0);'streaming'===_0x840d17?await this['htmlStreamer']['stream']({'document':_0x56812e,'targetElement':this['element'],'abortSignal':_0x23997d}):Df(this['element'],'<'+this['element']['tagName']+'>'+qa(_0x56812e)+'</'+this['element']['tagName']+'>',{'childrenOnly':!0x0});}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='',this['element']['scrollTop']=0x0;}}class AISuggestionBodyViewContentPartView extends _0xa34d16{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x2ca56c,{part:_0x3485e3,uiIndex:_0x409fed,areActionsDisabled:_0x1c6d90,availableActions:_0x1941e9}){super(_0x2ca56c);const _0x2b61f1=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 _0x294aef=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x1c6d90;};this['on']('change:state',_0x294aef),this['on']('change:isDone',_0x294aef),_0x294aef(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x2ca56c,{'part':_0x3485e3,'uiIndex':_0x409fed,'availableActions':_0x1941e9,'areActionsDisabled':_0x1c6d90}),this['_headerView']['bind']('isEnabled','state','isTrackChangesOn')['to'](this),this['_headerView']['delegate'](...Af)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x2ca56c),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x2b61f1['to']('state',_0x2c1660=>'ck-ai-suggestion__body__content-part_'+_0x2c1660),_0x2b61f1['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x2b61f1['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x2b61f1['if']('isVisible','ck-hidden',_0x255a09=>!_0x255a09)]},'children':this['_children'],'on':{'mouseenter':_0x2b61f1['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x3485e3['index']});}),'mouseleave':_0x2b61f1['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x3485e3['index']});}),'click':_0x2b61f1['to'](_0x3526a5=>{const _0x3e4255=_0x3526a5['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x3e4255)&&this['fire']('showChangeInText',{'index':_0x3485e3['index']});})}});}async['updateContent']({part:_0x1d1d0a,showUnchangedParts:_0x446178=!0x1,abortSignal:_0x5a85d2}){this['partDefinition']=_0x1d1d0a,this['isVisible']=this['partDefinition']['hasChanges']||_0x446178,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x1d1d0a,'renderingStrategy':'static','abortSignal':_0x5a85d2});}['markAsDone'](){this['isDone']=!0x0;}}class AISkeletonView extends _0xa34d16{constructor(_0x26838c,_0x44d2d5){super(_0x26838c),this['set']('isVisible',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton',this['bindTemplate']['if']('isVisible','ck-hidden',_0x5d4872=>!_0x5d4872)]},'children':this['_createSkeletonItems'](_0x44d2d5)});}['_createSkeletonItems'](_0xb939da){const _0x1c8c3b=['ck','ck-ai-skeleton__item'];return _0xb939da['map'](_0x1396dd=>{let _0x53b412='';switch(_0x1396dd['attributes']['align']){case'right':_0x53b412='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x53b412='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x53b412='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x1396dd['tag'],'attributes':{'class':[..._0x1c8c3b,_0x1396dd['attributes']['class']?_0x1396dd['attributes']['class']:''],'style':'width:\x20'+_0x1396dd['attributes']['width']+';\x20height:\x20'+_0x1396dd['attributes']['height']+';'+_0x53b412}};});}}const jf={'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':Hf(0x5,'100%','44px','right'),'aiChatResources':Hf(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 Hf(_0x4baf90,_0x501cb8,_0x102d2d,_0x10cfb5){return new Array(_0x4baf90)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x501cb8,'height':_0x102d2d,'align':_0x10cfb5}}));}class PromiseQueue extends _0x3cde5f(){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x344b58){const _0x3566c2=this['createTask'](_0x344b58);return this['queue']['push'](_0x3566c2),this['_processQueue'](),_0x3566c2['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(_0x4072b3=>{this['once']('_queueEmpty',()=>{_0x4072b3();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x2d23a8=this['queue']['shift']();try{await _0x2d23a8['callback'](this['_abortController']['signal']),_0x2d23a8['resolve']();}catch(_0x559597){_0x2d23a8['reject'](_0x559597);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x1fb264){let _0x2696cc,_0x1bb201;const _0xbf7771=new Promise((_0x2baba6,_0x37ce7b)=>{_0x2696cc=_0x2baba6,_0x1bb201=_0x37ce7b;});return{'callback':_0x1fb264,'resolve':_0x2696cc,'reject':_0x1bb201,'completePromise':_0xbf7771};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x410fde){super(_0x410fde),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x410fde['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x394a9b){this['element']['innerHTML']=_0x394a9b;}}const Gf=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends _0xa34d16{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x369ace,_0x2d365b=[...Gf],_0x1146a6){super(_0x369ace);const _0x3772c1=this['bindTemplate'],_0x79ea88=Boolean(_0x1146a6);if(this['set']('isEnabled',!_0x79ea88),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x79ea88){const _0x5d48fb=new _0x4c508c(_0x369ace);_0x5d48fb['set']({'label':Oo(_0x369ace,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x25dd10}),_0x5d48fb['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}});const _0x46a5f0=new _0xa34d16(_0x369ace);_0x46a5f0['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[Oo(_0x369ace,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x5d48fb]}]}),this['children']['add'](_0x46a5f0);}else this['_applyChangesButton']=new _0x4c508c(_0x369ace),this['_applyChangesButton']['set']({'label':Oo(_0x369ace,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x2d365b['includes']('applySuggestion'),'class':wo}),this['_insertSuggestionsButton']=new _0x4c508c(_0x369ace),this['_insertSuggestionsButton']['set']({'label':Oo(_0x369ace,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x2d365b['includes']('insertSuggestion'),'class':bo}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x2c915c=>{_0x2c915c['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',_0x3772c1['if']('isVisible','ck-hidden',_0x2851b8=>!_0x2851b8)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x214714){this['isVisible']=_0x214714;}['_switchButtonLabelsPlurality'](_0x41a2c7){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x41a2c7?(this['_applyChangesButton']['label']=Oo(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=Oo(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=Oo(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=Oo(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}class AIWebSourcesView extends _0xa34d16{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0xb5279e,_0x1c6bf4){super(_0xb5279e),this['bodyCollection']=_0x1c6bf4,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',_0xf05f67=>!_0xf05f67)]},'children':this['children']});const _0x414762=new _0xa34d16(this['locale']),_0x1768a8=new _0x468811();_0x1768a8['content']=_0x3fc0ea,_0x414762['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x1768a8,{'tag':'span','children':[{'text':Oo(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x414762),this['_setupBalloonPanel'](_0xb5279e);}['addSource'](_0x3ed22d){this['children']['add'](new AIWebSourceView(this['locale'],_0x3ed22d,this['balloonPanelView']));}['_setupBalloonPanel'](_0xd9054b){this['balloonPanelView']=new mt(_0xd9054b),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class AIWebSourceView extends _0x4c508c{['balloonPanelView'];['source'];constructor(_0x34e357,_0x379dd9,_0x4efaf4){super(_0x34e357),this['source']=_0x379dd9,this['balloonPanelView']=_0x4efaf4,this['set']({'label':_0x379dd9['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x3ecd79=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x3ecd79['to'](()=>{window['open'](_0x379dd9['url'],'_blank');}),'mouseenter':_0x3ecd79['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x3ecd79['to'](()=>{this['_hideTooltip']();})}}),_0x379dd9['favicon']){const _0x186df2=new _0xa34d16(_0x34e357);_0x186df2['setTemplate']({'tag':'img','attributes':{'src':_0x379dd9['favicon']||_0x3fc0ea,'alt':_0x379dd9['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x186df2);}else this['set']('icon',_0x3fc0ea);}['_createTooltipContentView'](_0x1fe9e3,_0x1b76e7){const _0x2eafe0=new _0xa34d16(_0x1fe9e3),_0x5b8b4f=[];let _0xd6b4e7;_0x1b76e7?.['favicon']?(_0xd6b4e7=new _0xa34d16(_0x1fe9e3),_0xd6b4e7['setTemplate']({'tag':'img','attributes':{'src':_0x1b76e7['favicon'],'alt':_0x1b76e7['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0xd6b4e7=new _0x468811(),_0xd6b4e7['content']=_0x3fc0ea,_0xd6b4e7['extendTemplate']({'attributes':{'alt':_0x1b76e7['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x5b8b4f['push'](_0xd6b4e7);const _0x19030b=new _0xa34d16(_0x1fe9e3);_0x19030b['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x1b76e7['url']},'children':[{'text':new URL(_0x1b76e7['url'])?.['hostname']}]}),_0x5b8b4f['push'](_0x19030b);const _0x15799a=new _0xa34d16(_0x1fe9e3);_0x15799a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x5b8b4f});const _0x17374b=new _0xa34d16(_0x1fe9e3);return _0x17374b['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x1b76e7['title']['length']>0x190?_0x1b76e7['title']['substring'](0x0,0x190)+'...':_0x1b76e7['title']}]}),_0x2eafe0['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x15799a,_0x17374b]}),_0x2eafe0;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[mt['defaultPositions']['northArrowSouth'],mt['defaultPositions']['northArrowSouthWest'],mt['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 _0x40bdcf=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x40bdcf);}}class AISuggestionBodyView extends _0xa34d16{['_actionsView'];['_sourcesView'];['_children'];['_skeletonView'];['_showSkeletonDebounced']=Fr(()=>{this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now']();},0x3e8);['_skeletonShownAt']=null;['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0xbb1fd1,_0x156269){super(_0xbb1fd1);const {areActionsDisabled:_0x5c44dd,showUnchangedParts:_0x14d31e,availableActions:_0x4428a8}=_0x156269;this['_areActionsDisabled']=_0x5c44dd,this['_showUnchangedParts']=_0x14d31e,this['_availableActions']=_0x4428a8,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_skeletonView']=new AISkeletonView(_0xbb1fd1,jf['aiSuggestionBody']),this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now'](),this['_children']['add'](this['_skeletonView']),this['_updateContentPartsPromiseQueue']=new PromiseQueue(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':Oo(_0xbb1fd1,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0xbb1fd1,_0x156269['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new AIWebSourcesView(this['locale'],_0x156269['bodyCollection']),_0x156269['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](...Af)['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'](_0x665ce=>_0x665ce instanceof AISuggestionBodyViewContentPartView);}async['updateContentParts']({parts:_0x255dc0,abortSignal:_0x181138,skipLoadingEffects:_0x483009}){this['_cachedContentParts']['length']?_0x255dc0['forEach'](_0x3415ea=>{const _0x4bc248=this['_cachedContentParts']['findIndex'](_0x1c6e9a=>_0x1c6e9a['index']==_0x3415ea['index']);-0x1===_0x4bc248?this['_cachedContentParts']['push'](_0x3415ea):this['_cachedContentParts'][_0x4bc248]=_0x3415ea;}):this['_cachedContentParts']=_0x255dc0;const _0x50cf76=this['_showUnchangedParts']?_0x255dc0:_0x255dc0['filter'](_0x189570=>_0x189570['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x50cf76['length']>0x1),_0x483009&&(this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1);for(const _0x3132ab of _0x50cf76)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x3dd952=>{let _0x47b5d5=this['getPartView'](_0x3132ab['index']);if(!_0x47b5d5){if(_0x47b5d5=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x3132ab,'uiIndex':this['_contentPartViews']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x47b5d5['delegate'](...Af)['to'](this),_0x47b5d5['bind']('isTrackChangesOn')['to'](this),!_0x483009&&(this['_showSkeletonDebounced']['cancel'](),await this['_awaitMinimumSkeletonDisplayTime'](_0x3dd952),_0x3dd952['aborted']))return;this['_skeletonView']['isVisible']=!0x1,this['_children']['add'](_0x47b5d5,this['_children']['length']-0x1),this['hasPendingParts']=!0x0,_0x483009||this['_showSkeletonDebounced']();}await _0x47b5d5['updateContent']({'part':_0x3132ab,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x3dd952}),_0x47b5d5['markAsDone']();});return _0x181138?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1;}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x21e550,_0x4699cc){const _0x172e9e=this['getPartView'](_0x21e550);_0x172e9e&&(_0x172e9e['state']=_0x4699cc),this['hasPendingParts']='pending'==_0x4699cc||this['_contentPartViews']['some'](_0x3bbbf9=>'pending'==_0x3bbbf9['state']);}['setPartActive'](_0xd17815,_0x2f01de){if(!0x1===_0xd17815){for(const _0x40c79b of this['_contentPartViews'])_0x40c79b['isActive']=!0x1;}else{const _0x5ec30a=this['getPartView'](_0xd17815);_0x5ec30a&&(_0x5ec30a['isActive']=_0x2f01de);}}['updateSources'](_0x4457c1){_0x4457c1['forEach'](_0x547067=>this['_sourcesView']['addSource'](_0x547067)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0xdd088a){return this['_contentPartViews']['find'](_0x37be58=>_0x37be58['partDefinition']['index']==_0xdd088a)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x154520=!this['_cachedContentParts']['find'](({hasChanges:_0x3f64bb})=>_0x3f64bb),_0x4abbdd=!!this['_cachedContentParts']['find'](({hasChanges:_0x389755})=>!_0x389755);this['_emptyPartsWarningView']['isVisible']=0x0==this['_contentPartViews']['length']||_0x4abbdd,_0x154520?this['_emptyPartsWarningView']['setContent'](Oo(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](Oo(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_contentPartViews']['forEach'](_0x5a2ed1=>_0x5a2ed1['markAsDone']()),this['_skeletonView']['isVisible']=!0x1,this['_showSkeletonDebounced']['cancel'](),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}async['_awaitMinimumSkeletonDisplayTime'](_0x19ad3a){if(!this['_skeletonView']['isVisible']||null===this['_skeletonShownAt'])return;const _0x5268fc=0x3e8-(Date['now']()-this['_skeletonShownAt']);if(this['_skeletonShownAt']=null,_0x5268fc>0x0){const {promise:_0x41b63e,abortController:_0x3eeab7}=Qf(_0x5268fc);_0x19ad3a?.['addEventListener']('abort',()=>_0x3eeab7['abort']()),await _0x41b63e['catch'](()=>{});}}get['hasNonEmptyParts'](){return this['_contentPartViews']['filter'](_0x67b6d=>_0x67b6d['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends _0xa34d16{['bodyView'];['children'];['headerView'];constructor(_0x15d7ad,_0x2b818d,_0x1da43a){super(_0x15d7ad);const {showDiff:_0x1ee067,areActionsDisabled:_0x106574,showUnchangedParts:_0x197656,availableActions:_0x3ec0f4}=_0x2b818d;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x15d7ad,{'showDiff':_0x1ee067}),this['headerView']['on']('toggleShowChanges',(_0x2959b4,_0x10b508)=>{this['areChangesVisible']=_0x10b508['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x10b508['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x15d7ad,{'areActionsDisabled':_0x106574,'showUnchangedParts':!!_0x197656,'availableActions':_0x3ec0f4,'bodyCollection':_0x1da43a}),this['bodyView']['delegate'](...Af)['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'](_0x18e057){await this['bodyView']['updateContentParts'](_0x18e057);}['updateSources'](_0x2458ee){this['bodyView']['updateSources'](_0x2458ee);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x2e9890,_0x21d31f,_0x3d0aad){super(_0x21d31f),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x2e9890,{'showDiff':_0x21d31f['showDiff'],'areActionsDisabled':_0x21d31f['areActionsDisabled'],'availableActions':_0x21d31f['availableActions']},_0x3d0aad),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x167fd5,_0x576318)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x576318['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',(_0x37705a,{index:_0xeef142})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0xeef142});}),this['containerView']['on']('applySuggestion',(_0x11bbbf,{index:_0x473281}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x473281});}),this['containerView']['on']('insertSuggestion',(_0x267257,{index:_0x3967aa}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x3967aa});}),this['containerView']['on']('rejectSuggestion',(_0x7fd573,{index:_0x5998f5})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x5998f5});}),this['containerView']['on']('mouseOverSuggestion',(_0x582b4a,{index:_0x414821})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x414821});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x5b349e,{index:_0x28a5b7})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x28a5b7});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x210834){await this['containerView']['updateContent'](_0x210834);}['updatePartState'](_0x461942,_0x59e1e7){this['containerView']['bodyView']['updatePartState'](_0x461942,_0x59e1e7);}['setPartActive'](_0x57ee73,_0x472442){!0x1===_0x57ee73?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x57ee73,_0x472442);}['updateSources'](_0x28d365){this['containerView']['updateSources'](_0x28d365);}['getPartView'](_0x110cb3){return this['containerView']['bodyView']['getPartView'](_0x110cb3);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x2ece82,_0x445fb8,_0xd3a519){super(_0x445fb8),this['_bodyCollection']=_0xd3a519,this['locale']=_0x2ece82,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0xa34d16(),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':Xa(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x4b6e0a,renderingStrategy:_0x21e784,abortSignal:_0x1322a3}){'streaming'===_0x21e784?await this['streamIntoElement'](_0x4b6e0a,this['replyContainer']['element'],_0x1322a3):this['replyContainer']['element']['innerHTML']=Ma(_0x4b6e0a);}['updateSources'](_0x5bd336){const _0x26f38d=new AIWebSourcesView(this['locale'],this['_bodyCollection']);_0x26f38d['children']['addMany'](_0x5bd336['map'](_0x476514=>new AIWebSourceView(this['locale'],_0x476514,_0x26f38d['balloonPanelView']))),_0x26f38d['isVisible']=!0x0,this['children']['add'](_0x26f38d);}}class AISpinnerView extends _0x36c3a7{constructor(_0x411379=void 0x0){super();const _0x1cf46c=_0x411379?'ck-ai-spinner_'+_0x411379:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x1cf46c]}});}}const Zf={'file':_0x3c95e9,'image':_0x42a5af,'document':_0x4fcba6,'web-resource':_0x3c2990,'text':_0x3c95e9,'selection':_0x1058ea,'mcp-tool-context':_0x4fcba6},Xf='ck-ai-chat-context-chip',qf='ck-ai-chat-context-chip_wide',Wf='ck-ai-chat-context-chip_document',zf='ck-ai-chat-context-chip__label',Yf='ck-ai-chat-context-chip__type-icon',Kf='ck-ai-chat-context-controls__chip-tooltip',Jf='n';class AIChatContextItemButtonView extends _0x4c508c{constructor(_0x1de187,_0x1d92dd,_0x51e8fd,_0x512a0f,_0x3c9894=!0x1){super(_0x1de187),this['_isAnimationOnEnterEnabled']=_0x512a0f,this['_initializeProperties'](_0x1d92dd,_0x51e8fd,_0x3c9894),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'](_0x1056b4,_0x267f15,_0x5971c2){this['set']('label',_0x1056b4['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x1056b4['type']),this['set']('id',_0x1056b4['uiId']),this['set']('readonly',_0x267f15),this['set']('isLoading',_0x5971c2);}['_setupTemplate'](){const _0x4e6f5c=this['_createIconView'](),_0x514ee7=this['_createRemoveButton'](),_0x5a3aea=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x5a3aea),'children':this['_createTemplateChildren'](_0x4e6f5c,_0x514ee7,_0x5a3aea)});}['_createTemplateAttributes'](_0x29cb95){return{'class':[Xf,_0x29cb95['if']('itemType',Wf,_0x52e9ca=>'document'==_0x52e9ca),_0x29cb95['if']('itemType',qf,_0x94057e=>'selection'==_0x94057e)],'data-cke-tooltip-text':_0x29cb95['to']('label',tm),'data-cke-tooltip-position':Jf,'data-cke-tooltip-class':Kf};}['_createTemplateChildren'](_0x48c74c,_0x514d1b,_0x498989){const _0xde104a=this['_createLabelElement'](_0x498989),_0x3169d2=this['_createLoaderIcon']();return this['readonly']?[_0x48c74c,_0xde104a]:[_0x48c74c,_0x3169d2,_0xde104a,_0x514d1b];}['_createLabelElement'](_0x2e5c4d){return{'tag':'span','attributes':{'class':zf},'children':[{'text':_0x2e5c4d['to']('label')}]};}['_createRemoveButton'](){const _0x2919f7=new _0x4c508c(this['locale']);return _0x2919f7['set']({'label':Oo(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0x3f6f57}),this['_setupRemoveButtonEvent'](_0x2919f7),_0x2919f7;}['_setupRemoveButtonEvent'](_0x4e2a6f){_0x4e2a6f['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x59f458=this['bindTemplate'],_0x2f1d62=new _0x468811();return _0x2f1d62['content']=Zf[this['itemType']],_0x2f1d62['extendTemplate']({'attributes':{'class':[Yf,_0x59f458['if']('isLoading','ck-hidden',_0xbb69a7=>_0xbb69a7)]}}),_0x2f1d62;}['_handleAnimationEndOnce'](_0x4a3303,_0x135fbf){if(!_0x4a3303)return;const _0x34d48b=()=>{_0x135fbf(),_0x4a3303['removeEventListener']('animationend',_0x34d48b),_0x4a3303['removeEventListener']('webkitAnimationEnd',_0x34d48b);};_0x4a3303['addEventListener']('animationend',_0x34d48b),_0x4a3303['addEventListener']('webkitAnimationEnd',_0x34d48b);}['_createLoaderIcon'](){const _0x1d9264=new AISpinnerView('small');return _0x1d9264['bind']('isVisible')['to'](this,'isLoading',_0x7f42fb=>_0x7f42fb),_0x1d9264;}}function tm(_0x55f029){if(!_0x55f029)return _0x55f029;if(_0x55f029['length']<=0x78)return _0x55f029;const _0x104629=_0x55f029['slice'](0x0,0x78),_0x164d3e=_0x104629['lastIndexOf']('\x20');return(_0x164d3e>0x0?_0x104629['slice'](0x0,_0x164d3e):_0x104629)+'…';}const em={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},im='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x152a1c,_0x3fea5f,_0x4feea8,_0x2dfce3,_0xeccb08){this['_locale']=_0x152a1c,this['_visibleChips']=_0x3fea5f,this['_config']={...em,..._0x4feea8,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x4feea8['cssClasses']}},this['_overflowChips']=new _0x47a54f(),this['_bodyCollection']=_0x2dfce3,this['_parentView']=_0xeccb08||null;}['setContainerElement'](_0x3d4fb3){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x3d4fb3,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 _0x3fa516=[...this['_visibleChips'],...this['_overflowChips']],_0x3137d8=this['_createCalculationContainer'](),_0x4cadbf=this['_calculateOverflowInContainer'](_0x3137d8,_0x3fa516),_0x563d15=_0x3137d8['_ancestorsToRestore'];_0x563d15&&this['_restoreAncestorVisibility'](_0x563d15),_0x3137d8['remove'](),this['_applyOverflowResults'](_0x3fa516,_0x4cadbf);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),gt({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x1c50a0=new _0x4c508c(this['_locale']);_0x1c50a0['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x110979=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x110979['push'](this['_config']['cssClasses']['controlsButton']),_0x1c50a0['extendTemplate']({'attributes':{'class':_0x110979}}),_0x1c50a0;}['_createShowMoreBalloonPanelView'](){const _0x184ad5=new mt(this['_locale']);return _0x184ad5['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x184ad5),_0x184ad5;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x3187ff=>{_0x3187ff['disableAnimationOnEnter']();});const _0x3fc804=new _0xa34d16(this['_locale']);_0x3fc804['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x3fc804);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x28aa5a=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x28aa5a?'':'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'](_0x34f8aa){const _0x4cc08a=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x3665fc=this['_containerElement']?.['classList'];if(_0x3665fc){const _0x511570=_0x3665fc[0x0]||'',_0xf4e812=_0x34f8aa['querySelector']('.'+_0x511570),_0x23457d=_0x34f8aa['querySelector'](_0x4cc08a);return _0xf4e812||_0x23457d||_0x34f8aa;}return _0x34f8aa['querySelector'](_0x4cc08a)||_0x34f8aa;}['_calculateContainerWidth'](){const _0xf1232b=this['_parentView']?.['element']||this['_containerElement'];if(!_0xf1232b)return im;const _0x394079=window['getComputedStyle'](_0xf1232b)['width'];if('auto'===_0x394079||'0px'===_0x394079||!_0x394079){const _0x697ac2=_0xf1232b['parentElement'];if(_0x697ac2){const _0x1b541d=window['getComputedStyle'](_0x697ac2);return'auto'!==_0x1b541d['width']?_0x1b541d['width']:im;}return im;}return _0x394079;}['_applyCalculationStyles'](_0x2696e0,_0x4087f3){this['_config']['cssClasses']['calculationContainer']&&_0x2696e0['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x2696e0['style']['width']=_0x4087f3,_0x2696e0['style']['position']='absolute',_0x2696e0['style']['top']='-9999px',_0x2696e0['style']['left']='-9999px',_0x2696e0['style']['opacity']='0',_0x2696e0['style']['pointerEvents']='none',_0x2696e0['style']['zIndex']='-1',_0x2696e0['style']['visibility']='visible\x20!important',_0x2696e0['style']['display']='block\x20!important',_0x2696e0['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x2644b8){_0x2644b8['forEach'](({element:_0x2b1ac1,originalDisplay:_0x353f45,originalVisibility:_0x48dc26})=>{_0x2b1ac1['style']['display']=_0x353f45,_0x2b1ac1['style']['visibility']=_0x48dc26;});}['_makeAncestorsVisible'](_0xd17df5){const _0x1d91d8=[];let _0x9eb0ae=_0xd17df5;for(;_0x9eb0ae&&_0x9eb0ae!==document['body'];){const _0x1a1bc5=window['getComputedStyle'](_0x9eb0ae);'none'!==_0x1a1bc5['display']&&'hidden'!==_0x1a1bc5['visibility']||(_0x1d91d8['push']({'element':_0x9eb0ae,'originalDisplay':_0x9eb0ae['style']['display'],'originalVisibility':_0x9eb0ae['style']['visibility']}),_0x9eb0ae['style']['display']='block',_0x9eb0ae['style']['visibility']='visible'),_0x9eb0ae=_0x9eb0ae['parentElement'];}return _0x1d91d8;}['_createContainerElements'](){let _0x42af34,_0x54ff87;return this['_parentView']?.['element']?(_0x42af34=this['_parentView']['element']['cloneNode'](!0x0),_0x54ff87=this['_findTargetContainer'](_0x42af34)):(_0x42af34=document['createElement']('div'),_0x54ff87=_0x42af34),{'calculationContainer':_0x42af34,'targetContainer':_0x54ff87};}['_createCalculationContainer'](){const {calculationContainer:_0x1a05cd,targetContainer:_0x1e0af4}=this['_createContainerElements'](),_0x4ae232=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x1a05cd,_0x4ae232);const _0x553f15=this['_parentView']?.['element']||this['_containerElement'],_0x3c02fc=_0x553f15?.['parentElement'];_0x3c02fc?_0x3c02fc['appendChild'](_0x1a05cd):document['body']['appendChild'](_0x1a05cd),_0x1a05cd['_targetContainer']=_0x1e0af4;const _0x292d06=this['_makeAncestorsVisible'](_0x3c02fc||null);return _0x1a05cd['offsetWidth'],_0x1a05cd['_ancestorsToRestore']=_0x292d06,_0x1a05cd;}['_calculateOverflowInContainer'](_0x3cb1ac,_0xe5674){const _0x315902=_0x3cb1ac['_targetContainer']||_0x3cb1ac,_0x29253b=[],{rowCount:_0x58b039}=this['_renderChipsAndCountRows'](_0x315902,_0xe5674);if(_0x58b039<=this['_config']['maxVisibleRows'])return _0x29253b;const _0x36c45e=_0xe5674['slice']();for(;_0x36c45e['length']>0x0;){if(this['_testButtonFit'](_0x3cb1ac,_0x315902,_0x36c45e)){const _0x5b999d=_0xe5674['filter'](_0x49df02=>!_0x36c45e['includes'](_0x49df02));_0x29253b['push'](..._0x5b999d);break;}if(!_0x36c45e['pop']())break;}return _0x29253b;}['_renderChipsAndCountRows'](_0x2f255a,_0x580f1d){_0x2f255a['innerHTML']='',_0x580f1d['forEach'](_0x4b5fc7=>{if(_0x4b5fc7['element']){const _0x5885c4=_0x4b5fc7['element']['cloneNode'](!0x0);_0x2f255a['appendChild'](_0x5885c4);}}),_0x2f255a['offsetWidth'];const _0x1ce818=_0x2f255a['children'],_0x4e0cd9=[];return Array['from'](_0x1ce818)['forEach'](_0x481e53=>{const _0x66ea0=_0x481e53['getBoundingClientRect']()['top'];_0x4e0cd9['some'](_0x3b7c74=>Math['abs'](_0x3b7c74-_0x66ea0)<this['_config']['rowDetectionTolerance'])||_0x4e0cd9['push'](_0x66ea0);}),{'rowCount':_0x4e0cd9['length']};}['_createMockButton'](){const _0x8b9b5=document['createElement']('button');return _0x8b9b5['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x8b9b5['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x8b9b5['textContent']='+\x201',_0x8b9b5;}['_testButtonFit'](_0x19f95e,_0x339326,_0x1c1c54){this['_renderChipsAndCountRows'](_0x339326,_0x1c1c54);const _0x4fce51=this['_createMockButton']();_0x19f95e['appendChild'](_0x4fce51),_0x19f95e['offsetWidth'];const _0x4d5914=[..._0x339326['children'],_0x4fce51],_0x49fe4=[];_0x4d5914['forEach'](_0x1d6876=>{const _0x67f57a=_0x1d6876['getBoundingClientRect']()['top'];_0x49fe4['some'](_0x19a200=>Math['abs'](_0x19a200-_0x67f57a)<this['_config']['rowDetectionTolerance'])||_0x49fe4['push'](_0x67f57a);});const _0x34c740=_0x49fe4['length'];return _0x4fce51['remove'](),_0x34c740<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x32f5c5,_0x3bc1bf){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x32f5c5['forEach'](_0x37755b=>{_0x3bc1bf['includes'](_0x37755b)?this['_overflowChips']['add'](_0x37755b):this['_visibleChips']['add'](_0x37755b);});}['_updateOverflowUI'](_0x55f9a3){if(_0x55f9a3>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x55f9a3>0x0&&this['_showMoreButtonView']){const _0x226339=''+this['_config']['showMoreLabelPrefix']+(_0x55f9a3<0x63?_0x55f9a3:'99');this['_showMoreButtonView']['label']=_0x226339;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x3073fa,_0x195b65){this['_distributeChips'](_0x3073fa,_0x195b65),this['_updateOverflowUI'](_0x195b65['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0xc89258=>{_0xc89258[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 _0x551418=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x551418['width']||0x0===_0x551418['height'])return!0x1;const _0x589c97=window['innerHeight']||document['documentElement']['clientHeight'],_0x3f293d=window['innerWidth']||document['documentElement']['clientWidth'],_0x21d04f=0xc8;return _0x551418['bottom']>=-0xc8&&_0x551418['top']<=_0x589c97+_0x21d04f&&_0x551418['right']>=-0xc8&&_0x551418['left']<=_0x3f293d+_0x21d04f;}}const sm='ck-ai-chat__feed__context-chips',nm='ck-ai-chat-context-chips-wrapper',rm='ck-ai-chat-context-chips-wrapper-balloon',om='ck-ai-chat-controls-button',am='ck-ai-chat-controls_context_show-more-button',cm='ck-ai-chat-context-controls__show-more-balloon-panel';class AIChatFeedContextChipsView extends _0xa34d16{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0xdf9d27,_0x7ecf21,_0x1cc2aa){super(_0xdf9d27),this['_bodyCollection']=_0x1cc2aa,this['_createContextChips'](_0x7ecf21);const _0x345008={'cssClasses':{'showMoreButton':am+'\x20'+yo,'showMoreBalloon':cm,'overflowContainer':rm,'controlsButton':om}};this['_overflowManager']=new AIChatChipsOverflowManager(_0xdf9d27,this['_contextChips'],_0x345008,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[sm,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':nm},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x45c32d=this['element']['querySelector']('.'+nm);_0x45c32d&&(this['_overflowManager']['setContainerElement'](_0x45c32d),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x1cedd6){for(const _0x17d20c of _0x1cedd6){const _0x5e0ca9=new AIChatContextItemButtonView(this['locale'],_0x17d20c,!0x0,!0x1);this['_contextChips']['add'](_0x5e0ca9);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x45d4d8,_0x315e9d,_0x1c9f9d){super(_0x315e9d),this['_locale']=_0x45d4d8,this['_bodyCollection']=_0x1c9f9d,this['_createContextChipsView'](),this['_createMessageContentView'](),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__user-message']}});}['_createContextChipsView'](){this['options']['contextItems']&&this['options']['contextItems']['length']>0x0&&(this['_contextChipsView']=new AIChatFeedContextChipsView(this['_locale'],this['options']['contextItems']['filter'](_0x5020fb=>!_0x5020fb['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0xa34d16(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']();}}class AIChatFeedInteractionHeaderView extends AIChatFeedItemView{['capabilities'];constructor(_0x35fc97,_0x2ca019){super(_0x2ca019);const {isWebSearchEnabled:_0x4bb372,isReasoningEnabled:_0x1e889b}=_0x2ca019['capabilities'],_0x29f87a=[];let _0x34d74f='';_0x4bb372&&_0x1e889b?(_0x34d74f=Oo(_0x35fc97,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x29f87a['push'](lm(_0x3fc0ea)),_0x29f87a['push'](lm(_0x859fc))):_0x4bb372?(_0x34d74f=Oo(_0x35fc97,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x29f87a['push'](lm(_0x3fc0ea))):_0x1e889b&&(_0x34d74f=Oo(_0x35fc97,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x29f87a['push'](lm(_0x859fc))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x34d74f?'':'ck-hidden']}});const _0x35e3c0=new _0xa34d16();_0x35e3c0['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x29f87a,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x34d74f]}]}),this['children']['add'](_0x35e3c0),this['capabilities']=_0x2ca019['capabilities'];}}function lm(_0x521bb2){const _0x232515=new _0x468811();return _0x232515['content']=_0x521bb2,_0x232515;}const hm=['wheel','touchstart','pointerdown','keydown'],um=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class ScrollManager{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];['scrollBehavior'];constructor(_0x544d3d){this['element']=_0x544d3d,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1,this['scrollBehavior']='smooth';for(const _0x4106ee of hm){const _0x33cfdd='keydown'!==_0x4106ee;this['element']['addEventListener'](_0x4106ee,this['_onUserEvent']['bind'](this),{'passive':_0x33cfdd,'signal':this['abortController']['signal']});}}['start']({smooth:_0x20eb06=!0x0}={}){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['scrollBehavior']=_0x20eb06?'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'](_0x4cc8f8){if(this['isRunning']){if('keydown'===_0x4cc8f8['type']){const _0x164176=_0x4cc8f8['key'];if(!um['includes'](_0x164176))return;}_0x4cc8f8 instanceof WheelEvent?_0x4cc8f8['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x1c21df,scrollHeight:_0x59c1e9,clientHeight:_0x500f93}=this['element'];return _0x59c1e9-_0x1c21df-_0x500f93<=0x5;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':this['scrollBehavior']}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x5143a7){super(_0x5143a7),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__custom-element']}});}async['render'](){super['render'](),'string'==typeof this['options']['content']?this['element']['innerHTML']=this['options']['content']:this['element']['appendChild'](this['options']['content']);}}class AIChatFeedView extends _0xa34d16{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x2f9591,_0x4eac61){super(_0x2f9591),this['_bodyCollection']=_0x4eac61,this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](...If)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new ScrollManager(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x22e56b,_0x474c4d){let _0x188865;return'ai-reply'===_0x22e56b?_0x188865=new AIChatFeedReplyItemView(this['locale'],_0x474c4d,this['_bodyCollection']):'ai-suggestion-reply'===_0x22e56b?(_0x188865=new AIChatFeedSuggestionItemView(this['locale'],_0x474c4d,this['_bodyCollection']),_0x188865['bind']('isTrackChangesOn')['to'](this)):_0x188865='user-message'===_0x22e56b?new AIChatFeedUserMessageItemView(this['locale'],_0x474c4d,this['_bodyCollection']):'interaction-header'===_0x22e56b?new AIChatFeedInteractionHeaderView(this['locale'],_0x474c4d):'custom-element'===_0x22e56b?new AIChatFeedCustomElementView(_0x474c4d):new AIChatFeedErrorItemView(_0x474c4d),this['children']['add'](_0x188865),_0x188865;}async['updateReplyItem']({id:_0xd57fef,parsedContent:_0x21b6dd,renderingStrategy:_0x2470a3,abortSignal:_0x39356c}){const _0x495d3a=this['getItemById'](_0xd57fef);if(!(_0x495d3a instanceof AIChatFeedReplyItemView))throw new _0x522f1f('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x495d3a,'id':_0xd57fef,'parsedContent':_0x21b6dd});await _0x495d3a['updateContent']({'parsedContent':_0x21b6dd,'renderingStrategy':_0x2470a3,'abortSignal':_0x39356c});}async['updateWebSources'](_0x43b51f,_0x146e66){const _0x2fb13d=this['getItemById'](_0x43b51f);if(_0x2fb13d instanceof AIChatFeedSuggestionItemView)_0x2fb13d['updateSources'](_0x146e66);else{if(!(_0x2fb13d instanceof AIChatFeedReplyItemView))throw new _0x522f1f('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x2fb13d,'id':_0x43b51f,'sources':_0x146e66});_0x2fb13d['updateSources'](_0x146e66);}}async['updateSuggestionItem']({id:_0x224a3a,parts:_0x74e956,abortSignal:_0x391461,skipLoadingEffects:_0x5b23f6}){const _0x43f7e1=this['getItemById'](_0x224a3a);if(!(_0x43f7e1 instanceof AIChatFeedSuggestionItemView))throw new _0x522f1f('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x43f7e1,'id':_0x224a3a,'parts':_0x74e956});await _0x43f7e1['updateContent']({'parts':_0x74e956,'abortSignal':_0x391461,'skipLoadingEffects':_0x5b23f6});}['updateSuggestionPartState']({id:_0x105694,index:_0x1e3686,state:_0x22b60e}){const _0x1fba9f=this['getItemById'](_0x105694);if(!(_0x1fba9f instanceof AIChatFeedSuggestionItemView))throw new _0x522f1f('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x105694});_0x1fba9f['updatePartState'](_0x1e3686,_0x22b60e);}['setSuggestionPartActive']({id:_0x5e2fa6,index:_0x4728bc,isActive:_0x22cb64}){const _0x14d4df=this['getItemById'](_0x5e2fa6);if(!(_0x14d4df instanceof AIChatFeedSuggestionItemView))throw new _0x522f1f('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x5e2fa6});this['children']['filter'](_0x493261=>_0x493261 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x4e4e40=>{_0x4e4e40['setPartActive'](!0x1);}),_0x14d4df['setPartActive'](_0x4728bc,_0x22cb64);}['markItemAsDone'](_0x36f404){this['getItemById'](_0x36f404)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x22dabd=>_0x22dabd['options']['id']);}['removeItem'](_0x110a69){this['children']['remove'](this['getItemById'](_0x110a69));}['hasItem'](_0x1be64d){return!!this['children']['find'](_0x562dac=>_0x562dac['options']['id']['includes'](_0x1be64d));}['scrollToSuggestion'](_0x10b954,_0x8a76d8){const _0x3c0460=this['getItemById'](_0x10b954);if(!(_0x3c0460 instanceof AIChatFeedSuggestionItemView))return void _0x445208('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x10b954,'partIndex':_0x8a76d8});const _0x11ddbb=_0x3c0460['getPartView'](_0x8a76d8);_0x11ddbb?_0x1f5771(_0x11ddbb['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0x445208('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x10b954,'partIndex':_0x8a76d8});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x331792=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x331792,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x116fbe=new AISkeletonView(this['locale'],jf['aiFeed']);return _0x116fbe['bind']('isVisible')['to'](this,'isLoadingSkeletonVisible'),_0x116fbe;}['_createFeedItems'](){const _0x1cd2b0=new _0xa34d16(this['locale']);return _0x1cd2b0['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x1cd2b0;}['_createFeedLoader'](){const _0x542503=new _0xa34d16(this['locale']);return _0x542503['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('loadingMessage','ck-hidden',_0x369233=>!_0x369233)]},'children':this['_createLoaderChildren']()}),_0x542503;}['_createLoaderChildren'](){const _0x305ed7=new AISpinnerView();return _0x305ed7['isVisible']=!0x0,[_0x305ed7,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0xe4e258){const _0x3e21e7=this['children']['find'](_0x15198d=>_0x15198d['options']['id']['includes'](_0xe4e258));if(!_0x3e21e7)throw new _0x522f1f('ai-chat-feed-view-item-not-found',this,{'id':_0xe4e258});return _0x3e21e7;}['setLoadingMessage'](_0x2c6b0d){this['set']('loadingMessage',_0x2c6b0d);}['toggleLoadingSkeleton'](_0x5e4007){this['set']('isLoadingSkeletonVisible',_0x5e4007);}['startAutoScroll'](_0x45e0c0={}){this['scrollManager']['start'](_0x45e0c0);}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends _0x1688f4{['filter'](){let _0x5d1a64=0x0;for(const _0x16b1dd of this['items'])_0x5d1a64+=_0x16b1dd['items']['length'];return{'resultsCount':_0x5d1a64,'totalItemsCount':_0x5d1a64};}}function dm(_0x325bd2){const _0x2b78a3=[];let _0x55d3d2=!0x1;for(const _0x3bb5a2 of Array['from'](_0x325bd2['items'])){if('file'!==_0x3bb5a2['kind'])continue;const _0x99a80f=_0x3bb5a2['webkitGetAsEntry']();if(_0x99a80f?.['isDirectory']){_0x55d3d2=!0x0;continue;}const _0x5c5830=_0x3bb5a2['getAsFile']();_0x5c5830&&_0x2b78a3['push'](_0x5c5830);}return{'files':_0x2b78a3,'hasDirectory':_0x55d3d2};}const fm='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends _0xe24be8{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x3e6c60,_0x382e52){super(_0x3e6c60,{'queryView':{'label':'','creator':it,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x3e6c60),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x382e52,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',(_0x567bfc,_0x3c40e5)=>!_0x567bfc&&!_0x3c40e5),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x5bb4fc,_0x50a830)=>{this['isUploadInProgress']||this['isEmpty']||_0x5bb4fc['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x50a830());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();}),this['queryView']['fieldView']['element']['addEventListener']('paste',_0x2cb0e2=>this['_handlePaste'](_0x2cb0e2)),this['element']['addEventListener']('drop',_0x83d672=>this['_handleDrop'](_0x83d672));}['_handlePaste'](_0x4943ed){const _0x2be3f2=_0x4943ed['clipboardData'];if(!_0x2be3f2)return;const {files:_0x27aaf3,hasDirectory:_0x3633c1}=dm(_0x2be3f2),_0x3b0328={'files':_0x27aaf3,'plainText':_0x2be3f2['getData']('text/plain'),'hasDirectory':_0x3633c1,'forceTextAttachment':!0x1,'preventDefault':()=>_0x4943ed['preventDefault']()};this['fire']('promptInputPaste',_0x3b0328);}['_handleDrop'](_0x5f3baa){const _0x372374=_0x5f3baa['dataTransfer'];if(!_0x372374)return;const _0x56a415={'files':[],'plainText':_0x372374['getData']('text/uri-list')||_0x372374['getData']('text/plain'),'hasDirectory':!0x1,'forceTextAttachment':!0x1,'preventDefault':()=>_0x5f3baa['preventDefault']()};this['fire']('promptInputPaste',_0x56a415);}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x445baa=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x445baa)return this['queryView']['errorText']=Oo(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x327085=io(_0x445baa);this['fire']('sendUserMessage',_0x327085),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x280696){this['queryView']['fieldView']['set']('placeholder',_0x280696);}['focus'](_0x10e239=!0x1){super['focus'](),_0x10e239&&(this['element']['classList']['contains'](fm)||(this['element']['classList']['add'](fm),setTimeout(()=>{this['element']['classList']['remove'](fm);},0x320)));}['_createSubmitButton'](){const _0x4fce20=new _0x4c508c(this['locale']);return _0x4fce20['set']({'icon':_0xc57d4a,'label':Oo(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+wo,'isEnabled':!0x1}),_0x4fce20['on']('execute',()=>{this['submit']();}),_0x4fce20;}['setIsUploadInProgress'](_0x117318){this['isUploadInProgress']=_0x117318;}['_setUpAddContextButtonPositioning'](){const _0x190543=this['locale'],_0x19d43e=()=>{_0x313644['window']['requestAnimationFrame'](()=>{if(_0xa36475(this['element'])){const _0x2d555e=new _0x2bf707(this['queryView']['fieldView']['element']),_0x4e8b53=new _0x2bf707(this['_addContextButtonView']['element']),_0x3c96b4=_0x2d555e['width'],_0x4a03ba='rtl'===_0x190543['uiLanguageDirection']?'right':'left';_0x2d555e['excludeScrollbarsAndBorders']();const _0x1de3e7=_0x3c96b4-_0x2d555e['width']+0x1;this['_addContextButtonView']['element']['style'][_0x4a03ba]='calc('+(_0x3c96b4-_0x4e8b53['width']-_0x1de3e7)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x19d43e),this['on']('render',()=>{_0x19d43e(),this['_queryViewResizeObserver']=new _0x4ebf8b(this['queryView']['fieldView']['element'],()=>{_0x19d43e();});});}}class AIChatDropZoneView extends _0xa34d16{constructor(_0x5ba48b){super(_0x5ba48b);const _0x9bc04d=new _0x468811();_0x9bc04d['content']=_0x3c95e9,this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls__drop-overlay']},'children':[_0x9bc04d,{'tag':'span','attributes':{'class':['ck-ai-chat-controls__drop-overlay__label']},'children':[{'text':Oo(_0x5ba48b,'AI_CHAT_DROP_ZONE_HINT')}]}]});}['attach'](_0x1b109f){let _0x209c05=0x0;_0x1b109f['addEventListener']('dragenter',_0x597a40=>{_0x597a40['dataTransfer']&&(_0x209c05++,0x1===_0x209c05&&this['fire']('dragEnter'),_0x1b109f['classList']['add']('ck-ai-chat-controls_drag-over'));}),_0x1b109f['addEventListener']('dragover',_0x3ebe6e=>{_0x3ebe6e['dataTransfer']&&_0x3ebe6e['preventDefault']();}),_0x1b109f['addEventListener']('dragleave',()=>{--_0x209c05<=0x0&&(_0x209c05=0x0,_0x1b109f['classList']['remove']('ck-ai-chat-controls_drag-over'));}),_0x1b109f['addEventListener']('drop',_0x196b18=>{_0x196b18['preventDefault'](),_0x209c05=0x0,_0x1b109f['classList']['remove']('ck-ai-chat-controls_drag-over'),this['_handleDrop'](_0x196b18);});}['_handleDrop'](_0x3b8750){const _0x19e530=_0x3b8750['dataTransfer'];if(!_0x19e530)return;const {files:_0x132048,hasDirectory:_0xd3f86}=dm(_0x19e530),_0x20af4d={'files':_0x132048,'plainText':_0x19e530['getData']('text/uri-list')||_0x19e530['getData']('text/plain'),'hasDirectory':_0xd3f86,'forceTextAttachment':!0x0,'preventDefault':()=>{}};this['fire']('promptInputPaste',_0x20af4d);}}const mm='ck-ai-chat__prompt-capabilities',gm='ck-ai-chat-controls-button',pm='ck-ai-chat-controls-button--commands',Om='ck-ai-chat-controls__model-selection',wm='ck-ai-chat-controls__model-selection__item-name',bm='ck-ai-chat-controls__model-selection__item-description',ym='ck-ai-chat-controls__model-selection__item-capabilities',vm='n';class AIChatPromptCapabilitiesView extends _0xa34d16{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x4db816){super(_0x4db816),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',_0x370369=>'selector'===_0x370369),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x5c1247=>_0x5c1247?this['_modelSelectionDropdown']['buttonView']['label']:Oo(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x3e0920=>_0x3e0920),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x4f5017=>_0x4f5017),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x23f5a2=>Oo(this['locale'],_0x23f5a2?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x37ee22=>_0x37ee22),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x20ec3d=>Oo(this['locale'],_0x20ec3d?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[mm]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0x47a54f(),pt(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0xd9f3ef,_0x249e4e){if(_0x249e4e)this['set']('modelDisplayMode','hidden');else{const _0x12bbcd=0x1===_0xd9f3ef['length'];this['set']('modelDisplayMode',_0x12bbcd?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0xd9f3ef?.['length'])for(const _0x514b1f of _0xd9f3ef){const _0xbbdc81=new Ot({'label':_0x514b1f['name'],'withText':!0x0,'role':'menuitemradio','id':_0x514b1f['id'],'model':_0x514b1f});_0xbbdc81['bind']('isOn')['to'](this,'activeModelId',_0x5de1bb=>_0x5de1bb===_0x514b1f['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xbbdc81,'labelView':new _m(this['locale'],_0x514b1f)});}}['setWebSearch'](_0x2eb79d){this['set']('webSearchActive',_0x2eb79d);}['setReasoning'](_0x5d75ee){this['set']('reasoningActive',_0x5d75ee);}['setModel'](_0x4c18da){if(!_0x4c18da)return;this['activeModelId']=_0x4c18da['id'],this['activeModelName']=_0x4c18da['name']||_0x4c18da['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x4c18da['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x4c18da['name']);const _0x589201=_0x4c18da['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x589201),this['_webSearchButton']['set']('isVisible',_0x589201);const _0x5b6f4f=_0x4c18da['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x5b6f4f),this['_reasoningButton']['set']('isVisible',_0x5b6f4f);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x1f5110){this['set']('modelSelectorEnabled',!0x1),_0x1f5110&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x5a488f=new _0x4c508c();return _0x5a488f['set']({'label':Oo(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x3fc0ea,'class':gm+'\x20'+yo,'isToggleable':!0x0,'tooltipPosition':vm}),_0x5a488f['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x5a488f;}['_createReasoningButton'](){const _0x533e62=new _0x4c508c();return _0x533e62['set']({'label':Oo(this['locale'],'AI_CHAT_REASONING'),'icon':_0x859fc,'class':gm+'\x20'+yo,'isToggleable':!0x0,'tooltipPosition':vm}),_0x533e62['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x533e62;}['_createCommandsButton'](){const _0x11a98b=new _0x4c508c();return _0x11a98b['set']({'label':Oo(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x15b204,'withText':!0x0,'class':gm+'\x20'+yo,'isToggleable':!0x0,'tooltip':Oo(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':vm}),_0x11a98b['extendTemplate']({'attributes':{'class':[pm]}}),_0x11a98b['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x11a98b;}['_createModelSelectionDropdown'](){const _0x431c80=nt(this['locale']);return _0x431c80['set']({'panelPosition':'ne','class':[Om]}),_0x431c80['buttonView']['set']({'label':Oo(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':vm,'class':yo}),this['listenTo'](_0x431c80,'execute',_0x21f5cc=>{this['fire']('selectModel',_0x21f5cc['source']['model']);}),_0x431c80;}['_createModelNameView'](){const _0x50a07a=new Em(this['locale']);return _0x50a07a['bind']('text')['to'](this,'activeModelName',_0x37be20=>_0x37be20??''),_0x50a07a['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2e5a83=>'name'===_0x2e5a83),_0x50a07a;}}let _m=class ModelButtonLabelView extends tt{constructor(_0x455d02,_0x23870d){super();const _0x4fe4c0=this['bindTemplate'],_0x381c7b=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x4fe4c0['to']('style'),'id':_0x4fe4c0['to']('id')},'children':[{'tag':'div','attributes':{'class':[wm]},'children':[{'text':_0x4fe4c0['to']('text')}]},{'tag':'div','attributes':{'class':[bm]},'children':[{'tag':'span','children':[{'text':_0x23870d['description']}]}]},{'tag':'div','attributes':{'class':[ym]},'children':_0x381c7b}]}),_0x381c7b['addMany'](this['_getCapabilityParts'](_0x455d02,_0x3fc0ea,'AI_CHAT_SEARCH_WEB',_0x23870d['capabilities']['webSearch']?.['enabled']??!0x1)),_0x381c7b['addMany'](this['_getCapabilityParts'](_0x455d02,_0x859fc,'AI_CHAT_REASONING',_0x23870d['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x3a05a4,_0x41d814,_0x1fac8e,_0x4c5061){const _0x48e56a=new _0x468811();_0x48e56a['content']=_0x41d814;const _0x465cc2=new _0xa34d16(_0x3a05a4);_0x465cc2['setTemplate']({'tag':'span','children':[{'text':Oo(_0x3a05a4,_0x1fac8e)+':\x20'}]});const _0x273356=new _0xa34d16(_0x3a05a4);return _0x273356['setTemplate']({'tag':'span','children':[{'text':Oo(_0x3a05a4,_0x4c5061?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x48e56a,_0x465cc2,_0x273356];}},Em=class ModelNameView extends _0xa34d16{constructor(_0x26aab3){super(_0x26aab3),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x2232db=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x2232db['if']('isVisible','ck-hidden',_0xc7457b=>!_0xc7457b)]},'children':[{'text':_0x2232db['to']('text')}]});}};const Tm='ck-ai-chat-context-controls__url-form',Am='ck-ai-chat-context-controls__url-input-section';class AIChatContextPanelUrlInputView extends _0xa34d16{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x2fc9df){super(_0x2fc9df),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),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 et({'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'](_0xafa162=>{this['focusTracker']['add'](_0xafa162['element']),this['keystrokes']['listenTo'](_0xafa162['element']);}),wt({'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'](_0x1d47d0){this['urlInputField']['errorText']=_0x1d47d0,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x506ab8=new _0x4c508c(this['locale']);return _0x506ab8['set']({'icon':_0x388e03,'tooltip':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x3b28f9,_0x2a6a41,_0xa8cb71)=>{_0x506ab8['set']({'class':['ck-button-icon\x20ck-button-back'+(_0xa8cb71?'':'\x20ck-hidden')]});}),_0x506ab8;}['_createUrlInputField'](){const _0x1d5792=new bt(this['locale'],yt);return _0x1d5792['set']({'label':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x1d5792['fieldView']['set']({'placeholder':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x1d5792;}['_createConfirmButton'](){const _0x91bca7=new _0x4c508c(this['locale']);return _0x91bca7['set']({'icon':_0x253584,'tooltip':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x91bca7;}['_setupTemplate'](){const _0xc9fd35=new vt(this['locale'],{'label':Oo(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0xc9fd35['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':Tm,'tabindex':'-1'},'children':[_0xc9fd35,{'tag':'div','attributes':{'class':Am},'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',_0x36f8c6=>{_0x36f8c6['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x594fc7,_0x2138a4)=>{this['clear'](),this['fire']('cancel'),_0x2138a4();});}['_handleSubmit'](){const _0x6588db=this['getValue']()['trim']();_0x6588db?this['_isValidUrl'](_0x6588db)?(this['clearError'](),this['fire']('submitUrl',_0x6588db)):this['setError'](Oo(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](Oo(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x704262=this['getValue']()['trim'](),_0x4db19b=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x704262['length']>0x0&&!_0x4db19b;}['_isValidUrl'](_0x50512){try{return!!new URL(_0x50512);}catch{return!0x1;}}}const Im='ck-ai-chat-resources__item',Sm='ck-ai-chat-resources__item--in-context',Cm='ck-ai-chat-resources__item-title',km='ck-ai-chat-resources__item__icon';class AIChatResourceListItemView extends _0xcc051a{['resource'];['_titleView'];['_iconView'];constructor(_0x394f3d,_0x145ab2){super(_0x394f3d),this['resource']=_0x145ab2,this['set']('isInContext',!!_0x145ab2['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x4ef248){if(_0x4ef248['isInContext'])return _0x253584;switch(_0x4ef248['type']){case'document':return _0x4fcba6;case'web-resource':return _0x3c2990;case'file':case'text':return _0x3c95e9;default:return _0x51eff3;}}['highlightText'](_0x26e9f3){if(!_0x26e9f3||''===_0x26e9f3['trim']())return void this['_titleView']['highlightText'](null);const _0xc2fe89=new RegExp(so(_0x26e9f3),'gi');this['_titleView']['highlightText'](_0xc2fe89);}['updateResourceState'](_0x31299a){this['resource']['isInContext']=_0x31299a,this['isInContext']=_0x31299a,this['_updateIcon']();}['_createTitleView'](){const _0x4e7048=new _t();return _0x4e7048['text']=this['resource']['label'],_0x4e7048['extendTemplate']({'tag':'span','attributes':{'class':[Cm]}}),_0x4e7048;}['_createIconView'](){const _0x2a9cbd=new _0x468811();return _0x2a9cbd['content']=this['getResourceIcon'](this['resource']),_0x2a9cbd;}['_setupTemplate'](){const _0x20e74f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[Im,_0x20e74f['if']('isVisible','ck-hidden',_0x136d9d=>!_0x136d9d),_0x20e74f['if']('isInContext',Sm)]},'children':[{'tag':'div','attributes':{'class':[km]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x20e74f['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const xm='ck-ai-chat-resources__list';class AIChatContextResourcesListView extends _0x1688f4{['_source'];constructor(_0x5462af,_0x47cf53){super(_0x5462af),this['_source']=_0x47cf53,this['extendTemplate']({'attributes':{'class':[xm]}});}['setResources'](_0x58e46f,_0x3df035){this['items']['clear']();let _0x432246=_0x58e46f;if(this['_source']['useDefaultFiltering']&&_0x3df035&&''!==_0x3df035['trim']()){const _0x4c14be=new RegExp(_0x3df035['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x432246=_0x58e46f['filter'](_0x47a8b8=>_0x4c14be['test'](_0x47a8b8['label']));}for(const _0x167560 of _0x432246){const _0x3efa65=new AIChatResourceListItemView(this['locale'],_0x167560);_0x3efa65['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x167560);}),this['items']['add'](_0x3efa65);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x3df035);}['highlightText'](_0x24281f){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x4a7b82=>{_0x4a7b82['highlightText'](_0x24281f);});}['updateResourceState'](_0x3b6d88,_0x26010b){for(const _0x2ea820 of this['items']){const _0x5ef2d2=_0x2ea820;_0x5ef2d2['resource']['id']===_0x3b6d88&&_0x5ef2d2['updateResourceState'](_0x26010b);}}['_handleResourceSelection'](_0x4a82db,_0x1b9b4c){this['fire']('addResourceToContext',{'source':_0x4a82db,'resource':_0x1b9b4c});}}class AIChatContextResourcesSearchInputView extends bt{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x5d776e){const t=_0x5d776e['t'],_0x17c8c9={'showResetButton':!0x0,'showIcon':!0x0,'creator':yt,'label':Oo(_0x5d776e,'AI_CHAT_SEARCH_RESOURCES')};super(_0x5d776e,_0x17c8c9['creator']),this['label']=_0x17c8c9['label'],this['_viewConfig']=_0x17c8c9,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x5d776e,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0xebe9de){this['fire']('search',_0xebe9de);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x468811(),this['iconView']['content']=_0x1d02d6,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x5b1ba5,t){this['resetButtonView']=new _0x4c508c(_0x5b1ba5),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3f6f57,'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',_0x4bb3dc=>!_0x4bb3dc),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}class AIChatContextResourcesView extends _0xa34d16{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0xae53f,_0x531de8){super(_0xae53f),this['_source']=_0x531de8['source'],this['_searchInputVisibleFrom']=_0x531de8['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 Et([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}['_createSearchView'](){return new AIChatContextResourcesSearchInputView(this['locale']);}['_createSearchSection'](){const _0x33724e=new _0xa34d16(this['locale']);return _0x33724e['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x2d5a4d,_0xc26f1)=>{this['loadResources'](_0xc26f1),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0xc26f1);}),_0x33724e;}['_createResourcesListView'](){const _0x478804=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x478804['delegate']('addResourceToContext')['to'](this),_0x478804['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x478804;}['_createSkeletonView'](){const _0x2f027a=new AISkeletonView(this['locale'],jf['aiChatResources']);return _0x2f027a['bind']('isVisible')['to'](this,'isLoading'),_0x2f027a;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x3c894c){const _0x446fc6=_0x3eda13();this['_latestLoadResourcesUid']=_0x446fc6,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x3c894c,'uid':_0x446fc6}),this['isLoading']=!0x0;}['setResources'](_0x52e290,_0x390ea0){if(_0x390ea0&&_0x390ea0!==this['_latestLoadResourcesUid'])return;const _0x4056c6=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x52e290,_0x4056c6),_0x52e290['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x2160b5,_0x4ba562){this['_resourcesListView']['updateResourceState'](_0x2160b5,_0x4ba562);}}const Rm='ck-ai-chat-context-controls__source-balloon-panel',Pm='ck-button-icon\x20ck-button-back',Mm='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x5a23f6,_0x127ef7,_0x2a2c37){this['_locale']=_0x5a23f6,this['_bodyCollection']=_0x127ef7,this['_config']=_0x2a2c37;}['showSourceResourcesBalloon']({source:_0x5b2be1,withBackButton:_0x540b3c}){let _0x149e8b=this['_sourceResourceBalloons']['get'](_0x5b2be1['id']);_0x149e8b||(_0x149e8b=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x5b2be1['id'],_0x149e8b),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x149e8b)),this['_addSourceResourceContent']({'balloonPanel':_0x149e8b,'source':_0x5b2be1,'withBackButton':_0x540b3c}),_0x149e8b['show']();const _0x4df446=this['_config']['getTargetElement']();_0x4df446&&_0x149e8b['pin']({'target':_0x4df446,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x3d1601,_0x4f2971,_0xbf0b2c){const _0x4f63be=this['_sourceResourceBalloons']['get'](_0x3d1601);if(!_0x4f63be)return;const _0x431cde=this['_getResourcesViewFromBalloon'](_0x4f63be);_0x431cde&&(_0x431cde['setResources'](_0x4f2971,_0xbf0b2c),_0x431cde['once']('change:isLoading',()=>{_0x4f63be['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x338148){const _0x54fdfc=this['_sourceResourceBalloons']['get'](_0x338148);_0x54fdfc&&requestAnimationFrame(()=>{_0x54fdfc['hide'](),this['_sourceResourceBalloons']['delete'](_0x338148),this['_config']['onBalloonClosed']();});}['closeAll'](){for(const _0x20b9fd of Array['from'](this['_sourceResourceBalloons']['keys']()))this['closeSourceResourceBalloon'](_0x20b9fd);}['isAnyResourceBalloonVisible'](){for(const _0xe972af of this['_sourceResourceBalloons']['values']())if(_0xe972af['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x130c94,_0x54bb8c,_0x1c57ce){const _0x16395e=this['_sourceResourceBalloons']['get'](_0x130c94);if(!_0x16395e||!_0x16395e['isVisible'])return;const _0x57c569=this['_config']['getTargetElement']();if(!_0x57c569)return;_0x16395e['pin']({'target':_0x57c569,'limiter':this['_config']['getLimiterElement']()});const _0xa17253=this['_getResourcesViewFromBalloon'](_0x16395e);_0xa17253&&_0xa17253['updateResourceState'](_0x54bb8c,_0x1c57ce);}['destroy'](){for(const _0x4977c8 of this['_sourceResourceBalloons']['values']())_0x4977c8['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x38203b=new mt(this['_locale']);return _0x38203b['extendTemplate']({'attributes':{'class':Rm}}),this['_bodyCollection']['add'](_0x38203b),_0x38203b;}['_addSourceResourceContent']({balloonPanel:_0x29cb87,source:_0x105589,withBackButton:_0x28073f}){_0x29cb87['content']['clear']();const _0x522032=this['_createBalloonHeader']({'balloonPanel':_0x29cb87,'source':_0x105589,'withBackButton':_0x28073f});_0x29cb87['content']['add'](_0x522032);const _0x46427f=this['_createBalloonResourcesView'](_0x105589);_0x29cb87['content']['add'](_0x46427f);}['_createBalloonHeader']({balloonPanel:_0x523338,source:_0x1a5a96,withBackButton:_0x1731b6}){const _0x4babac=new vt(this['_locale'],{'label':_0x1a5a96['label'],'class':Mm});return _0x1731b6&&_0x4babac['children']['add'](this['_createBackButton'](_0x523338),0x0),_0x4babac;}['_createBackButton'](_0x1d10a7){const _0x312271=new _0x4c508c(this['_locale']);return _0x312271['set']({'icon':_0x388e03,'tooltip':Oo(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':Pm}),_0x312271['on']('execute',()=>{_0x1d10a7['hide'](),this['_config']['onBackToContext']();}),_0x312271;}['_createBalloonResourcesView'](_0x438b95){const _0x489ed8=new AIChatContextResourcesView(this['_locale'],{'source':_0x438b95,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x489ed8['on']('loadSourceResources',(_0x54c021,_0x3871b9)=>{this['_config']['onLoadSourceResources'](_0x3871b9);}),_0x489ed8['on']('addResourceToContext',(_0x5dde6c,_0x1697f1)=>{this['_config']['onResourceSelected'](_0x1697f1['source'],_0x1697f1['resource']),this['closeSourceResourceBalloon'](_0x438b95['id']);}),_0x489ed8;}['_getResourcesViewFromBalloon'](_0x57a83f){const _0x397f84=_0x57a83f['content']['get'](0x1);return _0x397f84 instanceof AIChatContextResourcesView?_0x397f84:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x33eb2f){gt({'emitter':_0x33eb2f,'contextElements':[_0x33eb2f['element']],'callback':()=>{_0x33eb2f['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x33eb2f['isVisible']});}}const Nm=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],Lm='ck-ai-chat-context-controls',$m='ck-ai-chat-context-controls__pending-contexts',Dm='ck-ai-chat-context-controls__add-context-balloon-panel',Qm='ck-ai-chat-context-controls__add-context-button',Vm='ck-ai-chat-context-controls__url-balloon-panel',Um='ck-ai-chat-context-controls__balloon-button',Bm='ck-ai-chat-context-controls__balloon-button-source',Fm='ck-ai-chat-controls-button',jm='ck-ai-chat-context-chips-wrapper-balloon',Hm='ck-ai-chat-controls_context_show-more-button',Gm='ck-ai-chat-context-controls__show-more-balloon-panel',Zm='ck-ai-chat',Xm=[mt['defaultPositions']['northArrowSouthWest'],mt['defaultPositions']['northArrowSouth'],mt['defaultPositions']['northArrowSouthEast'],mt['defaultPositions']['southArrowNorthWest'],mt['defaultPositions']['southArrowNorth'],mt['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends _0xa34d16{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x576259,_0x142ff9){super(_0x576259),this['bodyCollection']=_0x142ff9['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x576259),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x576259),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x576259),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x576259,_0x142ff9);const _0x224b2e={'cssClasses':{'showMoreButton':Hm+'\x20'+yo,'showMoreBalloon':Gm,'overflowContainer':jm,'controlsButton':Fm}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x576259,this['_currentContextsChips'],_0x224b2e,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'](_0x4668a2,_0x59aeb8){const _0x6a1b7a=this['_createContextButton'](_0x4668a2,'current',!0x0,_0x59aeb8);this['_addContextToCollection'](_0x6a1b7a,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x1a8253){this['_removeContextFromCollection'](_0x1a8253,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x1a8253,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x16beb2,_0x2f5d4c){let _0x5adcd3=this['_currentContextsChips']['find'](_0x6fb6b2=>_0x6fb6b2['id']===_0x16beb2);_0x5adcd3||(_0x5adcd3=this['_overflowManager']['overflowChips']['find'](_0x3c5f87=>_0x3c5f87['id']===_0x16beb2)),_0x5adcd3&&(_0x5adcd3['isLoading']=_0x2f5d4c);}['setConversationContext'](_0x4c85b8){this['_conversationContextsChips']['clear']();for(const _0x2844a1 of _0x4c85b8){const _0x17048c=this['_createContextButton'](_0x2844a1,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x17048c,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x19f973,_0x9161f3,_0x32b172){this['_resourcesBalloonView']['updateResourceState'](_0x19f973,_0x9161f3,_0x32b172);}['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:_0x1e2e52,withBackButton:_0x4ce2b1}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x1e2e52,'withBackButton':_0x4ce2b1}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x4622b3,_0x7c09f0,_0x2bd798,_0x2eb530){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x4622b3,_0x2bd798,_0x2eb530);}['closeSourceResourceBalloon'](_0x31b6ed){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x31b6ed),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x735dd7){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x735dd7),this['_setAddContextButtonEnabled'](_0x735dd7);}['_setAddContextButtonEnabled'](_0x10a5ed){const _0x3e192b=!_0x10a5ed['document']['isHidden']&&_0x10a5ed['document']['enabled'],_0x50a338=_0x10a5ed['urls']['enabled'],_0x2e3296=_0x10a5ed['files']['enabled'],_0x2a35e7=_0x10a5ed['sources']['length']>0x0,_0x9a24=_0x10a5ed['customItems']&&_0x10a5ed['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x3e192b||_0x50a338||_0x2e3296||_0x2a35e7||_0x9a24;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[Lm,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':$m},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0xa76df8){const _0x390263=new _0x4c508c(_0xa76df8);return _0x390263['set']({'label':Oo(_0xa76df8,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':Fm+'\x20'+Qm+'\x20'+yo,'icon':_0xec5cf0,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x390263;}['_createAddContextBalloonPanelView'](_0x1139d3){return this['_createBaseBalloonPanel'](_0x1139d3,Dm);}['_createUrlBalloonPanelView'](_0x5a6f01){const _0x569770=this['_createBaseBalloonPanel'](_0x5a6f01,Vm);return this['_addUrlContent'](_0x569770,_0x5a6f01),_0x569770;}['_createResourcesBalloonView'](_0x2c48ce,_0x17c42a){const _0x98e944={'searchInputVisibleFrom':_0x17c42a['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Xm});},'onResourceSelected':(_0x30d72b,_0x3e27c6)=>{this['fire']('addResourceToContext',{'source':_0x30d72b,'resource':_0x3e27c6});},'onLoadSourceResources':_0x5f2fa0=>{this['fire']('loadSourceResources',_0x5f2fa0);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x2c48ce,_0x17c42a['bodyCollection'],_0x98e944);}['_getLimiterElement'](){return this['element']?.['closest']('.'+Zm)||document['body'];}['_createBaseBalloonPanel'](_0x4ec0a2,_0x469c43){const _0x2ec3df=new mt(_0x4ec0a2);return _0x2ec3df['extendTemplate']({'attributes':{'class':_0x469c43}}),this['bodyCollection']['add'](_0x2ec3df),_0x2ec3df;}['_setBalloonPanelContent'](_0x272c28,_0xdf260c,_0x38b236){if(_0x272c28['content']['clear'](),!_0x38b236['document']['isHidden']&&_0x38b236['document']['enabled']){const _0xaf39ca=this['_createBalloonButton'](_0xdf260c,{'label':Oo(_0xdf260c,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x4fcba6});_0xaf39ca['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x272c28['content']['add'](_0xaf39ca);}if(_0x38b236['urls']['enabled']){const _0x1b3b02=this['_createBalloonButton'](_0xdf260c,{'label':Oo(_0xdf260c,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x3c2990});_0x1b3b02['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Xm}),this['_urlInputView']['focus']();}),_0x272c28['content']['add'](_0x1b3b02);}if(_0x38b236['files']['enabled']){const _0xb369bf=new Tt(_0xdf260c);_0xb369bf['set']({'label':Oo(_0xdf260c,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x3d11a9,'withText':!0x0,'tooltip':!0x0,'class':Um,'allowMultipleFiles':!0x0}),_0xb369bf['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0xb369bf['on']('done',(_0x23c37f,_0x2b0c19)=>{this['fire']('addFileToContext',_0x2b0c19);}),_0xb369bf['tooltip']=!0x0,_0x272c28['content']['add'](_0xb369bf);}for(const _0x34abea of _0x38b236['sources']){const _0x5e35d3=this['_createBalloonButton'](_0xdf260c,{'label':_0x34abea['label'],'icon':_0x34abea['icon']||_0x51eff3,'type':'source'});_0x272c28['content']['add'](_0x5e35d3),_0x5e35d3['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x34abea,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x5d17d3 of _0x38b236['customItems']||[]){const _0x5eb913=this['_createBalloonButton'](_0xdf260c,{'label':_0x5d17d3['label'],'icon':_0x5d17d3['icon']||_0x51eff3,'type':'customItem'});_0x272c28['content']['add'](_0x5eb913),_0x5eb913['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x5d17d3);});}this['_hasExactlyOneSource']=0x1===_0x272c28['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x310fb1,_0x6f6313){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x6f6313),this['_urlInputView']['on']('submitUrl',(_0x10722c,_0x362ec4)=>{this['_handleUrlSubmit'](_0x362ec4);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Xm}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Xm});}),_0x310fb1['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x3f0d11,_0x2ce672){const _0x476f20='source'===_0x2ce672['type']?new SourcesBalloonButtonView(_0x3f0d11):new _0x4c508c(_0x3f0d11);return _0x476f20['set']({'label':_0x2ce672['label'],'icon':_0x2ce672['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Um}),_0x476f20;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){gt({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x42499f){const _0x119559=this['_addContextBalloonConfig'];_0x119559['buttonView']['isOn']=_0x42499f,_0x42499f?_0x119559['balloonView']['show']():_0x119559['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x42b0fa,buttonView:_0x83d5b0,hideMethod:_0x35002e}=this['_addContextBalloonConfig'];gt({'emitter':_0x42b0fa,'contextElements':[_0x42b0fa['element'],_0x83d5b0['element']],'callback':()=>{_0x35002e();},'activator':()=>_0x83d5b0['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0xc87f76,_0x1be23e,_0x42945c=!0x1,_0x368b86=!0x1){const _0xad2a6e='conversation'===_0x1be23e||!0x0===_0xc87f76['isReadOnly'],_0xa0bf4d=new AIChatContextItemButtonView(this['locale'],_0xc87f76,_0xad2a6e,_0x42945c,_0x368b86);return _0xad2a6e||_0xa0bf4d['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0xa0bf4d['id']);}),_0xa0bf4d;}['_addContextToCollection'](_0x34af6f,_0x57baa2){_0x57baa2['add'](_0x34af6f,0x0);}['_removeContextFromCollection'](_0x1ebb53,_0xfdd114){const _0x44563b=_0xfdd114['find'](_0x1f7f6f=>_0x1f7f6f['id']===_0x1ebb53);_0x44563b&&_0xfdd114['remove'](_0x44563b);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':Xm}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x596ea0){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x596ea0);}}class SourcesBalloonButtonView extends _0x4c508c{['arrowView'];constructor(_0x3f71b6){super(_0x3f71b6),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[Bm]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x2ac3ad=new _0x468811();return _0x2ac3ad['content']=_0x56ba57,_0x2ac3ad['extendTemplate']({'attributes':{'class':Bm+'__arrow'}}),_0x2ac3ad;}}class AIChatControlsLoaderView extends _0xa34d16{['_cancelButtonView'];['_loaderView'];constructor(_0x57a86c){super(_0x57a86c),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 _0x103e77=new _0x4c508c(this['locale']);return _0x103e77['set']({'label':Oo(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':bo+'\x20ck-ai-button-stop-generating','icon':_0xe12a8e}),_0x103e77['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x103e77;}['_createLoaderView'](){const _0x3fcfa2=new _0xa34d16(this['locale']);return _0x3fcfa2['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':Oo(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x3fcfa2;}}class AIChatControlsView extends _0xa34d16{['_contextPanelView'];['_promptInputView'];['_dropZoneView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];['_filesEnabled'];constructor(_0x3126e4,_0x2f7ff8){super(_0x3126e4),this['_filesEnabled']=_0x2f7ff8['filesEnabled'],this['_contextPanelView']=this['_createContextPanelView'](_0x3126e4,{'bodyCollection':_0x2f7ff8['bodyCollection'],'searchInputVisibleFrom':_0x2f7ff8['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x3126e4),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x3126e4),this['_loaderView']=this['_createLoaderView'](_0x3126e4),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x3126e4),this['_dropZoneView']=new AIChatDropZoneView(_0x3126e4),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'](...Nm)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x50f615=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x50f615['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x50f615['if']('isLoading','ck-hidden',_0xbcfcc2=>_0xbcfcc2||!this['isModelAvailable']),_0x50f615['if']('isModelAvailable','ck-hidden',_0x5ae699=>!_0x5ae699||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x50f615['if']('isLoading','ck-hidden',_0x10d597=>!_0x10d597)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x50f615['if']('isModelAvailable','ck-hidden',_0xb8f237=>_0xb8f237)]},'children':[this['_modelUnavailableMessageView']]},this['_dropZoneView']]}),gt({'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'](_0x5a7240,_0x508d7b){return new AIChatContextPanelView(_0x5a7240,_0x508d7b);}['_createPromptInputView'](_0x9c558e){return new AIChatPromptInputView(_0x9c558e,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x4c02a1){return new AIChatPromptCapabilitiesView(_0x4c02a1);}['_createLoaderView'](_0x3f7853){return new AIChatControlsLoaderView(_0x3f7853);}['_createModelUnavailableMessageView'](_0x29d9c4){const _0x46ba56=new AIChatModelUnavailableMessageView(_0x29d9c4);return _0x46ba56['delegate']('startConversation')['to'](this),_0x46ba56;}['_handlePromptInputFocus'](_0x3c060b,_0x16d219,_0x14dc49){_0x14dc49?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0xc8fd95,_0x15c1db){this['_contextPanelView']['addContextItem'](_0xc8fd95,_0x15c1db);}['removeContextItem'](_0x1dfba9){this['_contextPanelView']['removeContextItem'](_0x1dfba9);}['setContextItemLoading'](_0x1734b4,_0xa01919){this['_contextPanelView']['setContextItemLoading'](_0x1734b4,_0xa01919);}['setIsUploadInProgress'](_0x55cc17){this['_promptInputView']['setIsUploadInProgress'](_0x55cc17);}['setConversationContext'](_0x113df9){this['_contextPanelView']['setConversationContext'](_0x113df9);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x40d751,_0x3d6625,_0x5e47da){this['_contextPanelView']['updateResourceState'](_0x40d751,_0x3d6625,_0x5e47da);}['setWebSearch'](_0x43552f){this['_promptCapabilitiesView']['setWebSearch'](_0x43552f);}['setReasoning'](_0x4edeb6){this['_promptCapabilitiesView']['setReasoning'](_0x4edeb6);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x53bfd3){this['_contextPanelView']['setAddContextOptions'](_0x53bfd3);}['setInputPlaceholder'](_0x19808c){this['_promptInputView']['setPlaceholderText'](_0x19808c);}['setModelList'](_0x5b62af,_0x5d8b09){this['_promptCapabilitiesView']['setModelList'](_0x5b62af,_0x5d8b09);}['setModel'](_0x5e62a0){_0x5e62a0?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x5e62a0)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0xa66373){this['_promptCapabilitiesView']['disableModelSelector'](_0xa66373);}['populateSourceResourceBalloon'](_0x162288,_0x4475a9,_0x1f6553,_0x174cb2){this['_contextPanelView']['populateSourceResourceBalloon'](_0x162288,_0x4475a9,_0x1f6553,_0x174cb2);}['closeSourceResourceBalloon'](_0x5a88ef){this['_contextPanelView']['closeSourceResourceBalloon'](_0x5a88ef);}['focusPromptInput'](_0x667ba5=!0x1){this['_promptInputView']['focus'](_0x667ba5);}['setPromptInputValue'](_0x2adac2){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x2adac2;}}class AIChatModelUnavailableMessageView extends _0xa34d16{constructor(_0x3845db){super(_0x3845db);const _0x4491c3=new _0x4c508c(_0x3845db);_0x4491c3['set']({'label':Oo(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x4491c3['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':Oo(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x4491c3]}]});}}class AIHeaderView extends vt{['resizeButton'];constructor(_0x461a95,_0x2daa92){super(_0x461a95,{'label':_0x2daa92['label'],'class':'ck-ai-header\x20'+_0x2daa92['class'],'icon':_0x2daa92['icon']}),this['set']('isMaximized',!0x1),_0x2daa92['content']&&this['children']['add'](_0x2daa92['content']),_0x2daa92['showResizeButton']&&(this['resizeButton']=vo(_0x461a95,this),this['children']['add'](this['resizeButton']));}}class AIDisclaimerView extends _0xa34d16{constructor(_0xe35fbf){super(_0xe35fbf),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':Oo(_0xe35fbf,'AI_DISCLAIMER_TEXT')}]}]});}}function qm(_0x18b979,_0x4daad4){const _0x323f05=new _0x4c508c(_0x18b979);return _0x323f05['set']({'label':Oo(_0x18b979,'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x20d5b9,'class':'ck-ai-chat__start-conversation\x20'+bo}),_0x323f05['on']('execute',()=>{_0x4daad4['fire']('startConversation');}),_0x323f05;}class AIChatView extends _0xa34d16{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x3f78d0,_0x4227be){super(_0x3f78d0),this['_bodyCollection']=new ft(_0x3f78d0),this['_bodyCollection']['attachToDom']();const _0x5d8f00=qm(_0x3f78d0,this);this['chatHeader']=new AIHeaderView(_0x3f78d0,{'label':Oo(_0x3f78d0,'AI_CHAT_HEADING'),'icon':_0x15447f,'class':'ck-ai-header_chat','content':_0x5d8f00,'showResizeButton':_0x4227be['showResizeButton']}),this['chatHeader']['delegate']('resizeTabs')['to'](this),this['chatFeed']=new AIChatFeedView(_0x3f78d0,this['_bodyCollection']),this['chatFeed']['delegate'](...If)['to'](this),this['chatControls']=new AIChatControlsView(_0x3f78d0,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x4227be['contextResourcesSearchInputVisibleFrom'],'filesEnabled':_0x4227be['filesEnabled']}),this['chatControls']['delegate'](...If)['to'](this),this['chatDisclaimer']=new AIDisclaimerView(_0x3f78d0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x3f78d0['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x58ad0d,_0x4455e8,_0x193f17,_0x3f53aa){this['chatControls']['populateSourceResourceBalloon'](_0x58ad0d,_0x4455e8,_0x193f17,_0x3f53aa);}['closeSourceResourceBalloon'](_0x16893e){this['chatControls']['closeSourceResourceBalloon'](_0x16893e);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}class AIChatUI extends _0x304a5a{static get['requires'](){return[AITabs];}['_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(_0x5cb36f){super(_0x5cb36f);const _0x345e4a=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new PromiseQueue(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x345e4a['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'](_0x345e4a),this['_view']['delegate'](...If)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x2039a0,{showDiff:_0x48bc8c})=>{this['showDiff']=_0x48bc8c;}),this['disableControls'](),_0x345e4a['view']['addTab']({'id':'chat','buttonLabel':Oo(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x15447f,'order':0x0,'content':this['_view']}),this['_view']['chatHeader']['bind']('isMaximized')['to'](_0x345e4a['view'],'isMaximized',_0x474bf6=>_0x474bf6),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x37ae5b=>_0x37ae5b),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x475c28){const _0x344751=this['context']['config']['get']('ai.chat.welcomeMessage')??Oo(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x475c28['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x344751}),this['fire']('conversationCreated');}async['addFeedItemStaticMessage']({id:_0x57d685,staticMessage:_0x3aec5a}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x57d685,'initialContent':'<p>'+_0x3aec5a+'</p>'});});}async['addFeedItemUserMessage'](_0x3c29b3){const _0x3f58a8=_0x3c29b3['attributes']?.['displayedPrompt']||_0x3c29b3['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x3c29b3['contextItems']['values']()),'initialContent':'<p>'+_0x3f58a8+'</p>','id':_0x3c29b3['id']});});}async['addFeedItemError']({errorMessage:_0x6b7cd4,id:_0x59db9b}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x6b7cd4+'</p>','id':_0x59db9b});});}async['addFeedItemAIReply'](_0x838b7d){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x838b7d['interactionId']+':'+_0x838b7d['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x3942b7){const _0x4e1bb9=wf(this['context']),_0x586cfa=_0x4e1bb9['map'](_0x2dddff=>_0x2dddff['config']['get']('ai.availableReplyActions')||[...Gf]);let _0x3c2d8a=_0x586cfa['reduce']((_0x427c46,_0x24158e)=>_0x427c46['filter'](_0x345be3=>_0x24158e['includes'](_0x345be3)),_0x586cfa[0x0]||[...Gf]);const _0x83be45=_0x4e1bb9['every'](_0x3ef1ce=>_0x3ef1ce['plugins']['has']('TrackChanges')),_0x44f755=_0x4e1bb9['map'](_0x515923=>_0x515923['commands']['get']('trackChanges'));return _0x83be45?this['_isTrackChangesCommandValueBound']||(this['_isTrackChangesCommandValueBound']=!0x0,this['_view']['chatFeed']['bind']('isTrackChangesOn')['toMany'](_0x44f755,'value',(..._0x2ac255)=>_0x2ac255['some'](_0x1ece94=>_0x1ece94))):_0x3c2d8a=_0x3c2d8a['filter'](_0x566afa=>'insertSuggestion'!=_0x566afa),this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x3942b7['interactionId']+':'+_0x3942b7['id'],'areActionsDisabled':_0x3942b7['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x3c2d8a}),this['clearLoadingMessage']();});}async['addFeedInteractionHeader'](_0x24d22b,_0xc7b03f){return this['_promiseQueue']['enqueue'](async()=>{const _0xc9486b=this['_view']['chatFeed']['children']['last'];if(_0xc9486b instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0xc9486b),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x24d22b['id'],'capabilities':{'isWebSearchEnabled':_0xc9486b['capabilities']['isWebSearchEnabled']||_0xc7b03f['isWebSearchEnabled'],'isReasoningEnabled':_0xc9486b['capabilities']['isReasoningEnabled']||_0xc7b03f['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x24d22b['id'],'capabilities':_0xc7b03f});});}async['addFeedItemCustomElement'](_0x5b0761,_0x3a67fb){let _0x4e7c9e;return await this['_promiseQueue']['enqueue'](async()=>{_0x4e7c9e=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x5b0761,'id':_0x3a67fb});}),_0x4e7c9e;}['removeFeedItem'](_0x5ef4cd){this['_view']['chatFeed']['removeItem'](_0x5ef4cd);}['hasFeedItem'](_0xcb801){return this['_view']['chatFeed']['hasItem'](_0xcb801);}['updateFeedInteractionHeader'](_0x2c6019){const _0x497bae=this['_view']['chatFeed']['children']['find'](_0x3ba416=>_0x3ba416['options']['id']==_0x2c6019['id']&&_0x3ba416 instanceof AIChatFeedInteractionHeaderView);_0x497bae&&_0x497bae['set']('isVisible',_0x2c6019['isVisible']);}async['updateFeedItemAIReplyContent'](_0x302bbe){const _0x2de2c7=_0x302bbe['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x307ad7=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x302bbe,'abortSignal':_0x307ad7,'renderingStrategy':_0x2de2c7}),_0x302bbe['isDone']&&this['markFeedItemAsDone'](_0x302bbe['id']);});}['updateFeedItemAIReplySources'](_0x57dceb,_0x1aad85){this['_view']['chatFeed']['updateWebSources'](_0x57dceb,_0x1aad85);}async['updateFeedItemAIReplySuggestionContent'](_0x48e84b){return this['_promiseQueue']['enqueue'](async _0xb79876=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x48e84b,'abortSignal':_0xb79876}),_0x48e84b['isDone']&&this['markFeedItemAsDone'](_0x48e84b['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x3e9dd7){this['_view']['chatFeed']['updateSuggestionPartState'](_0x3e9dd7);}['setFeedItemAIReplySuggestionPartActive'](_0x268562){this['_view']['chatFeed']['setSuggestionPartActive'](_0x268562);}['markFeedItemAsDone'](_0x166964){this['_view']['chatFeed']['markItemAsDone'](_0x166964);}['removeFeedInteraction'](_0x41e45e){this['_view']['chatFeed']['getItemIds']()['filter'](_0x45bcdf=>_0x45bcdf['startsWith'](_0x41e45e))['forEach'](_0x485d95=>this['_view']['chatFeed']['removeItem'](_0x485d95));}['startInteraction'](){const _0x16e7e6=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x16e7e6),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x1775cc){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x29da98=>_0x29da98['startsWith'](_0x1775cc['id']))['forEach'](_0x136817=>this['markFeedItemAsDone'](_0x136817)),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'](_0x4b4aad,_0x568df5){this['_view']['chatControls']['addContextItem'](_0x4b4aad,_0x568df5);}['removeContextItem'](_0x4d1e8a){this['_view']['chatControls']['removeContextItem'](_0x4d1e8a);}['setContextItemLoading'](_0x49eac3,_0x1e9014){this['_view']['chatControls']['setContextItemLoading'](_0x49eac3,_0x1e9014);}['setIsUploadInProgress'](_0x477529){this['_view']['chatControls']['setIsUploadInProgress'](_0x477529);}['setConversationContext'](_0x3a5994){this['_view']['chatControls']['setConversationContext'](_0x3a5994);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x403486,_0x155fb7,_0x2227ec){this['_view']['chatControls']['updateResourceState'](_0x403486,_0x155fb7,_0x2227ec);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x8a0ba9){this['_view']['chatControls']['setAddContextOptions'](_0x8a0ba9);}['updateCapabilities'](_0x28e057){this['_view']['chatControls']['setWebSearch'](_0x28e057['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x28e057['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x28e057));}['setSelectedModel'](_0x48860c,_0x31c15a){this['_view']['chatControls']['setModel'](_0x48860c),_0x31c15a&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x3bbee4){this['feedItemRenderingStrategy']=_0x3bbee4;}['toggleLoadingSkeleton'](_0x3c23d9){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x3c23d9);}['resetConversationTitle'](){this['setConversationTitle'](Oo(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x2513d0,_0x30a7fd=!0x1){if(_0x30a7fd&&!_0xef0d87()&&_0x2513d0['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x2513d0);this['_view']['chatHeader']['label']=_0x2513d0;}['setLoadingMessage'](_0x1bc18c){this['_view']['chatFeed']['setLoadingMessage'](_0x1bc18c);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x367738){let _0xd55191=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x367738[_0xd55191],_0xd55191++,_0xd55191===_0x367738['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['prepareLoadingMessage'](_0x5f3628){return _0x5f3628['isWebSearchEnabled']&&_0x5f3628['isReasoningEnabled']?Oo(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x5f3628['isWebSearchEnabled']?Oo(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x5f3628['isReasoningEnabled']?Oo(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):Oo(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x482e9a){return _0x482e9a?_0x482e9a['isWebSearchEnabled']&&_0x482e9a['isReasoningEnabled']?Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x482e9a['isWebSearchEnabled']?Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x482e9a['isReasoningEnabled']?Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):Oo(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x195e9f,_0x22b107,_0x59b3a7,_0x5d64b5){this['_view']['populateSourceResourceBalloon'](_0x195e9f,_0x22b107,_0x59b3a7,_0x5d64b5);}['closeSourceResourceBalloon'](_0x12179c){this['_view']['closeSourceResourceBalloon'](_0x12179c);}['setPromptInputValue'](_0x4ebfbb){this['_view']['chatControls']['setPromptInputValue'](_0x4ebfbb);}['focusPromptInput'](_0x2f0c29=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x2f0c29);}['scrollFeedToSuggestion'](_0x2756b6,_0x3a39f4){this['_view']['chatFeed']['scrollToSuggestion'](_0x2756b6,_0x3a39f4);}['startAutoScroll'](_0x1d7414={}){this['_view']['chatFeed']['startAutoScroll'](_0x1d7414);}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends _0x1688f4{['sections'];constructor(_0x3b8b4a,_0x3c462d){super(_0x3b8b4a),this['sections']=_0x3c462d,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x232bd1){let _0x4464b9=0x0,_0x29f7c7=0x0;for(const _0x2d9cd9 of this['sections']){const {resultsCount:_0x7a409c,totalItemsCount:_0x58426e}=_0x2d9cd9['filter'](_0x232bd1);_0x4464b9+=_0x7a409c,_0x29f7c7+=_0x58426e;}return{'resultsCount':_0x4464b9,'totalItemsCount':_0x29f7c7};}}class AIChatHistoryListView extends _0xcc051a{['title'];['itemsViews'];['_itemsListView'];constructor(_0x8a748d,{title:_0x4bc34a,items:_0x27e831}){super(_0x8a748d);const _0x593414=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x4bc34a,this['itemsViews']=_0x27e831;const _0x369ba2=new _0xa34d16(_0x8a748d);_0x369ba2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x1688f4(_0x8a748d),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x593414['if']('isVisible','ck-hidden',_0x35ff91=>!_0x35ff91)]},'children':[_0x369ba2,this['_itemsListView']]});}['filter'](_0x328f9d){const _0x1a8b57=this['itemsViews']['length'];let _0x4590db=0x0;for(const _0x41ff2c of this['itemsViews']){if(_0x328f9d){const _0x190ed8=_0x41ff2c['isMatching'](_0x328f9d);_0x41ff2c['isVisible']=!!_0x190ed8,_0x41ff2c['highlightText'](_0x328f9d);}else _0x41ff2c['isVisible']=!0x0,_0x41ff2c['highlightText'](null);_0x41ff2c['isVisible']&&_0x4590db++;}return this['isVisible']=_0x4590db>0x0,{'resultsCount':_0x4590db,'totalItemsCount':_0x1a8b57};}['getItem'](_0x5b6770){return this['itemsViews']['find'](_0xcc7de9=>_0xcc7de9['id']===_0x5b6770);}['removeItem'](_0x432471){const _0x3e51e2=this['itemsViews']['indexOf'](_0x432471);-0x1!==_0x3e51e2&&(this['itemsViews']['splice'](_0x3e51e2,0x1),this['_itemsListView']['items']['remove'](_0x432471));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
$d(_0xcc051a){['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(_0x426ef0,_0x190ed1){super(_0x426ef0);const _0x4e5d72=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x190ed1['pinned']),this['set']('loadingState',null),this['set']('title',_0x190ed1['title']),this['id']=_0x190ed1['id'];const {createdAt:_0x1e6213,active:_0x416d73=!0x1}=_0x190ed1;this['_titleView']=new _t(),this['_titleView']['bind']('text')['to'](this,'title'),this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x449311=this['_createCheckView'](),_0xda2edd=this['_createPinButtonView'](_0x426ef0),_0x1a6d18=this['_createMenuDropdownView'](),_0x4ccb1e=this['_createEditInputView'](_0x426ef0),_0x4c3ace=this['_createAcceptEditButtonView'](_0x426ef0,_0x4ccb1e),_0x51ccf2=this['_createCancelEditButtonView'](_0x426ef0);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0xda2edd),this['actions']['add'](_0x1a6d18),this['on']('change:isEdit',(_0x475d2c,_0x73f3bd,_0x23bca8)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x23bca8?(this['actions']['add'](_0x4c3ace),this['actions']['add'](_0x51ccf2),this['mainContent']['add'](_0x4ccb1e),_0x4ccb1e['element']['value']=this['title']||'',_0x4ccb1e['element']['focus']()):(this['actions']['add'](_0xda2edd),this['actions']['add'](_0x1a6d18),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x416d73?'ck-ai-chat-history__item--active':'',_0x4e5d72['if']('isVisible','ck-hidden',_0x5ac8f4=>!_0x5ac8f4),_0x4e5d72['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',_0x4e5d72['if']('loadingState','ck-hidden',_0x12ffda=>!!_0x12ffda)]},'children':_0x416d73?[_0x449311]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x4e5d72['if']('loadingState','ck-hidden',_0xd16a22=>!_0xd16a22)]},'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',_0x4e5d72['if']('loadingState','ck-hidden',_0x5ad94e=>!!_0x5ad94e)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x4e5d72['if']('loadingState','ck-hidden',_0x5be43c=>!_0x5be43c)]},'children':[{'text':_0x4e5d72['to']('loadingState',_0x413482=>_0x413482?Oo(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x413482]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x1e6213]}]},{'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'](_0x1d9123){this['set']('title',_0x1d9123);}['updateLoadingState'](_0x36e7f6,_0x12b32c){this['set']('loadingState',_0x12b32c?_0x36e7f6:null);}['_createCheckView'](){const _0x1c840d=new _0x468811();return _0x1c840d['set']({'content':_0x253584}),_0x1c840d;}['_createPinButtonView'](_0x12cdbc){const _0x3ebe40=new _0x4c508c(_0x12cdbc);return _0x3ebe40['set']({'label':Oo(_0x12cdbc,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0x1203b0,'withText':!0x1,'tooltip':!0x0}),_0x3ebe40['bind']('isOn')['to'](this,'pinned'),_0x3ebe40['on']('execute',()=>{const _0x1df768=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x1df768});}),_0x3ebe40;}['_createMenuDropdownView'](){const _0x2a1280=nt(this['locale']),_0x26edca=_0x2a1280['panelView']['children'];_0x2a1280['buttonView']['set']({'label':Oo(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x56368b}),_0x2a1280['panelPosition']='sw';const _0x3f6ea7=new _0x4c508c(this['locale']);_0x3f6ea7['label']=Oo(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x3f6ea7['withText']=!0x0,_0x3f6ea7['on']('execute',()=>{this['isEdit']=!0x0;});const _0x16dbae=new _0x4c508c(this['locale']);_0x16dbae['label']=Oo(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x16dbae['withText']=!0x0,_0x16dbae['on']('execute',()=>{this['showConfirm'](Oo(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x3815d2=new _0x1688f4(this['locale']),_0x1e6101=new _0xcc051a(this['locale']);_0x1e6101['children']['add'](_0x3f6ea7);const _0x5dd1b1=new _0xcc051a(this['locale']);return _0x5dd1b1['children']['add'](_0x16dbae),_0x3815d2['items']['addMany']([_0x1e6101,_0x5dd1b1]),_0x26edca['add'](_0x3815d2),_0x2a1280;}['_createEditInputView'](_0x1eadfe){const _0x357c95=new At(_0x1eadfe),_0x19ea5e=_0x357c95['bindTemplate'];return _0x357c95['extendTemplate']({'on':{'keydown':_0x19ea5e['to'](_0x32d881=>{'Enter'==_0x32d881['key']&&this['_commitEditInputValue'](_0x357c95);})}}),_0x357c95;}['_createAcceptEditButtonView'](_0x56d3ec,_0x83f6fb){const _0x7f9371=new _0x4c508c(_0x56d3ec);return _0x7f9371['set']({'icon':_0x253584,'withText':!0x1,'tooltip':Oo(_0x56d3ec,'AI_CHAT_HISTORY_ACCEPT')}),_0x7f9371['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x7f9371['on']('execute',()=>{this['_commitEditInputValue'](_0x83f6fb);}),_0x7f9371;}['_commitEditInputValue'](_0x4e636f){const _0x55b9aa=_0x4e636f['element']['value']||'';this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x55b9aa});}['_createCancelEditButtonView'](_0x113d31){const _0x3e12d1=new _0x4c508c(_0x113d31);return _0x3e12d1['set']({'icon':_0x3f6f57,'withText':!0x1,'tooltip':Oo(_0x113d31,'AI_CHAT_HISTORY_CANCEL')}),_0x3e12d1['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x3e12d1['on']('execute',()=>{this['isEdit']=!0x1,this['fire']('edit:cancel');}),_0x3e12d1;}['_createSpinnerView'](){const _0x4f7b15=new AISpinnerView('tiny');return _0x4f7b15['isVisible']=!0x0,_0x4f7b15;}['isMatching'](_0x29efb3){return'string'==typeof this['title']&&this['title']['match'](_0x29efb3)?{'title':!0x0}:null;}['highlightText'](_0x51a98f){this['_titleView']['highlightText'](_0x51a98f);}}class AIChatHistoryView extends _0xa34d16{['headerView'];['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];constructor(_0x19f22e,_0x7afa27){super(_0x19f22e),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x4aa9f2=qm(_0x19f22e,this);this['headerView']=new AIHeaderView(_0x19f22e,{'label':Oo(_0x19f22e,'AI_CHAT_HISTORY_HEADING'),'icon':_0x3fae78,'class':'ck-ai-header_history','content':_0x4aa9f2,'showResizeButton':_0x7afa27}),this['headerView']['delegate']('resizeTabs')['to'](this),this['sectionsView']=new AIChatHistorySectionListView(_0x19f22e,[]),this['sectionsView']['delegate'](...Wm)['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',_0x3b267d=>!_0x3b267d)]}}),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 _0x3c950d=new It(this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':Oo(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x58c407=>Oo(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x58c407),'secondary':Oo(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x3ef7d4=this['_createErrorView']();return _0x3ef7d4['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x19e6cd=>!_0x19e6cd)]}}),_0x3c950d['on']('render',()=>{_0x3c950d['children']['add'](_0x3ef7d4,0x1);}),_0x3c950d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x4f86ed=>!_0x4f86ed)]}}),_0x3c950d;}['_createSkeletonView'](){const _0x288ed2=new AISkeletonView(this['locale'],jf['aiHistory']);return _0x288ed2['bind']('isVisible')['to'](this,'isLoading'),_0x288ed2;}['_createErrorView'](){const _0x5cecfe=new _0xa34d16(this['locale']),_0x4164e7=new _0x4c508c(this['locale']);_0x4164e7['set']({'withText':!0x1,'icon':_0x3f6f57,'class':'ck-ai-notification_error__dismiss-button'}),_0x4164e7['bind']('isVisible')['to'](this,'hasItems',_0x4154d7=>!!_0x4154d7),_0x4164e7['on']('execute',()=>{this['errorMessage']='';});const _0x2b60bf=this['bindTemplate'];return _0x5cecfe['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x2b60bf['to']('errorMessage')}]},_0x4164e7]}),_0x5cecfe;}['_createEmptyStateView'](){const _0x2f665b=new _0xa34d16(this['locale']);return _0x2f665b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x3c88ea=>!_0x3c88ea)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[Oo(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]}]}),_0x2f665b;}['_createListItemViews'](_0xb6fd9c,_0x3e32a2){const _0x299790=[];for(const _0x47d385 of _0xb6fd9c){const _0x121ad4=new AIChatHistoryListItemView(_0x3e32a2,_0x47d385);_0x121ad4['delegate'](...Wm)['to'](this),_0x299790['push'](_0x121ad4);}return _0x299790;}['updateHistoryItemsWithCategories'](_0x34b739){const _0x510acd=this['locale']||'en',_0x2a823d=[];for(const _0x815457 of _0x34b739){const _0x244c30=this['_createListItemViews'](_0x815457['items'],_0x510acd);_0x2a823d['push'](new AIChatHistoryListView(_0x510acd,{'title':_0x815457['title'],'items':_0x244c30}));}this['sectionsView']['sections']=_0x2a823d,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x2a823d),this['hasItems']=_0x34b739['some'](_0xd311b2=>_0xd311b2['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x5377c9){for(const _0x2b1884 of this['sectionsView']['sections']){const _0x14d975=_0x2b1884['getItem'](_0x5377c9);if(_0x14d975){if(_0x2b1884['removeItem'](_0x14d975),0x0===_0x2b1884['itemsViews']['length']){const _0x4e3716=this['sectionsView']['sections']['indexOf'](_0x2b1884);-0x1!==_0x4e3716&&(this['sectionsView']['sections']['splice'](_0x4e3716,0x1),this['sectionsView']['items']['remove'](_0x2b1884));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x148de6,_0x20964d){for(const _0x2eb435 of this['sectionsView']['sections']){const _0xe9f704=_0x2eb435['getItem'](_0x148de6);if(_0xe9f704){_0xe9f704['updateTitle'](_0x20964d);break;}}}['updateItemLoadingState'](_0x14ef5d,_0x268865,_0x55fe39){for(const _0x4f5234 of this['sectionsView']['sections']){const _0xc38081=_0x4f5234['getItem'](_0x14ef5d);if(_0xc38081){_0xc38081['updateLoadingState'](_0x268865,_0x55fe39);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x36715f=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x36715f);}}}const Wm=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','startConversation'];class AIChatHistoryUI extends _0x304a5a{static get['requires'](){return[AITabs];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x45c4f0){super(_0x45c4f0);const _0x227651=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x227651['showResizeButton']),this['_historyView']['delegate']('resizeTabs')['to'](_0x227651),this['_historyView']['delegate'](...Wm)['to'](this),this['_historyView']['headerView']['bind']('isMaximized')['to'](_0x227651['view'],'isMaximized',_0x526a4f=>_0x526a4f),_0x227651['view']['addTab']({'id':'history','buttonLabel':Oo(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x3fae78,'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x42f824){this['_historyView']['removeHistoryItem'](_0x42f824);}['updateItems'](_0x145485){this['_historyView']['updateHistoryItemsWithCategories'](_0x145485);}['updateItemTitle'](_0xde6372,_0x4883e0){this['_historyView']['updateItemTitle'](_0xde6372,_0x4883e0);}['updateItemLoadingState'](_0x91b799,_0x5f1753,_0x45b83c){this['_historyView']['updateItemLoadingState'](_0x91b799,_0x5f1753,_0x45b83c);}['setLoadingSkeleton'](_0x293d1b){this['_historyView']['isLoading']=_0x293d1b;}['showError'](_0x556e39){this['_historyView']['errorMessage']=_0x556e39;}['hideError'](){this['_historyView']['errorMessage']='';}}class AIChatHistoryItem extends _0x4e29c1(){['id'];['createdAt'];constructor({id:_0x17f0a9,title:_0x532744,createdAt:_0x43d535,updatedAt:_0x28ee98,pinned:_0x56acd1}){super(),this['id']=_0x17f0a9,this['createdAt']=new Date(_0x43d535),this['set']('title',_0x532744),this['set']('updatedAt',_0x28ee98?new Date(_0x28ee98):null),this['set']('pinned',_0x56acd1||!0x1);}['updateTitle'](_0x107689){this['set']('title',_0x107689),this['updatedAt']=new Date();}['updatePinned'](_0x2a9318){this['set']('pinned',_0x2a9318),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends _0x3cde5f(){['items']=[];['connector'];['group'];constructor({connector:_0x4e7fd1,group:_0x2d0ec8}){super(),this['connector']=_0x4e7fd1,this['group']=_0x2d0ec8;}async['init'](){try{const _0x438f97=this['connector']['fetchConversations'](this['group']),_0x2a299c=await _0x438f97['getConversations']();this['loadItems'](_0x2a299c);}catch(_0x5802f5){this['fire']('error',{'error':_0x5802f5,'operation':'init'});}}['addItem'](_0x2e5919){this['items']['push'](_0x2e5919);}async['removeItem'](_0x4e2506){const _0x2b2882=this['items']['findIndex'](_0xea2641=>_0xea2641['id']===_0x4e2506);if(-0x1===_0x2b2882)return!0x1;try{return await this['connector']['deleteConversation'](_0x4e2506)['execute'](),this['items']['splice'](_0x2b2882,0x1),this['fire']('itemRemoved',{'itemId':_0x4e2506}),!0x0;}catch(_0x247b62){return this['fire']('error',{'error':_0x247b62,'operation':'removeItem','itemId':_0x4e2506}),!0x1;}}['getItem'](_0x2cc039){return this['items']['find'](_0x2eb45a=>_0x2eb45a['id']===_0x2cc039);}async['updateItemTitle'](_0x3d69e3,_0x30a743){const _0x29971e=this['getItem'](_0x3d69e3);if(!_0x29971e)return!0x1;try{return await this['connector']['updateConversation'](_0x3d69e3,{'title':_0x30a743})['getResult'](),_0x29971e['updateTitle'](_0x30a743),this['fire']('itemUpdated',{'itemId':_0x3d69e3,'updates':{'title':_0x30a743}}),!0x0;}catch(_0x5f14d7){return this['fire']('error',{'error':_0x5f14d7,'operation':'updateItemTitle','itemId':_0x3d69e3}),!0x1;}}async['updateItemPinned'](_0x349b92,_0x3f5c18){const _0x1718da=this['getItem'](_0x349b92);if(!_0x1718da)return!0x1;try{return await this['connector']['updateConversation'](_0x349b92,{'pinned':_0x3f5c18})['getResult'](),_0x1718da['updatePinned'](_0x3f5c18),this['fire']('itemUpdated',{'itemId':_0x349b92,'updates':{'pinned':_0x3f5c18}}),!0x0;}catch(_0x378614){return this['fire']('error',{'error':_0x378614,'operation':'updateItemPinned','itemId':_0x349b92}),!0x1;}}['loadItems'](_0x135e71){try{this['items']=[],_0x135e71['map'](_0x2c2e4b=>{this['addItem'](new AIChatHistoryItem(_0x2c2e4b));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x175a25){this['fire']('error',{'error':_0x175a25,'operation':'loadItems'});}}['getItems'](_0x238156={}){const _0x5ef6f3=void 0x0!==_0x238156['pinned']&&_0x238156['pinned'],_0x35bcc4=_0x238156['from']?new Date(_0x238156['from']['getFullYear'](),_0x238156['from']['getMonth'](),_0x238156['from']['getDate']()):null,_0x1f9805=_0x238156['to']?new Date(_0x238156['to']['getFullYear'](),_0x238156['to']['getMonth'](),_0x238156['to']['getDate']()):null;return this['items']['filter'](_0xffd69b=>{if(_0xffd69b['pinned']!==_0x5ef6f3)return!0x1;if(_0x1f9805){const _0x1c0e32=new Date(_0xffd69b['createdAt']['getFullYear'](),_0xffd69b['createdAt']['getMonth'](),_0xffd69b['createdAt']['getDate']());return _0x35bcc4?_0x35bcc4['getTime']()===_0x1f9805['getTime']()?_0x1c0e32['getTime']()===_0x35bcc4['getTime']():_0x1c0e32<_0x1f9805&&_0x1c0e32>=_0x35bcc4:_0x1c0e32<_0x1f9805;}return!0x0;});}}class AIChatHistoryController extends _0x304a5a{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,AITabs];}static get['pluginName'](){return'AIChatHistoryController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiConnector']=this['context']['plugins']['get'](AIConnector),this['_aiChatHistoryUi']=this['context']['plugins']['get'](AIChatHistoryUI),this['_aiChatController']=this['context']['plugins']['get'](AIChatController);const _0xeb3f25=this['context']['plugins']['get'](AITabs);try{const _0x434f81=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x434f81}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x34b527,_0x2501d0)=>{this['_setItemLoading'](_0x2501d0['id'],'remove'),this['_handleRemove'](_0x2501d0['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x2fac86,_0x35cbfa)=>{this['_setItemLoading'](_0x35cbfa['id'],'rename'),this['_handleEditTitle'](_0x35cbfa['id'],_0x35cbfa['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x528839,_0x13c6e6)=>{void 0x0!==_0x13c6e6['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x13c6e6['itemId'],_0x13c6e6['updates']['title']),void 0x0!==_0x13c6e6['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x13c6e6['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x25d344,_0x22e727)=>{this['_aiChatController']['_handleRemovedConversation'](_0x22e727['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x22e727['itemId']),this['_clearItemLoading'](_0x22e727['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x2f2c92,_0x13f566)=>{this['_handleHistoryErrorUI'](_0x13f566['error'],_0x13f566['operation'],_0x13f566['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x386120,_0x12de93)=>{this['_handleSelectConversation'](_0x12de93['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x3dc1d9,_0x1de173)=>{const _0x1a693b=_0x1de173['pinned']?'pin':'unpin';this['_setItemLoading'](_0x1de173['id'],_0x1a693b),this['_handleTogglePin'](_0x1de173['id'],_0x1de173['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'startConversation',()=>{this['_aiChatController']['startConversation'](),_0xeb3f25['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0xeb3f25['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();});}catch(_0x35e40a){this['_handleHistoryErrorUI'](_0x35e40a,'init');}}async['_handleEditTitle'](_0x4efd40,_0x46321e){await this['history']['updateItemTitle'](_0x4efd40,_0x46321e);}async['_handleTogglePin'](_0x3d625f,_0x3ebccc){await this['history']['updateItemPinned'](_0x3d625f,_0x3ebccc);}async['_handleRemove'](_0x393539){await this['history']['removeItem'](_0x393539);}async['_handleSelectConversation'](_0x1474f1){await this['_aiChatController']['loadConversation'](_0x1474f1);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x1af7aa=this['_aiChatController']['activeConversation']?.['id'],_0x18fbbf=this['_getCategorizedItems']()['map'](_0x1409ba=>({'title':_0x1409ba['title'],'items':_0x1409ba['items']['map'](_0xb0c868=>({'id':_0xb0c868['id'],'title':_0xb0c868['title']||Oo(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0xb0c868['createdAt'])['toLocaleDateString'](),'active':_0xb0c868['id']===_0x1af7aa,'pinned':_0xb0c868['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x18fbbf);}['_setItemLoading'](_0x2ebe24,_0x488507){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x2ebe24,_0x488507,!0x0);}['_clearItemLoading'](_0x77caa7){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x77caa7,null,!0x1);}['_handleHistoryErrorUI'](_0x143ebf,_0x319c98,_0x3acd24){const _0x4694cd=this['_generateErrorMessage'](_0x319c98,_0x3acd24);this['_aiChatHistoryUi']['showError'](_0x4694cd),_0x3acd24&&this['_clearItemLoading'](_0x3acd24),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x2e086f,_0x289d86){const _0x33dccd=_0x289d86?this['history']['getItem'](_0x289d86):null,_0x5d5dab=_0x33dccd?.['title']||Oo(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x2e086f){case'updateItemTitle':return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x5d5dab);case'updateItemPinned':{const _0x26690f=Oo(this['context']['locale'],_0x33dccd?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x26690f,_0x5d5dab]);}case'removeItem':return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x5d5dab);case'init':case'loadItems':return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return Oo(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x22413e=new Date(),_0x403185=new Date(_0x22413e['getFullYear'](),_0x22413e['getMonth'](),_0x22413e['getDate']()),_0x2d26bb=new Date(_0x403185);_0x2d26bb['setDate'](_0x2d26bb['getDate']()-0x1);const _0x4586a7=new Date(_0x403185);_0x4586a7['setDate'](_0x4586a7['getDate']()-0xe);const _0x1ff66e=this['history']['getItems']({'pinned':!0x0}),_0x36bb9a=this['history']['getItems']({'from':_0x403185,'to':_0x403185}),_0x32e4aa=this['history']['getItems']({'from':_0x2d26bb,'to':_0x2d26bb}),_0x10e586=this['history']['getItems']({'from':_0x4586a7,'to':_0x2d26bb}),_0x1d36dc=this['history']['getItems']({'to':_0x4586a7}),_0x5c078f=[];return _0x1ff66e['length']>0x0&&_0x5c078f['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x1ff66e}),_0x36bb9a['length']>0x0&&_0x5c078f['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x36bb9a}),_0x32e4aa['length']>0x0&&_0x5c078f['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x32e4aa}),_0x10e586['length']>0x0&&_0x5c078f['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x10e586}),_0x1d36dc['length']>0x0&&_0x5c078f['push']({'title':Oo(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x1d36dc}),_0x5c078f;}}class AIChatHistory extends _0x304a5a{static get['requires'](){return[AIChatHistoryController,AIChatHistoryUI];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AIChat extends _0x304a5a{static get['requires'](){return[AIChatController,AIEditing,AIChatUI,AIChatHistory];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe3822){super(_0xe3822),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');}}class AIChatShortcutView extends _0x4c508c{['id'];constructor(_0x244636,_0x192653){super(_0x244636);const {id:_0x21f4f0,type:_0x25fdf8,icon:_0x1e5d64}=_0x192653;this['id']=_0x21f4f0,this['set']({'label':_0x192653['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x192653['id']}}),_0x1e5d64?this['icon']=_0x1e5d64:'chat'===_0x25fdf8?this['icon']=_0x15447f:'review'===_0x25fdf8?this['icon']=_0x208016:'translate'===_0x25fdf8&&(this['icon']=_0x1b2af2);}}class AIChatShortcutsView extends _0xa34d16{['listView'];constructor(_0x1ba69d,_0x4d1d50){super(_0x1ba69d),this['set']('isEnabled',!0x0);const _0x1473d0=_0x4d1d50['map'](_0x337086=>{const _0x480fc0=new _0xcc051a(this['locale']),_0x23204e=new AIChatShortcutView(this['locale'],_0x337086);return _0x23204e['bind']('isEnabled')['to'](this),_0x480fc0['children']['add'](_0x23204e),_0x23204e['delegate']('execute')['to'](this),_0x480fc0;});this['listView']=new _0x1688f4(this['locale']),this['listView']['items']['addMany'](_0x1473d0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const zm='chat-shortcuts';class AIChatShortcuts extends _0x304a5a{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];['_listenedConversation'];static get['requires'](){return[AIChatUI];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](AIChatUI),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x2322cf=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{const _0x100851=_0x2322cf['activeConversation'];_0x100851['isFromHistory']||this['_injectShortcuts'](_0x100851);}),this['listenTo'](_0x2322cf,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x25bc30=['chat','review','translate'];this['_shortcuts']['forEach'](_0x3e1433=>{let _0x1b0578=!0x0;if(_0x3e1433['id']&&_0x3e1433['label']&&_0x25bc30['includes'](_0x3e1433['type'])?'chat'===_0x3e1433['type']&&(_0x1b0578='string'==typeof _0x3e1433['prompt']):_0x1b0578=!0x1,!_0x1b0578)throw new _0x522f1f('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x3e1433});});}['_injectShortcuts'](_0x5021a1){this['_removeShortcuts'](),this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),this['_aiChatUI']['addFeedItemCustomElement'](this['_shortcutsView']['element'],zm),this['_shortcutsView']['on']('execute',_0x75bc90=>{const _0x541267=_0x75bc90['source']['id'];this['_executeShortcut'](_0x541267);}),this['_listenedConversation']=_0x5021a1,this['listenTo'](_0x5021a1,'uploadProgressChanged',(_0x46c8fd,_0x2f16f1)=>{this['_shortcutsView']['isEnabled']=!_0x2f16f1['isUploadInProgress'];});}['_removeShortcuts'](){const _0x1d9788=this['context']['plugins']['get'](AIChatUI);_0x1d9788['hasFeedItem'](zm)&&_0x1d9788['removeFeedItem'](zm),this['_listenedConversation']&&(this['stopListening'](this['_listenedConversation'],'uploadProgressChanged'),this['_listenedConversation']=void 0x0),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x4839d0){const _0x5b2eff=this['_shortcuts']['find'](_0x5692f9=>_0x5692f9['id']===_0x4839d0),_0x4e8705=_0x5b2eff['type'];'chat'===_0x4e8705?this['_runChatShortcut'](_0x5b2eff):'review'===_0x4e8705?_0x5b2eff['commandId']?this['_runReviewShortcut'](_0x5b2eff):this['_switchTab']('reviewMode'):'translate'===_0x4e8705&&(_0x5b2eff['language']?this['_runTranslateShortcut'](_0x5b2eff):this['_switchTab']('translate'));}['_switchTab'](_0x2f4d30){if(!this['context']['plugins']['has']('AITabs'))throw new _0x522f1f('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x2f4d30});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x2f4d30);}async['_runChatShortcut']({prompt:_0x19da43,draftMode:_0xbfb75e,useWebSearch:_0x355245=!0x1,useReasoning:_0x50f905=!0x1,model:_0x3281bb}){const _0xc30b68=this['context']['plugins']['get']('AIChatController'),_0x127a32=_0xc30b68['activeConversation'];let _0xa0c9cb;_0xa0c9cb=_0x3281bb?await _0x127a32['chatModels']['getModel'](_0x3281bb):await _0x127a32['chatModels']['getDefault'](),_0xa0c9cb&&await _0x127a32['setModel'](_0xa0c9cb),_0x127a32['setWebSearch'](_0x355245),_0x127a32['setReasoning'](_0x50f905),_0xc30b68['addCurrentDocumentToChatContext'](),_0xbfb75e?(this['_aiChatUI']['setPromptInputValue'](_0x19da43),this['_aiChatUI']['focusPromptInput'](!0x0)):_0xc30b68['sendMessage']({'message':_0x19da43});}['_runReviewShortcut']({commandId:_0x522892,model:_0x1991d2,prompt:_0x40d0a5,params:_0x44340b}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x522f1f('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x5730ac={'id':_0x522892,'isCustom':'custom'===_0x522892};_0x1991d2&&_0x40d0a5&&(_0x5730ac['args']={'model':_0x1991d2,'prompt':_0x40d0a5}),_0x44340b&&(_0x5730ac['params']=_0x44340b),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x5730ac);}['_runTranslateShortcut']({language:_0x3ac2d3}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x522f1f('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x3ac2d3,'args':{'language':_0x3ac2d3}});}}class ToggleAICommand extends _0x208eac{constructor(_0xbf4ab8){super(_0xbf4ab8);const _0x5321d2=_0xbf4ab8['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x5321d2,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x119efd=this['editor']['plugins']['get']('AITabs')['view'];_0x119efd['isVisible']=!_0x119efd['isVisible'];}}class AIToggleButtonUI extends _0x151d85{static get['requires'](){return[AITabs];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4b7383=this['editor'];_0x4b7383['commands']['add']('toggleAi',new ToggleAICommand(_0x4b7383)),_0x4b7383['ui']['componentFactory']['add']('toggleAi',()=>{const _0xefeeab=this['_createAIUIButton'](_0x4c508c);return _0xefeeab['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0xefeeab;}),_0x4b7383['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x575eb3=this['_createAIUIButton'](at);return _0x575eb3['set']({'role':'menuitemcheckbox'}),_0x575eb3;});}['_createAIUIButton'](_0x191d8e){const _0x57bc60=this['editor'],_0x28147f=_0x57bc60['commands']['get']('toggleAi'),_0xc99a6b=new _0x191d8e(_0x57bc60['locale']);return _0xc99a6b['set']({'label':Oo(_0x57bc60['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x3738fb,'isToggleable':!0x0}),_0xc99a6b['bind']('isEnabled')['to'](_0x28147f),_0xc99a6b['bind']('isOn')['to'](_0x28147f,'value',_0x2da9bc=>!!_0x2da9bc),this['listenTo'](_0xc99a6b,'execute',()=>{_0x28147f['execute']();}),_0xc99a6b;}}const Ym=['applySuggestion','insertSuggestion','showNext','showPrevious'];class AIBalloonView extends _0xa34d16{['_errorView'];constructor(_0x50082e){super(_0x50082e),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x3a8328){this['showError'](_0x3a8328);}['showError'](_0x3be245){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x3be245,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x28e5fc=new _0xa34d16(this['locale']),_0x58c820=new _0xa34d16(this['locale']);return _0x58c820['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x28e5fc['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x4973cd=>!_0x4973cd)]},'children':[_0x58c820]}),_0x28e5fc;}}const Km=0xa;class AIBalloon extends _0x304a5a{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_editor'];['_isUpdatingMarkers']=!0x1;['open'](_0x5df0a9){const {id:_0x4acaa6}=this['_currentConfig']??{};this['_currentConfig']=_0x5df0a9,this['_editor']=_0x5df0a9['targetEditor'];const {id:_0x20104e}=this['_currentConfig'];this['isOpen']&&_0x4acaa6===_0x20104e?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x2ff929=this['_editor'];if(!_0x2ff929)return;const _0x3d20b6=_0x2ff929['plugins']['get']('Dialog');_0x3d20b6['isOpen']&&this['_currentConfig']&&_0x3d20b6['id']===this['_currentConfig']['id']&&_0x3d20b6['hide']();}['_updateDialog'](){const _0x109e5d=this['_editor']['plugins']['get']('Dialog'),{icon:_0x40d14b,title:_0x117c4a}=this['_currentConfig'];_0x109e5d['view']?.['headerView']&&(_0x109e5d['view']['headerView']['label']=_0x117c4a,_0x109e5d['view']['headerView']['iconView']&&_0x40d14b&&(_0x109e5d['view']['headerView']['iconView']['content']=_0x40d14b)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x109e5d['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection']({'editor':this['_editor'],'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}['_hideFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x2c1a10=this['_editor']['plugins']['get']('Dialog'),{id:_0x22d898,title:_0x7791d5,icon:_0x5b9054,class:_0x54c3a7,mainView:_0x48b143}=this['_currentConfig'];_0x48b143['delegate'](...Ym)['to'](this),_0x2c1a10['show']({'title':_0x7791d5,'icon':_0x5b9054,'hasCloseButton':!0x0,'id':_0x22d898,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x54c3a7||''),'content':_0x48b143,'onShow':_0x3c5065=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener'](),_0x3c5065['view']?.['updatePosition']();const _0x17f36c=this['_getSelectionElements']();_0x17f36c&&_0x17f36c[0x0]&&_0x4e25b4({'target':_0x17f36c[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x3c5065['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x22d898});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x22d898}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x53cc14,_0x283b22){if(!_0x283b22){const _0x422551=this['_getTargetRootDomRect']();if(!_0x422551)return null;_0x283b22=_0x422551;}const _0x376239=this['_getSelectionElements']();if(!_0x376239||0x0===_0x376239['length'])return{'left':Math['round'](_0x283b22['left']+_0x283b22['width']/0x2-_0x53cc14['width']/0x2),'top':Math['round'](_0x283b22['top']+_0x283b22['height']/0x2-_0x53cc14['height']/0x2)};const _0xbe567e=Math['round'](_0x283b22['left']+_0x283b22['width']/0x2-_0x53cc14['width']/0x2),_0x6bb70c=_0x376239['map'](_0x5ced6e=>new _0x2bf707(_0x5ced6e)),_0xeb5562=_0x53cc14['height'];return{'left':_0xbe567e,'top':this['_calculateOptimalTopPosition'](_0x6bb70c,_0xeb5562,_0x283b22)};}['_calculateOptimalTopPosition'](_0x4b96ac,_0x3d9fb7,_0x780a65){const _0x402cac=new _0x2bf707(_0x313644['window']),_0x5895f7=_0x4b96ac['map'](_0x2ad539=>_0x2ad539['getVisible']())['filter'](_0x3e4d0f=>_0x3e4d0f),_0x5a96a6=_0x2bf707['getBoundingRect'](_0x5895f7);if(!_0x5a96a6)return Math['round'](_0x780a65['top']+_0x780a65['height']/0x2);const _0x47cc12=_0x402cac['getIntersection'](_0x5a96a6);if(!_0x47cc12)return Math['round'](_0x780a65['top']+_0x780a65['height']/0x2);const _0xb9d9ea=_0x780a65['getVisible'](),_0x2cd930=_0xb9d9ea&&_0x5a96a6['height']>_0xb9d9ea['height'],_0x4d68fc=_0x47cc12['top'],_0x468708=_0x47cc12['bottom'];if(_0x2cd930){const _0x686bff=(_0xb9d9ea||_0x402cac)['height']/0x2-_0x3d9fb7/0x2,_0x5f445b=_0x4d68fc-Km-_0x780a65['top'],_0x450ae2=_0x780a65['bottom']-_0x468708-Km;return _0x5f445b>=_0x3d9fb7?Math['max'](Km,_0x4d68fc-_0x3d9fb7-Km):_0x450ae2>=_0x3d9fb7?_0x468708+Km:Math['max'](Km,_0x686bff);}const _0x29709b=_0x4d68fc-_0x3d9fb7,_0x555269=_0x780a65['bottom']-_0x468708-Km,_0x392c9e=_0x4d68fc-Km-_0x780a65['top'];let _0x499f63;if(_0x555269>=_0x3d9fb7)_0x499f63=_0x468708+Km;else{if(_0x392c9e>=_0x3d9fb7)_0x499f63=_0x29709b-Km;else _0x499f63=_0x4d68fc+_0x5a96a6['height']/0x2-_0x3d9fb7/0x2;}return _0x499f63;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x5c85c5=this['_editor'];this['listenTo'](_0x5c85c5['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x42e25f,data:{newRange:_0x13dabc}}of _0x5c85c5['model']['document']['differ']['getChangedMarkers']())if(_0x42e25f['startsWith'](Ef+':')&&(_0x13dabc&&(_0x13dabc['start']['isEqual'](_0x13dabc['end'])||'$graveyard'==_0x13dabc['root']['rootName'])||null==_0x13dabc)){const _0x36f2a9=Oo(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x36f2a9),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x358be7=this['_editor'];this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x358be7['model']['document']);}['_getSelectionElements'](){const _0x2f6875=this['_editor'];return Md(_0x2f6875['editing'],[..._0x2f6875['model']['markers']['getMarkersGroup']('ai-selection'),..._0x2f6875['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}['_getTargetRootDomRect'](){const _0x25b27d=this['_currentConfig']?.['ranges']?.[0x0]?.['root'];if(!_0x25b27d)return null;const _0x7e3037=this['_editor'],_0xe742de=_0x7e3037['editing']['view']['document']['getRoot'](_0x25b27d['rootName']);if(!_0xe742de)return null;const _0x359e00=_0x7e3037['editing']['view']['domConverter']['mapViewToDom'](_0xe742de);return _0x359e00&&_0x359e00 instanceof HTMLElement?new _0x2bf707(_0x359e00):null;}}class AIMiniToolbarView extends _0xbea5f1{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x50965c,_0x58e2b3={}){super(_0x50965c),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x58e2b3};const _0x298a20=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x298a20?'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'](_0x32453e){this['showChangesButton']['isEnabled']=_0x32453e;}['_setupRatingButtons'](){this['likeButton']=new _0x4c508c(this['locale']),this['likeButton']['set']({'icon':_0x1e3601,'label':Oo(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'class':yo,'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0x4c508c(this['locale']),this['dislikeButton']['set']({'icon':_0x304a09,'label':Oo(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'class':yo,'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new _0x4c508c(this['locale']),this['copyButton']['set']({'icon':_0x5a418e,'label':Oo(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button\x20'+yo,'tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x3c295=new _0x468811();_0x3c295['set']({'content':_0x253584}),_0x3c295['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'+yo,setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20'+yo;},0x7d0);}),this['copyButton']['children']['add'](_0x3c295);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x4c508c(this['locale']),this['showChangesButton']['set']({'icon':_0x47634b,'label':Oo(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':yo}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x14a94e=>_0x14a94e?_0x5e7fc3:_0x47634b),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends AIBalloonView{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x480c57,_0xcdd64){super(_0x480c57);const _0x450d40=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0xafcb0e(),this['_keystrokes']=new _0x2ae5e6(),this['_focusables']=this['createCollection'](),this['focusCycler']=new et({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0xcdd64,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x480c57),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x480c57,_0xcdd64['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0xcdd64),this['_stateView']=new AISuggestionContentPartStateView(_0x480c57),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new AIMiniToolbarView(_0x480c57,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x480c57,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x54e84c,_0x487b5c,_0x5e1439,_0x37c23a)=>{let _0x52d330,_0x5a4e83;'pending'===_0x37c23a?(_0x52d330=this['_partToolbarView'],_0x5a4e83=this['_stateView']):(_0x52d330=this['_stateView'],_0x5a4e83=this['_partToolbarView']),this['_stateView']['setState'](_0x5e1439),_0x52d330['isVisible']=!0x1,_0x5a4e83['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x450d40['to']('_state',_0x485a73=>'ck-ai-chat-balloon-main_state_'+_0x485a73)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0xcdd64);});}['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'](_0x2f427f){_0x2f427f?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x2f427f);}['clearContent'](){this['_streamableContentView']['clear']();}['setState'](_0x27c149){this['_state']=_0x27c149;}['showError'](_0x50a784){super['showError'](_0x50a784),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x312b41){super['showBlockingError'](_0x312b41),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x397360){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x397360;}['togglePartToolbarEnabled'](_0x28d21f){this['_partToolbarView']['isEnabled']=_0x28d21f;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x3fc1f1,showSuggestButton:_0x512ee7}){_0x3fc1f1=_0x3fc1f1&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x512ee7=_0x512ee7&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x3fc1f1,'showSuggestButton':_0x512ee7});}['_createNextButtonView'](){const _0xc035e5=new _0x4c508c(this['locale']);return _0xc035e5['set']({'icon':_0x40df9d,'label':Oo(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0xc035e5['on']('execute',()=>{this['fire']('showNext');}),_0xc035e5;}['_createPreviousButtonView'](){const _0xaa20b1=new _0x4c508c(this['locale']);return _0xaa20b1['set']({'icon':_0x3505fc,'label':Oo(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0xaa20b1['on']('execute',()=>{this['fire']('showPrevious');}),_0xaa20b1;}}class AIChatBalloonToolbarContainerView extends _0xa34d16{constructor(_0x1000c7,_0x54b67e){super(_0x1000c7),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x54b67e});}}class AIChatBalloon extends _0x151d85{static get['requires'](){return[st,AIBalloon];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x562352){super(_0x562352),this['set']('showDiff',!0x1);}['open'](_0x52fd31){const _0x44a167=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x44a167['plugins']['get']('AIBalloon')['open']({..._0x52fd31,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x52fd31['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x52fd31['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x3c6e1f){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x3c6e1f);}['clearContent'](){this['_chatBalloonView']&&this['_chatBalloonView']['clearContent']();}['setState'](_0x5775be){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x5775be);}['_createChatBalloonView'](){const _0x1da9d2=this['editor'],_0x1ba237=_0x1da9d2['plugins']['get']('AIBalloon'),_0x336f26=_0x1da9d2['commands']['get']('trackChanges');let _0x455e1b=_0x1da9d2['config']['get']('ai.availableReplyActions')||[...Gf];_0x1da9d2['plugins']['has']('TrackChanges')||(_0x455e1b=_0x455e1b['filter'](_0xa9d01b=>'insertSuggestion'!=_0xa9d01b));const _0x478058=new AIChatBalloonView(_0x1da9d2['locale'],{'availableActions':_0x455e1b,'showApplyButton':!0x0,'showSuggestButton':!!_0x336f26});return _0x478058['bind']('showDiff')['to'](this),_0x478058['delegate'](...Af)['to'](this),_0x478058['delegate']('showPrevious','showNext')['to'](this),_0x1ba237['delegate']('dialogClosed')['to'](this),_0x478058['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x478058['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x478058['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x336f26&&_0x478058['bind']('isTrackChangesOn')['to'](_0x336f26,'value'),_0x478058['render'](),_0x478058;}['_toggleRotatorButtonsInDialogHeader'](_0x31627d){const _0x117b9b=this['editor'],_0x5d6a24=_0x117b9b['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x31627d),_0x5d6a24['has'](this['_chatBalloonView']['previousButtonView'])||(_0x5d6a24['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x117b9b['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x5d6a24['remove'](this['_chatBalloonView']['previousButtonView']),_0x5d6a24['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends _0x151d85{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function Jm(_0x482dcb){const {editor:_0x3b49b8,action:_0x24e4e3,withText:_0x345f27=!0x1,withIcon:_0x3822a3=!0x0,isInDropdown:_0x28c9d6=!0x0,shouldPreventFocus:_0xcb0667=!0x1,actionButtons:_0x505b91}=_0x482dcb;return()=>{const _0x2dfedd=_0x3b49b8['locale'],_0x390a2e=new _0x4c508c(_0x2dfedd),_0x163926=_0x390a2e['bindTemplate'];_0x28c9d6&&_0x390a2e['extendTemplate']({'on':{'mouseenter':_0x163926['to'](()=>{_0xcb0667&&_0xcb0667()||_0x390a2e['focus']();})}}),_0x505b91['push']({'buttonView':_0x390a2e,'action':_0x24e4e3});const _0x375861=_0x24e4e3['icon']??_0x24e4e3['parent']?.['icon'];return _0x390a2e['set']({'label':_0x24e4e3['label'],'withText':_0x345f27,'role':'menuitem','icon':_0x3822a3?_0x375861??_0xf50f2a:void 0x0,'tooltip':!_0x345f27,'class':'ck-ai-quick-actions-button','isEnabled':_0x24e4e3['isEnabled']}),_0x390a2e['on']('execute',()=>{_0x3b49b8['editing']['view']['focus'](),_0x3b49b8['commands']['execute']('aiQuickAction',_0x24e4e3);}),_0x390a2e;};}class DropdownMenuButtonWithHighlightView extends St{['arrowView'];constructor(_0x2c2998,_0x776079){super(_0x2c2998,_0x776079);const _0x586ccc=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',_0x2b6f66=>String(_0x2b6f66)),'data-cke-tooltip-disabled':_0x586ccc['to']('isOn')},'on':{'mouseenter':_0x586ccc['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x40f143=new _0x468811();return _0x40f143['content']=_0x56ba57,_0x40f143['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x40f143;}}class AIQuickActionsFilteredListView extends _0x1688f4{['_allListItems'];['_allSearchableItems'];constructor(_0x343df8,_0x49a3c9,_0x4c34b8){super(_0x343df8),this['_allListItems']=_0x49a3c9,this['_allSearchableItems']=_0x4c34b8;}['filter'](_0x215276){if(!_0x215276)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x7320e6=_0x215276['source']['toLowerCase']()['trim'](),_0x43f737=this['_allSearchableItems']['filter'](_0x3ae94e=>(_0x3ae94e['groupLabel']?_0x3ae94e['label']+'\x20('+_0x3ae94e['groupLabel']+')':_0x3ae94e['label'])['toLowerCase']()['includes'](_0x7320e6));return this['items']['clear'](),this['items']['addMany'](_0x43f737['sort']((_0x355360,_0x35d0ca)=>{const _0x5a016f=_0x355360['groupLabel'],_0x342084=_0x35d0ca['groupLabel'];return _0x5a016f||_0x342084?_0x5a016f?0x1:-0x1:0x0;})['map'](_0x69366a=>_0x69366a['item'])),this['_highlightQuery'](_0x7320e6,_0x43f737),{'resultsCount':_0x43f737['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x18b55b,_0xf8a798){if(!_0x18b55b)return;const _0x54c853=new RegExp(so(_0x18b55b),'gi');_0xf8a798['forEach'](_0x14c8b8=>{_0x14c8b8['highlightViews']&&_0x14c8b8['highlightViews']['forEach'](_0x512e0d=>{'function'==typeof _0x512e0d['highlightText']&&_0x512e0d['highlightText'](_0x54c853);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x35d075=>{_0x35d075['highlightViews']&&_0x35d075['highlightViews']['forEach'](_0x55a1c9=>{'function'==typeof _0x55a1c9['highlightText']&&_0x55a1c9['highlightText'](null);});});}}const tg='menu',eg='menuitem';class AIQuickActionsDropdownContentView extends _0xa34d16{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];['_actionButtons'];constructor(_0x8e30e2,_0x153c29,_0x2bd645,_0x57ae08,_0x1fa6d2=!0x1,_0x39b6b8=[]){const _0x29e17f=_0x8e30e2['locale'];super(_0x29e17f),this['_bodyCollection']=_0x57ae08,this['_hasSearch']=_0x1fa6d2,this['_actionButtons']=_0x39b6b8;const _0x12f62e=this['_createListItems'](_0x8e30e2,_0x153c29,_0x2bd645);this['optionsListView']=new AIQuickActionsFilteredListView(_0x29e17f,_0x12f62e,this['_allSearchableItems']),this['optionsListView']['role']=tg,this['optionsListView']['items']['addMany'](_0x12f62e),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),_0x1fa6d2&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x12f62e,this['focusCycler']=new et({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x1fa6d2&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x31f4b5=_0x1fa6d2&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new Et(_0x31f4b5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x29e17f['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new It(this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':Oo(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':Oo(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0xecaa86=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0xecaa86);}['_createListItems'](_0x10438b,_0x409a17,_0xa8cd06){const _0x5a48ec=new Et();return _0x409a17['forEach'](_0x17b60f=>{if('actions'in _0x17b60f){const {listItem:_0x420090}=this['_createActionGroupButton'](_0x10438b,_0x17b60f,_0xa8cd06);_0x5a48ec['add'](_0x420090),_0x17b60f['actions']['forEach'](_0x550b6b=>{const {listItem:_0x35b784,highlightViews:_0x7c8c49}=this['_createSearchResultActionButton'](_0x10438b,_0x550b6b,_0x17b60f['label'],_0x17b60f['icon']);this['_allSearchableItems']['push']({'item':_0x35b784,'label':_0x550b6b['label'],'groupLabel':_0x17b60f['label'],'highlightViews':_0x7c8c49});});}else{const {listItem:_0x29bb5e}=this['_createActionButton'](_0x10438b,_0x17b60f);_0x5a48ec['add'](_0x29bb5e);const _0x29d731=_0x29bb5e['children']['first'];if(_0x29d731){const {listItem:_0x1e3c2a,highlightViews:_0x4e9f12}=this['_createSearchResultActionButton'](_0x10438b,_0x17b60f);this['_allSearchableItems']['push']({'item':_0x1e3c2a,'label':_0x29d731['label']||'','highlightViews':_0x4e9f12});}}}),_0x5a48ec;}['_createActionButton'](_0x57f7c5,_0x2dc6ab,_0x18bcf5,_0x589530){const _0x564288=new _0xcc051a(this['locale']);if(_0x18bcf5&&_0x589530){const _0x89328e=new _0x4c508c(this['locale']),_0x112ede=_0x89328e['bindTemplate'],_0x4cbc36=new _t();_0x4cbc36['text']=_0x2dc6ab['label'];const _0x287522=new _t();_0x287522['text']=_0x18bcf5;const _0x204aac=new _0x468811();_0x204aac['content']=_0x589530,_0x204aac['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0xa6f96b=new _0xa34d16(this['locale']);_0xa6f96b['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x598069=new _0xa34d16(this['locale']);return _0x598069['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x89328e['set']({'label':_0x2dc6ab['label']+'\x20('+_0x18bcf5+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1,'isEnabled':_0x2dc6ab['isEnabled']}),_0x89328e['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group',_0x112ede['if']('isEnabled','ck-disabled',_0x1c4d57=>!_0x1c4d57)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x4cbc36,_0xa6f96b,_0x204aac,_0x287522,_0x598069],'on':{'mouseenter':_0x112ede['to'](()=>{this['_isSearchFocused']()||_0x89328e['focus']();}),'click':_0x112ede['to'](()=>{_0x89328e['fire']('execute');})}}),_0x89328e['on']('execute',()=>{_0x89328e['isEnabled']&&(_0x57f7c5['editing']['view']['focus'](),_0x57f7c5['commands']['execute']('aiQuickAction',_0x2dc6ab));}),_0x564288['children']['add'](_0x89328e),this['_actionButtons']['push']({'buttonView':_0x89328e,'action':_0x2dc6ab}),{'listItem':_0x564288,'highlightViews':[_0x4cbc36,_0x287522]};}{const _0x152e50=new Ct(),_0x312d44=new _0x4c508c(this['locale'],_0x152e50),_0x481900=_0x312d44['bindTemplate'],_0x2fb378=_0x2dc6ab['icon']??_0x2dc6ab['parent']?.['icon'],_0x110644=void 0x0!==_0x2dc6ab['icon'];return _0x312d44['set']({'label':_0x2dc6ab['label'],'withText':!0x0,'role':'menuitem','icon':_0x110644?_0x2fb378??_0xf50f2a:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button','isEnabled':_0x2dc6ab['isEnabled']}),_0x312d44['extendTemplate']({'on':{'mouseenter':_0x481900['to'](()=>{this['_isSearchFocused']()||_0x312d44['focus']();})}}),_0x312d44['on']('execute',()=>{_0x57f7c5['editing']['view']['focus'](),_0x57f7c5['commands']['execute']('aiQuickAction',_0x2dc6ab);}),_0x564288['children']['add'](_0x312d44),this['_actionButtons']['push']({'buttonView':_0x312d44,'action':_0x2dc6ab}),{'listItem':_0x564288,'highlightViews':[_0x152e50]};}}['_createSearchResultActionButton'](_0x2c9c20,_0x1a1718,_0x247ee6,_0x11f5d9){return _0x247ee6&&_0x11f5d9?this['_createSearchResultGroupedActionButton'](_0x2c9c20,_0x1a1718,_0x247ee6,_0x11f5d9):this['_createSearchResultIndividualActionButton'](_0x2c9c20,_0x1a1718);}['_createSearchResultGroupedActionButton'](_0x4713e1,_0x396def,_0x1edbef,_0x149c84){const _0x266b71=new _0xcc051a(this['locale']),_0x508488=new _0x4c508c(this['locale']),_0x26f80=_0x508488['bindTemplate'],{view:_0x15cb61,highlightView:_0x299edc}=this['_createSearchResultGroupRow'](_0x1edbef,_0x149c84),{view:_0x446031,highlightView:_0x2898b3}=this['_createSearchResultActionRow'](_0x396def['label']),_0x39fb15=this['_createSearchResultContentView'](_0x15cb61,_0x446031);return _0x508488['set']({'label':_0x396def['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':_0x396def['isEnabled']}),_0x508488['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',_0x26f80['if']('isEnabled','ck-disabled',_0x46bb5d=>!_0x46bb5d)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x39fb15],'on':{'mouseenter':_0x26f80['to'](()=>{this['_isSearchFocused']()||_0x508488['focus']();}),'click':_0x26f80['to'](()=>{this['_handleSearchResultButtonClick'](_0x508488);})}}),this['_setupActionButtonExecution'](_0x508488,_0x4713e1,_0x396def),_0x266b71['children']['add'](_0x508488),this['_actionButtons']['push']({'buttonView':_0x508488,'action':_0x396def}),{'listItem':_0x266b71,'highlightViews':[_0x299edc,_0x2898b3]};}['_createSearchResultIndividualActionButton'](_0x586a78,_0x2f1786){const _0x556da6=new _0xcc051a(this['locale']),_0xea8464=new Ct(),_0x4f90af=new _0x4c508c(this['locale'],_0xea8464),_0x339906=_0x4f90af['bindTemplate'];return _0x4f90af['set']({'label':_0x2f1786['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','isEnabled':_0x2f1786['isEnabled']}),_0x4f90af['extendTemplate']({'on':{'mouseenter':_0x339906['to'](()=>{this['_isSearchFocused']()||_0x4f90af['focus']();})}}),this['_setupActionButtonExecution'](_0x4f90af,_0x586a78,_0x2f1786),_0x556da6['children']['add'](_0x4f90af),this['_actionButtons']['push']({'buttonView':_0x4f90af,'action':_0x2f1786}),{'listItem':_0x556da6,'highlightViews':[_0xea8464]};}['_createSearchResultGroupRow'](_0x2788c9,_0x5667cc){const _0x1c7edc=new _0xa34d16(this['locale']),_0x5d9b7c=new _0x468811();_0x5d9b7c['content']=_0x5667cc,_0x5d9b7c['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x21eb29=new _t();return _0x21eb29['text']=_0x2788c9,_0x1c7edc['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x5d9b7c,_0x21eb29]}),{'view':_0x1c7edc,'highlightView':_0x21eb29};}['_createSearchResultActionRow'](_0x41b33d){const _0x373dd8=new _0xa34d16(this['locale']),_0x4ecd01=new _t();return _0x4ecd01['text']=_0x41b33d,_0x373dd8['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x4ecd01]}),{'view':_0x373dd8,'highlightView':_0x4ecd01};}['_createSearchResultContentView'](_0x4f3dec,_0x355c08){const _0x456100=new _0xa34d16(this['locale']);return _0x456100['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x4f3dec,_0x355c08]}),_0x456100;}['_setupActionButtonExecution'](_0x180b60,_0x395f07,_0x5c3da5){_0x180b60['on']('execute',()=>{_0x180b60['isEnabled']&&(_0x395f07['editing']['view']['focus'](),_0x395f07['commands']['execute']('aiQuickAction',_0x5c3da5));});}['_createActionGroupButton'](_0x1ec287,_0x2d5e19,_0x1a6f33){const _0x34649b=new _0xcc051a(this['locale']),_0x42fb0b=new Ct(),_0x244dbf=new DropdownMenuButtonWithHighlightView(this['locale'],_0x42fb0b),_0x2fc775=_0x244dbf['bindTemplate'],_0x168100=this['_getPanelKeystroke'](_0x1a6f33),_0x35615f=this['_createGroupActionsList'](_0x1ec287,_0x2d5e19['actions'],_0x1a6f33);_0x244dbf['set']({'label':_0x2d5e19['label'],'withText':!0x0,'role':eg,'icon':_0x2d5e19['icon']??_0xf50f2a,'isEnabled':_0x2d5e19['actions']['some'](_0x5d267c=>_0x5d267c['isEnabled'])}),_0x244dbf['extendTemplate']({'on':{'mouseenter':_0x2fc775['to'](()=>{this['_isSearchFocused']()||_0x244dbf['focus']();})}});const _0x2e63fe=new mt(this['locale']);return _0x2e63fe['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x2fc775['to'](_0x29366e=>{this['_handlePanelKeydown'](_0x29366e,_0x168100,_0x244dbf,_0x2e63fe);})}}),_0x244dbf['bind']('isOn')['to'](_0x2e63fe,'isVisible'),this['_bodyCollection']['add'](_0x2e63fe),_0x2e63fe['content']['add'](_0x35615f),this['_setupGroupMenuBehavior'](_0x244dbf,_0x2e63fe),_0x34649b['children']['add'](_0x244dbf),this['_actionButtons']['push']({'buttonView':_0x244dbf,'action':_0x2d5e19}),{'listItem':_0x34649b,'highlightView':_0x42fb0b};}['_createGroupActionsList'](_0x47615b,_0x3d231e,_0x5f89db){const _0xd03609=new _0x1688f4(this['locale']);return _0xd03609['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x3d231e['forEach'](_0x1fd844=>{const _0x163aa8=new _0xcc051a(this['locale']),_0xe64cb8=Jm({'editor':_0x47615b,'action':_0x1fd844,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused'](),'actionButtons':this['_actionButtons']})();_0x163aa8['children']['add'](_0xe64cb8),_0x5f89db['focusTracker']['add'](_0xe64cb8),_0xd03609['items']['add'](_0x163aa8);}),_0xd03609;}['_setupGroupMenuBehavior'](_0x279c43,_0x1bb9c7){const _0x34d90f=_0x279c43['bindTemplate'],_0x4177b8=this['_getButtonKeystroke'](_0x279c43);_0x279c43['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x34d90f['to'](()=>{this['_showNestedPanel'](_0x1bb9c7,_0x279c43);}),'mouseleave':_0x34d90f['to'](_0x2b3f50=>{const _0x46fd50=_0x2b3f50['relatedTarget'];this['_isMovingToNestedMenu'](_0x46fd50,_0x1bb9c7)||this['_hideNestedPanel'](_0x1bb9c7);}),'keydown':_0x34d90f['to'](_0xa10ce4=>{_0xa10ce4['key']==_0x4177b8&&(this['_showNestedPanel'](_0x1bb9c7,_0x279c43),_0x1bb9c7['content']['get'](0x0)['focus']());})}}),_0x1bb9c7['on']('render',()=>{_0x1bb9c7['element']?.['addEventListener']('mouseleave',_0x5e3e7b=>{const _0x440b75=_0x5e3e7b['relatedTarget'];_0x279c43['element']?.['contains'](_0x440b75)||this['_isMovingToNestedMenu'](_0x440b75,_0x1bb9c7)||this['_hideNestedPanel'](_0x1bb9c7);});});}['_showNestedPanel'](_0x104b01,_0x15aa2d){this['_openNestedPanels']['forEach'](_0x380f86=>{_0x380f86!==_0x104b01&&_0x380f86['isVisible']&&_0x380f86['hide']();}),_0x104b01['show'](),_0x104b01['pin']({'positions':[kt['eastSouth']],'target':_0x15aa2d['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x104b01);}['_hideNestedPanel'](_0x4bdc71){_0x4bdc71['hide'](),this['_openNestedPanels']['delete'](_0x4bdc71);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x8f2314=>_0x8f2314['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x4d9f12,_0x2046fc){if(!_0x4d9f12)return!0x1;if(_0x2046fc['element']?.['contains'](_0x4d9f12))return!0x0;const _0x29ad6e=_0x4d9f12;return _0x29ad6e['closest']&&(null!==_0x29ad6e['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x29ad6e['closest']('.ck-ai-quick-actions-group-list')||null!==_0x29ad6e['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'](_0x490dfe){return'rtl'===_0x490dfe['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x3b63ce){return'rtl'===_0x3b63ce['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x5fcb2e,_0x310cc9,_0x3a1490,_0x2df60e){_0x5fcb2e['key']==_0x310cc9&&(_0x3a1490['focus'](),this['_hideNestedPanel'](_0x2df60e));}['_handleSearchResultButtonClick'](_0x2d3853){_0x2d3853['fire']('execute');}}function ig(_0x27518f){const {editor:_0x48e3c4,content:_0x4e676a,buttonDefinition:_0xd25045,bodyCollection:_0x353335,hasSearch:_0x300be5=!0x1,actionButtons:_0x56d4a1}=_0x27518f;return()=>{const _0x4fe01a=_0x48e3c4['locale'],_0x315465=_0x48e3c4['commands']['get']('aiQuickAction'),_0x49a829=nt(_0x4fe01a);_0x49a829['bind']('isEnabled')['to'](_0x315465),_0x49a829['buttonView']['set']({'icon':_0xd25045['icon']??_0xf50f2a,'label':_0xd25045['label'],'tooltip':!0x0}),_0x49a829['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x1da18c=new AIQuickActionsDropdownContentView(_0x48e3c4,_0x4e676a,_0x49a829,_0x353335,_0x300be5,_0x56d4a1);return _0x49a829['panelView']['children']['add'](_0x1da18c),_0x300be5&&_0x49a829['on']('change:isOpen',(_0x55879e,_0x2de8da,_0xb24912)=>{if(_0xb24912){if(_0x48e3c4['plugins']['has']('AIEditing')){const _0x391623=_0x48e3c4['plugins']['get'](AIEditing),_0x1a9a1a=_0x48e3c4['model']['document']['selection'],_0x3a7d5e=Array['from'](_0x1a9a1a['getRanges']());_0x3a7d5e['length']>0x0&&_0x391623['showFakeVisualSelection']({'editor':_0x48e3c4,'ranges':_0x3a7d5e,'id':'quick-action','priority':0x14});}}else _0x48e3c4['plugins']['has']('AIEditing')&&_0x48e3c4['plugins']['get'](AIEditing)['hideFakeVisualSelection']('quick-action'),_0x1da18c['resetSearch']();}),_0x49a829;};}const sg='<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>',ng='<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>',rg='<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>',og=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());class AIQuickActionsUI extends _0x151d85{['_actionButtons']=[];['_menuBarGroupViews']=[];static get['requires'](){return[xt,AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1b7240=this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x1b7240),this['_initializeQuickActionsComponentsAndCommands'](),this['_initActionTypeQuickActions'](),this['_initChatTypeQuickActions']();}static['getDefaultQuickActions'](_0xa2cbd5){return function(_0x127b12){const _0xede850=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x127b12['uiLanguage']),_0x2c4034=_0xede850||'English',_0x294531=[{'id':'ask-ai','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':_0x428218},{'id':'chat-commands','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0x428218,'actions':[{'id':'explain','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':Oo(_0x127b12,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':sg['replace']('%0',_0x2c4034),'type':'chat'},{'id':'summarize','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':Oo(_0x127b12,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':ng['replace']('%0',_0x2c4034),'type':'chat'},{'id':'highlight-key-points','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':Oo(_0x127b12,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':rg['replace']('%0',_0x2c4034),'type':'chat'}]},{'id':'improve-writing','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':_0x4b26e3},{'id':'continue','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':_0x487641},{'id':'fix-grammar','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':_0x8d64b},{'id':'adjust-length','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x447e0e,'actions':[{'id':'make-shorter','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x575f96,'actions':[{'id':'make-tone-casual','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x1b2af2,'actions':[{'id':'translate-to-english','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':Oo(_0x127b12,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x1919e1,'actions':[]}];return _0x294531;}(_0xa2cbd5);}['_getDefaultAndCustomActions'](){const _0xf0fe34=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x21009a=(this['editor']['config']['get']('ai.quickActions.extraCommands')||[])['map'](_0x26fa25=>({..._0x26fa25,'type':'chat'===_0x26fa25['type']?'chat':'action','icon':void 0x0}));return _0xf0fe34['find'](_0x48afb5=>'other'===_0x48afb5['id'])['actions']['push'](..._0x21009a),_0xf0fe34;}async['_initActionTypeQuickActions'](){try{const _0x57f16d=new AIModels({'connector':this['editor']['plugins']['get']('AIConnector'),'config':this['editor']['config']['get']('ai.models'),'locale':this['editor']['locale']}),_0x3aa1c5=await _0x57f16d['getAll'](),_0x405026=(await _0x57f16d['getDefault']())?.['id'];this['_assignDefaultModelToCustomActions'](_0x405026),this['_enableButtonsByType']('action',_0x400894=>!!_0x3aa1c5['find'](_0x5d24e2=>_0x5d24e2['id']===_0x400894['model'])||void 0x0===_0x400894['model']);}catch(_0x1bedcd){const _0x84075c=new _0x522f1f('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x1bedcd});_0x1ede73(_0x84075c['message']);}}['_initChatTypeQuickActions'](){if(!this['editor']['plugins']['has']('AIChatController'))return;const _0x4ded59=this['editor']['plugins']['get']('AIChatController');this['listenTo'](_0x4ded59,'change:isConversationReady',(_0x4523f3,_0x42d4e1,_0x1d15b2)=>{_0x1d15b2&&this['_enableButtonsByType']('chat',()=>!0x0);}),_0x4ded59['isConversationReady']&&this['_enableButtonsByType']('chat',()=>!0x0);}['_enableButtonsByType'](_0x4a8ab2,_0x5b94ca){this['_quickActionsDefinition']['forEach'](_0x5e9150=>{'actions'in _0x5e9150?_0x5e9150['actions']['forEach'](_0x2816de=>{_0x2816de['type']===_0x4a8ab2&&(_0x2816de['isEnabled']=_0x5b94ca(_0x2816de));}):_0x5e9150['type']===_0x4a8ab2&&(_0x5e9150['isEnabled']=_0x5b94ca(_0x5e9150));}),this['_actionButtons']['forEach'](_0x49c102=>{if(ag(_0x49c102['action']))return;if(_0x49c102['action']['type']!==_0x4a8ab2)return;const _0x1afe9b=_0x5b94ca(_0x49c102['action']);if(_0x49c102['action']['isEnabled']=_0x1afe9b,_0x49c102['buttonView']['isEnabled']=_0x1afe9b,!_0x1afe9b&&_0x49c102['action']['model']){const _0x289905=new _0x522f1f('ai-quick-actions-unavailable-model',this,{'actionId':_0x49c102['action']['id'],'modelId':_0x49c102['action']['model']});_0x1ede73(_0x289905['message']);}}),this['_actionButtons']['filter'](_0x47d999=>ag(_0x47d999['action']))['forEach'](_0x41210e=>{_0x41210e['buttonView']['isEnabled']=_0x41210e['action']['actions']['some'](_0xd910e0=>_0xd910e0['isEnabled']);}),this['_menuBarGroupViews']['forEach'](({view:_0x1c66c1,group:_0x118889})=>{_0x1c66c1['isEnabled']=_0x118889['actions']['some'](_0x12b6fa=>_0x12b6fa['isEnabled']);});}['_assignDefaultModelToCustomActions'](_0x4f0321){this['_actionButtons']['forEach'](_0x3fbbb7=>{ag(_0x3fbbb7['action'])||'action'===_0x3fbbb7['action']['type']&&(_0x3fbbb7['action']['model']||(_0x3fbbb7['action']['model']=_0x4f0321));});}['_initializeQuickActionsComponentsAndCommands'](){const _0x43fae3=new ft(this['editor']['locale']);_0x43fae3['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x43fae3),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x43fae3);}['_initializeQuickActionsDropdown'](_0xe71a28){const _0x79c0a7=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',ig({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0xf50f2a,'label':Oo(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0xe71a28,'hasSearch':_0x79c0a7,'actionButtons':this['_actionButtons']}));}['_prepareQuickActionsDefinition'](_0x57bffe){this['_quickActionsDefinition']=_0x57bffe['map'](_0x14c7a8=>{if('actions'in _0x14c7a8){const _0x3ef151=_0x14c7a8;return{..._0x3ef151,'actions':_0x3ef151['actions']['map'](_0x2de549=>{const {actions:_0x3983dc,..._0x194c8f}=_0x3ef151;return{..._0x2de549,'isEnabled':!0x1,'parent':_0x194c8f};})['filter'](_0x2367ae=>this['_shouldIncludeAction'](_0x2367ae))};}return{..._0x14c7a8,'isEnabled':!0x1};})['filter'](_0x4c8bb5=>'actions'in _0x4c8bb5?_0x4c8bb5['actions']['length']>0x0:this['_shouldIncludeAction'](_0x4c8bb5));}['_shouldIncludeAction'](_0x33b0ec){const _0x3f6661=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](og[_0x33b0ec['type']])&&!_0x3f6661['includes'](_0x33b0ec['id'])&&!('chat'===_0x33b0ec['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x10e7fd){this['_quickActionsDefinition']['forEach'](_0x10b63c=>{if('actions'in _0x10b63c){const _0xe42974=ig({'editor':this['editor'],'content':_0x10b63c['actions'],'buttonDefinition':_0x10b63c,'bodyCollection':_0x10e7fd,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x10b63c['id'],_0xe42974),_0x10b63c['actions']['forEach'](_0x479d99=>{const _0x6a37ad=Jm({'editor':this['editor'],'action':_0x479d99,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x479d99['id'],_0x6a37ad);});}else{const _0x2264db=Jm({'editor':this['editor'],'action':_0x10b63c,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x10b63c['id'],_0x2264db);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x1f7ca0=>{const _0x3346a1=this['editor']['commands']['get']('aiQuickAction'),_0x2707b0=new ot(_0x1f7ca0),_0x55a7c4=Oo(_0x1f7ca0,'AI_QUICK_ACTIONS_HEADING');_0x2707b0['buttonView']['set']({'label':_0x55a7c4,'icon':_0xf50f2a});const _0xf5cdb4=new lt(_0x1f7ca0);return _0xf5cdb4['set']({'ariaLabel':_0x55a7c4,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x460819=>{if('actions'in _0x460819){const _0x5c2e02=_0x460819,_0x3ac70f=new ht(_0x1f7ca0,_0x2707b0),_0x5799ef=new ot(_0x1f7ca0),_0x1a2b27=new lt(_0x1f7ca0);_0x5799ef['buttonView']['set']({'label':_0x5c2e02['label'],'icon':_0x5c2e02['icon']}),_0x5c2e02['actions']['forEach'](_0x50d57b=>{const _0x3332a3=new ht(_0x1f7ca0,_0x5799ef),_0x58699f=new at(_0x1f7ca0);_0x58699f['set']({'label':_0x50d57b['label'],'icon':_0x50d57b['icon'],'role':'menuitem','isEnabled':_0x50d57b['isEnabled']}),_0x58699f['on']('execute',()=>{this['_executeQuickAction'](_0x50d57b);}),this['_actionButtons']['push']({'buttonView':_0x58699f,'action':_0x50d57b}),_0x58699f['delegate']('execute')['to'](_0x5799ef),_0x3332a3['children']['add'](_0x58699f),_0x1a2b27['items']['add'](_0x3332a3);}),_0x5799ef['isEnabled']=_0x5c2e02['actions']['some'](_0x140b4b=>_0x140b4b['isEnabled']),this['_menuBarGroupViews']['push']({'view':_0x5799ef,'group':_0x5c2e02}),_0x5799ef['panelView']['children']['add'](_0x1a2b27),_0x3ac70f['children']['add'](_0x5799ef),_0xf5cdb4['items']['add'](_0x3ac70f);}else{const _0x4d0e42=_0x460819,_0x1911ea=new ht(_0x1f7ca0,_0x2707b0),_0xf07007=new at(_0x1f7ca0);_0xf07007['set']({'label':_0x4d0e42['label'],'icon':_0x4d0e42['icon'],'role':'menuitem','isEnabled':_0x4d0e42['isEnabled']}),this['_actionButtons']['push']({'buttonView':_0xf07007,'action':_0x4d0e42}),_0xf07007['on']('execute',()=>{this['_executeQuickAction'](_0x4d0e42);}),_0xf07007['delegate']('execute')['to'](_0x2707b0),_0x1911ea['children']['add'](_0xf07007),_0xf5cdb4['items']['add'](_0x1911ea);}}),(Object['values'](og)['some'](_0x23abe9=>this['editor']['plugins']['has'](_0x23abe9))?_0x2707b0['bind']('isEnabled')['to'](_0x3346a1):_0x2707b0['set']({'isEnabled':!0x1}),_0x2707b0['panelView']['children']['add'](_0xf5cdb4),_0x2707b0);});}['_executeQuickAction'](_0x82612f){const _0x4463a4=this['editor'];_0x4463a4['editing']['view']['focus'](),_0x4463a4['commands']['execute']('aiQuickAction',_0x82612f);const _0x26fbe7=_0x4463a4['ui']['view']['menuBarView'];_0x26fbe7&&_0x26fbe7['close']&&_0x26fbe7['close']();}}function ag(_0x3b5aaa){return'actions'in _0x3b5aaa;}class AIQuickActionsCommand extends _0x208eac{['execute'](_0x265c15){switch(this['_expandSelectionIfCollapsed'](),_0x265c15['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0xe4e671=Oo(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x522f1f('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0xe4e671});}this['_handleAIChatAction'](_0x265c15);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x5b44eb=Oo(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x522f1f('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x5b44eb});}this['_handleAIActionsAction'](_0x265c15);}}async['_handleAIChatAction'](_0x25f204){const _0x2db568=this['editor']['plugins']['get']('AIChatController'),_0x250ddb=this['editor']['plugins']['get']('AITabs')['view'];if(_0x250ddb['isVisible']||(_0x250ddb['isVisible']=!0x0),'chat'!==_0x250ddb['activeTab']&&_0x250ddb['activateTab']('chat'),'ask-ai'===_0x25f204['id'])_0x2db568['removeSelectionFromChatContext'](),_0x2db568['addSelectionToChatContext'](this['editor']),_0x2db568['focusPromptInput']();else await _0x2db568['startConversation']({'modelId':_0x25f204['model']}),_0x2db568['removeSelectionFromChatContext'](),_0x2db568['addSelectionToChatContext'](this['editor']),_0x2db568['focusPromptInput'](),await _0x2db568['sendMessage']({'message':_0x25f204['prompt']||_0x25f204['displayedPrompt']||_0x25f204['label'],'attributes':{'quickActionData':{'id':_0x25f204['id']},'displayedPrompt':_0x25f204['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x24dc1d=this['editor'],_0x3a9394=_0x24dc1d['model']['document']['selection'];if(!_0x3a9394['isCollapsed'])return;const _0x202583=_0x1e08d5(_0x3a9394['getSelectedBlocks']())||_0x24dc1d['model']['schema']['getLimitElement'](_0x3a9394);_0x24dc1d['model']['change'](_0x3d65fd=>{_0x3d65fd['setSelection'](_0x202583,'in');});}['_handleAIActionsActionLabel'](_0xaa1eaa){return _0xaa1eaa['parent']?.['label']&&'other'!==_0xaa1eaa['parent']?.['id']?_0xaa1eaa['parent']['label']+':\x20'+_0xaa1eaa['label']:_0xaa1eaa['label'];}async['_handleAIActionsAction'](_0x2b3b6c){const _0x3d2ad5=this['editor']['plugins']['get']('AIActions'),_0x30937b=_0x2b3b6c['prompt']?{'userMessage':_0x2b3b6c['prompt'],'model':_0x2b3b6c['model']}:{'actionName':_0x2b3b6c['actionName']||_0x2b3b6c['id'],'args':_0x2b3b6c['args']},_0x2f92c7=this['_handleAIActionsActionLabel'](_0x2b3b6c);await _0x3d2ad5['executeAction'](_0x30937b,_0x2f92c7,_0x2b3b6c['icon']);}}class AIQuickActionsEditing extends _0x151d85{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x16f9a2=this['editor'],_0x39b633=new AIQuickActionsCommand(this['editor']);if(_0x16f9a2['commands']['add']('aiQuickAction',_0x39b633),_0x16f9a2['plugins']['has']('AIChat')){const _0x4f408a=this['editor']['plugins']['get']('AIChatController');_0x16f9a2['model']['document']['selection']['on']('change:range',(_0x29b2bb,_0x4daff0)=>{_0x4daff0['directChange']&&_0x4f408a['removeSelectionFromChatContext']();});}}}class AIActionsReply extends AIReply{['appendContent'](_0x1ebcd9,_0x3f3ace='text'){'modification'===this['type']&&'text'===_0x3f3ace&&(_0x3f3ace=this['documentContextContent']['keys']()['next']()['value']),super['appendContent'](_0x1ebcd9,_0x3f3ace);}['updateChangeGroups'](_0x3aba44){const _0x28d2e8=this['parsedContent']['get'](_0x3aba44)['cloneNode'](!0x0);if(this['parsedMergedContent']['set'](_0x3aba44,_0x28d2e8),this['changeGroups']=[],0x0==_0x28d2e8['childNodes']['length'])return;Rc(this['documentContextContent']['get'](_0x3aba44),this['parsedMergedContent']['get'](_0x3aba44));const _0x20f790=Jd(this['documentContextContent']['get'](_0x3aba44)['children']['map'](_0x43623c=>({'node':_0x43623c,'id':Ja(_0x43623c,'data-id')})),_0x28d2e8['children']['map'](_0x612104=>({'node':_0x612104,'id':Ja(_0x612104,'data-id')||_0x3eda13()})),{'comparator':(_0x343e1a,_0x5c8725)=>_0x343e1a['id']==_0x5c8725['id'],'oneChangePerToken':!0x0});if(!this['isDone']||!this['isComplete']){for(;_0x20f790['length']&&_0x20f790[_0x20f790['length']-0x1]['removed'];)_0x20f790['pop']();}const _0x172042=_0x20f790['map'](_0x22210c=>{const _0x47c294=_0x22210c['added']?'new':_0x22210c['removed']?'removed':'modified';return{'node':_0x22210c['value'][0x0]['node'],'type':_0x47c294,'id':_0x22210c['value'][0x0]['id']};}),_0x5ad42b=this['_documentIdToSource']['get'](_0x3aba44);this['changeGroups']['push']({'changes':_0x172042,'state':'pending','index':this['changeGroups']['length'],'editor':_0x5ad42b['editor'],'rootName':_0x5ad42b['rootName'],'documentId':_0x3aba44});}['_getDifferentChangeGroups'](_0x1b1969,_0x4ef288){return _0x4ef288;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['editor'];['rootName'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;['stoppedExplicitly']=!0x1;constructor(_0x4588bc){super(_0x4588bc),this['content']=_0x4588bc['content'],this['version']=_0x4588bc['version'],this['editor']=_0x4588bc['editor'],this['rootName']=_0x4588bc['rootName'],this['actionName']=_0x4588bc['actionName'],this['args']=_0x4588bc['args'],this['userMessage']=_0x4588bc['userMessage'],this['model']=_0x4588bc['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':_0x3eda13(),'channelId':this['editor']['config']['get']('collaboration.channelId')}],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x593bf8){const _0x99c91c=this['editor']['config']['get']('collaboration.channelId'),_0x5ee409=new AIActionsReply({..._0x593bf8,'locale':this['locale'],'documentContextContent':[{'id':this['id'],'content':this['content'],'channelId':_0x99c91c,'rootName':this['rootName']}],'channelsToEditors':new Map([[_0x99c91c,this['editor']]])});return this['replies']['push'](_0x5ee409),_0x5ee409['delegate'](...ff)['to'](this),this['fire']('replyCreated',_0x5ee409),_0x5ee409;}}class AIActionsBalloonToolbarView extends _0xbea5f1{constructor(_0x4b4d59,_0x474597=!0x0,_0x5df218=!0x0){super(_0x4b4d59),this['set']('isEnabled',!0x1),_0x474597&&(this['applyButton']=this['_createButton'](Oo(_0x4b4d59,'AI_BALLOON_APPLY_BUTTON'),wo),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x5df218&&(this['suggestButton']=this['_createButton'](Oo(_0x4b4d59,'AI_BALLOON_SUGGEST_BUTTON'),_0x474597?bo:wo),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x474597,'showSuggestButton':_0x5df218}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x2095db,showSuggestButton:_0x5f1f08}){this['applyButton']&&(this['applyButton']['isVisible']=_0x2095db),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x5f1f08);}['_createButton'](_0x2abd1a,_0x241d80){const _0x8199be=new _0x4c508c(this['locale']);return _0x8199be['set']({'label':_0x2abd1a,'class':_0x241d80,'isVisible':!0x0,'withText':!0x0}),_0x8199be;}}class AIActionsBalloonDisclaimerView extends _0xa34d16{constructor(_0x43a3a5){super(_0x43a3a5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':Oo(_0x43a3a5,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends _0xa34d16{constructor(_0x49cbd3){super(_0x49cbd3),this['set']('isVisible',!0x0);const _0x5125fe=new AISpinnerView('small');_0x5125fe['isVisible']=!0x0;const _0x17ce58=new _0xa34d16(this['locale']);_0x17ce58['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[Oo(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x4f1229=>!_0x4f1229)]},'children':[_0x5125fe,_0x17ce58]});}}class AIActionsBalloonView extends AIBalloonView{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x2983c6,_0x22637f){super(_0x2983c6),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x22637f,this['_focusTracker']=new _0xafcb0e(),this['_keystrokes']=new _0x2ae5e6(),this['_focusables']=this['createCollection'](),this['focusCycler']=new et({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new Et(),this['_addContentWrapper'](_0x22637f),this['_addDisclaimerView'](),this['_addToolbar'](_0x22637f),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'](_0x22637f);});}['render'](){super['render']();for(const _0x24f240 of this['_focusables'])this['_focusTracker']['add'](_0x24f240['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x4b1711){-0x1===_0x4b1711?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x4f03a5){this['_isLoading']=_0x4f03a5;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x50a8da){super['showError'](_0x50a8da),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x983e1){super['showBlockingError'](_0x983e1),this['setErrorState']();}['addMiniToolbarItem'](_0x250d9d){this['_miniToolbarView']['items']['has'](_0x250d9d)||this['_miniToolbarView']['items']['add'](_0x250d9d);}['removeMiniToolbarItem'](_0x119e57){this['_miniToolbarView']['items']['has'](_0x119e57)&&this['_miniToolbarView']['items']['remove'](_0x119e57);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x49056b,showSuggestButton:_0x178269}){_0x49056b=_0x49056b&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x178269=_0x178269&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x49056b,'showSuggestButton':_0x178269});}async['updateContent'](_0x241130){await this['_streamableContentView']['update'](_0x241130);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x190c08){this['_contentWrapper']=new _0xa34d16(this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0x190c08['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x487947,showSuggestButton:_0x139674}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x487947,_0x139674),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',(_0x222b96,_0x9f081c,_0x2d02d7)=>!(_0x222b96||_0x9f081c||_0x2d02d7)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x487947,'showSuggestButton':_0x139674}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x48b5d5){return this['_miniToolbarView']=new AIMiniToolbarView(this['locale'],_0x48b5d5),this['_miniToolbarView']['delegate'](...Af)['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',(_0xee1062,_0x8d564c)=>!(_0xee1062||_0x8d564c)),this['_miniToolbarView'];}['_createLoaderView'](){return this['_loaderView']=new AISuggestionLoaderView(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}['_createStreamableContentView'](){return this['_streamableContentView']=new AISuggestionStreamableContentView(this['locale']),this['_streamableContentView'];}['_setupMiniToolbarButtons'](){const _0x46bd3f=new _0x4c508c(this['locale']),_0x233acc=new _0x4c508c(this['locale']),_0x9995ec=new AIActionsBalloonNavigationCounterView(this['locale']),_0x282950=new _0x4c508c(this['locale']);_0x46bd3f['set']({'icon':_0x171757,'label':Oo(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+yo}),_0x233acc['set']({'icon':_0x388e03,'tooltip':Oo(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+yo}),_0x282950['set']({'icon':_0xdb1598,'tooltip':Oo(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+yo}),_0x46bd3f['bind']('isEnabled')['to'](this,'isBusy',_0xb28c28=>!_0xb28c28),_0x46bd3f['on']('execute',()=>{this['fire']('tryAgain');}),_0x233acc['bind']('isEnabled')['to'](this,'isBusy',_0x15532a=>!_0x15532a),_0x233acc['on']('execute',()=>{this['fire']('showPrevious');}),_0x282950['bind']('isEnabled')['to'](this,'isBusy',_0x5f2286=>!_0x5f2286),_0x282950['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x233acc,this['_navigationCounter']=_0x9995ec,this['_navigationNextButton']=_0x282950,this['_navigationTryAgainButton']=_0x46bd3f;}['updateMiniToolbarButtons'](_0x5cf426,_0x2eab9f){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x11e49f=_0x5cf426>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x11e49f){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x4866af=_0x5cf426-_0x2eab9f;this['_navigationCounter']['setInteractionCount'](_0x4866af+'/'+_0x5cf426),this['_navigationPreviousButton']['isEnabled']=_0x2eab9f<_0x5cf426-0x1,this['_navigationNextButton']['isEnabled']=_0x2eab9f>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'](_0x6d640){this['_isLoading']=_0x6d640;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x9003f=this['_getScrollableElement']();_0x9003f&&!this['_scrollManager']&&(this['_scrollManager']=new ScrollManager(_0x9003f));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends _0xa34d16{constructor(_0x44716b){super(_0x44716b);const _0x12c415=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x12c415['to']('interactionCount')}]});}['setInteractionCount'](_0x1e69b3){this['set']('interactionCount',_0x1e69b3);}}class AIActions extends _0x151d85{static get['requires'](){return[AIConnector,st,AIEditing,AIBalloon,DocumentCompare];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_promiseQueue'];['_bodyCollection'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}['_actionsBalloonView'];constructor(_0x17f1b9){super(_0x17f1b9),this['_bodyCollection']=new ft(this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new PromiseQueue();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0xb2388f,_0x21af47,_0x141efe){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x147771,anchorData:_0x262c08,root:_0x2d29a7}=this['_getExecuteDataInTable']();return this['_executeAction'](_0xb2388f,_0x147771,_0x262c08,_0x2d29a7,_0x21af47,_0x141efe);}}const {modelFragment:_0x40252e,anchorData:_0x44ab9c,root:_0xbb6f81}=this['_getExecuteDataRegular']();return this['_executeAction'](_0xb2388f,_0x40252e,_0x44ab9c,_0xbb6f81,_0x21af47,_0x141efe);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x4e004a=this['editor']['plugins']['has']('TrackChanges');let _0x2b4c17=this['editor']['config']['get']('ai.availableReplyActions')||[...Gf];_0x4e004a||(_0x2b4c17=_0x2b4c17['filter'](_0x4ba20e=>'insertSuggestion'!=_0x4ba20e));const _0x61a925=this['editor']['commands']['get']('trackChanges'),_0x3ac1fc=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x4e004a,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x2b4c17});return _0x3ac1fc['bind']('isBusy')['to'](this),_0x61a925&&_0x3ac1fc['bind']('isTrackChangesOn')['to'](_0x61a925,'value'),_0x3ac1fc['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x3ac1fc['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x3ac1fc['on']('showNext',()=>{this['_navigateToNext']();}),_0x3ac1fc;}['_normalizeSelectionStart'](){const _0x1fbc80=this['editor']['model'],_0x4a245e=_0x1fbc80['document']['selection'],_0x560e1e=_0x4a245e['getFirstRange']();if(!_0x560e1e||_0x560e1e['isCollapsed'])return;const _0x3767b3=_0x1e08d5(_0x4a245e['getSelectedBlocks']());if(!_0x3767b3)return;const _0x4f5004=_0x1fbc80['createPositionAt'](_0x3767b3,0x0);_0x4f5004['isAfter'](_0x560e1e['start'])&&_0x1fbc80['change'](_0x5925d1=>{_0x5925d1['setSelection'](_0x5925d1['createRange'](_0x4f5004,_0x560e1e['end']));});}['_getExecuteDataRegular'](){const _0x56dc14=this['editor']['model']['document']['selection'],_0x244766=_0x56dc14['getFirstRange']()['start']['root'];if(_0x56dc14['isCollapsed']){const _0x42565e=_0x1e08d5(_0x56dc14['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x56dc14);this['editor']['model']['change'](_0x4af4d8=>{_0x4af4d8['setSelection'](_0x42565e,'in');});}this['_normalizeSelectionStart']();const _0x257eac=_0x56dc14['getFirstRange'](),_0x464b33=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x56dc14),_0x257eac['start'],_0x257eac['end']);this['_copyMarkersToFragment'](_0x464b33,_0x56dc14,{'isTableSelection':!0x1});const _0x12f20f=_0x56dc14['getFirstRange']()['start'],_0x3327b7=new Map();let _0x38eb2f=_0x464b33;for(let _0x254c72=0x0;_0x254c72<_0x12f20f['path']['length'];_0x254c72++)_0x3327b7['set'](_0x38eb2f,_0x12f20f['path'][_0x254c72]),_0x38eb2f=_0x38eb2f['getChild'](0x0);return{'modelFragment':_0x464b33,'anchorData':_0x3327b7,'root':_0x244766};}['_getExecuteDataInTable'](){const _0x274829=this['editor']['model']['document']['selection'],_0x1c2c3f=this['editor']['plugins']['get']('TableSelection'),_0x2d2bc3=_0x274829['getFirstRange']()['start']['root'],_0x558920=_0x1c2c3f['getSelectionAsFragment'](),_0x372579=_0x274829['getFirstRange']()['start']['parent']['parent'],_0x3fe12b=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x372579),this['editor']['model']['createPositionAfter'](_0x372579)),_0x56f774=this['_wrapWithCommonAncestors'](_0x558920,_0x3fe12b['start'],_0x3fe12b['end']);this['_copyMarkersToFragment'](_0x56f774,_0x274829,{'isTableSelection':!0x0});const _0x105528=_0x274829['getFirstRange']()['start'],_0x128a1a=new Map();let _0x427709=_0x56f774;for(let _0x26baae=0x0;_0x26baae<_0x105528['path']['length'];_0x26baae++)if(_0x128a1a['set'](_0x427709,_0x105528['path'][_0x26baae]),_0x26baae<_0x105528['path']['length']-0x1)_0x427709=_0x427709['getChild'](0x0);else{let _0x55dcb8=_0x427709['nextSibling'];for(;_0x55dcb8;)_0x128a1a['set'](_0x55dcb8,_0x105528['path'][_0x26baae]),_0x55dcb8=_0x55dcb8['nextSibling'];}return{'modelFragment':_0x56f774,'anchorData':_0x128a1a,'root':_0x2d2bc3};}async['_executeAction'](_0x442618,_0x54bb85,_0x133933,_0x5d66d6,_0x36b3e2,_0x4b2c4e){const _0x4b2a30=this['editor']['plugins']['get'](AIEditing),_0xbc25a9=this['editor']['plugins']['get'](AIBalloon),_0x34bf4=this['editor']['model']['document']['selection'],_0x197357=await _0x4b2a30['modelToDataWithIds'](_0x54bb85,this['editor']),_0xc48e7f=this['editor']['model']['document']['version'],_0x1a2698=[..._0x34bf4['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0xbc25a9['open']({'targetEditor':this['editor'],'index':0x3e8*Math['random']()%0x3e8,'title':_0x36b3e2,'icon':_0x4b2c4e||_0xf50f2a,'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x1a2698,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0xbc25a9),this['_interactionParams']={'action':_0x442618,'content':_0x197357,'version':_0xc48e7f,'aiBalloon':_0xbc25a9,'modelFragment':_0x54bb85,'anchorData':_0x133933,'root':_0x5d66d6},this['_setupApplyListeners'](),this['listenTo'](_0xbc25a9,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0xbc25a9,'dialogClosed',(_0x4c41e8,{id:_0x542732})=>{if('aiActionsBalloon'===_0x542732){for(const _0x3ab1d3 of this['_interactions']){if(0x0===_0x3ab1d3['replies']['length']||_0x3ab1d3['stoppedExplicitly'])continue;const _0x23fa8c=_0x3ab1d3['replies'][_0x3ab1d3['replies']['length']-0x1],_0x4b9ce2=_0x23fa8c['changeGroups'][0x0];_0x4b9ce2&&'pending'===_0x4b9ce2['state']&&_0x23fa8c['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0xbc25a9);}}),this['_createInteraction'](_0x197357,_0xc48e7f,_0xbc25a9,_0x442618);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x5b5352,anchorData:_0x5755d3,root:_0x2dd23d}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x5b5352,_0x5755d3,_0x2dd23d,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x5b5352,_0x5755d3,_0x2dd23d,!0x0);});}['_wrapWithCommonAncestors'](_0x57cc63,_0x6c5a0c,_0x426dfb){const _0xc8c39=this['editor']['model']['createRange'](_0x6c5a0c,_0x426dfb)['getCommonAncestor'](),_0x5c9708=_0xc8c39['is']('documentFragment')?[]:_0xc8c39['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x5c9708['length']){const _0x4f98b1=_0x5c9708['map'](_0x11fe49=>_0x11fe49['_clone'](!0x1));for(let _0x54ffbf=0x1;_0x54ffbf<_0x4f98b1['length'];_0x54ffbf++)_0x4f98b1[_0x54ffbf-0x1]['_appendChild'](_0x4f98b1[_0x54ffbf]);return _0x4f98b1[_0x4f98b1['length']-0x1]['_appendChild'](_0x57cc63),new _0x50f751(_0x4f98b1[0x0]);}return _0x57cc63;}['_copyMarkersToFragment'](_0x545d05,_0x580752,_0x2fc523={'isTableSelection':!0x1}){const _0x1c4770=this['editor']['model'],_0x212176=Array['from'](_0x580752['getRanges']()),_0x161759=_0x580752['getFirstRange']()['start'];for(const _0x173f0c of _0x1c4770['markers']){if(_0x173f0c['name']['startsWith'](Ef)||!_0x173f0c['affectsData'])continue;const _0x385976=_0x173f0c['getRange']();if(!_0x212176['some'](_0x2533dc=>_0x2533dc['containsRange'](_0x385976,!0x0)))continue;const _0x22c25b=this['_regularCalculateMarkerPath'](_0x385976['start'],_0x161759,_0x2fc523['isTableSelection']),_0x8dc88d=this['_regularCalculateMarkerPath'](_0x385976['end'],_0x161759,_0x2fc523['isTableSelection']),_0x2b1a43=_0x1c4770['createPositionFromPath'](_0x545d05,_0x22c25b),_0x2ae8a3=_0x1c4770['createPositionFromPath'](_0x545d05,_0x8dc88d);if(!_0x2b1a43['isEqual'](_0x2ae8a3)){const _0xe22532=_0x1c4770['createRange'](_0x2b1a43,_0x2ae8a3);_0x545d05['markers']['set'](_0x173f0c['name'],_0xe22532);}}}['_regularCalculateMarkerPath'](_0x42bbcb,_0x5253e5,_0x42fded=!0x1){const _0x5efeeb=[..._0x42bbcb['path']['slice']()];for(let _0x25dc1e=0x0;_0x25dc1e<Math['max'](_0x5253e5['path']['length'],_0x42bbcb['path']['length']);_0x25dc1e++){const _0x37356d=_0x5253e5['path'][_0x25dc1e]||0x0,_0x23f5fc=(_0x42bbcb['path'][_0x25dc1e]||0x0)-_0x37356d;if(_0x5efeeb[_0x25dc1e]=_0x23f5fc,0x0!==_0x23f5fc&&!_0x42fded)break;}return _0x5efeeb;}async['_createInteraction'](_0xc63fad,_0x839144,_0x3d4ae2,_0x48744d){const _0x4a47cb=this['editor'],_0x12dd96=_0x4a47cb['model']['document']['selection']['getFirstRange']()['start']['root'];this['_interactionParams']||(this['_interactionParams']={'action':_0x48744d,'content':_0xc63fad,'version':_0x839144,'aiBalloon':_0x3d4ae2,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map(),'root':_0x12dd96});const _0xc6457d=new AIActionsInteraction({'connector':this['_aiConnector'],'locale':_0x4a47cb['locale'],'content':_0xc63fad,'version':_0x839144,'editor':_0x4a47cb,'rootName':_0x12dd96['rootName'],..._0x48744d});this['_interactions']['push'](_0xc6457d);const _0x36845a=(_0x53d4b9,_0x33158c=!0x1,_0x303e9e='streaming')=>this['_promiseQueue']['enqueue'](async _0x21ce88=>{try{const _0x15d777=rf({'changeGroups':_0x53d4b9['changeGroups'],'documentContextContent':_0x53d4b9['documentContextContent'],'showDiff':_0x33158c,'trimUnchanged':!0x1});_0x15d777['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x15d777[0x0],'renderingStrategy':_0x303e9e,'abortSignal':_0x21ce88});}catch(_0x145b34){if(this['_isAbortError'](_0x145b34))return;throw _0x145b34;}});_0xc6457d['on']('replyCreated',(_0x58a738,_0x1293c4)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x36845a(_0x1293c4)['catch'](_0x20ace4=>{this['_isAbortError'](_0x20ace4)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x20ace4),this['_setErrorState'](_0xc6457d));});}),_0xc6457d['on']('replyContentUpdated',(_0x4a38e9,_0x2c154b)=>{_0x36845a(_0x2c154b)['catch'](_0x13c3fb=>{this['_isAbortError'](_0x13c3fb)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x13c3fb),this['_setErrorState'](_0xc6457d));});}),_0xc6457d['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x4470db){this['_isAbortError'](_0x4470db)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x4470db),this['_setErrorState'](_0xc6457d));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x1e0e7b,{showDiff:_0x16bf6a})=>{try{this['_balloonShowDiff']=_0x16bf6a;const _0x57c5ab=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x57c5ab&&await _0x36845a(_0x57c5ab,_0x16bf6a,'static');}catch(_0x5bcbf0){this['_isAbortError'](_0x5bcbf0)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x5bcbf0),this['_setErrorState'](_0xc6457d));}}),_0xc6457d['on']('replyChangeGroupStateUpdated',()=>{const _0xd75be5={'positiveCount':_0xc6457d['replies']['reduce']((_0x46f5a5,_0x332270)=>_0x46f5a5+_0x332270['changeGroups']['filter'](_0x33b2da=>'accepted'===_0x33b2da['state'])['length'],0x0),'totalCount':_0xc6457d['replies']['reduce']((_0x4a15e5,_0x441010)=>_0x4a15e5+_0x441010['changeGroups']['length'],0x0)},_0x29c6f4=_0xc6457d['actionCallId'],_0x7f6112=_0xc6457d['actionName'];_0x7f6112?this['_aiConnector']['upsertAIActionRating'](_0x7f6112,_0x29c6f4,_0xd75be5):this['_aiConnector']['upsertCustomAIActionRating'](_0x29c6f4,_0xd75be5);}),this['_setLoadingState']();try{const _0x214c71=await _0xc6457d['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x214c71;}catch(_0xe1b56c){if(this['_isAbortError'](_0xe1b56c))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0xc6457d);}}['_applyChanges'](_0x2f58f9,_0x369d41,_0x4ee793,_0x343162){const _0x10ed72=this['editor'];if(_0x343162&&!_0x10ed72['plugins']['has']('TrackChanges'))throw new _0x522f1f('ai-no-track-changes',null);const _0x5784f4=this['editor']['plugins']['get'](DocumentCompare),_0x6b4c92=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x6b4c92||!_0x6b4c92['replies']['length'])return;const _0x1dddc8=_0x6b4c92['replies'][_0x6b4c92['replies']['length']-0x1],_0x3b1466=_0x1dddc8['changeGroups'];_0x1dddc8['setChangeGroupState'](0x0,'accepted');let _0x1029c7=yf({'reply':_0x1dddc8,'interaction':_0x6b4c92,'groups':_0x3b1466,'transform':!0x1,'documentCompare':_0x5784f4,'documentCompareOptions':{'anchor':_0x10ed72['model']['createPositionAt'](_0x2f58f9,0x0),'markDeletions':_0x343162}});_0x1029c7=this['_filterOperationsOutsideRange'](_0x1029c7,_0x369d41);for(const _0xcaebd4 of _0x1029c7)this['_anchorOperation'](_0x369d41,_0xcaebd4,_0x4ee793);const _0x218325=_0x6b4c92['getDocumentContext']()['documents'][0x0]['version'],_0x495323=_0x10ed72['model']['document']['history']['getOperations'](_0x218325),_0x54b969={'document':_0x10ed72['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x8d828b=_0x142dc9(_0x1029c7,_0x495323,_0x54b969)['operationsA'];_0x10ed72['model']['change'](_0x4c836d=>{if(_0x4c836d['setSelection'](_0x10ed72['model']['document']['selection']['focus']),_0x343162)_0x10ed72['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x8d828b);else{for(const _0x2132d1 of _0x8d828b)_0x2132d1['baseVersion']=_0x10ed72['model']['document']['version'],vf(_0x10ed72,_0x2132d1),_0x4c836d['batch']['addOperation'](_0x2132d1),_0x10ed72['model']['applyOperation'](_0x2132d1);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x29586d,_0x2fc654){return _0x29586d['filter'](_0x6cccf0=>{if('rename'==_0x6cccf0['type']){const _0x136603=_0x6cccf0['position']['nodeAfter'];return!_0x2fc654['has'](_0x136603);}if(_0x6cccf0['type']['indexOf']('Attribute')>-0x1){const _0x24596c=_0x6cccf0['range']['start']['nodeAfter'];return!_0x2fc654['has'](_0x24596c);}return!0x0;});}['_anchorOperation'](_0x49daf3,_0x13a598,_0x4d39a8){const _0x3928c1=_0x13a598['clone']();for(const _0x46bf7b in _0x13a598){const _0x2416d6=_0x13a598[_0x46bf7b];_0x2416d6 instanceof _0x2b1886?_0x13a598[_0x46bf7b]=new _0x2b1886(_0x9b9b2b(_0x2416d6['start']),_0x9b9b2b(_0x2416d6['end'])):_0x2416d6 instanceof _0x1845da&&(_0x13a598[_0x46bf7b]=_0x9b9b2b(_0x2416d6));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x3928c1['type'])){if(_0x3928c1['isDocumentOperation']=!0x1,_0x3928c1['baseVersion']=null,'remove'==_0x3928c1['type']){const _0x5e5cb5=_0x3928c1['sourcePosition'],_0x51a6ce=_0x3928c1['howMany'];new _0x2e6f80(_0x5e5cb5,_0x51a6ce)['_execute']();}else _0x3928c1['_execute']();}function _0x9b9b2b(_0xa294da){if('$graveyard'==_0xa294da['root']['rootName'])return _0xa294da;const _0x49e5e1=[];let _0x429f3f=_0xa294da['root'];for(let _0x510813=0x0;_0x510813<_0xa294da['path']['length'];_0x510813++){const _0xe7be0=_0x49daf3['get'](_0x429f3f)||0x0;_0x49e5e1[_0x510813]=_0xa294da['path'][_0x510813]+_0xe7be0,_0x429f3f=_0x429f3f['getChildAtOffset'](_0xa294da['path'][_0x510813]);}return new _0x1845da(_0x4d39a8,_0x49e5e1,_0xa294da['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x3b5138,content:_0x1cb8a3,version:_0x980d0d,aiBalloon:_0x13fdf8}=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'](_0x1cb8a3,_0x980d0d,_0x13fdf8,_0x3b5138)['catch'](_0x586469=>{this['_isAbortError'](_0x586469)||console['error']('Error\x20refreshing\x20interaction:',_0x586469);});}['_isAbortError'](_0x65b808){return!!_0x65b808['message']&&_0x65b808['message']['startsWith']('ai-request-aborted');}['_clearInteractionHistory'](){this['_interactions']=[],this['_interactionParams']=void 0x0,this['_currentInteractionIndex']=0x0,this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_stopInteraction'](){this['_interaction']&&this['_interaction']['stop'](),this['_promiseQueue']['abort'](),this['isBusy']=!0x1,this['_interactionParams']&&this['_actionsBalloonView']['stopAutoScroll']();}['_navigateToPrevious'](){const _0x3601be=this['_interactions']['length'];this['_currentInteractionIndex']<_0x3601be-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x477c76){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x477c76;const _0x5b36b5=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x5b36b5)return;if(_0x5b36b5['hasError'])return this['_setErrorState'](_0x5b36b5),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x5b36b5['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x4762e8=_0x5b36b5['replies'][_0x5b36b5['replies']['length']-0x1];if(_0x4762e8)try{const _0x2fc715=rf({'changeGroups':_0x4762e8['changeGroups'],'documentContextContent':_0x4762e8['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x58a223=>setTimeout(_0x58a223,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x2fc715[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x2c10b5){this['_isAbortError'](_0x2c10b5)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x2c10b5);}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x7c270b){const _0x4634b7=Oo(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x4634b7),_0x7c270b['hasError']=!0x0,await this['_promiseQueue']['queueEmptyPromise'],this['_actionsBalloonView']['setErrorState'](),this['_actionsBalloonView']['toggleIsLoading'](!0x0);}['_clearErrorState'](){this['_actionsBalloonView']['hideError'](),this['_actionsBalloonView']['toggleIsLoading'](!0x1);}async['_clearLoadingState'](){await this['_promiseQueue']['queueEmptyPromise'],this['isBusy']=!0x1,this['_actionsBalloonView']['setIsLoading'](!0x1);}}class AIQuickActions extends _0x151d85{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x49a996){super(_0x49a996),_0x49a996['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends _0xa34d16{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x5340f0,_0x544b26){super(_0x5340f0),this['id']=_0x544b26,this['set']('status','pending'),this['set']('changeId',_0x544b26),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',(_0x407931,_0x2afb8d)=>{_0x2afb8d&&_0x2afb8d['target']&&'A'===_0x2afb8d['target']['tagName']&&_0x2afb8d['preventDefault'](),this['fire']('activateChange',{'id':_0x544b26,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x544b26,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x544b26,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x5d1160=new _0xa34d16(this['locale']);return _0x5d1160['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',_0x10ce0d=>!_0x10ce0d)]}}),_0x5d1160;}['_createAcceptButtonView'](){const _0x2eb24e=new _0x4c508c(this['locale']);return _0x2eb24e['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x2eb24e['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x24d721=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x24d721['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0x3df50a=>'pending'!==_0x3df50a&&'accepted'!==_0x3df50a),this['bindTemplate']['if']('status',bo,_0x338818=>'pending'===_0x338818),this['bindTemplate']['if']('status',yo,_0x4e7035=>'pending'!==_0x4e7035),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x5c2fd6=>'accepted'===_0x5c2fd6)]}}),this['on']('change:status',(_0x2a1aee,_0xd5a43a,_0x22c836)=>{_0x2eb24e['isEnabled']='pending'===_0x22c836,'accepted'===_0x22c836&&(_0x2eb24e['label']=Oo(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x2eb24e['icon']=_0x253584);}),_0x2eb24e;}['_createDismissButtonView'](){const _0xcee923=new _0x4c508c(this['locale']);return _0xcee923['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0xcee923['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2c2b80=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x2c2b80['stopPropagation']();})},'attributes':{'class':[yo,this['bindTemplate']['if']('status','ck-hidden',_0x33b933=>'pending'!==_0x33b933&&'rejected'!==_0x33b933),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x38193f=>'pending'===_0x38193f),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x1dbf5c=>'rejected'===_0x1dbf5c)]}}),this['on']('change:status',(_0x40d542,_0x4becb2,_0x360219)=>{_0xcee923['isEnabled']='pending'===_0x360219,'rejected'===_0x360219&&(_0xcee923['label']=Oo(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0xcee923['icon']=_0x3f6f57);}),_0xcee923;}['_createInfoButtonView'](){const _0x47ff5c=new _0x4c508c(this['locale']);return _0x47ff5c['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x25dd10,'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':yo+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x47ff5c['bind']('isOn')['to'](this,'isInfoToggleOn',_0x4c1472=>_0x4c1472),_0x47ff5c['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x47ff5c;}['_createOutdatedButtonView'](){const _0x64558e=new _0x4c508c(this['locale']);return _0x64558e['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':ti,'withText':!0x0,'isEnabled':!0x1}),_0x64558e['extendTemplate']({'attributes':{'class':[yo,'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x332825=>'outdated'!==_0x332825)],'disabled':'disabled'}}),_0x64558e;}}class AIReviewCoreBalloonSuggestionItemView extends mt{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x16225f,_0x8831f3){super(_0x16225f),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']()),_0x8831f3['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x2a70b4){this['resultItemView']['changeId']=_0x2a70b4['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x2a70b4['contentDiffed'];}['showBalloon'](_0xe95221,_0x205c41,_0x406089,_0x73b1d,_0x6210f0,_0xec4066){const _0x4db4c4=_0x205c41();if(!_0x4db4c4)return;this['updateContent'](_0xe95221),this['show']();const _0x338370=Array['from'](_0x4db4c4['getClientRects']())['reverse'](),_0x4d3d10=this['_getPointedRectIndexFromEvent'](_0x406089,_0x338370),_0x54ed42=_0x338370[_0x4d3d10??0x0];'click'===_0x73b1d?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x205c41(),_0x4d3d10,_0xe95221['id'],_0x6210f0,_0xec4066)||_0x54ed42})):'hover'===_0x73b1d&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x205c41(),_0x4d3d10,_0xe95221['id'])||_0x54ed42}));}['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'](){gt({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x14ebf6=[this['element']];return this['_pinnedTargetElement']&&_0x14ebf6['push'](this['_pinnedTargetElement']),_0x14ebf6;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x1de4f7=new _0xa34d16();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x1de4f7['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']]}]}),_0x1de4f7;}['_getBestRectPositionOnClick'](_0x12ddd7,_0x14d3ff,_0x2767bf,_0x19c6bf,_0x1f273a){if(!_0x12ddd7)return null;const _0xd2c8f1=this['position']['replace']('arrow_',''),_0xb1e44f=Array['from'](_0x12ddd7['getClientRects']());let _0x339412,_0x471c62=_0xb1e44f['reverse']();return void 0x0!==_0x14d3ff&&this['_isPinnedRectVisible'](_0x471c62[_0x14d3ff],_0x19c6bf,_0x1f273a)?(_0x339412=_0x471c62[_0x14d3ff],this['_pinnedRectIndex']=_0x14d3ff):this['_isPinnedRectVisible'](_0x471c62[0x0],_0x19c6bf,_0x1f273a)&&void 0x0===_0x14d3ff?_0x339412=_0x471c62[0x0]:(_0x471c62='s'==_0xd2c8f1[0x0]?[..._0xb1e44f]['reverse']():_0xb1e44f,_0x471c62['forEach'](_0x231903=>{this['_isPinnedRectVisible'](_0x231903,_0x19c6bf,_0x1f273a)&&(_0x339412=_0x231903);})),this['_pinnedTargetChangeId']=_0x2767bf,this['_pinnedTargetElement']=_0x12ddd7,_0x339412||_0x12ddd7['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x318d2f,_0x295376,_0x3fdb6e){if(!_0x318d2f)return null;const _0x5f4896=Array['from'](_0x318d2f['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x295376&&this['_pinnedTargetChangeId']!==_0x3fdb6e)return this['_pinnedRectIndex']=_0x295376,this['_pinnedTargetElement']=_0x318d2f,this['_pinnedTargetChangeId']=_0x3fdb6e,_0x5f4896[_0x295376];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x3fdb6e){if(_0x318d2f!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x5f4896[this['_pinnedRectIndex']];}return void 0x0!==_0x295376&&this['_pinnedTargetChangeId']!==_0x3fdb6e?(this['_pinnedRectIndex']=_0x295376,this['_pinnedTargetElement']=_0x318d2f,this['_pinnedTargetChangeId']=_0x3fdb6e,_0x5f4896[_0x295376]):_0x318d2f['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x2accaf,_0x5bb290){if(_0x2accaf)for(let _0x4101fb=0x0;_0x4101fb<_0x5bb290['length'];_0x4101fb++){const _0x1ffa5a=_0x5bb290[_0x4101fb];if(_0x2accaf['clientX']>=_0x1ffa5a['left']-0x3&&_0x2accaf['clientX']<=_0x1ffa5a['right']+0x3&&_0x2accaf['clientY']>=_0x1ffa5a['top']-0x3&&_0x2accaf['clientY']<=_0x1ffa5a['bottom']+0x3)return _0x4101fb;}}['_isPinnedRectVisible'](_0x55f8b2,_0x482e01,_0x549ecf){const _0x2fa6c9=new _0x2bf707(_0x55f8b2),_0x41d5a7=_0x482e01||document['documentElement'],_0x4b4153=_0x2fa6c9['getIntersection'](_0x2a28e2(_0x549ecf)),_0x287c65=new _0x2bf707(_0x41d5a7)['getIntersection'](_0x2fa6c9);return!!(_0x4b4153&&_0x287c65&&_0x2fa6c9['width']>0x0);}}const cg=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class AIReviewCoreUI extends _0x304a5a{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[AITabs];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57b247){super(_0x57b247),this['_bodyCollection']=new ft(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](...cg)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x229863=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x229863);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x5c4fc0){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x4e1d89=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x5c4fc0,_0x4e1d89);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x4cf60a){_0x4cf60a&&('error-general'!==_0x4cf60a['status']?'error-chunk'!==_0x4cf60a['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0xf5fae1){this['_mainView']['addCheckRunResult'](_0xf5fae1);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x564046){this['_mainView']['showGeneralReviewCoreErrorView'](_0x564046??Oo(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x19e07d,_0x516df2){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x19e07d,_0x516df2);}['setActiveStateInResults'](_0x421971){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x3d1500=>{_0x3d1500['id']===_0x421971&&_0x3d1500['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x1f1cd1=>_0x1f1cd1['setItemAsInactive']());}['updateChangeState'](_0x3fac07,_0x315448){'accepted'===_0x315448||'rejected'===_0x315448||'outdated'===_0x315448?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x3fac07,_0x315448):this['_mainView']['reviewCheckResultsView']['showResult'](_0x3fac07,_0x315448);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x15793e,_0x31fe1f,_0x49f19f,_0xed97bd,_0x3c7cee,_0x3c4bc0){this['_balloonSuggestionView']['showBalloon'](_0x15793e,_0x31fe1f,_0x49f19f,_0xed97bd,_0x3c7cee,_0x3c4bc0);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x2dcd3b){const _0x1302ff=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x43d2d5=>_0x43d2d5['id']===_0x2dcd3b);return _0x1302ff?_0x1302ff['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class AIReviewCoreGeneralErrorView extends _0xa34d16{constructor(_0x52a219){super(_0x52a219),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x1d3625=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x1d3625['if']('isVisible','ck-hidden',_0x40a540=>!_0x40a540)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x1d3625['to']('errorMessage')}]}]});}}class AIReviewCoreView extends _0xa34d16{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x51143d,_0x2e960e){super(_0x51143d),this['reviewCoreHeader']=_0x2e960e['header'],this['generalErrorView']=new AIReviewCoreGeneralErrorView(_0x51143d),this['reviewCheckListView']=_0x2e960e['list'],this['reviewCheckListView']['delegate'](...cg)['to'](this),this['reviewCheckResultsView']=_0x2e960e['results'],this['reviewCheckResultsView']['delegate'](...cg)['to'](this),this['reviewCompletedView']=_0x2e960e['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'](_0x37358e){this['reviewCheckResultsView']['addResult'](_0x37358e),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'](_0x2a7c43){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x2a7c43;}['showGeneralResultsErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}}class AIReviewCoreFinishReviewButtonView extends _0x4c508c{constructor(_0x581684,_0x222edc){super(_0x222edc),this['set']({'label':_0x581684,'withText':!0x0,'class':wo}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends _0xcc051a{['_resultViews'];['_resultsHeader'];['_resultsBody'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x7eae25,_0x3481bd){super(_0x7eae25),this['_contents']=_0x3481bd,this['_resultViews']=new Et(),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 AIDisclaimerView(_0x7eae25),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 _0x278043=this['_createCombinedSkeletonLoader'](),_0x32aa8e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x32aa8e['if']('isLoading','ck-ai_review__check-run_loading',_0x37ecb0=>_0x37ecb0),_0x32aa8e['if']('isResultReady','ck-ai_review__check-run_ready',_0x5bc81a=>_0x5bc81a),_0x32aa8e['if']('isVisible','ck-hidden',_0x469fbd=>!_0x469fbd)]},'children':[this['_resultsHeader'],this['_errorMessageView'],this['_resultsBody'],_0x278043,this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear'](),this['_resultsBody']['element']&&(this['_resultsBody']['element']['scrollTop']=0x0);}['getResults'](){return this['_resultViews'];}['addResult'](_0x4d5ac8){const _0x209b37=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x4d5ac8['id']);_0x209b37['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x209b37),_0x209b37['resultResponseView']['element']['innerHTML']=_0x4d5ac8['contentDiffed'];}['hideResult'](_0x5c323b,_0x2923fe){if('pending'===_0x2923fe)return;const _0x57ecb2=this['_resultViews']['find'](_0x33720d=>_0x33720d['id']===_0x5c323b);_0x57ecb2&&(_0x57ecb2['status']=_0x2923fe,_0x57ecb2['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0xb2a2ec,_0x15f74a){if('pending'!==_0x15f74a)return;const _0x1b965a=this['_resultViews']['find'](_0x24711f=>_0x24711f['id']===_0xb2a2ec);_0x1b965a&&(_0x1b965a['status']=_0x15f74a,_0x1b965a['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0xa56d96,_0x592f05){this['headerTitle']=_0xa56d96,this['headerSubtitle']=_0x592f05||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new AISkeletonView(this['locale'],jf['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x2f5d16=new _0xa34d16(this['locale']),_0x309021=[];for(let _0x87f9f6=0x0;_0x87f9f6<0x10;_0x87f9f6++){const _0x437a5a=this['_createSkeletonLoader']();_0x437a5a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x309021['push'](_0x437a5a);}return _0x2f5d16['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5df9db=>!_0x5df9db)]},'children':_0x309021}),_0x2f5d16;}['_createResultsBodyView'](){const _0x219867=new _0xa34d16(this['locale']);return _0x219867['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x4cf5e0=>_0x4cf5e0)]},'children':this['_resultViews']}),_0x219867;}['_createErrorView'](){const _0x32db48=new _0xa34d16(this['locale']),_0x38c066=new _0x4c508c(this['locale']),t=this['locale']['t'];return _0x32db48['delegate']('retryReview')['to'](this),_0x38c066['set']({'label':t('Try\x20again'),'withText':!0x0,'class':bo+'\x20ck-ai_review__check-run-error-retry-button'}),_0x38c066['on']('execute',()=>{this['fire']('retryReview');}),_0x32db48['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x3fe2bc=>!_0x3fe2bc),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0xcc72e3=>'chunk'===_0xcc72e3)]},'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',_0x547385=>'chunk'===_0x547385)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x33983f=>'general'!==_0x33983f)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x552e9e=>'chunk'!==_0x552e9e)]},'children':[{'text':Oo(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x38c066]}),_0x32db48;}['_createCancelButtonView'](){const _0x572db7=new _0x4c508c(this['locale']);return _0x572db7['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[bo+'\x20ck-ai-button-stop-generating'],'icon':_0xe12a8e}),_0x572db7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3136b6=>_0x3136b6),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1b123c=>_0x1b123c)]}}),_0x572db7['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x572db7;}['_createToggleDiffButtonView'](){const _0x19cd4e=new _0x4c508c(this['locale']);_0x19cd4e['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x19cd4e['bind']('isEnabled')['to'](this,'isError',_0x4b4edc=>!_0x4b4edc),_0x19cd4e['extendTemplate']({'attributes':{'class':[bo,'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x32bdee=>!_0x32bdee),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x56ebc5=>_0x56ebc5)]}});const _0x23e10c=Oo(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x41087b=Oo(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x19cd4e['bind']('isOn')['to'](this,'isToggleDiffOn',_0x1c15a9=>_0x1c15a9),_0x19cd4e['bind']('icon')['to'](this,'isToggleDiffOn',_0x3ea7da=>_0x3ea7da?_0x2fd89d:_0x531ad5),_0x19cd4e['bind']('label')['to'](this,'isToggleDiffOn',_0x582e4f=>_0x582e4f?_0x23e10c:_0x41087b),_0x19cd4e['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x19cd4e;}['_createAcceptAllButtonView'](){const _0x44892f=new _0x4c508c(this['locale']);return _0x44892f['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x44892f['bind']('isEnabled')['to'](this,'isError',_0x329e0b=>!_0x329e0b),_0x44892f['extendTemplate']({'attributes':{'class':[wo,'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x65e0e9=>!_0x65e0e9),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x397774=>_0x397774)]}}),_0x44892f['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x44892f;}['_createExitReviewButtonView'](){const _0x4030f9=new _0x4c508c(this['locale']);return _0x4030f9['set']({'label':Oo(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x4030f9['extendTemplate']({'attributes':{'class':[yo,'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x38016f=>!_0x38016f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x80e45a=>_0x80e45a)]}}),_0x4030f9['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x4030f9;}['_createResultHeaderView'](){const _0x62974b=new _0xa34d16(this['locale']),_0x548cb4=this['_createTitleView']();return _0x62974b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x367986=>_0x367986)]},'children':[_0x548cb4,{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x25179e=>!_0x25179e)],'title':Oo(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')},'children':[{'text':Oo(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']]}]}),_0x62974b;}['_createTitleView'](){const _0x21fc95=new _0xa34d16(this['locale']),_0x22523e=new AISpinnerView();return _0x22523e['bind']('isVisible')['to'](this,'isResultReady',_0xaf78a3=>!_0xaf78a3),_0x21fc95['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x111f9a=>_0x111f9a)]},'children':[_0x22523e,{'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')}]}]}]}),_0x21fc95;}['_createFinishReviewButtonView'](){const _0x1631c3=new AIReviewCoreFinishReviewButtonView(Oo(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x1631c3['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x286cfc=>!_0x286cfc)]}}),_0x1631c3['delegate']('finishReview')['to'](this),_0x1631c3;}}class AIReviewCoreReviewCompletedView extends _0xcc051a{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x3f3501,_0x23ef3b){super(_0x3f3501),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x23ef3b['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x23ef3b['headerText']);const _0x34c617=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x34c617['if']('isVisible','ck-hidden',_0x427886=>!_0x427886)]},'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':_0x23ef3b['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x3258c5){const _0x4db107=new AIReviewCoreFinishReviewButtonView(_0x3258c5,this['locale']);return _0x4db107['delegate']('finishReview')['to'](this),_0x4db107;}['_createResultHeaderView'](_0x533d1e){const _0x2cfd5e=new _0xa34d16(this['locale']);return _0x2cfd5e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title'],'title':_0x533d1e},'children':[{'text':_0x533d1e}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x2cfd5e;}}class AIReviewCoreFormDropdownView extends _0xa34d16{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x32b037,_0x33df09){super(_0x32b037),this['_defaultValue']=_0x33df09['default']||(_0x33df09['data']['length']>0x0?_0x33df09['data'][0x0]['id']:''),this['_defaultLabel']=_0x33df09['data']['find'](_0x36aba0=>_0x36aba0['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=nt(this['locale']);const _0x41ace6=this['_prepareListOptions'](_0x33df09['data']);pt(this['_dropdownView'],_0x41ace6,{'role':'menu','ariaLabel':_0x33df09['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x253590=>{_0x253590['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0xaf121e=>{this['formValue']=_0xaf121e['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0xaf121e['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'](_0x4af05c=[]){const _0x1e6f0c=new _0x47a54f();this['resetToDefault']();for(const _0x24835a of _0x4af05c){const _0x1aa63d=new Ot({'label':_0x24835a['label'],'withText':!0x0,'role':'menuitemradio','id':_0x24835a['id'],'model':_0x24835a});_0x1aa63d['bind']('isOn')['to'](this,'formValue',_0x3062d0=>_0x3062d0===_0x1aa63d['id']);const _0x42a2b6={'type':'button','model':_0x1aa63d};_0x1e6f0c['add'](_0x42a2b6);}return _0x1e6f0c;}}class AIReviewCoreFormManagerView extends _0xcc051a{['_formItem']=null;constructor(_0x58da54,_0x56a1f8,_0x3255cd){super(_0x58da54),this['argsKey']=_0x56a1f8?.['argsKey'];if('dropdown'===_0x56a1f8['formType'])this['_formItem']=new AIReviewCoreFormDropdownView(this['locale'],_0x56a1f8);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x498e80=new Rt(this['locale'],{'children':[this['_formItem']],'class':[_0x3255cd?'ck-form__row_with-submit':'']});_0x3255cd&&_0x498e80['children']['add'](_0x3255cd),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x498e80]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends Pt{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x21d966){super(_0x21d966),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x2ae5e6(),this['minRows']=AIReviewCorePromptInputView['MIN_ROWS'],this['maxRows']=AIReviewCorePromptInputView['MAX_ROWS'],this['extendTemplate']({'attributes':{'id':'ai-review-prompt-input','class':['ck','ck-review__prompt-input']}});}['render'](){super['render'](),this['on']('update',()=>{this['isEmpty']=''===this['element']['value']?.['trim']();}),this['keystrokes']['listenTo'](this['element']);}}class AIReviewCoreCustomCheckView extends _0xa34d16{['focusTracker']=new _0xafcb0e();['keystrokes']=new _0x2ae5e6();['focusCycler'];['_focusables']=new Et();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4301fc,_0x25d93c,_0x152e23=!0x1){super(_0x4301fc),this['_check']=_0x25d93c,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x25d93c['defaultModel']?_0x25d93c['defaultModel']['id']:'',this['_defaultLabel']=_0x25d93c['defaultModel']?_0x25d93c['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new bt(this['locale'],()=>new AIReviewCorePromptInputView(_0x4301fc)),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 _0x47a54f(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x152e23),pt(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new Rt(this['locale'],{'children':[this['promptInputView']]}),new Rt(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x328bf2,_0x301bc2)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x301bc2()):_0x301bc2();}),this['focusCycler']=new et({'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'](_0x33092e=>{this['_focusables']['add'](_0x33092e),this['focusTracker']['add'](_0x33092e['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 _0x8c4538 of this['_getFormValidators']()){const _0x12677c=_0x8c4538();if(_0x12677c)return this['promptInputView']['errorText']=_0x12677c,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return Oo(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x1a9ed6=new _0x4c508c(this['locale']),t=this['locale']['t'];return _0x1a9ed6['set']({'label':t('Submit'),'withText':!0x0,'class':wo}),_0x1a9ed6['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1a9ed6;}['_createCancelButtonView'](){const _0x48320c=new _0x4c508c(this['locale']),t=this['locale']['t'];return _0x48320c['set']({'label':t('Cancel'),'withText':!0x0,'class':yo}),_0x48320c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x19967a=>{_0x19967a['stopPropagation']();})}}),_0x48320c['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x48320c;}['_setModelList'](_0x384221){this['_modelSelectionDropdownItems']['clear']();const _0x1a3a99=this['_check']['models'];if(_0x384221)this['set']('modelDisplayMode','hidden');else{const _0x33968d=0x1===_0x1a3a99['length'];this['set']('modelDisplayMode',_0x33968d?'name':'selector');}if(this['resetToDefault'](),_0x1a3a99?.['length']){0x1===_0x1a3a99['length']&&this['set']('activeModelName',_0x1a3a99[0x0]['name']||_0x1a3a99[0x0]['id']);for(const _0x3eadaa of _0x1a3a99){const _0x1df528=new Ot({'label':_0x3eadaa['name'],'withText':!0x0,'role':'menuitemradio','id':_0x3eadaa['id'],'model':_0x3eadaa});_0x1df528['bind']('isOn')['to'](this,'modelId',_0xdb1878=>_0xdb1878===_0x3eadaa['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x1df528,'labelView':new ModelButtonLabelView(this['locale'],_0x3eadaa)});}}}['_createModelSelectionDropdown'](){const _0x3a88e2=nt(this['locale']);return _0x3a88e2['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x3a88e2['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0,'class':yo}),_0x3a88e2['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2e6eef=>'selector'===_0x2e6eef),this['listenTo'](_0x3a88e2,'execute',_0x8c74c7=>{this['modelId']=_0x8c74c7['source']['model']['id'],_0x3a88e2['buttonView']['label']=_0x8c74c7['source']['label'];}),_0x3a88e2;}['_createModelNameView'](){const _0x37ae92=new ModelNameView(this['locale']);return _0x37ae92['bind']('text')['to'](this,'activeModelName',_0x3f1291=>_0x3f1291??''),_0x37ae92['bind']('isVisible')['to'](this,'modelDisplayMode',_0x266054=>'name'===_0x266054),_0x37ae92;}['_createActionsFooterView'](){const _0x42873e=new _0xa34d16(this['locale']);return _0x42873e['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']]}]}),_0x42873e;}}class ModelNameView extends _0xa34d16{constructor(_0x52fb49){super(_0x52fb49),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x287824=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x287824['if']('isVisible','ck-hidden',_0x22a960=>!_0x22a960)]},'children':[{'text':_0x287824['to']('text')}]});}}class ModelButtonLabelView extends tt{constructor(_0xca613c,_0x5ec07b){super();const _0x45e316=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x45e316['to']('style'),'id':_0x45e316['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x45e316['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5ec07b['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends _0xcc051a{['_formItemsCollection']=new Et();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x900baa,_0x14cdb1,_0x34eb0e,_0x4bbbde=!0x1){super(_0x900baa),this['_hideModels']=_0x4bbbde,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x14cdb1['isParameterized']);const _0x125250=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',_0x35d4be=>_0x35d4be),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0xf70647=>_0xf70647)],'style':{'--ck-ai-review-check-list-item-index':_0x34eb0e}},'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':_0x14cdb1['title']}]},_0x125250]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x14cdb1['description']?[{'text':_0x14cdb1['description']}]:[]}]}]},..._0x14cdb1['isParameterized']?[this['_createParameterizedView'](_0x14cdb1)]:[],...'custom'===_0x14cdb1['id']?[this['_createCustomView'](_0x14cdb1,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x14cdb1['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x14cdb1['id'],'args':_0x14cdb1['useArgs']?_0x14cdb1['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&gt({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x5c8478=>{_0x5c8478['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x10668a=new _0x468811();return _0x10668a['content']=_0x57f3d1,_0x10668a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x10668a;}['_createParameterizedView'](_0x5b02db){const _0x158d37=new _0xa34d16(),_0x198b06=this['_createFormView'](_0x5b02db);return _0x158d37['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x138e48=>!_0x138e48)]},'children':[_0x198b06]}),_0x158d37;}['_createFormView'](_0x56e599){const _0x897c28=new _0xa34d16(),_0x36d0fb=Array['isArray'](_0x56e599['options'])?_0x56e599['options']:[],_0x10109d=new _0x4c508c(this['locale']),t=this['locale']['t'];_0x10109d['set']({'label':t('Submit'),'withText':!0x0,'class':wo}),_0x10109d['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3e5b27=>{_0x3e5b27['stopPropagation']();})}}),_0x10109d['on']('execute',()=>{const _0xf88715=[],_0x46fe1f={};this['_formItemsCollection']['forEach'](_0x13c7ac=>{_0xf88715['push'](_0x13c7ac['value']),_0x56e599['useArgs']&&_0x56e599['options']&&(_0x46fe1f[_0x13c7ac['argsKey']]=_0x13c7ac['value']);}),this['fire']('runReviewCheck',{'id':_0x56e599['id'],'params':_0xf88715['length']?_0xf88715:void 0x0,'args':Object['keys'](_0x46fe1f)['length']?_0x46fe1f:void 0x0});});const _0x4b3ed4=_0x36d0fb['length'];return _0x36d0fb['forEach']((_0x230474,_0xbc6350)=>{const _0x1d3344=_0xbc6350===_0x4b3ed4-0x1;this['_formItemsCollection']['add'](new AIReviewCoreFormManagerView(this['locale'],_0x230474,_0x1d3344?_0x10109d:null));}),_0x897c28['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x897c28;}['_createCustomView'](_0x24b06c,_0x3a7e32=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x24b06c,_0x3a7e32),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',_0xe4f196=>!_0xe4f196)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x5a1310,_0x1df502,_0x25c3af)=>{_0x25c3af||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends _0xcc051a{['_checkViews'];constructor(_0x21b637){super(_0x21b637),this['_checkViews']=new Et(),this['_setupTemplate']();}['setChecks'](_0x24b92d,_0x25b276=!0x1){this['_checkViews']['clear']();for(const [_0x363c47,_0x2ef27b]of _0x24b92d['entries']()){const _0x541ec7=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x2ef27b,_0x363c47,_0x25b276);_0x541ec7['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x541ec7);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x93c999 of this['_checkViews'])_0x93c999 instanceof AIReviewCoreReviewCommandListItemView&&_0x93c999['resetToDefault']();}['_setupTemplate'](){const _0x317c2a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x317c2a['if']('isVisible','ck-hidden',_0x2a7a64=>!_0x2a7a64)]},'children':this['_checkViews']});}}class AIReviewModeUI extends AIReviewCoreUI{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x5ba1e3=this['context']['plugins']['get']('AITabs'),_0x1b8089=this['context']['locale'],_0x21ef9b=new AIHeaderView(_0x1b8089,{'label':Oo(_0x1b8089,'AI_REVIEW_MODE'),'icon':_0x208016,'class':'ck-ai-header_review','showResizeButton':_0x5ba1e3['showResizeButton']});return _0x21ef9b['delegate']('resizeTabs')['to'](_0x5ba1e3),_0x21ef9b['bind']('isMaximized')['to'](_0x5ba1e3['view'],'isMaximized',_0x4d0a62=>_0x4d0a62),new AIReviewCoreView(this['context']['locale'],{'header':_0x21ef9b,'list':new AIReviewCoreReviewCheckListView(_0x1b8089),'results':new AIReviewCoreUICheckResultsView(_0x1b8089,{'generalErrorText':Oo(_0x1b8089,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x1b8089,{'headerText':Oo(_0x1b8089,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':Oo(_0x1b8089,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':Oo(_0x1b8089,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x5eddf9=this['context']['plugins']['get']('AITabs');_0x5eddf9['view']['on']('activateTab',(_0x38764d,{newTab:_0x2a61f5,oldTab:_0x4e9c45})=>{'reviewMode'===_0x2a61f5?this['fire']('getReviewCheckList'):'reviewMode'===_0x4e9c45&&this['fire']('leaveReview');}),_0x5eddf9['view']['addTab']({'id':'reviewMode','buttonLabel':Oo(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x208016,'order':0x0,'content':this['_mainView']});}}const lg='review-',hg=['softBreak'],ug=['htmlScript','htmlStyle','htmlCustomElement'];class AIReviewCoreEditing extends _0x304a5a{static get['requires'](){return[DocumentCompare,AIEditing];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_activeMarkers']=new Set();['_domEmitter'];['_eventEmitter'];['_reviewEditingAttachedEditors']=new WeakSet();['_boundEditables']=new WeakMap();constructor(_0x2c78d7){super(_0x2c78d7),this['_domEmitter']=new(_0x3c72d0())(),this['_eventEmitter']=new(_0x3cde5f())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x395d1d=_0x53a7b4=>this['_scheduleAttachReviewEditingToEditor'](_0x53a7b4);if(this['_registerGlobalBalloonBlurHandler'](),this['context']instanceof _0x8aa8ea)return void _0x395d1d(this['context']);const _0x397aa8=this['context'];for(const _0x19bc08 of _0x397aa8['editors'])_0x395d1d(_0x19bc08);this['listenTo'](_0x397aa8['editors'],'add',(_0x5f4bf1,_0x4b553c)=>{_0x395d1d(_0x4b553c);}),this['listenTo'](_0x397aa8['editors'],'remove',(_0x1fc2df,_0x239064)=>{for(const [_0x18123b,_0x2f5c42]of this['_markers'])_0x2f5c42['editor']===_0x239064&&(this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x18123b,'changeId':_0x2f5c42['groupId']}),this['_markers']['delete'](_0x18123b));});}['_scheduleAttachReviewEditingToEditor'](_0x5cfb07){const _0x4ba950=()=>{'destroyed'!==_0x5cfb07['state']&&_0x5cfb07['conversion']&&this['_attachReviewEditingToEditor'](_0x5cfb07);};if('ready'===_0x5cfb07['state'])return void _0x4ba950();const _0x165f30=()=>{this['stopListening'](_0x5cfb07,'ready',_0x165f30),_0x4ba950();};this['listenTo'](_0x5cfb07,'ready',_0x165f30);}['_attachReviewEditingToEditor'](_0x1b2eff){this['_reviewEditingAttachedEditors']['has'](_0x1b2eff)||(_0x1b2eff['conversion']['for']('editingDowncast')['markerToElement']({'model':lg+'insert','view':(_0x265ea2,{writer:_0x264533})=>{const _0x4269fd=this['_markers']['get'](_0x265ea2['markerName']),_0x435812={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x4269fd?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x265ea2['markerName']};return _0x264533['createUIElement']('span',_0x435812,function(_0xc695b8){const _0x5f8931=this['toDomElement'](_0xc695b8);return _0x5f8931['innerHTML']=_0x4269fd?.['content']?.['asString']||'',_0x5f8931;});}}),_0x1b2eff['conversion']['for']('editingDowncast')['markerToHighlight']({'model':lg+'remove-only','view':_0x1f71c7=>{const _0x110f54=this['_markers']['get'](_0x1f71c7['markerName']),_0xb243cd=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x110f54?.['id']||'')&&_0xb243cd['push']('ck-ai_review__change_active'),{'classes':_0xb243cd,'attributes':{'data-marker-id':_0x1f71c7['markerName']}};}}),_0x1b2eff['conversion']['for']('editingDowncast')['markerToHighlight']({'model':lg+'remove-context','view':_0x599d61=>{const _0xb79bfc=this['_markers']['get'](_0x599d61['markerName']),_0x4c5792=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0xb79bfc?.['id']||'')&&_0x4c5792['push']('ck-ai_review__change_active'),{'classes':_0x4c5792,'attributes':{'data-marker-id':_0x599d61['markerName']}};}}),_0x1b2eff['conversion']['for']('editingDowncast')['markerToHighlight']({'model':lg+'remove-text','view':_0x1042e3=>{const _0x421e24=this['_markers']['get'](_0x1042e3['markerName']),_0xc73612=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x421e24?.['id']||'')&&_0xc73612['push']('ck-ai_review__change_active'),{'classes':_0xc73612,'attributes':{'data-marker-id':_0x1042e3['markerName']}};}}),_0x1b2eff['conversion']['for']('dataDowncast')['markerToElement']({'model':lg+'suggestion-context','view':(_0x2b686a,{writer:_0x424549})=>_0x424549['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x2b686a['isOpening']?'start':'end')})}),_0x1b2eff['conversion']['for']('downcast')['attributeToAttribute']({'model':tf,'view':ef}),this['_updateMouseMarkerInteractionListeners'](_0x1b2eff),this['listenTo'](_0x1b2eff,'addRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x1b2eff),{'priority':'lowest'}),this['listenTo'](_0x1b2eff,'detachRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x1b2eff),{'priority':'lowest'}),_0x1b2eff['model']['document']['registerPostFixer'](_0x292518=>this['_validateMarkers'](_0x1b2eff,_0x292518)),_0x1b2eff['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x1b2eff)),this['_reviewEditingAttachedEditors']['add'](_0x1b2eff));}['_updateMouseMarkerInteractionListeners'](_0x10c82d){let _0x315741=this['_boundEditables']['get'](_0x10c82d);_0x315741||(_0x315741=new Map(),this['_boundEditables']['set'](_0x10c82d,_0x315741));const _0x44ad77=new Set(_0x10c82d['ui']['getEditableElementsNames']());for(const _0x30dbe3 of _0x44ad77){if(_0x315741['has'](_0x30dbe3))continue;const _0x2610cc=_0x10c82d['ui']['getEditableElement'](_0x30dbe3);_0x315741['set'](_0x30dbe3,_0x2610cc),this['_attachMouseMarkerInteractionListeners'](_0x2610cc);}for(const [_0x16ba1e,_0x1b0d80]of _0x315741)_0x44ad77['has'](_0x16ba1e)||(_0x315741['delete'](_0x16ba1e),this['_domEmitter']['stopListening'](_0x1b0d80));}['_attachMouseMarkerInteractionListeners'](_0x5649e4){this['_domEmitter']['listenTo'](_0x5649e4,'mouseup',(_0x4b5af4,_0x284e1e)=>{const _0x576296=_0x284e1e['target'],_0x1c6c1b=this['_findMarkerElement'](_0x576296);if(!_0x1c6c1b)return;const _0x5169e5=_0x1c6c1b['getAttribute']('data-marker-id'),_0x1f8e1a=_0x5169e5['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x5169e5,'changeId':_0x1f8e1a,'markerElement':()=>this['_findMarkerElementById'](_0x5169e5),'domEvent':_0x284e1e});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x5649e4,'mouseover',(_0x3492cc,_0x49d955)=>{const _0x425ced=_0x49d955['target'],_0x45cacb=_0x49d955['relatedTarget'];let _0x5eb03e=this['_findMarkerElement'](_0x425ced);if(!_0x5eb03e&&_0x45cacb&&(_0x5eb03e=this['_findMarkerElement'](_0x45cacb)),!_0x5eb03e)return;const _0x1bf4ac=_0x5eb03e['getAttribute']('data-marker-id'),_0x3fb6fa=_0x1bf4ac['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x3fb6fa,'markerElement':()=>this['_findMarkerElementById'](_0x1bf4ac),'domEvent':_0x49d955});});}['_registerGlobalBalloonBlurHandler'](){this['_domEmitter']['listenTo'](document,'mouseover',Fr((_0x3fa17a,_0x2e6049)=>{const _0x18b048=_0x2e6049['target'];if(this['_findMarkerElement'](_0x18b048))return;_0x18b048['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8));}['getDocumentData'](){const _0x199d31=this['context']['plugins']['get']('AIEditing'),_0x2393ad=wf(this['context']);if(!_0x2393ad['length'])throw new _0x522f1f('ai-get-editor-from-context-no-editor',this);const _0x4d51e5=new Set(),_0x1280e5=[],_0x7c0c8=new Map();for(const _0x1ba419 of _0x2393ad)for(const _0x541c4e of _0x1ba419['model']['document']['getRoots']()){if('$graveyard'===_0x541c4e['rootName'])continue;const _0x506687=this['_buildDocumentDataSliceForRoot'](_0x1ba419,_0x541c4e,_0x199d31,_0x4d51e5);_0x1280e5['push'](_0x506687['content']);for(const [_0x4e59cb,_0xb71b93]of _0x506687['elements'])_0x7c0c8['set'](_0x4e59cb,_0xb71b93);}return{'elements':_0x7c0c8,'content':_0x1280e5['join']('')};}['_buildDocumentDataSliceForRoot'](_0x7cbd5a,_0xd82ec6,_0x28cbc0,_0x20dcac){const _0x3642e5=_0x7cbd5a['model'],_0x1e0b2d=new _0x50f751();for(const _0x3e9ac6 of _0xd82ec6['getChildren']())_0x1e0b2d['_appendChild'](_0x3e9ac6['_clone'](!0x0));for(const _0x504757 of _0x3642e5['markers']){const _0x517107=_0x504757['getRange']();_0x517107&&_0x517107['root']['rootName']===_0xd82ec6['rootName']&&_0x1e0b2d['markers']['set'](_0x504757['name'],this['_changeRangeOwnerDocument'](_0x517107['clone'](),_0x1e0b2d));}const _0x2220e9=new Map(),_0xb9b2b2=_0x3642e5['document']['version'],_0x492881=new _0x483405({'ignoreElementEnd':!0x0,'startPosition':_0x3642e5['createPositionAt'](_0x1e0b2d,0x0)});for(const {item:_0x204d36}of _0x492881){if(_0x204d36['is']('element')&&_0x204d36['name']&&ug['includes'](_0x204d36['name'])){const _0x42b72f=this['_upsertDataId'](_0x204d36,()=>_0x28cbc0['_nextDataId'](_0x20dcac));_0x20dcac['add'](_0x42b72f);}if(!_0x204d36['is']('$textProxy'))continue;const _0x538a72=_0x204d36['parent'];if(!_0x538a72||!_0x538a72['is']('element'))continue;const _0x5a9691=this['_upsertDataId'](_0x538a72,()=>_0x28cbc0['_nextDataId'](_0x20dcac));_0x20dcac['add'](_0x5a9691);for(const _0x164bdb of _0x538a72['getChildren']())_0x164bdb['is']('element')&&(_0x164bdb['name']&&hg['includes'](_0x164bdb['name'])||_0x20dcac['add'](this['_upsertDataId'](_0x164bdb,()=>_0x28cbc0['_nextDataId'](_0x20dcac))));let _0x5c7474=_0x538a72;for(;_0x5c7474['parent']&&!_0x5c7474['parent']['is']('documentFragment');)_0x5c7474=_0x5c7474['parent'],_0x5c7474['hasAttribute'](tf)&&_0x5c7474['_removeAttribute'](tf);_0x2220e9['set'](_0x5a9691,{'editor':_0x7cbd5a,'rootName':_0xd82ec6['rootName'],'path':_0x538a72['getPath'](),'documentVersion':_0xb9b2b2,'getContent':this['_createGetContentUsingDataIdFn'](_0x5c7474['_clone'](!0x0),_0x5a9691,_0x7cbd5a['data'])}),_0x492881['jumpTo'](_0x3642e5['createPositionAfter'](_0x538a72));}return{'content':_0x7cbd5a['data']['processor']['toData'](_0x7cbd5a['data']['toView'](_0x1e0b2d)),'elements':_0x2220e9};}['diffContent'](_0x1454ee,_0x424842,_0x2dd950,_0x485141=!0x1){const {contentInitial:_0x2a6ece,contentNew:_0x23014e}=this['_neutralizeChangesOnUnsupportedElements'](_0x424842,_0x2dd950),_0x3928d0=[],_0x2468dd=_0x1454ee['data']['parse'](_0x23014e,'$documentFragment'),_0x2468b5=_0x1454ee['data']['parse'](_0x2a6ece,'$documentFragment'),_0x2d515d=_0x1454ee['model']['createPositionAt'](_0x2468b5,0x0);if(this['_haveSingleTopLevelElement'](_0x2468dd)){if(!this['_hasSameTopLevelElement'](_0x2468b5,_0x2468dd))return _0x3928d0;}else{const _0x1a7398=_0x1454ee['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x2468b5,_0x1a7398)||!this['_haveOnlyInlineContent'](_0x2468dd,_0x1a7398))return _0x3928d0;}const _0x3c8d0d=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x2a6ece,_0x23014e,{'targetEditor':_0x1454ee,'anchor':_0x2d515d,'markDeletions':!0x0})['getOperations']()['filter'](_0x7e1430=>'insert'===_0x7e1430['type']||'marker'===_0x7e1430['type']&&_0x7e1430['name']['startsWith']('$markedRemove')),_0x3bdd01=this['_groupAdjacentOperations'](_0x3c8d0d),_0x5422f8=[];if(_0x485141){if(_0x3bdd01['length']){const _0x355973=_0x3bdd01[0x0]['operations'][0x0],_0x2060e2='insert'===_0x355973['type']?_0x355973['position']:_0x355973['newRange']['start'],_0x36ca6d=this['_getPositionLimitingRange'](_0x2060e2,_0x1454ee,'inside'),_0xc1aab9=_0x36ca6d?_0x2468dd['getChild'](0x0)['getChildren']():_0x2468dd['getChildren'](),_0x299445=_0x36ca6d||_0x1454ee['model']['createRangeIn'](_0x2468b5),_0x302e08=[new _0x16ce72('$markedRemove:synthetic'+_0x3eda13(),null,_0x299445,_0x1454ee['model']['document']['model']['markers'],!0x0,_0x1454ee['model']['document']['version']+0x1),new _0xf189cc(_0x299445['end'],_0xc1aab9,_0x1454ee['model']['document']['version']+0x2)];_0x5422f8['push']({'operations':_0x302e08,'operationsIsolated':_0x302e08,'groupOffset':0x0});}}else _0x5422f8['push'](..._0x3bdd01);let _0x141532=0x0;return _0x1454ee['model']['change'](_0x15d086=>{for(let _0x38f375=0x0;_0x38f375<_0x5422f8['length'];_0x38f375++){const _0x3f4c92=_0x5422f8[_0x38f375],_0x303d58=_0x15d086['createDocumentFragment']();for(const _0x3b0860 of _0x2468b5['getChildren']())_0x15d086['append'](_0x3b0860['_clone'](!0x0),_0x303d58);for(const _0x51788a of _0x3f4c92['operationsIsolated'])if('insert'===_0x51788a['type']){const _0x1971ad=_0x51788a;_0x1971ad['baseVersion']=null,_0x1971ad['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x1971ad,_0x303d58),_0x15d086['batch']['addOperation'](_0x51788a),_0x1454ee['model']['applyOperation'](_0x51788a);const _0x20afeb='suggestion:insertion:id:authorId:'+_0x141532++,_0x294299=_0x1454ee['model']['createRange'](_0x1971ad['position'],_0x1971ad['position']['getShiftedBy'](_0x1971ad['howMany']));_0x303d58['markers']['set'](_0x20afeb,_0x294299);}else{if('marker'===_0x51788a['type']&&_0x51788a['name']['startsWith']('$markedRemove')){const _0x3f3907=_0x51788a,_0x12ab2b='suggestion:deletion:id:authorId:'+_0x141532++;this['_changeOperationOwnerDocument'](_0x3f3907,_0x303d58),_0x303d58['markers']['set'](_0x12ab2b,_0x3f3907['newRange']);}}if(_0x485141)_0x3928d0['push']({..._0x3f4c92,'context':this['_createGetContentFn'](_0x2468b5,_0x1454ee['data']),'content':this['_createGetContentFn'](_0x2468b5,_0x1454ee['data'])});else{const _0x527863=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x3f4c92['operationsIsolated'][0x0]),_0x303d58),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x3f4c92['operationsIsolated'][_0x3f4c92['operationsIsolated']['length']-0x1]),_0x303d58),_0x1454ee);_0x303d58['markers']['set'](lg+'suggestion-context',new _0x2b1886(_0x527863['start'],_0x527863['end'])),_0x3928d0['push']({..._0x3f4c92,'context':this['_createGetContextFn'](_0x303d58,_0x1454ee['data'],{'ellipsisBefore':_0x527863['hasContentBefore'],'ellipsisAfter':_0x527863['hasContentAfter']}),'content':this['_createGetContentFn'](_0x303d58,_0x1454ee['data'])});}}}),_0x3928d0;}['markChangePositionInEditorContent'](_0x4f2b9a,_0x3af1f2){if(!_0x4f2b9a['length'])return;const _0xb47845=_0x4f2b9a[0x0]['parent']['id'],_0x258b79=_0x3af1f2['elements']['get'](_0xb47845);if(!_0x258b79)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0xb47845);const _0xef5ccf=_0x258b79['path'],_0x581be8=_0x258b79['editor'],_0x3ceb32=_0x581be8['model']['document']['getRoot'](_0x258b79['rootName']);if(!_0x3ceb32)return void console['warn']('No\x20model\x20root\x20found\x20for\x20name:\x20'+_0x258b79['rootName']);const _0x2f9dcb=_0x581be8['model']['document']['history']['getOperations'](_0x258b79['documentVersion']),_0x5c38eb=[];for(const _0x20512f of _0x4f2b9a){const _0x16aa11=_0x20512f['operationsIsolated']['map'](_0x35fd32=>this['_translateOperationToEditorContent'](_0x35fd32,_0xef5ccf,_0x3ceb32));if(!_0x16aa11||!_0x16aa11['length'])continue;const _0x1bad4a=_0x16aa11['every'](_0x576537=>'marker'===_0x576537['type']&&_0x576537['name']['startsWith']('$markedRemove')),_0x3ee0a4={'document':_0x581be8['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x183fd6=_0x142dc9(_0x16aa11,_0x2f9dcb,_0x3ee0a4)['operationsA'];for(const _0x59e00d of _0x183fd6)if('insert'===_0x59e00d['type']){const _0x27a2be=_0x59e00d,_0x376159=_0x27a2be['nodes'];_0x581be8['model']['change'](_0x420fa0=>{const _0x189209=_0x420fa0['createDocumentFragment']();for(const _0x4e8514 of _0x376159)_0x420fa0['append'](_0x4e8514['_clone'](!0x0),_0x189209);_0x5c38eb['push']({'start':_0x27a2be['position'],'end':_0x27a2be['position'],'type':'insert','groupId':_0x20512f['id'],'content':{'asString':this['_createGetContentFn'](_0x189209,_0x581be8['data'])(),'asFragment':_0x189209}});});}else{if('marker'===_0x59e00d['type']&&_0x59e00d['name']['startsWith']('$markedRemove')){const _0x1ed0a2=_0x59e00d;let _0x12691a='remove-text';if(_0x1bad4a){const _0x449dbc=this['_findAdjacentContextDistance'](_0x1ed0a2['newRange']['start'],'backward',_0x581be8['model']['schema']),_0xfe0cd5=this['_findAdjacentContextDistance'](_0x1ed0a2['newRange']['end'],'forward',_0x581be8['model']['schema']);if(_0x449dbc||_0xfe0cd5){const _0x566766=_0x1ed0a2['newRange']['start']['getShiftedBy'](-_0x449dbc),_0x57b97c=_0x1ed0a2['newRange']['end']['getShiftedBy'](_0xfe0cd5);_0x5c38eb['push']({'start':_0x566766,'end':_0x57b97c,'groupId':_0x20512f['id'],'type':'remove-context'});}else _0x12691a='remove-only';}_0x5c38eb['push']({'start':_0x1ed0a2['newRange']['start'],'end':_0x1ed0a2['newRange']['end'],'groupId':_0x20512f['id'],'type':_0x12691a});}}}this['_insertMarkers'](_0x5c38eb,_0x581be8);}['clearAllMarkers'](){const _0x59c8e4=new Map();for(const _0x286dbf of this['_markers']['keys']()){const _0x8b08bd=this['_markers']['get'](_0x286dbf);_0x8b08bd?.['editor']&&(_0x59c8e4['has'](_0x8b08bd['editor'])||_0x59c8e4['set'](_0x8b08bd['editor'],[]),_0x59c8e4['get'](_0x8b08bd['editor'])['push'](_0x286dbf));}for(const [_0x18c325,_0x437802]of _0x59c8e4)_0x18c325['model']['change'](_0x39ca28=>{for(const _0x1e0c4c of _0x437802)_0x18c325['model']['markers']['get'](_0x1e0c4c)&&_0x39ca28['removeMarker'](_0x1e0c4c);});this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){for(const _0x5e0448 of wf(this['context']))_0x5e0448['enableReadOnlyMode']('ai-review');}['switchToEdit'](){for(const _0x48563b of wf(this['context']))_0x48563b['disableReadOnlyMode']('ai-review');}['applyChange'](_0x154010){const _0x57315a=_0x154010['map'](_0x3e02f8=>this['_getMarkersDataForGroup'](_0x3e02f8))['flat'](),_0x356132=new Map();for(const _0x1ce16e of _0x57315a)_0x356132['has'](_0x1ce16e['editor'])||_0x356132['set'](_0x1ce16e['editor'],[]),_0x356132['get'](_0x1ce16e['editor'])['push'](_0x1ce16e);for(const [_0x19cbd0,_0x8601f3]of _0x356132){const _0x2944df=_0x19cbd0['model'];_0x2944df['change'](_0x33035b=>{for(const _0x12e6d7 of _0x8601f3){const _0x5f4c74=_0x19cbd0['model']['markers']['get'](_0x12e6d7['id']);if(_0x5f4c74){if('insert'===_0x12e6d7['type']){if(!_0x12e6d7['content'])continue;_0x2944df['insertContent'](_0x12e6d7['content']['asFragment']||null,_0x5f4c74['getRange']()['start']);}else'remove-text'!==_0x12e6d7['type']&&'remove-only'!==_0x12e6d7['type']||_0x2944df['deleteContent'](_0x2944df['createSelection'](_0x5f4c74['getRange']()));_0x33035b['removeMarker'](_0x12e6d7['id']),this['_markers']['delete'](_0x12e6d7['id']);}}});}}['rejectChange'](_0xbd5f9){const _0x363048=this['_getMarkersDataForGroup'](_0xbd5f9),_0x415955=new Map();for(const _0x93e44c of _0x363048)_0x415955['has'](_0x93e44c['editor'])||_0x415955['set'](_0x93e44c['editor'],[]),_0x415955['get'](_0x93e44c['editor'])['push'](_0x93e44c);for(const [_0x317270,_0x21340b]of _0x415955)_0x317270['model']['change'](_0x4edcef=>{for(const _0x202bc2 of _0x21340b)_0x4edcef['removeMarker'](_0x202bc2['id']),this['_markers']['delete'](_0x202bc2['id']);});}['getEditor'](){return bf(this['context']);}['getEditors'](){return wf(this['context']);}['getEditorForChange'](_0x20e8bc){const _0x1fa569=this['_getMarkersDataForGroup'](_0x20e8bc);return _0x1fa569[0x0]?.['editor'];}['getMarkerElementForChange'](_0x6f0297){const _0x8745a0=Array['from'](this['_markers']['values']())['filter'](_0x350a8e=>_0x350a8e['groupId']===_0x6f0297);if(!_0x8745a0['length'])return null;const _0x1f0214=0x1===_0x8745a0['length']?_0x8745a0[0x0]:this['_sortMarkers'](_0x8745a0)[0x0],_0x3afb82=_0x1f0214['editor']['model']['markers']['get'](_0x1f0214['id']);if(!_0x3afb82)return null;return{'modelRange':_0x3afb82['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x1f0214['id'])};}['getContentElementForChange'](_0x36af3f){const _0x2f8b9f=Array['from'](this['_markers']['values']())['filter'](_0x4205be=>_0x4205be['groupId']===_0x36af3f);if(!_0x2f8b9f['length'])return null;const _0x86a245=0x1===_0x2f8b9f['length']?_0x2f8b9f[0x0]:this['_sortMarkers'](_0x2f8b9f)[0x0],_0x4f8089=_0x86a245['editor'],_0x3956bc=_0x4f8089['model']['markers']['get'](_0x86a245['id']);if(!_0x3956bc)return null;const _0x46d3aa=_0x3956bc['getRange'](),_0xabd839=_0x4f8089['editing']['view']['getDomRoot'](_0x46d3aa['root']['rootName'])||_0x4f8089['editing']['view']['getDomRoot']();if(!_0xabd839||!_0x46d3aa)return null;let _0x241e7f=_0x46d3aa['start']['parent'];for(;_0x241e7f['parent']&&!_0x241e7f['parent']['is']('rootElement');)_0x241e7f=_0x241e7f['parent'];if(!_0x241e7f||!_0x241e7f['name'])return null;const _0x98924b=_0xabd839['querySelector']('[data-marker-id=\x22'+_0x86a245['id']+'\x22]');if(!_0x98924b)return null;let _0x31ea2a=null;_0x4f8089['model']['change'](_0x48693b=>{_0x31ea2a=_0x48693b['createDocumentFragment'](),_0x48693b['append'](_0x241e7f['_clone'](!0x0),_0x31ea2a);});const _0x2ba00d=_0x4f8089['data']['toView'](_0x31ea2a)['getChild'](0x0);return _0x98924b['closest'](_0x2ba00d['name']);}['reactivateMarkers'](_0x2be615){const _0x1e69d2=this['_getMarkersDataForGroup'](_0x2be615);if(!_0x1e69d2['length'])return;const _0x4859f3=Array['from'](this['_activeMarkers'])['sort'](),_0x2574bc=Array['from'](new Set(_0x1e69d2['map'](_0x48f75f=>_0x48f75f['id'])))['sort']();_0x4859f3['join']('|')!==_0x2574bc['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x2be615));}['setMarkersInElementAsActive'](_0x2f27a5){const _0x59cafe=this['_getMarkersDataForGroup'](_0x2f27a5);if(!_0x59cafe['length'])return;const _0x292572=_0x59cafe[0x0]['editor'],_0x4421fa=new Set(_0x59cafe['map'](_0x17e965=>_0x17e965['id'])),_0x115634=Array['from'](_0x4421fa['values']())['map'](_0x1cac85=>_0x292572['model']['markers']['get'](_0x1cac85))['filter'](_0x1af729=>!!_0x1af729);_0x4421fa['forEach'](_0x3ab651=>{this['_activeMarkers']['add'](_0x3ab651);}),_0x292572['model']['change'](()=>{_0x115634['forEach'](_0x473d8d=>{_0x292572['editing']['reconvertMarker'](_0x473d8d);});});}['setAllMarkersAsInactive'](){const _0x428e4c=Array['from'](this['_activeMarkers']);if(!_0x428e4c['length'])return;this['_activeMarkers']['clear']();const _0x29c183=new Map();for(const _0x32241b of _0x428e4c){const _0xecc17d=this['_markers']['get'](_0x32241b);if(!_0xecc17d)continue;const _0x5a74fa=_0xecc17d['editor'],_0x2c8157=_0x5a74fa['model']['markers']['get'](_0x32241b);_0x2c8157&&(_0x29c183['has'](_0x5a74fa)||_0x29c183['set'](_0x5a74fa,[]),_0x29c183['get'](_0x5a74fa)['push'](_0x2c8157));}for(const [_0x3548d4,_0x224c04]of _0x29c183)_0x3548d4['model']['change'](()=>{_0x224c04['forEach'](_0x341941=>{_0x3548d4['editing']['reconvertMarker'](_0x341941);});});}['_getPositionLimitingRange'](_0x52646f,_0xcd3423,_0x12011b='outside'){if(!_0x52646f)return null;let _0x29380a=_0x52646f['parent'];for(;_0x29380a&&_0x29380a['parent']&&!_0x29380a['parent']['is']('rootElement')&&!_0xcd3423['model']['schema']['isLimit'](_0x29380a)&&!_0xcd3423['model']['schema']['isBlock'](_0x29380a);)_0x29380a=_0x29380a['parent'];if(!_0x29380a||!_0x29380a['name']||_0x29380a['is']('rootElement'))return null;let _0x29db17=null;return _0xcd3423['model']['change'](_0x18c3df=>{_0x29db17='inside'===_0x12011b?_0x18c3df['createRangeIn'](_0x29380a):_0x18c3df['createRangeOn'](_0x29380a);}),_0x29db17;}['_validateMarkers'](_0x160eb7,_0x3c3c15){const _0x1334a1=Array['from'](this['_markers']['keys']()),_0x2680a8=new Map();for(const _0x3541c5 of _0x1334a1){const _0x1041c3=_0x160eb7['model']['markers']['get'](_0x3541c5);if(!_0x1041c3)continue;const _0x460d09=_0x1041c3['getStart']()['root']['rootName']+':'+_0x1041c3['getStart']()['path'][0x0];_0x2680a8['has'](_0x460d09)||_0x2680a8['set'](_0x460d09,[]),_0x2680a8['get'](_0x460d09)['push'](_0x1041c3);}const _0x3428f0=new Set();for(const _0x29fda0 of _0x160eb7['model']['document']['differ']['getChanges']()){let _0x2c1eec='',_0x3809c5=null;if('insert'===_0x29fda0['type'])_0x3809c5=new _0x2b1886(_0x29fda0['position'],_0x29fda0['position']['getShiftedBy'](_0x29fda0['length'])),_0x2c1eec=_0x29fda0['position']['root']['rootName']+':'+_0x29fda0['position']['path'][0x0];else{if('remove'!==_0x29fda0['type'])continue;_0x3809c5=new _0x2b1886(_0x29fda0['position']),_0x2c1eec=_0x29fda0['position']['root']['rootName']+':'+_0x29fda0['position']['path'][0x0];}const _0x1b2e93=_0x2680a8['get'](_0x2c1eec)||[];if(_0x1b2e93['length']){for(const _0x2d42a5 of _0x1b2e93)if(_0x3809c5['root']['rootName']===_0x2d42a5['getRange']()['root']['rootName']&&('insert'!==_0x29fda0['type']||!_0x3809c5['containsRange'](_0x2d42a5['getRange']()))&&(_0x3809c5['isIntersecting'](_0x2d42a5['getRange']())||_0x3809c5['start']['isTouching'](_0x2d42a5['getRange']()['end'])||_0x3809c5['end']['isTouching'](_0x2d42a5['getRange']()['start']))){const _0x32eaaf=this['_parseMarkerName'](_0x2d42a5['name']);Array['from'](this['_markers']['values']())['filter'](_0x1cf1f2=>_0x1cf1f2['groupId']===_0x32eaaf['groupId'])['forEach'](_0x40f65c=>_0x3428f0['add'](_0x40f65c['id']));}}}if(_0x3428f0['size']){for(const _0x17d868 of _0x3428f0)_0x3c3c15['removeMarker'](_0x17d868);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x49810e){for(const {name:_0x414443,data:_0xf837f}of _0x49810e['model']['document']['differ']['getChangedMarkers']()){if(!_0x414443['startsWith'](lg))continue;const _0x565d53=_0xf837f['oldRange'],_0x41031c=_0xf837f['newRange'],_0x5c0352=_0x565d53&&'$graveyard'===_0x565d53['root']['rootName'],_0x59bd18=_0x41031c&&'$graveyard'===_0x41031c['root']['rootName'];if(_0x5c0352&&_0x59bd18)continue;const _0x1dfecd=this['_parseMarkerName'](_0x414443);this['_markers']['get'](_0x414443)&&(_0x59bd18||!_0x41031c?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x414443,'changeId':_0x1dfecd['groupId']}):_0x5c0352&&_0x41031c&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x414443,'changeId':_0x1dfecd['groupId']}));}}['_parseMarkerName'](_0x2c5e76){const _0x5ed66d=_0x2c5e76['split'](':'),_0x553142=(_0x5ed66d[0x1]||'')['split']('_');return{'prefix':_0x5ed66d[0x0],'groupId':_0x553142[0x0],'suffix':_0x553142[0x1]};}['_translateOperationToEditorContent'](_0x366bcb,_0x265eac,_0x4cb532){if('insert'===_0x366bcb['type']){const _0x2ae51e=_0x366bcb;return new _0xf189cc(this['_changePosition'](_0x265eac['concat'](_0x2ae51e['position']['offset']),_0x4cb532),_0x2ae51e['nodes'],_0x2ae51e['baseVersion']);}if('marker'===_0x366bcb['type']&&_0x366bcb['name']['startsWith']('$markedRemove')){const _0x2dc843=_0x366bcb;return new _0x16ce72(_0x2dc843['name'],_0x2dc843['oldRange'],this['_changeRange'](_0x2dc843['newRange'],_0x265eac['concat'](_0x2dc843['newRange']['start']['offset']),_0x265eac['concat'](_0x2dc843['newRange']['end']['offset']),_0x4cb532),_0x2dc843['_markers'],_0x2dc843['affectsData'],_0x2dc843['baseVersion']);}return _0x366bcb;}['_groupAdjacentOperations'](_0x4ed1af){if(!_0x4ed1af['length'])return[];const _0x5cc32f=[];let _0x36a58a=0x0,_0x132e09=0x0,_0xa387c4=[];for(let _0x12d2b0=0x0;_0x12d2b0<=_0x4ed1af['length'];_0x12d2b0++){const _0x48d333=_0x4ed1af[_0x12d2b0],_0x2672c6=_0x4ed1af[_0x12d2b0-0x1];!_0x48d333||_0x2672c6&&!this['_getOperationEnd'](_0x2672c6)['isTouching'](this['_getOperationStart'](_0x48d333))?(_0x5cc32f['push']({'operations':_0xa387c4,'operationsIsolated':_0xa387c4['map'](_0x601dbb=>this['_shiftOperation'](_0x601dbb['clone'](),-_0x132e09)),'groupOffset':_0x36a58a}),_0xa387c4=_0x48d333?[_0x48d333]:[],_0x132e09+=_0x36a58a,_0x36a58a=0x0):_0xa387c4['push'](_0x48d333),_0x48d333&&'insert'===_0x48d333['type']&&(_0x36a58a+=_0x48d333['howMany']);}return _0x5cc32f;}['_findAdjacentContextDistance'](_0x140fd5,_0xace79f,_0x50bc5f,_0x11c1c8=0x1){const _0x17935b=new _0x483405({'startPosition':_0x140fd5,'direction':_0xace79f});let _0x5deda6=0x0;for(let _0x1926b0=0x0;_0x1926b0<_0x11c1c8;_0x1926b0++){let _0x5bd0b2=0x0,_0x535eb7=!0x1,_0x12266c='forward'===_0xace79f?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5c5d24}of _0x17935b)if(_0x5c5d24['is']('$textProxy')){const _0x474b1a=_0x12266c['exec'](_0x5c5d24['data']);if(_0x474b1a&&_0x474b1a['length']){if(_0x5bd0b2+='forward'===_0xace79f?_0x474b1a['index']+_0x474b1a[0x0]['length']:_0x5c5d24['data']['length']-_0x474b1a['index'],_0x474b1a[0x0]['length']!==_0x5c5d24['data']['length'])break;_0x535eb7=!0x0,_0x12266c='forward'===_0xace79f?/^\w+/:/\w+$/;}else{if(_0x535eb7)break;_0x5bd0b2+=_0x5c5d24['offsetSize'];}}else{if(_0x5c5d24['is']('element')){_0x50bc5f['isInline'](_0x5c5d24)&&!_0x535eb7&&(_0x5bd0b2+=0x1);break;}}_0x5deda6+=_0x5bd0b2,_0x17935b['jumpTo'](_0x140fd5['getShiftedBy']('forward'===_0xace79f?_0x5deda6:-_0x5deda6));}return _0x5deda6;}['_getChangeContext'](_0x49e663,_0x1d66cc,_0x2cb260){const _0x1956b6=_0x2cb260['model']['schema'],_0x17c41a=this['_findAdjacentContextDistance'](_0x49e663,'backward',_0x1956b6,0x6),_0x25a1e8=this['_findAdjacentContextDistance'](_0x1d66cc,'forward',_0x1956b6,0x6),_0x157cb0=_0x49e663['getShiftedBy'](-_0x17c41a),_0x145792=_0x1d66cc['getShiftedBy'](_0x25a1e8);return{'start':_0x157cb0,'end':_0x145792,'hasContentBefore':!_0x157cb0['isAtStart'],'hasContentAfter':!_0x145792['isAtEnd']};}['_insertMarkers'](_0x409d9d,_0x7e25ee){const _0x31caf7=this['context']['plugins']['get']('AIEditing'),_0x45ada5=new Set();_0x7e25ee['model']['change'](_0x1fabb7=>{for(const _0x155e02 of _0x409d9d){const _0x2df737=''+lg+_0x155e02['type']+':'+_0x155e02['groupId']+'_'+_0x31caf7['_nextDataId'](_0x45ada5);this['_markers']['set'](_0x2df737,{'id':_0x2df737,'groupId':_0x155e02['groupId'],'type':_0x155e02['type'],'content':_0x155e02['content'],'editor':_0x7e25ee}),_0x1fabb7['addMarker'](_0x2df737,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1fabb7['createRange'](_0x155e02['start'],_0x155e02['end'])});}});}['_createGetContextFn'](_0x47eb2f,_0x591c33,_0x4461cd){let _0x427ab6='';return()=>{if(!_0x427ab6){const _0xd75f31=_0x591c33['toView'](_0x47eb2f,{'showSuggestionHighlights':!0x0});let _0xd4a2b9=_0xd75f31['getChild'](0x0);if(_0xd4a2b9['is']('containerElement')||(_0xd4a2b9=_0xd75f31),!_0xd4a2b9)return'';let _0x4e0584=!0x1;const _0x16a3ae=[];for(const _0x2ee9f5 of _0xd4a2b9['getChildren']())_0x2ee9f5['is']('element','span')&&_0x2ee9f5['hasClass']('ck-ai_review-marker_context-end')&&(_0x4e0584=!0x1),_0x4e0584&&_0x16a3ae['push'](_0x2ee9f5),_0x2ee9f5['is']('element','span')&&_0x2ee9f5['hasClass']('ck-ai_review-marker_context-start')&&(_0x4e0584=!0x0);_0xd4a2b9['_removeChildren'](0x0,_0xd4a2b9['childCount']),_0x4461cd?.['ellipsisBefore']&&_0xd4a2b9['_appendChild']('…'),_0xd4a2b9['_appendChild'](_0x16a3ae),_0x4461cd?.['ellipsisAfter']&&_0xd4a2b9['_appendChild']('…');const _0x35c15a=_0x591c33['htmlProcessor']['domConverter']['viewToDom'](_0xd75f31),_0x5b9baf=_0x591c33['htmlProcessor']['htmlWriter']['getHtml'](_0x35c15a);_0x427ab6=this['_removeUnsupportedElements'](_0x5b9baf);}return _0x427ab6;};}['_createGetContentFn'](_0x10d3ee,_0x4b62c2){let _0x86949b='';return()=>(_0x86949b||(_0x86949b=this['_removeUnsupportedElements'](_0x4b62c2['stringify'](_0x10d3ee,{'showSuggestionHighlights':!0x0}))),_0x86949b);}['_createGetContentUsingDataIdFn'](_0x30c133,_0x20de7d,_0x501ae3){let _0x52bedf='';return()=>{if(!_0x52bedf){const _0x4bf040=_0x501ae3['toView'](new _0x50f751(_0x30c133)),_0x4639c1=_0x501ae3['htmlProcessor']['domConverter']['viewToDom'](_0x4bf040)['querySelector']('[data-id=\x22'+_0x20de7d+'\x22]');_0x52bedf=_0x4639c1?.['outerHTML']||'';}return _0x52bedf;};}['_removeUnsupportedElements'](_0x2afb8b){if(!_0x2afb8b)return'';const _0x5e71e8=Xa(_0x2afb8b,{'decodeEntities':!0x1}),_0x495440=Ya(_0x5e71e8);if(!_0x495440['length'])return _0x2afb8b;for(const _0x6a1674 of _0x495440)Va(_0x6a1674);return qa(_0x5e71e8,{'encodeEntities':!0x1});}['_neutralizeChangesOnUnsupportedElements'](_0x49f4dd,_0x11567a){const _0x3206dc=Xa(_0x49f4dd,{'decodeEntities':!0x1}),_0x489783=Xa(_0x11567a,{'decodeEntities':!0x1}),_0x547023=Ya(_0x3206dc),_0x19f69f=Ya(_0x489783);if(!_0x547023['length']&&!_0x19f69f['length'])return{'contentInitial':_0x49f4dd,'contentNew':_0x11567a};const _0x2e2ab8=new Map();for(const _0x357b78 of _0x547023)_0x2e2ab8['set'](Ja(_0x357b78,'data-id'),_0x357b78);for(const _0x31fdd0 of _0x19f69f){const _0x295e75=Ja(_0x31fdd0,'data-id'),_0x3c2d1d=_0x295e75?_0x2e2ab8['get'](_0x295e75):void 0x0;_0x3c2d1d?Ua(_0x31fdd0,wa(_0x3c2d1d,!0x0)):Va(_0x31fdd0);}return{'contentInitial':qa(_0x3206dc,{'encodeEntities':!0x1}),'contentNew':qa(_0x489783,{'encodeEntities':!0x1})};}['_findMarkerElement'](_0x2fc3a3,_0x2ce2ee=0x5){let _0x14453e=_0x2fc3a3,_0x41f605=null;for(let _0x3b443d=0x0;_0x3b443d<_0x2ce2ee&&_0x14453e;_0x3b443d++){if(!_0x14453e['className']){_0x14453e=_0x14453e['parentElement'];continue;}if(!(''+_0x14453e['className'])['includes']('ck-ai_review-marker_')){_0x14453e=_0x14453e['parentElement'];continue;}if(!_0x14453e['getAttribute']('data-marker-id'))break;_0x41f605=_0x14453e;break;}return _0x41f605;}['_findMarkerElementById'](_0x2b7818){const _0x36baa0=this['_markers']['get'](_0x2b7818);if(!_0x36baa0)return null;const _0x4841f7=_0x36baa0['editor']['model']['markers']['get'](_0x2b7818);return _0x4841f7?Pd(_0x36baa0['editor']['editing'],_0x4841f7):null;}['_getMarkersDataForGroup'](_0x418355){return Array['from'](this['_markers']['values']())['filter'](_0x5562ad=>_0x5562ad['groupId']===_0x418355);}['_getOperationStart'](_0x17ed73){return'insert'===_0x17ed73['type']?_0x17ed73['position']:_0x17ed73['newRange']['start'];}['_getOperationEnd'](_0x4f31b5,_0x4f24f3=!0x1){return'insert'===_0x4f31b5['type']?_0x4f24f3?_0x4f31b5['position']:_0x4f31b5['position']['getShiftedBy'](_0x4f31b5['howMany']):_0x4f31b5['newRange']['end'];}['_shiftOperation'](_0x5796a4,_0x5aa973){return'insert'===_0x5796a4['type']?_0x5796a4['position']=_0x5796a4['position']['getShiftedBy'](_0x5aa973):'marker'===_0x5796a4['type']&&_0x5796a4['newRange']&&(_0x5796a4['newRange']=new _0x2b1886(_0x5796a4['newRange']['start']['getShiftedBy'](_0x5aa973),_0x5796a4['newRange']['end']['getShiftedBy'](_0x5aa973))),_0x5796a4;}['_changeOperationOwnerDocument'](_0x32e10c,_0x42fb4a){'insert'===_0x32e10c['type']?_0x32e10c['position']=this['_changePositionOwnerDocument'](_0x32e10c['position'],_0x42fb4a):'marker'===_0x32e10c['type']&&_0x32e10c['newRange']&&(_0x32e10c['newRange']=this['_changeRangeOwnerDocument'](_0x32e10c['newRange'],_0x42fb4a));}['_changePositionOwnerDocument'](_0x426e27,_0x445287){return new _0x1845da(_0x445287,_0x426e27['path']);}['_changeRangeOwnerDocument'](_0x1c15c3,_0x4b72c0){return new _0x2b1886(this['_changePositionOwnerDocument'](_0x1c15c3['start'],_0x4b72c0),this['_changePositionOwnerDocument'](_0x1c15c3['end'],_0x4b72c0));}['_changePosition'](_0x4147f1,_0x20007b){return new _0x1845da(_0x20007b,[..._0x4147f1]);}['_changeRange'](_0x3f7fe6,_0x4f31f8,_0x1aad53,_0x340900){return new _0x2b1886(this['_changePosition'](_0x4f31f8,_0x340900),this['_changePosition'](_0x1aad53,_0x340900));}['_sortMarkers'](_0x370cbe){const _0x1e72b5=_0x2c6e0b=>{switch(_0x2c6e0b){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x370cbe['sort']((_0x2b8cd1,_0x318836)=>_0x1e72b5(_0x2b8cd1['type'])-_0x1e72b5(_0x318836['type']));}['_hasSameTopLevelElement'](_0x452e9f,_0x59ad2e){const _0x3ff013=_0x452e9f['getChild'](0x0),_0x45de45=_0x59ad2e['getChild'](0x0);return!(!_0x3ff013||!_0x45de45)&&((!_0x3ff013['is']('element')||!_0x45de45['is']('element')||_0x3ff013['name']===_0x45de45['name'])&&!(_0x3ff013['is']('element')&&!_0x45de45['is']('element')||!_0x3ff013['is']('element')&&_0x45de45['is']('element')));}['_haveSingleTopLevelElement'](_0x500fed){return 0x1===_0x500fed['childCount'];}['_haveOnlyInlineContent'](_0x481a8f,_0x493675){for(const _0x82a53f of _0x481a8f['getChildren']())if(_0x82a53f['is']('element')&&!_0x493675['isInline'](_0x82a53f))return!0x1;return!0x0;}['_upsertDataId'](_0x319880,_0x229d34){let _0x1dca1a=_0x319880['getAttribute'](tf);return _0x1dca1a||(_0x1dca1a=_0x229d34(),_0x319880['_setAttribute'](tf,_0x1dca1a)),_0x1dca1a;}}class AIReviewCheckResult extends _0x3cde5f(){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x3038af,contentNew:_0x53258e,contentInitial:_0x270c85,documentVersion:_0x3420e5}){super(),this['id']=_0x3038af,this['contentNew']=_0x53258e,this['contentInitial']=_0x270c85,this['documentVersion']=_0x3420e5;}}class AIReviewCheckResultChange extends _0x4e29c1(){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x24e867,_0x447ee4,_0x451b1f){super(),this['id']=_0x24e867,this['parent']=_0x451b1f,this['_data']=_0x447ee4,this['set']('isActivated',!0x1),this['set']('isRated',!0x1),this['set']('status','pending'),this['on']('change:status',()=>{'pending'!==this['status']&&this['isActivated']&&(this['isActivated']=!0x1);});}get['contentDiffed'](){return this['_data']['context']();}get['operations'](){return this['_data']['operations'];}get['operationsIsolated'](){return this['_data']['operationsIsolated'];}}class AIReviewCheckRun extends _0x4e29c1(){['id']=_0x3eda13();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x565de5,_0x296f88,_0x24b9f8,_0x3fb397,_0x20d87b){super(),this['_sourceCheck']=_0x296f88,this['_documentData']=_0x565de5,this['_aiConnector']=_0x24b9f8,this['_reviewParams']=_0x3fb397,this['_reviewArgs']=_0x20d87b,this['on']('change:status',(_0x404f05,_0x261181,_0x24e66b)=>{'aborted'==_0x24e66b&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x24e66b,'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'](_0x5d0611=>'pending'===_0x5d0611['status']);}get['currentError'](){return this['_currentError'];}get['results'](){return Array['from'](this['_results']['values']());}['updateDocumentData'](_0x530c7a){this['_documentData']=_0x530c7a;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x15ada6=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x26fca6 of _0x15ada6)'unmodified'!==_0x26fca6['data']['operation']&&('error'!==_0x26fca6['data']['operation']?'review-metadata'!==_0x26fca6['event']?this['_addReviewCheckResult'](_0x26fca6['data']['dataId'],_0x26fca6['data']['textDelta']):this['callId']=_0x26fca6['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(_0x253be9){this['_currentError']=_0x253be9,_0x253be9 instanceof Error&&_0x253be9['message']['includes']('ai-request-aborted')?this['status']='aborted':this['status']='error-general';}finally{this['_activeRequest']=null;}}async['restart'](){this['_results']['clear'](),this['_changes']['length']=0x0,this['_currentError']=void 0x0,await this['start']();}['addResultChanges'](_0x51cf33,_0x503f58){const _0x56480a=this['_results']['get'](_0x51cf33);if(!_0x56480a)return;if(0x0===_0x503f58['length'])return;const _0x477d9e=[];_0x503f58['forEach']((_0xbb5637,_0x2d5d66)=>{const _0xa7b173=new AIReviewCheckResultChange(_0x56480a['id']+'-'+_0x2d5d66,_0xbb5637,_0x56480a);_0xa7b173['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0xa7b173,'status':_0xa7b173['status']});}),_0xa7b173['on']('change:isActivated',()=>{_0xa7b173['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0xa7b173}):this['fire']('reviewCheckResultDeactivated',{'change':_0xa7b173});}),this['_changes']['push'](_0xa7b173),_0x477d9e['push'](_0xa7b173);}),this['fire']('reviewCheckResultReady',{'changes':_0x477d9e,'result':_0x56480a,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x29c76a){const _0x496a50=this['_changes']['find'](_0x28f6c1=>_0x28f6c1['id']===_0x29c76a);return!(!_0x496a50||'pending'!==_0x496a50['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x12082c=>!0x0===_0x12082c['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x5b12aa=>'pending'===_0x5b12aa['status']);}['getChangeById'](_0xa01f44){return this['_changes']['find'](_0x65a155=>_0x65a155['id']===_0xa01f44);}['markAllChangesAsAccepted'](){for(const _0x4cc6ef of this['_changes'])'pending'===_0x4cc6ef['status']&&(_0x4cc6ef['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x33eaf6){const _0x21ec49=this['_changes']['find'](_0x33ae9d=>_0x33ae9d['id']===_0x33eaf6);_0x21ec49&&'pending'===_0x21ec49['status']&&(_0x21ec49['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0xd7ea00){const _0x3cb09e=this['_changes']['find'](_0x541f70=>_0x541f70['id']===_0xd7ea00);_0x3cb09e&&'pending'===_0x3cb09e['status']&&(_0x3cb09e['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x31f5ad){const _0x263c8b=this['_changes']['find'](_0x3f84b2=>_0x3f84b2['id']===_0x31f5ad);_0x263c8b&&'pending'===_0x263c8b['status']&&(_0x263c8b['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x120213){const _0x386e0c=this['_changes']['find'](_0x4a54a4=>_0x4a54a4['id']===_0x120213);_0x386e0c&&'outdated'===_0x386e0c['status']&&(_0x386e0c['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0xb591db){this['_changes']['filter'](_0x473c86=>_0x473c86['isActivated']&&_0x473c86['id']!==_0xb591db)['forEach'](_0x3ef6a4=>{_0x3ef6a4['isActivated']=!0x1;});const _0x4a76ec=this['_changes']['find'](_0x58a1de=>_0x58a1de['id']===_0xb591db);_0x4a76ec&&'pending'===_0x4a76ec['status']&&(_0x4a76ec['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x358b13=>_0x358b13['isActivated'])['forEach'](_0x54a32d=>{_0x54a32d['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x94b2e7){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x437bc2;if(_0x94b2e7){const _0x5778f3=this['_changes']['find'](_0x421447=>_0x421447['id']===_0x94b2e7);if(_0x5778f3&&_0x5778f3['isRated'])return;_0x5778f3&&(_0x437bc2=_0x5778f3['parent']['id'],_0x5778f3['isRated']=!0x0);}const _0x2b85ad={'positiveCount':this['_changes']['filter'](_0x1e2ff3=>'accepted'===_0x1e2ff3['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x2b85ad,this['callId'],_0x437bc2);}['_addReviewCheckResult'](_0x3a0d10,_0x35b7c5){const _0x3469c3=this['_documentData']['elements']['get'](_0x3a0d10);if(!_0x3469c3)return;const _0x5043ef=_0x3469c3['getContent']();if(_0x5043ef===_0x35b7c5)return;const _0x5f5783=new AIReviewCheckResult({'id':_0x3a0d10,'contentInitial':_0x5043ef,'contentNew':_0x35b7c5,'documentVersion':_0x3469c3['documentVersion']});this['_results']['set'](_0x5f5783['id'],_0x5f5783),this['fire']('reviewCheckResultAdded',{'result':_0x5f5783,'source':this,'editor':_0x3469c3['editor']});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x15534f=>'pending'===_0x15534f['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x9ec7f7=>'pending'===_0x9ec7f7['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends AIReviewCheckRun{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x2915ea=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x1cccc4=0x0;_0x1cccc4<this['_reviewParams']['length'];_0x1cccc4++){if(!this['_reviewParams'][_0x1cccc4]||!this['_sourceCheck']['options'][_0x1cccc4])continue;const _0x19a5a9=this['_sourceCheck']['options'][_0x1cccc4],_0x442183=_0x19a5a9['data']?.['find'](_0x27084b=>_0x27084b['id']===this['_reviewParams'][_0x1cccc4]);_0x442183&&_0x2915ea['push'](_0x442183['label']);}return _0x2915ea['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x160e0d,_0x523503,_0x523761){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x523503,_0x160e0d,_0x523761);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends _0x304a5a{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_availableReviewChecks'];['_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',(_0x5dfb57,_0x2ef41a)=>this['runCheck'](_0x2ef41a)),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 _0x295bcd=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x295bcd['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x295bcd['map'](_0x5f3cca=>_0x5f3cca['id']));const _0xc86431=this['_currentReviewCheckRun'];_0xc86431['markAllChangesAsAccepted'](),_0xc86431['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x126e5b,_0x50b5d5)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x50b5d5['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x50b5d5['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x50b5d5['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x50b5d5['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x3ae704,_0x539e03)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x539e03['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x539e03['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x539e03['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x539e03['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',(_0x3c5238,_0x58de47)=>{this['_onActivateChange'](_0x58de47);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x1f8ece,_0xe4626b)=>{this['_onDeactivateChange'](_0xe4626b);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x33b5c8,_0x3be7ec)=>{this['_onChangeMarkerClicked'](_0x33b5c8,_0x3be7ec);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x4bdf72,_0x1c155b)=>{this['_onChangeMarkerHovered'](_0x4bdf72,_0x1c155b);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x2e56db,_0xdef0e8)=>{this['_onChangeMarkerRemoved'](_0x2e56db,_0xdef0e8);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x6c22e0,_0x444495)=>{this['_onChangeMarkerRestored'](_0x6c22e0,_0x444495);});}async['runCheck'](_0xf1f6fb){if(!this['_availableReviewChecks'])return;const _0x135339=this['_availableReviewChecks']['find'](_0x26be26=>_0x26be26['id']===_0xf1f6fb['id']);if(_0x135339){this['_onReviewCheckRun'](_0xf1f6fb),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0xf1f6fb,_0x135339),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x1ff544,_0x50d031)=>{switch(_0x50d031['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x50d031);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 _0x522f1f('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x522f1f('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'!==_0x50d031['status']&&'error-chunk'!==_0x50d031['status']&&'error-general'!==_0x50d031['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x3fde6e,_0x4ce5f2)=>{if(!this['_currentReviewCheckRun'])throw new _0x522f1f('ai-review-mode-no-current-check-run',this);const _0x196b8e=this['_diffContent'](_0x4ce5f2['editor'],_0x4ce5f2['result']['contentInitial'],_0x4ce5f2['result']['contentNew']);_0x4ce5f2['source']['addResultChanges'](_0x4ce5f2['result']['id'],_0x196b8e);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x24e345,_0x1fbc7e)=>{for(const _0xe9f16 of _0x1fbc7e['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0xe9f16);this['_markChangePositionInEditorContent'](_0x1fbc7e['changes'],_0x1fbc7e['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x47b3d9,_0x10775f)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x10775f['change']['id'],_0x10775f['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x43bcf2,_0x446b84)=>{this['_onReviewCheckResultActivated'](_0x446b84);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x2f7f0f){_0x2f7f0f instanceof Error&&_0x2f7f0f['message']['includes']('ai-request-aborted')||(_0x2f7f0f instanceof _0x522f1f?this['_logError'](_0x2f7f0f):this['_logError'](new _0x522f1f('ai-review-mode-check-run-failed',this,void 0x0,_0x2f7f0f)));}}else this['_logError'](new _0x522f1f('ai-review-mode-source-check-not-found',this,{'checkId':_0xf1f6fb['id']}));}['abort'](){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}['getAvailableChecks'](){return this['_availableReviewChecks']??[];}['getCurrentCheckRun'](){return this['_currentReviewCheckRun'];}['_createReviewCheckRun'](_0x192f82,_0x3586f4){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x3586f4,this['_aiConnector'],_0x192f82['params'],_0x192f82['args']);}['_onChangeMarkerRemoved'](_0x2a497d,_0x116c17){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x116c17['changeId']);}['_onChangeMarkerRestored'](_0x380037,_0x24cf64){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x24cf64['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x5cfabc=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x5cfabc&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;for(const _0x2cadf8 of this['_aiReviewCoreEditing']['getEditors']())_0x2cadf8['editing']['view']['change'](_0x5d014a=>{for(const _0x9d7301 of _0x2cadf8['editing']['view']['document']['getRoots']())_0x5d014a['removeClass']('ck-ai_review-diff',_0x9d7301),_0x5d014a['removeClass']('ck-ai_review-highlights',_0x9d7301),_0x5d014a['removeClass']('ck-ai-translate-mode-content',_0x9d7301);});}['_logError'](_0x54197e,_0x419ab2=!0x1){_0x1ede73(_0x54197e['message']),_0x419ab2||(_0x54197e['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x5e8e11){if('content'===this['_changeActivationSource']){const _0x103ff0=this['_aiReviewCoreUi']['getChangeElement'](_0x5e8e11);_0x103ff0&&_0x1f5771(_0x103ff0['closest']('.ck-ai_review__check-run-result')||_0x103ff0);}else{if('panel'===this['_changeActivationSource']){const _0x40976f=this['_getChangeContentElement'](_0x5e8e11);if(!_0x40976f)return;_0x4e25b4({'target':_0x40976f,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}}class AIReviewCustomCheckRun extends AIReviewCheckRun{['_prompt'];['_model'];constructor(_0x1a822f,_0x3abdb2,_0x54b786,_0x5fb4a7,_0x4a8d62){super(_0x54b786,_0x5fb4a7,_0x4a8d62),this['_prompt']=_0x1a822f,this['_model']=_0x3abdb2;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x27053e,_0x3556d9,_0x3a2026){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x3556d9,_0x27053e,_0x3a2026);}}class AIReviewCheck{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x4c513c){this['id']=_0x4c513c['id'],this['commandId']=_0x4c513c['commandId'],this['title']=_0x4c513c['title'],this['description']=_0x4c513c['description'],this['isParameterized']=_0x4c513c['isParameterized'],this['useArgs']=_0x4c513c['useArgs'],this['options']=_0x4c513c['options'],this['args']=_0x4c513c['args'];}}class AIReviewCheckExtra extends AIReviewCheck{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x311cc4,_0x3c8505,_0xfff39b){super(_0x311cc4),this['prompt']=_0x311cc4['prompt'],this['model']=_0x311cc4['model'],this['model']?this['_defaultModel']=_0x3c8505['find'](_0x1dfdb2=>_0x1dfdb2['id']===this['model'])||null:this['_defaultModel']=_0xfff39b;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x276cdb){this['_prompt']=_0x276cdb;}set['model'](_0x7dd23c){this['_model']=_0x7dd23c;}}class AIReviewCoreCheckRegistry extends _0x304a5a{static get['requires'](){return[AIConnector];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_cache'];['getChecksList'](){return this['_cache']||(this['_cache']=this['_loadChecksList']()),this['_cache'];}}const dg=[{'id':'custom','commandId':'custom','title':'Custom\x20command','description':'Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','isParameterized':!0x0},{'id':'correctness','commandId':'correctness','title':'Correctness','description':'Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','isParameterized':!0x1},{'id':'clarity','commandId':'clarity','title':'Clarity','description':'Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'readability','commandId':'readability','title':'Readability','description':'Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'length','commandId':'make','title':'Adjust\x20length','description':'Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20length','default':'longer','data':[{'label':'Longer','id':'longer'},{'label':'Shorter','id':'shorter'}]}]},{'id':'tone','commandId':'make-tone','title':'Adjust\x20tone\x20and\x20style','description':'Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20tone\x20and\x20style','default':'casual','data':[{'label':'Casual','id':'casual'},{'label':'Direct','id':'direct'},{'label':'Friendly','id':'friendly'},{'label':'Confident','id':'confident'},{'label':'Professional','id':'professional'}]}]}];class AIReviewCheckList extends _0x4e29c1(){['_checks']=[];['setupChecks'](_0x2c2847){this['_checks']=_0x2c2847['map'](_0x45c456=>new AIReviewCheck(_0x45c456));}get['checks'](){return this['_checks'];}['getCheckById'](_0x1497aa){return this['checks']['find'](_0x494079=>_0x494079['id']===_0x1497aa);}['removeCheckById'](_0x3a16b8){this['_checks']=this['_checks']['filter'](_0x55c8cd=>_0x55c8cd['id']!==_0x3a16b8);}}class AIReviewCheckCustom extends AIReviewCheck{['_models']=[];['_defaultModel']=null;constructor(_0x16ffb9,_0x164081,_0x2721bf){super(_0x16ffb9),this['_models']=_0x164081,this['_defaultModel']=_0x2721bf;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x291d58,_0x36284b,_0x380ce0){super(),this['_allModels']=_0x291d58,this['_recommendedModels']=_0x36284b,this['_defaultModel']=_0x380ce0;}get['allModels'](){return this['_allModels'];}['setupChecks'](_0x15831d){this['_checks']=_0x15831d['map'](_0x2fd4a3=>!0x0===_0x2fd4a3['isExtra']?new AIReviewCheckExtra(_0x2fd4a3,this['_allModels'],this['_defaultModel']):'custom'===_0x2fd4a3['id']?new AIReviewCheckCustom(_0x2fd4a3,this['_recommendedModels'],this['_defaultModel']):new AIReviewCheck(_0x2fd4a3));}}class AIReviewModeCheckRegistry extends AIReviewCoreCheckRegistry{static get['pluginName'](){return'AIReviewModeCheckRegistry';}['_modelsLoadError']=null;constructor(_0x378f79){super(_0x378f79),this['context']['config']['define']('ai.review.extraCommands',[]);}get['modelsLoadError'](){return this['_modelsLoadError'];}['getExtraChecks'](){return this['context']['config']['get']('ai.review.extraCommands')['map'](_0x3359a3=>({'id':_0x3359a3['id'],'commandId':_0x3359a3['id'],'title':_0x3359a3['label'],'description':_0x3359a3['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x3359a3['prompt'],'model':_0x3359a3['model']}));}async['_loadChecksList'](){const _0x157db4=[...dg,...this['getExtraChecks']()]['map'](_0x5cc5fe=>_0x5cc5fe['isExtra']?_0x5cc5fe:this['_translateReviewCheck'](_0x5cc5fe)),_0xd18e2a=await this['_getModels'](),_0xd01bd1=new AIReviewModeCheckList(_0xd18e2a['all'],_0xd18e2a['recommended'],_0xd18e2a['default']);return _0xd01bd1['setupChecks'](_0x157db4),_0xd01bd1;}async['_getModels'](){const _0x28cd33=this['context']['plugins']['get']('AIConnector');try{const _0x11db2d=new AIModels({'connector':_0x28cd33,'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']}),_0x591739={'all':await _0x11db2d['getAll'](),'recommended':await _0x11db2d['getAvailableModels'](),'default':await _0x11db2d['getDefault']()};return this['_modelsLoadError']=null,_0x591739;}catch(_0x14bf4c){return this['_modelsLoadError']=new _0x522f1f('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x14bf4c),_0x1ede73(this['_modelsLoadError']['message']),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x323015){const _0x393463='AI_REVIEW_CHECK_'+_0x323015['id']['toUpperCase']()['replaceAll']('-','_'),_0xf0331f={..._0x323015,'title':this['_translate'](_0x393463+'_TITLE',_0x323015['title']),'description':this['_translate'](_0x393463+'_DESCRIPTION',_0x323015['description'])};return _0x323015['options']&&(_0xf0331f['options']=_0x323015['options']['map'](_0x7e8f13=>({..._0x7e8f13,'label':this['_translate'](_0x393463+'_OPTIONS_LABEL',_0x7e8f13['label']||''),'data':_0x7e8f13['data']?_0x7e8f13['data']['map'](_0x43aae4=>({..._0x43aae4,'label':this['_translate'](_0x393463+'_OPTIONS_DATA_'+_0x43aae4['id']['toUpperCase'](),_0x43aae4['label'])})):void 0x0}))),_0xf0331f;}['_translate'](_0x2a66fe,_0x4d935f){const _0x330e16=Oo(this['context']['locale'],_0x2a66fe);return _0x330e16===_0x2a66fe?_0x4d935f:_0x330e16;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}static get['requires'](){return[AIReviewModeCheckRegistry];}['_isDiffOn']=!0x1;['_usesAvailableCommandsConfig'];constructor(_0x527b9d){super(_0x527b9d),this['_usesAvailableCommandsConfig']=Boolean(this['context']['config']['get']('ai.review.availableCommands')),this['context']['config']['define']('ai.review.availableCommands',dg['map'](_0x4b1867=>_0x4b1867['id']));}['init'](){super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x6097da,_0x34b728)=>{this['_isDiffOn']=_0x34b728['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x5cb0b5,_0x43389a){if(_0x5cb0b5['isCustom'])return new AIReviewCustomCheckRun(_0x5cb0b5['args']['prompt'],_0x5cb0b5['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x43389a,this['_aiConnector']);if(_0x43389a['isExtra']){const _0x6f3e25=_0x43389a;return new AIReviewExtraCheckRun(_0x5cb0b5['args']?.['prompt']??_0x6f3e25['prompt'],_0x5cb0b5['args']?.['model']??_0x6f3e25['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x43389a,this['_aiConnector']);}return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x43389a,this['_aiConnector'],_0x5cb0b5['params'],_0x5cb0b5['args']);}['_onReviewCheckResultActivated'](_0x515a57){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x515a57['change']['id']),this['_scrollToChange'](_0x515a57['change']['id']);const _0x1342d4=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x515a57['change']['id']);if(!_0x1342d4)return;const _0x4bd13f=this['_aiReviewCoreEditing']['getEditorForChange'](_0x515a57['change']['id'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x515a57['change'],()=>_0x1342d4['getElement'](),void 0x0,'click',this['_getBalloonDomRoot'](_0x4bd13f,_0x1342d4['modelRange']['root']['rootName']),_0x4bd13f?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x515a57['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x478b49){this['_currentReviewCheckRun']&&'click'===_0x478b49['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x478b49['id']));}['_onDeactivateChange'](_0xba5ea2){this['_currentReviewCheckRun']&&'balloon'===_0xba5ea2['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x5e98b3,_0x3bb65b){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x3bb65b['changeId']);const _0x3fc425=this['_currentReviewCheckRun']['getChangeById'](_0x3bb65b['changeId']);if(!_0x3fc425)return;const _0x129711=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x3bb65b['changeId']),_0x10e921=this['_aiReviewCoreEditing']['getEditorForChange'](_0x3bb65b['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x3fc425,_0x3bb65b['markerElement'],_0x3bb65b['domEvent'],'click',this['_getBalloonDomRoot'](_0x10e921,_0x129711?.['modelRange']['root']['rootName']),_0x10e921?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x4215a3,_0xdaca69){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0xa06e51=this['_currentReviewCheckRun']['getChangeById'](_0xdaca69['changeId']);if(!_0xa06e51)return;const _0x44a277=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0xdaca69['changeId']),_0x49091f=this['_aiReviewCoreEditing']['getEditorForChange'](_0xdaca69['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0xa06e51,_0xdaca69['markerElement'],_0xdaca69['domEvent'],'hover',this['_getBalloonDomRoot'](_0x49091f,_0x44a277?.['modelRange']['root']['rootName']),_0x49091f?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x14bbe7){const _0x41db9a=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x14bbe7);return _0x41db9a?_0x41db9a['getElement']():null;}['_markChangePositionInEditorContent'](_0xb252ac,_0x28dc52){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0xb252ac,_0x28dc52);}['_diffContent'](_0x4b9920,_0x358d6c,_0x240ab6){return this['_aiReviewCoreEditing']['diffContent'](_0x4b9920,_0x358d6c,_0x240ab6,!0x1);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0xb00af9){_0xb00af9?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon']();for(const _0x42d99d of this['_aiReviewCoreEditing']['getEditors']())_0x42d99d['editing']['view']['change'](_0x301a9f=>{for(const _0x379a9f of _0x42d99d['editing']['view']['document']['getRoots']()){for(const _0x90eac2 of _0x379a9f['getClassNames']())_0x90eac2['startsWith']('ck-ai_review-')&&_0x301a9f['removeClass'](_0x90eac2,_0x379a9f);_0x301a9f['addClass'](_0xb00af9?'ck-ai_review-diff':'ck-ai_review-highlights',_0x379a9f);}});}['_getBalloonDomRoot'](_0xb0d5ac,_0x5c923c){const _0xaab3f0=_0xb0d5ac['editing']['view'];if(_0x5c923c){const _0x4794f8=_0xaab3f0['getDomRoot'](_0x5c923c);if(_0x4794f8)return _0x4794f8;}return _0xaab3f0['getDomRoot']()??void 0x0;}async['_getReviewChecks'](){const _0x1b05a5=this['context']['plugins']['get']('AIReviewModeCheckRegistry'),_0x2ecc85=await _0x1b05a5['getChecksList']();_0x1b05a5['modelsLoadError']&&this['_logError'](_0x1b05a5['modelsLoadError']);let _0xf510d7=_0x2ecc85['checks'];const _0x389eeb=this['context']['config']['get']('ai.review.availableCommands');return this['_logWarningForNonExistentChecks'](_0x389eeb,_0xf510d7),this['_usesAvailableCommandsConfig']&&(_0xf510d7=_0x389eeb['map'](_0x2ffec9=>_0xf510d7['find'](_0xd6bce2=>_0xd6bce2['id']===_0x2ffec9))['filter'](_0x37b3f2=>!!_0x37b3f2)),this['_filterChecksWithMissingModel'](_0xf510d7);}['_logWarningForNonExistentChecks'](_0x16de7d,_0x3f182e){const _0x27009b=_0x16de7d['filter'](_0x2d5f67=>!_0x3f182e['some'](_0x509eed=>_0x509eed['id']===_0x2d5f67));if(_0x27009b['length']){const _0x3b0557=new _0x522f1f('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x27009b['join'](',\x20')});_0x445208(_0x3b0557['message']);}}['_filterChecksWithMissingModel'](_0x130e1a){const _0x5c8849=[];return _0x130e1a['forEach'](_0x59a0f2=>{(_0x59a0f2 instanceof AIReviewCheckExtra&&!_0x59a0f2['defaultModel']||_0x59a0f2 instanceof AIReviewCheckCustom&&!_0x59a0f2['models']['length'])&&_0x5c8849['push'](_0x59a0f2['id']);}),_0x5c8849['length']&&_0x5c8849['forEach'](_0x589522=>{_0x130e1a=_0x130e1a['filter'](_0xd73081=>_0xd73081['id']!==_0x589522);const _0x419a3d=new _0x522f1f('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x589522});_0x1ede73(_0x419a3d['message']);}),_0x130e1a;}}class AIRunResult{['_editor'];['_rootName'];['_channelId'];['_sessionId'];['_documentVersion'];['_contentRawOld'];['_contentRawNew'];['_error'];['_isAborted']=!0x1;constructor(_0x441610){this['_editor']=_0x441610['editor'],this['_rootName']=_0x441610['rootName'],this['_channelId']=_0x441610['channelId'],this['_sessionId']=_0x441610['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'](_0x4e60b0){this['_documentVersion']=_0x4e60b0;}get['contentRawOld'](){return this['_contentRawOld'];}set['contentRawOld'](_0x175b71){this['_contentRawOld']=_0x175b71;}get['contentRawNew'](){return this['_contentRawNew'];}set['contentRawNew'](_0x2dfe43){this['_contentRawNew']=_0x2dfe43;}get['contentOld'](){return this['_dropDataIds'](this['_contentRawOld']||'');}get['contentNew'](){return this['_dropDataIds'](this['_contentRawNew']||'');}get['error'](){return this['_error'];}set['error'](_0x452407){this['_error']=_0x452407;}['abort'](){this['_isAborted']=!0x0;}['_dropDataIds'](_0xefab9a){return _0xefab9a['replace'](/ data-id="[a-z0-9]+"/g,'');}}class AIReviewRunResult extends AIRunResult{['_affectedBlocks']=[];get['affectedBlocks'](){return this['_affectedBlocks'];}set['affectedBlocks'](_0x223e19){this['_affectedBlocks']=_0x223e19;}}class AIGateway extends _0x304a5a{static get['pluginName'](){return'AIGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['apply'](_0x2bc2ca,_0x3edc9c){if('completed'!==_0x2bc2ca['status'])throw new _0x522f1f('ai-gateway-apply-invalid-status',this,{'status':_0x2bc2ca['status']});const _0x446460=_0x2bc2ca['editor'];if('suggest'===_0x3edc9c&&!_0x446460['plugins']['has']('TrackChanges'))throw new _0x522f1f('ai-no-track-changes',this);const _0x5cdcec='suggest'===_0x3edc9c,_0x255800=this['context']['plugins']['get'](DocumentCompare),_0x53424=_0x446460['model']['createPositionAt'](_0x446460['model']['document']['getRoot'](),0x0),_0x19d5a7=_0x255800['getDiff'](_0x2bc2ca['contentRawOld'],_0x2bc2ca['contentRawNew'],{'anchor':_0x53424,'markDeletions':_0x5cdcec,'targetEditor':_0x446460}),_0xd34d40=_0x446460['model']['document']['history']['getOperations'](_0x2bc2ca['documentVersion']),_0xc3ec1d={'document':_0x446460['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5dc1c0=_0x142dc9(_0x19d5a7['getOperations'](),_0xd34d40,_0xc3ec1d)['operationsA'];_0x446460['model']['change'](_0x49bdf9=>{if(_0x5cdcec)_0x446460['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x5dc1c0);else{for(const _0x3f12bc of _0x5dc1c0)_0x3f12bc['baseVersion']=_0x446460['model']['document']['version'],vf(_0x446460,_0x3f12bc),_0x49bdf9['batch']['addOperation'](_0x3f12bc),_0x446460['model']['applyOperation'](_0x3f12bc);}});}['mergeChangesIntoContent'](_0x5090f8,_0x3198f5,_0x2b7bd3){const _0x24183a=new AIResponseParser(),_0xab80e5=new AIResponseApplier();let _0x2c17df=_0x24183a['parseAndNormalizeHTML'](_0x3198f5);for(const _0x5a2cdd of _0x5090f8)try{const _0x44d1a8=_0x24183a['parseAndNormalizeHTML'](_0x5a2cdd['content']);_0x2c17df=_0xab80e5['merge'](_0x44d1a8,_0x2c17df,{'cutAfterUnstable':!0x1,'replaceRemovedWith':void 0x0})['parsedContent'];}catch(_0x23f848){throw new _0x522f1f('ai-gateway-merge-failed',this,{..._0x5a2cdd},_0x23f848);}return of(_0x2b7bd3,_0x24183a['parseAndNormalizeHTML'](_0x3198f5),_0x2c17df,!0x1,!0x1)['content'];}}class AIReviewGateway extends _0x304a5a{static get['pluginName'](){return'AIReviewGateway';}static get['requires'](){return[AIReviewCoreEditing,AIReviewModeCheckRegistry,AIConnector,AIEditing,AIGateway];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['getAllCommands'](){const _0x3ff338=this['context']['plugins']['get']('AIReviewModeCheckRegistry');return(await _0x3ff338['getChecksList']())['checks']['map'](_0x2cc559=>{const _0x10c3ac={'id':_0x2cc559['id'],'title':_0x2cc559['title'],'description':_0x2cc559['description']};return'custom'!==_0x2cc559['id']&&_0x2cc559['options']?.['length']&&(_0x10c3ac['parameters']=_0x2cc559['options'][0x0]['data']['map'](_0x3f2211=>({..._0x3f2211}))),_0x10c3ac;});}async['getAvailableModels'](){const _0x4d8128=this['context']['plugins']['get']('AIConnector');return new AIModels({'connector':_0x4d8128,'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']})['getAll']();}async['runReview'](_0x339305,_0xd1e25a){return await this['_runReviewCheck'](_0x339305,()=>this['_createReviewCheckRun'](_0x339305,_0xd1e25a?.['parameterId']),_0xd1e25a?.['signal']);}async['runCustomReview'](_0x37e9b7,_0x2478eb){return await this['_runReviewCheck']('custom',()=>this['_createCustomReviewCheckRun']('custom',_0x37e9b7,_0x2478eb?.['model']),_0x2478eb?.['signal']);}['applyReview'](_0x5d0345,_0x70eb0){this['context']['plugins']['get']('AIGateway')['apply'](_0x5d0345,_0x70eb0);}async['_runReviewCheck'](_0x1affd1,_0x4be290,_0x386752){const _0x1a50d3=bf(this['context']),_0x45177f=new AIReviewRunResult({'editor':_0x1a50d3,'rootName':_0x1a50d3['model']['document']['getRootNames']()[0x0],'channelId':this['context']['config']['get']('collaboration.channelId'),'sessionId':_0x1a50d3['plugins']['get']('AIEditing')['getSessionId'](_0x1a50d3)});let _0x524030,_0x223cf9;if(_0x386752){if(_0x386752['aborted'])return _0x45177f['abort'](),_0x45177f;const _0x459b7c=()=>{_0x45177f['error']||(_0x45177f['abort'](),_0x524030&&_0x524030['abort']());};_0x386752['addEventListener']('abort',_0x459b7c),_0x223cf9=()=>_0x386752['removeEventListener']('abort',_0x459b7c);}try{_0x524030=await _0x4be290(),_0x45177f['contentRawOld']=_0x524030['documentData']['content'],_0x45177f['documentVersion']=Array['from'](_0x524030['documentData']['elements'])['find'](([,_0x44c773])=>_0x44c773['rootName']===_0x45177f['rootName'])?.[0x1]['documentVersion']??0x1,_0x524030['on']('reviewCheckRunUpdated',(_0x5a0529,_0x3253bb)=>{'aborted'===_0x3253bb['status']?_0x45177f['abort']():'error-general'!==_0x3253bb['status']&&'error-chunk'!==_0x3253bb['status']||(_0x45177f['error']=this['_normalizeError'](_0x3253bb['error'],'ai-reviewgateway-review-command-run-failed',{'checkId':_0x1affd1}));}),'aborted'!==_0x45177f['status']&&await _0x524030['start']();}catch(_0x1db1fa){_0x45177f['error']=this['_normalizeError'](_0x1db1fa,'ai-reviewgateway-review-command-run-failed',{'checkId':_0x1affd1});}finally{_0x223cf9&&_0x223cf9();}if(!_0x524030||'aborted'===_0x45177f['status']||'error'===_0x45177f['status'])return _0x45177f;_0x45177f['affectedBlocks']=_0x524030['results']['map'](_0x3c5b79=>({'id':_0x3c5b79['id'],'content':_0x3c5b79['contentNew']}));try{_0x45177f['contentRawNew']=qa(this['context']['plugins']['get']('AIGateway')['mergeChangesIntoContent'](_0x45177f['affectedBlocks'],_0x45177f['contentRawOld'],_0x45177f['editor']));}catch(_0x4937c5){_0x45177f['error']=this['_normalizeError'](_0x4937c5,'ai-reviewgateway-review-command-run-failed',{'checkId':_0x1affd1});}return _0x45177f;}async['_createReviewCheckRun'](_0x167ca8,_0x4c602f){const _0x53fcbc=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x41ddb6=>_0x41ddb6['id']===_0x167ca8);if(!_0x53fcbc)throw new _0x522f1f('ai-reviewgateway-unknown-command',this,{'checkId':_0x167ca8});if(_0x53fcbc instanceof AIReviewCheckCustom)throw new _0x522f1f('ai-reviewgateway-not-a-system-command',this,{'checkId':_0x167ca8});const _0x5d3a5a=this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0x5258e5=this['context']['plugins']['get']('AIConnector');if(_0x53fcbc instanceof AIReviewCheckExtra){if(!_0x53fcbc['defaultModel']?.['id'])throw new _0x522f1f('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x167ca8});return new AIReviewExtraCheckRun(_0x53fcbc['prompt'],_0x53fcbc['defaultModel']['id'],_0x5d3a5a,_0x53fcbc,_0x5258e5);}return new AIReviewSystemCheckRun(_0x5d3a5a,_0x53fcbc,_0x5258e5,_0x4c602f?[_0x4c602f]:void 0x0);}async['_createCustomReviewCheckRun'](_0x5ca56f,_0x4bc6fc,_0x1ebaf8){const _0x1d78fb=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x4e68a0=>_0x4e68a0['id']===_0x5ca56f);if(!_0x1d78fb)throw new _0x522f1f('ai-reviewgateway-unknown-command',this,{'checkId':_0x5ca56f});if(!(_0x1d78fb instanceof AIReviewCheckCustom))throw new _0x522f1f('ai-reviewgateway-not-a-custom-command',this,{'checkId':_0x5ca56f});const _0x59a97b=_0x1ebaf8??_0x1d78fb['defaultModel']?.['id'];if(!_0x4bc6fc)throw new _0x522f1f('ai-reviewgateway-missing-custom-command-prompt',this,{'checkId':_0x5ca56f});if(!_0x59a97b)throw new _0x522f1f('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x5ca56f});return new AIReviewCustomCheckRun(_0x4bc6fc,_0x59a97b,this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0x1d78fb,this['context']['plugins']['get']('AIConnector'));}['_normalizeError'](_0x49b1a6,_0x102846,_0x2bc1d4){let _0x3cf019=_0x49b1a6;return _0x49b1a6 instanceof _0x522f1f||(_0x3cf019=new _0x522f1f(_0x102846,this,_0x2bc1d4,_0x49b1a6)),_0x3cf019;}}class AIReviewMode extends _0x304a5a{static get['requires'](){return[AIReviewModeController,AIReviewModeUI,AIReviewCoreEditing,AIReviewGateway];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['startReview'](_0x4aeca7,_0x2a9c1a){if(this['assertStartReviewPreconditions'](_0x4aeca7)instanceof AIReviewCheckCustom)throw new _0x522f1f('ai-reviewmode-not-a-system-command',this,{'commandId':_0x4aeca7});const _0x69f7eb=this['context']['plugins']['get']('AIReviewModeController');await _0x69f7eb['runCheck']({'id':_0x4aeca7,'params':_0x2a9c1a?.['parameterId']?[_0x2a9c1a['parameterId']]:void 0x0});}async['startCustomReview'](_0x547c5f,_0x496279){if(!_0x547c5f)throw new _0x522f1f('ai-reviewmode-missing-custom-command-prompt',this);const _0x4d30f0=dg['find'](_0xe03e45=>'custom'===_0xe03e45['commandId'])['id'],_0x2bdd26=this['assertStartReviewPreconditions'](_0x4d30f0),_0x33c8ed=_0x496279?.['model']??_0x2bdd26['defaultModel']?.['id'];if(!_0x33c8ed)throw new _0x522f1f('ai-reviewmode-missing-custom-command-model',this);const _0x58cd44=this['context']['plugins']['get']('AIReviewModeController');await _0x58cd44['runCheck']({'id':_0x4d30f0,'isCustom':!0x0,'args':{'prompt':_0x547c5f,'model':_0x33c8ed}});}['getAvailableCommands'](){return this['context']['plugins']['get']('AIReviewModeController')['getAvailableChecks']()['map'](_0x5769b7=>{const _0x400743={'id':_0x5769b7['id'],'title':_0x5769b7['title'],'description':_0x5769b7['description']};return'custom'!==_0x5769b7['id']&&_0x5769b7['options']?.['length']&&(_0x400743['parameters']=_0x5769b7['options'][0x0]['data']['map'](_0x95fe7d=>({..._0x95fe7d}))),_0x400743;});}['assertStartReviewPreconditions'](_0x153d61){const _0x57c117=this['context']['plugins']['get']('AIReviewModeController');if(_0x57c117['getCurrentCheckRun']())throw new _0x522f1f('ai-reviewmode-review-already-running',this);const _0x15a1aa=_0x57c117['getAvailableChecks']()['find'](_0x188d0e=>_0x188d0e['id']===_0x153d61);if(!_0x15a1aa)throw new _0x522f1f('ai-reviewmode-unknown-command',this,{'commandId':_0x153d61});const _0x56bf34=this['context']['plugins']['get']('AITabs')['view'];return _0x56bf34['isVisible']=!0x0,_0x56bf34['activateTab']('reviewMode'),_0x15a1aa;}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x3eab2e,_0x3da7a6,_0x37de9c,_0x497b6c,_0x4f9622,_0x53c518){super(_0x3eab2e,_0x3da7a6,_0x37de9c,_0x4f9622,_0x53c518),this['_title']=_0x497b6c;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateCheck extends AIReviewCheck{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x511430){this['_checks']=_0x511430['map'](_0x40c5f2=>new AITranslateCheck(_0x40c5f2));}}const fg=[{'label':'English','id':'english'},{'label':'Spanish','id':'spanish'},{'label':'French','id':'french'},{'label':'German','id':'german'},{'label':'Chinese\x20(Simplified)','id':'chinese'},{'label':'Japanese','id':'japanese'},{'label':'Russian','id':'russian'},{'label':'Portuguese','id':'portuguese'},{'label':'Korean','id':'korean'},{'label':'Italian','id':'italian'}];class AITranslateCheckRegistry extends AIReviewCoreCheckRegistry{static get['pluginName'](){return'AITranslateCheckRegistry';}constructor(_0x3e103d){super(_0x3e103d),this['context']['config']['define']('ai.translate.languages',fg);}async['_loadChecksList'](){const _0x355c72=[],_0x58b75a=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x57a04b of _0x58b75a)_0x355c72['push']({'title':_0x57a04b['label'],'id':_0x57a04b['id'],'commandId':_0x57a04b['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x57a04b['id']}});const _0x5031c9=new AITranslateCheckList();return _0x5031c9['setupChecks'](this['_translateChecks'](_0x355c72)),_0x5031c9;}['_translateChecks'](_0x11687c){const _0x12881f=this['context']['locale'];return _0x11687c['map'](_0x5d34d5=>{const _0x137dda='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x5d34d5['title']['toUpperCase']()['replaceAll']('-','_'),_0x3bfe04=Oo(_0x12881f,_0x137dda);return{..._0x5d34d5,'title':_0x3bfe04===_0x137dda?_0x5d34d5['title']:_0x3bfe04};});}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}static get['requires'](){return[AITranslateCheckRegistry];}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x505b9b,_0x456b6f){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x456b6f,this['_aiConnector'],Oo(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x505b9b['params'],_0x505b9b['args']);}['_onReviewCheckResultActivated'](_0x50018a){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x50018a['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x50018a['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x3204d7){this['_currentReviewCheckRun']&&('hover'===_0x3204d7['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x3204d7['id'])),'click'===_0x3204d7['uiInteraction']&&this['_scrollToChange'](_0x3204d7['id']));}['_onDeactivateChange'](_0x205ce4){this['_currentReviewCheckRun']&&'panel'===_0x205ce4['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x10f797,_0x487b5a){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x487b5a['changeId']),this['_scrollToChange'](_0x487b5a['changeId']));}['_onChangeMarkerHovered'](_0x436412,_0x37deb8){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x37deb8['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x37deb8['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x18988a){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x18988a);}['_markChangePositionInEditorContent'](_0x2b0585,_0x1087fc){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x2b0585,_0x1087fc);}['_diffContent'](_0x1b2bab,_0x18d5fe,_0x18f537){return this['_aiReviewCoreEditing']['diffContent'](_0x1b2bab,_0x18d5fe,_0x18f537,!0x0);}['_onReviewCheckRun'](){for(const _0x247429 of this['_aiReviewCoreEditing']['getEditors']())_0x247429['editing']['view']['change'](_0x3a250a=>{for(const _0x346b89 of _0x247429['editing']['view']['document']['getRoots']())_0x3a250a['addClass']('ck-ai-translate-mode-content',_0x346b89);});}async['_getReviewChecks'](){return(await this['context']['plugins']['get']('AITranslateCheckRegistry')['getChecksList']())['checks'];}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x1f9dda,_0x21b4a8){super(_0x1f9dda,_0x21b4a8),this['on']('set:isLoading',(_0x5f1b19,_0x4ff147,_0x252091)=>{_0x252091&&(this['headerTitle']=Oo(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x2d7002,_0x45ce96,_0x37909b)=>{_0x37909b&&(this['headerTitle']=Oo(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x2236b9=super['_createAcceptAllButtonView']();return _0x2236b9['set']('label',Oo(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x2236b9;}['_createExitReviewButtonView'](){const _0x38b928=super['_createExitReviewButtonView']();return _0x38b928['set']('label',Oo(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x38b928;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x1dab45=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x1dab45['if']('isVisible','ck-hidden',_0x46409b=>!_0x46409b)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':Oo(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':Oo(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1dab45['if']('isVisible','ck-hidden',_0x5e6b24=>!_0x5e6b24)]},'children':this['_checkViews']}]});}}class AITranslateUI extends AIReviewCoreUI{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x279cfd=this['context']['plugins']['get']('AITabs'),_0x2f2d77=this['context']['locale'],_0x468a8a=new AIHeaderView(_0x2f2d77,{'label':Oo(_0x2f2d77,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x1b2af2,'class':'ck-ai-header_review-translate','showResizeButton':_0x279cfd['showResizeButton']});_0x468a8a['delegate']('resizeTabs')['to'](_0x279cfd),_0x468a8a['bind']('isMaximized')['to'](_0x279cfd['view'],'isMaximized',_0xedf45b=>_0xedf45b);const _0x1225d3=new AIReviewCoreView(_0x2f2d77,{'header':_0x468a8a,'list':new AITranslateCheckListView(_0x2f2d77),'results':new AITranslateCheckResultsView(_0x2f2d77,{'generalErrorText':Oo(_0x2f2d77,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x2f2d77,{'headerText':Oo(_0x2f2d77,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':Oo(_0x2f2d77,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':Oo(_0x2f2d77,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x1225d3['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x1225d3;}['registerTab'](){const _0x295dcc=this['context']['plugins']['get']('AITabs');_0x295dcc['view']['on']('activateTab',(_0x1967a1,{newTab:_0x15098c,oldTab:_0x3a0fc1})=>{'translate'===_0x15098c?this['fire']('getReviewCheckList'):'translate'===_0x3a0fc1&&this['fire']('leaveReview');}),_0x295dcc['view']['addTab']({'id':'translate','buttonLabel':Oo(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x1b2af2,'order':0x0,'content':this['_mainView']});}}class AITranslate extends _0x304a5a{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CaseChangeCommand extends _0x208eac{['_transformCallback'];constructor(_0x4bd107,_0x19185d){super(_0x4bd107),this['_transformCallback']=_0x19185d;}['execute'](){const _0x59c42a=this['editor']['model'],_0x4c455b=Array['from'](this['_getAffectedRanges']()),_0x13a090=Array['from'](_0x59c42a['document']['selection']['getRanges']());_0x59c42a['change'](_0xe7ae1e=>{for(const _0x25ca33 of _0x4c455b)this['_modifyContent'](_0x25ca33,_0xe7ae1e);_0xe7ae1e['setSelection'](_0x13a090);});}['refresh'](){for(const _0x667670 of this['_getAffectedRanges']())for(const _0xee2e2b of _0x667670)if(_0xee2e2b['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x455efc=this['editor']['model'],_0x9985ed=_0x455efc['document']['selection'];if(_0x9985ed['isCollapsed']){const _0x1c4cf6=this['_findAncestorTextBlock'](_0x9985ed['getFirstPosition']()['parent']);return _0x1c4cf6?[_0x455efc['createRangeIn'](_0x1c4cf6)]:[];}return _0x9985ed['getRanges']();}['_modifyContent'](_0x2894fa,_0x5ae4cd){for(const _0x2ad278 of this['_getElementsAllowingText'](_0x2894fa)){const _0x43249f=this['_getElementTextContent'](_0x2ad278),_0x3ad7d5=this['_transformCallback'](_0x43249f);for(const _0x14521d of this['_getTextNodesRangeLimited'](_0x2ad278,_0x2894fa))this['_replaceTextNodeData'](_0x14521d,_0x3ad7d5,_0x5ae4cd);}}['_findAncestorTextBlock'](_0x43f0fb){const _0x152fa1=this['editor']['model']['schema'];if(_0x43f0fb['is']('element')&&_0x152fa1['checkChild'](_0x43f0fb,'$text'))return _0x43f0fb;const _0x260370=_0x43f0fb['parent'];return!_0x260370||_0x152fa1['isLimit'](_0x43f0fb)?null:this['_findAncestorTextBlock'](_0x260370);}*['_getElementsAllowingText'](_0x30c11a){const _0xa30f09=new Set();for(const {item:_0x489ebd}of _0x30c11a['getWalker']()){const _0x1d911c=this['_findAncestorTextBlock'](_0x489ebd);_0x1d911c&&!_0xa30f09['has'](_0x1d911c)&&(_0xa30f09['add'](_0x1d911c),yield _0x1d911c);}}['_getElementTextContent'](_0x4a167e){return Array['from'](_0x4a167e['getChildren']())['reduce']((_0x5be791,_0x49f2f3)=>_0x5be791+(_0x49f2f3['is']('$text')?_0x49f2f3['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x4da86b,_0xa679f7){const _0x2171c6=_0xa679f7['getIntersection'](this['editor']['model']['createRangeIn'](_0x4da86b));if(_0x2171c6){for(const _0x38908e of _0x2171c6['getItems']())_0x38908e['is']('$textProxy')&&_0x38908e['parent']==_0x4da86b&&(yield _0x38908e);}}['_replaceTextNodeData'](_0x132efe,_0x269448,_0x3298c0){const _0x1c127a=_0x269448['substring'](_0x132efe['startOffset'],_0x132efe['endOffset']);if(_0x1c127a===_0x132efe['data'])return;const _0x41589a=_0x132efe['getAttributes']();this['editor']['model']['insertContent'](_0x3298c0['createText'](_0x1c127a,_0x41589a),_0x3298c0['createSelection'](_0x3298c0['createRangeOn'](_0x132efe)));}}function mg(_0x4f1fcb,_0x49e5cc,..._0x258d93){const t=_0x4f1fcb['t'];switch(_0x49e5cc){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',..._0x258d93);default:return _0x49e5cc;}}class CaseChangeEditing extends _0x151d85{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xb44a7d=this['editor'],_0x4f9a2d=_0xb44a7d['locale']['contentLanguage'],_0x3e5b17=function(_0x517945=[]){return'function'==typeof _0x517945?_0x517945:(_0x1fad37,{wordIndex:_0x5b3963})=>_0x5b3963>0x0&&_0x517945['includes'](_0x1fad37);}(_0xb44a7d['config']['get']('caseChange.titleCase.excludeWords')),_0x3151a7={'changeCaseUpper':new CaseChangeCommand(_0xb44a7d,_0x7b01d5=>_0x7b01d5['toLocaleUpperCase'](_0x4f9a2d)),'changeCaseLower':new CaseChangeCommand(_0xb44a7d,_0x1a7d4b=>_0x1a7d4b['toLocaleLowerCase'](_0x4f9a2d)),'changeCaseTitle':new CaseChangeCommand(_0xb44a7d,_0x573e90=>function(_0x4cfff5,_0x28394f,_0x58dd1b){return function(_0x266f29,_0x41289e){let _0x3597de='',_0x5b6abd=0x0,_0x44c138=0x0;for(const _0x2f35ee of _0x266f29['matchAll'](/ +/g)){const _0x584c7b=_0x2f35ee['index'],_0x10a762=_0x266f29['substring'](_0x5b6abd,_0x584c7b);_0x10a762['length']&&(_0x3597de+=_0x41289e(_0x10a762,_0x5b6abd,_0x44c138++)),_0x3597de+=_0x2f35ee[0x0],_0x5b6abd=_0x584c7b+_0x2f35ee[0x0]['length'];}const _0x44798e=_0x266f29['substring'](_0x5b6abd);return _0x44798e['length']&&(_0x3597de+=_0x41289e(_0x44798e,_0x5b6abd,_0x44c138)),_0x3597de;}(_0x4cfff5,(_0x307b13,_0x32a85d,_0x45242f)=>{const _0x510e41=_0x307b13['toLocaleLowerCase'](_0x58dd1b);return _0x28394f(_0x510e41,{'charOffset':_0x32a85d,'wordIndex':_0x45242f,'blockText':_0x4cfff5})?_0x510e41:_0x510e41['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x23c003=>_0x23c003['toLocaleUpperCase'](_0x58dd1b));});}(_0x573e90,_0x3e5b17,_0x4f9a2d))};for(const [_0x477203,_0x1be54d]of Object['entries'](_0x3151a7))_0xb44a7d['commands']['add'](_0x477203,_0x1be54d),_0x1be54d['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x477203);});this['listenTo'](_0xb44a7d['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0xb44a7d['keystrokes']['set']('shift+f3',(_0x2e3ebd,_0x12ee40)=>{const _0x387879=gg(this['editor']['locale']),_0x4f08e8=_0x387879[this['_currentCommandIndex']%_0x387879['length']]['commandName'];_0xb44a7d['execute'](_0x4f08e8),this['_currentCommandIndex']++,_0x12ee40();});}['afterInit'](){!async function(_0x2e25c1){const _0x1409da=_0x2306f6([0x45,0x4d,0x44,0x53,0x33,0x64,0x73,0x4c,0x6f,0x4a,0x59,0x30,0x6e,0x62,0x65,0x39,0x63,0x6d,0x6c,0x43,0x72,0x58,0x79,0x61,0x5a,0x38,0x7a,0x70,0x50,0x71,0x4e,0x36,0x6a,0x78,0x54,0x68,0x66,0x37,0x67,0x77,0x42,0x69,0x32,0x4b,0x46,0x4f,0x56,0x55,0x57,0x52,0x41,0x47,0x31,0x34,0x48,0x51,0x49,0x6b,0x75,0x74,0x35,0x76]),_0x5729ab=0x334129cd,_0x12697b=0x3346a21d^_0x5729ab,_0x481dd4=window[_0x2306f6([0x44,0x61,0x74,0x65])][_0x2306f6([0x6e,0x6f,0x77])](),_0x3f942a=_0x2e25c1[_0x2306f6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d6ddc=new window[(_0x2306f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4867a9=>{_0x3f942a[_0x2306f6([0x6f,0x6e,0x63,0x65])](_0x2306f6([0x72,0x65,0x61,0x64,0x79]),_0x4867a9);}),_0x1e065e={[_0x2306f6([0x6b,0x74,0x79])]:_0x2306f6([0x45,0x43]),[_0x2306f6([0x75,0x73,0x65])]:_0x2306f6([0x73,0x69,0x67]),[_0x2306f6([0x63,0x72,0x76])]:_0x2306f6([0x50,0x2d,0x32,0x35,0x36]),[_0x2306f6([0x78])]:_0x2306f6([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2306f6([0x79])]:_0x2306f6([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2306f6([0x61,0x6c,0x67])]:_0x2306f6([0x45,0x53,0x32,0x35,0x36])},_0x2273de=_0x3f942a[_0x2306f6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2306f6([0x67,0x65,0x74])](_0x2306f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20d388(){let _0x31d244,_0x2bc889=null,_0x594f3f=null;try{if(_0x2273de==_0x2306f6([0x47,0x50,0x4c]))return _0x2306f6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x31d244=_0x41a2f3(),!_0x31d244)return _0x2306f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x31d244[_0x2306f6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x594f3f=_0x23b70d(_0x31d244[_0x2306f6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x31d244[_0x2306f6([0x6a,0x74,0x69])])),await _0x1b46a6()?_0x208c05()?_0x3ba1e1()?_0x2306f6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1222c4()?(_0x31d244[_0x2306f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2306f6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bc889=_0x18c038(_0x2306f6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f1b73()):_0x2306f6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2306f6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2306f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2306f6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ba1e1(){const _0x540194=[_0x2306f6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2306f6([0x74,0x72,0x69,0x61,0x6c])][_0x2306f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d244[_0x2306f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x481dd4/0x3e8:0xe10*_0x12697b;return _0x31d244[_0x2306f6([0x65,0x78,0x70])]<_0x540194;}function _0x208c05(){const _0x3799df=_0x31d244[_0x2306f6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3799df&&(!!_0x3799df[_0x2306f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2306f6([0x2a]))||(!!_0x3799df[_0x2306f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2306f6([0x43,0x43]))||!!_0x3799df[_0x2306f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2306f6([0x50,0x50]))));}function _0x1222c4(){const _0x1b11c2=_0x31d244[_0x2306f6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b11c2||0x0==_0x1b11c2[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x55b62a}=new URL(window[_0x2306f6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b11c2[_0x2306f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55b62a))return!0x0;const _0x13c3cd=_0x55b62a[_0x2306f6([0x73,0x70,0x6c,0x69,0x74])](_0x2306f6([0x2e]));return _0x1b11c2[_0x2306f6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa4599a=>_0xa4599a[_0x2306f6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2306f6([0x2a])))[_0x2306f6([0x6d,0x61,0x70])](_0x4973b6=>_0x4973b6[_0x2306f6([0x73,0x70,0x6c,0x69,0x74])](_0x2306f6([0x2e])))[_0x2306f6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a8b57=>_0x2a8b57[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13c3cd[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2306f6([0x6d,0x61,0x70])](_0xa7dbe9=>Array(_0x13c3cd[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa7dbe9[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2306f6([0x66,0x69,0x6c,0x6c])](_0xa7dbe9[0x0]===_0x2306f6([0x2a])?_0x2306f6([0x2a]):'')[_0x2306f6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa7dbe9))[_0x2306f6([0x73,0x6f,0x6d,0x65])](_0x168d07=>_0x13c3cd[_0x2306f6([0x65,0x76,0x65,0x72,0x79])]((_0xd1c9b8,_0x131ae4)=>_0x168d07[_0x131ae4]===_0xd1c9b8||_0x168d07[_0x131ae4]===_0x2306f6([0x2a])));}function _0x2f1b73(){return _0x2bc889&&_0x594f3f?new window[(_0x2306f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x417a84,_0x662cb1)=>{_0x2bc889[_0x2306f6([0x74,0x68,0x65,0x6e])](_0x417a84,_0x662cb1),_0x594f3f[_0x2306f6([0x74,0x68,0x65,0x6e])](_0x12d5d0=>{_0x12d5d0!=_0x2306f6([0x56,0x61,0x6c,0x69,0x64])&&_0x417a84(_0x12d5d0);},_0x662cb1);}):_0x2bc889||_0x594f3f||_0x2306f6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x23b70d(_0xa9ecd1,_0x57f5ab){return new window[(_0x2306f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bc430=>{if(_0x1eeaa9())return _0x4bc430(_0x2306f6([0x56,0x61,0x6c,0x69,0x64]));_0x47b77f(),_0x3f942a[_0x2306f6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2306f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xf4de6b=!0x1;const _0x10bf58=_0x3eda13();function _0x503998(_0x4072c9){return!!_0x4072c9&&(typeof _0x4072c9===_0x2306f6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4072c9===_0x2306f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4072c9[_0x2306f6([0x74,0x68,0x65,0x6e])]===_0x2306f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4072c9[_0x2306f6([0x63,0x61,0x74,0x63,0x68])]===_0x2306f6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x42f651(_0x58b1a4){_0x29b10b(_0x58b1a4)[_0x2306f6([0x74,0x68,0x65,0x6e])](_0x58f0af=>{if(!_0x58f0af||_0x58f0af[_0x2306f6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2306f6([0x6f,0x6b]))return _0x2306f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x215606(_0x458c44(_0x10bf58+_0x57f5ab))!=_0x58f0af[_0x2306f6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2306f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2306f6([0x56,0x61,0x6c,0x69,0x64]);})[_0x2306f6([0x74,0x68,0x65,0x6e])](_0xb45275=>(_0x2a2d44(),_0xb45275),()=>{const _0x4ae2ad=_0x493987();return null==_0x4ae2ad?(_0x2a2d44(),_0x2306f6([0x56,0x61,0x6c,0x69,0x64])):_0x2306f6(_0x481dd4-_0x4ae2ad>(0x174dadcd^_0x5729ab)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2306f6([0x74,0x68,0x65,0x6e])](_0x4bc430)[_0x2306f6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4bc430(_0x2306f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53124f=0x3377c74d^_0x5729ab;function _0x2a2d44(){const _0x111cac=_0x2306f6([0x6c,0x6c,0x63,0x74,0x2d])+_0x215606(_0x458c44(_0xa9ecd1)),_0xa1df57=_0x2feb56(_0x215606(window[_0x2306f6([0x4d,0x61,0x74,0x68])][_0x2306f6([0x63,0x65,0x69,0x6c])](_0x481dd4/_0x53124f)));window[_0x2306f6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2306f6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x111cac,_0xa1df57);}function _0x493987(){const _0x169b55=_0x2306f6([0x6c,0x6c,0x63,0x74,0x2d])+_0x215606(_0x458c44(_0xa9ecd1)),_0x488d9e=window[_0x2306f6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2306f6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x169b55);return _0x488d9e?window[_0x2306f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2feb56(_0x488d9e),0x10)*_0x53124f:null;}function _0x29b10b(_0x3999f6){return new window[(_0x2306f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fd086,_0x59b0a5)=>{_0x3999f6[_0x2306f6([0x74,0x68,0x65,0x6e])](_0x4fd086,_0x59b0a5),window[_0x2306f6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59b0a5,0x3340fd0d^_0x5729ab);});}}_0x3f942a[_0x2306f6([0x6f,0x6e])](_0x2306f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x50ba1b,_0x5ea58a)=>{if(_0x5ea58a[0x0]!=_0xa9ecd1)return _0x4bc430(_0x2306f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ea58a[0x1]={..._0x5ea58a[0x1],[_0x2306f6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10bf58};},{[_0x2306f6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2306f6([0x68,0x69,0x67,0x68])}),_0x3f942a[_0x2306f6([0x6f,0x6e])](_0x2306f6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x571562=>{_0x503998(_0x571562[_0x2306f6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xf4de6b=!0x0,_0x42f651(_0x571562[_0x2306f6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2306f6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2306f6([0x6c,0x6f,0x77])}),_0x1d6ddc[_0x2306f6([0x74,0x68,0x65,0x6e])](()=>{_0xf4de6b||_0x4bc430(_0x2306f6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1eeaa9(){return _0x3f942a[_0x2306f6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2306f6([0x76,0x69,0x65,0x77])][_0x2306f6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2306f6([0x61,0x75,0x74,0x6f]);}function _0x47b77f(){_0x3f942a[_0x2306f6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2306f6([0x76,0x69,0x65,0x77])][_0x2306f6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2306f6([0x61,0x75,0x74,0x6f]);}}function _0x18c038(_0x357b07){const _0xd66d6=[new window[(_0x2306f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56ae3f=>setTimeout(_0x56ae3f,0x33481701^_0x5729ab)),_0x1d6ddc[_0x2306f6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2306f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11c69f=>{let _0x5dd97a=0x0;_0x3f942a[_0x2306f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2306f6([0x6f,0x6e])](_0x2306f6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x462192,_0xb6679)=>{_0xb6679[0x0][_0x2306f6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5dd97a++,_0x5dd97a==(0x33412c25^_0x5729ab)&&(_0x11c69f(),_0x462192[_0x2306f6([0x6f,0x66,0x66])]());});}))];return window[_0x2306f6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2306f6([0x72,0x61,0x63,0x65])](_0xd66d6)[_0x2306f6([0x74,0x68,0x65,0x6e])](()=>_0x357b07);}async function _0x1e2024(){await _0x1d6ddc,_0x3f942a[_0x2306f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2306f6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53d6c4,_0x3f942a[_0x2306f6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2306f6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53d6c4,_0x3f942a[_0x2306f6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2306f6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f91ea(_0x278dc1){const _0x2167e9=_0x348b95();_0x3f942a[_0x2167e9]=_0x2306f6([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x278dc1,_0x278dc1!=_0x2306f6([0x56,0x61,0x6c,0x69,0x64])&&_0x1e2024();}function _0x348b95(){const _0x39261a=window[_0x2306f6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2306f6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2306f6([0x6e,0x6f,0x77])]())[_0x2306f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2306f6([0x2e]),'');let _0x482444=_0x2306f6([0x45]);for(let _0x5b483b=0x0;_0x5b483b<_0x39261a[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b483b+=0x2){let _0x188b24=window[_0x2306f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39261a[_0x2306f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b483b,_0x5b483b+0x2));_0x188b24>=_0x1409da[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x188b24-=_0x1409da[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x482444+=_0x1409da[_0x188b24];}return _0x482444;}function _0x41a2f3(){const _0x1a601e=_0x2273de[_0x2306f6([0x73,0x70,0x6c,0x69,0x74])](_0x2306f6([0x2e]));if(0x3!=_0x1a601e[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x240266(_0x1a601e[0x1]);function _0x240266(_0x15e785){const _0x3d652c=_0x29033d(_0x15e785);return _0x3d652c&&_0x1ff097()?_0x3d652c:null;function _0x1ff097(){const _0x3d64eb=_0x3d652c[_0x2306f6([0x6a,0x74,0x69])],_0x2276c3=window[_0x2306f6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d64eb[_0x2306f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d64eb[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x16f5a6={..._0x3d652c,[_0x2306f6([0x6a,0x74,0x69])]:_0x3d64eb[_0x2306f6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3d64eb[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x16f5a6[_0x2306f6([0x76,0x63])],_0x458c44(_0x16f5a6)==_0x2276c3;}}}async function _0x1b46a6(){let _0x52557d=!0x0;try{const _0x577206=_0x2273de[_0x2306f6([0x73,0x70,0x6c,0x69,0x74])](_0x2306f6([0x2e])),[_0x1c55fa,_0x526176,_0x5c5fca]=_0x577206;return _0x1f89a1(_0x1c55fa),await _0x2098fe(_0x1c55fa,_0x526176,_0x5c5fca),_0x52557d;}catch{return!0x1;}function _0x1f89a1(_0x9876df){const _0x2d2891=_0x29033d(_0x9876df);_0x2d2891&&_0x2d2891[_0x2306f6([0x61,0x6c,0x67])]==_0x2306f6([0x45,0x53,0x32,0x35,0x36])||(_0x52557d=!0x1);}async function _0x2098fe(_0x1b691d,_0x38fc3d,_0x3bcba4){const _0x407b95=window[_0x2306f6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2306f6([0x66,0x72,0x6f,0x6d])](_0x53a083(_0x3bcba4),_0x4cfd96=>_0x4cfd96[_0x2306f6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1d6c28=new window[(_0x2306f6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2306f6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b691d+_0x2306f6([0x2e])+_0x38fc3d),_0x44a14d=window[_0x2306f6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2306f6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x44a14d)return;const _0x2facaa=await _0x44a14d[_0x2306f6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2306f6([0x6a,0x77,0x6b]),_0x1e065e,{[_0x2306f6([0x6e,0x61,0x6d,0x65])]:_0x2306f6([0x45,0x43,0x44,0x53,0x41]),[_0x2306f6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2306f6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2306f6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x44a14d[_0x2306f6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2306f6([0x6e,0x61,0x6d,0x65])]:_0x2306f6([0x45,0x43,0x44,0x53,0x41]),[_0x2306f6([0x68,0x61,0x73,0x68])]:{[_0x2306f6([0x6e,0x61,0x6d,0x65])]:_0x2306f6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2facaa,_0x407b95,_0x1d6c28)||(_0x52557d=!0x1);}}function _0x29033d(_0x4b0243){return _0x4b0243[_0x2306f6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2306f6([0x65,0x79]))?JSON[_0x2306f6([0x70,0x61,0x72,0x73,0x65])](_0x53a083(_0x4b0243)):null;}function _0x53a083(_0x35b9ef){return window[_0x2306f6([0x61,0x74,0x6f,0x62])](_0x35b9ef[_0x2306f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2306f6([0x2b]))[_0x2306f6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2306f6([0x2f])));}function _0x458c44(_0x3e4382){let _0x4c29b2=0x1505;function _0xbe1d9b(_0x147ba6){for(let _0x3171e7=0x0;_0x3171e7<_0x147ba6[_0x2306f6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3171e7++){const _0x27d2dc=_0x147ba6[_0x2306f6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3171e7);_0x4c29b2=(_0x4c29b2<<0x5)+_0x4c29b2+_0x27d2dc,_0x4c29b2&=_0x4c29b2;}}function _0xce59ec(_0x375a0e){Array[_0x2306f6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x375a0e)?_0x375a0e[_0x2306f6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xce59ec):_0x375a0e&&typeof _0x375a0e==_0x2306f6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2306f6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x375a0e)[_0x2306f6([0x73,0x6f,0x72,0x74])]()[_0x2306f6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2764f3,_0x576667])=>{_0xbe1d9b(_0x2764f3),_0xce59ec(_0x576667);}):_0xbe1d9b(window[_0x2306f6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x375a0e));}return _0xce59ec(_0x3e4382),_0x4c29b2>>>0x0;}function _0x215606(_0x5f6000){return _0x5f6000[_0x2306f6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2306f6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2306f6([0x30]));}function _0x2feb56(_0x13bed9){return _0x13bed9[_0x2306f6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2306f6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2306f6([0x6a,0x6f,0x69,0x6e])]('');}function _0x53d6c4(){}function _0x2306f6(_0x494d1a){return _0x494d1a['map'](_0x459e65=>String['fromCharCode'](_0x459e65))['join']('');}_0x2f91ea(await _0x20d388());}(this);}['_announceCaseChangeOperation'](_0x4a5fe){const {ui:_0x52ac02,locale:_0x1c881b}=this['editor'],_0x2ce1ae=gg(_0x1c881b)['find'](_0x29c3ff=>_0x29c3ff['commandName']===_0x4a5fe)['label']['toLowerCase']();_0x52ac02['ariaLiveAnnouncer']['announce'](mg(_0x1c881b,'Changed\x20case\x20to\x20%0',_0x2ce1ae));}}function gg(_0x152f33){return[{'label':mg(_0x152f33,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':mg(_0x152f33,'lowercase'),'commandName':'changeCaseLower'},{'label':mg(_0x152f33,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class CaseChangeUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3aca2=this['editor'];this['_registerComponents'](),_0x3aca2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':mg(_0x3aca2['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4773e9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3cf453;for(const _0x360fe1 in _0x4773e9){const _0x1a87b3=_0x360fe1,_0xedfa91=_0x4773e9[_0x1a87b3];if('caseChangeLicenseKeyValid'==_0xedfa91||'caseChangeLicenseKeyInvalid'==_0xedfa91||'caseChangeLicenseKeyExpired'==_0xedfa91||'caseChangeLicenseKeyDomainLimit'==_0xedfa91||'caseChangeLicenseKeyNotAllowed'==_0xedfa91||'caseChangeLicenseKeyEvaluationLimit'==_0xedfa91||'caseChangeLicenseKeyUsageLimit'==_0xedfa91){delete _0x4773e9[_0x1a87b3],_0x3cf453=_0xedfa91,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x3cf453&&_0x4773e9['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x3cf453&&_0x4773e9['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x3cf453&&_0x4773e9['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x3cf453&&_0x4773e9['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x3cf453&&_0x4773e9['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x3cf453&&_0x4773e9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x3ac306=this['editor'],{itemDefinitions:_0x218b89,commands:_0xb64886}=this['_getListItemDefinitionsAndCommands']();_0x3ac306['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x218b89,_0xb64886)),_0x3ac306['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x218b89,_0xb64886));}['_createMenuBarMenuView'](_0x32012b,_0x536395){const _0x1f93ab=this['editor'],_0xd9a889=_0x1f93ab['locale'],_0x1d22be=new ot(_0xd9a889),_0x558f48=new lt(_0xd9a889);_0x558f48['set']({'ariaLabel':mg(_0xd9a889,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x1d22be['buttonView']),_0x1d22be['bind']('isEnabled')['toMany'](_0x536395,'isEnabled',(..._0x3edcb4)=>_0x3edcb4['some'](_0xd94b09=>_0xd94b09));for(const _0x4954ab of _0x32012b){const _0x52ce77=new ht(_0xd9a889,_0x1d22be),_0x127417=new at(_0xd9a889);_0x127417['delegate']('execute')['to'](_0x1d22be),_0x127417['bind'](...Object['keys'](_0x4954ab['model']))['to'](_0x4954ab['model']),_0x127417['on']('execute',()=>{_0x1f93ab['execute'](_0x4954ab['model']['commandName']),_0x1f93ab['editing']['view']['focus']();}),_0x52ce77['children']['add'](_0x127417),_0x558f48['items']['add'](_0x52ce77);}return _0x1d22be['panelView']['children']['add'](_0x558f48),_0x1d22be;}['_createDropdownView'](_0x93de8,_0x535de1){const _0x51e119=this['editor'],_0x1b3b48=nt(_0x51e119['locale']);return this['_setButtonProperties'](_0x1b3b48['buttonView']),_0x1b3b48['buttonView']['set']({'tooltip':!0x0}),_0x1b3b48['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),pt(_0x1b3b48,_0x93de8,{'ariaLabel':mg(_0x51e119['locale'],'Case\x20change'),'role':'menu'}),_0x1b3b48['bind']('isEnabled')['toMany'](_0x535de1,'isEnabled',(..._0x3cb014)=>_0x3cb014['some'](_0x1e0bc7=>_0x1e0bc7)),this['listenTo'](_0x1b3b48,'execute',_0x3da81b=>{_0x51e119['execute'](_0x3da81b['source']['commandName']),_0x51e119['editing']['view']['focus']();}),_0x1b3b48;}['_setButtonProperties'](_0x20afb4){const _0x1a2752=this['editor'];_0x20afb4['set']({'label':mg(_0x1a2752['locale'],'Case\x20change'),'icon':_0x4be854,'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x19a625=new _0x47a54f(),_0x11402f=[];for(const _0x461348 of gg(this['editor']['locale'])){const _0x1f01b0=this['editor']['commands']['get'](_0x461348['commandName']),_0x3f20a1=new Ot({'commandName':_0x461348['commandName'],'label':_0x461348['label'],'role':'menuitemradio','withText':!0x0});_0x3f20a1['bind']('isEnabled')['to'](_0x1f01b0,'isEnabled'),_0x19a625['add']({'type':'button','model':_0x3f20a1}),_0x11402f['push'](_0x1f01b0);}return{'itemDefinitions':_0x19a625,'commands':_0x11402f};}}class CaseChange extends _0x151d85{static get['requires'](){return[CaseChangeEditing,CaseChangeUI];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['model'];['view'];constructor(_0x499e9d,_0x10eb6){super(),this['model']=_0x499e9d,this['model']['_isAttached']=!0x0,this['view']=_0x10eb6,this['listenTo'](_0x10eb6,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x10eb6,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x10eb6,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x10eb6,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x10eb6,'addComment',(_0x34e721,_0x1d7803)=>this['addComment'](_0x1d7803)),this['listenTo'](_0x10eb6,'updateComment',(_0x2c102d,_0x1b7f08,_0x4b42ed)=>this['updateComment'](_0x1b7f08,_0x4b42ed)),this['listenTo'](_0x10eb6,'removeComment',(_0x1855c1,_0x323bfb)=>this['removeComment'](_0x323bfb));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x25fcd2){this['model']['addComment']({'content':_0x25fcd2,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x52af0a,_0x2b4e05){this['model']['getComment'](_0x52af0a)['update']({'content':_0x2b4e05});}['removeComment'](_0x5b9cad){this['model']['getComment'](_0x5b9cad)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function pg(_0x2feeab,_0x47e884,_0x5dfb16){const t=_0x2feeab['t'];switch(_0x47e884){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'},_0x5dfb16);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x5dfb16);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'},_0x5dfb16);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'},_0x5dfb16);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5dfb16);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'},_0x5dfb16);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'},_0x5dfb16);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'},_0x5dfb16);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}class CommentEditorUIView extends Mt{['main'];['editable'];constructor(_0x46c4fa,_0xb9aa9c){super(_0x46c4fa);const _0x326e29=_0x3eda13();this['main']=this['createCollection'](),this['editable']=new Nt(_0x46c4fa,_0xb9aa9c,void 0x0,{'label':()=>pg(_0x46c4fa,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x46c4fa['uiLanguageDirection'],'lang':_0x46c4fa['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x326e29},'children':[{'tag':'div','attributes':{'class':'ck-editor__main','role':'presentation'},'children':this['main']}]});}['render'](){super['render'](),this['main']['add'](this['editable']);}['focus'](){this['editable']['element']['focus']();}}class CommentEditorUI extends Lt{['view'];constructor(_0x448a3f){super(_0x448a3f),this['view']=new CommentEditorUIView(_0x448a3f['locale'],_0x448a3f['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x2cc48e=this['editor']['editing']['view'],_0xd519cc=this['view']['editable'],_0x5528cb=_0x2cc48e['document']['getRoot']();_0xd519cc['name']=_0x5528cb['rootName'],this['view']['render']();const _0x43527c=_0xd519cc['element'];this['setEditableElement'](_0xd519cc['name'],_0x43527c),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2cc48e['attachDomRoot'](_0x43527c),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const Og=[_0x511698,_0x25873b,_0x406dd2,_0x325c6d,_0x16f6b5,_0x5278cc,_0x302706];class CommentEditor extends/* #__PURE__ -- @preserve */
_0x4e29c1(_0x8aa8ea){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>Og)());constructor(_0x47bd4d={}){function _0x46f369(_0x2fc237){return _0x2fc237['map'](_0x142454=>String['fromCharCode'](_0x142454))['join']('');}(_0x47bd4d=Object['assign']({},_0x47bd4d))['plugins']||(_0x47bd4d['plugins']=CommentEditor['defaultPlugins']),super(_0x47bd4d),this['ui']=new CommentEditorUI(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this[_0x46f369([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46f369([0x76,0x69,0x65,0x77])][_0x46f369([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46f369([0x61,0x75,0x74,0x6f]),this[_0x46f369([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x46f369([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46f369([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x46f369([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x46f369([0x6f,0x6b])});}['create'](){const _0x41ae38=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x41ae38))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x5e4d7f=>{const _0x2aa6e8=this['model']['document']['getRoot'](),_0x502c2e=_0x2aa6e8&&_0x2aa6e8['getChild'](_0x2aa6e8['childCount']-0x1);_0x5e4d7f['setSelection'](_0x502c2e,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0xc20f6d=this['editing']['view'],_0x564e7b=_0xc20f6d['document']['getRoot'](),_0x49368b=_0x564e7b['getChild'](0x0);_0x564e7b['childCount']>0x1||!_0x49368b||'p'!=_0x49368b['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0x3e892b(_0xc20f6d,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x49368b['placeholder']=this['placeholder']),_0x381cb8({'view':_0xc20f6d,'element':_0x49368b,'keepOnFocus':!0x0}),this['placeholderElement']=_0x49368b);}}class CommentInputView extends _0xa34d16{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x40710c,_0x32557e={}){super(_0x40710c),this['editor']=null,this['_editorConfig']=_0x32557e,this['set']('value',_0x32557e['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',pg(_0x40710c,'Reply...')),this['set']('submitLabel',pg(_0x40710c,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x2ae5e6(),this['focusTracker']=new _0xafcb0e(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x4a532a=>!_0x4a532a['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',(_0x16c194,_0x40dfea)=>{this['cancelButtonView']['fire']('execute'),_0x40dfea();}),this['keystrokes']['set']('Ctrl+Enter',(_0x2ab3fa,_0x6b9757)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x6b9757());}),this['on']('submit',(_0x55cc89,_0x1e2c2b)=>{_0x1e2c2b['length']>0xfde8?(alert(pg(_0x40710c,'TOO_LONG_COMMENT_ALERT',[_0x1e2c2b['length'],0xfde8])),_0x55cc89['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new CommentEditor(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x15c966=this['editor'];this['element']['insertBefore'](_0x15c966['ui']['element'],this['element']['firstChild']),_0x15c966['model']['document']['on']('change',()=>this['value']=_0x15c966['getData']()),_0x15c966['bind']('placeholder')['to'](this),this['focusables']['add'](_0x15c966['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x1e1898){-0x1===_0x1e1898?(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:_0x74d1e3}=this,_0x116c7b=new _0x4c508c(_0x74d1e3);return _0x116c7b['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x116c7b['withText']=!0x0,_0x116c7b['bind']('label')['to'](this,'submitLabel'),_0x116c7b['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x116c7b['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x1a0007,_0x47d82b)=>!_0x47d82b&&!!_0x1a0007['trim']()),_0x116c7b;}['_createCancelButton'](){const {locale:_0x5b8cb9}=this,_0x5dbb16=new _0x4c508c(_0x5b8cb9);return _0x5dbb16['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x5dbb16['label']=pg(_0x5b8cb9,'Cancel'),_0x5dbb16['withText']=!0x0,_0x5dbb16['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x5dbb16;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x590b2b=>{this['focusTracker']['add'](_0x590b2b['element']);}),this['focusables']['on']('change',(_0x26157b,_0x44d601)=>{for(const _0x41ef58 of Array['from'](_0x44d601['added'])['reverse']())this['focusTracker']['add'](_0x41ef58['element']);});}}class CommentThreadInputView extends _0xa34d16{constructor(_0x3acd1c,_0x4e9298,_0x15c77e){super(_0x3acd1c),this['commentInputView']=new CommentInputView(_0x3acd1c,_0x15c77e),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x4eb174,_0x4b1a55)=>_0x4eb174||!!_0x4b1a55),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 UserView(_0x3acd1c,_0x4e9298),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'](_0xdcfa15){this['commentInputView']['focus'](_0xdcfa15);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x5482f7,_0xf8e9de)=>{const {submitButtonView:_0x3b5bcc,cancelButtonView:_0x571773,editor:_0x552adf}=this['commentInputView'],_0x3a45b4=[_0x3b5bcc['element'],_0x571773['element'],_0x552adf?_0x552adf['editing']['view']['getDomRoot']():null]['filter'](_0x27eb3d=>_0x27eb3d)['some'](_0x1865ff=>_0x1865ff['contains'](_0xf8e9de['target']));_0x3a45b4||(this['focus'](),_0xf8e9de['preventDefault']());});}}class CollapsedCommentsView extends _0xa34d16{constructor(_0x11eecd){super(_0x11eecd);const _0x39f72a=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x39f72a['to']('count',_0x26fb99=>pg(_0x11eecd,'NUMBER_OF_COMMENTS',_0x26fb99))}]});}}class CommentsListView extends _0xa34d16{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x407f50,_0x258956,_0x545c59){super(_0x407f50);const _0x30491f=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x258956['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x258956,this['_config']=_0x545c59,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['focusCycler']=new et({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x1a17ed=>this['commentViews']['map'](_0x5567a3=>_0x5567a3['element'])['includes'](_0x1a17ed['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x407f50),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0xf53a7f=>_0xf53a7f-this['_config']['maxCommentsWhenCollapsed']);for(const _0x26accb of _0x258956['comments'])this['_handleNewCommentModel'](_0x26accb);this['_handleInfoComment'](),this['listenTo'](_0x258956['comments'],'add',(_0x557360,_0x5c7c21)=>{const _0x17cd41=this['_calculatePosition'](_0x5c7c21);this['length']++,this['_handleNewCommentModel'](_0x5c7c21,_0x17cd41),this['refreshVisibleViews']();}),this['listenTo'](_0x258956['comments'],'remove',(_0x1ea353,_0x1cc812)=>{this['length']--,this['_handleRemoveCommentModel'](_0x1cc812),this['refreshVisibleViews']();}),this['listenTo'](_0x258956,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x258956,'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',_0x30491f['if']('length','ck-hidden',_0x297d20=>!_0x297d20)],'aria-label':pg(_0x407f50,'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'](_0x45273a){-0x1===_0x45273a?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x5ec142 of this['commentViews'])_0x5ec142['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x5f237e,_0xa8ce47){const _0x524b5c=new this['_config']['CommentView'](this['locale'],_0x5f237e,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x524b5c['viewUid']=_0x5f237e['id'],_0x524b5c['delegate']('removeComment')['to'](this),_0x524b5c['delegate']('updateComment')['to'](this),_0x524b5c['delegate']('resolveCommentThread')['to'](this),_0x524b5c['delegate']('editorReady')['to'](this),_0x524b5c['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x524b5c,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x524b5c,_0xa8ce47);}['_calculatePosition'](_0xb2b68){const _0x511cee=this['_model']['_findOptimalIndex'](_0xb2b68);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0xb2b68['authoredAt']?_0x511cee-0x1:_0x511cee:_0x511cee-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x5ab7f1={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':pg(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x5ab7f1,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x5ab7f1));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x2f7b7e){const _0x23d1a4=this['commentViews']['remove'](_0x2f7b7e['id']);this['stopListening'](_0x23d1a4),_0x23d1a4['isEditMode']&&this['_updateHasDirtyComment'](),_0x23d1a4['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x354d3b=>_0x354d3b['isEditMode']);}['_rearrangeCollapse'](){const _0x45cb05=function(_0x149c34){const _0x27f1a3=new _0x47a54f();for(const _0x2fba4d of _0x149c34)_0x27f1a3['add'](_0x2fba4d);return _0x27f1a3;}(this['commentViews']),_0x1a1f0d=this['_collapsedCommentsView']['count'];for(let _0x401bb2=0x1;_0x401bb2<=_0x1a1f0d;_0x401bb2++)_0x45cb05['remove'](0x1);for(const _0x34d7a5 of _0x45cb05)_0x34d7a5['collapse']();_0x1a1f0d>0x0&&_0x45cb05['add'](this['_collapsedCommentsView'],0x1),wg(_0x48a903(Array['from'](this['visibleViews']),Array['from'](_0x45cb05)),this['visibleViews'],_0x45cb05);}['_rearrangeExpand'](){wg(_0x48a903(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x5404cb of this['visibleViews'])_0x5404cb['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x520179=>{this['focusTracker']['add'](_0x520179['element']),this['keystrokes']['listenTo'](_0x520179['element']);}),this['commentViews']['on']('change',(_0x2f28de,_0x237f1d)=>{for(const _0x176019 of _0x237f1d['removed'])this['focusTracker']['remove'](_0x176019['element']),this['keystrokes']['stopListening'](_0x176019['element']);for(const _0x1cf7b2 of Array['from'](_0x237f1d['added'])['reverse']())this['focusTracker']['add'](_0x1cf7b2['element']),this['keystrokes']['listenTo'](_0x1cf7b2['element']);});}}function wg(_0x38b8c3,_0x40b88d,_0x201264){let _0x5673f1=0x0;for(const _0x168731 of _0x38b8c3)switch(_0x168731){case'insert':_0x40b88d['add'](_0x201264['get'](_0x5673f1),_0x5673f1),_0x5673f1++;break;case'delete':_0x40b88d['remove'](_0x5673f1);break;case'equal':_0x5673f1++;}}class CommentThreadHeaderContextView extends _0xa34d16{constructor(_0x3c02f0){super(_0x3c02f0);const _0x5684a7=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x5684a7['to']('contextValue',_0x3c79b=>pg(_0x3c02f0,'THREAD_CONTEXT_LABEL',_0x3c79b)),'tabindex':-0x1},'children':[{'text':_0x5684a7['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class CommentThreadHeaderView extends _0xa34d16{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x28dae6,_0x590d39){super(_0x28dae6);const _0x523dd9=this['bindTemplate'];this['_model']=_0x590d39,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0xd33e89=>!!_0xd33e89),this['bind']('contextValue')['to'](this['_model'],'context',_0x2512ea=>_0x2512ea&&_0x2512ea['value']?this['_trimContextValue'](_0x2512ea['value']):pg(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',_0x523dd9['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 _0x7c5fb7=new _0x4c508c(this['locale']);return _0x7c5fb7['label']=pg(this['locale'],'Reopen'),_0x7c5fb7['tooltip']=pg(this['locale'],'Reopen'),_0x7c5fb7['icon']=_0x4464d3,_0x7c5fb7['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1a6c96=>!_0x1a6c96),_0x7c5fb7['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x43dcdf,_0x56ed8f)=>_0x43dcdf&&_0x56ed8f),_0x7c5fb7['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x7c5fb7;}['_trimContextValue'](_0x3cdeb9){if(_0x3cdeb9['length']<0x96)return _0x3cdeb9;const _0x14ea3b=_0x3cdeb9['lastIndexOf']('\x20',0x93);return _0x3cdeb9['substring'](0x0,_0x14ea3b>-0x1?_0x14ea3b:0x93)+'...';}['_attachContextActions'](){const _0x535cc5=this['element']['querySelector']('.ck-context'),_0x43fdba=_0x535cc5['querySelector']('.ck-context__value');this['listenTo'](_0x535cc5,'mouseenter',()=>{_0x43fdba['offsetWidth']<_0x43fdba['scrollWidth']&&_0x535cc5['classList']['add']('overlay');}),this['listenTo'](_0x535cc5,'mouseleave',()=>{_0x535cc5['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x14fa49 of this['focusables'])this['focusTracker']['add'](_0x14fa49['element']),this['keystrokes']['listenTo'](_0x14fa49['element']);}['_createContextView'](){const _0x4e202e=new CommentThreadHeaderContextView(this['locale']);return _0x4e202e['bind']('contextValue')['to'](this),_0x4e202e;}}class BaseCommentThreadView extends _0xa34d16{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x3fd72a,_0x3104f1,_0x2f88fe,_0x40c096){super(_0x3fd72a),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x3104f1,this['_localUser']=_0x2f88fe,this['_config']=_0x40c096,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x3fd72a,_0x3104f1),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x3fd72a,pg(_0x3fd72a,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x3fd72a,_0x3104f1,Object['assign']({'CommentView':this['_config']['CommentView']},_0x40c096)),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',(_0x81fb93,_0x443f51)=>_0x81fb93||!!_0x443f51),this['bind']('isUnlinked')['to'](_0x3104f1,'unlinkedAt',_0x9cb264=>!!_0x9cb264),this['bind']('ariaLabel')['to'](this,'length',_0x44a108=>{const _0x18cf89=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return pg(this['locale'],'COMMENT_THREAD_LABEL',[_0x44a108,_0x18cf89]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x5baea3=>_0x5baea3['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),Wd(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x160739=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x1fbb93=_0x160739['commentInputView'];return _0x160739['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x1fbb93,'value',(_0x14ccb9,_0x54a177,_0x4163ed,_0x1f58ae,_0x4efb76)=>!!_0x4efb76||!!_0x1f58ae&&_0x4163ed&&!_0x54a177||_0x14ccb9&&_0x4163ed&&!_0x54a177),_0x1fbb93['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x413138,_0x38fb6b,_0x472c3e)=>{let _0x37e264;return _0x37e264=_0x472c3e&&_0x38fb6b?'Reply\x20to\x20reopen\x20discussion...':_0x413138?'Reply...':'Write\x20a\x20comment...',pg(this['locale'],_0x37e264);}),_0x1fbb93['bind']('submitLabel')['to'](this,'length',_0x3096ef=>pg(this['locale'],_0x3096ef?'Reply':'Comment')),_0x1fbb93['on']('submit',(_0x46d6ae,_0x472bbf)=>{this['fire']('addComment',_0x472bbf),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x1fbb93['on']('cancel',()=>{this['focus']();}),_0x1fbb93['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x1fbb93['on']('cancel',_0x51f0a4=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x51f0a4['stop']());}),this['on']('change:isActive',(_0x2bdfab,_0x625925,_0x261e47)=>{_0x261e47||this['length']||_0x1fbb93['value']||this['fire']('removeCommentThread');}),_0x160739;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
$d(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x457eed,_0x4b6edd,_0x547c59,_0x432bb8){super(_0x457eed,_0x4b6edd,_0x547c59,_0x432bb8),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x457eed,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x15544a,_0x539b0a,_0x333738)=>{_0x333738||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x246fc6,_0x47f99b,_0x4d508)=>{_0x4d508&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x1e311b=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x1e311b['if']('isActive','ck-thread--active'),_0x1e311b['if']('isUnlinked','ck-thread--unlinked'),_0x1e311b['to']('actionIndicator',_0x16be92=>_0x16be92?'ck-thread--'+_0x16be92:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x1e311b['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 _0x1a3b50 of this['commentsListView']['commentViews'])_0x1a3b50['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x24fd24}=this,_0x7f837a=this['commentsListView']['commentViews']['get'](0x0);_0x7f837a===this['_boundFirstCommentView']||_0x7f837a['isSystemComment']||(this['_boundFirstCommentView']=_0x7f837a,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x7f837a,'actionIndicator',_0x2aed3e=>'remove'===_0x2aed3e?'remove':null),_0x7f837a['placeholder']=pg(_0x24fd24,'Write\x20a\x20comment...'),_0x7f837a['removeButton']['on']('execute',_0x2c4617=>{_0x2c4617['stop'](),this['showConfirm'](pg(_0x24fd24,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x7f837a['focus']();}),_0x7f837a['actionBar']['add'](this['resolveButton'],0x0),_0x7f837a['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x187b08=new LateFocusButtonView(this['locale']);return _0x187b08['label']=pg(this['locale'],'Resolve'),_0x187b08['tooltip']=pg(this['locale'],'Resolve'),_0x187b08['icon']=_0x253584,_0x187b08['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x187b08['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x3fe46c=>!_0x3fe46c),_0x187b08['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x1fcfe2,_0x29c2ff)=>_0x1fcfe2&&!_0x29c2ff),_0x187b08['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x187b08;}['_updateArchivedThreadHeader'](){this['_model']['archivedAt']?this['commentThreadChildren']['has'](this['commentThreadHeaderView'])||(this['commentThreadChildren']['add'](this['commentThreadHeaderView'],0x0),this['focusables']['add'](this['commentThreadHeaderView'],0x0)):this['commentThreadChildren']['has'](this['commentThreadHeaderView'])&&(this['commentThreadChildren']['remove'](this['commentThreadHeaderView']),this['focusables']['remove'](this['commentThreadHeaderView']));}}class CommentContentView extends _0xa34d16{constructor(_0x1cc3e8){super(_0x1cc3e8),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x4092ce,_0x3dda17,_0x34d54d)=>{this['element']['innerHTML']=_0x34d54d;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends _0xa34d16{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x402dfa,_0x440b28,_0x2ee48b){super(_0x402dfa),this['_model']=_0x440b28,this['_config']=_0x2ee48b,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x440b28,'content',_0x440b28,'authoredAt',(_0x23e052,_0x3c5802)=>pg(_0x402dfa,'COMMENT_ARIA_LABEL',[_0x440b28['author']['name'],_0x2ee48b['formatDateTime'](_0x3c5802),new DOMParser()['parseFromString'](_0x23e052,'text/html')['body']['textContent'],_0x440b28['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x402dfa,pg(_0x402dfa,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new Et(),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x5f1770=>_0x5f1770['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']?pg(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):pg(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?pg(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):pg(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x3d0d54=new CommentContentView(this['locale']);return _0x3d0d54['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x2aad70,_0x2e3a0b)=>_0x2e3a0b?Nd(_0x2aad70,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x2aad70),_0x3d0d54;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x1bf5b9=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x1bf5b9['value']=this['_model']['content'],_0x1bf5b9['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x1bf5b9['submitLabel']=pg(this['locale'],'Save'),_0x1bf5b9['on']('submit',(_0xfcb2ac,_0x32f4b7)=>{this['fire']('updateComment',this['_model']['id'],_0x32f4b7),this['switchToDisplayMode'](),this['focus']();}),_0x1bf5b9['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x1bf5b9['once']('editorReady',()=>{_0x1bf5b9['focus']();}),_0x1bf5b9['createEditor'](),_0x1bf5b9['delegate']('editorReady')['to'](this),_0x1bf5b9['delegate']('editorDestroyed')['to'](this),_0x1bf5b9;}['_setupKeyboardNavigation'](){const _0x39369f=this['element'];this['keystrokes']['listenTo'](_0x39369f);for(const _0x372c59 of this['focusables'])this['focusTracker']['add'](_0x372c59['element']),this['keystrokes']['listenTo'](_0x372c59['element']);this['focusables']['on']('change',(_0x2d9265,_0x24f6d1)=>{for(const _0x3d615a of _0x24f6d1['removed'])this['focusTracker']['remove'](_0x3d615a['element']),this['keystrokes']['stopListening'](_0x3d615a['element']);for(const _0x4bf19a of _0x24f6d1['added'])this['focusTracker']['add'](_0x4bf19a['element']),this['keystrokes']['listenTo'](_0x4bf19a['element']);}),this['keystrokes']['set']('enter',(_0x17e4e6,_0x2fa96f)=>{_0x39369f===_0x17e4e6['target']&&(this['focusCycler']['focusFirst'](),_0x2fa96f());}),this['keystrokes']['set']('esc',(_0x120043,_0x3851df)=>{_0x39369f!==_0x120043['target']&&(this['focus'](),_0x3851df());});}}class CommentView extends/* #__PURE__ -- @preserve */
$d(BaseCommentView){['actionBar'];['userView'];constructor(_0x442557,_0x3b9b2e,_0x1ca59b){super(_0x442557,_0x3b9b2e,_0x1ca59b),this['set']('actionIndicator',null),this['set']('placeholder',pg(_0x442557,'Reply...')),this['bind']('authoredAt')['to'](_0x3b9b2e),this['bind']('resolvedAt')['to'](_0x3b9b2e),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 UserView(_0x442557,_0x3b9b2e['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x3b9b2e,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x498e9f=this['bindTemplate'],_0x58b2ca=[{'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':_0x498e9f['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x498e9f['to']('authoredAt',_0xce0b7f=>this['_config']['formatDateTime'](_0xce0b7f))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x498e9f['if']('isEditMode','ck-comment__actions--hidden'),_0x498e9f['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']&&_0x58b2ca['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x498e9f['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x498e9f['if']('isEditMode','ck-comment--edit'),_0x498e9f['if']('isSystemComment','ck-comment--info'),_0x498e9f['to']('actionIndicator',_0x20dfae=>_0x20dfae?'ck-comment--'+_0x20dfae:'')],'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':_0x58b2ca}]}]};}['_createEditButton'](){const _0xaa5437=new _0x4c508c(this['locale']);return _0xaa5437['label']=pg(this['locale'],'Edit'),_0xaa5437['icon']=_0x14b582,_0xaa5437['withText']=!0x0,_0xaa5437['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0xaa5437['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x101e05=>!_0x101e05),_0xaa5437['bind']('isVisible')['to'](this['_model'],'isEditable'),_0xaa5437['on']('execute',()=>this['switchToEditMode']()),_0xaa5437;}['_createRemoveButton'](){const _0x3a35b6=new _0x4c508c(this['locale']);return _0x3a35b6['label']=pg(this['locale'],'Remove'),_0x3a35b6['icon']=_0x5ec9de,_0x3a35b6['withText']=!0x0,_0x3a35b6['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x3a35b6['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x2aa1dc=>!_0x2aa1dc),_0x3a35b6['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x3a35b6['on']('execute',()=>{this['showConfirm'](pg(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x3a35b6;}['_createDropdown'](){const _0x5e9a5b=nt(this['locale'],LateFocusDropdownButtonView),_0x491e53=_0x5e9a5b['panelView']['children'],_0x377709=new _0x1688f4(this['locale']),_0xf93cc9=_0x5e9a5b['bindTemplate'];$t(_0x5e9a5b,()=>this['items']['find'](_0x4d8090=>_0x4d8090['isVisible'])),_0x5e9a5b['extendTemplate']({'attributes':{'class':[_0xf93cc9['if']('isVisible','ck-hidden',_0x253cfb=>!_0x253cfb)]}});const _0x405d8c=(_0x1d6c1b,_0x3a97bf=-0x1)=>{const _0x2a11a1=new _0xcc051a(this['locale']);_0x2a11a1['children']['add'](_0x1d6c1b);const _0x586f2a=_0x3a97bf>-0x1?_0x3a97bf:_0x377709['items']['length'];_0x377709['items']['add'](_0x2a11a1,_0x586f2a);const _0x4f6b31=Array['from'](this['items']);_0x5e9a5b['unbind']('isEnabled','isVisible'),_0x5e9a5b['bind']('isEnabled')['toMany'](_0x4f6b31,'isEnabled',(..._0x167bbf)=>_0x167bbf['some'](_0x10bbfd=>_0x10bbfd)),_0x5e9a5b['bind']('isVisible')['toMany'](_0x4f6b31,'isVisible',(..._0x37a308)=>_0x37a308['some'](_0x5dc1e8=>_0x5dc1e8));};_0x5e9a5b['panelPosition']='sw',_0x5e9a5b['buttonView']['set']({'label':pg(this['locale'],'Show\x20more\x20items'),'icon':_0x1fb390});for(const _0x2a914c of this['items'])_0x405d8c(_0x2a914c);return _0x491e53['add'](_0x377709),_0x5e9a5b['listenTo'](this['items'],'add',(_0x16432e,_0x2a8279,_0x1ac8cb)=>{_0x405d8c(_0x2a8279,_0x1ac8cb);}),_0x5e9a5b['listenTo'](this['items'],'remove',(_0x1f01e8,_0x309d55,_0x3f8484)=>{_0x377709['items']['remove'](_0x3f8484);}),_0x5e9a5b;}['_attachActions'](_0x3811eb,_0x389b4a){const _0x5726b7=_0x3811eb&&_0x3811eb['element'];_0x5726b7&&(this['listenTo'](_0x5726b7,'mouseenter',()=>this['actionIndicator']=_0x389b4a),this['listenTo'](_0x5726b7,'focus',()=>this['actionIndicator']=_0x389b4a),this['listenTo'](_0x5726b7,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x5726b7,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x549c4a=super['_createCommentInputView']();return _0x549c4a['bind']('placeholder')['to'](this),_0x549c4a;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function bg(_0x55655){const _0x2c8e85=jr(_0x55655,0x1e),_0x274d5e=new MutationObserver(_0x50c33d=>{for(const _0x11f8db of _0x50c33d)('attributes'==_0x11f8db['type']&&'class'==_0x11f8db['attributeName']||'childList'==_0x11f8db['type']||'characterData'==_0x11f8db['type'])&&_0x2c8e85();});return{'attach'(_0x26640c){_0x274d5e['observe'](_0x26640c,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x274d5e['disconnect'](),_0x2c8e85['cancel']();}};}class AnnotationView extends _0xa34d16{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x557e7b,_0x1795df){super(_0x557e7b),this['id']=_0x3eda13(),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['keystrokes']['set']('Esc',(_0x255a55,_0x904ec0)=>this['fire']('Esc',_0x904ec0)),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']=bg(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x1795df),this['mainView']=_0x1795df;const _0x5dc1a3=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x5dc1a3['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 _0xa855f0=this['element']['clientHeight'];_0xa855f0&&(this['height']=_0xa855f0);}}let yg=class Annotation extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0xce6c61,target:_0x26ad7c,type:_0x5c2b3c,isVisible:_0x413116=!0x0}){super(),this['view']=_0xce6c61,this['view']['element']||this['view']['render'](),this['_type']=_0x5c2b3c,this['_target']=_0x26ad7c,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x47a54f([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x562a52,_0x34365b)=>{this['view']['focusTracker']['add'](_0x34365b);}),this['focusableElements']['on']('remove',(_0x63ec5f,_0x5ca76e)=>{this['view']['focusTracker']['remove'](_0x5ca76e);}),this['set']('isVisible',_0x413116);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x25baa7=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x25baa7),_0x25baa7;}get['targetRect'](){const _0x2f917f=this['target'];if(null===_0x2f917f)return null;if(_0x2f917f instanceof _0x2bf707)return _0x2f917f;const _0x1d8ce2=_0x2f917f['filter'](_0x122973=>function(_0x1d983e){const _0x50609d=_0x1d983e['offsetParent'];if(_0x50609d)return!0x0;const _0x245628=_0x1d983e['getClientRects']()['item'](0x0);return!!_0x245628;}(_0x122973));return 0x0===_0x1d8ce2['length']?null:_0x2bf707['getDomElementRects'](_0x1d8ce2[0x0])[0x0];}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x5af04b){this['view']['isActive']=_0x5af04b,this['view']['mainView']['isActive']=_0x5af04b;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0xa0870b){if(!(null===_0xa0870b||_0xa0870b instanceof _0x2bf707||Array['isArray'](_0xa0870b)&&_0xa0870b['every'](_0x58a83d=>vg(_0x58a83d))))throw new _0x522f1f('annotation-invalid-target',null,{'target':_0xa0870b});}['_getNormalizedTarget'](){const _0x52c59c='function'==typeof this['_target']?this['_target']():this['_target'];return vg(_0x52c59c)?[_0x52c59c]:_0x52c59c;}};function vg(_0x4475bf){return null!==_0x4475bf&&'object'==typeof _0x4475bf&&'nodeType'in _0x4475bf&&0x1===_0x4475bf['nodeType'];}class AnnotationCollection extends _0x47a54f{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x3c2916=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0xafcb0e(),this['_focusTracker']['on']('change:isFocused',(_0x57ac40,_0x1d2b8f,_0x4cdbf3)=>{_0x4cdbf3||this['fire']('blur');});for(const _0xeef3f5 of _0x3c2916)this['add'](_0xeef3f5);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x3808c5){if(this['has'](_0x3808c5))throw new _0x522f1f('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x3808c5['innerView'],_0x3808c5),this['_viewToAnnotation']['set'](_0x3808c5['view'],_0x3808c5);for(const _0xffe5e3 of _0x3808c5['focusableElements'])this['_focusTracker']['add'](_0xffe5e3);if(this['listenTo'](_0x3808c5['focusableElements'],'add',(_0x18e71d,_0x2a192e)=>{this['_focusTracker']['add'](_0x2a192e);}),this['listenTo'](_0x3808c5['focusableElements'],'remove',(_0xb27c4b,_0x1c692f)=>{this['_focusTracker']['remove'](_0x1c692f);}),this['listenTo'](_0x3808c5['view']['focusTracker'],'change:isFocused',(_0x452188,_0x1bc922,_0x1ffdcf)=>{_0x1ffdcf&&this['fire']('focus',_0x3808c5);}),_0x3808c5['updateTargetRect'](),this['_areCachedRectsStale']()){for(const _0x503424 of this)_0x503424['updateTargetRect']();}const _0x7428e4=this['_getOrderInContent'](_0x3808c5['view']['targetRect']);return super['add'](_0x3808c5,_0x7428e4);}['remove'](_0x8c0393){if(!this['has'](_0x8c0393))throw new _0x522f1f('annotationcollection-not-existing-item',null);this['stopListening'](_0x8c0393['view']['focusTracker']),this['stopListening'](_0x8c0393['focusableElements']);for(const _0x4160b7 of _0x8c0393['focusableElements'])this['_focusTracker']['remove'](_0x4160b7);return this['_viewToAnnotation']['delete'](_0x8c0393['view']),this['_innerViewToAnnotation']['delete'](_0x8c0393['innerView']),super['remove'](_0x8c0393);}['getByInnerView'](_0x33072e){return this['_innerViewToAnnotation']['get'](_0x33072e);}['getByView'](_0x3c8391){return this['_viewToAnnotation']['get'](_0x3c8391);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x31f5ef of this)_0x31f5ef['updateTargetRect']();this['_sort']();}['_sort'](){const _0x2e3133=Array['from'](this)['sort']((_0x2d9fac,_0x2a0066)=>Eg(_0x2d9fac['view']['targetRect'],_0x2a0066['view']['targetRect']));for(let _0x1be6c2=_0x2e3133['length']-0x1;_0x1be6c2>0x0;_0x1be6c2--){const _0x31e283=_0x2e3133[_0x1be6c2];_0x1be6c2!==this['getIndex'](_0x31e283)&&(this['remove'](_0x31e283),this['add'](_0x31e283));}}['_getOrderInContent'](_0x4fdaa0){let _0x26a173=0x0;if(!_0x4fdaa0)return this['length'];for(const _0x5e2f06 of this){const _0x25d54c=_0x5e2f06['view']['targetRect'];if(_0x25d54c){if(Eg(_0x4fdaa0,_0x25d54c)<0x0)return _0x26a173;_0x26a173++;}}return _0x26a173;}['_areCachedRectsStale'](){const _0x56a4fe=this['get'](0x0);if(!_0x56a4fe)return!0x1;const _0x4b6e65=_0x56a4fe['view']['targetRect'],_0x279c57=_0x56a4fe['targetRect'];return!(!_0x4b6e65||!_0x279c57)&&(_0x4b6e65['top']!==_0x279c57['top']||_0x4b6e65['left']!==_0x279c57['left']);}}function _g({source:_0x17162e,target:_0x263796,filter:_0xf6f4cd}){for(const _0x20fa5f of _0x17162e)_0xf6f4cd(_0x20fa5f)&&_0x263796['add'](_0x20fa5f);_0x263796['listenTo'](_0x17162e,'add',(_0x3852f2,_0x491783)=>{_0xf6f4cd(_0x491783)&&_0x263796['add'](_0x491783);}),_0x263796['listenTo'](_0x17162e,'remove',(_0x3bc4d2,_0x4864d6)=>{_0x263796['has'](_0x4864d6)&&_0x263796['remove'](_0x4864d6);});}function Eg(_0x4586c5,_0x336842){if(null===_0x4586c5&&null===_0x336842)return 0x0;if(null===_0x4586c5)return-0x1;if(null===_0x336842)return 0x1;const _0x460f00=_0x4586c5['top']-_0x336842['top'];return 0x0==_0x460f00?_0x4586c5['left']-_0x336842['left']:_0x460f00;}class Annotations extends _0x304a5a{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x54ee1d){if(super(_0x54ee1d),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x54ee1d instanceof _0x8aa8ea){const _0x2edfd5=_0x54ee1d['locale'];_0x54ee1d['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':pg(_0x2edfd5,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':pg(_0x2edfd5,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':pg(_0x2edfd5,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':pg(_0x2edfd5,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':pg(_0x2edfd5,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':pg(_0x2edfd5,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':pg(_0x2edfd5,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x445b68){this['collection']['add'](_0x445b68);}['remove'](_0x4a83ae){this['collection']['remove'](_0x4a83ae),_0x4a83ae['destroy']();}['refreshVisibility'](){for(const _0x6decf3 of this['collection'])_0x6decf3['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x10350d){return this['collection']['getByInnerView'](_0x10350d);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x524232 of this['collection'])_0x524232['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x5e80d3){this['fire']('_activateAnnotation',_0x5e80d3);}['createAnnotation'](_0x549b0b){return new yg(_0x549b0b);}['createAnnotationView'](_0x1ff747,_0x48547c){return new AnnotationView(_0x1ff747,_0x48547c);}['_addActiveAnnotation'](_0x3801b0){const _0x47f597=new Set(this['activeAnnotations']);_0x47f597['add'](_0x3801b0),this['activeAnnotations']=_0x47f597;}['_removeActiveAnnotation'](_0x45eca7){const _0x277147=new Set(this['activeAnnotations']);_0x277147['delete'](_0x45eca7),this['activeAnnotations']=_0x277147;}['_bindAnnotationsToVisibleAnnotations'](){const _0x31d795=this['collection'],_0x555077=this['_visibleAnnotations'];function _0x2a63c0(_0x41be51){const _0x21b9bb=_0x41be51['source'];_0x21b9bb['isVisible']&&!_0x555077['has'](_0x21b9bb)?_0x555077['add'](_0x21b9bb):!_0x21b9bb['isVisible']&&_0x555077['has'](_0x21b9bb)&&_0x555077['remove'](_0x21b9bb),_0x21b9bb['view']['focusTracker']['remove'](_0x21b9bb['view']['element']),_0x21b9bb['view']['focusTracker']['add'](_0x21b9bb['view']['element']);}this['listenTo'](_0x31d795,'add',(_0x5e53f5,_0x2f2cf2)=>{_0x2f2cf2['isVisible']&&_0x555077['add'](_0x2f2cf2),this['listenTo'](_0x2f2cf2,'change:isVisible',_0x2a63c0);}),this['listenTo'](_0x31d795,'remove',(_0x210f1c,_0x515382)=>{_0x555077['has'](_0x515382)&&_0x555077['remove'](_0x515382),this['stopListening'](_0x515382,'change:isVisible',_0x2a63c0);});}['_setupEnterAnnotationKeystroke'](){const _0x2173a9=_0x50945a=>{_0x50945a['on']('ready',()=>{_0x50945a['keystrokes']['set'](qd,(_0x6f731c,_0x3073c7)=>{const _0x216fd3=_0x1e08d5(this['activeAnnotations']['values']());_0x216fd3&&(_0x216fd3['view']['focus'](),_0x3073c7());});});};this['context']instanceof _0x8aa8ea?_0x2173a9(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x359848,_0x32deaa)=>{_0x2173a9(_0x32deaa);});}['_setupEscapeAnnotationHandling'](){const _0x1b79e7=_0x57e1b8=>{const _0x49c2e3=_0x57e1b8['source'],_0x6b0d20=[];let _0x5f5cfe;if(Array['isArray'](_0x49c2e3['target'])){_0x5f5cfe=_0x49c2e3['target'][0x0],this['context']instanceof _0x8aa8ea?_0x6b0d20['push'](this['context']):this['context']['editors']&&_0x6b0d20['push'](...this['context']['editors']);for(const _0x219049 of _0x6b0d20)for(const _0x4c43da of _0x219049['editing']['view']['domRoots']['values']())if(_0x4c43da['contains'](_0x5f5cfe))return void _0x219049['editing']['view']['focus']();_0x5f5cfe['focus']();}};this['listenTo'](this['collection'],'add',(_0x23b14a,_0x21b3a1)=>{this['listenTo'](_0x21b3a1,'escape',_0x1b79e7,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x3fa5fc,_0x571d60)=>{this['stopListening'](_0x571d60,'escape',_0x1b79e7);});}}const Tg=Symbol('noChannel'),Ag={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends _0x304a5a{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,_0x1bb5aa,Users];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20ee15){super(_0x20ee15),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x1475c9=this['context']['config'];_0x1475c9['define']('comments.maxCommentsWhenCollapsed',0x2),_0x1475c9['define']('comments.maxThreadTotalWeight',0x1f4),_0x1475c9['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x1475c9['define']('comments.CommentThreadView',CommentThreadView),_0x1475c9['define']('comments.CommentView',CommentView),_0x1475c9['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x52e658=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x4ebe87,_0x20e280)=>this['_addCommentThread'](_0x20e280)),this['on']('submitCommentThread',(_0x3dbc37,_0x3eb16c)=>this['_submitCommentThread'](_0x3eb16c)),this['on']('resolveCommentThread',(_0x4c0248,_0x18e1db)=>this['_resolveCommentThread'](_0x18e1db)),this['on']('resolveCommentThread',(_0x470b1d,_0x597d18)=>this['_updateActiveAnnotation'](_0x597d18),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x48a950,_0x13b522)=>this['_reopenCommentThread'](_0x13b522)),this['on']('reopenCommentThread',(_0x13efff,_0x3752fb)=>this['_updateActiveAnnotation'](_0x3752fb),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x48c72e,_0x5d3730)=>this['_removeCommentThread'](_0x5d3730)),this['on']('updateCommentThread',(_0x95479f,_0x29da6d)=>this['_updateCommentThread'](_0x29da6d)),this['on']('updateCommentThread',(_0x3ea7ea,_0x3076a7)=>this['_updateActiveAnnotation'](_0x3076a7),{'priority':'lowest'}),this['on']('addComment',(_0x2512d1,_0x2da864)=>this['_addComment'](_0x2da864)),this['on']('updateComment',(_0x411fee,_0x96394c)=>this['_updateComment'](_0x96394c)),this['on']('removeComment',(_0x398187,_0x11ee1c)=>this['_removeComment'](_0x11ee1c)),this['on']('addComment',(_0x279e42,{threadId:_0x17066e,isFromAdapter:_0x574a54})=>{if(_0x574a54)return;const _0xf5130b=this['getCommentThread'](_0x17066e),_0x363a34=_0xf5130b&&this['_threadToController']['get'](_0xf5130b);_0x363a34&&_0x363a34['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x52e658,'change:activeAnnotations',(_0x4447c5,_0x344d4c,_0x595ba9)=>{const _0x4bff9d=Array['from'](_0x595ba9)['map'](_0x4c2613=>this['_viewToController']['get'](_0x4c2613['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x4bff9d?_0x4bff9d['model']:null;});}set['adapter'](_0x514b57){if(this['_adapter'])throw new _0x522f1f('commentsrepository-adapter-already-set');this['_adapter']=_0x514b57;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x11d53c=Tg,threadId:_0x121c5f=_0x3eda13(),comments:_0x1f6276=[],unlinkedAt:_0xa3f9d6=null,resolvedAt:_0x2c46da=null,resolvedBy:_0x32736d=null,target:_0x58de96=null,context:_0x317948=null,attributes:_0x18c3a4={},isResolvable:_0x2548cf=!0x0,isSubmitted:_0x38715e=!0x1,isFromAdapter:_0x3f91bb=!0x1}={}){return this['fire'](Sg('addCommentThread',_0x11d53c),{'channelId':_0x11d53c,'threadId':_0x121c5f,'comments':_0x1f6276,'unlinkedAt':_0xa3f9d6,'resolvedAt':_0x2c46da,'resolvedBy':_0x32736d,'target':_0x58de96,'context':_0x317948,'attributes':_0x18c3a4,'isFromAdapter':_0x3f91bb,'isResolvable':_0x2548cf,'isSubmitted':_0x38715e}),this['getCommentThread'](_0x121c5f);}['openNewCommentThread']({channelId:_0x45f8a4=Tg,threadId:_0x4f99bf=_0x3eda13(),target:_0x4b2882,context:_0x364499=null,isResolvable:_0xe8d3a4=!0x0}){if(this['_readOnlyChannels']['has'](_0x45f8a4)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x4b2882)throw new _0x522f1f('commentsrepository-missing-target');const _0x577d36=this['addCommentThread']({'channelId':_0x45f8a4,'threadId':_0x4f99bf,'target':_0x4b2882,'context':_0x364499,'isResolvable':_0xe8d3a4});if(!_0x577d36)return null;const _0x4f3bc6=this['_threadToController']['get'](_0x577d36),_0x421aec=_0x4f3bc6['view']['commentThreadInputView']['commentInputView'],_0x1cd6e3=this['context']['plugins']['get'](Annotations),_0x16a259=_0x1cd6e3['getByInnerView'](_0x4f3bc6['view']);return _0x1cd6e3['activate'](_0x16a259),_0x421aec['once']('editorReady',()=>_0x421aec['focus']()),_0x577d36;}['hasCommentThread'](_0x4c736a){if('string'!=typeof _0x4c736a)throw new _0x522f1f('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x4c736a);}['updateCommentThread']({channelId:_0x33dcfc=Tg,threadId:_0x5eba20,context:_0x305e95,unlinkedAt:_0x27f8d5,attributes:_0x32f9cf,isFromAdapter:_0x46540a=!0x1}){return this['fire'](Sg('updateCommentThread',_0x33dcfc),{'channelId':_0x33dcfc,'threadId':_0x5eba20,'context':_0x305e95,'unlinkedAt':_0x27f8d5,'attributes':_0x32f9cf,'isFromAdapter':_0x46540a}),this['getCommentThread'](_0x5eba20);}['getCommentThread'](_0x817cb){if('string'!=typeof _0x817cb)throw new _0x522f1f('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x817cb);}['fetchCommentThread']({channelId:_0x41f5f1,threadId:_0x52a5fe}={}){const _0x70e85a=this['getCommentThread'](_0x52a5fe);if(_0x70e85a)return Promise['resolve'](_0x70e85a);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x522f1f('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x41f5f1,'threadId':_0x52a5fe})['then'](_0x180dd8=>this['hasCommentThread'](_0x52a5fe)?this['getCommentThread'](_0x52a5fe):_0x180dd8?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x41f5f1},_0x180dd8)):void 0x0)['catch'](_0x333b56=>{throw console['error'](_0x333b56),new _0x522f1f('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x597ebf,skipNotAttached:_0x3a11b6=!0x1,skipEmpty:_0x25eb6a=!0x1,toJSON:_0x40fc2f=!0x1}={}){const _0x45d59c=[];for(const _0x9f918c of this['_threads']['values']())_0x597ebf&&_0x9f918c['channelId']!==_0x597ebf||_0x3a11b6&&!_0x9f918c['isAttached']||_0x25eb6a&&0x0===_0x9f918c['length']||_0x45d59c['push'](_0x9f918c);return _0x40fc2f?_0x45d59c['map'](_0x28c2b4=>_0x28c2b4['toJSON']()):_0x45d59c;}['getAnnotationForCommentThread'](_0x44932e){const _0x4ef466=this['_threadToController']['get'](_0x44932e);if(!_0x4ef466)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x4ef466['view'])||null;}['getCommentThreadForAnnotation'](_0x5ca604){const _0x5a2e17=this['_viewToController']['get'](_0x5ca604['innerView']);return _0x5a2e17?_0x5a2e17['model']:null;}['setActiveCommentThread'](_0x2b5962){const _0x525227=this['context']['plugins']['get'](Annotations);if(!_0x2b5962)return void(this['activeCommentThread']&&_0x525227['deactivateAll']());const _0x2fc102=this['getCommentThread'](_0x2b5962);if(!_0x2fc102)throw new _0x522f1f('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x2b5962});if(!this['_threadToController']['has'](_0x2fc102))throw new _0x522f1f('commentsrepository-active-not-attached',null,{'threadId':_0x2b5962});const _0x4073e6=_0x525227['getByInnerView'](this['_threadToController']['get'](_0x2fc102)['view']);_0x525227['activate'](_0x4073e6);}['switchReadOnly'](_0x1666c0,_0x3d9ad8){_0x1666c0?this['_readOnlyChannels']['add'](_0x3d9ad8):this['_readOnlyChannels']['delete'](_0x3d9ad8),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x4dc387){return this['_readOnlyChannels']['has'](_0x4dc387)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x3f1b35,_0x366e4a){return new CommentThreadController(_0x3f1b35,_0x366e4a);}['setPermissions'](_0x1b93e5,_0x19f507=Tg){this['_permissions']['set'](_0x19f507,_0x1b93e5),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0xb10058=Tg){return this['_permissions']['has'](_0xb10058)?this['_permissions']['get'](_0xb10058):Ag;}['_addCommentThread']({channelId:_0x243573,threadId:_0x393cbd,comments:_0x3c24d3,unlinkedAt:_0x388857,resolvedAt:_0x5f15c8,resolvedBy:_0x556571,target:_0x1ac90c,context:_0x30b65f,attributes:_0x18e125,isFromAdapter:_0x1b89d4,isResolvable:_0x2c6c58,isSubmitted:_0x2643b2}){if('string'!=typeof _0x393cbd)throw new _0x522f1f('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x393cbd});if(this['hasCommentThread'](_0x393cbd))throw new _0x522f1f('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x393cbd});const _0x30ee21=new CommentThread(this,{'channelId':_0x243573,'id':_0x393cbd,'context':_0x30b65f,'attributes':_0x18e125,'unlinkedAt':_0x388857,'resolvedAt':_0x5f15c8,'resolvedBy':_0x556571?this['context']['plugins']['get'](Users)['getUser'](_0x556571):null,'isResolvable':_0x2c6c58,'isSubmitted':_0x2643b2||_0x1b89d4});this['_threads']['set'](_0x393cbd,_0x30ee21);for(const _0x3692d9 of _0x3c24d3)_0x30ee21['_add'](this['_createNewComment']({'threadId':_0x393cbd,..._0x3692d9}));return _0x1ac90c&&_0x30ee21['attachTo'](_0x1ac90c),_0x1b89d4||!_0x30ee21['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x243573,'threadId':_0x393cbd});}['_submitCommentThread']({channelId:_0xc39da,threadId:_0x334201}){if(!this['hasCommentThread'](_0x334201))throw new _0x522f1f('commentsrepository-missing-comment-thread',this);const _0x1df49f=this['getCommentThread'](_0x334201);if(_0x1df49f['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x4959a4,comments:_0x379daa,resolvedAt:_0xd3fd05,resolvedBy:_0x414266,context:_0x3c92ea,attributes:_0x5b626a}=_0x1df49f,_0x7afd0b=this['context']['plugins']['get']('PendingActions'),_0x273c9a=_0x7afd0b['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0xc39da,'threadId':_0x4959a4,'comments':_0x379daa['map'](_0x1f86ea=>_0x1f86ea['toJSON']()),'resolvedAt':_0xd3fd05,'resolvedBy':_0x414266?_0x414266['id']:_0x414266,'context':_0x3c92ea,'attributes':_0x5b626a})['then'](({comments:_0x427074})=>{_0x7afd0b['remove'](_0x273c9a);for(const _0x32ec3a of _0x427074)this['_updateComment']({'channelId':_0xc39da,'threadId':_0x334201,'commentId':_0x32ec3a['commentId'],'createdAt':_0x32ec3a['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x248f0c=>{throw console['error'](_0x248f0c),new _0x522f1f('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x2d6065,target:_0x11f25f}){const _0xdc84f7=this['getCommentThread'](_0x2d6065);if(!_0xdc84f7)throw new _0x522f1f('commentsrepository-attach-missing-comment-thread',this);const _0x218668=this['context']['plugins']['get']('PendingActions'),_0x4d59c9=this['context']['plugins']['get'](Annotations),_0x366b5e=this['_createCommentThreadView'](_0xdc84f7),_0x4af435=new CommentThreadController(_0xdc84f7,_0x366b5e);let _0x110777=null;_0x366b5e['on']('change:isDirty',(_0x2755a9,_0x146c6b,_0x417274)=>{_0x417274?_0x110777=_0x218668['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x110777&&(_0x218668['remove'](_0x110777),_0x110777=null);}),this['_threadToController']['set'](_0xdc84f7,_0x4af435),this['_viewToController']['set'](_0x366b5e,_0x4af435);const _0x171dd3=new AnnotationView(this['context']['locale'],_0x366b5e);_0x171dd3['bind']('length')['to'](_0x366b5e),_0x171dd3['bind']('isDirty')['to'](_0x366b5e,'isDirty',_0x366b5e,'length',(_0x4f3990,_0x320cba)=>_0x4f3990||!_0x320cba),_0x171dd3['bind']('isActive')['to'](_0x366b5e),_0x171dd3['type']='comment';const _0x52692a=new yg({'view':_0x171dd3,'target':_0x11f25f,'type':'comment','isVisible':!_0xdc84f7['archivedAt']&&!!('function'==typeof _0x11f25f?_0x11f25f():_0x11f25f)});return _0x366b5e['on']('escape',()=>{_0x52692a['fire']('escape');}),this['_bindAnnotationToEditors'](_0x366b5e,_0x52692a),_0x4d59c9['add'](_0x52692a),_0x52692a;}['_bindAnnotationToEditors'](_0x69c554,_0x285220){this['listenTo'](_0x69c554,'editorReady',(_0x8d0d42,_0x21b0b9)=>{const _0x29ae4c=_0x21b0b9['ui']['view']['body']['bodyCollectionContainer'];_0x285220['focusableElements']['add'](_0x29ae4c),this['context']instanceof _0x8aa8ea&&this['context']['ui']['focusTracker']['add'](_0x29ae4c);},{'priority':'highest'}),this['listenTo'](_0x69c554,'editorDestroyed',(_0x3139df,_0x290a87)=>{const _0xc402e1=_0x290a87['ui']['view']['body']['bodyCollectionContainer'];_0x285220['focusableElements']['has'](_0xc402e1)&&_0x285220['focusableElements']['remove'](_0xc402e1),this['context']instanceof _0x8aa8ea&&this['context']['ui']['focusTracker']['remove'](_0xc402e1);});}['_unbindEditors'](_0x31f3a3){this['stopListening'](_0x31f3a3,'editorReady'),this['stopListening'](_0x31f3a3,'editorDestroyed');}['_createCommentThreadView'](_0x3fa9af){const _0x5e6043=this['context']['plugins']['get'](Users),{config:_0x2a119f,locale:_0x599ce2}=this['context'],_0x2b4efe=Rd(_0x2a119f['get']('locale'),_0x599ce2);return new(0x0,(_0x2a119f['get']('comments'))['CommentThreadView'])(_0x599ce2,_0x3fa9af,_0x5e6043['me'],{'editorConfig':{..._0x2a119f['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x2a119f['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x2a119f['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x2a119f['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x2a119f['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x2b4efe,'CommentView':_0x2a119f['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x4e444b,channelId:_0x13c5df,resolvedAt:_0x1a70a4,resolvedBy:_0x2250e7,isFromAdapter:_0x5a4976}){if(!this['hasCommentThread'](_0x4e444b))throw new _0x522f1f('commentsrepository-missing-comment-thread',null,{'threadId':_0x4e444b});const _0xb34565=this['getCommentThread'](_0x4e444b);if(_0xb34565['isResolved'])throw new _0x522f1f('commentsrepository-resolved-comment-thread',null,{'threadId':_0x4e444b});const _0x13be9a=this['context']['plugins']['get'](Users);if(_0xb34565['resolvedBy']=_0x13be9a['getUser'](_0x2250e7),_0xb34565['resolvedAt']=_0x1a70a4,_0x5a4976||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x912e0c=this['context']['plugins']['get']('PendingActions'),_0x442147=_0x912e0c['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x13c5df,'threadId':_0x4e444b})['then'](({resolvedAt:_0x11ac69,resolvedBy:_0x5d692c})=>{_0x912e0c['remove'](_0x442147),_0xb34565['resolvedBy']['id']!==_0x5d692c&&(_0xb34565['resolvedBy']=_0x13be9a['getUser'](_0x5d692c)),_0xb34565['resolvedAt']=_0x11ac69;})['catch'](_0x50aa3e=>{throw console['error'](_0x50aa3e),new _0x522f1f('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x540c54,channelId:_0x4e73bb,isFromAdapter:_0x1755fa}){if(!this['hasCommentThread'](_0x540c54))throw new _0x522f1f('commentsrepository-missing-comment-thread',null,{'threadId':_0x540c54});const _0x4167e1=this['getCommentThread'](_0x540c54);if(!_0x4167e1['isResolved'])throw new _0x522f1f('commentsrepository-reopen-comment-thread',null,{'threadId':_0x540c54});if(_0x4167e1['resolvedBy']=null,_0x4167e1['resolvedAt']=null,_0x1755fa||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x135a7d=this['context']['plugins']['get']('PendingActions'),_0x456ca9=_0x135a7d['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x4e73bb,'threadId':_0x540c54})['then'](()=>_0x135a7d['remove'](_0x456ca9))['catch'](_0xba5d07=>{throw console['error'](_0xba5d07),new _0x522f1f('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x7ca7d1,isFromAdapter:_0x32c3aa}){const _0x2fb182=this['getCommentThread'](_0x7ca7d1);if(!_0x2fb182)throw new _0x522f1f('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x7ca7d1),this['_threads']['delete'](_0x7ca7d1),!_0x2fb182['isSubmitted']||_0x32c3aa||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x31a00c=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2d8f2a}=_0x2fb182,_0x50840c=_0x31a00c['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x2d8f2a,'threadId':_0x7ca7d1})['then'](()=>_0x31a00c['remove'](_0x50840c))['catch'](_0xc6e50e=>{throw console['error'](_0xc6e50e),new _0x522f1f('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x13134d,unlinkedAt:_0x2e66b4,context:_0x3c549c,attributes:_0x40be96,isFromAdapter:_0x11cb98}){if('string'!=typeof _0x13134d)throw new _0x522f1f('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x13134d});if(!this['hasCommentThread'](_0x13134d))throw new _0x522f1f('commentsrepository-missing-comment-thread',null,{'threadId':_0x13134d});const _0x4ab1f8=this['getCommentThread'](_0x13134d);let _0x49bf01=!0x1;if(void 0x0!==_0x3c549c&&_0x4ab1f8['context']!==_0x3c549c&&(_0x4ab1f8['context']=_0x3c549c,_0x49bf01=!0x0),void 0x0!==_0x2e66b4&&_0x4ab1f8['unlinkedAt']!==_0x2e66b4&&(_0x4ab1f8['unlinkedAt']=_0x2e66b4,_0x49bf01=!0x0),_0x40be96&&!qr(_0x40be96,_0x4ab1f8['attributes'])&&(_0x4ab1f8['attributes']=_0x40be96,_0x49bf01=!0x0),!_0x49bf01)return Promise['resolve']();if(!_0x4ab1f8['isSubmitted']||_0x11cb98||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x592514=this['context']['plugins']['get']('PendingActions'),{channelId:_0x130905}=_0x4ab1f8,_0x418b67=_0x592514['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x130905,'threadId':_0x13134d,'context':_0x3c549c,'unlinkedAt':_0x2e66b4,'attributes':_0x40be96})['then'](()=>_0x592514['remove'](_0x418b67))['catch'](_0x63ccb=>{throw console['error'](_0x63ccb),new _0x522f1f('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x4cbe4f){const _0x2f8073=this['context']['plugins']['get'](Annotations),_0x266afa=this['getCommentThread'](_0x4cbe4f);if(_0x266afa['_isAttached']=!0x1,this['_threadToController']['has'](_0x266afa)){const _0x225e9f=this['_threadToController']['get'](_0x266afa),_0x35514c=_0x225e9f['view'],_0x1e0e22=_0x2f8073['getByInnerView'](_0x35514c);this['_threadToController']['delete'](_0x266afa),this['_viewToController']['delete'](_0x35514c),_0x1e0e22&&_0x2f8073['remove'](_0x1e0e22),_0x225e9f['destroy'](),_0x35514c['destroy']()['then'](()=>{this['_unbindEditors'](_0x35514c);});}}['_updateActiveAnnotation']({threadId:_0x8a5b43,resolvedAt:_0x204676,unlinkedAt:_0x4ef142}){const _0x43518d=!!_0x204676,_0x3d32db=this['context']['plugins']['get'](Annotations),_0x2b122a=this['getCommentThread'](_0x8a5b43);if(this['_threadToController']['has'](_0x2b122a)){const _0x3b91e6=this['_threadToController']['get'](_0x2b122a)['view'],_0x32ec4b=_0x3d32db['getByInnerView'](_0x3b91e6);_0x32ec4b&&(_0x43518d&&_0x3d32db['_removeActiveAnnotation'](_0x32ec4b),_0x4ef142?_0x32ec4b['isVisible']=!0x1:_0x32ec4b['refreshVisibility']());}}['_getExternalAuthor'](_0x508360){const _0x1c8a36=this['context']['plugins']['get'](Users),_0x17f9f4=Dd('external:'+_0x508360),_0xa34e81=_0x1c8a36['getUser'](_0x17f9f4);return _0xa34e81||_0x1c8a36['addUser']({'id':_0x17f9f4,'name':_0x508360});}['_createNewComment']({threadId:_0x46c6f1,commentId:_0x383bd3=_0x3eda13(),content:_0x42c96c,authorId:_0x2b4b5c,createdAt:_0x272cbc,attributes:_0x4163c8}){if('string'!=typeof _0x383bd3)throw new _0x522f1f('commentsrepository-invalid-commentid');if('string'!=typeof _0x2b4b5c)throw new _0x522f1f('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x42c96c||!_0x42c96c['trim']())throw new _0x522f1f('commentsrepository-invalid-comment-content');const _0x14e75e=this['context']['plugins']['get'](Users)['getUser'](_0x2b4b5c);if(!_0x14e75e)throw new _0x522f1f('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x2b4b5c});let _0x31c832=null,_0xa97ee1=_0x272cbc;return _0x4163c8?.['@external']&&(_0x31c832=this['_getExternalAuthor'](_0x4163c8['@external']['authorName']),_0xa97ee1=new Date(_0x4163c8['@external']['createdAt'])),new Ig(this,{'threadId':_0x46c6f1,'id':_0x383bd3,'author':_0x31c832||_0x14e75e,'creator':_0x14e75e,'content':_0x42c96c,'createdAt':_0x272cbc,'authoredAt':_0xa97ee1,'attributes':_0x4163c8});}['_addComment'](_0x16e5bd){let {threadId:_0xc7325c,content:_0x50fbfb,attributes:_0x22b020,isFromAdapter:_0x25a4c1}=_0x16e5bd;const _0x59d944=this['getCommentThread'](_0x16e5bd['threadId']);if(!_0x59d944)throw new _0x522f1f('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x1d50b7=this['_createNewComment'](_0x16e5bd),{id:_0x5b6c73}=_0x1d50b7;if(_0x59d944['_add'](_0x1d50b7),_0x25a4c1||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x59d944['isSubmitted'])return Promise['resolve']();const _0xc64ef8=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4cd877}=_0x59d944,_0x1877e1=_0xc64ef8['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x22b020||(_0x22b020={}),this['adapter']['addComment']({'channelId':_0x4cd877,'threadId':_0xc7325c,'commentId':_0x5b6c73,'content':_0x50fbfb,'attributes':_0x22b020})['then'](_0x54efff=>{_0xc64ef8['remove'](_0x1877e1),_0x54efff&&this['_updateComment']({'channelId':_0x4cd877,'threadId':_0xc7325c,'commentId':_0x5b6c73,'createdAt':_0x54efff['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x56100a=>{throw console['error'](_0x56100a),new _0x522f1f('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x302465,commentId:_0x18bf30,content:_0x45c2b6,createdAt:_0x153d4c,attributes:_0x1890b9,isFromAdapter:_0x265e1a}){if(void 0x0!==_0x45c2b6&&('string'!=typeof _0x45c2b6||!_0x45c2b6['trim']()['length']))throw new _0x522f1f('commentsrepository-update-comment-invalid-content');const _0x404992=this['getCommentThread'](_0x302465),_0x5af765=_0x404992['getComment'](_0x18bf30);if(!_0x5af765)throw new _0x522f1f('commentsrepository-update-missing-comment',this);let _0x4ec385=!0x1;if(_0x45c2b6&&_0x45c2b6!==_0x5af765['content']&&(_0x5af765['isEditable']||_0x265e1a)&&(_0x5af765['content']=_0x45c2b6,_0x4ec385=!0x0),_0x153d4c&&_0x153d4c!==_0x5af765['createdAt']&&(_0x5af765['createdAt']=_0x153d4c,_0x5af765['attributes']&&_0x5af765['attributes']['@external']||(_0x5af765['authoredAt']=_0x153d4c),_0x4ec385=!0x0),_0x1890b9&&!qr(_0x1890b9,_0x5af765['attributes'])&&(_0x5af765['attributes']=_0x1890b9,_0x4ec385=!0x0),!_0x4ec385)return Promise['resolve']();if(_0x404992['fire']('commentUpdated'),_0x265e1a||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x4db2ee=this['context']['plugins']['get']('PendingActions'),{channelId:_0x851055}=this['getCommentThread'](_0x5af765['threadId']),_0xbc6595=_0x4db2ee['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x851055,'threadId':_0x302465,'commentId':_0x18bf30,'content':_0x45c2b6,'attributes':_0x1890b9})['then'](()=>_0x4db2ee['remove'](_0xbc6595))['catch'](_0x36070f=>{throw console['error'](_0x36070f),new _0x522f1f('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x55b396,commentId:_0xff1e72,isFromAdapter:_0x193195}){const _0x15b239=this['getCommentThread'](_0x55b396),_0x5f0f03=_0x15b239['getComment'](_0xff1e72);if(!_0x5f0f03)throw new _0x522f1f('commentsrepository-remove-missing-comment',this);if(_0x15b239['_remove'](_0x5f0f03),_0x193195||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x2f36c4=this['context']['plugins']['get']('PendingActions'),{channelId:_0x419f40}=_0x15b239,_0x411a2e=_0x2f36c4['add'](pg(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x419f40,'threadId':_0x55b396,'commentId':_0xff1e72})['then'](()=>_0x2f36c4['remove'](_0x411a2e))['catch'](_0x51217a=>{throw console['error'](_0x51217a),new _0x522f1f('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x58dcbf,_0x2d54aa){super();const _0x425029=_0x2d54aa['isResolvable'];this['channelId']=_0x2d54aa['channelId'],this['id']=_0x2d54aa['id'],this['comments']=new _0x47a54f(),this['_repository']=_0x58dcbf,this['_isAttached']=!0x1,this['_isSubmitted']=_0x2d54aa['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x58dcbf,'_permissions',_0x58dcbf,'_readOnlyChannels',()=>_0x58dcbf['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x58dcbf,'_permissions',()=>_0x58dcbf['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x58dcbf,'_permissions',()=>{const _0x1efb68=_0x58dcbf['getPermissions'](this['channelId']);return _0x1efb68['write']||_0x1efb68['admin'];}),this['bind']('isResolvable')['to'](_0x58dcbf,'_permissions',()=>_0x425029&&_0x58dcbf['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x2d54aa['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x37b43a,_0x36ec0f)=>_0x37b43a?_0x36ec0f?_0x37b43a<_0x36ec0f?_0x37b43a:_0x36ec0f:_0x37b43a:_0x36ec0f),this['set']('unlinkedAt',_0x2d54aa['unlinkedAt']||null),this['set']('resolvedAt',_0x2d54aa['resolvedAt']||null),this['set']('resolvedBy',_0x2d54aa['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x6244ee=>!!_0x6244ee),this['set']('attributes',_0x2d54aa['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0xb945c,_0x2701cf)=>_0xb945c+_0x2701cf['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x1b362f,id:_0xa24573}=this;this['_repository']['fire'](Sg('submitCommentThread',_0x1b362f),{'channelId':_0x1b362f,'threadId':_0xa24573});}['setUnlinkedAt'](_0x22ce67){this['_update']({'unlinkedAt':_0x22ce67});}['resolve']({resolvedAt:_0x2ce777=new Date(),resolvedBy:_0x5ae7b1='',isFromAdapter:_0x37cc10=!0x1}={}){const _0x3d7c1f=this['_repository']['context']['plugins']['get'](Users)['me'],{channelId:_0x3064a5,id:_0x178b24}=this;this['_repository']['fire'](Sg('resolveCommentThread',_0x3064a5),{'channelId':_0x3064a5,'threadId':_0x178b24,'resolvedAt':_0x2ce777,'resolvedBy':_0x5ae7b1||_0x3d7c1f['id'],'isFromAdapter':_0x37cc10});}['reopen']({isFromAdapter:_0x1be613=!0x1}={}){const {channelId:_0x1f4ad7,id:_0x537f57}=this;this['_repository']['fire'](Sg('reopenCommentThread',_0x1f4ad7),{'channelId':_0x1f4ad7,'threadId':_0x537f57,'isFromAdapter':_0x1be613});}['setContext'](_0x26c17d){this['context']||this['_update']({'context':_0x26c17d});}['setAttribute'](_0x80946f,_0x4c5a6f){const _0x2ebbde=kr(this['attributes']);Ur(_0x2ebbde,_0x80946f,_0x4c5a6f),this['_update']({'attributes':_0x2ebbde});}['removeAttribute'](_0x33bc30){const _0x23a983=kr(this['attributes']);$r(_0x23a983,_0x33bc30),this['_update']({'attributes':_0x23a983});}['remove']({isFromAdapter:_0x21e59d=!0x1}={}){const {channelId:_0x3509df,id:_0x50ca75}=this;this['_repository']['fire'](Sg('removeCommentThread',_0x3509df),{'channelId':_0x3509df,'threadId':_0x50ca75,'isFromAdapter':_0x21e59d});}['attachTo'](_0x574c65){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x574c65});}['addComment'](_0x361cfc){const {channelId:_0x563529,id:_0xa6d047}=this;this['_repository']['fire'](Sg('addComment',_0x563529,_0xa6d047),Object['assign']({'channelId':_0x563529,'threadId':_0xa6d047},_0x361cfc));}['getComment'](_0x370fb0){if('string'!=typeof _0x370fb0)throw new _0x522f1f('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x370fb0});return this['comments']['get'](_0x370fb0);}['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'](_0x392fc7=>_0x392fc7['toJSON']()),'attributes':this['attributes']};}['_add'](_0x3568d1){return this['listenTo'](_0x3568d1,'change:authoredAt',()=>{const _0x5df366=this['_findOptimalIndex'](_0x3568d1),_0x469e95=this['comments'];_0x5df366-0x1!=_0x469e95['getIndex'](_0x3568d1)&&_0x5df366+0x1!=_0x469e95['getIndex'](_0x3568d1)&&(this['_remove'](_0x3568d1),this['_add'](_0x3568d1));}),this['comments']['add'](_0x3568d1,this['_findOptimalIndex'](_0x3568d1));}['_update'](_0x4d5ad5){const {channelId:_0x2c5e24,id:_0x4ec991}=this;this['_repository']['fire'](Sg('updateCommentThread',_0x2c5e24),{..._0x4d5ad5,'channelId':_0x2c5e24,'threadId':_0x4ec991});}['_remove'](_0x40a730){return this['stopListening'](_0x40a730),_0x40a730['destroy'](),this['comments']['remove'](_0x40a730);}['_findOptimalIndex'](_0x5b19f7){const _0xa234ce=this['comments']['find'](_0x4cb92=>new Date(_0x4cb92['authoredAt'])['getTime']()>new Date(_0x5b19f7['authoredAt'])['getTime']());return _0xa234ce?this['comments']['getIndex'](_0xa234ce):this['length'];}}let Ig=class Comment extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x598ec9,_0x242961){super();const _0x51a232=_0x598ec9['context']['plugins']['get'](Users)['me'],_0xfdfda=_0x598ec9['getCommentThread'](_0x242961['threadId']),_0x5857f0=0x0===_0xfdfda['comments']['length'],_0x223912=_0x51a232===_0x242961['author'];this['id']=_0x242961['id'],this['threadId']=_0x242961['threadId'],this['author']=_0x242961['author'],this['creator']=_0x242961['creator'],this['isExternal']=Boolean(_0x242961['attributes']&&_0x242961['attributes']['@external']),this['set']('content',_0x242961['content']),this['createdAt']=_0x242961['createdAt']||new Date(),this['set']('authoredAt',_0x242961['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0xfdfda,'resolvedAt'),this['set']('attributes',_0x242961['attributes']||{}),this['bind']('isEditable')['to'](_0x598ec9,'_permissions',()=>{const _0x43479b=_0x598ec9['getPermissions'](_0xfdfda['channelId'])['write'],_0x12c656=_0x598ec9['getPermissions'](_0xfdfda['channelId'])['modifyAll'];return _0x223912&&_0x43479b||!_0x223912&&_0x12c656;}),this['bind']('isRemovable')['to'](_0xfdfda,'isRemovable',_0x598ec9,'_permissions',_0x10a0df=>{const _0x320822=_0x598ec9['getPermissions'](_0xfdfda['channelId'])['write'],_0xa1bc97=_0x598ec9['getPermissions'](_0xfdfda['channelId'])['modifyAll'];return _0x223912&&_0x320822||_0x10a0df&&_0x5857f0||!_0x223912&&_0xa1bc97&&!_0x5857f0;}),this['bind']('isReadOnly')['to'](_0xfdfda,'isReadOnly'),this['_repository']=_0x598ec9;}get['weight'](){return Math['max'](function(_0x370789){const _0x203ce5=document['createElement']('div');return _0x203ce5['innerHTML']=_0x370789,_0x203ce5['textContent']['length'];}(this['content']),0xc8);}['update'](_0x39e960){const {threadId:_0x2e8224,id:_0x29ca5e}=this;if(!this['_repository']['hasCommentThread'](_0x2e8224))throw new _0x522f1f('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x1edd8a}=this['_repository']['getCommentThread'](_0x2e8224);this['_repository']['fire'](Sg('updateComment',_0x1edd8a,_0x2e8224),{'channelId':_0x1edd8a,'threadId':_0x2e8224,'commentId':_0x29ca5e,..._0x39e960});}['setAttribute'](_0x514f99,_0x1023be){const _0x5e0e53=kr(this['attributes']);Ur(_0x5e0e53,_0x514f99,_0x1023be),this['update']({'attributes':_0x5e0e53});}['removeAttribute'](_0x5b9833){const _0x36c398=kr(this['attributes']);$r(_0x36c398,_0x5b9833),this['update']({'attributes':_0x36c398});}['remove'](_0x247471={}){if(!_0x247471['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x4857d8,id:_0x172a34}=this;if(!this['_repository']['hasCommentThread'](_0x4857d8))throw new _0x522f1f('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x226976}=this['_repository']['getCommentThread'](_0x4857d8);this['_repository']['fire'](Sg('removeComment',_0x226976,_0x4857d8),{'channelId':_0x226976,'threadId':_0x4857d8,'commentId':_0x172a34,..._0x247471});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}};function Sg(_0x4a61e6,..._0x4298f6){for(const _0x218099 of _0x4298f6)void 0x0!==_0x218099&&(_0x4a61e6+=':'+String(_0x218099));return _0x4a61e6;}class AddCommentThreadCommand extends _0x208eac{constructor(_0x228f74){super(_0x228f74),this['set']('hasContent',!0x1);}['refresh'](){const _0x414774=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x11d5c9 of _0x414774['getRanges']())if(this['_hasContent'](_0x11d5c9))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x580a2e=_0x3eda13(),ranges:_0xe7738d,comment:_0x34bd59}={}){const _0x49ff06=this['editor']['model'],_0x23cedb=_0xe7738d??Array['from'](_0x49ff06['document']['selection']['getRanges']()),_0x181152=[];for(const _0x2d81b7 of _0x23cedb)this['_hasContent'](_0x2d81b7)&&_0x181152['push'](this['_trimToContent'](_0x2d81b7));if(!_0x181152['length'])throw new _0x522f1f('addcommentthreadcommand-incorrect-ranges',null);_0x34bd59&&this['_createCommentThread'](_0x580a2e,_0x34bd59),this['_createMarkersFromRanges'](_0x580a2e,_0x181152,!!_0x34bd59);}['_createMarkersFromRanges'](_0x4689df,_0x191147,_0x129cc0){this['editor']['model']['change'](_0x3621c3=>{for(const _0x170764 of _0x191147){const _0x2df95f=_0x3eda13()['substr'](0x1,0x5),_0x2b0035='comment:'+_0x4689df+':'+_0x2df95f;_0x3621c3['addMarker'](_0x2b0035,{'range':_0x170764,'usingOperation':_0x129cc0,'affectsData':_0x129cc0});}});}['_createCommentThread'](_0x1ad8f0,_0x4b09b1){const _0x2325ea=this['editor']['plugins']['get']('CommentsRepository'),_0x293434=this['editor']['config']['get']('collaboration.channelId'),_0x1678a4=this['editor']['plugins']['get']('Users')['me'];if(!_0x1678a4)throw new _0x522f1f('addcommentthreadcommand-user-not-found',null);_0x2325ea['addCommentThread']({'threadId':_0x1ad8f0,'channelId':_0x293434,'comments':[{'authorId':_0x1678a4['id'],'content':_0x4b09b1,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x50f7ae){for(const _0x39942f of _0x50f7ae['getItems']())if(this['_itemIsContent'](_0x39942f))return!0x0;return!0x1;}['_itemIsContent'](_0x42a294){return _0x42a294['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x42a294)&&!_0x42a294['is']('element','tableCell');}['_trimToContent'](_0x24500f){const _0x58a369=_0x1b7706=>!this['_itemIsContent'](_0x1b7706['item']),_0x2a7271=_0x24500f['start']['getLastMatchingPosition'](_0x58a369),_0x34296c=_0x24500f['end']['getLastMatchingPosition'](_0x58a369,{'direction':'backward'});return this['editor']['model']['createRange'](_0x2a7271,_0x34296c);}}class EditorAnnotations extends _0x151d85{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf536bb){super(_0xf536bb),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x4fc4fe=this['editor'],_0x1c7708=_0x4fc4fe['model']['document']['selection'],_0x12601b=Fr(()=>this['refreshSelectedViews'](),0xa);_0x1c7708['on']('change:range',(_0x351a0b,_0xbe09fd)=>{_0xbe09fd['directChange']&&(_0x12601b['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x4fc4fe['editing']['view']['document'],'change:isFocused',(_0x2fbfaa,_0x114bdc,_0x3797dd)=>{_0x3797dd&&_0x12601b();}),this['listenTo'](_0x4fc4fe['ui']['focusTracker'],'change:isFocused',(_0x53217c,_0xebd59f,_0x24dfe4)=>{_0x24dfe4||this['fire']('blur',{'isAnnotationTracked':_0x1a8396=>this['_editorAnnotationsData']['has'](_0x1a8396['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x372b59){if(this['_editorAnnotations']['has'](_0x372b59['view']))return;this['_editorAnnotations']['add'](_0x372b59['view']),this['editor']['ui']['focusTracker']['add'](_0x372b59['view']['element']);const _0x1f375f=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x1f375f['collection'],'remove',(_0x3606e0,_0x396c74)=>{this['editor']['ui']['focusTracker']['remove'](_0x396c74['view']['element']),this['_editorAnnotations']['delete'](_0x396c74['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x9a9c39){if('function'!=typeof _0x9a9c39)throw new _0x522f1f('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x9a9c39);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0xa4b014,annotations:_0x1c83b2}){const _0x43c354=[],_0x1e08b0=this['editor']['model']['document']['selection'],_0x4490fb=Array['from'](_0x1e08b0['getRanges']());for(const [_0x35132e,_0xdd1eb6]of this['_editorAnnotationsData']){const _0xea8430=_0x53040e(_0xdd1eb6),_0x5b3556=_0x1c83b2['getByInnerView'](_0x35132e);_0xea8430&&_0x5b3556&&_0x43c354['push']({'annotation':_0x5b3556,'range':_0xea8430});}function _0x53040e(_0x18b914){for(const _0x353808 of _0x18b914)for(const _0x59a4c1 of _0x4490fb)if(_0x353808['containsRange'](_0x59a4c1,!_0x1e08b0['isCollapsed']))return _0x353808;return null;}return _0x43c354['sort']((_0x13965c,_0x427e2d)=>{const _0x1151cf=_0x13965c['range'],_0x18551e=_0x427e2d['range'];if(!_0x1151cf['isEqual'](_0x18551e)){if(_0x1151cf['containsRange'](_0x18551e,!0x0))return 0x1;if(_0x18551e['containsRange'](_0x1151cf,!0x0))return-0x1;}return _0x13965c['annotation']==_0xa4b014?-0x1:_0x427e2d['annotation']==_0xa4b014?0x1:0x0;})['map'](_0x85f3ab=>_0x85f3ab['annotation']);}get['_editorAnnotationsData'](){const _0x5d4aad=new Map();for(const _0x5899d3 of Array['from'](this['_dataCollectors']))for(const [_0x3c5be3,_0x149a72]of _0x5899d3())_0x5d4aad['set'](_0x3c5be3,_0x149a72);return _0x5d4aad;}}class CommentsRestrictedEditingMode extends _0x151d85{['afterInit'](){const _0x480cee=this['editor'];if(!_0x480cee['plugins']['has']('RestrictedEditingModeEditing'))return;_0x480cee['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends _0x151d85{constructor(_0x569e1a){super(_0x569e1a),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x50f27d=this['editor'],_0x3963c7=_0x50f27d['commands']['get']('importWord'),_0x2b8ef0=_0x50f27d['plugins']['get'](Users);_0x3963c7&&(_0x3963c7['on']('execute',(_0x2c0651,[,_0xd714ed])=>{_0xd714ed['collaboration_features']={'comments':!0x0,'user_id':_0x2b8ef0['me']['id']};},{'priority':_0x537830['high']+0xa}),this['listenTo'](_0x3963c7,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x2d05dd,_0x176101){const {comment_threads:_0x23affd}=_0x176101;_0x23affd&&_0x23affd['forEach'](({thread_id:_0x20f076,comments:_0x5c32eb,is_resolved:_0x2a7dc3})=>{const _0x47eabb=new Date(),_0x25f583=_0x5c32eb['map'](({author:_0x23a4bc,content:_0x238f5f,created_at:_0x366aaa})=>({'content':_0x238f5f,'authorId':this['editor']['plugins']['get'](Users)['me']['id'],'createdAt':_0x47eabb,'attributes':{'@external':{'authorName':_0x23a4bc,'createdAt':_0x366aaa?new Date(_0x366aaa):new Date(),'source':'importWord'}}})),_0x51c0da=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x51c0da,'threadId':_0x20f076,'comments':_0x25f583,'resolvedAt':_0x2a7dc3?_0x47eabb:null});});}}class CommentsClipboard extends _0x151d85{constructor(_0x2dd4dc){super(_0x2dd4dc),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x34e652,_0x4d1fc7];}['afterInit'](){const _0x44a7e4=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x44a7e4,'contentInsertion',(_0xeca6a,_0x333b93)=>this['_removeMarkersWithoutThreads'](_0x333b93['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x5b9568){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x5b9568;const _0x2670c7=this['editor']['plugins']['get']('CommentsRepository');for(const _0x1c7675 of _0x5b9568['keys']()){const [_0x5211c6,_0x275db7]=_0x1c7675['split'](':');'comment'!=_0x5211c6||_0x2670c7['hasCommentThread'](_0x275db7)||_0x5b9568['delete'](_0x1c7675);}return _0x5b9568;}['_registerMarkerInClipboardPipeline'](){const _0x3e95be=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x157ed5=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x157ed5&&_0x3e95be['_registerMarkerToCopy']('comment',_0x157ed5);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x1f8012){switch(_0x1f8012){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function Cg(_0x53150b){const _0x35095a=_0x53150b['split'](':');return{'group':_0x35095a[0x0],'id':_0x35095a[0x1],'part':_0x35095a[0x2]};}class ShowCommentHighlights extends _0x151d85{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x404bd8,_0x4a3842)=>{if(!_0x4a3842['options']['showCommentHighlights'])return null;if(_0x4a3842['options']['ignoreResolvedComments']){const {id:_0x38a847}=Cg(_0x404bd8['markerName']),_0x1b72a3=this['editor']['plugins']['get'](CommentsRepository);if(_0x1b72a3['getCommentThread'](_0x38a847)?.['isResolved']&&_0x404bd8['item'])return _0x4a3842['consumable']['consume'](_0x404bd8['item'],'addMarker:'+_0x404bd8['markerName']),_0x4a3842['consumable']['consume'](_0x404bd8['item'],'removeMarker:'+_0x404bd8['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x29f445=>{_0x29f445['on']('addMarker:comment',(_0x3f2767,_0x1208e8,_0x1dc94a)=>{if(!_0x1dc94a['options']['showCommentHighlights'])return;const _0x1fd134=_0x1208e8['item'];if(!_0x1fd134)return;const _0x4683e3=_0x1dc94a['mapper']['toViewElement'](_0x1fd134);this['editor']['model']['schema']['isObject'](_0x1fd134)&&_0x4683e3&&!_0x4683e3['getCustomProperty']('widget')&&_0x4683e3['is']('containerElement')&&_0x42fba9(_0x4683e3,_0x1dc94a['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0xb8156e,{writer:_0x41c6eb,options:_0x32aa93})=>{if(!_0x32aa93['showCommentHighlights'])return null;const _0x2fdea9=_0x41c6eb['createContainerElement']('div'),_0x5cbf12=_0x41c6eb['createEmptyElement']('hr');return _0x41c6eb['addClass']('ck-horizontal-line',_0x2fdea9),_0x41c6eb['insert'](_0x41c6eb['createPositionAt'](_0x2fdea9,0x0),_0x5cbf12),_0x2fdea9;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x45e515,{writer:_0x1174cc,options:_0x4dd718})=>{if(!_0x4dd718['showCommentHighlights'])return null;const _0x59ee3b=_0x1174cc['createContainerElement']('span'),_0xd99b6b=_0x1174cc['createEmptyElement']('img');return _0x1174cc['addClass']('image-inline',_0x59ee3b),_0x1174cc['insert'](_0x1174cc['createPositionAt'](_0x59ee3b,0x0),_0xd99b6b),_0x59ee3b;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x3d547e,{writer:_0x1ea28d,options:_0x274a1e})=>{if(_0x274a1e['showCommentHighlights'])return _0x1ea28d['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x266acf,_0x4ac6b2,_0x2d9e9f)=>{_0x2d9e9f['options']['showCommentHighlights']&&_0x266acf['stop']();},{'priority':'high'});}}class CommentsEditing extends _0x151d85{static get['requires'](){return[CommentsRepository,EditorAnnotations,Users,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x18f53d){super(_0x18f53d),this['set']('isThreadsLoadingPaused',!0x0),_0x18f53d['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x16dd71,_0x35437f,_0x5ef0b8,_0x359bb1)=>{const _0x357397=_0x18f53d['plugins']['get'](CommentsRepository),_0x25ffc0=_0x5ef0b8?Cg(_0x5ef0b8)['id']:null;_0x18f53d['model']['change'](()=>{if(_0x25ffc0){const _0x8f06c4=this['getAllMarkersForId'](_0x25ffc0);for(const _0x4cd024 of _0x8f06c4)_0x18f53d['editing']['reconvertMarker'](_0x4cd024);}if(_0x359bb1){const {id:_0x5d2c9d}=Cg(_0x359bb1),_0x1cb65b=_0x357397['getCommentThread'](_0x5d2c9d);if(_0x1cb65b&&_0x1cb65b['unlinkedAt'])return;if(_0x1cb65b&&!_0x1cb65b['isAttached'])return;const _0x4de279=this['getAllMarkersForId'](_0x5d2c9d);for(const _0xc6a444 of _0x4de279)_0x18f53d['editing']['reconvertMarker'](_0xc6a444);}}),_0x25ffc0&&this['scrollToThreadMarker'](_0x25ffc0);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x45d179=this['editor'],_0x4a57de=_0x45d179['plugins']['get'](CommentsRepository),_0xe3dcce=_0x45d179['config']['get']('collaboration.channelId'),_0x1c6c66=_0x4a57de['getCommentThreads']()['filter'](_0x5d14aa=>_0x5d14aa['channelId']!==_0xe3dcce);_0x45d179['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x45d179)),this['listenTo'](_0x45d179,'change:isReadOnly',(_0x185139,_0x196706,_0x193bca)=>{_0x4a57de['switchReadOnly'](_0x193bca,_0x45d179['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x4a57de,kg('addCommentThread',_0xe3dcce),(_0x4071e8,{threadId:_0x433514})=>{const _0x21fbaf=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x433514);_0x21fbaf?.['unlinkedAt']&&this['_attachArchivedThread'](_0x433514);}),this['listenTo'](_0x4a57de,kg('removeCommentThread',_0xe3dcce),(_0x1a1904,{threadId:_0x84a9fa})=>{_0x45d179['model']['enqueueChange']({'isUndoable':!0x1},_0x1eddce=>{const _0x47f6e4=this['getAllMarkersForId'](_0x84a9fa);for(const _0x524609 of _0x47f6e4)_0x1eddce['removeMarker'](_0x524609);});}),this['listenTo'](_0x4a57de,kg('resolveCommentThread',_0xe3dcce),(_0x2475c5,{threadId:_0x404ad8})=>{this['_reconvertMarkers'](_0x404ad8);const _0x1eb41c=this['editor']['plugins']['get'](Annotations);(this['editor']['editing']['view']['hasDomSelection']||_0x1eb41c['collection']['isFocused'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x404ad8)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x4a57de,kg('reopenCommentThread',_0xe3dcce),(_0xc8c8d5,{threadId:_0x485be0})=>{this['_reconvertMarkers'](_0x485be0);},{'priority':'low'}),this['listenTo'](_0x4a57de,kg('addComment',_0xe3dcce),(_0x272f9c,{threadId:_0x3db448,isFromAdapter:_0x3073fe})=>{const _0x4611da=this['getAllMarkersForId'](_0x3db448);if(_0x3073fe||0x0==_0x4611da['length']||!_0x4a57de['hasCommentThread'](_0x3db448))return;0x1===_0x4a57de['getCommentThread'](_0x3db448)['length']&&_0x45d179['model']['enqueueChange']({'isUndoable':!0x1},_0x507ec3=>{for(const _0x50e3db of _0x4611da)_0x507ec3['updateMarker'](_0x50e3db,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x1c6c66);}['afterInit'](){!async function(_0x44de39){const _0x3d241a=_0x2a3a12([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x5d2be9=0x73460ab3,_0x52d6cd=0x73418163^_0x5d2be9,_0x1805ab=window[_0x2a3a12([0x44,0x61,0x74,0x65])][_0x2a3a12([0x6e,0x6f,0x77])](),_0x13a1fa=_0x44de39[_0x2a3a12([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55ee1f=new window[(_0x2a3a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c701d=>{_0x13a1fa[_0x2a3a12([0x6f,0x6e,0x63,0x65])](_0x2a3a12([0x72,0x65,0x61,0x64,0x79]),_0x4c701d);}),_0x50b6ff={[_0x2a3a12([0x6b,0x74,0x79])]:_0x2a3a12([0x45,0x43]),[_0x2a3a12([0x75,0x73,0x65])]:_0x2a3a12([0x73,0x69,0x67]),[_0x2a3a12([0x63,0x72,0x76])]:_0x2a3a12([0x50,0x2d,0x32,0x35,0x36]),[_0x2a3a12([0x78])]:_0x2a3a12([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2a3a12([0x79])]:_0x2a3a12([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2a3a12([0x61,0x6c,0x67])]:_0x2a3a12([0x45,0x53,0x32,0x35,0x36])},_0x1e4b61=_0x13a1fa[_0x2a3a12([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a3a12([0x67,0x65,0x74])](_0x2a3a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13c633(){let _0x88c500,_0x4ddf36=null,_0x5e69b4=null;try{if(_0x1e4b61==_0x2a3a12([0x47,0x50,0x4c]))return _0x2a3a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x88c500=_0x1b43a6(),!_0x88c500)return _0x2a3a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x88c500[_0x2a3a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e69b4=_0xdd1120(_0x88c500[_0x2a3a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x88c500[_0x2a3a12([0x6a,0x74,0x69])])),await _0x206f4a()?_0xa0a931()?_0x150c00()?_0x2a3a12([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x355bef()?(_0x88c500[_0x2a3a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a3a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ddf36=_0x48d191(_0x2a3a12([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x28c452()):_0x2a3a12([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a3a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a3a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a3a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x150c00(){const _0x3d1a22=[_0x2a3a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a3a12([0x74,0x72,0x69,0x61,0x6c])][_0x2a3a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x88c500[_0x2a3a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1805ab/0x3e8:0xe10*_0x52d6cd;return _0x88c500[_0x2a3a12([0x65,0x78,0x70])]<_0x3d1a22;}function _0xa0a931(){const _0x19dc46=_0x88c500[_0x2a3a12([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x19dc46)return!0x1;if(_0x19dc46[_0x2a3a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a3a12([0x2a])))return!0x0;if(_0x19dc46[_0x2a3a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a3a12([0x43,0x4d,0x54])))return!0x0;if(_0x19dc46[_0x2a3a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a3a12([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x305171())return!0x0;if(_0x19dc46[_0x2a3a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a3a12([0x52,0x43,0x4d,0x54]))){if(_0x172fc0())return!0x0;if(_0x458ee4()||_0x255ff9())return!0x0;}return!0x1;}function _0x355bef(){const _0x59940e=_0x88c500[_0x2a3a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59940e||0x0==_0x59940e[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3dbd9f}=new URL(window[_0x2a3a12([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x59940e[_0x2a3a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dbd9f))return!0x0;const _0x43c869=_0x3dbd9f[_0x2a3a12([0x73,0x70,0x6c,0x69,0x74])](_0x2a3a12([0x2e]));return _0x59940e[_0x2a3a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a3cc6=>_0x2a3cc6[_0x2a3a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a3a12([0x2a])))[_0x2a3a12([0x6d,0x61,0x70])](_0x553299=>_0x553299[_0x2a3a12([0x73,0x70,0x6c,0x69,0x74])](_0x2a3a12([0x2e])))[_0x2a3a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x453633=>_0x453633[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x43c869[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a3a12([0x6d,0x61,0x70])](_0x3ebf5d=>Array(_0x43c869[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ebf5d[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a3a12([0x66,0x69,0x6c,0x6c])](_0x3ebf5d[0x0]===_0x2a3a12([0x2a])?_0x2a3a12([0x2a]):'')[_0x2a3a12([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ebf5d))[_0x2a3a12([0x73,0x6f,0x6d,0x65])](_0x1eb1c5=>_0x43c869[_0x2a3a12([0x65,0x76,0x65,0x72,0x79])]((_0x47e23f,_0x5bc191)=>_0x1eb1c5[_0x5bc191]===_0x47e23f||_0x1eb1c5[_0x5bc191]===_0x2a3a12([0x2a])));}function _0x28c452(){return _0x4ddf36&&_0x5e69b4?new window[(_0x2a3a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x491cd7,_0x35ccec)=>{_0x4ddf36[_0x2a3a12([0x74,0x68,0x65,0x6e])](_0x491cd7,_0x35ccec),_0x5e69b4[_0x2a3a12([0x74,0x68,0x65,0x6e])](_0x3bf76e=>{_0x3bf76e!=_0x2a3a12([0x56,0x61,0x6c,0x69,0x64])&&_0x491cd7(_0x3bf76e);},_0x35ccec);}):_0x4ddf36||_0x5e69b4||_0x2a3a12([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdd1120(_0x5c0bc1,_0x3811e4){return new window[(_0x2a3a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x64a38a=>{if(_0x395a00())return _0x64a38a(_0x2a3a12([0x56,0x61,0x6c,0x69,0x64]));_0x5e6b30(),_0x13a1fa[_0x2a3a12([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a3a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a4b1c=!0x1;const _0x3029fc=_0x3eda13();function _0x51f4d8(_0x49de7b){return!!_0x49de7b&&(typeof _0x49de7b===_0x2a3a12([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49de7b===_0x2a3a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49de7b[_0x2a3a12([0x74,0x68,0x65,0x6e])]===_0x2a3a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49de7b[_0x2a3a12([0x63,0x61,0x74,0x63,0x68])]===_0x2a3a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26144d(_0x31c0a3){_0x404f85(_0x31c0a3)[_0x2a3a12([0x74,0x68,0x65,0x6e])](_0x37d395=>{if(!_0x37d395||_0x37d395[_0x2a3a12([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a3a12([0x6f,0x6b]))return _0x2a3a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30e5e9(_0x2640c1(_0x3029fc+_0x3811e4))!=_0x37d395[_0x2a3a12([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a3a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a3a12([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a3a12([0x74,0x68,0x65,0x6e])](_0x561b72=>(_0x45436e(),_0x561b72),()=>{const _0x34d978=_0x10c5cb();return null==_0x34d978?(_0x45436e(),_0x2a3a12([0x56,0x61,0x6c,0x69,0x64])):_0x2a3a12(_0x1805ab-_0x34d978>(0x574a8eb3^_0x5d2be9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a3a12([0x74,0x68,0x65,0x6e])](_0x64a38a)[_0x2a3a12([0x63,0x61,0x74,0x63,0x68])](()=>{_0x64a38a(_0x2a3a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c7f84=0x7370e433^_0x5d2be9;function _0x45436e(){const _0x481cbb=_0x2a3a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x30e5e9(_0x2640c1(_0x5c0bc1)),_0x1bad13=_0x587bb7(_0x30e5e9(window[_0x2a3a12([0x4d,0x61,0x74,0x68])][_0x2a3a12([0x63,0x65,0x69,0x6c])](_0x1805ab/_0x4c7f84)));window[_0x2a3a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a3a12([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x481cbb,_0x1bad13);}function _0x10c5cb(){const _0x4c9382=_0x2a3a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x30e5e9(_0x2640c1(_0x5c0bc1)),_0x2fbbd2=window[_0x2a3a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a3a12([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c9382);return _0x2fbbd2?window[_0x2a3a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x587bb7(_0x2fbbd2),0x10)*_0x4c7f84:null;}function _0x404f85(_0x4d0cb8){return new window[(_0x2a3a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c3fb7,_0x3563a6)=>{_0x4d0cb8[_0x2a3a12([0x74,0x68,0x65,0x6e])](_0x5c3fb7,_0x3563a6),window[_0x2a3a12([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3563a6,0x7347de73^_0x5d2be9);});}}_0x13a1fa[_0x2a3a12([0x6f,0x6e])](_0x2a3a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2eca05,_0x4778f6)=>{if(_0x4778f6[0x0]!=_0x5c0bc1)return _0x64a38a(_0x2a3a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4778f6[0x1]={..._0x4778f6[0x1],[_0x2a3a12([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3029fc};},{[_0x2a3a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a3a12([0x68,0x69,0x67,0x68])}),_0x13a1fa[_0x2a3a12([0x6f,0x6e])](_0x2a3a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f7211=>{_0x51f4d8(_0x4f7211[_0x2a3a12([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a4b1c=!0x0,_0x26144d(_0x4f7211[_0x2a3a12([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a3a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a3a12([0x6c,0x6f,0x77])}),_0x55ee1f[_0x2a3a12([0x74,0x68,0x65,0x6e])](()=>{_0x4a4b1c||_0x64a38a(_0x2a3a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x395a00(){return _0x13a1fa[_0x2a3a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a3a12([0x76,0x69,0x65,0x77])][_0x2a3a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a3a12([0x61,0x75,0x74,0x6f]);}function _0x5e6b30(){_0x13a1fa[_0x2a3a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a3a12([0x76,0x69,0x65,0x77])][_0x2a3a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a3a12([0x61,0x75,0x74,0x6f]);}}function _0x48d191(_0x39723b){const _0x40d010=[new window[(_0x2a3a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32cb5d=>setTimeout(_0x32cb5d,0x734f347f^_0x5d2be9)),_0x55ee1f[_0x2a3a12([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a3a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ac3c1=>{let _0x145598=0x0;_0x13a1fa[_0x2a3a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a3a12([0x6f,0x6e])](_0x2a3a12([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8ef8dd,_0x3042a6)=>{_0x3042a6[0x0][_0x2a3a12([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x145598++,_0x145598==(0x73460f5b^_0x5d2be9)&&(_0x5ac3c1(),_0x8ef8dd[_0x2a3a12([0x6f,0x66,0x66])]());});}))];return window[_0x2a3a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a3a12([0x72,0x61,0x63,0x65])](_0x40d010)[_0x2a3a12([0x74,0x68,0x65,0x6e])](()=>_0x39723b);}async function _0x4ea4cb(){await _0x55ee1f,_0x13a1fa[_0x2a3a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a3a12([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12428a,_0x13a1fa[_0x2a3a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a3a12([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12428a,_0x13a1fa[_0x2a3a12([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a3a12([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x305171(){return window[_0x2a3a12([0x67,0x6c,0x6f,0x62])]&&window[_0x2a3a12([0x67,0x6c,0x6f,0x62])][_0x2a3a12([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x172fc0(){return _0x1b4d2a(_0x2a3a12([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x161662(_0x2a3a12([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2a3a12([0x73,0x74,0x61,0x74,0x65])]==_0x2a3a12([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x458ee4(){return _0x1b4d2a(_0x2a3a12([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x255ff9(){return _0x1b4d2a(_0x2a3a12([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x58af92(_0x28d8e5){const _0x1653df=_0x36761f();_0x13a1fa[_0x1653df]=_0x2a3a12([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28d8e5,_0x28d8e5!=_0x2a3a12([0x56,0x61,0x6c,0x69,0x64])&&_0x4ea4cb();}function _0x36761f(){const _0x2ceb03=window[_0x2a3a12([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a3a12([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a3a12([0x6e,0x6f,0x77])]())[_0x2a3a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a3a12([0x2e]),'');let _0x3928b8=_0x2a3a12([0x4b]);for(let _0x257e5b=0x0;_0x257e5b<_0x2ceb03[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x257e5b+=0x2){let _0x154477=window[_0x2a3a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ceb03[_0x2a3a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x257e5b,_0x257e5b+0x2));_0x154477>=_0x3d241a[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x154477-=_0x3d241a[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3928b8+=_0x3d241a[_0x154477];}return _0x3928b8;}function _0x1b43a6(){const _0x483de3=_0x1e4b61[_0x2a3a12([0x73,0x70,0x6c,0x69,0x74])](_0x2a3a12([0x2e]));if(0x3!=_0x483de3[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x124917(_0x483de3[0x1]);function _0x124917(_0x368aa0){const _0x32525c=_0x46d545(_0x368aa0);return _0x32525c&&_0x3aaeaa()?_0x32525c:null;function _0x3aaeaa(){const _0x1dd378=_0x32525c[_0x2a3a12([0x6a,0x74,0x69])],_0x21a2a5=window[_0x2a3a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1dd378[_0x2a3a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dd378[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2a57a9={..._0x32525c,[_0x2a3a12([0x6a,0x74,0x69])]:_0x1dd378[_0x2a3a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1dd378[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2a57a9[_0x2a3a12([0x76,0x63])],_0x2640c1(_0x2a57a9)==_0x21a2a5;}}}async function _0x206f4a(){let _0x5ddf34=!0x0;try{const _0x23e5eb=_0x1e4b61[_0x2a3a12([0x73,0x70,0x6c,0x69,0x74])](_0x2a3a12([0x2e])),[_0x406ce6,_0x3b134c,_0x198473]=_0x23e5eb;return _0x43c144(_0x406ce6),await _0x327b60(_0x406ce6,_0x3b134c,_0x198473),_0x5ddf34;}catch{return!0x1;}function _0x43c144(_0xf582aa){const _0x4af257=_0x46d545(_0xf582aa);_0x4af257&&_0x4af257[_0x2a3a12([0x61,0x6c,0x67])]==_0x2a3a12([0x45,0x53,0x32,0x35,0x36])||(_0x5ddf34=!0x1);}async function _0x327b60(_0x232e3c,_0x1df637,_0x7fd6f1){const _0x491747=window[_0x2a3a12([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a3a12([0x66,0x72,0x6f,0x6d])](_0x64ed9d(_0x7fd6f1),_0x1539e4=>_0x1539e4[_0x2a3a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3428d2=new window[(_0x2a3a12([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a3a12([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x232e3c+_0x2a3a12([0x2e])+_0x1df637),_0x325009=window[_0x2a3a12([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a3a12([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x325009)return;const _0x42dfb0=await _0x325009[_0x2a3a12([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a3a12([0x6a,0x77,0x6b]),_0x50b6ff,{[_0x2a3a12([0x6e,0x61,0x6d,0x65])]:_0x2a3a12([0x45,0x43,0x44,0x53,0x41]),[_0x2a3a12([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a3a12([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a3a12([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x325009[_0x2a3a12([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a3a12([0x6e,0x61,0x6d,0x65])]:_0x2a3a12([0x45,0x43,0x44,0x53,0x41]),[_0x2a3a12([0x68,0x61,0x73,0x68])]:{[_0x2a3a12([0x6e,0x61,0x6d,0x65])]:_0x2a3a12([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x42dfb0,_0x491747,_0x3428d2)||(_0x5ddf34=!0x1);}}function _0x46d545(_0xbe2c08){return _0xbe2c08[_0x2a3a12([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a3a12([0x65,0x79]))?JSON[_0x2a3a12([0x70,0x61,0x72,0x73,0x65])](_0x64ed9d(_0xbe2c08)):null;}function _0x64ed9d(_0x41ddd6){return window[_0x2a3a12([0x61,0x74,0x6f,0x62])](_0x41ddd6[_0x2a3a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a3a12([0x2b]))[_0x2a3a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a3a12([0x2f])));}function _0x2640c1(_0x18fc10){let _0x24c85e=0x1505;function _0x527fdc(_0x349417){for(let _0x332926=0x0;_0x332926<_0x349417[_0x2a3a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x332926++){const _0x53114f=_0x349417[_0x2a3a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x332926);_0x24c85e=(_0x24c85e<<0x5)+_0x24c85e+_0x53114f,_0x24c85e&=_0x24c85e;}}function _0x444447(_0x3b4f47){Array[_0x2a3a12([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b4f47)?_0x3b4f47[_0x2a3a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x444447):_0x3b4f47&&typeof _0x3b4f47==_0x2a3a12([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a3a12([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b4f47)[_0x2a3a12([0x73,0x6f,0x72,0x74])]()[_0x2a3a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1498ae,_0x10cde4])=>{_0x527fdc(_0x1498ae),_0x444447(_0x10cde4);}):_0x527fdc(window[_0x2a3a12([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b4f47));}return _0x444447(_0x18fc10),_0x24c85e>>>0x0;}function _0x30e5e9(_0x1b7578){return _0x1b7578[_0x2a3a12([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a3a12([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a3a12([0x30]));}function _0x587bb7(_0x206aeb){return _0x206aeb[_0x2a3a12([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a3a12([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a3a12([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b4d2a(_0x1b0062){return _0x13a1fa[_0x2a3a12([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2a3a12([0x68,0x61,0x73])](_0x1b0062);}function _0x161662(_0x3efcf6){return _0x13a1fa[_0x2a3a12([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2a3a12([0x67,0x65,0x74])](_0x3efcf6);}function _0x12428a(){}function _0x2a3a12(_0x1c26f8){return _0x1c26f8['map'](_0x397888=>String['fromCharCode'](_0x397888))['join']('');}_0x58af92(await _0x13c633());}(this);}['destroy'](){const _0x537789=this['editor']['plugins']['get'](CommentsRepository),_0x57b53e=this['editor']['config']['get']('collaboration.channelId');for(const _0x245c7e of _0x537789['getCommentThreads']({'channelId':_0x57b53e}))_0x537789['_detachCommentThread'](_0x245c7e['id']),_0x537789['_threads']['delete'](_0x245c7e['id']);super['destroy']();}['hasMarkerForId'](_0x4004d3){return this['getAllMarkersForId'](_0x4004d3)['length']>0x0;}['getAllMarkersForId'](_0xf735b){const _0x51c6b0=[];for(const _0x35522e of this['editor']['model']['markers'])_0x35522e['name']['startsWith']('comment:'+_0xf735b)&&_0x51c6b0['push'](_0x35522e);return _0x51c6b0;}['scrollToThreadMarker'](_0x2c2a9f){setTimeout(()=>{const _0x2cbfa8=this['_getTargetForId'](_0x2c2a9f);if(!_0x2cbfa8)return;this['activeMarker']&&Cg(this['activeMarker'])['id']===_0x2c2a9f&&_0x4e25b4({'target':_0x2cbfa8[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x496b4b){this['editor']['model']['change'](()=>{for(const _0x2ee613 of this['getAllMarkersForId'](_0x496b4b))this['editor']['editing']['reconvertMarker'](_0x2ee613);});}['_attachArchivedThread'](_0x4274b4){const _0x19ea72=this['editor']['plugins']['get'](CommentsRepository),_0x17e205=this['editor']['plugins']['get'](EditorAnnotations),_0x34bf56=_0x19ea72['getCommentThread'](_0x4274b4);if(!_0x34bf56['isAttached']){const _0xc39269=_0x34bf56['attachTo'](()=>this['_getTargetForId'](_0x34bf56['id']));_0x17e205['registerAnnotation'](_0xc39269),_0x34bf56['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x20ed25=this['editor'],_0x2ec717=_0x20ed25['plugins']['get'](Users);_0x20ed25['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x492fd8,_0x236b94)=>{const {id:_0x34d5f2}=Cg(_0x492fd8['markerName']),_0x2e85d2=_0x20ed25['plugins']['get'](CommentsRepository)['getCommentThread'](_0x34d5f2),_0xdeea4b=this['activeMarker']&&Cg(this['activeMarker'])['id']===_0x34d5f2;let _0x251596;if(_0x2e85d2&&_0x2e85d2['isResolved']&&!_0xdeea4b&&_0x492fd8['item'])return _0x236b94['consumable']['consume'](_0x492fd8['item'],'addMarker:'+_0x492fd8['markerName']),_0x236b94['consumable']['consume'](_0x492fd8['item'],'removeMarker:'+_0x492fd8['markerName']),null;const _0x341bc0=['ck-comment-marker'];return _0xdeea4b&&_0x341bc0['push']('ck-comment-marker--active'),_0x251596=_0x2e85d2?.['length']?_0x2e85d2['comments']['first']['author']['id']:_0x2ec717['me']['id'],{'classes':_0x341bc0,'attributes':{'data-comment':_0x34d5f2,'data-author-id':_0x251596}};}}),_0x20ed25['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x21105f,{options:_0x1d8a71})=>{if(_0x1d8a71['showCommentHighlights'])return null;const _0xc923b6=_0x20ed25['plugins']['get'](CommentsRepository),_0x2cd874=_0x20ed25['model']['markers']['get'](_0x21105f),{id:_0x23af5c,part:_0x47865c}=Cg(_0x21105f);return _0x2cd874&&!_0x2cd874['affectsData']||_0x1d8a71['ignoreResolvedComments']&&_0xc923b6['getCommentThread'](_0x23af5c)?.['isResolved']?null:{'group':'comment','name':_0x47865c?_0x23af5c+':'+_0x47865c:_0x23af5c};}}),_0x20ed25['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x196a06,{writer:_0x127edd})=>_0x127edd['createElement']('$marker',{'data-name':'comment:'+_0x196a06['getAttribute']('id')})}),_0x20ed25['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x33bfdf=this['editor'],_0x299da2=_0x33bfdf['plugins']['get'](CommentsRepository),_0x13850a=new Set(),_0x17f5f3=new Set();_0x33bfdf['model']['document']['registerPostFixer'](_0x59ada3=>{let _0x5d7422=!0x1;for(const {name:_0x2e276b,data:_0x116094}of _0x33bfdf['model']['document']['differ']['getChangedMarkers']()){const {group:_0x57f34c,id:_0x36394f}=Cg(_0x2e276b);let _0x567055=_0x116094['newRange'];if('comment'!==_0x57f34c||!_0x567055)continue;const _0x5b07dd='$graveyard'===_0x567055['root']['rootName'];_0x5b07dd||(_0x567055=xg(_0x567055,_0x33bfdf['model']),!_0x567055||_0x567055['isCollapsed']||!_0x116094['newRange']||_0x567055['isEqual'](_0x116094['newRange']))?_0x33bfdf['model']['hasContent'](_0x567055)&&!_0x5b07dd?this['isThreadsLoadingPaused']?_0x13850a['add'](_0x2e276b):this['_handleThreadMarker'](_0x2e276b,_0x36394f):(_0x17f5f3['add'](_0x2e276b),_0x13850a['delete'](_0x2e276b),_0x59ada3['removeMarker'](_0x2e276b),_0x5d7422=!0x0):(_0x59ada3['updateMarker'](_0x2e276b,{'range':_0x567055}),_0x5d7422=!0x0);}return _0x5d7422;}),this['on']('change:isThreadsLoadingPaused',(_0x4ee93a,_0xb3639f,_0x5ee509)=>{if(!_0x5ee509&&_0x13850a['size'])for(const _0x17c764 of _0x13850a){const {id:_0x2cf733}=Cg(_0x17c764);_0x13850a['delete'](_0x17c764),_0x33bfdf['model']['markers']['get'](_0x17c764)&&this['_handleThreadMarker'](_0x17c764,_0x2cf733);}}),this['listenTo'](_0x33bfdf['model']['document'],'change',()=>{for(const {name:_0x3811d2,data:{newRange:_0x43a180}}of _0x33bfdf['model']['document']['differ']['getChangedMarkers']()){const {group:_0x384601,id:_0x1a082e}=Cg(_0x3811d2);if('comment'!==_0x384601)continue;const _0x4a54fe=_0x299da2['getCommentThread'](_0x1a082e),_0x203d93=this['hasMarkerForId'](_0x1a082e);_0x4a54fe&&(!_0x4a54fe['_hasTargetInContent']&&_0x43a180&&_0x33bfdf['editing']['view']['once']('render',()=>{const _0x2dac37=_0x33bfdf['plugins']['get'](Annotations),_0x17f747=_0x299da2['_threadToController']['get'](_0x4a54fe)['view'];_0x2dac37['getByInnerView'](_0x17f747)['refreshVisibility']();},{'priority':'low'}),_0x4a54fe['_hasTargetInContent']=_0x203d93||!!_0x43a180),_0x43a180||(_0x17f5f3['add'](_0x3811d2),_0x13850a['delete'](_0x3811d2));}for(const _0x357b70 of _0x17f5f3){const {id:_0x48dd94}=Cg(_0x357b70),_0x1da8b8=_0x299da2['getCommentThread'](_0x48dd94);if(_0x13850a['delete'](_0x357b70),!_0x1da8b8)continue;const _0x29786e=this['hasMarkerForId'](_0x48dd94);_0x29786e||_0x1da8b8['isSubmitted']?_0x29786e||_0x1da8b8['unlinkedAt']||_0x1da8b8['setUnlinkedAt'](new Date()):_0x1da8b8['remove']();}_0x17f5f3['clear']();});}['_handleInitialThreads'](_0x489598){_0x489598['forEach'](_0x1698b6=>{_0x1698b6['unlinkedAt']&&this['_attachArchivedThread'](_0x1698b6['id']);});}['_getTargetForId'](_0x121567){const _0x3de51a=this['editor'],_0xdcaf6e=this['getAllMarkersForId'](_0x121567);return Md(_0x3de51a['editing'],_0xdcaf6e);}['_getTextContext'](_0x5dcd69){const _0xd5a14a=this['getAllMarkersForId'](_0x5dcd69);let _0x413aa5='',_0x9291c=!0x1;for(const _0x4b3b84 of _0xd5a14a){const _0x76769c=_0x4b3b84['getRange']();for(const _0x5e407d of Array['from'](_0x76769c['getItems']()))_0x5e407d['is']('$textProxy')?(_0x413aa5&&_0x9291c&&(_0x413aa5+='\x20',_0x9291c=!0x1),_0x413aa5+=_0x5e407d['data']):_0x9291c=!0x0;_0x9291c=!0x0;}return _0x413aa5['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x203980,_0x288c1e){const _0x1aa9e7=this['editor'],_0x2b71ad=_0x1aa9e7['plugins']['get'](CommentsRepository);let _0x53f7c2=_0x2b71ad['getCommentThread'](_0x288c1e);const _0x50f034=_0x1aa9e7['config']['get']('collaboration.channelId'),_0x3c878a=_0x1aa9e7['plugins']['get'](EditorAnnotations);if(_0x53f7c2&&(_0x53f7c2['unlinkedAt']&&_0x53f7c2['setUnlinkedAt'](null),_0x53f7c2['isAttached']))return _0x53f7c2;return!this['getAllMarkersForId'](_0x288c1e)[0x0]['managedUsingOperations']?_0x1aa9e7['editing']['view']['once']('render',()=>{if(_0x2b71ad['getCommentThread'](_0x288c1e))return;const _0x478df7=_0x1aa9e7['plugins']['get'](Annotations);_0x53f7c2=_0x2b71ad['openNewCommentThread']({'channelId':_0x50f034,'threadId':_0x288c1e,'target':()=>this['_getTargetForId'](_0x288c1e),'context':{'type':'text','value':this['_getTextContext'](_0x288c1e)}});const _0x4d41e5=_0x2b71ad['_threadToController']['get'](_0x53f7c2)['view'],_0xf71018=_0x478df7['getByInnerView'](_0x4d41e5);_0xf71018&&_0x3c878a['registerAnnotation'](_0xf71018);},{'priority':'low'}):_0x2b71ad['fetchCommentThread']({'channelId':_0x50f034,'threadId':_0x288c1e})['then'](_0x597258=>{if('destroyed'!==_0x1aa9e7['state']){if(_0x53f7c2=_0x597258,_0x53f7c2&&!_0x53f7c2['isAttached']){const _0x1bc0c4=_0x53f7c2['attachTo'](()=>this['_getTargetForId'](_0x288c1e));_0x3c878a['registerAnnotation'](_0x1bc0c4),_0x53f7c2['isResolved']&&this['_reconvertMarkers'](_0x288c1e);}else{if(!_0x53f7c2){const _0x255fdd=this['getAllMarkersForId'](_0x288c1e);_0x1aa9e7['model']['change'](_0x473174=>{for(const _0x53e301 of _0x255fdd)_0x473174['removeMarker'](_0x53e301);});}}}}),_0x53f7c2;}['_handleThreadMarker'](_0x4dbee8,_0x217472){const _0x273751=this['_attachMarkerToThread'](_0x4dbee8,_0x217472);_0x273751&&!_0x273751['context']&&_0x273751['setContext']({'type':'text','value':this['_getTextContext'](_0x217472)});}['_initAriaMarkerChangeAnnouncements'](){const _0x35563c=this['editor'];Xd(_0x35563c['model'],({left:_0xdd665f,entered:_0x1b79f3})=>{for(const _0x385a2e of _0xdd665f)if(Rg(_0x385a2e)){_0x35563c['ui']['ariaLiveAnnouncer']['announce'](pg(_0x35563c['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x28c0aa of _0x1b79f3)if(Rg(_0x28c0aa)){_0x35563c['ui']['ariaLiveAnnouncer']['announce'](pg(_0x35563c['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x10f09f(qd)));break;}});}}function kg(_0x5e0d73,_0x2f4ca1){return _0x2f4ca1?_0x5e0d73+':'+_0x2f4ca1:_0x5e0d73;}function xg(_0x4c8818,_0x5ecd9c){const _0x6ec777=_0x5ecd9c['schema'],_0x2581ff=_0x5ecd9c['createRange'](_0x4c8818['start']);for(const _0x5dc303 of _0x4c8818['getWalker']()){const {type:_0x270776,item:_0x19fa62,nextPosition:_0x484bb2}=_0x5dc303;if('text'===_0x270776||_0x6ec777['isObject'](_0x19fa62)){const _0xbe566e=_0x5ecd9c['createPositionBefore'](_0x19fa62);_0x2581ff['isCollapsed']&&(_0x2581ff['start']=_0xbe566e),_0x2581ff['end']=_0x484bb2;}}return _0x2581ff;}function Rg(_0x215ce6){return'comment'===Cg(_0x215ce6['name'])['group'];}class CommentsUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,CommentsEditing,EditorAnnotations,Annotations];}get['CommentsListView'](){return CommentsListView;}get['CommentThreadInputView'](){return CommentThreadInputView;}['init'](){const _0x3dca62=this['editor'],_0x363c10=_0x3dca62['plugins']['get'](CommentsRepository),_0x30995b=_0x3dca62['plugins']['get'](CommentsEditing),_0x43e914=_0x3dca62['plugins']['get'](Annotations),_0x5f0815=_0x3dca62['plugins']['get'](EditorAnnotations);_0x3dca62['ui']['componentFactory']['add']('comment',()=>{const _0x220972=this['_createUIButton'](_0x4c508c);return _0x220972['tooltip']=!0x0,_0x220972;}),_0x3dca62['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](at)),_0x5f0815['addSourceCollector'](()=>{const _0x576d7e=[];for(const [_0x13df1a,_0x6176a7]of _0x363c10['_threadToController']){const _0x135223=_0x30995b['getAllMarkersForId'](_0x13df1a['id']),_0x3e856e=_0x135223['map'](_0x2d70c2=>_0x2d70c2['getRange']());_0x135223['length']>0x0&&_0x576d7e['push']([_0x6176a7['view'],_0x3e856e]);}return _0x576d7e;}),this['listenTo'](_0x43e914,'change:activeAnnotations',(_0x2655cc,_0x534d11,_0x1248df)=>{const _0x5ceace=Array['from'](_0x1248df)['map'](_0x2b814c=>_0x2b814c['innerView'])['find'](_0x5a69ae=>_0x363c10['_viewToController']['has'](_0x5a69ae));if(!_0x5ceace)return void(_0x30995b['activeMarker']=null);const _0x1f8ca3=_0x363c10['_viewToController']['get'](_0x5ceace)['model']['id'],_0x25b2cb='comment:'+_0x1f8ca3;_0x1f8ca3&&_0x30995b['hasMarkerForId'](_0x1f8ca3)?_0x30995b['activeMarker']=_0x25b2cb:_0x30995b['activeMarker']&&(_0x30995b['activeMarker']=null);}),this['listenTo'](_0x363c10,'removeCommentThread',(_0x359723,{threadId:_0x15752a,isFromAdapter:_0x23161f})=>{!_0x23161f&&_0x3dca62['ui']['focusTracker']['isFocused']&&_0x30995b['hasMarkerForId'](_0x15752a)&&_0x3dca62['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x363c10,'addComment',(_0x1b06aa,{threadId:_0x1dedc7,isFromAdapter:_0x29478e})=>{if(_0x29478e||!_0x30995b['hasMarkerForId'](_0x1dedc7)||!_0x363c10['hasCommentThread'](_0x1dedc7))return;0x1===_0x363c10['getCommentThread'](_0x1dedc7)['length']&&(_0x3dca62['editing']['view']['focus'](),_0x1b06aa['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x21162c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x200d02;for(const _0x893367 in _0x21162c){const _0x1672bf=_0x893367,_0x2b470b=_0x21162c[_0x1672bf];if('commentsLicenseKeyValid'==_0x2b470b||'commentsLicenseKeyInvalid'==_0x2b470b||'commentsLicenseKeyExpired'==_0x2b470b||'commentsLicenseKeyDomainLimit'==_0x2b470b||'commentsLicenseKeyNotAllowed'==_0x2b470b||'commentsLicenseKeyEvaluationLimit'==_0x2b470b||'commentsLicenseKeyUsageLimit'==_0x2b470b){delete _0x21162c[_0x1672bf],_0x200d02=_0x2b470b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x200d02&&_0x21162c['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x200d02&&_0x21162c['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x200d02&&_0x21162c['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x200d02&&_0x21162c['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x200d02&&_0x21162c['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x200d02&&_0x21162c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x2c1980){const _0xffaf05=this['editor'],_0xb6275=new _0x2c1980(_0xffaf05['locale']),_0xc3c188=_0xffaf05['commands']['get']('addCommentThread');return _0xb6275['set']({'label':pg(_0xffaf05['locale'],'Comment'),'icon':_0x3f7577}),_0xb6275['bind']('isEnabled')['to'](_0xc3c188,'isEnabled',_0xc3c188,'hasContent',(_0x5c13ef,_0x24c4fc)=>_0x5c13ef&&_0x24c4fc),this['listenTo'](_0xb6275,'execute',()=>{_0xc3c188['execute']();}),_0xb6275;}}class CommentsOnly extends _0x151d85{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x4ea850){super(_0x4ea850),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x5ab2d5,_0x519d89,_0x3f67fe)=>{_0x3f67fe?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x435a21,_0x190683]of this['editor']['commands'])_0x190683['affectsData']&&'addCommentThread'!==_0x435a21&&_0x190683['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 _0x3b1a33=this['editor']['editing']['view']['document'];this['listenTo'](_0x3b1a33,'cut',_0x3abf11=>_0x3abf11['stop'](),{'priority':'highest'}),this['listenTo'](_0x3b1a33,'clipboardInput',_0x251237=>_0x251237['stop'](),{'priority':'highest'}),this['listenTo'](_0x3b1a33,'delete',_0x42a4b9=>_0x42a4b9['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x3040e1,_0x1c379a]of this['editor']['commands'])_0x1c379a['affectsData']&&'addCommentThread'!==_0x3040e1&&_0x1c379a['clearForceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('RevisionTracker')&&this['editor']['plugins']['get']('RevisionTracker')['clearForceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['clearForceDisabled']('commentsOnlyMode'),this['editor']['commands']['get']('editSource')?.['clearForceDisabled']('commentsOnlyMode'),this['stopListening'](this['editor']['editing']['view']['document']);}}class AnnotationsUIs extends _0x304a5a{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2f2948){super(_0x2f2948),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x45213e=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x45213e,'_activateAnnotation',(_0x110216,_0x14ca8e)=>{for(const _0x146e11 of this['activeUIs']){const _0x2e17eb=this['_uis']['get'](_0x146e11);(0x0,this['uisData']['get'](_0x146e11)['filter'])(_0x14ca8e)&&_0x2e17eb['setActiveAnnotation'](_0x14ca8e);}}),this['listenTo'](_0x45213e,'_deactivateAllAnnotations',()=>{for(const _0x4fdf3f of this['activeUIs']){this['_uis']['get'](_0x4fdf3f)['setActiveAnnotation'](null);}}),this['listenTo'](_0x45213e['_visibleAnnotations'],'add',(_0x485a78,_0x33a401)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x33a401);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x1df8cf){return this['activeUIs']['has'](_0x1df8cf);}['activate'](_0x406ae3,_0x5e1d36=this['defaultFilter']){const _0x414ba9=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x406ae3))throw new _0x522f1f('annotationsuis-missing-ui',this,{'uiName':_0x406ae3});this['isActive'](_0x406ae3)&&this['deactivate'](_0x406ae3),this['activeUIs']['add'](_0x406ae3);const _0x32ebd9=new AnnotationCollection();_g({'source':_0x414ba9['_visibleAnnotations'],'target':_0x32ebd9,'filter':_0x5e1d36}),this['uisData']['set'](_0x406ae3,{'collection':_0x32ebd9,'filter':_0x5e1d36});const _0x3b06f4=this['_uis']['get'](_0x406ae3);_0x3b06f4['attach'](_0x32ebd9),this['listenTo'](_0x3b06f4,'change:activeAnnotation',(_0x1698cb,_0x54216f,_0x1728b9,_0x2c4b08)=>{_0x2c4b08&&_0x414ba9['_removeActiveAnnotation'](_0x2c4b08),_0x1728b9&&_0x414ba9['_addActiveAnnotation'](_0x1728b9);});}['deactivate'](_0x3072cb){if(this['activeUIs']['delete'](_0x3072cb),!this['_uis']['has'](_0x3072cb))throw new _0x522f1f('annotationsuis-missing-ui',this,{'uiName':_0x3072cb});const _0x629c18=this['_uis']['get'](_0x3072cb);_0x629c18['detach'](),this['stopListening'](_0x629c18),this['uisData']['get'](_0x3072cb)['collection']['destroy'](),this['uisData']['delete'](_0x3072cb);}['switchTo'](_0x1ba370){if(!this['_uis']['has'](_0x1ba370))throw new _0x522f1f('annotationsuis-missing-ui',this,{'uiName':_0x1ba370});const _0x414b58=this['context']['plugins']['get'](Annotations),_0x347476=Array['from'](_0x414b58['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x1ba370);const _0xe863e3=this['_uis']['get'](_0x1ba370);_0xe863e3['setActiveAnnotation'](_0x347476),_0xe863e3['_setSelectedAnnotations']&&_0x347476&&_0xe863e3['_setSelectedAnnotations']([_0x347476]);}['deactivateAll'](){for(const _0x3e6a79 of this['activeUIs'])this['deactivate'](_0x3e6a79);}['register'](_0xedbc56,_0x266c85){if(this['_uis']['has'](_0xedbc56))throw new _0x522f1f('annotationsuis-register-already-registered');if('function'!=typeof _0x266c85['attach']||'function'!=typeof _0x266c85['detach']||'function'!=typeof _0x266c85['setActiveAnnotation'])throw new _0x522f1f('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0xedbc56,_0x266c85);}['refilterAnnotations'](){const _0x1d12a3=this['context']['plugins']['get'](Annotations)['collection'],_0xff9bcd=new Map(),_0x24c5ce=Array['from'](this['activeUIs']);for(const _0x31d193 of this['activeUIs']){const _0x444982=this['uisData']['get'](_0x31d193)['collection'];for(const _0x2bb521 of _0x444982)_0xff9bcd['set'](_0x2bb521,_0x31d193);}for(const _0x16df2a of _0x1d12a3){const _0x6f440e=_0xff9bcd['get'](_0x16df2a);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x16df2a);const _0x228f02=_0x24c5ce['find'](_0xa3ebfd=>this['uisData']['get'](_0xa3ebfd)['filter'](_0x16df2a));_0x6f440e!==_0x228f02&&(_0x6f440e&&this['uisData']['get'](_0x6f440e)['collection']['remove'](_0x16df2a),_0x228f02&&this['uisData']['get'](_0x228f02)['collection']['add'](_0x16df2a));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x20db50){const _0x3d3df9=[];for(const _0x3157b5 of this['activeUIs']){(0x0,this['uisData']['get'](_0x3157b5)['filter'])(_0x20db50)&&_0x3d3df9['push'](_0x3157b5);}if(_0x3d3df9['length']>0x1)throw new _0x522f1f('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x3d3df9,'annotationType':_0x20db50['type']});}}const Pg=/* #__PURE__ -- @preserve */
_0x27e6af('px');class AnnotationsSidebarView extends _0xa34d16{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x2d604d){super(_0x2d604d);const _0x2e215a=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 _0xafcb0e(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x2e215a['to']('class')],'style':{'minHeight':_0x2e215a['to']('minHeight',_0x164f7f=>'number'==typeof _0x164f7f?Pg(_0x164f7f+0xa):null)},'dir':_0x2d604d['uiLanguageDirection'],'role':'application','aria-label':pg(_0x2d604d,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':pg(_0x2d604d,'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',_0x272d54=>{this['_updateItemPositionInFocusables'](_0x272d54['source']);}),this['list']['forEach'](_0x40712f=>{this['focusTracker']['add'](_0x40712f['element']),this['_updateItemPositionInFocusables'](_0x40712f);}),this['list']['on']('change',(_0x4a2919,_0x4574c8)=>{for(const _0x4f4165 of _0x4574c8['removed'])this['focusTracker']['remove'](_0x4f4165['element']),this['focusables']['remove'](_0x4f4165);for(const _0x43d192 of _0x4574c8['added'])this['focusTracker']['add'](_0x43d192['element']),this['_updateItemPositionInFocusables'](_0x43d192);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x33a1ae){const _0x55aa99=this['focusables']['getIndex'](_0x33a1ae);let _0x115dc3,_0x545df2;for(const _0x5bd603 of this['focusables'])if(_0x33a1ae['top']<_0x5bd603['top']){_0x115dc3=_0x5bd603;break;}if(_0x545df2=_0x115dc3?this['focusables']['getIndex'](_0x115dc3):this['focusables']['length'],-0x1!==_0x55aa99){if(_0x55aa99===_0x545df2-0x1)return;this['focusables']['remove'](_0x33a1ae),_0x545df2=_0x115dc3?this['focusables']['getIndex'](_0x115dc3):this['focusables']['length'];}this['focusables']['add'](_0x33a1ae,_0x545df2);}}const Mg=/* #__PURE__ -- @preserve */
_0x27e6af('px');class AnnotationsSidebarItemView extends _0xa34d16{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x553a62){super(_0x553a62),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x14995c,_0x106d57)=>_0x14995c+_0x106d57),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=bg(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x359e57=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x359e57['to']('isAnimationDisabled',_0x29ccad=>_0x29ccad?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x359e57['to']('top',_0x178fe6=>Mg(_0x178fe6))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x3788cf=this['element']['clientHeight'];_0x3788cf&&(this['height']=_0x3788cf);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class Sidebar extends _0x304a5a{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1803e5){super(_0x1803e5),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 _0x5ba103=this['context']['config']['get']('sidebar.container');_0x5ba103&&this['setContainer'](_0x5ba103);}['setContainer'](_0x1e9a2b){if(!Lg(_0x1e9a2b))throw new _0x522f1f('sidebar-setcontainer-invalid-element');this['container']=_0x1e9a2b;}['_attachToContainer']({viewClass:_0x20c56d='',spaceBetweenItems:_0x26039d=0x19}={}){if(!Lg(this['container']))throw new _0x522f1f('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x20c56d,this['_spaceBetweenItems']=_0x26039d;}['rearrange']({removedAnnotation:_0x3dc3e9,previousAnnotation:_0x559666,nextAnnotation:_0x337d7f}){const _0x4b0e2f=this['getSidebarItemView'](_0x3dc3e9);this['view']['list']['remove'](_0x4b0e2f),this['_destroySidebarItemView'](_0x3dc3e9),_0x559666&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x559666)),_0x337d7f&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x337d7f)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x4571f4,activatedAnnotation:_0x1391ea,disableAnimationOnActivatedAnnotation:_0x485d81}){if(this['_activeAnnotation']=_0x1391ea,_0x4571f4){_0x4571f4['isActive']=!0x1;const _0x4894d9=this['getSidebarItemView'](_0x4571f4);_0x4894d9&&_0x485d81&&(_0x4894d9['isAnimationDisabled']=!0x1);}if(_0x1391ea){const _0x8a1a18=this['getSidebarItemView'](_0x1391ea);_0x8a1a18&&(_0x1391ea['isActive']=!0x0,_0x485d81&&(_0x8a1a18['isAnimationDisabled']=!0x0,_0x8a1a18['top']+=0x1),this['_alignToTargetRect'](_0x8a1a18));}}['_detachFromContainer'](_0x15b877){if(this['view']['element']['remove'](),_0x15b877){for(const _0x59a931 of _0x15b877)this['_destroySidebarItemView'](_0x59a931);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x587232,_0x58c3b3){_0x58c3b3||(_0x58c3b3=_0x587232['view']);const _0x49161a=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x49161a,_0x587232),this['_annotationToSidebarItemView']['set'](_0x587232,_0x49161a),_0x49161a['content']['add'](_0x58c3b3),this['listenTo'](_0x587232['view'],'change:targetRect',(_0x35b05f,_0x8d60a3,_0x136778)=>{const _0xa9ea4a=this['_getTargetTop'](_0x587232,_0x136778);_0x49161a['_targetTop']!=_0xa9ea4a&&(_0x49161a['_targetTop']=_0xa9ea4a,this['_setItemTop'](_0x49161a,_0xa9ea4a));}),this['listenTo'](_0x49161a,'change:top',()=>{this['_recalculate'](_0x49161a,'top');}),this['listenTo'](_0x49161a,'change:bottom',()=>{this['_recalculate'](_0x49161a,'bottom');}),this['_alignToTargetRect'](_0x49161a);const _0x94803d=this['_getItemBefore'](_0x49161a);if(_0x94803d)this['_alignAfterItem'](_0x94803d,_0x49161a)||this['_alignToTargetRect'](_0x49161a);else this['_alignToTargetRect'](_0x49161a);return this['_updateLastItem'](),this['view']['list']['add'](_0x49161a),_0x49161a;}['_alignForTopChange'](_0x13723e){if(!_0x13723e['content']['length'])return;const _0x50c5ba=this['_getItemBefore'](_0x13723e);if(!_0x50c5ba)return;const _0x39902a=this['_sidebarItemViewToAnnotation']['get'](_0x50c5ba),_0x20129d=this['_activeAnnotation'];_0x20129d&&_0x20129d===_0x39902a?this['_alignAfterItem'](_0x50c5ba,_0x13723e):this['_alignBeforeItem'](_0x13723e,_0x50c5ba);}['_alignForBottomChange'](_0x20589b){if(!_0x20589b['content']['length'])return;const _0x58739c=this['_getItemAfter'](_0x20589b);if(!_0x58739c)return;const _0x38e1db=this['_sidebarItemViewToAnnotation']['get'](_0x58739c),_0x3df222=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x31145e=this['_activeAnnotation'];_0x31145e&&_0x31145e===_0x38e1db&&_0x3df222?(this['_alignBeforeItem'](_0x58739c,_0x20589b),this['_alignAfterItem'](_0x20589b,_0x58739c)):_0x31145e&&_0x31145e===_0x38e1db?this['_alignBeforeItem'](_0x58739c,_0x20589b):this['_alignAfterItem'](_0x20589b,_0x58739c);}['_recalculate'](_0x5ae7b9,_0x5c6022){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x15edcf,changedProp:_0x5e7ebb}of this['_recalculateBuffer'])'top'===_0x5e7ebb?this['_alignForTopChange'](_0x15edcf):this['_alignForBottomChange'](_0x15edcf);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x5ae7b9,'changedProp':_0x5c6022});}['getSidebarItemView'](_0x1e986e){return this['_annotationToSidebarItemView']['get'](_0x1e986e);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x5ded39){const _0x44f550=this['getSidebarItemView'](_0x5ded39);this['stopListening'](_0x44f550),this['stopListening'](_0x5ded39['view']),_0x44f550['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x5ded39),this['_sidebarItemViewToAnnotation']['delete'](_0x44f550);}['_createSidebarView'](){const _0xc9f9d7=new AnnotationsSidebarView(this['context']['locale']);return _0xc9f9d7['render'](),this['on']('change:_lastItem',(_0x4d5975,_0x41d66e,_0x5c162f,_0xa4430f)=>{_0xa4430f&&_0xc9f9d7['unbind']('minHeight'),_0x5c162f?_0xc9f9d7['bind']('minHeight')['to'](_0x5c162f,'bottom'):_0xc9f9d7['minHeight']=null;}),_0xc9f9d7;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x96af75){const _0x5d7a7f=this['_sidebarItemViewToAnnotation']['get'](_0x96af75),_0x21edf7=_0x5d7a7f&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x5d7a7f)-0x1);return _0x21edf7&&this['getSidebarItemView'](_0x21edf7)||null;}['_getItemAfter'](_0x2926af){const _0x48c79e=this['_sidebarItemViewToAnnotation']['get'](_0x2926af),_0x48ec10=_0x48c79e&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x48c79e)+0x1);return _0x48ec10&&this['getSidebarItemView'](_0x48ec10)||null;}['_alignBeforeItem'](_0x4fa3be,_0x3b40dc){_0x4fa3be['updateHeight']();const _0x372a3e=Ng(_0x3b40dc['bottom']+this['_spaceBetweenItems'],_0x4fa3be['top']);return!!_0x372a3e&&(this['_setItemTop'](_0x3b40dc,_0x3b40dc['top']-_0x372a3e),!0x0);}['_alignAfterItem'](_0x240f7a,_0x29e3db){_0x240f7a['updateHeight']();const _0x3cdd88=Ng(_0x240f7a['bottom']+this['_spaceBetweenItems'],_0x29e3db['top']);return!!_0x3cdd88&&(this['_setItemTop'](_0x29e3db,_0x29e3db['top']+_0x3cdd88,!0x1),!0x0);}['_alignToTargetRect'](_0xbe88){const _0x389c68=this['_sidebarItemViewToAnnotation']['get'](_0xbe88);if(!_0x389c68||!_0x389c68['target']||!_0x389c68['targetRect'])return;const _0x1e887b=this['_getTargetTop'](_0x389c68,_0x389c68['targetRect']);this['_setItemTop'](_0xbe88,_0x1e887b);}['_getTargetTop'](_0x57f463,_0x86f14){if(null===_0x86f14)return 0x0;if(_0x57f463['target']instanceof _0x2bf707)return _0x86f14['top'];{const _0x243221=new _0x2bf707(this['view']['element'])['top'];return _0x86f14['top']-_0x243221;}}['_setItemTop'](_0x163b89,_0x54c16f,_0x24448f=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x24448f&&(_0x54c16f=Math['max'](_0x54c16f,this['_getMaxAvailableTop'](_0x163b89))),_0x163b89['top']=_0x54c16f;}['_getMaxAvailableTop'](_0x395897){let _0x426738=this['_getItemBefore'](_0x395897),_0x213220=0x0;for(;_0x426738;)_0x426738['updateHeight'](),_0x213220+=this['_spaceBetweenItems']+_0x426738['height'],_0x426738=this['_getItemBefore'](_0x426738);return _0x213220;}}function Ng(_0x294cf2,_0x8682e5){return Math['max'](_0x294cf2-_0x8682e5,0x0);}function Lg(_0x4fed20){return null!==_0x4fed20&&'object'==typeof _0x4fed20&&0x1===_0x4fed20['nodeType'];}class WideSidebar extends _0x304a5a{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[Sidebar,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1f7b89){super(_0x1f7b89),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x47a54f(),this['_refreshPositioningDebounced']=Fr(()=>{_0x1f7b89['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x3181f3=this['context']['plugins']['get'](AnnotationsUIs),_0x4e0fb7=this['context']['plugins']['get'](Sidebar);_0x3181f3['register']('wideSidebar',this),_0x4e0fb7['container']&&_0x3181f3['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x23ebab){if(_0x23ebab===this['activeAnnotation'])return;const _0x41cb58=this['context']['plugins']['get'](Sidebar);_0x41cb58['_activeAnnotation']=_0x23ebab;const _0x5a6793=this['activeAnnotation'];_0x41cb58['refresh']({'blurredAnnotation':_0x5a6793,'activatedAnnotation':_0x23ebab}),this['activeAnnotation']=_0x23ebab;}['attach'](_0x21baf5){this['annotations']=_0x21baf5;const _0x264f68=this['context']['plugins']['get'](Sidebar);if(_0x264f68['_annotations']=_0x21baf5,this['isAttached'])throw new _0x522f1f('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x264f68,'set:container',()=>{this['detach'](),this['listenTo'](_0x264f68,'change:container',_0x14eebb=>{_0x14eebb['off'](),this['attach'](_0x21baf5);});}),_0x264f68['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0xfe516d=_0x6ce82f=>{_0x6ce82f['updateTargetRect'](),_0x264f68['addAnnotation'](_0x6ce82f);};for(const _0x8fbef8 of _0x21baf5)_0xfe516d(_0x8fbef8);this['listenTo'](_0x21baf5,'add',(_0x119981,_0x1235e6)=>{_0xfe516d(_0x1235e6);}),this['listenTo'](_0x21baf5,'remove',(_0x1146a2,_0xcc2ef0,_0x5043b5)=>{_0x264f68['rearrange']({'removedAnnotation':_0xcc2ef0,'previousAnnotation':_0x21baf5['get'](_0x5043b5-0x1),'nextAnnotation':_0x21baf5['get'](_0x5043b5+0x1)}),_0xcc2ef0===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x21baf5,'focus',(_0x437688,_0x1032a3)=>{this['setActiveAnnotation'](_0x1032a3);}),this['listenTo'](_0x21baf5,'blur',()=>{this['setActiveAnnotation'](null);});const _0x1a3fba=this['context']instanceof _0x5152d3?this['context']['editors']:new _0x47a54f([this['context']]);for(const _0x17e7ac of _0x1a3fba)this['_integrateWithEditorAnnotations'](_0x17e7ac);this['listenTo'](_0x1a3fba,'add',(_0xd87229,_0x4a6910)=>{this['listenTo'](_0x4a6910,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x4a6910);});}),this['listenTo'](_0x1a3fba,'remove',(_0x1e182d,_0x32053b)=>{_0x32053b['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x32053b['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x522f1f('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x46ea36=this['context']['plugins']['get'](Sidebar);_0x46ea36['_detachFromContainer'](this['annotations']),this['stopListening'](_0x46ea36),this['stopListening'](this['annotations']),this['context']instanceof _0x5152d3&&this['stopListening'](this['context']['editors']);for(const _0x5e8282 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x5e8282);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x4d173a){if(!_0x4d173a['plugins']['has']('EditorAnnotations'))return;const _0x3dd5ed=_0x4d173a['plugins']['get']('EditorAnnotations'),_0xafe8b2=()=>{const _0x53cb89=_0x3dd5ed['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x53cb89[0x0]||null);};this['listenTo'](_0x3dd5ed,'refresh',_0xafe8b2),this['listenTo'](_0x3dd5ed,'blur',(_0x2f223f,{isAnnotationTracked:_0x48ab06})=>{this['activeAnnotation']&&_0x48ab06(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x3dd5ed,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x292bf6=>{_0x3dd5ed['hasDomSelection']()&&(_0xafe8b2(),_0x292bf6['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x3dd5ed);}['_destroyEditorAnnotationsIntegration'](_0x3e857f){this['stopListening'](_0x3e857f),this['_editorAnnotations']['remove'](_0x3e857f);}}class AnnotationCounterButtonView extends _0x4c508c{['counterView'];constructor(_0x1590ef){super(_0x1590ef);const _0x511179=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0xba3b91,_0x49b37f)=>_0xba3b91?'...':_0x49b37f['toString']()),this['set']('annotationType',''),this['icon']=_0x3f7577,this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0xa34d16(),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x511179['to']('annotationType',_0x2a2a32=>'ck-annotation-counter__badge--'+_0x2a2a32),_0x511179['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x511179['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class NarrowSidebar extends _0x304a5a{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[Sidebar,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1df9ba){super(_0x1df9ba),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0x3c72d0())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x47a54f(),this['_refreshPositioningDebounced']=Fr(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new ft(this['context']['locale']),this['balloonPanelView']=new mt(this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x1066d6){this['annotations']=_0x1066d6;const _0x55b395=this['context']['plugins']['get'](Sidebar),_0xe9c3a5=this['balloonPanelView'];if(_0x55b395['_annotations']=_0x1066d6,this['isAttached'])throw new _0x522f1f('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x55b395,'set:container',()=>{this['detach'](),this['listenTo'](_0x55b395,'change:container',_0x4e1472=>{_0x4e1472['off'](),this['attach'](_0x1066d6);});}),_0x55b395['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x18971d=_0x5b6a0b=>{const _0x498d39=new AnnotationCounterButtonView(this['context']['locale']);_0x55b395['addAnnotation'](_0x5b6a0b,_0x498d39),this['_annotationToNarrowView']['set'](_0x5b6a0b,_0x498d39),_0x498d39['bind']('isDirty','annotationType','number')['to'](_0x5b6a0b['view'],'isDirty','type','length'),_0x498d39['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0xe9c3a5['content']['first']!==_0x5b6a0b['view']?(this['_showBalloon'](_0x5b6a0b),_0x5b6a0b['view']['element']['focus'](),this['setActiveAnnotation'](_0x5b6a0b)):this['setActiveAnnotation'](null);});};for(const _0x87d0ab of _0x1066d6)_0x18971d(_0x87d0ab);this['listenTo'](_0x1066d6,'add',(_0x313bc0,_0x5286d2)=>{_0x18971d(_0x5286d2);}),this['listenTo'](_0x1066d6,'remove',(_0x73db05,_0x4f3dab,_0x4061aa)=>{this['_annotationToNarrowView']['get'](_0x4f3dab)['destroy'](),this['_annotationToNarrowView']['delete'](_0x4f3dab),_0x55b395['rearrange']({'removedAnnotation':_0x4f3dab,'previousAnnotation':_0x1066d6['get'](_0x4061aa-0x1),'nextAnnotation':_0x1066d6['get'](_0x4061aa+0x1)}),_0x4f3dab===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x1066d6,'focus',(_0x7efd2b,_0x2df54f)=>{this['setActiveAnnotation'](_0x2df54f);}),this['listenTo'](_0x1066d6,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x587985,_0x192e34)=>{_0x192e34['keyCode']===_0x594067['esc']&&_0xe9c3a5['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0xe9c3a5['content']['first']),this['_hideBalloon'](),_0x192e34['stopPropagation'](),_0x192e34['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0xd8c17e,_0x1a0822)=>{const _0x455b21=_0x1a0822['target'];_0xe9c3a5['isVisible']&&_0xe9c3a5['element']['contains'](_0x455b21)||_0x55b395['view']['element']['contains'](_0x455b21)||_0xd8c17e['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x20a7d8=>_0x20a7d8['contains'](_0x455b21))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0xb8daec=this['context']instanceof _0x5152d3?this['context']['editors']:new _0x47a54f([this['context']]);for(const _0xe6dd7b of _0xb8daec)this['_integrateWithEditorAnnotations'](_0xe6dd7b);this['listenTo'](_0xb8daec,'add',(_0x36a57a,_0x57bee6)=>{this['listenTo'](_0x57bee6,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x57bee6);});}),this['listenTo'](_0xb8daec,'remove',(_0x235dd7,_0x405705)=>{_0x405705['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x405705['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x545341){if(_0x545341===this['activeAnnotation'])return;const _0xa4aded=this['context']['plugins']['get'](Sidebar);if(_0xa4aded['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x545341,'disableAnimationOnActivatedAnnotation':!0x0}),_0x545341)_0xa4aded['getSidebarItemView'](_0x545341)?this['_showBalloon'](_0x545341):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x545341;}['detach'](){if(!this['isAttached'])throw new _0x522f1f('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x561026=this['context']['plugins']['get'](Sidebar);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0xeba895=>_0xeba895['destroy']()),this['_annotationToNarrowView']['clear'](),_0x561026['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x5152d3&&this['stopListening'](this['context']['editors']);for(const _0x46ba95 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x46ba95);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'](_0xefa9b7){if(!_0xefa9b7['plugins']['has']('EditorAnnotations'))return;const _0x29ed62=_0xefa9b7['plugins']['get']('EditorAnnotations'),_0x437e9c=this['context']['plugins']['get'](Sidebar),_0x3bbf1e=this['annotations'],_0x5ef110=this['balloonPanelView'],_0x1ca863=()=>{const _0x5371b9=_0x29ed62['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x5371b9),this['setActiveAnnotation'](_0x5371b9[0x0]||null);};this['listenTo'](_0x29ed62,'refresh',_0x1ca863),this['listenTo'](_0x29ed62,'blur',(_0x3c5a2c,{isAnnotationTracked:_0x567a6c})=>{this['activeAnnotation']&&_0x567a6c(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x29ed62,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x3bbf1e,'blur',_0x55b0fd=>{_0x29ed62['hasDomSelection']()&&_0x55b0fd['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x4cfa97,_0x3a1cff)=>{const _0x5cb754=_0x3a1cff['target'];_0x5ef110['isVisible']&&_0x5ef110['element']['contains'](_0x5cb754)||_0x437e9c['view']['element']['contains'](_0x5cb754)||this['activeAnnotation']&&_0x29ed62['hasDomSelection']()&&(_0x1ca863(),_0x4cfa97['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x29ed62);}['_destroyEditorAnnotationsIntegration'](_0x45746b){_0x45746b&&(this['stopListening'](_0x45746b),this['_editorAnnotations']['remove'](_0x45746b));}['_setSelectedAnnotations'](_0x2e0e52){for(const _0x331867 of this['_selectedAnnotations'])_0x2e0e52['includes'](_0x331867)||this['_manuallyClosedAnnotationViews']['delete'](_0x331867['view']);this['_selectedAnnotations']=_0x2e0e52;}['_refreshPositioning'](){const _0x52781f=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x52781f['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x1a0d12){if(this['_manuallyClosedAnnotationViews']['has'](_0x1a0d12['view']))return;const _0x595ae0=this['balloonPanelView']['content']['first'];_0x595ae0!==_0x1a0d12['view']?(_0x595ae0&&this['_detachListeners'](_0x595ae0),this['_attachListeners'](_0x1a0d12['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x1a0d12['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x1280f1=this['balloonPanelView']['content']['first'],_0x4cbd4b=_0x1280f1&&this['annotations']['getByView'](_0x1280f1);if(!_0x4cbd4b||!this['_annotationToNarrowView']['has'](_0x4cbd4b))return;const _0x31b373=this['_annotationToNarrowView']['get'](_0x4cbd4b)['element'],_0x4b1d5f=(function(){const _0x10eda1=mt['defaultPositions'];return[_0x10eda1['southArrowNorthEast'],_0x10eda1['northArrowSouthEast'],_0x10eda1['southArrowNorth'],_0x10eda1['northArrowSouth'],_0x10eda1['southArrowNorthWest'],_0x10eda1['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x31b373,'positions':_0x4b1d5f});}['_hideBalloon'](){const _0x59b045=this['balloonPanelView'],_0x4d6a29=_0x59b045['content']['first'];_0x4d6a29&&(this['_detachListeners'](_0x4d6a29),_0x59b045['unpin'](),_0x59b045['content']['clear']());}['_attachListeners'](_0x22315){this['listenTo'](_0x22315,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x22315,'Esc',(_0x575faa,_0x204259)=>{this['_manuallyClosedAnnotationViews']['add'](_0x22315),this['_hideBalloon'](),_0x204259();});}['_detachListeners'](_0x3664ca){this['stopListening'](_0x3664ca);}}class InlineAnnotations extends _0x151d85{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,Dt,AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x7cd3ae){super(_0x7cd3ae),_0x7cd3ae['editing']['view']['addObserver'](_0x263f33),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x7cd3ae['plugins']['get'](Dt),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=Fr(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x3425a0=this['editor']['plugins']['get'](AnnotationsUIs);_0x3425a0['context']===this['editor']&&(_0x3425a0['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x27bd81,_0xd5fb47)=>{const _0x16d65d=this['_balloon'];if(this['isAttached']&&_0x16d65d['visibleView']){const _0x5f39ca=this['annotations']['getByView'](_0x16d65d['visibleView']);_0x5f39ca&&this['_closeAnnotation'](_0x5f39ca),_0xd5fb47();}}));}['afterInit'](){const _0x3d3315=this['editor']['plugins']['get'](AnnotationsUIs);_0x3d3315['context']===this['editor']&&(_0x3d3315['hasActive']()||_0x3d3315['switchTo']('inline'));}['setActiveAnnotation'](_0x6988e5){_0x6988e5!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x6988e5&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x6988e5)&&this['_addAnnotationToBalloon'](_0x6988e5,!0x0),_0x6988e5['isActive']=!0x0),_0x6988e5||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x6988e5);}['attach'](_0x11ca05){this['annotations']=_0x11ca05;const _0x5a5c03=this['editor']['plugins']['get'](AnnotationsUIs),_0x4dedfb=this['_balloon'];if(this['isAttached'])throw new _0x522f1f('inlineannotations-attach-already-attached',this);if(_0x5a5c03['context']!==this['editor'])throw new _0x522f1f('inlineannotations-not-allowed-with-context',this);const _0x5ec5f7=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x5ec5f7,'refresh',()=>{const _0x2a3e7d=_0x5ec5f7['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x27cc99,_0x1f70de;!this['_forceRefresh']&&(_0x27cc99=_0x2a3e7d,_0x1f70de=this['_selectedAnnotations'],_0x27cc99['length']===_0x1f70de['length']&&_0x27cc99['every'](_0x2414e9=>_0x1f70de['includes'](_0x2414e9)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x2a3e7d),this['setActiveAnnotation'](_0x2a3e7d[0x0]||null));}),this['listenTo'](_0x5ec5f7,'blur',(_0x26cc7a,{isAnnotationTracked:_0x568da2})=>{this['activeAnnotation']&&_0x568da2(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x5ec5f7,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0xfa799c,_0x4a699a,_0x247ace)=>{_0x247ace||this['setActiveAnnotation'](null);}),this['listenTo'](_0x11ca05,'remove',(_0x540a9e,_0x3b93c7)=>{this['_removeAnnotationFromBalloon'](_0x3b93c7),_0x3b93c7===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x4dedfb,'change:visibleView',(_0x334db0,_0x183498,_0x120e00,_0x436b43)=>{_0x436b43&&this['stopListening'](_0x436b43);const _0x219d33=_0x11ca05['getByView'](_0x120e00);_0x120e00&&_0x219d33&&(this['listenTo'](_0x120e00,'change:height',()=>{_0x4dedfb['updatePosition']();}),this['listenTo'](_0x120e00,'Esc',()=>{this['_closeAnnotation'](_0x219d33),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x219d33&&this['setActiveAnnotation'](_0x219d33));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x4dedfb['visibleView']&&(_0x11ca05['getByView'](_0x4dedfb['visibleView'])&&_0x4dedfb['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 _0x522f1f('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x3ec342 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x3ec342);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x447183){for(const _0x65fc37 of this['_selectedAnnotations'])_0x447183['includes'](_0x65fc37)||this['_manuallyClosed']['delete'](_0x65fc37);for(const _0x12472d of this['annotations'])_0x447183['includes'](_0x12472d)||this['_removeAnnotationFromBalloon'](_0x12472d);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x23bd23 of _0x447183)this['_addAnnotationToBalloon'](_0x23bd23);}this['_selectedAnnotations']=_0x447183;}['_addAnnotationToBalloon'](_0x70f408,_0x16f56e=!0x1){this['_manuallyClosed']['has'](_0x70f408)||(this['_addedAnnotations']['has'](_0x70f408)||this['_balloon']['hasView'](_0x70f408['view'])||(this['_addedAnnotations']['add'](_0x70f408),this['_balloon']['add']({'stackId':_0x70f408['view']['id'],'view':_0x70f408['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x70f408)}})),_0x16f56e&&this['_balloon']['showStack'](_0x70f408['view']['id']));}['_getBalloonTargetForAnnotation'](_0x32f2ad){const _0x20d1c3=_0x32f2ad['target'],_0x10f6ac=this['editor']['editing']['view'],_0x500927=_0x10f6ac['document']['selection']['getFirstRange'](),_0x1a2a98=_0x10f6ac['domConverter']['viewRangeToDom'](_0x500927);if(_0x1a2a98['collapse'](!0x0),_0x20d1c3){if(_0x20d1c3 instanceof _0x2bf707)return _0x20d1c3;let _0x50e7e9=[];for(const _0x5d471e of _0x20d1c3)_0x50e7e9['push'](..._0x2bf707['getDomElementRects'](_0x5d471e));_0x50e7e9=function(_0x130073){const _0x41b53d=[];let _0x17afdc=_0x130073[0x0];for(let _0x5d5a28=0x1;_0x5d5a28<_0x130073['length'];_0x5d5a28++)if($g(_0x17afdc,_0x130073[_0x5d5a28])){const _0x2d7b26=_0x130073[_0x5d5a28]['width'];_0x17afdc['width']+=_0x2d7b26,_0x17afdc['right']+=_0x2d7b26;}else _0x41b53d['push'](_0x17afdc),_0x17afdc=_0x130073[_0x5d5a28];return _0x41b53d['push'](_0x17afdc),_0x41b53d;}(_0x50e7e9);const _0x2338f2=_0x1a2a98['getBoundingClientRect']();return _0x50e7e9['find'](_0x5db4d2=>_0x5db4d2['top']<=_0x2338f2['top']&&_0x5db4d2['bottom']>=_0x2338f2['bottom']&&_0x5db4d2['left']<=_0x2338f2['left']&&_0x5db4d2['right']>=_0x2338f2['right'])||_0x50e7e9[0x0];}return _0x32f2ad['targetRect']||_0x1a2a98;}['_removeAnnotationFromBalloon'](_0x84ffa2){this['_addedAnnotations']['has'](_0x84ffa2)&&this['_balloon']['hasView'](_0x84ffa2['view'])&&(this['_addedAnnotations']['delete'](_0x84ffa2),this['_balloon']['remove'](_0x84ffa2['view']));}['_closeAnnotation'](_0x26021c){this['_manuallyClosed']['add'](_0x26021c),this['_removeAnnotationFromBalloon'](_0x26021c);}}function $g(_0x27610a,_0x4aa9dc){return _0x27610a['top']===_0x4aa9dc['top']&&_0x27610a['bottom']===_0x4aa9dc['bottom']&&_0x27610a['right']===_0x4aa9dc['left'];}class CommentsArchiveView extends _0xa34d16{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x167970,_0x3db0d4){super(_0x167970),this['set']('isEmpty',!_0x3db0d4['length']),this['focusTracker']=new _0xafcb0e(),this['_annotationViews']=_0x3db0d4,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new et({'focusables':_0x3db0d4,'focusTracker':this['focusTracker']}),this['listenTo'](_0x3db0d4,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x3db0d4,'remove',(_0x455fd5,_0x296f0b)=>{_0x296f0b['isActive']&&this['focus'](),_0x3db0d4['length']||(this['isEmpty']=!0x0);});const _0x497207=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':pg(_0x167970,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x3db0d4},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x497207['if']('isEmpty','ck-hidden',_0x40e847=>!_0x40e847)]},'children':[{'text':pg(_0x167970,'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 _0x4bc2ff of this['_annotationViews'])this['focusTracker']['add'](_0x4bc2ff['element']);this['_annotationViews']['on']('change',(_0x5ea911,{added:_0x35ea8a,removed:_0x4ca5e5})=>{for(const _0x38db98 of _0x35ea8a)this['focusTracker']['add'](_0x38db98['element']);for(const _0x55bb14 of _0x4ca5e5)this['focusTracker']['remove'](_0x55bb14['element']);});}}class CommentsArchive extends _0x304a5a{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x27d5c1){super(_0x27d5c1),this['archivedThreads']=new _0x47a54f();}['init'](){const _0x27ff84=this['context'],_0x2a4260=_0x27ff84['plugins']['get'](CommentsRepository),_0x1bfdbf=_0x27ff84['plugins']['get'](Annotations);this['listenTo'](_0x2a4260,'addCommentThread',(_0x16d4a4,{threadId:_0x598959})=>{const _0xffb346=_0x2a4260['getCommentThread'](_0x598959);_0xffb346['archivedAt']&&this['archivedThreads']['add'](_0xffb346,this['_calculatePosition'](_0xffb346['archivedAt'])),this['listenTo'](_0xffb346,'change:archivedAt',(_0x19520f,_0x2ec0c8,_0x495ee6)=>{_0x495ee6?this['archivedThreads']['has'](_0xffb346)||this['archivedThreads']['add'](_0xffb346,this['_calculatePosition'](_0xffb346['archivedAt'])):this['archivedThreads']['has'](_0xffb346)&&this['archivedThreads']['remove'](_0xffb346);});}),this['listenTo'](_0x2a4260,'removeCommentThread',(_0x50efbe,{threadId:_0x3c1d2a})=>{const _0x4b3acc=_0x2a4260['getCommentThread'](_0x3c1d2a);this['stopListening'](_0x4b3acc),this['archivedThreads']['has'](_0x4b3acc)&&this['archivedThreads']['remove'](_0x4b3acc);},{'priority':'highest'}),this['listenTo'](_0x1bfdbf['collection'],'focus',(_0x40c335,_0x131d71)=>{_0x131d71['isVisible']||(_0x131d71['isActive']=!0x0,_0x1bfdbf['activate'](_0x131d71));});}['_calculatePosition'](_0x558a58){const _0x4c0533=[...this['archivedThreads']]['findIndex'](_0x100f04=>_0x100f04['archivedAt']<_0x558a58);return _0x4c0533>-0x1?_0x4c0533:this['archivedThreads']['length'];}}class CommentsArchiveUI extends _0x151d85{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,st];}constructor(_0x5240d8){super(_0x5240d8),this['annotationViews']=new Et(),this['_pendingThreads']=[];}['init'](){const _0x3a9851=this['editor'],_0x2c31af=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x3a9851['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x4c508c,!0x0)),_0x3a9851['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x3fcdbd=this['_createCommentsArchiveButton'](at);return _0x3fcdbd['set']({'role':'menuitemcheckbox'}),_0x3fcdbd;});const _0x355046=_0x3a9851['plugins']['get'](CommentsArchive),_0x24993b=_0x3a9851['plugins']['get']('Annotations'),_0x1e5feb=_0x3a9851['plugins']['get']('CommentsRepository');_0x355046['archivedThreads']['forEach'](_0x2950d3=>{this['_handleNewThread'](_0x2950d3);}),this['listenTo'](_0x355046['archivedThreads'],'add',(_0x1c75b9,_0x5393b)=>{this['_handleNewThread'](_0x5393b);}),this['listenTo'](_0x24993b['collection'],'add',(_0x5c7200,_0x666e71)=>{const _0x5d883a=this['_pendingThreads']['find'](_0x42a55f=>{const _0x162266=_0x1e5feb['_threadToController']['get'](_0x42a55f);return _0x162266&&_0x666e71['innerView']===_0x162266['view'];});if(_0x5d883a){const _0x42ce07=this['_calculatePosition'](_0x5d883a['archivedAt']);this['_addAnnotationToArchive'](_0x666e71,_0x42ce07),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x5d883a),0x1);}}),this['listenTo'](_0x355046['archivedThreads'],'remove',(_0x65acd1,_0x134519)=>{const _0xbabe1=_0x3a9851['config']['get']('collaboration.channelId');if(!_0xbabe1||_0x134519['channelId']===_0xbabe1){if(this['_pendingThreads']['includes'](_0x134519))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x134519),0x1);else{const _0x24ee6c=_0x1e5feb['_threadToController']['get'](_0x134519),_0x344d1a=_0x24993b['getByInnerView'](_0x24ee6c['view']);this['annotationViews']['remove'](_0x344d1a['view']),this['stopListening'](_0x344d1a),this['stopListening'](_0x344d1a['focusableElements']);}}}),this['listenTo'](_0x24993b['collection'],'add',(_0x206401,_0x409f1a)=>{this['listenTo'](_0x409f1a,'escape',_0x2c31af);}),this['listenTo'](_0x24993b['collection'],'remove',(_0xd5a1ff,_0x128c24)=>{this['stopListening'](_0x128c24,'escape',_0x2c31af);});}['_addAnnotationToArchive'](_0x304cb8,_0x3c472f){this['listenTo'](_0x304cb8,'set:isVisible',_0xdbcbe2=>{_0xdbcbe2['return']=!0x1,_0xdbcbe2['stop']();}),this['annotationViews']['add'](_0x304cb8['view'],_0x3c472f);}['_handleNewThread'](_0x5b9c5c){const _0x53de93=this['editor']['plugins']['get']('CommentsRepository'),_0x28956d=this['editor']['plugins']['get']('Annotations'),_0x22ced0=this['editor']['config']['get']('collaboration.channelId');if(!_0x22ced0||_0x5b9c5c['channelId']===_0x22ced0){const _0x41c3e7=_0x53de93['_threadToController']['get'](_0x5b9c5c);if(!_0x41c3e7)return void this['_pendingThreads']['push'](_0x5b9c5c);const _0x341295=this['_calculatePosition'](_0x5b9c5c['archivedAt']),_0xfea255=_0x28956d['getByInnerView'](_0x41c3e7['view']);_0xfea255['isVisible']&&_0x28956d['_visibleAnnotations']['remove'](_0xfea255),this['_addAnnotationToArchive'](_0xfea255,_0x341295);}}['_calculatePosition'](_0x5971f7){const _0x4598b7=this['editor']['config']['get']('collaboration.channelId'),_0x13487a=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x35a467=>_0x35a467['channelId']===_0x4598b7)['findIndex'](_0x3cc072=>_0x3cc072['archivedAt']<_0x5971f7);return _0x13487a<0x0||_0x13487a>this['annotationViews']['length']?this['annotationViews']['length']:_0x13487a-0x1;}['_toggleDialog'](){const _0x1386e2=this['editor'],_0x5d6023=_0x1386e2['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x1386e2['locale'],this['annotationViews'])),'commentsArchive'===_0x5d6023['id']?_0x5d6023['hide']():_0x5d6023['show']({'id':'commentsArchive','title':pg(_0x1386e2['locale'],'COMMENTS_ARCHIVE'),'icon':_0x265a12,'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':ct['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x4a420a,_0x4f61e3=!0x1){const _0x534294=this['editor']['locale'],_0x507fbc=this['editor']['plugins']['get']('Dialog'),_0x4cf8fd=new _0x4a420a(_0x534294);return _0x4cf8fd['bind']('isEnabled')['to'](this,'isEnabled'),_0x4cf8fd['bind']('isOn')['to'](_0x507fbc,'id',_0x201720=>'commentsArchive'===_0x201720),_0x4cf8fd['set']({'label':pg(_0x534294,'COMMENTS_ARCHIVE'),'icon':_0x265a12,'isToggleable':!0x0}),_0x4f61e3&&(_0x4cf8fd['tooltip']=!0x0),this['listenTo'](_0x4cf8fd,'execute',()=>this['_toggleDialog']()),_0x4cf8fd;}['_hideDialogOnAnnotationEscape']=_0xe9953f=>{const _0x2ee894=_0xe9953f['source'];if(!this['annotationViews']['has'](_0x2ee894['view']))return;const _0x3a532a=this['editor']['plugins']['get']('Dialog');_0x3a532a['isOpen']&&'commentsArchive'===_0x3a532a['id']&&(_0x3a532a['hide'](),_0xe9953f['stop']());};}class Comments extends _0x151d85{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,WideSidebar,NarrowSidebar,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function Dg(_0x2ef214){let _0xaeafb='';for(const _0x3c2773 of _0x2ef214['getChildren']())_0x3c2773 instanceof _0x3b4df1&&(_0xaeafb+=_0x3c2773['data']);return _0xaeafb;}class DocumentOutlineUtils extends _0x151d85{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x468619=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1ae1a8=[];_0x468619['model']['document']['on']('change',Fr(()=>{const _0x2a9380=_0x1ae1a8;_0x1ae1a8=this['_getOutlineDefinitions']();const _0x4414f4=_0x48a903(_0x2a9380,_0x1ae1a8,(_0x5327a4,_0x1b3061)=>_0x5327a4['level']===_0x1b3061['level']&&_0x5327a4['text']===_0x1b3061['text']&&_0x5327a4['modelElement']===_0x1b3061['modelElement']),_0x1061ab=_0x45a9b4(_0x4414f4,_0x1ae1a8),_0x5b0e05=this['_getActiveHeading'](),_0xe93758=_0x1ae1a8['findIndex'](_0x39be93=>_0x39be93['modelElement']===_0x5b0e05);_0x1061ab['length']&&this['fire']('change',{'outlineDefinitions':_0x1ae1a8,'activeItemIndex':_0xe93758,'outlineChanges':_0x1061ab}),this['fire']('activeItemIndex',{'index':_0xe93758});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x1886db=this['editor'],_0x2b3d23=[],_0x2e9c48=this['_headingNames'];for(const _0x3f3a51 of _0x1886db['model']['document']['getRootNames']())_0x1dd62c(_0x1886db['model']['document']['getRoot'](_0x3f3a51));function _0x1dd62c(_0x1935d1){for(const _0x24805f of _0x1935d1['getChildren']())_0x24805f['is']('element')&&(_0x2e9c48['includes'](_0x24805f['name'])&&_0x2b3d23['push']({'level':_0x2e9c48['indexOf'](_0x24805f['name'])+0x1,'text':Dg(_0x24805f),'modelElement':_0x24805f}),_0x1dd62c(_0x24805f));}return _0x2b3d23;}['_getActiveHeading'](){const _0x2188b6=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5303a1=new _0x483405({'direction':'backward','startPosition':_0x2188b6});for(const _0x57f437 of _0x5303a1)if(_0x57f437['item']['is']('element')&&this['_headingNames']['includes'](_0x57f437['item']['name']))return _0x57f437['item'];}['_getHeadingNames'](){const _0x221c1d=this['editor']['config']['get']('documentOutline.headings');return _0x221c1d||function(_0xcbabb9){const _0x2fea92=_0xcbabb9['config']['get']('heading.options');return _0x2fea92?_0x2fea92['reduce']((_0x5a8f53,_0x362bfa)=>('paragraph'!==_0x362bfa['model']&&_0x5a8f53['push'](_0x362bfa['model']),_0x5a8f53),[]):_0xcbabb9['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x167978=this['editor'],_0x5f057c=['h1','h2','h3','h4','h5','h6'],_0x19cf90=[];for(const _0x3163d7 of _0x5f057c){const _0x4c2455=_0x167978['editing']['view']['domConverter']['domToView'](document['createElement'](_0x3163d7)),_0x15c2e3=_0x167978['data']['toModel'](_0x4c2455)['getChild'](0x0);_0x15c2e3?.['is']('element')&&_0x19cf90['push'](_0x15c2e3['name']);}this['_headingNames']=_0x19cf90;}}function Qg(_0x1d3926,_0x425170){const t=_0x1d3926['t'];switch(_0x425170){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 _0x425170;}}class DocumentOutlineItemView extends _0xa34d16{constructor(_0xa37ee1,_0x5c3044=!0x1){super(_0xa37ee1);const _0x4f5c65=this['bindTemplate'],_0x13f2f8=_0x5c3044?'['+Qg(_0xa37ee1,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x23f209=>!_0x23f209),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x4f5c65['to']('level',_0x3cc99c=>'ck-document-outline__item_level-'+_0x3cc99c),_0x4f5c65['if']('isActive','ck-document-outline__item_active'),_0x4f5c65['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x4f5c65['to']('text')},'children':[{'text':_0x4f5c65['to']('text',_0x25e821=>_0x25e821||_0x13f2f8)}],'on':{'click':_0x4f5c65['to']('click')}});}}class DocumentOutlineView extends _0xa34d16{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x105afa,_0x126cc4=!0x1,_0x16c25d){super(_0x105afa),this['showEmptyHeadingText']=_0x126cc4,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x16c25d,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x252a93,_0x374456,_0x138b97,_0x2d2ac3)=>{this['_setActiveItem'](_0x2d2ac3,_0x138b97);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x105afa['contentLanguageDirection'],'data-document-outline-empty-placeholder':Qg(_0x105afa,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x2fd755){_0x2fd755['forEach'](_0xa70475=>{'insert'==_0xa70475['type']?this['_insertItem'](_0xa70475['index'],..._0xa70475['values']):'delete'==_0xa70475['type']&&this['_deleteItem'](_0xa70475['index'],_0xa70475['howMany']);});}['_setActiveItem'](_0x261d3a,_0x3a06ac){if(-0x1!==_0x261d3a){const _0x58c132=this['items']['get'](_0x261d3a);_0x58c132&&(_0x58c132['isActive']=!0x1);}-0x1!==_0x3a06ac&&(this['items']['get'](_0x3a06ac)['isActive']=!0x0,this['_scrollToItem'](_0x3a06ac));}['_insertItem'](_0xc4fadc,..._0x52e77f){const _0x351348=_0x52e77f['map']((_0x34ccc7,_0x1ec76f)=>{const _0x430c41=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x430c41['text']=_0x34ccc7['text'],_0x430c41['level']=_0x34ccc7['level'],_0xc4fadc+_0x1ec76f===this['activeItemIndex']&&(_0x430c41['isActive']=!0x0),_0x430c41;});this['items']['addMany'](_0x351348,_0xc4fadc);}['_deleteItem'](_0x3b9115,_0x4ef9c2){do{this['items']['remove'](_0x3b9115);}while(--_0x4ef9c2);}['_handleItemClick'](_0x535b24){const _0x23ca03=this['items']['getIndex'](_0x535b24['source']);this['fire']('itemSelected',_0x23ca03);}['_scrollToItem'](_0x12f514){_0x1f5771(this['items']['get'](_0x12f514)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x151d85{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a0b7d){super(_0x5a0b7d),this['view']=new DocumentOutlineView(_0x5a0b7d['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=jr(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x517100=this['editor'],_0x3a5d86=_0x517100['plugins']['get']('DocumentOutlineUtils');let _0x4e22ce=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x517100['config']['get']('documentOutline.container'))throw new _0x522f1f('document-outline-container-not-provided',{'editor':_0x517100});_0x517100['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x3a5d86['on']('change',this['_handleOutlineChange']['bind'](this)),_0x3a5d86['on']('activeItemIndex',(_0xd009e9,{index:_0x382bd5})=>this['_setActiveViewItem'](_0x382bd5)),this['view']['on']('itemSelected',(_0x26eabd,_0x26884f)=>{_0x4e22ce=!0x0,this['_handleItemSelected'](_0x26884f);}),this['view']['listenTo'](_0x313644['document'],'scroll',()=>{_0x4e22ce?_0x4e22ce=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x313644['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x2b0cb3){const _0x2adcad=_0x540d99([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x1ad9f0=0x1cb264a3,_0x2512cd=0x1cb5ef73^_0x1ad9f0,_0x1e2dbe=window[_0x540d99([0x44,0x61,0x74,0x65])][_0x540d99([0x6e,0x6f,0x77])](),_0x3d397f=_0x2b0cb3[_0x540d99([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a5d6e=new window[(_0x540d99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9c2280=>{_0x3d397f[_0x540d99([0x6f,0x6e,0x63,0x65])](_0x540d99([0x72,0x65,0x61,0x64,0x79]),_0x9c2280);}),_0x26f112={[_0x540d99([0x6b,0x74,0x79])]:_0x540d99([0x45,0x43]),[_0x540d99([0x75,0x73,0x65])]:_0x540d99([0x73,0x69,0x67]),[_0x540d99([0x63,0x72,0x76])]:_0x540d99([0x50,0x2d,0x32,0x35,0x36]),[_0x540d99([0x78])]:_0x540d99([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x540d99([0x79])]:_0x540d99([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x540d99([0x61,0x6c,0x67])]:_0x540d99([0x45,0x53,0x32,0x35,0x36])},_0x47d31b=_0x3d397f[_0x540d99([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x540d99([0x67,0x65,0x74])](_0x540d99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2dece5(){let _0x5dc534,_0x444e55=null,_0x51929d=null;try{if(_0x47d31b==_0x540d99([0x47,0x50,0x4c]))return _0x540d99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5dc534=_0x1ba081(),!_0x5dc534)return _0x540d99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5dc534[_0x540d99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51929d=_0x1c6bf5(_0x5dc534[_0x540d99([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5dc534[_0x540d99([0x6a,0x74,0x69])])),await _0x31a236()?_0x1ef9a1()?_0x198d5b()?_0x540d99([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x586df1()?(_0x5dc534[_0x540d99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x540d99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x444e55=_0x57c794(_0x540d99([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ea48f()):_0x540d99([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x540d99([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x540d99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x540d99([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x198d5b(){const _0x44d6dc=[_0x540d99([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x540d99([0x74,0x72,0x69,0x61,0x6c])][_0x540d99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5dc534[_0x540d99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e2dbe/0x3e8:0xe10*_0x2512cd;return _0x5dc534[_0x540d99([0x65,0x78,0x70])]<_0x44d6dc;}function _0x1ef9a1(){const _0x2e5a13=_0x5dc534[_0x540d99([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2e5a13&&(!!_0x2e5a13[_0x540d99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540d99([0x2a]))||(!!_0x2e5a13[_0x540d99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540d99([0x44,0x4f]))||(!!_0x2e5a13[_0x540d99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540d99([0x50,0x50]))||!(!_0x2e5a13[_0x540d99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540d99([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2bc826()))));}function _0x586df1(){const _0x58c2b4=_0x5dc534[_0x540d99([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58c2b4||0x0==_0x58c2b4[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16859e}=new URL(window[_0x540d99([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x58c2b4[_0x540d99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16859e))return!0x0;const _0x2576a1=_0x16859e[_0x540d99([0x73,0x70,0x6c,0x69,0x74])](_0x540d99([0x2e]));return _0x58c2b4[_0x540d99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf26b83=>_0xf26b83[_0x540d99([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x540d99([0x2a])))[_0x540d99([0x6d,0x61,0x70])](_0x26c238=>_0x26c238[_0x540d99([0x73,0x70,0x6c,0x69,0x74])](_0x540d99([0x2e])))[_0x540d99([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49050d=>_0x49050d[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2576a1[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x540d99([0x6d,0x61,0x70])](_0x274eb0=>Array(_0x2576a1[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x274eb0[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x540d99([0x66,0x69,0x6c,0x6c])](_0x274eb0[0x0]===_0x540d99([0x2a])?_0x540d99([0x2a]):'')[_0x540d99([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x274eb0))[_0x540d99([0x73,0x6f,0x6d,0x65])](_0x38ab4e=>_0x2576a1[_0x540d99([0x65,0x76,0x65,0x72,0x79])]((_0x9c31b9,_0x748afa)=>_0x38ab4e[_0x748afa]===_0x9c31b9||_0x38ab4e[_0x748afa]===_0x540d99([0x2a])));}function _0x4ea48f(){return _0x444e55&&_0x51929d?new window[(_0x540d99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2064d5,_0x5a6b79)=>{_0x444e55[_0x540d99([0x74,0x68,0x65,0x6e])](_0x2064d5,_0x5a6b79),_0x51929d[_0x540d99([0x74,0x68,0x65,0x6e])](_0x64e37b=>{_0x64e37b!=_0x540d99([0x56,0x61,0x6c,0x69,0x64])&&_0x2064d5(_0x64e37b);},_0x5a6b79);}):_0x444e55||_0x51929d||_0x540d99([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c6bf5(_0x531c31,_0x5618fe){return new window[(_0x540d99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d800c=>{if(_0x464d62())return _0x5d800c(_0x540d99([0x56,0x61,0x6c,0x69,0x64]));_0x1b5706(),_0x3d397f[_0x540d99([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x540d99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14ebb5=!0x1;const _0x1238ed=_0x3eda13();function _0x3f4465(_0x228f34){return!!_0x228f34&&(typeof _0x228f34===_0x540d99([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x228f34===_0x540d99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x228f34[_0x540d99([0x74,0x68,0x65,0x6e])]===_0x540d99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x228f34[_0x540d99([0x63,0x61,0x74,0x63,0x68])]===_0x540d99([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x531c39(_0x5e09b1){_0x18f809(_0x5e09b1)[_0x540d99([0x74,0x68,0x65,0x6e])](_0x248fd2=>{if(!_0x248fd2||_0x248fd2[_0x540d99([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x540d99([0x6f,0x6b]))return _0x540d99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x718901(_0x19cd03(_0x1238ed+_0x5618fe))!=_0x248fd2[_0x540d99([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x540d99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x540d99([0x56,0x61,0x6c,0x69,0x64]);})[_0x540d99([0x74,0x68,0x65,0x6e])](_0x5985bd=>(_0x5cda89(),_0x5985bd),()=>{const _0x1c0a9b=_0x539929();return null==_0x1c0a9b?(_0x5cda89(),_0x540d99([0x56,0x61,0x6c,0x69,0x64])):_0x540d99(_0x1e2dbe-_0x1c0a9b>(0x38bee0a3^_0x1ad9f0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x540d99([0x74,0x68,0x65,0x6e])](_0x5d800c)[_0x540d99([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d800c(_0x540d99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16d89d=0x1c848a23^_0x1ad9f0;function _0x5cda89(){const _0xb5c57d=_0x540d99([0x6c,0x6c,0x63,0x74,0x2d])+_0x718901(_0x19cd03(_0x531c31)),_0x34a1e4=_0x5339aa(_0x718901(window[_0x540d99([0x4d,0x61,0x74,0x68])][_0x540d99([0x63,0x65,0x69,0x6c])](_0x1e2dbe/_0x16d89d)));window[_0x540d99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x540d99([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb5c57d,_0x34a1e4);}function _0x539929(){const _0x535b8e=_0x540d99([0x6c,0x6c,0x63,0x74,0x2d])+_0x718901(_0x19cd03(_0x531c31)),_0x2d0f48=window[_0x540d99([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x540d99([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x535b8e);return _0x2d0f48?window[_0x540d99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5339aa(_0x2d0f48),0x10)*_0x16d89d:null;}function _0x18f809(_0x490547){return new window[(_0x540d99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57f00c,_0x5e9048)=>{_0x490547[_0x540d99([0x74,0x68,0x65,0x6e])](_0x57f00c,_0x5e9048),window[_0x540d99([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e9048,0x1cb3b063^_0x1ad9f0);});}}_0x3d397f[_0x540d99([0x6f,0x6e])](_0x540d99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b2ee3,_0x1079aa)=>{if(_0x1079aa[0x0]!=_0x531c31)return _0x5d800c(_0x540d99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1079aa[0x1]={..._0x1079aa[0x1],[_0x540d99([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1238ed};},{[_0x540d99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x540d99([0x68,0x69,0x67,0x68])}),_0x3d397f[_0x540d99([0x6f,0x6e])](_0x540d99([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b4981=>{_0x3f4465(_0x1b4981[_0x540d99([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14ebb5=!0x0,_0x531c39(_0x1b4981[_0x540d99([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x540d99([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x540d99([0x6c,0x6f,0x77])}),_0x5a5d6e[_0x540d99([0x74,0x68,0x65,0x6e])](()=>{_0x14ebb5||_0x5d800c(_0x540d99([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x464d62(){return _0x3d397f[_0x540d99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x540d99([0x76,0x69,0x65,0x77])][_0x540d99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x540d99([0x61,0x75,0x74,0x6f]);}function _0x1b5706(){_0x3d397f[_0x540d99([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x540d99([0x76,0x69,0x65,0x77])][_0x540d99([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x540d99([0x61,0x75,0x74,0x6f]);}}function _0x57c794(_0x10a66b){const _0x57df70=[new window[(_0x540d99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28682f=>setTimeout(_0x28682f,0x1cbb5a6f^_0x1ad9f0)),_0x5a5d6e[_0x540d99([0x74,0x68,0x65,0x6e])](()=>new window[(_0x540d99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3130f0=>{let _0x43c7bd=0x0;_0x3d397f[_0x540d99([0x6d,0x6f,0x64,0x65,0x6c])][_0x540d99([0x6f,0x6e])](_0x540d99([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x121bc5,_0x36dabc)=>{_0x36dabc[0x0][_0x540d99([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43c7bd++,_0x43c7bd==(0x1cb2614b^_0x1ad9f0)&&(_0x3130f0(),_0x121bc5[_0x540d99([0x6f,0x66,0x66])]());});}))];return window[_0x540d99([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x540d99([0x72,0x61,0x63,0x65])](_0x57df70)[_0x540d99([0x74,0x68,0x65,0x6e])](()=>_0x10a66b);}async function _0xac12aa(){await _0x5a5d6e,_0x3d397f[_0x540d99([0x6d,0x6f,0x64,0x65,0x6c])][_0x540d99([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f2314,_0x3d397f[_0x540d99([0x6d,0x6f,0x64,0x65,0x6c])][_0x540d99([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f2314,_0x3d397f[_0x540d99([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x540d99([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bc826(){return window[_0x540d99([0x67,0x6c,0x6f,0x62])]&&window[_0x540d99([0x67,0x6c,0x6f,0x62])][_0x540d99([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5a5357(_0x4bf0dc){const _0x54eb52=_0x2db86a();_0x3d397f[_0x54eb52]=_0x540d99([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4bf0dc,_0x4bf0dc!=_0x540d99([0x56,0x61,0x6c,0x69,0x64])&&_0xac12aa();}function _0x2db86a(){const _0x390b99=window[_0x540d99([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x540d99([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x540d99([0x6e,0x6f,0x77])]())[_0x540d99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x540d99([0x2e]),'');let _0x25aeb9=_0x540d99([0x61]);for(let _0x30e2d6=0x0;_0x30e2d6<_0x390b99[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30e2d6+=0x2){let _0x1eb320=window[_0x540d99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x390b99[_0x540d99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30e2d6,_0x30e2d6+0x2));_0x1eb320>=_0x2adcad[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1eb320-=_0x2adcad[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25aeb9+=_0x2adcad[_0x1eb320];}return _0x25aeb9;}function _0x1ba081(){const _0x14c7fa=_0x47d31b[_0x540d99([0x73,0x70,0x6c,0x69,0x74])](_0x540d99([0x2e]));if(0x3!=_0x14c7fa[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a2442(_0x14c7fa[0x1]);function _0x4a2442(_0x5e5e5a){const _0x2027f2=_0x3a857a(_0x5e5e5a);return _0x2027f2&&_0xc7980e()?_0x2027f2:null;function _0xc7980e(){const _0x3eac97=_0x2027f2[_0x540d99([0x6a,0x74,0x69])],_0x5b08e4=window[_0x540d99([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3eac97[_0x540d99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3eac97[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f788c={..._0x2027f2,[_0x540d99([0x6a,0x74,0x69])]:_0x3eac97[_0x540d99([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3eac97[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f788c[_0x540d99([0x76,0x63])],_0x19cd03(_0x1f788c)==_0x5b08e4;}}}async function _0x31a236(){let _0x23c030=!0x0;try{const _0x2fdeca=_0x47d31b[_0x540d99([0x73,0x70,0x6c,0x69,0x74])](_0x540d99([0x2e])),[_0x2f8244,_0x1bd561,_0x1bb809]=_0x2fdeca;return _0x34ea58(_0x2f8244),await _0x2a8e20(_0x2f8244,_0x1bd561,_0x1bb809),_0x23c030;}catch{return!0x1;}function _0x34ea58(_0x3c00cc){const _0x54be75=_0x3a857a(_0x3c00cc);_0x54be75&&_0x54be75[_0x540d99([0x61,0x6c,0x67])]==_0x540d99([0x45,0x53,0x32,0x35,0x36])||(_0x23c030=!0x1);}async function _0x2a8e20(_0x352786,_0x2a0c62,_0x5abe04){const _0x2490ba=window[_0x540d99([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x540d99([0x66,0x72,0x6f,0x6d])](_0x44b0ad(_0x5abe04),_0x3faaff=>_0x3faaff[_0x540d99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30c708=new window[(_0x540d99([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x540d99([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x352786+_0x540d99([0x2e])+_0x2a0c62),_0x45c24f=window[_0x540d99([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x540d99([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45c24f)return;const _0x565eb8=await _0x45c24f[_0x540d99([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x540d99([0x6a,0x77,0x6b]),_0x26f112,{[_0x540d99([0x6e,0x61,0x6d,0x65])]:_0x540d99([0x45,0x43,0x44,0x53,0x41]),[_0x540d99([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x540d99([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x540d99([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45c24f[_0x540d99([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x540d99([0x6e,0x61,0x6d,0x65])]:_0x540d99([0x45,0x43,0x44,0x53,0x41]),[_0x540d99([0x68,0x61,0x73,0x68])]:{[_0x540d99([0x6e,0x61,0x6d,0x65])]:_0x540d99([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x565eb8,_0x2490ba,_0x30c708)||(_0x23c030=!0x1);}}function _0x3a857a(_0x1063da){return _0x1063da[_0x540d99([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x540d99([0x65,0x79]))?JSON[_0x540d99([0x70,0x61,0x72,0x73,0x65])](_0x44b0ad(_0x1063da)):null;}function _0x44b0ad(_0x41debb){return window[_0x540d99([0x61,0x74,0x6f,0x62])](_0x41debb[_0x540d99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x540d99([0x2b]))[_0x540d99([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x540d99([0x2f])));}function _0x19cd03(_0x4ef5e1){let _0x37c5f7=0x1505;function _0xa68004(_0x5a6e89){for(let _0x63b0b2=0x0;_0x63b0b2<_0x5a6e89[_0x540d99([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x63b0b2++){const _0x43079f=_0x5a6e89[_0x540d99([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x63b0b2);_0x37c5f7=(_0x37c5f7<<0x5)+_0x37c5f7+_0x43079f,_0x37c5f7&=_0x37c5f7;}}function _0x549e41(_0x12ca60){Array[_0x540d99([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x12ca60)?_0x12ca60[_0x540d99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x549e41):_0x12ca60&&typeof _0x12ca60==_0x540d99([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x540d99([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x12ca60)[_0x540d99([0x73,0x6f,0x72,0x74])]()[_0x540d99([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x495d24,_0x1a2a46])=>{_0xa68004(_0x495d24),_0x549e41(_0x1a2a46);}):_0xa68004(window[_0x540d99([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x12ca60));}return _0x549e41(_0x4ef5e1),_0x37c5f7>>>0x0;}function _0x718901(_0x29395d){return _0x29395d[_0x540d99([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x540d99([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x540d99([0x30]));}function _0x5339aa(_0xa8d5db){return _0xa8d5db[_0x540d99([0x73,0x70,0x6c,0x69,0x74])]('')[_0x540d99([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x540d99([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f2314(){}function _0x540d99(_0x498ce0){return _0x498ce0['map'](_0x5b96db=>String['fromCharCode'](_0x5b96db))['join']('');}_0x5a5357(await _0x2dece5());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x3096aa,{outlineDefinitions:_0x168615,outlineChanges:_0x4f403a}){this['_currentOutlineDefinitions']=_0x168615,this['view']['sync'](_0x4f403a);}['_setActiveViewItem'](_0x93b6a4){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x93b6a4]&&(this['view']['activeItemIndex']=_0x93b6a4);}['_handleItemSelected'](_0x16c1ec){const _0x5d4a6c=this['_currentOutlineDefinitions'][_0x16c1ec]['modelElement'];this['editor']['model']['change'](_0x280721=>{_0x280721['setSelection'](_0x5d4a6c,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x16c1ec);}['_updateActiveDefinitionOnViewportChange'](){const _0x26fcf0=this['editor'];let _0x303b39;for(const _0x4c676a of _0x26fcf0['model']['document']['getRootNames']()){const _0x1bb84e=_0x26fcf0['editing']['view']['getDomRoot'](_0x4c676a),_0x51619c=_0x1bb84e&&new _0x2bf707(_0x1bb84e)['getVisible']();if(_0x51619c){const _0x54c166=new _0x2bf707(_0x313644['window'])['getIntersection'](_0x51619c);_0x54c166&&(_0x303b39=_0x54c166['top']+0.25*_0x54c166['height']);}}if(void 0x0===_0x303b39)return;const _0x59d542=Vg(_0x26fcf0['editing'],this['_currentOutlineDefinitions'],_0x303b39);_0x59d542?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x59d542)):this['_setActiveViewItem'](-0x1);}}function Vg(_0x5acd8f,_0x120fd0,_0x2ecb10,_0xdc7455=0x0,_0xa932b8=_0x120fd0['length']-0x1){const _0x206ec9=Math['floor'](_0xdc7455+(_0xa932b8-_0xdc7455)/0x2);if(_0xa932b8>=_0xdc7455){const _0x4b5952=_0x120fd0[_0x206ec9],_0x19d857=_0x5acd8f['mapper']['toViewElement'](_0x4b5952['modelElement']);if(!_0x19d857)return null;const _0x197d31=_0x5acd8f['view']['domConverter']['mapViewToDom'](_0x19d857);return new _0x2bf707(_0x197d31)['bottom']>_0x2ecb10?Vg(_0x5acd8f,_0x120fd0,_0x2ecb10,_0xdc7455,_0x206ec9-0x1):Vg(_0x5acd8f,_0x120fd0,_0x2ecb10,_0x206ec9+0x1,_0xa932b8);}return _0x206ec9<0x0?null:_0x120fd0[_0x206ec9];}class DocumentOutline extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2bdd2d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e9cba;for(const _0xca98bf in _0x2bdd2d){const _0x256b28=_0xca98bf,_0x538d49=_0x2bdd2d[_0x256b28];if('documentOutlineLicenseKeyValid'==_0x538d49||'documentOutlineLicenseKeyInvalid'==_0x538d49||'documentOutlineLicenseKeyExpired'==_0x538d49||'documentOutlineLicenseKeyDomainLimit'==_0x538d49||'documentOutlineLicenseKeyNotAllowed'==_0x538d49||'documentOutlineLicenseKeyEvaluationLimit'==_0x538d49||'documentOutlineLicenseKeyUsageLimit'==_0x538d49){delete _0x2bdd2d[_0x256b28],_0x2e9cba=_0x538d49,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2e9cba&&_0x2bdd2d['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2e9cba&&_0x2bdd2d['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2e9cba&&_0x2bdd2d['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2e9cba&&_0x2bdd2d['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2e9cba&&_0x2bdd2d['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2e9cba&&_0x2bdd2d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x208eac{['execute'](){this['editor']['model']['change'](_0x51ed62=>{this['editor']['model']['insertObject'](_0x51ed62['createElement']('tableOfContents'));});}['refresh'](){const _0x115b25=this['editor']['model'],_0x5f2947=_0x115b25['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x5f2947&&_0x115b25['schema']['findAllowedParent'](_0x5f2947,'tableOfContents'));}}class HeadingId extends _0x151d85{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1a06e7=this['editor'];if(_0x1a06e7['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x4fd3a4,modelNames:_0x55bab1}=function(_0x2057c7){const _0x56aa4e=new Set(),_0x1db9f5=new Set();if(!_0x2057c7)return{'viewNames':_0x56aa4e,'modelNames':_0x1db9f5};for(const _0x570eec of _0x2057c7){if('paragraph'===_0x570eec['model'])continue;const _0x2cd0c7='string'==typeof _0x570eec['view']?_0x570eec['view']:_0x570eec['view']['name'];_0x56aa4e['add'](_0x2cd0c7),_0x1db9f5['add'](_0x570eec['model']);}return _0x56aa4e['has']('h1')||(_0x56aa4e['add']('h1'),_0x1db9f5['add']('heading1')),{'viewNames':_0x56aa4e,'modelNames':_0x1db9f5};}(this['editor']['config']['get']('heading.options'));for(const _0x3bacca of _0x4fd3a4)this['_customUpcastHeadingsConversion'](_0x3bacca);for(const _0x451b0f of _0x55bab1)this['_customDataDowncastHeadingsConversion'](_0x451b0f),_0x1a06e7['model']['schema']['isRegistered'](_0x451b0f)&&_0x1a06e7['model']['schema']['extend'](_0x451b0f,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x55bab1);}['_customUpcastHeadingsConversion'](_0x58d382){this['editor']['conversion']['for']('upcast')['add'](_0xab821e=>_0xab821e['on']('element:'+_0x58d382,(_0x504948,_0x1d9d4d,_0x3937a7)=>{const {consumable:_0x50ecad,writer:_0x5031b6}=_0x3937a7,_0x13e1db=_0x1d9d4d['viewItem']['getAttribute']('id'),_0x5cf80e=_0x1d9d4d['modelRange']?.['getContainedElement']();if(_0x5cf80e)return _0x13e1db&&_0x13e1db['length']||_0x5cf80e['hasAttribute']('headingId')?void(_0x50ecad['consume'](_0x1d9d4d['viewItem'],{'attributes':['id']})&&_0x5031b6['setAttribute']('headingId',_0x13e1db,_0x5cf80e)):(_0x50ecad['consume'](_0x1d9d4d['viewItem'],{'attributes':['id']}),void _0x5031b6['setAttribute']('headingId',_0x3eda13(),_0x5cf80e));},{'priority':_0x537830['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x2176f2){this['editor']['conversion']['for']('downcast')['add'](_0x4022f5=>_0x4022f5['on']('attribute:headingId:'+_0x2176f2,(_0x34fbb2,_0x8da9b,_0xb0f7d6)=>{if(!_0xb0f7d6['consumable']['consume'](_0x8da9b['item'],_0x34fbb2['name']))return;const _0x5a84c3=_0x8da9b['item']['getAttribute']('headingId'),_0x3ddde4=_0xb0f7d6['mapper']['toViewElement'](_0x8da9b['item']);_0xb0f7d6['writer']['setAttribute']('id',_0x5a84c3,_0x3ddde4);}));}['_registerHeadingIdAttributePostfixer'](_0x1034d7){const _0x5ea483=this['editor'],_0x38973e=new Set(),_0x13bd21=new Set();function _0x4f7bcc(_0xd26e94,_0x5a5f7a){const _0x21ddec=_0x3eda13();return _0x13bd21['add'](_0x21ddec),_0xd26e94['setAttribute']('headingId',_0x21ddec,_0x5a5f7a),_0x21ddec;}function _0x1f932e(_0x2fdbbe,_0x5d6e59){_0x2fdbbe['removeAttribute']('headingId',_0x5d6e59);}_0x5ea483['model']['document']['registerPostFixer'](_0x14fc81=>{const _0x12c658=_0x5ea483['model']['document']['differ']['getChanges']();let _0x37b98b=!0x1;for(const _0x31fc14 of _0x12c658)if('insert'==_0x31fc14['type']&&_0x31fc14['name']){if(_0x1034d7['has'](_0x31fc14['name'])){const _0x280506=_0x31fc14['attributes']['get']('headingId');'string'==typeof _0x280506?_0x38973e['has'](_0x280506)?(_0x4f7bcc(_0x14fc81,_0x31fc14['position']['nodeAfter']),_0x37b98b=!0x0):_0x13bd21['add'](_0x280506):(_0x4f7bcc(_0x14fc81,_0x31fc14['position']['nodeAfter']),_0x37b98b=!0x0);}else'string'==typeof _0x31fc14['attributes']['get']('headingId')&&(_0x1f932e(_0x14fc81,_0x31fc14['position']['nodeAfter']),_0x37b98b=!0x0);}else{if('remove'==_0x31fc14['type']){const _0x982786=_0x31fc14['attributes']['get']('headingId');'string'==typeof _0x982786&&_0x38973e['delete'](_0x982786);}}return _0x37b98b;}),_0x5ea483['model']['document']['on']('change',()=>{_0x13bd21['forEach'](_0x5c0007=>_0x38973e['add'](_0x5c0007)),_0x13bd21['clear']();});}}class TableOfContentsEditing extends _0x151d85{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4990cb,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x172b2e){super(_0x172b2e),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x42b5ad=this['editor'],_0x5326b8=_0x42b5ad['editing']['view']['document'];_0x42b5ad['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x42b5ad['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x5326b8,'click',(_0x40f2a4,_0x392f14)=>{if(!_0x392f14['target'])return;const _0x5180a7=_0x392f14['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5180a7)&&(_0x392f14['domEvent']['preventDefault'](),_0x40f2a4['stop'](),this['_handleScrollToHeading'](_0x5180a7));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x42b5ad['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x42b5ad));const _0x485721=_0x42b5ad['config']['get']('tableOfContents.headings');if(_0x485721&&_0x485721['length'])this['listenTo'](_0x42b5ad['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x485721),this['_updateTableOfContentsElements']();});else _0x42b5ad['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x127f02,_0x2792fa)=>{this['_currentOutlineDefinitions']=_0x2792fa['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x42b5ad['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x3e9008){const _0x1e57e8=_0x21a9b4([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0xdbd739=0x6b9b05fd,_0x46178a=0x6b9c8e2d^_0xdbd739,_0x1830ae=window[_0x21a9b4([0x44,0x61,0x74,0x65])][_0x21a9b4([0x6e,0x6f,0x77])](),_0xe82581=_0x3e9008[_0x21a9b4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2cfdb0=new window[(_0x21a9b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49d8c4=>{_0xe82581[_0x21a9b4([0x6f,0x6e,0x63,0x65])](_0x21a9b4([0x72,0x65,0x61,0x64,0x79]),_0x49d8c4);}),_0x25d698={[_0x21a9b4([0x6b,0x74,0x79])]:_0x21a9b4([0x45,0x43]),[_0x21a9b4([0x75,0x73,0x65])]:_0x21a9b4([0x73,0x69,0x67]),[_0x21a9b4([0x63,0x72,0x76])]:_0x21a9b4([0x50,0x2d,0x32,0x35,0x36]),[_0x21a9b4([0x78])]:_0x21a9b4([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x21a9b4([0x79])]:_0x21a9b4([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x21a9b4([0x61,0x6c,0x67])]:_0x21a9b4([0x45,0x53,0x32,0x35,0x36])},_0xe1d88a=_0xe82581[_0x21a9b4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21a9b4([0x67,0x65,0x74])](_0x21a9b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53c85a(){let _0x398299,_0x52ea56=null,_0x3943f2=null;try{if(_0xe1d88a==_0x21a9b4([0x47,0x50,0x4c]))return _0x21a9b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x398299=_0x255740(),!_0x398299)return _0x21a9b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x398299[_0x21a9b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3943f2=_0x5007e4(_0x398299[_0x21a9b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x398299[_0x21a9b4([0x6a,0x74,0x69])])),await _0x2631db()?_0x3a9f07()?_0x3bd51e()?_0x21a9b4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d468e()?(_0x398299[_0x21a9b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21a9b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52ea56=_0x2fb0f0(_0x21a9b4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3019aa()):_0x21a9b4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21a9b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21a9b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21a9b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3bd51e(){const _0x26a4a=[_0x21a9b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21a9b4([0x74,0x72,0x69,0x61,0x6c])][_0x21a9b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398299[_0x21a9b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1830ae/0x3e8:0xe10*_0x46178a;return _0x398299[_0x21a9b4([0x65,0x78,0x70])]<_0x26a4a;}function _0x3a9f07(){const _0x4c8400=_0x398299[_0x21a9b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c8400&&(!!_0x4c8400[_0x21a9b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a9b4([0x2a]))||(!!_0x4c8400[_0x21a9b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a9b4([0x54,0x4f,0x43]))||(!!_0x4c8400[_0x21a9b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a9b4([0x50,0x50]))||!(!_0x4c8400[_0x21a9b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a9b4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x105339()))));}function _0x4d468e(){const _0x3c36f0=_0x398299[_0x21a9b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c36f0||0x0==_0x3c36f0[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c3450}=new URL(window[_0x21a9b4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c36f0[_0x21a9b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c3450))return!0x0;const _0x59b059=_0x3c3450[_0x21a9b4([0x73,0x70,0x6c,0x69,0x74])](_0x21a9b4([0x2e]));return _0x3c36f0[_0x21a9b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f6e42=>_0x4f6e42[_0x21a9b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a9b4([0x2a])))[_0x21a9b4([0x6d,0x61,0x70])](_0x33da8d=>_0x33da8d[_0x21a9b4([0x73,0x70,0x6c,0x69,0x74])](_0x21a9b4([0x2e])))[_0x21a9b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x227372=>_0x227372[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59b059[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21a9b4([0x6d,0x61,0x70])](_0x520d77=>Array(_0x59b059[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x520d77[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21a9b4([0x66,0x69,0x6c,0x6c])](_0x520d77[0x0]===_0x21a9b4([0x2a])?_0x21a9b4([0x2a]):'')[_0x21a9b4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x520d77))[_0x21a9b4([0x73,0x6f,0x6d,0x65])](_0x208055=>_0x59b059[_0x21a9b4([0x65,0x76,0x65,0x72,0x79])]((_0x4a2383,_0x4ce4cd)=>_0x208055[_0x4ce4cd]===_0x4a2383||_0x208055[_0x4ce4cd]===_0x21a9b4([0x2a])));}function _0x3019aa(){return _0x52ea56&&_0x3943f2?new window[(_0x21a9b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x202e8b,_0xb99955)=>{_0x52ea56[_0x21a9b4([0x74,0x68,0x65,0x6e])](_0x202e8b,_0xb99955),_0x3943f2[_0x21a9b4([0x74,0x68,0x65,0x6e])](_0x5c29fd=>{_0x5c29fd!=_0x21a9b4([0x56,0x61,0x6c,0x69,0x64])&&_0x202e8b(_0x5c29fd);},_0xb99955);}):_0x52ea56||_0x3943f2||_0x21a9b4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5007e4(_0xbc9f82,_0x36bba6){return new window[(_0x21a9b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f7cc7=>{if(_0x3a3835())return _0x1f7cc7(_0x21a9b4([0x56,0x61,0x6c,0x69,0x64]));_0x54c801(),_0xe82581[_0x21a9b4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21a9b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f4e0e=!0x1;const _0x4a1cbd=_0x3eda13();function _0x4a9e9e(_0x147d98){return!!_0x147d98&&(typeof _0x147d98===_0x21a9b4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x147d98===_0x21a9b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x147d98[_0x21a9b4([0x74,0x68,0x65,0x6e])]===_0x21a9b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x147d98[_0x21a9b4([0x63,0x61,0x74,0x63,0x68])]===_0x21a9b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x51c6ed(_0x4dce2c){_0x4fd28d(_0x4dce2c)[_0x21a9b4([0x74,0x68,0x65,0x6e])](_0x98c10f=>{if(!_0x98c10f||_0x98c10f[_0x21a9b4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21a9b4([0x6f,0x6b]))return _0x21a9b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x48b500(_0x528654(_0x4a1cbd+_0x36bba6))!=_0x98c10f[_0x21a9b4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21a9b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21a9b4([0x56,0x61,0x6c,0x69,0x64]);})[_0x21a9b4([0x74,0x68,0x65,0x6e])](_0xa19e35=>(_0xb5769d(),_0xa19e35),()=>{const _0x2d7174=_0x247603();return null==_0x2d7174?(_0xb5769d(),_0x21a9b4([0x56,0x61,0x6c,0x69,0x64])):_0x21a9b4(_0x1830ae-_0x2d7174>(0x4f9781fd^_0xdbd739)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21a9b4([0x74,0x68,0x65,0x6e])](_0x1f7cc7)[_0x21a9b4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1f7cc7(_0x21a9b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xbd4349=0x6badeb7d^_0xdbd739;function _0xb5769d(){const _0x1dd3ed=_0x21a9b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x48b500(_0x528654(_0xbc9f82)),_0x1f444=_0xb8c8ec(_0x48b500(window[_0x21a9b4([0x4d,0x61,0x74,0x68])][_0x21a9b4([0x63,0x65,0x69,0x6c])](_0x1830ae/_0xbd4349)));window[_0x21a9b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21a9b4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dd3ed,_0x1f444);}function _0x247603(){const _0x515efb=_0x21a9b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x48b500(_0x528654(_0xbc9f82)),_0x292eb4=window[_0x21a9b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21a9b4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x515efb);return _0x292eb4?window[_0x21a9b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb8c8ec(_0x292eb4),0x10)*_0xbd4349:null;}function _0x4fd28d(_0x5f3b41){return new window[(_0x21a9b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf74352,_0x5c1829)=>{_0x5f3b41[_0x21a9b4([0x74,0x68,0x65,0x6e])](_0xf74352,_0x5c1829),window[_0x21a9b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c1829,0x6b9ad13d^_0xdbd739);});}}_0xe82581[_0x21a9b4([0x6f,0x6e])](_0x21a9b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4706bf,_0x11cd27)=>{if(_0x11cd27[0x0]!=_0xbc9f82)return _0x1f7cc7(_0x21a9b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x11cd27[0x1]={..._0x11cd27[0x1],[_0x21a9b4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a1cbd};},{[_0x21a9b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21a9b4([0x68,0x69,0x67,0x68])}),_0xe82581[_0x21a9b4([0x6f,0x6e])](_0x21a9b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2de264=>{_0x4a9e9e(_0x2de264[_0x21a9b4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f4e0e=!0x0,_0x51c6ed(_0x2de264[_0x21a9b4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21a9b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21a9b4([0x6c,0x6f,0x77])}),_0x2cfdb0[_0x21a9b4([0x74,0x68,0x65,0x6e])](()=>{_0x1f4e0e||_0x1f7cc7(_0x21a9b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a3835(){return _0xe82581[_0x21a9b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21a9b4([0x76,0x69,0x65,0x77])][_0x21a9b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21a9b4([0x61,0x75,0x74,0x6f]);}function _0x54c801(){_0xe82581[_0x21a9b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21a9b4([0x76,0x69,0x65,0x77])][_0x21a9b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21a9b4([0x61,0x75,0x74,0x6f]);}}function _0x2fb0f0(_0x9e0e40){const _0x16c3d0=[new window[(_0x21a9b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c2da3=>setTimeout(_0x4c2da3,0x6b923b31^_0xdbd739)),_0x2cfdb0[_0x21a9b4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21a9b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x980f16=>{let _0x51a6cf=0x0;_0xe82581[_0x21a9b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x21a9b4([0x6f,0x6e])](_0x21a9b4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c16c8,_0x5349fd)=>{_0x5349fd[0x0][_0x21a9b4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x51a6cf++,_0x51a6cf==(0x6b9b0015^_0xdbd739)&&(_0x980f16(),_0x3c16c8[_0x21a9b4([0x6f,0x66,0x66])]());});}))];return window[_0x21a9b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21a9b4([0x72,0x61,0x63,0x65])](_0x16c3d0)[_0x21a9b4([0x74,0x68,0x65,0x6e])](()=>_0x9e0e40);}async function _0x49439f(){await _0x2cfdb0,_0xe82581[_0x21a9b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x21a9b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24c58e,_0xe82581[_0x21a9b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x21a9b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24c58e,_0xe82581[_0x21a9b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21a9b4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x105339(){return window[_0x21a9b4([0x67,0x6c,0x6f,0x62])]&&window[_0x21a9b4([0x67,0x6c,0x6f,0x62])][_0x21a9b4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x24bd84(_0x5406c3){const _0x4a9991=_0x3b704e();_0xe82581[_0x4a9991]=_0x21a9b4([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5406c3,_0x5406c3!=_0x21a9b4([0x56,0x61,0x6c,0x69,0x64])&&_0x49439f();}function _0x3b704e(){const _0x1de833=window[_0x21a9b4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21a9b4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21a9b4([0x6e,0x6f,0x77])]())[_0x21a9b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21a9b4([0x2e]),'');let _0x6b383b=_0x21a9b4([0x6d]);for(let _0x2481a9=0x0;_0x2481a9<_0x1de833[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2481a9+=0x2){let _0x2e24ac=window[_0x21a9b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1de833[_0x21a9b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2481a9,_0x2481a9+0x2));_0x2e24ac>=_0x1e57e8[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e24ac-=_0x1e57e8[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6b383b+=_0x1e57e8[_0x2e24ac];}return _0x6b383b;}function _0x255740(){const _0x1668df=_0xe1d88a[_0x21a9b4([0x73,0x70,0x6c,0x69,0x74])](_0x21a9b4([0x2e]));if(0x3!=_0x1668df[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x581e64(_0x1668df[0x1]);function _0x581e64(_0x3aac79){const _0x1ec0e4=_0x4b1f6(_0x3aac79);return _0x1ec0e4&&_0x8c70aa()?_0x1ec0e4:null;function _0x8c70aa(){const _0x13a5a4=_0x1ec0e4[_0x21a9b4([0x6a,0x74,0x69])],_0x5575ce=window[_0x21a9b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a5a4[_0x21a9b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13a5a4[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ac287={..._0x1ec0e4,[_0x21a9b4([0x6a,0x74,0x69])]:_0x13a5a4[_0x21a9b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13a5a4[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ac287[_0x21a9b4([0x76,0x63])],_0x528654(_0x2ac287)==_0x5575ce;}}}async function _0x2631db(){let _0x4839a1=!0x0;try{const _0x3ae084=_0xe1d88a[_0x21a9b4([0x73,0x70,0x6c,0x69,0x74])](_0x21a9b4([0x2e])),[_0x4247b5,_0x51b653,_0x2d8734]=_0x3ae084;return _0x5270a6(_0x4247b5),await _0x52f6a1(_0x4247b5,_0x51b653,_0x2d8734),_0x4839a1;}catch{return!0x1;}function _0x5270a6(_0x213b10){const _0x365281=_0x4b1f6(_0x213b10);_0x365281&&_0x365281[_0x21a9b4([0x61,0x6c,0x67])]==_0x21a9b4([0x45,0x53,0x32,0x35,0x36])||(_0x4839a1=!0x1);}async function _0x52f6a1(_0x1eeb80,_0x27d555,_0xb070ae){const _0x4bf77c=window[_0x21a9b4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21a9b4([0x66,0x72,0x6f,0x6d])](_0x1f0b5b(_0xb070ae),_0x3bf0ec=>_0x3bf0ec[_0x21a9b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x431acc=new window[(_0x21a9b4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21a9b4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1eeb80+_0x21a9b4([0x2e])+_0x27d555),_0x314a1f=window[_0x21a9b4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21a9b4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x314a1f)return;const _0x54c171=await _0x314a1f[_0x21a9b4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21a9b4([0x6a,0x77,0x6b]),_0x25d698,{[_0x21a9b4([0x6e,0x61,0x6d,0x65])]:_0x21a9b4([0x45,0x43,0x44,0x53,0x41]),[_0x21a9b4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21a9b4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21a9b4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x314a1f[_0x21a9b4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21a9b4([0x6e,0x61,0x6d,0x65])]:_0x21a9b4([0x45,0x43,0x44,0x53,0x41]),[_0x21a9b4([0x68,0x61,0x73,0x68])]:{[_0x21a9b4([0x6e,0x61,0x6d,0x65])]:_0x21a9b4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54c171,_0x4bf77c,_0x431acc)||(_0x4839a1=!0x1);}}function _0x4b1f6(_0x407853){return _0x407853[_0x21a9b4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21a9b4([0x65,0x79]))?JSON[_0x21a9b4([0x70,0x61,0x72,0x73,0x65])](_0x1f0b5b(_0x407853)):null;}function _0x1f0b5b(_0x2cc166){return window[_0x21a9b4([0x61,0x74,0x6f,0x62])](_0x2cc166[_0x21a9b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21a9b4([0x2b]))[_0x21a9b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21a9b4([0x2f])));}function _0x528654(_0x2c433c){let _0x3ad161=0x1505;function _0x1af8c9(_0x3be491){for(let _0x4d608b=0x0;_0x4d608b<_0x3be491[_0x21a9b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d608b++){const _0x2e29f1=_0x3be491[_0x21a9b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d608b);_0x3ad161=(_0x3ad161<<0x5)+_0x3ad161+_0x2e29f1,_0x3ad161&=_0x3ad161;}}function _0x37dd0a(_0x4a3904){Array[_0x21a9b4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a3904)?_0x4a3904[_0x21a9b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37dd0a):_0x4a3904&&typeof _0x4a3904==_0x21a9b4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21a9b4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a3904)[_0x21a9b4([0x73,0x6f,0x72,0x74])]()[_0x21a9b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d4243,_0x447718])=>{_0x1af8c9(_0x3d4243),_0x37dd0a(_0x447718);}):_0x1af8c9(window[_0x21a9b4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a3904));}return _0x37dd0a(_0x2c433c),_0x3ad161>>>0x0;}function _0x48b500(_0x40988b){return _0x40988b[_0x21a9b4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21a9b4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21a9b4([0x30]));}function _0xb8c8ec(_0xea7988){return _0xea7988[_0x21a9b4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21a9b4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21a9b4([0x6a,0x6f,0x69,0x6e])]('');}function _0x24c58e(){}function _0x21a9b4(_0x47d10b){return _0x47d10b['map'](_0x55873a=>String['fromCharCode'](_0x55873a))['join']('');}_0x24bd84(await _0x53c85a());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x42e0dd=>{'$graveyard'!==_0x42e0dd['rootName']&&this['editor']['editing']['reconvertItem'](_0x42e0dd);});}['_trackNewToCElements'](){for(const _0x53bcb5 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x53bcb5['type']||'tableOfContents'!==_0x53bcb5['name'])return;this['_tableOfContentsElements']['add'](_0x53bcb5['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x1b1838){const _0x23b41d=this['editor'],_0x4437b7=[];for(const _0x176bbf of _0x23b41d['model']['document']['getRootNames']())_0x2587b2(_0x23b41d['model']['document']['getRoot'](_0x176bbf));function _0x2587b2(_0x4743b1){for(const _0x3fa830 of _0x4743b1['getChildren']())_0x3fa830['is']('element')&&(_0x1b1838['includes'](_0x3fa830['name'])&&_0x4437b7['push']({'level':_0x1b1838['indexOf'](_0x3fa830['name'])+0x1,'text':Dg(_0x3fa830),'modelElement':_0x3fa830}),_0x2587b2(_0x3fa830));}return _0x4437b7;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x348c20=this['editor']['conversion'];_0x348c20['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x348c20['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5c27f8,{writer:_0x3b9f41})=>this['_createTableOfContents'](_0x3b9f41,!0x0)}),_0x348c20['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x16833c,{writer:_0x1d72ce})=>{this['_tableOfContentsElements']['add'](_0x16833c);const _0x4fdbc6=this['_createTableOfContents'](_0x1d72ce);return _0x42fba9(_0x4fdbc6,_0x1d72ce,{'label':Qg(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'](_0x1c3d41,_0x17e4bc=!0x1){const {locale:_0x57440c}=this['editor'],_0x3b9fdc=_0x1c3d41['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x17e4bc&&{'data-table-of-contents-label':Qg(_0x57440c,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x17e4bc&&_0x1c3d41['insert'](_0x1c3d41['createPositionAt'](_0x3b9fdc,'end'),_0x1c3d41['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x1c3d41['createText'](Qg(_0x57440c,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x30bfdd=_0x17e4bc?'':'['+Qg(_0x57440c,'Empty\x20heading')+']';let _0xf5ef02=_0x3b9fdc;return this['_currentOutlineDefinitions']['forEach']((_0x293521,_0x47bf42,_0x1102f8)=>{const _0xbb2cba=this['editor']['model']['hasContent'](_0x293521['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4214b9=_0xbb2cba?_0x293521['text']:_0x30bfdd,_0x5adc75=_0x293521['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x2a7424=_0x1c3d41['createContainerElement']('a',{'href':'#'+_0x5adc75,...!_0x17e4bc&&{'tabindex':'-1'}},[_0x1c3d41['createText'](_0x4214b9)]),_0x34389a=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x1c3d41['setCustomProperty']('tableOfContentsHeadingIndex',_0x47bf42,_0x2a7424);const _0x1ef658=_0x1c3d41['createContainerElement']('li',null,[_0xbb2cba||!_0x17e4bc&&_0x34389a?_0x2a7424:_0x1c3d41['createText']('')]),_0x479b18=_0x47bf42?_0x1102f8[_0x47bf42-0x1]['level']:0x0,_0x1f92e7=Math['abs'](_0x293521['level']-_0x479b18);if(_0x293521['level']>_0x479b18){const _0x198f77=Ug(_0x1ef658,_0x1f92e7,_0x1c3d41);_0x1c3d41['insert'](_0x1c3d41['createPositionAt'](_0xf5ef02,'end'),_0x198f77);}else{const _0x43a96b=function(_0x47ea88,_0x462477){return _0x47ea88['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1a4f7a=>_0x1a4f7a['is']('element','ol'))[_0x462477];}(_0xf5ef02,_0x1f92e7);_0x1c3d41['insert'](_0x1c3d41['createPositionAt'](_0x43a96b,'end'),_0x1ef658);}_0xf5ef02=_0x1ef658;}),_0x3b9fdc;}['_handleScrollToHeading'](_0x536ee4){const _0x479e6a=this['_currentOutlineDefinitions'][_0x536ee4]['modelElement'];this['editor']['model']['change'](_0x4fcce4=>{_0x4fcce4['setSelection'](_0x479e6a,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x3bca32,_0x549eb4)=>{const _0x13c8b0=_0x549eb4['mapper'],_0x157457=_0x13c8b0['findMappedViewAncestor'](_0x549eb4['viewPosition']),_0x48d1cf=_0x13c8b0['toModelElement'](_0x157457);_0x48d1cf['is']('element','tableOfContents')&&(_0x549eb4['modelPosition']=this['editor']['model']['createPositionAt'](_0x48d1cf,0x0),_0x3bca32['stop']());};}}function Ug(_0x1cafc6,_0x2e8d8f,_0x27c106){return 0x1===_0x2e8d8f?_0x27c106['createContainerElement']('ol',null,[_0x1cafc6]):_0x27c106['createContainerElement']('ol',null,[_0x27c106['createContainerElement']('li',null,[Ug(_0x1cafc6,_0x2e8d8f-0x1,_0x27c106)])]);}class TableOfContentsUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x11b4ac=this['editor'];_0x11b4ac['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x1ec14f=this['_createButton'](_0x4c508c);return _0x1ec14f['tooltip']=!0x0,_0x1ec14f;}),_0x11b4ac['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](at)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x22a1de=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d96fc;for(const _0x39034e in _0x22a1de){const _0x1d29a9=_0x39034e,_0x4ebc33=_0x22a1de[_0x1d29a9];if('tableOfContentsLicenseKeyValid'==_0x4ebc33||'tableOfContentsLicenseKeyInvalid'==_0x4ebc33||'tableOfContentsLicenseKeyExpired'==_0x4ebc33||'tableOfContentsLicenseKeyDomainLimit'==_0x4ebc33||'tableOfContentsLicenseKeyNotAllowed'==_0x4ebc33||'tableOfContentsLicenseKeyEvaluationLimit'==_0x4ebc33||'tableOfContentsLicenseKeyUsageLimit'==_0x4ebc33){delete _0x22a1de[_0x1d29a9],_0x5d96fc=_0x4ebc33,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x5d96fc&&_0x22a1de['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x5d96fc&&_0x22a1de['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x5d96fc&&_0x22a1de['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x5d96fc&&_0x22a1de['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x5d96fc&&_0x22a1de['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x5d96fc&&_0x22a1de['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x11b092){const _0xd7063d=this['editor'],_0x4c68cc=_0xd7063d['locale'],_0x1fe162=_0xd7063d['commands']['get']('insertTableOfContents'),_0x478702=new _0x11b092(_0x4c68cc);return _0x478702['set']({'label':Qg(_0x4c68cc,'Table\x20of\x20contents'),'icon':_0x1fcdf2}),_0x478702['bind']('isEnabled')['to'](_0x1fe162,'isEnabled'),this['listenTo'](_0x478702,'execute',()=>{_0xd7063d['execute']('insertTableOfContents'),_0xd7063d['editing']['view']['focus']();}),_0x478702;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x151d85{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Bg='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0x151d85{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2d09fb){super(_0x2d09fb),_0x2d09fb['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x30a032){const _0x22f9e5=_0x2dbc1f([0x75,0x69,0x7a,0x54,0x64,0x76,0x79,0x42,0x49,0x61,0x34,0x52,0x4b,0x73,0x6e,0x4f,0x59,0x6d,0x45,0x58,0x47,0x4d,0x66,0x6a,0x65,0x68,0x77,0x4a,0x51,0x71,0x62,0x50,0x53,0x43,0x6b,0x37,0x44,0x74,0x5a,0x67,0x46,0x35,0x38,0x4c,0x78,0x6c,0x32,0x39,0x48,0x6f,0x36,0x63,0x41,0x55,0x57,0x31,0x70,0x56,0x33,0x4e,0x72,0x30]),_0x541dbb=0x7780c648,_0x4e40a6=0x77874d98^_0x541dbb,_0x7a5edd=window[_0x2dbc1f([0x44,0x61,0x74,0x65])][_0x2dbc1f([0x6e,0x6f,0x77])](),_0x33bbf1=_0x30a032[_0x2dbc1f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a7b3f=new window[(_0x2dbc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31f76f=>{_0x33bbf1[_0x2dbc1f([0x6f,0x6e,0x63,0x65])](_0x2dbc1f([0x72,0x65,0x61,0x64,0x79]),_0x31f76f);}),_0x28e6b8={[_0x2dbc1f([0x6b,0x74,0x79])]:_0x2dbc1f([0x45,0x43]),[_0x2dbc1f([0x75,0x73,0x65])]:_0x2dbc1f([0x73,0x69,0x67]),[_0x2dbc1f([0x63,0x72,0x76])]:_0x2dbc1f([0x50,0x2d,0x32,0x35,0x36]),[_0x2dbc1f([0x78])]:_0x2dbc1f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2dbc1f([0x79])]:_0x2dbc1f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2dbc1f([0x61,0x6c,0x67])]:_0x2dbc1f([0x45,0x53,0x32,0x35,0x36])},_0x4d771e=_0x33bbf1[_0x2dbc1f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2dbc1f([0x67,0x65,0x74])](_0x2dbc1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31e39b(){let _0x44bcc1,_0x208f7=null,_0x45a476=null;try{if(_0x4d771e==_0x2dbc1f([0x47,0x50,0x4c]))return _0x2dbc1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44bcc1=_0x5a5441(),!_0x44bcc1)return _0x2dbc1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44bcc1[_0x2dbc1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45a476=_0x3c94a1(_0x44bcc1[_0x2dbc1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44bcc1[_0x2dbc1f([0x6a,0x74,0x69])])),await _0x543582()?_0x3d0908()?_0x4f1d9e()?_0x2dbc1f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x289e2e()?(_0x44bcc1[_0x2dbc1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2dbc1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x208f7=_0x20a5ae(_0x2dbc1f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x150cef()):_0x2dbc1f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2dbc1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2dbc1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2dbc1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f1d9e(){const _0x1941ec=[_0x2dbc1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2dbc1f([0x74,0x72,0x69,0x61,0x6c])][_0x2dbc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44bcc1[_0x2dbc1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7a5edd/0x3e8:0xe10*_0x4e40a6;return _0x44bcc1[_0x2dbc1f([0x65,0x78,0x70])]<_0x1941ec;}function _0x3d0908(){const _0x4e0304=_0x44bcc1[_0x2dbc1f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4e0304&&(!!_0x4e0304[_0x2dbc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbc1f([0x2a]))||!!_0x4e0304[_0x2dbc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbc1f([0x45,0x43,0x48])));}function _0x289e2e(){const _0x3c364a=_0x44bcc1[_0x2dbc1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c364a||0x0==_0x3c364a[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x141206}=new URL(window[_0x2dbc1f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c364a[_0x2dbc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x141206))return!0x0;const _0x1487a9=_0x141206[_0x2dbc1f([0x73,0x70,0x6c,0x69,0x74])](_0x2dbc1f([0x2e]));return _0x3c364a[_0x2dbc1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a50e9=>_0x3a50e9[_0x2dbc1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbc1f([0x2a])))[_0x2dbc1f([0x6d,0x61,0x70])](_0x4c6d1c=>_0x4c6d1c[_0x2dbc1f([0x73,0x70,0x6c,0x69,0x74])](_0x2dbc1f([0x2e])))[_0x2dbc1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5592d7=>_0x5592d7[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1487a9[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dbc1f([0x6d,0x61,0x70])](_0x520e1b=>Array(_0x1487a9[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x520e1b[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2dbc1f([0x66,0x69,0x6c,0x6c])](_0x520e1b[0x0]===_0x2dbc1f([0x2a])?_0x2dbc1f([0x2a]):'')[_0x2dbc1f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x520e1b))[_0x2dbc1f([0x73,0x6f,0x6d,0x65])](_0x3866da=>_0x1487a9[_0x2dbc1f([0x65,0x76,0x65,0x72,0x79])]((_0x48e46a,_0x3863c4)=>_0x3866da[_0x3863c4]===_0x48e46a||_0x3866da[_0x3863c4]===_0x2dbc1f([0x2a])));}function _0x150cef(){return _0x208f7&&_0x45a476?new window[(_0x2dbc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x258bf2,_0x2aa27d)=>{_0x208f7[_0x2dbc1f([0x74,0x68,0x65,0x6e])](_0x258bf2,_0x2aa27d),_0x45a476[_0x2dbc1f([0x74,0x68,0x65,0x6e])](_0xe493a2=>{_0xe493a2!=_0x2dbc1f([0x56,0x61,0x6c,0x69,0x64])&&_0x258bf2(_0xe493a2);},_0x2aa27d);}):_0x208f7||_0x45a476||_0x2dbc1f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c94a1(_0x3d62de,_0x5b45bf){return new window[(_0x2dbc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1de9=>{if(_0x56c248())return _0x4e1de9(_0x2dbc1f([0x56,0x61,0x6c,0x69,0x64]));_0x197733(),_0x33bbf1[_0x2dbc1f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2dbc1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44fdd1=!0x1;const _0x44257d=_0x3eda13();function _0x4bbf33(_0x187c23){return!!_0x187c23&&(typeof _0x187c23===_0x2dbc1f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x187c23===_0x2dbc1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x187c23[_0x2dbc1f([0x74,0x68,0x65,0x6e])]===_0x2dbc1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x187c23[_0x2dbc1f([0x63,0x61,0x74,0x63,0x68])]===_0x2dbc1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x244b4f(_0x2a7717){_0x14bfa2(_0x2a7717)[_0x2dbc1f([0x74,0x68,0x65,0x6e])](_0x16216a=>{if(!_0x16216a||_0x16216a[_0x2dbc1f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2dbc1f([0x6f,0x6b]))return _0x2dbc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e3988(_0x2d21e0(_0x44257d+_0x5b45bf))!=_0x16216a[_0x2dbc1f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2dbc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2dbc1f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2dbc1f([0x74,0x68,0x65,0x6e])](_0x56dea8=>(_0x48ff9a(),_0x56dea8),()=>{const _0x3c02ba=_0x1a0357();return null==_0x3c02ba?(_0x48ff9a(),_0x2dbc1f([0x56,0x61,0x6c,0x69,0x64])):_0x2dbc1f(_0x7a5edd-_0x3c02ba>(0x538c4248^_0x541dbb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2dbc1f([0x74,0x68,0x65,0x6e])](_0x4e1de9)[_0x2dbc1f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e1de9(_0x2dbc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c8394=0x77b628c8^_0x541dbb;function _0x48ff9a(){const _0x50c2b7=_0x2dbc1f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e3988(_0x2d21e0(_0x3d62de)),_0x223d6a=_0x478083(_0x3e3988(window[_0x2dbc1f([0x4d,0x61,0x74,0x68])][_0x2dbc1f([0x63,0x65,0x69,0x6c])](_0x7a5edd/_0x5c8394)));window[_0x2dbc1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dbc1f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50c2b7,_0x223d6a);}function _0x1a0357(){const _0x4c01d5=_0x2dbc1f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e3988(_0x2d21e0(_0x3d62de)),_0x11129b=window[_0x2dbc1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2dbc1f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c01d5);return _0x11129b?window[_0x2dbc1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x478083(_0x11129b),0x10)*_0x5c8394:null;}function _0x14bfa2(_0x5bc3e3){return new window[(_0x2dbc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb2f375,_0x328f83)=>{_0x5bc3e3[_0x2dbc1f([0x74,0x68,0x65,0x6e])](_0xb2f375,_0x328f83),window[_0x2dbc1f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x328f83,0x77811288^_0x541dbb);});}}_0x33bbf1[_0x2dbc1f([0x6f,0x6e])](_0x2dbc1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x197cef,_0x96fef5)=>{if(_0x96fef5[0x0]!=_0x3d62de)return _0x4e1de9(_0x2dbc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x96fef5[0x1]={..._0x96fef5[0x1],[_0x2dbc1f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44257d};},{[_0x2dbc1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dbc1f([0x68,0x69,0x67,0x68])}),_0x33bbf1[_0x2dbc1f([0x6f,0x6e])](_0x2dbc1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xfddff9=>{_0x4bbf33(_0xfddff9[_0x2dbc1f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44fdd1=!0x0,_0x244b4f(_0xfddff9[_0x2dbc1f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2dbc1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2dbc1f([0x6c,0x6f,0x77])}),_0x5a7b3f[_0x2dbc1f([0x74,0x68,0x65,0x6e])](()=>{_0x44fdd1||_0x4e1de9(_0x2dbc1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56c248(){return _0x33bbf1[_0x2dbc1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dbc1f([0x76,0x69,0x65,0x77])][_0x2dbc1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2dbc1f([0x61,0x75,0x74,0x6f]);}function _0x197733(){_0x33bbf1[_0x2dbc1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2dbc1f([0x76,0x69,0x65,0x77])][_0x2dbc1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2dbc1f([0x61,0x75,0x74,0x6f]);}}function _0x20a5ae(_0x26c7f8){const _0x263fb9=[new window[(_0x2dbc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b68e2=>setTimeout(_0x3b68e2,0x7789f884^_0x541dbb)),_0x5a7b3f[_0x2dbc1f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2dbc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe41ec4=>{let _0x5dadc9=0x0;_0x33bbf1[_0x2dbc1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbc1f([0x6f,0x6e])](_0x2dbc1f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26587e,_0x403168)=>{_0x403168[0x0][_0x2dbc1f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5dadc9++,_0x5dadc9==(0x7780c3a0^_0x541dbb)&&(_0xe41ec4(),_0x26587e[_0x2dbc1f([0x6f,0x66,0x66])]());});}))];return window[_0x2dbc1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2dbc1f([0x72,0x61,0x63,0x65])](_0x263fb9)[_0x2dbc1f([0x74,0x68,0x65,0x6e])](()=>_0x26c7f8);}async function _0x3debb8(){await _0x5a7b3f,_0x33bbf1[_0x2dbc1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbc1f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x98c98e,_0x33bbf1[_0x2dbc1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2dbc1f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x98c98e,_0x33bbf1[_0x2dbc1f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2dbc1f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f8947(_0x18ee67){const _0x31f045=_0x21babd();_0x33bbf1[_0x31f045]=_0x2dbc1f([0x65,0x6d,0x61,0x69,0x6c,0x43,0x6f,0x6e,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6f,0x6e,0x48,0x65,0x6c,0x70,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18ee67,_0x18ee67!=_0x2dbc1f([0x56,0x61,0x6c,0x69,0x64])&&_0x3debb8();}function _0x21babd(){const _0x13a8a7=window[_0x2dbc1f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2dbc1f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2dbc1f([0x6e,0x6f,0x77])]())[_0x2dbc1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2dbc1f([0x2e]),'');let _0x59aee0=_0x2dbc1f([0x75]);for(let _0x276f54=0x0;_0x276f54<_0x13a8a7[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x276f54+=0x2){let _0x714492=window[_0x2dbc1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a8a7[_0x2dbc1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x276f54,_0x276f54+0x2));_0x714492>=_0x22f9e5[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x714492-=_0x22f9e5[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x59aee0+=_0x22f9e5[_0x714492];}return _0x59aee0;}function _0x5a5441(){const _0x21383e=_0x4d771e[_0x2dbc1f([0x73,0x70,0x6c,0x69,0x74])](_0x2dbc1f([0x2e]));if(0x3!=_0x21383e[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x317630(_0x21383e[0x1]);function _0x317630(_0x30cb71){const _0x3c9af9=_0x48ad1d(_0x30cb71);return _0x3c9af9&&_0x183892()?_0x3c9af9:null;function _0x183892(){const _0x9639ed=_0x3c9af9[_0x2dbc1f([0x6a,0x74,0x69])],_0x4489d8=window[_0x2dbc1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9639ed[_0x2dbc1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9639ed[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x554fcc={..._0x3c9af9,[_0x2dbc1f([0x6a,0x74,0x69])]:_0x9639ed[_0x2dbc1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x9639ed[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x554fcc[_0x2dbc1f([0x76,0x63])],_0x2d21e0(_0x554fcc)==_0x4489d8;}}}async function _0x543582(){let _0x48a2b0=!0x0;try{const _0x1a0b9c=_0x4d771e[_0x2dbc1f([0x73,0x70,0x6c,0x69,0x74])](_0x2dbc1f([0x2e])),[_0x2da288,_0x5a8dfe,_0x3c7ff0]=_0x1a0b9c;return _0x90958f(_0x2da288),await _0x1fdbce(_0x2da288,_0x5a8dfe,_0x3c7ff0),_0x48a2b0;}catch{return!0x1;}function _0x90958f(_0x29fef1){const _0x1c4c9b=_0x48ad1d(_0x29fef1);_0x1c4c9b&&_0x1c4c9b[_0x2dbc1f([0x61,0x6c,0x67])]==_0x2dbc1f([0x45,0x53,0x32,0x35,0x36])||(_0x48a2b0=!0x1);}async function _0x1fdbce(_0x1499d9,_0x1cb93a,_0x320ff8){const _0x421597=window[_0x2dbc1f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2dbc1f([0x66,0x72,0x6f,0x6d])](_0x2825d2(_0x320ff8),_0x26ce3e=>_0x26ce3e[_0x2dbc1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x33e5a1=new window[(_0x2dbc1f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2dbc1f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1499d9+_0x2dbc1f([0x2e])+_0x1cb93a),_0x286c61=window[_0x2dbc1f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2dbc1f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x286c61)return;const _0xc4b026=await _0x286c61[_0x2dbc1f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2dbc1f([0x6a,0x77,0x6b]),_0x28e6b8,{[_0x2dbc1f([0x6e,0x61,0x6d,0x65])]:_0x2dbc1f([0x45,0x43,0x44,0x53,0x41]),[_0x2dbc1f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2dbc1f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2dbc1f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x286c61[_0x2dbc1f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2dbc1f([0x6e,0x61,0x6d,0x65])]:_0x2dbc1f([0x45,0x43,0x44,0x53,0x41]),[_0x2dbc1f([0x68,0x61,0x73,0x68])]:{[_0x2dbc1f([0x6e,0x61,0x6d,0x65])]:_0x2dbc1f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xc4b026,_0x421597,_0x33e5a1)||(_0x48a2b0=!0x1);}}function _0x48ad1d(_0x3f99c9){return _0x3f99c9[_0x2dbc1f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2dbc1f([0x65,0x79]))?JSON[_0x2dbc1f([0x70,0x61,0x72,0x73,0x65])](_0x2825d2(_0x3f99c9)):null;}function _0x2825d2(_0x4eddda){return window[_0x2dbc1f([0x61,0x74,0x6f,0x62])](_0x4eddda[_0x2dbc1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2dbc1f([0x2b]))[_0x2dbc1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2dbc1f([0x2f])));}function _0x2d21e0(_0x502147){let _0x1790f2=0x1505;function _0x311947(_0x2aa570){for(let _0x2e237a=0x0;_0x2e237a<_0x2aa570[_0x2dbc1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e237a++){const _0x19a49a=_0x2aa570[_0x2dbc1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2e237a);_0x1790f2=(_0x1790f2<<0x5)+_0x1790f2+_0x19a49a,_0x1790f2&=_0x1790f2;}}function _0x286df8(_0x23d0e0){Array[_0x2dbc1f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23d0e0)?_0x23d0e0[_0x2dbc1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x286df8):_0x23d0e0&&typeof _0x23d0e0==_0x2dbc1f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2dbc1f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23d0e0)[_0x2dbc1f([0x73,0x6f,0x72,0x74])]()[_0x2dbc1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x573dba,_0x56017f])=>{_0x311947(_0x573dba),_0x286df8(_0x56017f);}):_0x311947(window[_0x2dbc1f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23d0e0));}return _0x286df8(_0x502147),_0x1790f2>>>0x0;}function _0x3e3988(_0x5ace4d){return _0x5ace4d[_0x2dbc1f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2dbc1f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2dbc1f([0x30]));}function _0x478083(_0x17b2e7){return _0x17b2e7[_0x2dbc1f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2dbc1f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2dbc1f([0x6a,0x6f,0x69,0x6e])]('');}function _0x98c98e(){}function _0x2dbc1f(_0x45d415){return _0x45d415['map'](_0xbc5dd5=>String['fromCharCode'](_0xbc5dd5))['join']('');}_0x3f8947(await _0x31e39b());}(this);}['_logSuppressibleWarning'](_0x401c65,_0x7741c9){if(this['_isSuppressedLog'](_0x401c65,_0x7741c9))return;const _0x223855=Bg+'/support/error-codes.html#error-'+_0x401c65;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x401c65,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x7741c9?[_0x7741c9]:[],'\x0aRead\x20more:\x20'+_0x223855);}['_logSuppressibleInfo'](_0x1c85b3,_0x5b8b86,_0x54534e){if(this['_isSuppressedLog'](_0x1c85b3))return;let _0x411f19=_0x5b8b86;_0x54534e&&(_0x411f19+='\x0aRead\x20more:\x20'+(Bg+'/'+_0x54534e)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x1c85b3,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x411f19);}['_checkUnsupportedPlugin'](_0x132aa9,_0x5083ed){this['editor']['plugins']['has'](_0x132aa9)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x132aa9,..._0x5083ed});}['_validateConfigColorValue'](_0x4c6ec9){const _0x107aa9=this['editor']['config']['get'](_0x4c6ec9);if(!_0x107aa9)return;const _0x53618=Array['isArray'](_0x107aa9),_0x53f490=_0x53618?_0x107aa9:[_0x107aa9];for(const [_0x350003,_0x536334]of _0x53f490['entries']()){const _0x17bfed='string'==typeof _0x536334?_0x536334:_0x536334['color'];jg(_0x17bfed)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x53618?_0x4c6ec9+'['+_0x350003+']':_0x4c6ec9,'color':_0x17bfed});}}['_validateConfigColorFormat'](_0x1ae187){const _0xfee2da=this['editor']['config']['get'](_0x1ae187);_0xfee2da&&Hg(_0xfee2da)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x1ae187,'format':_0xfee2da});}['_isSuppressedLog'](_0x151b74,_0x4bc70b){const _0x3ea880=this['editor']['config']['get']('email.logs');return!!_0x3ea880['suppressAll']||(!('function'!=typeof _0x3ea880['suppress']||!_0x3ea880['suppress'](_0x151b74,_0x4bc70b))||!(!Array['isArray'](_0x3ea880['suppress'])||!_0x3ea880['suppress']['includes'](_0x151b74)));}}const Fg=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function jg(_0x29df9b){return!!_0x29df9b&&Fg['some'](_0x18929c=>_0x29df9b['includes'](_0x18929c+'('));}function Hg(_0x2827e4){return!!_0x2827e4&&Fg['includes'](_0x2827e4);}class HighlightEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Highlight');}}var Gg=function(_0x4fc746){var _0x108da1,_0x4b43e0,_0x53e687=_0x4fc746,_0x12122e={'a':0x0,'b':0x0,'c':0x0},_0x291bb5=[];return _0x108da1=function(_0x1fd9ca,_0xcb66e8){var _0x2e6df9,_0x3b7a9f,_0x11ba5f,_0x19c13f,_0x527581,_0x10a018;if(_0x1fd9ca['test'](_0x53e687)){for(_0x3b7a9f=0x0,_0x11ba5f=(_0x2e6df9=_0x53e687['match'](_0x1fd9ca))['length'];_0x3b7a9f<_0x11ba5f;_0x3b7a9f+=0x1)_0x12122e[_0xcb66e8]+=0x1,_0x19c13f=_0x2e6df9[_0x3b7a9f],_0x527581=_0x53e687['indexOf'](_0x19c13f),_0x10a018=_0x19c13f['length'],_0x291bb5['push']({'selector':_0x4fc746['substr'](_0x527581,_0x10a018),'type':_0xcb66e8,'index':_0x527581,'length':_0x10a018}),_0x53e687=_0x53e687['replace'](_0x19c13f,Array(_0x10a018+0x1)['join']('\x20'));}},_0x4b43e0=function(_0x377fed){var _0x544726,_0x3bfc45,_0x3afaf2,_0x49062c;if(_0x377fed['test'](_0x53e687)){for(_0x3bfc45=0x0,_0x3afaf2=(_0x544726=_0x53e687['match'](_0x377fed))['length'];_0x3bfc45<_0x3afaf2;_0x3bfc45+=0x1)_0x49062c=_0x544726[_0x3bfc45],_0x53e687=_0x53e687['replace'](_0x49062c,Array(_0x49062c['length']+0x1)['join']('A'));}},_0x4b43e0(/\\[0-9A-Fa-f]{6}\s?/g),_0x4b43e0(/\\[0-9A-Fa-f]{1,5}\s/g),_0x4b43e0(/\\./g),(function(){var _0x15d874,_0x43d72c,_0x48bb31,_0x228678,_0xa8985e=/{[^]*/gm;if(_0xa8985e['test'](_0x53e687)){for(_0x43d72c=0x0,_0x48bb31=(_0x15d874=_0x53e687['match'](_0xa8985e))['length'];_0x43d72c<_0x48bb31;_0x43d72c+=0x1)_0x228678=_0x15d874[_0x43d72c],_0x53e687=_0x53e687['replace'](_0x228678,Array(_0x228678['length']+0x1)['join']('\x20'));}}()),_0x108da1(/(\[[^\]]+\])/g,'b'),_0x108da1(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x108da1(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x108da1(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x108da1(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x108da1(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x53e687=(_0x53e687=(_0x53e687=(_0x53e687=(_0x53e687=(_0x53e687=_0x53e687['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'),_0x108da1(/([^\s\+>~\.\[:]+)/g,'c'),_0x291bb5['sort'](function(_0x1013ef,_0x55078e){return _0x1013ef['index']-_0x55078e['index'];}),{'selector':_0x4fc746,'specificity':'0,'+_0x12122e['a']['toString']()+','+_0x12122e['b']['toString']()+','+_0x12122e['c']['toString'](),'specificityArray':[0x0,_0x12122e['a'],_0x12122e['b'],_0x12122e['c']],'parts':_0x291bb5};};function Zg(_0x34e801){const _0x47e601=[];let _0xf7a983='',_0x38d3eb=0x0;for(;_0x38d3eb<_0x34e801['length'];){const _0x2edc07=_0x34e801[_0x38d3eb];if('('===_0x2edc07){const _0x6b9e84=Xg(_0x34e801,_0x38d3eb+0x1);if(-0x1===_0x6b9e84)return[];_0xf7a983+=_0x34e801['slice'](_0x38d3eb,_0x6b9e84+0x1),_0x38d3eb=_0x6b9e84+0x1;}else','!==_0x2edc07||_0xf7a983['endsWith']('\x5c')?(_0xf7a983+=_0x2edc07,_0x38d3eb++):(_0x47e601['push'](_0xf7a983['trim']()),_0xf7a983='',_0x38d3eb++);}return _0xf7a983['trim']()&&_0x47e601['push'](_0xf7a983['trim']()),_0x47e601['filter'](Boolean);}function Xg(_0x11f23c,_0x53fdfe){let _0x4c5adf=0x1;for(let _0xe6f4f9=_0x53fdfe;_0xe6f4f9<_0x11f23c['length'];_0xe6f4f9++){const _0x481942=_0x11f23c[_0xe6f4f9];if('('===_0x481942)_0x4c5adf++;else{if(')'===_0x481942&&(_0x4c5adf--,0x0===_0x4c5adf))return _0xe6f4f9;}}return-0x1;}function qg(_0x2e95a2){return _0x2e95a2['replace'](/!\s*important/i,'')['trim']();}function Wg(_0x2f3701,_0x560fa4){const _0x4e9ca0=new Map(),_0x59ebcc=_0x527833=>_0x4e9ca0['has'](_0x527833)?_0x4e9ca0['get'](_0x527833):_0x2f3701(_0x527833);for(const [_0xed4d7e,_0x2e8353]of _0x560fa4['getStylesEntries']())if(_0x2e8353&&_0xed4d7e['startsWith']('--')){const _0x574592=zg(_0x59ebcc,_0x2e8353);_0x4e9ca0['set'](_0xed4d7e,_0x574592),_0x560fa4['remove'](_0xed4d7e);}for(const [_0x54f844,_0x14f4ee]of _0x560fa4['getStylesEntries']())if(_0x14f4ee){const _0x1cf731=zg(_0x59ebcc,_0x14f4ee);_0x560fa4['set'](_0x54f844,_0x1cf731);}return _0x4e9ca0;}function zg(_0x58ac09,_0xd7b063){return function(_0x169de5,_0x312ab8){let _0x2319eb='',_0x2053ff=0x0;for(;_0x2053ff<_0x169de5['length'];){const _0x3f1504=_0x169de5['indexOf']('var(',_0x2053ff);if(-0x1===_0x3f1504){_0x2319eb+=_0x169de5['slice'](_0x2053ff);break;}_0x2319eb+=_0x169de5['slice'](_0x2053ff,_0x3f1504);const _0x4ade4d=_0x3f1504+0x4,_0x4057d4=Xg(_0x169de5,_0x4ade4d);_0x2319eb+=_0x312ab8(_0x169de5['substring'](_0x4ade4d,_0x4057d4)),_0x2053ff=_0x4057d4+0x1;}return _0x2319eb;}(_0xd7b063,_0x12f7bd=>{const [_0x56ef31,_0x50f353]=Zg(_0x12f7bd),_0x59d0a0=_0x58ac09(_0x56ef31);return void 0x0!==_0x59d0a0?_0x59d0a0:_0x50f353?zg(_0x58ac09,_0x50f353):'var('+_0x56ef31+')';});}async function Yg(_0x461172){const _0x1a36f8=[await _0x1e3974(_0x461172['stylesheets']),_0x461172['inlineCss']]['filter'](_0x3d8654=>_0x3d8654&&_0x3d8654['length'])['join']('\x0a'),_0x578c86=await async function(_0x51853f,_0x12e0de){const _0x3a506d=new CSSStyleSheet();return await _0x3a506d['replace'](_0x12e0de),Kg(Array['from'](_0x3a506d['cssRules'])['filter'](_0x4d1148=>_0x4d1148 instanceof CSSStyleRule))['flatMap'](({selectorText:_0x278db4,contentCssText:_0x3dcf53})=>{const _0x468f25=Zg(_0x278db4),_0x28b8cf=new _0x1ccfd0(_0x51853f)['setTo'](_0x3dcf53);return _0x468f25['map'](_0x4b53b7=>{const _0x47ea8c=function(_0x676fe3){const _0x24e005=':where(';let _0x40c85c=_0x676fe3,_0x5e8b1a=0x0;for(let _0x50332e=0x0;_0x50332e<0x64;_0x50332e++){const _0x2013f1=_0x40c85c['indexOf'](_0x24e005,_0x5e8b1a);if(-0x1===_0x2013f1)break;let _0x5946b6=0x0;for(let _0x466bf9=0x0;_0x466bf9<_0x2013f1;_0x466bf9++)'('===_0x40c85c[_0x466bf9]?_0x5946b6++:')'===_0x40c85c[_0x466bf9]&&_0x5946b6--;if(_0x5946b6>0x0){_0x5e8b1a=_0x2013f1+_0x24e005['length'];continue;}let _0x4f129b=-0x1;for(let _0xc2e0c6=_0x2013f1+_0x24e005['length'],_0x153017=0x1;_0xc2e0c6<_0x40c85c['length'];_0xc2e0c6++)if('('===_0x40c85c[_0xc2e0c6]?_0x153017++:')'===_0x40c85c[_0xc2e0c6]&&_0x153017--,!_0x153017){_0x4f129b=_0xc2e0c6;break;}-0x1!==_0x4f129b?(_0x40c85c=_0x40c85c['slice'](0x0,_0x2013f1)+_0x40c85c['slice'](_0x4f129b+0x1),_0x5e8b1a=_0x2013f1):_0x5e8b1a=_0x2013f1+_0x24e005['length'];}return _0x40c85c['replace'](/\s+/g,'\x20')['trim']();}(_0x4b53b7),_0x1e6a33=_0x47ea8c?function(_0x463b26){var _0x41a590,_0x58c908,_0x5cda10,_0x538dfe,_0x6fa72e=[];for(_0x5cda10=0x0,_0x538dfe=(_0x41a590=_0x463b26['split'](','))['length'];_0x5cda10<_0x538dfe;_0x5cda10+=0x1)(_0x58c908=_0x41a590[_0x5cda10])['length']>0x0&&_0x6fa72e['push'](Gg(_0x58c908));return _0x6fa72e;}(_0x47ea8c)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x28b8cf,'flatSelector':_0x4b53b7,'specificity':_0x1e6a33};});})['sort']((_0x21a81b,_0x264a83)=>function(_0x360edb,_0x468e0e){var _0x2c4b77,_0x3dc9d7,_0x509ab2;if('string'==typeof _0x360edb){if(-0x1!==_0x360edb['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x2c4b77=Gg(_0x360edb)['specificityArray'];}else{if(!Array['isArray'](_0x360edb))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x360edb['filter'](function(_0x4bcc0a){return'number'==typeof _0x4bcc0a;})['length'])throw'Invalid\x20specificity\x20array';_0x2c4b77=_0x360edb;}if('string'==typeof _0x468e0e){if(-0x1!==_0x468e0e['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x3dc9d7=Gg(_0x468e0e)['specificityArray'];}else{if(!Array['isArray'](_0x468e0e))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x468e0e['filter'](function(_0x4b619f){return'number'==typeof _0x4b619f;})['length'])throw'Invalid\x20specificity\x20array';_0x3dc9d7=_0x468e0e;}for(_0x509ab2=0x0;_0x509ab2<0x4;_0x509ab2+=0x1){if(_0x2c4b77[_0x509ab2]<_0x3dc9d7[_0x509ab2])return-0x1;if(_0x2c4b77[_0x509ab2]>_0x3dc9d7[_0x509ab2])return 0x1;}return 0x0;}(_0x21a81b['specificity'],_0x264a83['specificity']));}(_0x461172['stylesProcessor'],_0x1a36f8),_0x11cce8=function(_0x42e0f4){const _0x2c2ed5=new Map();for(const {stylesMap:_0x46a319,flatSelector:_0x5a811a}of _0x42e0f4){if(':root'!==_0x5a811a)continue;const _0x515637=Wg(_0x2c2ed5['get']['bind'](_0x2c2ed5),_0x46a319);for(const [_0x52204a,_0x5a2ca6]of _0x515637)_0x2c2ed5['set'](_0x52204a,_0x5a2ca6);}return _0x2c2ed5;}(_0x578c86);return{'parsedCssRules':_0x578c86,'rootCssVariables':_0x11cce8};}function Kg(_0x2ba49c,_0x349a30=''){return _0x2ba49c['flatMap'](_0x1ab566=>{const {selectorText:_0x5d7193,cssText:_0x59a213,cssRules:_0x1faee8}=_0x1ab566;if(!_0x5d7193)return[];const _0x1b4c5e=_0x5d7193['replace'](/&/g,_0x349a30);let _0x3d6a3e=_0x59a213['replace'](_0x5d7193,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x1faee8||!_0x1faee8['length'])return[{'selectorText':_0x1b4c5e,'contentCssText':_0x3d6a3e}];for(const _0x101afb of _0x1faee8)_0x3d6a3e=_0x3d6a3e['replace'](_0x101afb['cssText'],'')['trim']();return[{'selectorText':_0x1b4c5e,'contentCssText':_0x3d6a3e},...Kg(Array['from'](_0x1faee8),_0x1b4c5e)];});}function Jg(_0x1912ea,_0x13bdcf){const _0x12b018=new _0x1ccfd0(_0x1912ea);for(const _0x1d54e1 of _0x13bdcf){let _0x3357=null;if(_0x3357='string'==typeof _0x1d54e1?new _0x1ccfd0(_0x1912ea)['setTo'](_0x1d54e1):_0x1d54e1,_0x3357){for(const [_0x551468,_0x2cf881]of _0x3357['getStylesEntries']())_0x12b018['set'](_0x551468,_0x2cf881);}}return _0x12b018;}class ExportInlineStylesCommand extends _0x208eac{['_stylesProcessor'];constructor(_0x107969){super(_0x107969),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x1478fc(this['_stylesProcessor']),_0x379087(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x275e27){const _0x4cfe68=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x142d33}=this['editor']['locale'],{rootName:_0x5c16ee='main',dataControllerDowncastOptions:_0x3fb0bd={},transformations:_0x555dbd=_0x4cfe68['transformations']||[]}=_0x275e27||{};this['isBusy']=!0x0,this['refresh']();const _0x53545c=this['_getRootDataHTMLFragment'](_0x5c16ee,_0x3fb0bd),_0x2fc3ad=_0x455380(_0x53545c['ownerDocument'],'div',{'dir':_0x142d33,'class':'ck-content'},[_0x53545c]);return this['_collectAndApplyStyles'](_0x555dbd,_0x2fc3ad)['then'](()=>{const _0x42097c=function(_0x534431){const _0x36c9fb=_0x534431['ownerDocument']['createDocumentFragment']();for(;_0x534431['firstChild'];)_0x36c9fb['appendChild'](_0x534431['firstChild']);return _0x36c9fb;}(_0x2fc3ad),_0x2c5842=_0x2fc3ad['getAttribute']('style');if(_0x2c5842)for(const _0x4be1f2 of _0x42097c['children']){const _0x75d518=_0x4be1f2['getAttribute']('style'),_0x48a842=Jg(this['_stylesProcessor'],[_0x2c5842,_0x75d518]);_0x4be1f2['setAttribute']('style',tp(_0x48a842));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x42097c);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x1e4612,_0x4abcab){const {data:_0x128c21,model:_0x59f959}=this['editor'],_0x4aa572=_0x59f959['document']['getRoot'](_0x1e4612),_0x4bfdbd=_0x128c21['toView'](_0x4aa572,_0x4abcab);return _0x128c21['htmlProcessor']['domConverter']['viewToDom'](_0x4bfdbd);}async['_collectAndApplyStyles'](_0x8914f2,_0x237cc9){const {stylesheets:_0x3ff98a,inlineCss:_0x111c70,stripCssClasses:_0x37cf5d}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x4ae358,rootCssVariables:_0x379f3c}=await Yg({'stylesheets':_0x3ff98a||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x111c70}),_0x4f2a5e=[];this['_processElementTree']({'transformations':_0x8914f2,'parsedCssRules':_0x4ae358,'element':_0x237cc9,'stripCssClasses':_0x37cf5d,'parentCSSVariablesLookup':_0x379f3c['get']['bind'](_0x379f3c),'runAfterDocumentTransformation':_0x45a6c1=>{_0x4f2a5e['unshift'](_0x45a6c1);}});for(const _0x5680cd of _0x4f2a5e)_0x5680cd();}['_processElementTree']({element:_0x91ed19,parsedCssRules:_0x29161e,parentCSSVariablesLookup:_0x20d50b,runAfterDocumentTransformation:_0x265bd2,stripCssClasses:_0x190ce3,transformations:_0x4200a4}){const {stylesMap:_0x250cf1,localCSSVariables:_0x373604}=function(_0xf493e5){const _0x1a5c54=_0xf493e5['element']['getAttribute']('style')||'',_0x13f77f=_0xf493e5['parsedCssRules']['filter'](_0x486a42=>_0xf493e5['element']['matches'](_0x486a42['flatSelector']))['map'](_0x1cb8d8=>_0x1cb8d8['stylesMap']),_0x457343=Jg(_0xf493e5['stylesProcessor'],[..._0x13f77f,_0x1a5c54]);return{'localCSSVariables':Wg(_0xf493e5['fallbackCSSVariablesLookup'],_0x457343),'stylesMap':_0x457343};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x20d50b,'parsedCssRules':_0x29161e,'element':_0x91ed19}),_0x1d3f2c=[];for(const _0x4d9248 of _0x4200a4){const _0x2afe85=_0x4d9248(_0x91ed19,_0x250cf1,{'runAfterDocumentTransformation':_0x265bd2,'runAfterChildrenTransformation':_0x1c519e=>{_0x1d3f2c['unshift'](_0x1c519e);}});_0x2afe85&&_0x2afe85 instanceof HTMLElement&&(_0x91ed19=_0x2afe85);}_0x250cf1['size']?_0x91ed19['setAttribute']('style',tp(_0x250cf1)):_0x91ed19['removeAttribute']('style');const _0x4c1c0c=_0x590d9f=>_0x373604['has'](_0x590d9f)?_0x373604['get'](_0x590d9f):_0x20d50b(_0x590d9f);for(const _0x263a88 of _0x91ed19['children'])_0x263a88 instanceof HTMLElement&&this['_processElementTree']({'element':_0x263a88,'parsedCssRules':_0x29161e,'stripCssClasses':_0x190ce3,'transformations':_0x4200a4,'parentCSSVariablesLookup':_0x4c1c0c,'runAfterDocumentTransformation':_0x265bd2});_0x190ce3&&_0x91ed19['removeAttribute']('class');for(const _0x41f46c of _0x1d3f2c)_0x41f46c();}}function tp(_0x85c3f7){return _0x85c3f7['getStylesEntries']()['map'](_0x2f2d07=>_0x2f2d07['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x151d85{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new ExportInlineStylesCommand(this['editor']));}['afterInit'](){!async function(_0x25e4d3){const _0xaff2bb=_0xbdc5ca([0x44,0x55,0x41,0x36,0x31,0x30,0x65,0x6d,0x4c,0x34,0x51,0x32,0x6b,0x6a,0x56,0x49,0x76,0x47,0x4d,0x48,0x67,0x57,0x54,0x33,0x75,0x79,0x53,0x6e,0x7a,0x50,0x45,0x77,0x37,0x39,0x6f,0x5a,0x4a,0x69,0x43,0x72,0x62,0x73,0x74,0x63,0x58,0x4b,0x71,0x38,0x35,0x4e,0x68,0x64,0x66,0x61,0x46,0x52,0x78,0x42,0x6c,0x70,0x4f,0x59]),_0x598461=0x6f40c3fb,_0x292e86=0x6f47482b^_0x598461,_0x23ad90=window[_0xbdc5ca([0x44,0x61,0x74,0x65])][_0xbdc5ca([0x6e,0x6f,0x77])](),_0x45f6a1=_0x25e4d3[_0xbdc5ca([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2fa762=new window[(_0xbdc5ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15c351=>{_0x45f6a1[_0xbdc5ca([0x6f,0x6e,0x63,0x65])](_0xbdc5ca([0x72,0x65,0x61,0x64,0x79]),_0x15c351);}),_0x513ecb={[_0xbdc5ca([0x6b,0x74,0x79])]:_0xbdc5ca([0x45,0x43]),[_0xbdc5ca([0x75,0x73,0x65])]:_0xbdc5ca([0x73,0x69,0x67]),[_0xbdc5ca([0x63,0x72,0x76])]:_0xbdc5ca([0x50,0x2d,0x32,0x35,0x36]),[_0xbdc5ca([0x78])]:_0xbdc5ca([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xbdc5ca([0x79])]:_0xbdc5ca([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xbdc5ca([0x61,0x6c,0x67])]:_0xbdc5ca([0x45,0x53,0x32,0x35,0x36])},_0x2425c4=_0x45f6a1[_0xbdc5ca([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xbdc5ca([0x67,0x65,0x74])](_0xbdc5ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x42498a(){let _0xd1ef52,_0x490c6b=null,_0x4424a9=null;try{if(_0x2425c4==_0xbdc5ca([0x47,0x50,0x4c]))return _0xbdc5ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd1ef52=_0x90d601(),!_0xd1ef52)return _0xbdc5ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd1ef52[_0xbdc5ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4424a9=_0x788a69(_0xd1ef52[_0xbdc5ca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd1ef52[_0xbdc5ca([0x6a,0x74,0x69])])),await _0x36ca9e()?_0xdfb001()?_0x2e1b41()?_0xbdc5ca([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f9c4c()?(_0xd1ef52[_0xbdc5ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xbdc5ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x490c6b=_0x233db8(_0xbdc5ca([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42e0a5()):_0xbdc5ca([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xbdc5ca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xbdc5ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xbdc5ca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e1b41(){const _0x1049d9=[_0xbdc5ca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xbdc5ca([0x74,0x72,0x69,0x61,0x6c])][_0xbdc5ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd1ef52[_0xbdc5ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23ad90/0x3e8:0xe10*_0x292e86;return _0xd1ef52[_0xbdc5ca([0x65,0x78,0x70])]<_0x1049d9;}function _0xdfb001(){const _0xa05d4c=_0xd1ef52[_0xbdc5ca([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xa05d4c&&(!!_0xa05d4c[_0xbdc5ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbdc5ca([0x2a]))||!!_0xa05d4c[_0xbdc5ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbdc5ca([0x45,0x49,0x53])));}function _0x3f9c4c(){const _0xd4a4d4=_0xd1ef52[_0xbdc5ca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd4a4d4||0x0==_0xd4a4d4[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32a89c}=new URL(window[_0xbdc5ca([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xd4a4d4[_0xbdc5ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32a89c))return!0x0;const _0x34e9e5=_0x32a89c[_0xbdc5ca([0x73,0x70,0x6c,0x69,0x74])](_0xbdc5ca([0x2e]));return _0xd4a4d4[_0xbdc5ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6b0311=>_0x6b0311[_0xbdc5ca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbdc5ca([0x2a])))[_0xbdc5ca([0x6d,0x61,0x70])](_0x1cf5e7=>_0x1cf5e7[_0xbdc5ca([0x73,0x70,0x6c,0x69,0x74])](_0xbdc5ca([0x2e])))[_0xbdc5ca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c1304=>_0x2c1304[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34e9e5[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbdc5ca([0x6d,0x61,0x70])](_0x58bbdb=>Array(_0x34e9e5[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58bbdb[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xbdc5ca([0x66,0x69,0x6c,0x6c])](_0x58bbdb[0x0]===_0xbdc5ca([0x2a])?_0xbdc5ca([0x2a]):'')[_0xbdc5ca([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58bbdb))[_0xbdc5ca([0x73,0x6f,0x6d,0x65])](_0x40f37b=>_0x34e9e5[_0xbdc5ca([0x65,0x76,0x65,0x72,0x79])]((_0x4dd935,_0xcef14d)=>_0x40f37b[_0xcef14d]===_0x4dd935||_0x40f37b[_0xcef14d]===_0xbdc5ca([0x2a])));}function _0x42e0a5(){return _0x490c6b&&_0x4424a9?new window[(_0xbdc5ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x533253,_0x8aac57)=>{_0x490c6b[_0xbdc5ca([0x74,0x68,0x65,0x6e])](_0x533253,_0x8aac57),_0x4424a9[_0xbdc5ca([0x74,0x68,0x65,0x6e])](_0x467630=>{_0x467630!=_0xbdc5ca([0x56,0x61,0x6c,0x69,0x64])&&_0x533253(_0x467630);},_0x8aac57);}):_0x490c6b||_0x4424a9||_0xbdc5ca([0x56,0x61,0x6c,0x69,0x64]);}}function _0x788a69(_0x289940,_0x56b0e9){return new window[(_0xbdc5ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d34dd=>{if(_0x414bd3())return _0x2d34dd(_0xbdc5ca([0x56,0x61,0x6c,0x69,0x64]));_0x247576(),_0x45f6a1[_0xbdc5ca([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xbdc5ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x435e65=!0x1;const _0x28e6a3=_0x3eda13();function _0x19a69d(_0x173ff2){return!!_0x173ff2&&(typeof _0x173ff2===_0xbdc5ca([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x173ff2===_0xbdc5ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x173ff2[_0xbdc5ca([0x74,0x68,0x65,0x6e])]===_0xbdc5ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x173ff2[_0xbdc5ca([0x63,0x61,0x74,0x63,0x68])]===_0xbdc5ca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x131b52(_0x3c98ca){_0x948cbd(_0x3c98ca)[_0xbdc5ca([0x74,0x68,0x65,0x6e])](_0x4b36e3=>{if(!_0x4b36e3||_0x4b36e3[_0xbdc5ca([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xbdc5ca([0x6f,0x6b]))return _0xbdc5ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cc047(_0x40e8cb(_0x28e6a3+_0x56b0e9))!=_0x4b36e3[_0xbdc5ca([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xbdc5ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xbdc5ca([0x56,0x61,0x6c,0x69,0x64]);})[_0xbdc5ca([0x74,0x68,0x65,0x6e])](_0x5aa224=>(_0x45eea1(),_0x5aa224),()=>{const _0x2e5b3e=_0x471780();return null==_0x2e5b3e?(_0x45eea1(),_0xbdc5ca([0x56,0x61,0x6c,0x69,0x64])):_0xbdc5ca(_0x23ad90-_0x2e5b3e>(0x4b4c47fb^_0x598461)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xbdc5ca([0x74,0x68,0x65,0x6e])](_0x2d34dd)[_0xbdc5ca([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d34dd(_0xbdc5ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53be20=0x6f762d7b^_0x598461;function _0x45eea1(){const _0x4c2379=_0xbdc5ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cc047(_0x40e8cb(_0x289940)),_0x5dced4=_0x101685(_0x5cc047(window[_0xbdc5ca([0x4d,0x61,0x74,0x68])][_0xbdc5ca([0x63,0x65,0x69,0x6c])](_0x23ad90/_0x53be20)));window[_0xbdc5ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbdc5ca([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c2379,_0x5dced4);}function _0x471780(){const _0x5c916e=_0xbdc5ca([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cc047(_0x40e8cb(_0x289940)),_0x2bf36e=window[_0xbdc5ca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xbdc5ca([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c916e);return _0x2bf36e?window[_0xbdc5ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x101685(_0x2bf36e),0x10)*_0x53be20:null;}function _0x948cbd(_0x599a55){return new window[(_0xbdc5ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x557880,_0x8b8323)=>{_0x599a55[_0xbdc5ca([0x74,0x68,0x65,0x6e])](_0x557880,_0x8b8323),window[_0xbdc5ca([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x8b8323,0x6f41173b^_0x598461);});}}_0x45f6a1[_0xbdc5ca([0x6f,0x6e])](_0xbdc5ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58ac0c,_0x1d9735)=>{if(_0x1d9735[0x0]!=_0x289940)return _0x2d34dd(_0xbdc5ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d9735[0x1]={..._0x1d9735[0x1],[_0xbdc5ca([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28e6a3};},{[_0xbdc5ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbdc5ca([0x68,0x69,0x67,0x68])}),_0x45f6a1[_0xbdc5ca([0x6f,0x6e])](_0xbdc5ca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54e124=>{_0x19a69d(_0x54e124[_0xbdc5ca([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x435e65=!0x0,_0x131b52(_0x54e124[_0xbdc5ca([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xbdc5ca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xbdc5ca([0x6c,0x6f,0x77])}),_0x2fa762[_0xbdc5ca([0x74,0x68,0x65,0x6e])](()=>{_0x435e65||_0x2d34dd(_0xbdc5ca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x414bd3(){return _0x45f6a1[_0xbdc5ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbdc5ca([0x76,0x69,0x65,0x77])][_0xbdc5ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xbdc5ca([0x61,0x75,0x74,0x6f]);}function _0x247576(){_0x45f6a1[_0xbdc5ca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xbdc5ca([0x76,0x69,0x65,0x77])][_0xbdc5ca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xbdc5ca([0x61,0x75,0x74,0x6f]);}}function _0x233db8(_0x45e571){const _0x1d65ff=[new window[(_0xbdc5ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50cc1e=>setTimeout(_0x50cc1e,0x6f49fd37^_0x598461)),_0x2fa762[_0xbdc5ca([0x74,0x68,0x65,0x6e])](()=>new window[(_0xbdc5ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47d6c0=>{let _0x47ba75=0x0;_0x45f6a1[_0xbdc5ca([0x6d,0x6f,0x64,0x65,0x6c])][_0xbdc5ca([0x6f,0x6e])](_0xbdc5ca([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d3f99,_0x6da889)=>{_0x6da889[0x0][_0xbdc5ca([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47ba75++,_0x47ba75==(0x6f40c613^_0x598461)&&(_0x47d6c0(),_0x5d3f99[_0xbdc5ca([0x6f,0x66,0x66])]());});}))];return window[_0xbdc5ca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xbdc5ca([0x72,0x61,0x63,0x65])](_0x1d65ff)[_0xbdc5ca([0x74,0x68,0x65,0x6e])](()=>_0x45e571);}async function _0x526352(){await _0x2fa762;const _0x453ced=_0x45f6a1['commands'][_0xbdc5ca([0x67,0x65,0x74])](_0xbdc5ca([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x453ced&&_0x453ced[_0xbdc5ca([0x6f,0x6e])](_0xbdc5ca([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x50d335=>{_0x50d335['stop']();},{'priority':_0xbdc5ca([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x45f6a1[_0xbdc5ca([0x6d,0x6f,0x64,0x65,0x6c])][_0xbdc5ca([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x386439,_0x45f6a1[_0xbdc5ca([0x6d,0x6f,0x64,0x65,0x6c])][_0xbdc5ca([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x386439,_0x45f6a1[_0xbdc5ca([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xbdc5ca([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd90b9f(_0x1bda5b){const _0x39d9c2=_0x47445e();_0x45f6a1[_0x39d9c2]=_0xbdc5ca([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bda5b,_0x1bda5b!=_0xbdc5ca([0x56,0x61,0x6c,0x69,0x64])&&_0x526352();}function _0x47445e(){const _0x2873f2=window[_0xbdc5ca([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xbdc5ca([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xbdc5ca([0x6e,0x6f,0x77])]())[_0xbdc5ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xbdc5ca([0x2e]),'');let _0xd4e690=_0xbdc5ca([0x44]);for(let _0x280140=0x0;_0x280140<_0x2873f2[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x280140+=0x2){let _0x5b760a=window[_0xbdc5ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2873f2[_0xbdc5ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x280140,_0x280140+0x2));_0x5b760a>=_0xaff2bb[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b760a-=_0xaff2bb[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd4e690+=_0xaff2bb[_0x5b760a];}return _0xd4e690;}function _0x90d601(){const _0x1048e6=_0x2425c4[_0xbdc5ca([0x73,0x70,0x6c,0x69,0x74])](_0xbdc5ca([0x2e]));if(0x3!=_0x1048e6[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a4179(_0x1048e6[0x1]);function _0x3a4179(_0x337bec){const _0x3c78af=_0x466a05(_0x337bec);return _0x3c78af&&_0x154f28()?_0x3c78af:null;function _0x154f28(){const _0x1202ce=_0x3c78af[_0xbdc5ca([0x6a,0x74,0x69])],_0x430b08=window[_0xbdc5ca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1202ce[_0xbdc5ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1202ce[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xac0292={..._0x3c78af,[_0xbdc5ca([0x6a,0x74,0x69])]:_0x1202ce[_0xbdc5ca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1202ce[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xac0292[_0xbdc5ca([0x76,0x63])],_0x40e8cb(_0xac0292)==_0x430b08;}}}async function _0x36ca9e(){let _0x3e0882=!0x0;try{const _0x4d7607=_0x2425c4[_0xbdc5ca([0x73,0x70,0x6c,0x69,0x74])](_0xbdc5ca([0x2e])),[_0x4bf048,_0x54766f,_0x44ea1d]=_0x4d7607;return _0x16fe99(_0x4bf048),await _0x4e22a7(_0x4bf048,_0x54766f,_0x44ea1d),_0x3e0882;}catch{return!0x1;}function _0x16fe99(_0x29fa62){const _0xd7253=_0x466a05(_0x29fa62);_0xd7253&&_0xd7253[_0xbdc5ca([0x61,0x6c,0x67])]==_0xbdc5ca([0x45,0x53,0x32,0x35,0x36])||(_0x3e0882=!0x1);}async function _0x4e22a7(_0x3b73bf,_0x248713,_0x4e7699){const _0x36399c=window[_0xbdc5ca([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xbdc5ca([0x66,0x72,0x6f,0x6d])](_0xcb22b1(_0x4e7699),_0xd71826=>_0xd71826[_0xbdc5ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x765228=new window[(_0xbdc5ca([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xbdc5ca([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b73bf+_0xbdc5ca([0x2e])+_0x248713),_0x542e92=window[_0xbdc5ca([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xbdc5ca([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x542e92)return;const _0x28c055=await _0x542e92[_0xbdc5ca([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xbdc5ca([0x6a,0x77,0x6b]),_0x513ecb,{[_0xbdc5ca([0x6e,0x61,0x6d,0x65])]:_0xbdc5ca([0x45,0x43,0x44,0x53,0x41]),[_0xbdc5ca([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xbdc5ca([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xbdc5ca([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x542e92[_0xbdc5ca([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xbdc5ca([0x6e,0x61,0x6d,0x65])]:_0xbdc5ca([0x45,0x43,0x44,0x53,0x41]),[_0xbdc5ca([0x68,0x61,0x73,0x68])]:{[_0xbdc5ca([0x6e,0x61,0x6d,0x65])]:_0xbdc5ca([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x28c055,_0x36399c,_0x765228)||(_0x3e0882=!0x1);}}function _0x466a05(_0x15221b){return _0x15221b[_0xbdc5ca([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xbdc5ca([0x65,0x79]))?JSON[_0xbdc5ca([0x70,0x61,0x72,0x73,0x65])](_0xcb22b1(_0x15221b)):null;}function _0xcb22b1(_0x5c594d){return window[_0xbdc5ca([0x61,0x74,0x6f,0x62])](_0x5c594d[_0xbdc5ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xbdc5ca([0x2b]))[_0xbdc5ca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xbdc5ca([0x2f])));}function _0x40e8cb(_0x401757){let _0x2ce656=0x1505;function _0x32a95b(_0x28a825){for(let _0x172b61=0x0;_0x172b61<_0x28a825[_0xbdc5ca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x172b61++){const _0x2cd491=_0x28a825[_0xbdc5ca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x172b61);_0x2ce656=(_0x2ce656<<0x5)+_0x2ce656+_0x2cd491,_0x2ce656&=_0x2ce656;}}function _0x327df7(_0x422b22){Array[_0xbdc5ca([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x422b22)?_0x422b22[_0xbdc5ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x327df7):_0x422b22&&typeof _0x422b22==_0xbdc5ca([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xbdc5ca([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x422b22)[_0xbdc5ca([0x73,0x6f,0x72,0x74])]()[_0xbdc5ca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc04fbc,_0x59534a])=>{_0x32a95b(_0xc04fbc),_0x327df7(_0x59534a);}):_0x32a95b(window[_0xbdc5ca([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x422b22));}return _0x327df7(_0x401757),_0x2ce656>>>0x0;}function _0x5cc047(_0x5e2529){return _0x5e2529[_0xbdc5ca([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xbdc5ca([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xbdc5ca([0x30]));}function _0x101685(_0x1b9578){return _0x1b9578[_0xbdc5ca([0x73,0x70,0x6c,0x69,0x74])]('')[_0xbdc5ca([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xbdc5ca([0x6a,0x6f,0x69,0x6e])]('');}function _0x386439(){}function _0xbdc5ca(_0x2d782b){return _0x2d782b['map'](_0x168901=>String['fromCharCode'](_0x168901))['join']('');}_0xd90b9f(await _0x42498a());}(this);}}class ExportInlineStyles extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ExportInlineStylesEditing];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5d17b7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x334647;for(const _0x29d489 in _0x5d17b7){const _0x5a48c1=_0x29d489,_0x4a2482=_0x5d17b7[_0x5a48c1];if('exportInlineStylesLicenseKeyValid'==_0x4a2482||'exportInlineStylesLicenseKeyInvalid'==_0x4a2482||'exportInlineStylesLicenseKeyExpired'==_0x4a2482||'exportInlineStylesLicenseKeyDomainLimit'==_0x4a2482||'exportInlineStylesLicenseKeyNotAllowed'==_0x4a2482||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x4a2482||'exportInlineStylesLicenseKeyUsageLimit'==_0x4a2482){delete _0x5d17b7[_0x5a48c1],_0x334647=_0x4a2482,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x334647&&_0x5d17b7['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x334647&&_0x5d17b7['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x334647&&_0x5d17b7['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x334647&&_0x5d17b7['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x334647&&_0x5d17b7['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x334647&&_0x5d17b7['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function ep(_0x14908f,_0x145ca0){const _0x482657=_0x14908f['ownerDocument'],{table:_0x2aa1e4,cell:_0x1cee4c}=ip(_0x482657,'100%');_0x145ca0['align']&&_0x1cee4c['setAttribute']('align',qg(_0x145ca0['align']));let _0x2633a6=_0x1cee4c;if(_0x145ca0['width']){const {table:_0x432597,cell:_0x4be2d3}=ip(_0x482657,qg(_0x145ca0['width']));_0x1cee4c['appendChild'](_0x432597),_0x2633a6=_0x4be2d3;}return _0x14908f['replaceWith'](_0x2aa1e4),_0x14908f['removeAttribute']('align'),_0x14908f['removeAttribute']('width'),_0x2633a6['appendChild'](_0x14908f),_0x2633a6;}function ip(_0x36ead1,_0xa37816){const _0xa65eaf=_0x36ead1['createElement']('table');_0xa37816&&(_0xa65eaf['style']['width']=_0xa37816,_0xa65eaf['setAttribute']('width',ap(_0xa37816))),_0xa65eaf['setAttribute']('cellpadding','0'),_0xa65eaf['setAttribute']('cellspacing','0'),_0xa65eaf['setAttribute']('border','0'),_0xa65eaf['setAttribute']('role','presentation');const _0x3f9eab=_0x36ead1['createElement']('tbody'),_0x32f05b=_0x36ead1['createElement']('tr'),_0xd6c874=_0x36ead1['createElement']('td');return _0xa65eaf['appendChild'](_0x3f9eab),_0x3f9eab['appendChild'](_0x32f05b),_0x32f05b['appendChild'](_0xd6c874),{'table':_0xa65eaf,'cell':_0xd6c874};}function sp(_0xc910a3){const _0xb23a8e=_0xc910a3['getAsString']('margin-left'),_0xf76773=_0xc910a3['getAsString']('margin-right'),_0xcd7826=_0xb23a8e&&qg(_0xb23a8e),_0x23d566=_0xf76773&&qg(_0xf76773);return'auto'===_0xcd7826&&'auto'===_0x23d566?'center':'auto'===_0xcd7826?'right':'auto'===_0x23d566?'left':void 0x0;}function np(_0x3c4fa7,_0x2968b2){const _0x1489c3=_0x3c4fa7['ownerDocument']['createElement'](_0x2968b2);for(const _0x28236d of Array['from'](_0x3c4fa7['attributes']))_0x1489c3['setAttribute'](_0x28236d['name'],_0x28236d['value']);for(;_0x3c4fa7['firstChild'];)_0x1489c3['appendChild'](_0x3c4fa7['firstChild']);return _0x1489c3;}function rp(_0x29fccf){if('TABLE'!==_0x29fccf['tagName'])return!0x1;if('presentation'!==_0x29fccf['getAttribute']('role'))return!0x1;const _0x42eefd=op(_0x29fccf);return null!==_0x42eefd&&_0x42eefd['hasAttribute']('align');}function op(_0x250657){let _0x2e0e59=_0x250657;0x1===_0x250657['children']['length']&&'TBODY'===_0x250657['children'][0x0]['tagName']&&(_0x2e0e59=_0x250657['children'][0x0]);const _0x295a90=_0x2e0e59['children'];if(0x1!==_0x295a90['length']||'TR'!==_0x295a90[0x0]['tagName'])return null;const _0xc904f1=_0x295a90[0x0]['children'];return 0x1!==_0xc904f1['length']||'TD'!==_0xc904f1[0x0]['tagName']?null:_0xc904f1[0x0];}function ap(_0x35f9f5){return function(_0x248e85){if(_0x248e85['endsWith']('px'))return _0x248e85['slice'](0x0,-0x2);return _0x248e85;}(qg(_0x35f9f5));}const cp=(_0x1ff3c0,_0x2c9bfa,{runAfterDocumentTransformation:_0x5e7d64,runAfterChildrenTransformation:_0x2185f0})=>{if('FIGURE'!==_0x1ff3c0['tagName'])return;const _0x105682=_0x2c9bfa['getAsString']('float');if(_0x105682){if(hp(_0x1ff3c0))_0x5e7d64(()=>{lp(_0x1ff3c0,{'align':_0x105682});});else{const {table:_0x43dea1,cell:_0x223d11}=ip(_0x1ff3c0['ownerDocument']);_0x43dea1['setAttribute']('align',qg(_0x105682)),_0x43dea1['setAttribute']('style',function(_0x98febb){return _0x98febb['getStylesEntries']()['map'](_0x3bf631=>_0x3bf631['join'](':'))['join'](';')+';';}(_0x2c9bfa)),_0x2185f0(()=>{for(const _0x3a4dba of Array['from'](_0x1ff3c0['childNodes']))_0x223d11['appendChild'](_0x3a4dba);}),_0x5e7d64(()=>{_0x1ff3c0['replaceWith'](_0x43dea1);});}}else{const _0x5989f9=sp(_0x2c9bfa),_0x361633=_0x2c9bfa['getAsString']('width');if(!_0x5989f9&&!_0x361633)return;ep(_0x1ff3c0,{'align':_0x5989f9,'width':_0x361633}),_0x361633&&_0x2c9bfa['set']('width','100%'),_0x2c9bfa['remove']('margin-left'),_0x2c9bfa['remove']('margin-right'),_0x2c9bfa['remove']('min-width'),_0x2c9bfa['remove']('max-width'),_0x5e7d64(()=>{if(!lp(_0x1ff3c0)){const _0x5531d0=np(_0x1ff3c0,'div');_0x1ff3c0['replaceWith'](_0x5531d0);}});}};function lp(_0x1c78df,_0x52ba56={}){const _0x83069e=hp(_0x1c78df);if(!_0x83069e)return null;for(const _0x1088c2 of['id','class']){const _0x39e28e=_0x1c78df['getAttribute'](_0x1088c2);_0x39e28e&&_0x83069e['setAttribute'](_0x1088c2,_0x39e28e);}for(const _0x11badd of['display','float','width','height'])_0x83069e['style']['removeProperty'](_0x11badd);const _0x14b195=_0x1c78df['getAttribute']('style');if(_0x14b195){const _0x74f433=_0x83069e['getAttribute']('style')||'';_0x83069e['setAttribute']('style',_0x14b195+_0x74f433);}return _0x52ba56['align']&&_0x83069e['setAttribute']('align',qg(_0x52ba56['align'])),'fixed'!==_0x83069e['style']['tableLayout']||_0x83069e['style']['width']||(_0x83069e['style']['width']='100%',_0x83069e['setAttribute']('width','100%')),_0x1c78df['replaceWith'](_0x83069e),_0x83069e;}function hp(_0x85d26a){const _0x5b831d=Array['from'](_0x85d26a['children']);return 0x1===_0x5b831d['length']&&'TABLE'===_0x5b831d[0x0]['tagName']?_0x5b831d[0x0]:null;}class ImageEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x4431d2,plugins:_0x558d89}=this['editor'],_0x4ece34=_0x4431d2['get']('exportInlineStyles');if(_0x4ece34?.['transformations']?.['includes'](cp))return;_0x558d89['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class MathTypeEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MathType');}}class ExportInlineStylesEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5b9247=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x5b9247['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x22adc8=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x15a510=this['editor']['config']['get']('list');_0x15a510&&_0x15a510['properties']&&_0x15a510['properties']['reversed']&&_0x22adc8['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x15a510&&_0x15a510['enableListItemMarkerFormatting']&&_0x22adc8['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x3d99c4}=this['editor'],_0x1b1ff4=_0x3d99c4['get'](EmailConfigurationLogger);_0x3d99c4['has']('Table')&&(_0x3d99c4['has']('PlainTableOutput')||_0x1b1ff4['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x3d99c4['has']('TableLayout')||_0x1b1ff4['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x3b801e,plugins:_0x9807ee}=this['editor'];_0x3b801e['get']('table')&&_0x9807ee['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0xa416dc){const _0x8198c8=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x8198c8['_validateConfigColorValue']('table.'+_0xa416dc+'.borderColors'),_0x8198c8['_validateConfigColorValue']('table.'+_0xa416dc+'.backgroundColors'),_0x8198c8['_validateConfigColorValue']('table.'+_0xa416dc+'.defaultProperties.borderColor'),_0x8198c8['_validateConfigColorValue']('table.'+_0xa416dc+'.defaultProperties'),_0x8198c8['_validateConfigColorFormat']('table.'+_0xa416dc+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xd2144c=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0xd2144c['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}}class FontEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0xf2575e}=this['editor'];_0xf2575e['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0xf2575e['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x617caa){const _0x4d7401=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x617caa)&&(_0x4d7401['_validateConfigColorValue'](_0x617caa+'.colors'),_0x4d7401['_validateConfigColorValue'](_0x617caa+'.documentColors'),_0x4d7401['_validateConfigColorFormat'](_0x617caa+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x3abeb7}=this['editor'],_0x5e8f23=_0x3abeb7['get'](EmailConfigurationLogger);_0x3abeb7['has']('SourceEditing')||_0x3abeb7['has']('SourceEditingEnhanced')||_0x5e8f23['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Markdown');}}class GeneralHtmlIntegrationSupport extends _0x151d85{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x49fb42}=this['editor'];if(!_0x49fb42['has']('DataFilter'))return;const _0x272661=_0x49fb42['get']('DataFilter'),_0x4baca2=_0x49fb42['get'](EmailConfigurationLogger);for(const _0x22d5f4 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x272661['once']('register:'+_0x22d5f4,(_0x2a8366,_0x477c17)=>{_0x4baca2['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x477c17['view']});});}}class MergeFieldsEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5ccfeb=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x5ccfeb['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}}class TemplateEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4482d4=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x4482d4['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}}class UploadEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Base64UploadAdapter');}}class MediaEmbedEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MediaEmbed');}}class TodoListEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('TodoList');}}class MultiLevelListEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}}class LinkEmailIntegration extends _0x151d85{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x2e0306,plugins:_0x4a30f8}=this['editor'],_0x1aa566=_0x4a30f8['get'](EmailConfigurationLogger),_0x3f6642=_0x2e0306['get']('exportInlineStyles');_0x3f6642?.['transformations']?.['includes'](cp)||_0x1aa566['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class EmailConfigurationHelper extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[HighlightEmailIntegration,ImageEmailIntegration,MathTypeEmailIntegration,ExportInlineStylesEmailIntegration,ListEmailIntegration,TableEmailIntegration,EmptyBlockEmailIntegration,FontEmailIntegration,SourceEditingEmailIntegration,MarkdownEmailIntegration,GeneralHtmlIntegrationSupport,MergeFieldsEmailIntegration,TemplateEmailIntegration,UploadEmailIntegration,MediaEmbedEmailIntegration,TodoListEmailIntegration,MultiLevelListEmailIntegration,LinkEmailIntegration];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b808b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x323bd4;for(const _0x4224ec in _0x1b808b){const _0x108e67=_0x4224ec,_0x1f2a4e=_0x1b808b[_0x108e67];if('emailConfigurationHelperLicenseKeyValid'==_0x1f2a4e||'emailConfigurationHelperLicenseKeyInvalid'==_0x1f2a4e||'emailConfigurationHelperLicenseKeyExpired'==_0x1f2a4e||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x1f2a4e||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x1f2a4e||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x1f2a4e||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x1f2a4e){delete _0x1b808b[_0x108e67],_0x323bd4=_0x1f2a4e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x323bd4&&_0x1b808b['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x323bd4&&_0x1b808b['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x323bd4&&_0x1b808b['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x323bd4&&_0x1b808b['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x323bd4&&_0x1b808b['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x323bd4&&_0x1b808b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const up=(_0x574702,_0x3876e2)=>{if(!['TABLE','IMG']['includes'](_0x574702['tagName']))return;const _0x334927=_0x3876e2['getAsString']('float');if(_0x334927){const _0x38718b=qg(_0x334927);'left'!==_0x38718b&&'right'!==_0x38718b||_0x574702['setAttribute']('align',_0x38718b);}},dp=(_0x165c20,_0x278953)=>{if('TABLE'!==_0x165c20['tagName']||_0x278953['has']('float'))return;const _0x4f1a53=sp(_0x278953),_0x4309eb=_0x278953['getAsString']('width');_0x4f1a53&&(ep(_0x165c20,{'align':_0x4f1a53}),_0x4309eb?_0x165c20['setAttribute']('width',ap(_0x4309eb)):_0x278953['remove']('width'),_0x278953['remove']('margin-left'),_0x278953['remove']('margin-right'));},fp=(_0x54e82f,_0x3aca19)=>{if('IMG'!==_0x54e82f['tagName'])return;const _0x3b8e5c=_0x3aca19['getAsString']('width');_0x3b8e5c&&(_0x54e82f['setAttribute']('width',ap(_0x3b8e5c)),_0x54e82f['setAttribute']('height','auto'));},mp=(_0x5952ee,_0x42e829,{runAfterDocumentTransformation:_0x5dd38b})=>{if('FIGCAPTION'!==_0x5952ee['tagName'])return;const _0x45c3c9=_0x42e829['getAsString']('display'),_0x12e46a=_0x42e829['getAsString']('caption-side');_0x42e829['remove']('caption-side'),_0x45c3c9&&'table-caption'===qg(_0x45c3c9)&&_0x42e829['remove']('display');const _0x3a5fd0=_0x12e46a&&'top'===qg(_0x12e46a);_0x5dd38b(()=>{const _0x17a10f=np(_0x5952ee,'div'),_0x3e4839=_0x5952ee['previousElementSibling'];_0x3a5fd0&&_0x3e4839&&'TABLE'===_0x3e4839['tagName']?(_0x3e4839['before'](_0x17a10f),_0x5952ee['remove']()):_0x5952ee['replaceWith'](_0x17a10f);});},gp=(_0x23635f,_0x18e6be,{runAfterChildrenTransformation:_0xae66b2})=>{'TD'===_0x23635f['tagName']&&_0xae66b2(()=>{const _0x5777c4=Array['from'](_0x23635f['children']);if(0x0===_0x5777c4['length'])return;const _0x33339e=_0x5777c4['map'](pp),_0x11a927=_0x33339e[0x0];if(_0x11a927&&_0x33339e['every'](_0x4bc89c=>_0x4bc89c===_0x11a927)){_0x23635f['setAttribute']('align',_0x11a927);for(const _0x29c5e6 of _0x5777c4)if(rp(_0x29c5e6)){const _0xd7cb6d=op(_0x29c5e6);_0x29c5e6['replaceWith'](...Array['from'](_0xd7cb6d['childNodes']));}else _0x29c5e6['style']['removeProperty']('text-align'),_0x29c5e6['style']['length']||_0x29c5e6['removeAttribute']('style');}});};function pp(_0x48cf56){if(rp(_0x48cf56))return op(_0x48cf56)['getAttribute']('align');return _0x48cf56['style']['textAlign']||void 0x0;}const Op=(_0x2d8474,_0x1e380a,{runAfterChildrenTransformation:_0x52bbf3})=>{'TABLE'===_0x2d8474['tagName']&&_0x52bbf3(()=>{const _0x419106=function(_0xe85d05,_0x38ef1c){for(const _0x5b783f of _0xe85d05['children'])if(_0x5b783f['tagName']===_0x38ef1c)return _0x5b783f;return null;}(_0x2d8474,'COLGROUP');if(!_0x419106)return;const _0x109c14=Array['from'](_0x419106['children'])['filter'](_0x17c4bd=>'COL'===_0x17c4bd['tagName']);if(_0x109c14['some'](_0x38fc57=>yp(_0x38fc57,'span')))return;const _0x2467eb=_0x109c14['map'](bp);if(!_0x2467eb['some'](Boolean))return;const _0x177141=function(_0x20940e){const _0x30c8bf=[];for(const _0x27bb97 of _0x20940e['children'])if(['THEAD','TBODY','TFOOT']['includes'](_0x27bb97['tagName'])){for(const _0x210247 of _0x27bb97['children'])'TR'===_0x210247['tagName']&&_0x30c8bf['push'](_0x210247);}return _0x30c8bf;}(_0x2d8474)['map'](wp);if(!_0x177141['some'](_0x4061a0=>_0x4061a0['length']!==_0x2467eb['length']||_0x4061a0['some'](_0xf467e8=>function(_0x2c8309){return yp(_0x2c8309,'colspan')||yp(_0x2c8309,'rowspan');}(_0xf467e8)||function(_0x53b1ec){return Boolean(_0x53b1ec['style']['getPropertyValue']('width'))||Boolean(_0x53b1ec['getAttribute']('width'));}(_0xf467e8)))){for(const _0x59857e of _0x177141)_0x59857e['forEach']((_0x3ef96d,_0xdcf50a)=>{const _0x4e3996=_0x2467eb[_0xdcf50a];_0x4e3996&&(_0x3ef96d['setAttribute']('width',ap(_0x4e3996)),_0x3ef96d['style']['setProperty']('width',_0x4e3996));});}});};function wp(_0x2b47aa){return Array['from'](_0x2b47aa['children'])['filter'](_0x3c4d5e=>'TD'===_0x3c4d5e['tagName']||'TH'===_0x3c4d5e['tagName']);}function bp(_0x5cf67e){const _0xe42887=_0x5cf67e['style']['getPropertyValue']('width');if(_0xe42887)return _0xe42887;const _0x5b6696=_0x5cf67e['getAttribute']('width');if(!_0x5b6696)return;const _0x4547b3=qg(_0x5b6696);return/^\d+(\.\d+)?$/['test'](_0x4547b3)?_0x4547b3+'px':_0x4547b3;}function yp(_0x4c7969,_0x19667a){const _0x2f9234=_0x4c7969['getAttribute'](_0x19667a);return null!==_0x2f9234&&'1'!==_0x2f9234;}function vp(_0x4b93b5={}){const _0x1b26d2=[];return _0x4b93b5['useFigureToTableFallback']&&_0x1b26d2['push'](cp,mp,gp),_0x1b26d2['push'](up,dp,fp,Op),_0x1b26d2;}function _p(_0x30e427,_0x23cdb7){const t=_0x30e427['t'];switch(_0x23cdb7){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 _0x23cdb7;}}class ExportPdfCommand extends _0x208eac{constructor(_0x58b685){super(_0x58b685),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x33d904={}){const {editor:_0x41ab6}=this,_0x566a8c=_0x33d904['version']||_0x41ab6['config']['get']('exportPdf.version'),_0x417ebb=_0x33d904['converterUrl']||function(_0xd55dd3){return 0x2===_0xd55dd3?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}(_0x566a8c),_0x3fae03=_0x33d904['dataCallback']||(_0x2a7c78=>_0x2a7c78['data']['get']()),_0x2d6bee=_0x41ab6['plugins']['get']('ExportPdf'),_0x1ff8fd=_0x33d904['token']||_0x2d6bee['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x1e3974(_0x33d904['stylesheets']||['EDITOR_STYLES'])['then'](async _0x2bb3dc=>{if(_0x41ab6['ui']['ariaLiveAnnouncer']['announce'](_p(_0x41ab6['locale'],'PDF\x20export\x20started')),_0x41ab6['plugins']['has']('MergeFields')){_0x33d904['converterOptions']||(_0x33d904['converterOptions']={});const _0xa07bd6=_0x41ab6['plugins']['get']('MergeFieldsEditing'),_0x330ca7=_0xa07bd6['previewMode'],{prefix:_0x635d42,suffix:_0x5841ff}=_0x41ab6['config']['get']('mergeFields'),_0xe37d71='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x3764e2={'prefix':_0x635d42,'suffix':_0x5841ff,'data':{}};if('$labels'===_0x330ca7){for(const _0x544585 of _0xa07bd6['getMergeFieldsIds']())'image'===_0xa07bd6['getMergeFieldType'](_0x544585)?_0x3764e2['data'][_0x544585]=_0xe37d71:_0x3764e2['data'][_0x544585]=_0xa07bd6['wrapInAffixes'](_0xa07bd6['getLabel'](_0x544585)||_0x544585);}else{const _0x58fe18='$defaultValues'===_0x330ca7?_0xa07bd6['getDefaultValues']():_0xa07bd6['getDataSetValues'](_0x330ca7,!0x0);for(const _0x3a74f3 of Object['entries'](_0x58fe18)){const [_0x55ec9c,_0x216b77]=_0x3a74f3;'image'===_0xa07bd6['getMergeFieldType'](_0x55ec9c)?_0x3764e2['data'][_0x55ec9c]=null!==_0x216b77?_0x216b77:_0xe37d71:_0x3764e2['data'][_0x55ec9c]=null!==_0x216b77?_0x216b77:_0xa07bd6['getLabel'](_0x55ec9c)||_0x55ec9c;}}_0x33d904['converterOptions']['merge_fields']=_0x3764e2;}const _0x6ce67b=0x2===_0x566a8c?function(_0x510064){const _0x5b7909=_0x510064?.['document']?.['margins'];return Ep({'pageWidth':Tp(_0x510064?.['document']?.['size']||'A4'),'marginLeft':_0x5b7909?.['left'],'marginRight':_0x5b7909?.['right']});}(_0x33d904['converterOptions']):(_0x236ce8=_0x33d904['converterOptions'],Ep({'pageWidth':Tp(_0x236ce8?.['format']||'A4'),'marginLeft':_0x236ce8?.['margin_left'],'marginRight':_0x236ce8?.['margin_right']}));var _0x236ce8;const _0x1f955c={'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'+_0x41ab6['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x6ce67b+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x3fae03(_0x41ab6)+'\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':_0x2bb3dc,[0x2===_0x566a8c?'config':'options']:_0x33d904['converterOptions']},_0x16b4f9={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x1ff8fd?{'Authorization':_0x1ff8fd['value']}:null,'x-cs-app-id':_0x33d904['appID']||'cke5'},'body':JSON['stringify'](_0x1f955c)};return window['fetch'](_0x417ebb,_0x16b4f9)['then'](_0x4db26e=>{if(0xc8!==_0x4db26e['status'])throw _0x4db26e;return _0x4db26e['blob']();})['then'](_0x1b6887=>{_0x41ab6['ui']['ariaLiveAnnouncer']['announce'](_p(_0x41ab6['locale'],'PDF\x20export\x20successful'));const _0x1fb321='function'==typeof _0x33d904['fileName']?_0x33d904['fileName']():_0x33d904['fileName'];this['_downloadFile'](_0x1b6887,_0x1fb321||'document.pdf');});})['catch'](_0x5d53ed=>{const _0x2e9f5c=_0x41ab6['plugins']['get']('Notification');throw _0x41ab6['ui']['ariaLiveAnnouncer']['announce'](_p(_0x41ab6['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x2e9f5c['showWarning'](_p(_0x41ab6['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x5d53ed;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x63fa81,_0x2c3ad2){const _0x26f6fa=document['createElement']('a');_0x26f6fa['href']=window['URL']['createObjectURL'](_0x63fa81),_0x26f6fa['download']=_0x2c3ad2,_0x26f6fa['click'](),_0x26f6fa['remove']();}}function Ep({pageWidth:_0xbe6a9c,marginLeft:_0x33ade0,marginRight:_0x158b83}){return'width:calc('+[_0xbe6a9c,_0x33ade0,_0x158b83]['filter'](Boolean)['join']('\x20-\x20')+');';}function Tp(_0xa65046){if('object'==typeof _0xa65046&&'width'in _0xa65046)return _0xa65046['width'];return{'letter':['21.6cm','27.9cm'],'legal':['21.6cm','35.6cm'],'tabloid':['27.9cm','43.2cm'],'ledger':['43.2cm','27.9cm'],'a0':['84.1cm','118.9cm'],'a1':['59.4cm','84.1cm'],'a2':['42.0cm','59.4cm'],'a3':['29.7cm','42.0cm'],'a4':['21.0cm','29.7cm'],'a5':['14.8cm','21.0cm'],'a6':['10.5cm','14.8cm']}[_0xa65046['toLowerCase']()][0x0];}class ExportPdfUI extends _0x151d85{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49be78=this['editor'];_0x49be78['ui']['componentFactory']['add']('exportPdf',()=>{const _0x66d741=this['_createButton'](_0x4c508c),_0x232fc1=_0x49be78['commands']['get']('exportPdf');return _0x66d741['set']({'tooltip':!0x0}),_0x66d741['bind']('isOn')['to'](_0x232fc1,'isBusy'),_0x66d741;}),_0x49be78['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](at));}['_createButton'](_0x2089e0){const _0x15da58=this['editor'],_0x48bb12=_0x15da58['config']['get']('exportPdf'),_0x16e647=_0x15da58['commands']['get']('exportPdf'),_0xec943c=new _0x2089e0(_0x15da58['locale']),_0x3a387e=new _0x36c3a7();return _0xec943c['children']['add'](_0x3a387e),_0x3a387e['bind']('isVisible')['to'](_0x16e647,'isBusy'),_0xec943c['iconView']['bind']('isVisible')['to'](_0x16e647,'isBusy',_0x234159=>!_0x234159),_0xec943c['set']({'icon':_0xa9a6d9}),_0xec943c['bind']('isEnabled')['to'](_0x16e647,'isEnabled'),_0xec943c['bind']('label')['to'](_0x16e647,'isBusy',_0x4643ef=>_p(_0x15da58['locale'],_0x4643ef?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0xec943c,'execute',()=>{_0x15da58['execute']('exportPdf',_0x48bb12),_0x15da58['editing']['view']['focus']();}),_0xec943c;}}class ExportPdf extends _0x151d85{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4eeba8,Qt,ExportPdfUI];}['init'](){const {editor:_0x3eddae}=this;_0x3eddae['config']['define']('exportPdf.version',0x2),_0x3eddae['commands']['add']('exportPdf',new ExportPdfCommand(_0x3eddae));const _0x1f1d61=_0x3eddae['plugins']['get'](_0x4eeba8),_0x389ac2=_0x3eddae['config']['get']('exportPdf');!0x1===_0x389ac2['tokenUrl']?this['_token']=null:_0x389ac2['tokenUrl']?_0x1f1d61['registerTokenUrl'](_0x389ac2['tokenUrl'])['then'](_0x42f2a8=>{this['_token']=_0x42f2a8;}):this['_token']=_0x1f1d61['token'];}}function Ap(_0x18c58c,_0x6d4de7={}){const _0x1cde32=_0x18c58c['plugins']['has']('Users'),_0x49f513=_0x18c58c['plugins']['has']('CommentsRepository'),_0x423cc1=_0x18c58c['plugins']['has']('TrackChanges'),_0x37440a=_0x6d4de7;if(_0x1cde32&&_0x49f513){const _0x20651c=function(_0x55e85e){const _0x30d05c={};if(!_0x55e85e['length'])return _0x30d05c;for(const _0x221d55 of _0x55e85e)_0x221d55['comments']['map'](_0x17ee64=>{void 0x0===_0x30d05c[_0x221d55['id']]&&(_0x30d05c[_0x221d55['id']]=[]),_0x30d05c[_0x221d55['id']]['push']({'author':_0x17ee64['author']['name'],'content':_0x17ee64['content'],'created':_0x17ee64['createdAt'],'is_resolved':_0x221d55['isResolved']});});return _0x30d05c;}(_0x18c58c['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x20651c)['length']&&(_0x37440a['comments']=_0x20651c);}if(_0x1cde32&&_0x423cc1){const _0x559f69=_0x18c58c['plugins']['get']('TrackChanges'),_0xa19060=_0x18c58c['plugins']['get']('Users'),_0x5ac4bc=function(_0x18edf3,_0x62d7e){const _0x537c2f={};if(!_0x18edf3['length']||!_0x62d7e['length'])return _0x537c2f;for(const {id:_0x1c3dd6,createdAt:_0x51cdc2,authorId:_0x2b68b6,attributes:_0x2a8c85}of _0x18edf3){const _0x2b892d=_0x2a8c85&&_0x2a8c85['@external'],_0xa36b82=_0x2b892d?_0x2b892d['authorName']:_0x62d7e['get'](_0x2b68b6)['name'];_0x537c2f[_0x1c3dd6]={'author':_0xa36b82,'created':_0x51cdc2};}return _0x537c2f;}(_0x559f69['getSuggestions']({'toJSON':!0x0}),_0xa19060['users']);Object['keys'](_0x5ac4bc)['length']&&(_0x37440a['suggestions']=_0x5ac4bc);}return(_0x37440a['suggestions']||_0x37440a['comments'])&&(_0x37440a['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x37440a;}function Ip(_0xcad997,_0x23f5c0={}){const _0xeea16b=_0xcad997['plugins']['has']('Users'),_0x363ebf=_0xcad997['plugins']['has']('CommentsRepository'),_0x216eb4=_0xcad997['plugins']['has']('TrackChanges'),_0x2a4721=_0xcad997['plugins']['has']('MergeFields'),_0x4d3a0f=_0xcad997['locale']['contentLanguage'],_0x10b6d9=_0x23f5c0,_0x392d19={};if(_0x10b6d9['document']=_0x10b6d9['document']||{},_0x10b6d9['document']['language']=_0x10b6d9['document']['language']||_0x4d3a0f,_0xeea16b&&_0x363ebf){const _0x304138=function(_0x511168){const _0x8b790d=[];if(!_0x511168['length'])return _0x8b790d;for(const _0x2a0179 of _0x511168){const _0xa791f8=_0x2a0179['comments']['map'](_0x3d2bfd=>({'author':_0x3d2bfd['author']['name'],'content':_0x3d2bfd['content'],'created_at':_0x3d2bfd['createdAt']}));_0x8b790d['push']({'thread_id':_0x2a0179['id'],'is_resolved':_0x2a0179['isResolved'],'comments':_0xa791f8});}return _0x8b790d;}(_0xcad997['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x304138['length']&&(_0x392d19['comment_threads']=_0x304138);}if(_0xeea16b&&_0x216eb4){const _0x27ad62=_0xcad997['plugins']['get']('TrackChanges'),_0x4c07de=_0xcad997['plugins']['get']('Users'),_0x448110=function(_0x334e99,_0x3be1a9){if(!_0x334e99['length']||!_0x3be1a9['length'])return[];return _0x334e99['map'](({id:_0x2b8c3b,createdAt:_0x5c824f,authorId:_0x230966,attributes:_0x327438})=>{const _0xf25951=_0x327438&&_0x327438['@external'];return{'id':_0x2b8c3b,'author':_0xf25951?_0xf25951['authorName']:_0x3be1a9['get'](_0x230966)['name'],'created_at':_0x5c824f};});}(_0x27ad62['getSuggestions']({'toJSON':!0x0}),_0x4c07de['users']);_0x448110['length']&&(_0x392d19['suggestions']=_0x448110);}if(_0x2a4721){const _0x1f102c=_0xcad997['plugins']['get']('MergeFieldsEditing'),_0x302159=_0x1f102c['previewMode'],{prefix:_0x11d009,suffix:_0xc51310}=_0xcad997['config']['get']('mergeFields');if(_0x10b6d9['merge_fields']={'prefix':_0x11d009,'suffix':_0xc51310},'$labels'!==_0x302159){_0x10b6d9['merge_fields']['data']={};const _0x130c28='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x1cce02='$defaultValues'===_0x302159?_0x1f102c['getDefaultValues']():_0x1f102c['getDataSetValues'](_0x302159,!0x0);for(const _0x2194aa of Object['entries'](_0x1cce02)){const [_0x9561d7,_0x4d6e57]=_0x2194aa;'image'===_0x1f102c['getMergeFieldType'](_0x9561d7)?_0x10b6d9['merge_fields']['data'][_0x9561d7]=null!==_0x4d6e57?_0x4d6e57:_0x130c28:_0x10b6d9['merge_fields']['data'][_0x9561d7]=null!==_0x4d6e57?_0x4d6e57:_0x1f102c['getLabel'](_0x9561d7)||_0x9561d7;}}}return(_0x392d19['comment_threads']||_0x392d19['suggestions'])&&(_0x10b6d9['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x10b6d9['collaboration_features']=_0x392d19),_0x10b6d9;}function Sp(_0xe57f27,_0x697e82){const t=_0xe57f27['t'];switch(_0x697e82){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 _0x697e82;}}const Cp=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0x208eac{constructor(_0x5f40ae){super(_0x5f40ae),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x545723={}){const _0x2c20d6=this['editor'],_0x58bace=_0x545723['version']||0x2,_0x103156=0x1===_0x58bace,_0x62cdc9=_0x545723['converterUrl']||(_0x103156?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x5c728d=_0x545723['converterOptions']||{},_0x4fa03d=_0x2c20d6['plugins']['get']('ExportWord'),_0x2d91e2=_0x545723['token']||_0x4fa03d['_token'],_0x5de101=!0x0===_0x5c728d['auto_pagination'],_0x2c8565=_0x545723['dataCallback']||(_0x1b739e=>_0x1b739e['data']['get']({'pagination':_0x5de101}));return 0x2===_0x58bace&&function(_0x2dbe13){for(const _0x2ffe2d of Cp)if(void 0x0!==_0x2dbe13[_0x2ffe2d])return!0x0;return!0x1;}(_0x5c728d)&&_0x445208('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0x1e3974(_0x545723['stylesheets']||['EDITOR_STYLES'])['then'](async _0x55a14c=>{_0x2c20d6['ui']['ariaLiveAnnouncer']['announce'](Sp(_0x2c20d6['locale'],'Word\x20document\x20export\x20started'));const _0x2ba34e=await _0x2c8565(_0x2c20d6),_0x197fa2={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x2c20d6['locale']['contentLanguageDirection']+'\x22>'+_0x2ba34e+'</div>','css':_0x55a14c,[_0x103156?'options':'config']:{..._0x5c728d,..._0x103156?Ap(_0x2c20d6,_0x5c728d):Ip(_0x2c20d6,_0x5c728d)}},_0x111fc4={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x2d91e2?{'Authorization':_0x2d91e2['value']}:null},'body':JSON['stringify'](_0x197fa2)};return window['fetch'](_0x62cdc9,_0x111fc4)['then'](_0x58c4e1=>{if(0xc8!==_0x58c4e1['status'])throw _0x58c4e1;return _0x58c4e1['blob']();})['then'](_0x2104e3=>{_0x2c20d6['ui']['ariaLiveAnnouncer']['announce'](Sp(_0x2c20d6['locale'],'Word\x20document\x20export\x20successful'));const _0x59e94a='function'==typeof _0x545723['fileName']?_0x545723['fileName']():_0x545723['fileName'];this['_downloadFile'](_0x2104e3,_0x59e94a||'document.docx');});})['catch'](_0x12520b=>{const _0xb066a=_0x2c20d6['plugins']['get']('Notification');throw _0x2c20d6['ui']['ariaLiveAnnouncer']['announce'](Sp(_0x2c20d6['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0xb066a['showWarning'](Sp(_0x2c20d6['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x12520b;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x40fb80,_0x27d062){const _0x5c620d=document['createElement']('a');_0x5c620d['href']=window['URL']['createObjectURL'](_0x40fb80),_0x5c620d['download']=_0x27d062,_0x5c620d['click'](),_0x5c620d['remove']();}}class ExportWordUI extends _0x151d85{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x435802=this['editor'];_0x435802['ui']['componentFactory']['add']('exportWord',()=>{const _0x3c2099=_0x435802['commands']['get']('exportWord'),_0x3ef12b=this['_createButton'](_0x4c508c);return _0x3ef12b['set']({'tooltip':!0x0}),_0x3ef12b['bind']('isOn')['to'](_0x3c2099,'isBusy'),_0x3ef12b;}),_0x435802['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](at));}['_createButton'](_0x335457){const _0x13a5e2=this['editor'],_0x38e695=_0x13a5e2['config']['get']('exportWord')||{},_0x5279ad=_0x13a5e2['commands']['get']('exportWord'),_0x387723=new _0x335457(_0x13a5e2['locale']),_0x3cc605=new _0x36c3a7();return _0x387723['children']['add'](_0x3cc605),_0x3cc605['bind']('isVisible')['to'](_0x5279ad,'isBusy'),_0x387723['iconView']['bind']('isVisible')['to'](_0x5279ad,'isBusy',_0x4bf72e=>!_0x4bf72e),_0x387723['set']({'icon':_0x46517a}),_0x387723['bind']('isEnabled')['to'](_0x5279ad,'isEnabled'),_0x387723['bind']('label')['to'](_0x5279ad,'isBusy',_0x47962e=>Sp(_0x13a5e2['locale'],_0x47962e?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x387723,'execute',()=>{_0x13a5e2['execute']('exportWord',_0x38e695),_0x13a5e2['editing']['view']['focus']();}),_0x387723;}}class ExportWord extends _0x151d85{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4eeba8,Qt,ExportWordUI];}['init'](){const _0xa807ce=this['editor'],_0x3c124d=_0xa807ce['config']['get']('exportWord')||{};_0xa807ce['commands']['add']('exportWord',new ExportWordCommand(_0xa807ce));const _0x1be3a5=_0xa807ce['plugins']['get'](_0x4eeba8);!0x1===_0x3c124d['tokenUrl']?this['_token']=null:_0x3c124d['tokenUrl']?_0x1be3a5['registerTokenUrl'](_0x3c124d['tokenUrl'])['then'](_0x22e7d4=>{this['_token']=_0x22e7d4;}):this['_token']=_0x1be3a5['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x273c32,_0x548b3c){this['_model']=_0x273c32,this['_elementName']=_0x548b3c['elementName'],this['_getElementKey']=_0x548b3c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2ffcdc){const _0x17ddb1=new Set(),_0x119d86=new Map();for(const _0x39dc10 of _0x2ffcdc){if('insert'===_0x39dc10['type']&&'$text'!==_0x39dc10['name']&&_0x39dc10['position']['nodeAfter']){const _0x2c7175=this['_model']['createRangeOn'](_0x39dc10['position']['nodeAfter']);for(const _0x29bfa5 of _0x2c7175['getItems']()){if(!_0x29bfa5['is']('element',this['_elementName']))continue;const _0x4edb9f=this['_getElementKey'](_0x29bfa5);_0x119d86['has'](_0x4edb9f)||_0x119d86['set'](_0x4edb9f,[]),_0x119d86['get'](_0x4edb9f)['push'](_0x29bfa5);}}if('remove'===_0x39dc10['type']&&_0x39dc10['name']===this['_elementName']){const _0x46839c=this['_getElementKey']({'getAttribute':_0x5858f6=>_0x39dc10['attributes']['get'](_0x5858f6)});_0x17ddb1['add'](_0x46839c);}}for(const [_0xf4ff77,_0x2689c5]of this['_trackedElements'])'$graveyard'===_0x2689c5['root']['rootName']&&_0x17ddb1['add'](_0xf4ff77);for(const _0x51b032 of _0x17ddb1)this['_trackedElements']['delete'](_0x51b032);for(const [_0x7c3ca,_0x4aaf9a]of _0x119d86)this['_trackedElements']['set'](_0x7c3ca,_0x4aaf9a[_0x4aaf9a['length']-0x1]);const _0x2940e0=new Set();for(const [_0x102bc6,_0x1134f0]of _0x119d86)_0x17ddb1['has'](_0x102bc6)&&(_0x2940e0['add'](_0x1134f0[0x0]),_0x1134f0['length']>0x1?_0x119d86['set'](_0x102bc6,_0x1134f0['slice'](0x1)):_0x119d86['delete'](_0x102bc6),_0x17ddb1['delete'](_0x102bc6));return{'removed':Array['from'](_0x17ddb1),'inserted':Array['from'](_0x119d86['values']())['flat'](),'moved':Array['from'](_0x2940e0)};}}class FootnotesTracker extends _0x151d85{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x25c143){super(_0x25c143),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x102c06=>_0x102c06['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x37c605=>_0x37c605['getAttribute']('footnoteId')});}['init'](){const {editor:_0xc1b3f2}=this,{model:_0xaff3d0,data:_0x1cdfd2}=_0xc1b3f2;_0xaff3d0['document']['registerPostFixer'](_0x210dde=>{const _0x108a49=_0xaff3d0['document']['differ']['getChanges']();let _0x23821c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x210dde,_0x108a49)&&(_0x23821c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x210dde,_0x108a49)&&(_0x23821c=!0x0),this['_handleFootnoteReferencesChanges'](_0x210dde,_0x108a49)&&(_0x23821c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x210dde)&&(_0x23821c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x210dde)&&(_0x23821c=!0x0),this['_sortFootnoteDefinitions'](_0x210dde)&&(_0x23821c=!0x0),_0x23821c;}),this['listenTo'](_0xaff3d0['document'],'change:data',()=>{_0xaff3d0['enqueueChange']({'isUndoable':!0x1},_0x51a272=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x51a272);});},{'priority':'low'}),this['listenTo'](_0x1cdfd2,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5f1564){return this['_footnotes']['find'](_0xb20b72=>_0xb20b72['id']===_0x5f1564)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x59f838){this['_footnoteFormatter']=_0x59f838;}['_updateFootnotesCounters'](_0x3af325,_0x1f413c=0x0){let _0x1dedeb=!0x1;for(let _0x57ab04=_0x1f413c;_0x57ab04<this['_footnotes']['length'];_0x57ab04++)this['_updateFootnoteRefCounter'](_0x3af325,_0x57ab04)&&(_0x1dedeb=!0x0);return _0x1dedeb;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3f13cf,_0x3e0b51){const _0x24bdd5=_0x3f13cf['createElement']('footnotesDefinitions',{});return _0x3f13cf['append'](_0x24bdd5,_0x3e0b51),this['_footnotesDefinitions']=_0x24bdd5,_0x24bdd5;}['_ensureFootnotesDefinitionsContainerExists'](_0x50696c){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x25456b=this['_footnotes'][0x0]['reference']['root'],_0x325ed9=this['_insertEmptyFootnotesDefinitionsContainer'](_0x50696c,_0x25456b);for(const _0x26c731 of this['_footnotes'])_0x26c731['definition']['parent']||_0x50696c['insert'](_0x26c731['definition'],_0x325ed9,'end');this['_updateFootnotesCounters'](_0x50696c);}['_handleFootnotesDefinitionsObjectChanges'](_0x3f9dcd,_0xfc37e8){let _0x54c5a9=!0x1;const {inserted:_0xd29b3f,removed:_0x48b2d5,moved:_0x3bbe8f}=this['_footnoteDefsContainerTracker']['getChanges'](_0xfc37e8);if(_0x3bbe8f['length']&&(this['_footnotesDefinitions']=_0x3bbe8f[0x0]),_0xd29b3f['length']){if(_0xd29b3f['length']>0x1||this['_footnotesDefinitions']&&_0xd29b3f['some'](_0x59484b=>_0x59484b!==this['_footnotesDefinitions'])){const _0x31cc1b=_0x3f9dcd['createElement']('footnotesDefinitions',{}),_0x46a971=[];this['_footnotesDefinitions']&&_0x46a971['push'](this['_footnotesDefinitions']),_0x46a971['push'](..._0xd29b3f),_0x3f9dcd['insert'](_0x31cc1b,_0x46a971[0x0],'before');for(const _0xfc8859 of _0x46a971)_0x3f9dcd['move'](_0x3f9dcd['createRangeIn'](_0xfc8859),_0x3f9dcd['createPositionAt'](_0x31cc1b,'end')),_0x3f9dcd['remove'](_0xfc8859);this['_footnotesDefinitions']=_0x31cc1b,this['_updateFootnotesCounters'](_0x3f9dcd),_0x54c5a9=!0x0;}else this['_footnotesDefinitions']=_0xd29b3f[0x0];}if(_0x48b2d5['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x374ff4 of this['_footnotes'])_0x3f9dcd['remove'](_0x374ff4['reference']),_0x54c5a9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x54c5a9;}['_handleFootnoteDefinitionsChanges'](_0x549631,_0x1c5c45){let _0xf4abf9=!0x1;const _0x51c55c=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3520d7,moved:_0x4ab47a}=this['_footnoteDefsTracker']['getChanges'](_0x1c5c45);for(const _0xc1b236 of[..._0x4ab47a,..._0x3520d7]){const _0x418698=_0xc1b236['getAttribute']('footnoteId'),_0xbdf793=this['getFootnote'](_0x418698);_0xbdf793&&(_0xbdf793['definition']=_0xc1b236),kp(_0x549631,_0x51c55c,_0xc1b236)&&(_0xf4abf9=!0x0);}return _0xf4abf9;}['_handleFootnoteReferencesChanges'](_0x3c49e1,_0x1a2f6a){let _0x27e9fc=!0x1;const {removed:_0x54b668,inserted:_0x1b8be9,moved:_0x5ceda4}=this['_footnoteRefsTracker']['getChanges'](_0x1a2f6a);for(const _0x5d4ece of _0x54b668)this['_handleRemoveFootnoteReferenceById'](_0x3c49e1,_0x5d4ece)&&(_0x27e9fc=!0x0);for(const _0x5ea252 of _0x1b8be9)this['_handleInsertedFootnoteReference'](_0x3c49e1,_0x5ea252)&&(_0x27e9fc=!0x0);for(const _0xe88923 of _0x5ceda4)this['_handleMovedFootnoteReference'](_0x3c49e1,_0xe88923)&&(_0x27e9fc=!0x0);return _0x27e9fc;}['_handleFootnotesDefinitionsObjectSync'](_0x27ccdd){if(!this['_footnotesDefinitions'])return!0x1;let _0x456e93=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3e894d=[];for(const _0x50c3c8 of this['_footnotesDefinitions']['getChildren']()){const _0x2d9e07=_0x50c3c8['getAttribute']('footnoteId');this['getFootnote'](_0x2d9e07)||(_0x3e894d['unshift'](_0x50c3c8),_0x456e93=!0x0);}for(const _0x278939 of _0x3e894d)_0x27ccdd['remove'](_0x278939);}const _0x417606=new Set(),_0x2f939b=[];for(const _0x2d0148 of this['_footnotesDefinitions']['getChildren']()){const _0x33b063=_0x2d0148['getAttribute']('footnoteId');_0x417606['has'](_0x33b063)?(_0x2f939b['unshift'](_0x2d0148),_0x456e93=!0x0):_0x417606['add'](_0x33b063);}for(const _0x36c4c3 of _0x2f939b)_0x27ccdd['remove'](_0x36c4c3);return this['_footnotesDefinitions']['childCount']||(_0x27ccdd['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x456e93=!0x0),_0x456e93;}['_handleInsertedFootnoteReference'](_0x4c7cbf,_0x78f2f5){if(this['_footnotes']['find'](_0x3301dd=>_0x3301dd['reference']===_0x78f2f5))return!0x1;let _0x414ff6=!0x1;const _0x1a1313=_0x78f2f5['getAttribute']('footnoteId'),_0x4c4a7b=this['_footnotes']['findIndex'](_0x56cd9e=>_0x56cd9e['id']===_0x1a1313);-0x1!==_0x4c4a7b&&(_0x4c7cbf['remove'](this['_footnotes'][_0x4c4a7b]['reference']),this['_footnotes']['splice'](_0x4c4a7b,0x1),_0x414ff6=!0x0);let _0x3a7557=this['_footnotesDefinitions']?function(_0x4a08fa,_0x30f549){for(const _0x92360f of _0x4a08fa['getChildren']())if(_0x92360f['getAttribute']('footnoteId')===_0x30f549)return _0x92360f;return null;}(this['_footnotesDefinitions'],_0x1a1313):null;_0x3a7557||(_0x3a7557=_0x4c7cbf['createElement']('footnoteDefinition',{'footnoteId':_0x1a1313}),this['_footnotesDefinitions']&&(_0x4c7cbf['insert'](_0x3a7557,this['_footnotesDefinitions'],'end'),_0x414ff6=!0x0));const _0x1ec05b={'id':_0x1a1313,'reference':_0x78f2f5,'definition':_0x3a7557},_0x2c8682=xp(this['editor']['model'],this['_footnotes'],_0x78f2f5);this['_footnotes']['splice'](_0x2c8682,0x0,_0x1ec05b);let _0x527200=_0x2c8682;return-0x1!==_0x4c4a7b&&(_0x527200=Math['min'](_0x2c8682,_0x4c4a7b)),this['_updateFootnotesCounters'](_0x4c7cbf,_0x527200)&&(_0x414ff6=!0x0),_0x414ff6;}['_handleRemoveFootnoteReferenceById'](_0x227b0e,_0x2c078e){const _0x2e4483=this['_footnotes']['findIndex'](_0x36b4b0=>_0x36b4b0['id']===_0x2c078e);if(-0x1===_0x2e4483)return!0x1;let _0x252c6f=!0x1;const _0x3b269c=this['_footnotes'][_0x2e4483];return'$graveyard'!==_0x3b269c['definition']['root']['rootName']&&(_0x227b0e['remove'](_0x3b269c['definition']),_0x252c6f=!0x0),this['_footnotes']['splice'](_0x2e4483,0x1),this['_updateFootnotesCounters'](_0x227b0e,_0x2e4483)&&(_0x252c6f=!0x0),_0x252c6f;}['_handleMovedFootnoteReference'](_0x1055b3,_0x51c304){const _0x414842=_0x51c304['getAttribute']('footnoteId'),_0x14c8cc=this['_footnotes']['findIndex'](_0x1dbbb5=>_0x1dbbb5['id']===_0x414842),_0x157ae8=this['_footnotes'][_0x14c8cc];let _0x47aee9=!0x1;_0x157ae8['reference']=_0x51c304,this['_footnotes']['splice'](_0x14c8cc,0x1);const _0x566f5b=xp(this['editor']['model'],this['_footnotes'],_0x51c304);return this['_footnotes']['splice'](_0x566f5b,0x0,_0x157ae8),this['_updateFootnotesCounters'](_0x1055b3,Math['min'](_0x14c8cc,_0x566f5b))&&(_0x47aee9=!0x0),_0x47aee9;}['_updateFootnoteRefCounter'](_0x41c779,_0x5e4bf1){if(!this['_footnotesDefinitions'])return!0x1;const _0x54ec2f=this['_footnotes'][_0x5e4bf1];let _0x38239e;return _0x38239e=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x54ec2f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5e4bf1+0x1}):String(_0x5e4bf1+0x1),_0x54ec2f['reference']['getAttribute']('footnoteCounter')!=_0x38239e&&(_0x41c779['setAttribute']('footnoteCounter',_0x38239e,_0x54ec2f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4fe91b){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x49019f,_0x10ebe8){if(_0x49019f['length']!==_0x10ebe8['length'])return!0x1;for(let _0x1bfc5e=0x0;_0x1bfc5e<_0x49019f['length'];_0x1bfc5e++)if(_0x49019f[_0x1bfc5e]!==_0x10ebe8[_0x1bfc5e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2c686a=>_0x2c686a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xbe57cf=>_0xbe57cf['getAttribute']('footnoteId'))))return!0x1;let _0x8c14ff=!0x1;for(let _0x2a9467=0x0;_0x2a9467<this['_footnotes']['length'];_0x2a9467++){const _0x573ee2=this['_footnotes'][_0x2a9467],_0x3e20ee=_0x4fe91b['createPositionBefore'](_0x573ee2['definition']),_0x5bc518=_0x4fe91b['createPositionAt'](this['_footnotesDefinitions'],_0x2a9467);_0x3e20ee['isEqual'](_0x5bc518)||(_0x4fe91b['move'](_0x4fe91b['createRangeOn'](_0x573ee2['definition']),_0x5bc518),_0x8c14ff=!0x0);}return _0x8c14ff;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2f30b8){if(!this['_footnotes']['length'])return!0x1;const {model:_0x10d7df}=this['editor'];let _0x59c1a1=!0x1;for(let _0x278f8c=0x0;_0x278f8c<this['_footnotes']['length']-0x1;_0x278f8c++){const _0x2bfa82=this['_footnotes'][_0x278f8c],_0x160fb2=this['_footnotes'][_0x278f8c+0x1],_0xc67c2=_0x10d7df['createPositionBefore'](_0x2bfa82['reference']),_0x22e699=_0x10d7df['createPositionBefore'](_0x160fb2['reference']);'after'===_0xc67c2['compareWith'](_0x22e699)&&(this['_handleMovedFootnoteReference'](_0x2f30b8,_0x2bfa82['reference']),_0x278f8c=-0x1,_0x59c1a1=!0x0);}return _0x59c1a1;}}function kp(_0x2a9d33,_0x3fa973,_0x54fe9b){if(_0x54fe9b['childCount'])return!0x1;const _0x6a548a=_0x3fa973?'paragraph':'footnoteInlineContent';return _0x2a9d33['insert'](_0x2a9d33['createElement'](_0x6a548a),_0x54fe9b),!0x0;}function xp(_0xbbeaf1,_0x599e07,_0x320f69){if(0x0===_0x599e07['length'])return 0x0;const _0x5a7c93=_0xbbeaf1['createPositionBefore'](_0x320f69);for(let _0x3f5738=0x0;_0x3f5738<_0x599e07['length'];_0x3f5738++){const _0x33a084=_0x599e07[_0x3f5738],_0xdd2f43=_0xbbeaf1['createPositionBefore'](_0x33a084['reference']);if('before'===_0x5a7c93['compareWith'](_0xdd2f43))return _0x3f5738;}const _0x22068f=_0x320f69['root'];let _0x57412a=-0x1;for(let _0x46f185=_0x599e07['length']-0x1;_0x46f185>=0x0;_0x46f185--)if(_0x599e07[_0x46f185]['reference']['root']===_0x22068f){_0x57412a=_0x46f185;break;}if(-0x1!==_0x57412a)return _0x57412a+0x1;const _0x50412a=_0xbbeaf1['document']['getRootNames'](),_0xe99efc=_0x50412a['indexOf'](_0x22068f['rootName']),_0xe97519=_0x50412a[_0xe99efc+0x1];if(_0xe97519){for(let _0x43390f=0x0;_0x43390f<_0x599e07['length'];_0x43390f++)if(_0x599e07[_0x43390f]['reference']['root']['rootName']===_0xe97519)return _0x43390f;}return _0x599e07['length'];}class InsertFootnoteCommand extends _0x208eac{['refresh'](){const _0x557007=this['editor']['model']['document']['selection'],_0x35571d=this['_getPositionToInsertFootnote'](_0x557007);this['isEnabled']=!!_0x35571d;}['execute'](_0x1a11be){const {editor:_0x159625}=this,{model:_0x3eba49}=_0x159625,{selection:_0x51ed4e}=_0x3eba49['document'],_0x11da56=this['_getPositionToInsertFootnote'](_0x51ed4e);if(!_0x11da56)return;const _0x59e363=_0x159625['plugins']['get']('FootnotesEditing'),_0x213ca4=_0x1a11be?.['footnoteId']??_0x3eda13();!function(_0x1f0fb6){return'string'==typeof _0x1f0fb6&&_0x1f0fb6['length']>0x0&&!/\s/['test'](_0x1f0fb6)&&!/^\d/['test'](_0x1f0fb6);}(_0x213ca4)?_0x445208('insert-footnote-command-executed-with-invalid-id'):(_0x3eba49['change'](_0x49d92f=>{const _0x33a9ad=_0x49d92f['createElement']('footnoteRef',{'footnoteId':_0x213ca4});_0x3eba49['insertObject'](_0x33a9ad,_0x11da56,null);}),_0x59e363['_moveSelectionToFootnoteDefinition'](_0x213ca4));}['_getPositionToInsertFootnote'](_0x20b3c9){const {model:_0x566d9d}=this['editor'],{schema:_0x29f6a0}=_0x566d9d,_0x3e5197=_0x20b3c9['getFirstRange']();for(const _0x3ec3d7 of _0x3e5197['getItems']())if(_0x29f6a0['isBlock'](_0x3ec3d7)||_0x29f6a0['isObject'](_0x3ec3d7))return null;const _0x383aab=_0x3e5197['end'];return _0x29f6a0['checkChild'](_0x383aab,'footnoteRef')?_0x383aab:null;}}class FootnotesEditing extends _0x151d85{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x31db6e}=this;_0x31db6e['config']['define']('footnotes.multiBlock',!0x0),_0x31db6e['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x31db6e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x236776){const _0x4a9fd4=_0x5b0551([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x459629=0x47a28506,_0x57e19c=0x47a50ed6^_0x459629,_0x152d72=window[_0x5b0551([0x44,0x61,0x74,0x65])][_0x5b0551([0x6e,0x6f,0x77])](),_0x370ad0=_0x236776[_0x5b0551([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4fa5dc=new window[(_0x5b0551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xaf258c=>{_0x370ad0[_0x5b0551([0x6f,0x6e,0x63,0x65])](_0x5b0551([0x72,0x65,0x61,0x64,0x79]),_0xaf258c);}),_0x3631d1={[_0x5b0551([0x6b,0x74,0x79])]:_0x5b0551([0x45,0x43]),[_0x5b0551([0x75,0x73,0x65])]:_0x5b0551([0x73,0x69,0x67]),[_0x5b0551([0x63,0x72,0x76])]:_0x5b0551([0x50,0x2d,0x32,0x35,0x36]),[_0x5b0551([0x78])]:_0x5b0551([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5b0551([0x79])]:_0x5b0551([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5b0551([0x61,0x6c,0x67])]:_0x5b0551([0x45,0x53,0x32,0x35,0x36])},_0x3a707e=_0x370ad0[_0x5b0551([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5b0551([0x67,0x65,0x74])](_0x5b0551([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4f05c3(){let _0x3afbb8,_0x3f86ea=null,_0x587789=null;try{if(_0x3a707e==_0x5b0551([0x47,0x50,0x4c]))return _0x5b0551([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3afbb8=_0x1b6b2b(),!_0x3afbb8)return _0x5b0551([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3afbb8[_0x5b0551([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x587789=_0x2a04d7(_0x3afbb8[_0x5b0551([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3afbb8[_0x5b0551([0x6a,0x74,0x69])])),await _0x299fc2()?_0x7eca6()?_0x5881e0()?_0x5b0551([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2dd654()?(_0x3afbb8[_0x5b0551([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5b0551([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f86ea=_0x37af0f(_0x5b0551([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1bcf72()):_0x5b0551([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5b0551([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5b0551([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5b0551([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5881e0(){const _0x4a0812=[_0x5b0551([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5b0551([0x74,0x72,0x69,0x61,0x6c])][_0x5b0551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3afbb8[_0x5b0551([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x152d72/0x3e8:0xe10*_0x57e19c;return _0x3afbb8[_0x5b0551([0x65,0x78,0x70])]<_0x4a0812;}function _0x7eca6(){const _0x5d2d14=_0x3afbb8[_0x5b0551([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5d2d14&&(!!_0x5d2d14[_0x5b0551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b0551([0x2a]))||!!_0x5d2d14[_0x5b0551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b0551([0x46,0x4f,0x4f])));}function _0x2dd654(){const _0x4eb523=_0x3afbb8[_0x5b0551([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4eb523||0x0==_0x4eb523[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c7c28}=new URL(window[_0x5b0551([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4eb523[_0x5b0551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c7c28))return!0x0;const _0x8d0e5e=_0x2c7c28[_0x5b0551([0x73,0x70,0x6c,0x69,0x74])](_0x5b0551([0x2e]));return _0x4eb523[_0x5b0551([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x215e8f=>_0x215e8f[_0x5b0551([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b0551([0x2a])))[_0x5b0551([0x6d,0x61,0x70])](_0x5828cb=>_0x5828cb[_0x5b0551([0x73,0x70,0x6c,0x69,0x74])](_0x5b0551([0x2e])))[_0x5b0551([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfff55c=>_0xfff55c[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x8d0e5e[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b0551([0x6d,0x61,0x70])](_0x4ff7ad=>Array(_0x8d0e5e[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ff7ad[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5b0551([0x66,0x69,0x6c,0x6c])](_0x4ff7ad[0x0]===_0x5b0551([0x2a])?_0x5b0551([0x2a]):'')[_0x5b0551([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ff7ad))[_0x5b0551([0x73,0x6f,0x6d,0x65])](_0x3a553c=>_0x8d0e5e[_0x5b0551([0x65,0x76,0x65,0x72,0x79])]((_0xc2d5bf,_0x3cd1d4)=>_0x3a553c[_0x3cd1d4]===_0xc2d5bf||_0x3a553c[_0x3cd1d4]===_0x5b0551([0x2a])));}function _0x1bcf72(){return _0x3f86ea&&_0x587789?new window[(_0x5b0551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46baee,_0x12f4e0)=>{_0x3f86ea[_0x5b0551([0x74,0x68,0x65,0x6e])](_0x46baee,_0x12f4e0),_0x587789[_0x5b0551([0x74,0x68,0x65,0x6e])](_0x1ad6b2=>{_0x1ad6b2!=_0x5b0551([0x56,0x61,0x6c,0x69,0x64])&&_0x46baee(_0x1ad6b2);},_0x12f4e0);}):_0x3f86ea||_0x587789||_0x5b0551([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a04d7(_0x27febe,_0x44d210){return new window[(_0x5b0551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd963c5=>{if(_0x426295())return _0xd963c5(_0x5b0551([0x56,0x61,0x6c,0x69,0x64]));_0x1781c5(),_0x370ad0[_0x5b0551([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5b0551([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c6702=!0x1;const _0x24455b=_0x3eda13();function _0x2df50f(_0x3b8f5a){return!!_0x3b8f5a&&(typeof _0x3b8f5a===_0x5b0551([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b8f5a===_0x5b0551([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b8f5a[_0x5b0551([0x74,0x68,0x65,0x6e])]===_0x5b0551([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b8f5a[_0x5b0551([0x63,0x61,0x74,0x63,0x68])]===_0x5b0551([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x575f0d(_0x4b72d4){_0xae2991(_0x4b72d4)[_0x5b0551([0x74,0x68,0x65,0x6e])](_0x5b9275=>{if(!_0x5b9275||_0x5b9275[_0x5b0551([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5b0551([0x6f,0x6b]))return _0x5b0551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54b90a(_0xff2fb2(_0x24455b+_0x44d210))!=_0x5b9275[_0x5b0551([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5b0551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5b0551([0x56,0x61,0x6c,0x69,0x64]);})[_0x5b0551([0x74,0x68,0x65,0x6e])](_0x3f1811=>(_0x21ab6b(),_0x3f1811),()=>{const _0x882147=_0x4619ae();return null==_0x882147?(_0x21ab6b(),_0x5b0551([0x56,0x61,0x6c,0x69,0x64])):_0x5b0551(_0x152d72-_0x882147>(0x63ae0106^_0x459629)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5b0551([0x74,0x68,0x65,0x6e])](_0xd963c5)[_0x5b0551([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd963c5(_0x5b0551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1fe7f3=0x47946b86^_0x459629;function _0x21ab6b(){const _0x23d935=_0x5b0551([0x6c,0x6c,0x63,0x74,0x2d])+_0x54b90a(_0xff2fb2(_0x27febe)),_0x1ba735=_0x555076(_0x54b90a(window[_0x5b0551([0x4d,0x61,0x74,0x68])][_0x5b0551([0x63,0x65,0x69,0x6c])](_0x152d72/_0x1fe7f3)));window[_0x5b0551([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b0551([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23d935,_0x1ba735);}function _0x4619ae(){const _0x273d2a=_0x5b0551([0x6c,0x6c,0x63,0x74,0x2d])+_0x54b90a(_0xff2fb2(_0x27febe)),_0x2a4e3f=window[_0x5b0551([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5b0551([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x273d2a);return _0x2a4e3f?window[_0x5b0551([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555076(_0x2a4e3f),0x10)*_0x1fe7f3:null;}function _0xae2991(_0x5876ff){return new window[(_0x5b0551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52d43d,_0x10d740)=>{_0x5876ff[_0x5b0551([0x74,0x68,0x65,0x6e])](_0x52d43d,_0x10d740),window[_0x5b0551([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10d740,0x47a351c6^_0x459629);});}}_0x370ad0[_0x5b0551([0x6f,0x6e])](_0x5b0551([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5aeea0,_0x3e76d3)=>{if(_0x3e76d3[0x0]!=_0x27febe)return _0xd963c5(_0x5b0551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e76d3[0x1]={..._0x3e76d3[0x1],[_0x5b0551([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x24455b};},{[_0x5b0551([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b0551([0x68,0x69,0x67,0x68])}),_0x370ad0[_0x5b0551([0x6f,0x6e])](_0x5b0551([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x28c850=>{_0x2df50f(_0x28c850[_0x5b0551([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c6702=!0x0,_0x575f0d(_0x28c850[_0x5b0551([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5b0551([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5b0551([0x6c,0x6f,0x77])}),_0x4fa5dc[_0x5b0551([0x74,0x68,0x65,0x6e])](()=>{_0x3c6702||_0xd963c5(_0x5b0551([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x426295(){return _0x370ad0[_0x5b0551([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b0551([0x76,0x69,0x65,0x77])][_0x5b0551([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5b0551([0x61,0x75,0x74,0x6f]);}function _0x1781c5(){_0x370ad0[_0x5b0551([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5b0551([0x76,0x69,0x65,0x77])][_0x5b0551([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5b0551([0x61,0x75,0x74,0x6f]);}}function _0x37af0f(_0x1fe3c4){const _0x33908e=[new window[(_0x5b0551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ff8ec=>setTimeout(_0x4ff8ec,0x47abbbca^_0x459629)),_0x4fa5dc[_0x5b0551([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5b0551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32e9e9=>{let _0x37b8ae=0x0;_0x370ad0[_0x5b0551([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b0551([0x6f,0x6e])](_0x5b0551([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5531ef,_0x1c16ab)=>{_0x1c16ab[0x0][_0x5b0551([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37b8ae++,_0x37b8ae==(0x47a280ee^_0x459629)&&(_0x32e9e9(),_0x5531ef[_0x5b0551([0x6f,0x66,0x66])]());});}))];return window[_0x5b0551([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5b0551([0x72,0x61,0x63,0x65])](_0x33908e)[_0x5b0551([0x74,0x68,0x65,0x6e])](()=>_0x1fe3c4);}async function _0x175847(){await _0x4fa5dc,_0x370ad0[_0x5b0551([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b0551([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xda4770,_0x370ad0[_0x5b0551([0x6d,0x6f,0x64,0x65,0x6c])][_0x5b0551([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xda4770,_0x370ad0[_0x5b0551([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5b0551([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2bfe6d(_0x26e6e6){const _0x55e1ae=_0x2de12d();_0x370ad0[_0x55e1ae]=_0x5b0551([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x26e6e6,_0x26e6e6!=_0x5b0551([0x56,0x61,0x6c,0x69,0x64])&&_0x175847();}function _0x2de12d(){const _0x563370=window[_0x5b0551([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5b0551([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5b0551([0x6e,0x6f,0x77])]())[_0x5b0551([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5b0551([0x2e]),'');let _0x4f8cee=_0x5b0551([0x75]);for(let _0x3965bc=0x0;_0x3965bc<_0x563370[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3965bc+=0x2){let _0x1f2534=window[_0x5b0551([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x563370[_0x5b0551([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3965bc,_0x3965bc+0x2));_0x1f2534>=_0x4a9fd4[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f2534-=_0x4a9fd4[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f8cee+=_0x4a9fd4[_0x1f2534];}return _0x4f8cee;}function _0x1b6b2b(){const _0x4257ae=_0x3a707e[_0x5b0551([0x73,0x70,0x6c,0x69,0x74])](_0x5b0551([0x2e]));if(0x3!=_0x4257ae[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14b7e8(_0x4257ae[0x1]);function _0x14b7e8(_0x192316){const _0x53df00=_0x124ac9(_0x192316);return _0x53df00&&_0x517a82()?_0x53df00:null;function _0x517a82(){const _0x4d0982=_0x53df00[_0x5b0551([0x6a,0x74,0x69])],_0x400781=window[_0x5b0551([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d0982[_0x5b0551([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d0982[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4adf41={..._0x53df00,[_0x5b0551([0x6a,0x74,0x69])]:_0x4d0982[_0x5b0551([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d0982[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4adf41[_0x5b0551([0x76,0x63])],_0xff2fb2(_0x4adf41)==_0x400781;}}}async function _0x299fc2(){let _0x5031af=!0x0;try{const _0x4dfff4=_0x3a707e[_0x5b0551([0x73,0x70,0x6c,0x69,0x74])](_0x5b0551([0x2e])),[_0x3e999a,_0x21fde1,_0x4fd1f7]=_0x4dfff4;return _0x579c8a(_0x3e999a),await _0x1052be(_0x3e999a,_0x21fde1,_0x4fd1f7),_0x5031af;}catch{return!0x1;}function _0x579c8a(_0x11d0d7){const _0x549e32=_0x124ac9(_0x11d0d7);_0x549e32&&_0x549e32[_0x5b0551([0x61,0x6c,0x67])]==_0x5b0551([0x45,0x53,0x32,0x35,0x36])||(_0x5031af=!0x1);}async function _0x1052be(_0x20056e,_0x3d50d2,_0x2abbd6){const _0x366d46=window[_0x5b0551([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5b0551([0x66,0x72,0x6f,0x6d])](_0x532a54(_0x2abbd6),_0x42726d=>_0x42726d[_0x5b0551([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x41dd78=new window[(_0x5b0551([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5b0551([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x20056e+_0x5b0551([0x2e])+_0x3d50d2),_0x3d2253=window[_0x5b0551([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5b0551([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3d2253)return;const _0x32dac4=await _0x3d2253[_0x5b0551([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5b0551([0x6a,0x77,0x6b]),_0x3631d1,{[_0x5b0551([0x6e,0x61,0x6d,0x65])]:_0x5b0551([0x45,0x43,0x44,0x53,0x41]),[_0x5b0551([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5b0551([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5b0551([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3d2253[_0x5b0551([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5b0551([0x6e,0x61,0x6d,0x65])]:_0x5b0551([0x45,0x43,0x44,0x53,0x41]),[_0x5b0551([0x68,0x61,0x73,0x68])]:{[_0x5b0551([0x6e,0x61,0x6d,0x65])]:_0x5b0551([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x32dac4,_0x366d46,_0x41dd78)||(_0x5031af=!0x1);}}function _0x124ac9(_0x55446b){return _0x55446b[_0x5b0551([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5b0551([0x65,0x79]))?JSON[_0x5b0551([0x70,0x61,0x72,0x73,0x65])](_0x532a54(_0x55446b)):null;}function _0x532a54(_0x2360a7){return window[_0x5b0551([0x61,0x74,0x6f,0x62])](_0x2360a7[_0x5b0551([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5b0551([0x2b]))[_0x5b0551([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5b0551([0x2f])));}function _0xff2fb2(_0x2c5180){let _0x45febb=0x1505;function _0x42be74(_0x560adb){for(let _0x122dcf=0x0;_0x122dcf<_0x560adb[_0x5b0551([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x122dcf++){const _0x24f5ec=_0x560adb[_0x5b0551([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x122dcf);_0x45febb=(_0x45febb<<0x5)+_0x45febb+_0x24f5ec,_0x45febb&=_0x45febb;}}function _0x63b286(_0x3b2b88){Array[_0x5b0551([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b2b88)?_0x3b2b88[_0x5b0551([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x63b286):_0x3b2b88&&typeof _0x3b2b88==_0x5b0551([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5b0551([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b2b88)[_0x5b0551([0x73,0x6f,0x72,0x74])]()[_0x5b0551([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ff974,_0x160d30])=>{_0x42be74(_0x5ff974),_0x63b286(_0x160d30);}):_0x42be74(window[_0x5b0551([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b2b88));}return _0x63b286(_0x2c5180),_0x45febb>>>0x0;}function _0x54b90a(_0x555b58){return _0x555b58[_0x5b0551([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5b0551([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5b0551([0x30]));}function _0x555076(_0x4a9206){return _0x4a9206[_0x5b0551([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5b0551([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5b0551([0x6a,0x6f,0x69,0x6e])]('');}function _0xda4770(){}function _0x5b0551(_0xdeaf55){return _0xdeaf55['map'](_0x4ae5e5=>String['fromCharCode'](_0x4ae5e5))['join']('');}_0x2bfe6d(await _0x4f05c3());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5b5cb1){const {plugins:_0x2e9657,editing:_0x5669a9,model:_0x5a8c65}=this['editor'],_0x5e71a4=_0x2e9657['get'](FootnotesTracker)['getFootnote'](_0x5b5cb1);return!!_0x5e71a4&&(_0x5a8c65['change'](_0x41416d=>{_0x41416d['setSelection'](_0x41416d['createPositionAt'](_0x5e71a4['definition'],'end'));}),_0x5669a9['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x300845){const {plugins:_0x399f0c,editing:_0x545b77,model:_0x41644f}=this['editor'],_0xbcb6cb=_0x399f0c['get'](FootnotesTracker)['getFootnote'](_0x300845);return!!_0xbcb6cb&&(_0x41644f['change'](_0x1f3504=>{_0x1f3504['setSelection'](_0xbcb6cb['reference'],'on');}),_0x545b77['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1e4b70}=this['editor']['model'],_0x243611=this['editor']['config']['get']('footnotes.multiBlock');_0x1e4b70['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1e4b70['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1e4b70['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x243611?_0x1e4b70['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1e4b70['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1e4b70['addChildCheck'](_0xbf9497=>{for(const _0x293cf9 of _0xbf9497)if('footnoteDefinition'===_0x293cf9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x17d4a1}=this,{conversion:_0x494c11,editing:_0x2b47a7}=_0x17d4a1,{t:t}=_0x17d4a1['locale'];_0x494c11['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x319e81,{writer:_0xc0ea79,consumable:_0x132057})=>{const _0x4d671a=_0x319e81['getChild'](0x0);if(!_0x4d671a||!_0x4d671a['is']('element','a'))return null;const _0x350c08=_0x4d671a['getAttribute']('href')||'';if(!_0x350c08['startsWith']('#'))return null;const _0x5a206d=_0x350c08['replace'](/^#/,'');if(!_0x5a206d)return null;_0x132057['consume'](_0x4d671a,{'name':!0x0,'attributes':['href']});for(const {item:_0x160a3c}of _0x2b47a7['view']['createRangeIn'](_0x4d671a))_0x160a3c['is']('$textProxy')?_0x132057['consume'](_0x160a3c['textNode'],{'name':!0x0}):_0x160a3c['is']('element')&&_0x132057['consume'](_0x160a3c,{'name':!0x0});return _0xc0ea79['createElement']('footnoteRef',{'footnoteId':_0x5a206d});}}),_0x494c11['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x760a12,{writer:_0x3c67b1})=>$p(_0x760a12,_0x3c67b1)}),_0x494c11['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1112f8,{writer:_0x53f94e})=>{const _0x2c6d77=_0x1112f8['getAttribute']('footnoteCounter');return _0x42fba9($p(_0x1112f8,_0x53f94e),_0x53f94e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2c6d77)});}});}['_defineDefinitionsConverters'](){const {editor:_0x19f8c8}=this,{t:t}=_0x19f8c8['locale'],{conversion:_0x322ea3}=_0x19f8c8;_0x322ea3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x322ea3['for']('upcast')['add'](_0x23c965=>{_0x23c965['on']('element:ol',(_0x30e9d6,_0x1ab6c4,_0xb4fee2)=>{const _0x2f3228=_0x1ab6c4['viewItem'];if(!_0x2f3228['hasClass']('footnotes-list')||!_0x1ab6c4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xb4fee2['consumable']['consume'](_0x2f3228,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x298c48,modelCursor:_0x23681d}=_0xb4fee2['convertChildren'](_0x1ab6c4['viewItem'],_0x1ab6c4['modelCursor']);_0x1ab6c4['modelRange']=_0x298c48,_0x1ab6c4['modelCursor']=_0x23681d;}),_0x23c965['on']('element:hr',(_0x3d432b,_0x65bb99,_0x234969)=>{const _0x5794ae=_0x65bb99['viewItem'];_0x5794ae['hasClass']('footnotes-divider')&&_0x65bb99['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x234969['consumable']['consume'](_0x5794ae,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x322ea3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1aa6aa,{writer:_0x2fb938})=>Lp(_0x2fb938)}),_0x322ea3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11c415,{writer:_0x4feb61})=>{const _0x29c011=Lp(_0x4feb61,{'data-footnotes-list-label':t('Footnotes')}),_0x19fd99=_0x42fba9(_0x29c011,_0x4feb61,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4feb61['setCustomProperty']('footnotesDefinitions',!0x0,_0x19fd99),_0x19fd99;}});}['_defineDefinitionConverters'](){const {editor:_0x9f77d5}=this,{conversion:_0x2f045c,locale:_0x36ba96}=_0x9f77d5,_0x15bda7=_0x9f77d5['config']['get']('footnotes.multiBlock');_0x2f045c['for']('upcast')['add'](_0x3c9d96=>{_0x3c9d96['on']('element:li',(_0x1f431e,_0x16915c,_0x412c7e)=>{const _0x56fb9a=_0x16915c['viewItem'];if(!_0x56fb9a['hasClass']('footnote-definition')||!_0x56fb9a['getAttribute']('id'))return;const _0x3e171b=_0x56fb9a['parent'];if(!_0x3e171b['is']('element','ol')||!_0x3e171b['hasClass']('footnotes-list'))return;if(!_0x412c7e['consumable']['test'](_0x56fb9a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1c284e=_0x412c7e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x56fb9a['getAttribute']('id')});if(!_0x412c7e['safeInsert'](_0x1c284e,_0x16915c['modelCursor']))return;_0x412c7e['consumable']['consume'](_0x56fb9a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4e7bab=Array['from'](_0x56fb9a['getChildren']())['find'](_0x417b24=>_0x417b24['is']('element')&&_0x417b24['hasClass']('footnote-content'));for(const _0x5aa63f of _0x56fb9a['getChildren']())_0x5aa63f['is']('element')&&(_0x412c7e['consumable']['consume'](_0x5aa63f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x412c7e['consumable']['consume'](_0x5aa63f,{'name':!0x0,'classes':'footnote-content'}));if(_0x4e7bab){if(_0x15bda7)_0x412c7e['convertChildren'](_0x4e7bab,_0x1c284e);else{const _0x83f3c0=_0x412c7e['writer']['createElement']('footnoteInlineContent');_0x412c7e['writer']['insert'](_0x83f3c0,_0x1c284e),_0x412c7e['convertChildren'](_0x4e7bab,_0x83f3c0);}}_0x412c7e['updateConversionResult'](_0x1c284e,_0x16915c);});}),_0x2f045c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x53164c,{writer:_0x39c612})=>Dp(_0x53164c,_0x39c612,_0x36ba96,{'dataPipeline':!0x0})}),_0x2f045c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x12126c,{writer:_0x121dfb})=>Dp(_0x12126c,_0x121dfb,_0x36ba96)});}['_defineBogusParagraphConverters'](){const {editor:_0x5312c8}=this,{conversion:_0x3c589a}=_0x5312c8;_0x5312c8['config']['get']('footnotes.multiBlock')?(_0x3c589a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':Rp(),'converterPriority':'high'}),_0x3c589a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':Rp({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5312c8['model']['document'],'change:data',()=>{!function(_0x4a7ea2,_0x42251d){const _0xb231f2=_0x4a7ea2['document']['differ'],_0x3dfaa2=new Set();for(const _0x292f9b of _0xb231f2['getChanges']()){const _0x27758d='attribute'==_0x292f9b['type']?_0x292f9b['range']['start']['parent']:_0x292f9b['position']['parent'];_0x27758d['is']('element','footnoteDefinition')&&_0x3dfaa2['add'](_0x27758d);}for(const _0x56eb65 of _0x3dfaa2['values']()){const _0x4195e2=Array['from'](_0x56eb65['getChildren']())['filter'](_0x5a92f9=>Mp(_0x5a92f9,_0x42251d['mapper']));for(const _0x1fb4fe of _0x4195e2)_0x42251d['reconvertItem'](_0x1fb4fe);}}(_0x5312c8['model'],_0x5312c8['editing']);})):(_0x3c589a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':Rp()}),_0x3c589a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x44dad6,{writer:_0xf2aaaa})=>{const _0x2fc4a6=_0xf2aaaa['createContainerElement']('span');return _0xf2aaaa['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2fc4a6),_0x2fc4a6;}}));}['_defineKeyboardHandlers'](){const {editor:_0xa39f9d}=this,{editing:_0x5609a7,t:t}=_0xa39f9d,_0x1cf234=_0xa39f9d['model']['document']['selection'];_0xa39f9d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xa39f9d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5609a7['view']['document'],'enter',(_0x444321,_0x575a93)=>{const _0x2583cf=function(_0x271b4b){const _0x26d665=_0x271b4b['getSelectedElement']();if(_0x26d665?.['is']('element','footnoteRef'))return _0x26d665;return null;}(_0x1cf234);if(_0x2583cf){const _0x384ce4=_0x2583cf['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x384ce4),_0x575a93['preventDefault'](),_0x444321['stop']();}},{'context':_0x3b410d});}['_defineClickHandlers'](){const {editor:_0x1efa97}=this,{editing:_0x30fdf1}=_0x1efa97;_0x1efa97['editing']['view']['addObserver'](_0x421289),_0x1efa97['editing']['view']['addObserver'](_0x356a11);let _0x33728d=!0x1;this['listenTo'](_0x30fdf1['view']['document'],'pointerdown',(_0x3f2e16,_0x47742e)=>{const {target:_0x2eceea}=_0x47742e,_0x57437f=_0x30fdf1['view']['document']['selection'];_0x33728d=!!(_0x2eceea?.['is']('element','a')&&_0x2eceea['parent']?.['is']('element','sup')&&_0x2eceea['parent']['hasClass']('footnote'))&&_0x57437f['getSelectedElement']()===_0x2eceea['parent'];},{'priority':'high'}),this['listenTo'](_0x30fdf1['view']['document'],'click',(_0x22005e,_0x48caa8)=>{const {target:_0x457924}=_0x48caa8;if(!_0x457924?.['is']('element','a'))return;if(_0x457924['parent']?.['is']('element','sup')&&_0x457924['parent']['hasClass']('footnote')&&!_0x33728d)return void _0x48caa8['preventDefault']();let _0x1a5c04=_0x457924['getAttribute']('href');if(!_0x1a5c04?.['startsWith']('#'))return;_0x1a5c04=_0x1a5c04['slice'](0x1);let _0x4632a9=!0x1;(_0x1a5c04['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1a5c04['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1a5c04))&&(_0x4632a9=!0x0),_0x4632a9&&(_0x48caa8['preventDefault'](),_0x22005e['stop']());},{'priority':'high','context':'$capture'});}}function Rp({dataPipeline:_0x29acf7}={}){return(_0x1273aa,{writer:_0x47fb2d})=>{if(!Pp(_0x1273aa))return null;if(!_0x29acf7)return _0x47fb2d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1fbbdf=_0x47fb2d['createContainerElement']('p');return _0x47fb2d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1fbbdf),_0x1fbbdf;};}function Pp(_0x3c6688){const {parent:_0x3b0274}=_0x3c6688;if(!_0x3b0274?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3b0274['childCount'])return!0x1;for(const _0x577555 of _0x3c6688['getAttributeKeys']())if(!_0x577555['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x577555)return!0x1;return!0x0;}function Mp(_0x351044,_0x165d9d){if(!_0x351044['is']('element','paragraph'))return!0x1;const _0x24ca7e=_0x165d9d['toViewElement'](_0x351044);return!!_0x24ca7e&&Pp(_0x351044)!==_0x24ca7e['is']('element','span');}function Np(_0x59c745){return _0x3b410d(_0x59c745)&&_0x59c745['is']('containerElement')&&!!_0x59c745['getCustomProperty']('footnotesDefinitions');}function Lp(_0x40ec20,_0x526013={}){const _0x4ee688=_0x40ec20['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x36389a=_0x40ec20['createContainerElement']('ol',{'class':'footnotes-list'},_0x40ec20['createSlot']());return _0x40ec20['createContainerElement']('div',{'class':'footnotes',..._0x526013},[_0x4ee688,_0x36389a]);}function $p(_0xedd369,_0x2f0da7){const _0x5d5cc6=_0xedd369['getAttribute']('footnoteId'),_0x104069=_0xedd369['getAttribute']('footnoteCounter'),_0x19975b=_0x2f0da7['createUIElement']('a',{'href':'#'+_0x5d5cc6},function(_0x5d2ae3){const _0x164753=this['toDomElement'](_0x5d2ae3);return _0x164753['textContent']=_0x104069,_0x164753;}),_0x59a2cc=_0x2f0da7['createContainerElement']('sup',{'id':'ref-'+_0x5d5cc6,'class':'footnote'},[_0x19975b]);return _0x59a2cc['getFillerOffset']=()=>null,_0x59a2cc;}function Dp(_0xddd1b6,_0x6d29b5,_0x3b1ddf,{dataPipeline:_0x18ef34}={}){const {t:t}=_0x3b1ddf,_0x5dfdad=_0xddd1b6['getAttribute']('footnoteId'),_0x3a8fb5=_0x6d29b5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5dfdad},function(_0x1c5674){const _0x452131=this['toDomElement'](_0x1c5674);return _0x452131['innerText']='^',_0x452131;}),_0x4a770b=_0x18ef34?_0x6d29b5['createContainerElement']('div',{'class':'footnote-content'}):_0x4b3e94(_0x6d29b5['createEditableElement']('div',{'class':'footnote-content'}),_0x6d29b5,{'label':t('Footnote\x20content.')});return _0x6d29b5['insert'](_0x6d29b5['createPositionAt'](_0x4a770b,0x0),_0x6d29b5['createSlot']()),_0x6d29b5['createContainerElement']('li',{'class':'footnote-definition','id':_0x5dfdad},[_0x3a8fb5,_0x4a770b]);}class FootnotesClipboard extends _0x151d85{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x4d1fc7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x42e577}=this,{plugins:_0x2707b1,model:_0x42d792}=_0x42e577,_0x583c11=_0x2707b1['get'](_0x4d1fc7),_0x531d94=_0x2707b1['get'](FootnotesTracker);this['listenTo'](_0x583c11,'outputTransformation',(_0x2874bd,_0x56cf96)=>{const _0x30eb48=Vp(_0x42d792['createRangeIn'](_0x56cf96['content']));if(!_0x30eb48['length'])return;const _0x5d5e44=_0x531d94['getFootnotes'](),_0x3e7625=_0x30eb48['reduce']((_0x5bc9f8,_0x25d744)=>{const _0xb63ab=_0x5d5e44['find'](_0x539e1d=>_0x539e1d['id']===_0x25d744);if(_0xb63ab){const _0x20265f=_0x42e577['data']['toView'](_0xb63ab['definition'],{'isClipboardPipeline':!0x0}),_0x2786c7=_0x42e577['data']['htmlProcessor']['toData'](_0x20265f);_0x5bc9f8[_0xb63ab['id']]=_0x2786c7;}return _0x5bc9f8;},Object['create'](null));_0x56cf96['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3e7625));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x169c34}=this,{model:_0x2fe42,plugins:_0x589ab8}=_0x169c34,{view:_0x1d5d79}=_0x169c34['editing'],_0x412187=_0x589ab8['get'](_0x4d1fc7),_0x42e2c6=_0x589ab8['get'](FootnotesTracker),_0x3ad60d=_0x169c34['config']['get']('footnotes.multiBlock');let _0x39ff3c=null;this['listenTo'](_0x1d5d79['document'],'clipboardInput',(_0x581e6b,_0x48d836)=>{const _0x4a2b30=_0x48d836['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x39ff3c=_0x4a2b30?JSON['parse'](_0x4a2b30):null;}),this['listenTo'](_0x412187,'contentInsertion',(_0x18981b,_0x188319)=>{const _0x169378=_0x188319['sourceEditorId']===this['editor']['id'];_0x169378&&'drop'===_0x188319['method']||_0x2fe42['change'](_0x1e5c08=>{let _0x5c568a=_0x42e2c6['getFootnotesDefinitionsObjectElement']();const _0x439981=!!_0x5c568a&&Array['from'](_0x2fe42['document']['selection']['getSelectedBlocks']())['includes'](_0x5c568a);if(!_0x39ff3c&&function(_0x2d3565){for(const {item:_0x16e5eb}of _0x2d3565)if(_0x16e5eb['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2fe42['createRangeIn'](_0x188319['content']))&&(_0x39ff3c=function(_0x5d13b8,_0x1ed503){const _0x35d4c8=Qp(_0x5d13b8,_0x1ed503);if(!_0x35d4c8)return null;const _0x4a1e51=Object['create'](null);for(const _0x224751 of _0x35d4c8['getChildren']())_0x224751['is']('element','footnoteDefinition')&&_0x224751['hasAttribute']('footnoteId')&&(_0x4a1e51[_0x224751['getAttribute']('footnoteId')]=_0x5d13b8['cloneElement'](_0x224751,!0x0));return Object['keys'](_0x4a1e51)['length']?_0x4a1e51:null;}(_0x1e5c08,_0x188319['content'])),(_0x5c568a&&!_0x439981||!_0x5c568a&&!_0x39ff3c)&&function(_0xf962b7,_0x4d461e){const _0x20a53d=[];for(const {item:_0x4c2935}of _0xf962b7['createRangeIn'](_0x4d461e))_0x4c2935['is']('element','footnotesDefinitions')&&_0x20a53d['push'](_0x4c2935);for(const _0x441f99 of _0x20a53d)_0xf962b7['remove'](_0x441f99);}(_0x1e5c08,_0x188319['content']),!_0x39ff3c)return;const {selection:_0xecf0ee}=_0x2fe42['document'],_0x323c45=_0xecf0ee['getFirstRange']()['root'];_0x5c568a&&!_0x439981||(_0x5c568a=Qp(_0x1e5c08,_0x188319['content']),_0x5c568a||=_0x42e2c6['_insertEmptyFootnotesDefinitionsContainer'](_0x1e5c08,_0x323c45));const _0x1448d7=Array['from'](_0xecf0ee['getRanges']())['flatMap'](Vp),_0x35da62=function(_0x2fd592,_0x22598b,_0x383815){const _0x42ba16=Object['create'](null);for(const {item:_0x543677}of _0x2fd592['createRangeIn'](_0x22598b))if(_0x543677['is']('element','footnoteRef')){const _0x145e39=_0x543677['getAttribute']('footnoteId');if(!_0x383815(_0x145e39))continue;_0x42ba16[_0x145e39]||(_0x42ba16[_0x145e39]=_0x3eda13()),_0x2fd592['setAttribute']('footnoteId',_0x42ba16[_0x145e39],_0x543677);}return _0x42ba16;}(_0x1e5c08,_0x188319['content'],_0x145452=>{if(!_0x169378)return!0x0;return!!_0x42e2c6['getFootnote'](_0x145452)&&!_0x1448d7['includes'](_0x145452);});for(const [_0x4dda81,_0x3cf3cf]of Object['entries'](_0x39ff3c)){const _0x52caa1=_0x35da62[_0x4dda81]||_0x4dda81;let _0x5b3ad9;if('string'!=typeof _0x3cf3cf)_0x5b3ad9=_0x3cf3cf,_0x52caa1!==_0x4dda81&&_0x1e5c08['setAttribute']('footnoteId',_0x52caa1,_0x5b3ad9);else{_0x5b3ad9=_0x1e5c08['createElement']('footnoteDefinition',{'footnoteId':_0x52caa1});const _0x506e2f=_0x169c34['data']['htmlProcessor']['toView'](_0x3cf3cf);let _0x3c34a0;if(_0x3ad60d)_0x3c34a0=_0x169c34['data']['toModel'](_0x506e2f,_0x5b3ad9);else{_0x3c34a0=_0x1e5c08['createElement']('footnoteInlineContent');const _0x276f77=_0x169c34['data']['toModel'](_0x506e2f,_0x3c34a0);_0x1e5c08['insert'](_0x276f77,_0x3c34a0);}_0x1e5c08['append'](_0x3c34a0,_0x5b3ad9);}_0x1e5c08['insert'](_0x5b3ad9,_0x5c568a,'end');}_0x39ff3c=null;});});}}function Qp(_0x2d4cfb,_0x210d6c){for(const {item:_0x589533}of _0x2d4cfb['createRangeIn'](_0x210d6c))if(_0x589533['is']('element','footnotesDefinitions'))return _0x589533;return null;}function Vp(_0x337c97){const _0x2feae7=new Set();for(const {item:_0x11207f}of _0x337c97)_0x11207f['is']('element','footnoteRef')&&_0x2feae7['add'](_0x11207f['getAttribute']('footnoteId'));return Array['from'](_0x2feae7);}class FootnotesUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x211cd0}=this,{componentFactory:_0x4e729e}=_0x211cd0['ui'];_0x4e729e['add']('insertFootnote',Up(_0x211cd0,_0x4c508c)),_0x4e729e['add']('menuBar:insertFootnote',Up(_0x211cd0,at)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x29a514=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5c35f3;for(const _0x12290e in _0x29a514){const _0x25fd53=_0x12290e,_0x463c60=_0x29a514[_0x25fd53];if('footnotesLicenseKeyValid'==_0x463c60||'footnotesLicenseKeyInvalid'==_0x463c60||'footnotesLicenseKeyExpired'==_0x463c60||'footnotesLicenseKeyDomainLimit'==_0x463c60||'footnotesLicenseKeyNotAllowed'==_0x463c60||'footnotesLicenseKeyEvaluationLimit'==_0x463c60||'footnotesLicenseKeyUsageLimit'==_0x463c60){delete _0x29a514[_0x25fd53],_0x5c35f3=_0x463c60,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5c35f3&&_0x29a514['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5c35f3&&_0x29a514['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5c35f3&&_0x29a514['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5c35f3&&_0x29a514['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5c35f3&&_0x29a514['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x5c35f3&&_0x29a514['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Up(_0x1c3bec,_0x12d9e3){const _0x3744e8=_0x1c3bec['commands']['get']('insertFootnote');return _0x4ce7d7=>{const {t:t}=_0x4ce7d7,_0x3be2b2=new _0x12d9e3(_0x4ce7d7),_0x5c0f51=_0x3be2b2 instanceof at;return _0x3be2b2['bind']('isEnabled')['to'](_0x3744e8,'isEnabled'),_0x3be2b2['set']({'label':t(_0x5c0f51?'Footnote':'Insert\x20footnote'),'icon':_0x345316,'tooltip':!0x0}),_0x3be2b2['on']('execute',()=>{_0x3744e8['execute'](),_0x1c3bec['editing']['view']['focus']();}),_0x3be2b2;};}class Footnotes extends _0x151d85{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Bp=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],Fp=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),jp=[...Bp,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x208eac{['refresh'](){const {editor:_0x3d7ef7}=this,_0x232c85=_0x3d7ef7['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x232c85,this['value']=_0x232c85?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1e8f77}){const {editor:_0x15ee95}=this,_0x22f50e=_0x15ee95['plugins']['get'](FootnotesTracker),_0x2b0993=_0x22f50e['getFootnotesDefinitionsObjectElement']();_0x2b0993&&jp['includes'](_0x1e8f77)&&_0x15ee95['model']['change'](_0x833f4d=>{_0x833f4d['setAttribute']('footnotesListStyle',_0x1e8f77,_0x2b0993),_0x22f50e['_updateFootnotesCounters'](_0x833f4d);});}}class FootnotesStartCommand extends _0x208eac{['refresh'](){const {editor:_0x4ab40a}=this,_0x3c7ebb=_0x4ab40a['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3c7ebb,this['value']=_0x3c7ebb?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x486c99}){const {editor:_0x1fc342}=this,_0x4c06c8=_0x1fc342['plugins']['get'](FootnotesTracker),_0x558ac9=_0x4c06c8['getFootnotesDefinitionsObjectElement']();_0x558ac9&&Number['isInteger'](_0x486c99)&&_0x1fc342['model']['change'](_0x1d847d=>{_0x1d847d['setAttribute']('footnotesListStart',_0x486c99,_0x558ac9),_0x4c06c8['_updateFootnotesCounters'](_0x1d847d);});}}function Hp(_0x45947a,_0x6101b7){let _0x45b090='',_0xf7aad0=_0x45947a;for(;_0xf7aad0>0x0;){const _0x46524d=(_0xf7aad0-0x1)%0x1a;_0x45b090=String['fromCharCode'](0x61+_0x46524d)+_0x45b090,_0xf7aad0=Math['floor']((_0xf7aad0-0x1)/0x1a);}return _0x6101b7?_0x45b090['toUpperCase']():_0x45b090;}const Gp=[{'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 Zp(_0x550314,_0x5b8984){let _0x3e1399='',_0x1f1f16=_0x550314;for(const {value:_0x3ddfa1,numeral:_0x32e9c5}of Gp)for(;_0x1f1f16>=_0x3ddfa1;)_0x3e1399+=_0x32e9c5,_0x1f1f16-=_0x3ddfa1;return _0x5b8984?_0x3e1399:_0x3e1399['toLowerCase']();}const Xp=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x151d85{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32f6d1}=this;_0x32f6d1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x32f6d1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x32f6d1['config']['define']('footnotes.footnotesProperties.listStyles',[...Bp]),_0x32f6d1['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x32f6d1)),_0x32f6d1['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x32f6d1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x358813}=this,{schema:_0x2a7c74}=_0x358813['model'];_0x2a7c74['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x233015}=this,{conversion:_0x21a61b,model:_0x32a7e4}=_0x233015,{schema:_0x4c5830}=_0x32a7e4;_0x21a61b['for']('upcast')['add'](_0x441843=>{_0x441843['on']('element:ol',(_0x19d593,_0x3d8b3f,_0x368f8a)=>{const _0x5115a1=_0x3d8b3f['viewItem'],_0x15146d=_0x3d8b3f['modelCursor']?.['parent'];_0x5115a1['hasClass']('footnotes-list')&&_0x15146d?.['is']('element','footnotesDefinitions')&&(function(_0x12e6a5,_0x3ebfd,_0x2df29d,_0x4fe390){if(!_0x4fe390['checkAttribute'](_0x3ebfd,'footnotesListStart'))return;let _0x85cd2e=0x1;const _0x325ae8=_0x2df29d['consumable']['consume'](_0x12e6a5,{'attributes':'start'});if(_0x325ae8){const _0x2575a7=Number['parseInt'](_0x12e6a5['getAttribute']('start'),0xa);Number['isNaN'](_0x2575a7)||(_0x85cd2e=_0x2575a7);}!_0x325ae8&&_0x3ebfd['hasAttribute']('footnotesListStart')||_0x2df29d['writer']['setAttribute']('footnotesListStart',_0x85cd2e,_0x3ebfd);}(_0x5115a1,_0x15146d,_0x368f8a,_0x4c5830),function(_0x3cea19,_0x3c8aec,_0x433a67,_0x39bf10){if(!_0x39bf10['checkAttribute'](_0x3c8aec,'footnotesListStyle'))return;let _0x485571='decimal',_0x4487e4=!0x1;if(_0x433a67['consumable']['consume'](_0x3cea19,{'attributes':'type'})){const _0x24920b={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x3cea19['getAttribute']('type')];_0x24920b&&(_0x485571=_0x24920b),_0x4487e4=!0x0;}if(_0x433a67['consumable']['consume'](_0x3cea19,{'styles':'list-style-type'})){const _0xc882de=qp(_0x3cea19['getStyle']('list-style-type'));_0xc882de&&(_0x485571=_0xc882de),_0x4487e4=!0x0;}!_0x4487e4&&_0x3c8aec['hasAttribute']('footnotesListStyle')||_0x433a67['writer']['setAttribute']('footnotesListStyle',_0x485571,_0x3c8aec);}(_0x5115a1,_0x15146d,_0x368f8a,_0x4c5830));});}),_0x21a61b['for']('downcast')['add'](_0x2cdb29=>{_0x2cdb29['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x16931a,_0x43ad77,_0x3d42e7)=>{if(!_0x3d42e7['consumable']['consume'](_0x43ad77['item'],_0x16931a['name']))return;const _0x57a990=Wp(_0x43ad77['item'],_0x3d42e7['mapper']),{attributeNewValue:_0x235894}=_0x43ad77;null==_0x235894||0x1===_0x235894?_0x3d42e7['writer']['removeAttribute']('start',_0x57a990):_0x3d42e7['writer']['setAttribute']('start',String(_0x235894),_0x57a990);}),_0x2cdb29['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1f7e0b,_0x4f1835,_0x69e40e)=>{if(!_0x69e40e['consumable']['consume'](_0x4f1835['item'],_0x1f7e0b['name']))return;const _0x524ec4=Wp(_0x4f1835['item'],_0x69e40e['mapper']),{attributeNewValue:_0x970e60}=_0x4f1835;_0x970e60&&'decimal'!==_0x970e60?_0x69e40e['writer']['setStyle']('list-style-type',_0x970e60,_0x524ec4):_0x69e40e['writer']['removeStyle']('list-style-type',_0x524ec4);});});}['_definePostfixer'](){const {editor:_0xac95fd}=this,{model:_0x1cff0a}=_0xac95fd,_0x595138=_0xac95fd['plugins']['get'](FootnotesTracker),_0x41b55e=this['_getDefaultListStyle'](),_0x2a2f87=this['_getDefaultStartIndex']();_0x1cff0a['document']['registerPostFixer'](_0x3bd062=>{const _0x2f5342=_0x1cff0a['document']['differ']['getChanges']();let _0x31f230=!0x1;for(const _0x205e11 of _0x2f5342){if('insert'!==_0x205e11['type']||'$text'===_0x205e11['name'])continue;const _0x483de0=_0x1cff0a['createRangeOn'](_0x205e11['position']['nodeAfter']);for(const _0x1f10db of _0x483de0['getItems']())_0x1f10db['is']('element','footnotesDefinitions')&&(!_0x1f10db['hasAttribute']('footnotesListStart')&&_0x1cff0a['schema']['checkAttribute'](_0x1f10db,'footnotesListStart')&&(_0x3bd062['setAttribute']('footnotesListStart',_0x2a2f87,_0x1f10db),_0x31f230=!0x0),!_0x1f10db['hasAttribute']('footnotesListStyle')&&_0x1cff0a['schema']['checkAttribute'](_0x1f10db,'footnotesListStyle')&&(_0x3bd062['setAttribute']('footnotesListStyle',_0x41b55e,_0x1f10db),_0x31f230=!0x0));}return _0x31f230&&_0x595138['_updateFootnotesCounters'](_0x3bd062),_0x31f230;});}['_defineFormatter'](){const {editor:_0xd61457}=this;_0xd61457['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x5b6db4=>this['_formatFootnoteListValue'](_0x5b6db4));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x541912,value:_0x5dc10a,digits:_0x3d4506}){const _0xa89019=_0x541912['getAttribute']('footnotesListStyle'),_0x595eae=_0x541912['getAttribute']('footnotesListStart'),_0x21f96b=Math['floor'](_0x5dc10a)+(_0x595eae??0x1)-0x1;switch(_0xa89019){case'decimal-leading-zero':return function(_0x5756d3,_0x1b8727){return String(_0x5756d3)['padStart'](_0x1b8727,'0');}(_0x21f96b,Math['max'](0x2,_0x3d4506));case'lower-alpha':case'lower-latin':return Hp(_0x21f96b,!0x1);case'upper-alpha':case'upper-latin':return Hp(_0x21f96b,!0x0);case'lower-roman':return Zp(_0x21f96b,!0x1);case'upper-roman':return Zp(_0x21f96b,!0x0);case'arabic-indic':return function(_0x3ec0d1){return String(_0x3ec0d1)['replace'](/\d/g,_0x4de4a6=>Xp[Number(_0x4de4a6)]);}(_0x21f96b);default:return String(_0x21f96b);}}}function qp(_0x22fff0){if('string'==typeof _0x22fff0){const _0x5412c4=Fp[_0x22fff0];if(_0x5412c4)return _0x5412c4;if(jp['includes'](_0x22fff0))return _0x22fff0;}return null;}function Wp(_0x12f279,_0x320010){const _0x3e805e=_0x320010['toViewElement'](_0x12f279);return Array['from'](_0x3e805e['getChildren']())['find'](_0x5e4c4d=>_0x5e4c4d['is']('element','ol')&&_0x5e4c4d['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0xa34d16{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0xafcb0e();['keystrokes']=new _0x2ae5e6();['focusables']=new Et();['focusCycler'];constructor(_0x57b2f6,{styleButtonViews:_0x4a3755,styleGridAriaLabel:_0x40538f}){super(_0x57b2f6),(this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4a3755,_0x40538f),[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 _0x1f3d0d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1f3d0d['element']);Vt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x313644['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 _0x4fb878=_0x4f9209=>_0x4f9209['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4fb878),this['keystrokes']['set']('arrowleft',_0x4fb878),this['keystrokes']['set']('arrowup',_0x4fb878),this['keystrokes']['set']('arrowdown',_0x4fb878);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x12b374,_0x2fc234){const _0x367335=new _0xa34d16(this['locale']);return _0x367335['children']=_0x367335['createCollection'](),_0x367335['children']['addMany'](_0x12b374),_0x367335['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2fc234,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x367335['children']}),_0x367335['children']['delegate']('execute')['to'](this),_0x367335['focus']=function(){for(const _0x3fabeb of this['children'])if(_0x3fabeb instanceof _0x4c508c&&_0x3fabeb['isOn'])return void _0x3fabeb['focus']();this['children']['first']['focus']();},_0x367335['focusTracker']=new _0xafcb0e(),_0x367335['keystrokes']=new _0x2ae5e6(),_0x367335['render'](),_0x367335['keystrokes']['listenTo'](_0x367335['element']),this['children']['add'](_0x367335),_0x367335;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x49e8a7=this['_createStartIndexPropertyView'](),_0x966856=[_0x49e8a7],_0x1e626c=new Ut(this['locale'],_0x966856);return _0x1e626c['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1e626c['buttonView']['bind']('isEnabled')['toMany'](_0x966856,'isEnabled',(..._0x2a7bb6)=>_0x2a7bb6['some'](_0xa1bc54=>_0xa1bc54)),_0x1e626c['buttonView']['on']('change:isEnabled',(_0x4f1bce,_0x39a6c3,_0x1724e4)=>{_0x1724e4||(_0x1e626c['isCollapsed']=!0x0);}),this['children']['add'](_0x1e626c),[_0x49e8a7,_0x1e626c];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4daea6=new bt(this['locale'],Bt);return _0x4daea6['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4daea6['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4daea6['fieldView']['on']('input',()=>{const _0x2df3eb=_0x4daea6['fieldView']['element'],_0x82ed48=_0x2df3eb['valueAsNumber'];Number['isNaN'](_0x82ed48)?_0x4daea6['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2df3eb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x82ed48}):_0x4daea6['errorText']=t(_0x82ed48<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4daea6;}}class FootnotesPropertiesUI extends _0x151d85{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[Dt,_0x2364a5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5cc69d}=this,{componentFactory:_0x35448e}=_0x5cc69d['ui'];_0x5cc69d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x35448e['add']('footnotesStyle',function(_0x42cad9){return _0xba512c=>{const {t:t}=_0xba512c,_0xe9e288=_0x42cad9['commands']['get']('footnotesStyle'),_0x372b35=nt(_0xba512c),{buttonView:_0x54e9fb}=_0x372b35;return _0x372b35['class']='ck-footnotes-styles-dropdown',_0x372b35['bind']('isEnabled')['to'](_0xe9e288,'isEnabled'),_0x54e9fb['set']({'label':t('Footnotes\x20style'),'icon':_0x345316,'tooltip':!0x0}),_0x372b35['once']('change:isOpen',()=>{const _0x39308b=function({editor:_0x1881b2,dropdownView:_0x1116ee}){const {t:t}=_0x1881b2['locale'],_0x479a98=t('Footnotes\x20definitions\x20styles'),_0x5138f8=function(_0x26373d){const {t:t}=_0x26373d['locale'],_0x4c90bc=_0x26373d['config']['get']('footnotes.footnotesProperties.listStyles'),_0x24c93b=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x149fb1},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x228fa1},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x1a13fb},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x26b217},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x5f5612},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x25bc04},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x3a0f16}];return _0x4c90bc['map'](_0x1f3f05=>{const _0x477407=qp(_0x1f3f05),_0x45a4b4=_0x24c93b['find'](_0x8796bd=>_0x8796bd['style']===_0x477407);return function(_0x4adec1,_0x1ecd60){const {locale:_0x9e7279}=_0x4adec1,{label:_0x40b464,icon:_0x5dafb2,tooltip:_0x5693f5,style:_0x16ca79}=_0x1ecd60,_0x13b66f=_0x4adec1['commands']['get']('footnotesStyle'),_0x5b2f9b=new _0x4c508c(_0x9e7279);return _0x5b2f9b['set']({'label':_0x40b464,'icon':_0x5dafb2,'tooltip':_0x5693f5}),_0x5b2f9b['bind']('isOn')['to'](_0x13b66f,'value',_0x2692ad=>_0x2692ad===_0x16ca79),_0x5b2f9b['bind']('isEnabled')['to'](_0x13b66f,'isEnabled'),_0x5b2f9b['on']('execute',()=>{_0x4adec1['execute']('footnotesStyle',{'value':_0x16ca79}),_0x4adec1['editing']['view']['focus']();}),_0x5b2f9b;}(_0x26373d,_0x45a4b4);});}(_0x1881b2),_0x565a91=new FootnotesDefinitionsPropertiesView(_0x1881b2['locale'],{'styleGridAriaLabel':_0x479a98,'styleButtonViews':_0x5138f8}),_0x362a22=_0x1881b2['commands']['get']('footnotesStart');return _0x565a91['startIndexFieldView']['bind']('isEnabled')['to'](_0x362a22),_0x565a91['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x362a22),_0x565a91['on']('footnotesListStart',(_0x40ff7a,_0x8cac31)=>{_0x1881b2['execute']('footnotesStart',{'value':_0x8cac31['startIndex']});}),_0x565a91['delegate']('execute')['to'](_0x1116ee),_0x565a91;}({'editor':_0x42cad9,'dropdownView':_0x372b35});_0x372b35['panelView']['children']['add'](_0x39308b);}),_0x372b35;};}(_0x5cc69d));}['afterInit'](){const {editor:_0x37f8c7}=this,{t:t}=_0x37f8c7['locale'],_0x19d8f3=_0x37f8c7['plugins']['get'](_0x2364a5),{defaultPositions:_0x6e7404}=mt;_0x19d8f3['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x37f8c7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x38e6d3=>{let _0xb60840=_0x38e6d3['getFirstPosition']()?.['parent'];return _0xb60840?.['is']('$text')&&(_0xb60840=_0xb60840['parent']),_0xb60840?.['is']('element')?_0xb60840['findAncestor'](Np):null;},'positions':[_0x6e7404['southArrowNorth'],_0x6e7404['southArrowNorthMiddleWest'],_0x6e7404['southArrowNorthMiddleEast'],_0x6e7404['southArrowNorthWest'],_0x6e7404['southArrowNorthEast'],_0x6e7404['northArrowSouth'],_0x6e7404['northArrowSouthMiddleWest'],_0x6e7404['northArrowSouthMiddleEast'],_0x6e7404['northArrowSouthWest'],_0x6e7404['northArrowSouthEast'],_0x6e7404['viewportStickyNorth']]});}}class FootnotesProperties extends _0x151d85{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const zp='copyFormat',Yp='pasteFormat',Kp='ck-format-painter-active';class CopyFormatCommand extends _0x208eac{constructor(_0x5e087b){super(_0x5e087b),this['value']=void 0x0,this['on']('change:isEnabled',(_0x3f2cc1,_0x401bb8,_0x48065e)=>{_0x48065e||this['reset']();}),this['on']('change:value',()=>_0x5e087b['commands']['get'](Yp)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x23c492=this['editor']['model'],_0x517b3d=_0x23c492['document']['selection'];return Object['fromEntries'](Array['from'](_0x517b3d['getAttributes']())['filter'](([_0x456f1a])=>_0x23c492['schema']['getAttributeProperties'](_0x456f1a)['isFormatting']));}}class PasteFormatCommand extends _0x208eac{constructor(_0x42c64d){super(_0x42c64d),this['_removeFormatCommand']=new _0x35ae0d(_0x42c64d);}['execute'](_0x2c557e={}){const _0x275117=this['editor']['model'],_0x1a2424=_0x275117['document']['selection'],_0x4de333=Array['from'](_0x1a2424['getRanges']()),_0x9bd2e3=_0x1a2424['isCollapsed']?[this['_createRangeOnEntireWord'](_0x275117,_0x1a2424)]:_0x4de333;_0x275117['change'](_0x43d104=>{_0x43d104['setSelection'](_0x9bd2e3),this['_removeFormatCommand']['execute']();for(const _0x4c0844 in _0x2c557e)for(const _0x52a66c of _0x275117['schema']['getValidRanges'](_0x9bd2e3,_0x4c0844))_0x43d104['setAttribute'](_0x4c0844,_0x2c557e[_0x4c0844],_0x52a66c);_0x43d104['setSelection'](_0x4de333);});}['_createRangeOnEntireWord'](_0x3c0e69,_0x13e878){const _0x3a0ee4=_0x3c0e69['createSelection'](_0x13e878);_0x3c0e69['modifySelection'](_0x3a0ee4,{'unit':'word','direction':'backward'});const _0x4375e5=_0x3a0ee4['getFirstPosition']();_0x3c0e69['modifySelection'](_0x3a0ee4,{'unit':'word','direction':'forward'});const _0x4c069b=_0x3a0ee4['getLastPosition']();return _0x3c0e69['createRange'](_0x4375e5,_0x4c069b);}}class FormatPainterEditing extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x281778=this['editor'];_0x281778['commands']['add'](zp,new CopyFormatCommand(_0x281778)),_0x281778['commands']['add'](Yp,new PasteFormatCommand(_0x281778)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5de773=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4cf8c7;for(const _0x1dbe67 in _0x5de773){const _0x543a7f=_0x1dbe67,_0x83643a=_0x5de773[_0x543a7f];if('formatPainterLicenseKeyValid'==_0x83643a||'formatPainterLicenseKeyInvalid'==_0x83643a||'formatPainterLicenseKeyExpired'==_0x83643a||'formatPainterLicenseKeyDomainLimit'==_0x83643a||'formatPainterLicenseKeyNotAllowed'==_0x83643a||'formatPainterLicenseKeyEvaluationLimit'==_0x83643a||'formatPainterLicenseKeyUsageLimit'==_0x83643a){delete _0x5de773[_0x543a7f],_0x4cf8c7=_0x83643a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x4cf8c7&&_0x5de773['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x4cf8c7&&_0x5de773['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x4cf8c7&&_0x5de773['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x4cf8c7&&_0x5de773['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x4cf8c7&&_0x5de773['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x4cf8c7&&_0x5de773['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Jp(_0x61e506,_0x2efe3d){const t=_0x61e506['t'];switch(_0x2efe3d){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 _0x2efe3d;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
_0x3c72d0(_0x151d85){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x36f53a=this['editor'];_0x36f53a['editing']['view']['addObserver'](_0x356a11),_0x36f53a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':Jp(_0x36f53a['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':Jp(_0x36f53a['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x36f53a['ui']['componentFactory']['add']('formatPainter',_0x349260=>{const _0x180b76=nt(_0x349260,Ft),_0x246f26=_0x36f53a['commands']['get'](zp);_0x180b76['buttonView']['set']({'label':Jp(_0x36f53a['locale'],'Paint\x20formatting'),'icon':_0xcde6dd,'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x180b76['class']='ck-format-painter-dropdown',_0x246f26&&(_0x180b76['bind']('isEnabled')['to'](_0x246f26,'isEnabled'),this['listenTo'](_0x246f26,'change:isEnabled',(_0x5a7d3c,_0x1db7be,_0x558786)=>{_0x558786||this['_finishPainting']();}),_0x180b76['buttonView']['bind']('isOn')['to'](_0x246f26,'value',_0x20bcb8=>!!_0x20bcb8),this['listenTo'](_0x36f53a,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x246f26,'change:value',(_0x422424,_0xb9de2a,_0x26845f)=>{this['_toggleSpecialCursor'](!!_0x26845f);}));const _0x229912=new Ot({'withText':!0x0,'label':Jp(_0x36f53a['locale'],'Continuous\x20painting'),'tooltip':Jp(_0x36f53a['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});pt(_0x180b76,new _0x47a54f([{'type':'switchbutton','model':_0x229912}]),{'role':'menu'});const _0x47e9a8=()=>{this['_copyFormatting'](),this['listenTo'](_0x313644['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x229912['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x180b76,'execute',()=>{_0x229912['isOn']=!_0x229912['isOn'];}),this['listenTo'](_0x180b76['buttonView'],'execute',()=>{_0x36f53a['editing']['view']['focus'](),_0x180b76['buttonView']['isOn']?this['_finishPainting']():_0x47e9a8();}),_0x36f53a['keystrokes']['set']('Ctrl+Alt+C',(_0x5d3d57,_0x13f15b)=>{_0x47e9a8(),_0x229912['isOn']=!0x0,_0x13f15b();},{'priority':'high'}),_0x36f53a['keystrokes']['set']('Ctrl+Alt+V',(_0x469a34,_0x490db4)=>{_0x180b76['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x229912['isOn']||this['_finishPainting'](),_0x490db4());},{'priority':'high'}),_0x36f53a['keystrokes']['set']('Esc',(_0x563073,_0xd1d6b2)=>{_0x180b76['buttonView']['isOn']&&(_0x229912['isOn']=!0x1,this['_finishPainting'](),_0x36f53a['ui']['ariaLiveAnnouncer']['announce'](Jp(_0x36f53a['locale'],'Painting\x20cancelled.')),_0xd1d6b2());}),_0x180b76;});}['afterInit'](){!async function(_0x2dde53){const _0x4b2a3c=_0x35c364([0x51,0x69,0x4c,0x52,0x43,0x53,0x4f,0x73,0x5a,0x38,0x70,0x41,0x76,0x44,0x64,0x61,0x50,0x4a,0x55,0x45,0x33,0x6f,0x78,0x6a,0x4b,0x6c,0x7a,0x4d,0x32,0x75,0x58,0x67,0x72,0x74,0x47,0x66,0x65,0x79,0x68,0x35,0x63,0x4e,0x46,0x6b,0x6d,0x42,0x77,0x39,0x49,0x36,0x57,0x48,0x30,0x71,0x6e,0x62,0x34,0x54,0x31,0x37,0x59,0x56]),_0x2378ee=0x4597e011,_0x164396=0x45906bc1^_0x2378ee,_0x28e07c=window[_0x35c364([0x44,0x61,0x74,0x65])][_0x35c364([0x6e,0x6f,0x77])](),_0x2176a0=_0x2dde53[_0x35c364([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x376efc=new window[(_0x35c364([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ad25b=>{_0x2176a0[_0x35c364([0x6f,0x6e,0x63,0x65])](_0x35c364([0x72,0x65,0x61,0x64,0x79]),_0x2ad25b);}),_0xa69535={[_0x35c364([0x6b,0x74,0x79])]:_0x35c364([0x45,0x43]),[_0x35c364([0x75,0x73,0x65])]:_0x35c364([0x73,0x69,0x67]),[_0x35c364([0x63,0x72,0x76])]:_0x35c364([0x50,0x2d,0x32,0x35,0x36]),[_0x35c364([0x78])]:_0x35c364([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x35c364([0x79])]:_0x35c364([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x35c364([0x61,0x6c,0x67])]:_0x35c364([0x45,0x53,0x32,0x35,0x36])},_0xe0b914=_0x2176a0[_0x35c364([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x35c364([0x67,0x65,0x74])](_0x35c364([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d2a53(){let _0x3d2c2c,_0x31ffd0=null,_0x58782c=null;try{if(_0xe0b914==_0x35c364([0x47,0x50,0x4c]))return _0x35c364([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d2c2c=_0x38db69(),!_0x3d2c2c)return _0x35c364([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d2c2c[_0x35c364([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58782c=_0x320a3d(_0x3d2c2c[_0x35c364([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d2c2c[_0x35c364([0x6a,0x74,0x69])])),await _0x1794b7()?_0x18dd70()?_0x492cc7()?_0x35c364([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fb289()?(_0x3d2c2c[_0x35c364([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x35c364([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31ffd0=_0x14f7aa(_0x35c364([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4263e4()):_0x35c364([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x35c364([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x35c364([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x35c364([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x492cc7(){const _0x3bdc6a=[_0x35c364([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x35c364([0x74,0x72,0x69,0x61,0x6c])][_0x35c364([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2c2c[_0x35c364([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28e07c/0x3e8:0xe10*_0x164396;return _0x3d2c2c[_0x35c364([0x65,0x78,0x70])]<_0x3bdc6a;}function _0x18dd70(){const _0x4ef7a2=_0x3d2c2c[_0x35c364([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4ef7a2&&(!!_0x4ef7a2[_0x35c364([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c364([0x2a]))||(!!_0x4ef7a2[_0x35c364([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c364([0x46,0x50]))||(!!_0x4ef7a2[_0x35c364([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c364([0x50,0x50]))||!(!_0x4ef7a2[_0x35c364([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c364([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4ca86a()))));}function _0x1fb289(){const _0x2908d8=_0x3d2c2c[_0x35c364([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2908d8||0x0==_0x2908d8[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36e485}=new URL(window[_0x35c364([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2908d8[_0x35c364([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36e485))return!0x0;const _0x50695e=_0x36e485[_0x35c364([0x73,0x70,0x6c,0x69,0x74])](_0x35c364([0x2e]));return _0x2908d8[_0x35c364([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3dca4e=>_0x3dca4e[_0x35c364([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35c364([0x2a])))[_0x35c364([0x6d,0x61,0x70])](_0x108a25=>_0x108a25[_0x35c364([0x73,0x70,0x6c,0x69,0x74])](_0x35c364([0x2e])))[_0x35c364([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x160e96=>_0x160e96[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x50695e[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35c364([0x6d,0x61,0x70])](_0x53ceac=>Array(_0x50695e[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53ceac[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x35c364([0x66,0x69,0x6c,0x6c])](_0x53ceac[0x0]===_0x35c364([0x2a])?_0x35c364([0x2a]):'')[_0x35c364([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53ceac))[_0x35c364([0x73,0x6f,0x6d,0x65])](_0x4f72b7=>_0x50695e[_0x35c364([0x65,0x76,0x65,0x72,0x79])]((_0x379da0,_0x514f5c)=>_0x4f72b7[_0x514f5c]===_0x379da0||_0x4f72b7[_0x514f5c]===_0x35c364([0x2a])));}function _0x4263e4(){return _0x31ffd0&&_0x58782c?new window[(_0x35c364([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cc8d8,_0x36c58c)=>{_0x31ffd0[_0x35c364([0x74,0x68,0x65,0x6e])](_0x2cc8d8,_0x36c58c),_0x58782c[_0x35c364([0x74,0x68,0x65,0x6e])](_0x230985=>{_0x230985!=_0x35c364([0x56,0x61,0x6c,0x69,0x64])&&_0x2cc8d8(_0x230985);},_0x36c58c);}):_0x31ffd0||_0x58782c||_0x35c364([0x56,0x61,0x6c,0x69,0x64]);}}function _0x320a3d(_0xe40dc5,_0xe9a1ef){return new window[(_0x35c364([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16aab0=>{if(_0x36c46f())return _0x16aab0(_0x35c364([0x56,0x61,0x6c,0x69,0x64]));_0x41981a(),_0x2176a0[_0x35c364([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x35c364([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d1c80=!0x1;const _0x1d3d93=_0x3eda13();function _0x580dbf(_0x404ca1){return!!_0x404ca1&&(typeof _0x404ca1===_0x35c364([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x404ca1===_0x35c364([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x404ca1[_0x35c364([0x74,0x68,0x65,0x6e])]===_0x35c364([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x404ca1[_0x35c364([0x63,0x61,0x74,0x63,0x68])]===_0x35c364([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40f90b(_0x45841e){_0x40f5bc(_0x45841e)[_0x35c364([0x74,0x68,0x65,0x6e])](_0x327c56=>{if(!_0x327c56||_0x327c56[_0x35c364([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x35c364([0x6f,0x6b]))return _0x35c364([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4320d0(_0x2472d3(_0x1d3d93+_0xe9a1ef))!=_0x327c56[_0x35c364([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x35c364([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x35c364([0x56,0x61,0x6c,0x69,0x64]);})[_0x35c364([0x74,0x68,0x65,0x6e])](_0x5ca2b0=>(_0xb424c6(),_0x5ca2b0),()=>{const _0x3d2ca6=_0x26c123();return null==_0x3d2ca6?(_0xb424c6(),_0x35c364([0x56,0x61,0x6c,0x69,0x64])):_0x35c364(_0x28e07c-_0x3d2ca6>(0x619b6411^_0x2378ee)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x35c364([0x74,0x68,0x65,0x6e])](_0x16aab0)[_0x35c364([0x63,0x61,0x74,0x63,0x68])](()=>{_0x16aab0(_0x35c364([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x91ea89=0x45a10e91^_0x2378ee;function _0xb424c6(){const _0x5a14a3=_0x35c364([0x6c,0x6c,0x63,0x74,0x2d])+_0x4320d0(_0x2472d3(_0xe40dc5)),_0x2935d1=_0x121e11(_0x4320d0(window[_0x35c364([0x4d,0x61,0x74,0x68])][_0x35c364([0x63,0x65,0x69,0x6c])](_0x28e07c/_0x91ea89)));window[_0x35c364([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35c364([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a14a3,_0x2935d1);}function _0x26c123(){const _0x13a8a4=_0x35c364([0x6c,0x6c,0x63,0x74,0x2d])+_0x4320d0(_0x2472d3(_0xe40dc5)),_0x31a7e3=window[_0x35c364([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x35c364([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13a8a4);return _0x31a7e3?window[_0x35c364([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x121e11(_0x31a7e3),0x10)*_0x91ea89:null;}function _0x40f5bc(_0x45e137){return new window[(_0x35c364([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c2fff,_0x165cf1)=>{_0x45e137[_0x35c364([0x74,0x68,0x65,0x6e])](_0x1c2fff,_0x165cf1),window[_0x35c364([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x165cf1,0x459634d1^_0x2378ee);});}}_0x2176a0[_0x35c364([0x6f,0x6e])](_0x35c364([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e8b7b,_0x30b292)=>{if(_0x30b292[0x0]!=_0xe40dc5)return _0x16aab0(_0x35c364([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30b292[0x1]={..._0x30b292[0x1],[_0x35c364([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d3d93};},{[_0x35c364([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35c364([0x68,0x69,0x67,0x68])}),_0x2176a0[_0x35c364([0x6f,0x6e])](_0x35c364([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x103045=>{_0x580dbf(_0x103045[_0x35c364([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d1c80=!0x0,_0x40f90b(_0x103045[_0x35c364([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x35c364([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x35c364([0x6c,0x6f,0x77])}),_0x376efc[_0x35c364([0x74,0x68,0x65,0x6e])](()=>{_0x2d1c80||_0x16aab0(_0x35c364([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x36c46f(){return _0x2176a0[_0x35c364([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35c364([0x76,0x69,0x65,0x77])][_0x35c364([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x35c364([0x61,0x75,0x74,0x6f]);}function _0x41981a(){_0x2176a0[_0x35c364([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x35c364([0x76,0x69,0x65,0x77])][_0x35c364([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x35c364([0x61,0x75,0x74,0x6f]);}}function _0x14f7aa(_0x185bc1){const _0x13ef12=[new window[(_0x35c364([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a3f65=>setTimeout(_0x5a3f65,0x459ededd^_0x2378ee)),_0x376efc[_0x35c364([0x74,0x68,0x65,0x6e])](()=>new window[(_0x35c364([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x99b712=>{let _0x504ce9=0x0;_0x2176a0[_0x35c364([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c364([0x6f,0x6e])](_0x35c364([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1da783,_0x4b221f)=>{_0x4b221f[0x0][_0x35c364([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x504ce9++,_0x504ce9==(0x4597e5f9^_0x2378ee)&&(_0x99b712(),_0x1da783[_0x35c364([0x6f,0x66,0x66])]());});}))];return window[_0x35c364([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x35c364([0x72,0x61,0x63,0x65])](_0x13ef12)[_0x35c364([0x74,0x68,0x65,0x6e])](()=>_0x185bc1);}async function _0x47a924(){await _0x376efc,_0x2176a0[_0x35c364([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c364([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x27fcf5,_0x2176a0[_0x35c364([0x6d,0x6f,0x64,0x65,0x6c])][_0x35c364([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x27fcf5,_0x2176a0[_0x35c364([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x35c364([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4ca86a(){return window[_0x35c364([0x67,0x6c,0x6f,0x62])]&&window[_0x35c364([0x67,0x6c,0x6f,0x62])][_0x35c364([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5ba5a1(_0x498bc2){const _0x285462=_0x921914();_0x2176a0[_0x285462]=_0x35c364([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x498bc2,_0x498bc2!=_0x35c364([0x56,0x61,0x6c,0x69,0x64])&&_0x47a924();}function _0x921914(){const _0x17f9a6=window[_0x35c364([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x35c364([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x35c364([0x6e,0x6f,0x77])]())[_0x35c364([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x35c364([0x2e]),'');let _0x2231ff=_0x35c364([0x51]);for(let _0x5cd76c=0x0;_0x5cd76c<_0x17f9a6[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cd76c+=0x2){let _0x29ecd=window[_0x35c364([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17f9a6[_0x35c364([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cd76c,_0x5cd76c+0x2));_0x29ecd>=_0x4b2a3c[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29ecd-=_0x4b2a3c[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2231ff+=_0x4b2a3c[_0x29ecd];}return _0x2231ff;}function _0x38db69(){const _0x408376=_0xe0b914[_0x35c364([0x73,0x70,0x6c,0x69,0x74])](_0x35c364([0x2e]));if(0x3!=_0x408376[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x476d6a(_0x408376[0x1]);function _0x476d6a(_0x404a63){const _0x5cb2e9=_0x42352f(_0x404a63);return _0x5cb2e9&&_0x1cee46()?_0x5cb2e9:null;function _0x1cee46(){const _0x47fd89=_0x5cb2e9[_0x35c364([0x6a,0x74,0x69])],_0x123bbc=window[_0x35c364([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47fd89[_0x35c364([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47fd89[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1cbed9={..._0x5cb2e9,[_0x35c364([0x6a,0x74,0x69])]:_0x47fd89[_0x35c364([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47fd89[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1cbed9[_0x35c364([0x76,0x63])],_0x2472d3(_0x1cbed9)==_0x123bbc;}}}async function _0x1794b7(){let _0x2ff859=!0x0;try{const _0x43a9f1=_0xe0b914[_0x35c364([0x73,0x70,0x6c,0x69,0x74])](_0x35c364([0x2e])),[_0x5186a4,_0x5c2491,_0x523799]=_0x43a9f1;return _0xa9e6df(_0x5186a4),await _0x1c45f8(_0x5186a4,_0x5c2491,_0x523799),_0x2ff859;}catch{return!0x1;}function _0xa9e6df(_0x201936){const _0xa0c83e=_0x42352f(_0x201936);_0xa0c83e&&_0xa0c83e[_0x35c364([0x61,0x6c,0x67])]==_0x35c364([0x45,0x53,0x32,0x35,0x36])||(_0x2ff859=!0x1);}async function _0x1c45f8(_0xa8349b,_0x24a275,_0x5d2b26){const _0x403560=window[_0x35c364([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x35c364([0x66,0x72,0x6f,0x6d])](_0x2bb5b7(_0x5d2b26),_0x3f81d3=>_0x3f81d3[_0x35c364([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x191e6b=new window[(_0x35c364([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x35c364([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa8349b+_0x35c364([0x2e])+_0x24a275),_0x402d35=window[_0x35c364([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x35c364([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x402d35)return;const _0x198cf1=await _0x402d35[_0x35c364([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x35c364([0x6a,0x77,0x6b]),_0xa69535,{[_0x35c364([0x6e,0x61,0x6d,0x65])]:_0x35c364([0x45,0x43,0x44,0x53,0x41]),[_0x35c364([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x35c364([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x35c364([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x402d35[_0x35c364([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x35c364([0x6e,0x61,0x6d,0x65])]:_0x35c364([0x45,0x43,0x44,0x53,0x41]),[_0x35c364([0x68,0x61,0x73,0x68])]:{[_0x35c364([0x6e,0x61,0x6d,0x65])]:_0x35c364([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x198cf1,_0x403560,_0x191e6b)||(_0x2ff859=!0x1);}}function _0x42352f(_0x3c80e1){return _0x3c80e1[_0x35c364([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x35c364([0x65,0x79]))?JSON[_0x35c364([0x70,0x61,0x72,0x73,0x65])](_0x2bb5b7(_0x3c80e1)):null;}function _0x2bb5b7(_0x297e40){return window[_0x35c364([0x61,0x74,0x6f,0x62])](_0x297e40[_0x35c364([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x35c364([0x2b]))[_0x35c364([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x35c364([0x2f])));}function _0x2472d3(_0x1dd11b){let _0x42eb03=0x1505;function _0x6d8899(_0x51b5e2){for(let _0x1f7210=0x0;_0x1f7210<_0x51b5e2[_0x35c364([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f7210++){const _0x12e17c=_0x51b5e2[_0x35c364([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f7210);_0x42eb03=(_0x42eb03<<0x5)+_0x42eb03+_0x12e17c,_0x42eb03&=_0x42eb03;}}function _0x2a4acc(_0x1d3035){Array[_0x35c364([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d3035)?_0x1d3035[_0x35c364([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a4acc):_0x1d3035&&typeof _0x1d3035==_0x35c364([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x35c364([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d3035)[_0x35c364([0x73,0x6f,0x72,0x74])]()[_0x35c364([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46ea7f,_0x574793])=>{_0x6d8899(_0x46ea7f),_0x2a4acc(_0x574793);}):_0x6d8899(window[_0x35c364([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d3035));}return _0x2a4acc(_0x1dd11b),_0x42eb03>>>0x0;}function _0x4320d0(_0x2c0ee6){return _0x2c0ee6[_0x35c364([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x35c364([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x35c364([0x30]));}function _0x121e11(_0x59c211){return _0x59c211[_0x35c364([0x73,0x70,0x6c,0x69,0x74])]('')[_0x35c364([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x35c364([0x6a,0x6f,0x69,0x6e])]('');}function _0x27fcf5(){}function _0x35c364(_0x1c8b01){return _0x1c8b01['map'](_0x32c3dd=>String['fromCharCode'](_0x32c3dd))['join']('');}_0x5ba5a1(await _0x5d2a53());}(this);}['_toggleSpecialCursor'](_0x175bfa){this['editor']['editing']['view']['change'](_0xfc5e0d=>{for(const _0x39fafb of this['editor']['editing']['view']['document']['roots'])_0x175bfa?_0xfc5e0d['addClass'](Kp,_0x39fafb):_0xfc5e0d['removeClass'](Kp,_0x39fafb);});}['_copyFormatting'](){const {editor:_0xfc2d92}=this;_0xfc2d92['execute'](zp),_0xfc2d92['ui']['ariaLiveAnnouncer']['announce'](Jp(_0xfc2d92['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0xcf9957}=this,_0x342ca0=_0xcf9957['commands']['get'](zp)['value'];_0xcf9957['execute'](Yp,_0x342ca0),_0xcf9957['ui']['ariaLiveAnnouncer']['announce'](Jp(_0xcf9957['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](zp)['reset'](),this['stopListening'](_0x313644['window']['document'],'mouseup');}}class FormatPainter extends _0x151d85{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function tO(_0x41638f,_0x5b24ad){const t=_0x41638f['t'];switch(_0x5b24ad){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 _0x5b24ad;}}class ImportWordUI extends _0x151d85{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x5bd5d7=this['editor'];_0x5bd5d7['ui']['componentFactory']['add']('importWord',()=>{const _0x448666=this['_createButton'](Tt),_0x7972e0=_0x5bd5d7['commands']['get']('importWord');return _0x448666['bind']('isOn')['to'](_0x7972e0,'isBusy'),_0x448666['tooltip']=!0x0,_0x448666;}),_0x5bd5d7['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](jt));}['_createButton'](_0x408fbf){const _0xc81ffe=this['editor'],_0x419913=_0xc81ffe['commands']['get']('importWord'),_0x350962=new _0x408fbf(_0xc81ffe['locale']),_0x3f2b29=new _0x36c3a7();return _0x350962['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x350962['set']({'icon':_0x5b9218}),_0x350962['bind']('isEnabled')['to'](_0x419913),_0x350962['bind']('label')['to'](_0x419913,'isBusy',_0x51b926=>tO(_0xc81ffe['locale'],_0x51b926?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x3f2b29['bind']('isVisible')['to'](_0x419913,'isBusy'),_0x350962['iconView']['bind']('isVisible')['to'](_0x419913,'isBusy',_0xc717ba=>!_0xc717ba),_0x350962['children']['add'](_0x3f2b29),_0x350962['on']('done',(_0x1a31e7,_0x18cb55)=>{_0xc81ffe['execute']('importWord',_0x18cb55[0x0],{}),_0xc81ffe['editing']['view']['focus']();}),_0x350962;}}class ImportWordCommand extends _0x208eac{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x5c8788){super(_0x5c8788),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4a52f5,_0x4347e1)=>{const _0x573f3c=new DataTransfer();_0x573f3c['setData']('text/html',_0x4347e1['html']);const _0x2f781=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x2e7571=>{this['_importMarker']['stopListening'](),_0x2e7571['setSelection'](_0x2f781),_0x5c8788['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x573f3c,'content':_0x573f3c['getData']('text/html')});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5a1ec0,_0x605900={}){if(this['isBusy'])return Promise['resolve']();const _0x10c694=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x5d1394,suffix:_0x4701ad}=this['editor']['config']['get']('mergeFields');_0x605900['merge_fields']={'prefix':_0x5d1394,'suffix':_0x4701ad};}const _0xa0460a={'url':_0x10c694['converterUrl'],'file':_0x5a1ec0,'serviceConfig':{..._0x605900,'formatting':_0x10c694['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0xa0460a)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x39de55=this['editor']['model'],_0x474099=_0x39de55['schema'],_0x109d69=_0x39de55['document']['selection'],_0x518fd0=_0x1e08d5(_0x109d69['getSelectedBlocks']());return!!_0x518fd0&&_0x474099['checkChild'](_0x518fd0['parent'],'paragraph');}['_prepareForImport'](){const _0x298579=this['editor'],_0x200b81=_0x298579['model'],_0x138b24=_0x200b81['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x298579['model']['createBatch']({'isUndoable':!0x0}),_0x200b81['enqueueChange'](this['_undoStepBatch'],_0x5686fe=>{_0x138b24['isCollapsed']||_0x200b81['deleteContent'](_0x138b24,{'leaveUnmerged':!0x0});const _0x4b8417=_0x138b24['getFirstPosition'](),_0x2815ed=_0x1e08d5(_0x138b24['getSelectedBlocks']());let _0x49241d;_0x49241d=_0x2815ed['is']('element','paragraph')&&_0x2815ed['isEmpty']?_0x4b8417:_0x4b8417['isAtStart']?_0x200b81['createPositionBefore'](_0x2815ed):_0x4b8417['isAtEnd']?_0x200b81['createPositionAfter'](_0x2815ed):_0x5686fe['split'](_0x4b8417)['position'],this['_importMarker']=_0x5686fe['addMarker']('importWord:'+_0x3eda13(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2b1886(_0x49241d)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3ab6ba=this['editor']['model'];_0x3ab6ba['markers']['has'](this['_importMarker'])&&_0x3ab6ba['enqueueChange'](this['_undoStepBatch'],_0x3a752a=>{_0x3a752a['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async['_sendImportRequest']({url:_0x1ac602,file:_0x38decc,serviceConfig:_0x14a7bb}){const _0x3f83f9=this['editor'],_0x320ec6=await _0x3f83f9['plugins']['get']('ImportWordEditing')['getToken'](),_0x2dc827=new FormData();_0x2dc827['set']('config',JSON['stringify'](_0x14a7bb)),_0x2dc827['set']('file',_0x38decc);const _0x2e83e8={'method':'POST','headers':{},'body':_0x2dc827,'signal':this['_abortController']['signal']};return _0x320ec6&&(_0x2e83e8['headers']['Authorization']=_0x320ec6['value']),fetch(_0x1ac602,_0x2e83e8);}['_handleImportResponse'](_0x5c5acf){return _0x5c5acf['ok']?_0x5c5acf['json']()['then'](_0x52a5dd=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x52a5dd,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x445208('import-word-plugin-import-cancelled');const _0x4fb4ec=this['editor'],_0x557f77=tO(_0x4fb4ec['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x4fb4ec['plugins']['get']('Notification')['showWarning'](_0x557f77),_0x1ede73('import-word-plugin-conversion-failed');}}class ImportWordEditing extends _0x151d85{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[Qt,_0x4d1fc7,_0x4eeba8];}['init'](){const _0x53e203=this['editor'],_0x5a5a79=_0x53e203['plugins']['get'](_0x4eeba8);_0x53e203['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x53e203['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x53e203['commands']['add']('importWord',new ImportWordCommand(_0x53e203));const {tokenUrl:_0x1a0e94}=_0x53e203['config']['get']('importWord');if(_0x1a0e94){const {tokenUrl:_0x182b37}=_0x53e203['config']['get']('cloudServices')||{};this['_token']=_0x1a0e94===_0x182b37?Promise['resolve'](_0x5a5a79['token']):_0x5a5a79['registerTokenUrl'](_0x1a0e94);}else this['_token']=Promise['resolve'](null);}['getToken'](){return this['_token'];}}class ImportWord extends _0x151d85{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[ImportWordEditing,ImportWordUI];}}class LineHeightCommand extends _0x208eac{['refresh'](){const _0x321600=this['editor']['model']['document'],_0x23dc0b=_0x1e08d5(_0x321600['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x23dc0b)&&this['_canHaveLineHeight'](_0x23dc0b),this['value']=this['isEnabled']&&_0x23dc0b['getAttribute']('lineHeight');}['execute'](_0x10092e={}){const _0x19e502=this['editor']['model'],_0x7c010f=_0x19e502['document']['selection'],_0x45d890=_0x10092e['value'];_0x19e502['change'](_0xf203a2=>{const _0x142a9c=Array['from'](_0x7c010f['getSelectedBlocks']())['filter'](_0x3b2f93=>this['_canHaveLineHeight'](_0x3b2f93));for(const _0x3f776d of _0x142a9c)_0x45d890?_0xf203a2['setAttribute']('lineHeight',_0x45d890,_0x3f776d):_0xf203a2['removeAttribute']('lineHeight',_0x3f776d);});}['_canHaveLineHeight'](_0x140a4c){return this['editor']['model']['schema']['checkAttribute'](_0x140a4c,'lineHeight');}}const eO={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 iO(_0x14268c){return'string'==typeof _0x14268c&&'default'===_0x14268c['toLowerCase']();}function sO(_0x2d0628){return _0x2d0628['options']['map'](_0x25ec01=>{return iO(_0x25ec01)?{'title':String(_0x2d0628['defaultValue']),'model':'default'}:('number'==typeof _0x25ec01&&(_0x25ec01=String(_0x25ec01)),'string'!=typeof _0x25ec01?_0x25ec01:parseFloat(_0x25ec01)?{'title':_0x25ec01,'model':_0x25ec01,'view':{'name':'span','styles':{'line-height':_0x25ec01}}}:'string'==typeof(_0x4749a2=_0x25ec01)?eO[_0x4749a2]:eO[_0x4749a2['model']]);var _0x4749a2;})['filter'](_0x124445=>void 0x0!==_0x124445);}class LineHeightTodoListIntegration extends _0x151d85{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x4bc4d9,conversion:_0x14c57f}=this['editor'];if(!_0x4bc4d9['has']('ListEditing')||!_0x4bc4d9['has']('TodoListEditing'))return;_0x4bc4d9['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x32aacf,_0x5baf17,_0x1b4372,_0x2e6de0,_0x10d2dd){'todo'==_0x10d2dd['getAttribute']('listType')&&_0x5baf17&&(_0x32aacf['addClass']('ck-list-marker-line-height',_0x1b4372),_0x32aacf['setStyle']('--ck-content-list-marker-line-height',_0x5baf17,_0x1b4372));}}),_0x14c57f['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x14c57f['for']('upcast')['add'](_0x3c6b66=>{_0x3c6b66['on']('element:li',function(_0x4e86b0){const _0x528184=new _0x4c3de8(_0x4e86b0);return(_0x268bd7,_0x192cc8,_0x4843b3)=>{const _0x2e7d7e=_0x528184['match'](_0x192cc8['viewItem']);if(!_0x2e7d7e)return;const _0x410a5d=_0x2e7d7e['match'];_0x410a5d['name']=!0x1,_0x4843b3['consumable']['consume'](_0x192cc8['viewItem'],_0x410a5d);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x151d85{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2dd6f2){super(_0x2dd6f2),_0x2dd6f2['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x9870b9=this['editor'];this['_validateConfig'](),_0x9870b9['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x9870b9['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x9870b9['commands']['add']('lineHeight',new LineHeightCommand(_0x9870b9)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x5e8e0a){const _0x27bbae=_0x111a5f([0x50,0x48,0x51,0x33,0x59,0x55,0x49,0x42,0x72,0x6c,0x30,0x58,0x64,0x6e,0x77,0x47,0x39,0x6b,0x65,0x7a,0x38,0x73,0x66,0x70,0x4d,0x76,0x31,0x79,0x74,0x57,0x46,0x52,0x4e,0x5a,0x4f,0x56,0x35,0x6a,0x4a,0x61,0x71,0x37,0x54,0x63,0x32,0x6f,0x67,0x75,0x62,0x36,0x34,0x78,0x43,0x4b,0x44,0x45,0x41,0x4c,0x53,0x69,0x68,0x6d]),_0x54ceb6=0x45ddd215,_0x2fbe33=0x45da59c5^_0x54ceb6,_0x340743=window[_0x111a5f([0x44,0x61,0x74,0x65])][_0x111a5f([0x6e,0x6f,0x77])](),_0x44fa14=_0x5e8e0a[_0x111a5f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37e60e=new window[(_0x111a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x330230=>{_0x44fa14[_0x111a5f([0x6f,0x6e,0x63,0x65])](_0x111a5f([0x72,0x65,0x61,0x64,0x79]),_0x330230);}),_0x59f316={[_0x111a5f([0x6b,0x74,0x79])]:_0x111a5f([0x45,0x43]),[_0x111a5f([0x75,0x73,0x65])]:_0x111a5f([0x73,0x69,0x67]),[_0x111a5f([0x63,0x72,0x76])]:_0x111a5f([0x50,0x2d,0x32,0x35,0x36]),[_0x111a5f([0x78])]:_0x111a5f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x111a5f([0x79])]:_0x111a5f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x111a5f([0x61,0x6c,0x67])]:_0x111a5f([0x45,0x53,0x32,0x35,0x36])},_0x3a87f5=_0x44fa14[_0x111a5f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x111a5f([0x67,0x65,0x74])](_0x111a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15580f(){let _0x2901ce,_0x2c7e93=null,_0x21c582=null;try{if(_0x3a87f5==_0x111a5f([0x47,0x50,0x4c]))return _0x111a5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2901ce=_0x5e8cee(),!_0x2901ce)return _0x111a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2901ce[_0x111a5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21c582=_0xaa100(_0x2901ce[_0x111a5f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2901ce[_0x111a5f([0x6a,0x74,0x69])])),await _0x4fbd42()?_0x1118e2()?_0x42cc31()?_0x111a5f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b5b24()?(_0x2901ce[_0x111a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x111a5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c7e93=_0x5bea6a(_0x111a5f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1765ad()):_0x111a5f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x111a5f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x111a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x111a5f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42cc31(){const _0x517b2b=[_0x111a5f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x111a5f([0x74,0x72,0x69,0x61,0x6c])][_0x111a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2901ce[_0x111a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x340743/0x3e8:0xe10*_0x2fbe33;return _0x2901ce[_0x111a5f([0x65,0x78,0x70])]<_0x517b2b;}function _0x1118e2(){const _0x3c0c05=_0x2901ce[_0x111a5f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c0c05&&(!!_0x3c0c05[_0x111a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111a5f([0x2a]))||!!_0x3c0c05[_0x111a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111a5f([0x4c,0x48])));}function _0x5b5b24(){const _0x35269f=_0x2901ce[_0x111a5f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35269f||0x0==_0x35269f[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xa918f6}=new URL(window[_0x111a5f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35269f[_0x111a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa918f6))return!0x0;const _0x4a653a=_0xa918f6[_0x111a5f([0x73,0x70,0x6c,0x69,0x74])](_0x111a5f([0x2e]));return _0x35269f[_0x111a5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f9f7a=>_0x4f9f7a[_0x111a5f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111a5f([0x2a])))[_0x111a5f([0x6d,0x61,0x70])](_0x2ab39b=>_0x2ab39b[_0x111a5f([0x73,0x70,0x6c,0x69,0x74])](_0x111a5f([0x2e])))[_0x111a5f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x338c31=>_0x338c31[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4a653a[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x111a5f([0x6d,0x61,0x70])](_0x457115=>Array(_0x4a653a[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x457115[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x111a5f([0x66,0x69,0x6c,0x6c])](_0x457115[0x0]===_0x111a5f([0x2a])?_0x111a5f([0x2a]):'')[_0x111a5f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x457115))[_0x111a5f([0x73,0x6f,0x6d,0x65])](_0x49082b=>_0x4a653a[_0x111a5f([0x65,0x76,0x65,0x72,0x79])]((_0x3c6982,_0x12cae7)=>_0x49082b[_0x12cae7]===_0x3c6982||_0x49082b[_0x12cae7]===_0x111a5f([0x2a])));}function _0x1765ad(){return _0x2c7e93&&_0x21c582?new window[(_0x111a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a81bc,_0x34377a)=>{_0x2c7e93[_0x111a5f([0x74,0x68,0x65,0x6e])](_0x1a81bc,_0x34377a),_0x21c582[_0x111a5f([0x74,0x68,0x65,0x6e])](_0x5952e0=>{_0x5952e0!=_0x111a5f([0x56,0x61,0x6c,0x69,0x64])&&_0x1a81bc(_0x5952e0);},_0x34377a);}):_0x2c7e93||_0x21c582||_0x111a5f([0x56,0x61,0x6c,0x69,0x64]);}}function _0xaa100(_0xc9ed6a,_0x33419){return new window[(_0x111a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20ce6d=>{if(_0x4616ab())return _0x20ce6d(_0x111a5f([0x56,0x61,0x6c,0x69,0x64]));_0x30624d(),_0x44fa14[_0x111a5f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x111a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3e9bc2=!0x1;const _0x3c1e26=_0x3eda13();function _0xddd3af(_0x1ae3ff){return!!_0x1ae3ff&&(typeof _0x1ae3ff===_0x111a5f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ae3ff===_0x111a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ae3ff[_0x111a5f([0x74,0x68,0x65,0x6e])]===_0x111a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ae3ff[_0x111a5f([0x63,0x61,0x74,0x63,0x68])]===_0x111a5f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x445083(_0x5c88a9){_0x2fe9da(_0x5c88a9)[_0x111a5f([0x74,0x68,0x65,0x6e])](_0x4157f8=>{if(!_0x4157f8||_0x4157f8[_0x111a5f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x111a5f([0x6f,0x6b]))return _0x111a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6bc725(_0x43d9a8(_0x3c1e26+_0x33419))!=_0x4157f8[_0x111a5f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x111a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x111a5f([0x56,0x61,0x6c,0x69,0x64]);})[_0x111a5f([0x74,0x68,0x65,0x6e])](_0x21aa19=>(_0x38e583(),_0x21aa19),()=>{const _0x1a8d1c=_0x88980();return null==_0x1a8d1c?(_0x38e583(),_0x111a5f([0x56,0x61,0x6c,0x69,0x64])):_0x111a5f(_0x340743-_0x1a8d1c>(0x61d15615^_0x54ceb6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x111a5f([0x74,0x68,0x65,0x6e])](_0x20ce6d)[_0x111a5f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20ce6d(_0x111a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x16b9bc=0x45eb3c95^_0x54ceb6;function _0x38e583(){const _0xe91073=_0x111a5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x6bc725(_0x43d9a8(_0xc9ed6a)),_0x27fc96=_0x78d1f4(_0x6bc725(window[_0x111a5f([0x4d,0x61,0x74,0x68])][_0x111a5f([0x63,0x65,0x69,0x6c])](_0x340743/_0x16b9bc)));window[_0x111a5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x111a5f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe91073,_0x27fc96);}function _0x88980(){const _0x214364=_0x111a5f([0x6c,0x6c,0x63,0x74,0x2d])+_0x6bc725(_0x43d9a8(_0xc9ed6a)),_0xe73381=window[_0x111a5f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x111a5f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x214364);return _0xe73381?window[_0x111a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x78d1f4(_0xe73381),0x10)*_0x16b9bc:null;}function _0x2fe9da(_0x5ab8e9){return new window[(_0x111a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x78d518,_0x1c0ed0)=>{_0x5ab8e9[_0x111a5f([0x74,0x68,0x65,0x6e])](_0x78d518,_0x1c0ed0),window[_0x111a5f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c0ed0,0x45dc06d5^_0x54ceb6);});}}_0x44fa14[_0x111a5f([0x6f,0x6e])](_0x111a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d61e0,_0x90d57c)=>{if(_0x90d57c[0x0]!=_0xc9ed6a)return _0x20ce6d(_0x111a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x90d57c[0x1]={..._0x90d57c[0x1],[_0x111a5f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c1e26};},{[_0x111a5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x111a5f([0x68,0x69,0x67,0x68])}),_0x44fa14[_0x111a5f([0x6f,0x6e])](_0x111a5f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25811f=>{_0xddd3af(_0x25811f[_0x111a5f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3e9bc2=!0x0,_0x445083(_0x25811f[_0x111a5f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x111a5f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x111a5f([0x6c,0x6f,0x77])}),_0x37e60e[_0x111a5f([0x74,0x68,0x65,0x6e])](()=>{_0x3e9bc2||_0x20ce6d(_0x111a5f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4616ab(){return _0x44fa14[_0x111a5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x111a5f([0x76,0x69,0x65,0x77])][_0x111a5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x111a5f([0x61,0x75,0x74,0x6f]);}function _0x30624d(){_0x44fa14[_0x111a5f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x111a5f([0x76,0x69,0x65,0x77])][_0x111a5f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x111a5f([0x61,0x75,0x74,0x6f]);}}function _0x5bea6a(_0x42fcf1){const _0x335f80=[new window[(_0x111a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14f39e=>setTimeout(_0x14f39e,0x45d4ecd9^_0x54ceb6)),_0x37e60e[_0x111a5f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x111a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x116e3c=>{let _0x48fc66=0x0;_0x44fa14[_0x111a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x111a5f([0x6f,0x6e])](_0x111a5f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd20169,_0x1c69df)=>{_0x1c69df[0x0][_0x111a5f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48fc66++,_0x48fc66==(0x45ddd7fd^_0x54ceb6)&&(_0x116e3c(),_0xd20169[_0x111a5f([0x6f,0x66,0x66])]());});}))];return window[_0x111a5f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x111a5f([0x72,0x61,0x63,0x65])](_0x335f80)[_0x111a5f([0x74,0x68,0x65,0x6e])](()=>_0x42fcf1);}async function _0x5f22f7(){await _0x37e60e,_0x44fa14[_0x111a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x111a5f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c84ad,_0x44fa14[_0x111a5f([0x6d,0x6f,0x64,0x65,0x6c])][_0x111a5f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c84ad,_0x44fa14[_0x111a5f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x111a5f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xe7456e(_0x2190fa){const _0x4d696b=_0x2ab878();_0x44fa14[_0x4d696b]=_0x111a5f([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2190fa,_0x2190fa!=_0x111a5f([0x56,0x61,0x6c,0x69,0x64])&&_0x5f22f7();}function _0x2ab878(){const _0x56f4b1=window[_0x111a5f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x111a5f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x111a5f([0x6e,0x6f,0x77])]())[_0x111a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x111a5f([0x2e]),'');let _0x43642a=_0x111a5f([0x50]);for(let _0x74fcd8=0x0;_0x74fcd8<_0x56f4b1[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x74fcd8+=0x2){let _0x178e96=window[_0x111a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56f4b1[_0x111a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x74fcd8,_0x74fcd8+0x2));_0x178e96>=_0x27bbae[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x178e96-=_0x27bbae[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43642a+=_0x27bbae[_0x178e96];}return _0x43642a;}function _0x5e8cee(){const _0x549d38=_0x3a87f5[_0x111a5f([0x73,0x70,0x6c,0x69,0x74])](_0x111a5f([0x2e]));if(0x3!=_0x549d38[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x9ecc47(_0x549d38[0x1]);function _0x9ecc47(_0x3554e3){const _0x3c65b2=_0x4aaa88(_0x3554e3);return _0x3c65b2&&_0x2dfaa7()?_0x3c65b2:null;function _0x2dfaa7(){const _0x3c4d61=_0x3c65b2[_0x111a5f([0x6a,0x74,0x69])],_0xf89729=window[_0x111a5f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c4d61[_0x111a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c4d61[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a044b={..._0x3c65b2,[_0x111a5f([0x6a,0x74,0x69])]:_0x3c4d61[_0x111a5f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c4d61[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a044b[_0x111a5f([0x76,0x63])],_0x43d9a8(_0x5a044b)==_0xf89729;}}}async function _0x4fbd42(){let _0x3fd88d=!0x0;try{const _0x4aed62=_0x3a87f5[_0x111a5f([0x73,0x70,0x6c,0x69,0x74])](_0x111a5f([0x2e])),[_0x5c00cd,_0x5d6bef,_0x54f0ba]=_0x4aed62;return _0x41b62d(_0x5c00cd),await _0xaee579(_0x5c00cd,_0x5d6bef,_0x54f0ba),_0x3fd88d;}catch{return!0x1;}function _0x41b62d(_0xc3066a){const _0x2ed270=_0x4aaa88(_0xc3066a);_0x2ed270&&_0x2ed270[_0x111a5f([0x61,0x6c,0x67])]==_0x111a5f([0x45,0x53,0x32,0x35,0x36])||(_0x3fd88d=!0x1);}async function _0xaee579(_0x35529c,_0x5a74ac,_0x3567ac){const _0x11151f=window[_0x111a5f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x111a5f([0x66,0x72,0x6f,0x6d])](_0x20a35e(_0x3567ac),_0x395508=>_0x395508[_0x111a5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x480038=new window[(_0x111a5f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x111a5f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x35529c+_0x111a5f([0x2e])+_0x5a74ac),_0x3f942f=window[_0x111a5f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x111a5f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f942f)return;const _0x50589d=await _0x3f942f[_0x111a5f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x111a5f([0x6a,0x77,0x6b]),_0x59f316,{[_0x111a5f([0x6e,0x61,0x6d,0x65])]:_0x111a5f([0x45,0x43,0x44,0x53,0x41]),[_0x111a5f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x111a5f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x111a5f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f942f[_0x111a5f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x111a5f([0x6e,0x61,0x6d,0x65])]:_0x111a5f([0x45,0x43,0x44,0x53,0x41]),[_0x111a5f([0x68,0x61,0x73,0x68])]:{[_0x111a5f([0x6e,0x61,0x6d,0x65])]:_0x111a5f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50589d,_0x11151f,_0x480038)||(_0x3fd88d=!0x1);}}function _0x4aaa88(_0x1e2c1f){return _0x1e2c1f[_0x111a5f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x111a5f([0x65,0x79]))?JSON[_0x111a5f([0x70,0x61,0x72,0x73,0x65])](_0x20a35e(_0x1e2c1f)):null;}function _0x20a35e(_0x31c657){return window[_0x111a5f([0x61,0x74,0x6f,0x62])](_0x31c657[_0x111a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x111a5f([0x2b]))[_0x111a5f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x111a5f([0x2f])));}function _0x43d9a8(_0xc97c80){let _0x441285=0x1505;function _0x234b96(_0x665261){for(let _0x3f847f=0x0;_0x3f847f<_0x665261[_0x111a5f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f847f++){const _0x551fe5=_0x665261[_0x111a5f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f847f);_0x441285=(_0x441285<<0x5)+_0x441285+_0x551fe5,_0x441285&=_0x441285;}}function _0x58d3ab(_0x1fd473){Array[_0x111a5f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1fd473)?_0x1fd473[_0x111a5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58d3ab):_0x1fd473&&typeof _0x1fd473==_0x111a5f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x111a5f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1fd473)[_0x111a5f([0x73,0x6f,0x72,0x74])]()[_0x111a5f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3aa302,_0x2ae109])=>{_0x234b96(_0x3aa302),_0x58d3ab(_0x2ae109);}):_0x234b96(window[_0x111a5f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1fd473));}return _0x58d3ab(_0xc97c80),_0x441285>>>0x0;}function _0x6bc725(_0x5a7396){return _0x5a7396[_0x111a5f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x111a5f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x111a5f([0x30]));}function _0x78d1f4(_0x4ace75){return _0x4ace75[_0x111a5f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x111a5f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x111a5f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2c84ad(){}function _0x111a5f(_0x42708){return _0x42708['map'](_0x1ee4d9=>String['fromCharCode'](_0x1ee4d9))['join']('');}_0xe7456e(await _0x15580f());}(this);}['_validateConfig'](){const _0x12513e=this['editor'];if(!_0x12513e['config']['get']('lineHeight.supportAllValues'))return;const _0x1f17fe=_0x12513e['config']['get']('lineHeight.options')['filter'](_0x31e655=>'string'==typeof _0x31e655&&(!iO(_0x31e655)&&isNaN(Number(_0x31e655))));if(_0x1f17fe['length'])throw new _0x522f1f('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x1f17fe});}['_prepareAnyValueConverters'](){const _0x372d9d=this['editor'],_0x325d2e=this['editor']['config']['get']('lineHeight.defaultValue');_0x372d9d['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x54dd7d=>String(_0x54dd7d)===String(_0x325d2e)?null:{'key':'style','value':{'line-height':_0x54dd7d}}}),_0x372d9d['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1a5042=>{let _0x31df7e=_0x1a5042['getStyle']('line-height');return _0x17bc1c(_0x31df7e)&&(_0x31df7e=String(Number(_0x31df7e['slice'](0x0,-0x1))/0x64)),String(_0x31df7e)===String(_0x325d2e)?null:_0x31df7e;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x563c59=this['editor'],_0x4ad84f=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2dcf8a=function(_0x19a5f1,_0x1f8bf5){const _0x4cf4f7={'model':{'key':_0x19a5f1,'values':[]},'view':{}};for(const _0x2c2cf6 of _0x1f8bf5)'class'===_0x2c2cf6['view']?.['key']?(_0x4cf4f7['model']['values']['push'](_0x2c2cf6['model']),_0x4cf4f7['view'][_0x2c2cf6['model']]={'key':'class','value':_0x2c2cf6['view']['value']}):(_0x4cf4f7['model']['values']['push'](_0x2c2cf6['model']),_0x4cf4f7['view'][_0x2c2cf6['model']]={'key':'style','value':'line-height:'+_0x2c2cf6['model']+';'});return _0x4cf4f7;}('lineHeight',sO(this['editor']['config']['get']('lineHeight'))['filter'](_0x45a2de=>_0x45a2de['model']));_0x563c59['conversion']['attributeToAttribute'](_0x2dcf8a),_0x563c59['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x3163fe=>{let _0x185200=_0x3163fe['getStyle']('line-height');return _0x17bc1c(_0x185200)&&(_0x185200=String(Number(_0x185200['slice'](0x0,-0x1))/0x64)),_0x185200===String(_0x4ad84f)?null:_0x2dcf8a['model']['values']['includes'](_0x185200)?_0x185200:null;}}});}}class LineHeightUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3205e9={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3205e9),this['_registerMenuBarComponent'](_0x3205e9),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a531e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x38aec0;for(const _0x4bea20 in _0x2a531e){const _0x335fdc=_0x4bea20,_0x22be22=_0x2a531e[_0x335fdc];if('lineHeightLicenseKeyValid'==_0x22be22||'lineHeightLicenseKeyInvalid'==_0x22be22||'lineHeightLicenseKeyExpired'==_0x22be22||'lineHeightLicenseKeyDomainLimit'==_0x22be22||'lineHeightLicenseKeyNotAllowed'==_0x22be22||'lineHeightLicenseKeyEvaluationLimit'==_0x22be22||'lineHeightLicenseKeyUsageLimit'==_0x22be22){delete _0x2a531e[_0x335fdc],_0x38aec0=_0x22be22,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x38aec0&&_0x2a531e['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x38aec0&&_0x2a531e['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x38aec0&&_0x2a531e['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x38aec0&&_0x2a531e['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x38aec0&&_0x2a531e['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x38aec0&&_0x2a531e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0xabbc79=this['editor'],t=_0xabbc79['t'],_0x2ded82=_0xabbc79['config']['get']('lineHeight'),_0x2ee735={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return sO(_0x2ded82)['map'](_0x308b40=>{const _0xa71ae1=_0x2ee735[_0x308b40['title']];return _0xa71ae1&&_0xa71ae1!=_0x308b40['title']&&(_0x308b40=Object['assign']({},_0x308b40,{'title':_0xa71ae1})),_0x308b40;});}['_prepareListOptions'](){const _0x3b00ff=this['editor']['commands']['get']('lineHeight'),_0x11f7ee=this['editor']['config']['get']('lineHeight.defaultValue'),_0x12b01d=this['_getLocalizedLineHeightOptions'](),_0x2cde5d=new _0x47a54f(),_0x3ae7c3=_0xe3da62=>'default'===_0xe3da62||String(_0x11f7ee)===_0xe3da62;for(const _0x3a0d64 of _0x12b01d){const _0x2e9fc0={'type':'button','model':new Ot({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x3a0d64['title'],'withText':!0x0})};_0x3ae7c3(_0x3a0d64['model'])?(_0x2e9fc0['model']['bind']('isOn')['to'](_0x3b00ff,'value',_0x4926f4=>!_0x4926f4),_0x2e9fc0['model']['commandParam']=void 0x0):(_0x2e9fc0['model']['bind']('isOn')['to'](_0x3b00ff,'value',_0x1b145d=>_0x1b145d===_0x3a0d64['model']),_0x2e9fc0['model']['commandParam']=_0x3a0d64['model']),_0x2cde5d['add'](_0x2e9fc0);}if(this['_shouldRenderCustomValueOption']()){const _0x4bd213=this['_getCustomValueOptionDefinition'](_0x12b01d);_0x2cde5d['add'](_0x4bd213);}return _0x2cde5d;}['_getCustomValueOptionDefinition'](_0x4059c1){const _0x480d3e=this['editor'],t=_0x480d3e['t'],_0x193945=_0x480d3e['commands']['get']('lineHeight'),_0x18bf1b=_0x4059c1['map'](_0x36d178=>_0x36d178['model']),_0x20ead9={'type':'button','model':new Ot({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x20ead9['model']['bind']('commandParam')['to'](_0x193945,'value'),_0x20ead9['model']['bind']('isOn')['to'](_0x193945,'value',_0x229f23=>!!_0x229f23&&!_0x18bf1b['includes'](String(_0x229f23))),_0x20ead9['model']['bind']('label')['to'](_0x193945,'value',_0x21b2e6=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x21b2e6))),_0x20ead9;}['_registerToolbarComponent']({accessibleLabel:_0x1b10fb,options:_0x4922a9}){const _0x2300c4=this['editor'],_0x285a92=_0x2300c4['commands']['get']('lineHeight');_0x2300c4['ui']['componentFactory']['add']('lineHeight',_0x854891=>{const _0xf7384b=nt(_0x854891);return pt(_0xf7384b,_0x4922a9,{'role':'menu','ariaLabel':_0x1b10fb}),_0xf7384b['buttonView']['set']({'label':_0x1b10fb,'tooltip':!0x0,'icon':_0x19f48e}),_0xf7384b['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0xf7384b['bind']('isEnabled')['to'](_0x285a92),this['listenTo'](_0xf7384b,'execute',_0xd6f34d=>{_0x2300c4['execute'](_0xd6f34d['source']['commandName'],{'value':_0xd6f34d['source']['commandParam']}),_0x2300c4['editing']['view']['focus']();}),_0xf7384b['once']('change:isOpen',()=>{const _0x52bddf=_0xf7384b['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0xf7384b,_0x4922a9,_0x52bddf);}),_0xf7384b;});}['_registerMenuBarComponent']({accessibleLabel:_0x36e10c,options:_0x3e83e9}){const _0x4af6c6=this['editor'],_0xf92078=_0x4af6c6['commands']['get']('lineHeight');_0x4af6c6['ui']['componentFactory']['add']('menuBar:lineHeight',_0x42f5c3=>{const _0x472d77=new ot(_0x42f5c3);_0x472d77['buttonView']['set']({'label':_0x36e10c,'icon':_0x19f48e}),_0x472d77['bind']('isEnabled')['to'](_0xf92078);const _0x152d39=new lt(_0x42f5c3);for(const _0x1f6766 of _0x3e83e9){const _0x2f5b3f=new ht(_0x42f5c3,_0x472d77),_0x239709=new at(_0x42f5c3);_0x239709['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x239709['bind'](...Object['keys'](_0x1f6766['model']))['to'](_0x1f6766['model']),_0x239709['delegate']('execute')['to'](_0x472d77),_0x239709['on']('execute',()=>{_0x4af6c6['execute'](_0x1f6766['model']['commandName'],{'value':_0x1f6766['model']['commandParam']}),_0x4af6c6['editing']['view']['focus']();}),_0x2f5b3f['children']['add'](_0x239709),_0x152d39['items']['add'](_0x2f5b3f);}return _0x472d77['panelView']['children']['add'](_0x152d39),this['_attachCustomOptionVisibilityHandler'](_0x472d77,_0x3e83e9,_0x152d39),_0x472d77;});}['_attachCustomOptionVisibilityHandler'](_0x528b74,_0x381313,_0x55713c){if(!this['_shouldRenderCustomValueOption']())return;const _0x48eeec=()=>{if(!_0x528b74['isOpen'])return;_0x55713c['items']['last']['isVisible']=Boolean(_0x381313['last']['model']['isOn']);};_0x48eeec(),_0x528b74['on']('change:isOpen',()=>{_0x48eeec();});}}class LineHeight extends _0x151d85{static get['requires'](){return[LineHeightEditing,LineHeightUI];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class MultiLevelListCommand extends _0x208eac{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x1268b9,_0x1754bc,_0x5ce59d){super(_0x1268b9),this['defaultListMarkerStyle']=_0x1754bc,this['_listDefinitions']=_0x5ce59d,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5298a9={}){const _0x416c39=this['editor']['model'],_0x327bd3=_0x5298a9['listMarkerStyle']||this['defaultListMarkerStyle'];_0x416c39['change'](()=>{const _0x55a77a=this['_getListTypeFromListMarkerStyle'](_0x327bd3);if(!_0x55a77a)return;const _0x44e435=_0x55a77a+'List';this['editor']['execute'](_0x44e435,{'additionalAttributes':{'listMarkerStyle':_0x327bd3}});});}['_getValue'](){const _0x387ece=_0x1e08d5(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x387ece)?_0x387ece['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0xa48d86=this['editor'],_0xc7030f=_0xa48d86['commands']['get']('customNumberedList'),_0x3fdc4d=_0xa48d86['commands']['get']('customBulletedList');return _0xc7030f['isEnabled']||_0x3fdc4d['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x1aca81){const _0x2e912b=this['_listDefinitions']['find'](_0xdb1585=>_0xdb1585['listMarkerStyle']==_0x1aca81);return _0x2e912b?_0x2e912b['listType']:null;}}class MultiLevelListEditing extends _0x151d85{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x55f789];}constructor(_0x40c6ad){super(_0x40c6ad);const _0x66f179=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x3d28e6=>_0x3d28e6+'.'}]},..._0x66f179];}['init'](){const _0x17534b=this['editor'],_0x25f532=_0x17534b['model'],_0x4728a9=_0x17534b['editing']['view'],_0x180f77=_0x17534b['plugins']['get'](_0x55f789);_0x17534b['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x17534b,'legal',this['_listDefinitions'])),_0x25f532['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x25f532['schema']['addAttributeCheck']((_0x58d956,_0x201d4f)=>{const _0x5e08ff=_0x58d956['last'];if('listMarker'==_0x201d4f||'listMarkerStyle'==_0x201d4f)return!(!_0x5e08ff['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x3b5560=>_0x3b5560['listType']==_0x5e08ff['getAttribute']('listType')))&&void 0x0;});for(const _0x1df2fa of this['_listDefinitions'])_0x17534b['conversion']['for']('upcast')['add'](_0x3f8bc4=>{_0x3f8bc4['on']('element:'+('customNumbered'==_0x1df2fa['listType']?'ol':'ul'),oO(_0x1df2fa,_0x25f532['schema']),{'priority':'low'});}),_0x180f77['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x17ee40,_0x310dd3,_0x7d4019){_0x310dd3==_0x1df2fa['listMarkerStyle']?(_0x17ee40['addClass'](['multi-level-list',_0x1df2fa['className']],_0x7d4019),_0x17ee40['setStyle']('list-style-type','none',_0x7d4019)):(_0x17ee40['removeClass'](['multi-level-list',_0x1df2fa['className']],_0x7d4019),_0x17ee40['removeStyle']('list-style-type',_0x7d4019));}}),_0x180f77['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x9c2b47,_0x417bab,{dataPipeline:_0x1b1b8d}){if(!_0x417bab['hasAttribute']('listMarker'))return null;if(_0x417bab['getAttribute']('listType')!=_0x1df2fa['listType']||_0x417bab['getAttribute']('listMarkerStyle')!=_0x1df2fa['listMarkerStyle'])return null;const _0x5ef229=String(_0x417bab['getAttribute']('listMarker')),_0x243a81=this['canInjectMarkerIntoElement'](_0x417bab);return _0x9c2b47['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x1b1b8d&&{'contenteditable':'false','data-multi-level-list-marker':_0x5ef229}},function(_0x55af4e){const _0x53d442=this['toDomElement'](_0x55af4e);return _0x243a81?(_0x53d442['appendChild'](_0x455380(_0x55af4e,'span',{},_0x1b1b8d?_0x55af4e['createTextNode'](_0x5ef229):[])),_0x53d442['appendChild'](_0x55af4e['createTextNode']('\u00a0'))):_0x1b1b8d&&_0x53d442['appendChild'](_0x55af4e['createTextNode'](_0x5ef229)),_0x53d442;});},'canInjectMarkerIntoElement':_0x2b6a4e=>_0x25f532['schema']['checkChild'](_0x2b6a4e,'$text')&&_0x25f532['schema']['checkChild'](_0x2b6a4e,'$inlineObject')&&!_0x25f532['schema']['isLimit'](_0x2b6a4e)&&_0x2b6a4e['getAttribute']('listType')==_0x1df2fa['listType']&&_0x2b6a4e['getAttribute']('listMarkerStyle')==_0x1df2fa['listMarkerStyle']});_0x17534b['conversion']['for']('upcast')['add'](_0x509064=>{_0x509064['on']('element:span',function(_0x570f3c){return(_0x47e53b,_0x4aa874,{writer:_0x540b7f,consumable:_0x7b0e19})=>{const _0x98698f=_0x4aa874['modelCursor'],_0x5322bc=_0x98698f['parent'],_0x582b07=_0x4aa874['viewItem'];if(_0x7b0e19['consume'](_0x582b07,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x98698f['isAtStart']&&_0x5322bc['hasAttribute']('listType')&&_0x582b07['childCount']>0x0){const _0x55ca32=_0x570f3c['createRangeIn'](_0x582b07);let _0x4cf017='';for(const _0x2860ed of _0x55ca32['getItems']())_0x2860ed['is']('$textProxy')?(_0x4cf017+=_0x2860ed['data']['trim'](),_0x7b0e19['consume'](_0x2860ed['textNode'])):_0x7b0e19['consume'](_0x2860ed,{'name':!0x0});_0x540b7f['setAttribute']('listMarker',_0x4cf017['trim'](),_0x5322bc);}};}(_0x4728a9));}),_0x180f77['on']('postFixer',(_0x2e2313,{listNodes:_0x590071,writer:_0xf33ebf})=>{const _0x24fed5=[];for(const {node:_0x436d1c,previousNodeInList:_0x4e4563}of _0x590071){const _0x5131dc=_0x436d1c['getAttribute']('listType'),_0x299afe=_0x436d1c['getAttribute']('listMarkerStyle')||('customNumbered'==_0x5131dc?'legal':void 0x0),_0x1c02fb=this['_listDefinitions']['find'](_0x2416af=>_0x2416af['listType']==_0x5131dc&&_0x2416af['listMarkerStyle']==_0x299afe);if('customNumbered'!=_0x5131dc&&'customBulleted'!=_0x5131dc&&(_0x436d1c['hasAttribute']('listMarker')&&(_0xf33ebf['removeAttribute']('listMarker',_0x436d1c),_0x2e2313['return']=!0x0),_0x436d1c['hasAttribute']('listMarkerStyle')&&(_0xf33ebf['removeAttribute']('listMarkerStyle',_0x436d1c),_0x2e2313['return']=!0x0)),!_0x1c02fb){'customBulleted'!=_0x5131dc||_0x299afe||(_0xf33ebf['setAttribute']('listType','bulleted',_0x436d1c),_0x2e2313['return']=!0x0);continue;}_0x436d1c['hasAttribute']('listMarkerStyle')||(_0xf33ebf['setAttribute']('listMarkerStyle',_0x299afe,_0x436d1c),_0x2e2313['return']=!0x0);const _0x392bb5=_0x436d1c['getAttribute']('listIndent');if(_0x4e4563&&_0x4e4563['getAttribute']('listItemId')==_0x436d1c['getAttribute']('listItemId'))continue;if(_0x24fed5['length']=_0x392bb5+0x1,_0x17534b['config']['get']('list.enableSkipLevelLists')){for(let _0x53c75c=0x0;_0x53c75c<_0x392bb5;_0x53c75c++)void 0x0===_0x24fed5[_0x53c75c]&&(_0x24fed5[_0x53c75c]=0x1);}_0x4e4563||_0x24fed5[_0x392bb5]?_0x4e4563&&_0x4e4563['getAttribute']('listType')!=_0x1c02fb['listType']?_0x24fed5[_0x392bb5]=0x1:_0x24fed5[_0x392bb5]++:_0x24fed5[_0x392bb5]=_0x436d1c['getAttribute']('listStart')||0x1;const _0x42a674=nO(_0x392bb5,_0x1c02fb,_0x24fed5);_0x436d1c['getAttribute']('listMarker')!=_0x42a674&&(_0xf33ebf['setAttribute']('listMarker',_0x42a674,_0x436d1c),_0x2e2313['return']=!0x0);}}),_0x180f77['on']('checkElement',(_0x35ceb3,{modelElement:_0x7885a8,viewElement:_0x1718c6})=>{const _0x3e6693=_0x7885a8['getAttribute']('listType');if('customNumbered'!=_0x3e6693&&'customBulleted'!=_0x3e6693)return;if(_0x25f532['schema']['checkChild'](_0x7885a8,'$text'))return;const _0x104b6d=_0x57abb1(_0x7885a8);let _0x5b2b17=!0x1;const _0x5dc5e4=_0x4728a9['createPositionBefore'](_0x1718c6)['getWalker']({'direction':'backward'});for(const {item:_0x2f1cb6}of _0x5dc5e4)if(_0x2f1cb6['is']('element')){if(_0x17534b['editing']['mapper']['toModelElement'](_0x2f1cb6))break;if(_0x2f1cb6['getCustomProperty']('listItemMarker')){_0x5b2b17=!0x0;break;}}_0x5b2b17!=_0x104b6d&&(_0x35ceb3['return']=!0x0,_0x35ceb3['stop']());});const _0x3c9c0a=_0x17534b['editing']['view']['document'];this['listenTo'](_0x3c9c0a,'clipboardOutput',(_0x5463cd,_0x3bd351)=>{const _0x3949d8=new _0x4c3de8({'name':'span','classes':'multi-level-list__marker'}),_0x5a7992=new _0x4c3de8({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0xfa0115=new _0x5ca631(_0x3bd351['content']['document']),_0x48d65f=[];for(const _0x280337 of _0xfa0115['createRangeIn'](_0x3bd351['content'])['getItems']())_0x280337['is']('element')&&_0x3949d8['match'](_0x280337)&&_0x48d65f['push'](_0x280337),_0x280337['is']('element')&&_0x5a7992['match'](_0x280337)&&_0xfa0115['removeStyle']('list-style-type',_0x280337);for(const _0x1f99c7 of _0x48d65f)_0xfa0115['remove'](_0x1f99c7);});}['afterInit'](){!async function(_0x32b228){const _0x413380=_0xf4da8f([0x75,0x6e,0x30,0x4e,0x46,0x51,0x55,0x6f,0x58,0x31,0x65,0x76,0x7a,0x6b,0x33,0x79,0x4d,0x45,0x66,0x77,0x6c,0x37,0x54,0x78,0x62,0x44,0x72,0x69,0x73,0x4f,0x5a,0x61,0x57,0x74,0x4b,0x71,0x35,0x32,0x50,0x39,0x38,0x64,0x63,0x68,0x42,0x56,0x70,0x6a,0x53,0x34,0x6d,0x59,0x4c,0x43,0x36,0x67,0x4a,0x49,0x48,0x47,0x52,0x41]),_0x16e5da=0xf46a94a,_0x34a16d=0xf41229a^_0x16e5da,_0x3ed5ec=window[_0xf4da8f([0x44,0x61,0x74,0x65])][_0xf4da8f([0x6e,0x6f,0x77])](),_0x188f8e=_0x32b228[_0xf4da8f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2515e1=new window[(_0xf4da8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a17a2=>{_0x188f8e[_0xf4da8f([0x6f,0x6e,0x63,0x65])](_0xf4da8f([0x72,0x65,0x61,0x64,0x79]),_0x2a17a2);}),_0xf79a8d={[_0xf4da8f([0x6b,0x74,0x79])]:_0xf4da8f([0x45,0x43]),[_0xf4da8f([0x75,0x73,0x65])]:_0xf4da8f([0x73,0x69,0x67]),[_0xf4da8f([0x63,0x72,0x76])]:_0xf4da8f([0x50,0x2d,0x32,0x35,0x36]),[_0xf4da8f([0x78])]:_0xf4da8f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xf4da8f([0x79])]:_0xf4da8f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xf4da8f([0x61,0x6c,0x67])]:_0xf4da8f([0x45,0x53,0x32,0x35,0x36])},_0x338e39=_0x188f8e[_0xf4da8f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xf4da8f([0x67,0x65,0x74])](_0xf4da8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21cf15(){let _0x1d3b15,_0x5dbbef=null,_0x57c1ad=null;try{if(_0x338e39==_0xf4da8f([0x47,0x50,0x4c]))return _0xf4da8f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d3b15=_0x15a8f1(),!_0x1d3b15)return _0xf4da8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d3b15[_0xf4da8f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57c1ad=_0x458325(_0x1d3b15[_0xf4da8f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d3b15[_0xf4da8f([0x6a,0x74,0x69])])),await _0x56e3f1()?_0x11fb51()?_0x1f5c92()?_0xf4da8f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x175b3c()?(_0x1d3b15[_0xf4da8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xf4da8f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5dbbef=_0x33c33f(_0xf4da8f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x181829()):_0xf4da8f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xf4da8f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xf4da8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xf4da8f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f5c92(){const _0x3860d4=[_0xf4da8f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xf4da8f([0x74,0x72,0x69,0x61,0x6c])][_0xf4da8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d3b15[_0xf4da8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ed5ec/0x3e8:0xe10*_0x34a16d;return _0x1d3b15[_0xf4da8f([0x65,0x78,0x70])]<_0x3860d4;}function _0x11fb51(){const _0x554299=_0x1d3b15[_0xf4da8f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x554299&&(!!_0x554299[_0xf4da8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf4da8f([0x2a]))||!!_0x554299[_0xf4da8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf4da8f([0x4d,0x4c,0x4c])));}function _0x175b3c(){const _0x52d61a=_0x1d3b15[_0xf4da8f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x52d61a||0x0==_0x52d61a[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x53e66f}=new URL(window[_0xf4da8f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x52d61a[_0xf4da8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53e66f))return!0x0;const _0x54d073=_0x53e66f[_0xf4da8f([0x73,0x70,0x6c,0x69,0x74])](_0xf4da8f([0x2e]));return _0x52d61a[_0xf4da8f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd27512=>_0xd27512[_0xf4da8f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf4da8f([0x2a])))[_0xf4da8f([0x6d,0x61,0x70])](_0x473114=>_0x473114[_0xf4da8f([0x73,0x70,0x6c,0x69,0x74])](_0xf4da8f([0x2e])))[_0xf4da8f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44e3ea=>_0x44e3ea[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x54d073[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf4da8f([0x6d,0x61,0x70])](_0x3cb468=>Array(_0x54d073[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3cb468[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xf4da8f([0x66,0x69,0x6c,0x6c])](_0x3cb468[0x0]===_0xf4da8f([0x2a])?_0xf4da8f([0x2a]):'')[_0xf4da8f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3cb468))[_0xf4da8f([0x73,0x6f,0x6d,0x65])](_0xbcc9d4=>_0x54d073[_0xf4da8f([0x65,0x76,0x65,0x72,0x79])]((_0x19752d,_0x2d2c75)=>_0xbcc9d4[_0x2d2c75]===_0x19752d||_0xbcc9d4[_0x2d2c75]===_0xf4da8f([0x2a])));}function _0x181829(){return _0x5dbbef&&_0x57c1ad?new window[(_0xf4da8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x473f53,_0xc87f65)=>{_0x5dbbef[_0xf4da8f([0x74,0x68,0x65,0x6e])](_0x473f53,_0xc87f65),_0x57c1ad[_0xf4da8f([0x74,0x68,0x65,0x6e])](_0x3606c5=>{_0x3606c5!=_0xf4da8f([0x56,0x61,0x6c,0x69,0x64])&&_0x473f53(_0x3606c5);},_0xc87f65);}):_0x5dbbef||_0x57c1ad||_0xf4da8f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x458325(_0x556dd6,_0x377253){return new window[(_0xf4da8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15a2b0=>{if(_0x3b42a5())return _0x15a2b0(_0xf4da8f([0x56,0x61,0x6c,0x69,0x64]));_0x50c449(),_0x188f8e[_0xf4da8f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xf4da8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ab797=!0x1;const _0x4795d8=_0x3eda13();function _0x50a3f0(_0x431058){return!!_0x431058&&(typeof _0x431058===_0xf4da8f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x431058===_0xf4da8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x431058[_0xf4da8f([0x74,0x68,0x65,0x6e])]===_0xf4da8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x431058[_0xf4da8f([0x63,0x61,0x74,0x63,0x68])]===_0xf4da8f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x170974(_0x4a6498){_0x2b3a52(_0x4a6498)[_0xf4da8f([0x74,0x68,0x65,0x6e])](_0x56d3c2=>{if(!_0x56d3c2||_0x56d3c2[_0xf4da8f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xf4da8f([0x6f,0x6b]))return _0xf4da8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e74f1(_0x202603(_0x4795d8+_0x377253))!=_0x56d3c2[_0xf4da8f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xf4da8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xf4da8f([0x56,0x61,0x6c,0x69,0x64]);})[_0xf4da8f([0x74,0x68,0x65,0x6e])](_0x3830c5=>(_0x374350(),_0x3830c5),()=>{const _0x506874=_0x576e13();return null==_0x506874?(_0x374350(),_0xf4da8f([0x56,0x61,0x6c,0x69,0x64])):_0xf4da8f(_0x3ed5ec-_0x506874>(0x2b4a2d4a^_0x16e5da)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xf4da8f([0x74,0x68,0x65,0x6e])](_0x15a2b0)[_0xf4da8f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x15a2b0(_0xf4da8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a5557=0xf7047ca^_0x16e5da;function _0x374350(){const _0xdbcf61=_0xf4da8f([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e74f1(_0x202603(_0x556dd6)),_0x42461c=_0x5da3e8(_0x4e74f1(window[_0xf4da8f([0x4d,0x61,0x74,0x68])][_0xf4da8f([0x63,0x65,0x69,0x6c])](_0x3ed5ec/_0x5a5557)));window[_0xf4da8f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf4da8f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdbcf61,_0x42461c);}function _0x576e13(){const _0x5c10fd=_0xf4da8f([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e74f1(_0x202603(_0x556dd6)),_0x332a8a=window[_0xf4da8f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xf4da8f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c10fd);return _0x332a8a?window[_0xf4da8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5da3e8(_0x332a8a),0x10)*_0x5a5557:null;}function _0x2b3a52(_0x26c456){return new window[(_0xf4da8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3dd46f,_0x3974d7)=>{_0x26c456[_0xf4da8f([0x74,0x68,0x65,0x6e])](_0x3dd46f,_0x3974d7),window[_0xf4da8f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3974d7,0xf477d8a^_0x16e5da);});}}_0x188f8e[_0xf4da8f([0x6f,0x6e])](_0xf4da8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2f5e12,_0x5acb9f)=>{if(_0x5acb9f[0x0]!=_0x556dd6)return _0x15a2b0(_0xf4da8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5acb9f[0x1]={..._0x5acb9f[0x1],[_0xf4da8f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4795d8};},{[_0xf4da8f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf4da8f([0x68,0x69,0x67,0x68])}),_0x188f8e[_0xf4da8f([0x6f,0x6e])](_0xf4da8f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc9e8ab=>{_0x50a3f0(_0xc9e8ab[_0xf4da8f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ab797=!0x0,_0x170974(_0xc9e8ab[_0xf4da8f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xf4da8f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xf4da8f([0x6c,0x6f,0x77])}),_0x2515e1[_0xf4da8f([0x74,0x68,0x65,0x6e])](()=>{_0x4ab797||_0x15a2b0(_0xf4da8f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b42a5(){return _0x188f8e[_0xf4da8f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf4da8f([0x76,0x69,0x65,0x77])][_0xf4da8f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xf4da8f([0x61,0x75,0x74,0x6f]);}function _0x50c449(){_0x188f8e[_0xf4da8f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xf4da8f([0x76,0x69,0x65,0x77])][_0xf4da8f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xf4da8f([0x61,0x75,0x74,0x6f]);}}function _0x33c33f(_0x5d016b){const _0x4b2931=[new window[(_0xf4da8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x245f9f=>setTimeout(_0x245f9f,0xf4f9786^_0x16e5da)),_0x2515e1[_0xf4da8f([0x74,0x68,0x65,0x6e])](()=>new window[(_0xf4da8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c953=>{let _0x419a58=0x0;_0x188f8e[_0xf4da8f([0x6d,0x6f,0x64,0x65,0x6c])][_0xf4da8f([0x6f,0x6e])](_0xf4da8f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x349f01,_0x5e65cc)=>{_0x5e65cc[0x0][_0xf4da8f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x419a58++,_0x419a58==(0xf46aca2^_0x16e5da)&&(_0x10c953(),_0x349f01[_0xf4da8f([0x6f,0x66,0x66])]());});}))];return window[_0xf4da8f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xf4da8f([0x72,0x61,0x63,0x65])](_0x4b2931)[_0xf4da8f([0x74,0x68,0x65,0x6e])](()=>_0x5d016b);}async function _0x3baaf7(){await _0x2515e1,_0x188f8e[_0xf4da8f([0x6d,0x6f,0x64,0x65,0x6c])][_0xf4da8f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13d283,_0x188f8e[_0xf4da8f([0x6d,0x6f,0x64,0x65,0x6c])][_0xf4da8f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13d283,_0x188f8e[_0xf4da8f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf4da8f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5749b5(_0x5a0e91){const _0x4e3da9=_0x97470a();_0x188f8e[_0x4e3da9]=_0xf4da8f([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a0e91,_0x5a0e91!=_0xf4da8f([0x56,0x61,0x6c,0x69,0x64])&&_0x3baaf7();}function _0x97470a(){const _0x2bf080=window[_0xf4da8f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xf4da8f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf4da8f([0x6e,0x6f,0x77])]())[_0xf4da8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf4da8f([0x2e]),'');let _0x217dc1=_0xf4da8f([0x75]);for(let _0x36d70f=0x0;_0x36d70f<_0x2bf080[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36d70f+=0x2){let _0x6bff8b=window[_0xf4da8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bf080[_0xf4da8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36d70f,_0x36d70f+0x2));_0x6bff8b>=_0x413380[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6bff8b-=_0x413380[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x217dc1+=_0x413380[_0x6bff8b];}return _0x217dc1;}function _0x15a8f1(){const _0x298ee3=_0x338e39[_0xf4da8f([0x73,0x70,0x6c,0x69,0x74])](_0xf4da8f([0x2e]));if(0x3!=_0x298ee3[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x178685(_0x298ee3[0x1]);function _0x178685(_0x1790e5){const _0x20c8f9=_0x3b1525(_0x1790e5);return _0x20c8f9&&_0x2e7b37()?_0x20c8f9:null;function _0x2e7b37(){const _0x3c32b0=_0x20c8f9[_0xf4da8f([0x6a,0x74,0x69])],_0x559acf=window[_0xf4da8f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c32b0[_0xf4da8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c32b0[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb2f81={..._0x20c8f9,[_0xf4da8f([0x6a,0x74,0x69])]:_0x3c32b0[_0xf4da8f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c32b0[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb2f81[_0xf4da8f([0x76,0x63])],_0x202603(_0xb2f81)==_0x559acf;}}}async function _0x56e3f1(){let _0x13d7a2=!0x0;try{const _0xd26e98=_0x338e39[_0xf4da8f([0x73,0x70,0x6c,0x69,0x74])](_0xf4da8f([0x2e])),[_0xdc91c5,_0x112f60,_0x2de931]=_0xd26e98;return _0x11f760(_0xdc91c5),await _0x544c7a(_0xdc91c5,_0x112f60,_0x2de931),_0x13d7a2;}catch{return!0x1;}function _0x11f760(_0x2e07fd){const _0x254557=_0x3b1525(_0x2e07fd);_0x254557&&_0x254557[_0xf4da8f([0x61,0x6c,0x67])]==_0xf4da8f([0x45,0x53,0x32,0x35,0x36])||(_0x13d7a2=!0x1);}async function _0x544c7a(_0x51fc65,_0x300a3b,_0x42939c){const _0x5b3bad=window[_0xf4da8f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xf4da8f([0x66,0x72,0x6f,0x6d])](_0x7e063f(_0x42939c),_0x4b5902=>_0x4b5902[_0xf4da8f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe82860=new window[(_0xf4da8f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xf4da8f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x51fc65+_0xf4da8f([0x2e])+_0x300a3b),_0xacd7b8=window[_0xf4da8f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xf4da8f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xacd7b8)return;const _0x3c0439=await _0xacd7b8[_0xf4da8f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xf4da8f([0x6a,0x77,0x6b]),_0xf79a8d,{[_0xf4da8f([0x6e,0x61,0x6d,0x65])]:_0xf4da8f([0x45,0x43,0x44,0x53,0x41]),[_0xf4da8f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xf4da8f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xf4da8f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xacd7b8[_0xf4da8f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xf4da8f([0x6e,0x61,0x6d,0x65])]:_0xf4da8f([0x45,0x43,0x44,0x53,0x41]),[_0xf4da8f([0x68,0x61,0x73,0x68])]:{[_0xf4da8f([0x6e,0x61,0x6d,0x65])]:_0xf4da8f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c0439,_0x5b3bad,_0xe82860)||(_0x13d7a2=!0x1);}}function _0x3b1525(_0x125f16){return _0x125f16[_0xf4da8f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xf4da8f([0x65,0x79]))?JSON[_0xf4da8f([0x70,0x61,0x72,0x73,0x65])](_0x7e063f(_0x125f16)):null;}function _0x7e063f(_0x4481bb){return window[_0xf4da8f([0x61,0x74,0x6f,0x62])](_0x4481bb[_0xf4da8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xf4da8f([0x2b]))[_0xf4da8f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xf4da8f([0x2f])));}function _0x202603(_0x29b3fa){let _0x62cd8=0x1505;function _0x35276b(_0x58bb0d){for(let _0x2bb433=0x0;_0x2bb433<_0x58bb0d[_0xf4da8f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bb433++){const _0x32ca76=_0x58bb0d[_0xf4da8f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bb433);_0x62cd8=(_0x62cd8<<0x5)+_0x62cd8+_0x32ca76,_0x62cd8&=_0x62cd8;}}function _0x30c249(_0x42858e){Array[_0xf4da8f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42858e)?_0x42858e[_0xf4da8f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x30c249):_0x42858e&&typeof _0x42858e==_0xf4da8f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xf4da8f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42858e)[_0xf4da8f([0x73,0x6f,0x72,0x74])]()[_0xf4da8f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35b07b,_0x3633d1])=>{_0x35276b(_0x35b07b),_0x30c249(_0x3633d1);}):_0x35276b(window[_0xf4da8f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42858e));}return _0x30c249(_0x29b3fa),_0x62cd8>>>0x0;}function _0x4e74f1(_0x1c2328){return _0x1c2328[_0xf4da8f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xf4da8f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xf4da8f([0x30]));}function _0x5da3e8(_0x363ea2){return _0x363ea2[_0xf4da8f([0x73,0x70,0x6c,0x69,0x74])]('')[_0xf4da8f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xf4da8f([0x6a,0x6f,0x69,0x6e])]('');}function _0x13d283(){}function _0xf4da8f(_0xf64181){return _0xf64181['map'](_0x49590c=>String['fromCharCode'](_0x49590c))['join']('');}_0x5749b5(await _0x21cf15());}(this);}}function nO(_0x299921,_0x47a6d3,_0x5aa2e1){let _0x488816=_0x47a6d3['listMarkers'][_0x299921%_0x47a6d3['listMarkers']['length']];if(void 0x0===_0x488816['showMarkerPath']||_0x488816['showMarkerPath'])return _0x5aa2e1['slice'](0x0,_0x299921+0x1)['map']((_0x40c251,_0xec489f)=>(_0x488816=_0x47a6d3['listMarkers'][_0xec489f%_0x47a6d3['listMarkers']['length']],rO(_0x488816['marker'],_0x40c251)))['join']('');{const _0x3c39c8=_0x5aa2e1[_0x5aa2e1['length']-0x1];return rO(_0x488816['marker'],_0x3c39c8);}}function rO(_0x5e3e3e,_0xcd3473){return'function'==typeof _0x5e3e3e?_0x5e3e3e(_0xcd3473):_0x5e3e3e;}function oO(_0x5e1535,_0x18b917){return(_0x556356,_0x1a7d9c,_0x4bc8c6)=>{const _0x14cf9c=_0x1a7d9c['viewItem'];if(_0x1a7d9c['modelRange']||Object['assign'](_0x1a7d9c,_0x4bc8c6['convertChildren'](_0x1a7d9c['viewItem'],_0x1a7d9c['modelCursor'])),!_0x4bc8c6['consumable']['test'](_0x14cf9c,{'classes':_0x5e1535['className']}))return;const _0x1dd9aa=Array['from'](_0x1a7d9c['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x2d8bd1=>_0x18b917['checkAttribute'](_0x2d8bd1,'listItemId'));if(!_0x1dd9aa['length'])return;_0x4bc8c6['consumable']['consume'](_0x14cf9c,{'classes':_0x5e1535['className']}),_0x4bc8c6['consumable']['consume'](_0x14cf9c,{'classes':'multi-level-list'}),_0x4bc8c6['consumable']['consume'](_0x14cf9c,{'styles':'list-style-type'});const _0x3444dd=_0x1dd9aa[0x0]['getAttribute']('listIndent');for(const _0x594a65 of _0x1dd9aa)_0x594a65['getAttribute']('listIndent')==_0x3444dd&&(_0x4bc8c6['writer']['setAttribute']('listType',_0x5e1535['listType'],_0x594a65),_0x4bc8c6['writer']['setAttribute']('listMarkerStyle',_0x5e1535['listMarkerStyle'],_0x594a65));};}function aO(_0x2a5244,_0x432335){const _0x786d29=_0x2a5244['t'],t=_0x2a5244['t'];switch(_0x432335){case'Start\x20at':return _0x786d29('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x786d29('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x786d29('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x786d29('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 _0x432335;}}class MultiLevelListView extends _0xa34d16{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0xafcb0e();['keystrokes']=new _0x2ae5e6();['focusables']=new Et();['focusCycler'];constructor(_0x1f9e62,{enabledProperties:_0x2effb5,styleButtonViews:_0x11e8ce,styleGridAriaLabel:_0x38d00c}){super(_0x1f9e62);const _0x1ffa0f=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x2effb5['styles']?(this['stylesView']=this['_createStylesView'](_0x11e8ce,_0x38d00c),this['children']['add'](this['stylesView'])):_0x1ffa0f['push']('ck-multi-level-list-properties_without-styles'),_0x2effb5['startIndex']&&(this['_addListPropertyViews'](_0x2effb5),_0x1ffa0f['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x1ffa0f},'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 _0x2a1ef0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2a1ef0['element']);Vt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x313644['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 _0x328a94=_0x451ef7=>_0x451ef7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x328a94),this['keystrokes']['set']('arrowleft',_0x328a94),this['keystrokes']['set']('arrowup',_0x328a94),this['keystrokes']['set']('arrowdown',_0x328a94);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x3cb4c5,_0xad7281){const _0x2b0f15=new _0xa34d16(this['locale']);return _0x2b0f15['children']=_0x2b0f15['createCollection'](),_0x2b0f15['children']['addMany'](_0x3cb4c5),_0x2b0f15['setTemplate']({'tag':'div','attributes':{'aria-label':_0xad7281,'class':['ck','ck-multi-level-list-styles']},'children':_0x2b0f15['children']}),_0x2b0f15['children']['delegate']('execute')['to'](this),_0x2b0f15['focus']=function(){this['children']['first']['focus']();},_0x2b0f15['focusTracker']=new _0xafcb0e(),_0x2b0f15['keystrokes']=new _0x2ae5e6(),_0x2b0f15['render'](),_0x2b0f15['keystrokes']['listenTo'](_0x2b0f15['element']),_0x2b0f15;}['_addListPropertyViews'](_0x3aa209){const _0x4f978c=[];_0x3aa209['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x4f978c['push'](this['startIndexFieldView'])),_0x3aa209['styles']?(this['additionalPropertiesCollapsibleView']=new Ut(this['locale'],_0x4f978c),this['additionalPropertiesCollapsibleView']['set']({'label':aO(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x4f978c,'isEnabled',(..._0x585a07)=>_0x585a07['some'](_0xda5236=>_0xda5236)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x1154c5,_0x1ddce4,_0x2a1419)=>{_0x2a1419||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x4f978c);}['_createStartIndexField'](){const _0x46cb6f=new bt(this['locale'],Bt);return _0x46cb6f['set']({'label':aO(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x46cb6f['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x46cb6f['fieldView']['on']('input',()=>{const _0x492e05=_0x46cb6f['fieldView']['element'],_0x141695=_0x492e05['valueAsNumber'];Number['isNaN'](_0x141695)?_0x46cb6f['errorText']=aO(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x492e05['checkValidity']()?this['fire']('listStart',{'startIndex':_0x141695}):_0x46cb6f['errorText']=aO(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x46cb6f;}}class MultiLevelListUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x29c3cc=this['editor'];_0x29c3cc['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x275634,parentCommandName:_0xcdced,buttonLabel:_0x154435,buttonIcon:_0x1c5182,styleGridAriaLabel:_0x4efa77,styleDefinitions:_0x52224e}){const _0x75091d=_0x275634['commands']['get'](_0xcdced),_0x3833c2=_0x275634['config']['get']('list.properties')||{},_0x50bbb4=_0x275634['plugins']['has']('ListProperties'),_0x14725b=_0x3833c2['startIndex'];if(!_0x50bbb4||!_0x14725b)return _0x5db68b=>{const _0x68c9ea=new _0x4c508c(_0x5db68b);return _0x68c9ea['set']({'label':_0x154435,'icon':_0x1c5182,'tooltip':!0x0,'isToggleable':!0x0}),_0x68c9ea['bind']('isOn')['to'](_0x75091d,'value',_0x58609a=>!!_0x58609a),_0x68c9ea['on']('execute',()=>{_0x275634['execute'](_0xcdced),_0x275634['editing']['view']['focus']();}),_0x68c9ea;};return _0x4e92c4=>{const _0x10478d=nt(_0x4e92c4,Ft),_0x212c46=_0x10478d['buttonView'];return _0x10478d['bind']('isEnabled')['to'](_0x75091d),_0x10478d['class']='ck-list-styles-dropdown',_0x212c46['on']('execute',()=>{_0x275634['execute'](_0xcdced),_0x275634['editing']['view']['focus']();}),_0x212c46['set']({'label':_0x154435,'icon':_0x1c5182,'tooltip':!0x0,'isToggleable':!0x0}),_0x212c46['bind']('isOn')['to'](_0x75091d,'value',_0x4c29b7=>!!_0x4c29b7),_0x10478d['once']('change:isOpen',()=>{const _0x2770b6=function({editor:_0x17c05d,dropdownView:_0x1b8b60,styleDefinitions:_0x48e3e4,styleGridAriaLabel:_0x48f1b8}){const _0x2b97b5=_0x17c05d['locale'],_0xe1e2cc=_0x17c05d['config']['get']('list.properties'),_0x525b41=null;_0xe1e2cc['reversed']=!0x1,_0x48e3e4['length']||(_0xe1e2cc['styles']=!0x1);const _0x343939=new MultiLevelListView(_0x2b97b5,{'styleGridAriaLabel':_0x48f1b8,'enabledProperties':_0xe1e2cc,'styleButtonViews':_0x525b41});if(_0xe1e2cc['startIndex']){const _0x4dc920=_0x17c05d['commands']['get']('listStart');_0x343939['startIndexFieldView']['bind']('isEnabled')['to'](_0x4dc920),_0x343939['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4dc920),_0x343939['on']('listStart',(_0x4c807e,_0x106c8d)=>_0x17c05d['execute']('listStart',_0x106c8d));}return _0x343939['delegate']('execute')['to'](_0x1b8b60),_0x343939;}({'editor':_0x275634,'dropdownView':_0x10478d,'styleGridAriaLabel':_0x4efa77,'styleDefinitions':_0x52224e});_0x10478d['panelView']['children']['add'](_0x2770b6);}),_0x10478d['on']('execute',()=>{_0x275634['editing']['view']['focus']();}),_0x10478d;};}({'editor':_0x29c3cc,'parentCommandName':'multiLevelList','buttonLabel':aO(_0x29c3cc['locale'],'Multi-level\x20List'),'buttonIcon':_0x1d0f4f,'styleGridAriaLabel':aO(_0x29c3cc['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x29c3cc['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x37a565=_0x29c3cc['commands']['get']('multiLevelList'),_0x39e6d6=new at(_0x29c3cc['locale']);return _0x39e6d6['set']({'label':aO(_0x29c3cc['locale'],'Multi-level\x20List'),'icon':_0x1d0f4f}),_0x39e6d6['bind']('isEnabled')['to'](_0x37a565),_0x39e6d6['bind']('isOn')['to'](_0x37a565,'value',_0x11664f=>!!_0x11664f),_0x39e6d6['on']('execute',()=>{_0x29c3cc['execute']('multiLevelList'),_0x29c3cc['editing']['view']['focus']();}),_0x39e6d6;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x430fbb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1abcf3;for(const _0x10e367 in _0x430fbb){const _0x2ecc93=_0x10e367,_0x11ff28=_0x430fbb[_0x2ecc93];if('multiLevelListLicenseKeyValid'==_0x11ff28||'multiLevelListLicenseKeyInvalid'==_0x11ff28||'multiLevelListLicenseKeyExpired'==_0x11ff28||'multiLevelListLicenseKeyDomainLimit'==_0x11ff28||'multiLevelListLicenseKeyNotAllowed'==_0x11ff28||'multiLevelListLicenseKeyEvaluationLimit'==_0x11ff28||'multiLevelListLicenseKeyUsageLimit'==_0x11ff28){delete _0x430fbb[_0x2ecc93],_0x1abcf3=_0x11ff28,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x1abcf3&&_0x430fbb['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x1abcf3&&_0x430fbb['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x1abcf3&&_0x430fbb['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x1abcf3&&_0x430fbb['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x1abcf3&&_0x430fbb['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x1abcf3&&_0x430fbb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x151d85{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[MultiLevelListEditing,MultiLevelListUI];}}class InsertMergeFieldCommand extends _0x208eac{['refresh'](){const _0x33f2e5=this['editor']['model'],_0x2fb738=_0x33f2e5['schema']['checkChild'](_0x33f2e5['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x2fb738;}['execute'](_0x12f899){if(!_0x12f899||'string'!=typeof _0x12f899)return;const _0x1aaeb1=this['editor']['model'];_0x1aaeb1['change'](_0x4db37f=>{_0x1aaeb1['deleteContent'](_0x1aaeb1['document']['selection']);const _0x3badc1=_0x4db37f['createElement']('mergeField',{'id':_0x12f899});for(const [_0xcd4bd6,_0x567c17]of _0x1aaeb1['document']['selection']['getAttributes']())_0x1aaeb1['schema']['checkAttribute'](_0x3badc1,_0xcd4bd6)&&_0x4db37f['setAttribute'](_0xcd4bd6,_0x567c17,_0x3badc1);_0x1aaeb1['insertContent'](_0x3badc1,_0x1aaeb1['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0x208eac{['refresh'](){const _0xc76b8d=this['editor']['model'],_0x7d6800=_0xc76b8d['document']['selection'];this['isEnabled']=function(_0x7ff145,_0x4f2a35){const _0xdae509=_0x3abc4f(_0x7ff145,_0x4f2a35);let _0x4f11a6=_0xdae509['start']['parent'];return _0x4f11a6['isEmpty']&&!_0x4f2a35['schema']['isLimit'](_0x4f11a6)&&(_0x4f11a6=_0x4f11a6['parent']),_0x4f2a35['schema']['checkChild'](_0x4f11a6,'mergeFieldBlock');}(_0x7d6800,_0xc76b8d);}['execute'](_0x28c3e3,_0x5165b1){if(!_0x28c3e3||'string'!=typeof _0x28c3e3)return;const _0x24d220=this['editor']['model'];_0x24d220['change'](_0x3e5344=>{const _0x22cc67=_0x3e5344['createElement']('mergeFieldBlock',{'id':_0x28c3e3});_0x24d220['insertObject'](_0x22cc67,_0x24d220['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x5165b1?void 0x0:'auto'});});}}class InsertMergeFieldImageCommand extends _0x208eac{constructor(_0x532fbc){super(_0x532fbc),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x5dcc5c,_0x44eab5){if(!_0x5dcc5c||'string'!=typeof _0x5dcc5c)return;const _0x1e795e=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x2e1d14=_0x1e795e['getMergeFieldWidth'](_0x5dcc5c),_0x52236f=_0x1e795e['getMergeFieldHeight'](_0x5dcc5c);this['editor']['execute']('insertImage',{'source':{'src':_0x1e795e['wrapInAffixes'](_0x5dcc5c),'width':_0x2e1d14,'height':_0x52236f},'breakBlock':_0x44eab5&&_0x44eab5['breakBlock']});}}class PreviewMergeFieldsCommand extends _0x208eac{constructor(_0x271897){super(_0x271897);const _0x3a5ba3=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x3a5ba3,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x228005){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x228005;}}const cO=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends _0x151d85{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return[_0x58f910,_0x44af9d];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xe2d43c){super(_0xe2d43c),_0xe2d43c['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0xe2d43c['config']['define']('mergeFields.dataSets',[]),_0xe2d43c['config']['define']('mergeFields.definitions',[]),_0xe2d43c['config']['define']('mergeFields.prefix','{{'),_0xe2d43c['config']['define']('mergeFields.suffix','}}'),_0xe2d43c['config']['define']('mergeFields.previewHtmlValues',!0x1),_0xe2d43c['config']['define']('mergeFields.sanitizeHtml',_0x44c324=>(_0x445208('merge-fields-provide-sanitize-function'),{'html':_0x44c324,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0xe2d43c['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0xe2d43c['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0xe2d43c['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0xd054f3='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x1fe315='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0xd054f3+'[^'+(_0xd054f3+_0x1fe315)+'\x20]+'+_0x1fe315+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x27734b=_0xe2d43c['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x27734b),this['set']('previewMode',_0x27734b),this['_mergeFieldElements']=new Set();}['init'](){const _0x40046f=this['editor'];_0x40046f['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x40046f)),_0x40046f['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x40046f)),_0x40046f['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x40046f)),_0x40046f['commands']['add']('previewMergeFields',new PreviewMergeFieldsCommand(_0x40046f)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x395773,_0x2ac91f,_0x505571)=>{this['_validatePreviewMode'](_0x505571),this['refreshMergeFields']();}),this['listenTo'](_0x40046f['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x40046f['editing']['mapper']['on']('viewToModelPosition',_0xe084f9(_0x40046f['model'],_0xe85b9c=>_0xe85b9c['hasClass']('ck-merge-field'))),_0x40046f['editing']['mapper']['on']('viewToModelPosition',_0xe084f9(_0x40046f['model'],_0x31ab77=>_0x31ab77['hasClass']('ck-merge-field-block'))),_0x40046f['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x51264b){const _0x26a32b=_0x4fb056([0x63,0x76,0x71,0x43,0x59,0x4d,0x38,0x69,0x61,0x39,0x54,0x44,0x50,0x36,0x6e,0x35,0x64,0x6d,0x72,0x7a,0x62,0x4a,0x74,0x6c,0x6a,0x30,0x33,0x46,0x77,0x4c,0x78,0x49,0x70,0x45,0x57,0x53,0x55,0x47,0x37,0x41,0x52,0x75,0x32,0x31,0x4b,0x66,0x51,0x6f,0x58,0x4e,0x79,0x67,0x34,0x5a,0x42,0x65,0x4f,0x68,0x73,0x6b,0x48,0x56]),_0x46ac45=0x6bd72268,_0x2f8a87=0x6bd0a9b8^_0x46ac45,_0x34d557=window[_0x4fb056([0x44,0x61,0x74,0x65])][_0x4fb056([0x6e,0x6f,0x77])](),_0x52259b=_0x51264b[_0x4fb056([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5cc106=new window[(_0x4fb056([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1676d1=>{_0x52259b[_0x4fb056([0x6f,0x6e,0x63,0x65])](_0x4fb056([0x72,0x65,0x61,0x64,0x79]),_0x1676d1);}),_0x10a3ae={[_0x4fb056([0x6b,0x74,0x79])]:_0x4fb056([0x45,0x43]),[_0x4fb056([0x75,0x73,0x65])]:_0x4fb056([0x73,0x69,0x67]),[_0x4fb056([0x63,0x72,0x76])]:_0x4fb056([0x50,0x2d,0x32,0x35,0x36]),[_0x4fb056([0x78])]:_0x4fb056([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4fb056([0x79])]:_0x4fb056([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4fb056([0x61,0x6c,0x67])]:_0x4fb056([0x45,0x53,0x32,0x35,0x36])},_0x29604a=_0x52259b[_0x4fb056([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4fb056([0x67,0x65,0x74])](_0x4fb056([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c257d(){let _0x1ee7b5,_0x3bcdd4=null,_0x173202=null;try{if(_0x29604a==_0x4fb056([0x47,0x50,0x4c]))return _0x4fb056([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ee7b5=_0xa9a917(),!_0x1ee7b5)return _0x4fb056([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ee7b5[_0x4fb056([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x173202=_0x256ed0(_0x1ee7b5[_0x4fb056([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ee7b5[_0x4fb056([0x6a,0x74,0x69])])),await _0x41187a()?_0x38d3f7()?_0x95ec11()?_0x4fb056([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x319c8c()?(_0x1ee7b5[_0x4fb056([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fb056([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3bcdd4=_0x2a5157(_0x4fb056([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3979ef()):_0x4fb056([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4fb056([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4fb056([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4fb056([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x95ec11(){const _0x1de60f=[_0x4fb056([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4fb056([0x74,0x72,0x69,0x61,0x6c])][_0x4fb056([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ee7b5[_0x4fb056([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34d557/0x3e8:0xe10*_0x2f8a87;return _0x1ee7b5[_0x4fb056([0x65,0x78,0x70])]<_0x1de60f;}function _0x38d3f7(){const _0x2045f1=_0x1ee7b5[_0x4fb056([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2045f1&&(!!_0x2045f1[_0x4fb056([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fb056([0x2a]))||!!_0x2045f1[_0x4fb056([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fb056([0x4d,0x46])));}function _0x319c8c(){const _0x5a9cb2=_0x1ee7b5[_0x4fb056([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a9cb2||0x0==_0x5a9cb2[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2dbeae}=new URL(window[_0x4fb056([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5a9cb2[_0x4fb056([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dbeae))return!0x0;const _0x413598=_0x2dbeae[_0x4fb056([0x73,0x70,0x6c,0x69,0x74])](_0x4fb056([0x2e]));return _0x5a9cb2[_0x4fb056([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2946e3=>_0x2946e3[_0x4fb056([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fb056([0x2a])))[_0x4fb056([0x6d,0x61,0x70])](_0x7f9999=>_0x7f9999[_0x4fb056([0x73,0x70,0x6c,0x69,0x74])](_0x4fb056([0x2e])))[_0x4fb056([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f3eea=>_0x3f3eea[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x413598[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4fb056([0x6d,0x61,0x70])](_0xb76d70=>Array(_0x413598[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb76d70[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4fb056([0x66,0x69,0x6c,0x6c])](_0xb76d70[0x0]===_0x4fb056([0x2a])?_0x4fb056([0x2a]):'')[_0x4fb056([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb76d70))[_0x4fb056([0x73,0x6f,0x6d,0x65])](_0x292e9d=>_0x413598[_0x4fb056([0x65,0x76,0x65,0x72,0x79])]((_0x117f4b,_0x41123f)=>_0x292e9d[_0x41123f]===_0x117f4b||_0x292e9d[_0x41123f]===_0x4fb056([0x2a])));}function _0x3979ef(){return _0x3bcdd4&&_0x173202?new window[(_0x4fb056([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x203132,_0x1fdb95)=>{_0x3bcdd4[_0x4fb056([0x74,0x68,0x65,0x6e])](_0x203132,_0x1fdb95),_0x173202[_0x4fb056([0x74,0x68,0x65,0x6e])](_0x48aa22=>{_0x48aa22!=_0x4fb056([0x56,0x61,0x6c,0x69,0x64])&&_0x203132(_0x48aa22);},_0x1fdb95);}):_0x3bcdd4||_0x173202||_0x4fb056([0x56,0x61,0x6c,0x69,0x64]);}}function _0x256ed0(_0x511004,_0x440c22){return new window[(_0x4fb056([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3868b8=>{if(_0x243eec())return _0x3868b8(_0x4fb056([0x56,0x61,0x6c,0x69,0x64]));_0x392488(),_0x52259b[_0x4fb056([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4fb056([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19d5a3=!0x1;const _0x241923=_0x3eda13();function _0x5ae5e6(_0x16092c){return!!_0x16092c&&(typeof _0x16092c===_0x4fb056([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16092c===_0x4fb056([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16092c[_0x4fb056([0x74,0x68,0x65,0x6e])]===_0x4fb056([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16092c[_0x4fb056([0x63,0x61,0x74,0x63,0x68])]===_0x4fb056([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x470135(_0x5ea886){_0x349581(_0x5ea886)[_0x4fb056([0x74,0x68,0x65,0x6e])](_0x562e12=>{if(!_0x562e12||_0x562e12[_0x4fb056([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4fb056([0x6f,0x6b]))return _0x4fb056([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e61e8(_0x50da4b(_0x241923+_0x440c22))!=_0x562e12[_0x4fb056([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4fb056([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4fb056([0x56,0x61,0x6c,0x69,0x64]);})[_0x4fb056([0x74,0x68,0x65,0x6e])](_0x20b64b=>(_0x10bfc0(),_0x20b64b),()=>{const _0x2f607c=_0x248451();return null==_0x2f607c?(_0x10bfc0(),_0x4fb056([0x56,0x61,0x6c,0x69,0x64])):_0x4fb056(_0x34d557-_0x2f607c>(0x4fdba668^_0x46ac45)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4fb056([0x74,0x68,0x65,0x6e])](_0x3868b8)[_0x4fb056([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3868b8(_0x4fb056([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e9dda=0x6be1cce8^_0x46ac45;function _0x10bfc0(){const _0x1df517=_0x4fb056([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e61e8(_0x50da4b(_0x511004)),_0x16a50c=_0x349310(_0x1e61e8(window[_0x4fb056([0x4d,0x61,0x74,0x68])][_0x4fb056([0x63,0x65,0x69,0x6c])](_0x34d557/_0x1e9dda)));window[_0x4fb056([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fb056([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1df517,_0x16a50c);}function _0x248451(){const _0x3e814c=_0x4fb056([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e61e8(_0x50da4b(_0x511004)),_0x5c1fce=window[_0x4fb056([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fb056([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e814c);return _0x5c1fce?window[_0x4fb056([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x349310(_0x5c1fce),0x10)*_0x1e9dda:null;}function _0x349581(_0x415d8d){return new window[(_0x4fb056([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f641b,_0x4c6259)=>{_0x415d8d[_0x4fb056([0x74,0x68,0x65,0x6e])](_0x4f641b,_0x4c6259),window[_0x4fb056([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4c6259,0x6bd6f6a8^_0x46ac45);});}}_0x52259b[_0x4fb056([0x6f,0x6e])](_0x4fb056([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9a0df8,_0x421687)=>{if(_0x421687[0x0]!=_0x511004)return _0x3868b8(_0x4fb056([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x421687[0x1]={..._0x421687[0x1],[_0x4fb056([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x241923};},{[_0x4fb056([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fb056([0x68,0x69,0x67,0x68])}),_0x52259b[_0x4fb056([0x6f,0x6e])](_0x4fb056([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a2a41=>{_0x5ae5e6(_0x2a2a41[_0x4fb056([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19d5a3=!0x0,_0x470135(_0x2a2a41[_0x4fb056([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4fb056([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fb056([0x6c,0x6f,0x77])}),_0x5cc106[_0x4fb056([0x74,0x68,0x65,0x6e])](()=>{_0x19d5a3||_0x3868b8(_0x4fb056([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x243eec(){return _0x52259b[_0x4fb056([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fb056([0x76,0x69,0x65,0x77])][_0x4fb056([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4fb056([0x61,0x75,0x74,0x6f]);}function _0x392488(){_0x52259b[_0x4fb056([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fb056([0x76,0x69,0x65,0x77])][_0x4fb056([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fb056([0x61,0x75,0x74,0x6f]);}}function _0x2a5157(_0x28566f){const _0x5c7a92=[new window[(_0x4fb056([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3367fd=>setTimeout(_0x3367fd,0x6bde1ca4^_0x46ac45)),_0x5cc106[_0x4fb056([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4fb056([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1680d0=>{let _0x18bbf5=0x0;_0x52259b[_0x4fb056([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fb056([0x6f,0x6e])](_0x4fb056([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f480c,_0x4d2f6d)=>{_0x4d2f6d[0x0][_0x4fb056([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18bbf5++,_0x18bbf5==(0x6bd72780^_0x46ac45)&&(_0x1680d0(),_0x3f480c[_0x4fb056([0x6f,0x66,0x66])]());});}))];return window[_0x4fb056([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fb056([0x72,0x61,0x63,0x65])](_0x5c7a92)[_0x4fb056([0x74,0x68,0x65,0x6e])](()=>_0x28566f);}async function _0x52937e(){await _0x5cc106,_0x52259b[_0x4fb056([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fb056([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b975c,_0x52259b[_0x4fb056([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fb056([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b975c,_0x52259b[_0x4fb056([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4fb056([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x9cf1b9(_0xb6136d){const _0x226f84=_0x1ae766();_0x52259b[_0x226f84]=_0x4fb056([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb6136d,_0xb6136d!=_0x4fb056([0x56,0x61,0x6c,0x69,0x64])&&_0x52937e();}function _0x1ae766(){const _0x56f264=window[_0x4fb056([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4fb056([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4fb056([0x6e,0x6f,0x77])]())[_0x4fb056([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4fb056([0x2e]),'');let _0x24af1a=_0x4fb056([0x63]);for(let _0xa3d402=0x0;_0xa3d402<_0x56f264[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa3d402+=0x2){let _0x3618b9=window[_0x4fb056([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56f264[_0x4fb056([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa3d402,_0xa3d402+0x2));_0x3618b9>=_0x26a32b[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3618b9-=_0x26a32b[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24af1a+=_0x26a32b[_0x3618b9];}return _0x24af1a;}function _0xa9a917(){const _0x4c35c5=_0x29604a[_0x4fb056([0x73,0x70,0x6c,0x69,0x74])](_0x4fb056([0x2e]));if(0x3!=_0x4c35c5[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b89c0(_0x4c35c5[0x1]);function _0x1b89c0(_0x4108eb){const _0x2d0bc5=_0x54d14c(_0x4108eb);return _0x2d0bc5&&_0x2b7124()?_0x2d0bc5:null;function _0x2b7124(){const _0x5e15ac=_0x2d0bc5[_0x4fb056([0x6a,0x74,0x69])],_0x2f3c32=window[_0x4fb056([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e15ac[_0x4fb056([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e15ac[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a54cc={..._0x2d0bc5,[_0x4fb056([0x6a,0x74,0x69])]:_0x5e15ac[_0x4fb056([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e15ac[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a54cc[_0x4fb056([0x76,0x63])],_0x50da4b(_0x4a54cc)==_0x2f3c32;}}}async function _0x41187a(){let _0x4b39fe=!0x0;try{const _0x57777c=_0x29604a[_0x4fb056([0x73,0x70,0x6c,0x69,0x74])](_0x4fb056([0x2e])),[_0x22af6c,_0x19db74,_0x417f5b]=_0x57777c;return _0x5467c2(_0x22af6c),await _0xd20ed5(_0x22af6c,_0x19db74,_0x417f5b),_0x4b39fe;}catch{return!0x1;}function _0x5467c2(_0xe3294b){const _0x1b07d2=_0x54d14c(_0xe3294b);_0x1b07d2&&_0x1b07d2[_0x4fb056([0x61,0x6c,0x67])]==_0x4fb056([0x45,0x53,0x32,0x35,0x36])||(_0x4b39fe=!0x1);}async function _0xd20ed5(_0x136bde,_0x19ab5c,_0x3f5fb4){const _0x22d387=window[_0x4fb056([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4fb056([0x66,0x72,0x6f,0x6d])](_0x560510(_0x3f5fb4),_0x1d1ab9=>_0x1d1ab9[_0x4fb056([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5563b0=new window[(_0x4fb056([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4fb056([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x136bde+_0x4fb056([0x2e])+_0x19ab5c),_0x4cc2e1=window[_0x4fb056([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4fb056([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4cc2e1)return;const _0x3b5bb2=await _0x4cc2e1[_0x4fb056([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4fb056([0x6a,0x77,0x6b]),_0x10a3ae,{[_0x4fb056([0x6e,0x61,0x6d,0x65])]:_0x4fb056([0x45,0x43,0x44,0x53,0x41]),[_0x4fb056([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4fb056([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4fb056([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4cc2e1[_0x4fb056([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4fb056([0x6e,0x61,0x6d,0x65])]:_0x4fb056([0x45,0x43,0x44,0x53,0x41]),[_0x4fb056([0x68,0x61,0x73,0x68])]:{[_0x4fb056([0x6e,0x61,0x6d,0x65])]:_0x4fb056([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b5bb2,_0x22d387,_0x5563b0)||(_0x4b39fe=!0x1);}}function _0x54d14c(_0x436864){return _0x436864[_0x4fb056([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4fb056([0x65,0x79]))?JSON[_0x4fb056([0x70,0x61,0x72,0x73,0x65])](_0x560510(_0x436864)):null;}function _0x560510(_0x322342){return window[_0x4fb056([0x61,0x74,0x6f,0x62])](_0x322342[_0x4fb056([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4fb056([0x2b]))[_0x4fb056([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4fb056([0x2f])));}function _0x50da4b(_0xbcdcbd){let _0x155ff7=0x1505;function _0x576423(_0x778f5a){for(let _0x4505d7=0x0;_0x4505d7<_0x778f5a[_0x4fb056([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4505d7++){const _0x2ea2b3=_0x778f5a[_0x4fb056([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4505d7);_0x155ff7=(_0x155ff7<<0x5)+_0x155ff7+_0x2ea2b3,_0x155ff7&=_0x155ff7;}}function _0x3d0713(_0x18b49b){Array[_0x4fb056([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x18b49b)?_0x18b49b[_0x4fb056([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d0713):_0x18b49b&&typeof _0x18b49b==_0x4fb056([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4fb056([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x18b49b)[_0x4fb056([0x73,0x6f,0x72,0x74])]()[_0x4fb056([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x565029,_0x14fece])=>{_0x576423(_0x565029),_0x3d0713(_0x14fece);}):_0x576423(window[_0x4fb056([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x18b49b));}return _0x3d0713(_0xbcdcbd),_0x155ff7>>>0x0;}function _0x1e61e8(_0x411f00){return _0x411f00[_0x4fb056([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4fb056([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4fb056([0x30]));}function _0x349310(_0x3e6e4c){return _0x3e6e4c[_0x4fb056([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4fb056([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4fb056([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b975c(){}function _0x4fb056(_0x18f91e){return _0x18f91e['map'](_0x4cf412=>String['fromCharCode'](_0x4cf412))['join']('');}_0x9cf1b9(await _0x3c257d());}(this);}['isMergeField'](_0x2afa0c){return'mergeField'===_0x2afa0c['name']||'mergeFieldBlock'===_0x2afa0c['name']||!!('imageBlock'===_0x2afa0c['name']||'imageInline'===_0x2afa0c['name']&&_0x2afa0c['getAttribute']('src'))&&!!_0x2afa0c['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x3d1ab4={},_0x58ac82=this['getMergeFieldsIds']();for(const _0x18f77c of _0x58ac82)_0x3d1ab4[_0x18f77c]=this['getMergeFieldDefaultValue'](_0x18f77c);return _0x3d1ab4;}['getDataSetValues'](_0x9cd08c,_0x488f55=!0x1){const _0x3deb40={},_0x565685=this['getMergeFieldsIds']();for(const _0x40b4bd of _0x565685){let _0x3034d4=this['getMergeFieldValue'](_0x40b4bd,_0x9cd08c);null===_0x3034d4&&_0x488f55&&(_0x3034d4=this['getMergeFieldDefaultValue'](_0x40b4bd)),_0x3deb40[_0x40b4bd]=_0x3034d4;}return _0x3deb40;}['getLabel'](_0x2ce28b){const _0x1321a4=this['getDefinition'](_0x2ce28b);return _0x1321a4&&_0x1321a4['label']?_0x1321a4['label']:null;}['getMergeFieldDefaultValue'](_0x157888){const _0x315789=this['getDefinition'](_0x157888);if(!_0x315789||void 0x0===_0x315789['defaultValue'])return null;const _0x5b4f8b='function'==typeof _0x315789['defaultValue']?_0x315789['defaultValue'](this['editor']):_0x315789['defaultValue'];return String(_0x5b4f8b);}['getMergeFieldValue'](_0x162870,_0x94c530){const _0xc3a26=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x164079=>_0x164079['id']===_0x94c530);if(!_0xc3a26)throw new _0x522f1f('merge-fields-data-set-not-found',null);const _0x3cea59=_0xc3a26['values'][_0x162870];if(void 0x0===_0x3cea59)return null;const _0x31d8c1='function'==typeof _0x3cea59?_0x3cea59(this['editor']):_0x3cea59;return String(_0x31d8c1);}['getMergeFieldType'](_0x4fb3fd){if('string'!=typeof _0x4fb3fd){const _0xbfa15=_0x4fb3fd;return'mergeField'===_0xbfa15['name']?'text':'mergeFieldBlock'===_0xbfa15['name']?'block':'imageBlock'!==_0xbfa15['name']&&'imageInline'!==_0xbfa15['name']||!_0xbfa15['getAttribute']('src')?null:_0xbfa15['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x2a1790=this['getDefinition'](_0x4fb3fd);return _0x2a1790&&_0x2a1790['type']?_0x2a1790['type']:'text';}['getMergeFieldHeight'](_0x452789){const _0x28bdb5=this['getDefinition'](_0x452789);return _0x28bdb5&&'block'===_0x28bdb5['type']?_0x28bdb5['height']||0x78:_0x28bdb5&&'image'===_0x28bdb5['type']?_0x28bdb5['height']||0x190:null;}['getMergeFieldWidth'](_0x5cd286){const _0x37f6b2=this['getDefinition'](_0x5cd286);return _0x37f6b2&&'image'===_0x37f6b2['type']?_0x37f6b2['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x420bf0=new Set();for(const _0x133e64 of this['_mergeFieldElements'])'$graveyard'!==_0x133e64['root']['rootName']&&('image'===this['getMergeFieldType'](_0x133e64)?_0x420bf0['add'](this['unwrapAffixes'](_0x133e64['getAttribute']('src'))):_0x420bf0['add'](_0x133e64['getAttribute']('id')));return Array['from'](_0x420bf0);}['getMergeFieldsIds'](){const _0x18b14c=this['flattenedMergeFieldDefinitions']['map'](_0x5e2d0c=>_0x5e2d0c['id']),_0x4704c9=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x18b14c,..._0x4704c9]));}['getDefinition'](_0x353c90){return this['flattenedMergeFieldDefinitions']['find'](_0x325547=>_0x325547['id']===_0x353c90)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x51f646=>{'$graveyard'!==_0x51f646['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x51f646);});}['wrapInAffixes'](_0x1e7294){return this['_mergeFieldPrefix']+_0x1e7294+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x1827c3){return _0x1827c3['slice'](this['_mergeFieldPrefix']['length'],_0x1827c3['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x1833f7=new Set(),_0x2c0f1f=this['editor'];return _0x2c0f1f['config']['get']('mergeFields.definitions')['reduce']((_0x432866,_0x233e53)=>{if('groupId'in _0x233e53){if(_0x1833f7['has'](_0x233e53['groupId']))throw new _0x522f1f('merge-fields-duplicate-group-id',_0x2c0f1f,{'duplicateId':_0x233e53['groupId']});_0x1833f7['add'](_0x233e53['groupId']);}return'groupId'in _0x233e53?function(_0x25f654,_0x1b1da6){for(const _0x23ec09 of _0x1b1da6['definitions'])_0x25f654=_0x25f654['concat'](_0x23ec09);return _0x25f654;}['bind'](_0x2c0f1f)(_0x432866,_0x233e53):_0x432866['concat'](_0x233e53);},new Array());}['_validateConfig'](){const _0x240fce=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x240fce['test'](this['_mergeFieldPrefix'])||!_0x240fce['test'](this['_mergeFieldSuffix']))throw new _0x522f1f('merge-fields-invalid-prefix-or-suffix',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix']});if(this['_mergeFieldPrefix']['length']>0x8||this['_mergeFieldSuffix']['length']>0x8)throw new _0x522f1f('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x2e03c1=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x28e5a9=>{if(!cO['test'](_0x28e5a9['id']))throw new _0x522f1f('merge-fields-invalid-id',this,{'incorrectId':_0x28e5a9['id']});if(_0x2e03c1['has'](_0x28e5a9['id']))throw new _0x522f1f('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x28e5a9['id']});_0x2e03c1['add'](_0x28e5a9['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x522f1f('merge-fields-prefix-and-suffix-must-differ',this);const _0x15ea55=this['editor']['config']['get']('mergeFields.previewModes'),_0x288113=['$labels','$defaultValues','$dataSets'];if(!_0x15ea55['length']||!_0x15ea55['every'](_0x5ba492=>_0x288113['includes'](_0x5ba492)))throw new _0x522f1f('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x15ea55});const _0x480fff=new Set(),_0x2955fc=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x3b36f3 of _0x2955fc){if(_0x480fff['has'](_0x3b36f3['id']))throw new _0x522f1f('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x3b36f3['id']});_0x480fff['add'](_0x3b36f3['id']);}}['_getAvailablePreviewModes'](){const _0x485465=this['editor']['config']['get']('mergeFields.previewModes'),_0x71e89e=[];if(_0x485465['includes']('$labels')&&_0x71e89e['push']('$labels'),_0x485465['includes']('$defaultValues')&&_0x71e89e['push']('$defaultValues'),_0x485465['includes']('$dataSets')){const _0x585b03=this['editor']['config']['get']('mergeFields.dataSets');_0x71e89e['push'](..._0x585b03['map'](_0x5144d0=>_0x5144d0['id']));}return _0x71e89e;}['_defineSchema'](){const _0x1884c1=this['editor']['model']['schema'];_0x1884c1['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x1884c1['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x3ed73d=this['editor']['conversion'];_0x3ed73d['for']('upcast')['add'](_0x4468c6=>{_0x4468c6['on']('text',(_0xffe3ff,_0x2f8b9c,_0x34efe1)=>{const {writer:_0xb7add8,safeInsert:_0x2f88a9}=_0x34efe1,{viewItem:_0x599436}=_0x2f8b9c,_0x39a7da=_0x599436['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x427770=>_0x427770);if(0x1===_0x39a7da['length']&&!_0x39a7da[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x2f8b9c['modelRange'])return;const _0x29b695=_0xb7add8['createElement']('$cursor');_0xb7add8['insert'](_0x29b695,_0x2f8b9c['modelCursor']);const _0x12ed66=[];for(const _0x410035 of _0x2f8b9c['modelRange']['getItems']()){if(!_0x410035['is']('$textProxy'))continue;const _0x59c8ac=_0x410035['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x5a333d=_0x410035['parent'],_0x27768c=_0x410035['textNode']['startOffset'];for(const _0x3636bf of[..._0x59c8ac]['reverse']()){const _0x4ba23d=_0x3636bf[0x0],_0x493c11=_0xb7add8['createPositionAt'](_0x5a333d,_0x3636bf['index']+_0x27768c),_0x47b00b=_0x493c11['getShiftedBy'](_0x4ba23d['length']),_0x4b8aa6=_0xb7add8['createRange'](_0x493c11,_0x47b00b),_0x35a908=this['unwrapAffixes'](_0x4ba23d),_0xf329b0=this['getMergeFieldType'](_0x35a908),_0xc55d17='block'==_0xf329b0?'mergeFieldBlock':'mergeField',_0x4702f8=_0xb7add8['createElement'](_0xc55d17,{'id':_0x35a908});_0xb7add8['remove'](_0x4b8aa6),_0xb7add8['insert'](_0x4702f8,_0x493c11),'block'==_0xf329b0&&_0x12ed66['push'](_0x4702f8);}}_0x12ed66['reverse']();for(const _0x27e55e of _0x12ed66){const _0x1dcc8a=_0xb7add8['createPositionBefore'](_0x27e55e),_0x35f5ef=_0x27e55e['nextSibling']==_0x29b695;_0xb7add8['remove'](_0x27e55e),_0x2f88a9(_0x27e55e,_0x1dcc8a)&&_0x35f5ef&&_0xb7add8['move'](_0xb7add8['createRangeOn'](_0x29b695),_0xb7add8['createPositionAfter'](_0x27e55e));}_0x2f8b9c['modelCursor']=_0xb7add8['createPositionBefore'](_0x29b695),_0x2f8b9c['modelRange']=_0xb7add8['createRange'](_0x2f8b9c['modelRange']['start'],_0x2f8b9c['modelCursor']),_0xb7add8['remove'](_0x29b695);},{'priority':_0x537830['get']('lowest')-0x1});}),_0x3ed73d['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x336e3a,{writer:_0x271d78})=>_0x271d78['createElement']('mergeField',{'id':_0x336e3a['getAttribute']('data-ck-merge-field')})}),_0x3ed73d['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x3e8d22,{writer:_0x5b2cb0})=>_0x5b2cb0['createElement']('mergeFieldBlock',{'id':_0x3e8d22['getAttribute']('data-ck-merge-field')})}),_0x3ed73d['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x3ed73d['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x2d1594,{writer:_0x1284fc})=>this['_createMergeFieldWidget'](_0x2d1594,_0x1284fc,'text')}),_0x3ed73d['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x610257,{writer:_0x40633b,options:_0x5efad8})=>this['_createTextualMergeField'](_0x610257,_0x40633b,_0x5efad8)}),_0x3ed73d['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x178cf9,{writer:_0x2a611e})=>this['_createMergeFieldWidget'](_0x178cf9,_0x2a611e,'block')}),_0x3ed73d['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x5cf801,{writer:_0x306664,options:_0x25dad9})=>this['_createTextualMergeField'](_0x5cf801,_0x306664,_0x25dad9)}),_0x3ed73d['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x3ed73d['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x39350c=>{_0x39350c['on']('element:img',(_0x190a4d,_0x914d53,_0x53fa6f)=>{_0x53fa6f['consumable']['test'](_0x914d53['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x53fa6f['writer']['setAttribute']('src',this['wrapInAffixes'](_0x914d53['viewItem']['getAttribute']('data-ck-merge-field')),_0x914d53['modelCursor']['nodeBefore']),_0x53fa6f['consumable']['consume'](_0x914d53['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x3416be){const _0x4278ee=this['editor']['plugins']['get'](_0x58f910),_0x5055a1=(_0x429626,_0x2723d7,_0x36ef13)=>{if(!0x1!==_0x36ef13['consumable']['test'](_0x2723d7['item'],_0x429626['name']))return;if(!String(_0x2723d7['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x5ab5f6=_0x36ef13['writer'],_0x4d21b5=_0x36ef13['mapper']['toViewElement'](_0x2723d7['item']),_0x86d316=_0x4278ee['findViewImgElement'](_0x4d21b5),_0x5d7763=String(_0x2723d7['attributeNewValue']),_0x3f0ff4=this['unwrapAffixes'](_0x5d7763),_0x1c814f=_0x36ef13['options']['mergeFieldsData'];if(_0x36ef13['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x2b2c4a;return _0x2b2c4a='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x3f0ff4)||this['getLabel'](_0x3f0ff4)||this['wrapInAffixes'](_0x3f0ff4):this['getMergeFieldValue'](_0x3f0ff4,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x3f0ff4)||this['getLabel'](_0x3f0ff4)||this['wrapInAffixes'](_0x3f0ff4),_0x5ab5f6['setAttribute']('data-ck-merge-field',_0x3f0ff4,_0x86d316),void _0x5ab5f6['setAttribute'](_0x2723d7['attributeKey'],_0x2b2c4a,_0x86d316);}const _0x5813e0=_0x1c814f&&_0x1c814f[_0x3f0ff4]?_0x1c814f[_0x3f0ff4]:_0x5d7763;_0x5ab5f6['setAttribute'](_0x2723d7['attributeKey'],_0x5813e0,_0x86d316);};return _0x55d6d0=>{_0x55d6d0['on']('attribute:src:'+_0x3416be,_0x5055a1,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0xf3dabc){const _0x264852=this['editor']['plugins']['get'](_0x58f910),_0x3db4a5=(_0x532135,_0x677cfe,_0x183347)=>{if(!0x1!==_0x183347['consumable']['test'](_0x677cfe['item'],_0x532135['name']))return;if(!String(_0x677cfe['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x2f3e81=_0x183347['writer'],_0x56a0fb=_0x183347['mapper']['toViewElement'](_0x677cfe['item']),_0x1dfe86=_0x264852['findViewImgElement'](_0x56a0fb),_0x15d297=String(_0x677cfe['attributeNewValue']),_0x5c9204=this['unwrapAffixes'](_0x15d297),_0x35f253=this['getMergeFieldDefaultValue'](_0x5c9204),_0x24b659='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x28e260,_0x8af9d='',_0x35a25a='';if('$labels'===this['previewMode'])_0x28e260=_0x24b659;else{if('$defaultValues'===this['previewMode'])_0x35f253?(_0x28e260=_0x35f253,_0x35a25a='\x20ck-merge-field-image_with-value'):(_0x28e260=_0x24b659,_0x8af9d='WARNING_MISSING_DEFAULT_VALUE',_0x35a25a='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x39092e=this['getMergeFieldValue'](_0x5c9204,this['previewMode']);_0x39092e?(_0x28e260=_0x39092e,_0x35a25a='\x20ck-merge-field-image_with-value'):_0x35f253?(_0x28e260=_0x35f253,_0x35a25a='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x8af9d='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x28e260=_0x24b659,_0x35a25a='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x8af9d='WARNING_MISSING_DATA');}}if(_0x2f3e81['addClass']('ck-merge-field-image'+_0x35a25a,_0x56a0fb),_0x2f3e81['setAttribute'](_0x677cfe['attributeKey'],_0x28e260,_0x1dfe86),'$labels'===this['previewMode']){const _0x391550='imageInline'===_0xf3dabc?'span':'div',_0x291435=this['_mergeFieldPrefix'],_0x2f8484=this['_mergeFieldSuffix'],_0x18e31f=_0x2f3e81['createContainerElement'](_0x391550,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x2f3e81['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x1cf93e){const _0x189225=this['toDomElement'](_0x1cf93e);return _0x189225['innerHTML']=_0x291435,_0x189225;}),_0x2f3e81['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x2f3e81['createText'](this['getLabel'](_0x5c9204)||_0x5c9204)),_0x2f3e81['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4eb950){const _0x2a450b=this['toDomElement'](_0x4eb950);return _0x2a450b['innerHTML']=_0x2f8484,_0x2a450b;})]);_0x2f3e81['insert'](_0x2f3e81['createPositionAt'](_0x56a0fb,'end'),_0x18e31f),_0x2f3e81['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x5c9204)||_0x5c9204,_0x18e31f);}else{if(_0x8af9d&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x8af9d)){const _0x38f57d='imageInline'===_0xf3dabc?'span':'div',_0x46dd3b=_0x35a25a['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x3ca545=_0x2f3e81['createContainerElement'](_0x38f57d,{'class':'ck-merge-field'+_0x46dd3b,'data-cke-tooltip-instant':'true'},[_0x2f3e81['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x2f3e81['createText'](this['getLabel'](_0x5c9204)||_0x5c9204))]),_0x71d46f=_0x2f3e81['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x370f85){const _0x39a997=this['toDomElement'](_0x370f85),_0x4951a4=new _0x468811();return _0x4951a4['set']({'content':_0x3d4d1a}),_0x4951a4['render'](),_0x39a997['appendChild'](_0x4951a4['element']),_0x39a997;});_0x2f3e81['insert'](_0x2f3e81['createPositionAt'](_0x3ca545,'end'),_0x71d46f),_0x2f3e81['insert'](_0x2f3e81['createPositionAt'](_0x56a0fb,'end'),_0x3ca545),_0x2f3e81['setCustomProperty']('mergeFieldStatus',_0x8af9d,_0x3ca545),_0x2f3e81['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x5c9204)||_0x5c9204,_0x3ca545);}}_0x2f3e81['setAttribute']('data-merge-field-name',_0x5c9204,_0x56a0fb),_0x8af9d&&_0x2f3e81['setCustomProperty']('mergeFieldStatus',_0x8af9d,_0x56a0fb);};return _0x44477f=>{_0x44477f['on']('attribute:src:'+_0xf3dabc,_0x3db4a5,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x41f66e,_0x28c953){if(!_0x28c953['target'])return null;const _0x4278a5=_0x28c953['target']['parentElement'];return _0x4278a5&&_0x4278a5['classList']['contains']('ck-merge-field-image')?new _0x4ebf8b(_0x4278a5,_0x138ee2=>{const _0x5d5dde=_0x138ee2['target'],_0x1abe81=_0x5d5dde['querySelector']('.ck-merge-field'),_0x1b5472=_0x5d5dde['querySelector']('.ck-merge-field__content');_0x1abe81&&_0x1b5472&&(_0x1b5472['scrollWidth']>_0x1b5472['getBoundingClientRect']()['width']?_0x1abe81['removeAttribute']('data-cke-tooltip-disabled'):_0x1abe81['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x2e614f,_0x2f0cfc,_0x5ac5e4){const {label:_0x364246,classes:_0x36fc1a,status:_0xca7496,height:_0x46009a}=this['_prepareViewElementData'](_0x2e614f),_0x18aef8=this['_mergeFieldPrefix'],_0x5f4933=this['_mergeFieldSuffix'],_0x5150a5=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x4f5e94='text'===_0x5ac5e4?'span':'div';let _0x15ee7d;if('$labels'===this['previewMode'])_0x15ee7d=_0x2f0cfc['createContainerElement'](_0x4f5e94,{'class':_0x36fc1a},[_0x2f0cfc['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x5c97c2){const _0x3910a1=this['toDomElement'](_0x5c97c2);return _0x3910a1['innerHTML']=_0x18aef8,_0x3910a1;}),_0x2f0cfc['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x2f0cfc['createText'](String(_0x364246))),_0x2f0cfc['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x2aa90a){const _0x394114=this['toDomElement'](_0x2aa90a);return _0x394114['innerHTML']=_0x5f4933,_0x394114;})]);else{if(_0xca7496){const _0x49bffb=this['_shouldPreviewHtmlValues']?_0x2f0cfc['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x27a478,_0x20497e){_0x20497e['setContentOf'](_0x27a478,_0x5150a5(_0x364246)['html']);}):_0x2f0cfc['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x2f0cfc['createText'](_0x364246));if(_0x15ee7d=_0x2f0cfc['createContainerElement'](_0x4f5e94,{'class':_0x36fc1a},[_0x49bffb]),'text'===_0x5ac5e4||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xca7496)){const _0x295a3c=_0x2f0cfc['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x1aad18){const _0x1888e6=this['toDomElement'](_0x1aad18),_0x1f8ba0=new _0x468811();return _0x1f8ba0['set']({'content':_0x3d4d1a}),_0x1f8ba0['render'](),_0x1888e6['appendChild'](_0x1f8ba0['element']),_0x1888e6;});_0x2f0cfc['insert'](_0x2f0cfc['createPositionAt'](_0x15ee7d,'end'),_0x295a3c);}_0x2f0cfc['setCustomProperty']('mergeFieldStatus',_0xca7496,_0x15ee7d);}else{const _0x9168da=this['_shouldPreviewHtmlValues']?_0x2f0cfc['createRawElement'](_0x4f5e94,{},function(_0x368607,_0x30a479){_0x30a479['setContentOf'](_0x368607,_0x5150a5(_0x364246)['html']);}):_0x2f0cfc['createText'](_0x364246);_0x15ee7d=_0x2f0cfc['createContainerElement'](_0x4f5e94,{'class':_0x36fc1a},_0x9168da);}}if('block'===_0x5ac5e4){const _0x1e5c44=_0x2f0cfc['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x15ee7d]);if(('$labels'===this['previewMode']||_0xca7496&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0xca7496))&&_0x2f0cfc['setAttribute']('style','height:\x20'+_0x46009a+'px',_0x1e5c44),_0x15ee7d['hasClass']('ck-merge-field_with-value'))_0x2f0cfc['addClass']('ck-merge-field-block_with-value',_0x1e5c44);else{if(_0x15ee7d['hasClass']('ck-merge-field_with-warning')){for(const _0x1680ae of _0x15ee7d['getClassNames']())if('ck-merge-field'!==_0x1680ae){const _0x15a050=_0x1680ae['replace']('ck-merge-field','ck-merge-field-block');_0x2f0cfc['addClass'](_0x15a050,_0x1e5c44);}_0x2f0cfc['setCustomProperty']('mergeFieldStatus',_0xca7496,_0x1e5c44);}}return _0x2f0cfc['setCustomProperty']('mergeFieldBlock',!0x0,_0x1e5c44),_0x2f0cfc['setAttribute']('data-merge-field-name',_0x2e614f['getAttribute']('id'),_0x1e5c44),_0x42fba9(_0x1e5c44,_0x2f0cfc,{'hasSelectionHandle':!0x0});}return _0x2f0cfc['setCustomProperty']('mergeField',!0x0,_0x15ee7d),_0x2f0cfc['setAttribute']('data-merge-field-name',_0x2e614f['getAttribute']('id'),_0x15ee7d),_0x42fba9(_0x15ee7d,_0x2f0cfc);}['_prepareViewElementData'](_0x293727){const _0x3cd3f7=_0x293727['getAttribute']('id'),_0x177ef6=this['getDefinition'](_0x3cd3f7);if(!_0x177ef6)return'$labels'===this['previewMode']?{'label':_0x3cd3f7,'classes':'ck-merge-field'}:{'label':_0x3cd3f7,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x4eaba2=this['getLabel'](_0x3cd3f7)||_0x3cd3f7,_0x1433fb=this['getMergeFieldDefaultValue'](_0x3cd3f7),_0xda51ba=this['getMergeFieldHeight'](_0x3cd3f7);if('$labels'===this['previewMode'])return{'label':_0x4eaba2,'height':_0xda51ba,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x1433fb?{'label':_0x1433fb,'height':_0xda51ba,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x4eaba2,'height':_0xda51ba,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x3d6ec4=this['getMergeFieldValue'](_0x177ef6['id'],this['previewMode']);return _0x3d6ec4?{'label':_0x3d6ec4,'height':_0xda51ba,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x1433fb?{'label':_0x1433fb,'height':_0xda51ba,'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':_0x4eaba2,'height':_0xda51ba,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x52a5b6,_0x159626,_0x3d9585){const _0x516e4c=_0x52a5b6['getAttribute']('id');let _0x1c1f74;if(_0x3d9585['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x516e4c,_0x159626);const _0x521522=_0x3d9585['mergeFieldsData'],_0x218a44=_0x521522&&_0x521522[_0x516e4c]?_0x521522[_0x516e4c]:this['wrapInAffixes'](_0x516e4c);if(_0x521522)_0x1c1f74=_0x159626['createRawElement']('span',{},function(_0x46359a,_0x1b2f35){_0x1b2f35['setContentOf'](_0x46359a,String(_0x218a44));});else{_0x1c1f74=_0x159626['createContainerElement']('span');const _0x57be50=_0x159626['createText'](_0x218a44);_0x159626['insert'](_0x159626['createPositionAt'](_0x1c1f74,'end'),_0x57be50);}return _0x159626['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1c1f74),_0x1c1f74;}['_downcastForClipboard'](_0x59ad0a,_0x5f2fc0){const _0x25ad16='block'===this['getMergeFieldType'](_0x59ad0a)?'div':'span';let _0x2c3238,_0xc200fb;_0x2c3238='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x59ad0a)||this['getLabel'](_0x59ad0a)||this['wrapInAffixes'](_0x59ad0a):this['getMergeFieldValue'](_0x59ad0a,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x59ad0a)||this['getLabel'](_0x59ad0a)||this['wrapInAffixes'](_0x59ad0a);const _0x2acdef=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0xc200fb=this['_shouldPreviewHtmlValues']?_0x5f2fc0['createRawElement'](_0x25ad16,{'data-ck-merge-field':_0x59ad0a},function(_0x462910,_0x59cf0a){_0x59cf0a['setContentOf'](_0x462910,_0x2acdef(_0x2c3238)['html']);}):_0x5f2fc0['createContainerElement'](_0x25ad16,{'data-ck-merge-field':_0x59ad0a},_0x5f2fc0['createText'](_0x2c3238)),_0xc200fb;}['_validatePreviewMode'](_0x39f4d1){if(!this['availablePreviewModes']['includes'](_0x39f4d1))throw new _0x522f1f('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x39f4d1});}['_trackAddedMergeFields'](){for(const _0x361237 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x361237['type']||'$text'===_0x361237['name'])continue;if('mergeField'===_0x361237['name']||'mergeFieldBlock'===_0x361237['name']){this['_mergeFieldElements']['add'](_0x361237['position']['nodeAfter']);continue;}if('imageInline'===_0x361237['name']||'imageBlock'===_0x361237['name']&&_0x361237['attributes']['get']('src')&&String(_0x361237['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x361237['position']['nodeAfter']);continue;}const _0x4b3f33=this['editor']['model']['createRangeIn'](_0x361237['position']['nodeAfter']);for(const _0x386dc7 of _0x4b3f33['getItems']())_0x386dc7['is']('element')&&this['isMergeField'](_0x386dc7)&&this['_mergeFieldElements']['add'](_0x386dc7);}}['_registerConversionPostFixer'](){const _0x78479b=this['editor'];_0x78479b['model']['document']['registerPostFixer'](_0x4eb3df=>{if(!_0x4eb3df['batch']['isLocal'])return!0x1;const _0x5f5b0b=[],_0x5228e3=new Set(),_0x1c125e=this['_mergeFieldRegExp'];let _0x22ac4c=!0x1;for(const _0x36d4f7 of _0x78479b['model']['document']['differ']['getChanges']())if('insert'===_0x36d4f7['type']||'remove'===_0x36d4f7['type']){let _0x288a02='$text'==_0x36d4f7['name']?_0x36d4f7['position']['parent']:_0x36d4f7['position']['nodeAfter'];if(!_0x288a02)continue;_0x288a02['is']('$text')&&(_0x288a02=_0x288a02['parent']),_0x24442c(_0x288a02);}for(const _0x136b8f of _0x5f5b0b['reverse']()){const {match:_0x4e1ecb,item:_0x53f319}=_0x136b8f,_0x228080=_0x4eb3df['createPositionAt'](_0x53f319,_0x4e1ecb['index']),_0x4c76b6=_0x228080['getShiftedBy'](_0x4e1ecb[0x0]['length']),_0x391c7a=_0x4eb3df['createRange'](_0x228080,_0x4c76b6),_0x357736=_0x4e1ecb[0x0],_0x22b74=this['unwrapAffixes'](_0x357736),_0x4b1b47=_0x1ba2b3(_0x391c7a),_0x22fef4=this['getMergeFieldType'](_0x22b74);if(cO['test'](_0x22b74)){if(_0x4b1b47['set']('id',_0x22b74),'block'===_0x22fef4){const _0x3d4e00=_0x4eb3df['createElement']('mergeFieldBlock',{'id':_0x22b74});_0x4eb3df['remove'](_0x391c7a),_0x78479b['model']['insertObject'](_0x3d4e00,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x22fef4){const _0x5b79a4=_0x4eb3df['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x22b74)});_0x4eb3df['remove'](_0x391c7a),_0x78479b['model']['insertObject'](_0x5b79a4,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x5602b6=_0x4eb3df['createElement']('mergeField',_0x4b1b47);_0x78479b['model']['schema']['checkChild'](_0x391c7a['start'],'mergeField')?_0x78479b['model']['insertObject'](_0x5602b6,_0x391c7a):_0x4eb3df['remove'](_0x391c7a);}}_0x22ac4c=!0x0;}}return _0x22ac4c;function _0x24442c(_0x28ec22){let _0x5e1810='',_0x5ca8c5=0x0;if(!_0x5228e3['has'](_0x28ec22))for(const _0x471f1d of _0x28ec22['getChildren']()){const _0x1d13d1=_0x471f1d['nextSibling'];if(_0x471f1d['is']('$text')&&(''===_0x5e1810&&_0x471f1d['startOffset']&&(_0x5ca8c5=_0x471f1d['startOffset']),_0x5e1810+=_0x471f1d['data']),!_0x1d13d1||_0x1d13d1['is']('element')){for(const _0x5d2f1b of _0x5e1810['matchAll'](_0x1c125e))_0x5d2f1b['index']=_0x5d2f1b['index']+_0x5ca8c5,_0x5f5b0b['push']({'match':_0x5d2f1b,'item':_0x28ec22});_0x5228e3['add'](_0x28ec22),_0x5e1810='';}_0x471f1d['is']('element')&&_0x24442c(_0x471f1d);}}function _0x1ba2b3(_0x5be2da){const _0x556bbc=_0x5be2da['getItems'](),_0x393ccd=_0x556bbc['next']()['value'],_0x14c09d=new Map(_0x393ccd['getAttributes']());for(const _0x159161 of _0x556bbc)for(const [_0x4d22ca,_0x3c7f5e]of _0x14c09d)_0x159161['getAttribute'](_0x4d22ca)!==_0x3c7f5e&&_0x14c09d['delete'](_0x4d22ca);return _0x14c09d;}});}['_disableCommandOnMergeFields'](_0x9d62ea){const _0x5c1802=this['editor'],_0x16b722=_0x5c1802['commands']['get'](_0x9d62ea);_0x16b722&&_0x16b722['on']('set:isEnabled',(_0x10c5ec,_0x511c9,_0x4a37ae)=>{if(0x1==_0x4a37ae){const _0x12a205=_0x5c1802['model']['document']['selection']['getSelectedElement']();_0x12a205&&this['isMergeField'](_0x12a205)&&(_0x10c5ec['return']=!0x1,_0x10c5ec['stop']());}});}}class MergeFieldsListView extends _0x1688f4{['filter'](_0x19a1c4){return Ht(_0x19a1c4,this['items']);}}class MergeFieldsPanelView extends _0xa34d16{constructor(_0x4ff867){super(_0x4ff867),this['set']('text','');const _0x354257=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':_0x354257['to']('text')}]}]});}}function lO(_0x4cd843,_0x127580){const t=_0x4cd843['t'];switch(_0x127580){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 _0x127580;}}class MergeFieldsUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return[_0x54efb5,MergeFieldsEditing,Dt,_0x4990cb];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x244b4e){super(_0x244b4e),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0xf536ca=this['editor'];_0xf536ca['ui']['componentFactory']['add']('insertMergeField',_0x44b670=>{const _0x5ab779=function(_0x4a72ff){const _0x3f6780=nt(_0x4a72ff);return _0x3f6780['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x3f6780['buttonView']['set']({'label':lO(_0x4a72ff,'Insert\x20merge\x20field'),'icon':_0x25cead,'tooltip':!0x0}),_0x3f6780;}(_0x44b670);return _0x5ab779['bind']('isEnabled')['toMany']([_0xf536ca['commands']['get']('insertMergeField'),_0xf536ca['commands']['get']('insertMergeFieldBlock'),_0xf536ca['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0xfb1244)=>_0xfb1244['some'](_0x239cdb=>_0x239cdb)),_0x5ab779['once']('change:isOpen',()=>{const _0x90b6c4={'insertInline':_0xf536ca['commands']['get']('insertMergeField'),'insertBlock':_0xf536ca['commands']['get']('insertMergeFieldBlock'),'insertImage':_0xf536ca['commands']['get']('insertMergeFieldImage')},_0x43aeb7=function(_0x2d4648,_0xd6e72c,_0x279f35){const _0x429364=new MergeFieldsListView(_0x2d4648),_0xd944f=[],_0x26fe19=[];for(const _0x1ec997 of _0xd6e72c)if('groupId'in _0x1ec997){const _0x3b256b=hO(_0x2d4648,_0x1ec997['groupLabel']||_0x1ec997['groupId'],_0x1ec997['definitions'],_0x279f35);_0x3b256b['delegate']('execute')['to'](_0x429364),_0x26fe19['push'](_0x3b256b);}else _0xd944f['push'](_0x1ec997);if(_0xd944f['length']){const _0x527ef9=hO(_0x2d4648,'Other',_0xd944f,_0x279f35);_0x527ef9['delegate']('execute')['to'](_0x429364),_0x26fe19['push'](_0x527ef9);}return _0x429364['items']['addMany'](_0x26fe19),_0x429364;}(_0x44b670,_0xf536ca['config']['get']('mergeFields.definitions'),_0x90b6c4);_0x43aeb7['delegate']('execute')['to'](_0x5ab779),_0x5ab779['on']('execute',(_0x3e5b3b,_0xdb9667)=>{const _0x4899f6=_0xf536ca['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0xdb9667);'image'===_0x4899f6?_0xf536ca['execute']('insertMergeFieldImage',_0xdb9667):'block'===_0x4899f6?_0xf536ca['execute']('insertMergeFieldBlock',_0xdb9667):_0xf536ca['execute']('insertMergeField',_0xdb9667),_0xf536ca['editing']['view']['focus']();});const _0x21567d=function(_0x355b37,_0x35467e){return new It(_0x355b37,{'filteredView':_0x35467e,'queryView':{'label':lO(_0x355b37,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':lO(_0x355b37,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':lO(_0x355b37,'No\x20merge\x20fields\x20available')}}}});}(_0x44b670,_0x43aeb7);_0x5ab779['panelView']['children']['add'](_0x21567d),_0x5ab779['on']('change:isOpen',(_0xe9a3f9,_0x175ae7,_0x317894)=>{_0x317894&&_0x21567d['reset']();});}),_0x5ab779;}),_0xf536ca['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x142756=>{const _0xb90151=new ot(_0x142756),_0x17d0ac={'insertInline':_0xf536ca['commands']['get']('insertMergeField'),'insertBlock':_0xf536ca['commands']['get']('insertMergeFieldBlock'),'insertImage':_0xf536ca['commands']['get']('insertMergeFieldImage')};_0xb90151['buttonView']['set']({'label':lO(_0x142756,'Merge\x20field'),'icon':_0x25cead}),_0xb90151['bind']('isEnabled')['toMany']([...Object['values'](_0x17d0ac)],'isEnabled',(..._0x2ed636)=>_0x2ed636['some'](_0xa80103=>_0xa80103));const _0x488830=[],_0x59f538=new lt(_0x142756);for(const _0x137220 of _0xf536ca['config']['get']('mergeFields.definitions'))if('groupId'in _0x137220){const _0x2b1e59=new ht(_0x142756,_0xb90151),_0x4ba676=dO(_0x142756,_0x137220,_0x17d0ac);_0x2b1e59['children']['add'](_0x4ba676),_0x4ba676['delegate']('execute')['to'](_0xb90151),_0x59f538['items']['add'](_0x2b1e59);}else _0x488830['push'](_0x137220);if(_0x488830['length']){if(0x0===_0x59f538['items']['length'])for(const _0x40826a of _0x488830){let _0x4f715b;_0x4f715b='block'===_0x40826a['type']?_0x17d0ac['insertBlock']:'image'===_0x40826a['type']?_0x17d0ac['insertImage']:_0x17d0ac['insertInline'];const _0x1ec732=fO(_0x142756,_0x40826a,_0xb90151,_0x4f715b);_0x59f538['items']['add'](_0x1ec732);}else{const _0x31ccd7=new ht(_0x142756,_0xb90151),_0x1f186d=dO(_0x142756,{'groupId':'Other','definitions':_0x488830},_0x17d0ac);_0x31ccd7['children']['add'](_0x1f186d),_0x1f186d['delegate']('execute')['to'](_0xb90151),_0x59f538['items']['add'](_0x31ccd7);}}return _0xb90151['panelView']['children']['add'](_0x59f538),_0xb90151['on']('execute',(_0x3d9be3,_0x291e9b)=>{const _0x59d3d2=_0xf536ca['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x291e9b);'image'===_0x59d3d2?_0xf536ca['execute']('insertMergeFieldImage',_0x291e9b):'block'===_0x59d3d2?_0xf536ca['execute']('insertMergeFieldBlock',_0x291e9b):_0xf536ca['execute']('insertMergeField',_0x291e9b),_0xf536ca['editing']['view']['focus']();}),_0xb90151;});const _0x5e01f2=_0xf536ca['config']['get']('mergeFields.previewModes'),_0xd1ab02=[];if(_0x5e01f2['includes']('$labels')&&_0xd1ab02['push']({'type':'button','model':new Ot({'withText':!0x0,'isToggleable':!0x0,'label':lO(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x5e01f2['includes']('$defaultValues')&&_0xd1ab02['push']({'type':'button','model':new Ot({'withText':!0x0,'isToggleable':!0x0,'label':lO(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x5e01f2['includes']('$dataSets')){const _0x42580e=_0xf536ca['config']['get']('mergeFields.dataSets');if(_0x42580e['length']){for(const _0x58cc1c of _0x42580e)_0xd1ab02['push']({'type':'button','model':new Ot({'withText':!0x0,'isToggleable':!0x0,'label':_0x58cc1c['label']||_0x58cc1c['id'],'commandValue':_0x58cc1c['id']})});}}_0xf536ca['ui']['componentFactory']['add']('previewMergeFields',_0x24d017=>{const _0xacd334=_0xf536ca['commands']['get']('previewMergeFields'),_0x4a008b=new _0x47a54f();for(const _0x274710 of kr(_0xd1ab02))_0x274710['model']['bind']('isOn')['to'](_0xacd334,'value',_0x2085fd=>_0x2085fd===_0x274710['model']['commandValue']),_0x4a008b['add'](_0x274710);const _0x419c0f=nt(_0x24d017),_0x8c3753=lO(_0x24d017,'Merge\x20fields\x20preview');return _0x419c0f['bind']('isEnabled')['to'](_0xacd334),pt(_0x419c0f,_0x4a008b,{'ariaLabel':_0x8c3753,'role':'menu'}),_0x419c0f['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x419c0f['buttonView']['set']({'label':_0x8c3753,'ariaLabel':_0x8c3753,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x2102ee,'tooltip':!0x0}),this['listenTo'](_0x419c0f,'execute',_0x59e2d7=>{const {commandValue:_0x33711b}=_0x59e2d7['source'];_0xf536ca['execute']('previewMergeFields',_0x33711b),_0xf536ca['editing']['view']['focus']();}),_0x419c0f;}),_0xf536ca['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x1e88ec=>{const _0x17eadf=new ot(_0x1e88ec),_0x43b323=_0xf536ca['commands']['get']('previewMergeFields');_0x17eadf['buttonView']['set']({'label':lO(_0x1e88ec,'Merge\x20fields\x20preview'),'icon':_0x2102ee}),_0x17eadf['bind']('isEnabled')['to'](_0x43b323);const _0x173285=new lt(_0x1e88ec);_0x173285['set']({'ariaLabel':lO(_0x1e88ec,'Merge\x20fields\x20preview')});for(const _0x6861bb of kr(_0xd1ab02)){const _0x2590bb=new ht(_0x1e88ec,_0x17eadf),_0x5a5737=new at(_0x1e88ec);_0x6861bb['model']['bind']('isOn')['to'](_0x43b323,'value',_0x1a88a9=>_0x1a88a9===_0x6861bb['model']['commandValue']),_0x5a5737['isToggleable']=!0x0,_0x5a5737['bind'](...Object['keys'](_0x6861bb['model']))['to'](_0x6861bb['model']),_0x5a5737['delegate']('execute')['to'](_0x17eadf),_0x5a5737['on']('execute',_0x6c547a=>{const {commandValue:_0xdf6b9}=_0x6c547a['source'];_0xf536ca['execute']('previewMergeFields',_0xdf6b9),_0xf536ca['editing']['view']['focus']();}),_0x2590bb['children']['add'](_0x5a5737),_0x173285['items']['add'](_0x2590bb);}return _0x17eadf['panelView']['children']['add'](_0x173285),_0x17eadf;}),this['_balloon']=_0xf536ca['plugins']['get'](Dt),this['listenTo'](_0xf536ca['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0xf536ca['ui']['focusTracker'],'change:isFocused',(_0x134b15,_0x35d7e9,_0x5a265c)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x5a265c?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x482f01=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x58ee0d;for(const _0x2addd3 in _0x482f01){const _0x4fade4=_0x2addd3,_0x450ed7=_0x482f01[_0x4fade4];if('mergeFieldsLicenseKeyValid'==_0x450ed7||'mergeFieldsLicenseKeyInvalid'==_0x450ed7||'mergeFieldsLicenseKeyExpired'==_0x450ed7||'mergeFieldsLicenseKeyDomainLimit'==_0x450ed7||'mergeFieldsLicenseKeyNotAllowed'==_0x450ed7||'mergeFieldsLicenseKeyEvaluationLimit'==_0x450ed7||'mergeFieldsLicenseKeyUsageLimit'==_0x450ed7){delete _0x482f01[_0x4fade4],_0x58ee0d=_0x450ed7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x58ee0d&&_0x482f01['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x58ee0d&&_0x482f01['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x58ee0d&&_0x482f01['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x58ee0d&&_0x482f01['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x58ee0d&&_0x482f01['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x58ee0d&&_0x482f01['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x5a46c5=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x55f631=!(!_0x5a46c5||!_0x5a46c5['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x55f631){const _0x53a294=_0x5a46c5['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=lO(this['editor']['locale'],_0x53a294),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x55f631){const _0xc42f76=_0x5a46c5['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](lO(this['editor']['locale'],_0xc42f76));}}}['_showBalloon'](_0x3b2b1f){this['_balloonPanelView']||(this['_balloonPanelView']=new MergeFieldsPanelView(this['editor']['locale']),this['_balloonPanelView']['text']=_0x3b2b1f),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x30aad5=this['editor']['editing']['view'];return{'target':()=>{const _0x3172bb=_0x30aad5['document']['selection']['getFirstRange'](),_0x318eeb=_0x30aad5['domConverter']['mapViewToDom'](_0x3172bb['getContainedElement']());return _0x318eeb?Array['from'](_0x318eeb['getClientRects']())[0x0]:_0x30aad5['domConverter']['viewRangeToDom'](_0x3172bb);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x103bfa=>_0x103bfa))return;const _0xe2d718=this['editor']['config']['get']('mergeFields.previewModes');_0xe2d718['indexOf']('$defaultValues')>-0x1&&_0xe2d718['length']>0x1&&(_0xe2d718['splice'](_0xe2d718['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0xe2d718));}['_removeMenuBarButtonIfUnnecessary'](){const _0x4ef8f9=this['editor']['config'];if(_0x4ef8f9['get']('mergeFields.previewModes')){const _0x428ffc=_0x4ef8f9['get']('mergeFields.previewModes');if(0x1===_0x428ffc['length']){if(_0x428ffc['includes']('$dataSets'))0x1===_0x4ef8f9['get']('mergeFields.dataSets')['length']&&_0x4dbdaf();else _0x4dbdaf();}}function _0x4dbdaf(){const _0x4efe38=_0x4ef8f9['get']('menuBar.removeItems');_0x4efe38?(_0x4efe38['push']('menuBar:previewMergeFields'),_0x4ef8f9['set']('menuBar.removeItems',_0x4efe38)):_0x4ef8f9['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x21b4fe=this['editor'],_0x431c1a=_0x21b4fe['config']['get']('mention.feeds'),_0x27a9ff=_0x21b4fe['config']['get']('mergeFields.prefix');_0x431c1a['push']({'marker':_0x27a9ff,'dropdownLimit':0xa,'feed':_0x927cbc=>_0x21b4fe['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x44520c=>{const _0x285804=_0x21b4fe['commands']['get']('insertMergeField')['isEnabled'],_0x4a5046=_0x21b4fe['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x387993=_0x21b4fe['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x30a875=_0x21b4fe['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x44520c['id']);if('text'===_0x30a875&&!_0x285804)return!0x1;if('block'===_0x30a875&&!_0x4a5046)return!0x1;if('image'===_0x30a875&&!_0x387993)return!0x1;return(_0x21b4fe['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x44520c['id'])||_0x44520c['id'])['toLowerCase']()['includes'](_0x927cbc['toLowerCase']());}),'itemRenderer':_0x3e1653=>{const _0x28408b=document['createElement']('button');return _0x28408b['innerHTML']=''+(_0x3e1653['label']||_0x3e1653['id']),_0x28408b;}}),_0x21b4fe['config']['set']('mention.feeds',_0x431c1a);}['_overrideMentionExecuteListener'](){const _0x5ebc17=this['editor'];_0x5ebc17['commands']['get']('mention')['on']('execute',(_0x1603c3,_0x2ed79f)=>{const _0x4b5061=_0x2ed79f[0x0];_0x4b5061['marker']===_0x5ebc17['config']['get']('mergeFields.prefix')&&_0x5ebc17['model']['change'](_0x5b0fa7=>{_0x5b0fa7['remove'](_0x4b5061['range']);const _0x30d3a2=_0x4b5061['mention']['id'],_0xff2f63=_0x5ebc17['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x30d3a2);'text'===_0xff2f63?_0x5ebc17['execute']('insertMergeField',_0x30d3a2):'block'===_0xff2f63?_0x5ebc17['execute']('insertMergeFieldBlock',_0x30d3a2,!0x1):_0x5ebc17['execute']('insertMergeFieldImage',_0x30d3a2,{'breakBlock':!0x0}),_0x1603c3['stop']();});},{'priority':'high'});}}function hO(_0x58ba27,_0x2cd8f8,_0x1391e3,_0x379d4b){const _0x1e4973=new _0x121725(_0x58ba27,new Gt());_0x1e4973['label']=_0x2cd8f8;for(const _0x203906 of _0x1391e3){let _0x5ecc11;_0x5ecc11='block'===_0x203906['type']?_0x379d4b['insertBlock']:'image'===_0x203906['type']?_0x379d4b['insertImage']:_0x379d4b['insertInline'];const _0x3d38bd=uO(_0x58ba27,_0x203906,_0x5ecc11);_0x3d38bd['delegate']('execute')['to'](_0x1e4973),_0x1e4973['items']['add'](_0x3d38bd);}return _0x1e4973;}function uO(_0x34993c,_0x4ae2e7,_0x56ced8){const _0x483dab=new _0xcc051a(_0x34993c),_0x8b4bd2=new Ct(),_0x4ce392=new _0x4c508c(_0x34993c,_0x8b4bd2);return _0x483dab['children']['add'](_0x4ce392),_0x4ce392['set']({'label':_0x4ae2e7['label']||_0x4ae2e7['id'],'withText':!0x0}),_0x4ce392['bind']('isEnabled')['to'](_0x56ced8),_0x4ce392['on']('execute',()=>{_0x483dab['fire']('execute',_0x4ae2e7['id']);}),_0x483dab;}function dO(_0x58ca42,_0x357f7c,_0x5c0893){const _0x42dff6=new ot(_0x58ca42),_0x32be56=new lt(_0x58ca42);for(const _0x322bc3 of _0x357f7c['definitions']){let _0x321177;_0x321177='block'===_0x322bc3['type']?_0x5c0893['insertBlock']:'image'===_0x322bc3['type']?_0x5c0893['insertImage']:_0x5c0893['insertInline'];const _0x2a40a3=fO(_0x58ca42,_0x322bc3,_0x42dff6,_0x321177);_0x32be56['items']['add'](_0x2a40a3);}return _0x42dff6['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x42dff6['buttonView']['set']({'label':_0x357f7c['groupLabel']||_0x357f7c['groupId']}),_0x42dff6['panelView']['children']['add'](_0x32be56),_0x42dff6;}function fO(_0x4c38fa,_0x23453f,_0x354f96,_0x252f5){const _0x5c4648=new ht(_0x4c38fa,_0x354f96),_0x319fd8=new at(_0x4c38fa);return _0x319fd8['set']({'label':_0x23453f['label']||_0x23453f['id']}),_0x5c4648['delegate']('execute')['to'](_0x354f96),_0x5c4648['children']['add'](_0x319fd8),_0x319fd8['bind']('isEnabled')['to'](_0x252f5),_0x319fd8['on']('execute',()=>{_0x5c4648['fire']('execute',_0x23453f['id']);}),_0x5c4648;}class MergeFields extends _0x151d85{static get['requires'](){return[MergeFieldsEditing,MergeFieldsUI];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PaginationLookup extends _0x151d85{['_recalculatePageBreaksDebounced']=Fr(()=>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 _0x445208('pagination-config-not-found',this['editor']['config']);const _0x34ced2=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x34ced2),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x4285d9,_0x384f2a,_0x3d587d)=>{_0x3d587d&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x2f0e07){const _0x3f247b=_0x1282b8([0x49,0x39,0x73,0x43,0x6d,0x67,0x33,0x44,0x4a,0x69,0x47,0x35,0x4c,0x46,0x4d,0x75,0x51,0x6a,0x77,0x68,0x54,0x30,0x58,0x42,0x59,0x79,0x78,0x53,0x71,0x76,0x64,0x50,0x4f,0x34,0x36,0x4e,0x5a,0x41,0x63,0x56,0x7a,0x62,0x37,0x31,0x52,0x57,0x6b,0x66,0x65,0x38,0x6f,0x4b,0x70,0x74,0x6e,0x72,0x55,0x45,0x61,0x6c,0x32,0x48]),_0x3855a0=0xc82cb1e,_0x4cccd9=0xc8540ce^_0x3855a0,_0x51d1ad=window[_0x1282b8([0x44,0x61,0x74,0x65])][_0x1282b8([0x6e,0x6f,0x77])](),_0x1f5024=_0x2f0e07[_0x1282b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xcf4f32=new window[(_0x1282b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a8d92=>{_0x1f5024[_0x1282b8([0x6f,0x6e,0x63,0x65])](_0x1282b8([0x72,0x65,0x61,0x64,0x79]),_0x5a8d92);}),_0x4efeb1={[_0x1282b8([0x6b,0x74,0x79])]:_0x1282b8([0x45,0x43]),[_0x1282b8([0x75,0x73,0x65])]:_0x1282b8([0x73,0x69,0x67]),[_0x1282b8([0x63,0x72,0x76])]:_0x1282b8([0x50,0x2d,0x32,0x35,0x36]),[_0x1282b8([0x78])]:_0x1282b8([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1282b8([0x79])]:_0x1282b8([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1282b8([0x61,0x6c,0x67])]:_0x1282b8([0x45,0x53,0x32,0x35,0x36])},_0x209539=_0x1f5024[_0x1282b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1282b8([0x67,0x65,0x74])](_0x1282b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x423190(){let _0xde46cf,_0x4b4edb=null,_0x3ec7d8=null;try{if(_0x209539==_0x1282b8([0x47,0x50,0x4c]))return _0x1282b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xde46cf=_0x57f789(),!_0xde46cf)return _0x1282b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xde46cf[_0x1282b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ec7d8=_0x1b1243(_0xde46cf[_0x1282b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xde46cf[_0x1282b8([0x6a,0x74,0x69])])),await _0x4c883e()?_0x14b87f()?_0x165652()?_0x1282b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4910c0()?(_0xde46cf[_0x1282b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1282b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b4edb=_0x3ddca0(_0x1282b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x118f9b()):_0x1282b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1282b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1282b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1282b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x165652(){const _0x29db62=[_0x1282b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1282b8([0x74,0x72,0x69,0x61,0x6c])][_0x1282b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xde46cf[_0x1282b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51d1ad/0x3e8:0xe10*_0x4cccd9;return _0xde46cf[_0x1282b8([0x65,0x78,0x70])]<_0x29db62;}function _0x14b87f(){const _0x5efac2=_0xde46cf[_0x1282b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5efac2&&(!!_0x5efac2[_0x1282b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1282b8([0x2a]))||!!_0x5efac2[_0x1282b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1282b8([0x50,0x41,0x47])));}function _0x4910c0(){const _0x597d43=_0xde46cf[_0x1282b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x597d43||0x0==_0x597d43[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38ceb7}=new URL(window[_0x1282b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x597d43[_0x1282b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38ceb7))return!0x0;const _0x4862f5=_0x38ceb7[_0x1282b8([0x73,0x70,0x6c,0x69,0x74])](_0x1282b8([0x2e]));return _0x597d43[_0x1282b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c5ad2=>_0x1c5ad2[_0x1282b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1282b8([0x2a])))[_0x1282b8([0x6d,0x61,0x70])](_0x3f41f5=>_0x3f41f5[_0x1282b8([0x73,0x70,0x6c,0x69,0x74])](_0x1282b8([0x2e])))[_0x1282b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e4388=>_0x1e4388[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4862f5[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1282b8([0x6d,0x61,0x70])](_0x5da79a=>Array(_0x4862f5[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5da79a[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1282b8([0x66,0x69,0x6c,0x6c])](_0x5da79a[0x0]===_0x1282b8([0x2a])?_0x1282b8([0x2a]):'')[_0x1282b8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5da79a))[_0x1282b8([0x73,0x6f,0x6d,0x65])](_0x1b0505=>_0x4862f5[_0x1282b8([0x65,0x76,0x65,0x72,0x79])]((_0x55b205,_0x2a89fa)=>_0x1b0505[_0x2a89fa]===_0x55b205||_0x1b0505[_0x2a89fa]===_0x1282b8([0x2a])));}function _0x118f9b(){return _0x4b4edb&&_0x3ec7d8?new window[(_0x1282b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e92f0,_0x800646)=>{_0x4b4edb[_0x1282b8([0x74,0x68,0x65,0x6e])](_0x3e92f0,_0x800646),_0x3ec7d8[_0x1282b8([0x74,0x68,0x65,0x6e])](_0x38ae2a=>{_0x38ae2a!=_0x1282b8([0x56,0x61,0x6c,0x69,0x64])&&_0x3e92f0(_0x38ae2a);},_0x800646);}):_0x4b4edb||_0x3ec7d8||_0x1282b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b1243(_0x61f044,_0x304606){return new window[(_0x1282b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18518e=>{if(_0x198c92())return _0x18518e(_0x1282b8([0x56,0x61,0x6c,0x69,0x64]));_0x4468fd(),_0x1f5024[_0x1282b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1282b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c8d46=!0x1;const _0x2554ac=_0x3eda13();function _0x4f2a73(_0x5c0cd6){return!!_0x5c0cd6&&(typeof _0x5c0cd6===_0x1282b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c0cd6===_0x1282b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c0cd6[_0x1282b8([0x74,0x68,0x65,0x6e])]===_0x1282b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c0cd6[_0x1282b8([0x63,0x61,0x74,0x63,0x68])]===_0x1282b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4616a7(_0xfe675){_0x36ceac(_0xfe675)[_0x1282b8([0x74,0x68,0x65,0x6e])](_0xb80401=>{if(!_0xb80401||_0xb80401[_0x1282b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1282b8([0x6f,0x6b]))return _0x1282b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x408a6b(_0x44d2cb(_0x2554ac+_0x304606))!=_0xb80401[_0x1282b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1282b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1282b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x1282b8([0x74,0x68,0x65,0x6e])](_0x1d0dd5=>(_0x71954e(),_0x1d0dd5),()=>{const _0xc9344=_0x55d088();return null==_0xc9344?(_0x71954e(),_0x1282b8([0x56,0x61,0x6c,0x69,0x64])):_0x1282b8(_0x51d1ad-_0xc9344>(0x288e4f1e^_0x3855a0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1282b8([0x74,0x68,0x65,0x6e])](_0x18518e)[_0x1282b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18518e(_0x1282b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c103b=0xcb4259e^_0x3855a0;function _0x71954e(){const _0x267f7e=_0x1282b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x408a6b(_0x44d2cb(_0x61f044)),_0x594120=_0x3d0672(_0x408a6b(window[_0x1282b8([0x4d,0x61,0x74,0x68])][_0x1282b8([0x63,0x65,0x69,0x6c])](_0x51d1ad/_0x5c103b)));window[_0x1282b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1282b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x267f7e,_0x594120);}function _0x55d088(){const _0x497b87=_0x1282b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x408a6b(_0x44d2cb(_0x61f044)),_0xf5881b=window[_0x1282b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1282b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x497b87);return _0xf5881b?window[_0x1282b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d0672(_0xf5881b),0x10)*_0x5c103b:null;}function _0x36ceac(_0x13c0ed){return new window[(_0x1282b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ff950,_0x35db40)=>{_0x13c0ed[_0x1282b8([0x74,0x68,0x65,0x6e])](_0x1ff950,_0x35db40),window[_0x1282b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x35db40,0xc831fde^_0x3855a0);});}}_0x1f5024[_0x1282b8([0x6f,0x6e])](_0x1282b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51ab96,_0x6339b)=>{if(_0x6339b[0x0]!=_0x61f044)return _0x18518e(_0x1282b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x6339b[0x1]={..._0x6339b[0x1],[_0x1282b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2554ac};},{[_0x1282b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1282b8([0x68,0x69,0x67,0x68])}),_0x1f5024[_0x1282b8([0x6f,0x6e])](_0x1282b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x51ee8b=>{_0x4f2a73(_0x51ee8b[_0x1282b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c8d46=!0x0,_0x4616a7(_0x51ee8b[_0x1282b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1282b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1282b8([0x6c,0x6f,0x77])}),_0xcf4f32[_0x1282b8([0x74,0x68,0x65,0x6e])](()=>{_0x5c8d46||_0x18518e(_0x1282b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x198c92(){return _0x1f5024[_0x1282b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1282b8([0x76,0x69,0x65,0x77])][_0x1282b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1282b8([0x61,0x75,0x74,0x6f]);}function _0x4468fd(){_0x1f5024[_0x1282b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1282b8([0x76,0x69,0x65,0x77])][_0x1282b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1282b8([0x61,0x75,0x74,0x6f]);}}function _0x3ddca0(_0x20fc0e){const _0x498830=[new window[(_0x1282b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43a406=>setTimeout(_0x43a406,0xc8bf5d2^_0x3855a0)),_0xcf4f32[_0x1282b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1282b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d959c=>{let _0x8a71ec=0x0;_0x1f5024[_0x1282b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1282b8([0x6f,0x6e])](_0x1282b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x155ffc,_0x4febde)=>{_0x4febde[0x0][_0x1282b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x8a71ec++,_0x8a71ec==(0xc82cef6^_0x3855a0)&&(_0x3d959c(),_0x155ffc[_0x1282b8([0x6f,0x66,0x66])]());});}))];return window[_0x1282b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1282b8([0x72,0x61,0x63,0x65])](_0x498830)[_0x1282b8([0x74,0x68,0x65,0x6e])](()=>_0x20fc0e);}async function _0x5906b8(){await _0xcf4f32,_0x1f5024[_0x1282b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1282b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10e417,_0x1f5024[_0x1282b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x1282b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10e417,_0x1f5024[_0x1282b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1282b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b702c(_0x37065a){const _0x2c5939=_0x252d0a();_0x1f5024[_0x2c5939]=_0x1282b8([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x37065a,_0x37065a!=_0x1282b8([0x56,0x61,0x6c,0x69,0x64])&&_0x5906b8();}function _0x252d0a(){const _0x36323f=window[_0x1282b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1282b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1282b8([0x6e,0x6f,0x77])]())[_0x1282b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1282b8([0x2e]),'');let _0x363e7b=_0x1282b8([0x49]);for(let _0x4aedb0=0x0;_0x4aedb0<_0x36323f[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4aedb0+=0x2){let _0x769596=window[_0x1282b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36323f[_0x1282b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4aedb0,_0x4aedb0+0x2));_0x769596>=_0x3f247b[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x769596-=_0x3f247b[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x363e7b+=_0x3f247b[_0x769596];}return _0x363e7b;}function _0x57f789(){const _0x29914b=_0x209539[_0x1282b8([0x73,0x70,0x6c,0x69,0x74])](_0x1282b8([0x2e]));if(0x3!=_0x29914b[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2960cd(_0x29914b[0x1]);function _0x2960cd(_0x2bafa4){const _0x5d73ff=_0x16ba53(_0x2bafa4);return _0x5d73ff&&_0x39fc63()?_0x5d73ff:null;function _0x39fc63(){const _0x3a017a=_0x5d73ff[_0x1282b8([0x6a,0x74,0x69])],_0x4d3bbe=window[_0x1282b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a017a[_0x1282b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a017a[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x66a5a3={..._0x5d73ff,[_0x1282b8([0x6a,0x74,0x69])]:_0x3a017a[_0x1282b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a017a[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x66a5a3[_0x1282b8([0x76,0x63])],_0x44d2cb(_0x66a5a3)==_0x4d3bbe;}}}async function _0x4c883e(){let _0x28a6aa=!0x0;try{const _0x38a616=_0x209539[_0x1282b8([0x73,0x70,0x6c,0x69,0x74])](_0x1282b8([0x2e])),[_0x229d82,_0x31eb1a,_0xf04eef]=_0x38a616;return _0x51c612(_0x229d82),await _0x28a91c(_0x229d82,_0x31eb1a,_0xf04eef),_0x28a6aa;}catch{return!0x1;}function _0x51c612(_0x348fe5){const _0x3dae8a=_0x16ba53(_0x348fe5);_0x3dae8a&&_0x3dae8a[_0x1282b8([0x61,0x6c,0x67])]==_0x1282b8([0x45,0x53,0x32,0x35,0x36])||(_0x28a6aa=!0x1);}async function _0x28a91c(_0x4e3551,_0x4530bd,_0x54f3ad){const _0x5af76=window[_0x1282b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1282b8([0x66,0x72,0x6f,0x6d])](_0x11c2a8(_0x54f3ad),_0x211353=>_0x211353[_0x1282b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe1bc10=new window[(_0x1282b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1282b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4e3551+_0x1282b8([0x2e])+_0x4530bd),_0x1477b9=window[_0x1282b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1282b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1477b9)return;const _0x2e1594=await _0x1477b9[_0x1282b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1282b8([0x6a,0x77,0x6b]),_0x4efeb1,{[_0x1282b8([0x6e,0x61,0x6d,0x65])]:_0x1282b8([0x45,0x43,0x44,0x53,0x41]),[_0x1282b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1282b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1282b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1477b9[_0x1282b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1282b8([0x6e,0x61,0x6d,0x65])]:_0x1282b8([0x45,0x43,0x44,0x53,0x41]),[_0x1282b8([0x68,0x61,0x73,0x68])]:{[_0x1282b8([0x6e,0x61,0x6d,0x65])]:_0x1282b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e1594,_0x5af76,_0xe1bc10)||(_0x28a6aa=!0x1);}}function _0x16ba53(_0x151d11){return _0x151d11[_0x1282b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1282b8([0x65,0x79]))?JSON[_0x1282b8([0x70,0x61,0x72,0x73,0x65])](_0x11c2a8(_0x151d11)):null;}function _0x11c2a8(_0x4cd109){return window[_0x1282b8([0x61,0x74,0x6f,0x62])](_0x4cd109[_0x1282b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1282b8([0x2b]))[_0x1282b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1282b8([0x2f])));}function _0x44d2cb(_0x5dab0b){let _0xe4a99f=0x1505;function _0x11abcd(_0x14f08e){for(let _0x193fd6=0x0;_0x193fd6<_0x14f08e[_0x1282b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x193fd6++){const _0x52cdf5=_0x14f08e[_0x1282b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x193fd6);_0xe4a99f=(_0xe4a99f<<0x5)+_0xe4a99f+_0x52cdf5,_0xe4a99f&=_0xe4a99f;}}function _0x12c648(_0x2296fb){Array[_0x1282b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2296fb)?_0x2296fb[_0x1282b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12c648):_0x2296fb&&typeof _0x2296fb==_0x1282b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1282b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2296fb)[_0x1282b8([0x73,0x6f,0x72,0x74])]()[_0x1282b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x509469,_0x3567c7])=>{_0x11abcd(_0x509469),_0x12c648(_0x3567c7);}):_0x11abcd(window[_0x1282b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2296fb));}return _0x12c648(_0x5dab0b),_0xe4a99f>>>0x0;}function _0x408a6b(_0x13f9e8){return _0x13f9e8[_0x1282b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1282b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1282b8([0x30]));}function _0x3d0672(_0x50b6a4){return _0x50b6a4[_0x1282b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1282b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1282b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x10e417(){}function _0x1282b8(_0x50275b){return _0x50275b['map'](_0x18fdbf=>String['fromCharCode'](_0x18fdbf))['join']('');}_0x5b702c(await _0x423190());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x1a407e=this['editor'],_0x2327aa=_0x1a407e['editing']['view'],_0x1ff366=this['_getAttachedDomRoot']();if(!_0x1ff366||!_0x1ff366['hasChildNodes']())return void _0x1a407e['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x3d85d7,pageHeight:_0x42a8ad}=_0x1a407e['config']['get']('pagination'),{top:_0x24b72d,left:_0x139e70,bottom:_0x4873cc,right:_0x39a4a7}=this['_configuredPaddings'];this['_pagesContainer']=new _0xa34d16(_0x1a407e['locale']);const _0x2bb410=this['_pagesContainer'];_0x2bb410['set']('class',''),_0x2bb410['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x3d85d7,'width':_0x3d85d7,'height':'calc(\x20'+_0x42a8ad+'\x20-\x20'+_0x24b72d+'\x20-\x20'+_0x4873cc+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x39a4a7+'\x200\x20'+_0x139e70,'columnGap':'calc('+_0x139e70+'\x20+\x20'+_0x39a4a7+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x2bb410['bindTemplate']['to']('class')}}),_0x2bb410['render'](),_0x1ff366['parentNode']['insertBefore'](_0x2bb410['element'],_0x1ff366['nextSibling']),this['listenTo'](_0x2327aa,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x3bbbc3 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3bbbc3['ownerDocument']['body']['contains'](_0x3bbbc3))return _0x3bbbc3;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x13f24a=this['editor']['editing']['view'],_0x19c1df=this['_pagesContainer'],_0x4c26e9=this['_getAttachedDomRoot']();if(!_0x4c26e9||!_0x19c1df)return Promise['resolve']();for(_0x19c1df['class']=['ck-reset','ck-pagination-view',..._0x4c26e9['classList']]['join']('\x20');_0x19c1df['element']['firstChild'];)_0x19c1df['element']['firstChild']['remove']();const _0x2f4689=Array['from'](_0x13f24a['domRoots']);_0x2f4689['sort'](([,_0x9a83f2],[,_0xa7a54c])=>_0x9a83f2['compareDocumentPosition'](_0xa7a54c)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0xb13672,_0xdfda48]of _0x2f4689){const _0x356de1=_0xdfda48['cloneNode'](!0x0);'attributeStyleMap'in _0x356de1&&_0x356de1['attributeStyleMap']['clear'](),_0x356de1['dataset']['rootName']=_0xb13672,_0x356de1['className']='ck-content\x20ck-pagination_enabled',_0x356de1['removeAttribute']('id'),_0x356de1['tabIndex']=-0x1,_0x19c1df['element']['append'](_0x356de1);}const _0x4d86c8=Array['from'](_0x19c1df['element']['querySelectorAll']('img'));return function(_0x17849b){return Promise['all'](_0x17849b['map'](_0x2a84cb=>Promise['race']([pO(_0x2a84cb),OO(0x3e8)])));}(_0x4d86c8)['then'](()=>{for(const _0xac79f7 of _0x4d86c8['filter'](_0x16d698=>!_0x16d698['closest']('table')))if(_0xac79f7['offsetParent']){const _0x5e3be8=_0x313644['window']['getComputedStyle'](_0xac79f7),_0x52bcc2=_0x313644['document']['createElement']('span');for(const _0x4d7e07 of _0x5e3be8)_0x52bcc2['style']['setProperty'](_0x4d7e07,_0x5e3be8[_0x4d7e07]);_0x52bcc2['style']['backgroundImage']='url(\x20'+_0xac79f7['src']+'\x20)',_0x52bcc2['style']['breakInside']='avoid','PICTURE'==_0xac79f7['parentElement']?.['tagName']?_0xac79f7['parentElement']['replaceWith'](_0x52bcc2):_0xac79f7['replaceWith'](_0x52bcc2);}return new Promise(_0x3c830d=>_0x313644['window']['requestAnimationFrame'](()=>_0x3c830d()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x3ada50=this['_pagesContainer']['element'];if(!_0x3ada50['ownerDocument']['body']['contains'](_0x3ada50))return;const _0x494d13=new _0x2bf707(_0x3ada50)['excludeScrollbarsAndBorders'](),_0x2a4285=Math['floor'](_0x494d13['width']+0x64),_0x3f179a=vO(_0x3ada50,Math['floor'](_0x494d13['left']-_0x3ada50['scrollLeft']),_0x2a4285,_0x494d13['height'])['map'](_0x4d930b=>this['_mapPageStarterInfoToPageBreakInfo'](_0x4d930b))['filter'](_0x38dc9e=>!0x1!==_0x38dc9e);_0x3f179a['every'](_0x34445c=>!!_0x34445c)&&(this['pageBreaks']=_0x3f179a);}['_mapPageStarterInfoToPageBreakInfo'](_0x3355f0){const _0x1c5f66=this['editor']['editing']['view'],_0x224308=this['editor']['editing']['mapper'],_0x249247=_0x1c5f66['domConverter'],_0x104431=_0x3355f0['path']['shift'](),_0x454e19=this['_pagesContainer']['element']['childNodes'][_0x104431]['dataset']['rootName'],_0x50c2c2=_0x1c5f66['getDomRoot'](_0x454e19);if(!_0x50c2c2)return null;const _0x331585=function(_0x237631,_0x2d0fdb){let _0x488946=_0x237631;for(const _0x1571a7 of _0x2d0fdb['path']){if(!_0x488946)return null;_0x488946=_0x488946['childNodes'][_0x1571a7];}return _0x488946;}(_0x50c2c2,_0x3355f0);if(!_0x331585)return null;const _0x690f07=_0x249247['domPositionToView'](_0x331585,_0x3355f0['textOffset']||0x0);return _0x690f07?'manual'==_0x3355f0['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x690f07,_0x331585):'text'==_0x3355f0['type']&&_0x224308['toModelPosition'](_0x690f07)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x690f07,_0x331585,_0x3355f0['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x690f07,_0x331585,_0x3355f0['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x29ef6c,_0x51ec61){const _0x529400=this['editor']['model'],_0x3d7f22=this['editor']['editing']['mapper']['toModelElement'](_0x29ef6c['parent']),_0x1941b0=_0x529400['createRangeOn'](_0x3d7f22);return new PageBreakInfo({'type':'manual','modelRange':_0x1941b0,'domNode':_0x51ec61,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x49b820,_0x2713ed,_0x1bf74d){const _0xd87f18=this['editor']['model'],_0x37838=this['editor']['editing']['mapper'],_0x5b7905=this['editor']['editing']['view']['domConverter'];if(_0x1bf74d>=_0x2713ed['length'])return null;const _0x1e146f=_0x37838['toModelPosition'](_0x49b820),_0x339829=_0xd87f18['createRange'](_0x1e146f),_0x4100dc=_0x37838['findMappedViewAncestor'](_0x49b820),_0x1e6b1b=_0x5b7905['mapViewToDom'](_0x4100dc);return new PageBreakInfo({'type':'text','modelRange':_0x339829,'domNode':_0x2713ed,'offset':mO(_0x2713ed,_0x1bf74d,_0x1e6b1b)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x25328b,_0x598a10,_0xb8cb37){const _0x474211=this['editor']['model'],_0x240440=this['editor']['editing'],_0x16426d=_0x240440['mapper'],_0xd4974f=_0x240440['view']['domConverter'],_0x4f93b6=_0x16426d['findMappedViewAncestor'](_0x25328b),_0x29c5fa=_0x16426d['toModelElement'](_0x4f93b6);if(!_0x29c5fa||_0x29c5fa['is']('rootElement'))return!0x1;const _0x202a41=function(_0x426d8e){const _0xe47e5f=_0x426d8e['parent'],_0x5227bb=_0xe47e5f['root']['document']['model'],_0x4c6498=_0xe47e5f['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x32abfa=null;for(const _0x9e3d33 of _0x4c6498){if(_0x9e3d33['is']('rootElement'))return _0x32abfa;if(!_0x5227bb['createPositionBefore'](_0x9e3d33)['isTouching'](_0x426d8e))return _0x32abfa;_0x32abfa=_0x9e3d33;}}(_0x474211['createPositionBefore'](_0x29c5fa)),_0x4ac718=_0x202a41||_0x29c5fa;let _0x3b48a3=_0x16426d['toViewElement'](_0x4ac718),_0x194c72=_0x474211['createRangeOn'](_0x4ac718);const _0x5d1851=_0x474211['createPositionBefore'](_0x4ac718)['nodeBefore'];if(_0x5d1851&&_0x5d1851['is']('element','imageBlock')){const _0x1885b0=_0x16426d['toViewElement'](_0x5d1851),_0x124395=_0xd4974f['mapViewToDom'](_0x1885b0),_0xc19b31=_0x313644['window']['getComputedStyle'](_0x124395)['float'];'left'!=_0xc19b31&&'right'!=_0xc19b31||(_0x194c72=_0x474211['createRangeOn'](_0x5d1851));}for(;_0x3b48a3['parent']!==_0x3b48a3['root']&&0x0===_0x3b48a3['index'];)_0x3b48a3=_0x3b48a3['parent'];const _0xe89b45=new _0x2bf707(IO(_0x598a10)?_0x598a10:wO(_0x598a10)),_0x3ad4fa=_0xb8cb37?_0xe89b45['height']-_0xb8cb37:0x0,_0x4651cd=_0xd4974f['mapViewToDom'](_0x3b48a3),_0x4f18ed=new _0x2bf707(_0x4651cd);return new PageBreakInfo({'type':'element','modelRange':_0x194c72,'domNode':_0x4651cd,'offset':Math['round'](_0x3ad4fa)||_0x4f93b6!=gO(_0x25328b)?_0x3ad4fa+_0xe89b45['top']-_0x4f18ed['top']:0x0});}get['_configuredPaddings'](){const _0x452be9=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x452be9);}static['_findPageStarterInfos'](_0x1cbcb9,_0x2a75b6,_0x1b7078,_0x4abdfc,_0x51b105){return vO(_0x1cbcb9,_0x2a75b6,_0x1b7078,_0x4abdfc,_0x51b105);}}class PageBreakInfo{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x2fc2f8,modelRange:_0x5d3404,domNode:_0x5276e1,offset:_0x13e464}){this['type']=_0x2fc2f8,this['modelRange']=_0x5d3404,this['_domNode']=_0x5276e1,this['_offset']=_0x13e464;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x464d5f=new _0x2bf707(IO(this['_domNode'])?this['_domNode']:wO(this['_domNode']));return'manual'==this['type']?_0x464d5f['top']+_0x464d5f['height']/0x2:_0x464d5f['top']+this['_offset'];}}function mO(_0x311c3d,_0x4431ea,_0x1b4e78){const _0x59ad51=wO(_0x311c3d),_0x4871d5=function(_0x336176){const _0x2f34f3=_0x313644['document']['createRange']();return _0x2f34f3['selectNodeContents'](_0x336176),_0x2f34f3;}(_0x1b4e78);let _0x2873ae;_0x2873ae=0x0==_0x4431ea?yO(_0x4871d5['startContainer'],_0x4871d5['startOffset'],_0x311c3d['parentNode'],Array['from'](_0x311c3d['parentNode']['childNodes'])['indexOf'](_0x311c3d)):yO(_0x4871d5['startContainer'],_0x4871d5['startOffset'],_0x311c3d,_0x4431ea);const _0x472d2f=yO(_0x311c3d,_0x4431ea,_0x4871d5['endContainer'],_0x4871d5['endOffset']),_0x47e78b=new _0x2bf707(_0x2873ae)['bottom'];return(new _0x2bf707(_0x472d2f)['top']+_0x47e78b)/0x2-new _0x2bf707(_0x59ad51)['top'];}function gO(_0x248852){let _0x497c3f=_0x248852['parent'];for(;_0x497c3f['is']('$text')||_0x497c3f['is']('attributeElement');)_0x497c3f=_0x497c3f['parent'];return _0x497c3f;}function pO(_0x397ff4){return _0x397ff4['hasAttribute']('width')&&_0x397ff4['hasAttribute']('height')?Promise['resolve']():new Promise(_0x37e935=>{function _0x19d48c(){_0x397ff4['removeEventListener']('load',_0x19d48c),_0x397ff4['removeEventListener']('error',_0x19d48c),_0x37e935();}_0x397ff4['complete']?_0x37e935():(_0x397ff4['addEventListener']('load',_0x19d48c),_0x397ff4['addEventListener']('error',_0x19d48c));});}function OO(_0xd35c86){return new Promise(_0x225450=>setTimeout(_0x225450,_0xd35c86));}function wO(_0x4406dc){const _0x2e5443=_0x313644['document']['createRange']();return _0x2e5443['selectNode'](_0x4406dc),_0x2e5443;}function bO(_0xe0146a,_0x174de2,_0x1d022d){const _0x51fbd3=_0x313644['document']['createRange']();return _0x51fbd3['setStart'](_0xe0146a,_0x174de2),_0x51fbd3['setEnd'](_0xe0146a,_0x1d022d),_0x51fbd3;}function yO(_0x2e3d8f,_0x403690,_0x23984b,_0x209e04){const _0x1463a9=_0x313644['document']['createRange']();return _0x1463a9['setStart'](_0x2e3d8f,_0x403690),_0x1463a9['setEnd'](_0x23984b,_0x209e04),_0x1463a9;}function vO(_0x31a092,_0x2dea22,_0x206d39,_0x217350,_0x577bdd){const _0xe8ebe6=[];for(const [_0x283d20,_0x377d04]of _0x31a092['childNodes']['entries']()){let _0x4c031c=[];IO(_0x377d04)&&_0x377d04['offsetParent']&&['static','relative']['includes'](_0x313644['window']['getComputedStyle'](_0x377d04)['position'])?_0x4c031c=_O(_0x377d04,_0x283d20,_0x2dea22,_0x206d39,_0x217350,_0x577bdd):SO(_0x377d04)&&(_0x4c031c=EO(_0x377d04,_0x283d20,_0x2dea22,_0x206d39,_0x577bdd)),_0x4c031c['length']&&(_0xe8ebe6['push'](..._0x4c031c),_0x2dea22+=_0x4c031c['length']*_0x206d39,_0x577bdd=!0x1);}return _0xe8ebe6;}function _O(_0x49f40a,_0x94e2a6,_0x4f774b,_0x5f7aae,_0x1a0641,_0x4307ef){const _0x377c02=[];var _0x22e175;if((_0x22e175=_0x49f40a['previousSibling'])&&IO(_0x22e175)&&Boolean(_0x22e175['classList']['contains']('page-break')||_0x22e175['closest']('.page-break'))&&(_0x377c02['push']({'type':'manual','offset':0x0,'path':[_0x94e2a6-0x1]}),_0x4307ef=!0x0),'table-row'==_0x313644['window']['getComputedStyle'](_0x49f40a)['display']){let _0x355d89=0x0,_0x564cb9=!0x1;for(const _0xd3d50c of _0x49f40a['getClientRects']())_0x355d89+=_0xd3d50c['height'],_0xd3d50c['left']>=_0x4f774b&&(_0x564cb9=!0x0);if(_0x355d89<_0x1a0641&&_0x564cb9)return _0x4307ef||_0x377c02['push']({'type':'element','offset':0x0,'path':[_0x94e2a6]}),_0x377c02;}const _0x3f4d90=_0x49f40a['closest']('figure.image');if(_0x3f4d90&&function(_0xf127ac){let _0x4052fc=!0x1;const _0x28c739=_0xf127ac['parentElement'],_0x582b65=_0x28c739['dataset']['rootName'],_0x23bfc5=_0xf127ac['nextElementSibling'],_0x97a049=_0xf127ac['previousElementSibling'],_0xb730c5=_0x23bfc5&&_0x313644['window']['getComputedStyle'](_0x23bfc5)['float'],_0x5337cf=_0x23bfc5&&'ck-fake-selection-container'===_0x23bfc5['className'];!_0x582b65||_0x23bfc5||_0x97a049||(_0x4052fc=!0x0),_0x582b65&&!_0x97a049&&_0x5337cf&&(_0x4052fc=!0x0),_0x582b65&&!_0x97a049&&'none'!==_0xb730c5&&(_0x4052fc=!0x0);if(_0x4052fc)return!0x1;return!0x0;}(_0x3f4d90)){const _0x169fb0=_0x313644['window']['getComputedStyle'](_0x3f4d90)['float'];if('left'==_0x169fb0||'right'==_0x169fb0)return _0x377c02;}const _0x5275e7=vO(_0x49f40a,_0x4f774b,_0x5f7aae,_0x1a0641,_0x4307ef);if(_0x5275e7['length']){for(const _0x2b8846 of _0x5275e7)_0x377c02['push']({'type':_0x2b8846['type'],'offset':_0x2b8846['offset'],'textOffset':_0x2b8846['textOffset'],'path':[_0x94e2a6,..._0x2b8846['path']]}),_0x4f774b+=_0x5f7aae,_0x4307ef=!0x1;return _0x377c02;}return _0x377c02['push'](...function(_0x3f3eca,_0x5ca1fe,_0x56fd4d,_0x376859,_0xcd3863){const _0x20c5fb=[];if('table-cell'==_0x313644['window']['getComputedStyle'](_0x3f3eca)['display'])return[];const _0x4991b6=[];for(const _0x2e8e80 of _0x3f3eca['getClientRects']())if(_0x2e8e80['left']>=_0x56fd4d){for(const _0xd386d7 of _0x4991b6)_0xd386d7['height']+=_0x2e8e80['height'];_0x4991b6['push']({'height':_0x2e8e80['height']}),_0x56fd4d+=_0x376859;}for(const _0x1b4dfe of _0x4991b6)_0xcd3863||_0x20c5fb['push']({'type':'element','offset':_0x1b4dfe['height'],'textOffset':0x0,'path':[_0x5ca1fe]}),_0xcd3863=!0x1;return _0x20c5fb;}(_0x49f40a,_0x94e2a6,_0x4f774b,_0x5f7aae,_0x4307ef)),_0x377c02;}function EO(_0x53381f,_0x457246,_0x11df87,_0x1020b6,_0x23a12f){const _0x2ab25a=wO(_0x53381f),_0x45f66a=[];let _0x28dc06=0x0;for(const _0x543d9b of _0x2ab25a['getClientRects']())if(_0x543d9b['left']>=_0x11df87){const _0x56e646=TO(_0x53381f,_0x28dc06,_0x11df87,_0x1020b6);_0x23a12f||_0x45f66a['push']({'type':'text','path':[_0x457246],'textOffset':_0x56e646}),_0x28dc06=_0x56e646,_0x11df87+=_0x1020b6,_0x23a12f=!0x1;}return _0x45f66a;}function TO(_0x28742e,_0x43a44f,_0x14c744,_0x33c68c){let _0x58dbcb=_0x43a44f,_0x4cc622=_0x28742e['length'];for(;_0x4cc622-_0x58dbcb>0x1;){const _0x3a807d=Math['ceil']((_0x58dbcb+_0x4cc622)/0x2);AO(bO(_0x28742e,_0x58dbcb,_0x3a807d),_0x14c744,_0x33c68c)?_0x4cc622=_0x3a807d:_0x58dbcb=_0x3a807d;}return _0x58dbcb;}function AO(_0x4e3fd3,_0x2fea71,_0x5bf9f1){for(const _0x39cae3 of _0x4e3fd3['getClientRects']())if(_0x39cae3['left']>=_0x2fea71&&_0x39cae3['left']<_0x2fea71+_0x5bf9f1)return!0x0;return!0x1;}function IO(_0x111d22){return _0x111d22['nodeType']==Node['ELEMENT_NODE'];}function SO(_0x25c6de){return _0x25c6de['nodeType']==Node['TEXT_NODE'];}const CO=/* #__PURE__ -- @preserve */
_0x27e6af('px');let kO=class LineView extends _0xa34d16{constructor(){super();const _0x145c17=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x145c17['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x145c17['if']('isVisible','ck-hidden',_0x5a4d49=>!_0x5a4d49)],'style':{'left':_0x145c17['to']('left',_0x200e4c=>CO(_0x200e4c)),'top':_0x145c17['to']('top',_0x137034=>CO(_0x137034)),'width':_0x145c17['to']('width',_0x24ce81=>CO(_0x24ce81))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x1fd634){this['_viewCollection']=_0x1fd634['ui']['view']['body'];}['destroy'](){for(const _0x4853e3 of this['_hiddenLines'])_0x4853e3['destroy']();}['cleanLines'](){for(const _0x3ae762 of this['_visibleLines'])_0x3ae762['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3ae762);this['_visibleLines']['clear']();}['showLine'](_0x35d1ea,_0x42ecec,_0x20a975,_0x16c693){let _0x29cd6b;this['_hiddenLines']['size']?(_0x29cd6b=_0x1e08d5(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x29cd6b)):_0x29cd6b=new kO(),_0x29cd6b['set']({'pageNumber':_0x16c693,'left':_0x35d1ea,'top':_0x42ecec,'width':_0x20a975}),_0x29cd6b['isVisible']=!0x0,this['_viewCollection']['has'](_0x29cd6b)||this['_viewCollection']['add'](_0x29cd6b),this['_visibleLines']['add'](_0x29cd6b);}['setViewCollection'](_0x18de07){for(const _0xfa2b0c of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0xfa2b0c)&&this['_viewCollection']['remove'](_0xfa2b0c);this['_viewCollection']=_0x18de07;}}const xO='ck-pagination_enabled';class PaginationRenderer extends _0x151d85{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new LinesRepository(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](xO),this['on']('change:isEnabled',(_0x4d72e2,_0x3d34c1,_0x5d43a9)=>{_0x5d43a9||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](xO,_0x5d43a9);});}['destroy'](){this['_toggleEditingRootsClass'](xO,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x24cdae){if(!this['isEnabled'])return;const _0x10953e=_0x24cdae>0x1?this['_getPageBreakLineOffset'](_0x24cdae-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x10953e-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x342f35['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xaec15b=this['editor'],_0x3c7dcf=this['_getAttachedDomRoot']();_0x3c7dcf?(this['_scrollableEditingRootDomAncestor']&&_0xaec15b['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x4ccc73){let _0x51d831=_0x4ccc73;do{_0x51d831=_0x51d831['parentElement'];const _0x5a97df=_0x313644['window']['getComputedStyle'](_0x51d831)['overflowY'];if('auto'==_0x5a97df||'scroll'==_0x5a97df)break;}while('BODY'!=_0x51d831['tagName']);return _0x51d831;}(_0x3c7dcf),_0xaec15b['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x4ebf8b(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xaec15b['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3c0161=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3c0161['ui']['view']['listenTo'](_0x313644['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3c0161['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x8977b5 of this['editor']['editing']['view']['domRoots']['values']())if(_0x8977b5['ownerDocument']['body']['contains'](_0x8977b5))return _0x8977b5;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x2ef73e=this['_getAttachedDomRoot'](),_0x7568dd=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x2ef73e||0x1==_0x7568dd['length'])return void(this['pageNumber']=0x1);const _0x335fd1=new _0x2bf707(_0x2ef73e)['excludeScrollbarsAndBorders'](),_0x3ff1bb=new _0x2bf707(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x402d39=_0x3ff1bb['top']+_0x3ff1bb['height']/0x3;let _0x521f54=!0x1;const _0x5e8b51=[];for(let _0x1ff0e8=0x1;_0x1ff0e8<_0x7568dd['length'];_0x1ff0e8++){const _0x9e1047=this['_getPageBreakLineOffset'](_0x1ff0e8,_0x3ff1bb);if(!_0x9e1047)continue;const _0x3cfcb7=_0x3ff1bb['top']+_0x9e1047-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5e8b51['push']({'pageOffsetTop':_0x3cfcb7,'domRootRect':_0x335fd1,'domScrollableRect':_0x3ff1bb,'pageNumber':_0x1ff0e8}),_0x3cfcb7>_0x402d39&&!_0x521f54&&(this['pageNumber']=_0x1ff0e8,_0x521f54=!0x0);}this['_renderPageBreakLines'](_0x5e8b51),_0x521f54||(this['pageNumber']=_0x7568dd['length']);}['_renderPageBreakLines'](_0x316232){const {scrollX:_0x385077,scrollY:_0x30f7c6}=_0x313644['window'];if(_0x316232['length']){for(const {domScrollableRect:_0x58fd66,pageOffsetTop:_0x59580d,domRootRect:_0x2c52c4,pageNumber:_0x847b1c}of _0x316232)_0x58fd66['top']<_0x59580d&&_0x59580d<_0x58fd66['bottom']&&this['linesRepository']['showLine'](_0x2c52c4['left']+_0x385077,_0x59580d+_0x30f7c6,_0x2c52c4['width'],_0x847b1c+0x1);}}['_getPageBreakLineOffset'](_0x3fd458,_0x566d71=null){const _0x1df201=this['_paginationLookupPlugin']['pageBreaks'][_0x3fd458]['offset'];return _0x1df201?(_0x566d71||(_0x566d71=new _0x2bf707(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x1df201-_0x566d71['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x36c26,_0x558dda=!0x0){const _0x2e79a2=this['editor']['editing']['view'];_0x2e79a2['change'](_0x3a9f40=>{for(const _0x4ed2c3 of _0x2e79a2['document']['roots'])_0x558dda?_0x3a9f40['addClass'](_0x36c26,_0x4ed2c3):_0x3a9f40['removeClass'](_0x36c26,_0x4ed2c3);});}}function RO(_0xb133c0,_0x13007e,..._0xb9dab3){const t=_0xb133c0['t'];switch(_0x13007e){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)',..._0xb9dab3);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 _0x13007e;}}class PaginationEditing extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationLookup,PaginationRenderer];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x560e41=this['editor']['plugins']['get']('Pagination'),_0x1ad88e=this['editor']['plugins']['get'](PaginationLookup),_0x4ab6ce=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x560e41),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x4ab6ce),this['listenTo'](_0x1ad88e,'change:pageBreaks',(_0x667e14,_0x262536,_0x47a75a,_0x40b847)=>{this['totalPages']=_0x47a75a['length'],this['_updatePageBreakMarkers'](_0x47a75a,_0x40b847);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5b9785=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x337c74;for(const _0xfab02 in _0x5b9785){const _0xd9dbfd=_0xfab02,_0x2f2627=_0x5b9785[_0xd9dbfd];if('paginationLicenseKeyValid'==_0x2f2627||'paginationLicenseKeyInvalid'==_0x2f2627||'paginationLicenseKeyExpired'==_0x2f2627||'paginationLicenseKeyDomainLimit'==_0x2f2627||'paginationLicenseKeyNotAllowed'==_0x2f2627||'paginationLicenseKeyEvaluationLimit'==_0x2f2627||'paginationLicenseKeyUsageLimit'==_0x2f2627){delete _0x5b9785[_0xd9dbfd],_0x337c74=_0x2f2627,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x337c74&&_0x5b9785['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x337c74&&_0x5b9785['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x337c74&&_0x5b9785['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x337c74&&_0x5b9785['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x337c74&&_0x5b9785['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x337c74&&_0x5b9785['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3902c0){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x3902c0));}['moveSelectionToPage'](_0x170497){if(!this['isEnabled'])return;const _0x5a6c92=this['editor'],_0x2f3605=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x170497-0x1];_0x2f3605&&_0x5a6c92['model']['change'](_0x10192c=>{switch(_0x2f3605['type']){case'manual':{const _0x53b7e4=_0x5a6c92['model']['schema']['getNearestSelectionRange'](_0x2f3605['modelRange']['end'],'forward');_0x10192c['setSelection'](_0x53b7e4);break;}case'element':{const _0x336196=_0x5a6c92['model']['schema']['getNearestSelectionRange'](_0x2f3605['modelRange']['start'],'forward');_0x10192c['setSelection'](_0x336196);break;}case'text':{const _0xd0032d=_0x2f3605['modelRange']['start'];if(_0xd0032d['textNode']&&'\x20'===_0xd0032d['textNode']['data'][_0xd0032d['offset']]){const _0x330873=_0x10192c['createPositionAt'](_0xd0032d['parent'],_0xd0032d['offset']+0x1);_0x10192c['setSelection'](_0x330873);}else _0x10192c['setSelection'](_0x2f3605['modelRange']);}}_0x5a6c92['editing']['view']['focus']();});}['goToNextPage'](){const _0x1c6a15=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x1c6a15),this['scrollToPage'](_0x1c6a15);}['goToPreviousPage'](){const _0x4140d5=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4140d5),this['scrollToPage'](_0x4140d5);}['_updatePageBreakMarkers'](_0x327e70,_0x2549e0){const _0xae3da=this['editor']['model'];this['isEnabled']&&_0xae3da['change'](_0x310dfc=>{for(let _0x5ecac4=0x1;_0x5ecac4<_0x327e70['length'];_0x5ecac4++){const _0xb2f053=_0x327e70[_0x5ecac4]['modelRange'],_0x23d639='pagination:'+(_0x5ecac4+0x1);_0xae3da['markers']['has'](_0x23d639)?_0x310dfc['updateMarker'](_0x23d639,{'range':_0xb2f053}):_0x310dfc['addMarker'](_0x23d639,{'range':_0xb2f053,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x31a1f4=_0x327e70['length'];_0x31a1f4<_0x2549e0['length'];_0x31a1f4++){const _0x17d171='pagination:'+(_0x31a1f4+0x1);_0xae3da['markers']['has'](_0x17d171)&&_0x310dfc['removeMarker'](_0x17d171);}});}['_setUpDataDowncastConversion'](){const _0x2ed985='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x32096a=>{_0x32096a['on']('addMarker:'+_0x2ed985,(_0x634ed2,{markerRange:_0x308c67,markerName:_0x53525b},_0x47f8ae)=>{if(!_0x47f8ae['options']['pagination'])return;if(!_0x47f8ae['consumable']['consume'](_0x308c67,_0x634ed2['name']))return;const _0x5a5bf2=_0x308c67['getContainedElement']();let _0x4b5917=_0x5a5bf2?_0x47f8ae['mapper']['toViewElement'](_0x5a5bf2):null;if(!_0x4b5917){const _0x3fb542=_0x308c67['start'];if(_0x47f8ae['schema']['checkChild'](_0x3fb542,'$text')){const _0x48cc91=_0x47f8ae['mapper']['toViewPosition'](_0x3fb542);_0x4b5917=_0x47f8ae['writer']['createContainerElement']('span'),_0x4b5917['getFillerOffset']=()=>null,_0x47f8ae['writer']['insert'](_0x48cc91,_0x4b5917);}else{const _0x397b7d=_0x3fb542['nodeAfter'];_0x4b5917=_0x47f8ae['mapper']['toViewElement'](_0x397b7d);}}for(;_0x4b5917['parent']!==_0x4b5917['root']&&0x0===_0x4b5917['index'];)_0x4b5917=_0x4b5917['parent'];const _0x45803f=_0x53525b['substring'](0xb);_0x4b5917['hasClass']('page-break')||(_0x47f8ae['writer']['setStyle']('page-break-before','always',_0x4b5917),_0x47f8ae['writer']['setAttribute']('data-pagination-page',_0x45803f,_0x4b5917),_0x47f8ae['mapper']['bindElementToMarker'](_0x4b5917,_0x53525b)),_0x634ed2['stop']();});});}['_setupKeystrokes'](){const _0x62dd5e=this['editor'];_0x62dd5e['keystrokes']['set']('Shift+Pageup',(_0xf8ae4e,_0x393b76)=>{this['goToPreviousPage'](),_0x393b76();}),_0x62dd5e['keystrokes']['set']('Shift+Pagedown',(_0x4871ba,_0x209920)=>{this['goToNextPage'](),_0x209920();}),_0x62dd5e['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':RO(_0x62dd5e['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':RO(_0x62dd5e['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':RO(_0x62dd5e['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x4664de){return _0x4664de<0x1&&(_0x4664de=0x1),_0x4664de>this['totalPages']&&(_0x4664de=this['totalPages']),_0x4664de;}}class PageNavigatorView extends _0xa34d16{['pageNumberView'];constructor(_0x29d8a6){super(_0x29d8a6);const _0x360b1f=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new Zt(_0x29d8a6,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x314b39=>RO(_0x29d8a6,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x314b39)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x4802ba=>!_0x4802ba),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x360b1f['if']('isEnabled','ck-disabled',_0x1c969a=>!_0x1c969a)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x360b1f['to']('totalPages')}]}]});}['render'](){super['render']();const _0x2fb1fe=this['pageNumberView']['element'],_0x461a8a=_0x52d20a=>{this['pageNumberView']['element']['value']=String(_0x52d20a);};_0x461a8a(this['pageNumber']),this['on']('change:pageNumber',(_0x1e4969,_0x503ade,_0x5bec43)=>{_0x461a8a(_0x5bec43);}),this['listenTo'](_0x2fb1fe,'keydown',(_0x215530,_0x1e407f)=>{if('ArrowUp'===_0x1e407f['key']||'ArrowDown'===_0x1e407f['key'])return void _0x1e407f['stopPropagation']();if(_0x1e407f['keyCode']!==_0x594067['enter'])return;_0x1e407f['preventDefault']();const _0x1ce532=_0x2fb1fe['valueAsNumber'];Number['isNaN'](_0x1ce532)?_0x2fb1fe['value']=String(this['pageNumber']):(_0x2fb1fe['checkValidity']()?this['pageNumber']=_0x1ce532:_0x1ce532>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x2fb1fe['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x2fb1fe['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x2fb1fe,'blur',()=>{_0x2fb1fe['value']=String(this['pageNumber']);}),this['listenTo'](_0x2fb1fe,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}}class PaginationUI extends _0x151d85{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xe3dad2=this['editor'],_0x10bcee=_0xe3dad2['plugins']['get']('PaginationEditing');_0xe3dad2['ui']['componentFactory']['add']('pageNavigation',_0x285262=>{const _0x381628=new PageNavigatorView(_0x285262);return _0x381628['bind']('pageNumber')['to'](_0x10bcee),_0x381628['bind']('totalPages')['to'](_0x10bcee),_0x381628['bind']('isEnabled')['to'](_0x10bcee),_0x381628['on']('navigation',(_0x864063,_0x3790cd)=>{_0x10bcee['moveSelectionToPage'](_0x3790cd),_0x10bcee['scrollToPage'](_0x3790cd);}),_0x381628;}),_0xe3dad2['ui']['componentFactory']['add']('nextPage',_0x21998d=>{const _0x33504c=new _0x4c508c(_0x21998d);return _0x33504c['isEnabled']=!0x0,_0x33504c['label']=RO(_0xe3dad2['locale'],'Go\x20to\x20next\x20page'),_0x33504c['icon']=_0x552723,_0x33504c['tooltip']=!0x0,_0x33504c['keystroke']='Shift+PageDown',_0x33504c['bind']('isEnabled')['to'](_0x10bcee),this['listenTo'](_0x33504c,'execute',()=>{_0x10bcee['goToNextPage']();}),_0x33504c;}),_0xe3dad2['ui']['componentFactory']['add']('previousPage',_0x59ae79=>{const _0x11dca7=new _0x4c508c(_0x59ae79);return _0x11dca7['isEnabled']=!0x0,_0x11dca7['label']=RO(_0xe3dad2['locale'],'Go\x20to\x20previous\x20page'),_0x11dca7['icon']=_0x10db46,_0x11dca7['tooltip']=!0x0,_0x11dca7['keystroke']='Shift+PageUp',_0x11dca7['bind']('isEnabled')['to'](_0x10bcee),this['listenTo'](_0x11dca7,'execute',()=>{_0x10bcee['goToPreviousPage']();}),_0x11dca7;});}}class Pagination extends _0x151d85{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x59b534){super(_0x59b534),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1325e1=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x1325e1),this['bind']('totalPages')['to'](_0x1325e1),_0x342f35['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4e7f2a){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x4e7f2a);}}const PO=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function MO(_0x35eeca){return PO['test'](_0x35eeca);}const NO=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function LO(_0x4f9118,_0x2026ce){const _0x3a1a2d=new Map();for(const [_0x24da99,_0x56b052]of _0x2026ce){if(!_0x24da99['tagName']&&!_0x24da99['className'])continue;const _0x55f56c=!_0x24da99['tagName']||_0x4f9118['name']===_0x24da99['tagName'],_0x26155f=!_0x24da99['className']||_0x4f9118['hasClass'](_0x24da99['className']);_0x55f56c&&_0x26155f&&_0x3a1a2d['set'](_0x24da99,_0x56b052);}return _0x3a1a2d;}function $O(_0x3501ee){const _0x479683={};for(let _0x3d297d=0x0;_0x3d297d<_0x3501ee['length'];_0x3d297d++){const _0x226fe3=_0x3501ee[_0x3d297d],_0x2ac97b=_0x3501ee['getPropertyValue'](_0x226fe3);'initial'!==_0x2ac97b&&(_0x479683[_0x226fe3]=_0x2ac97b);}return _0x479683;}function DO(_0x326bc9){const _0x2422c3=_0x326bc9['split'](',')['map'](_0x5aabf1=>_0x5aabf1['trim']()),_0xbf4a42=[];for(const _0x3f6e67 of _0x2422c3){const _0x415299=NO['exec'](_0x3f6e67);_0x415299&&_0xbf4a42['push'](_0x415299['groups']);}return _0xbf4a42;}function QO(_0x226328){const _0x442076={};for(const _0x243a64 of _0x226328)Object['assign'](_0x442076,_0x243a64);return _0x442076;}class MSOfficeStylesInliner extends _0x3ea026{['execute'](_0x186b42){const {styles:_0x4e4f2f,stylesString:_0x46c8a0}=_0x186b42['extraContent'],_0x43d4eb=new _0x5ca631(_0x186b42['content']['document']),_0x1f988b=_0x43d4eb['createRangeIn'](_0x186b42['content']),_0x204696=function(_0x4ae6f4){const _0x20a5b2={};for(const _0x3cd60c of _0x4ae6f4)for(const _0x5ca2cc of _0x3cd60c['cssRules'])if(_0x5ca2cc instanceof CSSStyleRule){const _0x3f38ac=$O(_0x5ca2cc['style']);_0x20a5b2[_0x5ca2cc['selectorText']]=Object['assign']({},_0x20a5b2[_0x5ca2cc['selectorText']]||{},_0x3f38ac);}return _0x20a5b2;}(_0x4e4f2f),_0x5cd35e=function(_0x30a61c){const _0x372be3=new Map();for(const _0x2993c8 in _0x30a61c){const _0x4a1d1d=DO(_0x2993c8),_0x89e6c8=_0x30a61c[_0x2993c8];for(const _0x5a81de of _0x4a1d1d)_0x372be3['set'](_0x5a81de,_0x89e6c8);}return _0x372be3;}(_0x204696),_0x3e1e07=function(_0x5b513c){const _0x19f515={},_0xb74bb7=/(?<selector>[^{}]+)\{[^}]*mso-pattern:\s*(?<color>#[0-9A-Fa-f]{3,6}|[a-z]+)\s+(?<patternType>[\w-]+)[^}]*\}/gi,_0x1c50f2=/\.(?<className>[\w-]+)/g;let _0x51c9f0;for(;null!==(_0x51c9f0=_0xb74bb7['exec'](_0x5b513c));){const {selector:_0x26a490,color:_0x4b31c9,patternType:_0x353c1b}=_0x51c9f0['groups'];if('auto'!==_0x4b31c9['toLowerCase']()&&'none'!==_0x353c1b['toLowerCase']()&&'auto'!==_0x353c1b['toLowerCase']()){for(const _0x115a09 of _0x26a490['matchAll'](_0x1c50f2))_0x19f515[_0x115a09['groups']['className']]=_0x4b31c9;}}return _0x19f515;}(_0x46c8a0);for(const _0x4f4878 of _0x1f988b){if('elementStart'!==_0x4f4878['type'])continue;const _0x30693b=_0x4f4878['item'],_0xb84ab6=LO(_0x30693b,_0x5cd35e),_0x5c182d=_0xb84ab6['size']?QO(Array['from'](_0xb84ab6['values']())):{};if(!('background-color'in _0x5c182d)&&!('background'in _0x5c182d)){for(const [_0x4f722d,_0x54f730]of Object['entries'](_0x3e1e07))if(_0x30693b['hasClass'](_0x4f722d)){_0x5c182d['background-color']=_0x54f730;break;}}for(const _0x2fac94 in _0x5c182d)_0x30693b['hasStyle'](_0x2fac94)||_0x43d4eb['setStyle'](_0x2fac94,_0x5c182d[_0x2fac94],_0x30693b);}}['isActive'](_0x33f287){return super['isActive'](_0x33f287)||MO(_0x33f287);}}class PasteFromOfficeEnhancedInliner extends _0x151d85{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x222999];}['init'](){const _0xe931f1=this['editor'],_0x4143d6=_0xe931f1['plugins']['get']('PasteFromOffice'),_0x3dfa5b=_0xe931f1['editing']['view']['document'],_0x54b183=new MSOfficeStylesInliner(_0x3dfa5b);_0x4143d6['registerNormalizer'](_0x54b183,_0x537830['high']+0xb);}['afterInit'](){!async function(_0x3de416){const _0x2299bf=_0x26b706([0x73,0x47,0x36,0x35,0x43,0x72,0x6b,0x31,0x63,0x64,0x32,0x69,0x67,0x4c,0x4e,0x37,0x7a,0x49,0x45,0x41,0x59,0x6a,0x75,0x39,0x4a,0x33,0x68,0x62,0x50,0x42,0x74,0x6e,0x46,0x4d,0x78,0x51,0x66,0x34,0x48,0x77,0x5a,0x61,0x6c,0x30,0x71,0x54,0x53,0x56,0x4b,0x79,0x44,0x6d,0x6f,0x52,0x76,0x55,0x58,0x65,0x70,0x57,0x4f,0x38]),_0x1e7504=0x7374585f,_0x7c8fb=0x7373d38f^_0x1e7504,_0x3947c4=window[_0x26b706([0x44,0x61,0x74,0x65])][_0x26b706([0x6e,0x6f,0x77])](),_0x552f95=_0x3de416[_0x26b706([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47de33=new window[(_0x26b706([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d6fb4=>{_0x552f95[_0x26b706([0x6f,0x6e,0x63,0x65])](_0x26b706([0x72,0x65,0x61,0x64,0x79]),_0x1d6fb4);}),_0xeeb08f={[_0x26b706([0x6b,0x74,0x79])]:_0x26b706([0x45,0x43]),[_0x26b706([0x75,0x73,0x65])]:_0x26b706([0x73,0x69,0x67]),[_0x26b706([0x63,0x72,0x76])]:_0x26b706([0x50,0x2d,0x32,0x35,0x36]),[_0x26b706([0x78])]:_0x26b706([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x26b706([0x79])]:_0x26b706([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x26b706([0x61,0x6c,0x67])]:_0x26b706([0x45,0x53,0x32,0x35,0x36])},_0x5b6fdb=_0x552f95[_0x26b706([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x26b706([0x67,0x65,0x74])](_0x26b706([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x245764(){let _0x5168c3,_0x4db56d=null,_0x15bca0=null;try{if(_0x5b6fdb==_0x26b706([0x47,0x50,0x4c]))return _0x26b706([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5168c3=_0x2639ae(),!_0x5168c3)return _0x26b706([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5168c3[_0x26b706([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15bca0=_0x508719(_0x5168c3[_0x26b706([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5168c3[_0x26b706([0x6a,0x74,0x69])])),await _0x36518c()?_0x3d0183()?_0x210f2c()?_0x26b706([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ccab()?(_0x5168c3[_0x26b706([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x26b706([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4db56d=_0x376861(_0x26b706([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54ed88()):_0x26b706([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x26b706([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x26b706([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x26b706([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x210f2c(){const _0x1fa0db=[_0x26b706([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x26b706([0x74,0x72,0x69,0x61,0x6c])][_0x26b706([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5168c3[_0x26b706([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3947c4/0x3e8:0xe10*_0x7c8fb;return _0x5168c3[_0x26b706([0x65,0x78,0x70])]<_0x1fa0db;}function _0x3d0183(){const _0x1e1518=_0x5168c3[_0x26b706([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e1518&&(!!_0x1e1518[_0x26b706([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26b706([0x2a]))||(!!_0x1e1518[_0x26b706([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26b706([0x50,0x4f,0x45]))||(!!_0x1e1518[_0x26b706([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26b706([0x50,0x50]))||!(!_0x1e1518[_0x26b706([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26b706([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x522310()))));}function _0x5ccab(){const _0x53f1cf=_0x5168c3[_0x26b706([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x53f1cf||0x0==_0x53f1cf[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x779aa6}=new URL(window[_0x26b706([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x53f1cf[_0x26b706([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x779aa6))return!0x0;const _0x1ea22f=_0x779aa6[_0x26b706([0x73,0x70,0x6c,0x69,0x74])](_0x26b706([0x2e]));return _0x53f1cf[_0x26b706([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a3dab=>_0x5a3dab[_0x26b706([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26b706([0x2a])))[_0x26b706([0x6d,0x61,0x70])](_0x57ba67=>_0x57ba67[_0x26b706([0x73,0x70,0x6c,0x69,0x74])](_0x26b706([0x2e])))[_0x26b706([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f66f8=>_0x2f66f8[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ea22f[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26b706([0x6d,0x61,0x70])](_0x4f24db=>Array(_0x1ea22f[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f24db[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x26b706([0x66,0x69,0x6c,0x6c])](_0x4f24db[0x0]===_0x26b706([0x2a])?_0x26b706([0x2a]):'')[_0x26b706([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f24db))[_0x26b706([0x73,0x6f,0x6d,0x65])](_0x2fb881=>_0x1ea22f[_0x26b706([0x65,0x76,0x65,0x72,0x79])]((_0x5893d9,_0x3f8e47)=>_0x2fb881[_0x3f8e47]===_0x5893d9||_0x2fb881[_0x3f8e47]===_0x26b706([0x2a])));}function _0x54ed88(){return _0x4db56d&&_0x15bca0?new window[(_0x26b706([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x893593,_0x5d030e)=>{_0x4db56d[_0x26b706([0x74,0x68,0x65,0x6e])](_0x893593,_0x5d030e),_0x15bca0[_0x26b706([0x74,0x68,0x65,0x6e])](_0x179325=>{_0x179325!=_0x26b706([0x56,0x61,0x6c,0x69,0x64])&&_0x893593(_0x179325);},_0x5d030e);}):_0x4db56d||_0x15bca0||_0x26b706([0x56,0x61,0x6c,0x69,0x64]);}}function _0x508719(_0xd5f603,_0x34a2ce){return new window[(_0x26b706([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21132b=>{if(_0x32f7b1())return _0x21132b(_0x26b706([0x56,0x61,0x6c,0x69,0x64]));_0x19c345(),_0x552f95[_0x26b706([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x26b706([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d5b77=!0x1;const _0x1f4c85=_0x3eda13();function _0x15b0b4(_0x17b6f9){return!!_0x17b6f9&&(typeof _0x17b6f9===_0x26b706([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17b6f9===_0x26b706([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17b6f9[_0x26b706([0x74,0x68,0x65,0x6e])]===_0x26b706([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17b6f9[_0x26b706([0x63,0x61,0x74,0x63,0x68])]===_0x26b706([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x152db3(_0x2834c3){_0x751565(_0x2834c3)[_0x26b706([0x74,0x68,0x65,0x6e])](_0x1f6ccb=>{if(!_0x1f6ccb||_0x1f6ccb[_0x26b706([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x26b706([0x6f,0x6b]))return _0x26b706([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x146955(_0x2ed557(_0x1f4c85+_0x34a2ce))!=_0x1f6ccb[_0x26b706([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x26b706([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x26b706([0x56,0x61,0x6c,0x69,0x64]);})[_0x26b706([0x74,0x68,0x65,0x6e])](_0x43b726=>(_0x41e0fc(),_0x43b726),()=>{const _0x2684b2=_0x20179c();return null==_0x2684b2?(_0x41e0fc(),_0x26b706([0x56,0x61,0x6c,0x69,0x64])):_0x26b706(_0x3947c4-_0x2684b2>(0x5778dc5f^_0x1e7504)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x26b706([0x74,0x68,0x65,0x6e])](_0x21132b)[_0x26b706([0x63,0x61,0x74,0x63,0x68])](()=>{_0x21132b(_0x26b706([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ad9a4=0x7342b6df^_0x1e7504;function _0x41e0fc(){const _0x578686=_0x26b706([0x6c,0x6c,0x63,0x74,0x2d])+_0x146955(_0x2ed557(_0xd5f603)),_0x17bf0b=_0x37f6ad(_0x146955(window[_0x26b706([0x4d,0x61,0x74,0x68])][_0x26b706([0x63,0x65,0x69,0x6c])](_0x3947c4/_0x3ad9a4)));window[_0x26b706([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26b706([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x578686,_0x17bf0b);}function _0x20179c(){const _0xd0d8b7=_0x26b706([0x6c,0x6c,0x63,0x74,0x2d])+_0x146955(_0x2ed557(_0xd5f603)),_0x36f9e3=window[_0x26b706([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x26b706([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd0d8b7);return _0x36f9e3?window[_0x26b706([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37f6ad(_0x36f9e3),0x10)*_0x3ad9a4:null;}function _0x751565(_0x29a947){return new window[(_0x26b706([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb16013,_0x2ddda9)=>{_0x29a947[_0x26b706([0x74,0x68,0x65,0x6e])](_0xb16013,_0x2ddda9),window[_0x26b706([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ddda9,0x73758c9f^_0x1e7504);});}}_0x552f95[_0x26b706([0x6f,0x6e])](_0x26b706([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xf958fb,_0x3c3618)=>{if(_0x3c3618[0x0]!=_0xd5f603)return _0x21132b(_0x26b706([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c3618[0x1]={..._0x3c3618[0x1],[_0x26b706([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f4c85};},{[_0x26b706([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26b706([0x68,0x69,0x67,0x68])}),_0x552f95[_0x26b706([0x6f,0x6e])](_0x26b706([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ec5c6=>{_0x15b0b4(_0x3ec5c6[_0x26b706([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d5b77=!0x0,_0x152db3(_0x3ec5c6[_0x26b706([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x26b706([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x26b706([0x6c,0x6f,0x77])}),_0x47de33[_0x26b706([0x74,0x68,0x65,0x6e])](()=>{_0x1d5b77||_0x21132b(_0x26b706([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32f7b1(){return _0x552f95[_0x26b706([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26b706([0x76,0x69,0x65,0x77])][_0x26b706([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x26b706([0x61,0x75,0x74,0x6f]);}function _0x19c345(){_0x552f95[_0x26b706([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x26b706([0x76,0x69,0x65,0x77])][_0x26b706([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x26b706([0x61,0x75,0x74,0x6f]);}}function _0x376861(_0x897744){const _0x3a78f3=[new window[(_0x26b706([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ca093=>setTimeout(_0x1ca093,0x737d6693^_0x1e7504)),_0x47de33[_0x26b706([0x74,0x68,0x65,0x6e])](()=>new window[(_0x26b706([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5472a7=>{let _0x4c4642=0x0;_0x552f95[_0x26b706([0x6d,0x6f,0x64,0x65,0x6c])][_0x26b706([0x6f,0x6e])](_0x26b706([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33a460,_0x3bbc1a)=>{_0x3bbc1a[0x0][_0x26b706([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c4642++,_0x4c4642==(0x73745db7^_0x1e7504)&&(_0x5472a7(),_0x33a460[_0x26b706([0x6f,0x66,0x66])]());});}))];return window[_0x26b706([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x26b706([0x72,0x61,0x63,0x65])](_0x3a78f3)[_0x26b706([0x74,0x68,0x65,0x6e])](()=>_0x897744);}async function _0x81c61f(){await _0x47de33,_0x552f95[_0x26b706([0x6d,0x6f,0x64,0x65,0x6c])][_0x26b706([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf02e94,_0x552f95[_0x26b706([0x6d,0x6f,0x64,0x65,0x6c])][_0x26b706([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf02e94,_0x552f95[_0x26b706([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x26b706([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x522310(){return window[_0x26b706([0x67,0x6c,0x6f,0x62])]&&window[_0x26b706([0x67,0x6c,0x6f,0x62])][_0x26b706([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x41cd97(_0x132783){const _0x31c384=_0x5e1063();_0x552f95[_0x31c384]=_0x26b706([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x132783,_0x132783!=_0x26b706([0x56,0x61,0x6c,0x69,0x64])&&_0x81c61f();}function _0x5e1063(){const _0x2aaf91=window[_0x26b706([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x26b706([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x26b706([0x6e,0x6f,0x77])]())[_0x26b706([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x26b706([0x2e]),'');let _0x427a04=_0x26b706([0x73]);for(let _0x143399=0x0;_0x143399<_0x2aaf91[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x143399+=0x2){let _0x16b57c=window[_0x26b706([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2aaf91[_0x26b706([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x143399,_0x143399+0x2));_0x16b57c>=_0x2299bf[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16b57c-=_0x2299bf[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x427a04+=_0x2299bf[_0x16b57c];}return _0x427a04;}function _0x2639ae(){const _0x12c4e9=_0x5b6fdb[_0x26b706([0x73,0x70,0x6c,0x69,0x74])](_0x26b706([0x2e]));if(0x3!=_0x12c4e9[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xba743c(_0x12c4e9[0x1]);function _0xba743c(_0x1a6526){const _0x19d01a=_0x24a7cb(_0x1a6526);return _0x19d01a&&_0x1dec69()?_0x19d01a:null;function _0x1dec69(){const _0x35b934=_0x19d01a[_0x26b706([0x6a,0x74,0x69])],_0x38e198=window[_0x26b706([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35b934[_0x26b706([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35b934[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x45bd09={..._0x19d01a,[_0x26b706([0x6a,0x74,0x69])]:_0x35b934[_0x26b706([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x35b934[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x45bd09[_0x26b706([0x76,0x63])],_0x2ed557(_0x45bd09)==_0x38e198;}}}async function _0x36518c(){let _0x32909b=!0x0;try{const _0x3d3431=_0x5b6fdb[_0x26b706([0x73,0x70,0x6c,0x69,0x74])](_0x26b706([0x2e])),[_0x327d8e,_0x1664d8,_0x16a2cb]=_0x3d3431;return _0x1c1ef0(_0x327d8e),await _0x243b3a(_0x327d8e,_0x1664d8,_0x16a2cb),_0x32909b;}catch{return!0x1;}function _0x1c1ef0(_0x5d4a53){const _0x16c8d7=_0x24a7cb(_0x5d4a53);_0x16c8d7&&_0x16c8d7[_0x26b706([0x61,0x6c,0x67])]==_0x26b706([0x45,0x53,0x32,0x35,0x36])||(_0x32909b=!0x1);}async function _0x243b3a(_0x9c7169,_0x2a53a7,_0x114f4e){const _0x597d55=window[_0x26b706([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x26b706([0x66,0x72,0x6f,0x6d])](_0xb07594(_0x114f4e),_0xc9ed53=>_0xc9ed53[_0x26b706([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e22fd=new window[(_0x26b706([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x26b706([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x9c7169+_0x26b706([0x2e])+_0x2a53a7),_0x1d2e5c=window[_0x26b706([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x26b706([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d2e5c)return;const _0x699793=await _0x1d2e5c[_0x26b706([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x26b706([0x6a,0x77,0x6b]),_0xeeb08f,{[_0x26b706([0x6e,0x61,0x6d,0x65])]:_0x26b706([0x45,0x43,0x44,0x53,0x41]),[_0x26b706([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x26b706([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x26b706([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d2e5c[_0x26b706([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x26b706([0x6e,0x61,0x6d,0x65])]:_0x26b706([0x45,0x43,0x44,0x53,0x41]),[_0x26b706([0x68,0x61,0x73,0x68])]:{[_0x26b706([0x6e,0x61,0x6d,0x65])]:_0x26b706([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x699793,_0x597d55,_0x3e22fd)||(_0x32909b=!0x1);}}function _0x24a7cb(_0x5cb649){return _0x5cb649[_0x26b706([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x26b706([0x65,0x79]))?JSON[_0x26b706([0x70,0x61,0x72,0x73,0x65])](_0xb07594(_0x5cb649)):null;}function _0xb07594(_0x3b390a){return window[_0x26b706([0x61,0x74,0x6f,0x62])](_0x3b390a[_0x26b706([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x26b706([0x2b]))[_0x26b706([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x26b706([0x2f])));}function _0x2ed557(_0x4bf596){let _0x47c81f=0x1505;function _0x322395(_0x4c6cc7){for(let _0x178291=0x0;_0x178291<_0x4c6cc7[_0x26b706([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x178291++){const _0x3e5e66=_0x4c6cc7[_0x26b706([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x178291);_0x47c81f=(_0x47c81f<<0x5)+_0x47c81f+_0x3e5e66,_0x47c81f&=_0x47c81f;}}function _0x4cc049(_0x3a3471){Array[_0x26b706([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a3471)?_0x3a3471[_0x26b706([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cc049):_0x3a3471&&typeof _0x3a3471==_0x26b706([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x26b706([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a3471)[_0x26b706([0x73,0x6f,0x72,0x74])]()[_0x26b706([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x236ae7,_0x464755])=>{_0x322395(_0x236ae7),_0x4cc049(_0x464755);}):_0x322395(window[_0x26b706([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a3471));}return _0x4cc049(_0x4bf596),_0x47c81f>>>0x0;}function _0x146955(_0x2d99bc){return _0x2d99bc[_0x26b706([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x26b706([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x26b706([0x30]));}function _0x37f6ad(_0x6bb574){return _0x6bb574[_0x26b706([0x73,0x70,0x6c,0x69,0x74])]('')[_0x26b706([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x26b706([0x6a,0x6f,0x69,0x6e])]('');}function _0xf02e94(){}function _0x26b706(_0x4c3185){return _0x4c3185['map'](_0x2c8df7=>String['fromCharCode'](_0x2c8df7))['join']('');}_0x41cd97(await _0x245764());}(this);}}const VO=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],UO=['color','font-family','font-size'],BO={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x524f8e=>Number(_0x524f8e)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function FO(_0x84feaa){return VO['includes'](_0x84feaa);}function jO(_0x287a0f){return Array['from'](_0x287a0f['getStyleNames']())['filter'](FO);}function HO(_0x51f688,_0x2e8904,_0x454d57){const {spanStyles:_0xea0dbf,stylesToBeHtmlElements:_0x4c27e1}=ZO(_0x51f688,_0x454d57);!function(_0x1933e1,_0xdd213c,_0xd44aff){for(const _0x123912 in _0xd44aff){_0xd44aff[_0x123912]['forEach'](([,_0x189e7b])=>{const _0x4bfcbf=_0xdd213c['createElement'](_0x189e7b,[],_0x1933e1['getChildren']());_0xdd213c['insertChild'](0x0,_0x4bfcbf,_0x1933e1);}),_0xdd213c['removeStyle'](_0x123912,_0x1933e1);}}(_0x51f688,_0x2e8904,_0x4c27e1),function(_0x9bd0c8,_0x1aef99,_0x5c9500){if(!Object['keys'](_0x5c9500)['length'])return;const _0x265bfd=_0x1aef99['createElement']('span',[],_0x9bd0c8['getChildren']());_0x1aef99['setStyle'](_0x5c9500,_0x265bfd),_0x1aef99['insertChild'](0x0,_0x265bfd,_0x9bd0c8),_0x1aef99['removeStyle'](Object['keys'](_0x5c9500),_0x9bd0c8);}(_0x51f688,_0x2e8904,_0xea0dbf);}function GO(_0x2eb9aa,_0x45582e,_0x4628ea){const {spanStyles:_0x2b6d56}=ZO(_0x2eb9aa,_0x4628ea),_0x19a57a=Object['keys'](_0x2b6d56);if(!_0x19a57a['length'])return;let _0xed1dc6=!0x1;for(const _0x4505c7 of _0x2eb9aa['getChildren']())if(_0x4505c7['is']('element','span')){_0xed1dc6=!0x0;for(const [_0x21ed47,_0x160156]of Object['entries'](_0x2b6d56))_0x4505c7['hasStyle'](_0x21ed47)||_0x45582e['setStyle']({[_0x21ed47]:_0x160156},_0x4505c7);}_0xed1dc6&&_0x45582e['removeStyle'](_0x19a57a,_0x2eb9aa);}function ZO(_0x160ddb,_0x1b9cdb){const _0x571875={},_0x497126={};return _0x1b9cdb['forEach'](_0x4d83c6=>{const _0x374185=_0x160ddb['getStyle'](_0x4d83c6);if(_0x374185){if(function(_0x5b0b3f){return UO['includes'](_0x5b0b3f);}(_0x4d83c6))_0x571875[_0x4d83c6]=_0x374185;else{if(function(_0x4a8401){return _0x4a8401 in BO;}(_0x4d83c6)){const _0x4c2e0b=_0x374185['split']('\x20');BO[_0x4d83c6]['forEach'](([_0x1c24f3,_0x5379b0])=>{for(const _0x5ec563 of _0x4c2e0b){('function'==typeof _0x1c24f3&&_0x1c24f3(_0x5ec563)||_0x1c24f3===_0x5ec563)&&(_0x497126[_0x4d83c6]=[..._0x497126[_0x4d83c6]||[],[_0x1c24f3,_0x5379b0]]);}});}}}}),{'spanStyles':_0x571875,'stylesToBeHtmlElements':_0x497126};}class MSOfficeInlineStylePropagator extends _0x3ea026{['execute'](_0x49e6ef){const _0x494693=new _0x5ca631(_0x49e6ef['content']['document']),_0x2b7a6f=_0x494693['createRangeIn'](_0x49e6ef['content']),_0x20c4fc=new _0x5b73b6(_0x494693['document']['stylesProcessor']),_0xeb310f=[...new _0x10f752(_0x20c4fc)['blockElements'],'font'],_0x3a3f9e=_0x2b7a6f['getItems']();for(const _0xe7f186 of _0x3a3f9e)if(_0xe7f186['is']('element')&&_0xeb310f['includes'](_0xe7f186['name'])){if(_0xe7f186['hasStyle']('mso-list')&&'none'!==_0xe7f186['getStyle']('mso-list')){GO(_0xe7f186,_0x494693,jO(_0xe7f186));continue;}HO(_0xe7f186,_0x494693,jO(_0xe7f186));}}['isActive'](_0x11fd4e){return super['isActive'](_0x11fd4e)||MO(_0x11fd4e);}}class PasteFromOfficeEnhancedPropagator extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x222999];}['init'](){const _0x28d904=this['editor'],_0x532672=_0x28d904['plugins']['get']('PasteFromOffice'),_0x24dc7d=_0x28d904['editing']['view']['document'],_0x21589f=new MSOfficeInlineStylePropagator(_0x24dc7d);_0x532672['registerNormalizer'](_0x21589f,_0x537830['high']+0xa),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xcace1d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3dcbe6;for(const _0x48ccf7 in _0xcace1d){const _0x5e4b2d=_0x48ccf7,_0x3d46c1=_0xcace1d[_0x5e4b2d];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x3d46c1||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x3d46c1||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x3d46c1||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x3d46c1||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x3d46c1||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x3d46c1||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x3d46c1){delete _0xcace1d[_0x5e4b2d],_0x3dcbe6=_0x3d46c1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x3dcbe6&&_0xcace1d['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x3dcbe6&&_0xcace1d['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x3dcbe6&&_0xcace1d['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x3dcbe6&&_0xcace1d['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x3dcbe6&&_0xcace1d['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x3dcbe6&&_0xcace1d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends _0x151d85{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x222999,PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var XO,qO,WO='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},zO={},YO={},KO,JO,tw,ew,iw,sw,nw,rw={};function ow(_0x16cb33){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x16cb33+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var aw,cw,lw,hw,uw,dw,fw,mw,gw,pw,Ow,ww,bw,yw,vw={};function _w(){return dw||(dw=0x1,(function(){var _0x2d274d=YO;function _0x4b252a(_0x52a20a,_0x41b615,_0x4c29c6){for(var _0x1c7955=Object['keys'](_0x41b615),_0x1c8d0d=0x0;_0x1c8d0d<_0x1c7955['length'];++_0x1c8d0d)void 0x0!==_0x52a20a[_0x1c7955[_0x1c8d0d]]&&_0x4c29c6||'__proto__'!==_0x1c7955[_0x1c8d0d]&&(_0x52a20a[_0x1c7955[_0x1c8d0d]]=_0x41b615[_0x1c7955[_0x1c8d0d]]);return _0x52a20a;}function _0x165f0a(_0x287c91){function _0x2103e5(_0x365f39,_0x3bd85b){if(!(this instanceof _0x2103e5))return new _0x2103e5(_0x365f39,_0x3bd85b);Object['defineProperty'](this,'message',{'get':function(){return _0x365f39;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x2103e5):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x3bd85b&&_0x4b252a(this,_0x3bd85b);}return _0x2103e5['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x2103e5,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x287c91;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x2103e5;}_0x2d274d['asPromise']=(qO||(qO=0x1,XO=function(_0x41ec73,_0x230bd0){for(var _0x407c9c=new Array(arguments['length']-0x1),_0x47e70b=0x0,_0x54a843=0x2,_0x2492cc=!0x0;_0x54a843<arguments['length'];)_0x407c9c[_0x47e70b++]=arguments[_0x54a843++];return new Promise(function(_0x22c6b5,_0x41cfc5){_0x407c9c[_0x47e70b]=function(_0x43a46e){if(_0x2492cc){if(_0x2492cc=!0x1,_0x43a46e)_0x41cfc5(_0x43a46e);else{for(var _0x4cafe5=new Array(arguments['length']-0x1),_0x736107=0x0;_0x736107<_0x4cafe5['length'];)_0x4cafe5[_0x736107++]=arguments[_0x736107];_0x22c6b5['apply'](null,_0x4cafe5);}}};try{_0x41ec73['apply'](_0x230bd0||null,_0x407c9c);}catch(_0x4248f4){_0x2492cc&&(_0x2492cc=!0x1,_0x41cfc5(_0x4248f4));}});}),XO),_0x2d274d['base64']=(KO||(KO=0x1,function(_0x4a962c){var _0x402c8d=_0x4a962c;_0x402c8d['length']=function(_0x39e201){var _0x24fe18=_0x39e201['length'];if(!_0x24fe18)return 0x0;for(var _0x2437aa=0x0;--_0x24fe18%0x4>0x1&&'='===_0x39e201['charAt'](_0x24fe18);)++_0x2437aa;return Math['ceil'](0x3*_0x39e201['length'])/0x4-_0x2437aa;};for(var _0x34d1e7=new Array(0x40),_0x2d85fe=new Array(0x7b),_0x2697b0=0x0;_0x2697b0<0x40;)_0x2d85fe[_0x34d1e7[_0x2697b0]=_0x2697b0<0x1a?_0x2697b0+0x41:_0x2697b0<0x34?_0x2697b0+0x47:_0x2697b0<0x3e?_0x2697b0-0x4:_0x2697b0-0x3b|0x2b]=_0x2697b0++;_0x402c8d['encode']=function(_0xc2891a,_0x490610,_0x35c586){for(var t,_0x358990=null,_0x241ce=[],_0x52eeec=0x0,_0x56def3=0x0;_0x490610<_0x35c586;){var _0x315265=_0xc2891a[_0x490610++];switch(_0x56def3){case 0x0:_0x241ce[_0x52eeec++]=_0x34d1e7[_0x315265>>0x2],t=(0x3&_0x315265)<<0x4,_0x56def3=0x1;break;case 0x1:_0x241ce[_0x52eeec++]=_0x34d1e7[t|_0x315265>>0x4],t=(0xf&_0x315265)<<0x2,_0x56def3=0x2;break;case 0x2:_0x241ce[_0x52eeec++]=_0x34d1e7[t|_0x315265>>0x6],_0x241ce[_0x52eeec++]=_0x34d1e7[0x3f&_0x315265],_0x56def3=0x0;}_0x52eeec>0x1fff&&((_0x358990||(_0x358990=[]))['push'](String['fromCharCode']['apply'](String,_0x241ce)),_0x52eeec=0x0);}return _0x56def3&&(_0x241ce[_0x52eeec++]=_0x34d1e7[t],_0x241ce[_0x52eeec++]=0x3d,0x1===_0x56def3&&(_0x241ce[_0x52eeec++]=0x3d)),_0x358990?(_0x52eeec&&_0x358990['push'](String['fromCharCode']['apply'](String,_0x241ce['slice'](0x0,_0x52eeec))),_0x358990['join']('')):String['fromCharCode']['apply'](String,_0x241ce['slice'](0x0,_0x52eeec));};var _0x502799='invalid\x20encoding';_0x402c8d['decode']=function(_0x52f4ba,_0x2f1645,_0x3cf7e0){for(var t,_0x460637=_0x3cf7e0,_0x2fbc76=0x0,_0x303bc7=0x0;_0x303bc7<_0x52f4ba['length'];){var _0x581e1d=_0x52f4ba['charCodeAt'](_0x303bc7++);if(0x3d===_0x581e1d&&_0x2fbc76>0x1)break;if(void 0x0===(_0x581e1d=_0x2d85fe[_0x581e1d]))throw Error(_0x502799);switch(_0x2fbc76){case 0x0:t=_0x581e1d,_0x2fbc76=0x1;break;case 0x1:_0x2f1645[_0x3cf7e0++]=t<<0x2|(0x30&_0x581e1d)>>0x4,t=_0x581e1d,_0x2fbc76=0x2;break;case 0x2:_0x2f1645[_0x3cf7e0++]=(0xf&t)<<0x4|(0x3c&_0x581e1d)>>0x2,t=_0x581e1d,_0x2fbc76=0x3;break;case 0x3:_0x2f1645[_0x3cf7e0++]=(0x3&t)<<0x6|_0x581e1d,_0x2fbc76=0x0;}}if(0x1===_0x2fbc76)throw Error(_0x502799);return _0x3cf7e0-_0x460637;},_0x402c8d['test']=function(_0x14e671){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x14e671);};}(rw)),rw),_0x2d274d['EventEmitter']=(function(){if(tw)return JO;function _0x301925(){this['_listeners']={};}return tw=0x1,JO=_0x301925,_0x301925['prototype']['on']=function(_0x582987,_0x39d017,_0x547625){return(this['_listeners'][_0x582987]||(this['_listeners'][_0x582987]=[]))['push']({'fn':_0x39d017,'ctx':_0x547625||this}),this;},_0x301925['prototype']['off']=function(_0xa9c88e,_0x6e48ba){if(void 0x0===_0xa9c88e)this['_listeners']={};else{if(void 0x0===_0x6e48ba)this['_listeners'][_0xa9c88e]=[];else{for(var _0x42298f=this['_listeners'][_0xa9c88e],_0x49fd3b=0x0;_0x49fd3b<_0x42298f['length'];)_0x42298f[_0x49fd3b]['fn']===_0x6e48ba?_0x42298f['splice'](_0x49fd3b,0x1):++_0x49fd3b;}}return this;},_0x301925['prototype']['emit']=function(_0x29b64b){var _0x9f9a4d=this['_listeners'][_0x29b64b];if(_0x9f9a4d){for(var _0x3c16bd=[],_0x4aff20=0x1;_0x4aff20<arguments['length'];)_0x3c16bd['push'](arguments[_0x4aff20++]);for(_0x4aff20=0x0;_0x4aff20<_0x9f9a4d['length'];)_0x9f9a4d[_0x4aff20]['fn']['apply'](_0x9f9a4d[_0x4aff20++]['ctx'],_0x3c16bd);}return this;},JO;}()),_0x2d274d['float']=(function(){if(iw)return ew;function _0x42219d(_0x3d494a){return'undefined'!=typeof Float32Array?(function(){var _0x3c2fcb=new Float32Array([-0x0]),_0x5d80b2=new Uint8Array(_0x3c2fcb['buffer']),_0x328bc8=0x80===_0x5d80b2[0x3];function _0x1c7fc5(_0x3c3c8c,_0xc5b6b0,_0x368f67){_0x3c2fcb[0x0]=_0x3c3c8c,_0xc5b6b0[_0x368f67]=_0x5d80b2[0x0],_0xc5b6b0[_0x368f67+0x1]=_0x5d80b2[0x1],_0xc5b6b0[_0x368f67+0x2]=_0x5d80b2[0x2],_0xc5b6b0[_0x368f67+0x3]=_0x5d80b2[0x3];}function _0x1c2c07(_0x32b2ee,_0x3f7e22,_0xf315e8){_0x3c2fcb[0x0]=_0x32b2ee,_0x3f7e22[_0xf315e8]=_0x5d80b2[0x3],_0x3f7e22[_0xf315e8+0x1]=_0x5d80b2[0x2],_0x3f7e22[_0xf315e8+0x2]=_0x5d80b2[0x1],_0x3f7e22[_0xf315e8+0x3]=_0x5d80b2[0x0];}function _0x5288c7(_0x5b5af3,_0x250f00){return _0x5d80b2[0x0]=_0x5b5af3[_0x250f00],_0x5d80b2[0x1]=_0x5b5af3[_0x250f00+0x1],_0x5d80b2[0x2]=_0x5b5af3[_0x250f00+0x2],_0x5d80b2[0x3]=_0x5b5af3[_0x250f00+0x3],_0x3c2fcb[0x0];}function _0x2c1b09(_0x28b3eb,_0x56208a){return _0x5d80b2[0x3]=_0x28b3eb[_0x56208a],_0x5d80b2[0x2]=_0x28b3eb[_0x56208a+0x1],_0x5d80b2[0x1]=_0x28b3eb[_0x56208a+0x2],_0x5d80b2[0x0]=_0x28b3eb[_0x56208a+0x3],_0x3c2fcb[0x0];}_0x3d494a['writeFloatLE']=_0x328bc8?_0x1c7fc5:_0x1c2c07,_0x3d494a['writeFloatBE']=_0x328bc8?_0x1c2c07:_0x1c7fc5,_0x3d494a['readFloatLE']=_0x328bc8?_0x5288c7:_0x2c1b09,_0x3d494a['readFloatBE']=_0x328bc8?_0x2c1b09:_0x5288c7;}()):(function(){function _0x53b626(_0x4c353e,_0x40b60c,_0x11f81f,_0x5b4a7f){var _0x235943=_0x40b60c<0x0?0x1:0x0;if(_0x235943&&(_0x40b60c=-_0x40b60c),0x0===_0x40b60c)_0x4c353e(0x1/_0x40b60c>0x0?0x0:0x80000000,_0x11f81f,_0x5b4a7f);else{if(isNaN(_0x40b60c))_0x4c353e(0x7fc00000,_0x11f81f,_0x5b4a7f);else{if(_0x40b60c>0xffffff00000000000000000000000000)_0x4c353e((_0x235943<<0x1f|0x7f800000)>>>0x0,_0x11f81f,_0x5b4a7f);else{if(_0x40b60c<1.1754943508222875e-38)_0x4c353e((_0x235943<<0x1f|Math['round'](_0x40b60c/1.401298464324817e-45))>>>0x0,_0x11f81f,_0x5b4a7f);else{var _0x53d604=Math['floor'](Math['log'](_0x40b60c)/Math['LN2']);_0x4c353e((_0x235943<<0x1f|_0x53d604+0x7f<<0x17|0x7fffff&Math['round'](_0x40b60c*Math['pow'](0x2,-_0x53d604)*0x800000))>>>0x0,_0x11f81f,_0x5b4a7f);}}}}}function _0x375269(_0x5694af,_0x799eef,_0x53eace){var _0xa94802=_0x5694af(_0x799eef,_0x53eace),_0x353d8d=0x2*(_0xa94802>>0x1f)+0x1,_0x504bae=_0xa94802>>>0x17&0xff,_0x486608=0x7fffff&_0xa94802;return 0xff===_0x504bae?_0x486608?NaN:_0x353d8d*(0x1/0x0):0x0===_0x504bae?1.401298464324817e-45*_0x353d8d*_0x486608:_0x353d8d*Math['pow'](0x2,_0x504bae-0x96)*(_0x486608+0x800000);}_0x3d494a['writeFloatLE']=_0x53b626['bind'](null,_0x5f0a5f),_0x3d494a['writeFloatBE']=_0x53b626['bind'](null,_0x119e88),_0x3d494a['readFloatLE']=_0x375269['bind'](null,_0x5c7897),_0x3d494a['readFloatBE']=_0x375269['bind'](null,_0x508f6b);}()),'undefined'!=typeof Float64Array?(function(){var _0x81742a=new Float64Array([-0x0]),_0x52e815=new Uint8Array(_0x81742a['buffer']),_0x5cee84=0x80===_0x52e815[0x7];function _0xe7f0b0(_0x566ed,_0x517863,_0x3f1963){_0x81742a[0x0]=_0x566ed,_0x517863[_0x3f1963]=_0x52e815[0x0],_0x517863[_0x3f1963+0x1]=_0x52e815[0x1],_0x517863[_0x3f1963+0x2]=_0x52e815[0x2],_0x517863[_0x3f1963+0x3]=_0x52e815[0x3],_0x517863[_0x3f1963+0x4]=_0x52e815[0x4],_0x517863[_0x3f1963+0x5]=_0x52e815[0x5],_0x517863[_0x3f1963+0x6]=_0x52e815[0x6],_0x517863[_0x3f1963+0x7]=_0x52e815[0x7];}function _0x1b27a8(_0x3a61b0,_0x3f4131,_0xd6f0a1){_0x81742a[0x0]=_0x3a61b0,_0x3f4131[_0xd6f0a1]=_0x52e815[0x7],_0x3f4131[_0xd6f0a1+0x1]=_0x52e815[0x6],_0x3f4131[_0xd6f0a1+0x2]=_0x52e815[0x5],_0x3f4131[_0xd6f0a1+0x3]=_0x52e815[0x4],_0x3f4131[_0xd6f0a1+0x4]=_0x52e815[0x3],_0x3f4131[_0xd6f0a1+0x5]=_0x52e815[0x2],_0x3f4131[_0xd6f0a1+0x6]=_0x52e815[0x1],_0x3f4131[_0xd6f0a1+0x7]=_0x52e815[0x0];}function _0x54627c(_0x4fc5c8,_0x175ff1){return _0x52e815[0x0]=_0x4fc5c8[_0x175ff1],_0x52e815[0x1]=_0x4fc5c8[_0x175ff1+0x1],_0x52e815[0x2]=_0x4fc5c8[_0x175ff1+0x2],_0x52e815[0x3]=_0x4fc5c8[_0x175ff1+0x3],_0x52e815[0x4]=_0x4fc5c8[_0x175ff1+0x4],_0x52e815[0x5]=_0x4fc5c8[_0x175ff1+0x5],_0x52e815[0x6]=_0x4fc5c8[_0x175ff1+0x6],_0x52e815[0x7]=_0x4fc5c8[_0x175ff1+0x7],_0x81742a[0x0];}function _0x4e3437(_0x29175d,_0x3f3fb2){return _0x52e815[0x7]=_0x29175d[_0x3f3fb2],_0x52e815[0x6]=_0x29175d[_0x3f3fb2+0x1],_0x52e815[0x5]=_0x29175d[_0x3f3fb2+0x2],_0x52e815[0x4]=_0x29175d[_0x3f3fb2+0x3],_0x52e815[0x3]=_0x29175d[_0x3f3fb2+0x4],_0x52e815[0x2]=_0x29175d[_0x3f3fb2+0x5],_0x52e815[0x1]=_0x29175d[_0x3f3fb2+0x6],_0x52e815[0x0]=_0x29175d[_0x3f3fb2+0x7],_0x81742a[0x0];}_0x3d494a['writeDoubleLE']=_0x5cee84?_0xe7f0b0:_0x1b27a8,_0x3d494a['writeDoubleBE']=_0x5cee84?_0x1b27a8:_0xe7f0b0,_0x3d494a['readDoubleLE']=_0x5cee84?_0x54627c:_0x4e3437,_0x3d494a['readDoubleBE']=_0x5cee84?_0x4e3437:_0x54627c;}()):(function(){function _0x2a25ae(_0x4cef27,_0x55f067,_0x433b48,_0x2309f7,_0x6cbced,_0x593644){var _0x300a1d=_0x2309f7<0x0?0x1:0x0;if(_0x300a1d&&(_0x2309f7=-_0x2309f7),0x0===_0x2309f7)_0x4cef27(0x0,_0x6cbced,_0x593644+_0x55f067),_0x4cef27(0x1/_0x2309f7>0x0?0x0:0x80000000,_0x6cbced,_0x593644+_0x433b48);else{if(isNaN(_0x2309f7))_0x4cef27(0x0,_0x6cbced,_0x593644+_0x55f067),_0x4cef27(0x7ff80000,_0x6cbced,_0x593644+_0x433b48);else{if(_0x2309f7>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x4cef27(0x0,_0x6cbced,_0x593644+_0x55f067),_0x4cef27((_0x300a1d<<0x1f|0x7ff00000)>>>0x0,_0x6cbced,_0x593644+_0x433b48);else{var _0xcc144d;if(_0x2309f7<2.2250738585072014e-308)_0x4cef27((_0xcc144d=_0x2309f7/5e-324)>>>0x0,_0x6cbced,_0x593644+_0x55f067),_0x4cef27((_0x300a1d<<0x1f|_0xcc144d/0x100000000)>>>0x0,_0x6cbced,_0x593644+_0x433b48);else{var _0x219e80=Math['floor'](Math['log'](_0x2309f7)/Math['LN2']);0x400===_0x219e80&&(_0x219e80=0x3ff),_0x4cef27(0x10000000000000*(_0xcc144d=_0x2309f7*Math['pow'](0x2,-_0x219e80))>>>0x0,_0x6cbced,_0x593644+_0x55f067),_0x4cef27((_0x300a1d<<0x1f|_0x219e80+0x3ff<<0x14|0x100000*_0xcc144d&0xfffff)>>>0x0,_0x6cbced,_0x593644+_0x433b48);}}}}}function _0x581d43(_0x84b941,_0x19c34d,_0x207821,_0x1bbb53,_0x33dca3){var _0x3e6fad=_0x84b941(_0x1bbb53,_0x33dca3+_0x19c34d),_0x5a73c4=_0x84b941(_0x1bbb53,_0x33dca3+_0x207821),_0x16e4a5=0x2*(_0x5a73c4>>0x1f)+0x1,_0x1f8b49=_0x5a73c4>>>0x14&0x7ff,_0x3251ee=0x100000000*(0xfffff&_0x5a73c4)+_0x3e6fad;return 0x7ff===_0x1f8b49?_0x3251ee?NaN:_0x16e4a5*(0x1/0x0):0x0===_0x1f8b49?5e-324*_0x16e4a5*_0x3251ee:_0x16e4a5*Math['pow'](0x2,_0x1f8b49-0x433)*(_0x3251ee+0x10000000000000);}_0x3d494a['writeDoubleLE']=_0x2a25ae['bind'](null,_0x5f0a5f,0x0,0x4),_0x3d494a['writeDoubleBE']=_0x2a25ae['bind'](null,_0x119e88,0x4,0x0),_0x3d494a['readDoubleLE']=_0x581d43['bind'](null,_0x5c7897,0x0,0x4),_0x3d494a['readDoubleBE']=_0x581d43['bind'](null,_0x508f6b,0x4,0x0);}()),_0x3d494a;}function _0x5f0a5f(_0x1c36a9,_0x44dc48,_0x1a5b4a){_0x44dc48[_0x1a5b4a]=0xff&_0x1c36a9,_0x44dc48[_0x1a5b4a+0x1]=_0x1c36a9>>>0x8&0xff,_0x44dc48[_0x1a5b4a+0x2]=_0x1c36a9>>>0x10&0xff,_0x44dc48[_0x1a5b4a+0x3]=_0x1c36a9>>>0x18;}function _0x119e88(_0x215404,_0x220015,_0x2e1b5d){_0x220015[_0x2e1b5d]=_0x215404>>>0x18,_0x220015[_0x2e1b5d+0x1]=_0x215404>>>0x10&0xff,_0x220015[_0x2e1b5d+0x2]=_0x215404>>>0x8&0xff,_0x220015[_0x2e1b5d+0x3]=0xff&_0x215404;}function _0x5c7897(_0x5ce76c,_0x59047b){return(_0x5ce76c[_0x59047b]|_0x5ce76c[_0x59047b+0x1]<<0x8|_0x5ce76c[_0x59047b+0x2]<<0x10|_0x5ce76c[_0x59047b+0x3]<<0x18)>>>0x0;}function _0x508f6b(_0x16b4be,_0x559f12){return(_0x16b4be[_0x559f12]<<0x18|_0x16b4be[_0x559f12+0x1]<<0x10|_0x16b4be[_0x559f12+0x2]<<0x8|_0x16b4be[_0x559f12+0x3])>>>0x0;}return iw=0x1,ew=_0x42219d(_0x42219d);}()),_0x2d274d['inquire']=nw?sw:(nw=0x1,sw=function(_0xd3dc40){try{var _0xd5c05c=ow(_0xd3dc40);return _0xd5c05c&&(_0xd5c05c['length']||Object['keys'](_0xd5c05c)['length'])?_0xd5c05c:null;}catch(_0x1eba49){return null;}}),_0x2d274d['utf8']=(aw||(aw=0x1,function(_0x60e346){var _0x1f6178=_0x60e346;_0x1f6178['length']=function(_0x26831e){for(var _0x1b8451=0x0,_0x3e8a0d=0x0,_0x314675=0x0;_0x314675<_0x26831e['length'];++_0x314675)(_0x3e8a0d=_0x26831e['charCodeAt'](_0x314675))<0x80?_0x1b8451+=0x1:_0x3e8a0d<0x800?_0x1b8451+=0x2:0xd800==(0xfc00&_0x3e8a0d)&&0xdc00==(0xfc00&_0x26831e['charCodeAt'](_0x314675+0x1))?(++_0x314675,_0x1b8451+=0x4):_0x1b8451+=0x3;return _0x1b8451;},_0x1f6178['read']=function(_0x110cd6,_0x5bb41e,_0x2f7325){if(_0x2f7325-_0x5bb41e<0x1)return'';for(var _0x24e4f7='',_0x4a1109=_0x5bb41e;_0x4a1109<_0x2f7325;){var t=_0x110cd6[_0x4a1109++];if(t<=0x7f)_0x24e4f7+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x451329=(0x1f&t)<<0x6|0x3f&_0x110cd6[_0x4a1109++];_0x24e4f7+=_0x451329>=0x80?String['fromCharCode'](_0x451329):'�';}else{if(t>=0xe0&&t<0xf0){var _0x1ac968=(0xf&t)<<0xc|(0x3f&_0x110cd6[_0x4a1109++])<<0x6|0x3f&_0x110cd6[_0x4a1109++];_0x24e4f7+=_0x1ac968>=0x800?String['fromCharCode'](_0x1ac968):'�';}else{if(t>=0xf0){var _0x81d0c5=(0x7&t)<<0x12|(0x3f&_0x110cd6[_0x4a1109++])<<0xc|(0x3f&_0x110cd6[_0x4a1109++])<<0x6|0x3f&_0x110cd6[_0x4a1109++];_0x81d0c5<0x10000||_0x81d0c5>0x10ffff?_0x24e4f7+='�':(_0x81d0c5-=0x10000,_0x24e4f7+=String['fromCharCode'](0xd800+(_0x81d0c5>>0xa)),_0x24e4f7+=String['fromCharCode'](0xdc00+(0x3ff&_0x81d0c5)));}}}}}return _0x24e4f7;},_0x1f6178['write']=function(_0x4e63df,_0x299687,_0x38b27c){for(var _0x5174bb,_0x4f4a9e,_0xdbfcbd=_0x38b27c,_0x13798d=0x0;_0x13798d<_0x4e63df['length'];++_0x13798d)(_0x5174bb=_0x4e63df['charCodeAt'](_0x13798d))<0x80?_0x299687[_0x38b27c++]=_0x5174bb:_0x5174bb<0x800?(_0x299687[_0x38b27c++]=_0x5174bb>>0x6|0xc0,_0x299687[_0x38b27c++]=0x3f&_0x5174bb|0x80):0xd800==(0xfc00&_0x5174bb)&&0xdc00==(0xfc00&(_0x4f4a9e=_0x4e63df['charCodeAt'](_0x13798d+0x1)))?(_0x5174bb=0x10000+((0x3ff&_0x5174bb)<<0xa)+(0x3ff&_0x4f4a9e),++_0x13798d,_0x299687[_0x38b27c++]=_0x5174bb>>0x12|0xf0,_0x299687[_0x38b27c++]=_0x5174bb>>0xc&0x3f|0x80,_0x299687[_0x38b27c++]=_0x5174bb>>0x6&0x3f|0x80,_0x299687[_0x38b27c++]=0x3f&_0x5174bb|0x80):(_0x299687[_0x38b27c++]=_0x5174bb>>0xc|0xe0,_0x299687[_0x38b27c++]=_0x5174bb>>0x6&0x3f|0x80,_0x299687[_0x38b27c++]=0x3f&_0x5174bb|0x80);return _0x38b27c-_0xdbfcbd;};}(vw)),vw),_0x2d274d['pool']=(lw||(lw=0x1,cw=function(_0x55df63,_0x5889f6,_0xcde191){var _0x18a80a=_0xcde191||0x2000,_0xabad83=_0x18a80a>>>0x1,_0x1249c8=null,_0x4e63f1=_0x18a80a;return function(_0x3fad73){if(_0x3fad73<0x1||_0x3fad73>_0xabad83)return _0x55df63(_0x3fad73);_0x4e63f1+_0x3fad73>_0x18a80a&&(_0x1249c8=_0x55df63(_0x18a80a),_0x4e63f1=0x0);var _0x3c1b69=_0x5889f6['call'](_0x1249c8,_0x4e63f1,_0x4e63f1+=_0x3fad73);return 0x7&_0x4e63f1&&(_0x4e63f1=0x1+(0x7|_0x4e63f1)),_0x3c1b69;};}),cw),_0x2d274d['LongBits']=(function(){if(uw)return hw;uw=0x1,hw=_0x3e8b52;var _0x5e0b35=_w();function _0x3e8b52(_0xacdb26,_0x161a34){this['lo']=_0xacdb26>>>0x0,this['hi']=_0x161a34>>>0x0;}var _0x427642=_0x3e8b52['zero']=new _0x3e8b52(0x0,0x0);_0x427642['toNumber']=function(){return 0x0;},_0x427642['zzEncode']=_0x427642['zzDecode']=function(){return this;},_0x427642['length']=function(){return 0x1;};var _0x4357ce=_0x3e8b52['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x3e8b52['fromNumber']=function(_0x1538a5){if(0x0===_0x1538a5)return _0x427642;var _0x4de492=_0x1538a5<0x0;_0x4de492&&(_0x1538a5=-_0x1538a5);var _0x4b02bf=_0x1538a5>>>0x0,_0x4c6c0d=(_0x1538a5-_0x4b02bf)/0x100000000>>>0x0;return _0x4de492&&(_0x4c6c0d=~_0x4c6c0d>>>0x0,_0x4b02bf=~_0x4b02bf>>>0x0,++_0x4b02bf>0xffffffff&&(_0x4b02bf=0x0,++_0x4c6c0d>0xffffffff&&(_0x4c6c0d=0x0))),new _0x3e8b52(_0x4b02bf,_0x4c6c0d);},_0x3e8b52['from']=function(_0x4aaf23){if('number'==typeof _0x4aaf23)return _0x3e8b52['fromNumber'](_0x4aaf23);if(_0x5e0b35['isString'](_0x4aaf23)){if(!_0x5e0b35['Long'])return _0x3e8b52['fromNumber'](parseInt(_0x4aaf23,0xa));_0x4aaf23=_0x5e0b35['Long']['fromString'](_0x4aaf23);}return _0x4aaf23['low']||_0x4aaf23['high']?new _0x3e8b52(_0x4aaf23['low']>>>0x0,_0x4aaf23['high']>>>0x0):_0x427642;},_0x3e8b52['prototype']['toNumber']=function(_0x509849){if(!_0x509849&&this['hi']>>>0x1f){var _0x11b92b=0x1+~this['lo']>>>0x0,_0x49da0c=~this['hi']>>>0x0;return _0x11b92b||(_0x49da0c=_0x49da0c+0x1>>>0x0),-(_0x11b92b+0x100000000*_0x49da0c);}return this['lo']+0x100000000*this['hi'];},_0x3e8b52['prototype']['toLong']=function(_0x288fcb){return _0x5e0b35['Long']?new _0x5e0b35['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x288fcb)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x288fcb)};};var _0x48ffa1=String['prototype']['charCodeAt'];return _0x3e8b52['fromHash']=function(_0x3d121f){return _0x3d121f===_0x4357ce?_0x427642:new _0x3e8b52((_0x48ffa1['call'](_0x3d121f,0x0)|_0x48ffa1['call'](_0x3d121f,0x1)<<0x8|_0x48ffa1['call'](_0x3d121f,0x2)<<0x10|_0x48ffa1['call'](_0x3d121f,0x3)<<0x18)>>>0x0,(_0x48ffa1['call'](_0x3d121f,0x4)|_0x48ffa1['call'](_0x3d121f,0x5)<<0x8|_0x48ffa1['call'](_0x3d121f,0x6)<<0x10|_0x48ffa1['call'](_0x3d121f,0x7)<<0x18)>>>0x0);},_0x3e8b52['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);},_0x3e8b52['prototype']['zzEncode']=function(){var _0x196860=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x196860)>>>0x0,this['lo']=(this['lo']<<0x1^_0x196860)>>>0x0,this;},_0x3e8b52['prototype']['zzDecode']=function(){var _0x5f1055=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x5f1055)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x5f1055)>>>0x0,this;},_0x3e8b52['prototype']['length']=function(){var _0x5b36a0=this['lo'],_0x4beef3=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x20a6b=this['hi']>>>0x18;return 0x0===_0x20a6b?0x0===_0x4beef3?_0x5b36a0<0x4000?_0x5b36a0<0x80?0x1:0x2:_0x5b36a0<0x200000?0x3:0x4:_0x4beef3<0x4000?_0x4beef3<0x80?0x5:0x6:_0x4beef3<0x200000?0x7:0x8:_0x20a6b<0x80?0x9:0xa;},hw;}()),_0x2d274d['isNode']=Boolean(void 0x0!==WO&&WO&&WO['process']&&WO['process']['versions']&&WO['process']['versions']['node']),_0x2d274d['global']=_0x2d274d['isNode']&&WO||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||YO,_0x2d274d['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x2d274d['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x2d274d['isInteger']=Number['isInteger']||function(_0xa8acdd){return'number'==typeof _0xa8acdd&&isFinite(_0xa8acdd)&&Math['floor'](_0xa8acdd)===_0xa8acdd;},_0x2d274d['isString']=function(_0x1b0b44){return'string'==typeof _0x1b0b44||_0x1b0b44 instanceof String;},_0x2d274d['isObject']=function(_0x5961bf){return _0x5961bf&&'object'==typeof _0x5961bf;},_0x2d274d['isset']=_0x2d274d['isSet']=function(_0x3ce00a,_0x24bd81){var _0x5d05dc=_0x3ce00a[_0x24bd81];return!(null==_0x5d05dc||!_0x3ce00a['hasOwnProperty'](_0x24bd81))&&('object'!=typeof _0x5d05dc||(Array['isArray'](_0x5d05dc)?_0x5d05dc['length']:Object['keys'](_0x5d05dc)['length'])>0x0);},_0x2d274d['Buffer']=(function(){try{var _0x2b8186=_0x2d274d['inquire']('buffer')['Buffer'];return _0x2b8186['prototype']['utf8Write']?_0x2b8186:null;}catch(_0x1bd54b){return null;}}()),_0x2d274d['_Buffer_from']=null,_0x2d274d['_Buffer_allocUnsafe']=null,_0x2d274d['newBuffer']=function(_0x58058b){return'number'==typeof _0x58058b?_0x2d274d['Buffer']?_0x2d274d['_Buffer_allocUnsafe'](_0x58058b):new _0x2d274d['Array'](_0x58058b):_0x2d274d['Buffer']?_0x2d274d['_Buffer_from'](_0x58058b):'undefined'==typeof Uint8Array?_0x58058b:new Uint8Array(_0x58058b);},_0x2d274d['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x2d274d['Long']=_0x2d274d['global']['dcodeIO']&&_0x2d274d['global']['dcodeIO']['Long']||_0x2d274d['global']['Long']||_0x2d274d['inquire']('long'),_0x2d274d['key2Re']=/^true|false|0|1$/,_0x2d274d['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x2d274d['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x2d274d['longToHash']=function(_0x3b57c9){return _0x3b57c9?_0x2d274d['LongBits']['from'](_0x3b57c9)['toHash']():_0x2d274d['LongBits']['zeroHash'];},_0x2d274d['longFromHash']=function(_0x192d1f,_0x460ed6){var _0x11c11f=_0x2d274d['LongBits']['fromHash'](_0x192d1f);return _0x2d274d['Long']?_0x2d274d['Long']['fromBits'](_0x11c11f['lo'],_0x11c11f['hi'],_0x460ed6):_0x11c11f['toNumber'](Boolean(_0x460ed6));},_0x2d274d['merge']=_0x4b252a,_0x2d274d['recursionLimit']=0x64,_0x2d274d['makeProp']=function(_0x5f1ec9,_0x58542b){Object['defineProperty'](_0x5f1ec9,_0x58542b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x2d274d['lcFirst']=function(_0x3c3f62){return _0x3c3f62['charAt'](0x0)['toLowerCase']()+_0x3c3f62['substring'](0x1);},_0x2d274d['newError']=_0x165f0a,_0x2d274d['ProtocolError']=_0x165f0a('ProtocolError'),_0x2d274d['oneOfGetter']=function(_0x45366e){for(var _0x17aa37={},_0x361a31=0x0;_0x361a31<_0x45366e['length'];++_0x361a31)_0x17aa37[_0x45366e[_0x361a31]]=0x1;return function(){for(var _0x57ea70=Object['keys'](this),_0x58f68a=_0x57ea70['length']-0x1;_0x58f68a>-0x1;--_0x58f68a)if(0x1===_0x17aa37[_0x57ea70[_0x58f68a]]&&void 0x0!==this[_0x57ea70[_0x58f68a]]&&null!==this[_0x57ea70[_0x58f68a]])return _0x57ea70[_0x58f68a];};},_0x2d274d['oneOfSetter']=function(_0x938b52){return function(_0x14be38){for(var _0x1e7dd5=0x0;_0x1e7dd5<_0x938b52['length'];++_0x1e7dd5)_0x938b52[_0x1e7dd5]!==_0x14be38&&delete this[_0x938b52[_0x1e7dd5]];};},_0x2d274d['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x2d274d['_configure']=function(){var _0x382662=_0x2d274d['Buffer'];_0x382662?(_0x2d274d['_Buffer_from']=_0x382662['from']!==Uint8Array['from']&&_0x382662['from']||function(_0x291397,_0x2a6753){return new _0x382662(_0x291397,_0x2a6753);},_0x2d274d['_Buffer_allocUnsafe']=_0x382662['allocUnsafe']||function(_0x3d9463){return new _0x382662(_0x3d9463);}):_0x2d274d['_Buffer_from']=_0x2d274d['_Buffer_allocUnsafe']=null;};}())),YO;}function Ew(){if(mw)return fw;mw=0x1,fw=_0x5d5784;var _0x53a991,_0x1487e9=_w(),_0x5db971=_0x1487e9['LongBits'],_0xf05f94=_0x1487e9['base64'],_0x5a9138=_0x1487e9['utf8'];function _0x5e4188(_0x3feefc,_0x1ad81d,_0x57e458){this['fn']=_0x3feefc,this['len']=_0x1ad81d,this['next']=void 0x0,this['val']=_0x57e458;}function _0x5d757a(){}function _0x1e5c2d(_0x213b92){this['head']=_0x213b92['head'],this['tail']=_0x213b92['tail'],this['len']=_0x213b92['len'],this['next']=_0x213b92['states'];}function _0x5d5784(){this['len']=0x0,this['head']=new _0x5e4188(_0x5d757a,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x244532=function(){return _0x1487e9['Buffer']?function(){return(_0x5d5784['create']=function(){return new _0x53a991();})();}:function(){return new _0x5d5784();};};function _0x5dd1e2(_0x2deb04,_0x434b3a,_0x36c9b5){_0x434b3a[_0x36c9b5]=0xff&_0x2deb04;}function _0x117a4c(_0x4af76a,_0x5ac210){this['len']=_0x4af76a,this['next']=void 0x0,this['val']=_0x5ac210;}function _0x15ae49(_0x58919f,_0x1c2368,_0x12648c){for(;_0x58919f['hi'];)_0x1c2368[_0x12648c++]=0x7f&_0x58919f['lo']|0x80,_0x58919f['lo']=(_0x58919f['lo']>>>0x7|_0x58919f['hi']<<0x19)>>>0x0,_0x58919f['hi']>>>=0x7;for(;_0x58919f['lo']>0x7f;)_0x1c2368[_0x12648c++]=0x7f&_0x58919f['lo']|0x80,_0x58919f['lo']=_0x58919f['lo']>>>0x7;_0x1c2368[_0x12648c++]=_0x58919f['lo'];}function _0x2919c3(_0x213a04,_0x29758c,_0x5404fe){_0x29758c[_0x5404fe]=0xff&_0x213a04,_0x29758c[_0x5404fe+0x1]=_0x213a04>>>0x8&0xff,_0x29758c[_0x5404fe+0x2]=_0x213a04>>>0x10&0xff,_0x29758c[_0x5404fe+0x3]=_0x213a04>>>0x18;}_0x5d5784['create']=_0x244532(),_0x5d5784['alloc']=function(_0x135af6){return new _0x1487e9['Array'](_0x135af6);},_0x1487e9['Array']!==Array&&(_0x5d5784['alloc']=_0x1487e9['pool'](_0x5d5784['alloc'],_0x1487e9['Array']['prototype']['subarray'])),_0x5d5784['prototype']['_push']=function(_0x38a757,_0x3b8d04,_0x5e1423){return this['tail']=this['tail']['next']=new _0x5e4188(_0x38a757,_0x3b8d04,_0x5e1423),this['len']+=_0x3b8d04,this;},_0x117a4c['prototype']=Object['create'](_0x5e4188['prototype']),_0x117a4c['prototype']['fn']=function(_0x4644ee,_0x140c19,_0x137b23){for(;_0x4644ee>0x7f;)_0x140c19[_0x137b23++]=0x7f&_0x4644ee|0x80,_0x4644ee>>>=0x7;_0x140c19[_0x137b23]=_0x4644ee;},_0x5d5784['prototype']['uint32']=function(_0x3f20af){return this['len']+=(this['tail']=this['tail']['next']=new _0x117a4c((_0x3f20af>>>=0x0)<0x80?0x1:_0x3f20af<0x4000?0x2:_0x3f20af<0x200000?0x3:_0x3f20af<0x10000000?0x4:0x5,_0x3f20af))['len'],this;},_0x5d5784['prototype']['int32']=function(_0x5e5928){return _0x5e5928<0x0?this['_push'](_0x15ae49,0xa,_0x5db971['fromNumber'](_0x5e5928)):this['uint32'](_0x5e5928);},_0x5d5784['prototype']['sint32']=function(_0x46ff54){return this['uint32']((_0x46ff54<<0x1^_0x46ff54>>0x1f)>>>0x0);},_0x5d5784['prototype']['uint64']=function(_0x47eac0){var _0x11cc02=_0x5db971['from'](_0x47eac0);return this['_push'](_0x15ae49,_0x11cc02['length'](),_0x11cc02);},_0x5d5784['prototype']['int64']=_0x5d5784['prototype']['uint64'],_0x5d5784['prototype']['sint64']=function(_0x57b741){var _0x3c0e72=_0x5db971['from'](_0x57b741)['zzEncode']();return this['_push'](_0x15ae49,_0x3c0e72['length'](),_0x3c0e72);},_0x5d5784['prototype']['bool']=function(_0x45f696){return this['_push'](_0x5dd1e2,0x1,_0x45f696?0x1:0x0);},_0x5d5784['prototype']['fixed32']=function(_0x2c7e7c){return this['_push'](_0x2919c3,0x4,_0x2c7e7c>>>0x0);},_0x5d5784['prototype']['sfixed32']=_0x5d5784['prototype']['fixed32'],_0x5d5784['prototype']['fixed64']=function(_0x115ae3){var _0x1741f9=_0x5db971['from'](_0x115ae3);return this['_push'](_0x2919c3,0x4,_0x1741f9['lo'])['_push'](_0x2919c3,0x4,_0x1741f9['hi']);},_0x5d5784['prototype']['sfixed64']=_0x5d5784['prototype']['fixed64'],_0x5d5784['prototype']['float']=function(_0x270657){return this['_push'](_0x1487e9['float']['writeFloatLE'],0x4,_0x270657);},_0x5d5784['prototype']['double']=function(_0x2d3c2f){return this['_push'](_0x1487e9['float']['writeDoubleLE'],0x8,_0x2d3c2f);};var _0x281327=_0x1487e9['Array']['prototype']['set']?function(_0x460595,_0x1ae47b,_0x2c092a){_0x1ae47b['set'](_0x460595,_0x2c092a);}:function(_0x1c738f,_0x4a4585,_0x2ca5b1){for(var _0x3c3630=0x0;_0x3c3630<_0x1c738f['length'];++_0x3c3630)_0x4a4585[_0x2ca5b1+_0x3c3630]=_0x1c738f[_0x3c3630];};return _0x5d5784['prototype']['bytes']=function(_0x31f3f4){var _0xbf2de9=_0x31f3f4['length']>>>0x0;if(!_0xbf2de9)return this['_push'](_0x5dd1e2,0x1,0x0);if(_0x1487e9['isString'](_0x31f3f4)){var _0x22b8bb=_0x5d5784['alloc'](_0xbf2de9=_0xf05f94['length'](_0x31f3f4));_0xf05f94['decode'](_0x31f3f4,_0x22b8bb,0x0),_0x31f3f4=_0x22b8bb;}return this['uint32'](_0xbf2de9)['_push'](_0x281327,_0xbf2de9,_0x31f3f4);},_0x5d5784['prototype']['string']=function(_0x41b6e8){var _0x4b6cb8=_0x5a9138['length'](_0x41b6e8);return _0x4b6cb8?this['uint32'](_0x4b6cb8)['_push'](_0x5a9138['write'],_0x4b6cb8,_0x41b6e8):this['_push'](_0x5dd1e2,0x1,0x0);},_0x5d5784['prototype']['fork']=function(){return this['states']=new _0x1e5c2d(this),this['head']=this['tail']=new _0x5e4188(_0x5d757a,0x0,0x0),this['len']=0x0,this;},_0x5d5784['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 _0x5e4188(_0x5d757a,0x0,0x0),this['len']=0x0),this;},_0x5d5784['prototype']['ldelim']=function(){var _0x7535c1=this['head'],_0x57f676=this['tail'],_0x3a06b4=this['len'];return this['reset']()['uint32'](_0x3a06b4),_0x3a06b4&&(this['tail']['next']=_0x7535c1['next'],this['tail']=_0x57f676,this['len']+=_0x3a06b4),this;},_0x5d5784['prototype']['finish']=function(){for(var _0x1966e9=this['head']['next'],_0x6b09e6=this['constructor']['alloc'](this['len']),_0x540505=0x0;_0x1966e9;)_0x1966e9['fn'](_0x1966e9['val'],_0x6b09e6,_0x540505),_0x540505+=_0x1966e9['len'],_0x1966e9=_0x1966e9['next'];return _0x6b09e6;},_0x5d5784['_configure']=function(_0x11c7a0){_0x53a991=_0x11c7a0,_0x5d5784['create']=_0x244532(),_0x53a991['_configure']();},fw;}function Tw(){if(ww)return Ow;ww=0x1,Ow=_0x680e31;var _0x146876,_0xd02f67=_w(),_0x1fed28=_0xd02f67['LongBits'],_0x29ace4=_0xd02f67['utf8'];function _0x573516(_0x3fb165,_0x5304bf){return RangeError('index\x20out\x20of\x20range:\x20'+_0x3fb165['pos']+'\x20+\x20'+(_0x5304bf||0x1)+'\x20>\x20'+_0x3fb165['len']);}function _0x680e31(_0x5e2858){this['buf']=_0x5e2858,this['pos']=0x0,this['len']=_0x5e2858['length'];}var _0x5ef8f7='undefined'!=typeof Uint8Array?function(_0x37c494){if(_0x37c494 instanceof Uint8Array||Array['isArray'](_0x37c494))return new _0x680e31(_0x37c494);throw Error('illegal\x20buffer');}:function(_0x316418){if(Array['isArray'](_0x316418))return new _0x680e31(_0x316418);throw Error('illegal\x20buffer');},_0x1977f3=function(){return _0xd02f67['Buffer']?function(_0x13f75a){return(_0x680e31['create']=function(_0x4d5c97){return _0xd02f67['Buffer']['isBuffer'](_0x4d5c97)?new _0x146876(_0x4d5c97):_0x5ef8f7(_0x4d5c97);})(_0x13f75a);}:_0x5ef8f7;};function _0xd09aa2(){var _0x4bcb0a=new _0x1fed28(0x0,0x0),_0x2796f9=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x2796f9<0x3;++_0x2796f9){if(this['pos']>=this['len'])throw _0x573516(this);if(_0x4bcb0a['lo']=(_0x4bcb0a['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x2796f9)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4bcb0a;}return _0x4bcb0a['lo']=(_0x4bcb0a['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x2796f9)>>>0x0,_0x4bcb0a;}for(;_0x2796f9<0x4;++_0x2796f9)if(_0x4bcb0a['lo']=(_0x4bcb0a['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x2796f9)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4bcb0a;if(_0x4bcb0a['lo']=(_0x4bcb0a['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x4bcb0a['hi']=(_0x4bcb0a['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4bcb0a;if(_0x2796f9=0x0,this['len']-this['pos']>0x4){for(;_0x2796f9<0x5;++_0x2796f9)if(_0x4bcb0a['hi']=(_0x4bcb0a['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x2796f9+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4bcb0a;}else for(;_0x2796f9<0x5;++_0x2796f9){if(this['pos']>=this['len'])throw _0x573516(this);if(_0x4bcb0a['hi']=(_0x4bcb0a['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x2796f9+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4bcb0a;}throw Error('invalid\x20varint\x20encoding');}function _0x487004(_0xc0a209,_0x64960a){return(_0xc0a209[_0x64960a-0x4]|_0xc0a209[_0x64960a-0x3]<<0x8|_0xc0a209[_0x64960a-0x2]<<0x10|_0xc0a209[_0x64960a-0x1]<<0x18)>>>0x0;}function _0x559944(){if(this['pos']+0x8>this['len'])throw _0x573516(this,0x8);return new _0x1fed28(_0x487004(this['buf'],this['pos']+=0x4),_0x487004(this['buf'],this['pos']+=0x4));}return _0x680e31['create']=_0x1977f3(),_0x680e31['prototype']['_slice']=_0xd02f67['Array']['prototype']['subarray']||_0xd02f67['Array']['prototype']['slice'],_0x680e31['prototype']['uint32']=(function(){var _0x3e05ed=0xffffffff;return function(){if(_0x3e05ed=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3e05ed;if(_0x3e05ed=(_0x3e05ed|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3e05ed;if(_0x3e05ed=(_0x3e05ed|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3e05ed;if(_0x3e05ed=(_0x3e05ed|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3e05ed;if(_0x3e05ed=(_0x3e05ed|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x3e05ed;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x573516(this,0xa);return _0x3e05ed;};}()),_0x680e31['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x680e31['prototype']['sint32']=function(){var _0x37ccff=this['uint32']();return _0x37ccff>>>0x1^-(0x1&_0x37ccff);},_0x680e31['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x680e31['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x573516(this,0x4);return _0x487004(this['buf'],this['pos']+=0x4);},_0x680e31['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x573516(this,0x4);return 0x0|_0x487004(this['buf'],this['pos']+=0x4);},_0x680e31['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x573516(this,0x4);var _0x9de845=_0xd02f67['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x9de845;},_0x680e31['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x573516(this,0x4);var _0x57993c=_0xd02f67['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x57993c;},_0x680e31['prototype']['bytes']=function(){var _0x573c82=this['uint32'](),_0x1a9240=this['pos'],_0x505e88=this['pos']+_0x573c82;if(_0x505e88>this['len'])throw _0x573516(this,_0x573c82);if(this['pos']+=_0x573c82,Array['isArray'](this['buf']))return this['buf']['slice'](_0x1a9240,_0x505e88);if(_0x1a9240===_0x505e88){var _0x3e5903=_0xd02f67['Buffer'];return _0x3e5903?_0x3e5903['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x1a9240,_0x505e88);},_0x680e31['prototype']['string']=function(){var _0x7e56d0=this['bytes']();return _0x29ace4['read'](_0x7e56d0,0x0,_0x7e56d0['length']);},_0x680e31['prototype']['skip']=function(_0x94af41){if('number'==typeof _0x94af41){if(this['pos']+_0x94af41>this['len'])throw _0x573516(this,_0x94af41);this['pos']+=_0x94af41;}else do{if(this['pos']>=this['len'])throw _0x573516(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x680e31['recursionLimit']=_0xd02f67['recursionLimit'],_0x680e31['prototype']['skipType']=function(_0x3c5092,_0x2faab9){if(void 0x0===_0x2faab9&&(_0x2faab9=0x0),_0x2faab9>_0x680e31['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x3c5092){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x3c5092=0x7&this['uint32']());)this['skipType'](_0x3c5092,_0x2faab9+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x3c5092+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x680e31['_configure']=function(_0x1f6473){_0x146876=_0x1f6473,_0x680e31['create']=_0x1977f3(),_0x146876['_configure']();var _0x506423=_0xd02f67['Long']?'toLong':'toNumber';_0xd02f67['merge'](_0x680e31['prototype'],{'int64':function(){return _0xd09aa2['call'](this)[_0x506423](!0x1);},'uint64':function(){return _0xd09aa2['call'](this)[_0x506423](!0x0);},'sint64':function(){return _0xd09aa2['call'](this)['zzDecode']()[_0x506423](!0x1);},'fixed64':function(){return _0x559944['call'](this)[_0x506423](!0x0);},'sfixed64':function(){return _0x559944['call'](this)[_0x506423](!0x1);}});},Ow;}var Aw,Iw,Sw,Cw,kw,xw,Rw,Pw,Mw={};function Nw(){return Sw||(Sw=0x1,Mw['Service']=(function(){if(Iw)return Aw;Iw=0x1,Aw=_0x2628c2;var _0x52bada=_w();function _0x2628c2(_0x22ce78,_0x48a066,_0x45484e){if('function'!=typeof _0x22ce78)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x52bada['EventEmitter']['call'](this),this['rpcImpl']=_0x22ce78,this['requestDelimited']=Boolean(_0x48a066),this['responseDelimited']=Boolean(_0x45484e);}return(_0x2628c2['prototype']=Object['create'](_0x52bada['EventEmitter']['prototype']))['constructor']=_0x2628c2,_0x2628c2['prototype']['rpcCall']=function _0x2c01b8(_0x2e5d72,_0xc25f8c,_0x4113fc,_0x5187f4,_0x321f38){if(!_0x5187f4)throw TypeError('request\x20must\x20be\x20specified');var _0x254fd9=this;if(!_0x321f38)return _0x52bada['asPromise'](_0x2c01b8,_0x254fd9,_0x2e5d72,_0xc25f8c,_0x4113fc,_0x5187f4);if(_0x254fd9['rpcImpl'])try{return _0x254fd9['rpcImpl'](_0x2e5d72,_0xc25f8c[_0x254fd9['requestDelimited']?'encodeDelimited':'encode'](_0x5187f4)['finish'](),function(_0x420ca2,_0xc1808c){if(_0x420ca2)return _0x254fd9['emit']('error',_0x420ca2,_0x2e5d72),_0x321f38(_0x420ca2);if(null!==_0xc1808c){if(!(_0xc1808c instanceof _0x4113fc))try{_0xc1808c=_0x4113fc[_0x254fd9['responseDelimited']?'decodeDelimited':'decode'](_0xc1808c);}catch(_0x27c592){return _0x254fd9['emit']('error',_0x27c592,_0x2e5d72),_0x321f38(_0x27c592);}return _0x254fd9['emit']('data',_0xc1808c,_0x2e5d72),_0x321f38(null,_0xc1808c);}_0x254fd9['end'](!0x0);});}catch(_0x4534f6){return _0x254fd9['emit']('error',_0x4534f6,_0x2e5d72),void setTimeout(function(){_0x321f38(_0x4534f6);},0x0);}else setTimeout(function(){_0x321f38(Error('already\x20ended'));},0x0);},_0x2628c2['prototype']['end']=function(_0xa2ecb7){return this['rpcImpl']&&(_0xa2ecb7||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},Aw;}())),Mw;}function Lw(){return xw||(xw=0x1,(function(){var _0x330784=zO;function _0x31a300(){_0x330784['util']['_configure'](),_0x330784['Writer']['_configure'](_0x330784['BufferWriter']),_0x330784['Reader']['_configure'](_0x330784['BufferReader']);}_0x330784['build']='minimal',_0x330784['Writer']=Ew(),_0x330784['BufferWriter']=(function(){if(pw)return gw;pw=0x1,gw=_0x209c71;var _0x55b1ae=Ew();(_0x209c71['prototype']=Object['create'](_0x55b1ae['prototype']))['constructor']=_0x209c71;var _0x55e8e1=_w();function _0x209c71(){_0x55b1ae['call'](this);}function _0x28f4ec(_0x1a9c95,_0x1ffb98,_0x6e6e6d){_0x1a9c95['length']<0x28?_0x55e8e1['utf8']['write'](_0x1a9c95,_0x1ffb98,_0x6e6e6d):_0x1ffb98['utf8Write']?_0x1ffb98['utf8Write'](_0x1a9c95,_0x6e6e6d):_0x1ffb98['write'](_0x1a9c95,_0x6e6e6d);}return _0x209c71['_configure']=function(){_0x209c71['alloc']=_0x55e8e1['_Buffer_allocUnsafe'],_0x209c71['writeBytesBuffer']=_0x55e8e1['Buffer']&&_0x55e8e1['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x55e8e1['Buffer']['prototype']['set']['name']?function(_0x439042,_0x1d28e4,_0x5d2fe7){_0x1d28e4['set'](_0x439042,_0x5d2fe7);}:function(_0x21fe6d,_0x12f07e,_0x5c1f36){if(_0x21fe6d['copy'])_0x21fe6d['copy'](_0x12f07e,_0x5c1f36,0x0,_0x21fe6d['length']);else{for(var _0x1ce9e1=0x0;_0x1ce9e1<_0x21fe6d['length'];)_0x12f07e[_0x5c1f36++]=_0x21fe6d[_0x1ce9e1++];}};},_0x209c71['prototype']['bytes']=function(_0x3e2263){_0x55e8e1['isString'](_0x3e2263)&&(_0x3e2263=_0x55e8e1['_Buffer_from'](_0x3e2263,'base64'));var _0x341848=_0x3e2263['length']>>>0x0;return this['uint32'](_0x341848),_0x341848&&this['_push'](_0x209c71['writeBytesBuffer'],_0x341848,_0x3e2263),this;},_0x209c71['prototype']['string']=function(_0x2af49d){var _0x1efdeb=_0x55e8e1['Buffer']['byteLength'](_0x2af49d);return this['uint32'](_0x1efdeb),_0x1efdeb&&this['_push'](_0x28f4ec,_0x1efdeb,_0x2af49d),this;},_0x209c71['_configure'](),gw;}()),_0x330784['Reader']=Tw(),_0x330784['BufferReader']=(function(){if(yw)return bw;yw=0x1,bw=_0x3ef685;var _0x3b872d=Tw();(_0x3ef685['prototype']=Object['create'](_0x3b872d['prototype']))['constructor']=_0x3ef685;var _0x142289=_w();function _0x3ef685(_0x5964ae){_0x3b872d['call'](this,_0x5964ae);}return _0x3ef685['_configure']=function(){_0x142289['Buffer']&&(_0x3ef685['prototype']['_slice']=_0x142289['Buffer']['prototype']['slice']);},_0x3ef685['prototype']['string']=function(){var _0x3341f0=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x3341f0,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x3341f0,this['len']));},_0x3ef685['_configure'](),bw;}()),_0x330784['util']=_w(),_0x330784['rpc']=Nw(),_0x330784['roots']=kw?Cw:(kw=0x1,Cw={}),_0x330784['configure']=_0x31a300,_0x31a300();}())),zO;}var $w=Pw?Rw:(Pw=0x1,Rw=Lw());const Dw=Object['create'](null);Dw['open']='0',Dw['close']='1',Dw['ping']='2',Dw['pong']='3',Dw['message']='4',Dw['upgrade']='5',Dw['noop']='6';const Qw=Object['create'](null);Object['keys'](Dw)['forEach'](_0x37bece=>{Qw[Dw[_0x37bece]]=_0x37bece;});const Vw={'type':'error','data':'parser\x20error'},Uw='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),Bw='function'==typeof ArrayBuffer,Fw=_0x4e1d4a=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x4e1d4a):_0x4e1d4a&&_0x4e1d4a['buffer']instanceof ArrayBuffer,jw=({type:_0x32b5d1,data:_0x529457},_0x58d4b2,_0x219981)=>Uw&&_0x529457 instanceof Blob?_0x58d4b2?_0x219981(_0x529457):Hw(_0x529457,_0x219981):Bw&&(_0x529457 instanceof ArrayBuffer||Fw(_0x529457))?_0x58d4b2?_0x219981(_0x529457):Hw(new Blob([_0x529457]),_0x219981):_0x219981(Dw[_0x32b5d1]+(_0x529457||'')),Hw=(_0x58ffbc,_0x3f91c6)=>{const _0xa9b9cc=new FileReader();return _0xa9b9cc['onload']=function(){const _0x1e97af=_0xa9b9cc['result']['split'](',')[0x1];_0x3f91c6('b'+(_0x1e97af||''));},_0xa9b9cc['readAsDataURL'](_0x58ffbc);};function Gw(_0xd7e5da){return _0xd7e5da instanceof Uint8Array?_0xd7e5da:_0xd7e5da instanceof ArrayBuffer?new Uint8Array(_0xd7e5da):new Uint8Array(_0xd7e5da['buffer'],_0xd7e5da['byteOffset'],_0xd7e5da['byteLength']);}let Zw;const Xw='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',qw='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let e=0x0;e<0x40;e++)qw[Xw['charCodeAt'](e)]=e;const Ww='function'==typeof ArrayBuffer,zw=(_0x1c9298,_0x5eb094)=>{if('string'!=typeof _0x1c9298)return{'type':'message','data':Kw(_0x1c9298,_0x5eb094)};const _0x2bb607=_0x1c9298['charAt'](0x0);if('b'===_0x2bb607)return{'type':'message','data':Yw(_0x1c9298['substring'](0x1),_0x5eb094)};return Qw[_0x2bb607]?_0x1c9298['length']>0x1?{'type':Qw[_0x2bb607],'data':_0x1c9298['substring'](0x1)}:{'type':Qw[_0x2bb607]}:Vw;},Yw=(_0x729cd6,_0x39dea9)=>{if(Ww){const _0x8e96ff=(_0x3902e2=>{let _0x2812bb,_0x582145,_0x262f7b,_0x4b8697,_0x1dcc81,_0x33df49=0.75*_0x3902e2['length'],_0x10989b=_0x3902e2['length'],_0x126ea7=0x0;'='===_0x3902e2[_0x3902e2['length']-0x1]&&(_0x33df49--,'='===_0x3902e2[_0x3902e2['length']-0x2]&&_0x33df49--);const _0x270d78=new ArrayBuffer(_0x33df49),_0x297fb9=new Uint8Array(_0x270d78);for(_0x2812bb=0x0;_0x2812bb<_0x10989b;_0x2812bb+=0x4)_0x582145=qw[_0x3902e2['charCodeAt'](_0x2812bb)],_0x262f7b=qw[_0x3902e2['charCodeAt'](_0x2812bb+0x1)],_0x4b8697=qw[_0x3902e2['charCodeAt'](_0x2812bb+0x2)],_0x1dcc81=qw[_0x3902e2['charCodeAt'](_0x2812bb+0x3)],_0x297fb9[_0x126ea7++]=_0x582145<<0x2|_0x262f7b>>0x4,_0x297fb9[_0x126ea7++]=(0xf&_0x262f7b)<<0x4|_0x4b8697>>0x2,_0x297fb9[_0x126ea7++]=(0x3&_0x4b8697)<<0x6|0x3f&_0x1dcc81;return _0x270d78;})(_0x729cd6);return Kw(_0x8e96ff,_0x39dea9);}return{'base64':!0x0,'data':_0x729cd6};},Kw=(_0xe1de71,_0x2b7685)=>'blob'===_0x2b7685?_0xe1de71 instanceof Blob?_0xe1de71:new Blob([_0xe1de71]):_0xe1de71 instanceof ArrayBuffer?_0xe1de71:_0xe1de71['buffer'],Jw=String['fromCharCode'](0x1e);function tb(){return new TransformStream({'transform'(_0x4e5b27,_0x306942){!function(_0x5c903e,_0x423460){Uw&&_0x5c903e['data']instanceof Blob?_0x5c903e['data']['arrayBuffer']()['then'](Gw)['then'](_0x423460):Bw&&(_0x5c903e['data']instanceof ArrayBuffer||Fw(_0x5c903e['data']))?_0x423460(Gw(_0x5c903e['data'])):jw(_0x5c903e,!0x1,_0x53478c=>{Zw||(Zw=new TextEncoder()),_0x423460(Zw['encode'](_0x53478c));});}(_0x4e5b27,_0x51e4fa=>{const _0xa1768d=_0x51e4fa['length'];let _0x3a41cc;if(_0xa1768d<0x7e)_0x3a41cc=new Uint8Array(0x1),new DataView(_0x3a41cc['buffer'])['setUint8'](0x0,_0xa1768d);else{if(_0xa1768d<0x10000){_0x3a41cc=new Uint8Array(0x3);const _0x5613f6=new DataView(_0x3a41cc['buffer']);_0x5613f6['setUint8'](0x0,0x7e),_0x5613f6['setUint16'](0x1,_0xa1768d);}else{_0x3a41cc=new Uint8Array(0x9);const _0x327de3=new DataView(_0x3a41cc['buffer']);_0x327de3['setUint8'](0x0,0x7f),_0x327de3['setBigUint64'](0x1,BigInt(_0xa1768d));}}_0x4e5b27['data']&&'string'!=typeof _0x4e5b27['data']&&(_0x3a41cc[0x0]|=0x80),_0x306942['enqueue'](_0x3a41cc),_0x306942['enqueue'](_0x51e4fa);});}});}let eb;function ib(_0x59e14b){return _0x59e14b['reduce']((_0x4838da,_0x264a6c)=>_0x4838da+_0x264a6c['length'],0x0);}function sb(_0x328570,_0xe4723a){if(_0x328570[0x0]['length']===_0xe4723a)return _0x328570['shift']();const _0x1df81e=new Uint8Array(_0xe4723a);let _0x341fef=0x0;for(let _0x32f8b7=0x0;_0x32f8b7<_0xe4723a;_0x32f8b7++)_0x1df81e[_0x32f8b7]=_0x328570[0x0][_0x341fef++],_0x341fef===_0x328570[0x0]['length']&&(_0x328570['shift'](),_0x341fef=0x0);return _0x328570['length']&&_0x341fef<_0x328570[0x0]['length']&&(_0x328570[0x0]=_0x328570[0x0]['slice'](_0x341fef)),_0x1df81e;}function nb(_0x5c5b68){if(_0x5c5b68)return function(_0x4ff1cf){for(var _0x1a556b in nb['prototype'])_0x4ff1cf[_0x1a556b]=nb['prototype'][_0x1a556b];return _0x4ff1cf;}(_0x5c5b68);}nb['prototype']['on']=nb['prototype']['addEventListener']=function(_0x2ede0f,_0x59ba54){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x2ede0f]=this['_callbacks']['$'+_0x2ede0f]||[])['push'](_0x59ba54),this;},nb['prototype']['once']=function(_0xdbb611,_0x1cc01b){function _0x16b125(){this['off'](_0xdbb611,_0x16b125),_0x1cc01b['apply'](this,arguments);}return _0x16b125['fn']=_0x1cc01b,this['on'](_0xdbb611,_0x16b125),this;},nb['prototype']['off']=nb['prototype']['removeListener']=nb['prototype']['removeAllListeners']=nb['prototype']['removeEventListener']=function(_0x4bd88c,_0x1bbd96){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0xb6dffe,_0x1d0d5b=this['_callbacks']['$'+_0x4bd88c];if(!_0x1d0d5b)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x4bd88c],this;for(var _0x4c441d=0x0;_0x4c441d<_0x1d0d5b['length'];_0x4c441d++)if((_0xb6dffe=_0x1d0d5b[_0x4c441d])===_0x1bbd96||_0xb6dffe['fn']===_0x1bbd96){_0x1d0d5b['splice'](_0x4c441d,0x1);break;}return 0x0===_0x1d0d5b['length']&&delete this['_callbacks']['$'+_0x4bd88c],this;},nb['prototype']['emit']=function(_0x31418f){this['_callbacks']=this['_callbacks']||{};for(var _0x27dfb4=new Array(arguments['length']-0x1),_0x503c54=this['_callbacks']['$'+_0x31418f],_0x3559ad=0x1;_0x3559ad<arguments['length'];_0x3559ad++)_0x27dfb4[_0x3559ad-0x1]=arguments[_0x3559ad];if(_0x503c54){_0x3559ad=0x0;for(var _0x461400=(_0x503c54=_0x503c54['slice'](0x0))['length'];_0x3559ad<_0x461400;++_0x3559ad)_0x503c54[_0x3559ad]['apply'](this,_0x27dfb4);}return this;},nb['prototype']['emitReserved']=nb['prototype']['emit'],nb['prototype']['listeners']=function(_0x3d21f4){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x3d21f4]||[];},nb['prototype']['hasListeners']=function(_0x4f4060){return!!this['listeners'](_0x4f4060)['length'];};const rb='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function ob(_0x1bd0de,..._0x5cd076){return _0x5cd076['reduce']((_0x54376b,_0x4fd3f5)=>(_0x1bd0de['hasOwnProperty'](_0x4fd3f5)&&(_0x54376b[_0x4fd3f5]=_0x1bd0de[_0x4fd3f5]),_0x54376b),{});}const ab=rb['setTimeout'],cb=rb['clearTimeout'];function lb(_0x57fb3a,_0x37a91b){_0x37a91b['useNativeTimers']?(_0x57fb3a['setTimeoutFn']=ab['bind'](rb),_0x57fb3a['clearTimeoutFn']=cb['bind'](rb)):(_0x57fb3a['setTimeoutFn']=rb['setTimeout']['bind'](rb),_0x57fb3a['clearTimeoutFn']=rb['clearTimeout']['bind'](rb));}function hb(_0x377e70){return'string'==typeof _0x377e70?function(_0x56d628){let _0x3a26fc=0x0,_0x3ba490=0x0;for(let _0x4e82e8=0x0,_0x3a8eec=_0x56d628['length'];_0x4e82e8<_0x3a8eec;_0x4e82e8++)_0x3a26fc=_0x56d628['charCodeAt'](_0x4e82e8),_0x3a26fc<0x80?_0x3ba490+=0x1:_0x3a26fc<0x800?_0x3ba490+=0x2:_0x3a26fc<0xd800||_0x3a26fc>=0xe000?_0x3ba490+=0x3:(_0x4e82e8++,_0x3ba490+=0x4);return _0x3ba490;}(_0x377e70):Math['ceil'](1.33*(_0x377e70['byteLength']||_0x377e70['size']));}class TransportError extends Error{constructor(_0x5f5ea7,_0x29963d,_0x2952b6){super(_0x5f5ea7),this['description']=_0x29963d,this['context']=_0x2952b6,this['type']='TransportError';}}class Transport extends nb{constructor(_0x15ba09){super(),this['writable']=!0x1,lb(this,_0x15ba09),this['opts']=_0x15ba09,this['query']=_0x15ba09['query'],this['socket']=_0x15ba09['socket'];}['onError'](_0x50286f,_0x26b5d0,_0x2c57d7){return super['emitReserved']('error',new TransportError(_0x50286f,_0x26b5d0,_0x2c57d7)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x42c6a3){'open'===this['readyState']&&this['write'](_0x42c6a3);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x357c05){const _0x20ef91=zw(_0x357c05,this['socket']['binaryType']);this['onPacket'](_0x20ef91);}['onPacket'](_0x2d3509){super['emitReserved']('packet',_0x2d3509);}['onClose'](_0x2a6ffb){this['readyState']='closed',super['emitReserved']('close',_0x2a6ffb);}['pause'](_0xcda0a0){}['createUri'](_0x2a8116,_0x3d879d={}){return _0x2a8116+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x3d879d);}['_hostname'](){const _0x60e7cf=this['opts']['hostname'];return-0x1===_0x60e7cf['indexOf'](':')?_0x60e7cf:'['+_0x60e7cf+']';}['_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'](_0x6698fb){const _0x29cfb2=function(_0x31e0f7){let _0x360b7f='';for(let _0x5ed35d in _0x31e0f7)_0x31e0f7['hasOwnProperty'](_0x5ed35d)&&(_0x360b7f['length']&&(_0x360b7f+='&'),_0x360b7f+=encodeURIComponent(_0x5ed35d)+'='+encodeURIComponent(_0x31e0f7[_0x5ed35d]));return _0x360b7f;}(_0x6698fb);return _0x29cfb2['length']?'?'+_0x29cfb2:'';}}const ub='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),db={};let fb,mb=0x0,gb=0x0;function pb(_0x10ce3c){let _0x33cae9='';do{_0x33cae9=ub[_0x10ce3c%0x40]+_0x33cae9,_0x10ce3c=Math['floor'](_0x10ce3c/0x40);}while(_0x10ce3c>0x0);return _0x33cae9;}function Ob(){const _0x5c2891=pb(+new Date());return _0x5c2891!==fb?(mb=0x0,fb=_0x5c2891):_0x5c2891+'.'+pb(mb++);}for(;gb<0x40;gb++)db[ub[gb]]=gb;let wb=!0x1;try{wb='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x31714d){}const bb=wb;function yb(_0x5d4301){const _0x3a9431=_0x5d4301['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x3a9431||bb))return new XMLHttpRequest();}catch(_0xfdca30){}if(!_0x3a9431)try{return new rb[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x2d7fd5){}}function vb(){}const _b=null!=new yb({'xdomain':!0x1})['responseType'];class Request extends nb{constructor(_0x2da3da,_0x51a248){super(),lb(this,_0x51a248),this['opts']=_0x51a248,this['method']=_0x51a248['method']||'GET',this['uri']=_0x2da3da,this['data']=void 0x0!==_0x51a248['data']?_0x51a248['data']:null,this['create']();}['create'](){var _0x27d293;const _0x377081=ob(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x377081['xdomain']=!!this['opts']['xd'];const _0x5b91a3=this['xhr']=new yb(_0x377081);try{_0x5b91a3['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x5b91a3['setDisableHeaderCheck']&&_0x5b91a3['setDisableHeaderCheck'](!0x0);for(let _0x3206a5 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x3206a5)&&_0x5b91a3['setRequestHeader'](_0x3206a5,this['opts']['extraHeaders'][_0x3206a5]);}}catch(_0x4cbaa4){}if('POST'===this['method'])try{_0x5b91a3['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x2b26ad){}try{_0x5b91a3['setRequestHeader']('Accept','*/*');}catch(_0x247617){}null===(_0x27d293=this['opts']['cookieJar'])||void 0x0===_0x27d293||_0x27d293['addCookies'](_0x5b91a3),'withCredentials'in _0x5b91a3&&(_0x5b91a3['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x5b91a3['timeout']=this['opts']['requestTimeout']),_0x5b91a3['onreadystatechange']=()=>{var _0x1c86d9;0x3===_0x5b91a3['readyState']&&(null===(_0x1c86d9=this['opts']['cookieJar'])||void 0x0===_0x1c86d9||_0x1c86d9['parseCookies'](_0x5b91a3)),0x4===_0x5b91a3['readyState']&&(0xc8===_0x5b91a3['status']||0x4c7===_0x5b91a3['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x5b91a3['status']?_0x5b91a3['status']:0x0);},0x0));},_0x5b91a3['send'](this['data']);}catch(_0x4673e4){return void this['setTimeoutFn'](()=>{this['onError'](_0x4673e4);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x35a900){this['emitReserved']('error',_0x35a900,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x22a888){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=vb,_0x22a888)try{this['xhr']['abort']();}catch(_0x6edc10){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x3e38dc=this['xhr']['responseText'];null!==_0x3e38dc&&(this['emitReserved']('data',_0x3e38dc),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',Eb);else'function'==typeof addEventListener&&addEventListener('onpagehide'in rb?'pagehide':'unload',Eb,!0x1);}function Eb(){for(let _0x2d1eaf in Request['requests'])Request['requests']['hasOwnProperty'](_0x2d1eaf)&&Request['requests'][_0x2d1eaf]['abort']();}const Tb='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x333658=>Promise['resolve']()['then'](_0x333658):(_0x65edfb,_0x4276a1)=>_0x4276a1(_0x65edfb,0x0),Ab=rb['WebSocket']||rb['MozWebSocket'],Ib='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),Sb={'websocket':class WS extends Transport{constructor(_0x4259db){super(_0x4259db),this['supportsBinary']=!_0x4259db['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x9cb9ff=this['uri'](),_0x536d8a=this['opts']['protocols'],_0xd28b3d=Ib?{}:ob(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0xd28b3d['headers']=this['opts']['extraHeaders']);try{this['ws']=Ib?new Ab(_0x9cb9ff,_0x536d8a,_0xd28b3d):_0x536d8a?new Ab(_0x9cb9ff,_0x536d8a):new Ab(_0x9cb9ff);}catch(_0x2a4b7b){return this['emitReserved']('error',_0x2a4b7b);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x385173=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x385173}),this['ws']['onmessage']=_0x387973=>this['onData'](_0x387973['data']),this['ws']['onerror']=_0x2e80fb=>this['onError']('websocket\x20error',_0x2e80fb);}['write'](_0x3df139){this['writable']=!0x1;for(let _0x547a5b=0x0;_0x547a5b<_0x3df139['length'];_0x547a5b++){const _0x4eb858=_0x3df139[_0x547a5b],_0x53443a=_0x547a5b===_0x3df139['length']-0x1;jw(_0x4eb858,this['supportsBinary'],_0xb5350a=>{try{this['ws']['send'](_0xb5350a);}catch(_0x38eeae){}_0x53443a&&Tb(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x56e38c=this['opts']['secure']?'wss':'ws',_0x5539d4=this['query']||{};return this['opts']['timestampRequests']&&(_0x5539d4[this['opts']['timestampParam']]=Ob()),this['supportsBinary']||(_0x5539d4['b64']=0x1),this['createUri'](_0x56e38c,_0x5539d4);}['check'](){return!!Ab;}},'webtransport':class WT extends Transport{get['name'](){return'webtransport';}['doOpen'](){'function'==typeof WebTransport&&(this['transport']=new WebTransport(this['createUri']('https'),this['opts']['transportOptions'][this['name']]),this['transport']['closed']['then'](()=>{this['onClose']();})['catch'](_0x4d20f6=>{this['onError']('webtransport\x20error',_0x4d20f6);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x1d0fc8=>{const _0x237ea9=function(_0x3c116f,_0x4a8172){eb||(eb=new TextDecoder());const _0x4b3523=[];let _0x4c1406=0x0,_0x498379=-0x1,_0x187759=!0x1;return new TransformStream({'transform'(_0x3fae3c,_0x54bcb3){for(_0x4b3523['push'](_0x3fae3c);;){if(0x0===_0x4c1406){if(ib(_0x4b3523)<0x1)break;const _0x52adbc=sb(_0x4b3523,0x1);_0x187759=!(0x80&~_0x52adbc[0x0]),_0x498379=0x7f&_0x52adbc[0x0],_0x4c1406=_0x498379<0x7e?0x3:0x7e===_0x498379?0x1:0x2;}else{if(0x1===_0x4c1406){if(ib(_0x4b3523)<0x2)break;const _0x28dc33=sb(_0x4b3523,0x2);_0x498379=new DataView(_0x28dc33['buffer'],_0x28dc33['byteOffset'],_0x28dc33['length'])['getUint16'](0x0),_0x4c1406=0x3;}else{if(0x2===_0x4c1406){if(ib(_0x4b3523)<0x8)break;const _0x406642=sb(_0x4b3523,0x8),_0x2d9df2=new DataView(_0x406642['buffer'],_0x406642['byteOffset'],_0x406642['length']),_0x55cd95=_0x2d9df2['getUint32'](0x0);if(_0x55cd95>Math['pow'](0x2,0x15)-0x1){_0x54bcb3['enqueue'](Vw);break;}_0x498379=_0x55cd95*Math['pow'](0x2,0x20)+_0x2d9df2['getUint32'](0x4),_0x4c1406=0x3;}else{if(ib(_0x4b3523)<_0x498379)break;const _0x241bf3=sb(_0x4b3523,_0x498379);_0x54bcb3['enqueue'](zw(_0x187759?_0x241bf3:eb['decode'](_0x241bf3),_0x4a8172)),_0x4c1406=0x0;}}}if(0x0===_0x498379||_0x498379>_0x3c116f){_0x54bcb3['enqueue'](Vw);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x23d1c9=_0x1d0fc8['readable']['pipeThrough'](_0x237ea9)['getReader'](),_0x4aae63=tb();_0x4aae63['readable']['pipeTo'](_0x1d0fc8['writable']),this['writer']=_0x4aae63['writable']['getWriter']();const _0x14b5b3=()=>{_0x23d1c9['read']()['then'](({done:_0x356cdc,value:_0x327461})=>{_0x356cdc||(this['onPacket'](_0x327461),_0x14b5b3());})['catch'](_0x459034=>{});};_0x14b5b3();const _0x1af216={'type':'open'};this['query']['sid']&&(_0x1af216['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x1af216)['then'](()=>this['onOpen']());});}));}['write'](_0x4f11a3){this['writable']=!0x1;for(let _0x560c89=0x0;_0x560c89<_0x4f11a3['length'];_0x560c89++){const _0x531119=_0x4f11a3[_0x560c89],_0x3c3f71=_0x560c89===_0x4f11a3['length']-0x1;this['writer']['write'](_0x531119)['then'](()=>{_0x3c3f71&&Tb(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x496c03;null===(_0x496c03=this['transport'])||void 0x0===_0x496c03||_0x496c03['close']();}},'polling':class Polling extends Transport{constructor(_0x3ae7cc){if(super(_0x3ae7cc),this['polling']=!0x1,'undefined'!=typeof location){const _0x4836e6='https:'===location['protocol'];let _0x1225d0=location['port'];_0x1225d0||(_0x1225d0=_0x4836e6?'443':'80'),this['xd']='undefined'!=typeof location&&_0x3ae7cc['hostname']!==location['hostname']||_0x1225d0!==_0x3ae7cc['port'];}const _0x1eeb6c=_0x3ae7cc&&_0x3ae7cc['forceBase64'];this['supportsBinary']=_b&&!_0x1eeb6c,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x46f59a){this['readyState']='pausing';const _0x47e78c=()=>{this['readyState']='paused',_0x46f59a();};if(this['polling']||!this['writable']){let _0x3dffb4=0x0;this['polling']&&(_0x3dffb4++,this['once']('pollComplete',function(){--_0x3dffb4||_0x47e78c();})),this['writable']||(_0x3dffb4++,this['once']('drain',function(){--_0x3dffb4||_0x47e78c();}));}else _0x47e78c();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x57c626){((_0x26c1ed,_0x3eb0d4)=>{const _0x5b0437=_0x26c1ed['split'](Jw),_0x4a7292=[];for(let _0x1d1226=0x0;_0x1d1226<_0x5b0437['length'];_0x1d1226++){const _0x225f56=zw(_0x5b0437[_0x1d1226],_0x3eb0d4);if(_0x4a7292['push'](_0x225f56),'error'===_0x225f56['type'])break;}return _0x4a7292;})(_0x57c626,this['socket']['binaryType'])['forEach'](_0x186149=>{if('opening'===this['readyState']&&'open'===_0x186149['type']&&this['onOpen'](),'close'===_0x186149['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x186149);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x58c9cd=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x58c9cd():this['once']('open',_0x58c9cd);}['write'](_0x24ee9d){this['writable']=!0x1,((_0x5829e1,_0x3a5660)=>{const _0x28556f=_0x5829e1['length'],_0x5d5be0=new Array(_0x28556f);let _0x1ce9d0=0x0;_0x5829e1['forEach']((_0x4e3eeb,_0x3db500)=>{jw(_0x4e3eeb,!0x1,_0x5b11cc=>{_0x5d5be0[_0x3db500]=_0x5b11cc,++_0x1ce9d0===_0x28556f&&_0x3a5660(_0x5d5be0['join'](Jw));});});})(_0x24ee9d,_0x64865c=>{this['doWrite'](_0x64865c,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x266020=this['opts']['secure']?'https':'http',_0x2a8b54=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x2a8b54[this['opts']['timestampParam']]=Ob()),this['supportsBinary']||_0x2a8b54['sid']||(_0x2a8b54['b64']=0x1),this['createUri'](_0x266020,_0x2a8b54);}['request'](_0x366e70={}){return Object['assign'](_0x366e70,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x366e70);}['doWrite'](_0x426054,_0x38c37e){const _0x5101a5=this['request']({'method':'POST','data':_0x426054});_0x5101a5['on']('success',_0x38c37e),_0x5101a5['on']('error',(_0x92f6fd,_0x37419b)=>{this['onError']('xhr\x20post\x20error',_0x92f6fd,_0x37419b);});}['doPoll'](){const _0x292fcd=this['request']();_0x292fcd['on']('data',this['onData']['bind'](this)),_0x292fcd['on']('error',(_0x469484,_0x4aa671)=>{this['onError']('xhr\x20poll\x20error',_0x469484,_0x4aa671);}),this['pollXhr']=_0x292fcd;}}},Cb=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,kb=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function xb(_0x4fba85){if(_0x4fba85['length']>0x7d0)throw'URI\x20too\x20long';const _0x153284=_0x4fba85,_0x4ccbea=_0x4fba85['indexOf']('['),_0x4112f1=_0x4fba85['indexOf'](']');-0x1!=_0x4ccbea&&-0x1!=_0x4112f1&&(_0x4fba85=_0x4fba85['substring'](0x0,_0x4ccbea)+_0x4fba85['substring'](_0x4ccbea,_0x4112f1)['replace'](/:/g,';')+_0x4fba85['substring'](_0x4112f1,_0x4fba85['length']));let _0x494642=Cb['exec'](_0x4fba85||''),_0x473615={},_0x495750=0xe;for(;_0x495750--;)_0x473615[kb[_0x495750]]=_0x494642[_0x495750]||'';return-0x1!=_0x4ccbea&&-0x1!=_0x4112f1&&(_0x473615['source']=_0x153284,_0x473615['host']=_0x473615['host']['substring'](0x1,_0x473615['host']['length']-0x1)['replace'](/;/g,':'),_0x473615['authority']=_0x473615['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x473615['ipv6uri']=!0x0),_0x473615['pathNames']=function(_0x1b4329,_0x47a2b8){const _0xe65209=/\/{2,9}/g,_0xdfb0ae=_0x47a2b8['replace'](_0xe65209,'/')['split']('/');return'/'!=_0x47a2b8['slice'](0x0,0x1)&&0x0!==_0x47a2b8['length']||_0xdfb0ae['splice'](0x0,0x1),'/'==_0x47a2b8['slice'](-0x1)&&_0xdfb0ae['splice'](_0xdfb0ae['length']-0x1,0x1),_0xdfb0ae;}(0x0,_0x473615['path']),_0x473615['queryKey']=function(_0x9db80c,_0x167b7f){const _0x3abd77={};return _0x167b7f['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x4195ae,_0x3326f9,_0x36ab2a){_0x3326f9&&(_0x3abd77[_0x3326f9]=_0x36ab2a);}),_0x3abd77;}(0x0,_0x473615['query']),_0x473615;}let Rb=class Socket extends nb{constructor(_0x4b8ea6,_0x2f6ef5={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x4b8ea6&&'object'==typeof _0x4b8ea6&&(_0x2f6ef5=_0x4b8ea6,_0x4b8ea6=null),_0x4b8ea6?(_0x4b8ea6=xb(_0x4b8ea6),_0x2f6ef5['hostname']=_0x4b8ea6['host'],_0x2f6ef5['secure']='https'===_0x4b8ea6['protocol']||'wss'===_0x4b8ea6['protocol'],_0x2f6ef5['port']=_0x4b8ea6['port'],_0x4b8ea6['query']&&(_0x2f6ef5['query']=_0x4b8ea6['query'])):_0x2f6ef5['host']&&(_0x2f6ef5['hostname']=xb(_0x2f6ef5['host'])['host']),lb(this,_0x2f6ef5),this['secure']=null!=_0x2f6ef5['secure']?_0x2f6ef5['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x2f6ef5['hostname']&&!_0x2f6ef5['port']&&(_0x2f6ef5['port']=this['secure']?'443':'80'),this['hostname']=_0x2f6ef5['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x2f6ef5['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x2f6ef5['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},_0x2f6ef5),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x3beb46){let _0x34c463={},_0x24313e=_0x3beb46['split']('&');for(let _0xb76583=0x0,_0x179569=_0x24313e['length'];_0xb76583<_0x179569;_0xb76583++){let _0x4bcba2=_0x24313e[_0xb76583]['split']('=');_0x34c463[decodeURIComponent(_0x4bcba2[0x0])]=decodeURIComponent(_0x4bcba2[0x1]);}return _0x34c463;}(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'](_0x1df740){const _0xd29864=Object['assign']({},this['opts']['query']);_0xd29864['EIO']=0x4,_0xd29864['transport']=_0x1df740,this['id']&&(_0xd29864['sid']=this['id']);const _0x2cce9e=Object['assign']({},this['opts'],{'query':_0xd29864,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x1df740]);return new Sb[_0x1df740](_0x2cce9e);}['open'](){let _0x37f3bf;if(this['opts']['rememberUpgrade']&&Socket['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x37f3bf='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x37f3bf=this['transports'][0x0];}this['readyState']='opening';try{_0x37f3bf=this['createTransport'](_0x37f3bf);}catch(_0x2ab128){return this['transports']['shift'](),void this['open']();}_0x37f3bf['open'](),this['setTransport'](_0x37f3bf);}['setTransport'](_0x3ca563){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x3ca563,_0x3ca563['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x1ffb8d=>this['onClose']('transport\x20close',_0x1ffb8d));}['probe'](_0x438455){let _0x2407b9=this['createTransport'](_0x438455),_0x4673db=!0x1;Socket['priorWebsocketSuccess']=!0x1;const _0xbab80=()=>{_0x4673db||(_0x2407b9['send']([{'type':'ping','data':'probe'}]),_0x2407b9['once']('packet',_0x1611a1=>{if(!_0x4673db){if('pong'===_0x1611a1['type']&&'probe'===_0x1611a1['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x2407b9),!_0x2407b9)return;Socket['priorWebsocketSuccess']='websocket'===_0x2407b9['name'],this['transport']['pause'](()=>{_0x4673db||'closed'!==this['readyState']&&(_0x2d3f43(),this['setTransport'](_0x2407b9),_0x2407b9['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x2407b9),_0x2407b9=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x4f8163=new Error('probe\x20error');_0x4f8163['transport']=_0x2407b9['name'],this['emitReserved']('upgradeError',_0x4f8163);}}}));};function _0x4c965d(){_0x4673db||(_0x4673db=!0x0,_0x2d3f43(),_0x2407b9['close'](),_0x2407b9=null);}const _0x1f88a2=_0x1ba2d5=>{const _0x1dd9dd=new Error('probe\x20error:\x20'+_0x1ba2d5);_0x1dd9dd['transport']=_0x2407b9['name'],_0x4c965d(),this['emitReserved']('upgradeError',_0x1dd9dd);};function _0x2afc2a(){_0x1f88a2('transport\x20closed');}function _0x3eedd1(){_0x1f88a2('socket\x20closed');}function _0x5649a8(_0x1a9b68){_0x2407b9&&_0x1a9b68['name']!==_0x2407b9['name']&&_0x4c965d();}const _0x2d3f43=()=>{_0x2407b9['removeListener']('open',_0xbab80),_0x2407b9['removeListener']('error',_0x1f88a2),_0x2407b9['removeListener']('close',_0x2afc2a),this['off']('close',_0x3eedd1),this['off']('upgrading',_0x5649a8);};_0x2407b9['once']('open',_0xbab80),_0x2407b9['once']('error',_0x1f88a2),_0x2407b9['once']('close',_0x2afc2a),this['once']('close',_0x3eedd1),this['once']('upgrading',_0x5649a8),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x438455?this['setTimeoutFn'](()=>{_0x4673db||_0x2407b9['open']();},0xc8):_0x2407b9['open']();}['onOpen'](){if(this['readyState']='open',Socket['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x51bbf0=0x0;const _0x1704ee=this['upgrades']['length'];for(;_0x51bbf0<_0x1704ee;_0x51bbf0++)this['probe'](this['upgrades'][_0x51bbf0]);}}['onPacket'](_0x28ca1f){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x28ca1f),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x28ca1f['type']){case'open':this['onHandshake'](JSON['parse'](_0x28ca1f['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x414a14=new Error('server\x20error');_0x414a14['code']=_0x28ca1f['data'],this['onError'](_0x414a14);break;case'message':this['emitReserved']('data',_0x28ca1f['data']),this['emitReserved']('message',_0x28ca1f['data']);}}['onHandshake'](_0xa70361){this['emitReserved']('handshake',_0xa70361),this['id']=_0xa70361['sid'],this['transport']['query']['sid']=_0xa70361['sid'],this['upgrades']=this['filterUpgrades'](_0xa70361['upgrades']),this['pingInterval']=_0xa70361['pingInterval'],this['pingTimeout']=_0xa70361['pingTimeout'],this['maxPayload']=_0xa70361['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 _0x26c3a0=this['getWritablePackets']();this['transport']['send'](_0x26c3a0),this['prevBufferLen']=_0x26c3a0['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x35ac11=0x1;for(let _0x8f3a40=0x0;_0x8f3a40<this['writeBuffer']['length'];_0x8f3a40++){const _0x2a1b87=this['writeBuffer'][_0x8f3a40]['data'];if(_0x2a1b87&&(_0x35ac11+=hb(_0x2a1b87)),_0x8f3a40>0x0&&_0x35ac11>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x8f3a40);_0x35ac11+=0x2;}return this['writeBuffer'];}['write'](_0x2b55bf,_0x4653bc,_0x1b1439){return this['sendPacket']('message',_0x2b55bf,_0x4653bc,_0x1b1439),this;}['send'](_0x4a67f3,_0x12eb47,_0x3f1cb8){return this['sendPacket']('message',_0x4a67f3,_0x12eb47,_0x3f1cb8),this;}['sendPacket'](_0x229fd3,_0x50b04b,_0x31322c,_0x13745f){if('function'==typeof _0x50b04b&&(_0x13745f=_0x50b04b,_0x50b04b=void 0x0),'function'==typeof _0x31322c&&(_0x13745f=_0x31322c,_0x31322c=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x31322c=_0x31322c||{})['compress']=!0x1!==_0x31322c['compress'];const _0x5774e1={'type':_0x229fd3,'data':_0x50b04b,'options':_0x31322c};this['emitReserved']('packetCreate',_0x5774e1),this['writeBuffer']['push'](_0x5774e1),_0x13745f&&this['once']('flush',_0x13745f),this['flush']();}['close'](){const _0x1bf190=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x207d1a=()=>{this['off']('upgrade',_0x207d1a),this['off']('upgradeError',_0x207d1a),_0x1bf190();},_0x4cc088=()=>{this['once']('upgrade',_0x207d1a),this['once']('upgradeError',_0x207d1a);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x4cc088():_0x1bf190();}):this['upgrading']?_0x4cc088():_0x1bf190()),this;}['onError'](_0x1cb88e){Socket['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x1cb88e),this['onClose']('transport\x20error',_0x1cb88e);}['onClose'](_0x1eef35,_0x350d39){'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',_0x1eef35,_0x350d39),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x3a571e){const _0x220749=[];let _0x56a512=0x0;const _0x2af96b=_0x3a571e['length'];for(;_0x56a512<_0x2af96b;_0x56a512++)~this['transports']['indexOf'](_0x3a571e[_0x56a512])&&_0x220749['push'](_0x3a571e[_0x56a512]);return _0x220749;}};Rb['protocol']=0x4;const Pb='function'==typeof ArrayBuffer,Mb=Object['prototype']['toString'],Nb='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Mb['call'](Blob),Lb='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===Mb['call'](File);function $b(_0x3741a8){return Pb&&(_0x3741a8 instanceof ArrayBuffer||(_0x123578=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x123578):_0x123578['buffer']instanceof ArrayBuffer)(_0x3741a8))||Nb&&_0x3741a8 instanceof Blob||Lb&&_0x3741a8 instanceof File;}function Db(_0x5bf243,_0x2317da){if(!_0x5bf243||'object'!=typeof _0x5bf243)return!0x1;if(Array['isArray'](_0x5bf243)){for(let _0x17e60a=0x0,_0x14f488=_0x5bf243['length'];_0x17e60a<_0x14f488;_0x17e60a++)if(Db(_0x5bf243[_0x17e60a]))return!0x0;return!0x1;}if($b(_0x5bf243))return!0x0;if(_0x5bf243['toJSON']&&'function'==typeof _0x5bf243['toJSON']&&0x1===arguments['length'])return Db(_0x5bf243['toJSON'](),!0x0);for(const _0x59bd4f in _0x5bf243)if(Object['prototype']['hasOwnProperty']['call'](_0x5bf243,_0x59bd4f)&&Db(_0x5bf243[_0x59bd4f]))return!0x0;return!0x1;}function Qb(_0x55c0a0){const _0x4802e9=[],_0x19ddb4=_0x55c0a0['data'],_0xb124d3=_0x55c0a0;return _0xb124d3['data']=Vb(_0x19ddb4,_0x4802e9),_0xb124d3['attachments']=_0x4802e9['length'],{'packet':_0xb124d3,'buffers':_0x4802e9};}function Vb(_0xb0fd5d,_0x551bae){if(!_0xb0fd5d)return _0xb0fd5d;if($b(_0xb0fd5d)){const _0x48f3f6={'_placeholder':!0x0,'num':_0x551bae['length']};return _0x551bae['push'](_0xb0fd5d),_0x48f3f6;}if(Array['isArray'](_0xb0fd5d)){const _0x4857be=new Array(_0xb0fd5d['length']);for(let _0xb4b796=0x0;_0xb4b796<_0xb0fd5d['length'];_0xb4b796++)_0x4857be[_0xb4b796]=Vb(_0xb0fd5d[_0xb4b796],_0x551bae);return _0x4857be;}if('object'==typeof _0xb0fd5d&&!(_0xb0fd5d instanceof Date)){const _0x5bc791={};for(const _0x55c581 in _0xb0fd5d)Object['prototype']['hasOwnProperty']['call'](_0xb0fd5d,_0x55c581)&&(_0x5bc791[_0x55c581]=Vb(_0xb0fd5d[_0x55c581],_0x551bae));return _0x5bc791;}return _0xb0fd5d;}function Ub(_0x2807b0,_0x1e1e7a){return _0x2807b0['data']=Bb(_0x2807b0['data'],_0x1e1e7a),delete _0x2807b0['attachments'],_0x2807b0;}function Bb(_0x3282ca,_0x41c154){if(!_0x3282ca)return _0x3282ca;if(_0x3282ca&&!0x0===_0x3282ca['_placeholder']){if('number'==typeof _0x3282ca['num']&&_0x3282ca['num']>=0x0&&_0x3282ca['num']<_0x41c154['length'])return _0x41c154[_0x3282ca['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x3282ca)){for(let _0x35b508=0x0;_0x35b508<_0x3282ca['length'];_0x35b508++)_0x3282ca[_0x35b508]=Bb(_0x3282ca[_0x35b508],_0x41c154);}else{if('object'==typeof _0x3282ca){for(const _0xaf6a11 in _0x3282ca)Object['prototype']['hasOwnProperty']['call'](_0x3282ca,_0xaf6a11)&&(_0x3282ca[_0xaf6a11]=Bb(_0x3282ca[_0xaf6a11],_0x41c154));}}return _0x3282ca;}const Fb=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var jb;!function(_0x38068f){_0x38068f[_0x38068f['CONNECT']=0x0]='CONNECT',_0x38068f[_0x38068f['DISCONNECT']=0x1]='DISCONNECT',_0x38068f[_0x38068f['EVENT']=0x2]='EVENT',_0x38068f[_0x38068f['ACK']=0x3]='ACK',_0x38068f[_0x38068f['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x38068f[_0x38068f['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x38068f[_0x38068f['BINARY_ACK']=0x6]='BINARY_ACK';}(jb||(jb={}));let Hb=class Encoder{constructor(_0x417702){this['replacer']=_0x417702;}['encode'](_0x4f025d){return _0x4f025d['type']!==jb['EVENT']&&_0x4f025d['type']!==jb['ACK']||!Db(_0x4f025d)?[this['encodeAsString'](_0x4f025d)]:this['encodeAsBinary']({'type':_0x4f025d['type']===jb['EVENT']?jb['BINARY_EVENT']:jb['BINARY_ACK'],'nsp':_0x4f025d['nsp'],'data':_0x4f025d['data'],'id':_0x4f025d['id']});}['encodeAsString'](_0x18cd8a){let _0x580278=''+_0x18cd8a['type'];return _0x18cd8a['type']!==jb['BINARY_EVENT']&&_0x18cd8a['type']!==jb['BINARY_ACK']||(_0x580278+=_0x18cd8a['attachments']+'-'),_0x18cd8a['nsp']&&'/'!==_0x18cd8a['nsp']&&(_0x580278+=_0x18cd8a['nsp']+','),null!=_0x18cd8a['id']&&(_0x580278+=_0x18cd8a['id']),null!=_0x18cd8a['data']&&(_0x580278+=JSON['stringify'](_0x18cd8a['data'],this['replacer'])),_0x580278;}['encodeAsBinary'](_0x114f8b){const _0x501c98=Qb(_0x114f8b),_0x10dc07=this['encodeAsString'](_0x501c98['packet']),_0x4aeba3=_0x501c98['buffers'];return _0x4aeba3['unshift'](_0x10dc07),_0x4aeba3;}},Gb=class Decoder extends nb{constructor(_0x296a78){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x296a78?{'reviver':_0x296a78}:_0x296a78);}['add'](_0x409092){let _0x16e529;if('string'==typeof _0x409092){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x16e529=this['decodeString'](_0x409092);const _0xd0695c=_0x16e529['type']===jb['BINARY_EVENT'];_0xd0695c||_0x16e529['type']===jb['BINARY_ACK']?(_0x16e529['type']=_0xd0695c?jb['EVENT']:jb['ACK'],this['reconstructor']=new BinaryReconstructor(_0x16e529),0x0===_0x16e529['attachments']&&super['emitReserved']('decoded',_0x16e529)):super['emitReserved']('decoded',_0x16e529);}else{if(!$b(_0x409092)&&!_0x409092['base64'])throw new Error('Unknown\x20type:\x20'+_0x409092);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x16e529=this['reconstructor']['takeBinaryData'](_0x409092),_0x16e529&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x16e529));}}['decodeString'](_0x1f3781){let _0x5d8854=0x0;const _0x43d247={'type':Number(_0x1f3781['charAt'](0x0))};if(void 0x0===jb[_0x43d247['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x43d247['type']);if(_0x43d247['type']===jb['BINARY_EVENT']||_0x43d247['type']===jb['BINARY_ACK']){const _0x4d4a91=_0x5d8854+0x1;for(;'-'!==_0x1f3781['charAt'](++_0x5d8854)&&_0x5d8854!=_0x1f3781['length'];);const _0x4a2de1=_0x1f3781['substring'](_0x4d4a91,_0x5d8854);if(_0x4a2de1!=Number(_0x4a2de1)||'-'!==_0x1f3781['charAt'](_0x5d8854))throw new Error('Illegal\x20attachments');const _0x5f3e94=Number(_0x4a2de1);if(!Zb(_0x5f3e94)||_0x5f3e94<0x0)throw new Error('Illegal\x20attachments');if(_0x5f3e94>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x43d247['attachments']=_0x5f3e94;}if('/'===_0x1f3781['charAt'](_0x5d8854+0x1)){const _0x2f1ca4=_0x5d8854+0x1;for(;++_0x5d8854;){if(','===_0x1f3781['charAt'](_0x5d8854))break;if(_0x5d8854===_0x1f3781['length'])break;}_0x43d247['nsp']=_0x1f3781['substring'](_0x2f1ca4,_0x5d8854);}else _0x43d247['nsp']='/';const _0x279319=_0x1f3781['charAt'](_0x5d8854+0x1);if(''!==_0x279319&&Number(_0x279319)==_0x279319){const _0x57af67=_0x5d8854+0x1;for(;++_0x5d8854;){const _0x2c9be0=_0x1f3781['charAt'](_0x5d8854);if(null==_0x2c9be0||Number(_0x2c9be0)!=_0x2c9be0){--_0x5d8854;break;}if(_0x5d8854===_0x1f3781['length'])break;}_0x43d247['id']=Number(_0x1f3781['substring'](_0x57af67,_0x5d8854+0x1));}if(_0x1f3781['charAt'](++_0x5d8854)){const _0x5c8066=this['tryParse'](_0x1f3781['substr'](_0x5d8854));if(!Decoder['isPayloadValid'](_0x43d247['type'],_0x5c8066))throw new Error('invalid\x20payload');_0x43d247['data']=_0x5c8066;}return _0x43d247;}['tryParse'](_0x271ed2){try{return JSON['parse'](_0x271ed2,this['opts']['reviver']);}catch(_0x3ca8eb){return!0x1;}}static['isPayloadValid'](_0x552eec,_0x5a4649){switch(_0x552eec){case jb['CONNECT']:return Xb(_0x5a4649);case jb['DISCONNECT']:return void 0x0===_0x5a4649;case jb['CONNECT_ERROR']:return'string'==typeof _0x5a4649||Xb(_0x5a4649);case jb['EVENT']:case jb['BINARY_EVENT']:return Array['isArray'](_0x5a4649)&&('number'==typeof _0x5a4649[0x0]||'string'==typeof _0x5a4649[0x0]&&-0x1===Fb['indexOf'](_0x5a4649[0x0]));case jb['ACK']:case jb['BINARY_ACK']:return Array['isArray'](_0x5a4649);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x50b1e1){this['packet']=_0x50b1e1,this['buffers']=[],this['reconPack']=_0x50b1e1;}['takeBinaryData'](_0x32d7e7){if(this['buffers']['push'](_0x32d7e7),this['buffers']['length']===this['reconPack']['attachments']){const _0x288003=Ub(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x288003;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const Zb=Number['isInteger']||function(_0x4f9057){return'number'==typeof _0x4f9057&&isFinite(_0x4f9057)&&Math['floor'](_0x4f9057)===_0x4f9057;};function Xb(_0x24584c){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x24584c);}var qb=Object['freeze']({'__proto__':null,'Decoder':Gb,'Encoder':Hb,get 'PacketType'(){return jb;}});function Wb(_0x43a83e,_0x523017,_0x5ecc0e){return _0x43a83e['on'](_0x523017,_0x5ecc0e),function(){_0x43a83e['off'](_0x523017,_0x5ecc0e);};}const zb=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends nb{constructor(_0x4b3ba8,_0x4c199b,_0x1005b6){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']=_0x4b3ba8,this['nsp']=_0x4c199b,_0x1005b6&&_0x1005b6['auth']&&(this['auth']=_0x1005b6['auth']),this['_opts']=Object['assign']({},_0x1005b6),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x28f3fa=this['io'];this['subs']=[Wb(_0x28f3fa,'open',this['onopen']['bind'](this)),Wb(_0x28f3fa,'packet',this['onpacket']['bind'](this)),Wb(_0x28f3fa,'error',this['onerror']['bind'](this)),Wb(_0x28f3fa,'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'](..._0x447aa3){return _0x447aa3['unshift']('message'),this['emit']['apply'](this,_0x447aa3),this;}['emit'](_0x543f6b,..._0x19c7e3){if(zb['hasOwnProperty'](_0x543f6b))throw new Error('\x22'+_0x543f6b['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x19c7e3['unshift'](_0x543f6b),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x19c7e3),this;const _0x269228={'type':jb['EVENT'],'data':_0x19c7e3,'options':{}};if(_0x269228['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x19c7e3[_0x19c7e3['length']-0x1]){const _0x5e2da6=this['ids']++,_0xba99af=_0x19c7e3['pop']();this['_registerAckCallback'](_0x5e2da6,_0xba99af),_0x269228['id']=_0x5e2da6;}const _0xf06976=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0xf06976||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x269228),this['packet'](_0x269228)):this['sendBuffer']['push'](_0x269228)),this['flags']={},this;}['_registerAckCallback'](_0x6db7c1,_0x165032){var _0x48b401;const _0x4c434b=null!==(_0x48b401=this['flags']['timeout'])&&void 0x0!==_0x48b401?_0x48b401:this['_opts']['ackTimeout'];if(void 0x0===_0x4c434b)return void(this['acks'][_0x6db7c1]=_0x165032);const _0x256446=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x6db7c1];for(let _0x54621a=0x0;_0x54621a<this['sendBuffer']['length'];_0x54621a++)this['sendBuffer'][_0x54621a]['id']===_0x6db7c1&&this['sendBuffer']['splice'](_0x54621a,0x1);_0x165032['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x4c434b);this['acks'][_0x6db7c1]=(..._0x461cae)=>{this['io']['clearTimeoutFn'](_0x256446),_0x165032['apply'](this,[null,..._0x461cae]);};}['emitWithAck'](_0x3bd878,..._0x434133){const _0x53622c=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x5320bc,_0x14d270)=>{_0x434133['push']((_0x50130d,_0x4a9db2)=>_0x53622c?_0x50130d?_0x14d270(_0x50130d):_0x5320bc(_0x4a9db2):_0x5320bc(_0x50130d)),this['emit'](_0x3bd878,..._0x434133);});}['_addToQueue'](_0x3273a2){let _0xb274e7;'function'==typeof _0x3273a2[_0x3273a2['length']-0x1]&&(_0xb274e7=_0x3273a2['pop']());const _0x75ae10={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x3273a2,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x3273a2['push']((_0x4e1879,..._0x5b3a6e)=>{if(_0x75ae10!==this['_queue'][0x0])return;return null!==_0x4e1879?_0x75ae10['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0xb274e7&&_0xb274e7(_0x4e1879)):(this['_queue']['shift'](),_0xb274e7&&_0xb274e7(null,..._0x5b3a6e)),_0x75ae10['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x75ae10),this['_drainQueue']();}['_drainQueue'](_0x40811c=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x491f87=this['_queue'][0x0];_0x491f87['pending']&&!_0x40811c||(_0x491f87['pending']=!0x0,_0x491f87['tryCount']++,this['flags']=_0x491f87['flags'],this['emit']['apply'](this,_0x491f87['args']));}['packet'](_0x1598ce){_0x1598ce['nsp']=this['nsp'],this['io']['_packet'](_0x1598ce);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x5b589f=>{this['_sendConnectPacket'](_0x5b589f);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x2b88fc){this['packet']({'type':jb['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x2b88fc):_0x2b88fc});}['onerror'](_0x529b86){this['connected']||this['emitReserved']('connect_error',_0x529b86);}['onclose'](_0x3bca22,_0x270e3c){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x3bca22,_0x270e3c);}['onpacket'](_0x2a9d97){if(_0x2a9d97['nsp']===this['nsp'])switch(_0x2a9d97['type']){case jb['CONNECT']:_0x2a9d97['data']&&_0x2a9d97['data']['sid']?this['onconnect'](_0x2a9d97['data']['sid'],_0x2a9d97['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 jb['EVENT']:case jb['BINARY_EVENT']:this['onevent'](_0x2a9d97);break;case jb['ACK']:case jb['BINARY_ACK']:this['onack'](_0x2a9d97);break;case jb['DISCONNECT']:this['ondisconnect']();break;case jb['CONNECT_ERROR']:this['destroy']();const _0x27e4db=new Error(_0x2a9d97['data']['message']);_0x27e4db['data']=_0x2a9d97['data']['data'],this['emitReserved']('connect_error',_0x27e4db);}}['onevent'](_0x31793b){const _0x359098=_0x31793b['data']||[];null!=_0x31793b['id']&&_0x359098['push'](this['ack'](_0x31793b['id'])),this['connected']?this['emitEvent'](_0x359098):this['receiveBuffer']['push'](Object['freeze'](_0x359098));}['emitEvent'](_0x122c6d){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x13cbf4=this['_anyListeners']['slice']();for(const _0x4d709f of _0x13cbf4)_0x4d709f['apply'](this,_0x122c6d);}super['emit']['apply'](this,_0x122c6d),this['_pid']&&_0x122c6d['length']&&'string'==typeof _0x122c6d[_0x122c6d['length']-0x1]&&(this['_lastOffset']=_0x122c6d[_0x122c6d['length']-0x1]);}['ack'](_0x4ca3b4){const _0x5771b1=this;let _0x1e1c8f=!0x1;return function(..._0x37f32a){_0x1e1c8f||(_0x1e1c8f=!0x0,_0x5771b1['packet']({'type':jb['ACK'],'id':_0x4ca3b4,'data':_0x37f32a}));};}['onack'](_0x49a314){const _0x39dae7=this['acks'][_0x49a314['id']];'function'==typeof _0x39dae7&&(_0x39dae7['apply'](this,_0x49a314['data']),delete this['acks'][_0x49a314['id']]);}['onconnect'](_0x1fedfe,_0x3474a8){this['id']=_0x1fedfe,this['recovered']=_0x3474a8&&this['_pid']===_0x3474a8,this['_pid']=_0x3474a8,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x1db95b=>this['emitEvent'](_0x1db95b)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x177ea5=>{this['notifyOutgoingListeners'](_0x177ea5),this['packet'](_0x177ea5);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x6b082d=>_0x6b082d()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':jb['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x4ed9b1){return this['flags']['compress']=_0x4ed9b1,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x11351d){return this['flags']['timeout']=_0x11351d,this;}['onAny'](_0x7facd4){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x7facd4),this;}['prependAny'](_0x354863){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x354863),this;}['offAny'](_0x1e7657){if(!this['_anyListeners'])return this;if(_0x1e7657){const _0x578316=this['_anyListeners'];for(let _0x25d701=0x0;_0x25d701<_0x578316['length'];_0x25d701++)if(_0x1e7657===_0x578316[_0x25d701])return _0x578316['splice'](_0x25d701,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x4ca97d){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x4ca97d),this;}['prependAnyOutgoing'](_0xe93538){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0xe93538),this;}['offAnyOutgoing'](_0x34a38d){if(!this['_anyOutgoingListeners'])return this;if(_0x34a38d){const _0x45653c=this['_anyOutgoingListeners'];for(let _0x35bacf=0x0;_0x35bacf<_0x45653c['length'];_0x35bacf++)if(_0x34a38d===_0x45653c[_0x35bacf])return _0x45653c['splice'](_0x35bacf,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x431074){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x2b8f53=this['_anyOutgoingListeners']['slice']();for(const _0x53c02a of _0x2b8f53)_0x53c02a['apply'](this,_0x431074['data']);}}}function Yb(_0x6c0c10){_0x6c0c10=_0x6c0c10||{},this['ms']=_0x6c0c10['min']||0x64,this['max']=_0x6c0c10['max']||0x2710,this['factor']=_0x6c0c10['factor']||0x2,this['jitter']=_0x6c0c10['jitter']>0x0&&_0x6c0c10['jitter']<=0x1?_0x6c0c10['jitter']:0x0,this['attempts']=0x0;}Yb['prototype']['duration']=function(){var _0x485c2e=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x5cc7d0=Math['random'](),_0xcbbe2=Math['floor'](_0x5cc7d0*this['jitter']*_0x485c2e);_0x485c2e=0x1&Math['floor'](0xa*_0x5cc7d0)?_0x485c2e+_0xcbbe2:_0x485c2e-_0xcbbe2;}return 0x0|Math['min'](_0x485c2e,this['max']);},Yb['prototype']['reset']=function(){this['attempts']=0x0;},Yb['prototype']['setMin']=function(_0x5774d6){this['ms']=_0x5774d6;},Yb['prototype']['setMax']=function(_0x134e07){this['max']=_0x134e07;},Yb['prototype']['setJitter']=function(_0x2f91cf){this['jitter']=_0x2f91cf;};class Manager extends nb{constructor(_0x2f6ba2,_0x15f25d){var _0x39ba1c;super(),this['nsps']={},this['subs']=[],_0x2f6ba2&&'object'==typeof _0x2f6ba2&&(_0x15f25d=_0x2f6ba2,_0x2f6ba2=void 0x0),(_0x15f25d=_0x15f25d||{})['path']=_0x15f25d['path']||'/socket.io',this['opts']=_0x15f25d,lb(this,_0x15f25d),this['reconnection'](!0x1!==_0x15f25d['reconnection']),this['reconnectionAttempts'](_0x15f25d['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x15f25d['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x15f25d['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x39ba1c=_0x15f25d['randomizationFactor'])&&void 0x0!==_0x39ba1c?_0x39ba1c:0.5),this['backoff']=new Yb({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x15f25d['timeout']?0x4e20:_0x15f25d['timeout']),this['_readyState']='closed',this['uri']=_0x2f6ba2;const _0x2ccc7e=_0x15f25d['parser']||qb;this['encoder']=new _0x2ccc7e['Encoder'](),this['decoder']=new _0x2ccc7e['Decoder'](),this['_autoConnect']=!0x1!==_0x15f25d['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x4f3264){return arguments['length']?(this['_reconnection']=!!_0x4f3264,this):this['_reconnection'];}['reconnectionAttempts'](_0x38d008){return void 0x0===_0x38d008?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x38d008,this);}['reconnectionDelay'](_0x1eea7a){var _0x45cc92;return void 0x0===_0x1eea7a?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x1eea7a,null===(_0x45cc92=this['backoff'])||void 0x0===_0x45cc92||_0x45cc92['setMin'](_0x1eea7a),this);}['randomizationFactor'](_0x2e5a17){var _0x2bbfcf;return void 0x0===_0x2e5a17?this['_randomizationFactor']:(this['_randomizationFactor']=_0x2e5a17,null===(_0x2bbfcf=this['backoff'])||void 0x0===_0x2bbfcf||_0x2bbfcf['setJitter'](_0x2e5a17),this);}['reconnectionDelayMax'](_0x59d8e8){var _0x228018;return void 0x0===_0x59d8e8?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x59d8e8,null===(_0x228018=this['backoff'])||void 0x0===_0x228018||_0x228018['setMax'](_0x59d8e8),this);}['timeout'](_0x5bc440){return arguments['length']?(this['_timeout']=_0x5bc440,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x242819){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new Rb(this['uri'],this['opts']);const _0x2f0198=this['engine'],_0x5e91ed=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x122ec8=Wb(_0x2f0198,'open',function(){_0x5e91ed['onopen'](),_0x242819&&_0x242819();}),_0x427fb3=_0x3f7c9d=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x3f7c9d),_0x242819?_0x242819(_0x3f7c9d):this['maybeReconnectOnOpen']();},_0x14dcf3=Wb(_0x2f0198,'error',_0x427fb3);if(!0x1!==this['_timeout']){const _0x4e6f1e=this['_timeout'],_0x1cc08b=this['setTimeoutFn'](()=>{_0x122ec8(),_0x427fb3(new Error('timeout')),_0x2f0198['close']();},_0x4e6f1e);this['opts']['autoUnref']&&_0x1cc08b['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x1cc08b);});}return this['subs']['push'](_0x122ec8),this['subs']['push'](_0x14dcf3),this;}['connect'](_0x3d331b){return this['open'](_0x3d331b);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x4ed164=this['engine'];this['subs']['push'](Wb(_0x4ed164,'ping',this['onping']['bind'](this)),Wb(_0x4ed164,'data',this['ondata']['bind'](this)),Wb(_0x4ed164,'error',this['onerror']['bind'](this)),Wb(_0x4ed164,'close',this['onclose']['bind'](this)),Wb(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x28eb8f){try{this['decoder']['add'](_0x28eb8f);}catch(_0x50f387){this['onclose']('parse\x20error',_0x50f387);}}['ondecoded'](_0x53e370){Tb(()=>{this['emitReserved']('packet',_0x53e370);},this['setTimeoutFn']);}['onerror'](_0x3524ec){this['emitReserved']('error',_0x3524ec);}['socket'](_0x42cfa8,_0x2037fb){let _0x37bc7b=this['nsps'][_0x42cfa8];return _0x37bc7b?this['_autoConnect']&&!_0x37bc7b['active']&&_0x37bc7b['connect']():(_0x37bc7b=new Socket(this,_0x42cfa8,_0x2037fb),this['nsps'][_0x42cfa8]=_0x37bc7b),_0x37bc7b;}['_destroy'](_0x111d40){const _0x5fe6c1=Object['keys'](this['nsps']);for(const _0x1eebf5 of _0x5fe6c1){if(this['nsps'][_0x1eebf5]['active'])return;}this['_close']();}['_packet'](_0x4fa8ed){const _0x2ea7b7=this['encoder']['encode'](_0x4fa8ed);for(let _0x1b9458=0x0;_0x1b9458<_0x2ea7b7['length'];_0x1b9458++)this['engine']['write'](_0x2ea7b7[_0x1b9458],_0x4fa8ed['options']);}['cleanup'](){this['subs']['forEach'](_0x3f0e6f=>_0x3f0e6f()),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'](_0x4fd976,_0x4b52a1){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x4fd976,_0x4b52a1),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x57368f=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x9b18f1=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x529d0d=this['setTimeoutFn'](()=>{_0x57368f['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x57368f['backoff']['attempts']),_0x57368f['skipReconnect']||_0x57368f['open'](_0x71ee9a=>{_0x71ee9a?(_0x57368f['_reconnecting']=!0x1,_0x57368f['reconnect'](),this['emitReserved']('reconnect_error',_0x71ee9a)):_0x57368f['onreconnect']();}));},_0x9b18f1);this['opts']['autoUnref']&&_0x529d0d['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x529d0d);});}}['onreconnect'](){const _0x4c5819=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x4c5819);}}const Kb={};function Jb(_0x3eacac,_0x3b177e){'object'==typeof _0x3eacac&&(_0x3b177e=_0x3eacac,_0x3eacac=void 0x0);const _0x1aef6e=function(_0x29c352,_0x138939='',_0x3d817a){let _0x236a93=_0x29c352;_0x3d817a=_0x3d817a||'undefined'!=typeof location&&location,null==_0x29c352&&(_0x29c352=_0x3d817a['protocol']+'//'+_0x3d817a['host']),'string'==typeof _0x29c352&&('/'===_0x29c352['charAt'](0x0)&&(_0x29c352='/'===_0x29c352['charAt'](0x1)?_0x3d817a['protocol']+_0x29c352:_0x3d817a['host']+_0x29c352),/^(https?|wss?):\/\//['test'](_0x29c352)||(_0x29c352=void 0x0!==_0x3d817a?_0x3d817a['protocol']+'//'+_0x29c352:'https://'+_0x29c352),_0x236a93=xb(_0x29c352)),_0x236a93['port']||(/^(http|ws)$/['test'](_0x236a93['protocol'])?_0x236a93['port']='80':/^(http|ws)s$/['test'](_0x236a93['protocol'])&&(_0x236a93['port']='443')),_0x236a93['path']=_0x236a93['path']||'/';const _0x407f7b=-0x1!==_0x236a93['host']['indexOf'](':')?'['+_0x236a93['host']+']':_0x236a93['host'];return _0x236a93['id']=_0x236a93['protocol']+'://'+_0x407f7b+':'+_0x236a93['port']+_0x138939,_0x236a93['href']=_0x236a93['protocol']+'://'+_0x407f7b+(_0x3d817a&&_0x3d817a['port']===_0x236a93['port']?'':':'+_0x236a93['port']),_0x236a93;}(_0x3eacac,(_0x3b177e=_0x3b177e||{})['path']||'/socket.io'),_0x56ae3c=_0x1aef6e['source'],_0x19d907=_0x1aef6e['id'],_0x324b35=_0x1aef6e['path'],_0x39d138=Kb[_0x19d907]&&_0x324b35 in Kb[_0x19d907]['nsps'];let _0x37f0af;return _0x3b177e['forceNew']||_0x3b177e['force\x20new\x20connection']||!0x1===_0x3b177e['multiplex']||_0x39d138?_0x37f0af=new Manager(_0x56ae3c,_0x3b177e):(Kb[_0x19d907]||(Kb[_0x19d907]=new Manager(_0x56ae3c,_0x3b177e)),_0x37f0af=Kb[_0x19d907]),_0x1aef6e['query']&&!_0x3b177e['query']&&(_0x3b177e['query']=_0x1aef6e['queryKey']),_0x37f0af['socket'](_0x1aef6e['path'],_0x3b177e);}var ty,ey;Object['assign'](Jb,{'Manager':Manager,'Socket':Socket,'io':Jb,'connect':Jb});var iy,sy,ny,ry={},oy=(function(){if(ny)return sy;ny=0x1;var _0x270983=(ey||(ey=0x1,ty=function(_0x20e4f6,_0x5c63fa){if(_0x5c63fa=_0x5c63fa['split'](':')[0x0],!(_0x20e4f6=+_0x20e4f6))return!0x1;switch(_0x5c63fa){case'http':case'ws':return 0x50!==_0x20e4f6;case'https':case'wss':return 0x1bb!==_0x20e4f6;case'ftp':return 0x15!==_0x20e4f6;case'gopher':return 0x46!==_0x20e4f6;case'file':return!0x1;}return 0x0!==_0x20e4f6;}),ty),_0x4f1339=(function(){if(iy)return ry;iy=0x1;var _0xf02b5f=Object['prototype']['hasOwnProperty'];function _0x3273a7(_0x5b7b8a){try{return decodeURIComponent(_0x5b7b8a['replace'](/\+/g,'\x20'));}catch(_0x1ddd49){return null;}}function _0x56fa6f(_0x5de036){try{return encodeURIComponent(_0x5de036);}catch(_0x3c2623){return null;}}return ry['stringify']=function(_0x4920c5,_0x1dc490){_0x1dc490=_0x1dc490||'';var _0xe3bb37,_0x2ef3b8,_0x541a1f=[];for(_0x2ef3b8 in('string'!=typeof _0x1dc490&&(_0x1dc490='?'),_0x4920c5))if(_0xf02b5f['call'](_0x4920c5,_0x2ef3b8)){if((_0xe3bb37=_0x4920c5[_0x2ef3b8])||null!=_0xe3bb37&&!isNaN(_0xe3bb37)||(_0xe3bb37=''),_0x2ef3b8=_0x56fa6f(_0x2ef3b8),_0xe3bb37=_0x56fa6f(_0xe3bb37),null===_0x2ef3b8||null===_0xe3bb37)continue;_0x541a1f['push'](_0x2ef3b8+'='+_0xe3bb37);}return _0x541a1f['length']?_0x1dc490+_0x541a1f['join']('&'):'';},ry['parse']=function(_0x2c2b49){for(var _0xb90f03,_0x3f5b09=/([^=?#&]+)=?([^&]*)/g,_0x53876e={};_0xb90f03=_0x3f5b09['exec'](_0x2c2b49);){var _0x5a8645=_0x3273a7(_0xb90f03[0x1]),_0x57992e=_0x3273a7(_0xb90f03[0x2]);null===_0x5a8645||null===_0x57992e||_0x5a8645 in _0x53876e||(_0x53876e[_0x5a8645]=_0x57992e);}return _0x53876e;},ry;}()),_0x141812=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x47b1ba=/[\n\r\t]/g,_0x243586=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x4f0b55=/:\d+$/,_0x3409e7=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x465343=/^[a-zA-Z]:/;function _0x1ecc53(_0x2d9777){return(_0x2d9777||'')['toString']()['replace'](_0x141812,'');}var _0x262812=[['#','hash'],['?','query'],function(_0x8d3c6c,_0x1daf08){return _0x5abf0e(_0x1daf08['protocol'])?_0x8d3c6c['replace'](/\\/g,'/'):_0x8d3c6c;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x4f1e4b={'hash':0x1,'query':0x1};function _0x48d1bf(_0x59dae7){var _0x628bb1,_0x2bf374=('undefined'!=typeof window?window:void 0x0!==WO?WO:'undefined'!=typeof self?self:{})['location']||{},_0x519be5={},_0x4aa6bf=typeof(_0x59dae7=_0x59dae7||_0x2bf374);if('blob:'===_0x59dae7['protocol'])_0x519be5=new _0x1b7bf8(unescape(_0x59dae7['pathname']),{});else{if('string'===_0x4aa6bf){for(_0x628bb1 in(_0x519be5=new _0x1b7bf8(_0x59dae7,{}),_0x4f1e4b))delete _0x519be5[_0x628bb1];}else{if('object'===_0x4aa6bf){for(_0x628bb1 in _0x59dae7)_0x628bb1 in _0x4f1e4b||(_0x519be5[_0x628bb1]=_0x59dae7[_0x628bb1]);void 0x0===_0x519be5['slashes']&&(_0x519be5['slashes']=_0x243586['test'](_0x59dae7['href']));}}}return _0x519be5;}function _0x5abf0e(_0x493b41){return'file:'===_0x493b41||'ftp:'===_0x493b41||'http:'===_0x493b41||'https:'===_0x493b41||'ws:'===_0x493b41||'wss:'===_0x493b41;}function _0x33bea5(_0x3403a5,_0x1ffba9){_0x3403a5=(_0x3403a5=_0x1ecc53(_0x3403a5))['replace'](_0x47b1ba,''),_0x1ffba9=_0x1ffba9||{};var _0x33a2a2,_0x3a2c18=_0x3409e7['exec'](_0x3403a5),_0x4d3503=_0x3a2c18[0x1]?_0x3a2c18[0x1]['toLowerCase']():'',_0x3e5537=!!_0x3a2c18[0x2],_0x1c3bb=!!_0x3a2c18[0x3],_0x208afb=0x0;return _0x3e5537?_0x1c3bb?(_0x33a2a2=_0x3a2c18[0x2]+_0x3a2c18[0x3]+_0x3a2c18[0x4],_0x208afb=_0x3a2c18[0x2]['length']+_0x3a2c18[0x3]['length']):(_0x33a2a2=_0x3a2c18[0x2]+_0x3a2c18[0x4],_0x208afb=_0x3a2c18[0x2]['length']):_0x1c3bb?(_0x33a2a2=_0x3a2c18[0x3]+_0x3a2c18[0x4],_0x208afb=_0x3a2c18[0x3]['length']):_0x33a2a2=_0x3a2c18[0x4],'file:'===_0x4d3503?_0x208afb>=0x2&&(_0x33a2a2=_0x33a2a2['slice'](0x2)):_0x5abf0e(_0x4d3503)?_0x33a2a2=_0x3a2c18[0x4]:_0x4d3503?_0x3e5537&&(_0x33a2a2=_0x33a2a2['slice'](0x2)):_0x208afb>=0x2&&_0x5abf0e(_0x1ffba9['protocol'])&&(_0x33a2a2=_0x3a2c18[0x4]),{'protocol':_0x4d3503,'slashes':_0x3e5537||_0x5abf0e(_0x4d3503),'slashesCount':_0x208afb,'rest':_0x33a2a2};}function _0x1b7bf8(_0x310c6a,_0x4d65cc,_0x2d1b5e){if(_0x310c6a=(_0x310c6a=_0x1ecc53(_0x310c6a))['replace'](_0x47b1ba,''),!(this instanceof _0x1b7bf8))return new _0x1b7bf8(_0x310c6a,_0x4d65cc,_0x2d1b5e);var _0x938bd3,_0x556e6d,_0x275d3d,_0x56f9da,_0x25f4e9,_0x4f5a65,_0x20d310=_0x262812['slice'](),_0x11edaf=typeof _0x4d65cc,_0x20c0ed=this,_0x31a15e=0x0;for('object'!==_0x11edaf&&'string'!==_0x11edaf&&(_0x2d1b5e=_0x4d65cc,_0x4d65cc=null),_0x2d1b5e&&'function'!=typeof _0x2d1b5e&&(_0x2d1b5e=_0x4f1339['parse']),_0x938bd3=!(_0x556e6d=_0x33bea5(_0x310c6a||'',_0x4d65cc=_0x48d1bf(_0x4d65cc)))['protocol']&&!_0x556e6d['slashes'],_0x20c0ed['slashes']=_0x556e6d['slashes']||_0x938bd3&&_0x4d65cc['slashes'],_0x20c0ed['protocol']=_0x556e6d['protocol']||_0x4d65cc['protocol']||'',_0x310c6a=_0x556e6d['rest'],('file:'===_0x556e6d['protocol']&&(0x2!==_0x556e6d['slashesCount']||_0x465343['test'](_0x310c6a))||!_0x556e6d['slashes']&&(_0x556e6d['protocol']||_0x556e6d['slashesCount']<0x2||!_0x5abf0e(_0x20c0ed['protocol'])))&&(_0x20d310[0x3]=[/(.*)/,'pathname']);_0x31a15e<_0x20d310['length'];_0x31a15e++)'function'!=typeof(_0x56f9da=_0x20d310[_0x31a15e])?(_0x275d3d=_0x56f9da[0x0],_0x4f5a65=_0x56f9da[0x1],_0x275d3d!=_0x275d3d?_0x20c0ed[_0x4f5a65]=_0x310c6a:'string'==typeof _0x275d3d?~(_0x25f4e9='@'===_0x275d3d?_0x310c6a['lastIndexOf'](_0x275d3d):_0x310c6a['indexOf'](_0x275d3d))&&('number'==typeof _0x56f9da[0x2]?(_0x20c0ed[_0x4f5a65]=_0x310c6a['slice'](0x0,_0x25f4e9),_0x310c6a=_0x310c6a['slice'](_0x25f4e9+_0x56f9da[0x2])):(_0x20c0ed[_0x4f5a65]=_0x310c6a['slice'](_0x25f4e9),_0x310c6a=_0x310c6a['slice'](0x0,_0x25f4e9))):(_0x25f4e9=_0x275d3d['exec'](_0x310c6a))&&(_0x20c0ed[_0x4f5a65]=_0x25f4e9[0x1],_0x310c6a=_0x310c6a['slice'](0x0,_0x25f4e9['index'])),_0x20c0ed[_0x4f5a65]=_0x20c0ed[_0x4f5a65]||_0x938bd3&&_0x56f9da[0x3]&&_0x4d65cc[_0x4f5a65]||'',_0x56f9da[0x4]&&(_0x20c0ed[_0x4f5a65]=_0x20c0ed[_0x4f5a65]['toLowerCase']())):_0x310c6a=_0x56f9da(_0x310c6a,_0x20c0ed);_0x2d1b5e&&(_0x20c0ed['query']=_0x2d1b5e(_0x20c0ed['query'])),_0x938bd3&&_0x4d65cc['slashes']&&'/'!==_0x20c0ed['pathname']['charAt'](0x0)&&(''!==_0x20c0ed['pathname']||''!==_0x4d65cc['pathname'])&&(_0x20c0ed['pathname']=function(_0x19b633,_0x22322c){if(''===_0x19b633)return _0x22322c;for(var _0x21157e=(_0x22322c||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x19b633['split']('/')),_0x4c025a=_0x21157e['length'],_0x533ef4=_0x21157e[_0x4c025a-0x1],_0x52cbbd=!0x1,_0x5443e3=0x0;_0x4c025a--;)'.'===_0x21157e[_0x4c025a]?_0x21157e['splice'](_0x4c025a,0x1):'..'===_0x21157e[_0x4c025a]?(_0x21157e['splice'](_0x4c025a,0x1),_0x5443e3++):_0x5443e3&&(0x0===_0x4c025a&&(_0x52cbbd=!0x0),_0x21157e['splice'](_0x4c025a,0x1),_0x5443e3--);return _0x52cbbd&&_0x21157e['unshift'](''),'.'!==_0x533ef4&&'..'!==_0x533ef4||_0x21157e['push'](''),_0x21157e['join']('/');}(_0x20c0ed['pathname'],_0x4d65cc['pathname'])),'/'!==_0x20c0ed['pathname']['charAt'](0x0)&&_0x5abf0e(_0x20c0ed['protocol'])&&(_0x20c0ed['pathname']='/'+_0x20c0ed['pathname']),_0x270983(_0x20c0ed['port'],_0x20c0ed['protocol'])||(_0x20c0ed['host']=_0x20c0ed['hostname'],_0x20c0ed['port']=''),_0x20c0ed['username']=_0x20c0ed['password']='',_0x20c0ed['auth']&&(~(_0x25f4e9=_0x20c0ed['auth']['indexOf'](':'))?(_0x20c0ed['username']=_0x20c0ed['auth']['slice'](0x0,_0x25f4e9),_0x20c0ed['username']=encodeURIComponent(decodeURIComponent(_0x20c0ed['username'])),_0x20c0ed['password']=_0x20c0ed['auth']['slice'](_0x25f4e9+0x1),_0x20c0ed['password']=encodeURIComponent(decodeURIComponent(_0x20c0ed['password']))):_0x20c0ed['username']=encodeURIComponent(decodeURIComponent(_0x20c0ed['auth'])),_0x20c0ed['auth']=_0x20c0ed['password']?_0x20c0ed['username']+':'+_0x20c0ed['password']:_0x20c0ed['username']),_0x20c0ed['origin']='file:'!==_0x20c0ed['protocol']&&_0x5abf0e(_0x20c0ed['protocol'])&&_0x20c0ed['host']?_0x20c0ed['protocol']+'//'+_0x20c0ed['host']:'null',_0x20c0ed['href']=_0x20c0ed['toString']();}return _0x1b7bf8['prototype']={'set':function(_0x4ecee9,_0x51bdaa,_0x196abe){var _0x1a96d4=this;switch(_0x4ecee9){case'query':'string'==typeof _0x51bdaa&&_0x51bdaa['length']&&(_0x51bdaa=(_0x196abe||_0x4f1339['parse'])(_0x51bdaa)),_0x1a96d4[_0x4ecee9]=_0x51bdaa;break;case'port':_0x1a96d4[_0x4ecee9]=_0x51bdaa,_0x270983(_0x51bdaa,_0x1a96d4['protocol'])?_0x51bdaa&&(_0x1a96d4['host']=_0x1a96d4['hostname']+':'+_0x51bdaa):(_0x1a96d4['host']=_0x1a96d4['hostname'],_0x1a96d4[_0x4ecee9]='');break;case'hostname':_0x1a96d4[_0x4ecee9]=_0x51bdaa,_0x1a96d4['port']&&(_0x51bdaa+=':'+_0x1a96d4['port']),_0x1a96d4['host']=_0x51bdaa;break;case'host':_0x1a96d4[_0x4ecee9]=_0x51bdaa,_0x4f0b55['test'](_0x51bdaa)?(_0x51bdaa=_0x51bdaa['split'](':'),_0x1a96d4['port']=_0x51bdaa['pop'](),_0x1a96d4['hostname']=_0x51bdaa['join'](':')):(_0x1a96d4['hostname']=_0x51bdaa,_0x1a96d4['port']='');break;case'protocol':_0x1a96d4['protocol']=_0x51bdaa['toLowerCase'](),_0x1a96d4['slashes']=!_0x196abe;break;case'pathname':case'hash':if(_0x51bdaa){var _0x17df26='pathname'===_0x4ecee9?'/':'#';_0x1a96d4[_0x4ecee9]=_0x51bdaa['charAt'](0x0)!==_0x17df26?_0x17df26+_0x51bdaa:_0x51bdaa;}else _0x1a96d4[_0x4ecee9]=_0x51bdaa;break;case'username':case'password':_0x1a96d4[_0x4ecee9]=encodeURIComponent(_0x51bdaa);break;case'auth':var _0x1400a2=_0x51bdaa['indexOf'](':');~_0x1400a2?(_0x1a96d4['username']=_0x51bdaa['slice'](0x0,_0x1400a2),_0x1a96d4['username']=encodeURIComponent(decodeURIComponent(_0x1a96d4['username'])),_0x1a96d4['password']=_0x51bdaa['slice'](_0x1400a2+0x1),_0x1a96d4['password']=encodeURIComponent(decodeURIComponent(_0x1a96d4['password']))):_0x1a96d4['username']=encodeURIComponent(decodeURIComponent(_0x51bdaa));}for(var _0x5f54f0=0x0;_0x5f54f0<_0x262812['length'];_0x5f54f0++){var _0x546a8e=_0x262812[_0x5f54f0];_0x546a8e[0x4]&&(_0x1a96d4[_0x546a8e[0x1]]=_0x1a96d4[_0x546a8e[0x1]]['toLowerCase']());}return _0x1a96d4['auth']=_0x1a96d4['password']?_0x1a96d4['username']+':'+_0x1a96d4['password']:_0x1a96d4['username'],_0x1a96d4['origin']='file:'!==_0x1a96d4['protocol']&&_0x5abf0e(_0x1a96d4['protocol'])&&_0x1a96d4['host']?_0x1a96d4['protocol']+'//'+_0x1a96d4['host']:'null',_0x1a96d4['href']=_0x1a96d4['toString'](),_0x1a96d4;},'toString':function(_0x2a922b){_0x2a922b&&'function'==typeof _0x2a922b||(_0x2a922b=_0x4f1339['stringify']);var _0x151100,_0x39cb36=this,_0xcf5a9b=_0x39cb36['host'],_0x4c5a60=_0x39cb36['protocol'];_0x4c5a60&&':'!==_0x4c5a60['charAt'](_0x4c5a60['length']-0x1)&&(_0x4c5a60+=':');var _0x14b796=_0x4c5a60+(_0x39cb36['protocol']&&_0x39cb36['slashes']||_0x5abf0e(_0x39cb36['protocol'])?'//':'');return _0x39cb36['username']?(_0x14b796+=_0x39cb36['username'],_0x39cb36['password']&&(_0x14b796+=':'+_0x39cb36['password']),_0x14b796+='@'):_0x39cb36['password']?(_0x14b796+=':'+_0x39cb36['password'],_0x14b796+='@'):'file:'!==_0x39cb36['protocol']&&_0x5abf0e(_0x39cb36['protocol'])&&!_0xcf5a9b&&'/'!==_0x39cb36['pathname']&&(_0x14b796+='@'),(':'===_0xcf5a9b[_0xcf5a9b['length']-0x1]||_0x4f0b55['test'](_0x39cb36['hostname'])&&!_0x39cb36['port'])&&(_0xcf5a9b+=':'),_0x14b796+=_0xcf5a9b+_0x39cb36['pathname'],(_0x151100='object'==typeof _0x39cb36['query']?_0x2a922b(_0x39cb36['query']):_0x39cb36['query'])&&(_0x14b796+='?'!==_0x151100['charAt'](0x0)?'?'+_0x151100:_0x151100),_0x39cb36['hash']&&(_0x14b796+=_0x39cb36['hash']),_0x14b796;}},_0x1b7bf8['extractProtocol']=_0x33bea5,_0x1b7bf8['location']=_0x48d1bf,_0x1b7bf8['trimLeft']=_0x1ecc53,_0x1b7bf8['qs']=_0x4f1339,sy=_0x1b7bf8;}());const ay=[];for(let e=0x0;e<0x100;++e)ay['push']((e+0x100)['toString'](0x10)['slice'](0x1));const cy=new Uint8Array(0x10);function ly(_0x4a0b2c,_0xe65322,_0x4cf21e){return crypto['randomUUID']?crypto['randomUUID']():function(_0x33330d){_0x33330d=_0x33330d||{};const _0x3aa2f6=_0x33330d['random']??_0x33330d['rng']?.()??crypto['getRandomValues'](cy);if(_0x3aa2f6['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x3aa2f6[0x6]=0xf&_0x3aa2f6[0x6]|0x40,_0x3aa2f6[0x8]=0x3f&_0x3aa2f6[0x8]|0x80,function(_0x40e02b,_0x2722b0=0x0){return(ay[_0x40e02b[_0x2722b0+0x0]]+ay[_0x40e02b[_0x2722b0+0x1]]+ay[_0x40e02b[_0x2722b0+0x2]]+ay[_0x40e02b[_0x2722b0+0x3]]+'-'+ay[_0x40e02b[_0x2722b0+0x4]]+ay[_0x40e02b[_0x2722b0+0x5]]+'-'+ay[_0x40e02b[_0x2722b0+0x6]]+ay[_0x40e02b[_0x2722b0+0x7]]+'-'+ay[_0x40e02b[_0x2722b0+0x8]]+ay[_0x40e02b[_0x2722b0+0x9]]+'-'+ay[_0x40e02b[_0x2722b0+0xa]]+ay[_0x40e02b[_0x2722b0+0xb]]+ay[_0x40e02b[_0x2722b0+0xc]]+ay[_0x40e02b[_0x2722b0+0xd]]+ay[_0x40e02b[_0x2722b0+0xe]]+ay[_0x40e02b[_0x2722b0+0xf]])['toLowerCase']();}(_0x3aa2f6);}(_0x4a0b2c);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x1af73c){}}class Message extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x59989b){super();}static['fromJSON'](_0x25eba7){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends Message{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x5221ae){super(),this['id']=_0x5221ae;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0xb9552c){return new GetUserMessage(_0xb9552c['id']);}}class GetUserResponse extends Message{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x316245){super(),this['attributes']=_0x316245;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x2932c6=>({'key':_0x2932c6,'value':JSON['stringify'](this['attributes'][_0x2932c6])}))};}static['fromJSON'](_0x513fe3){const _0x1f7f79=_0x513fe3['attributes']['reduce']((_0x3d70b5,_0x2ea402)=>(_0x3d70b5[_0x2ea402['key']]=_0x2ea402['value']?JSON['parse'](_0x2ea402['value']):null,_0x3d70b5),{});return new GetUserResponse(_0x1f7f79);}}const hy=/* #__PURE__ -- @preserve */
((()=>{var _0x50c11c=$w['Reader'],_0x352caa=$w['Writer'],_0x155d72=$w['util'],_0x571a6c=$w['roots']['default']||($w['roots']['default']={});return _0x571a6c['StringStringPacketDataMessage']=(function(){function _0x27d43a(_0x81b6e2){if(_0x81b6e2){for(var _0x1ed124=Object['keys'](_0x81b6e2),_0x1b78bc=0x0;_0x1b78bc<_0x1ed124['length'];++_0x1b78bc)null!=_0x81b6e2[_0x1ed124[_0x1b78bc]]&&'__proto__'!==_0x1ed124[_0x1b78bc]&&(this[_0x1ed124[_0x1b78bc]]=_0x81b6e2[_0x1ed124[_0x1b78bc]]);}}return _0x27d43a['prototype']['data']='',_0x27d43a['prototype']['data1']='',_0x27d43a['create']=function(_0x21b368){return new _0x27d43a(_0x21b368);},_0x27d43a['encode']=function(_0x25e938,_0x456e8c){return _0x456e8c||(_0x456e8c=_0x352caa['create']()),null!=_0x25e938['data']&&Object['hasOwnProperty']['call'](_0x25e938,'data')&&_0x456e8c['uint32'](0xa)['string'](_0x25e938['data']),null!=_0x25e938['data1']&&Object['hasOwnProperty']['call'](_0x25e938,'data1')&&_0x456e8c['uint32'](0x12)['string'](_0x25e938['data1']),_0x456e8c;},_0x27d43a['encodeDelimited']=function(_0x3ce99d,_0x43ec3b){return this['encode'](_0x3ce99d,_0x43ec3b)['ldelim']();},_0x27d43a['decode']=function(_0x226c4b,_0x13d2e2,_0x187b49,_0x39160c){if(_0x226c4b instanceof _0x50c11c||(_0x226c4b=_0x50c11c['create'](_0x226c4b)),void 0x0===_0x39160c&&(_0x39160c=0x0),_0x39160c>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4c90d4=void 0x0===_0x13d2e2?_0x226c4b['len']:_0x226c4b['pos']+_0x13d2e2,_0x40d68a=new _0x571a6c['StringStringPacketDataMessage']();_0x226c4b['pos']<_0x4c90d4;){var _0x4892f2=_0x226c4b['uint32']();if(_0x4892f2===_0x187b49)break;switch(_0x4892f2>>>0x3){case 0x1:_0x40d68a['data']=_0x226c4b['string']();break;case 0x2:_0x40d68a['data1']=_0x226c4b['string']();break;default:_0x226c4b['skipType'](0x7&_0x4892f2,_0x39160c);}}return _0x40d68a;},_0x27d43a['decodeDelimited']=function(_0x44b5a0){return _0x44b5a0 instanceof _0x50c11c||(_0x44b5a0=new _0x50c11c(_0x44b5a0)),this['decode'](_0x44b5a0,_0x44b5a0['uint32']());},_0x27d43a['verify']=function(_0x15ac5b,_0x3b2af5){return'object'!=typeof _0x15ac5b||null===_0x15ac5b?'object\x20expected':(void 0x0===_0x3b2af5&&(_0x3b2af5=0x0),_0x3b2af5>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x15ac5b['data']&&_0x15ac5b['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x15ac5b['data'])?'data:\x20string\x20expected':null!=_0x15ac5b['data1']&&_0x15ac5b['hasOwnProperty']('data1')&&!_0x155d72['isString'](_0x15ac5b['data1'])?'data1:\x20string\x20expected':null);},_0x27d43a['fromObject']=function(_0x229396,_0x5006df){if(_0x229396 instanceof _0x571a6c['StringStringPacketDataMessage'])return _0x229396;if(void 0x0===_0x5006df&&(_0x5006df=0x0),_0x5006df>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1d4f98=new _0x571a6c['StringStringPacketDataMessage']();return null!=_0x229396['data']&&(_0x1d4f98['data']=String(_0x229396['data'])),null!=_0x229396['data1']&&(_0x1d4f98['data1']=String(_0x229396['data1'])),_0x1d4f98;},_0x27d43a['toObject']=function(_0x425446,_0x28c3d6){_0x28c3d6||(_0x28c3d6={});var _0x5f0efc={};return _0x28c3d6['defaults']&&(_0x5f0efc['data']='',_0x5f0efc['data1']=''),null!=_0x425446['data']&&_0x425446['hasOwnProperty']('data')&&(_0x5f0efc['data']=_0x425446['data']),null!=_0x425446['data1']&&_0x425446['hasOwnProperty']('data1')&&(_0x5f0efc['data1']=_0x425446['data1']),_0x5f0efc;},_0x27d43a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x27d43a['getTypeUrl']=function(_0x25d337){return void 0x0===_0x25d337&&(_0x25d337='type.googleapis.com'),_0x25d337+'/StringStringPacketDataMessage';},_0x27d43a;}()),_0x571a6c['StringObjectPacketDataMessage']=(function(){function _0x29b76c(_0xa36f2d){if(_0xa36f2d){for(var _0x4f0d6d=Object['keys'](_0xa36f2d),_0x322063=0x0;_0x322063<_0x4f0d6d['length'];++_0x322063)null!=_0xa36f2d[_0x4f0d6d[_0x322063]]&&'__proto__'!==_0x4f0d6d[_0x322063]&&(this[_0x4f0d6d[_0x322063]]=_0xa36f2d[_0x4f0d6d[_0x322063]]);}}return _0x29b76c['prototype']['data']='',_0x29b76c['prototype']['data1']='',_0x29b76c['create']=function(_0x1ae32e){return new _0x29b76c(_0x1ae32e);},_0x29b76c['encode']=function(_0x4830af,_0xd5f10f){return _0xd5f10f||(_0xd5f10f=_0x352caa['create']()),null!=_0x4830af['data']&&Object['hasOwnProperty']['call'](_0x4830af,'data')&&_0xd5f10f['uint32'](0xa)['string'](_0x4830af['data']),null!=_0x4830af['data1']&&Object['hasOwnProperty']['call'](_0x4830af,'data1')&&_0xd5f10f['uint32'](0x12)['string'](_0x4830af['data1']),_0xd5f10f;},_0x29b76c['encodeDelimited']=function(_0x34e4a0,_0x5990c8){return this['encode'](_0x34e4a0,_0x5990c8)['ldelim']();},_0x29b76c['decode']=function(_0x3484ce,_0x9bfe16,_0x3b9a45,_0x3f5083){if(_0x3484ce instanceof _0x50c11c||(_0x3484ce=_0x50c11c['create'](_0x3484ce)),void 0x0===_0x3f5083&&(_0x3f5083=0x0),_0x3f5083>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x85e99f=void 0x0===_0x9bfe16?_0x3484ce['len']:_0x3484ce['pos']+_0x9bfe16,_0x3c3033=new _0x571a6c['StringObjectPacketDataMessage']();_0x3484ce['pos']<_0x85e99f;){var _0x363e6b=_0x3484ce['uint32']();if(_0x363e6b===_0x3b9a45)break;switch(_0x363e6b>>>0x3){case 0x1:_0x3c3033['data']=_0x3484ce['string']();break;case 0x2:_0x3c3033['data1']=_0x3484ce['string']();break;default:_0x3484ce['skipType'](0x7&_0x363e6b,_0x3f5083);}}return _0x3c3033;},_0x29b76c['decodeDelimited']=function(_0x1bcffc){return _0x1bcffc instanceof _0x50c11c||(_0x1bcffc=new _0x50c11c(_0x1bcffc)),this['decode'](_0x1bcffc,_0x1bcffc['uint32']());},_0x29b76c['verify']=function(_0xf81bf9,_0x482866){return'object'!=typeof _0xf81bf9||null===_0xf81bf9?'object\x20expected':(void 0x0===_0x482866&&(_0x482866=0x0),_0x482866>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xf81bf9['data']&&_0xf81bf9['hasOwnProperty']('data')&&!_0x155d72['isString'](_0xf81bf9['data'])?'data:\x20string\x20expected':null!=_0xf81bf9['data1']&&_0xf81bf9['hasOwnProperty']('data1')&&!_0x155d72['isString'](_0xf81bf9['data1'])?'data1:\x20string\x20expected':null);},_0x29b76c['fromObject']=function(_0x2d591a,_0x4afb0a){if(_0x2d591a instanceof _0x571a6c['StringObjectPacketDataMessage'])return _0x2d591a;if(void 0x0===_0x4afb0a&&(_0x4afb0a=0x0),_0x4afb0a>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1eb47f=new _0x571a6c['StringObjectPacketDataMessage']();return null!=_0x2d591a['data']&&(_0x1eb47f['data']=String(_0x2d591a['data'])),null!=_0x2d591a['data1']&&(_0x1eb47f['data1']=String(_0x2d591a['data1'])),_0x1eb47f;},_0x29b76c['toObject']=function(_0x4ecfdd,_0x513333){_0x513333||(_0x513333={});var _0xab7f5d={};return _0x513333['defaults']&&(_0xab7f5d['data']='',_0xab7f5d['data1']=''),null!=_0x4ecfdd['data']&&_0x4ecfdd['hasOwnProperty']('data')&&(_0xab7f5d['data']=_0x4ecfdd['data']),null!=_0x4ecfdd['data1']&&_0x4ecfdd['hasOwnProperty']('data1')&&(_0xab7f5d['data1']=_0x4ecfdd['data1']),_0xab7f5d;},_0x29b76c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x29b76c['getTypeUrl']=function(_0x223a88){return void 0x0===_0x223a88&&(_0x223a88='type.googleapis.com'),_0x223a88+'/StringObjectPacketDataMessage';},_0x29b76c;}()),_0x571a6c['StringNumberPacketDataMessage']=(function(){function _0x135af1(_0x27f146){if(_0x27f146){for(var _0xe90b1f=Object['keys'](_0x27f146),_0x34649e=0x0;_0x34649e<_0xe90b1f['length'];++_0x34649e)null!=_0x27f146[_0xe90b1f[_0x34649e]]&&'__proto__'!==_0xe90b1f[_0x34649e]&&(this[_0xe90b1f[_0x34649e]]=_0x27f146[_0xe90b1f[_0x34649e]]);}}return _0x135af1['prototype']['data']='',_0x135af1['prototype']['data1']=0x0,_0x135af1['create']=function(_0x5345e1){return new _0x135af1(_0x5345e1);},_0x135af1['encode']=function(_0x24a80f,_0x51886a){return _0x51886a||(_0x51886a=_0x352caa['create']()),null!=_0x24a80f['data']&&Object['hasOwnProperty']['call'](_0x24a80f,'data')&&_0x51886a['uint32'](0xa)['string'](_0x24a80f['data']),null!=_0x24a80f['data1']&&Object['hasOwnProperty']['call'](_0x24a80f,'data1')&&_0x51886a['uint32'](0x10)['uint32'](_0x24a80f['data1']),_0x51886a;},_0x135af1['encodeDelimited']=function(_0x5ad0a7,_0x2370d4){return this['encode'](_0x5ad0a7,_0x2370d4)['ldelim']();},_0x135af1['decode']=function(_0x98a46b,_0x53f3e3,_0xf8913c,_0x2d8c66){if(_0x98a46b instanceof _0x50c11c||(_0x98a46b=_0x50c11c['create'](_0x98a46b)),void 0x0===_0x2d8c66&&(_0x2d8c66=0x0),_0x2d8c66>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x292eb9=void 0x0===_0x53f3e3?_0x98a46b['len']:_0x98a46b['pos']+_0x53f3e3,_0x2fec13=new _0x571a6c['StringNumberPacketDataMessage']();_0x98a46b['pos']<_0x292eb9;){var _0x475415=_0x98a46b['uint32']();if(_0x475415===_0xf8913c)break;switch(_0x475415>>>0x3){case 0x1:_0x2fec13['data']=_0x98a46b['string']();break;case 0x2:_0x2fec13['data1']=_0x98a46b['uint32']();break;default:_0x98a46b['skipType'](0x7&_0x475415,_0x2d8c66);}}return _0x2fec13;},_0x135af1['decodeDelimited']=function(_0x2f10d7){return _0x2f10d7 instanceof _0x50c11c||(_0x2f10d7=new _0x50c11c(_0x2f10d7)),this['decode'](_0x2f10d7,_0x2f10d7['uint32']());},_0x135af1['verify']=function(_0x1a5c5b,_0x3c2cc1){return'object'!=typeof _0x1a5c5b||null===_0x1a5c5b?'object\x20expected':(void 0x0===_0x3c2cc1&&(_0x3c2cc1=0x0),_0x3c2cc1>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1a5c5b['data']&&_0x1a5c5b['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x1a5c5b['data'])?'data:\x20string\x20expected':null!=_0x1a5c5b['data1']&&_0x1a5c5b['hasOwnProperty']('data1')&&!_0x155d72['isInteger'](_0x1a5c5b['data1'])?'data1:\x20integer\x20expected':null);},_0x135af1['fromObject']=function(_0x1826f9,_0x164263){if(_0x1826f9 instanceof _0x571a6c['StringNumberPacketDataMessage'])return _0x1826f9;if(void 0x0===_0x164263&&(_0x164263=0x0),_0x164263>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1a82ec=new _0x571a6c['StringNumberPacketDataMessage']();return null!=_0x1826f9['data']&&(_0x1a82ec['data']=String(_0x1826f9['data'])),null!=_0x1826f9['data1']&&(_0x1a82ec['data1']=_0x1826f9['data1']>>>0x0),_0x1a82ec;},_0x135af1['toObject']=function(_0x1b8ca7,_0x14ce8e){_0x14ce8e||(_0x14ce8e={});var _0xb76723={};return _0x14ce8e['defaults']&&(_0xb76723['data']='',_0xb76723['data1']=0x0),null!=_0x1b8ca7['data']&&_0x1b8ca7['hasOwnProperty']('data')&&(_0xb76723['data']=_0x1b8ca7['data']),null!=_0x1b8ca7['data1']&&_0x1b8ca7['hasOwnProperty']('data1')&&(_0xb76723['data1']=_0x1b8ca7['data1']),_0xb76723;},_0x135af1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x135af1['getTypeUrl']=function(_0x19e1ab){return void 0x0===_0x19e1ab&&(_0x19e1ab='type.googleapis.com'),_0x19e1ab+'/StringNumberPacketDataMessage';},_0x135af1;}()),_0x571a6c['StringBytesPacketDataMessage']=(function(){function _0x3ce47a(_0xf85436){if(_0xf85436){for(var _0x394c3f=Object['keys'](_0xf85436),_0x217691=0x0;_0x217691<_0x394c3f['length'];++_0x217691)null!=_0xf85436[_0x394c3f[_0x217691]]&&'__proto__'!==_0x394c3f[_0x217691]&&(this[_0x394c3f[_0x217691]]=_0xf85436[_0x394c3f[_0x217691]]);}}return _0x3ce47a['prototype']['data']='',_0x3ce47a['prototype']['data1']=_0x155d72['newBuffer']([]),_0x3ce47a['create']=function(_0x314478){return new _0x3ce47a(_0x314478);},_0x3ce47a['encode']=function(_0x22aa47,_0x584546){return _0x584546||(_0x584546=_0x352caa['create']()),null!=_0x22aa47['data']&&Object['hasOwnProperty']['call'](_0x22aa47,'data')&&_0x584546['uint32'](0xa)['string'](_0x22aa47['data']),null!=_0x22aa47['data1']&&Object['hasOwnProperty']['call'](_0x22aa47,'data1')&&_0x584546['uint32'](0x12)['bytes'](_0x22aa47['data1']),_0x584546;},_0x3ce47a['encodeDelimited']=function(_0x4ad428,_0x4fe7fc){return this['encode'](_0x4ad428,_0x4fe7fc)['ldelim']();},_0x3ce47a['decode']=function(_0x35cbad,_0x2033a7,_0x5087dc,_0x1ddd78){if(_0x35cbad instanceof _0x50c11c||(_0x35cbad=_0x50c11c['create'](_0x35cbad)),void 0x0===_0x1ddd78&&(_0x1ddd78=0x0),_0x1ddd78>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4fda3c=void 0x0===_0x2033a7?_0x35cbad['len']:_0x35cbad['pos']+_0x2033a7,_0x18e809=new _0x571a6c['StringBytesPacketDataMessage']();_0x35cbad['pos']<_0x4fda3c;){var _0x47e9c5=_0x35cbad['uint32']();if(_0x47e9c5===_0x5087dc)break;switch(_0x47e9c5>>>0x3){case 0x1:_0x18e809['data']=_0x35cbad['string']();break;case 0x2:_0x18e809['data1']=_0x35cbad['bytes']();break;default:_0x35cbad['skipType'](0x7&_0x47e9c5,_0x1ddd78);}}return _0x18e809;},_0x3ce47a['decodeDelimited']=function(_0x1f0dce){return _0x1f0dce instanceof _0x50c11c||(_0x1f0dce=new _0x50c11c(_0x1f0dce)),this['decode'](_0x1f0dce,_0x1f0dce['uint32']());},_0x3ce47a['verify']=function(_0x590730,_0xfb6f6c){return'object'!=typeof _0x590730||null===_0x590730?'object\x20expected':(void 0x0===_0xfb6f6c&&(_0xfb6f6c=0x0),_0xfb6f6c>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x590730['data']&&_0x590730['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x590730['data'])?'data:\x20string\x20expected':null!=_0x590730['data1']&&_0x590730['hasOwnProperty']('data1')&&!(_0x590730['data1']&&'number'==typeof _0x590730['data1']['length']||_0x155d72['isString'](_0x590730['data1']))?'data1:\x20buffer\x20expected':null);},_0x3ce47a['fromObject']=function(_0x3a3a6e,_0x5454ee){if(_0x3a3a6e instanceof _0x571a6c['StringBytesPacketDataMessage'])return _0x3a3a6e;if(void 0x0===_0x5454ee&&(_0x5454ee=0x0),_0x5454ee>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x229c11=new _0x571a6c['StringBytesPacketDataMessage']();return null!=_0x3a3a6e['data']&&(_0x229c11['data']=String(_0x3a3a6e['data'])),null!=_0x3a3a6e['data1']&&('string'==typeof _0x3a3a6e['data1']?_0x155d72['base64']['decode'](_0x3a3a6e['data1'],_0x229c11['data1']=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x3a3a6e['data1'])),0x0):_0x3a3a6e['data1']['length']>=0x0&&(_0x229c11['data1']=_0x3a3a6e['data1'])),_0x229c11;},_0x3ce47a['toObject']=function(_0x176443,_0x3d7c7a){_0x3d7c7a||(_0x3d7c7a={});var _0x1daeb2={};return _0x3d7c7a['defaults']&&(_0x1daeb2['data']='',_0x3d7c7a['bytes']===String?_0x1daeb2['data1']='':(_0x1daeb2['data1']=[],_0x3d7c7a['bytes']!==Array&&(_0x1daeb2['data1']=_0x155d72['newBuffer'](_0x1daeb2['data1'])))),null!=_0x176443['data']&&_0x176443['hasOwnProperty']('data')&&(_0x1daeb2['data']=_0x176443['data']),null!=_0x176443['data1']&&_0x176443['hasOwnProperty']('data1')&&(_0x1daeb2['data1']=_0x3d7c7a['bytes']===String?_0x155d72['base64']['encode'](_0x176443['data1'],0x0,_0x176443['data1']['length']):_0x3d7c7a['bytes']===Array?Array['prototype']['slice']['call'](_0x176443['data1']):_0x176443['data1']),_0x1daeb2;},_0x3ce47a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x3ce47a['getTypeUrl']=function(_0x1e7129){return void 0x0===_0x1e7129&&(_0x1e7129='type.googleapis.com'),_0x1e7129+'/StringBytesPacketDataMessage';},_0x3ce47a;}()),_0x571a6c['PacketOptionsMessage']=(function(){function _0x236f93(_0x15ed9f){if(this['rooms']=[],this['except']=[],_0x15ed9f){for(var _0x2686c7=Object['keys'](_0x15ed9f),_0x330cf3=0x0;_0x330cf3<_0x2686c7['length'];++_0x330cf3)null!=_0x15ed9f[_0x2686c7[_0x330cf3]]&&'__proto__'!==_0x2686c7[_0x330cf3]&&(this[_0x2686c7[_0x330cf3]]=_0x15ed9f[_0x2686c7[_0x330cf3]]);}}return _0x236f93['prototype']['flags']='',_0x236f93['prototype']['rooms']=_0x155d72['emptyArray'],_0x236f93['prototype']['except']=_0x155d72['emptyArray'],_0x236f93['create']=function(_0x270416){return new _0x236f93(_0x270416);},_0x236f93['encode']=function(_0x4038ef,_0x4ab281){if(_0x4ab281||(_0x4ab281=_0x352caa['create']()),null!=_0x4038ef['flags']&&Object['hasOwnProperty']['call'](_0x4038ef,'flags')&&_0x4ab281['uint32'](0xa)['string'](_0x4038ef['flags']),null!=_0x4038ef['rooms']&&_0x4038ef['rooms']['length']){for(var _0x5df937=0x0;_0x5df937<_0x4038ef['rooms']['length'];++_0x5df937)_0x4ab281['uint32'](0x12)['string'](_0x4038ef['rooms'][_0x5df937]);}if(null!=_0x4038ef['except']&&_0x4038ef['except']['length']){for(_0x5df937=0x0;_0x5df937<_0x4038ef['except']['length'];++_0x5df937)_0x4ab281['uint32'](0x1a)['string'](_0x4038ef['except'][_0x5df937]);}return _0x4ab281;},_0x236f93['encodeDelimited']=function(_0xfdb98,_0x1751c3){return this['encode'](_0xfdb98,_0x1751c3)['ldelim']();},_0x236f93['decode']=function(_0x1781cf,_0x455f92,_0x10fdfe,_0x2f96d1){if(_0x1781cf instanceof _0x50c11c||(_0x1781cf=_0x50c11c['create'](_0x1781cf)),void 0x0===_0x2f96d1&&(_0x2f96d1=0x0),_0x2f96d1>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ab3c2=void 0x0===_0x455f92?_0x1781cf['len']:_0x1781cf['pos']+_0x455f92,_0x3a8b71=new _0x571a6c['PacketOptionsMessage']();_0x1781cf['pos']<_0x2ab3c2;){var _0x5e1ecc=_0x1781cf['uint32']();if(_0x5e1ecc===_0x10fdfe)break;switch(_0x5e1ecc>>>0x3){case 0x1:_0x3a8b71['flags']=_0x1781cf['string']();break;case 0x2:_0x3a8b71['rooms']&&_0x3a8b71['rooms']['length']||(_0x3a8b71['rooms']=[]),_0x3a8b71['rooms']['push'](_0x1781cf['string']());break;case 0x3:_0x3a8b71['except']&&_0x3a8b71['except']['length']||(_0x3a8b71['except']=[]),_0x3a8b71['except']['push'](_0x1781cf['string']());break;default:_0x1781cf['skipType'](0x7&_0x5e1ecc,_0x2f96d1);}}return _0x3a8b71;},_0x236f93['decodeDelimited']=function(_0x157ff1){return _0x157ff1 instanceof _0x50c11c||(_0x157ff1=new _0x50c11c(_0x157ff1)),this['decode'](_0x157ff1,_0x157ff1['uint32']());},_0x236f93['verify']=function(_0x5d883e,_0x283541){if('object'!=typeof _0x5d883e||null===_0x5d883e)return'object\x20expected';if(void 0x0===_0x283541&&(_0x283541=0x0),_0x283541>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5d883e['flags']&&_0x5d883e['hasOwnProperty']('flags')&&!_0x155d72['isString'](_0x5d883e['flags']))return'flags:\x20string\x20expected';if(null!=_0x5d883e['rooms']&&_0x5d883e['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x5d883e['rooms']))return'rooms:\x20array\x20expected';for(var _0x515c43=0x0;_0x515c43<_0x5d883e['rooms']['length'];++_0x515c43)if(!_0x155d72['isString'](_0x5d883e['rooms'][_0x515c43]))return'rooms:\x20string[]\x20expected';}if(null!=_0x5d883e['except']&&_0x5d883e['hasOwnProperty']('except')){if(!Array['isArray'](_0x5d883e['except']))return'except:\x20array\x20expected';for(_0x515c43=0x0;_0x515c43<_0x5d883e['except']['length'];++_0x515c43)if(!_0x155d72['isString'](_0x5d883e['except'][_0x515c43]))return'except:\x20string[]\x20expected';}return null;},_0x236f93['fromObject']=function(_0xa0625a,_0x503bc5){if(_0xa0625a instanceof _0x571a6c['PacketOptionsMessage'])return _0xa0625a;if(void 0x0===_0x503bc5&&(_0x503bc5=0x0),_0x503bc5>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x216ead=new _0x571a6c['PacketOptionsMessage']();if(null!=_0xa0625a['flags']&&(_0x216ead['flags']=String(_0xa0625a['flags'])),_0xa0625a['rooms']){if(!Array['isArray'](_0xa0625a['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x216ead['rooms']=[];for(var _0x5570ff=0x0;_0x5570ff<_0xa0625a['rooms']['length'];++_0x5570ff)_0x216ead['rooms'][_0x5570ff]=String(_0xa0625a['rooms'][_0x5570ff]);}if(_0xa0625a['except']){if(!Array['isArray'](_0xa0625a['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x216ead['except']=[],_0x5570ff=0x0;_0x5570ff<_0xa0625a['except']['length'];++_0x5570ff)_0x216ead['except'][_0x5570ff]=String(_0xa0625a['except'][_0x5570ff]);}return _0x216ead;},_0x236f93['toObject']=function(_0x49b893,_0x4ab207){_0x4ab207||(_0x4ab207={});var _0x3ebd30={};if((_0x4ab207['arrays']||_0x4ab207['defaults'])&&(_0x3ebd30['rooms']=[],_0x3ebd30['except']=[]),_0x4ab207['defaults']&&(_0x3ebd30['flags']=''),null!=_0x49b893['flags']&&_0x49b893['hasOwnProperty']('flags')&&(_0x3ebd30['flags']=_0x49b893['flags']),_0x49b893['rooms']&&_0x49b893['rooms']['length']){_0x3ebd30['rooms']=[];for(var _0x31824b=0x0;_0x31824b<_0x49b893['rooms']['length'];++_0x31824b)_0x3ebd30['rooms'][_0x31824b]=_0x49b893['rooms'][_0x31824b];}if(_0x49b893['except']&&_0x49b893['except']['length']){for(_0x3ebd30['except']=[],_0x31824b=0x0;_0x31824b<_0x49b893['except']['length'];++_0x31824b)_0x3ebd30['except'][_0x31824b]=_0x49b893['except'][_0x31824b];}return _0x3ebd30;},_0x236f93['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x236f93['getTypeUrl']=function(_0x372111){return void 0x0===_0x372111&&(_0x372111='type.googleapis.com'),_0x372111+'/PacketOptionsMessage';},_0x236f93;}()),_0x571a6c['PacketMessage']=(function(){function _0x3a1502(_0x25207c){if(_0x25207c){for(var _0x378d2c=Object['keys'](_0x25207c),_0x3bc7e7=0x0;_0x3bc7e7<_0x378d2c['length'];++_0x3bc7e7)null!=_0x25207c[_0x378d2c[_0x3bc7e7]]&&'__proto__'!==_0x378d2c[_0x3bc7e7]&&(this[_0x378d2c[_0x3bc7e7]]=_0x25207c[_0x378d2c[_0x3bc7e7]]);}}return _0x3a1502['prototype']['type']=0x0,_0x3a1502['prototype']['id']=0x0,_0x3a1502['prototype']['nsp']='',_0x3a1502['prototype']['data']=_0x155d72['newBuffer']([]),_0x3a1502['prototype']['options']=_0x155d72['newBuffer']([]),_0x3a1502['create']=function(_0x4dcae7){return new _0x3a1502(_0x4dcae7);},_0x3a1502['encode']=function(_0x5d2e4d,_0x4e1b2d){return _0x4e1b2d||(_0x4e1b2d=_0x352caa['create']()),null!=_0x5d2e4d['type']&&Object['hasOwnProperty']['call'](_0x5d2e4d,'type')&&_0x4e1b2d['uint32'](0x8)['uint32'](_0x5d2e4d['type']),null!=_0x5d2e4d['id']&&Object['hasOwnProperty']['call'](_0x5d2e4d,'id')&&_0x4e1b2d['uint32'](0x10)['uint32'](_0x5d2e4d['id']),null!=_0x5d2e4d['nsp']&&Object['hasOwnProperty']['call'](_0x5d2e4d,'nsp')&&_0x4e1b2d['uint32'](0x1a)['string'](_0x5d2e4d['nsp']),null!=_0x5d2e4d['data']&&Object['hasOwnProperty']['call'](_0x5d2e4d,'data')&&_0x4e1b2d['uint32'](0x22)['bytes'](_0x5d2e4d['data']),null!=_0x5d2e4d['options']&&Object['hasOwnProperty']['call'](_0x5d2e4d,'options')&&_0x4e1b2d['uint32'](0x2a)['bytes'](_0x5d2e4d['options']),_0x4e1b2d;},_0x3a1502['encodeDelimited']=function(_0x3fa7d8,_0x6d98b3){return this['encode'](_0x3fa7d8,_0x6d98b3)['ldelim']();},_0x3a1502['decode']=function(_0x4f0f3b,_0x46e545,_0x1e22f8,_0x2e4388){if(_0x4f0f3b instanceof _0x50c11c||(_0x4f0f3b=_0x50c11c['create'](_0x4f0f3b)),void 0x0===_0x2e4388&&(_0x2e4388=0x0),_0x2e4388>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x54ee0e=void 0x0===_0x46e545?_0x4f0f3b['len']:_0x4f0f3b['pos']+_0x46e545,_0x531cac=new _0x571a6c['PacketMessage']();_0x4f0f3b['pos']<_0x54ee0e;){var _0x37cb84=_0x4f0f3b['uint32']();if(_0x37cb84===_0x1e22f8)break;switch(_0x37cb84>>>0x3){case 0x1:_0x531cac['type']=_0x4f0f3b['uint32']();break;case 0x2:_0x531cac['id']=_0x4f0f3b['uint32']();break;case 0x3:_0x531cac['nsp']=_0x4f0f3b['string']();break;case 0x4:_0x531cac['data']=_0x4f0f3b['bytes']();break;case 0x5:_0x531cac['options']=_0x4f0f3b['bytes']();break;default:_0x4f0f3b['skipType'](0x7&_0x37cb84,_0x2e4388);}}return _0x531cac;},_0x3a1502['decodeDelimited']=function(_0xc10482){return _0xc10482 instanceof _0x50c11c||(_0xc10482=new _0x50c11c(_0xc10482)),this['decode'](_0xc10482,_0xc10482['uint32']());},_0x3a1502['verify']=function(_0x477c86,_0x228f32){return'object'!=typeof _0x477c86||null===_0x477c86?'object\x20expected':(void 0x0===_0x228f32&&(_0x228f32=0x0),_0x228f32>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x477c86['type']&&_0x477c86['hasOwnProperty']('type')&&!_0x155d72['isInteger'](_0x477c86['type'])?'type:\x20integer\x20expected':null!=_0x477c86['id']&&_0x477c86['hasOwnProperty']('id')&&!_0x155d72['isInteger'](_0x477c86['id'])?'id:\x20integer\x20expected':null!=_0x477c86['nsp']&&_0x477c86['hasOwnProperty']('nsp')&&!_0x155d72['isString'](_0x477c86['nsp'])?'nsp:\x20string\x20expected':null!=_0x477c86['data']&&_0x477c86['hasOwnProperty']('data')&&!(_0x477c86['data']&&'number'==typeof _0x477c86['data']['length']||_0x155d72['isString'](_0x477c86['data']))?'data:\x20buffer\x20expected':null!=_0x477c86['options']&&_0x477c86['hasOwnProperty']('options')&&!(_0x477c86['options']&&'number'==typeof _0x477c86['options']['length']||_0x155d72['isString'](_0x477c86['options']))?'options:\x20buffer\x20expected':null);},_0x3a1502['fromObject']=function(_0x4fd611,_0x4ba5){if(_0x4fd611 instanceof _0x571a6c['PacketMessage'])return _0x4fd611;if(void 0x0===_0x4ba5&&(_0x4ba5=0x0),_0x4ba5>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d54ee=new _0x571a6c['PacketMessage']();return null!=_0x4fd611['type']&&(_0x2d54ee['type']=_0x4fd611['type']>>>0x0),null!=_0x4fd611['id']&&(_0x2d54ee['id']=_0x4fd611['id']>>>0x0),null!=_0x4fd611['nsp']&&(_0x2d54ee['nsp']=String(_0x4fd611['nsp'])),null!=_0x4fd611['data']&&('string'==typeof _0x4fd611['data']?_0x155d72['base64']['decode'](_0x4fd611['data'],_0x2d54ee['data']=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x4fd611['data'])),0x0):_0x4fd611['data']['length']>=0x0&&(_0x2d54ee['data']=_0x4fd611['data'])),null!=_0x4fd611['options']&&('string'==typeof _0x4fd611['options']?_0x155d72['base64']['decode'](_0x4fd611['options'],_0x2d54ee['options']=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x4fd611['options'])),0x0):_0x4fd611['options']['length']>=0x0&&(_0x2d54ee['options']=_0x4fd611['options'])),_0x2d54ee;},_0x3a1502['toObject']=function(_0x4fdc6c,_0x2ef385){_0x2ef385||(_0x2ef385={});var _0x313dff={};return _0x2ef385['defaults']&&(_0x313dff['type']=0x0,_0x313dff['id']=0x0,_0x313dff['nsp']='',_0x2ef385['bytes']===String?_0x313dff['data']='':(_0x313dff['data']=[],_0x2ef385['bytes']!==Array&&(_0x313dff['data']=_0x155d72['newBuffer'](_0x313dff['data']))),_0x2ef385['bytes']===String?_0x313dff['options']='':(_0x313dff['options']=[],_0x2ef385['bytes']!==Array&&(_0x313dff['options']=_0x155d72['newBuffer'](_0x313dff['options'])))),null!=_0x4fdc6c['type']&&_0x4fdc6c['hasOwnProperty']('type')&&(_0x313dff['type']=_0x4fdc6c['type']),null!=_0x4fdc6c['id']&&_0x4fdc6c['hasOwnProperty']('id')&&(_0x313dff['id']=_0x4fdc6c['id']),null!=_0x4fdc6c['nsp']&&_0x4fdc6c['hasOwnProperty']('nsp')&&(_0x313dff['nsp']=_0x4fdc6c['nsp']),null!=_0x4fdc6c['data']&&_0x4fdc6c['hasOwnProperty']('data')&&(_0x313dff['data']=_0x2ef385['bytes']===String?_0x155d72['base64']['encode'](_0x4fdc6c['data'],0x0,_0x4fdc6c['data']['length']):_0x2ef385['bytes']===Array?Array['prototype']['slice']['call'](_0x4fdc6c['data']):_0x4fdc6c['data']),null!=_0x4fdc6c['options']&&_0x4fdc6c['hasOwnProperty']('options')&&(_0x313dff['options']=_0x2ef385['bytes']===String?_0x155d72['base64']['encode'](_0x4fdc6c['options'],0x0,_0x4fdc6c['options']['length']):_0x2ef385['bytes']===Array?Array['prototype']['slice']['call'](_0x4fdc6c['options']):_0x4fdc6c['options']),_0x313dff;},_0x3a1502['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x3a1502['getTypeUrl']=function(_0x28e6e5){return void 0x0===_0x28e6e5&&(_0x28e6e5='type.googleapis.com'),_0x28e6e5+'/PacketMessage';},_0x3a1502;}()),_0x571a6c['ObjectObjectPacketDataMessage']=(function(){function _0x3699b6(_0x5dd3a7){if(_0x5dd3a7){for(var _0x513ec6=Object['keys'](_0x5dd3a7),_0x18468e=0x0;_0x18468e<_0x513ec6['length'];++_0x18468e)null!=_0x5dd3a7[_0x513ec6[_0x18468e]]&&'__proto__'!==_0x513ec6[_0x18468e]&&(this[_0x513ec6[_0x18468e]]=_0x5dd3a7[_0x513ec6[_0x18468e]]);}}return _0x3699b6['prototype']['data']='',_0x3699b6['prototype']['data1']='',_0x3699b6['create']=function(_0x19aabe){return new _0x3699b6(_0x19aabe);},_0x3699b6['encode']=function(_0x4d0928,_0x673e48){return _0x673e48||(_0x673e48=_0x352caa['create']()),null!=_0x4d0928['data']&&Object['hasOwnProperty']['call'](_0x4d0928,'data')&&_0x673e48['uint32'](0xa)['string'](_0x4d0928['data']),null!=_0x4d0928['data1']&&Object['hasOwnProperty']['call'](_0x4d0928,'data1')&&_0x673e48['uint32'](0x12)['string'](_0x4d0928['data1']),_0x673e48;},_0x3699b6['encodeDelimited']=function(_0x1185e3,_0x374568){return this['encode'](_0x1185e3,_0x374568)['ldelim']();},_0x3699b6['decode']=function(_0x172776,_0x5b3750,_0x5ce9ab,_0x276ab7){if(_0x172776 instanceof _0x50c11c||(_0x172776=_0x50c11c['create'](_0x172776)),void 0x0===_0x276ab7&&(_0x276ab7=0x0),_0x276ab7>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e161d=void 0x0===_0x5b3750?_0x172776['len']:_0x172776['pos']+_0x5b3750,_0x5acb93=new _0x571a6c['ObjectObjectPacketDataMessage']();_0x172776['pos']<_0x1e161d;){var _0x415699=_0x172776['uint32']();if(_0x415699===_0x5ce9ab)break;switch(_0x415699>>>0x3){case 0x1:_0x5acb93['data']=_0x172776['string']();break;case 0x2:_0x5acb93['data1']=_0x172776['string']();break;default:_0x172776['skipType'](0x7&_0x415699,_0x276ab7);}}return _0x5acb93;},_0x3699b6['decodeDelimited']=function(_0x138700){return _0x138700 instanceof _0x50c11c||(_0x138700=new _0x50c11c(_0x138700)),this['decode'](_0x138700,_0x138700['uint32']());},_0x3699b6['verify']=function(_0x508890,_0x152667){return'object'!=typeof _0x508890||null===_0x508890?'object\x20expected':(void 0x0===_0x152667&&(_0x152667=0x0),_0x152667>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x508890['data']&&_0x508890['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x508890['data'])?'data:\x20string\x20expected':null!=_0x508890['data1']&&_0x508890['hasOwnProperty']('data1')&&!_0x155d72['isString'](_0x508890['data1'])?'data1:\x20string\x20expected':null);},_0x3699b6['fromObject']=function(_0x1cd026,_0x2248da){if(_0x1cd026 instanceof _0x571a6c['ObjectObjectPacketDataMessage'])return _0x1cd026;if(void 0x0===_0x2248da&&(_0x2248da=0x0),_0x2248da>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x384716=new _0x571a6c['ObjectObjectPacketDataMessage']();return null!=_0x1cd026['data']&&(_0x384716['data']=String(_0x1cd026['data'])),null!=_0x1cd026['data1']&&(_0x384716['data1']=String(_0x1cd026['data1'])),_0x384716;},_0x3699b6['toObject']=function(_0xce126a,_0x3f0595){_0x3f0595||(_0x3f0595={});var _0x591537={};return _0x3f0595['defaults']&&(_0x591537['data']='',_0x591537['data1']=''),null!=_0xce126a['data']&&_0xce126a['hasOwnProperty']('data')&&(_0x591537['data']=_0xce126a['data']),null!=_0xce126a['data1']&&_0xce126a['hasOwnProperty']('data1')&&(_0x591537['data1']=_0xce126a['data1']),_0x591537;},_0x3699b6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x3699b6['getTypeUrl']=function(_0x35556e){return void 0x0===_0x35556e&&(_0x35556e='type.googleapis.com'),_0x35556e+'/ObjectObjectPacketDataMessage';},_0x3699b6;}()),_0x571a6c['ObjectBufferPacketDataMessage']=(function(){function _0x4383aa(_0x385d10){if(_0x385d10){for(var _0x51096e=Object['keys'](_0x385d10),_0x28f01f=0x0;_0x28f01f<_0x51096e['length'];++_0x28f01f)null!=_0x385d10[_0x51096e[_0x28f01f]]&&'__proto__'!==_0x51096e[_0x28f01f]&&(this[_0x51096e[_0x28f01f]]=_0x385d10[_0x51096e[_0x28f01f]]);}}return _0x4383aa['prototype']['data']='',_0x4383aa['prototype']['data1']=_0x155d72['newBuffer']([]),_0x4383aa['create']=function(_0x421d04){return new _0x4383aa(_0x421d04);},_0x4383aa['encode']=function(_0x34126c,_0x52d601){return _0x52d601||(_0x52d601=_0x352caa['create']()),null!=_0x34126c['data']&&Object['hasOwnProperty']['call'](_0x34126c,'data')&&_0x52d601['uint32'](0xa)['string'](_0x34126c['data']),null!=_0x34126c['data1']&&Object['hasOwnProperty']['call'](_0x34126c,'data1')&&_0x52d601['uint32'](0x12)['bytes'](_0x34126c['data1']),_0x52d601;},_0x4383aa['encodeDelimited']=function(_0x34632f,_0xf49387){return this['encode'](_0x34632f,_0xf49387)['ldelim']();},_0x4383aa['decode']=function(_0x146680,_0x2f6891,_0x24dcd0,_0x2151c6){if(_0x146680 instanceof _0x50c11c||(_0x146680=_0x50c11c['create'](_0x146680)),void 0x0===_0x2151c6&&(_0x2151c6=0x0),_0x2151c6>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8898b=void 0x0===_0x2f6891?_0x146680['len']:_0x146680['pos']+_0x2f6891,_0x19c721=new _0x571a6c['ObjectBufferPacketDataMessage']();_0x146680['pos']<_0x8898b;){var _0x30a8cf=_0x146680['uint32']();if(_0x30a8cf===_0x24dcd0)break;switch(_0x30a8cf>>>0x3){case 0x1:_0x19c721['data']=_0x146680['string']();break;case 0x2:_0x19c721['data1']=_0x146680['bytes']();break;default:_0x146680['skipType'](0x7&_0x30a8cf,_0x2151c6);}}return _0x19c721;},_0x4383aa['decodeDelimited']=function(_0x270965){return _0x270965 instanceof _0x50c11c||(_0x270965=new _0x50c11c(_0x270965)),this['decode'](_0x270965,_0x270965['uint32']());},_0x4383aa['verify']=function(_0x1ffad6,_0x2f20b8){return'object'!=typeof _0x1ffad6||null===_0x1ffad6?'object\x20expected':(void 0x0===_0x2f20b8&&(_0x2f20b8=0x0),_0x2f20b8>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1ffad6['data']&&_0x1ffad6['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x1ffad6['data'])?'data:\x20string\x20expected':null!=_0x1ffad6['data1']&&_0x1ffad6['hasOwnProperty']('data1')&&!(_0x1ffad6['data1']&&'number'==typeof _0x1ffad6['data1']['length']||_0x155d72['isString'](_0x1ffad6['data1']))?'data1:\x20buffer\x20expected':null);},_0x4383aa['fromObject']=function(_0x553da6,_0x2b19f7){if(_0x553da6 instanceof _0x571a6c['ObjectBufferPacketDataMessage'])return _0x553da6;if(void 0x0===_0x2b19f7&&(_0x2b19f7=0x0),_0x2b19f7>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x253ca9=new _0x571a6c['ObjectBufferPacketDataMessage']();return null!=_0x553da6['data']&&(_0x253ca9['data']=String(_0x553da6['data'])),null!=_0x553da6['data1']&&('string'==typeof _0x553da6['data1']?_0x155d72['base64']['decode'](_0x553da6['data1'],_0x253ca9['data1']=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x553da6['data1'])),0x0):_0x553da6['data1']['length']>=0x0&&(_0x253ca9['data1']=_0x553da6['data1'])),_0x253ca9;},_0x4383aa['toObject']=function(_0x334908,_0x22230d){_0x22230d||(_0x22230d={});var _0x34bd95={};return _0x22230d['defaults']&&(_0x34bd95['data']='',_0x22230d['bytes']===String?_0x34bd95['data1']='':(_0x34bd95['data1']=[],_0x22230d['bytes']!==Array&&(_0x34bd95['data1']=_0x155d72['newBuffer'](_0x34bd95['data1'])))),null!=_0x334908['data']&&_0x334908['hasOwnProperty']('data')&&(_0x34bd95['data']=_0x334908['data']),null!=_0x334908['data1']&&_0x334908['hasOwnProperty']('data1')&&(_0x34bd95['data1']=_0x22230d['bytes']===String?_0x155d72['base64']['encode'](_0x334908['data1'],0x0,_0x334908['data1']['length']):_0x22230d['bytes']===Array?Array['prototype']['slice']['call'](_0x334908['data1']):_0x334908['data1']),_0x34bd95;},_0x4383aa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x4383aa['getTypeUrl']=function(_0x1c5f08){return void 0x0===_0x1c5f08&&(_0x1c5f08='type.googleapis.com'),_0x1c5f08+'/ObjectBufferPacketDataMessage';},_0x4383aa;}()),_0x571a6c['NumberStringPacketDataMessage']=(function(){function _0x20937b(_0x4b896d){if(_0x4b896d){for(var _0xab44e5=Object['keys'](_0x4b896d),_0x500fc9=0x0;_0x500fc9<_0xab44e5['length'];++_0x500fc9)null!=_0x4b896d[_0xab44e5[_0x500fc9]]&&'__proto__'!==_0xab44e5[_0x500fc9]&&(this[_0xab44e5[_0x500fc9]]=_0x4b896d[_0xab44e5[_0x500fc9]]);}}return _0x20937b['prototype']['data']=0x0,_0x20937b['prototype']['data1']='',_0x20937b['create']=function(_0x42b2a3){return new _0x20937b(_0x42b2a3);},_0x20937b['encode']=function(_0x38b787,_0x32ae6d){return _0x32ae6d||(_0x32ae6d=_0x352caa['create']()),null!=_0x38b787['data']&&Object['hasOwnProperty']['call'](_0x38b787,'data')&&_0x32ae6d['uint32'](0x8)['uint32'](_0x38b787['data']),null!=_0x38b787['data1']&&Object['hasOwnProperty']['call'](_0x38b787,'data1')&&_0x32ae6d['uint32'](0x12)['string'](_0x38b787['data1']),_0x32ae6d;},_0x20937b['encodeDelimited']=function(_0x338f27,_0x5a6013){return this['encode'](_0x338f27,_0x5a6013)['ldelim']();},_0x20937b['decode']=function(_0xa8c185,_0x1915bd,_0x99d430,_0x234945){if(_0xa8c185 instanceof _0x50c11c||(_0xa8c185=_0x50c11c['create'](_0xa8c185)),void 0x0===_0x234945&&(_0x234945=0x0),_0x234945>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x345e73=void 0x0===_0x1915bd?_0xa8c185['len']:_0xa8c185['pos']+_0x1915bd,_0x3f9ab4=new _0x571a6c['NumberStringPacketDataMessage']();_0xa8c185['pos']<_0x345e73;){var _0x4698ba=_0xa8c185['uint32']();if(_0x4698ba===_0x99d430)break;switch(_0x4698ba>>>0x3){case 0x1:_0x3f9ab4['data']=_0xa8c185['uint32']();break;case 0x2:_0x3f9ab4['data1']=_0xa8c185['string']();break;default:_0xa8c185['skipType'](0x7&_0x4698ba,_0x234945);}}return _0x3f9ab4;},_0x20937b['decodeDelimited']=function(_0x5eba2b){return _0x5eba2b instanceof _0x50c11c||(_0x5eba2b=new _0x50c11c(_0x5eba2b)),this['decode'](_0x5eba2b,_0x5eba2b['uint32']());},_0x20937b['verify']=function(_0x43ec33,_0x391c82){return'object'!=typeof _0x43ec33||null===_0x43ec33?'object\x20expected':(void 0x0===_0x391c82&&(_0x391c82=0x0),_0x391c82>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x43ec33['data']&&_0x43ec33['hasOwnProperty']('data')&&!_0x155d72['isInteger'](_0x43ec33['data'])?'data:\x20integer\x20expected':null!=_0x43ec33['data1']&&_0x43ec33['hasOwnProperty']('data1')&&!_0x155d72['isString'](_0x43ec33['data1'])?'data1:\x20string\x20expected':null);},_0x20937b['fromObject']=function(_0x5cc4f2,_0x5b97cd){if(_0x5cc4f2 instanceof _0x571a6c['NumberStringPacketDataMessage'])return _0x5cc4f2;if(void 0x0===_0x5b97cd&&(_0x5b97cd=0x0),_0x5b97cd>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x452086=new _0x571a6c['NumberStringPacketDataMessage']();return null!=_0x5cc4f2['data']&&(_0x452086['data']=_0x5cc4f2['data']>>>0x0),null!=_0x5cc4f2['data1']&&(_0x452086['data1']=String(_0x5cc4f2['data1'])),_0x452086;},_0x20937b['toObject']=function(_0x40be90,_0x256305){_0x256305||(_0x256305={});var _0x19fda8={};return _0x256305['defaults']&&(_0x19fda8['data']=0x0,_0x19fda8['data1']=''),null!=_0x40be90['data']&&_0x40be90['hasOwnProperty']('data')&&(_0x19fda8['data']=_0x40be90['data']),null!=_0x40be90['data1']&&_0x40be90['hasOwnProperty']('data1')&&(_0x19fda8['data1']=_0x40be90['data1']),_0x19fda8;},_0x20937b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x20937b['getTypeUrl']=function(_0x5a7171){return void 0x0===_0x5a7171&&(_0x5a7171='type.googleapis.com'),_0x5a7171+'/NumberStringPacketDataMessage';},_0x20937b;}()),_0x571a6c['NumberObjectPacketDataMessage']=(function(){function _0x50782b(_0xd9a430){if(_0xd9a430){for(var _0x547d97=Object['keys'](_0xd9a430),_0x2c7d4b=0x0;_0x2c7d4b<_0x547d97['length'];++_0x2c7d4b)null!=_0xd9a430[_0x547d97[_0x2c7d4b]]&&'__proto__'!==_0x547d97[_0x2c7d4b]&&(this[_0x547d97[_0x2c7d4b]]=_0xd9a430[_0x547d97[_0x2c7d4b]]);}}return _0x50782b['prototype']['data']=0x0,_0x50782b['prototype']['data1']='',_0x50782b['create']=function(_0x2ef1d4){return new _0x50782b(_0x2ef1d4);},_0x50782b['encode']=function(_0x4fc824,_0x21528c){return _0x21528c||(_0x21528c=_0x352caa['create']()),null!=_0x4fc824['data']&&Object['hasOwnProperty']['call'](_0x4fc824,'data')&&_0x21528c['uint32'](0x8)['uint32'](_0x4fc824['data']),null!=_0x4fc824['data1']&&Object['hasOwnProperty']['call'](_0x4fc824,'data1')&&_0x21528c['uint32'](0x12)['string'](_0x4fc824['data1']),_0x21528c;},_0x50782b['encodeDelimited']=function(_0x356c22,_0x4e614f){return this['encode'](_0x356c22,_0x4e614f)['ldelim']();},_0x50782b['decode']=function(_0x180d86,_0x4c951e,_0x1bf017,_0x1999a6){if(_0x180d86 instanceof _0x50c11c||(_0x180d86=_0x50c11c['create'](_0x180d86)),void 0x0===_0x1999a6&&(_0x1999a6=0x0),_0x1999a6>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x17653c=void 0x0===_0x4c951e?_0x180d86['len']:_0x180d86['pos']+_0x4c951e,_0x3badd9=new _0x571a6c['NumberObjectPacketDataMessage']();_0x180d86['pos']<_0x17653c;){var _0x6fbaf9=_0x180d86['uint32']();if(_0x6fbaf9===_0x1bf017)break;switch(_0x6fbaf9>>>0x3){case 0x1:_0x3badd9['data']=_0x180d86['uint32']();break;case 0x2:_0x3badd9['data1']=_0x180d86['string']();break;default:_0x180d86['skipType'](0x7&_0x6fbaf9,_0x1999a6);}}return _0x3badd9;},_0x50782b['decodeDelimited']=function(_0x5cbfe6){return _0x5cbfe6 instanceof _0x50c11c||(_0x5cbfe6=new _0x50c11c(_0x5cbfe6)),this['decode'](_0x5cbfe6,_0x5cbfe6['uint32']());},_0x50782b['verify']=function(_0x2b5e13,_0x2637c5){return'object'!=typeof _0x2b5e13||null===_0x2b5e13?'object\x20expected':(void 0x0===_0x2637c5&&(_0x2637c5=0x0),_0x2637c5>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2b5e13['data']&&_0x2b5e13['hasOwnProperty']('data')&&!_0x155d72['isInteger'](_0x2b5e13['data'])?'data:\x20integer\x20expected':null!=_0x2b5e13['data1']&&_0x2b5e13['hasOwnProperty']('data1')&&!_0x155d72['isString'](_0x2b5e13['data1'])?'data1:\x20string\x20expected':null);},_0x50782b['fromObject']=function(_0x3ebf27,_0x29f664){if(_0x3ebf27 instanceof _0x571a6c['NumberObjectPacketDataMessage'])return _0x3ebf27;if(void 0x0===_0x29f664&&(_0x29f664=0x0),_0x29f664>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1612f3=new _0x571a6c['NumberObjectPacketDataMessage']();return null!=_0x3ebf27['data']&&(_0x1612f3['data']=_0x3ebf27['data']>>>0x0),null!=_0x3ebf27['data1']&&(_0x1612f3['data1']=String(_0x3ebf27['data1'])),_0x1612f3;},_0x50782b['toObject']=function(_0x3732f5,_0x4707cd){_0x4707cd||(_0x4707cd={});var _0x53eecf={};return _0x4707cd['defaults']&&(_0x53eecf['data']=0x0,_0x53eecf['data1']=''),null!=_0x3732f5['data']&&_0x3732f5['hasOwnProperty']('data')&&(_0x53eecf['data']=_0x3732f5['data']),null!=_0x3732f5['data1']&&_0x3732f5['hasOwnProperty']('data1')&&(_0x53eecf['data1']=_0x3732f5['data1']),_0x53eecf;},_0x50782b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x50782b['getTypeUrl']=function(_0x3955a4){return void 0x0===_0x3955a4&&(_0x3955a4='type.googleapis.com'),_0x3955a4+'/NumberObjectPacketDataMessage';},_0x50782b;}()),_0x571a6c['NumberNumberPacketDataMessage']=(function(){function _0x36b007(_0x52cf3c){if(_0x52cf3c){for(var _0x436c1c=Object['keys'](_0x52cf3c),_0x14df7f=0x0;_0x14df7f<_0x436c1c['length'];++_0x14df7f)null!=_0x52cf3c[_0x436c1c[_0x14df7f]]&&'__proto__'!==_0x436c1c[_0x14df7f]&&(this[_0x436c1c[_0x14df7f]]=_0x52cf3c[_0x436c1c[_0x14df7f]]);}}return _0x36b007['prototype']['data']=0x0,_0x36b007['prototype']['data1']=0x0,_0x36b007['create']=function(_0x403ceb){return new _0x36b007(_0x403ceb);},_0x36b007['encode']=function(_0x1ad642,_0x5a8f7e){return _0x5a8f7e||(_0x5a8f7e=_0x352caa['create']()),null!=_0x1ad642['data']&&Object['hasOwnProperty']['call'](_0x1ad642,'data')&&_0x5a8f7e['uint32'](0x8)['uint32'](_0x1ad642['data']),null!=_0x1ad642['data1']&&Object['hasOwnProperty']['call'](_0x1ad642,'data1')&&_0x5a8f7e['uint32'](0x10)['uint32'](_0x1ad642['data1']),_0x5a8f7e;},_0x36b007['encodeDelimited']=function(_0x2d2b91,_0x2a1dd6){return this['encode'](_0x2d2b91,_0x2a1dd6)['ldelim']();},_0x36b007['decode']=function(_0x4d3084,_0x1a6ca7,_0x57ffb7,_0x2202fa){if(_0x4d3084 instanceof _0x50c11c||(_0x4d3084=_0x50c11c['create'](_0x4d3084)),void 0x0===_0x2202fa&&(_0x2202fa=0x0),_0x2202fa>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4df3bd=void 0x0===_0x1a6ca7?_0x4d3084['len']:_0x4d3084['pos']+_0x1a6ca7,_0x12fef4=new _0x571a6c['NumberNumberPacketDataMessage']();_0x4d3084['pos']<_0x4df3bd;){var _0x594ab2=_0x4d3084['uint32']();if(_0x594ab2===_0x57ffb7)break;switch(_0x594ab2>>>0x3){case 0x1:_0x12fef4['data']=_0x4d3084['uint32']();break;case 0x2:_0x12fef4['data1']=_0x4d3084['uint32']();break;default:_0x4d3084['skipType'](0x7&_0x594ab2,_0x2202fa);}}return _0x12fef4;},_0x36b007['decodeDelimited']=function(_0x42161b){return _0x42161b instanceof _0x50c11c||(_0x42161b=new _0x50c11c(_0x42161b)),this['decode'](_0x42161b,_0x42161b['uint32']());},_0x36b007['verify']=function(_0x363118,_0x5a317b){return'object'!=typeof _0x363118||null===_0x363118?'object\x20expected':(void 0x0===_0x5a317b&&(_0x5a317b=0x0),_0x5a317b>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x363118['data']&&_0x363118['hasOwnProperty']('data')&&!_0x155d72['isInteger'](_0x363118['data'])?'data:\x20integer\x20expected':null!=_0x363118['data1']&&_0x363118['hasOwnProperty']('data1')&&!_0x155d72['isInteger'](_0x363118['data1'])?'data1:\x20integer\x20expected':null);},_0x36b007['fromObject']=function(_0xe54b04,_0x599cf6){if(_0xe54b04 instanceof _0x571a6c['NumberNumberPacketDataMessage'])return _0xe54b04;if(void 0x0===_0x599cf6&&(_0x599cf6=0x0),_0x599cf6>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x40811b=new _0x571a6c['NumberNumberPacketDataMessage']();return null!=_0xe54b04['data']&&(_0x40811b['data']=_0xe54b04['data']>>>0x0),null!=_0xe54b04['data1']&&(_0x40811b['data1']=_0xe54b04['data1']>>>0x0),_0x40811b;},_0x36b007['toObject']=function(_0x5c8e21,_0x23008c){_0x23008c||(_0x23008c={});var _0x349d91={};return _0x23008c['defaults']&&(_0x349d91['data']=0x0,_0x349d91['data1']=0x0),null!=_0x5c8e21['data']&&_0x5c8e21['hasOwnProperty']('data')&&(_0x349d91['data']=_0x5c8e21['data']),null!=_0x5c8e21['data1']&&_0x5c8e21['hasOwnProperty']('data1')&&(_0x349d91['data1']=_0x5c8e21['data1']),_0x349d91;},_0x36b007['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x36b007['getTypeUrl']=function(_0x11cbb){return void 0x0===_0x11cbb&&(_0x11cbb='type.googleapis.com'),_0x11cbb+'/NumberNumberPacketDataMessage';},_0x36b007;}()),_0x571a6c['NumberBytesPacketDataMessage']=(function(){function _0x268a3f(_0x561ef2){if(_0x561ef2){for(var _0x5193e2=Object['keys'](_0x561ef2),_0x48ba5a=0x0;_0x48ba5a<_0x5193e2['length'];++_0x48ba5a)null!=_0x561ef2[_0x5193e2[_0x48ba5a]]&&'__proto__'!==_0x5193e2[_0x48ba5a]&&(this[_0x5193e2[_0x48ba5a]]=_0x561ef2[_0x5193e2[_0x48ba5a]]);}}return _0x268a3f['prototype']['data']=0x0,_0x268a3f['prototype']['data1']=_0x155d72['newBuffer']([]),_0x268a3f['create']=function(_0x298fab){return new _0x268a3f(_0x298fab);},_0x268a3f['encode']=function(_0x1e0865,_0x230f86){return _0x230f86||(_0x230f86=_0x352caa['create']()),null!=_0x1e0865['data']&&Object['hasOwnProperty']['call'](_0x1e0865,'data')&&_0x230f86['uint32'](0x8)['uint32'](_0x1e0865['data']),null!=_0x1e0865['data1']&&Object['hasOwnProperty']['call'](_0x1e0865,'data1')&&_0x230f86['uint32'](0x12)['bytes'](_0x1e0865['data1']),_0x230f86;},_0x268a3f['encodeDelimited']=function(_0x334c60,_0x207517){return this['encode'](_0x334c60,_0x207517)['ldelim']();},_0x268a3f['decode']=function(_0x30d9fe,_0x244410,_0x53b54f,_0x36f3a9){if(_0x30d9fe instanceof _0x50c11c||(_0x30d9fe=_0x50c11c['create'](_0x30d9fe)),void 0x0===_0x36f3a9&&(_0x36f3a9=0x0),_0x36f3a9>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1733ff=void 0x0===_0x244410?_0x30d9fe['len']:_0x30d9fe['pos']+_0x244410,_0x49e416=new _0x571a6c['NumberBytesPacketDataMessage']();_0x30d9fe['pos']<_0x1733ff;){var _0x3b88cd=_0x30d9fe['uint32']();if(_0x3b88cd===_0x53b54f)break;switch(_0x3b88cd>>>0x3){case 0x1:_0x49e416['data']=_0x30d9fe['uint32']();break;case 0x2:_0x49e416['data1']=_0x30d9fe['bytes']();break;default:_0x30d9fe['skipType'](0x7&_0x3b88cd,_0x36f3a9);}}return _0x49e416;},_0x268a3f['decodeDelimited']=function(_0x82769a){return _0x82769a instanceof _0x50c11c||(_0x82769a=new _0x50c11c(_0x82769a)),this['decode'](_0x82769a,_0x82769a['uint32']());},_0x268a3f['verify']=function(_0x1852c3,_0x34ff4b){return'object'!=typeof _0x1852c3||null===_0x1852c3?'object\x20expected':(void 0x0===_0x34ff4b&&(_0x34ff4b=0x0),_0x34ff4b>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1852c3['data']&&_0x1852c3['hasOwnProperty']('data')&&!_0x155d72['isInteger'](_0x1852c3['data'])?'data:\x20integer\x20expected':null!=_0x1852c3['data1']&&_0x1852c3['hasOwnProperty']('data1')&&!(_0x1852c3['data1']&&'number'==typeof _0x1852c3['data1']['length']||_0x155d72['isString'](_0x1852c3['data1']))?'data1:\x20buffer\x20expected':null);},_0x268a3f['fromObject']=function(_0x4fa133,_0x51c17f){if(_0x4fa133 instanceof _0x571a6c['NumberBytesPacketDataMessage'])return _0x4fa133;if(void 0x0===_0x51c17f&&(_0x51c17f=0x0),_0x51c17f>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x131629=new _0x571a6c['NumberBytesPacketDataMessage']();return null!=_0x4fa133['data']&&(_0x131629['data']=_0x4fa133['data']>>>0x0),null!=_0x4fa133['data1']&&('string'==typeof _0x4fa133['data1']?_0x155d72['base64']['decode'](_0x4fa133['data1'],_0x131629['data1']=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x4fa133['data1'])),0x0):_0x4fa133['data1']['length']>=0x0&&(_0x131629['data1']=_0x4fa133['data1'])),_0x131629;},_0x268a3f['toObject']=function(_0x3950bc,_0x508823){_0x508823||(_0x508823={});var _0x5a4b01={};return _0x508823['defaults']&&(_0x5a4b01['data']=0x0,_0x508823['bytes']===String?_0x5a4b01['data1']='':(_0x5a4b01['data1']=[],_0x508823['bytes']!==Array&&(_0x5a4b01['data1']=_0x155d72['newBuffer'](_0x5a4b01['data1'])))),null!=_0x3950bc['data']&&_0x3950bc['hasOwnProperty']('data')&&(_0x5a4b01['data']=_0x3950bc['data']),null!=_0x3950bc['data1']&&_0x3950bc['hasOwnProperty']('data1')&&(_0x5a4b01['data1']=_0x508823['bytes']===String?_0x155d72['base64']['encode'](_0x3950bc['data1'],0x0,_0x3950bc['data1']['length']):_0x508823['bytes']===Array?Array['prototype']['slice']['call'](_0x3950bc['data1']):_0x3950bc['data1']),_0x5a4b01;},_0x268a3f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x268a3f['getTypeUrl']=function(_0x10b52f){return void 0x0===_0x10b52f&&(_0x10b52f='type.googleapis.com'),_0x10b52f+'/NumberBytesPacketDataMessage';},_0x268a3f;}()),_0x571a6c['BytesBytesPacketDataMessage']=(function(){function _0x55b9d0(_0x5803e2){if(_0x5803e2){for(var _0x2fe4de=Object['keys'](_0x5803e2),_0x315e32=0x0;_0x315e32<_0x2fe4de['length'];++_0x315e32)null!=_0x5803e2[_0x2fe4de[_0x315e32]]&&'__proto__'!==_0x2fe4de[_0x315e32]&&(this[_0x2fe4de[_0x315e32]]=_0x5803e2[_0x2fe4de[_0x315e32]]);}}return _0x55b9d0['prototype']['data']=_0x155d72['newBuffer']([]),_0x55b9d0['prototype']['data1']=_0x155d72['newBuffer']([]),_0x55b9d0['create']=function(_0x5f5c99){return new _0x55b9d0(_0x5f5c99);},_0x55b9d0['encode']=function(_0x2e7e97,_0x29530a){return _0x29530a||(_0x29530a=_0x352caa['create']()),null!=_0x2e7e97['data']&&Object['hasOwnProperty']['call'](_0x2e7e97,'data')&&_0x29530a['uint32'](0xa)['bytes'](_0x2e7e97['data']),null!=_0x2e7e97['data1']&&Object['hasOwnProperty']['call'](_0x2e7e97,'data1')&&_0x29530a['uint32'](0x12)['bytes'](_0x2e7e97['data1']),_0x29530a;},_0x55b9d0['encodeDelimited']=function(_0x1896cb,_0xa088a8){return this['encode'](_0x1896cb,_0xa088a8)['ldelim']();},_0x55b9d0['decode']=function(_0x83a7e9,_0x440bc9,_0x2b9807,_0x2bab56){if(_0x83a7e9 instanceof _0x50c11c||(_0x83a7e9=_0x50c11c['create'](_0x83a7e9)),void 0x0===_0x2bab56&&(_0x2bab56=0x0),_0x2bab56>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4b6b07=void 0x0===_0x440bc9?_0x83a7e9['len']:_0x83a7e9['pos']+_0x440bc9,_0x406aca=new _0x571a6c['BytesBytesPacketDataMessage']();_0x83a7e9['pos']<_0x4b6b07;){var _0x6e6b0c=_0x83a7e9['uint32']();if(_0x6e6b0c===_0x2b9807)break;switch(_0x6e6b0c>>>0x3){case 0x1:_0x406aca['data']=_0x83a7e9['bytes']();break;case 0x2:_0x406aca['data1']=_0x83a7e9['bytes']();break;default:_0x83a7e9['skipType'](0x7&_0x6e6b0c,_0x2bab56);}}return _0x406aca;},_0x55b9d0['decodeDelimited']=function(_0xbca9d7){return _0xbca9d7 instanceof _0x50c11c||(_0xbca9d7=new _0x50c11c(_0xbca9d7)),this['decode'](_0xbca9d7,_0xbca9d7['uint32']());},_0x55b9d0['verify']=function(_0x176738,_0x36c633){return'object'!=typeof _0x176738||null===_0x176738?'object\x20expected':(void 0x0===_0x36c633&&(_0x36c633=0x0),_0x36c633>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x176738['data']&&_0x176738['hasOwnProperty']('data')&&!(_0x176738['data']&&'number'==typeof _0x176738['data']['length']||_0x155d72['isString'](_0x176738['data']))?'data:\x20buffer\x20expected':null!=_0x176738['data1']&&_0x176738['hasOwnProperty']('data1')&&!(_0x176738['data1']&&'number'==typeof _0x176738['data1']['length']||_0x155d72['isString'](_0x176738['data1']))?'data1:\x20buffer\x20expected':null);},_0x55b9d0['fromObject']=function(_0x4324d8,_0x1588cf){if(_0x4324d8 instanceof _0x571a6c['BytesBytesPacketDataMessage'])return _0x4324d8;if(void 0x0===_0x1588cf&&(_0x1588cf=0x0),_0x1588cf>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x583258=new _0x571a6c['BytesBytesPacketDataMessage']();return null!=_0x4324d8['data']&&('string'==typeof _0x4324d8['data']?_0x155d72['base64']['decode'](_0x4324d8['data'],_0x583258['data']=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x4324d8['data'])),0x0):_0x4324d8['data']['length']>=0x0&&(_0x583258['data']=_0x4324d8['data'])),null!=_0x4324d8['data1']&&('string'==typeof _0x4324d8['data1']?_0x155d72['base64']['decode'](_0x4324d8['data1'],_0x583258['data1']=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x4324d8['data1'])),0x0):_0x4324d8['data1']['length']>=0x0&&(_0x583258['data1']=_0x4324d8['data1'])),_0x583258;},_0x55b9d0['toObject']=function(_0x325d1e,_0x3281e4){_0x3281e4||(_0x3281e4={});var _0x532d16={};return _0x3281e4['defaults']&&(_0x3281e4['bytes']===String?_0x532d16['data']='':(_0x532d16['data']=[],_0x3281e4['bytes']!==Array&&(_0x532d16['data']=_0x155d72['newBuffer'](_0x532d16['data']))),_0x3281e4['bytes']===String?_0x532d16['data1']='':(_0x532d16['data1']=[],_0x3281e4['bytes']!==Array&&(_0x532d16['data1']=_0x155d72['newBuffer'](_0x532d16['data1'])))),null!=_0x325d1e['data']&&_0x325d1e['hasOwnProperty']('data')&&(_0x532d16['data']=_0x3281e4['bytes']===String?_0x155d72['base64']['encode'](_0x325d1e['data'],0x0,_0x325d1e['data']['length']):_0x3281e4['bytes']===Array?Array['prototype']['slice']['call'](_0x325d1e['data']):_0x325d1e['data']),null!=_0x325d1e['data1']&&_0x325d1e['hasOwnProperty']('data1')&&(_0x532d16['data1']=_0x3281e4['bytes']===String?_0x155d72['base64']['encode'](_0x325d1e['data1'],0x0,_0x325d1e['data1']['length']):_0x3281e4['bytes']===Array?Array['prototype']['slice']['call'](_0x325d1e['data1']):_0x325d1e['data1']),_0x532d16;},_0x55b9d0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x55b9d0['getTypeUrl']=function(_0x330d40){return void 0x0===_0x330d40&&(_0x330d40='type.googleapis.com'),_0x330d40+'/BytesBytesPacketDataMessage';},_0x55b9d0;}()),_0x571a6c['ChannelMessage']=(function(){function _0x4a3474(_0x12e889){if(_0x12e889){for(var _0xf803df=Object['keys'](_0x12e889),_0x28af19=0x0;_0x28af19<_0xf803df['length'];++_0x28af19)null!=_0x12e889[_0xf803df[_0x28af19]]&&'__proto__'!==_0xf803df[_0x28af19]&&(this[_0xf803df[_0x28af19]]=_0x12e889[_0xf803df[_0x28af19]]);}}return _0x4a3474['prototype']['type']=0x0,_0x4a3474['prototype']['socketId']='',_0x4a3474['prototype']['data']=_0x155d72['newBuffer']([]),_0x4a3474['create']=function(_0x2da6b8){return new _0x4a3474(_0x2da6b8);},_0x4a3474['encode']=function(_0x5847d9,_0x14afd7){return _0x14afd7||(_0x14afd7=_0x352caa['create']()),null!=_0x5847d9['type']&&Object['hasOwnProperty']['call'](_0x5847d9,'type')&&_0x14afd7['uint32'](0x8)['uint32'](_0x5847d9['type']),null!=_0x5847d9['socketId']&&Object['hasOwnProperty']['call'](_0x5847d9,'socketId')&&_0x14afd7['uint32'](0x12)['string'](_0x5847d9['socketId']),null!=_0x5847d9['data']&&Object['hasOwnProperty']['call'](_0x5847d9,'data')&&_0x14afd7['uint32'](0x1a)['bytes'](_0x5847d9['data']),_0x14afd7;},_0x4a3474['encodeDelimited']=function(_0x4cfae8,_0x356f79){return this['encode'](_0x4cfae8,_0x356f79)['ldelim']();},_0x4a3474['decode']=function(_0x4a71c8,_0x3d4ba9,_0x43b55f,_0x3b170d){if(_0x4a71c8 instanceof _0x50c11c||(_0x4a71c8=_0x50c11c['create'](_0x4a71c8)),void 0x0===_0x3b170d&&(_0x3b170d=0x0),_0x3b170d>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xdd2168=void 0x0===_0x3d4ba9?_0x4a71c8['len']:_0x4a71c8['pos']+_0x3d4ba9,_0x5e4a1b=new _0x571a6c['ChannelMessage']();_0x4a71c8['pos']<_0xdd2168;){var _0xe091a7=_0x4a71c8['uint32']();if(_0xe091a7===_0x43b55f)break;switch(_0xe091a7>>>0x3){case 0x1:_0x5e4a1b['type']=_0x4a71c8['uint32']();break;case 0x2:_0x5e4a1b['socketId']=_0x4a71c8['string']();break;case 0x3:_0x5e4a1b['data']=_0x4a71c8['bytes']();break;default:_0x4a71c8['skipType'](0x7&_0xe091a7,_0x3b170d);}}return _0x5e4a1b;},_0x4a3474['decodeDelimited']=function(_0x8c806){return _0x8c806 instanceof _0x50c11c||(_0x8c806=new _0x50c11c(_0x8c806)),this['decode'](_0x8c806,_0x8c806['uint32']());},_0x4a3474['verify']=function(_0x634264,_0x222225){return'object'!=typeof _0x634264||null===_0x634264?'object\x20expected':(void 0x0===_0x222225&&(_0x222225=0x0),_0x222225>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x634264['type']&&_0x634264['hasOwnProperty']('type')&&!_0x155d72['isInteger'](_0x634264['type'])?'type:\x20integer\x20expected':null!=_0x634264['socketId']&&_0x634264['hasOwnProperty']('socketId')&&!_0x155d72['isString'](_0x634264['socketId'])?'socketId:\x20string\x20expected':null!=_0x634264['data']&&_0x634264['hasOwnProperty']('data')&&!(_0x634264['data']&&'number'==typeof _0x634264['data']['length']||_0x155d72['isString'](_0x634264['data']))?'data:\x20buffer\x20expected':null);},_0x4a3474['fromObject']=function(_0xa322c4,_0x5f0e5e){if(_0xa322c4 instanceof _0x571a6c['ChannelMessage'])return _0xa322c4;if(void 0x0===_0x5f0e5e&&(_0x5f0e5e=0x0),_0x5f0e5e>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x37bca0=new _0x571a6c['ChannelMessage']();return null!=_0xa322c4['type']&&(_0x37bca0['type']=_0xa322c4['type']>>>0x0),null!=_0xa322c4['socketId']&&(_0x37bca0['socketId']=String(_0xa322c4['socketId'])),null!=_0xa322c4['data']&&('string'==typeof _0xa322c4['data']?_0x155d72['base64']['decode'](_0xa322c4['data'],_0x37bca0['data']=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0xa322c4['data'])),0x0):_0xa322c4['data']['length']>=0x0&&(_0x37bca0['data']=_0xa322c4['data'])),_0x37bca0;},_0x4a3474['toObject']=function(_0x2bcece,_0x478da4){_0x478da4||(_0x478da4={});var _0x225167={};return _0x478da4['defaults']&&(_0x225167['type']=0x0,_0x225167['socketId']='',_0x478da4['bytes']===String?_0x225167['data']='':(_0x225167['data']=[],_0x478da4['bytes']!==Array&&(_0x225167['data']=_0x155d72['newBuffer'](_0x225167['data'])))),null!=_0x2bcece['type']&&_0x2bcece['hasOwnProperty']('type')&&(_0x225167['type']=_0x2bcece['type']),null!=_0x2bcece['socketId']&&_0x2bcece['hasOwnProperty']('socketId')&&(_0x225167['socketId']=_0x2bcece['socketId']),null!=_0x2bcece['data']&&_0x2bcece['hasOwnProperty']('data')&&(_0x225167['data']=_0x478da4['bytes']===String?_0x155d72['base64']['encode'](_0x2bcece['data'],0x0,_0x2bcece['data']['length']):_0x478da4['bytes']===Array?Array['prototype']['slice']['call'](_0x2bcece['data']):_0x2bcece['data']),_0x225167;},_0x4a3474['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x4a3474['getTypeUrl']=function(_0x326872){return void 0x0===_0x326872&&(_0x326872='type.googleapis.com'),_0x326872+'/ChannelMessage';},_0x4a3474;}()),_0x571a6c['GetUserResponse']=(function(){function _0x3a429c(_0x433384){if(this['attributes']=[],_0x433384){for(var _0x449305=Object['keys'](_0x433384),_0x82c18b=0x0;_0x82c18b<_0x449305['length'];++_0x82c18b)null!=_0x433384[_0x449305[_0x82c18b]]&&'__proto__'!==_0x449305[_0x82c18b]&&(this[_0x449305[_0x82c18b]]=_0x433384[_0x449305[_0x82c18b]]);}}return _0x3a429c['prototype']['attributes']=_0x155d72['emptyArray'],_0x3a429c['create']=function(_0x1ba67f){return new _0x3a429c(_0x1ba67f);},_0x3a429c['encode']=function(_0x1cbd80,_0x8e0be4){if(_0x8e0be4||(_0x8e0be4=_0x352caa['create']()),null!=_0x1cbd80['attributes']&&_0x1cbd80['attributes']['length']){for(var _0xce9008=0x0;_0xce9008<_0x1cbd80['attributes']['length'];++_0xce9008)_0x571a6c['KeyValueDescriptor']['encode'](_0x1cbd80['attributes'][_0xce9008],_0x8e0be4['uint32'](0xa)['fork']())['ldelim']();}return _0x8e0be4;},_0x3a429c['encodeDelimited']=function(_0x4d2c22,_0x3cce28){return this['encode'](_0x4d2c22,_0x3cce28)['ldelim']();},_0x3a429c['decode']=function(_0x374963,_0x4f59b9,_0xffb8e9,_0x1eeb38){if(_0x374963 instanceof _0x50c11c||(_0x374963=_0x50c11c['create'](_0x374963)),void 0x0===_0x1eeb38&&(_0x1eeb38=0x0),_0x1eeb38>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x415752=void 0x0===_0x4f59b9?_0x374963['len']:_0x374963['pos']+_0x4f59b9,_0x4c17f5=new _0x571a6c['GetUserResponse']();_0x374963['pos']<_0x415752;){var _0xbf48a5=_0x374963['uint32']();if(_0xbf48a5===_0xffb8e9)break;_0xbf48a5>>>0x3==0x1?(_0x4c17f5['attributes']&&_0x4c17f5['attributes']['length']||(_0x4c17f5['attributes']=[]),_0x4c17f5['attributes']['push'](_0x571a6c['KeyValueDescriptor']['decode'](_0x374963,_0x374963['uint32'](),void 0x0,_0x1eeb38+0x1))):_0x374963['skipType'](0x7&_0xbf48a5,_0x1eeb38);}return _0x4c17f5;},_0x3a429c['decodeDelimited']=function(_0x5066fc){return _0x5066fc instanceof _0x50c11c||(_0x5066fc=new _0x50c11c(_0x5066fc)),this['decode'](_0x5066fc,_0x5066fc['uint32']());},_0x3a429c['verify']=function(_0x391704,_0x41669d){if('object'!=typeof _0x391704||null===_0x391704)return'object\x20expected';if(void 0x0===_0x41669d&&(_0x41669d=0x0),_0x41669d>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x391704['attributes']&&_0x391704['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x391704['attributes']))return'attributes:\x20array\x20expected';for(var _0x49ba54=0x0;_0x49ba54<_0x391704['attributes']['length'];++_0x49ba54){var _0x3000b9=_0x571a6c['KeyValueDescriptor']['verify'](_0x391704['attributes'][_0x49ba54],_0x41669d+0x1);if(_0x3000b9)return'attributes.'+_0x3000b9;}}return null;},_0x3a429c['fromObject']=function(_0x2b5a23,_0x48ca91){if(_0x2b5a23 instanceof _0x571a6c['GetUserResponse'])return _0x2b5a23;if(void 0x0===_0x48ca91&&(_0x48ca91=0x0),_0x48ca91>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x339931=new _0x571a6c['GetUserResponse']();if(_0x2b5a23['attributes']){if(!Array['isArray'](_0x2b5a23['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x339931['attributes']=[];for(var _0x2a5adc=0x0;_0x2a5adc<_0x2b5a23['attributes']['length'];++_0x2a5adc){if('object'!=typeof _0x2b5a23['attributes'][_0x2a5adc])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x339931['attributes'][_0x2a5adc]=_0x571a6c['KeyValueDescriptor']['fromObject'](_0x2b5a23['attributes'][_0x2a5adc],_0x48ca91+0x1);}}return _0x339931;},_0x3a429c['toObject']=function(_0x3dcb64,_0x4f7d6d){_0x4f7d6d||(_0x4f7d6d={});var _0xd0aede={};if((_0x4f7d6d['arrays']||_0x4f7d6d['defaults'])&&(_0xd0aede['attributes']=[]),_0x3dcb64['attributes']&&_0x3dcb64['attributes']['length']){_0xd0aede['attributes']=[];for(var _0x55c253=0x0;_0x55c253<_0x3dcb64['attributes']['length'];++_0x55c253)_0xd0aede['attributes'][_0x55c253]=_0x571a6c['KeyValueDescriptor']['toObject'](_0x3dcb64['attributes'][_0x55c253],_0x4f7d6d);}return _0xd0aede;},_0x3a429c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x3a429c['getTypeUrl']=function(_0x225f07){return void 0x0===_0x225f07&&(_0x225f07='type.googleapis.com'),_0x225f07+'/GetUserResponse';},_0x3a429c;}()),_0x571a6c['GetManyUsersResponse']=(function(){function _0x5a3124(_0x3c9bb0){if(this['users']=[],_0x3c9bb0){for(var _0x41e793=Object['keys'](_0x3c9bb0),_0x3aac22=0x0;_0x3aac22<_0x41e793['length'];++_0x3aac22)null!=_0x3c9bb0[_0x41e793[_0x3aac22]]&&'__proto__'!==_0x41e793[_0x3aac22]&&(this[_0x41e793[_0x3aac22]]=_0x3c9bb0[_0x41e793[_0x3aac22]]);}}return _0x5a3124['prototype']['users']=_0x155d72['emptyArray'],_0x5a3124['create']=function(_0x14362e){return new _0x5a3124(_0x14362e);},_0x5a3124['encode']=function(_0x34e1b5,_0x5346b1){if(_0x5346b1||(_0x5346b1=_0x352caa['create']()),null!=_0x34e1b5['users']&&_0x34e1b5['users']['length']){for(var _0x1c37cb=0x0;_0x1c37cb<_0x34e1b5['users']['length'];++_0x1c37cb)_0x571a6c['UserDescriptor']['encode'](_0x34e1b5['users'][_0x1c37cb],_0x5346b1['uint32'](0xa)['fork']())['ldelim']();}return _0x5346b1;},_0x5a3124['encodeDelimited']=function(_0x214765,_0x14320d){return this['encode'](_0x214765,_0x14320d)['ldelim']();},_0x5a3124['decode']=function(_0x40e15d,_0x3829e7,_0xdbc7db,_0x2d24e8){if(_0x40e15d instanceof _0x50c11c||(_0x40e15d=_0x50c11c['create'](_0x40e15d)),void 0x0===_0x2d24e8&&(_0x2d24e8=0x0),_0x2d24e8>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1b2d93=void 0x0===_0x3829e7?_0x40e15d['len']:_0x40e15d['pos']+_0x3829e7,_0x55acda=new _0x571a6c['GetManyUsersResponse']();_0x40e15d['pos']<_0x1b2d93;){var _0x31ab31=_0x40e15d['uint32']();if(_0x31ab31===_0xdbc7db)break;_0x31ab31>>>0x3==0x1?(_0x55acda['users']&&_0x55acda['users']['length']||(_0x55acda['users']=[]),_0x55acda['users']['push'](_0x571a6c['UserDescriptor']['decode'](_0x40e15d,_0x40e15d['uint32'](),void 0x0,_0x2d24e8+0x1))):_0x40e15d['skipType'](0x7&_0x31ab31,_0x2d24e8);}return _0x55acda;},_0x5a3124['decodeDelimited']=function(_0x24809d){return _0x24809d instanceof _0x50c11c||(_0x24809d=new _0x50c11c(_0x24809d)),this['decode'](_0x24809d,_0x24809d['uint32']());},_0x5a3124['verify']=function(_0x51bf82,_0x3dcd70){if('object'!=typeof _0x51bf82||null===_0x51bf82)return'object\x20expected';if(void 0x0===_0x3dcd70&&(_0x3dcd70=0x0),_0x3dcd70>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x51bf82['users']&&_0x51bf82['hasOwnProperty']('users')){if(!Array['isArray'](_0x51bf82['users']))return'users:\x20array\x20expected';for(var _0x39766c=0x0;_0x39766c<_0x51bf82['users']['length'];++_0x39766c){var _0x188e6e=_0x571a6c['UserDescriptor']['verify'](_0x51bf82['users'][_0x39766c],_0x3dcd70+0x1);if(_0x188e6e)return'users.'+_0x188e6e;}}return null;},_0x5a3124['fromObject']=function(_0x3a6340,_0x28f2b7){if(_0x3a6340 instanceof _0x571a6c['GetManyUsersResponse'])return _0x3a6340;if(void 0x0===_0x28f2b7&&(_0x28f2b7=0x0),_0x28f2b7>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5ed319=new _0x571a6c['GetManyUsersResponse']();if(_0x3a6340['users']){if(!Array['isArray'](_0x3a6340['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x5ed319['users']=[];for(var _0x197d74=0x0;_0x197d74<_0x3a6340['users']['length'];++_0x197d74){if('object'!=typeof _0x3a6340['users'][_0x197d74])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x5ed319['users'][_0x197d74]=_0x571a6c['UserDescriptor']['fromObject'](_0x3a6340['users'][_0x197d74],_0x28f2b7+0x1);}}return _0x5ed319;},_0x5a3124['toObject']=function(_0xd7a629,_0x84f488){_0x84f488||(_0x84f488={});var _0x1d4d01={};if((_0x84f488['arrays']||_0x84f488['defaults'])&&(_0x1d4d01['users']=[]),_0xd7a629['users']&&_0xd7a629['users']['length']){_0x1d4d01['users']=[];for(var _0x45054c=0x0;_0x45054c<_0xd7a629['users']['length'];++_0x45054c)_0x1d4d01['users'][_0x45054c]=_0x571a6c['UserDescriptor']['toObject'](_0xd7a629['users'][_0x45054c],_0x84f488);}return _0x1d4d01;},_0x5a3124['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5a3124['getTypeUrl']=function(_0x43b1c8){return void 0x0===_0x43b1c8&&(_0x43b1c8='type.googleapis.com'),_0x43b1c8+'/GetManyUsersResponse';},_0x5a3124;}()),_0x571a6c['GetUserMessage']=(function(){function _0x4c4291(_0xd495a3){if(_0xd495a3){for(var _0x4c278e=Object['keys'](_0xd495a3),_0xb453fc=0x0;_0xb453fc<_0x4c278e['length'];++_0xb453fc)null!=_0xd495a3[_0x4c278e[_0xb453fc]]&&'__proto__'!==_0x4c278e[_0xb453fc]&&(this[_0x4c278e[_0xb453fc]]=_0xd495a3[_0x4c278e[_0xb453fc]]);}}return _0x4c4291['prototype']['id']='',_0x4c4291['create']=function(_0x197d05){return new _0x4c4291(_0x197d05);},_0x4c4291['encode']=function(_0xb1e7ac,_0x2f71bd){return _0x2f71bd||(_0x2f71bd=_0x352caa['create']()),null!=_0xb1e7ac['id']&&Object['hasOwnProperty']['call'](_0xb1e7ac,'id')&&_0x2f71bd['uint32'](0xa)['string'](_0xb1e7ac['id']),_0x2f71bd;},_0x4c4291['encodeDelimited']=function(_0x58f6d1,_0x2e774e){return this['encode'](_0x58f6d1,_0x2e774e)['ldelim']();},_0x4c4291['decode']=function(_0x3ca754,_0x35227b,_0x3fe163,_0x304a8d){if(_0x3ca754 instanceof _0x50c11c||(_0x3ca754=_0x50c11c['create'](_0x3ca754)),void 0x0===_0x304a8d&&(_0x304a8d=0x0),_0x304a8d>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3a88f1=void 0x0===_0x35227b?_0x3ca754['len']:_0x3ca754['pos']+_0x35227b,_0x9094a6=new _0x571a6c['GetUserMessage']();_0x3ca754['pos']<_0x3a88f1;){var _0x3f0c19=_0x3ca754['uint32']();if(_0x3f0c19===_0x3fe163)break;_0x3f0c19>>>0x3==0x1?_0x9094a6['id']=_0x3ca754['string']():_0x3ca754['skipType'](0x7&_0x3f0c19,_0x304a8d);}return _0x9094a6;},_0x4c4291['decodeDelimited']=function(_0x131fb8){return _0x131fb8 instanceof _0x50c11c||(_0x131fb8=new _0x50c11c(_0x131fb8)),this['decode'](_0x131fb8,_0x131fb8['uint32']());},_0x4c4291['verify']=function(_0x55aaad,_0x11c535){return'object'!=typeof _0x55aaad||null===_0x55aaad?'object\x20expected':(void 0x0===_0x11c535&&(_0x11c535=0x0),_0x11c535>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x55aaad['id']&&_0x55aaad['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x55aaad['id'])?'id:\x20string\x20expected':null);},_0x4c4291['fromObject']=function(_0x1b0339,_0x203ca7){if(_0x1b0339 instanceof _0x571a6c['GetUserMessage'])return _0x1b0339;if(void 0x0===_0x203ca7&&(_0x203ca7=0x0),_0x203ca7>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x340d83=new _0x571a6c['GetUserMessage']();return null!=_0x1b0339['id']&&(_0x340d83['id']=String(_0x1b0339['id'])),_0x340d83;},_0x4c4291['toObject']=function(_0x22d27c,_0x49fa17){_0x49fa17||(_0x49fa17={});var _0x22daaf={};return _0x49fa17['defaults']&&(_0x22daaf['id']=''),null!=_0x22d27c['id']&&_0x22d27c['hasOwnProperty']('id')&&(_0x22daaf['id']=_0x22d27c['id']),_0x22daaf;},_0x4c4291['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x4c4291['getTypeUrl']=function(_0x596a86){return void 0x0===_0x596a86&&(_0x596a86='type.googleapis.com'),_0x596a86+'/GetUserMessage';},_0x4c4291;}()),_0x571a6c['GetManyUsersMessage']=(function(){function _0xe5e86f(_0x566fff){if(this['ids']=[],_0x566fff){for(var _0x2c0c44=Object['keys'](_0x566fff),_0x1e4a01=0x0;_0x1e4a01<_0x2c0c44['length'];++_0x1e4a01)null!=_0x566fff[_0x2c0c44[_0x1e4a01]]&&'__proto__'!==_0x2c0c44[_0x1e4a01]&&(this[_0x2c0c44[_0x1e4a01]]=_0x566fff[_0x2c0c44[_0x1e4a01]]);}}return _0xe5e86f['prototype']['ids']=_0x155d72['emptyArray'],_0xe5e86f['create']=function(_0x139a20){return new _0xe5e86f(_0x139a20);},_0xe5e86f['encode']=function(_0x3a854e,_0x20c58c){if(_0x20c58c||(_0x20c58c=_0x352caa['create']()),null!=_0x3a854e['ids']&&_0x3a854e['ids']['length']){for(var _0x416c5b=0x0;_0x416c5b<_0x3a854e['ids']['length'];++_0x416c5b)_0x20c58c['uint32'](0xa)['string'](_0x3a854e['ids'][_0x416c5b]);}return _0x20c58c;},_0xe5e86f['encodeDelimited']=function(_0x3320b4,_0x188a0f){return this['encode'](_0x3320b4,_0x188a0f)['ldelim']();},_0xe5e86f['decode']=function(_0x21bb58,_0x390cea,_0x177c4f,_0x59e0b6){if(_0x21bb58 instanceof _0x50c11c||(_0x21bb58=_0x50c11c['create'](_0x21bb58)),void 0x0===_0x59e0b6&&(_0x59e0b6=0x0),_0x59e0b6>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xa286d5=void 0x0===_0x390cea?_0x21bb58['len']:_0x21bb58['pos']+_0x390cea,_0x132c23=new _0x571a6c['GetManyUsersMessage']();_0x21bb58['pos']<_0xa286d5;){var _0x3f96bf=_0x21bb58['uint32']();if(_0x3f96bf===_0x177c4f)break;_0x3f96bf>>>0x3==0x1?(_0x132c23['ids']&&_0x132c23['ids']['length']||(_0x132c23['ids']=[]),_0x132c23['ids']['push'](_0x21bb58['string']())):_0x21bb58['skipType'](0x7&_0x3f96bf,_0x59e0b6);}return _0x132c23;},_0xe5e86f['decodeDelimited']=function(_0x851503){return _0x851503 instanceof _0x50c11c||(_0x851503=new _0x50c11c(_0x851503)),this['decode'](_0x851503,_0x851503['uint32']());},_0xe5e86f['verify']=function(_0x3fab34,_0x15ed06){if('object'!=typeof _0x3fab34||null===_0x3fab34)return'object\x20expected';if(void 0x0===_0x15ed06&&(_0x15ed06=0x0),_0x15ed06>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3fab34['ids']&&_0x3fab34['hasOwnProperty']('ids')){if(!Array['isArray'](_0x3fab34['ids']))return'ids:\x20array\x20expected';for(var _0x7c48d6=0x0;_0x7c48d6<_0x3fab34['ids']['length'];++_0x7c48d6)if(!_0x155d72['isString'](_0x3fab34['ids'][_0x7c48d6]))return'ids:\x20string[]\x20expected';}return null;},_0xe5e86f['fromObject']=function(_0x33a9b2,_0x45bd23){if(_0x33a9b2 instanceof _0x571a6c['GetManyUsersMessage'])return _0x33a9b2;if(void 0x0===_0x45bd23&&(_0x45bd23=0x0),_0x45bd23>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5adeaa=new _0x571a6c['GetManyUsersMessage']();if(_0x33a9b2['ids']){if(!Array['isArray'](_0x33a9b2['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x5adeaa['ids']=[];for(var _0x4c2ee8=0x0;_0x4c2ee8<_0x33a9b2['ids']['length'];++_0x4c2ee8)_0x5adeaa['ids'][_0x4c2ee8]=String(_0x33a9b2['ids'][_0x4c2ee8]);}return _0x5adeaa;},_0xe5e86f['toObject']=function(_0xdca96,_0x6ed71e){_0x6ed71e||(_0x6ed71e={});var _0x505128={};if((_0x6ed71e['arrays']||_0x6ed71e['defaults'])&&(_0x505128['ids']=[]),_0xdca96['ids']&&_0xdca96['ids']['length']){_0x505128['ids']=[];for(var _0x2659d0=0x0;_0x2659d0<_0xdca96['ids']['length'];++_0x2659d0)_0x505128['ids'][_0x2659d0]=_0xdca96['ids'][_0x2659d0];}return _0x505128;},_0xe5e86f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0xe5e86f['getTypeUrl']=function(_0x481fd6){return void 0x0===_0x481fd6&&(_0x481fd6='type.googleapis.com'),_0x481fd6+'/GetManyUsersMessage';},_0xe5e86f;}()),_0x571a6c['UserDescriptor']=(function(){function _0x2dfc90(_0x242c3c){if(this['attributes']=[],_0x242c3c){for(var _0x13b50f=Object['keys'](_0x242c3c),_0x42007b=0x0;_0x42007b<_0x13b50f['length'];++_0x42007b)null!=_0x242c3c[_0x13b50f[_0x42007b]]&&'__proto__'!==_0x13b50f[_0x42007b]&&(this[_0x13b50f[_0x42007b]]=_0x242c3c[_0x13b50f[_0x42007b]]);}}return _0x2dfc90['prototype']['attributes']=_0x155d72['emptyArray'],_0x2dfc90['create']=function(_0x3ee9b8){return new _0x2dfc90(_0x3ee9b8);},_0x2dfc90['encode']=function(_0x309a25,_0x4fb5a5){if(_0x4fb5a5||(_0x4fb5a5=_0x352caa['create']()),null!=_0x309a25['attributes']&&_0x309a25['attributes']['length']){for(var _0x3c4166=0x0;_0x3c4166<_0x309a25['attributes']['length'];++_0x3c4166)_0x571a6c['KeyValueDescriptor']['encode'](_0x309a25['attributes'][_0x3c4166],_0x4fb5a5['uint32'](0xa)['fork']())['ldelim']();}return _0x4fb5a5;},_0x2dfc90['encodeDelimited']=function(_0x3977ab,_0x4c81c6){return this['encode'](_0x3977ab,_0x4c81c6)['ldelim']();},_0x2dfc90['decode']=function(_0x36767f,_0x27cfcf,_0x4e2193,_0x17c3cc){if(_0x36767f instanceof _0x50c11c||(_0x36767f=_0x50c11c['create'](_0x36767f)),void 0x0===_0x17c3cc&&(_0x17c3cc=0x0),_0x17c3cc>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x93b98f=void 0x0===_0x27cfcf?_0x36767f['len']:_0x36767f['pos']+_0x27cfcf,_0x5837ee=new _0x571a6c['UserDescriptor']();_0x36767f['pos']<_0x93b98f;){var _0x47552a=_0x36767f['uint32']();if(_0x47552a===_0x4e2193)break;_0x47552a>>>0x3==0x1?(_0x5837ee['attributes']&&_0x5837ee['attributes']['length']||(_0x5837ee['attributes']=[]),_0x5837ee['attributes']['push'](_0x571a6c['KeyValueDescriptor']['decode'](_0x36767f,_0x36767f['uint32'](),void 0x0,_0x17c3cc+0x1))):_0x36767f['skipType'](0x7&_0x47552a,_0x17c3cc);}return _0x5837ee;},_0x2dfc90['decodeDelimited']=function(_0x180d9a){return _0x180d9a instanceof _0x50c11c||(_0x180d9a=new _0x50c11c(_0x180d9a)),this['decode'](_0x180d9a,_0x180d9a['uint32']());},_0x2dfc90['verify']=function(_0x45cf25,_0x48509b){if('object'!=typeof _0x45cf25||null===_0x45cf25)return'object\x20expected';if(void 0x0===_0x48509b&&(_0x48509b=0x0),_0x48509b>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x45cf25['attributes']&&_0x45cf25['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x45cf25['attributes']))return'attributes:\x20array\x20expected';for(var _0x199da3=0x0;_0x199da3<_0x45cf25['attributes']['length'];++_0x199da3){var _0x3a4247=_0x571a6c['KeyValueDescriptor']['verify'](_0x45cf25['attributes'][_0x199da3],_0x48509b+0x1);if(_0x3a4247)return'attributes.'+_0x3a4247;}}return null;},_0x2dfc90['fromObject']=function(_0x59691f,_0x17f449){if(_0x59691f instanceof _0x571a6c['UserDescriptor'])return _0x59691f;if(void 0x0===_0x17f449&&(_0x17f449=0x0),_0x17f449>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c80c6=new _0x571a6c['UserDescriptor']();if(_0x59691f['attributes']){if(!Array['isArray'](_0x59691f['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x4c80c6['attributes']=[];for(var _0x312d14=0x0;_0x312d14<_0x59691f['attributes']['length'];++_0x312d14){if('object'!=typeof _0x59691f['attributes'][_0x312d14])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x4c80c6['attributes'][_0x312d14]=_0x571a6c['KeyValueDescriptor']['fromObject'](_0x59691f['attributes'][_0x312d14],_0x17f449+0x1);}}return _0x4c80c6;},_0x2dfc90['toObject']=function(_0x3902d2,_0x552718){_0x552718||(_0x552718={});var _0xea14c2={};if((_0x552718['arrays']||_0x552718['defaults'])&&(_0xea14c2['attributes']=[]),_0x3902d2['attributes']&&_0x3902d2['attributes']['length']){_0xea14c2['attributes']=[];for(var _0x15272a=0x0;_0x15272a<_0x3902d2['attributes']['length'];++_0x15272a)_0xea14c2['attributes'][_0x15272a]=_0x571a6c['KeyValueDescriptor']['toObject'](_0x3902d2['attributes'][_0x15272a],_0x552718);}return _0xea14c2;},_0x2dfc90['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x2dfc90['getTypeUrl']=function(_0x125465){return void 0x0===_0x125465&&(_0x125465='type.googleapis.com'),_0x125465+'/UserDescriptor';},_0x2dfc90;}()),_0x571a6c['TrackChangesGetSuggestionResponse']=(function(){function _0x274991(_0x37d759){if(_0x37d759){for(var _0x4a165b=Object['keys'](_0x37d759),_0x22c036=0x0;_0x22c036<_0x4a165b['length'];++_0x22c036)null!=_0x37d759[_0x4a165b[_0x22c036]]&&'__proto__'!==_0x4a165b[_0x22c036]&&(this[_0x4a165b[_0x22c036]]=_0x37d759[_0x4a165b[_0x22c036]]);}}return _0x274991['prototype']['id']='',_0x274991['prototype']['authorId']='',_0x274991['prototype']['type']='',_0x274991['prototype']['createdAt']='',_0x274991['prototype']['data']='',_0x274991['prototype']['hasComments']=!0x1,_0x274991['prototype']['state']='',_0x274991['prototype']['attributes']='',_0x274991['create']=function(_0x501521){return new _0x274991(_0x501521);},_0x274991['encode']=function(_0x436193,_0x440784){return _0x440784||(_0x440784=_0x352caa['create']()),null!=_0x436193['id']&&Object['hasOwnProperty']['call'](_0x436193,'id')&&_0x440784['uint32'](0xa)['string'](_0x436193['id']),null!=_0x436193['authorId']&&Object['hasOwnProperty']['call'](_0x436193,'authorId')&&_0x440784['uint32'](0x12)['string'](_0x436193['authorId']),null!=_0x436193['type']&&Object['hasOwnProperty']['call'](_0x436193,'type')&&_0x440784['uint32'](0x1a)['string'](_0x436193['type']),null!=_0x436193['createdAt']&&Object['hasOwnProperty']['call'](_0x436193,'createdAt')&&_0x440784['uint32'](0x22)['string'](_0x436193['createdAt']),null!=_0x436193['data']&&Object['hasOwnProperty']['call'](_0x436193,'data')&&_0x440784['uint32'](0x2a)['string'](_0x436193['data']),null!=_0x436193['hasComments']&&Object['hasOwnProperty']['call'](_0x436193,'hasComments')&&_0x440784['uint32'](0x30)['bool'](_0x436193['hasComments']),null!=_0x436193['state']&&Object['hasOwnProperty']['call'](_0x436193,'state')&&_0x440784['uint32'](0x3a)['string'](_0x436193['state']),null!=_0x436193['attributes']&&Object['hasOwnProperty']['call'](_0x436193,'attributes')&&_0x440784['uint32'](0x42)['string'](_0x436193['attributes']),_0x440784;},_0x274991['encodeDelimited']=function(_0x5a924c,_0x2bd255){return this['encode'](_0x5a924c,_0x2bd255)['ldelim']();},_0x274991['decode']=function(_0x181339,_0x4cf268,_0x441ca4,_0x416593){if(_0x181339 instanceof _0x50c11c||(_0x181339=_0x50c11c['create'](_0x181339)),void 0x0===_0x416593&&(_0x416593=0x0),_0x416593>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1d2c0d=void 0x0===_0x4cf268?_0x181339['len']:_0x181339['pos']+_0x4cf268,_0x427597=new _0x571a6c['TrackChangesGetSuggestionResponse']();_0x181339['pos']<_0x1d2c0d;){var _0x149487=_0x181339['uint32']();if(_0x149487===_0x441ca4)break;switch(_0x149487>>>0x3){case 0x1:_0x427597['id']=_0x181339['string']();break;case 0x2:_0x427597['authorId']=_0x181339['string']();break;case 0x3:_0x427597['type']=_0x181339['string']();break;case 0x4:_0x427597['createdAt']=_0x181339['string']();break;case 0x5:_0x427597['data']=_0x181339['string']();break;case 0x6:_0x427597['hasComments']=_0x181339['bool']();break;case 0x7:_0x427597['state']=_0x181339['string']();break;case 0x8:_0x427597['attributes']=_0x181339['string']();break;default:_0x181339['skipType'](0x7&_0x149487,_0x416593);}}return _0x427597;},_0x274991['decodeDelimited']=function(_0x1e3d7b){return _0x1e3d7b instanceof _0x50c11c||(_0x1e3d7b=new _0x50c11c(_0x1e3d7b)),this['decode'](_0x1e3d7b,_0x1e3d7b['uint32']());},_0x274991['verify']=function(_0x2aa4ce,_0x1d3cf8){return'object'!=typeof _0x2aa4ce||null===_0x2aa4ce?'object\x20expected':(void 0x0===_0x1d3cf8&&(_0x1d3cf8=0x0),_0x1d3cf8>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2aa4ce['id']&&_0x2aa4ce['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x2aa4ce['id'])?'id:\x20string\x20expected':null!=_0x2aa4ce['authorId']&&_0x2aa4ce['hasOwnProperty']('authorId')&&!_0x155d72['isString'](_0x2aa4ce['authorId'])?'authorId:\x20string\x20expected':null!=_0x2aa4ce['type']&&_0x2aa4ce['hasOwnProperty']('type')&&!_0x155d72['isString'](_0x2aa4ce['type'])?'type:\x20string\x20expected':null!=_0x2aa4ce['createdAt']&&_0x2aa4ce['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x2aa4ce['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x2aa4ce['data']&&_0x2aa4ce['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x2aa4ce['data'])?'data:\x20string\x20expected':null!=_0x2aa4ce['hasComments']&&_0x2aa4ce['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x2aa4ce['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x2aa4ce['state']&&_0x2aa4ce['hasOwnProperty']('state')&&!_0x155d72['isString'](_0x2aa4ce['state'])?'state:\x20string\x20expected':null!=_0x2aa4ce['attributes']&&_0x2aa4ce['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x2aa4ce['attributes'])?'attributes:\x20string\x20expected':null);},_0x274991['fromObject']=function(_0x2244a9,_0x5e3cd9){if(_0x2244a9 instanceof _0x571a6c['TrackChangesGetSuggestionResponse'])return _0x2244a9;if(void 0x0===_0x5e3cd9&&(_0x5e3cd9=0x0),_0x5e3cd9>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ba824=new _0x571a6c['TrackChangesGetSuggestionResponse']();return null!=_0x2244a9['id']&&(_0x2ba824['id']=String(_0x2244a9['id'])),null!=_0x2244a9['authorId']&&(_0x2ba824['authorId']=String(_0x2244a9['authorId'])),null!=_0x2244a9['type']&&(_0x2ba824['type']=String(_0x2244a9['type'])),null!=_0x2244a9['createdAt']&&(_0x2ba824['createdAt']=String(_0x2244a9['createdAt'])),null!=_0x2244a9['data']&&(_0x2ba824['data']=String(_0x2244a9['data'])),null!=_0x2244a9['hasComments']&&(_0x2ba824['hasComments']=Boolean(_0x2244a9['hasComments'])),null!=_0x2244a9['state']&&(_0x2ba824['state']=String(_0x2244a9['state'])),null!=_0x2244a9['attributes']&&(_0x2ba824['attributes']=String(_0x2244a9['attributes'])),_0x2ba824;},_0x274991['toObject']=function(_0x4d4a8e,_0xca0da5){_0xca0da5||(_0xca0da5={});var _0x575206={};return _0xca0da5['defaults']&&(_0x575206['id']='',_0x575206['authorId']='',_0x575206['type']='',_0x575206['createdAt']='',_0x575206['data']='',_0x575206['hasComments']=!0x1,_0x575206['state']='',_0x575206['attributes']=''),null!=_0x4d4a8e['id']&&_0x4d4a8e['hasOwnProperty']('id')&&(_0x575206['id']=_0x4d4a8e['id']),null!=_0x4d4a8e['authorId']&&_0x4d4a8e['hasOwnProperty']('authorId')&&(_0x575206['authorId']=_0x4d4a8e['authorId']),null!=_0x4d4a8e['type']&&_0x4d4a8e['hasOwnProperty']('type')&&(_0x575206['type']=_0x4d4a8e['type']),null!=_0x4d4a8e['createdAt']&&_0x4d4a8e['hasOwnProperty']('createdAt')&&(_0x575206['createdAt']=_0x4d4a8e['createdAt']),null!=_0x4d4a8e['data']&&_0x4d4a8e['hasOwnProperty']('data')&&(_0x575206['data']=_0x4d4a8e['data']),null!=_0x4d4a8e['hasComments']&&_0x4d4a8e['hasOwnProperty']('hasComments')&&(_0x575206['hasComments']=_0x4d4a8e['hasComments']),null!=_0x4d4a8e['state']&&_0x4d4a8e['hasOwnProperty']('state')&&(_0x575206['state']=_0x4d4a8e['state']),null!=_0x4d4a8e['attributes']&&_0x4d4a8e['hasOwnProperty']('attributes')&&(_0x575206['attributes']=_0x4d4a8e['attributes']),_0x575206;},_0x274991['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x274991['getTypeUrl']=function(_0x4f3e47){return void 0x0===_0x4f3e47&&(_0x4f3e47='type.googleapis.com'),_0x4f3e47+'/TrackChangesGetSuggestionResponse';},_0x274991;}()),_0x571a6c['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x39c9a2(_0x15f4da){if(this['suggestions']=[],this['suggestionsV2']=[],_0x15f4da){for(var _0x2bd0b1=Object['keys'](_0x15f4da),_0x318302=0x0;_0x318302<_0x2bd0b1['length'];++_0x318302)null!=_0x15f4da[_0x2bd0b1[_0x318302]]&&'__proto__'!==_0x2bd0b1[_0x318302]&&(this[_0x2bd0b1[_0x318302]]=_0x15f4da[_0x2bd0b1[_0x318302]]);}}return _0x39c9a2['prototype']['suggestions']=_0x155d72['emptyArray'],_0x39c9a2['prototype']['suggestionsV2']=_0x155d72['emptyArray'],_0x39c9a2['create']=function(_0x1abeb6){return new _0x39c9a2(_0x1abeb6);},_0x39c9a2['encode']=function(_0x426d71,_0x30bf05){if(_0x30bf05||(_0x30bf05=_0x352caa['create']()),null!=_0x426d71['suggestions']&&_0x426d71['suggestions']['length']){for(var _0x4b04ab=0x0;_0x4b04ab<_0x426d71['suggestions']['length'];++_0x4b04ab)_0x30bf05['uint32'](0xa)['string'](_0x426d71['suggestions'][_0x4b04ab]);}if(null!=_0x426d71['suggestionsV2']&&_0x426d71['suggestionsV2']['length']){for(_0x4b04ab=0x0;_0x4b04ab<_0x426d71['suggestionsV2']['length'];++_0x4b04ab)_0x571a6c['SuggestionDescriptor']['encode'](_0x426d71['suggestionsV2'][_0x4b04ab],_0x30bf05['uint32'](0x12)['fork']())['ldelim']();}return _0x30bf05;},_0x39c9a2['encodeDelimited']=function(_0x4f42d6,_0x4476de){return this['encode'](_0x4f42d6,_0x4476de)['ldelim']();},_0x39c9a2['decode']=function(_0x489233,_0x268789,_0x5dcd73,_0x432e3a){if(_0x489233 instanceof _0x50c11c||(_0x489233=_0x50c11c['create'](_0x489233)),void 0x0===_0x432e3a&&(_0x432e3a=0x0),_0x432e3a>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x179123=void 0x0===_0x268789?_0x489233['len']:_0x489233['pos']+_0x268789,_0x395b0e=new _0x571a6c['TrackChangesGetAllSuggestionsResponse']();_0x489233['pos']<_0x179123;){var _0x4a8692=_0x489233['uint32']();if(_0x4a8692===_0x5dcd73)break;switch(_0x4a8692>>>0x3){case 0x1:_0x395b0e['suggestions']&&_0x395b0e['suggestions']['length']||(_0x395b0e['suggestions']=[]),_0x395b0e['suggestions']['push'](_0x489233['string']());break;case 0x2:_0x395b0e['suggestionsV2']&&_0x395b0e['suggestionsV2']['length']||(_0x395b0e['suggestionsV2']=[]),_0x395b0e['suggestionsV2']['push'](_0x571a6c['SuggestionDescriptor']['decode'](_0x489233,_0x489233['uint32'](),void 0x0,_0x432e3a+0x1));break;default:_0x489233['skipType'](0x7&_0x4a8692,_0x432e3a);}}return _0x395b0e;},_0x39c9a2['decodeDelimited']=function(_0x58e770){return _0x58e770 instanceof _0x50c11c||(_0x58e770=new _0x50c11c(_0x58e770)),this['decode'](_0x58e770,_0x58e770['uint32']());},_0x39c9a2['verify']=function(_0xf4a9bd,_0xe91b6f){if('object'!=typeof _0xf4a9bd||null===_0xf4a9bd)return'object\x20expected';if(void 0x0===_0xe91b6f&&(_0xe91b6f=0x0),_0xe91b6f>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xf4a9bd['suggestions']&&_0xf4a9bd['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0xf4a9bd['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x187500=0x0;_0x187500<_0xf4a9bd['suggestions']['length'];++_0x187500)if(!_0x155d72['isString'](_0xf4a9bd['suggestions'][_0x187500]))return'suggestions:\x20string[]\x20expected';}if(null!=_0xf4a9bd['suggestionsV2']&&_0xf4a9bd['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0xf4a9bd['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x187500=0x0;_0x187500<_0xf4a9bd['suggestionsV2']['length'];++_0x187500){var _0x953702=_0x571a6c['SuggestionDescriptor']['verify'](_0xf4a9bd['suggestionsV2'][_0x187500],_0xe91b6f+0x1);if(_0x953702)return'suggestionsV2.'+_0x953702;}}return null;},_0x39c9a2['fromObject']=function(_0x5575e0,_0x309ecd){if(_0x5575e0 instanceof _0x571a6c['TrackChangesGetAllSuggestionsResponse'])return _0x5575e0;if(void 0x0===_0x309ecd&&(_0x309ecd=0x0),_0x309ecd>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1b444b=new _0x571a6c['TrackChangesGetAllSuggestionsResponse']();if(_0x5575e0['suggestions']){if(!Array['isArray'](_0x5575e0['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x1b444b['suggestions']=[];for(var _0x28e148=0x0;_0x28e148<_0x5575e0['suggestions']['length'];++_0x28e148)_0x1b444b['suggestions'][_0x28e148]=String(_0x5575e0['suggestions'][_0x28e148]);}if(_0x5575e0['suggestionsV2']){if(!Array['isArray'](_0x5575e0['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x1b444b['suggestionsV2']=[],_0x28e148=0x0;_0x28e148<_0x5575e0['suggestionsV2']['length'];++_0x28e148){if('object'!=typeof _0x5575e0['suggestionsV2'][_0x28e148])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x1b444b['suggestionsV2'][_0x28e148]=_0x571a6c['SuggestionDescriptor']['fromObject'](_0x5575e0['suggestionsV2'][_0x28e148],_0x309ecd+0x1);}}return _0x1b444b;},_0x39c9a2['toObject']=function(_0x55c088,_0x475f68){_0x475f68||(_0x475f68={});var _0x50f9a4={};if((_0x475f68['arrays']||_0x475f68['defaults'])&&(_0x50f9a4['suggestions']=[],_0x50f9a4['suggestionsV2']=[]),_0x55c088['suggestions']&&_0x55c088['suggestions']['length']){_0x50f9a4['suggestions']=[];for(var _0x580392=0x0;_0x580392<_0x55c088['suggestions']['length'];++_0x580392)_0x50f9a4['suggestions'][_0x580392]=_0x55c088['suggestions'][_0x580392];}if(_0x55c088['suggestionsV2']&&_0x55c088['suggestionsV2']['length']){for(_0x50f9a4['suggestionsV2']=[],_0x580392=0x0;_0x580392<_0x55c088['suggestionsV2']['length'];++_0x580392)_0x50f9a4['suggestionsV2'][_0x580392]=_0x571a6c['SuggestionDescriptor']['toObject'](_0x55c088['suggestionsV2'][_0x580392],_0x475f68);}return _0x50f9a4;},_0x39c9a2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x39c9a2['getTypeUrl']=function(_0x555b43){return void 0x0===_0x555b43&&(_0x555b43='type.googleapis.com'),_0x555b43+'/TrackChangesGetAllSuggestionsResponse';},_0x39c9a2;}()),_0x571a6c['TrackChangesConnectResponse']=(function(){function _0x34aa28(_0x59aeb3){if(this['suggestions']=[],this['suggestionsV2']=[],_0x59aeb3){for(var _0x171fc8=Object['keys'](_0x59aeb3),_0xeff6d6=0x0;_0xeff6d6<_0x171fc8['length'];++_0xeff6d6)null!=_0x59aeb3[_0x171fc8[_0xeff6d6]]&&'__proto__'!==_0x171fc8[_0xeff6d6]&&(this[_0x171fc8[_0xeff6d6]]=_0x59aeb3[_0x171fc8[_0xeff6d6]]);}}return _0x34aa28['prototype']['channel']='',_0x34aa28['prototype']['suggestions']=_0x155d72['emptyArray'],_0x34aa28['prototype']['suggestionsV2']=_0x155d72['emptyArray'],_0x34aa28['create']=function(_0x107705){return new _0x34aa28(_0x107705);},_0x34aa28['encode']=function(_0x3b6499,_0x4a1aae){if(_0x4a1aae||(_0x4a1aae=_0x352caa['create']()),null!=_0x3b6499['channel']&&Object['hasOwnProperty']['call'](_0x3b6499,'channel')&&_0x4a1aae['uint32'](0xa)['string'](_0x3b6499['channel']),null!=_0x3b6499['suggestions']&&_0x3b6499['suggestions']['length']){for(var _0x11cb29=0x0;_0x11cb29<_0x3b6499['suggestions']['length'];++_0x11cb29)_0x4a1aae['uint32'](0x12)['string'](_0x3b6499['suggestions'][_0x11cb29]);}if(null!=_0x3b6499['suggestionsV2']&&_0x3b6499['suggestionsV2']['length']){for(_0x11cb29=0x0;_0x11cb29<_0x3b6499['suggestionsV2']['length'];++_0x11cb29)_0x571a6c['SuggestionDescriptor']['encode'](_0x3b6499['suggestionsV2'][_0x11cb29],_0x4a1aae['uint32'](0x1a)['fork']())['ldelim']();}return _0x4a1aae;},_0x34aa28['encodeDelimited']=function(_0x2cfce7,_0x2c7c7e){return this['encode'](_0x2cfce7,_0x2c7c7e)['ldelim']();},_0x34aa28['decode']=function(_0x359324,_0x39dacf,_0x55f16a,_0x453013){if(_0x359324 instanceof _0x50c11c||(_0x359324=_0x50c11c['create'](_0x359324)),void 0x0===_0x453013&&(_0x453013=0x0),_0x453013>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xcfb966=void 0x0===_0x39dacf?_0x359324['len']:_0x359324['pos']+_0x39dacf,_0x472a4e=new _0x571a6c['TrackChangesConnectResponse']();_0x359324['pos']<_0xcfb966;){var _0x205c4a=_0x359324['uint32']();if(_0x205c4a===_0x55f16a)break;switch(_0x205c4a>>>0x3){case 0x1:_0x472a4e['channel']=_0x359324['string']();break;case 0x2:_0x472a4e['suggestions']&&_0x472a4e['suggestions']['length']||(_0x472a4e['suggestions']=[]),_0x472a4e['suggestions']['push'](_0x359324['string']());break;case 0x3:_0x472a4e['suggestionsV2']&&_0x472a4e['suggestionsV2']['length']||(_0x472a4e['suggestionsV2']=[]),_0x472a4e['suggestionsV2']['push'](_0x571a6c['SuggestionDescriptor']['decode'](_0x359324,_0x359324['uint32'](),void 0x0,_0x453013+0x1));break;default:_0x359324['skipType'](0x7&_0x205c4a,_0x453013);}}return _0x472a4e;},_0x34aa28['decodeDelimited']=function(_0x2588f3){return _0x2588f3 instanceof _0x50c11c||(_0x2588f3=new _0x50c11c(_0x2588f3)),this['decode'](_0x2588f3,_0x2588f3['uint32']());},_0x34aa28['verify']=function(_0x3479e0,_0x218c86){if('object'!=typeof _0x3479e0||null===_0x3479e0)return'object\x20expected';if(void 0x0===_0x218c86&&(_0x218c86=0x0),_0x218c86>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3479e0['channel']&&_0x3479e0['hasOwnProperty']('channel')&&!_0x155d72['isString'](_0x3479e0['channel']))return'channel:\x20string\x20expected';if(null!=_0x3479e0['suggestions']&&_0x3479e0['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x3479e0['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x5e0d49=0x0;_0x5e0d49<_0x3479e0['suggestions']['length'];++_0x5e0d49)if(!_0x155d72['isString'](_0x3479e0['suggestions'][_0x5e0d49]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x3479e0['suggestionsV2']&&_0x3479e0['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x3479e0['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x5e0d49=0x0;_0x5e0d49<_0x3479e0['suggestionsV2']['length'];++_0x5e0d49){var _0x5ec8d5=_0x571a6c['SuggestionDescriptor']['verify'](_0x3479e0['suggestionsV2'][_0x5e0d49],_0x218c86+0x1);if(_0x5ec8d5)return'suggestionsV2.'+_0x5ec8d5;}}return null;},_0x34aa28['fromObject']=function(_0xd7b6e2,_0x4fc6f9){if(_0xd7b6e2 instanceof _0x571a6c['TrackChangesConnectResponse'])return _0xd7b6e2;if(void 0x0===_0x4fc6f9&&(_0x4fc6f9=0x0),_0x4fc6f9>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x26e25f=new _0x571a6c['TrackChangesConnectResponse']();if(null!=_0xd7b6e2['channel']&&(_0x26e25f['channel']=String(_0xd7b6e2['channel'])),_0xd7b6e2['suggestions']){if(!Array['isArray'](_0xd7b6e2['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x26e25f['suggestions']=[];for(var _0x13a1e9=0x0;_0x13a1e9<_0xd7b6e2['suggestions']['length'];++_0x13a1e9)_0x26e25f['suggestions'][_0x13a1e9]=String(_0xd7b6e2['suggestions'][_0x13a1e9]);}if(_0xd7b6e2['suggestionsV2']){if(!Array['isArray'](_0xd7b6e2['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x26e25f['suggestionsV2']=[],_0x13a1e9=0x0;_0x13a1e9<_0xd7b6e2['suggestionsV2']['length'];++_0x13a1e9){if('object'!=typeof _0xd7b6e2['suggestionsV2'][_0x13a1e9])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x26e25f['suggestionsV2'][_0x13a1e9]=_0x571a6c['SuggestionDescriptor']['fromObject'](_0xd7b6e2['suggestionsV2'][_0x13a1e9],_0x4fc6f9+0x1);}}return _0x26e25f;},_0x34aa28['toObject']=function(_0x41d6f2,_0x49dbba){_0x49dbba||(_0x49dbba={});var _0x4a4269={};if((_0x49dbba['arrays']||_0x49dbba['defaults'])&&(_0x4a4269['suggestions']=[],_0x4a4269['suggestionsV2']=[]),_0x49dbba['defaults']&&(_0x4a4269['channel']=''),null!=_0x41d6f2['channel']&&_0x41d6f2['hasOwnProperty']('channel')&&(_0x4a4269['channel']=_0x41d6f2['channel']),_0x41d6f2['suggestions']&&_0x41d6f2['suggestions']['length']){_0x4a4269['suggestions']=[];for(var _0x379fcc=0x0;_0x379fcc<_0x41d6f2['suggestions']['length'];++_0x379fcc)_0x4a4269['suggestions'][_0x379fcc]=_0x41d6f2['suggestions'][_0x379fcc];}if(_0x41d6f2['suggestionsV2']&&_0x41d6f2['suggestionsV2']['length']){for(_0x4a4269['suggestionsV2']=[],_0x379fcc=0x0;_0x379fcc<_0x41d6f2['suggestionsV2']['length'];++_0x379fcc)_0x4a4269['suggestionsV2'][_0x379fcc]=_0x571a6c['SuggestionDescriptor']['toObject'](_0x41d6f2['suggestionsV2'][_0x379fcc],_0x49dbba);}return _0x4a4269;},_0x34aa28['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x34aa28['getTypeUrl']=function(_0xdea1b9){return void 0x0===_0xdea1b9&&(_0xdea1b9='type.googleapis.com'),_0xdea1b9+'/TrackChangesConnectResponse';},_0x34aa28;}()),_0x571a6c['TrackChangesAddSuggestionResponse']=(function(){function _0xa79348(_0x42c6c4){if(_0x42c6c4){for(var _0x303c65=Object['keys'](_0x42c6c4),_0x1b79a7=0x0;_0x1b79a7<_0x303c65['length'];++_0x1b79a7)null!=_0x42c6c4[_0x303c65[_0x1b79a7]]&&'__proto__'!==_0x303c65[_0x1b79a7]&&(this[_0x303c65[_0x1b79a7]]=_0x42c6c4[_0x303c65[_0x1b79a7]]);}}return _0xa79348['prototype']['id']='',_0xa79348['prototype']['authorId']='',_0xa79348['prototype']['type']='',_0xa79348['prototype']['createdAt']='',_0xa79348['prototype']['data']='',_0xa79348['prototype']['hasComments']=!0x1,_0xa79348['prototype']['state']='',_0xa79348['prototype']['attributes']='',_0xa79348['create']=function(_0xc5a6a){return new _0xa79348(_0xc5a6a);},_0xa79348['encode']=function(_0x890789,_0x2fcf7e){return _0x2fcf7e||(_0x2fcf7e=_0x352caa['create']()),null!=_0x890789['id']&&Object['hasOwnProperty']['call'](_0x890789,'id')&&_0x2fcf7e['uint32'](0xa)['string'](_0x890789['id']),null!=_0x890789['authorId']&&Object['hasOwnProperty']['call'](_0x890789,'authorId')&&_0x2fcf7e['uint32'](0x12)['string'](_0x890789['authorId']),null!=_0x890789['type']&&Object['hasOwnProperty']['call'](_0x890789,'type')&&_0x2fcf7e['uint32'](0x1a)['string'](_0x890789['type']),null!=_0x890789['createdAt']&&Object['hasOwnProperty']['call'](_0x890789,'createdAt')&&_0x2fcf7e['uint32'](0x22)['string'](_0x890789['createdAt']),null!=_0x890789['data']&&Object['hasOwnProperty']['call'](_0x890789,'data')&&_0x2fcf7e['uint32'](0x2a)['string'](_0x890789['data']),null!=_0x890789['hasComments']&&Object['hasOwnProperty']['call'](_0x890789,'hasComments')&&_0x2fcf7e['uint32'](0x30)['bool'](_0x890789['hasComments']),null!=_0x890789['state']&&Object['hasOwnProperty']['call'](_0x890789,'state')&&_0x2fcf7e['uint32'](0x3a)['string'](_0x890789['state']),null!=_0x890789['attributes']&&Object['hasOwnProperty']['call'](_0x890789,'attributes')&&_0x2fcf7e['uint32'](0x42)['string'](_0x890789['attributes']),_0x2fcf7e;},_0xa79348['encodeDelimited']=function(_0x17f6de,_0xaf016b){return this['encode'](_0x17f6de,_0xaf016b)['ldelim']();},_0xa79348['decode']=function(_0x167397,_0x27321c,_0x2fa94f,_0x1321ac){if(_0x167397 instanceof _0x50c11c||(_0x167397=_0x50c11c['create'](_0x167397)),void 0x0===_0x1321ac&&(_0x1321ac=0x0),_0x1321ac>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1457d2=void 0x0===_0x27321c?_0x167397['len']:_0x167397['pos']+_0x27321c,_0x316ed3=new _0x571a6c['TrackChangesAddSuggestionResponse']();_0x167397['pos']<_0x1457d2;){var _0x15c814=_0x167397['uint32']();if(_0x15c814===_0x2fa94f)break;switch(_0x15c814>>>0x3){case 0x1:_0x316ed3['id']=_0x167397['string']();break;case 0x2:_0x316ed3['authorId']=_0x167397['string']();break;case 0x3:_0x316ed3['type']=_0x167397['string']();break;case 0x4:_0x316ed3['createdAt']=_0x167397['string']();break;case 0x5:_0x316ed3['data']=_0x167397['string']();break;case 0x6:_0x316ed3['hasComments']=_0x167397['bool']();break;case 0x7:_0x316ed3['state']=_0x167397['string']();break;case 0x8:_0x316ed3['attributes']=_0x167397['string']();break;default:_0x167397['skipType'](0x7&_0x15c814,_0x1321ac);}}return _0x316ed3;},_0xa79348['decodeDelimited']=function(_0x5036c1){return _0x5036c1 instanceof _0x50c11c||(_0x5036c1=new _0x50c11c(_0x5036c1)),this['decode'](_0x5036c1,_0x5036c1['uint32']());},_0xa79348['verify']=function(_0x1a3835,_0x1b142a){return'object'!=typeof _0x1a3835||null===_0x1a3835?'object\x20expected':(void 0x0===_0x1b142a&&(_0x1b142a=0x0),_0x1b142a>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1a3835['id']&&_0x1a3835['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x1a3835['id'])?'id:\x20string\x20expected':null!=_0x1a3835['authorId']&&_0x1a3835['hasOwnProperty']('authorId')&&!_0x155d72['isString'](_0x1a3835['authorId'])?'authorId:\x20string\x20expected':null!=_0x1a3835['type']&&_0x1a3835['hasOwnProperty']('type')&&!_0x155d72['isString'](_0x1a3835['type'])?'type:\x20string\x20expected':null!=_0x1a3835['createdAt']&&_0x1a3835['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x1a3835['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1a3835['data']&&_0x1a3835['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x1a3835['data'])?'data:\x20string\x20expected':null!=_0x1a3835['hasComments']&&_0x1a3835['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x1a3835['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1a3835['state']&&_0x1a3835['hasOwnProperty']('state')&&!_0x155d72['isString'](_0x1a3835['state'])?'state:\x20string\x20expected':null!=_0x1a3835['attributes']&&_0x1a3835['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x1a3835['attributes'])?'attributes:\x20string\x20expected':null);},_0xa79348['fromObject']=function(_0x35e2e6,_0x417602){if(_0x35e2e6 instanceof _0x571a6c['TrackChangesAddSuggestionResponse'])return _0x35e2e6;if(void 0x0===_0x417602&&(_0x417602=0x0),_0x417602>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x70b67c=new _0x571a6c['TrackChangesAddSuggestionResponse']();return null!=_0x35e2e6['id']&&(_0x70b67c['id']=String(_0x35e2e6['id'])),null!=_0x35e2e6['authorId']&&(_0x70b67c['authorId']=String(_0x35e2e6['authorId'])),null!=_0x35e2e6['type']&&(_0x70b67c['type']=String(_0x35e2e6['type'])),null!=_0x35e2e6['createdAt']&&(_0x70b67c['createdAt']=String(_0x35e2e6['createdAt'])),null!=_0x35e2e6['data']&&(_0x70b67c['data']=String(_0x35e2e6['data'])),null!=_0x35e2e6['hasComments']&&(_0x70b67c['hasComments']=Boolean(_0x35e2e6['hasComments'])),null!=_0x35e2e6['state']&&(_0x70b67c['state']=String(_0x35e2e6['state'])),null!=_0x35e2e6['attributes']&&(_0x70b67c['attributes']=String(_0x35e2e6['attributes'])),_0x70b67c;},_0xa79348['toObject']=function(_0xed35c1,_0x584b03){_0x584b03||(_0x584b03={});var _0x1360c4={};return _0x584b03['defaults']&&(_0x1360c4['id']='',_0x1360c4['authorId']='',_0x1360c4['type']='',_0x1360c4['createdAt']='',_0x1360c4['data']='',_0x1360c4['hasComments']=!0x1,_0x1360c4['state']='',_0x1360c4['attributes']=''),null!=_0xed35c1['id']&&_0xed35c1['hasOwnProperty']('id')&&(_0x1360c4['id']=_0xed35c1['id']),null!=_0xed35c1['authorId']&&_0xed35c1['hasOwnProperty']('authorId')&&(_0x1360c4['authorId']=_0xed35c1['authorId']),null!=_0xed35c1['type']&&_0xed35c1['hasOwnProperty']('type')&&(_0x1360c4['type']=_0xed35c1['type']),null!=_0xed35c1['createdAt']&&_0xed35c1['hasOwnProperty']('createdAt')&&(_0x1360c4['createdAt']=_0xed35c1['createdAt']),null!=_0xed35c1['data']&&_0xed35c1['hasOwnProperty']('data')&&(_0x1360c4['data']=_0xed35c1['data']),null!=_0xed35c1['hasComments']&&_0xed35c1['hasOwnProperty']('hasComments')&&(_0x1360c4['hasComments']=_0xed35c1['hasComments']),null!=_0xed35c1['state']&&_0xed35c1['hasOwnProperty']('state')&&(_0x1360c4['state']=_0xed35c1['state']),null!=_0xed35c1['attributes']&&_0xed35c1['hasOwnProperty']('attributes')&&(_0x1360c4['attributes']=_0xed35c1['attributes']),_0x1360c4;},_0xa79348['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0xa79348['getTypeUrl']=function(_0x1416d8){return void 0x0===_0x1416d8&&(_0x1416d8='type.googleapis.com'),_0x1416d8+'/TrackChangesAddSuggestionResponse';},_0xa79348;}()),_0x571a6c['TrackChangesUpdateSuggestionMessage']=(function(){function _0x474614(_0x12a7bf){if(_0x12a7bf){for(var _0x4f1789=Object['keys'](_0x12a7bf),_0x411757=0x0;_0x411757<_0x4f1789['length'];++_0x411757)null!=_0x12a7bf[_0x4f1789[_0x411757]]&&'__proto__'!==_0x4f1789[_0x411757]&&(this[_0x4f1789[_0x411757]]=_0x12a7bf[_0x4f1789[_0x411757]]);}}return _0x474614['prototype']['id']='',_0x474614['prototype']['documentId']='',_0x474614['prototype']['hasComments']=!0x1,_0x474614['prototype']['isHasCommentsModified']=!0x1,_0x474614['prototype']['state']='',_0x474614['prototype']['attributes']='',_0x474614['create']=function(_0x5d1a69){return new _0x474614(_0x5d1a69);},_0x474614['encode']=function(_0x3e8b43,_0x3fc1a4){return _0x3fc1a4||(_0x3fc1a4=_0x352caa['create']()),null!=_0x3e8b43['id']&&Object['hasOwnProperty']['call'](_0x3e8b43,'id')&&_0x3fc1a4['uint32'](0xa)['string'](_0x3e8b43['id']),null!=_0x3e8b43['documentId']&&Object['hasOwnProperty']['call'](_0x3e8b43,'documentId')&&_0x3fc1a4['uint32'](0x12)['string'](_0x3e8b43['documentId']),null!=_0x3e8b43['hasComments']&&Object['hasOwnProperty']['call'](_0x3e8b43,'hasComments')&&_0x3fc1a4['uint32'](0x18)['bool'](_0x3e8b43['hasComments']),null!=_0x3e8b43['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x3e8b43,'isHasCommentsModified')&&_0x3fc1a4['uint32'](0x20)['bool'](_0x3e8b43['isHasCommentsModified']),null!=_0x3e8b43['state']&&Object['hasOwnProperty']['call'](_0x3e8b43,'state')&&_0x3fc1a4['uint32'](0x2a)['string'](_0x3e8b43['state']),null!=_0x3e8b43['attributes']&&Object['hasOwnProperty']['call'](_0x3e8b43,'attributes')&&_0x3fc1a4['uint32'](0x32)['string'](_0x3e8b43['attributes']),_0x3fc1a4;},_0x474614['encodeDelimited']=function(_0xeddbe8,_0x4b7d40){return this['encode'](_0xeddbe8,_0x4b7d40)['ldelim']();},_0x474614['decode']=function(_0x3064ce,_0x448b89,_0x4c757d,_0xdcdeee){if(_0x3064ce instanceof _0x50c11c||(_0x3064ce=_0x50c11c['create'](_0x3064ce)),void 0x0===_0xdcdeee&&(_0xdcdeee=0x0),_0xdcdeee>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ec2f2=void 0x0===_0x448b89?_0x3064ce['len']:_0x3064ce['pos']+_0x448b89,_0x4b3cc1=new _0x571a6c['TrackChangesUpdateSuggestionMessage']();_0x3064ce['pos']<_0x4ec2f2;){var _0x288dd1=_0x3064ce['uint32']();if(_0x288dd1===_0x4c757d)break;switch(_0x288dd1>>>0x3){case 0x1:_0x4b3cc1['id']=_0x3064ce['string']();break;case 0x2:_0x4b3cc1['documentId']=_0x3064ce['string']();break;case 0x3:_0x4b3cc1['hasComments']=_0x3064ce['bool']();break;case 0x4:_0x4b3cc1['isHasCommentsModified']=_0x3064ce['bool']();break;case 0x5:_0x4b3cc1['state']=_0x3064ce['string']();break;case 0x6:_0x4b3cc1['attributes']=_0x3064ce['string']();break;default:_0x3064ce['skipType'](0x7&_0x288dd1,_0xdcdeee);}}return _0x4b3cc1;},_0x474614['decodeDelimited']=function(_0x1c924a){return _0x1c924a instanceof _0x50c11c||(_0x1c924a=new _0x50c11c(_0x1c924a)),this['decode'](_0x1c924a,_0x1c924a['uint32']());},_0x474614['verify']=function(_0x3e8639,_0x278133){return'object'!=typeof _0x3e8639||null===_0x3e8639?'object\x20expected':(void 0x0===_0x278133&&(_0x278133=0x0),_0x278133>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3e8639['id']&&_0x3e8639['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x3e8639['id'])?'id:\x20string\x20expected':null!=_0x3e8639['documentId']&&_0x3e8639['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x3e8639['documentId'])?'documentId:\x20string\x20expected':null!=_0x3e8639['hasComments']&&_0x3e8639['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x3e8639['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x3e8639['isHasCommentsModified']&&_0x3e8639['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x3e8639['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x3e8639['state']&&_0x3e8639['hasOwnProperty']('state')&&!_0x155d72['isString'](_0x3e8639['state'])?'state:\x20string\x20expected':null!=_0x3e8639['attributes']&&_0x3e8639['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x3e8639['attributes'])?'attributes:\x20string\x20expected':null);},_0x474614['fromObject']=function(_0xbf7fc3,_0x27f8be){if(_0xbf7fc3 instanceof _0x571a6c['TrackChangesUpdateSuggestionMessage'])return _0xbf7fc3;if(void 0x0===_0x27f8be&&(_0x27f8be=0x0),_0x27f8be>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x55f7fb=new _0x571a6c['TrackChangesUpdateSuggestionMessage']();return null!=_0xbf7fc3['id']&&(_0x55f7fb['id']=String(_0xbf7fc3['id'])),null!=_0xbf7fc3['documentId']&&(_0x55f7fb['documentId']=String(_0xbf7fc3['documentId'])),null!=_0xbf7fc3['hasComments']&&(_0x55f7fb['hasComments']=Boolean(_0xbf7fc3['hasComments'])),null!=_0xbf7fc3['isHasCommentsModified']&&(_0x55f7fb['isHasCommentsModified']=Boolean(_0xbf7fc3['isHasCommentsModified'])),null!=_0xbf7fc3['state']&&(_0x55f7fb['state']=String(_0xbf7fc3['state'])),null!=_0xbf7fc3['attributes']&&(_0x55f7fb['attributes']=String(_0xbf7fc3['attributes'])),_0x55f7fb;},_0x474614['toObject']=function(_0x58e52c,_0x18f119){_0x18f119||(_0x18f119={});var _0x4ad673={};return _0x18f119['defaults']&&(_0x4ad673['id']='',_0x4ad673['documentId']='',_0x4ad673['hasComments']=!0x1,_0x4ad673['isHasCommentsModified']=!0x1,_0x4ad673['state']='',_0x4ad673['attributes']=''),null!=_0x58e52c['id']&&_0x58e52c['hasOwnProperty']('id')&&(_0x4ad673['id']=_0x58e52c['id']),null!=_0x58e52c['documentId']&&_0x58e52c['hasOwnProperty']('documentId')&&(_0x4ad673['documentId']=_0x58e52c['documentId']),null!=_0x58e52c['hasComments']&&_0x58e52c['hasOwnProperty']('hasComments')&&(_0x4ad673['hasComments']=_0x58e52c['hasComments']),null!=_0x58e52c['isHasCommentsModified']&&_0x58e52c['hasOwnProperty']('isHasCommentsModified')&&(_0x4ad673['isHasCommentsModified']=_0x58e52c['isHasCommentsModified']),null!=_0x58e52c['state']&&_0x58e52c['hasOwnProperty']('state')&&(_0x4ad673['state']=_0x58e52c['state']),null!=_0x58e52c['attributes']&&_0x58e52c['hasOwnProperty']('attributes')&&(_0x4ad673['attributes']=_0x58e52c['attributes']),_0x4ad673;},_0x474614['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x474614['getTypeUrl']=function(_0x504ec1){return void 0x0===_0x504ec1&&(_0x504ec1='type.googleapis.com'),_0x504ec1+'/TrackChangesUpdateSuggestionMessage';},_0x474614;}()),_0x571a6c['TrackChangesGetSuggestionMessage']=(function(){function _0xab85c2(_0x4eb17b){if(_0x4eb17b){for(var _0x474181=Object['keys'](_0x4eb17b),_0x13a5a8=0x0;_0x13a5a8<_0x474181['length'];++_0x13a5a8)null!=_0x4eb17b[_0x474181[_0x13a5a8]]&&'__proto__'!==_0x474181[_0x13a5a8]&&(this[_0x474181[_0x13a5a8]]=_0x4eb17b[_0x474181[_0x13a5a8]]);}}return _0xab85c2['prototype']['id']='',_0xab85c2['prototype']['documentId']='',_0xab85c2['create']=function(_0x2ebc13){return new _0xab85c2(_0x2ebc13);},_0xab85c2['encode']=function(_0x12017a,_0x2b3081){return _0x2b3081||(_0x2b3081=_0x352caa['create']()),null!=_0x12017a['id']&&Object['hasOwnProperty']['call'](_0x12017a,'id')&&_0x2b3081['uint32'](0xa)['string'](_0x12017a['id']),null!=_0x12017a['documentId']&&Object['hasOwnProperty']['call'](_0x12017a,'documentId')&&_0x2b3081['uint32'](0x12)['string'](_0x12017a['documentId']),_0x2b3081;},_0xab85c2['encodeDelimited']=function(_0x4df347,_0x28f457){return this['encode'](_0x4df347,_0x28f457)['ldelim']();},_0xab85c2['decode']=function(_0xb0ca40,_0x583c73,_0x2f4baf,_0x12d914){if(_0xb0ca40 instanceof _0x50c11c||(_0xb0ca40=_0x50c11c['create'](_0xb0ca40)),void 0x0===_0x12d914&&(_0x12d914=0x0),_0x12d914>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5db7eb=void 0x0===_0x583c73?_0xb0ca40['len']:_0xb0ca40['pos']+_0x583c73,_0x4e2852=new _0x571a6c['TrackChangesGetSuggestionMessage']();_0xb0ca40['pos']<_0x5db7eb;){var _0x18689a=_0xb0ca40['uint32']();if(_0x18689a===_0x2f4baf)break;switch(_0x18689a>>>0x3){case 0x1:_0x4e2852['id']=_0xb0ca40['string']();break;case 0x2:_0x4e2852['documentId']=_0xb0ca40['string']();break;default:_0xb0ca40['skipType'](0x7&_0x18689a,_0x12d914);}}return _0x4e2852;},_0xab85c2['decodeDelimited']=function(_0x1574c5){return _0x1574c5 instanceof _0x50c11c||(_0x1574c5=new _0x50c11c(_0x1574c5)),this['decode'](_0x1574c5,_0x1574c5['uint32']());},_0xab85c2['verify']=function(_0x471b96,_0x2d83c7){return'object'!=typeof _0x471b96||null===_0x471b96?'object\x20expected':(void 0x0===_0x2d83c7&&(_0x2d83c7=0x0),_0x2d83c7>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x471b96['id']&&_0x471b96['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x471b96['id'])?'id:\x20string\x20expected':null!=_0x471b96['documentId']&&_0x471b96['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x471b96['documentId'])?'documentId:\x20string\x20expected':null);},_0xab85c2['fromObject']=function(_0x2f0a19,_0x2c4964){if(_0x2f0a19 instanceof _0x571a6c['TrackChangesGetSuggestionMessage'])return _0x2f0a19;if(void 0x0===_0x2c4964&&(_0x2c4964=0x0),_0x2c4964>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x497779=new _0x571a6c['TrackChangesGetSuggestionMessage']();return null!=_0x2f0a19['id']&&(_0x497779['id']=String(_0x2f0a19['id'])),null!=_0x2f0a19['documentId']&&(_0x497779['documentId']=String(_0x2f0a19['documentId'])),_0x497779;},_0xab85c2['toObject']=function(_0x5a6080,_0x384cd0){_0x384cd0||(_0x384cd0={});var _0x253de1={};return _0x384cd0['defaults']&&(_0x253de1['id']='',_0x253de1['documentId']=''),null!=_0x5a6080['id']&&_0x5a6080['hasOwnProperty']('id')&&(_0x253de1['id']=_0x5a6080['id']),null!=_0x5a6080['documentId']&&_0x5a6080['hasOwnProperty']('documentId')&&(_0x253de1['documentId']=_0x5a6080['documentId']),_0x253de1;},_0xab85c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0xab85c2['getTypeUrl']=function(_0x5ec202){return void 0x0===_0x5ec202&&(_0x5ec202='type.googleapis.com'),_0x5ec202+'/TrackChangesGetSuggestionMessage';},_0xab85c2;}()),_0x571a6c['TrackChangesGetAllSuggestionMessage']=(function(){function _0x4e280b(_0x1a7ebe){if(_0x1a7ebe){for(var _0x124b9c=Object['keys'](_0x1a7ebe),_0x299188=0x0;_0x299188<_0x124b9c['length'];++_0x299188)null!=_0x1a7ebe[_0x124b9c[_0x299188]]&&'__proto__'!==_0x124b9c[_0x299188]&&(this[_0x124b9c[_0x299188]]=_0x1a7ebe[_0x124b9c[_0x299188]]);}}return _0x4e280b['prototype']['documentId']='',_0x4e280b['create']=function(_0x32afb){return new _0x4e280b(_0x32afb);},_0x4e280b['encode']=function(_0x38a326,_0x37aea2){return _0x37aea2||(_0x37aea2=_0x352caa['create']()),null!=_0x38a326['documentId']&&Object['hasOwnProperty']['call'](_0x38a326,'documentId')&&_0x37aea2['uint32'](0xa)['string'](_0x38a326['documentId']),_0x37aea2;},_0x4e280b['encodeDelimited']=function(_0x1c9360,_0x492196){return this['encode'](_0x1c9360,_0x492196)['ldelim']();},_0x4e280b['decode']=function(_0x3f39a2,_0x7f31e2,_0x33fb04,_0x206345){if(_0x3f39a2 instanceof _0x50c11c||(_0x3f39a2=_0x50c11c['create'](_0x3f39a2)),void 0x0===_0x206345&&(_0x206345=0x0),_0x206345>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x45e3fb=void 0x0===_0x7f31e2?_0x3f39a2['len']:_0x3f39a2['pos']+_0x7f31e2,_0x125422=new _0x571a6c['TrackChangesGetAllSuggestionMessage']();_0x3f39a2['pos']<_0x45e3fb;){var _0x548611=_0x3f39a2['uint32']();if(_0x548611===_0x33fb04)break;_0x548611>>>0x3==0x1?_0x125422['documentId']=_0x3f39a2['string']():_0x3f39a2['skipType'](0x7&_0x548611,_0x206345);}return _0x125422;},_0x4e280b['decodeDelimited']=function(_0x5ce9d4){return _0x5ce9d4 instanceof _0x50c11c||(_0x5ce9d4=new _0x50c11c(_0x5ce9d4)),this['decode'](_0x5ce9d4,_0x5ce9d4['uint32']());},_0x4e280b['verify']=function(_0x554588,_0x57ea54){return'object'!=typeof _0x554588||null===_0x554588?'object\x20expected':(void 0x0===_0x57ea54&&(_0x57ea54=0x0),_0x57ea54>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x554588['documentId']&&_0x554588['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x554588['documentId'])?'documentId:\x20string\x20expected':null);},_0x4e280b['fromObject']=function(_0x4b8222,_0x2817dc){if(_0x4b8222 instanceof _0x571a6c['TrackChangesGetAllSuggestionMessage'])return _0x4b8222;if(void 0x0===_0x2817dc&&(_0x2817dc=0x0),_0x2817dc>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1a8371=new _0x571a6c['TrackChangesGetAllSuggestionMessage']();return null!=_0x4b8222['documentId']&&(_0x1a8371['documentId']=String(_0x4b8222['documentId'])),_0x1a8371;},_0x4e280b['toObject']=function(_0xec6d6e,_0x351f09){_0x351f09||(_0x351f09={});var _0x467e38={};return _0x351f09['defaults']&&(_0x467e38['documentId']=''),null!=_0xec6d6e['documentId']&&_0xec6d6e['hasOwnProperty']('documentId')&&(_0x467e38['documentId']=_0xec6d6e['documentId']),_0x467e38;},_0x4e280b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x4e280b['getTypeUrl']=function(_0x210efb){return void 0x0===_0x210efb&&(_0x210efb='type.googleapis.com'),_0x210efb+'/TrackChangesGetAllSuggestionMessage';},_0x4e280b;}()),_0x571a6c['TrackChangesConnectMessage']=(function(){function _0x17949b(_0x490aba){if(_0x490aba){for(var _0x1dd70e=Object['keys'](_0x490aba),_0x2305eb=0x0;_0x2305eb<_0x1dd70e['length'];++_0x2305eb)null!=_0x490aba[_0x1dd70e[_0x2305eb]]&&'__proto__'!==_0x1dd70e[_0x2305eb]&&(this[_0x1dd70e[_0x2305eb]]=_0x490aba[_0x1dd70e[_0x2305eb]]);}}return _0x17949b['prototype']['documentId']='',_0x17949b['create']=function(_0x56ec09){return new _0x17949b(_0x56ec09);},_0x17949b['encode']=function(_0x598c9d,_0x3d48a1){return _0x3d48a1||(_0x3d48a1=_0x352caa['create']()),null!=_0x598c9d['documentId']&&Object['hasOwnProperty']['call'](_0x598c9d,'documentId')&&_0x3d48a1['uint32'](0xa)['string'](_0x598c9d['documentId']),_0x3d48a1;},_0x17949b['encodeDelimited']=function(_0x319771,_0x1233ed){return this['encode'](_0x319771,_0x1233ed)['ldelim']();},_0x17949b['decode']=function(_0x27ccca,_0x236466,_0x4f834b,_0x295c9e){if(_0x27ccca instanceof _0x50c11c||(_0x27ccca=_0x50c11c['create'](_0x27ccca)),void 0x0===_0x295c9e&&(_0x295c9e=0x0),_0x295c9e>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27747a=void 0x0===_0x236466?_0x27ccca['len']:_0x27ccca['pos']+_0x236466,_0x1611e4=new _0x571a6c['TrackChangesConnectMessage']();_0x27ccca['pos']<_0x27747a;){var _0x541e9c=_0x27ccca['uint32']();if(_0x541e9c===_0x4f834b)break;_0x541e9c>>>0x3==0x1?_0x1611e4['documentId']=_0x27ccca['string']():_0x27ccca['skipType'](0x7&_0x541e9c,_0x295c9e);}return _0x1611e4;},_0x17949b['decodeDelimited']=function(_0x242fd8){return _0x242fd8 instanceof _0x50c11c||(_0x242fd8=new _0x50c11c(_0x242fd8)),this['decode'](_0x242fd8,_0x242fd8['uint32']());},_0x17949b['verify']=function(_0x323a02,_0x4ec363){return'object'!=typeof _0x323a02||null===_0x323a02?'object\x20expected':(void 0x0===_0x4ec363&&(_0x4ec363=0x0),_0x4ec363>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x323a02['documentId']&&_0x323a02['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x323a02['documentId'])?'documentId:\x20string\x20expected':null);},_0x17949b['fromObject']=function(_0xbfa436,_0x97831){if(_0xbfa436 instanceof _0x571a6c['TrackChangesConnectMessage'])return _0xbfa436;if(void 0x0===_0x97831&&(_0x97831=0x0),_0x97831>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2196b3=new _0x571a6c['TrackChangesConnectMessage']();return null!=_0xbfa436['documentId']&&(_0x2196b3['documentId']=String(_0xbfa436['documentId'])),_0x2196b3;},_0x17949b['toObject']=function(_0x2fbf7f,_0x2042db){_0x2042db||(_0x2042db={});var _0x49d2c1={};return _0x2042db['defaults']&&(_0x49d2c1['documentId']=''),null!=_0x2fbf7f['documentId']&&_0x2fbf7f['hasOwnProperty']('documentId')&&(_0x49d2c1['documentId']=_0x2fbf7f['documentId']),_0x49d2c1;},_0x17949b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x17949b['getTypeUrl']=function(_0x537304){return void 0x0===_0x537304&&(_0x537304='type.googleapis.com'),_0x537304+'/TrackChangesConnectMessage';},_0x17949b;}()),_0x571a6c['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x244907(_0x3980cd){if(this['ids']=[],_0x3980cd){for(var _0x4478dd=Object['keys'](_0x3980cd),_0x11a36a=0x0;_0x11a36a<_0x4478dd['length'];++_0x11a36a)null!=_0x3980cd[_0x4478dd[_0x11a36a]]&&'__proto__'!==_0x4478dd[_0x11a36a]&&(this[_0x4478dd[_0x11a36a]]=_0x3980cd[_0x4478dd[_0x11a36a]]);}}return _0x244907['prototype']['ids']=_0x155d72['emptyArray'],_0x244907['prototype']['documentId']='',_0x244907['prototype']['state']='',_0x244907['create']=function(_0x71993a){return new _0x244907(_0x71993a);},_0x244907['encode']=function(_0x4f3bf5,_0x5c088a){if(_0x5c088a||(_0x5c088a=_0x352caa['create']()),null!=_0x4f3bf5['ids']&&_0x4f3bf5['ids']['length']){for(var _0x5704c0=0x0;_0x5704c0<_0x4f3bf5['ids']['length'];++_0x5704c0)_0x5c088a['uint32'](0xa)['string'](_0x4f3bf5['ids'][_0x5704c0]);}return null!=_0x4f3bf5['documentId']&&Object['hasOwnProperty']['call'](_0x4f3bf5,'documentId')&&_0x5c088a['uint32'](0x12)['string'](_0x4f3bf5['documentId']),null!=_0x4f3bf5['state']&&Object['hasOwnProperty']['call'](_0x4f3bf5,'state')&&_0x5c088a['uint32'](0x1a)['string'](_0x4f3bf5['state']),_0x5c088a;},_0x244907['encodeDelimited']=function(_0x1bfb4d,_0x7493d7){return this['encode'](_0x1bfb4d,_0x7493d7)['ldelim']();},_0x244907['decode']=function(_0x589c5b,_0x2622de,_0x14a511,_0xf94486){if(_0x589c5b instanceof _0x50c11c||(_0x589c5b=_0x50c11c['create'](_0x589c5b)),void 0x0===_0xf94486&&(_0xf94486=0x0),_0xf94486>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xa59795=void 0x0===_0x2622de?_0x589c5b['len']:_0x589c5b['pos']+_0x2622de,_0x34c062=new _0x571a6c['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x589c5b['pos']<_0xa59795;){var _0x42a042=_0x589c5b['uint32']();if(_0x42a042===_0x14a511)break;switch(_0x42a042>>>0x3){case 0x1:_0x34c062['ids']&&_0x34c062['ids']['length']||(_0x34c062['ids']=[]),_0x34c062['ids']['push'](_0x589c5b['string']());break;case 0x2:_0x34c062['documentId']=_0x589c5b['string']();break;case 0x3:_0x34c062['state']=_0x589c5b['string']();break;default:_0x589c5b['skipType'](0x7&_0x42a042,_0xf94486);}}return _0x34c062;},_0x244907['decodeDelimited']=function(_0x354221){return _0x354221 instanceof _0x50c11c||(_0x354221=new _0x50c11c(_0x354221)),this['decode'](_0x354221,_0x354221['uint32']());},_0x244907['verify']=function(_0x1158af,_0x59a672){if('object'!=typeof _0x1158af||null===_0x1158af)return'object\x20expected';if(void 0x0===_0x59a672&&(_0x59a672=0x0),_0x59a672>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1158af['ids']&&_0x1158af['hasOwnProperty']('ids')){if(!Array['isArray'](_0x1158af['ids']))return'ids:\x20array\x20expected';for(var _0x4b317b=0x0;_0x4b317b<_0x1158af['ids']['length'];++_0x4b317b)if(!_0x155d72['isString'](_0x1158af['ids'][_0x4b317b]))return'ids:\x20string[]\x20expected';}return null!=_0x1158af['documentId']&&_0x1158af['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x1158af['documentId'])?'documentId:\x20string\x20expected':null!=_0x1158af['state']&&_0x1158af['hasOwnProperty']('state')&&!_0x155d72['isString'](_0x1158af['state'])?'state:\x20string\x20expected':null;},_0x244907['fromObject']=function(_0x103008,_0x368a98){if(_0x103008 instanceof _0x571a6c['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x103008;if(void 0x0===_0x368a98&&(_0x368a98=0x0),_0x368a98>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x339daf=new _0x571a6c['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x103008['ids']){if(!Array['isArray'](_0x103008['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x339daf['ids']=[];for(var _0x223775=0x0;_0x223775<_0x103008['ids']['length'];++_0x223775)_0x339daf['ids'][_0x223775]=String(_0x103008['ids'][_0x223775]);}return null!=_0x103008['documentId']&&(_0x339daf['documentId']=String(_0x103008['documentId'])),null!=_0x103008['state']&&(_0x339daf['state']=String(_0x103008['state'])),_0x339daf;},_0x244907['toObject']=function(_0x580f59,_0x1b98f1){_0x1b98f1||(_0x1b98f1={});var _0x2e4ca6={};if((_0x1b98f1['arrays']||_0x1b98f1['defaults'])&&(_0x2e4ca6['ids']=[]),_0x1b98f1['defaults']&&(_0x2e4ca6['documentId']='',_0x2e4ca6['state']=''),_0x580f59['ids']&&_0x580f59['ids']['length']){_0x2e4ca6['ids']=[];for(var _0x18b912=0x0;_0x18b912<_0x580f59['ids']['length'];++_0x18b912)_0x2e4ca6['ids'][_0x18b912]=_0x580f59['ids'][_0x18b912];}return null!=_0x580f59['documentId']&&_0x580f59['hasOwnProperty']('documentId')&&(_0x2e4ca6['documentId']=_0x580f59['documentId']),null!=_0x580f59['state']&&_0x580f59['hasOwnProperty']('state')&&(_0x2e4ca6['state']=_0x580f59['state']),_0x2e4ca6;},_0x244907['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x244907['getTypeUrl']=function(_0x47826a){return void 0x0===_0x47826a&&(_0x47826a='type.googleapis.com'),_0x47826a+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x244907;}()),_0x571a6c['TrackChangesAddSuggestionMessage']=(function(){function _0x54f220(_0xe3b6e0){if(_0xe3b6e0){for(var _0x156a53=Object['keys'](_0xe3b6e0),_0x462864=0x0;_0x462864<_0x156a53['length'];++_0x462864)null!=_0xe3b6e0[_0x156a53[_0x462864]]&&'__proto__'!==_0x156a53[_0x462864]&&(this[_0x156a53[_0x462864]]=_0xe3b6e0[_0x156a53[_0x462864]]);}}return _0x54f220['prototype']['id']='',_0x54f220['prototype']['documentId']='',_0x54f220['prototype']['type']='',_0x54f220['prototype']['data']='',_0x54f220['prototype']['originalSuggestionId']='',_0x54f220['prototype']['attributes']='',_0x54f220['create']=function(_0x32f142){return new _0x54f220(_0x32f142);},_0x54f220['encode']=function(_0x228bb5,_0x4d8034){return _0x4d8034||(_0x4d8034=_0x352caa['create']()),null!=_0x228bb5['id']&&Object['hasOwnProperty']['call'](_0x228bb5,'id')&&_0x4d8034['uint32'](0xa)['string'](_0x228bb5['id']),null!=_0x228bb5['documentId']&&Object['hasOwnProperty']['call'](_0x228bb5,'documentId')&&_0x4d8034['uint32'](0x12)['string'](_0x228bb5['documentId']),null!=_0x228bb5['type']&&Object['hasOwnProperty']['call'](_0x228bb5,'type')&&_0x4d8034['uint32'](0x1a)['string'](_0x228bb5['type']),null!=_0x228bb5['data']&&Object['hasOwnProperty']['call'](_0x228bb5,'data')&&_0x4d8034['uint32'](0x22)['string'](_0x228bb5['data']),null!=_0x228bb5['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x228bb5,'originalSuggestionId')&&_0x4d8034['uint32'](0x2a)['string'](_0x228bb5['originalSuggestionId']),null!=_0x228bb5['attributes']&&Object['hasOwnProperty']['call'](_0x228bb5,'attributes')&&_0x4d8034['uint32'](0x32)['string'](_0x228bb5['attributes']),_0x4d8034;},_0x54f220['encodeDelimited']=function(_0x1e489f,_0xcefc6d){return this['encode'](_0x1e489f,_0xcefc6d)['ldelim']();},_0x54f220['decode']=function(_0x200186,_0x592f3e,_0x60413e,_0x4049f9){if(_0x200186 instanceof _0x50c11c||(_0x200186=_0x50c11c['create'](_0x200186)),void 0x0===_0x4049f9&&(_0x4049f9=0x0),_0x4049f9>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3c08b1=void 0x0===_0x592f3e?_0x200186['len']:_0x200186['pos']+_0x592f3e,_0x14f6a4=new _0x571a6c['TrackChangesAddSuggestionMessage']();_0x200186['pos']<_0x3c08b1;){var _0x3dc02a=_0x200186['uint32']();if(_0x3dc02a===_0x60413e)break;switch(_0x3dc02a>>>0x3){case 0x1:_0x14f6a4['id']=_0x200186['string']();break;case 0x2:_0x14f6a4['documentId']=_0x200186['string']();break;case 0x3:_0x14f6a4['type']=_0x200186['string']();break;case 0x4:_0x14f6a4['data']=_0x200186['string']();break;case 0x5:_0x14f6a4['originalSuggestionId']=_0x200186['string']();break;case 0x6:_0x14f6a4['attributes']=_0x200186['string']();break;default:_0x200186['skipType'](0x7&_0x3dc02a,_0x4049f9);}}return _0x14f6a4;},_0x54f220['decodeDelimited']=function(_0x13ed29){return _0x13ed29 instanceof _0x50c11c||(_0x13ed29=new _0x50c11c(_0x13ed29)),this['decode'](_0x13ed29,_0x13ed29['uint32']());},_0x54f220['verify']=function(_0x260d74,_0x54dc52){return'object'!=typeof _0x260d74||null===_0x260d74?'object\x20expected':(void 0x0===_0x54dc52&&(_0x54dc52=0x0),_0x54dc52>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x260d74['id']&&_0x260d74['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x260d74['id'])?'id:\x20string\x20expected':null!=_0x260d74['documentId']&&_0x260d74['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x260d74['documentId'])?'documentId:\x20string\x20expected':null!=_0x260d74['type']&&_0x260d74['hasOwnProperty']('type')&&!_0x155d72['isString'](_0x260d74['type'])?'type:\x20string\x20expected':null!=_0x260d74['data']&&_0x260d74['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x260d74['data'])?'data:\x20string\x20expected':null!=_0x260d74['originalSuggestionId']&&_0x260d74['hasOwnProperty']('originalSuggestionId')&&!_0x155d72['isString'](_0x260d74['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x260d74['attributes']&&_0x260d74['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x260d74['attributes'])?'attributes:\x20string\x20expected':null);},_0x54f220['fromObject']=function(_0x57483b,_0x518e0b){if(_0x57483b instanceof _0x571a6c['TrackChangesAddSuggestionMessage'])return _0x57483b;if(void 0x0===_0x518e0b&&(_0x518e0b=0x0),_0x518e0b>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2993a2=new _0x571a6c['TrackChangesAddSuggestionMessage']();return null!=_0x57483b['id']&&(_0x2993a2['id']=String(_0x57483b['id'])),null!=_0x57483b['documentId']&&(_0x2993a2['documentId']=String(_0x57483b['documentId'])),null!=_0x57483b['type']&&(_0x2993a2['type']=String(_0x57483b['type'])),null!=_0x57483b['data']&&(_0x2993a2['data']=String(_0x57483b['data'])),null!=_0x57483b['originalSuggestionId']&&(_0x2993a2['originalSuggestionId']=String(_0x57483b['originalSuggestionId'])),null!=_0x57483b['attributes']&&(_0x2993a2['attributes']=String(_0x57483b['attributes'])),_0x2993a2;},_0x54f220['toObject']=function(_0x5951a6,_0x4912c7){_0x4912c7||(_0x4912c7={});var _0x4ab68c={};return _0x4912c7['defaults']&&(_0x4ab68c['id']='',_0x4ab68c['documentId']='',_0x4ab68c['type']='',_0x4ab68c['data']='',_0x4ab68c['originalSuggestionId']='',_0x4ab68c['attributes']=''),null!=_0x5951a6['id']&&_0x5951a6['hasOwnProperty']('id')&&(_0x4ab68c['id']=_0x5951a6['id']),null!=_0x5951a6['documentId']&&_0x5951a6['hasOwnProperty']('documentId')&&(_0x4ab68c['documentId']=_0x5951a6['documentId']),null!=_0x5951a6['type']&&_0x5951a6['hasOwnProperty']('type')&&(_0x4ab68c['type']=_0x5951a6['type']),null!=_0x5951a6['data']&&_0x5951a6['hasOwnProperty']('data')&&(_0x4ab68c['data']=_0x5951a6['data']),null!=_0x5951a6['originalSuggestionId']&&_0x5951a6['hasOwnProperty']('originalSuggestionId')&&(_0x4ab68c['originalSuggestionId']=_0x5951a6['originalSuggestionId']),null!=_0x5951a6['attributes']&&_0x5951a6['hasOwnProperty']('attributes')&&(_0x4ab68c['attributes']=_0x5951a6['attributes']),_0x4ab68c;},_0x54f220['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x54f220['getTypeUrl']=function(_0x32bf90){return void 0x0===_0x32bf90&&(_0x32bf90='type.googleapis.com'),_0x32bf90+'/TrackChangesAddSuggestionMessage';},_0x54f220;}()),_0x571a6c['SuggestionDescriptor']=(function(){function _0x4df4c0(_0x213d9c){if(_0x213d9c){for(var _0x29a58c=Object['keys'](_0x213d9c),_0x366266=0x0;_0x366266<_0x29a58c['length'];++_0x366266)null!=_0x213d9c[_0x29a58c[_0x366266]]&&'__proto__'!==_0x29a58c[_0x366266]&&(this[_0x29a58c[_0x366266]]=_0x213d9c[_0x29a58c[_0x366266]]);}}return _0x4df4c0['prototype']['id']='',_0x4df4c0['prototype']['authorId']='',_0x4df4c0['prototype']['type']='',_0x4df4c0['prototype']['createdAt']='',_0x4df4c0['prototype']['data']='',_0x4df4c0['prototype']['hasComments']=!0x1,_0x4df4c0['prototype']['state']='',_0x4df4c0['prototype']['attributes']='',_0x4df4c0['create']=function(_0x126461){return new _0x4df4c0(_0x126461);},_0x4df4c0['encode']=function(_0x5a09e0,_0x171cdd){return _0x171cdd||(_0x171cdd=_0x352caa['create']()),null!=_0x5a09e0['id']&&Object['hasOwnProperty']['call'](_0x5a09e0,'id')&&_0x171cdd['uint32'](0xa)['string'](_0x5a09e0['id']),null!=_0x5a09e0['authorId']&&Object['hasOwnProperty']['call'](_0x5a09e0,'authorId')&&_0x171cdd['uint32'](0x12)['string'](_0x5a09e0['authorId']),null!=_0x5a09e0['type']&&Object['hasOwnProperty']['call'](_0x5a09e0,'type')&&_0x171cdd['uint32'](0x1a)['string'](_0x5a09e0['type']),null!=_0x5a09e0['createdAt']&&Object['hasOwnProperty']['call'](_0x5a09e0,'createdAt')&&_0x171cdd['uint32'](0x22)['string'](_0x5a09e0['createdAt']),null!=_0x5a09e0['data']&&Object['hasOwnProperty']['call'](_0x5a09e0,'data')&&_0x171cdd['uint32'](0x2a)['string'](_0x5a09e0['data']),null!=_0x5a09e0['hasComments']&&Object['hasOwnProperty']['call'](_0x5a09e0,'hasComments')&&_0x171cdd['uint32'](0x30)['bool'](_0x5a09e0['hasComments']),null!=_0x5a09e0['state']&&Object['hasOwnProperty']['call'](_0x5a09e0,'state')&&_0x171cdd['uint32'](0x3a)['string'](_0x5a09e0['state']),null!=_0x5a09e0['attributes']&&Object['hasOwnProperty']['call'](_0x5a09e0,'attributes')&&_0x171cdd['uint32'](0x42)['string'](_0x5a09e0['attributes']),_0x171cdd;},_0x4df4c0['encodeDelimited']=function(_0x1b3d27,_0x23eca4){return this['encode'](_0x1b3d27,_0x23eca4)['ldelim']();},_0x4df4c0['decode']=function(_0xfe6ff9,_0x1da852,_0x2661b3,_0x133717){if(_0xfe6ff9 instanceof _0x50c11c||(_0xfe6ff9=_0x50c11c['create'](_0xfe6ff9)),void 0x0===_0x133717&&(_0x133717=0x0),_0x133717>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xa0a96d=void 0x0===_0x1da852?_0xfe6ff9['len']:_0xfe6ff9['pos']+_0x1da852,_0x53b2c1=new _0x571a6c['SuggestionDescriptor']();_0xfe6ff9['pos']<_0xa0a96d;){var _0x895f8f=_0xfe6ff9['uint32']();if(_0x895f8f===_0x2661b3)break;switch(_0x895f8f>>>0x3){case 0x1:_0x53b2c1['id']=_0xfe6ff9['string']();break;case 0x2:_0x53b2c1['authorId']=_0xfe6ff9['string']();break;case 0x3:_0x53b2c1['type']=_0xfe6ff9['string']();break;case 0x4:_0x53b2c1['createdAt']=_0xfe6ff9['string']();break;case 0x5:_0x53b2c1['data']=_0xfe6ff9['string']();break;case 0x6:_0x53b2c1['hasComments']=_0xfe6ff9['bool']();break;case 0x7:_0x53b2c1['state']=_0xfe6ff9['string']();break;case 0x8:_0x53b2c1['attributes']=_0xfe6ff9['string']();break;default:_0xfe6ff9['skipType'](0x7&_0x895f8f,_0x133717);}}return _0x53b2c1;},_0x4df4c0['decodeDelimited']=function(_0x58650a){return _0x58650a instanceof _0x50c11c||(_0x58650a=new _0x50c11c(_0x58650a)),this['decode'](_0x58650a,_0x58650a['uint32']());},_0x4df4c0['verify']=function(_0x3491c1,_0x49c972){return'object'!=typeof _0x3491c1||null===_0x3491c1?'object\x20expected':(void 0x0===_0x49c972&&(_0x49c972=0x0),_0x49c972>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3491c1['id']&&_0x3491c1['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x3491c1['id'])?'id:\x20string\x20expected':null!=_0x3491c1['authorId']&&_0x3491c1['hasOwnProperty']('authorId')&&!_0x155d72['isString'](_0x3491c1['authorId'])?'authorId:\x20string\x20expected':null!=_0x3491c1['type']&&_0x3491c1['hasOwnProperty']('type')&&!_0x155d72['isString'](_0x3491c1['type'])?'type:\x20string\x20expected':null!=_0x3491c1['createdAt']&&_0x3491c1['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x3491c1['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3491c1['data']&&_0x3491c1['hasOwnProperty']('data')&&!_0x155d72['isString'](_0x3491c1['data'])?'data:\x20string\x20expected':null!=_0x3491c1['hasComments']&&_0x3491c1['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x3491c1['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x3491c1['state']&&_0x3491c1['hasOwnProperty']('state')&&!_0x155d72['isString'](_0x3491c1['state'])?'state:\x20string\x20expected':null!=_0x3491c1['attributes']&&_0x3491c1['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x3491c1['attributes'])?'attributes:\x20string\x20expected':null);},_0x4df4c0['fromObject']=function(_0x27f60b,_0x4cbe79){if(_0x27f60b instanceof _0x571a6c['SuggestionDescriptor'])return _0x27f60b;if(void 0x0===_0x4cbe79&&(_0x4cbe79=0x0),_0x4cbe79>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e571d=new _0x571a6c['SuggestionDescriptor']();return null!=_0x27f60b['id']&&(_0x5e571d['id']=String(_0x27f60b['id'])),null!=_0x27f60b['authorId']&&(_0x5e571d['authorId']=String(_0x27f60b['authorId'])),null!=_0x27f60b['type']&&(_0x5e571d['type']=String(_0x27f60b['type'])),null!=_0x27f60b['createdAt']&&(_0x5e571d['createdAt']=String(_0x27f60b['createdAt'])),null!=_0x27f60b['data']&&(_0x5e571d['data']=String(_0x27f60b['data'])),null!=_0x27f60b['hasComments']&&(_0x5e571d['hasComments']=Boolean(_0x27f60b['hasComments'])),null!=_0x27f60b['state']&&(_0x5e571d['state']=String(_0x27f60b['state'])),null!=_0x27f60b['attributes']&&(_0x5e571d['attributes']=String(_0x27f60b['attributes'])),_0x5e571d;},_0x4df4c0['toObject']=function(_0x1d3e18,_0x31420c){_0x31420c||(_0x31420c={});var _0x36d650={};return _0x31420c['defaults']&&(_0x36d650['id']='',_0x36d650['authorId']='',_0x36d650['type']='',_0x36d650['createdAt']='',_0x36d650['data']='',_0x36d650['hasComments']=!0x1,_0x36d650['state']='',_0x36d650['attributes']=''),null!=_0x1d3e18['id']&&_0x1d3e18['hasOwnProperty']('id')&&(_0x36d650['id']=_0x1d3e18['id']),null!=_0x1d3e18['authorId']&&_0x1d3e18['hasOwnProperty']('authorId')&&(_0x36d650['authorId']=_0x1d3e18['authorId']),null!=_0x1d3e18['type']&&_0x1d3e18['hasOwnProperty']('type')&&(_0x36d650['type']=_0x1d3e18['type']),null!=_0x1d3e18['createdAt']&&_0x1d3e18['hasOwnProperty']('createdAt')&&(_0x36d650['createdAt']=_0x1d3e18['createdAt']),null!=_0x1d3e18['data']&&_0x1d3e18['hasOwnProperty']('data')&&(_0x36d650['data']=_0x1d3e18['data']),null!=_0x1d3e18['hasComments']&&_0x1d3e18['hasOwnProperty']('hasComments')&&(_0x36d650['hasComments']=_0x1d3e18['hasComments']),null!=_0x1d3e18['state']&&_0x1d3e18['hasOwnProperty']('state')&&(_0x36d650['state']=_0x1d3e18['state']),null!=_0x1d3e18['attributes']&&_0x1d3e18['hasOwnProperty']('attributes')&&(_0x36d650['attributes']=_0x1d3e18['attributes']),_0x36d650;},_0x4df4c0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x4df4c0['getTypeUrl']=function(_0x37b31c){return void 0x0===_0x37b31c&&(_0x37b31c='type.googleapis.com'),_0x37b31c+'/SuggestionDescriptor';},_0x4df4c0;}()),_0x571a6c['SessionsConnectResponse']=(function(){function _0x20e959(_0x24b4b3){if(this['sockets']=[],_0x24b4b3){for(var _0x593941=Object['keys'](_0x24b4b3),_0x5a4e93=0x0;_0x5a4e93<_0x593941['length'];++_0x5a4e93)null!=_0x24b4b3[_0x593941[_0x5a4e93]]&&'__proto__'!==_0x593941[_0x5a4e93]&&(this[_0x593941[_0x5a4e93]]=_0x24b4b3[_0x593941[_0x5a4e93]]);}}return _0x20e959['prototype']['channel']='',_0x20e959['prototype']['sockets']=_0x155d72['emptyArray'],_0x20e959['create']=function(_0x1047f2){return new _0x20e959(_0x1047f2);},_0x20e959['encode']=function(_0x27a448,_0x486b9a){if(_0x486b9a||(_0x486b9a=_0x352caa['create']()),null!=_0x27a448['channel']&&Object['hasOwnProperty']['call'](_0x27a448,'channel')&&_0x486b9a['uint32'](0xa)['string'](_0x27a448['channel']),null!=_0x27a448['sockets']&&_0x27a448['sockets']['length']){for(var _0x5372a5=0x0;_0x5372a5<_0x27a448['sockets']['length'];++_0x5372a5)_0x571a6c['SessionsSocketDescriptor']['encode'](_0x27a448['sockets'][_0x5372a5],_0x486b9a['uint32'](0x12)['fork']())['ldelim']();}return _0x486b9a;},_0x20e959['encodeDelimited']=function(_0x34ad82,_0x277b05){return this['encode'](_0x34ad82,_0x277b05)['ldelim']();},_0x20e959['decode']=function(_0x1e7fbb,_0x1a7832,_0x4580b6,_0x5adfe8){if(_0x1e7fbb instanceof _0x50c11c||(_0x1e7fbb=_0x50c11c['create'](_0x1e7fbb)),void 0x0===_0x5adfe8&&(_0x5adfe8=0x0),_0x5adfe8>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x23b607=void 0x0===_0x1a7832?_0x1e7fbb['len']:_0x1e7fbb['pos']+_0x1a7832,_0x3c6f78=new _0x571a6c['SessionsConnectResponse']();_0x1e7fbb['pos']<_0x23b607;){var _0x92eaf0=_0x1e7fbb['uint32']();if(_0x92eaf0===_0x4580b6)break;switch(_0x92eaf0>>>0x3){case 0x1:_0x3c6f78['channel']=_0x1e7fbb['string']();break;case 0x2:_0x3c6f78['sockets']&&_0x3c6f78['sockets']['length']||(_0x3c6f78['sockets']=[]),_0x3c6f78['sockets']['push'](_0x571a6c['SessionsSocketDescriptor']['decode'](_0x1e7fbb,_0x1e7fbb['uint32'](),void 0x0,_0x5adfe8+0x1));break;default:_0x1e7fbb['skipType'](0x7&_0x92eaf0,_0x5adfe8);}}return _0x3c6f78;},_0x20e959['decodeDelimited']=function(_0x3b7fb5){return _0x3b7fb5 instanceof _0x50c11c||(_0x3b7fb5=new _0x50c11c(_0x3b7fb5)),this['decode'](_0x3b7fb5,_0x3b7fb5['uint32']());},_0x20e959['verify']=function(_0x25737f,_0x28f6b3){if('object'!=typeof _0x25737f||null===_0x25737f)return'object\x20expected';if(void 0x0===_0x28f6b3&&(_0x28f6b3=0x0),_0x28f6b3>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x25737f['channel']&&_0x25737f['hasOwnProperty']('channel')&&!_0x155d72['isString'](_0x25737f['channel']))return'channel:\x20string\x20expected';if(null!=_0x25737f['sockets']&&_0x25737f['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x25737f['sockets']))return'sockets:\x20array\x20expected';for(var _0x2f6ea6=0x0;_0x2f6ea6<_0x25737f['sockets']['length'];++_0x2f6ea6){var _0x62f9f6=_0x571a6c['SessionsSocketDescriptor']['verify'](_0x25737f['sockets'][_0x2f6ea6],_0x28f6b3+0x1);if(_0x62f9f6)return'sockets.'+_0x62f9f6;}}return null;},_0x20e959['fromObject']=function(_0x30becb,_0x206882){if(_0x30becb instanceof _0x571a6c['SessionsConnectResponse'])return _0x30becb;if(void 0x0===_0x206882&&(_0x206882=0x0),_0x206882>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2ce82b=new _0x571a6c['SessionsConnectResponse']();if(null!=_0x30becb['channel']&&(_0x2ce82b['channel']=String(_0x30becb['channel'])),_0x30becb['sockets']){if(!Array['isArray'](_0x30becb['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x2ce82b['sockets']=[];for(var _0x5d22a1=0x0;_0x5d22a1<_0x30becb['sockets']['length'];++_0x5d22a1){if('object'!=typeof _0x30becb['sockets'][_0x5d22a1])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x2ce82b['sockets'][_0x5d22a1]=_0x571a6c['SessionsSocketDescriptor']['fromObject'](_0x30becb['sockets'][_0x5d22a1],_0x206882+0x1);}}return _0x2ce82b;},_0x20e959['toObject']=function(_0xafe259,_0x227e54){_0x227e54||(_0x227e54={});var _0x215898={};if((_0x227e54['arrays']||_0x227e54['defaults'])&&(_0x215898['sockets']=[]),_0x227e54['defaults']&&(_0x215898['channel']=''),null!=_0xafe259['channel']&&_0xafe259['hasOwnProperty']('channel')&&(_0x215898['channel']=_0xafe259['channel']),_0xafe259['sockets']&&_0xafe259['sockets']['length']){_0x215898['sockets']=[];for(var _0x50d4de=0x0;_0x50d4de<_0xafe259['sockets']['length'];++_0x50d4de)_0x215898['sockets'][_0x50d4de]=_0x571a6c['SessionsSocketDescriptor']['toObject'](_0xafe259['sockets'][_0x50d4de],_0x227e54);}return _0x215898;},_0x20e959['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x20e959['getTypeUrl']=function(_0x14bc96){return void 0x0===_0x14bc96&&(_0x14bc96='type.googleapis.com'),_0x14bc96+'/SessionsConnectResponse';},_0x20e959;}()),_0x571a6c['SocketDisconnectMessage']=(function(){function _0x32305c(_0x2d86f1){if(_0x2d86f1){for(var _0x168ed3=Object['keys'](_0x2d86f1),_0x367223=0x0;_0x367223<_0x168ed3['length'];++_0x367223)null!=_0x2d86f1[_0x168ed3[_0x367223]]&&'__proto__'!==_0x168ed3[_0x367223]&&(this[_0x168ed3[_0x367223]]=_0x2d86f1[_0x168ed3[_0x367223]]);}}return _0x32305c['prototype']['id']='',_0x32305c['create']=function(_0x451718){return new _0x32305c(_0x451718);},_0x32305c['encode']=function(_0x28306d,_0x520a27){return _0x520a27||(_0x520a27=_0x352caa['create']()),null!=_0x28306d['id']&&Object['hasOwnProperty']['call'](_0x28306d,'id')&&_0x520a27['uint32'](0xa)['string'](_0x28306d['id']),_0x520a27;},_0x32305c['encodeDelimited']=function(_0x1f6fcb,_0x5c2729){return this['encode'](_0x1f6fcb,_0x5c2729)['ldelim']();},_0x32305c['decode']=function(_0x2a11a8,_0x31e7c0,_0x2a4d7b,_0x2c6d45){if(_0x2a11a8 instanceof _0x50c11c||(_0x2a11a8=_0x50c11c['create'](_0x2a11a8)),void 0x0===_0x2c6d45&&(_0x2c6d45=0x0),_0x2c6d45>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3e250f=void 0x0===_0x31e7c0?_0x2a11a8['len']:_0x2a11a8['pos']+_0x31e7c0,_0x195cdb=new _0x571a6c['SocketDisconnectMessage']();_0x2a11a8['pos']<_0x3e250f;){var _0x2f4026=_0x2a11a8['uint32']();if(_0x2f4026===_0x2a4d7b)break;_0x2f4026>>>0x3==0x1?_0x195cdb['id']=_0x2a11a8['string']():_0x2a11a8['skipType'](0x7&_0x2f4026,_0x2c6d45);}return _0x195cdb;},_0x32305c['decodeDelimited']=function(_0x5e9aae){return _0x5e9aae instanceof _0x50c11c||(_0x5e9aae=new _0x50c11c(_0x5e9aae)),this['decode'](_0x5e9aae,_0x5e9aae['uint32']());},_0x32305c['verify']=function(_0x3886ed,_0xafb1d1){return'object'!=typeof _0x3886ed||null===_0x3886ed?'object\x20expected':(void 0x0===_0xafb1d1&&(_0xafb1d1=0x0),_0xafb1d1>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3886ed['id']&&_0x3886ed['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x3886ed['id'])?'id:\x20string\x20expected':null);},_0x32305c['fromObject']=function(_0x2bda36,_0x12ba4e){if(_0x2bda36 instanceof _0x571a6c['SocketDisconnectMessage'])return _0x2bda36;if(void 0x0===_0x12ba4e&&(_0x12ba4e=0x0),_0x12ba4e>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e06ef=new _0x571a6c['SocketDisconnectMessage']();return null!=_0x2bda36['id']&&(_0x5e06ef['id']=String(_0x2bda36['id'])),_0x5e06ef;},_0x32305c['toObject']=function(_0xab141a,_0x5442ed){_0x5442ed||(_0x5442ed={});var _0x4d2d1f={};return _0x5442ed['defaults']&&(_0x4d2d1f['id']=''),null!=_0xab141a['id']&&_0xab141a['hasOwnProperty']('id')&&(_0x4d2d1f['id']=_0xab141a['id']),_0x4d2d1f;},_0x32305c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x32305c['getTypeUrl']=function(_0x2895b1){return void 0x0===_0x2895b1&&(_0x2895b1='type.googleapis.com'),_0x2895b1+'/SocketDisconnectMessage';},_0x32305c;}()),_0x571a6c['SocketConnectMessage']=(function(){function _0x3b9868(_0x28d537){if(this['permissions']=[],_0x28d537){for(var _0x34963a=Object['keys'](_0x28d537),_0x585a73=0x0;_0x585a73<_0x34963a['length'];++_0x585a73)null!=_0x28d537[_0x34963a[_0x585a73]]&&'__proto__'!==_0x34963a[_0x585a73]&&(this[_0x34963a[_0x585a73]]=_0x28d537[_0x34963a[_0x585a73]]);}}return _0x3b9868['prototype']['id']='',_0x3b9868['prototype']['userId']='',_0x3b9868['prototype']['role']='',_0x3b9868['prototype']['permissions']=_0x155d72['emptyArray'],_0x3b9868['create']=function(_0x30581c){return new _0x3b9868(_0x30581c);},_0x3b9868['encode']=function(_0x3fb2a3,_0x2f8195){if(_0x2f8195||(_0x2f8195=_0x352caa['create']()),null!=_0x3fb2a3['id']&&Object['hasOwnProperty']['call'](_0x3fb2a3,'id')&&_0x2f8195['uint32'](0xa)['string'](_0x3fb2a3['id']),null!=_0x3fb2a3['userId']&&Object['hasOwnProperty']['call'](_0x3fb2a3,'userId')&&_0x2f8195['uint32'](0x12)['string'](_0x3fb2a3['userId']),null!=_0x3fb2a3['role']&&Object['hasOwnProperty']['call'](_0x3fb2a3,'role')&&_0x2f8195['uint32'](0x1a)['string'](_0x3fb2a3['role']),null!=_0x3fb2a3['permissions']&&_0x3fb2a3['permissions']['length']){for(var _0x174621=0x0;_0x174621<_0x3fb2a3['permissions']['length'];++_0x174621)_0x2f8195['uint32'](0x22)['string'](_0x3fb2a3['permissions'][_0x174621]);}return _0x2f8195;},_0x3b9868['encodeDelimited']=function(_0x17170d,_0xfc5c82){return this['encode'](_0x17170d,_0xfc5c82)['ldelim']();},_0x3b9868['decode']=function(_0x4d58ff,_0x545f98,_0x524482,_0x15e45f){if(_0x4d58ff instanceof _0x50c11c||(_0x4d58ff=_0x50c11c['create'](_0x4d58ff)),void 0x0===_0x15e45f&&(_0x15e45f=0x0),_0x15e45f>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x116bae=void 0x0===_0x545f98?_0x4d58ff['len']:_0x4d58ff['pos']+_0x545f98,_0x154dba=new _0x571a6c['SocketConnectMessage']();_0x4d58ff['pos']<_0x116bae;){var _0x3c1fab=_0x4d58ff['uint32']();if(_0x3c1fab===_0x524482)break;switch(_0x3c1fab>>>0x3){case 0x1:_0x154dba['id']=_0x4d58ff['string']();break;case 0x2:_0x154dba['userId']=_0x4d58ff['string']();break;case 0x3:_0x154dba['role']=_0x4d58ff['string']();break;case 0x4:_0x154dba['permissions']&&_0x154dba['permissions']['length']||(_0x154dba['permissions']=[]),_0x154dba['permissions']['push'](_0x4d58ff['string']());break;default:_0x4d58ff['skipType'](0x7&_0x3c1fab,_0x15e45f);}}return _0x154dba;},_0x3b9868['decodeDelimited']=function(_0x191c7c){return _0x191c7c instanceof _0x50c11c||(_0x191c7c=new _0x50c11c(_0x191c7c)),this['decode'](_0x191c7c,_0x191c7c['uint32']());},_0x3b9868['verify']=function(_0x23c7c9,_0x2cdd48){if('object'!=typeof _0x23c7c9||null===_0x23c7c9)return'object\x20expected';if(void 0x0===_0x2cdd48&&(_0x2cdd48=0x0),_0x2cdd48>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x23c7c9['id']&&_0x23c7c9['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x23c7c9['id']))return'id:\x20string\x20expected';if(null!=_0x23c7c9['userId']&&_0x23c7c9['hasOwnProperty']('userId')&&!_0x155d72['isString'](_0x23c7c9['userId']))return'userId:\x20string\x20expected';if(null!=_0x23c7c9['role']&&_0x23c7c9['hasOwnProperty']('role')&&!_0x155d72['isString'](_0x23c7c9['role']))return'role:\x20string\x20expected';if(null!=_0x23c7c9['permissions']&&_0x23c7c9['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x23c7c9['permissions']))return'permissions:\x20array\x20expected';for(var _0x5b8956=0x0;_0x5b8956<_0x23c7c9['permissions']['length'];++_0x5b8956)if(!_0x155d72['isString'](_0x23c7c9['permissions'][_0x5b8956]))return'permissions:\x20string[]\x20expected';}return null;},_0x3b9868['fromObject']=function(_0x3b05af,_0x18f675){if(_0x3b05af instanceof _0x571a6c['SocketConnectMessage'])return _0x3b05af;if(void 0x0===_0x18f675&&(_0x18f675=0x0),_0x18f675>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e08c5=new _0x571a6c['SocketConnectMessage']();if(null!=_0x3b05af['id']&&(_0x5e08c5['id']=String(_0x3b05af['id'])),null!=_0x3b05af['userId']&&(_0x5e08c5['userId']=String(_0x3b05af['userId'])),null!=_0x3b05af['role']&&(_0x5e08c5['role']=String(_0x3b05af['role'])),_0x3b05af['permissions']){if(!Array['isArray'](_0x3b05af['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x5e08c5['permissions']=[];for(var _0x337a8d=0x0;_0x337a8d<_0x3b05af['permissions']['length'];++_0x337a8d)_0x5e08c5['permissions'][_0x337a8d]=String(_0x3b05af['permissions'][_0x337a8d]);}return _0x5e08c5;},_0x3b9868['toObject']=function(_0x35279e,_0x21516c){_0x21516c||(_0x21516c={});var _0x161926={};if((_0x21516c['arrays']||_0x21516c['defaults'])&&(_0x161926['permissions']=[]),_0x21516c['defaults']&&(_0x161926['id']='',_0x161926['userId']='',_0x161926['role']=''),null!=_0x35279e['id']&&_0x35279e['hasOwnProperty']('id')&&(_0x161926['id']=_0x35279e['id']),null!=_0x35279e['userId']&&_0x35279e['hasOwnProperty']('userId')&&(_0x161926['userId']=_0x35279e['userId']),null!=_0x35279e['role']&&_0x35279e['hasOwnProperty']('role')&&(_0x161926['role']=_0x35279e['role']),_0x35279e['permissions']&&_0x35279e['permissions']['length']){_0x161926['permissions']=[];for(var _0x3d0c66=0x0;_0x3d0c66<_0x35279e['permissions']['length'];++_0x3d0c66)_0x161926['permissions'][_0x3d0c66]=_0x35279e['permissions'][_0x3d0c66];}return _0x161926;},_0x3b9868['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x3b9868['getTypeUrl']=function(_0x9e41){return void 0x0===_0x9e41&&(_0x9e41='type.googleapis.com'),_0x9e41+'/SocketConnectMessage';},_0x3b9868;}()),_0x571a6c['SessionsConnectMessage']=(function(){function _0x5eae58(_0x211f95){if(_0x211f95){for(var _0x2fe29e=Object['keys'](_0x211f95),_0x764040=0x0;_0x764040<_0x2fe29e['length'];++_0x764040)null!=_0x211f95[_0x2fe29e[_0x764040]]&&'__proto__'!==_0x2fe29e[_0x764040]&&(this[_0x2fe29e[_0x764040]]=_0x211f95[_0x2fe29e[_0x764040]]);}}return _0x5eae58['prototype']['id']='',_0x5eae58['prototype']['sessionType']=0x0,_0x5eae58['create']=function(_0x520717){return new _0x5eae58(_0x520717);},_0x5eae58['encode']=function(_0x492ca0,_0x5a75cd){return _0x5a75cd||(_0x5a75cd=_0x352caa['create']()),null!=_0x492ca0['id']&&Object['hasOwnProperty']['call'](_0x492ca0,'id')&&_0x5a75cd['uint32'](0xa)['string'](_0x492ca0['id']),null!=_0x492ca0['sessionType']&&Object['hasOwnProperty']['call'](_0x492ca0,'sessionType')&&_0x5a75cd['uint32'](0x10)['uint32'](_0x492ca0['sessionType']),_0x5a75cd;},_0x5eae58['encodeDelimited']=function(_0x5017c7,_0x2b1397){return this['encode'](_0x5017c7,_0x2b1397)['ldelim']();},_0x5eae58['decode']=function(_0x409f66,_0x50c126,_0x26fd00,_0x4f0dcb){if(_0x409f66 instanceof _0x50c11c||(_0x409f66=_0x50c11c['create'](_0x409f66)),void 0x0===_0x4f0dcb&&(_0x4f0dcb=0x0),_0x4f0dcb>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4b61b1=void 0x0===_0x50c126?_0x409f66['len']:_0x409f66['pos']+_0x50c126,_0x38dc9d=new _0x571a6c['SessionsConnectMessage']();_0x409f66['pos']<_0x4b61b1;){var _0x5eafe6=_0x409f66['uint32']();if(_0x5eafe6===_0x26fd00)break;switch(_0x5eafe6>>>0x3){case 0x1:_0x38dc9d['id']=_0x409f66['string']();break;case 0x2:_0x38dc9d['sessionType']=_0x409f66['uint32']();break;default:_0x409f66['skipType'](0x7&_0x5eafe6,_0x4f0dcb);}}return _0x38dc9d;},_0x5eae58['decodeDelimited']=function(_0x54145e){return _0x54145e instanceof _0x50c11c||(_0x54145e=new _0x50c11c(_0x54145e)),this['decode'](_0x54145e,_0x54145e['uint32']());},_0x5eae58['verify']=function(_0x39fa79,_0x4e5804){return'object'!=typeof _0x39fa79||null===_0x39fa79?'object\x20expected':(void 0x0===_0x4e5804&&(_0x4e5804=0x0),_0x4e5804>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x39fa79['id']&&_0x39fa79['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x39fa79['id'])?'id:\x20string\x20expected':null!=_0x39fa79['sessionType']&&_0x39fa79['hasOwnProperty']('sessionType')&&!_0x155d72['isInteger'](_0x39fa79['sessionType'])?'sessionType:\x20integer\x20expected':null);},_0x5eae58['fromObject']=function(_0x3df3f1,_0x25acd3){if(_0x3df3f1 instanceof _0x571a6c['SessionsConnectMessage'])return _0x3df3f1;if(void 0x0===_0x25acd3&&(_0x25acd3=0x0),_0x25acd3>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3a87b5=new _0x571a6c['SessionsConnectMessage']();return null!=_0x3df3f1['id']&&(_0x3a87b5['id']=String(_0x3df3f1['id'])),null!=_0x3df3f1['sessionType']&&(_0x3a87b5['sessionType']=_0x3df3f1['sessionType']>>>0x0),_0x3a87b5;},_0x5eae58['toObject']=function(_0x34e308,_0x23e46e){_0x23e46e||(_0x23e46e={});var _0x449f75={};return _0x23e46e['defaults']&&(_0x449f75['id']='',_0x449f75['sessionType']=0x0),null!=_0x34e308['id']&&_0x34e308['hasOwnProperty']('id')&&(_0x449f75['id']=_0x34e308['id']),null!=_0x34e308['sessionType']&&_0x34e308['hasOwnProperty']('sessionType')&&(_0x449f75['sessionType']=_0x34e308['sessionType']),_0x449f75;},_0x5eae58['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5eae58['getTypeUrl']=function(_0x3a9398){return void 0x0===_0x3a9398&&(_0x3a9398='type.googleapis.com'),_0x3a9398+'/SessionsConnectMessage';},_0x5eae58;}()),_0x571a6c['SessionsSocketDescriptor']=(function(){function _0x3569c7(_0xcbe838){if(this['permissions']=[],_0xcbe838){for(var _0x36a3f3=Object['keys'](_0xcbe838),_0x4d9677=0x0;_0x4d9677<_0x36a3f3['length'];++_0x4d9677)null!=_0xcbe838[_0x36a3f3[_0x4d9677]]&&'__proto__'!==_0x36a3f3[_0x4d9677]&&(this[_0x36a3f3[_0x4d9677]]=_0xcbe838[_0x36a3f3[_0x4d9677]]);}}return _0x3569c7['prototype']['session']='',_0x3569c7['prototype']['user']='',_0x3569c7['prototype']['role']='',_0x3569c7['prototype']['permissions']=_0x155d72['emptyArray'],_0x3569c7['create']=function(_0x536c60){return new _0x3569c7(_0x536c60);},_0x3569c7['encode']=function(_0x31811a,_0x5d0f25){if(_0x5d0f25||(_0x5d0f25=_0x352caa['create']()),null!=_0x31811a['session']&&Object['hasOwnProperty']['call'](_0x31811a,'session')&&_0x5d0f25['uint32'](0xa)['string'](_0x31811a['session']),null!=_0x31811a['user']&&Object['hasOwnProperty']['call'](_0x31811a,'user')&&_0x5d0f25['uint32'](0x12)['string'](_0x31811a['user']),null!=_0x31811a['role']&&Object['hasOwnProperty']['call'](_0x31811a,'role')&&_0x5d0f25['uint32'](0x1a)['string'](_0x31811a['role']),null!=_0x31811a['permissions']&&_0x31811a['permissions']['length']){for(var _0x38cda7=0x0;_0x38cda7<_0x31811a['permissions']['length'];++_0x38cda7)_0x5d0f25['uint32'](0x22)['string'](_0x31811a['permissions'][_0x38cda7]);}return _0x5d0f25;},_0x3569c7['encodeDelimited']=function(_0x315859,_0xb4694b){return this['encode'](_0x315859,_0xb4694b)['ldelim']();},_0x3569c7['decode']=function(_0x298779,_0x12ea6f,_0x41fe63,_0x1fa983){if(_0x298779 instanceof _0x50c11c||(_0x298779=_0x50c11c['create'](_0x298779)),void 0x0===_0x1fa983&&(_0x1fa983=0x0),_0x1fa983>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3218ed=void 0x0===_0x12ea6f?_0x298779['len']:_0x298779['pos']+_0x12ea6f,_0x3b1996=new _0x571a6c['SessionsSocketDescriptor']();_0x298779['pos']<_0x3218ed;){var _0x1fc0df=_0x298779['uint32']();if(_0x1fc0df===_0x41fe63)break;switch(_0x1fc0df>>>0x3){case 0x1:_0x3b1996['session']=_0x298779['string']();break;case 0x2:_0x3b1996['user']=_0x298779['string']();break;case 0x3:_0x3b1996['role']=_0x298779['string']();break;case 0x4:_0x3b1996['permissions']&&_0x3b1996['permissions']['length']||(_0x3b1996['permissions']=[]),_0x3b1996['permissions']['push'](_0x298779['string']());break;default:_0x298779['skipType'](0x7&_0x1fc0df,_0x1fa983);}}return _0x3b1996;},_0x3569c7['decodeDelimited']=function(_0x2b1731){return _0x2b1731 instanceof _0x50c11c||(_0x2b1731=new _0x50c11c(_0x2b1731)),this['decode'](_0x2b1731,_0x2b1731['uint32']());},_0x3569c7['verify']=function(_0x226bb6,_0x20547f){if('object'!=typeof _0x226bb6||null===_0x226bb6)return'object\x20expected';if(void 0x0===_0x20547f&&(_0x20547f=0x0),_0x20547f>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x226bb6['session']&&_0x226bb6['hasOwnProperty']('session')&&!_0x155d72['isString'](_0x226bb6['session']))return'session:\x20string\x20expected';if(null!=_0x226bb6['user']&&_0x226bb6['hasOwnProperty']('user')&&!_0x155d72['isString'](_0x226bb6['user']))return'user:\x20string\x20expected';if(null!=_0x226bb6['role']&&_0x226bb6['hasOwnProperty']('role')&&!_0x155d72['isString'](_0x226bb6['role']))return'role:\x20string\x20expected';if(null!=_0x226bb6['permissions']&&_0x226bb6['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x226bb6['permissions']))return'permissions:\x20array\x20expected';for(var _0x218404=0x0;_0x218404<_0x226bb6['permissions']['length'];++_0x218404)if(!_0x155d72['isString'](_0x226bb6['permissions'][_0x218404]))return'permissions:\x20string[]\x20expected';}return null;},_0x3569c7['fromObject']=function(_0x29d9d5,_0x5202c0){if(_0x29d9d5 instanceof _0x571a6c['SessionsSocketDescriptor'])return _0x29d9d5;if(void 0x0===_0x5202c0&&(_0x5202c0=0x0),_0x5202c0>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3e6885=new _0x571a6c['SessionsSocketDescriptor']();if(null!=_0x29d9d5['session']&&(_0x3e6885['session']=String(_0x29d9d5['session'])),null!=_0x29d9d5['user']&&(_0x3e6885['user']=String(_0x29d9d5['user'])),null!=_0x29d9d5['role']&&(_0x3e6885['role']=String(_0x29d9d5['role'])),_0x29d9d5['permissions']){if(!Array['isArray'](_0x29d9d5['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x3e6885['permissions']=[];for(var _0x32826f=0x0;_0x32826f<_0x29d9d5['permissions']['length'];++_0x32826f)_0x3e6885['permissions'][_0x32826f]=String(_0x29d9d5['permissions'][_0x32826f]);}return _0x3e6885;},_0x3569c7['toObject']=function(_0xc7fbd6,_0x3e9177){_0x3e9177||(_0x3e9177={});var _0x16fb86={};if((_0x3e9177['arrays']||_0x3e9177['defaults'])&&(_0x16fb86['permissions']=[]),_0x3e9177['defaults']&&(_0x16fb86['session']='',_0x16fb86['user']='',_0x16fb86['role']=''),null!=_0xc7fbd6['session']&&_0xc7fbd6['hasOwnProperty']('session')&&(_0x16fb86['session']=_0xc7fbd6['session']),null!=_0xc7fbd6['user']&&_0xc7fbd6['hasOwnProperty']('user')&&(_0x16fb86['user']=_0xc7fbd6['user']),null!=_0xc7fbd6['role']&&_0xc7fbd6['hasOwnProperty']('role')&&(_0x16fb86['role']=_0xc7fbd6['role']),_0xc7fbd6['permissions']&&_0xc7fbd6['permissions']['length']){_0x16fb86['permissions']=[];for(var _0x5fe1cc=0x0;_0x5fe1cc<_0xc7fbd6['permissions']['length'];++_0x5fe1cc)_0x16fb86['permissions'][_0x5fe1cc]=_0xc7fbd6['permissions'][_0x5fe1cc];}return _0x16fb86;},_0x3569c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x3569c7['getTypeUrl']=function(_0x3cca97){return void 0x0===_0x3cca97&&(_0x3cca97='type.googleapis.com'),_0x3cca97+'/SessionsSocketDescriptor';},_0x3569c7;}()),_0x571a6c['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x5025ab(_0x4c971a){if(_0x4c971a){for(var _0x28f69d=Object['keys'](_0x4c971a),_0x2d10c4=0x0;_0x2d10c4<_0x28f69d['length'];++_0x2d10c4)null!=_0x4c971a[_0x28f69d[_0x2d10c4]]&&'__proto__'!==_0x28f69d[_0x2d10c4]&&(this[_0x28f69d[_0x2d10c4]]=_0x4c971a[_0x28f69d[_0x2d10c4]]);}}return _0x5025ab['prototype']['requestId']=0x0,_0x5025ab['create']=function(_0x3c0298){return new _0x5025ab(_0x3c0298);},_0x5025ab['encode']=function(_0x4257f2,_0x1602c9){return _0x1602c9||(_0x1602c9=_0x352caa['create']()),null!=_0x4257f2['requestId']&&Object['hasOwnProperty']['call'](_0x4257f2,'requestId')&&_0x1602c9['uint32'](0x8)['uint32'](_0x4257f2['requestId']),_0x1602c9;},_0x5025ab['encodeDelimited']=function(_0x32c28c,_0x5c22a0){return this['encode'](_0x32c28c,_0x5c22a0)['ldelim']();},_0x5025ab['decode']=function(_0x1ca6fa,_0x50b5cb,_0x30e860,_0xe2402d){if(_0x1ca6fa instanceof _0x50c11c||(_0x1ca6fa=_0x50c11c['create'](_0x1ca6fa)),void 0x0===_0xe2402d&&(_0xe2402d=0x0),_0xe2402d>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x49e3de=void 0x0===_0x50b5cb?_0x1ca6fa['len']:_0x1ca6fa['pos']+_0x50b5cb,_0xfca57f=new _0x571a6c['RevisionHistoryUpdateRevisionsResponse']();_0x1ca6fa['pos']<_0x49e3de;){var _0x70d463=_0x1ca6fa['uint32']();if(_0x70d463===_0x30e860)break;_0x70d463>>>0x3==0x1?_0xfca57f['requestId']=_0x1ca6fa['uint32']():_0x1ca6fa['skipType'](0x7&_0x70d463,_0xe2402d);}return _0xfca57f;},_0x5025ab['decodeDelimited']=function(_0x30d404){return _0x30d404 instanceof _0x50c11c||(_0x30d404=new _0x50c11c(_0x30d404)),this['decode'](_0x30d404,_0x30d404['uint32']());},_0x5025ab['verify']=function(_0x341bb2,_0x4e3a91){return'object'!=typeof _0x341bb2||null===_0x341bb2?'object\x20expected':(void 0x0===_0x4e3a91&&(_0x4e3a91=0x0),_0x4e3a91>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x341bb2['requestId']&&_0x341bb2['hasOwnProperty']('requestId')&&!_0x155d72['isInteger'](_0x341bb2['requestId'])?'requestId:\x20integer\x20expected':null);},_0x5025ab['fromObject']=function(_0x5a898b,_0x8c6367){if(_0x5a898b instanceof _0x571a6c['RevisionHistoryUpdateRevisionsResponse'])return _0x5a898b;if(void 0x0===_0x8c6367&&(_0x8c6367=0x0),_0x8c6367>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x6d1bf2=new _0x571a6c['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x5a898b['requestId']&&(_0x6d1bf2['requestId']=_0x5a898b['requestId']>>>0x0),_0x6d1bf2;},_0x5025ab['toObject']=function(_0x3fc476,_0x102bcf){_0x102bcf||(_0x102bcf={});var _0x1a94d9={};return _0x102bcf['defaults']&&(_0x1a94d9['requestId']=0x0),null!=_0x3fc476['requestId']&&_0x3fc476['hasOwnProperty']('requestId')&&(_0x1a94d9['requestId']=_0x3fc476['requestId']),_0x1a94d9;},_0x5025ab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5025ab['getTypeUrl']=function(_0x485726){return void 0x0===_0x485726&&(_0x485726='type.googleapis.com'),_0x485726+'/RevisionHistoryUpdateRevisionsResponse';},_0x5025ab;}()),_0x571a6c['RevisionHistoryGetRevisionResponse']=(function(){function _0x5c2344(_0x458429){if(_0x458429){for(var _0x36dbc4=Object['keys'](_0x458429),_0x28114b=0x0;_0x28114b<_0x36dbc4['length'];++_0x28114b)null!=_0x458429[_0x36dbc4[_0x28114b]]&&'__proto__'!==_0x36dbc4[_0x28114b]&&(this[_0x36dbc4[_0x28114b]]=_0x458429[_0x36dbc4[_0x28114b]]);}}return _0x5c2344['prototype']['revisionId']='',_0x5c2344['prototype']['name']='',_0x5c2344['prototype']['creatorId']='',_0x5c2344['prototype']['authorsIds']='',_0x5c2344['prototype']['diffData']='',_0x5c2344['prototype']['createdAt']='',_0x5c2344['prototype']['attributes']='',_0x5c2344['prototype']['toVersion']=0x0,_0x5c2344['prototype']['fromVersion']=0x0,_0x5c2344['prototype']['isEmptyCurrent']=!0x1,_0x5c2344['create']=function(_0x392540){return new _0x5c2344(_0x392540);},_0x5c2344['encode']=function(_0x5bc314,_0x1bc82d){return _0x1bc82d||(_0x1bc82d=_0x352caa['create']()),null!=_0x5bc314['revisionId']&&Object['hasOwnProperty']['call'](_0x5bc314,'revisionId')&&_0x1bc82d['uint32'](0xa)['string'](_0x5bc314['revisionId']),null!=_0x5bc314['name']&&Object['hasOwnProperty']['call'](_0x5bc314,'name')&&_0x1bc82d['uint32'](0x12)['string'](_0x5bc314['name']),null!=_0x5bc314['creatorId']&&Object['hasOwnProperty']['call'](_0x5bc314,'creatorId')&&_0x1bc82d['uint32'](0x1a)['string'](_0x5bc314['creatorId']),null!=_0x5bc314['authorsIds']&&Object['hasOwnProperty']['call'](_0x5bc314,'authorsIds')&&_0x1bc82d['uint32'](0x22)['string'](_0x5bc314['authorsIds']),null!=_0x5bc314['diffData']&&Object['hasOwnProperty']['call'](_0x5bc314,'diffData')&&_0x1bc82d['uint32'](0x2a)['string'](_0x5bc314['diffData']),null!=_0x5bc314['createdAt']&&Object['hasOwnProperty']['call'](_0x5bc314,'createdAt')&&_0x1bc82d['uint32'](0x32)['string'](_0x5bc314['createdAt']),null!=_0x5bc314['attributes']&&Object['hasOwnProperty']['call'](_0x5bc314,'attributes')&&_0x1bc82d['uint32'](0x3a)['string'](_0x5bc314['attributes']),null!=_0x5bc314['toVersion']&&Object['hasOwnProperty']['call'](_0x5bc314,'toVersion')&&_0x1bc82d['uint32'](0x40)['uint32'](_0x5bc314['toVersion']),null!=_0x5bc314['fromVersion']&&Object['hasOwnProperty']['call'](_0x5bc314,'fromVersion')&&_0x1bc82d['uint32'](0x48)['uint32'](_0x5bc314['fromVersion']),null!=_0x5bc314['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x5bc314,'isEmptyCurrent')&&_0x1bc82d['uint32'](0x50)['bool'](_0x5bc314['isEmptyCurrent']),_0x1bc82d;},_0x5c2344['encodeDelimited']=function(_0x527627,_0x2ff3dc){return this['encode'](_0x527627,_0x2ff3dc)['ldelim']();},_0x5c2344['decode']=function(_0x4f1fd8,_0x28c734,_0x5c5d0d,_0x33b9f2){if(_0x4f1fd8 instanceof _0x50c11c||(_0x4f1fd8=_0x50c11c['create'](_0x4f1fd8)),void 0x0===_0x33b9f2&&(_0x33b9f2=0x0),_0x33b9f2>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4501de=void 0x0===_0x28c734?_0x4f1fd8['len']:_0x4f1fd8['pos']+_0x28c734,_0x35c707=new _0x571a6c['RevisionHistoryGetRevisionResponse']();_0x4f1fd8['pos']<_0x4501de;){var _0x1ec2e9=_0x4f1fd8['uint32']();if(_0x1ec2e9===_0x5c5d0d)break;switch(_0x1ec2e9>>>0x3){case 0x1:_0x35c707['revisionId']=_0x4f1fd8['string']();break;case 0x2:_0x35c707['name']=_0x4f1fd8['string']();break;case 0x3:_0x35c707['creatorId']=_0x4f1fd8['string']();break;case 0x4:_0x35c707['authorsIds']=_0x4f1fd8['string']();break;case 0x5:_0x35c707['diffData']=_0x4f1fd8['string']();break;case 0x6:_0x35c707['createdAt']=_0x4f1fd8['string']();break;case 0x7:_0x35c707['attributes']=_0x4f1fd8['string']();break;case 0x8:_0x35c707['toVersion']=_0x4f1fd8['uint32']();break;case 0x9:_0x35c707['fromVersion']=_0x4f1fd8['uint32']();break;case 0xa:_0x35c707['isEmptyCurrent']=_0x4f1fd8['bool']();break;default:_0x4f1fd8['skipType'](0x7&_0x1ec2e9,_0x33b9f2);}}return _0x35c707;},_0x5c2344['decodeDelimited']=function(_0x438d51){return _0x438d51 instanceof _0x50c11c||(_0x438d51=new _0x50c11c(_0x438d51)),this['decode'](_0x438d51,_0x438d51['uint32']());},_0x5c2344['verify']=function(_0x341dc9,_0x325f14){return'object'!=typeof _0x341dc9||null===_0x341dc9?'object\x20expected':(void 0x0===_0x325f14&&(_0x325f14=0x0),_0x325f14>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x341dc9['revisionId']&&_0x341dc9['hasOwnProperty']('revisionId')&&!_0x155d72['isString'](_0x341dc9['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x341dc9['name']&&_0x341dc9['hasOwnProperty']('name')&&!_0x155d72['isString'](_0x341dc9['name'])?'name:\x20string\x20expected':null!=_0x341dc9['creatorId']&&_0x341dc9['hasOwnProperty']('creatorId')&&!_0x155d72['isString'](_0x341dc9['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x341dc9['authorsIds']&&_0x341dc9['hasOwnProperty']('authorsIds')&&!_0x155d72['isString'](_0x341dc9['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x341dc9['diffData']&&_0x341dc9['hasOwnProperty']('diffData')&&!_0x155d72['isString'](_0x341dc9['diffData'])?'diffData:\x20string\x20expected':null!=_0x341dc9['createdAt']&&_0x341dc9['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x341dc9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x341dc9['attributes']&&_0x341dc9['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x341dc9['attributes'])?'attributes:\x20string\x20expected':null!=_0x341dc9['toVersion']&&_0x341dc9['hasOwnProperty']('toVersion')&&!_0x155d72['isInteger'](_0x341dc9['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x341dc9['fromVersion']&&_0x341dc9['hasOwnProperty']('fromVersion')&&!_0x155d72['isInteger'](_0x341dc9['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x341dc9['isEmptyCurrent']&&_0x341dc9['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x341dc9['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x5c2344['fromObject']=function(_0x2e112c,_0x28b755){if(_0x2e112c instanceof _0x571a6c['RevisionHistoryGetRevisionResponse'])return _0x2e112c;if(void 0x0===_0x28b755&&(_0x28b755=0x0),_0x28b755>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd600ab=new _0x571a6c['RevisionHistoryGetRevisionResponse']();return null!=_0x2e112c['revisionId']&&(_0xd600ab['revisionId']=String(_0x2e112c['revisionId'])),null!=_0x2e112c['name']&&(_0xd600ab['name']=String(_0x2e112c['name'])),null!=_0x2e112c['creatorId']&&(_0xd600ab['creatorId']=String(_0x2e112c['creatorId'])),null!=_0x2e112c['authorsIds']&&(_0xd600ab['authorsIds']=String(_0x2e112c['authorsIds'])),null!=_0x2e112c['diffData']&&(_0xd600ab['diffData']=String(_0x2e112c['diffData'])),null!=_0x2e112c['createdAt']&&(_0xd600ab['createdAt']=String(_0x2e112c['createdAt'])),null!=_0x2e112c['attributes']&&(_0xd600ab['attributes']=String(_0x2e112c['attributes'])),null!=_0x2e112c['toVersion']&&(_0xd600ab['toVersion']=_0x2e112c['toVersion']>>>0x0),null!=_0x2e112c['fromVersion']&&(_0xd600ab['fromVersion']=_0x2e112c['fromVersion']>>>0x0),null!=_0x2e112c['isEmptyCurrent']&&(_0xd600ab['isEmptyCurrent']=Boolean(_0x2e112c['isEmptyCurrent'])),_0xd600ab;},_0x5c2344['toObject']=function(_0x172324,_0x2c3784){_0x2c3784||(_0x2c3784={});var _0x13fbbb={};return _0x2c3784['defaults']&&(_0x13fbbb['revisionId']='',_0x13fbbb['name']='',_0x13fbbb['creatorId']='',_0x13fbbb['authorsIds']='',_0x13fbbb['diffData']='',_0x13fbbb['createdAt']='',_0x13fbbb['attributes']='',_0x13fbbb['toVersion']=0x0,_0x13fbbb['fromVersion']=0x0,_0x13fbbb['isEmptyCurrent']=!0x1),null!=_0x172324['revisionId']&&_0x172324['hasOwnProperty']('revisionId')&&(_0x13fbbb['revisionId']=_0x172324['revisionId']),null!=_0x172324['name']&&_0x172324['hasOwnProperty']('name')&&(_0x13fbbb['name']=_0x172324['name']),null!=_0x172324['creatorId']&&_0x172324['hasOwnProperty']('creatorId')&&(_0x13fbbb['creatorId']=_0x172324['creatorId']),null!=_0x172324['authorsIds']&&_0x172324['hasOwnProperty']('authorsIds')&&(_0x13fbbb['authorsIds']=_0x172324['authorsIds']),null!=_0x172324['diffData']&&_0x172324['hasOwnProperty']('diffData')&&(_0x13fbbb['diffData']=_0x172324['diffData']),null!=_0x172324['createdAt']&&_0x172324['hasOwnProperty']('createdAt')&&(_0x13fbbb['createdAt']=_0x172324['createdAt']),null!=_0x172324['attributes']&&_0x172324['hasOwnProperty']('attributes')&&(_0x13fbbb['attributes']=_0x172324['attributes']),null!=_0x172324['toVersion']&&_0x172324['hasOwnProperty']('toVersion')&&(_0x13fbbb['toVersion']=_0x172324['toVersion']),null!=_0x172324['fromVersion']&&_0x172324['hasOwnProperty']('fromVersion')&&(_0x13fbbb['fromVersion']=_0x172324['fromVersion']),null!=_0x172324['isEmptyCurrent']&&_0x172324['hasOwnProperty']('isEmptyCurrent')&&(_0x13fbbb['isEmptyCurrent']=_0x172324['isEmptyCurrent']),_0x13fbbb;},_0x5c2344['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5c2344['getTypeUrl']=function(_0x2610f6){return void 0x0===_0x2610f6&&(_0x2610f6='type.googleapis.com'),_0x2610f6+'/RevisionHistoryGetRevisionResponse';},_0x5c2344;}()),_0x571a6c['RevisionHistoryConnectResponse']=(function(){function _0x163920(_0x4c676b){if(this['revisions']=[],_0x4c676b){for(var _0x1ac7ac=Object['keys'](_0x4c676b),_0xe359c9=0x0;_0xe359c9<_0x1ac7ac['length'];++_0xe359c9)null!=_0x4c676b[_0x1ac7ac[_0xe359c9]]&&'__proto__'!==_0x1ac7ac[_0xe359c9]&&(this[_0x1ac7ac[_0xe359c9]]=_0x4c676b[_0x1ac7ac[_0xe359c9]]);}}return _0x163920['prototype']['channel']='',_0x163920['prototype']['requestId']=0x0,_0x163920['prototype']['revisions']=_0x155d72['emptyArray'],_0x163920['create']=function(_0x33d8ab){return new _0x163920(_0x33d8ab);},_0x163920['encode']=function(_0x32e3af,_0x429907){if(_0x429907||(_0x429907=_0x352caa['create']()),null!=_0x32e3af['channel']&&Object['hasOwnProperty']['call'](_0x32e3af,'channel')&&_0x429907['uint32'](0xa)['string'](_0x32e3af['channel']),null!=_0x32e3af['requestId']&&Object['hasOwnProperty']['call'](_0x32e3af,'requestId')&&_0x429907['uint32'](0x10)['uint32'](_0x32e3af['requestId']),null!=_0x32e3af['revisions']&&_0x32e3af['revisions']['length']){for(var _0x43cc88=0x0;_0x43cc88<_0x32e3af['revisions']['length'];++_0x43cc88)_0x571a6c['RevisionDescriptor']['encode'](_0x32e3af['revisions'][_0x43cc88],_0x429907['uint32'](0x1a)['fork']())['ldelim']();}return _0x429907;},_0x163920['encodeDelimited']=function(_0x7f22a4,_0x35be68){return this['encode'](_0x7f22a4,_0x35be68)['ldelim']();},_0x163920['decode']=function(_0x25b319,_0x211656,_0x97299a,_0x19f871){if(_0x25b319 instanceof _0x50c11c||(_0x25b319=_0x50c11c['create'](_0x25b319)),void 0x0===_0x19f871&&(_0x19f871=0x0),_0x19f871>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27a7d0=void 0x0===_0x211656?_0x25b319['len']:_0x25b319['pos']+_0x211656,_0x44489d=new _0x571a6c['RevisionHistoryConnectResponse']();_0x25b319['pos']<_0x27a7d0;){var _0x5cb1a7=_0x25b319['uint32']();if(_0x5cb1a7===_0x97299a)break;switch(_0x5cb1a7>>>0x3){case 0x1:_0x44489d['channel']=_0x25b319['string']();break;case 0x2:_0x44489d['requestId']=_0x25b319['uint32']();break;case 0x3:_0x44489d['revisions']&&_0x44489d['revisions']['length']||(_0x44489d['revisions']=[]),_0x44489d['revisions']['push'](_0x571a6c['RevisionDescriptor']['decode'](_0x25b319,_0x25b319['uint32'](),void 0x0,_0x19f871+0x1));break;default:_0x25b319['skipType'](0x7&_0x5cb1a7,_0x19f871);}}return _0x44489d;},_0x163920['decodeDelimited']=function(_0x24976f){return _0x24976f instanceof _0x50c11c||(_0x24976f=new _0x50c11c(_0x24976f)),this['decode'](_0x24976f,_0x24976f['uint32']());},_0x163920['verify']=function(_0x5df21d,_0x40a051){if('object'!=typeof _0x5df21d||null===_0x5df21d)return'object\x20expected';if(void 0x0===_0x40a051&&(_0x40a051=0x0),_0x40a051>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5df21d['channel']&&_0x5df21d['hasOwnProperty']('channel')&&!_0x155d72['isString'](_0x5df21d['channel']))return'channel:\x20string\x20expected';if(null!=_0x5df21d['requestId']&&_0x5df21d['hasOwnProperty']('requestId')&&!_0x155d72['isInteger'](_0x5df21d['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x5df21d['revisions']&&_0x5df21d['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x5df21d['revisions']))return'revisions:\x20array\x20expected';for(var _0x51c0d5=0x0;_0x51c0d5<_0x5df21d['revisions']['length'];++_0x51c0d5){var _0x1eb09d=_0x571a6c['RevisionDescriptor']['verify'](_0x5df21d['revisions'][_0x51c0d5],_0x40a051+0x1);if(_0x1eb09d)return'revisions.'+_0x1eb09d;}}return null;},_0x163920['fromObject']=function(_0x2df788,_0x556395){if(_0x2df788 instanceof _0x571a6c['RevisionHistoryConnectResponse'])return _0x2df788;if(void 0x0===_0x556395&&(_0x556395=0x0),_0x556395>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x36c64c=new _0x571a6c['RevisionHistoryConnectResponse']();if(null!=_0x2df788['channel']&&(_0x36c64c['channel']=String(_0x2df788['channel'])),null!=_0x2df788['requestId']&&(_0x36c64c['requestId']=_0x2df788['requestId']>>>0x0),_0x2df788['revisions']){if(!Array['isArray'](_0x2df788['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x36c64c['revisions']=[];for(var _0x546819=0x0;_0x546819<_0x2df788['revisions']['length'];++_0x546819){if('object'!=typeof _0x2df788['revisions'][_0x546819])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x36c64c['revisions'][_0x546819]=_0x571a6c['RevisionDescriptor']['fromObject'](_0x2df788['revisions'][_0x546819],_0x556395+0x1);}}return _0x36c64c;},_0x163920['toObject']=function(_0x14081a,_0x540f26){_0x540f26||(_0x540f26={});var _0x2c7690={};if((_0x540f26['arrays']||_0x540f26['defaults'])&&(_0x2c7690['revisions']=[]),_0x540f26['defaults']&&(_0x2c7690['channel']='',_0x2c7690['requestId']=0x0),null!=_0x14081a['channel']&&_0x14081a['hasOwnProperty']('channel')&&(_0x2c7690['channel']=_0x14081a['channel']),null!=_0x14081a['requestId']&&_0x14081a['hasOwnProperty']('requestId')&&(_0x2c7690['requestId']=_0x14081a['requestId']),_0x14081a['revisions']&&_0x14081a['revisions']['length']){_0x2c7690['revisions']=[];for(var _0x277430=0x0;_0x277430<_0x14081a['revisions']['length'];++_0x277430)_0x2c7690['revisions'][_0x277430]=_0x571a6c['RevisionDescriptor']['toObject'](_0x14081a['revisions'][_0x277430],_0x540f26);}return _0x2c7690;},_0x163920['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x163920['getTypeUrl']=function(_0x3a2d35){return void 0x0===_0x3a2d35&&(_0x3a2d35='type.googleapis.com'),_0x3a2d35+'/RevisionHistoryConnectResponse';},_0x163920;}()),_0x571a6c['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x4a99c7(_0xf16a02){if(this['revisions']=[],_0xf16a02){for(var _0x3b9b15=Object['keys'](_0xf16a02),_0x26d9dd=0x0;_0x26d9dd<_0x3b9b15['length'];++_0x26d9dd)null!=_0xf16a02[_0x3b9b15[_0x26d9dd]]&&'__proto__'!==_0x3b9b15[_0x26d9dd]&&(this[_0x3b9b15[_0x26d9dd]]=_0xf16a02[_0x3b9b15[_0x26d9dd]]);}}return _0x4a99c7['prototype']['documentId']='',_0x4a99c7['prototype']['requestId']=0x0,_0x4a99c7['prototype']['revisions']=_0x155d72['emptyArray'],_0x4a99c7['create']=function(_0x5caebf){return new _0x4a99c7(_0x5caebf);},_0x4a99c7['encode']=function(_0x104351,_0x8dbb28){if(_0x8dbb28||(_0x8dbb28=_0x352caa['create']()),null!=_0x104351['documentId']&&Object['hasOwnProperty']['call'](_0x104351,'documentId')&&_0x8dbb28['uint32'](0xa)['string'](_0x104351['documentId']),null!=_0x104351['requestId']&&Object['hasOwnProperty']['call'](_0x104351,'requestId')&&_0x8dbb28['uint32'](0x10)['uint32'](_0x104351['requestId']),null!=_0x104351['revisions']&&_0x104351['revisions']['length']){for(var _0x2ae64d=0x0;_0x2ae64d<_0x104351['revisions']['length'];++_0x2ae64d)_0x571a6c['RevisionDescriptor']['encode'](_0x104351['revisions'][_0x2ae64d],_0x8dbb28['uint32'](0x1a)['fork']())['ldelim']();}return _0x8dbb28;},_0x4a99c7['encodeDelimited']=function(_0x1553b2,_0x22f5a0){return this['encode'](_0x1553b2,_0x22f5a0)['ldelim']();},_0x4a99c7['decode']=function(_0x3d1f39,_0x4d3d88,_0x3aef30,_0x549e30){if(_0x3d1f39 instanceof _0x50c11c||(_0x3d1f39=_0x50c11c['create'](_0x3d1f39)),void 0x0===_0x549e30&&(_0x549e30=0x0),_0x549e30>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x20a4a2=void 0x0===_0x4d3d88?_0x3d1f39['len']:_0x3d1f39['pos']+_0x4d3d88,_0x2e04ba=new _0x571a6c['RevisionHistoryUpdateRevisionsMessage']();_0x3d1f39['pos']<_0x20a4a2;){var _0x3648e1=_0x3d1f39['uint32']();if(_0x3648e1===_0x3aef30)break;switch(_0x3648e1>>>0x3){case 0x1:_0x2e04ba['documentId']=_0x3d1f39['string']();break;case 0x2:_0x2e04ba['requestId']=_0x3d1f39['uint32']();break;case 0x3:_0x2e04ba['revisions']&&_0x2e04ba['revisions']['length']||(_0x2e04ba['revisions']=[]),_0x2e04ba['revisions']['push'](_0x571a6c['RevisionDescriptor']['decode'](_0x3d1f39,_0x3d1f39['uint32'](),void 0x0,_0x549e30+0x1));break;default:_0x3d1f39['skipType'](0x7&_0x3648e1,_0x549e30);}}return _0x2e04ba;},_0x4a99c7['decodeDelimited']=function(_0x153b78){return _0x153b78 instanceof _0x50c11c||(_0x153b78=new _0x50c11c(_0x153b78)),this['decode'](_0x153b78,_0x153b78['uint32']());},_0x4a99c7['verify']=function(_0xe09ffd,_0x11cd39){if('object'!=typeof _0xe09ffd||null===_0xe09ffd)return'object\x20expected';if(void 0x0===_0x11cd39&&(_0x11cd39=0x0),_0x11cd39>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xe09ffd['documentId']&&_0xe09ffd['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0xe09ffd['documentId']))return'documentId:\x20string\x20expected';if(null!=_0xe09ffd['requestId']&&_0xe09ffd['hasOwnProperty']('requestId')&&!_0x155d72['isInteger'](_0xe09ffd['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0xe09ffd['revisions']&&_0xe09ffd['hasOwnProperty']('revisions')){if(!Array['isArray'](_0xe09ffd['revisions']))return'revisions:\x20array\x20expected';for(var _0x45e33e=0x0;_0x45e33e<_0xe09ffd['revisions']['length'];++_0x45e33e){var _0x2398c2=_0x571a6c['RevisionDescriptor']['verify'](_0xe09ffd['revisions'][_0x45e33e],_0x11cd39+0x1);if(_0x2398c2)return'revisions.'+_0x2398c2;}}return null;},_0x4a99c7['fromObject']=function(_0x4a680e,_0x5eecf6){if(_0x4a680e instanceof _0x571a6c['RevisionHistoryUpdateRevisionsMessage'])return _0x4a680e;if(void 0x0===_0x5eecf6&&(_0x5eecf6=0x0),_0x5eecf6>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x104b93=new _0x571a6c['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x4a680e['documentId']&&(_0x104b93['documentId']=String(_0x4a680e['documentId'])),null!=_0x4a680e['requestId']&&(_0x104b93['requestId']=_0x4a680e['requestId']>>>0x0),_0x4a680e['revisions']){if(!Array['isArray'](_0x4a680e['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x104b93['revisions']=[];for(var _0x233df4=0x0;_0x233df4<_0x4a680e['revisions']['length'];++_0x233df4){if('object'!=typeof _0x4a680e['revisions'][_0x233df4])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x104b93['revisions'][_0x233df4]=_0x571a6c['RevisionDescriptor']['fromObject'](_0x4a680e['revisions'][_0x233df4],_0x5eecf6+0x1);}}return _0x104b93;},_0x4a99c7['toObject']=function(_0x2393a7,_0x59793f){_0x59793f||(_0x59793f={});var _0x45ca83={};if((_0x59793f['arrays']||_0x59793f['defaults'])&&(_0x45ca83['revisions']=[]),_0x59793f['defaults']&&(_0x45ca83['documentId']='',_0x45ca83['requestId']=0x0),null!=_0x2393a7['documentId']&&_0x2393a7['hasOwnProperty']('documentId')&&(_0x45ca83['documentId']=_0x2393a7['documentId']),null!=_0x2393a7['requestId']&&_0x2393a7['hasOwnProperty']('requestId')&&(_0x45ca83['requestId']=_0x2393a7['requestId']),_0x2393a7['revisions']&&_0x2393a7['revisions']['length']){_0x45ca83['revisions']=[];for(var _0x3ef3f6=0x0;_0x3ef3f6<_0x2393a7['revisions']['length'];++_0x3ef3f6)_0x45ca83['revisions'][_0x3ef3f6]=_0x571a6c['RevisionDescriptor']['toObject'](_0x2393a7['revisions'][_0x3ef3f6],_0x59793f);}return _0x45ca83;},_0x4a99c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x4a99c7['getTypeUrl']=function(_0x57cd99){return void 0x0===_0x57cd99&&(_0x57cd99='type.googleapis.com'),_0x57cd99+'/RevisionHistoryUpdateRevisionsMessage';},_0x4a99c7;}()),_0x571a6c['RevisionHistoryReconnectMessage']=(function(){function _0x17a7cb(_0x164d7a){if(_0x164d7a){for(var _0xd43c5a=Object['keys'](_0x164d7a),_0x3ade18=0x0;_0x3ade18<_0xd43c5a['length'];++_0x3ade18)null!=_0x164d7a[_0xd43c5a[_0x3ade18]]&&'__proto__'!==_0xd43c5a[_0x3ade18]&&(this[_0xd43c5a[_0x3ade18]]=_0x164d7a[_0xd43c5a[_0x3ade18]]);}}return _0x17a7cb['prototype']['documentId']='',_0x17a7cb['prototype']['requestId']=0x0,_0x17a7cb['create']=function(_0x19821c){return new _0x17a7cb(_0x19821c);},_0x17a7cb['encode']=function(_0x2a542f,_0x1c4f0a){return _0x1c4f0a||(_0x1c4f0a=_0x352caa['create']()),null!=_0x2a542f['documentId']&&Object['hasOwnProperty']['call'](_0x2a542f,'documentId')&&_0x1c4f0a['uint32'](0xa)['string'](_0x2a542f['documentId']),null!=_0x2a542f['requestId']&&Object['hasOwnProperty']['call'](_0x2a542f,'requestId')&&_0x1c4f0a['uint32'](0x10)['uint32'](_0x2a542f['requestId']),_0x1c4f0a;},_0x17a7cb['encodeDelimited']=function(_0x27148e,_0x11a4d1){return this['encode'](_0x27148e,_0x11a4d1)['ldelim']();},_0x17a7cb['decode']=function(_0x5b46ff,_0xaabcf8,_0x4e7978,_0x1c863d){if(_0x5b46ff instanceof _0x50c11c||(_0x5b46ff=_0x50c11c['create'](_0x5b46ff)),void 0x0===_0x1c863d&&(_0x1c863d=0x0),_0x1c863d>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4ce573=void 0x0===_0xaabcf8?_0x5b46ff['len']:_0x5b46ff['pos']+_0xaabcf8,_0x3773de=new _0x571a6c['RevisionHistoryReconnectMessage']();_0x5b46ff['pos']<_0x4ce573;){var _0x22b5c0=_0x5b46ff['uint32']();if(_0x22b5c0===_0x4e7978)break;switch(_0x22b5c0>>>0x3){case 0x1:_0x3773de['documentId']=_0x5b46ff['string']();break;case 0x2:_0x3773de['requestId']=_0x5b46ff['uint32']();break;default:_0x5b46ff['skipType'](0x7&_0x22b5c0,_0x1c863d);}}return _0x3773de;},_0x17a7cb['decodeDelimited']=function(_0x12febf){return _0x12febf instanceof _0x50c11c||(_0x12febf=new _0x50c11c(_0x12febf)),this['decode'](_0x12febf,_0x12febf['uint32']());},_0x17a7cb['verify']=function(_0x4c3d94,_0x518692){return'object'!=typeof _0x4c3d94||null===_0x4c3d94?'object\x20expected':(void 0x0===_0x518692&&(_0x518692=0x0),_0x518692>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4c3d94['documentId']&&_0x4c3d94['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x4c3d94['documentId'])?'documentId:\x20string\x20expected':null!=_0x4c3d94['requestId']&&_0x4c3d94['hasOwnProperty']('requestId')&&!_0x155d72['isInteger'](_0x4c3d94['requestId'])?'requestId:\x20integer\x20expected':null);},_0x17a7cb['fromObject']=function(_0x41cb6f,_0x3fd9b1){if(_0x41cb6f instanceof _0x571a6c['RevisionHistoryReconnectMessage'])return _0x41cb6f;if(void 0x0===_0x3fd9b1&&(_0x3fd9b1=0x0),_0x3fd9b1>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd7d752=new _0x571a6c['RevisionHistoryReconnectMessage']();return null!=_0x41cb6f['documentId']&&(_0xd7d752['documentId']=String(_0x41cb6f['documentId'])),null!=_0x41cb6f['requestId']&&(_0xd7d752['requestId']=_0x41cb6f['requestId']>>>0x0),_0xd7d752;},_0x17a7cb['toObject']=function(_0x33d61a,_0x15e7b8){_0x15e7b8||(_0x15e7b8={});var _0x4a8704={};return _0x15e7b8['defaults']&&(_0x4a8704['documentId']='',_0x4a8704['requestId']=0x0),null!=_0x33d61a['documentId']&&_0x33d61a['hasOwnProperty']('documentId')&&(_0x4a8704['documentId']=_0x33d61a['documentId']),null!=_0x33d61a['requestId']&&_0x33d61a['hasOwnProperty']('requestId')&&(_0x4a8704['requestId']=_0x33d61a['requestId']),_0x4a8704;},_0x17a7cb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x17a7cb['getTypeUrl']=function(_0x5b01e9){return void 0x0===_0x5b01e9&&(_0x5b01e9='type.googleapis.com'),_0x5b01e9+'/RevisionHistoryReconnectMessage';},_0x17a7cb;}()),_0x571a6c['RevisionHistoryGetRevisionMessage']=(function(){function _0x25d78e(_0x54b796){if(_0x54b796){for(var _0x275211=Object['keys'](_0x54b796),_0x7083f=0x0;_0x7083f<_0x275211['length'];++_0x7083f)null!=_0x54b796[_0x275211[_0x7083f]]&&'__proto__'!==_0x275211[_0x7083f]&&(this[_0x275211[_0x7083f]]=_0x54b796[_0x275211[_0x7083f]]);}}return _0x25d78e['prototype']['documentId']='',_0x25d78e['prototype']['revisionId']='',_0x25d78e['create']=function(_0x416547){return new _0x25d78e(_0x416547);},_0x25d78e['encode']=function(_0x3e899a,_0x59ca84){return _0x59ca84||(_0x59ca84=_0x352caa['create']()),null!=_0x3e899a['documentId']&&Object['hasOwnProperty']['call'](_0x3e899a,'documentId')&&_0x59ca84['uint32'](0xa)['string'](_0x3e899a['documentId']),null!=_0x3e899a['revisionId']&&Object['hasOwnProperty']['call'](_0x3e899a,'revisionId')&&_0x59ca84['uint32'](0x12)['string'](_0x3e899a['revisionId']),_0x59ca84;},_0x25d78e['encodeDelimited']=function(_0xfef1ea,_0x43619f){return this['encode'](_0xfef1ea,_0x43619f)['ldelim']();},_0x25d78e['decode']=function(_0x3b2661,_0x16ae9d,_0x3d75d2,_0xf0fe67){if(_0x3b2661 instanceof _0x50c11c||(_0x3b2661=_0x50c11c['create'](_0x3b2661)),void 0x0===_0xf0fe67&&(_0xf0fe67=0x0),_0xf0fe67>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x502d96=void 0x0===_0x16ae9d?_0x3b2661['len']:_0x3b2661['pos']+_0x16ae9d,_0x2fddac=new _0x571a6c['RevisionHistoryGetRevisionMessage']();_0x3b2661['pos']<_0x502d96;){var _0x34955e=_0x3b2661['uint32']();if(_0x34955e===_0x3d75d2)break;switch(_0x34955e>>>0x3){case 0x1:_0x2fddac['documentId']=_0x3b2661['string']();break;case 0x2:_0x2fddac['revisionId']=_0x3b2661['string']();break;default:_0x3b2661['skipType'](0x7&_0x34955e,_0xf0fe67);}}return _0x2fddac;},_0x25d78e['decodeDelimited']=function(_0x45ea3d){return _0x45ea3d instanceof _0x50c11c||(_0x45ea3d=new _0x50c11c(_0x45ea3d)),this['decode'](_0x45ea3d,_0x45ea3d['uint32']());},_0x25d78e['verify']=function(_0x537a8c,_0x3d9af8){return'object'!=typeof _0x537a8c||null===_0x537a8c?'object\x20expected':(void 0x0===_0x3d9af8&&(_0x3d9af8=0x0),_0x3d9af8>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x537a8c['documentId']&&_0x537a8c['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x537a8c['documentId'])?'documentId:\x20string\x20expected':null!=_0x537a8c['revisionId']&&_0x537a8c['hasOwnProperty']('revisionId')&&!_0x155d72['isString'](_0x537a8c['revisionId'])?'revisionId:\x20string\x20expected':null);},_0x25d78e['fromObject']=function(_0x1173ed,_0x4634bf){if(_0x1173ed instanceof _0x571a6c['RevisionHistoryGetRevisionMessage'])return _0x1173ed;if(void 0x0===_0x4634bf&&(_0x4634bf=0x0),_0x4634bf>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x514b9a=new _0x571a6c['RevisionHistoryGetRevisionMessage']();return null!=_0x1173ed['documentId']&&(_0x514b9a['documentId']=String(_0x1173ed['documentId'])),null!=_0x1173ed['revisionId']&&(_0x514b9a['revisionId']=String(_0x1173ed['revisionId'])),_0x514b9a;},_0x25d78e['toObject']=function(_0x1afd23,_0x4aa3ac){_0x4aa3ac||(_0x4aa3ac={});var _0x36ee83={};return _0x4aa3ac['defaults']&&(_0x36ee83['documentId']='',_0x36ee83['revisionId']=''),null!=_0x1afd23['documentId']&&_0x1afd23['hasOwnProperty']('documentId')&&(_0x36ee83['documentId']=_0x1afd23['documentId']),null!=_0x1afd23['revisionId']&&_0x1afd23['hasOwnProperty']('revisionId')&&(_0x36ee83['revisionId']=_0x1afd23['revisionId']),_0x36ee83;},_0x25d78e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x25d78e['getTypeUrl']=function(_0xd6eff4){return void 0x0===_0xd6eff4&&(_0xd6eff4='type.googleapis.com'),_0xd6eff4+'/RevisionHistoryGetRevisionMessage';},_0x25d78e;}()),_0x571a6c['RevisionHistoryConnectMessage']=(function(){function _0x2a418d(_0x123203){if(_0x123203){for(var _0x535b77=Object['keys'](_0x123203),_0x1c0c1e=0x0;_0x1c0c1e<_0x535b77['length'];++_0x1c0c1e)null!=_0x123203[_0x535b77[_0x1c0c1e]]&&'__proto__'!==_0x535b77[_0x1c0c1e]&&(this[_0x535b77[_0x1c0c1e]]=_0x123203[_0x535b77[_0x1c0c1e]]);}}return _0x2a418d['prototype']['documentId']='',_0x2a418d['create']=function(_0x3c1d7d){return new _0x2a418d(_0x3c1d7d);},_0x2a418d['encode']=function(_0x23a273,_0x4423b9){return _0x4423b9||(_0x4423b9=_0x352caa['create']()),null!=_0x23a273['documentId']&&Object['hasOwnProperty']['call'](_0x23a273,'documentId')&&_0x4423b9['uint32'](0xa)['string'](_0x23a273['documentId']),_0x4423b9;},_0x2a418d['encodeDelimited']=function(_0x4153e5,_0x2441c7){return this['encode'](_0x4153e5,_0x2441c7)['ldelim']();},_0x2a418d['decode']=function(_0x5a5773,_0x47b2ba,_0x5dafcb,_0x5862d4){if(_0x5a5773 instanceof _0x50c11c||(_0x5a5773=_0x50c11c['create'](_0x5a5773)),void 0x0===_0x5862d4&&(_0x5862d4=0x0),_0x5862d4>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x444ccf=void 0x0===_0x47b2ba?_0x5a5773['len']:_0x5a5773['pos']+_0x47b2ba,_0x1b6dd0=new _0x571a6c['RevisionHistoryConnectMessage']();_0x5a5773['pos']<_0x444ccf;){var _0xd9476c=_0x5a5773['uint32']();if(_0xd9476c===_0x5dafcb)break;_0xd9476c>>>0x3==0x1?_0x1b6dd0['documentId']=_0x5a5773['string']():_0x5a5773['skipType'](0x7&_0xd9476c,_0x5862d4);}return _0x1b6dd0;},_0x2a418d['decodeDelimited']=function(_0x35bb18){return _0x35bb18 instanceof _0x50c11c||(_0x35bb18=new _0x50c11c(_0x35bb18)),this['decode'](_0x35bb18,_0x35bb18['uint32']());},_0x2a418d['verify']=function(_0x516f12,_0xfe8bba){return'object'!=typeof _0x516f12||null===_0x516f12?'object\x20expected':(void 0x0===_0xfe8bba&&(_0xfe8bba=0x0),_0xfe8bba>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x516f12['documentId']&&_0x516f12['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x516f12['documentId'])?'documentId:\x20string\x20expected':null);},_0x2a418d['fromObject']=function(_0x125233,_0x3d243d){if(_0x125233 instanceof _0x571a6c['RevisionHistoryConnectMessage'])return _0x125233;if(void 0x0===_0x3d243d&&(_0x3d243d=0x0),_0x3d243d>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x53f068=new _0x571a6c['RevisionHistoryConnectMessage']();return null!=_0x125233['documentId']&&(_0x53f068['documentId']=String(_0x125233['documentId'])),_0x53f068;},_0x2a418d['toObject']=function(_0x1937af,_0x48b7bc){_0x48b7bc||(_0x48b7bc={});var _0x3a4a9f={};return _0x48b7bc['defaults']&&(_0x3a4a9f['documentId']=''),null!=_0x1937af['documentId']&&_0x1937af['hasOwnProperty']('documentId')&&(_0x3a4a9f['documentId']=_0x1937af['documentId']),_0x3a4a9f;},_0x2a418d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x2a418d['getTypeUrl']=function(_0x2ee515){return void 0x0===_0x2ee515&&(_0x2ee515='type.googleapis.com'),_0x2ee515+'/RevisionHistoryConnectMessage';},_0x2a418d;}()),_0x571a6c['RevisionDescriptor']=(function(){function _0x586efd(_0x392534){if(_0x392534){for(var _0x292169=Object['keys'](_0x392534),_0x4078c5=0x0;_0x4078c5<_0x292169['length'];++_0x4078c5)null!=_0x392534[_0x292169[_0x4078c5]]&&'__proto__'!==_0x292169[_0x4078c5]&&(this[_0x292169[_0x4078c5]]=_0x392534[_0x292169[_0x4078c5]]);}}return _0x586efd['prototype']['revisionId']='',_0x586efd['prototype']['name']='',_0x586efd['prototype']['creatorId']='',_0x586efd['prototype']['authorsIds']='',_0x586efd['prototype']['diffData']='',_0x586efd['prototype']['createdAt']='',_0x586efd['prototype']['attributes']='',_0x586efd['prototype']['toVersion']=0x0,_0x586efd['prototype']['fromVersion']=0x0,_0x586efd['prototype']['isEmptyCurrent']=!0x1,_0x586efd['create']=function(_0x3b2f6){return new _0x586efd(_0x3b2f6);},_0x586efd['encode']=function(_0x4bace1,_0x11ff10){return _0x11ff10||(_0x11ff10=_0x352caa['create']()),null!=_0x4bace1['revisionId']&&Object['hasOwnProperty']['call'](_0x4bace1,'revisionId')&&_0x11ff10['uint32'](0xa)['string'](_0x4bace1['revisionId']),null!=_0x4bace1['name']&&Object['hasOwnProperty']['call'](_0x4bace1,'name')&&_0x11ff10['uint32'](0x12)['string'](_0x4bace1['name']),null!=_0x4bace1['creatorId']&&Object['hasOwnProperty']['call'](_0x4bace1,'creatorId')&&_0x11ff10['uint32'](0x1a)['string'](_0x4bace1['creatorId']),null!=_0x4bace1['authorsIds']&&Object['hasOwnProperty']['call'](_0x4bace1,'authorsIds')&&_0x11ff10['uint32'](0x22)['string'](_0x4bace1['authorsIds']),null!=_0x4bace1['diffData']&&Object['hasOwnProperty']['call'](_0x4bace1,'diffData')&&_0x11ff10['uint32'](0x2a)['string'](_0x4bace1['diffData']),null!=_0x4bace1['createdAt']&&Object['hasOwnProperty']['call'](_0x4bace1,'createdAt')&&_0x11ff10['uint32'](0x32)['string'](_0x4bace1['createdAt']),null!=_0x4bace1['attributes']&&Object['hasOwnProperty']['call'](_0x4bace1,'attributes')&&_0x11ff10['uint32'](0x3a)['string'](_0x4bace1['attributes']),null!=_0x4bace1['toVersion']&&Object['hasOwnProperty']['call'](_0x4bace1,'toVersion')&&_0x11ff10['uint32'](0x40)['uint32'](_0x4bace1['toVersion']),null!=_0x4bace1['fromVersion']&&Object['hasOwnProperty']['call'](_0x4bace1,'fromVersion')&&_0x11ff10['uint32'](0x48)['uint32'](_0x4bace1['fromVersion']),null!=_0x4bace1['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x4bace1,'isEmptyCurrent')&&_0x11ff10['uint32'](0x50)['bool'](_0x4bace1['isEmptyCurrent']),_0x11ff10;},_0x586efd['encodeDelimited']=function(_0x2bc479,_0x2ba263){return this['encode'](_0x2bc479,_0x2ba263)['ldelim']();},_0x586efd['decode']=function(_0x506faa,_0x27e20e,_0x527f5d,_0x2563bf){if(_0x506faa instanceof _0x50c11c||(_0x506faa=_0x50c11c['create'](_0x506faa)),void 0x0===_0x2563bf&&(_0x2563bf=0x0),_0x2563bf>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3aa713=void 0x0===_0x27e20e?_0x506faa['len']:_0x506faa['pos']+_0x27e20e,_0x1f49af=new _0x571a6c['RevisionDescriptor']();_0x506faa['pos']<_0x3aa713;){var _0x44dcd7=_0x506faa['uint32']();if(_0x44dcd7===_0x527f5d)break;switch(_0x44dcd7>>>0x3){case 0x1:_0x1f49af['revisionId']=_0x506faa['string']();break;case 0x2:_0x1f49af['name']=_0x506faa['string']();break;case 0x3:_0x1f49af['creatorId']=_0x506faa['string']();break;case 0x4:_0x1f49af['authorsIds']=_0x506faa['string']();break;case 0x5:_0x1f49af['diffData']=_0x506faa['string']();break;case 0x6:_0x1f49af['createdAt']=_0x506faa['string']();break;case 0x7:_0x1f49af['attributes']=_0x506faa['string']();break;case 0x8:_0x1f49af['toVersion']=_0x506faa['uint32']();break;case 0x9:_0x1f49af['fromVersion']=_0x506faa['uint32']();break;case 0xa:_0x1f49af['isEmptyCurrent']=_0x506faa['bool']();break;default:_0x506faa['skipType'](0x7&_0x44dcd7,_0x2563bf);}}return _0x1f49af;},_0x586efd['decodeDelimited']=function(_0x2c2c06){return _0x2c2c06 instanceof _0x50c11c||(_0x2c2c06=new _0x50c11c(_0x2c2c06)),this['decode'](_0x2c2c06,_0x2c2c06['uint32']());},_0x586efd['verify']=function(_0x51db6a,_0x59f1fc){return'object'!=typeof _0x51db6a||null===_0x51db6a?'object\x20expected':(void 0x0===_0x59f1fc&&(_0x59f1fc=0x0),_0x59f1fc>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x51db6a['revisionId']&&_0x51db6a['hasOwnProperty']('revisionId')&&!_0x155d72['isString'](_0x51db6a['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x51db6a['name']&&_0x51db6a['hasOwnProperty']('name')&&!_0x155d72['isString'](_0x51db6a['name'])?'name:\x20string\x20expected':null!=_0x51db6a['creatorId']&&_0x51db6a['hasOwnProperty']('creatorId')&&!_0x155d72['isString'](_0x51db6a['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x51db6a['authorsIds']&&_0x51db6a['hasOwnProperty']('authorsIds')&&!_0x155d72['isString'](_0x51db6a['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x51db6a['diffData']&&_0x51db6a['hasOwnProperty']('diffData')&&!_0x155d72['isString'](_0x51db6a['diffData'])?'diffData:\x20string\x20expected':null!=_0x51db6a['createdAt']&&_0x51db6a['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x51db6a['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x51db6a['attributes']&&_0x51db6a['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x51db6a['attributes'])?'attributes:\x20string\x20expected':null!=_0x51db6a['toVersion']&&_0x51db6a['hasOwnProperty']('toVersion')&&!_0x155d72['isInteger'](_0x51db6a['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x51db6a['fromVersion']&&_0x51db6a['hasOwnProperty']('fromVersion')&&!_0x155d72['isInteger'](_0x51db6a['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x51db6a['isEmptyCurrent']&&_0x51db6a['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x51db6a['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x586efd['fromObject']=function(_0x420678,_0x529eee){if(_0x420678 instanceof _0x571a6c['RevisionDescriptor'])return _0x420678;if(void 0x0===_0x529eee&&(_0x529eee=0x0),_0x529eee>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x483d1c=new _0x571a6c['RevisionDescriptor']();return null!=_0x420678['revisionId']&&(_0x483d1c['revisionId']=String(_0x420678['revisionId'])),null!=_0x420678['name']&&(_0x483d1c['name']=String(_0x420678['name'])),null!=_0x420678['creatorId']&&(_0x483d1c['creatorId']=String(_0x420678['creatorId'])),null!=_0x420678['authorsIds']&&(_0x483d1c['authorsIds']=String(_0x420678['authorsIds'])),null!=_0x420678['diffData']&&(_0x483d1c['diffData']=String(_0x420678['diffData'])),null!=_0x420678['createdAt']&&(_0x483d1c['createdAt']=String(_0x420678['createdAt'])),null!=_0x420678['attributes']&&(_0x483d1c['attributes']=String(_0x420678['attributes'])),null!=_0x420678['toVersion']&&(_0x483d1c['toVersion']=_0x420678['toVersion']>>>0x0),null!=_0x420678['fromVersion']&&(_0x483d1c['fromVersion']=_0x420678['fromVersion']>>>0x0),null!=_0x420678['isEmptyCurrent']&&(_0x483d1c['isEmptyCurrent']=Boolean(_0x420678['isEmptyCurrent'])),_0x483d1c;},_0x586efd['toObject']=function(_0x1bdcc6,_0x22f977){_0x22f977||(_0x22f977={});var _0x443236={};return _0x22f977['defaults']&&(_0x443236['revisionId']='',_0x443236['name']='',_0x443236['creatorId']='',_0x443236['authorsIds']='',_0x443236['diffData']='',_0x443236['createdAt']='',_0x443236['attributes']='',_0x443236['toVersion']=0x0,_0x443236['fromVersion']=0x0,_0x443236['isEmptyCurrent']=!0x1),null!=_0x1bdcc6['revisionId']&&_0x1bdcc6['hasOwnProperty']('revisionId')&&(_0x443236['revisionId']=_0x1bdcc6['revisionId']),null!=_0x1bdcc6['name']&&_0x1bdcc6['hasOwnProperty']('name')&&(_0x443236['name']=_0x1bdcc6['name']),null!=_0x1bdcc6['creatorId']&&_0x1bdcc6['hasOwnProperty']('creatorId')&&(_0x443236['creatorId']=_0x1bdcc6['creatorId']),null!=_0x1bdcc6['authorsIds']&&_0x1bdcc6['hasOwnProperty']('authorsIds')&&(_0x443236['authorsIds']=_0x1bdcc6['authorsIds']),null!=_0x1bdcc6['diffData']&&_0x1bdcc6['hasOwnProperty']('diffData')&&(_0x443236['diffData']=_0x1bdcc6['diffData']),null!=_0x1bdcc6['createdAt']&&_0x1bdcc6['hasOwnProperty']('createdAt')&&(_0x443236['createdAt']=_0x1bdcc6['createdAt']),null!=_0x1bdcc6['attributes']&&_0x1bdcc6['hasOwnProperty']('attributes')&&(_0x443236['attributes']=_0x1bdcc6['attributes']),null!=_0x1bdcc6['toVersion']&&_0x1bdcc6['hasOwnProperty']('toVersion')&&(_0x443236['toVersion']=_0x1bdcc6['toVersion']),null!=_0x1bdcc6['fromVersion']&&_0x1bdcc6['hasOwnProperty']('fromVersion')&&(_0x443236['fromVersion']=_0x1bdcc6['fromVersion']),null!=_0x1bdcc6['isEmptyCurrent']&&_0x1bdcc6['hasOwnProperty']('isEmptyCurrent')&&(_0x443236['isEmptyCurrent']=_0x1bdcc6['isEmptyCurrent']),_0x443236;},_0x586efd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x586efd['getTypeUrl']=function(_0x548dd0){return void 0x0===_0x548dd0&&(_0x548dd0='type.googleapis.com'),_0x548dd0+'/RevisionDescriptor';},_0x586efd;}()),_0x571a6c['IsEditorBundleUploadedResponse']=(function(){function _0x33d12f(_0x46a613){if(_0x46a613){for(var _0x18ee78=Object['keys'](_0x46a613),_0xda0e1a=0x0;_0xda0e1a<_0x18ee78['length'];++_0xda0e1a)null!=_0x46a613[_0x18ee78[_0xda0e1a]]&&'__proto__'!==_0x18ee78[_0xda0e1a]&&(this[_0x18ee78[_0xda0e1a]]=_0x46a613[_0x18ee78[_0xda0e1a]]);}}return _0x33d12f['prototype']['isUploaded']=!0x1,_0x33d12f['create']=function(_0x1976ce){return new _0x33d12f(_0x1976ce);},_0x33d12f['encode']=function(_0xa66da4,_0x3cc6c5){return _0x3cc6c5||(_0x3cc6c5=_0x352caa['create']()),null!=_0xa66da4['isUploaded']&&Object['hasOwnProperty']['call'](_0xa66da4,'isUploaded')&&_0x3cc6c5['uint32'](0x8)['bool'](_0xa66da4['isUploaded']),_0x3cc6c5;},_0x33d12f['encodeDelimited']=function(_0x353b98,_0x4fc1f8){return this['encode'](_0x353b98,_0x4fc1f8)['ldelim']();},_0x33d12f['decode']=function(_0x1be08e,_0x459a24,_0x5209aa,_0x50440f){if(_0x1be08e instanceof _0x50c11c||(_0x1be08e=_0x50c11c['create'](_0x1be08e)),void 0x0===_0x50440f&&(_0x50440f=0x0),_0x50440f>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5f4028=void 0x0===_0x459a24?_0x1be08e['len']:_0x1be08e['pos']+_0x459a24,_0x43b21=new _0x571a6c['IsEditorBundleUploadedResponse']();_0x1be08e['pos']<_0x5f4028;){var _0x22088e=_0x1be08e['uint32']();if(_0x22088e===_0x5209aa)break;_0x22088e>>>0x3==0x1?_0x43b21['isUploaded']=_0x1be08e['bool']():_0x1be08e['skipType'](0x7&_0x22088e,_0x50440f);}return _0x43b21;},_0x33d12f['decodeDelimited']=function(_0x512b82){return _0x512b82 instanceof _0x50c11c||(_0x512b82=new _0x50c11c(_0x512b82)),this['decode'](_0x512b82,_0x512b82['uint32']());},_0x33d12f['verify']=function(_0x918cd5,_0x45f57d){return'object'!=typeof _0x918cd5||null===_0x918cd5?'object\x20expected':(void 0x0===_0x45f57d&&(_0x45f57d=0x0),_0x45f57d>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x918cd5['isUploaded']&&_0x918cd5['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x918cd5['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},_0x33d12f['fromObject']=function(_0x2b206f,_0x48ef2e){if(_0x2b206f instanceof _0x571a6c['IsEditorBundleUploadedResponse'])return _0x2b206f;if(void 0x0===_0x48ef2e&&(_0x48ef2e=0x0),_0x48ef2e>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x717148=new _0x571a6c['IsEditorBundleUploadedResponse']();return null!=_0x2b206f['isUploaded']&&(_0x717148['isUploaded']=Boolean(_0x2b206f['isUploaded'])),_0x717148;},_0x33d12f['toObject']=function(_0x569a04,_0x473246){_0x473246||(_0x473246={});var _0x532c2e={};return _0x473246['defaults']&&(_0x532c2e['isUploaded']=!0x1),null!=_0x569a04['isUploaded']&&_0x569a04['hasOwnProperty']('isUploaded')&&(_0x532c2e['isUploaded']=_0x569a04['isUploaded']),_0x532c2e;},_0x33d12f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x33d12f['getTypeUrl']=function(_0x2cefb3){return void 0x0===_0x2cefb3&&(_0x2cefb3='type.googleapis.com'),_0x2cefb3+'/IsEditorBundleUploadedResponse';},_0x33d12f;}()),_0x571a6c['IsEditorBundleUploadedMessage']=(function(){function _0x13812e(_0x32f944){if(_0x32f944){for(var _0x5916a5=Object['keys'](_0x32f944),_0x242724=0x0;_0x242724<_0x5916a5['length'];++_0x242724)null!=_0x32f944[_0x5916a5[_0x242724]]&&'__proto__'!==_0x5916a5[_0x242724]&&(this[_0x5916a5[_0x242724]]=_0x32f944[_0x5916a5[_0x242724]]);}}return _0x13812e['prototype']['bundleVersion']='',_0x13812e['create']=function(_0x4e2370){return new _0x13812e(_0x4e2370);},_0x13812e['encode']=function(_0x38c8ae,_0x2a895c){return _0x2a895c||(_0x2a895c=_0x352caa['create']()),null!=_0x38c8ae['bundleVersion']&&Object['hasOwnProperty']['call'](_0x38c8ae,'bundleVersion')&&_0x2a895c['uint32'](0xa)['string'](_0x38c8ae['bundleVersion']),_0x2a895c;},_0x13812e['encodeDelimited']=function(_0xcb6a31,_0x528c2e){return this['encode'](_0xcb6a31,_0x528c2e)['ldelim']();},_0x13812e['decode']=function(_0x4eadd8,_0x44a14e,_0xa356e,_0x2e8e88){if(_0x4eadd8 instanceof _0x50c11c||(_0x4eadd8=_0x50c11c['create'](_0x4eadd8)),void 0x0===_0x2e8e88&&(_0x2e8e88=0x0),_0x2e8e88>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x350b76=void 0x0===_0x44a14e?_0x4eadd8['len']:_0x4eadd8['pos']+_0x44a14e,_0x32f712=new _0x571a6c['IsEditorBundleUploadedMessage']();_0x4eadd8['pos']<_0x350b76;){var _0x5c142d=_0x4eadd8['uint32']();if(_0x5c142d===_0xa356e)break;_0x5c142d>>>0x3==0x1?_0x32f712['bundleVersion']=_0x4eadd8['string']():_0x4eadd8['skipType'](0x7&_0x5c142d,_0x2e8e88);}return _0x32f712;},_0x13812e['decodeDelimited']=function(_0x2895e5){return _0x2895e5 instanceof _0x50c11c||(_0x2895e5=new _0x50c11c(_0x2895e5)),this['decode'](_0x2895e5,_0x2895e5['uint32']());},_0x13812e['verify']=function(_0x28f89f,_0x33fa3e){return'object'!=typeof _0x28f89f||null===_0x28f89f?'object\x20expected':(void 0x0===_0x33fa3e&&(_0x33fa3e=0x0),_0x33fa3e>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x28f89f['bundleVersion']&&_0x28f89f['hasOwnProperty']('bundleVersion')&&!_0x155d72['isString'](_0x28f89f['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},_0x13812e['fromObject']=function(_0x205356,_0x4d3627){if(_0x205356 instanceof _0x571a6c['IsEditorBundleUploadedMessage'])return _0x205356;if(void 0x0===_0x4d3627&&(_0x4d3627=0x0),_0x4d3627>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x46369d=new _0x571a6c['IsEditorBundleUploadedMessage']();return null!=_0x205356['bundleVersion']&&(_0x46369d['bundleVersion']=String(_0x205356['bundleVersion'])),_0x46369d;},_0x13812e['toObject']=function(_0x25cc7c,_0x54dd33){_0x54dd33||(_0x54dd33={});var _0xb1e9d9={};return _0x54dd33['defaults']&&(_0xb1e9d9['bundleVersion']=''),null!=_0x25cc7c['bundleVersion']&&_0x25cc7c['hasOwnProperty']('bundleVersion')&&(_0xb1e9d9['bundleVersion']=_0x25cc7c['bundleVersion']),_0xb1e9d9;},_0x13812e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x13812e['getTypeUrl']=function(_0x1629e8){return void 0x0===_0x1629e8&&(_0x1629e8='type.googleapis.com'),_0x1629e8+'/IsEditorBundleUploadedMessage';},_0x13812e;}()),_0x571a6c['KeyValueDescriptor']=(function(){function _0x464dc7(_0x3c93dc){if(_0x3c93dc){for(var _0x23a74f=Object['keys'](_0x3c93dc),_0x492b0a=0x0;_0x492b0a<_0x23a74f['length'];++_0x492b0a)null!=_0x3c93dc[_0x23a74f[_0x492b0a]]&&'__proto__'!==_0x23a74f[_0x492b0a]&&(this[_0x23a74f[_0x492b0a]]=_0x3c93dc[_0x23a74f[_0x492b0a]]);}}return _0x464dc7['prototype']['key']='',_0x464dc7['prototype']['value']='',_0x464dc7['create']=function(_0x5f2355){return new _0x464dc7(_0x5f2355);},_0x464dc7['encode']=function(_0x54888d,_0x1dfa7b){return _0x1dfa7b||(_0x1dfa7b=_0x352caa['create']()),null!=_0x54888d['key']&&Object['hasOwnProperty']['call'](_0x54888d,'key')&&_0x1dfa7b['uint32'](0xa)['string'](_0x54888d['key']),null!=_0x54888d['value']&&Object['hasOwnProperty']['call'](_0x54888d,'value')&&_0x1dfa7b['uint32'](0x12)['string'](_0x54888d['value']),_0x1dfa7b;},_0x464dc7['encodeDelimited']=function(_0x3ac91b,_0x2a52f1){return this['encode'](_0x3ac91b,_0x2a52f1)['ldelim']();},_0x464dc7['decode']=function(_0xa74f07,_0x36415f,_0x1dce85,_0x82389f){if(_0xa74f07 instanceof _0x50c11c||(_0xa74f07=_0x50c11c['create'](_0xa74f07)),void 0x0===_0x82389f&&(_0x82389f=0x0),_0x82389f>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2074e4=void 0x0===_0x36415f?_0xa74f07['len']:_0xa74f07['pos']+_0x36415f,_0x22a817=new _0x571a6c['KeyValueDescriptor']();_0xa74f07['pos']<_0x2074e4;){var _0x57a4ee=_0xa74f07['uint32']();if(_0x57a4ee===_0x1dce85)break;switch(_0x57a4ee>>>0x3){case 0x1:_0x22a817['key']=_0xa74f07['string']();break;case 0x2:_0x22a817['value']=_0xa74f07['string']();break;default:_0xa74f07['skipType'](0x7&_0x57a4ee,_0x82389f);}}return _0x22a817;},_0x464dc7['decodeDelimited']=function(_0x4198ce){return _0x4198ce instanceof _0x50c11c||(_0x4198ce=new _0x50c11c(_0x4198ce)),this['decode'](_0x4198ce,_0x4198ce['uint32']());},_0x464dc7['verify']=function(_0xc84f42,_0x23519e){return'object'!=typeof _0xc84f42||null===_0xc84f42?'object\x20expected':(void 0x0===_0x23519e&&(_0x23519e=0x0),_0x23519e>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xc84f42['key']&&_0xc84f42['hasOwnProperty']('key')&&!_0x155d72['isString'](_0xc84f42['key'])?'key:\x20string\x20expected':null!=_0xc84f42['value']&&_0xc84f42['hasOwnProperty']('value')&&!_0x155d72['isString'](_0xc84f42['value'])?'value:\x20string\x20expected':null);},_0x464dc7['fromObject']=function(_0x37a395,_0x3f587e){if(_0x37a395 instanceof _0x571a6c['KeyValueDescriptor'])return _0x37a395;if(void 0x0===_0x3f587e&&(_0x3f587e=0x0),_0x3f587e>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x436196=new _0x571a6c['KeyValueDescriptor']();return null!=_0x37a395['key']&&(_0x436196['key']=String(_0x37a395['key'])),null!=_0x37a395['value']&&(_0x436196['value']=String(_0x37a395['value'])),_0x436196;},_0x464dc7['toObject']=function(_0x325751,_0x4a2750){_0x4a2750||(_0x4a2750={});var _0x22bbf3={};return _0x4a2750['defaults']&&(_0x22bbf3['key']='',_0x22bbf3['value']=''),null!=_0x325751['key']&&_0x325751['hasOwnProperty']('key')&&(_0x22bbf3['key']=_0x325751['key']),null!=_0x325751['value']&&_0x325751['hasOwnProperty']('value')&&(_0x22bbf3['value']=_0x325751['value']),_0x22bbf3;},_0x464dc7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x464dc7['getTypeUrl']=function(_0x5d19e8){return void 0x0===_0x5d19e8&&(_0x5d19e8='type.googleapis.com'),_0x5d19e8+'/KeyValueDescriptor';},_0x464dc7;}()),_0x571a6c['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x7faa13(_0x4fac51){if(this['threads']=[],this['threadsV2']=[],_0x4fac51){for(var _0x3caebe=Object['keys'](_0x4fac51),_0x3a004a=0x0;_0x3a004a<_0x3caebe['length'];++_0x3a004a)null!=_0x4fac51[_0x3caebe[_0x3a004a]]&&'__proto__'!==_0x3caebe[_0x3a004a]&&(this[_0x3caebe[_0x3a004a]]=_0x4fac51[_0x3caebe[_0x3a004a]]);}}return _0x7faa13['prototype']['threads']=_0x155d72['emptyArray'],_0x7faa13['prototype']['threadsV2']=_0x155d72['emptyArray'],_0x7faa13['create']=function(_0x3a1e64){return new _0x7faa13(_0x3a1e64);},_0x7faa13['encode']=function(_0x412b33,_0x379dc7){if(_0x379dc7||(_0x379dc7=_0x352caa['create']()),null!=_0x412b33['threads']&&_0x412b33['threads']['length']){for(var _0x2554e1=0x0;_0x2554e1<_0x412b33['threads']['length'];++_0x2554e1)_0x379dc7['uint32'](0xa)['string'](_0x412b33['threads'][_0x2554e1]);}if(null!=_0x412b33['threadsV2']&&_0x412b33['threadsV2']['length']){for(_0x2554e1=0x0;_0x2554e1<_0x412b33['threadsV2']['length'];++_0x2554e1)_0x571a6c['CommentsThreadDescriptor']['encode'](_0x412b33['threadsV2'][_0x2554e1],_0x379dc7['uint32'](0x12)['fork']())['ldelim']();}return _0x379dc7;},_0x7faa13['encodeDelimited']=function(_0x10cb0e,_0x3764f2){return this['encode'](_0x10cb0e,_0x3764f2)['ldelim']();},_0x7faa13['decode']=function(_0x13d8af,_0x76bd83,_0x307216,_0x16c00e){if(_0x13d8af instanceof _0x50c11c||(_0x13d8af=_0x50c11c['create'](_0x13d8af)),void 0x0===_0x16c00e&&(_0x16c00e=0x0),_0x16c00e>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x10af6c=void 0x0===_0x76bd83?_0x13d8af['len']:_0x13d8af['pos']+_0x76bd83,_0x1620bf=new _0x571a6c['CommentsV2GetDocumentThreadsResponse']();_0x13d8af['pos']<_0x10af6c;){var _0x3fc2b1=_0x13d8af['uint32']();if(_0x3fc2b1===_0x307216)break;switch(_0x3fc2b1>>>0x3){case 0x1:_0x1620bf['threads']&&_0x1620bf['threads']['length']||(_0x1620bf['threads']=[]),_0x1620bf['threads']['push'](_0x13d8af['string']());break;case 0x2:_0x1620bf['threadsV2']&&_0x1620bf['threadsV2']['length']||(_0x1620bf['threadsV2']=[]),_0x1620bf['threadsV2']['push'](_0x571a6c['CommentsThreadDescriptor']['decode'](_0x13d8af,_0x13d8af['uint32'](),void 0x0,_0x16c00e+0x1));break;default:_0x13d8af['skipType'](0x7&_0x3fc2b1,_0x16c00e);}}return _0x1620bf;},_0x7faa13['decodeDelimited']=function(_0x39e9b2){return _0x39e9b2 instanceof _0x50c11c||(_0x39e9b2=new _0x50c11c(_0x39e9b2)),this['decode'](_0x39e9b2,_0x39e9b2['uint32']());},_0x7faa13['verify']=function(_0x27bb72,_0x34672f){if('object'!=typeof _0x27bb72||null===_0x27bb72)return'object\x20expected';if(void 0x0===_0x34672f&&(_0x34672f=0x0),_0x34672f>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x27bb72['threads']&&_0x27bb72['hasOwnProperty']('threads')){if(!Array['isArray'](_0x27bb72['threads']))return'threads:\x20array\x20expected';for(var _0x52b5a2=0x0;_0x52b5a2<_0x27bb72['threads']['length'];++_0x52b5a2)if(!_0x155d72['isString'](_0x27bb72['threads'][_0x52b5a2]))return'threads:\x20string[]\x20expected';}if(null!=_0x27bb72['threadsV2']&&_0x27bb72['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x27bb72['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x52b5a2=0x0;_0x52b5a2<_0x27bb72['threadsV2']['length'];++_0x52b5a2){var _0x4e65b4=_0x571a6c['CommentsThreadDescriptor']['verify'](_0x27bb72['threadsV2'][_0x52b5a2],_0x34672f+0x1);if(_0x4e65b4)return'threadsV2.'+_0x4e65b4;}}return null;},_0x7faa13['fromObject']=function(_0x26cc30,_0x41d8ea){if(_0x26cc30 instanceof _0x571a6c['CommentsV2GetDocumentThreadsResponse'])return _0x26cc30;if(void 0x0===_0x41d8ea&&(_0x41d8ea=0x0),_0x41d8ea>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ad58d=new _0x571a6c['CommentsV2GetDocumentThreadsResponse']();if(_0x26cc30['threads']){if(!Array['isArray'](_0x26cc30['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x4ad58d['threads']=[];for(var _0x458293=0x0;_0x458293<_0x26cc30['threads']['length'];++_0x458293)_0x4ad58d['threads'][_0x458293]=String(_0x26cc30['threads'][_0x458293]);}if(_0x26cc30['threadsV2']){if(!Array['isArray'](_0x26cc30['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x4ad58d['threadsV2']=[],_0x458293=0x0;_0x458293<_0x26cc30['threadsV2']['length'];++_0x458293){if('object'!=typeof _0x26cc30['threadsV2'][_0x458293])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x4ad58d['threadsV2'][_0x458293]=_0x571a6c['CommentsThreadDescriptor']['fromObject'](_0x26cc30['threadsV2'][_0x458293],_0x41d8ea+0x1);}}return _0x4ad58d;},_0x7faa13['toObject']=function(_0x3bd0b0,_0x2dad25){_0x2dad25||(_0x2dad25={});var _0x3bce33={};if((_0x2dad25['arrays']||_0x2dad25['defaults'])&&(_0x3bce33['threads']=[],_0x3bce33['threadsV2']=[]),_0x3bd0b0['threads']&&_0x3bd0b0['threads']['length']){_0x3bce33['threads']=[];for(var _0x447057=0x0;_0x447057<_0x3bd0b0['threads']['length'];++_0x447057)_0x3bce33['threads'][_0x447057]=_0x3bd0b0['threads'][_0x447057];}if(_0x3bd0b0['threadsV2']&&_0x3bd0b0['threadsV2']['length']){for(_0x3bce33['threadsV2']=[],_0x447057=0x0;_0x447057<_0x3bd0b0['threadsV2']['length'];++_0x447057)_0x3bce33['threadsV2'][_0x447057]=_0x571a6c['CommentsThreadDescriptor']['toObject'](_0x3bd0b0['threadsV2'][_0x447057],_0x2dad25);}return _0x3bce33;},_0x7faa13['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x7faa13['getTypeUrl']=function(_0x34a484){return void 0x0===_0x34a484&&(_0x34a484='type.googleapis.com'),_0x34a484+'/CommentsV2GetDocumentThreadsResponse';},_0x7faa13;}()),_0x571a6c['CommentsV2GetCommentThreadResponse']=(function(){function _0x52eeeb(_0x224d30){if(this['comments']=[],this['commentsV2']=[],_0x224d30){for(var _0x2b65e3=Object['keys'](_0x224d30),_0x289cf9=0x0;_0x289cf9<_0x2b65e3['length'];++_0x289cf9)null!=_0x224d30[_0x2b65e3[_0x289cf9]]&&'__proto__'!==_0x2b65e3[_0x289cf9]&&(this[_0x2b65e3[_0x289cf9]]=_0x224d30[_0x2b65e3[_0x289cf9]]);}}return _0x52eeeb['prototype']['commentThreadId']='',_0x52eeeb['prototype']['comments']=_0x155d72['emptyArray'],_0x52eeeb['prototype']['commentsV2']=_0x155d72['emptyArray'],_0x52eeeb['prototype']['resolvedAt']='',_0x52eeeb['prototype']['resolvedBy']='',_0x52eeeb['prototype']['context']='',_0x52eeeb['prototype']['createdAt']='',_0x52eeeb['prototype']['deletedAt']='',_0x52eeeb['prototype']['attributes']='',_0x52eeeb['prototype']['unlinkedAt']='',_0x52eeeb['create']=function(_0x297886){return new _0x52eeeb(_0x297886);},_0x52eeeb['encode']=function(_0x595e56,_0x53a0d7){if(_0x53a0d7||(_0x53a0d7=_0x352caa['create']()),null!=_0x595e56['commentThreadId']&&Object['hasOwnProperty']['call'](_0x595e56,'commentThreadId')&&_0x53a0d7['uint32'](0xa)['string'](_0x595e56['commentThreadId']),null!=_0x595e56['comments']&&_0x595e56['comments']['length']){for(var _0x17e46e=0x0;_0x17e46e<_0x595e56['comments']['length'];++_0x17e46e)_0x53a0d7['uint32'](0x12)['string'](_0x595e56['comments'][_0x17e46e]);}if(null!=_0x595e56['commentsV2']&&_0x595e56['commentsV2']['length']){for(_0x17e46e=0x0;_0x17e46e<_0x595e56['commentsV2']['length'];++_0x17e46e)_0x571a6c['CommentDescriptor']['encode'](_0x595e56['commentsV2'][_0x17e46e],_0x53a0d7['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x595e56['resolvedAt']&&Object['hasOwnProperty']['call'](_0x595e56,'resolvedAt')&&_0x53a0d7['uint32'](0x22)['string'](_0x595e56['resolvedAt']),null!=_0x595e56['resolvedBy']&&Object['hasOwnProperty']['call'](_0x595e56,'resolvedBy')&&_0x53a0d7['uint32'](0x2a)['string'](_0x595e56['resolvedBy']),null!=_0x595e56['context']&&Object['hasOwnProperty']['call'](_0x595e56,'context')&&_0x53a0d7['uint32'](0x32)['string'](_0x595e56['context']),null!=_0x595e56['createdAt']&&Object['hasOwnProperty']['call'](_0x595e56,'createdAt')&&_0x53a0d7['uint32'](0x3a)['string'](_0x595e56['createdAt']),null!=_0x595e56['deletedAt']&&Object['hasOwnProperty']['call'](_0x595e56,'deletedAt')&&_0x53a0d7['uint32'](0x42)['string'](_0x595e56['deletedAt']),null!=_0x595e56['attributes']&&Object['hasOwnProperty']['call'](_0x595e56,'attributes')&&_0x53a0d7['uint32'](0x4a)['string'](_0x595e56['attributes']),null!=_0x595e56['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x595e56,'unlinkedAt')&&_0x53a0d7['uint32'](0x52)['string'](_0x595e56['unlinkedAt']),_0x53a0d7;},_0x52eeeb['encodeDelimited']=function(_0xf019a9,_0xef2f9d){return this['encode'](_0xf019a9,_0xef2f9d)['ldelim']();},_0x52eeeb['decode']=function(_0x2ac8a6,_0x1e0469,_0xe0fc2b,_0x29e332){if(_0x2ac8a6 instanceof _0x50c11c||(_0x2ac8a6=_0x50c11c['create'](_0x2ac8a6)),void 0x0===_0x29e332&&(_0x29e332=0x0),_0x29e332>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3173a8=void 0x0===_0x1e0469?_0x2ac8a6['len']:_0x2ac8a6['pos']+_0x1e0469,_0x3398ba=new _0x571a6c['CommentsV2GetCommentThreadResponse']();_0x2ac8a6['pos']<_0x3173a8;){var _0x52671c=_0x2ac8a6['uint32']();if(_0x52671c===_0xe0fc2b)break;switch(_0x52671c>>>0x3){case 0x1:_0x3398ba['commentThreadId']=_0x2ac8a6['string']();break;case 0x2:_0x3398ba['comments']&&_0x3398ba['comments']['length']||(_0x3398ba['comments']=[]),_0x3398ba['comments']['push'](_0x2ac8a6['string']());break;case 0x3:_0x3398ba['commentsV2']&&_0x3398ba['commentsV2']['length']||(_0x3398ba['commentsV2']=[]),_0x3398ba['commentsV2']['push'](_0x571a6c['CommentDescriptor']['decode'](_0x2ac8a6,_0x2ac8a6['uint32'](),void 0x0,_0x29e332+0x1));break;case 0x4:_0x3398ba['resolvedAt']=_0x2ac8a6['string']();break;case 0x5:_0x3398ba['resolvedBy']=_0x2ac8a6['string']();break;case 0x6:_0x3398ba['context']=_0x2ac8a6['string']();break;case 0x7:_0x3398ba['createdAt']=_0x2ac8a6['string']();break;case 0x8:_0x3398ba['deletedAt']=_0x2ac8a6['string']();break;case 0x9:_0x3398ba['attributes']=_0x2ac8a6['string']();break;case 0xa:_0x3398ba['unlinkedAt']=_0x2ac8a6['string']();break;default:_0x2ac8a6['skipType'](0x7&_0x52671c,_0x29e332);}}return _0x3398ba;},_0x52eeeb['decodeDelimited']=function(_0x2da275){return _0x2da275 instanceof _0x50c11c||(_0x2da275=new _0x50c11c(_0x2da275)),this['decode'](_0x2da275,_0x2da275['uint32']());},_0x52eeeb['verify']=function(_0x54f338,_0x18a594){if('object'!=typeof _0x54f338||null===_0x54f338)return'object\x20expected';if(void 0x0===_0x18a594&&(_0x18a594=0x0),_0x18a594>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x54f338['commentThreadId']&&_0x54f338['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x54f338['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x54f338['comments']&&_0x54f338['hasOwnProperty']('comments')){if(!Array['isArray'](_0x54f338['comments']))return'comments:\x20array\x20expected';for(var _0x72122f=0x0;_0x72122f<_0x54f338['comments']['length'];++_0x72122f)if(!_0x155d72['isString'](_0x54f338['comments'][_0x72122f]))return'comments:\x20string[]\x20expected';}if(null!=_0x54f338['commentsV2']&&_0x54f338['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x54f338['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x72122f=0x0;_0x72122f<_0x54f338['commentsV2']['length'];++_0x72122f){var _0x2e9fbf=_0x571a6c['CommentDescriptor']['verify'](_0x54f338['commentsV2'][_0x72122f],_0x18a594+0x1);if(_0x2e9fbf)return'commentsV2.'+_0x2e9fbf;}}return null!=_0x54f338['resolvedAt']&&_0x54f338['hasOwnProperty']('resolvedAt')&&!_0x155d72['isString'](_0x54f338['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x54f338['resolvedBy']&&_0x54f338['hasOwnProperty']('resolvedBy')&&!_0x155d72['isString'](_0x54f338['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x54f338['context']&&_0x54f338['hasOwnProperty']('context')&&!_0x155d72['isString'](_0x54f338['context'])?'context:\x20string\x20expected':null!=_0x54f338['createdAt']&&_0x54f338['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x54f338['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x54f338['deletedAt']&&_0x54f338['hasOwnProperty']('deletedAt')&&!_0x155d72['isString'](_0x54f338['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x54f338['attributes']&&_0x54f338['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x54f338['attributes'])?'attributes:\x20string\x20expected':null!=_0x54f338['unlinkedAt']&&_0x54f338['hasOwnProperty']('unlinkedAt')&&!_0x155d72['isString'](_0x54f338['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x52eeeb['fromObject']=function(_0x3394f2,_0x347e59){if(_0x3394f2 instanceof _0x571a6c['CommentsV2GetCommentThreadResponse'])return _0x3394f2;if(void 0x0===_0x347e59&&(_0x347e59=0x0),_0x347e59>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x8395e5=new _0x571a6c['CommentsV2GetCommentThreadResponse']();if(null!=_0x3394f2['commentThreadId']&&(_0x8395e5['commentThreadId']=String(_0x3394f2['commentThreadId'])),_0x3394f2['comments']){if(!Array['isArray'](_0x3394f2['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x8395e5['comments']=[];for(var _0x28a3bc=0x0;_0x28a3bc<_0x3394f2['comments']['length'];++_0x28a3bc)_0x8395e5['comments'][_0x28a3bc]=String(_0x3394f2['comments'][_0x28a3bc]);}if(_0x3394f2['commentsV2']){if(!Array['isArray'](_0x3394f2['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x8395e5['commentsV2']=[],_0x28a3bc=0x0;_0x28a3bc<_0x3394f2['commentsV2']['length'];++_0x28a3bc){if('object'!=typeof _0x3394f2['commentsV2'][_0x28a3bc])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x8395e5['commentsV2'][_0x28a3bc]=_0x571a6c['CommentDescriptor']['fromObject'](_0x3394f2['commentsV2'][_0x28a3bc],_0x347e59+0x1);}}return null!=_0x3394f2['resolvedAt']&&(_0x8395e5['resolvedAt']=String(_0x3394f2['resolvedAt'])),null!=_0x3394f2['resolvedBy']&&(_0x8395e5['resolvedBy']=String(_0x3394f2['resolvedBy'])),null!=_0x3394f2['context']&&(_0x8395e5['context']=String(_0x3394f2['context'])),null!=_0x3394f2['createdAt']&&(_0x8395e5['createdAt']=String(_0x3394f2['createdAt'])),null!=_0x3394f2['deletedAt']&&(_0x8395e5['deletedAt']=String(_0x3394f2['deletedAt'])),null!=_0x3394f2['attributes']&&(_0x8395e5['attributes']=String(_0x3394f2['attributes'])),null!=_0x3394f2['unlinkedAt']&&(_0x8395e5['unlinkedAt']=String(_0x3394f2['unlinkedAt'])),_0x8395e5;},_0x52eeeb['toObject']=function(_0x4f9ff2,_0x202bb0){_0x202bb0||(_0x202bb0={});var _0x4aac0f={};if((_0x202bb0['arrays']||_0x202bb0['defaults'])&&(_0x4aac0f['comments']=[],_0x4aac0f['commentsV2']=[]),_0x202bb0['defaults']&&(_0x4aac0f['commentThreadId']='',_0x4aac0f['resolvedAt']='',_0x4aac0f['resolvedBy']='',_0x4aac0f['context']='',_0x4aac0f['createdAt']='',_0x4aac0f['deletedAt']='',_0x4aac0f['attributes']='',_0x4aac0f['unlinkedAt']=''),null!=_0x4f9ff2['commentThreadId']&&_0x4f9ff2['hasOwnProperty']('commentThreadId')&&(_0x4aac0f['commentThreadId']=_0x4f9ff2['commentThreadId']),_0x4f9ff2['comments']&&_0x4f9ff2['comments']['length']){_0x4aac0f['comments']=[];for(var _0x2bb53b=0x0;_0x2bb53b<_0x4f9ff2['comments']['length'];++_0x2bb53b)_0x4aac0f['comments'][_0x2bb53b]=_0x4f9ff2['comments'][_0x2bb53b];}if(_0x4f9ff2['commentsV2']&&_0x4f9ff2['commentsV2']['length']){for(_0x4aac0f['commentsV2']=[],_0x2bb53b=0x0;_0x2bb53b<_0x4f9ff2['commentsV2']['length'];++_0x2bb53b)_0x4aac0f['commentsV2'][_0x2bb53b]=_0x571a6c['CommentDescriptor']['toObject'](_0x4f9ff2['commentsV2'][_0x2bb53b],_0x202bb0);}return null!=_0x4f9ff2['resolvedAt']&&_0x4f9ff2['hasOwnProperty']('resolvedAt')&&(_0x4aac0f['resolvedAt']=_0x4f9ff2['resolvedAt']),null!=_0x4f9ff2['resolvedBy']&&_0x4f9ff2['hasOwnProperty']('resolvedBy')&&(_0x4aac0f['resolvedBy']=_0x4f9ff2['resolvedBy']),null!=_0x4f9ff2['context']&&_0x4f9ff2['hasOwnProperty']('context')&&(_0x4aac0f['context']=_0x4f9ff2['context']),null!=_0x4f9ff2['createdAt']&&_0x4f9ff2['hasOwnProperty']('createdAt')&&(_0x4aac0f['createdAt']=_0x4f9ff2['createdAt']),null!=_0x4f9ff2['deletedAt']&&_0x4f9ff2['hasOwnProperty']('deletedAt')&&(_0x4aac0f['deletedAt']=_0x4f9ff2['deletedAt']),null!=_0x4f9ff2['attributes']&&_0x4f9ff2['hasOwnProperty']('attributes')&&(_0x4aac0f['attributes']=_0x4f9ff2['attributes']),null!=_0x4f9ff2['unlinkedAt']&&_0x4f9ff2['hasOwnProperty']('unlinkedAt')&&(_0x4aac0f['unlinkedAt']=_0x4f9ff2['unlinkedAt']),_0x4aac0f;},_0x52eeeb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x52eeeb['getTypeUrl']=function(_0x457c16){return void 0x0===_0x457c16&&(_0x457c16='type.googleapis.com'),_0x457c16+'/CommentsV2GetCommentThreadResponse';},_0x52eeeb;}()),_0x571a6c['CommentsV2ConnectResponse']=(function(){function _0x241952(_0x4ce4c4){if(this['threads']=[],this['threadsV2']=[],_0x4ce4c4){for(var _0x50b3ed=Object['keys'](_0x4ce4c4),_0x53b882=0x0;_0x53b882<_0x50b3ed['length'];++_0x53b882)null!=_0x4ce4c4[_0x50b3ed[_0x53b882]]&&'__proto__'!==_0x50b3ed[_0x53b882]&&(this[_0x50b3ed[_0x53b882]]=_0x4ce4c4[_0x50b3ed[_0x53b882]]);}}return _0x241952['prototype']['channel']='',_0x241952['prototype']['threads']=_0x155d72['emptyArray'],_0x241952['prototype']['threadsV2']=_0x155d72['emptyArray'],_0x241952['create']=function(_0x65c233){return new _0x241952(_0x65c233);},_0x241952['encode']=function(_0x96757,_0x576dca){if(_0x576dca||(_0x576dca=_0x352caa['create']()),null!=_0x96757['channel']&&Object['hasOwnProperty']['call'](_0x96757,'channel')&&_0x576dca['uint32'](0xa)['string'](_0x96757['channel']),null!=_0x96757['threads']&&_0x96757['threads']['length']){for(var _0x4d8965=0x0;_0x4d8965<_0x96757['threads']['length'];++_0x4d8965)_0x576dca['uint32'](0x12)['string'](_0x96757['threads'][_0x4d8965]);}if(null!=_0x96757['threadsV2']&&_0x96757['threadsV2']['length']){for(_0x4d8965=0x0;_0x4d8965<_0x96757['threadsV2']['length'];++_0x4d8965)_0x571a6c['CommentsThreadDescriptor']['encode'](_0x96757['threadsV2'][_0x4d8965],_0x576dca['uint32'](0x1a)['fork']())['ldelim']();}return _0x576dca;},_0x241952['encodeDelimited']=function(_0x335292,_0x21c9f6){return this['encode'](_0x335292,_0x21c9f6)['ldelim']();},_0x241952['decode']=function(_0x4affd9,_0x744d82,_0x30b48f,_0x315b35){if(_0x4affd9 instanceof _0x50c11c||(_0x4affd9=_0x50c11c['create'](_0x4affd9)),void 0x0===_0x315b35&&(_0x315b35=0x0),_0x315b35>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x57e934=void 0x0===_0x744d82?_0x4affd9['len']:_0x4affd9['pos']+_0x744d82,_0x5530d0=new _0x571a6c['CommentsV2ConnectResponse']();_0x4affd9['pos']<_0x57e934;){var _0x2f90de=_0x4affd9['uint32']();if(_0x2f90de===_0x30b48f)break;switch(_0x2f90de>>>0x3){case 0x1:_0x5530d0['channel']=_0x4affd9['string']();break;case 0x2:_0x5530d0['threads']&&_0x5530d0['threads']['length']||(_0x5530d0['threads']=[]),_0x5530d0['threads']['push'](_0x4affd9['string']());break;case 0x3:_0x5530d0['threadsV2']&&_0x5530d0['threadsV2']['length']||(_0x5530d0['threadsV2']=[]),_0x5530d0['threadsV2']['push'](_0x571a6c['CommentsThreadDescriptor']['decode'](_0x4affd9,_0x4affd9['uint32'](),void 0x0,_0x315b35+0x1));break;default:_0x4affd9['skipType'](0x7&_0x2f90de,_0x315b35);}}return _0x5530d0;},_0x241952['decodeDelimited']=function(_0x25d187){return _0x25d187 instanceof _0x50c11c||(_0x25d187=new _0x50c11c(_0x25d187)),this['decode'](_0x25d187,_0x25d187['uint32']());},_0x241952['verify']=function(_0x2c1d7d,_0xe12601){if('object'!=typeof _0x2c1d7d||null===_0x2c1d7d)return'object\x20expected';if(void 0x0===_0xe12601&&(_0xe12601=0x0),_0xe12601>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2c1d7d['channel']&&_0x2c1d7d['hasOwnProperty']('channel')&&!_0x155d72['isString'](_0x2c1d7d['channel']))return'channel:\x20string\x20expected';if(null!=_0x2c1d7d['threads']&&_0x2c1d7d['hasOwnProperty']('threads')){if(!Array['isArray'](_0x2c1d7d['threads']))return'threads:\x20array\x20expected';for(var _0xb6a2e2=0x0;_0xb6a2e2<_0x2c1d7d['threads']['length'];++_0xb6a2e2)if(!_0x155d72['isString'](_0x2c1d7d['threads'][_0xb6a2e2]))return'threads:\x20string[]\x20expected';}if(null!=_0x2c1d7d['threadsV2']&&_0x2c1d7d['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x2c1d7d['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0xb6a2e2=0x0;_0xb6a2e2<_0x2c1d7d['threadsV2']['length'];++_0xb6a2e2){var _0x24c62a=_0x571a6c['CommentsThreadDescriptor']['verify'](_0x2c1d7d['threadsV2'][_0xb6a2e2],_0xe12601+0x1);if(_0x24c62a)return'threadsV2.'+_0x24c62a;}}return null;},_0x241952['fromObject']=function(_0x18d1b8,_0x149f4f){if(_0x18d1b8 instanceof _0x571a6c['CommentsV2ConnectResponse'])return _0x18d1b8;if(void 0x0===_0x149f4f&&(_0x149f4f=0x0),_0x149f4f>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x19d389=new _0x571a6c['CommentsV2ConnectResponse']();if(null!=_0x18d1b8['channel']&&(_0x19d389['channel']=String(_0x18d1b8['channel'])),_0x18d1b8['threads']){if(!Array['isArray'](_0x18d1b8['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x19d389['threads']=[];for(var _0x1f95bc=0x0;_0x1f95bc<_0x18d1b8['threads']['length'];++_0x1f95bc)_0x19d389['threads'][_0x1f95bc]=String(_0x18d1b8['threads'][_0x1f95bc]);}if(_0x18d1b8['threadsV2']){if(!Array['isArray'](_0x18d1b8['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x19d389['threadsV2']=[],_0x1f95bc=0x0;_0x1f95bc<_0x18d1b8['threadsV2']['length'];++_0x1f95bc){if('object'!=typeof _0x18d1b8['threadsV2'][_0x1f95bc])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x19d389['threadsV2'][_0x1f95bc]=_0x571a6c['CommentsThreadDescriptor']['fromObject'](_0x18d1b8['threadsV2'][_0x1f95bc],_0x149f4f+0x1);}}return _0x19d389;},_0x241952['toObject']=function(_0x12386c,_0x5e2b87){_0x5e2b87||(_0x5e2b87={});var _0x299023={};if((_0x5e2b87['arrays']||_0x5e2b87['defaults'])&&(_0x299023['threads']=[],_0x299023['threadsV2']=[]),_0x5e2b87['defaults']&&(_0x299023['channel']=''),null!=_0x12386c['channel']&&_0x12386c['hasOwnProperty']('channel')&&(_0x299023['channel']=_0x12386c['channel']),_0x12386c['threads']&&_0x12386c['threads']['length']){_0x299023['threads']=[];for(var _0x5dfa07=0x0;_0x5dfa07<_0x12386c['threads']['length'];++_0x5dfa07)_0x299023['threads'][_0x5dfa07]=_0x12386c['threads'][_0x5dfa07];}if(_0x12386c['threadsV2']&&_0x12386c['threadsV2']['length']){for(_0x299023['threadsV2']=[],_0x5dfa07=0x0;_0x5dfa07<_0x12386c['threadsV2']['length'];++_0x5dfa07)_0x299023['threadsV2'][_0x5dfa07]=_0x571a6c['CommentsThreadDescriptor']['toObject'](_0x12386c['threadsV2'][_0x5dfa07],_0x5e2b87);}return _0x299023;},_0x241952['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x241952['getTypeUrl']=function(_0x381797){return void 0x0===_0x381797&&(_0x381797='type.googleapis.com'),_0x381797+'/CommentsV2ConnectResponse';},_0x241952;}()),_0x571a6c['CommentsV2AddCommentResponse']=(function(){function _0x2b7d19(_0x1d8364){if(_0x1d8364){for(var _0x44358b=Object['keys'](_0x1d8364),_0x2abb29=0x0;_0x2abb29<_0x44358b['length'];++_0x2abb29)null!=_0x1d8364[_0x44358b[_0x2abb29]]&&'__proto__'!==_0x44358b[_0x2abb29]&&(this[_0x44358b[_0x2abb29]]=_0x1d8364[_0x44358b[_0x2abb29]]);}}return _0x2b7d19['prototype']['commentThreadId']='',_0x2b7d19['prototype']['commentId']='',_0x2b7d19['prototype']['createdAt']='',_0x2b7d19['create']=function(_0x4d0546){return new _0x2b7d19(_0x4d0546);},_0x2b7d19['encode']=function(_0x32e649,_0x83f56c){return _0x83f56c||(_0x83f56c=_0x352caa['create']()),null!=_0x32e649['commentThreadId']&&Object['hasOwnProperty']['call'](_0x32e649,'commentThreadId')&&_0x83f56c['uint32'](0xa)['string'](_0x32e649['commentThreadId']),null!=_0x32e649['commentId']&&Object['hasOwnProperty']['call'](_0x32e649,'commentId')&&_0x83f56c['uint32'](0x12)['string'](_0x32e649['commentId']),null!=_0x32e649['createdAt']&&Object['hasOwnProperty']['call'](_0x32e649,'createdAt')&&_0x83f56c['uint32'](0x1a)['string'](_0x32e649['createdAt']),_0x83f56c;},_0x2b7d19['encodeDelimited']=function(_0x47bc0d,_0x337634){return this['encode'](_0x47bc0d,_0x337634)['ldelim']();},_0x2b7d19['decode']=function(_0x1a8d66,_0x160f9a,_0x1ffd5b,_0x40c3bf){if(_0x1a8d66 instanceof _0x50c11c||(_0x1a8d66=_0x50c11c['create'](_0x1a8d66)),void 0x0===_0x40c3bf&&(_0x40c3bf=0x0),_0x40c3bf>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d30dd=void 0x0===_0x160f9a?_0x1a8d66['len']:_0x1a8d66['pos']+_0x160f9a,_0x4903ef=new _0x571a6c['CommentsV2AddCommentResponse']();_0x1a8d66['pos']<_0x5d30dd;){var _0x5ef692=_0x1a8d66['uint32']();if(_0x5ef692===_0x1ffd5b)break;switch(_0x5ef692>>>0x3){case 0x1:_0x4903ef['commentThreadId']=_0x1a8d66['string']();break;case 0x2:_0x4903ef['commentId']=_0x1a8d66['string']();break;case 0x3:_0x4903ef['createdAt']=_0x1a8d66['string']();break;default:_0x1a8d66['skipType'](0x7&_0x5ef692,_0x40c3bf);}}return _0x4903ef;},_0x2b7d19['decodeDelimited']=function(_0x24ce36){return _0x24ce36 instanceof _0x50c11c||(_0x24ce36=new _0x50c11c(_0x24ce36)),this['decode'](_0x24ce36,_0x24ce36['uint32']());},_0x2b7d19['verify']=function(_0x4b408e,_0x46ec50){return'object'!=typeof _0x4b408e||null===_0x4b408e?'object\x20expected':(void 0x0===_0x46ec50&&(_0x46ec50=0x0),_0x46ec50>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4b408e['commentThreadId']&&_0x4b408e['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x4b408e['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4b408e['commentId']&&_0x4b408e['hasOwnProperty']('commentId')&&!_0x155d72['isString'](_0x4b408e['commentId'])?'commentId:\x20string\x20expected':null!=_0x4b408e['createdAt']&&_0x4b408e['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x4b408e['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x2b7d19['fromObject']=function(_0x47b045,_0x107fca){if(_0x47b045 instanceof _0x571a6c['CommentsV2AddCommentResponse'])return _0x47b045;if(void 0x0===_0x107fca&&(_0x107fca=0x0),_0x107fca>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3ce898=new _0x571a6c['CommentsV2AddCommentResponse']();return null!=_0x47b045['commentThreadId']&&(_0x3ce898['commentThreadId']=String(_0x47b045['commentThreadId'])),null!=_0x47b045['commentId']&&(_0x3ce898['commentId']=String(_0x47b045['commentId'])),null!=_0x47b045['createdAt']&&(_0x3ce898['createdAt']=String(_0x47b045['createdAt'])),_0x3ce898;},_0x2b7d19['toObject']=function(_0xa1cfd4,_0x3a3a5e){_0x3a3a5e||(_0x3a3a5e={});var _0x15bea6={};return _0x3a3a5e['defaults']&&(_0x15bea6['commentThreadId']='',_0x15bea6['commentId']='',_0x15bea6['createdAt']=''),null!=_0xa1cfd4['commentThreadId']&&_0xa1cfd4['hasOwnProperty']('commentThreadId')&&(_0x15bea6['commentThreadId']=_0xa1cfd4['commentThreadId']),null!=_0xa1cfd4['commentId']&&_0xa1cfd4['hasOwnProperty']('commentId')&&(_0x15bea6['commentId']=_0xa1cfd4['commentId']),null!=_0xa1cfd4['createdAt']&&_0xa1cfd4['hasOwnProperty']('createdAt')&&(_0x15bea6['createdAt']=_0xa1cfd4['createdAt']),_0x15bea6;},_0x2b7d19['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x2b7d19['getTypeUrl']=function(_0x28a9d1){return void 0x0===_0x28a9d1&&(_0x28a9d1='type.googleapis.com'),_0x28a9d1+'/CommentsV2AddCommentResponse';},_0x2b7d19;}()),_0x571a6c['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x5328e3(_0x17c411){if(_0x17c411){for(var _0x4ca505=Object['keys'](_0x17c411),_0x326f37=0x0;_0x326f37<_0x4ca505['length'];++_0x326f37)null!=_0x17c411[_0x4ca505[_0x326f37]]&&'__proto__'!==_0x4ca505[_0x326f37]&&(this[_0x4ca505[_0x326f37]]=_0x17c411[_0x4ca505[_0x326f37]]);}}return _0x5328e3['prototype']['commentThreadId']='',_0x5328e3['prototype']['documentId']='',_0x5328e3['prototype']['resolvedAt']='',_0x5328e3['prototype']['resolvedBy']='',_0x5328e3['create']=function(_0x1663e7){return new _0x5328e3(_0x1663e7);},_0x5328e3['encode']=function(_0x5694a2,_0x12e6e5){return _0x12e6e5||(_0x12e6e5=_0x352caa['create']()),null!=_0x5694a2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5694a2,'commentThreadId')&&_0x12e6e5['uint32'](0xa)['string'](_0x5694a2['commentThreadId']),null!=_0x5694a2['documentId']&&Object['hasOwnProperty']['call'](_0x5694a2,'documentId')&&_0x12e6e5['uint32'](0x12)['string'](_0x5694a2['documentId']),null!=_0x5694a2['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5694a2,'resolvedAt')&&_0x12e6e5['uint32'](0x1a)['string'](_0x5694a2['resolvedAt']),null!=_0x5694a2['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5694a2,'resolvedBy')&&_0x12e6e5['uint32'](0x22)['string'](_0x5694a2['resolvedBy']),_0x12e6e5;},_0x5328e3['encodeDelimited']=function(_0x411d0c,_0x38b386){return this['encode'](_0x411d0c,_0x38b386)['ldelim']();},_0x5328e3['decode']=function(_0x3e64fc,_0x51005e,_0x367b05,_0x536cfe){if(_0x3e64fc instanceof _0x50c11c||(_0x3e64fc=_0x50c11c['create'](_0x3e64fc)),void 0x0===_0x536cfe&&(_0x536cfe=0x0),_0x536cfe>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x346c93=void 0x0===_0x51005e?_0x3e64fc['len']:_0x3e64fc['pos']+_0x51005e,_0x178dc1=new _0x571a6c['CommentsV2ResolveCommentThreadResponse']();_0x3e64fc['pos']<_0x346c93;){var _0x4589cd=_0x3e64fc['uint32']();if(_0x4589cd===_0x367b05)break;switch(_0x4589cd>>>0x3){case 0x1:_0x178dc1['commentThreadId']=_0x3e64fc['string']();break;case 0x2:_0x178dc1['documentId']=_0x3e64fc['string']();break;case 0x3:_0x178dc1['resolvedAt']=_0x3e64fc['string']();break;case 0x4:_0x178dc1['resolvedBy']=_0x3e64fc['string']();break;default:_0x3e64fc['skipType'](0x7&_0x4589cd,_0x536cfe);}}return _0x178dc1;},_0x5328e3['decodeDelimited']=function(_0x116d4a){return _0x116d4a instanceof _0x50c11c||(_0x116d4a=new _0x50c11c(_0x116d4a)),this['decode'](_0x116d4a,_0x116d4a['uint32']());},_0x5328e3['verify']=function(_0x2f7f90,_0x5de851){return'object'!=typeof _0x2f7f90||null===_0x2f7f90?'object\x20expected':(void 0x0===_0x5de851&&(_0x5de851=0x0),_0x5de851>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2f7f90['commentThreadId']&&_0x2f7f90['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x2f7f90['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x2f7f90['documentId']&&_0x2f7f90['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x2f7f90['documentId'])?'documentId:\x20string\x20expected':null!=_0x2f7f90['resolvedAt']&&_0x2f7f90['hasOwnProperty']('resolvedAt')&&!_0x155d72['isString'](_0x2f7f90['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x2f7f90['resolvedBy']&&_0x2f7f90['hasOwnProperty']('resolvedBy')&&!_0x155d72['isString'](_0x2f7f90['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},_0x5328e3['fromObject']=function(_0x5319d1,_0x2aef2e){if(_0x5319d1 instanceof _0x571a6c['CommentsV2ResolveCommentThreadResponse'])return _0x5319d1;if(void 0x0===_0x2aef2e&&(_0x2aef2e=0x0),_0x2aef2e>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e16d7=new _0x571a6c['CommentsV2ResolveCommentThreadResponse']();return null!=_0x5319d1['commentThreadId']&&(_0x5e16d7['commentThreadId']=String(_0x5319d1['commentThreadId'])),null!=_0x5319d1['documentId']&&(_0x5e16d7['documentId']=String(_0x5319d1['documentId'])),null!=_0x5319d1['resolvedAt']&&(_0x5e16d7['resolvedAt']=String(_0x5319d1['resolvedAt'])),null!=_0x5319d1['resolvedBy']&&(_0x5e16d7['resolvedBy']=String(_0x5319d1['resolvedBy'])),_0x5e16d7;},_0x5328e3['toObject']=function(_0x5ab419,_0x4b4dd8){_0x4b4dd8||(_0x4b4dd8={});var _0x66213c={};return _0x4b4dd8['defaults']&&(_0x66213c['commentThreadId']='',_0x66213c['documentId']='',_0x66213c['resolvedAt']='',_0x66213c['resolvedBy']=''),null!=_0x5ab419['commentThreadId']&&_0x5ab419['hasOwnProperty']('commentThreadId')&&(_0x66213c['commentThreadId']=_0x5ab419['commentThreadId']),null!=_0x5ab419['documentId']&&_0x5ab419['hasOwnProperty']('documentId')&&(_0x66213c['documentId']=_0x5ab419['documentId']),null!=_0x5ab419['resolvedAt']&&_0x5ab419['hasOwnProperty']('resolvedAt')&&(_0x66213c['resolvedAt']=_0x5ab419['resolvedAt']),null!=_0x5ab419['resolvedBy']&&_0x5ab419['hasOwnProperty']('resolvedBy')&&(_0x66213c['resolvedBy']=_0x5ab419['resolvedBy']),_0x66213c;},_0x5328e3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5328e3['getTypeUrl']=function(_0x5a9ec1){return void 0x0===_0x5a9ec1&&(_0x5a9ec1='type.googleapis.com'),_0x5a9ec1+'/CommentsV2ResolveCommentThreadResponse';},_0x5328e3;}()),_0x571a6c['CommentsV2AddCommentThreadResponse']=(function(){function _0x5c4e81(_0xa9081f){if(this['comments']=[],_0xa9081f){for(var _0x15e39a=Object['keys'](_0xa9081f),_0x5630dd=0x0;_0x5630dd<_0x15e39a['length'];++_0x5630dd)null!=_0xa9081f[_0x15e39a[_0x5630dd]]&&'__proto__'!==_0x15e39a[_0x5630dd]&&(this[_0x15e39a[_0x5630dd]]=_0xa9081f[_0x15e39a[_0x5630dd]]);}}return _0x5c4e81['prototype']['commentThreadId']='',_0x5c4e81['prototype']['createdAt']='',_0x5c4e81['prototype']['comments']=_0x155d72['emptyArray'],_0x5c4e81['create']=function(_0x55077d){return new _0x5c4e81(_0x55077d);},_0x5c4e81['encode']=function(_0x49c424,_0x4eac8d){if(_0x4eac8d||(_0x4eac8d=_0x352caa['create']()),null!=_0x49c424['commentThreadId']&&Object['hasOwnProperty']['call'](_0x49c424,'commentThreadId')&&_0x4eac8d['uint32'](0xa)['string'](_0x49c424['commentThreadId']),null!=_0x49c424['createdAt']&&Object['hasOwnProperty']['call'](_0x49c424,'createdAt')&&_0x4eac8d['uint32'](0x12)['string'](_0x49c424['createdAt']),null!=_0x49c424['comments']&&_0x49c424['comments']['length']){for(var _0x1b41f6=0x0;_0x1b41f6<_0x49c424['comments']['length'];++_0x1b41f6)_0x571a6c['CommentThreadAddedCommentDescriptor']['encode'](_0x49c424['comments'][_0x1b41f6],_0x4eac8d['uint32'](0x1a)['fork']())['ldelim']();}return _0x4eac8d;},_0x5c4e81['encodeDelimited']=function(_0x3ac270,_0x2da13d){return this['encode'](_0x3ac270,_0x2da13d)['ldelim']();},_0x5c4e81['decode']=function(_0x4c3503,_0x5d2565,_0x5a134b,_0x2e6bda){if(_0x4c3503 instanceof _0x50c11c||(_0x4c3503=_0x50c11c['create'](_0x4c3503)),void 0x0===_0x2e6bda&&(_0x2e6bda=0x0),_0x2e6bda>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x6272b8=void 0x0===_0x5d2565?_0x4c3503['len']:_0x4c3503['pos']+_0x5d2565,_0x575a56=new _0x571a6c['CommentsV2AddCommentThreadResponse']();_0x4c3503['pos']<_0x6272b8;){var _0x3b85b8=_0x4c3503['uint32']();if(_0x3b85b8===_0x5a134b)break;switch(_0x3b85b8>>>0x3){case 0x1:_0x575a56['commentThreadId']=_0x4c3503['string']();break;case 0x2:_0x575a56['createdAt']=_0x4c3503['string']();break;case 0x3:_0x575a56['comments']&&_0x575a56['comments']['length']||(_0x575a56['comments']=[]),_0x575a56['comments']['push'](_0x571a6c['CommentThreadAddedCommentDescriptor']['decode'](_0x4c3503,_0x4c3503['uint32'](),void 0x0,_0x2e6bda+0x1));break;default:_0x4c3503['skipType'](0x7&_0x3b85b8,_0x2e6bda);}}return _0x575a56;},_0x5c4e81['decodeDelimited']=function(_0x68eff5){return _0x68eff5 instanceof _0x50c11c||(_0x68eff5=new _0x50c11c(_0x68eff5)),this['decode'](_0x68eff5,_0x68eff5['uint32']());},_0x5c4e81['verify']=function(_0x57bae2,_0x33fda1){if('object'!=typeof _0x57bae2||null===_0x57bae2)return'object\x20expected';if(void 0x0===_0x33fda1&&(_0x33fda1=0x0),_0x33fda1>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x57bae2['commentThreadId']&&_0x57bae2['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x57bae2['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x57bae2['createdAt']&&_0x57bae2['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x57bae2['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x57bae2['comments']&&_0x57bae2['hasOwnProperty']('comments')){if(!Array['isArray'](_0x57bae2['comments']))return'comments:\x20array\x20expected';for(var _0x5939e9=0x0;_0x5939e9<_0x57bae2['comments']['length'];++_0x5939e9){var _0x5c0e3e=_0x571a6c['CommentThreadAddedCommentDescriptor']['verify'](_0x57bae2['comments'][_0x5939e9],_0x33fda1+0x1);if(_0x5c0e3e)return'comments.'+_0x5c0e3e;}}return null;},_0x5c4e81['fromObject']=function(_0x510488,_0x5ca2ae){if(_0x510488 instanceof _0x571a6c['CommentsV2AddCommentThreadResponse'])return _0x510488;if(void 0x0===_0x5ca2ae&&(_0x5ca2ae=0x0),_0x5ca2ae>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5216e4=new _0x571a6c['CommentsV2AddCommentThreadResponse']();if(null!=_0x510488['commentThreadId']&&(_0x5216e4['commentThreadId']=String(_0x510488['commentThreadId'])),null!=_0x510488['createdAt']&&(_0x5216e4['createdAt']=String(_0x510488['createdAt'])),_0x510488['comments']){if(!Array['isArray'](_0x510488['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x5216e4['comments']=[];for(var _0x3d8a5f=0x0;_0x3d8a5f<_0x510488['comments']['length'];++_0x3d8a5f){if('object'!=typeof _0x510488['comments'][_0x3d8a5f])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x5216e4['comments'][_0x3d8a5f]=_0x571a6c['CommentThreadAddedCommentDescriptor']['fromObject'](_0x510488['comments'][_0x3d8a5f],_0x5ca2ae+0x1);}}return _0x5216e4;},_0x5c4e81['toObject']=function(_0x1bfe0c,_0x31f5c9){_0x31f5c9||(_0x31f5c9={});var _0x56086f={};if((_0x31f5c9['arrays']||_0x31f5c9['defaults'])&&(_0x56086f['comments']=[]),_0x31f5c9['defaults']&&(_0x56086f['commentThreadId']='',_0x56086f['createdAt']=''),null!=_0x1bfe0c['commentThreadId']&&_0x1bfe0c['hasOwnProperty']('commentThreadId')&&(_0x56086f['commentThreadId']=_0x1bfe0c['commentThreadId']),null!=_0x1bfe0c['createdAt']&&_0x1bfe0c['hasOwnProperty']('createdAt')&&(_0x56086f['createdAt']=_0x1bfe0c['createdAt']),_0x1bfe0c['comments']&&_0x1bfe0c['comments']['length']){_0x56086f['comments']=[];for(var _0x379bdd=0x0;_0x379bdd<_0x1bfe0c['comments']['length'];++_0x379bdd)_0x56086f['comments'][_0x379bdd]=_0x571a6c['CommentThreadAddedCommentDescriptor']['toObject'](_0x1bfe0c['comments'][_0x379bdd],_0x31f5c9);}return _0x56086f;},_0x5c4e81['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5c4e81['getTypeUrl']=function(_0x3d3a57){return void 0x0===_0x3d3a57&&(_0x3d3a57='type.googleapis.com'),_0x3d3a57+'/CommentsV2AddCommentThreadResponse';},_0x5c4e81;}()),_0x571a6c['CommentsV2UpdateCommentMessage']=(function(){function _0x5088f4(_0x5cc0c7){if(_0x5cc0c7){for(var _0x22fc99=Object['keys'](_0x5cc0c7),_0x26dde0=0x0;_0x26dde0<_0x22fc99['length'];++_0x26dde0)null!=_0x5cc0c7[_0x22fc99[_0x26dde0]]&&'__proto__'!==_0x22fc99[_0x26dde0]&&(this[_0x22fc99[_0x26dde0]]=_0x5cc0c7[_0x22fc99[_0x26dde0]]);}}return _0x5088f4['prototype']['commentThreadId']='',_0x5088f4['prototype']['commentId']='',_0x5088f4['prototype']['content']='',_0x5088f4['prototype']['documentId']='',_0x5088f4['prototype']['attributes']='',_0x5088f4['prototype']['isAttributesUpdated']=!0x1,_0x5088f4['prototype']['commentThread']=null,_0x5088f4['create']=function(_0x1d4ece){return new _0x5088f4(_0x1d4ece);},_0x5088f4['encode']=function(_0x5b6322,_0x3823d0){return _0x3823d0||(_0x3823d0=_0x352caa['create']()),null!=_0x5b6322['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5b6322,'commentThreadId')&&_0x3823d0['uint32'](0xa)['string'](_0x5b6322['commentThreadId']),null!=_0x5b6322['commentId']&&Object['hasOwnProperty']['call'](_0x5b6322,'commentId')&&_0x3823d0['uint32'](0x12)['string'](_0x5b6322['commentId']),null!=_0x5b6322['content']&&Object['hasOwnProperty']['call'](_0x5b6322,'content')&&_0x3823d0['uint32'](0x1a)['string'](_0x5b6322['content']),null!=_0x5b6322['documentId']&&Object['hasOwnProperty']['call'](_0x5b6322,'documentId')&&_0x3823d0['uint32'](0x22)['string'](_0x5b6322['documentId']),null!=_0x5b6322['attributes']&&Object['hasOwnProperty']['call'](_0x5b6322,'attributes')&&_0x3823d0['uint32'](0x2a)['string'](_0x5b6322['attributes']),null!=_0x5b6322['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x5b6322,'isAttributesUpdated')&&_0x3823d0['uint32'](0x30)['bool'](_0x5b6322['isAttributesUpdated']),null!=_0x5b6322['commentThread']&&Object['hasOwnProperty']['call'](_0x5b6322,'commentThread')&&_0x571a6c['CommentsThreadDescriptor']['encode'](_0x5b6322['commentThread'],_0x3823d0['uint32'](0x3a)['fork']())['ldelim'](),_0x3823d0;},_0x5088f4['encodeDelimited']=function(_0x47fa73,_0x50ddc8){return this['encode'](_0x47fa73,_0x50ddc8)['ldelim']();},_0x5088f4['decode']=function(_0x16a14,_0x53ae53,_0x3f94a8,_0x4054f6){if(_0x16a14 instanceof _0x50c11c||(_0x16a14=_0x50c11c['create'](_0x16a14)),void 0x0===_0x4054f6&&(_0x4054f6=0x0),_0x4054f6>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1043b5=void 0x0===_0x53ae53?_0x16a14['len']:_0x16a14['pos']+_0x53ae53,_0x40f7d1=new _0x571a6c['CommentsV2UpdateCommentMessage']();_0x16a14['pos']<_0x1043b5;){var _0x4a5b46=_0x16a14['uint32']();if(_0x4a5b46===_0x3f94a8)break;switch(_0x4a5b46>>>0x3){case 0x1:_0x40f7d1['commentThreadId']=_0x16a14['string']();break;case 0x2:_0x40f7d1['commentId']=_0x16a14['string']();break;case 0x3:_0x40f7d1['content']=_0x16a14['string']();break;case 0x4:_0x40f7d1['documentId']=_0x16a14['string']();break;case 0x5:_0x40f7d1['attributes']=_0x16a14['string']();break;case 0x6:_0x40f7d1['isAttributesUpdated']=_0x16a14['bool']();break;case 0x7:_0x40f7d1['commentThread']=_0x571a6c['CommentsThreadDescriptor']['decode'](_0x16a14,_0x16a14['uint32'](),void 0x0,_0x4054f6+0x1);break;default:_0x16a14['skipType'](0x7&_0x4a5b46,_0x4054f6);}}return _0x40f7d1;},_0x5088f4['decodeDelimited']=function(_0x217e4f){return _0x217e4f instanceof _0x50c11c||(_0x217e4f=new _0x50c11c(_0x217e4f)),this['decode'](_0x217e4f,_0x217e4f['uint32']());},_0x5088f4['verify']=function(_0x3eecdc,_0x30ea64){if('object'!=typeof _0x3eecdc||null===_0x3eecdc)return'object\x20expected';if(void 0x0===_0x30ea64&&(_0x30ea64=0x0),_0x30ea64>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3eecdc['commentThreadId']&&_0x3eecdc['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x3eecdc['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3eecdc['commentId']&&_0x3eecdc['hasOwnProperty']('commentId')&&!_0x155d72['isString'](_0x3eecdc['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3eecdc['content']&&_0x3eecdc['hasOwnProperty']('content')&&!_0x155d72['isString'](_0x3eecdc['content']))return'content:\x20string\x20expected';if(null!=_0x3eecdc['documentId']&&_0x3eecdc['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x3eecdc['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3eecdc['attributes']&&_0x3eecdc['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x3eecdc['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3eecdc['isAttributesUpdated']&&_0x3eecdc['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x3eecdc['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x3eecdc['commentThread']&&_0x3eecdc['hasOwnProperty']('commentThread')){var _0x5bd682=_0x571a6c['CommentsThreadDescriptor']['verify'](_0x3eecdc['commentThread'],_0x30ea64+0x1);if(_0x5bd682)return'commentThread.'+_0x5bd682;}return null;},_0x5088f4['fromObject']=function(_0x45302f,_0x32fe35){if(_0x45302f instanceof _0x571a6c['CommentsV2UpdateCommentMessage'])return _0x45302f;if(void 0x0===_0x32fe35&&(_0x32fe35=0x0),_0x32fe35>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x215bd3=new _0x571a6c['CommentsV2UpdateCommentMessage']();if(null!=_0x45302f['commentThreadId']&&(_0x215bd3['commentThreadId']=String(_0x45302f['commentThreadId'])),null!=_0x45302f['commentId']&&(_0x215bd3['commentId']=String(_0x45302f['commentId'])),null!=_0x45302f['content']&&(_0x215bd3['content']=String(_0x45302f['content'])),null!=_0x45302f['documentId']&&(_0x215bd3['documentId']=String(_0x45302f['documentId'])),null!=_0x45302f['attributes']&&(_0x215bd3['attributes']=String(_0x45302f['attributes'])),null!=_0x45302f['isAttributesUpdated']&&(_0x215bd3['isAttributesUpdated']=Boolean(_0x45302f['isAttributesUpdated'])),null!=_0x45302f['commentThread']){if('object'!=typeof _0x45302f['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x215bd3['commentThread']=_0x571a6c['CommentsThreadDescriptor']['fromObject'](_0x45302f['commentThread'],_0x32fe35+0x1);}return _0x215bd3;},_0x5088f4['toObject']=function(_0x2c429b,_0x251dfc){_0x251dfc||(_0x251dfc={});var _0x245fb2={};return _0x251dfc['defaults']&&(_0x245fb2['commentThreadId']='',_0x245fb2['commentId']='',_0x245fb2['content']='',_0x245fb2['documentId']='',_0x245fb2['attributes']='',_0x245fb2['isAttributesUpdated']=!0x1,_0x245fb2['commentThread']=null),null!=_0x2c429b['commentThreadId']&&_0x2c429b['hasOwnProperty']('commentThreadId')&&(_0x245fb2['commentThreadId']=_0x2c429b['commentThreadId']),null!=_0x2c429b['commentId']&&_0x2c429b['hasOwnProperty']('commentId')&&(_0x245fb2['commentId']=_0x2c429b['commentId']),null!=_0x2c429b['content']&&_0x2c429b['hasOwnProperty']('content')&&(_0x245fb2['content']=_0x2c429b['content']),null!=_0x2c429b['documentId']&&_0x2c429b['hasOwnProperty']('documentId')&&(_0x245fb2['documentId']=_0x2c429b['documentId']),null!=_0x2c429b['attributes']&&_0x2c429b['hasOwnProperty']('attributes')&&(_0x245fb2['attributes']=_0x2c429b['attributes']),null!=_0x2c429b['isAttributesUpdated']&&_0x2c429b['hasOwnProperty']('isAttributesUpdated')&&(_0x245fb2['isAttributesUpdated']=_0x2c429b['isAttributesUpdated']),null!=_0x2c429b['commentThread']&&_0x2c429b['hasOwnProperty']('commentThread')&&(_0x245fb2['commentThread']=_0x571a6c['CommentsThreadDescriptor']['toObject'](_0x2c429b['commentThread'],_0x251dfc)),_0x245fb2;},_0x5088f4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5088f4['getTypeUrl']=function(_0x115993){return void 0x0===_0x115993&&(_0x115993='type.googleapis.com'),_0x115993+'/CommentsV2UpdateCommentMessage';},_0x5088f4;}()),_0x571a6c['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x49553c(_0x61afe0){if(_0x61afe0){for(var _0x120f8f=Object['keys'](_0x61afe0),_0x399866=0x0;_0x399866<_0x120f8f['length'];++_0x399866)null!=_0x61afe0[_0x120f8f[_0x399866]]&&'__proto__'!==_0x120f8f[_0x399866]&&(this[_0x120f8f[_0x399866]]=_0x61afe0[_0x120f8f[_0x399866]]);}}return _0x49553c['prototype']['commentThreadId']='',_0x49553c['prototype']['documentId']='',_0x49553c['create']=function(_0x117fe1){return new _0x49553c(_0x117fe1);},_0x49553c['encode']=function(_0x487f49,_0xee429e){return _0xee429e||(_0xee429e=_0x352caa['create']()),null!=_0x487f49['commentThreadId']&&Object['hasOwnProperty']['call'](_0x487f49,'commentThreadId')&&_0xee429e['uint32'](0xa)['string'](_0x487f49['commentThreadId']),null!=_0x487f49['documentId']&&Object['hasOwnProperty']['call'](_0x487f49,'documentId')&&_0xee429e['uint32'](0x12)['string'](_0x487f49['documentId']),_0xee429e;},_0x49553c['encodeDelimited']=function(_0x6bfd8a,_0x1f4103){return this['encode'](_0x6bfd8a,_0x1f4103)['ldelim']();},_0x49553c['decode']=function(_0x3c1d52,_0x320eec,_0x541fd0,_0x416f4c){if(_0x3c1d52 instanceof _0x50c11c||(_0x3c1d52=_0x50c11c['create'](_0x3c1d52)),void 0x0===_0x416f4c&&(_0x416f4c=0x0),_0x416f4c>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x23ac8e=void 0x0===_0x320eec?_0x3c1d52['len']:_0x3c1d52['pos']+_0x320eec,_0x5e837e=new _0x571a6c['CommentsV2RemoveCommentThreadMessage']();_0x3c1d52['pos']<_0x23ac8e;){var _0x2e59ca=_0x3c1d52['uint32']();if(_0x2e59ca===_0x541fd0)break;switch(_0x2e59ca>>>0x3){case 0x1:_0x5e837e['commentThreadId']=_0x3c1d52['string']();break;case 0x2:_0x5e837e['documentId']=_0x3c1d52['string']();break;default:_0x3c1d52['skipType'](0x7&_0x2e59ca,_0x416f4c);}}return _0x5e837e;},_0x49553c['decodeDelimited']=function(_0x228adf){return _0x228adf instanceof _0x50c11c||(_0x228adf=new _0x50c11c(_0x228adf)),this['decode'](_0x228adf,_0x228adf['uint32']());},_0x49553c['verify']=function(_0x4f62ad,_0x3e9fd3){return'object'!=typeof _0x4f62ad||null===_0x4f62ad?'object\x20expected':(void 0x0===_0x3e9fd3&&(_0x3e9fd3=0x0),_0x3e9fd3>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4f62ad['commentThreadId']&&_0x4f62ad['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x4f62ad['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4f62ad['documentId']&&_0x4f62ad['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x4f62ad['documentId'])?'documentId:\x20string\x20expected':null);},_0x49553c['fromObject']=function(_0x11fb17,_0x41e58f){if(_0x11fb17 instanceof _0x571a6c['CommentsV2RemoveCommentThreadMessage'])return _0x11fb17;if(void 0x0===_0x41e58f&&(_0x41e58f=0x0),_0x41e58f>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x47d757=new _0x571a6c['CommentsV2RemoveCommentThreadMessage']();return null!=_0x11fb17['commentThreadId']&&(_0x47d757['commentThreadId']=String(_0x11fb17['commentThreadId'])),null!=_0x11fb17['documentId']&&(_0x47d757['documentId']=String(_0x11fb17['documentId'])),_0x47d757;},_0x49553c['toObject']=function(_0x2fb03e,_0x9b8f72){_0x9b8f72||(_0x9b8f72={});var _0x4f6d85={};return _0x9b8f72['defaults']&&(_0x4f6d85['commentThreadId']='',_0x4f6d85['documentId']=''),null!=_0x2fb03e['commentThreadId']&&_0x2fb03e['hasOwnProperty']('commentThreadId')&&(_0x4f6d85['commentThreadId']=_0x2fb03e['commentThreadId']),null!=_0x2fb03e['documentId']&&_0x2fb03e['hasOwnProperty']('documentId')&&(_0x4f6d85['documentId']=_0x2fb03e['documentId']),_0x4f6d85;},_0x49553c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x49553c['getTypeUrl']=function(_0x2af4f1){return void 0x0===_0x2af4f1&&(_0x2af4f1='type.googleapis.com'),_0x2af4f1+'/CommentsV2RemoveCommentThreadMessage';},_0x49553c;}()),_0x571a6c['CommentsV2RemoveCommentMessage']=(function(){function _0x3ad57(_0x3c2715){if(_0x3c2715){for(var _0x5dc897=Object['keys'](_0x3c2715),_0x48f6bc=0x0;_0x48f6bc<_0x5dc897['length'];++_0x48f6bc)null!=_0x3c2715[_0x5dc897[_0x48f6bc]]&&'__proto__'!==_0x5dc897[_0x48f6bc]&&(this[_0x5dc897[_0x48f6bc]]=_0x3c2715[_0x5dc897[_0x48f6bc]]);}}return _0x3ad57['prototype']['commentThreadId']='',_0x3ad57['prototype']['commentId']='',_0x3ad57['prototype']['documentId']='',_0x3ad57['create']=function(_0x7c7d05){return new _0x3ad57(_0x7c7d05);},_0x3ad57['encode']=function(_0x5e3cb7,_0x28a077){return _0x28a077||(_0x28a077=_0x352caa['create']()),null!=_0x5e3cb7['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5e3cb7,'commentThreadId')&&_0x28a077['uint32'](0xa)['string'](_0x5e3cb7['commentThreadId']),null!=_0x5e3cb7['commentId']&&Object['hasOwnProperty']['call'](_0x5e3cb7,'commentId')&&_0x28a077['uint32'](0x12)['string'](_0x5e3cb7['commentId']),null!=_0x5e3cb7['documentId']&&Object['hasOwnProperty']['call'](_0x5e3cb7,'documentId')&&_0x28a077['uint32'](0x1a)['string'](_0x5e3cb7['documentId']),_0x28a077;},_0x3ad57['encodeDelimited']=function(_0x2af2f2,_0x72f0aa){return this['encode'](_0x2af2f2,_0x72f0aa)['ldelim']();},_0x3ad57['decode']=function(_0x4fe7af,_0x3bad99,_0xf2aab4,_0x5dfa3a){if(_0x4fe7af instanceof _0x50c11c||(_0x4fe7af=_0x50c11c['create'](_0x4fe7af)),void 0x0===_0x5dfa3a&&(_0x5dfa3a=0x0),_0x5dfa3a>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e8dfd=void 0x0===_0x3bad99?_0x4fe7af['len']:_0x4fe7af['pos']+_0x3bad99,_0x5e72b2=new _0x571a6c['CommentsV2RemoveCommentMessage']();_0x4fe7af['pos']<_0x1e8dfd;){var _0x5ab90e=_0x4fe7af['uint32']();if(_0x5ab90e===_0xf2aab4)break;switch(_0x5ab90e>>>0x3){case 0x1:_0x5e72b2['commentThreadId']=_0x4fe7af['string']();break;case 0x2:_0x5e72b2['commentId']=_0x4fe7af['string']();break;case 0x3:_0x5e72b2['documentId']=_0x4fe7af['string']();break;default:_0x4fe7af['skipType'](0x7&_0x5ab90e,_0x5dfa3a);}}return _0x5e72b2;},_0x3ad57['decodeDelimited']=function(_0x5dfff2){return _0x5dfff2 instanceof _0x50c11c||(_0x5dfff2=new _0x50c11c(_0x5dfff2)),this['decode'](_0x5dfff2,_0x5dfff2['uint32']());},_0x3ad57['verify']=function(_0x37d751,_0x201465){return'object'!=typeof _0x37d751||null===_0x37d751?'object\x20expected':(void 0x0===_0x201465&&(_0x201465=0x0),_0x201465>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x37d751['commentThreadId']&&_0x37d751['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x37d751['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x37d751['commentId']&&_0x37d751['hasOwnProperty']('commentId')&&!_0x155d72['isString'](_0x37d751['commentId'])?'commentId:\x20string\x20expected':null!=_0x37d751['documentId']&&_0x37d751['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x37d751['documentId'])?'documentId:\x20string\x20expected':null);},_0x3ad57['fromObject']=function(_0x3627bf,_0x3c804f){if(_0x3627bf instanceof _0x571a6c['CommentsV2RemoveCommentMessage'])return _0x3627bf;if(void 0x0===_0x3c804f&&(_0x3c804f=0x0),_0x3c804f>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x377fe6=new _0x571a6c['CommentsV2RemoveCommentMessage']();return null!=_0x3627bf['commentThreadId']&&(_0x377fe6['commentThreadId']=String(_0x3627bf['commentThreadId'])),null!=_0x3627bf['commentId']&&(_0x377fe6['commentId']=String(_0x3627bf['commentId'])),null!=_0x3627bf['documentId']&&(_0x377fe6['documentId']=String(_0x3627bf['documentId'])),_0x377fe6;},_0x3ad57['toObject']=function(_0x39c61d,_0x3c461e){_0x3c461e||(_0x3c461e={});var _0x38e69d={};return _0x3c461e['defaults']&&(_0x38e69d['commentThreadId']='',_0x38e69d['commentId']='',_0x38e69d['documentId']=''),null!=_0x39c61d['commentThreadId']&&_0x39c61d['hasOwnProperty']('commentThreadId')&&(_0x38e69d['commentThreadId']=_0x39c61d['commentThreadId']),null!=_0x39c61d['commentId']&&_0x39c61d['hasOwnProperty']('commentId')&&(_0x38e69d['commentId']=_0x39c61d['commentId']),null!=_0x39c61d['documentId']&&_0x39c61d['hasOwnProperty']('documentId')&&(_0x38e69d['documentId']=_0x39c61d['documentId']),_0x38e69d;},_0x3ad57['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x3ad57['getTypeUrl']=function(_0x59835b){return void 0x0===_0x59835b&&(_0x59835b='type.googleapis.com'),_0x59835b+'/CommentsV2RemoveCommentMessage';},_0x3ad57;}()),_0x571a6c['CommentsV2GetDocumentThreadsMessage']=(function(){function _0xbff9fc(_0x3f45dd){if(_0x3f45dd){for(var _0x5bce16=Object['keys'](_0x3f45dd),_0x5e01de=0x0;_0x5e01de<_0x5bce16['length'];++_0x5e01de)null!=_0x3f45dd[_0x5bce16[_0x5e01de]]&&'__proto__'!==_0x5bce16[_0x5e01de]&&(this[_0x5bce16[_0x5e01de]]=_0x3f45dd[_0x5bce16[_0x5e01de]]);}}return _0xbff9fc['prototype']['documentId']='',_0xbff9fc['create']=function(_0x11c9a1){return new _0xbff9fc(_0x11c9a1);},_0xbff9fc['encode']=function(_0x5e6ba0,_0x2365bf){return _0x2365bf||(_0x2365bf=_0x352caa['create']()),null!=_0x5e6ba0['documentId']&&Object['hasOwnProperty']['call'](_0x5e6ba0,'documentId')&&_0x2365bf['uint32'](0xa)['string'](_0x5e6ba0['documentId']),_0x2365bf;},_0xbff9fc['encodeDelimited']=function(_0x3bbbc7,_0x580ff1){return this['encode'](_0x3bbbc7,_0x580ff1)['ldelim']();},_0xbff9fc['decode']=function(_0x429611,_0x2fa355,_0x1bf3e5,_0x102af2){if(_0x429611 instanceof _0x50c11c||(_0x429611=_0x50c11c['create'](_0x429611)),void 0x0===_0x102af2&&(_0x102af2=0x0),_0x102af2>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x27be69=void 0x0===_0x2fa355?_0x429611['len']:_0x429611['pos']+_0x2fa355,_0x4015b6=new _0x571a6c['CommentsV2GetDocumentThreadsMessage']();_0x429611['pos']<_0x27be69;){var _0x2faa55=_0x429611['uint32']();if(_0x2faa55===_0x1bf3e5)break;_0x2faa55>>>0x3==0x1?_0x4015b6['documentId']=_0x429611['string']():_0x429611['skipType'](0x7&_0x2faa55,_0x102af2);}return _0x4015b6;},_0xbff9fc['decodeDelimited']=function(_0x59dad2){return _0x59dad2 instanceof _0x50c11c||(_0x59dad2=new _0x50c11c(_0x59dad2)),this['decode'](_0x59dad2,_0x59dad2['uint32']());},_0xbff9fc['verify']=function(_0x325260,_0x11464a){return'object'!=typeof _0x325260||null===_0x325260?'object\x20expected':(void 0x0===_0x11464a&&(_0x11464a=0x0),_0x11464a>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x325260['documentId']&&_0x325260['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x325260['documentId'])?'documentId:\x20string\x20expected':null);},_0xbff9fc['fromObject']=function(_0x30f277,_0x1a0c22){if(_0x30f277 instanceof _0x571a6c['CommentsV2GetDocumentThreadsMessage'])return _0x30f277;if(void 0x0===_0x1a0c22&&(_0x1a0c22=0x0),_0x1a0c22>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x451e16=new _0x571a6c['CommentsV2GetDocumentThreadsMessage']();return null!=_0x30f277['documentId']&&(_0x451e16['documentId']=String(_0x30f277['documentId'])),_0x451e16;},_0xbff9fc['toObject']=function(_0x59454b,_0x16a07d){_0x16a07d||(_0x16a07d={});var _0x122c18={};return _0x16a07d['defaults']&&(_0x122c18['documentId']=''),null!=_0x59454b['documentId']&&_0x59454b['hasOwnProperty']('documentId')&&(_0x122c18['documentId']=_0x59454b['documentId']),_0x122c18;},_0xbff9fc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0xbff9fc['getTypeUrl']=function(_0x496055){return void 0x0===_0x496055&&(_0x496055='type.googleapis.com'),_0x496055+'/CommentsV2GetDocumentThreadsMessage';},_0xbff9fc;}()),_0x571a6c['CommentsV2GetCommentThreadMessage']=(function(){function _0x16acab(_0x392593){if(_0x392593){for(var _0x102ba1=Object['keys'](_0x392593),_0x2cdda4=0x0;_0x2cdda4<_0x102ba1['length'];++_0x2cdda4)null!=_0x392593[_0x102ba1[_0x2cdda4]]&&'__proto__'!==_0x102ba1[_0x2cdda4]&&(this[_0x102ba1[_0x2cdda4]]=_0x392593[_0x102ba1[_0x2cdda4]]);}}return _0x16acab['prototype']['commentThreadId']='',_0x16acab['prototype']['documentId']='',_0x16acab['create']=function(_0x45de82){return new _0x16acab(_0x45de82);},_0x16acab['encode']=function(_0x7dd2a8,_0x2108dd){return _0x2108dd||(_0x2108dd=_0x352caa['create']()),null!=_0x7dd2a8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x7dd2a8,'commentThreadId')&&_0x2108dd['uint32'](0xa)['string'](_0x7dd2a8['commentThreadId']),null!=_0x7dd2a8['documentId']&&Object['hasOwnProperty']['call'](_0x7dd2a8,'documentId')&&_0x2108dd['uint32'](0x12)['string'](_0x7dd2a8['documentId']),_0x2108dd;},_0x16acab['encodeDelimited']=function(_0xd2de64,_0x57dbe2){return this['encode'](_0xd2de64,_0x57dbe2)['ldelim']();},_0x16acab['decode']=function(_0xae0d76,_0x1b15c1,_0x320a28,_0x108c2a){if(_0xae0d76 instanceof _0x50c11c||(_0xae0d76=_0x50c11c['create'](_0xae0d76)),void 0x0===_0x108c2a&&(_0x108c2a=0x0),_0x108c2a>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d5c5a=void 0x0===_0x1b15c1?_0xae0d76['len']:_0xae0d76['pos']+_0x1b15c1,_0x21667a=new _0x571a6c['CommentsV2GetCommentThreadMessage']();_0xae0d76['pos']<_0x2d5c5a;){var _0x4cb7f4=_0xae0d76['uint32']();if(_0x4cb7f4===_0x320a28)break;switch(_0x4cb7f4>>>0x3){case 0x1:_0x21667a['commentThreadId']=_0xae0d76['string']();break;case 0x2:_0x21667a['documentId']=_0xae0d76['string']();break;default:_0xae0d76['skipType'](0x7&_0x4cb7f4,_0x108c2a);}}return _0x21667a;},_0x16acab['decodeDelimited']=function(_0x12388e){return _0x12388e instanceof _0x50c11c||(_0x12388e=new _0x50c11c(_0x12388e)),this['decode'](_0x12388e,_0x12388e['uint32']());},_0x16acab['verify']=function(_0x5e669c,_0x219c0e){return'object'!=typeof _0x5e669c||null===_0x5e669c?'object\x20expected':(void 0x0===_0x219c0e&&(_0x219c0e=0x0),_0x219c0e>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5e669c['commentThreadId']&&_0x5e669c['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x5e669c['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5e669c['documentId']&&_0x5e669c['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x5e669c['documentId'])?'documentId:\x20string\x20expected':null);},_0x16acab['fromObject']=function(_0x5cc09c,_0x355a98){if(_0x5cc09c instanceof _0x571a6c['CommentsV2GetCommentThreadMessage'])return _0x5cc09c;if(void 0x0===_0x355a98&&(_0x355a98=0x0),_0x355a98>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2aaf16=new _0x571a6c['CommentsV2GetCommentThreadMessage']();return null!=_0x5cc09c['commentThreadId']&&(_0x2aaf16['commentThreadId']=String(_0x5cc09c['commentThreadId'])),null!=_0x5cc09c['documentId']&&(_0x2aaf16['documentId']=String(_0x5cc09c['documentId'])),_0x2aaf16;},_0x16acab['toObject']=function(_0x6ba1ca,_0xa688bd){_0xa688bd||(_0xa688bd={});var _0x14b05f={};return _0xa688bd['defaults']&&(_0x14b05f['commentThreadId']='',_0x14b05f['documentId']=''),null!=_0x6ba1ca['commentThreadId']&&_0x6ba1ca['hasOwnProperty']('commentThreadId')&&(_0x14b05f['commentThreadId']=_0x6ba1ca['commentThreadId']),null!=_0x6ba1ca['documentId']&&_0x6ba1ca['hasOwnProperty']('documentId')&&(_0x14b05f['documentId']=_0x6ba1ca['documentId']),_0x14b05f;},_0x16acab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x16acab['getTypeUrl']=function(_0x142e3e){return void 0x0===_0x142e3e&&(_0x142e3e='type.googleapis.com'),_0x142e3e+'/CommentsV2GetCommentThreadMessage';},_0x16acab;}()),_0x571a6c['CommentsV2ConnectMessage']=(function(){function _0x351c79(_0x2dd289){if(_0x2dd289){for(var _0x587580=Object['keys'](_0x2dd289),_0x536d75=0x0;_0x536d75<_0x587580['length'];++_0x536d75)null!=_0x2dd289[_0x587580[_0x536d75]]&&'__proto__'!==_0x587580[_0x536d75]&&(this[_0x587580[_0x536d75]]=_0x2dd289[_0x587580[_0x536d75]]);}}return _0x351c79['prototype']['documentId']='',_0x351c79['create']=function(_0x1f69f0){return new _0x351c79(_0x1f69f0);},_0x351c79['encode']=function(_0x1ac91c,_0x33b594){return _0x33b594||(_0x33b594=_0x352caa['create']()),null!=_0x1ac91c['documentId']&&Object['hasOwnProperty']['call'](_0x1ac91c,'documentId')&&_0x33b594['uint32'](0xa)['string'](_0x1ac91c['documentId']),_0x33b594;},_0x351c79['encodeDelimited']=function(_0x11e770,_0x2a8567){return this['encode'](_0x11e770,_0x2a8567)['ldelim']();},_0x351c79['decode']=function(_0x13289e,_0x35bd98,_0x1bfaef,_0x22b4c3){if(_0x13289e instanceof _0x50c11c||(_0x13289e=_0x50c11c['create'](_0x13289e)),void 0x0===_0x22b4c3&&(_0x22b4c3=0x0),_0x22b4c3>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41bd39=void 0x0===_0x35bd98?_0x13289e['len']:_0x13289e['pos']+_0x35bd98,_0xb2e1d9=new _0x571a6c['CommentsV2ConnectMessage']();_0x13289e['pos']<_0x41bd39;){var _0x4551a0=_0x13289e['uint32']();if(_0x4551a0===_0x1bfaef)break;_0x4551a0>>>0x3==0x1?_0xb2e1d9['documentId']=_0x13289e['string']():_0x13289e['skipType'](0x7&_0x4551a0,_0x22b4c3);}return _0xb2e1d9;},_0x351c79['decodeDelimited']=function(_0x585f82){return _0x585f82 instanceof _0x50c11c||(_0x585f82=new _0x50c11c(_0x585f82)),this['decode'](_0x585f82,_0x585f82['uint32']());},_0x351c79['verify']=function(_0x46afed,_0x1e60f6){return'object'!=typeof _0x46afed||null===_0x46afed?'object\x20expected':(void 0x0===_0x1e60f6&&(_0x1e60f6=0x0),_0x1e60f6>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x46afed['documentId']&&_0x46afed['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x46afed['documentId'])?'documentId:\x20string\x20expected':null);},_0x351c79['fromObject']=function(_0x515a1e,_0x57828e){if(_0x515a1e instanceof _0x571a6c['CommentsV2ConnectMessage'])return _0x515a1e;if(void 0x0===_0x57828e&&(_0x57828e=0x0),_0x57828e>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x593113=new _0x571a6c['CommentsV2ConnectMessage']();return null!=_0x515a1e['documentId']&&(_0x593113['documentId']=String(_0x515a1e['documentId'])),_0x593113;},_0x351c79['toObject']=function(_0x4a2e76,_0x2d4eff){_0x2d4eff||(_0x2d4eff={});var _0x49a52b={};return _0x2d4eff['defaults']&&(_0x49a52b['documentId']=''),null!=_0x4a2e76['documentId']&&_0x4a2e76['hasOwnProperty']('documentId')&&(_0x49a52b['documentId']=_0x4a2e76['documentId']),_0x49a52b;},_0x351c79['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x351c79['getTypeUrl']=function(_0x227f9a){return void 0x0===_0x227f9a&&(_0x227f9a='type.googleapis.com'),_0x227f9a+'/CommentsV2ConnectMessage';},_0x351c79;}()),_0x571a6c['CommentsV2AddCommentMessage']=(function(){function _0x15baf8(_0x3f4224){if(_0x3f4224){for(var _0x5c7f5e=Object['keys'](_0x3f4224),_0x1d263d=0x0;_0x1d263d<_0x5c7f5e['length'];++_0x1d263d)null!=_0x3f4224[_0x5c7f5e[_0x1d263d]]&&'__proto__'!==_0x5c7f5e[_0x1d263d]&&(this[_0x5c7f5e[_0x1d263d]]=_0x3f4224[_0x5c7f5e[_0x1d263d]]);}}return _0x15baf8['prototype']['commentThreadId']='',_0x15baf8['prototype']['content']='',_0x15baf8['prototype']['documentId']='',_0x15baf8['prototype']['commentId']='',_0x15baf8['prototype']['createdAt']='',_0x15baf8['prototype']['userId']='',_0x15baf8['prototype']['attributes']='',_0x15baf8['prototype']['commentThread']=null,_0x15baf8['create']=function(_0x3c3a8c){return new _0x15baf8(_0x3c3a8c);},_0x15baf8['encode']=function(_0x58797f,_0x4ae979){return _0x4ae979||(_0x4ae979=_0x352caa['create']()),null!=_0x58797f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x58797f,'commentThreadId')&&_0x4ae979['uint32'](0xa)['string'](_0x58797f['commentThreadId']),null!=_0x58797f['content']&&Object['hasOwnProperty']['call'](_0x58797f,'content')&&_0x4ae979['uint32'](0x12)['string'](_0x58797f['content']),null!=_0x58797f['documentId']&&Object['hasOwnProperty']['call'](_0x58797f,'documentId')&&_0x4ae979['uint32'](0x1a)['string'](_0x58797f['documentId']),null!=_0x58797f['commentId']&&Object['hasOwnProperty']['call'](_0x58797f,'commentId')&&_0x4ae979['uint32'](0x22)['string'](_0x58797f['commentId']),null!=_0x58797f['createdAt']&&Object['hasOwnProperty']['call'](_0x58797f,'createdAt')&&_0x4ae979['uint32'](0x2a)['string'](_0x58797f['createdAt']),null!=_0x58797f['userId']&&Object['hasOwnProperty']['call'](_0x58797f,'userId')&&_0x4ae979['uint32'](0x32)['string'](_0x58797f['userId']),null!=_0x58797f['attributes']&&Object['hasOwnProperty']['call'](_0x58797f,'attributes')&&_0x4ae979['uint32'](0x3a)['string'](_0x58797f['attributes']),null!=_0x58797f['commentThread']&&Object['hasOwnProperty']['call'](_0x58797f,'commentThread')&&_0x571a6c['CommentsThreadDescriptor']['encode'](_0x58797f['commentThread'],_0x4ae979['uint32'](0x42)['fork']())['ldelim'](),_0x4ae979;},_0x15baf8['encodeDelimited']=function(_0x1ffdd9,_0x238294){return this['encode'](_0x1ffdd9,_0x238294)['ldelim']();},_0x15baf8['decode']=function(_0x213ce7,_0x468003,_0x10ec7a,_0x139903){if(_0x213ce7 instanceof _0x50c11c||(_0x213ce7=_0x50c11c['create'](_0x213ce7)),void 0x0===_0x139903&&(_0x139903=0x0),_0x139903>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2849a1=void 0x0===_0x468003?_0x213ce7['len']:_0x213ce7['pos']+_0x468003,_0x481e7c=new _0x571a6c['CommentsV2AddCommentMessage']();_0x213ce7['pos']<_0x2849a1;){var _0x5cd7fe=_0x213ce7['uint32']();if(_0x5cd7fe===_0x10ec7a)break;switch(_0x5cd7fe>>>0x3){case 0x1:_0x481e7c['commentThreadId']=_0x213ce7['string']();break;case 0x2:_0x481e7c['content']=_0x213ce7['string']();break;case 0x3:_0x481e7c['documentId']=_0x213ce7['string']();break;case 0x4:_0x481e7c['commentId']=_0x213ce7['string']();break;case 0x5:_0x481e7c['createdAt']=_0x213ce7['string']();break;case 0x6:_0x481e7c['userId']=_0x213ce7['string']();break;case 0x7:_0x481e7c['attributes']=_0x213ce7['string']();break;case 0x8:_0x481e7c['commentThread']=_0x571a6c['CommentsThreadDescriptor']['decode'](_0x213ce7,_0x213ce7['uint32'](),void 0x0,_0x139903+0x1);break;default:_0x213ce7['skipType'](0x7&_0x5cd7fe,_0x139903);}}return _0x481e7c;},_0x15baf8['decodeDelimited']=function(_0x18a475){return _0x18a475 instanceof _0x50c11c||(_0x18a475=new _0x50c11c(_0x18a475)),this['decode'](_0x18a475,_0x18a475['uint32']());},_0x15baf8['verify']=function(_0x2a22c3,_0x260105){if('object'!=typeof _0x2a22c3||null===_0x2a22c3)return'object\x20expected';if(void 0x0===_0x260105&&(_0x260105=0x0),_0x260105>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2a22c3['commentThreadId']&&_0x2a22c3['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x2a22c3['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2a22c3['content']&&_0x2a22c3['hasOwnProperty']('content')&&!_0x155d72['isString'](_0x2a22c3['content']))return'content:\x20string\x20expected';if(null!=_0x2a22c3['documentId']&&_0x2a22c3['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x2a22c3['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2a22c3['commentId']&&_0x2a22c3['hasOwnProperty']('commentId')&&!_0x155d72['isString'](_0x2a22c3['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x2a22c3['createdAt']&&_0x2a22c3['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x2a22c3['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x2a22c3['userId']&&_0x2a22c3['hasOwnProperty']('userId')&&!_0x155d72['isString'](_0x2a22c3['userId']))return'userId:\x20string\x20expected';if(null!=_0x2a22c3['attributes']&&_0x2a22c3['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x2a22c3['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x2a22c3['commentThread']&&_0x2a22c3['hasOwnProperty']('commentThread')){var _0x53a02e=_0x571a6c['CommentsThreadDescriptor']['verify'](_0x2a22c3['commentThread'],_0x260105+0x1);if(_0x53a02e)return'commentThread.'+_0x53a02e;}return null;},_0x15baf8['fromObject']=function(_0x36f487,_0x56c2ee){if(_0x36f487 instanceof _0x571a6c['CommentsV2AddCommentMessage'])return _0x36f487;if(void 0x0===_0x56c2ee&&(_0x56c2ee=0x0),_0x56c2ee>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xe0cd8d=new _0x571a6c['CommentsV2AddCommentMessage']();if(null!=_0x36f487['commentThreadId']&&(_0xe0cd8d['commentThreadId']=String(_0x36f487['commentThreadId'])),null!=_0x36f487['content']&&(_0xe0cd8d['content']=String(_0x36f487['content'])),null!=_0x36f487['documentId']&&(_0xe0cd8d['documentId']=String(_0x36f487['documentId'])),null!=_0x36f487['commentId']&&(_0xe0cd8d['commentId']=String(_0x36f487['commentId'])),null!=_0x36f487['createdAt']&&(_0xe0cd8d['createdAt']=String(_0x36f487['createdAt'])),null!=_0x36f487['userId']&&(_0xe0cd8d['userId']=String(_0x36f487['userId'])),null!=_0x36f487['attributes']&&(_0xe0cd8d['attributes']=String(_0x36f487['attributes'])),null!=_0x36f487['commentThread']){if('object'!=typeof _0x36f487['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0xe0cd8d['commentThread']=_0x571a6c['CommentsThreadDescriptor']['fromObject'](_0x36f487['commentThread'],_0x56c2ee+0x1);}return _0xe0cd8d;},_0x15baf8['toObject']=function(_0x17506e,_0x654752){_0x654752||(_0x654752={});var _0x589ad8={};return _0x654752['defaults']&&(_0x589ad8['commentThreadId']='',_0x589ad8['content']='',_0x589ad8['documentId']='',_0x589ad8['commentId']='',_0x589ad8['createdAt']='',_0x589ad8['userId']='',_0x589ad8['attributes']='',_0x589ad8['commentThread']=null),null!=_0x17506e['commentThreadId']&&_0x17506e['hasOwnProperty']('commentThreadId')&&(_0x589ad8['commentThreadId']=_0x17506e['commentThreadId']),null!=_0x17506e['content']&&_0x17506e['hasOwnProperty']('content')&&(_0x589ad8['content']=_0x17506e['content']),null!=_0x17506e['documentId']&&_0x17506e['hasOwnProperty']('documentId')&&(_0x589ad8['documentId']=_0x17506e['documentId']),null!=_0x17506e['commentId']&&_0x17506e['hasOwnProperty']('commentId')&&(_0x589ad8['commentId']=_0x17506e['commentId']),null!=_0x17506e['createdAt']&&_0x17506e['hasOwnProperty']('createdAt')&&(_0x589ad8['createdAt']=_0x17506e['createdAt']),null!=_0x17506e['userId']&&_0x17506e['hasOwnProperty']('userId')&&(_0x589ad8['userId']=_0x17506e['userId']),null!=_0x17506e['attributes']&&_0x17506e['hasOwnProperty']('attributes')&&(_0x589ad8['attributes']=_0x17506e['attributes']),null!=_0x17506e['commentThread']&&_0x17506e['hasOwnProperty']('commentThread')&&(_0x589ad8['commentThread']=_0x571a6c['CommentsThreadDescriptor']['toObject'](_0x17506e['commentThread'],_0x654752)),_0x589ad8;},_0x15baf8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x15baf8['getTypeUrl']=function(_0x2eac3e){return void 0x0===_0x2eac3e&&(_0x2eac3e='type.googleapis.com'),_0x2eac3e+'/CommentsV2AddCommentMessage';},_0x15baf8;}()),_0x571a6c['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x5b28bc(_0x56afe3){if(_0x56afe3){for(var _0x499e1c=Object['keys'](_0x56afe3),_0x2b9626=0x0;_0x2b9626<_0x499e1c['length'];++_0x2b9626)null!=_0x56afe3[_0x499e1c[_0x2b9626]]&&'__proto__'!==_0x499e1c[_0x2b9626]&&(this[_0x499e1c[_0x2b9626]]=_0x56afe3[_0x499e1c[_0x2b9626]]);}}return _0x5b28bc['prototype']['commentThreadId']='',_0x5b28bc['prototype']['documentId']='',_0x5b28bc['prototype']['context']='',_0x5b28bc['prototype']['attributes']='',_0x5b28bc['prototype']['unlinkedAt']='',_0x5b28bc['create']=function(_0x4e7b36){return new _0x5b28bc(_0x4e7b36);},_0x5b28bc['encode']=function(_0x140a48,_0x1e68bf){return _0x1e68bf||(_0x1e68bf=_0x352caa['create']()),null!=_0x140a48['commentThreadId']&&Object['hasOwnProperty']['call'](_0x140a48,'commentThreadId')&&_0x1e68bf['uint32'](0xa)['string'](_0x140a48['commentThreadId']),null!=_0x140a48['documentId']&&Object['hasOwnProperty']['call'](_0x140a48,'documentId')&&_0x1e68bf['uint32'](0x12)['string'](_0x140a48['documentId']),null!=_0x140a48['context']&&Object['hasOwnProperty']['call'](_0x140a48,'context')&&_0x1e68bf['uint32'](0x1a)['string'](_0x140a48['context']),null!=_0x140a48['attributes']&&Object['hasOwnProperty']['call'](_0x140a48,'attributes')&&_0x1e68bf['uint32'](0x22)['string'](_0x140a48['attributes']),null!=_0x140a48['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x140a48,'unlinkedAt')&&_0x1e68bf['uint32'](0x2a)['string'](_0x140a48['unlinkedAt']),_0x1e68bf;},_0x5b28bc['encodeDelimited']=function(_0x2208d3,_0x33e78e){return this['encode'](_0x2208d3,_0x33e78e)['ldelim']();},_0x5b28bc['decode']=function(_0x2491fe,_0x9f0783,_0x9f66c3,_0x2bf13d){if(_0x2491fe instanceof _0x50c11c||(_0x2491fe=_0x50c11c['create'](_0x2491fe)),void 0x0===_0x2bf13d&&(_0x2bf13d=0x0),_0x2bf13d>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xa674a5=void 0x0===_0x9f0783?_0x2491fe['len']:_0x2491fe['pos']+_0x9f0783,_0x2aaaef=new _0x571a6c['CommentsV2UpdateCommentThreadMessage']();_0x2491fe['pos']<_0xa674a5;){var _0x58dc2d=_0x2491fe['uint32']();if(_0x58dc2d===_0x9f66c3)break;switch(_0x58dc2d>>>0x3){case 0x1:_0x2aaaef['commentThreadId']=_0x2491fe['string']();break;case 0x2:_0x2aaaef['documentId']=_0x2491fe['string']();break;case 0x3:_0x2aaaef['context']=_0x2491fe['string']();break;case 0x4:_0x2aaaef['attributes']=_0x2491fe['string']();break;case 0x5:_0x2aaaef['unlinkedAt']=_0x2491fe['string']();break;default:_0x2491fe['skipType'](0x7&_0x58dc2d,_0x2bf13d);}}return _0x2aaaef;},_0x5b28bc['decodeDelimited']=function(_0x4fc27d){return _0x4fc27d instanceof _0x50c11c||(_0x4fc27d=new _0x50c11c(_0x4fc27d)),this['decode'](_0x4fc27d,_0x4fc27d['uint32']());},_0x5b28bc['verify']=function(_0x17c325,_0x445167){return'object'!=typeof _0x17c325||null===_0x17c325?'object\x20expected':(void 0x0===_0x445167&&(_0x445167=0x0),_0x445167>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x17c325['commentThreadId']&&_0x17c325['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x17c325['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x17c325['documentId']&&_0x17c325['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x17c325['documentId'])?'documentId:\x20string\x20expected':null!=_0x17c325['context']&&_0x17c325['hasOwnProperty']('context')&&!_0x155d72['isString'](_0x17c325['context'])?'context:\x20string\x20expected':null!=_0x17c325['attributes']&&_0x17c325['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x17c325['attributes'])?'attributes:\x20string\x20expected':null!=_0x17c325['unlinkedAt']&&_0x17c325['hasOwnProperty']('unlinkedAt')&&!_0x155d72['isString'](_0x17c325['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},_0x5b28bc['fromObject']=function(_0x4dfced,_0x593908){if(_0x4dfced instanceof _0x571a6c['CommentsV2UpdateCommentThreadMessage'])return _0x4dfced;if(void 0x0===_0x593908&&(_0x593908=0x0),_0x593908>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xf7077b=new _0x571a6c['CommentsV2UpdateCommentThreadMessage']();return null!=_0x4dfced['commentThreadId']&&(_0xf7077b['commentThreadId']=String(_0x4dfced['commentThreadId'])),null!=_0x4dfced['documentId']&&(_0xf7077b['documentId']=String(_0x4dfced['documentId'])),null!=_0x4dfced['context']&&(_0xf7077b['context']=String(_0x4dfced['context'])),null!=_0x4dfced['attributes']&&(_0xf7077b['attributes']=String(_0x4dfced['attributes'])),null!=_0x4dfced['unlinkedAt']&&(_0xf7077b['unlinkedAt']=String(_0x4dfced['unlinkedAt'])),_0xf7077b;},_0x5b28bc['toObject']=function(_0x6d3597,_0x149888){_0x149888||(_0x149888={});var _0x2144f7={};return _0x149888['defaults']&&(_0x2144f7['commentThreadId']='',_0x2144f7['documentId']='',_0x2144f7['context']='',_0x2144f7['attributes']='',_0x2144f7['unlinkedAt']=''),null!=_0x6d3597['commentThreadId']&&_0x6d3597['hasOwnProperty']('commentThreadId')&&(_0x2144f7['commentThreadId']=_0x6d3597['commentThreadId']),null!=_0x6d3597['documentId']&&_0x6d3597['hasOwnProperty']('documentId')&&(_0x2144f7['documentId']=_0x6d3597['documentId']),null!=_0x6d3597['context']&&_0x6d3597['hasOwnProperty']('context')&&(_0x2144f7['context']=_0x6d3597['context']),null!=_0x6d3597['attributes']&&_0x6d3597['hasOwnProperty']('attributes')&&(_0x2144f7['attributes']=_0x6d3597['attributes']),null!=_0x6d3597['unlinkedAt']&&_0x6d3597['hasOwnProperty']('unlinkedAt')&&(_0x2144f7['unlinkedAt']=_0x6d3597['unlinkedAt']),_0x2144f7;},_0x5b28bc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5b28bc['getTypeUrl']=function(_0x592287){return void 0x0===_0x592287&&(_0x592287='type.googleapis.com'),_0x592287+'/CommentsV2UpdateCommentThreadMessage';},_0x5b28bc;}()),_0x571a6c['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x85878d(_0x2c7fb6){if(_0x2c7fb6){for(var _0x3e26f1=Object['keys'](_0x2c7fb6),_0x5e868a=0x0;_0x5e868a<_0x3e26f1['length'];++_0x5e868a)null!=_0x2c7fb6[_0x3e26f1[_0x5e868a]]&&'__proto__'!==_0x3e26f1[_0x5e868a]&&(this[_0x3e26f1[_0x5e868a]]=_0x2c7fb6[_0x3e26f1[_0x5e868a]]);}}return _0x85878d['prototype']['commentThreadId']='',_0x85878d['prototype']['documentId']='',_0x85878d['prototype']['resolvedBy']='',_0x85878d['prototype']['resolvedAt']='',_0x85878d['create']=function(_0x5bab82){return new _0x85878d(_0x5bab82);},_0x85878d['encode']=function(_0x4c2174,_0x1b8375){return _0x1b8375||(_0x1b8375=_0x352caa['create']()),null!=_0x4c2174['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4c2174,'commentThreadId')&&_0x1b8375['uint32'](0xa)['string'](_0x4c2174['commentThreadId']),null!=_0x4c2174['documentId']&&Object['hasOwnProperty']['call'](_0x4c2174,'documentId')&&_0x1b8375['uint32'](0x12)['string'](_0x4c2174['documentId']),null!=_0x4c2174['resolvedBy']&&Object['hasOwnProperty']['call'](_0x4c2174,'resolvedBy')&&_0x1b8375['uint32'](0x1a)['string'](_0x4c2174['resolvedBy']),null!=_0x4c2174['resolvedAt']&&Object['hasOwnProperty']['call'](_0x4c2174,'resolvedAt')&&_0x1b8375['uint32'](0x22)['string'](_0x4c2174['resolvedAt']),_0x1b8375;},_0x85878d['encodeDelimited']=function(_0x2c519e,_0x43fa85){return this['encode'](_0x2c519e,_0x43fa85)['ldelim']();},_0x85878d['decode']=function(_0x24315c,_0x1cc5f5,_0x166141,_0x2e4cfb){if(_0x24315c instanceof _0x50c11c||(_0x24315c=_0x50c11c['create'](_0x24315c)),void 0x0===_0x2e4cfb&&(_0x2e4cfb=0x0),_0x2e4cfb>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x360faf=void 0x0===_0x1cc5f5?_0x24315c['len']:_0x24315c['pos']+_0x1cc5f5,_0x8e72f5=new _0x571a6c['CommentsV2ResolveCommentThreadMessage']();_0x24315c['pos']<_0x360faf;){var _0x57b050=_0x24315c['uint32']();if(_0x57b050===_0x166141)break;switch(_0x57b050>>>0x3){case 0x1:_0x8e72f5['commentThreadId']=_0x24315c['string']();break;case 0x2:_0x8e72f5['documentId']=_0x24315c['string']();break;case 0x3:_0x8e72f5['resolvedBy']=_0x24315c['string']();break;case 0x4:_0x8e72f5['resolvedAt']=_0x24315c['string']();break;default:_0x24315c['skipType'](0x7&_0x57b050,_0x2e4cfb);}}return _0x8e72f5;},_0x85878d['decodeDelimited']=function(_0x12c343){return _0x12c343 instanceof _0x50c11c||(_0x12c343=new _0x50c11c(_0x12c343)),this['decode'](_0x12c343,_0x12c343['uint32']());},_0x85878d['verify']=function(_0x542bb9,_0x5a3922){return'object'!=typeof _0x542bb9||null===_0x542bb9?'object\x20expected':(void 0x0===_0x5a3922&&(_0x5a3922=0x0),_0x5a3922>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x542bb9['commentThreadId']&&_0x542bb9['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x542bb9['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x542bb9['documentId']&&_0x542bb9['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x542bb9['documentId'])?'documentId:\x20string\x20expected':null!=_0x542bb9['resolvedBy']&&_0x542bb9['hasOwnProperty']('resolvedBy')&&!_0x155d72['isString'](_0x542bb9['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x542bb9['resolvedAt']&&_0x542bb9['hasOwnProperty']('resolvedAt')&&!_0x155d72['isString'](_0x542bb9['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},_0x85878d['fromObject']=function(_0x1ccea5,_0x177cef){if(_0x1ccea5 instanceof _0x571a6c['CommentsV2ResolveCommentThreadMessage'])return _0x1ccea5;if(void 0x0===_0x177cef&&(_0x177cef=0x0),_0x177cef>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x28f6a1=new _0x571a6c['CommentsV2ResolveCommentThreadMessage']();return null!=_0x1ccea5['commentThreadId']&&(_0x28f6a1['commentThreadId']=String(_0x1ccea5['commentThreadId'])),null!=_0x1ccea5['documentId']&&(_0x28f6a1['documentId']=String(_0x1ccea5['documentId'])),null!=_0x1ccea5['resolvedBy']&&(_0x28f6a1['resolvedBy']=String(_0x1ccea5['resolvedBy'])),null!=_0x1ccea5['resolvedAt']&&(_0x28f6a1['resolvedAt']=String(_0x1ccea5['resolvedAt'])),_0x28f6a1;},_0x85878d['toObject']=function(_0x36d5ba,_0x4f056d){_0x4f056d||(_0x4f056d={});var _0x556a30={};return _0x4f056d['defaults']&&(_0x556a30['commentThreadId']='',_0x556a30['documentId']='',_0x556a30['resolvedBy']='',_0x556a30['resolvedAt']=''),null!=_0x36d5ba['commentThreadId']&&_0x36d5ba['hasOwnProperty']('commentThreadId')&&(_0x556a30['commentThreadId']=_0x36d5ba['commentThreadId']),null!=_0x36d5ba['documentId']&&_0x36d5ba['hasOwnProperty']('documentId')&&(_0x556a30['documentId']=_0x36d5ba['documentId']),null!=_0x36d5ba['resolvedBy']&&_0x36d5ba['hasOwnProperty']('resolvedBy')&&(_0x556a30['resolvedBy']=_0x36d5ba['resolvedBy']),null!=_0x36d5ba['resolvedAt']&&_0x36d5ba['hasOwnProperty']('resolvedAt')&&(_0x556a30['resolvedAt']=_0x36d5ba['resolvedAt']),_0x556a30;},_0x85878d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x85878d['getTypeUrl']=function(_0x206f6a){return void 0x0===_0x206f6a&&(_0x206f6a='type.googleapis.com'),_0x206f6a+'/CommentsV2ResolveCommentThreadMessage';},_0x85878d;}()),_0x571a6c['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x28b64d(_0x26234e){if(_0x26234e){for(var _0x30531d=Object['keys'](_0x26234e),_0x35f8af=0x0;_0x35f8af<_0x30531d['length'];++_0x35f8af)null!=_0x26234e[_0x30531d[_0x35f8af]]&&'__proto__'!==_0x30531d[_0x35f8af]&&(this[_0x30531d[_0x35f8af]]=_0x26234e[_0x30531d[_0x35f8af]]);}}return _0x28b64d['prototype']['commentThreadId']='',_0x28b64d['prototype']['documentId']='',_0x28b64d['create']=function(_0x524dcf){return new _0x28b64d(_0x524dcf);},_0x28b64d['encode']=function(_0x43d10f,_0x245490){return _0x245490||(_0x245490=_0x352caa['create']()),null!=_0x43d10f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x43d10f,'commentThreadId')&&_0x245490['uint32'](0xa)['string'](_0x43d10f['commentThreadId']),null!=_0x43d10f['documentId']&&Object['hasOwnProperty']['call'](_0x43d10f,'documentId')&&_0x245490['uint32'](0x12)['string'](_0x43d10f['documentId']),_0x245490;},_0x28b64d['encodeDelimited']=function(_0x3a1244,_0x16f4d2){return this['encode'](_0x3a1244,_0x16f4d2)['ldelim']();},_0x28b64d['decode']=function(_0x386147,_0x3bb606,_0x436a6f,_0xef7859){if(_0x386147 instanceof _0x50c11c||(_0x386147=_0x50c11c['create'](_0x386147)),void 0x0===_0xef7859&&(_0xef7859=0x0),_0xef7859>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xf2741c=void 0x0===_0x3bb606?_0x386147['len']:_0x386147['pos']+_0x3bb606,_0xa501b5=new _0x571a6c['CommentsV2ReopenCommentThreadMessage']();_0x386147['pos']<_0xf2741c;){var _0x5600fb=_0x386147['uint32']();if(_0x5600fb===_0x436a6f)break;switch(_0x5600fb>>>0x3){case 0x1:_0xa501b5['commentThreadId']=_0x386147['string']();break;case 0x2:_0xa501b5['documentId']=_0x386147['string']();break;default:_0x386147['skipType'](0x7&_0x5600fb,_0xef7859);}}return _0xa501b5;},_0x28b64d['decodeDelimited']=function(_0x2c6810){return _0x2c6810 instanceof _0x50c11c||(_0x2c6810=new _0x50c11c(_0x2c6810)),this['decode'](_0x2c6810,_0x2c6810['uint32']());},_0x28b64d['verify']=function(_0x48e6da,_0x2ac571){return'object'!=typeof _0x48e6da||null===_0x48e6da?'object\x20expected':(void 0x0===_0x2ac571&&(_0x2ac571=0x0),_0x2ac571>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x48e6da['commentThreadId']&&_0x48e6da['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x48e6da['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x48e6da['documentId']&&_0x48e6da['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x48e6da['documentId'])?'documentId:\x20string\x20expected':null);},_0x28b64d['fromObject']=function(_0x30bc98,_0xfa1c1c){if(_0x30bc98 instanceof _0x571a6c['CommentsV2ReopenCommentThreadMessage'])return _0x30bc98;if(void 0x0===_0xfa1c1c&&(_0xfa1c1c=0x0),_0xfa1c1c>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x206c25=new _0x571a6c['CommentsV2ReopenCommentThreadMessage']();return null!=_0x30bc98['commentThreadId']&&(_0x206c25['commentThreadId']=String(_0x30bc98['commentThreadId'])),null!=_0x30bc98['documentId']&&(_0x206c25['documentId']=String(_0x30bc98['documentId'])),_0x206c25;},_0x28b64d['toObject']=function(_0x39a57b,_0x2fd557){_0x2fd557||(_0x2fd557={});var _0x104bf8={};return _0x2fd557['defaults']&&(_0x104bf8['commentThreadId']='',_0x104bf8['documentId']=''),null!=_0x39a57b['commentThreadId']&&_0x39a57b['hasOwnProperty']('commentThreadId')&&(_0x104bf8['commentThreadId']=_0x39a57b['commentThreadId']),null!=_0x39a57b['documentId']&&_0x39a57b['hasOwnProperty']('documentId')&&(_0x104bf8['documentId']=_0x39a57b['documentId']),_0x104bf8;},_0x28b64d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x28b64d['getTypeUrl']=function(_0x544272){return void 0x0===_0x544272&&(_0x544272='type.googleapis.com'),_0x544272+'/CommentsV2ReopenCommentThreadMessage';},_0x28b64d;}()),_0x571a6c['CommentsV2AddCommentThreadMessage']=(function(){function _0x4b2f3c(_0x15b849){if(this['comments']=[],_0x15b849){for(var _0x1562c6=Object['keys'](_0x15b849),_0x2abb86=0x0;_0x2abb86<_0x1562c6['length'];++_0x2abb86)null!=_0x15b849[_0x1562c6[_0x2abb86]]&&'__proto__'!==_0x1562c6[_0x2abb86]&&(this[_0x1562c6[_0x2abb86]]=_0x15b849[_0x1562c6[_0x2abb86]]);}}return _0x4b2f3c['prototype']['documentId']='',_0x4b2f3c['prototype']['commentThreadId']='',_0x4b2f3c['prototype']['context']='',_0x4b2f3c['prototype']['createdAt']='',_0x4b2f3c['prototype']['resolvedAt']='',_0x4b2f3c['prototype']['resolvedBy']='',_0x4b2f3c['prototype']['attributes']='',_0x4b2f3c['prototype']['deletedAt']='',_0x4b2f3c['prototype']['comments']=_0x155d72['emptyArray'],_0x4b2f3c['create']=function(_0x5acccb){return new _0x4b2f3c(_0x5acccb);},_0x4b2f3c['encode']=function(_0x3af30d,_0x2736d1){if(_0x2736d1||(_0x2736d1=_0x352caa['create']()),null!=_0x3af30d['documentId']&&Object['hasOwnProperty']['call'](_0x3af30d,'documentId')&&_0x2736d1['uint32'](0xa)['string'](_0x3af30d['documentId']),null!=_0x3af30d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3af30d,'commentThreadId')&&_0x2736d1['uint32'](0x12)['string'](_0x3af30d['commentThreadId']),null!=_0x3af30d['context']&&Object['hasOwnProperty']['call'](_0x3af30d,'context')&&_0x2736d1['uint32'](0x1a)['string'](_0x3af30d['context']),null!=_0x3af30d['createdAt']&&Object['hasOwnProperty']['call'](_0x3af30d,'createdAt')&&_0x2736d1['uint32'](0x22)['string'](_0x3af30d['createdAt']),null!=_0x3af30d['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3af30d,'resolvedAt')&&_0x2736d1['uint32'](0x2a)['string'](_0x3af30d['resolvedAt']),null!=_0x3af30d['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3af30d,'resolvedBy')&&_0x2736d1['uint32'](0x32)['string'](_0x3af30d['resolvedBy']),null!=_0x3af30d['attributes']&&Object['hasOwnProperty']['call'](_0x3af30d,'attributes')&&_0x2736d1['uint32'](0x3a)['string'](_0x3af30d['attributes']),null!=_0x3af30d['deletedAt']&&Object['hasOwnProperty']['call'](_0x3af30d,'deletedAt')&&_0x2736d1['uint32'](0x42)['string'](_0x3af30d['deletedAt']),null!=_0x3af30d['comments']&&_0x3af30d['comments']['length']){for(var _0x47de87=0x0;_0x47de87<_0x3af30d['comments']['length'];++_0x47de87)_0x571a6c['CommentDescriptor']['encode'](_0x3af30d['comments'][_0x47de87],_0x2736d1['uint32'](0x4a)['fork']())['ldelim']();}return _0x2736d1;},_0x4b2f3c['encodeDelimited']=function(_0xb5a1bd,_0x36397f){return this['encode'](_0xb5a1bd,_0x36397f)['ldelim']();},_0x4b2f3c['decode']=function(_0x552bad,_0x35af73,_0x1a9c47,_0x29f09f){if(_0x552bad instanceof _0x50c11c||(_0x552bad=_0x50c11c['create'](_0x552bad)),void 0x0===_0x29f09f&&(_0x29f09f=0x0),_0x29f09f>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5ba440=void 0x0===_0x35af73?_0x552bad['len']:_0x552bad['pos']+_0x35af73,_0x1f06ba=new _0x571a6c['CommentsV2AddCommentThreadMessage']();_0x552bad['pos']<_0x5ba440;){var _0x7f4cbc=_0x552bad['uint32']();if(_0x7f4cbc===_0x1a9c47)break;switch(_0x7f4cbc>>>0x3){case 0x1:_0x1f06ba['documentId']=_0x552bad['string']();break;case 0x2:_0x1f06ba['commentThreadId']=_0x552bad['string']();break;case 0x3:_0x1f06ba['context']=_0x552bad['string']();break;case 0x4:_0x1f06ba['createdAt']=_0x552bad['string']();break;case 0x5:_0x1f06ba['resolvedAt']=_0x552bad['string']();break;case 0x6:_0x1f06ba['resolvedBy']=_0x552bad['string']();break;case 0x7:_0x1f06ba['attributes']=_0x552bad['string']();break;case 0x8:_0x1f06ba['deletedAt']=_0x552bad['string']();break;case 0x9:_0x1f06ba['comments']&&_0x1f06ba['comments']['length']||(_0x1f06ba['comments']=[]),_0x1f06ba['comments']['push'](_0x571a6c['CommentDescriptor']['decode'](_0x552bad,_0x552bad['uint32'](),void 0x0,_0x29f09f+0x1));break;default:_0x552bad['skipType'](0x7&_0x7f4cbc,_0x29f09f);}}return _0x1f06ba;},_0x4b2f3c['decodeDelimited']=function(_0x107dc0){return _0x107dc0 instanceof _0x50c11c||(_0x107dc0=new _0x50c11c(_0x107dc0)),this['decode'](_0x107dc0,_0x107dc0['uint32']());},_0x4b2f3c['verify']=function(_0x3e1941,_0x540e3c){if('object'!=typeof _0x3e1941||null===_0x3e1941)return'object\x20expected';if(void 0x0===_0x540e3c&&(_0x540e3c=0x0),_0x540e3c>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3e1941['documentId']&&_0x3e1941['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x3e1941['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3e1941['commentThreadId']&&_0x3e1941['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x3e1941['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3e1941['context']&&_0x3e1941['hasOwnProperty']('context')&&!_0x155d72['isString'](_0x3e1941['context']))return'context:\x20string\x20expected';if(null!=_0x3e1941['createdAt']&&_0x3e1941['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x3e1941['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x3e1941['resolvedAt']&&_0x3e1941['hasOwnProperty']('resolvedAt')&&!_0x155d72['isString'](_0x3e1941['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x3e1941['resolvedBy']&&_0x3e1941['hasOwnProperty']('resolvedBy')&&!_0x155d72['isString'](_0x3e1941['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x3e1941['attributes']&&_0x3e1941['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x3e1941['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3e1941['deletedAt']&&_0x3e1941['hasOwnProperty']('deletedAt')&&!_0x155d72['isString'](_0x3e1941['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x3e1941['comments']&&_0x3e1941['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3e1941['comments']))return'comments:\x20array\x20expected';for(var _0x2d985f=0x0;_0x2d985f<_0x3e1941['comments']['length'];++_0x2d985f){var _0xc3cad4=_0x571a6c['CommentDescriptor']['verify'](_0x3e1941['comments'][_0x2d985f],_0x540e3c+0x1);if(_0xc3cad4)return'comments.'+_0xc3cad4;}}return null;},_0x4b2f3c['fromObject']=function(_0x190852,_0x4a68cf){if(_0x190852 instanceof _0x571a6c['CommentsV2AddCommentThreadMessage'])return _0x190852;if(void 0x0===_0x4a68cf&&(_0x4a68cf=0x0),_0x4a68cf>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x842494=new _0x571a6c['CommentsV2AddCommentThreadMessage']();if(null!=_0x190852['documentId']&&(_0x842494['documentId']=String(_0x190852['documentId'])),null!=_0x190852['commentThreadId']&&(_0x842494['commentThreadId']=String(_0x190852['commentThreadId'])),null!=_0x190852['context']&&(_0x842494['context']=String(_0x190852['context'])),null!=_0x190852['createdAt']&&(_0x842494['createdAt']=String(_0x190852['createdAt'])),null!=_0x190852['resolvedAt']&&(_0x842494['resolvedAt']=String(_0x190852['resolvedAt'])),null!=_0x190852['resolvedBy']&&(_0x842494['resolvedBy']=String(_0x190852['resolvedBy'])),null!=_0x190852['attributes']&&(_0x842494['attributes']=String(_0x190852['attributes'])),null!=_0x190852['deletedAt']&&(_0x842494['deletedAt']=String(_0x190852['deletedAt'])),_0x190852['comments']){if(!Array['isArray'](_0x190852['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x842494['comments']=[];for(var _0x23cc3b=0x0;_0x23cc3b<_0x190852['comments']['length'];++_0x23cc3b){if('object'!=typeof _0x190852['comments'][_0x23cc3b])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x842494['comments'][_0x23cc3b]=_0x571a6c['CommentDescriptor']['fromObject'](_0x190852['comments'][_0x23cc3b],_0x4a68cf+0x1);}}return _0x842494;},_0x4b2f3c['toObject']=function(_0x33bd06,_0x3cfa1b){_0x3cfa1b||(_0x3cfa1b={});var _0x42ea24={};if((_0x3cfa1b['arrays']||_0x3cfa1b['defaults'])&&(_0x42ea24['comments']=[]),_0x3cfa1b['defaults']&&(_0x42ea24['documentId']='',_0x42ea24['commentThreadId']='',_0x42ea24['context']='',_0x42ea24['createdAt']='',_0x42ea24['resolvedAt']='',_0x42ea24['resolvedBy']='',_0x42ea24['attributes']='',_0x42ea24['deletedAt']=''),null!=_0x33bd06['documentId']&&_0x33bd06['hasOwnProperty']('documentId')&&(_0x42ea24['documentId']=_0x33bd06['documentId']),null!=_0x33bd06['commentThreadId']&&_0x33bd06['hasOwnProperty']('commentThreadId')&&(_0x42ea24['commentThreadId']=_0x33bd06['commentThreadId']),null!=_0x33bd06['context']&&_0x33bd06['hasOwnProperty']('context')&&(_0x42ea24['context']=_0x33bd06['context']),null!=_0x33bd06['createdAt']&&_0x33bd06['hasOwnProperty']('createdAt')&&(_0x42ea24['createdAt']=_0x33bd06['createdAt']),null!=_0x33bd06['resolvedAt']&&_0x33bd06['hasOwnProperty']('resolvedAt')&&(_0x42ea24['resolvedAt']=_0x33bd06['resolvedAt']),null!=_0x33bd06['resolvedBy']&&_0x33bd06['hasOwnProperty']('resolvedBy')&&(_0x42ea24['resolvedBy']=_0x33bd06['resolvedBy']),null!=_0x33bd06['attributes']&&_0x33bd06['hasOwnProperty']('attributes')&&(_0x42ea24['attributes']=_0x33bd06['attributes']),null!=_0x33bd06['deletedAt']&&_0x33bd06['hasOwnProperty']('deletedAt')&&(_0x42ea24['deletedAt']=_0x33bd06['deletedAt']),_0x33bd06['comments']&&_0x33bd06['comments']['length']){_0x42ea24['comments']=[];for(var _0x24d986=0x0;_0x24d986<_0x33bd06['comments']['length'];++_0x24d986)_0x42ea24['comments'][_0x24d986]=_0x571a6c['CommentDescriptor']['toObject'](_0x33bd06['comments'][_0x24d986],_0x3cfa1b);}return _0x42ea24;},_0x4b2f3c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x4b2f3c['getTypeUrl']=function(_0x1c024b){return void 0x0===_0x1c024b&&(_0x1c024b='type.googleapis.com'),_0x1c024b+'/CommentsV2AddCommentThreadMessage';},_0x4b2f3c;}()),_0x571a6c['CommentThreadAddedCommentDescriptor']=(function(){function _0x43ee76(_0x533349){if(_0x533349){for(var _0x192d62=Object['keys'](_0x533349),_0x2fafed=0x0;_0x2fafed<_0x192d62['length'];++_0x2fafed)null!=_0x533349[_0x192d62[_0x2fafed]]&&'__proto__'!==_0x192d62[_0x2fafed]&&(this[_0x192d62[_0x2fafed]]=_0x533349[_0x192d62[_0x2fafed]]);}}return _0x43ee76['prototype']['commentId']='',_0x43ee76['prototype']['createdAt']='',_0x43ee76['create']=function(_0x410db6){return new _0x43ee76(_0x410db6);},_0x43ee76['encode']=function(_0xc7e242,_0x404ce2){return _0x404ce2||(_0x404ce2=_0x352caa['create']()),null!=_0xc7e242['commentId']&&Object['hasOwnProperty']['call'](_0xc7e242,'commentId')&&_0x404ce2['uint32'](0xa)['string'](_0xc7e242['commentId']),null!=_0xc7e242['createdAt']&&Object['hasOwnProperty']['call'](_0xc7e242,'createdAt')&&_0x404ce2['uint32'](0x12)['string'](_0xc7e242['createdAt']),_0x404ce2;},_0x43ee76['encodeDelimited']=function(_0x19cf6d,_0x2d0454){return this['encode'](_0x19cf6d,_0x2d0454)['ldelim']();},_0x43ee76['decode']=function(_0x4e8a11,_0x3c3b05,_0x120a7e,_0x21045d){if(_0x4e8a11 instanceof _0x50c11c||(_0x4e8a11=_0x50c11c['create'](_0x4e8a11)),void 0x0===_0x21045d&&(_0x21045d=0x0),_0x21045d>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x251031=void 0x0===_0x3c3b05?_0x4e8a11['len']:_0x4e8a11['pos']+_0x3c3b05,_0x494d69=new _0x571a6c['CommentThreadAddedCommentDescriptor']();_0x4e8a11['pos']<_0x251031;){var _0x13ae56=_0x4e8a11['uint32']();if(_0x13ae56===_0x120a7e)break;switch(_0x13ae56>>>0x3){case 0x1:_0x494d69['commentId']=_0x4e8a11['string']();break;case 0x2:_0x494d69['createdAt']=_0x4e8a11['string']();break;default:_0x4e8a11['skipType'](0x7&_0x13ae56,_0x21045d);}}return _0x494d69;},_0x43ee76['decodeDelimited']=function(_0x14e4aa){return _0x14e4aa instanceof _0x50c11c||(_0x14e4aa=new _0x50c11c(_0x14e4aa)),this['decode'](_0x14e4aa,_0x14e4aa['uint32']());},_0x43ee76['verify']=function(_0x16f891,_0x147f61){return'object'!=typeof _0x16f891||null===_0x16f891?'object\x20expected':(void 0x0===_0x147f61&&(_0x147f61=0x0),_0x147f61>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x16f891['commentId']&&_0x16f891['hasOwnProperty']('commentId')&&!_0x155d72['isString'](_0x16f891['commentId'])?'commentId:\x20string\x20expected':null!=_0x16f891['createdAt']&&_0x16f891['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x16f891['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x43ee76['fromObject']=function(_0x396d44,_0x10922){if(_0x396d44 instanceof _0x571a6c['CommentThreadAddedCommentDescriptor'])return _0x396d44;if(void 0x0===_0x10922&&(_0x10922=0x0),_0x10922>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4116de=new _0x571a6c['CommentThreadAddedCommentDescriptor']();return null!=_0x396d44['commentId']&&(_0x4116de['commentId']=String(_0x396d44['commentId'])),null!=_0x396d44['createdAt']&&(_0x4116de['createdAt']=String(_0x396d44['createdAt'])),_0x4116de;},_0x43ee76['toObject']=function(_0x1c76a4,_0x3b5367){_0x3b5367||(_0x3b5367={});var _0x164c90={};return _0x3b5367['defaults']&&(_0x164c90['commentId']='',_0x164c90['createdAt']=''),null!=_0x1c76a4['commentId']&&_0x1c76a4['hasOwnProperty']('commentId')&&(_0x164c90['commentId']=_0x1c76a4['commentId']),null!=_0x1c76a4['createdAt']&&_0x1c76a4['hasOwnProperty']('createdAt')&&(_0x164c90['createdAt']=_0x1c76a4['createdAt']),_0x164c90;},_0x43ee76['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x43ee76['getTypeUrl']=function(_0x5a0aa8){return void 0x0===_0x5a0aa8&&(_0x5a0aa8='type.googleapis.com'),_0x5a0aa8+'/CommentThreadAddedCommentDescriptor';},_0x43ee76;}()),_0x571a6c['CommentsThreadDescriptor']=(function(){function _0x1db2c8(_0x3ef087){if(this['comments']=[],_0x3ef087){for(var _0x4f662b=Object['keys'](_0x3ef087),_0x1defd1=0x0;_0x1defd1<_0x4f662b['length'];++_0x1defd1)null!=_0x3ef087[_0x4f662b[_0x1defd1]]&&'__proto__'!==_0x4f662b[_0x1defd1]&&(this[_0x4f662b[_0x1defd1]]=_0x3ef087[_0x4f662b[_0x1defd1]]);}}return _0x1db2c8['prototype']['commentThreadId']='',_0x1db2c8['prototype']['comments']=_0x155d72['emptyArray'],_0x1db2c8['prototype']['resolvedAt']='',_0x1db2c8['prototype']['resolvedBy']='',_0x1db2c8['prototype']['context']='',_0x1db2c8['prototype']['createdAt']='',_0x1db2c8['prototype']['deletedAt']='',_0x1db2c8['prototype']['attributes']='',_0x1db2c8['prototype']['unlinkedAt']='',_0x1db2c8['create']=function(_0x5cbd81){return new _0x1db2c8(_0x5cbd81);},_0x1db2c8['encode']=function(_0x18f657,_0x53e418){if(_0x53e418||(_0x53e418=_0x352caa['create']()),null!=_0x18f657['commentThreadId']&&Object['hasOwnProperty']['call'](_0x18f657,'commentThreadId')&&_0x53e418['uint32'](0xa)['string'](_0x18f657['commentThreadId']),null!=_0x18f657['comments']&&_0x18f657['comments']['length']){for(var _0x927fcd=0x0;_0x927fcd<_0x18f657['comments']['length'];++_0x927fcd)_0x571a6c['CommentDescriptor']['encode'](_0x18f657['comments'][_0x927fcd],_0x53e418['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x18f657['resolvedAt']&&Object['hasOwnProperty']['call'](_0x18f657,'resolvedAt')&&_0x53e418['uint32'](0x1a)['string'](_0x18f657['resolvedAt']),null!=_0x18f657['resolvedBy']&&Object['hasOwnProperty']['call'](_0x18f657,'resolvedBy')&&_0x53e418['uint32'](0x22)['string'](_0x18f657['resolvedBy']),null!=_0x18f657['context']&&Object['hasOwnProperty']['call'](_0x18f657,'context')&&_0x53e418['uint32'](0x2a)['string'](_0x18f657['context']),null!=_0x18f657['createdAt']&&Object['hasOwnProperty']['call'](_0x18f657,'createdAt')&&_0x53e418['uint32'](0x32)['string'](_0x18f657['createdAt']),null!=_0x18f657['deletedAt']&&Object['hasOwnProperty']['call'](_0x18f657,'deletedAt')&&_0x53e418['uint32'](0x3a)['string'](_0x18f657['deletedAt']),null!=_0x18f657['attributes']&&Object['hasOwnProperty']['call'](_0x18f657,'attributes')&&_0x53e418['uint32'](0x42)['string'](_0x18f657['attributes']),null!=_0x18f657['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x18f657,'unlinkedAt')&&_0x53e418['uint32'](0x4a)['string'](_0x18f657['unlinkedAt']),_0x53e418;},_0x1db2c8['encodeDelimited']=function(_0x4728c1,_0x364290){return this['encode'](_0x4728c1,_0x364290)['ldelim']();},_0x1db2c8['decode']=function(_0x499436,_0x33118d,_0x257bb1,_0xd88f08){if(_0x499436 instanceof _0x50c11c||(_0x499436=_0x50c11c['create'](_0x499436)),void 0x0===_0xd88f08&&(_0xd88f08=0x0),_0xd88f08>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x328b82=void 0x0===_0x33118d?_0x499436['len']:_0x499436['pos']+_0x33118d,_0x380b44=new _0x571a6c['CommentsThreadDescriptor']();_0x499436['pos']<_0x328b82;){var _0x554568=_0x499436['uint32']();if(_0x554568===_0x257bb1)break;switch(_0x554568>>>0x3){case 0x1:_0x380b44['commentThreadId']=_0x499436['string']();break;case 0x2:_0x380b44['comments']&&_0x380b44['comments']['length']||(_0x380b44['comments']=[]),_0x380b44['comments']['push'](_0x571a6c['CommentDescriptor']['decode'](_0x499436,_0x499436['uint32'](),void 0x0,_0xd88f08+0x1));break;case 0x3:_0x380b44['resolvedAt']=_0x499436['string']();break;case 0x4:_0x380b44['resolvedBy']=_0x499436['string']();break;case 0x5:_0x380b44['context']=_0x499436['string']();break;case 0x6:_0x380b44['createdAt']=_0x499436['string']();break;case 0x7:_0x380b44['deletedAt']=_0x499436['string']();break;case 0x8:_0x380b44['attributes']=_0x499436['string']();break;case 0x9:_0x380b44['unlinkedAt']=_0x499436['string']();break;default:_0x499436['skipType'](0x7&_0x554568,_0xd88f08);}}return _0x380b44;},_0x1db2c8['decodeDelimited']=function(_0x139f14){return _0x139f14 instanceof _0x50c11c||(_0x139f14=new _0x50c11c(_0x139f14)),this['decode'](_0x139f14,_0x139f14['uint32']());},_0x1db2c8['verify']=function(_0x1b517d,_0x52fe8e){if('object'!=typeof _0x1b517d||null===_0x1b517d)return'object\x20expected';if(void 0x0===_0x52fe8e&&(_0x52fe8e=0x0),_0x52fe8e>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1b517d['commentThreadId']&&_0x1b517d['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x1b517d['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x1b517d['comments']&&_0x1b517d['hasOwnProperty']('comments')){if(!Array['isArray'](_0x1b517d['comments']))return'comments:\x20array\x20expected';for(var _0x32e3b9=0x0;_0x32e3b9<_0x1b517d['comments']['length'];++_0x32e3b9){var _0x32da4b=_0x571a6c['CommentDescriptor']['verify'](_0x1b517d['comments'][_0x32e3b9],_0x52fe8e+0x1);if(_0x32da4b)return'comments.'+_0x32da4b;}}return null!=_0x1b517d['resolvedAt']&&_0x1b517d['hasOwnProperty']('resolvedAt')&&!_0x155d72['isString'](_0x1b517d['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x1b517d['resolvedBy']&&_0x1b517d['hasOwnProperty']('resolvedBy')&&!_0x155d72['isString'](_0x1b517d['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x1b517d['context']&&_0x1b517d['hasOwnProperty']('context')&&!_0x155d72['isString'](_0x1b517d['context'])?'context:\x20string\x20expected':null!=_0x1b517d['createdAt']&&_0x1b517d['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x1b517d['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1b517d['deletedAt']&&_0x1b517d['hasOwnProperty']('deletedAt')&&!_0x155d72['isString'](_0x1b517d['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x1b517d['attributes']&&_0x1b517d['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x1b517d['attributes'])?'attributes:\x20string\x20expected':null!=_0x1b517d['unlinkedAt']&&_0x1b517d['hasOwnProperty']('unlinkedAt')&&!_0x155d72['isString'](_0x1b517d['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x1db2c8['fromObject']=function(_0x500376,_0x58fd7f){if(_0x500376 instanceof _0x571a6c['CommentsThreadDescriptor'])return _0x500376;if(void 0x0===_0x58fd7f&&(_0x58fd7f=0x0),_0x58fd7f>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5749cb=new _0x571a6c['CommentsThreadDescriptor']();if(null!=_0x500376['commentThreadId']&&(_0x5749cb['commentThreadId']=String(_0x500376['commentThreadId'])),_0x500376['comments']){if(!Array['isArray'](_0x500376['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x5749cb['comments']=[];for(var _0x242ddd=0x0;_0x242ddd<_0x500376['comments']['length'];++_0x242ddd){if('object'!=typeof _0x500376['comments'][_0x242ddd])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x5749cb['comments'][_0x242ddd]=_0x571a6c['CommentDescriptor']['fromObject'](_0x500376['comments'][_0x242ddd],_0x58fd7f+0x1);}}return null!=_0x500376['resolvedAt']&&(_0x5749cb['resolvedAt']=String(_0x500376['resolvedAt'])),null!=_0x500376['resolvedBy']&&(_0x5749cb['resolvedBy']=String(_0x500376['resolvedBy'])),null!=_0x500376['context']&&(_0x5749cb['context']=String(_0x500376['context'])),null!=_0x500376['createdAt']&&(_0x5749cb['createdAt']=String(_0x500376['createdAt'])),null!=_0x500376['deletedAt']&&(_0x5749cb['deletedAt']=String(_0x500376['deletedAt'])),null!=_0x500376['attributes']&&(_0x5749cb['attributes']=String(_0x500376['attributes'])),null!=_0x500376['unlinkedAt']&&(_0x5749cb['unlinkedAt']=String(_0x500376['unlinkedAt'])),_0x5749cb;},_0x1db2c8['toObject']=function(_0x6bb98e,_0x23fd10){_0x23fd10||(_0x23fd10={});var _0x28e54f={};if((_0x23fd10['arrays']||_0x23fd10['defaults'])&&(_0x28e54f['comments']=[]),_0x23fd10['defaults']&&(_0x28e54f['commentThreadId']='',_0x28e54f['resolvedAt']='',_0x28e54f['resolvedBy']='',_0x28e54f['context']='',_0x28e54f['createdAt']='',_0x28e54f['deletedAt']='',_0x28e54f['attributes']='',_0x28e54f['unlinkedAt']=''),null!=_0x6bb98e['commentThreadId']&&_0x6bb98e['hasOwnProperty']('commentThreadId')&&(_0x28e54f['commentThreadId']=_0x6bb98e['commentThreadId']),_0x6bb98e['comments']&&_0x6bb98e['comments']['length']){_0x28e54f['comments']=[];for(var _0x1258bd=0x0;_0x1258bd<_0x6bb98e['comments']['length'];++_0x1258bd)_0x28e54f['comments'][_0x1258bd]=_0x571a6c['CommentDescriptor']['toObject'](_0x6bb98e['comments'][_0x1258bd],_0x23fd10);}return null!=_0x6bb98e['resolvedAt']&&_0x6bb98e['hasOwnProperty']('resolvedAt')&&(_0x28e54f['resolvedAt']=_0x6bb98e['resolvedAt']),null!=_0x6bb98e['resolvedBy']&&_0x6bb98e['hasOwnProperty']('resolvedBy')&&(_0x28e54f['resolvedBy']=_0x6bb98e['resolvedBy']),null!=_0x6bb98e['context']&&_0x6bb98e['hasOwnProperty']('context')&&(_0x28e54f['context']=_0x6bb98e['context']),null!=_0x6bb98e['createdAt']&&_0x6bb98e['hasOwnProperty']('createdAt')&&(_0x28e54f['createdAt']=_0x6bb98e['createdAt']),null!=_0x6bb98e['deletedAt']&&_0x6bb98e['hasOwnProperty']('deletedAt')&&(_0x28e54f['deletedAt']=_0x6bb98e['deletedAt']),null!=_0x6bb98e['attributes']&&_0x6bb98e['hasOwnProperty']('attributes')&&(_0x28e54f['attributes']=_0x6bb98e['attributes']),null!=_0x6bb98e['unlinkedAt']&&_0x6bb98e['hasOwnProperty']('unlinkedAt')&&(_0x28e54f['unlinkedAt']=_0x6bb98e['unlinkedAt']),_0x28e54f;},_0x1db2c8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x1db2c8['getTypeUrl']=function(_0x5451d1){return void 0x0===_0x5451d1&&(_0x5451d1='type.googleapis.com'),_0x5451d1+'/CommentsThreadDescriptor';},_0x1db2c8;}()),_0x571a6c['CommentDescriptor']=(function(){function _0x5dd038(_0x6491bd){if(_0x6491bd){for(var _0x1cf60c=Object['keys'](_0x6491bd),_0x27afb7=0x0;_0x27afb7<_0x1cf60c['length'];++_0x27afb7)null!=_0x6491bd[_0x1cf60c[_0x27afb7]]&&'__proto__'!==_0x1cf60c[_0x27afb7]&&(this[_0x1cf60c[_0x27afb7]]=_0x6491bd[_0x1cf60c[_0x27afb7]]);}}return _0x5dd038['prototype']['commentId']='',_0x5dd038['prototype']['commentThreadId']='',_0x5dd038['prototype']['userId']='',_0x5dd038['prototype']['content']='',_0x5dd038['prototype']['documentId']='',_0x5dd038['prototype']['createdAt']='',_0x5dd038['prototype']['attributes']='',_0x5dd038['create']=function(_0x3c1815){return new _0x5dd038(_0x3c1815);},_0x5dd038['encode']=function(_0x200958,_0x3b6c58){return _0x3b6c58||(_0x3b6c58=_0x352caa['create']()),null!=_0x200958['commentId']&&Object['hasOwnProperty']['call'](_0x200958,'commentId')&&_0x3b6c58['uint32'](0xa)['string'](_0x200958['commentId']),null!=_0x200958['commentThreadId']&&Object['hasOwnProperty']['call'](_0x200958,'commentThreadId')&&_0x3b6c58['uint32'](0x12)['string'](_0x200958['commentThreadId']),null!=_0x200958['userId']&&Object['hasOwnProperty']['call'](_0x200958,'userId')&&_0x3b6c58['uint32'](0x1a)['string'](_0x200958['userId']),null!=_0x200958['content']&&Object['hasOwnProperty']['call'](_0x200958,'content')&&_0x3b6c58['uint32'](0x22)['string'](_0x200958['content']),null!=_0x200958['documentId']&&Object['hasOwnProperty']['call'](_0x200958,'documentId')&&_0x3b6c58['uint32'](0x2a)['string'](_0x200958['documentId']),null!=_0x200958['createdAt']&&Object['hasOwnProperty']['call'](_0x200958,'createdAt')&&_0x3b6c58['uint32'](0x32)['string'](_0x200958['createdAt']),null!=_0x200958['attributes']&&Object['hasOwnProperty']['call'](_0x200958,'attributes')&&_0x3b6c58['uint32'](0x3a)['string'](_0x200958['attributes']),_0x3b6c58;},_0x5dd038['encodeDelimited']=function(_0x59de0e,_0x105684){return this['encode'](_0x59de0e,_0x105684)['ldelim']();},_0x5dd038['decode']=function(_0x56c0b9,_0x5e792a,_0x40e1ba,_0x3d1841){if(_0x56c0b9 instanceof _0x50c11c||(_0x56c0b9=_0x50c11c['create'](_0x56c0b9)),void 0x0===_0x3d1841&&(_0x3d1841=0x0),_0x3d1841>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x441abd=void 0x0===_0x5e792a?_0x56c0b9['len']:_0x56c0b9['pos']+_0x5e792a,_0x4db503=new _0x571a6c['CommentDescriptor']();_0x56c0b9['pos']<_0x441abd;){var _0x2402c0=_0x56c0b9['uint32']();if(_0x2402c0===_0x40e1ba)break;switch(_0x2402c0>>>0x3){case 0x1:_0x4db503['commentId']=_0x56c0b9['string']();break;case 0x2:_0x4db503['commentThreadId']=_0x56c0b9['string']();break;case 0x3:_0x4db503['userId']=_0x56c0b9['string']();break;case 0x4:_0x4db503['content']=_0x56c0b9['string']();break;case 0x5:_0x4db503['documentId']=_0x56c0b9['string']();break;case 0x6:_0x4db503['createdAt']=_0x56c0b9['string']();break;case 0x7:_0x4db503['attributes']=_0x56c0b9['string']();break;default:_0x56c0b9['skipType'](0x7&_0x2402c0,_0x3d1841);}}return _0x4db503;},_0x5dd038['decodeDelimited']=function(_0x1f2a63){return _0x1f2a63 instanceof _0x50c11c||(_0x1f2a63=new _0x50c11c(_0x1f2a63)),this['decode'](_0x1f2a63,_0x1f2a63['uint32']());},_0x5dd038['verify']=function(_0x4e4cd1,_0x269f8e){return'object'!=typeof _0x4e4cd1||null===_0x4e4cd1?'object\x20expected':(void 0x0===_0x269f8e&&(_0x269f8e=0x0),_0x269f8e>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4e4cd1['commentId']&&_0x4e4cd1['hasOwnProperty']('commentId')&&!_0x155d72['isString'](_0x4e4cd1['commentId'])?'commentId:\x20string\x20expected':null!=_0x4e4cd1['commentThreadId']&&_0x4e4cd1['hasOwnProperty']('commentThreadId')&&!_0x155d72['isString'](_0x4e4cd1['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4e4cd1['userId']&&_0x4e4cd1['hasOwnProperty']('userId')&&!_0x155d72['isString'](_0x4e4cd1['userId'])?'userId:\x20string\x20expected':null!=_0x4e4cd1['content']&&_0x4e4cd1['hasOwnProperty']('content')&&!_0x155d72['isString'](_0x4e4cd1['content'])?'content:\x20string\x20expected':null!=_0x4e4cd1['documentId']&&_0x4e4cd1['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x4e4cd1['documentId'])?'documentId:\x20string\x20expected':null!=_0x4e4cd1['createdAt']&&_0x4e4cd1['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x4e4cd1['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4e4cd1['attributes']&&_0x4e4cd1['hasOwnProperty']('attributes')&&!_0x155d72['isString'](_0x4e4cd1['attributes'])?'attributes:\x20string\x20expected':null);},_0x5dd038['fromObject']=function(_0x471b67,_0x282846){if(_0x471b67 instanceof _0x571a6c['CommentDescriptor'])return _0x471b67;if(void 0x0===_0x282846&&(_0x282846=0x0),_0x282846>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5134c4=new _0x571a6c['CommentDescriptor']();return null!=_0x471b67['commentId']&&(_0x5134c4['commentId']=String(_0x471b67['commentId'])),null!=_0x471b67['commentThreadId']&&(_0x5134c4['commentThreadId']=String(_0x471b67['commentThreadId'])),null!=_0x471b67['userId']&&(_0x5134c4['userId']=String(_0x471b67['userId'])),null!=_0x471b67['content']&&(_0x5134c4['content']=String(_0x471b67['content'])),null!=_0x471b67['documentId']&&(_0x5134c4['documentId']=String(_0x471b67['documentId'])),null!=_0x471b67['createdAt']&&(_0x5134c4['createdAt']=String(_0x471b67['createdAt'])),null!=_0x471b67['attributes']&&(_0x5134c4['attributes']=String(_0x471b67['attributes'])),_0x5134c4;},_0x5dd038['toObject']=function(_0x372678,_0x4d4b84){_0x4d4b84||(_0x4d4b84={});var _0x58ff17={};return _0x4d4b84['defaults']&&(_0x58ff17['commentId']='',_0x58ff17['commentThreadId']='',_0x58ff17['userId']='',_0x58ff17['content']='',_0x58ff17['documentId']='',_0x58ff17['createdAt']='',_0x58ff17['attributes']=''),null!=_0x372678['commentId']&&_0x372678['hasOwnProperty']('commentId')&&(_0x58ff17['commentId']=_0x372678['commentId']),null!=_0x372678['commentThreadId']&&_0x372678['hasOwnProperty']('commentThreadId')&&(_0x58ff17['commentThreadId']=_0x372678['commentThreadId']),null!=_0x372678['userId']&&_0x372678['hasOwnProperty']('userId')&&(_0x58ff17['userId']=_0x372678['userId']),null!=_0x372678['content']&&_0x372678['hasOwnProperty']('content')&&(_0x58ff17['content']=_0x372678['content']),null!=_0x372678['documentId']&&_0x372678['hasOwnProperty']('documentId')&&(_0x58ff17['documentId']=_0x372678['documentId']),null!=_0x372678['createdAt']&&_0x372678['hasOwnProperty']('createdAt')&&(_0x58ff17['createdAt']=_0x372678['createdAt']),null!=_0x372678['attributes']&&_0x372678['hasOwnProperty']('attributes')&&(_0x58ff17['attributes']=_0x372678['attributes']),_0x58ff17;},_0x5dd038['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5dd038['getTypeUrl']=function(_0x3f3c1c){return void 0x0===_0x3f3c1c&&(_0x3f3c1c='type.googleapis.com'),_0x3f3c1c+'/CommentDescriptor';},_0x5dd038;}()),_0x571a6c['GetDocumentDetailsResponse']=(function(){function _0x1e74a5(_0x5b0453){if(_0x5b0453){for(var _0x1e2b8e=Object['keys'](_0x5b0453),_0x5a07c0=0x0;_0x5a07c0<_0x1e2b8e['length'];++_0x5a07c0)null!=_0x5b0453[_0x1e2b8e[_0x5a07c0]]&&'__proto__'!==_0x1e2b8e[_0x5a07c0]&&(this[_0x1e2b8e[_0x5a07c0]]=_0x5b0453[_0x1e2b8e[_0x5a07c0]]);}}return _0x1e74a5['prototype']['lastDocumentSessionId']='',_0x1e74a5['prototype']['lastDocumentSessionOperationId']='',_0x1e74a5['prototype']['currentDocumentSessionId']='',_0x1e74a5['prototype']['currentDocumentSessionVersion']=0x0,_0x1e74a5['prototype']['currentDocumentSessionOperationId']='',_0x1e74a5['create']=function(_0x3fa16f){return new _0x1e74a5(_0x3fa16f);},_0x1e74a5['encode']=function(_0x1f1d2d,_0x12fddd){return _0x12fddd||(_0x12fddd=_0x352caa['create']()),null!=_0x1f1d2d['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x1f1d2d,'lastDocumentSessionId')&&_0x12fddd['uint32'](0xa)['string'](_0x1f1d2d['lastDocumentSessionId']),null!=_0x1f1d2d['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x1f1d2d,'lastDocumentSessionOperationId')&&_0x12fddd['uint32'](0x12)['string'](_0x1f1d2d['lastDocumentSessionOperationId']),null!=_0x1f1d2d['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x1f1d2d,'currentDocumentSessionId')&&_0x12fddd['uint32'](0x1a)['string'](_0x1f1d2d['currentDocumentSessionId']),null!=_0x1f1d2d['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x1f1d2d,'currentDocumentSessionVersion')&&_0x12fddd['uint32'](0x20)['uint32'](_0x1f1d2d['currentDocumentSessionVersion']),null!=_0x1f1d2d['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x1f1d2d,'currentDocumentSessionOperationId')&&_0x12fddd['uint32'](0x2a)['string'](_0x1f1d2d['currentDocumentSessionOperationId']),_0x12fddd;},_0x1e74a5['encodeDelimited']=function(_0x323316,_0x409195){return this['encode'](_0x323316,_0x409195)['ldelim']();},_0x1e74a5['decode']=function(_0x297bff,_0x18fc9e,_0xf62b23,_0x240959){if(_0x297bff instanceof _0x50c11c||(_0x297bff=_0x50c11c['create'](_0x297bff)),void 0x0===_0x240959&&(_0x240959=0x0),_0x240959>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x51fa39=void 0x0===_0x18fc9e?_0x297bff['len']:_0x297bff['pos']+_0x18fc9e,_0xc38297=new _0x571a6c['GetDocumentDetailsResponse']();_0x297bff['pos']<_0x51fa39;){var _0x12b5f6=_0x297bff['uint32']();if(_0x12b5f6===_0xf62b23)break;switch(_0x12b5f6>>>0x3){case 0x1:_0xc38297['lastDocumentSessionId']=_0x297bff['string']();break;case 0x2:_0xc38297['lastDocumentSessionOperationId']=_0x297bff['string']();break;case 0x3:_0xc38297['currentDocumentSessionId']=_0x297bff['string']();break;case 0x4:_0xc38297['currentDocumentSessionVersion']=_0x297bff['uint32']();break;case 0x5:_0xc38297['currentDocumentSessionOperationId']=_0x297bff['string']();break;default:_0x297bff['skipType'](0x7&_0x12b5f6,_0x240959);}}return _0xc38297;},_0x1e74a5['decodeDelimited']=function(_0x2fc918){return _0x2fc918 instanceof _0x50c11c||(_0x2fc918=new _0x50c11c(_0x2fc918)),this['decode'](_0x2fc918,_0x2fc918['uint32']());},_0x1e74a5['verify']=function(_0x9ffb8e,_0x1e6946){return'object'!=typeof _0x9ffb8e||null===_0x9ffb8e?'object\x20expected':(void 0x0===_0x1e6946&&(_0x1e6946=0x0),_0x1e6946>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x9ffb8e['lastDocumentSessionId']&&_0x9ffb8e['hasOwnProperty']('lastDocumentSessionId')&&!_0x155d72['isString'](_0x9ffb8e['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x9ffb8e['lastDocumentSessionOperationId']&&_0x9ffb8e['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x155d72['isString'](_0x9ffb8e['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x9ffb8e['currentDocumentSessionId']&&_0x9ffb8e['hasOwnProperty']('currentDocumentSessionId')&&!_0x155d72['isString'](_0x9ffb8e['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x9ffb8e['currentDocumentSessionVersion']&&_0x9ffb8e['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x155d72['isInteger'](_0x9ffb8e['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x9ffb8e['currentDocumentSessionOperationId']&&_0x9ffb8e['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x155d72['isString'](_0x9ffb8e['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},_0x1e74a5['fromObject']=function(_0x445608,_0x1390ef){if(_0x445608 instanceof _0x571a6c['GetDocumentDetailsResponse'])return _0x445608;if(void 0x0===_0x1390ef&&(_0x1390ef=0x0),_0x1390ef>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x22414e=new _0x571a6c['GetDocumentDetailsResponse']();return null!=_0x445608['lastDocumentSessionId']&&(_0x22414e['lastDocumentSessionId']=String(_0x445608['lastDocumentSessionId'])),null!=_0x445608['lastDocumentSessionOperationId']&&(_0x22414e['lastDocumentSessionOperationId']=String(_0x445608['lastDocumentSessionOperationId'])),null!=_0x445608['currentDocumentSessionId']&&(_0x22414e['currentDocumentSessionId']=String(_0x445608['currentDocumentSessionId'])),null!=_0x445608['currentDocumentSessionVersion']&&(_0x22414e['currentDocumentSessionVersion']=_0x445608['currentDocumentSessionVersion']>>>0x0),null!=_0x445608['currentDocumentSessionOperationId']&&(_0x22414e['currentDocumentSessionOperationId']=String(_0x445608['currentDocumentSessionOperationId'])),_0x22414e;},_0x1e74a5['toObject']=function(_0x3aa6fe,_0x2845fe){_0x2845fe||(_0x2845fe={});var _0xa81f16={};return _0x2845fe['defaults']&&(_0xa81f16['lastDocumentSessionId']='',_0xa81f16['lastDocumentSessionOperationId']='',_0xa81f16['currentDocumentSessionId']='',_0xa81f16['currentDocumentSessionVersion']=0x0,_0xa81f16['currentDocumentSessionOperationId']=''),null!=_0x3aa6fe['lastDocumentSessionId']&&_0x3aa6fe['hasOwnProperty']('lastDocumentSessionId')&&(_0xa81f16['lastDocumentSessionId']=_0x3aa6fe['lastDocumentSessionId']),null!=_0x3aa6fe['lastDocumentSessionOperationId']&&_0x3aa6fe['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0xa81f16['lastDocumentSessionOperationId']=_0x3aa6fe['lastDocumentSessionOperationId']),null!=_0x3aa6fe['currentDocumentSessionId']&&_0x3aa6fe['hasOwnProperty']('currentDocumentSessionId')&&(_0xa81f16['currentDocumentSessionId']=_0x3aa6fe['currentDocumentSessionId']),null!=_0x3aa6fe['currentDocumentSessionVersion']&&_0x3aa6fe['hasOwnProperty']('currentDocumentSessionVersion')&&(_0xa81f16['currentDocumentSessionVersion']=_0x3aa6fe['currentDocumentSessionVersion']),null!=_0x3aa6fe['currentDocumentSessionOperationId']&&_0x3aa6fe['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0xa81f16['currentDocumentSessionOperationId']=_0x3aa6fe['currentDocumentSessionOperationId']),_0xa81f16;},_0x1e74a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x1e74a5['getTypeUrl']=function(_0x114728){return void 0x0===_0x114728&&(_0x114728='type.googleapis.com'),_0x114728+'/GetDocumentDetailsResponse';},_0x1e74a5;}()),_0x571a6c['CollaborativeEditingResponse']=(function(){function _0x1737c1(_0x11d298){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x11d298){for(var _0x491ee5=Object['keys'](_0x11d298),_0xd8ccbe=0x0;_0xd8ccbe<_0x491ee5['length'];++_0xd8ccbe)null!=_0x11d298[_0x491ee5[_0xd8ccbe]]&&'__proto__'!==_0x491ee5[_0xd8ccbe]&&(this[_0x491ee5[_0xd8ccbe]]=_0x11d298[_0x491ee5[_0xd8ccbe]]);}}return _0x1737c1['prototype']['version']=0x0,_0x1737c1['prototype']['buffers']=_0x155d72['emptyArray'],_0x1737c1['prototype']['types']=_0x155d72['emptyArray'],_0x1737c1['prototype']['metadata']=_0x155d72['emptyArray'],_0x1737c1['prototype']['lastOperationId']='',_0x1737c1['prototype']['lastOperationAcceptedAt']='',_0x1737c1['create']=function(_0x404bad){return new _0x1737c1(_0x404bad);},_0x1737c1['encode']=function(_0x145eb8,_0x96134a){if(_0x96134a||(_0x96134a=_0x352caa['create']()),null!=_0x145eb8['version']&&Object['hasOwnProperty']['call'](_0x145eb8,'version')&&_0x96134a['uint32'](0x8)['uint32'](_0x145eb8['version']),null!=_0x145eb8['buffers']&&_0x145eb8['buffers']['length']){for(var _0x538f74=0x0;_0x538f74<_0x145eb8['buffers']['length'];++_0x538f74)_0x96134a['uint32'](0x12)['bytes'](_0x145eb8['buffers'][_0x538f74]);}if(null!=_0x145eb8['types']&&_0x145eb8['types']['length']){for(_0x96134a['uint32'](0x1a)['fork'](),_0x538f74=0x0;_0x538f74<_0x145eb8['types']['length'];++_0x538f74)_0x96134a['uint32'](_0x145eb8['types'][_0x538f74]);_0x96134a['ldelim']();}if(null!=_0x145eb8['metadata']&&_0x145eb8['metadata']['length']){for(_0x538f74=0x0;_0x538f74<_0x145eb8['metadata']['length'];++_0x538f74)_0x571a6c['OperationMetadataDescriptor']['encode'](_0x145eb8['metadata'][_0x538f74],_0x96134a['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x145eb8['lastOperationId']&&Object['hasOwnProperty']['call'](_0x145eb8,'lastOperationId')&&_0x96134a['uint32'](0x32)['string'](_0x145eb8['lastOperationId']),null!=_0x145eb8['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x145eb8,'lastOperationAcceptedAt')&&_0x96134a['uint32'](0x3a)['string'](_0x145eb8['lastOperationAcceptedAt']),_0x96134a;},_0x1737c1['encodeDelimited']=function(_0x90871d,_0x2d884a){return this['encode'](_0x90871d,_0x2d884a)['ldelim']();},_0x1737c1['decode']=function(_0xfb2407,_0x2493a2,_0x15d4ba,_0x4ab034){if(_0xfb2407 instanceof _0x50c11c||(_0xfb2407=_0x50c11c['create'](_0xfb2407)),void 0x0===_0x4ab034&&(_0x4ab034=0x0),_0x4ab034>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3bac51=void 0x0===_0x2493a2?_0xfb2407['len']:_0xfb2407['pos']+_0x2493a2,_0xeb3124=new _0x571a6c['CollaborativeEditingResponse']();_0xfb2407['pos']<_0x3bac51;){var _0x165cde=_0xfb2407['uint32']();if(_0x165cde===_0x15d4ba)break;switch(_0x165cde>>>0x3){case 0x1:_0xeb3124['version']=_0xfb2407['uint32']();break;case 0x2:_0xeb3124['buffers']&&_0xeb3124['buffers']['length']||(_0xeb3124['buffers']=[]),_0xeb3124['buffers']['push'](_0xfb2407['bytes']());break;case 0x3:if(_0xeb3124['types']&&_0xeb3124['types']['length']||(_0xeb3124['types']=[]),0x2==(0x7&_0x165cde)){for(var _0xa1ee98=_0xfb2407['uint32']()+_0xfb2407['pos'];_0xfb2407['pos']<_0xa1ee98;)_0xeb3124['types']['push'](_0xfb2407['uint32']());}else _0xeb3124['types']['push'](_0xfb2407['uint32']());break;case 0x5:_0xeb3124['metadata']&&_0xeb3124['metadata']['length']||(_0xeb3124['metadata']=[]),_0xeb3124['metadata']['push'](_0x571a6c['OperationMetadataDescriptor']['decode'](_0xfb2407,_0xfb2407['uint32'](),void 0x0,_0x4ab034+0x1));break;case 0x6:_0xeb3124['lastOperationId']=_0xfb2407['string']();break;case 0x7:_0xeb3124['lastOperationAcceptedAt']=_0xfb2407['string']();break;default:_0xfb2407['skipType'](0x7&_0x165cde,_0x4ab034);}}return _0xeb3124;},_0x1737c1['decodeDelimited']=function(_0xbff749){return _0xbff749 instanceof _0x50c11c||(_0xbff749=new _0x50c11c(_0xbff749)),this['decode'](_0xbff749,_0xbff749['uint32']());},_0x1737c1['verify']=function(_0x473eb0,_0x33d490){if('object'!=typeof _0x473eb0||null===_0x473eb0)return'object\x20expected';if(void 0x0===_0x33d490&&(_0x33d490=0x0),_0x33d490>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x473eb0['version']&&_0x473eb0['hasOwnProperty']('version')&&!_0x155d72['isInteger'](_0x473eb0['version']))return'version:\x20integer\x20expected';if(null!=_0x473eb0['buffers']&&_0x473eb0['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x473eb0['buffers']))return'buffers:\x20array\x20expected';for(var _0x2479dd=0x0;_0x2479dd<_0x473eb0['buffers']['length'];++_0x2479dd)if(!(_0x473eb0['buffers'][_0x2479dd]&&'number'==typeof _0x473eb0['buffers'][_0x2479dd]['length']||_0x155d72['isString'](_0x473eb0['buffers'][_0x2479dd])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x473eb0['types']&&_0x473eb0['hasOwnProperty']('types')){if(!Array['isArray'](_0x473eb0['types']))return'types:\x20array\x20expected';for(_0x2479dd=0x0;_0x2479dd<_0x473eb0['types']['length'];++_0x2479dd)if(!_0x155d72['isInteger'](_0x473eb0['types'][_0x2479dd]))return'types:\x20integer[]\x20expected';}if(null!=_0x473eb0['metadata']&&_0x473eb0['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x473eb0['metadata']))return'metadata:\x20array\x20expected';for(_0x2479dd=0x0;_0x2479dd<_0x473eb0['metadata']['length'];++_0x2479dd){var _0x1572ae=_0x571a6c['OperationMetadataDescriptor']['verify'](_0x473eb0['metadata'][_0x2479dd],_0x33d490+0x1);if(_0x1572ae)return'metadata.'+_0x1572ae;}}return null!=_0x473eb0['lastOperationId']&&_0x473eb0['hasOwnProperty']('lastOperationId')&&!_0x155d72['isString'](_0x473eb0['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x473eb0['lastOperationAcceptedAt']&&_0x473eb0['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x155d72['isString'](_0x473eb0['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x1737c1['fromObject']=function(_0x316d4f,_0x32703b){if(_0x316d4f instanceof _0x571a6c['CollaborativeEditingResponse'])return _0x316d4f;if(void 0x0===_0x32703b&&(_0x32703b=0x0),_0x32703b>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2217d1=new _0x571a6c['CollaborativeEditingResponse']();if(null!=_0x316d4f['version']&&(_0x2217d1['version']=_0x316d4f['version']>>>0x0),_0x316d4f['buffers']){if(!Array['isArray'](_0x316d4f['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x2217d1['buffers']=[];for(var _0x38fb86=0x0;_0x38fb86<_0x316d4f['buffers']['length'];++_0x38fb86)'string'==typeof _0x316d4f['buffers'][_0x38fb86]?_0x155d72['base64']['decode'](_0x316d4f['buffers'][_0x38fb86],_0x2217d1['buffers'][_0x38fb86]=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x316d4f['buffers'][_0x38fb86])),0x0):_0x316d4f['buffers'][_0x38fb86]['length']>=0x0&&(_0x2217d1['buffers'][_0x38fb86]=_0x316d4f['buffers'][_0x38fb86]);}if(_0x316d4f['types']){if(!Array['isArray'](_0x316d4f['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x2217d1['types']=[],_0x38fb86=0x0;_0x38fb86<_0x316d4f['types']['length'];++_0x38fb86)_0x2217d1['types'][_0x38fb86]=_0x316d4f['types'][_0x38fb86]>>>0x0;}if(_0x316d4f['metadata']){if(!Array['isArray'](_0x316d4f['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x2217d1['metadata']=[],_0x38fb86=0x0;_0x38fb86<_0x316d4f['metadata']['length'];++_0x38fb86){if('object'!=typeof _0x316d4f['metadata'][_0x38fb86])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x2217d1['metadata'][_0x38fb86]=_0x571a6c['OperationMetadataDescriptor']['fromObject'](_0x316d4f['metadata'][_0x38fb86],_0x32703b+0x1);}}return null!=_0x316d4f['lastOperationId']&&(_0x2217d1['lastOperationId']=String(_0x316d4f['lastOperationId'])),null!=_0x316d4f['lastOperationAcceptedAt']&&(_0x2217d1['lastOperationAcceptedAt']=String(_0x316d4f['lastOperationAcceptedAt'])),_0x2217d1;},_0x1737c1['toObject']=function(_0x4137e8,_0x376b8c){_0x376b8c||(_0x376b8c={});var _0x5b61e7={};if((_0x376b8c['arrays']||_0x376b8c['defaults'])&&(_0x5b61e7['buffers']=[],_0x5b61e7['types']=[],_0x5b61e7['metadata']=[]),_0x376b8c['defaults']&&(_0x5b61e7['version']=0x0,_0x5b61e7['lastOperationId']='',_0x5b61e7['lastOperationAcceptedAt']=''),null!=_0x4137e8['version']&&_0x4137e8['hasOwnProperty']('version')&&(_0x5b61e7['version']=_0x4137e8['version']),_0x4137e8['buffers']&&_0x4137e8['buffers']['length']){_0x5b61e7['buffers']=[];for(var _0x5d0e3c=0x0;_0x5d0e3c<_0x4137e8['buffers']['length'];++_0x5d0e3c)_0x5b61e7['buffers'][_0x5d0e3c]=_0x376b8c['bytes']===String?_0x155d72['base64']['encode'](_0x4137e8['buffers'][_0x5d0e3c],0x0,_0x4137e8['buffers'][_0x5d0e3c]['length']):_0x376b8c['bytes']===Array?Array['prototype']['slice']['call'](_0x4137e8['buffers'][_0x5d0e3c]):_0x4137e8['buffers'][_0x5d0e3c];}if(_0x4137e8['types']&&_0x4137e8['types']['length']){for(_0x5b61e7['types']=[],_0x5d0e3c=0x0;_0x5d0e3c<_0x4137e8['types']['length'];++_0x5d0e3c)_0x5b61e7['types'][_0x5d0e3c]=_0x4137e8['types'][_0x5d0e3c];}if(_0x4137e8['metadata']&&_0x4137e8['metadata']['length']){for(_0x5b61e7['metadata']=[],_0x5d0e3c=0x0;_0x5d0e3c<_0x4137e8['metadata']['length'];++_0x5d0e3c)_0x5b61e7['metadata'][_0x5d0e3c]=_0x571a6c['OperationMetadataDescriptor']['toObject'](_0x4137e8['metadata'][_0x5d0e3c],_0x376b8c);}return null!=_0x4137e8['lastOperationId']&&_0x4137e8['hasOwnProperty']('lastOperationId')&&(_0x5b61e7['lastOperationId']=_0x4137e8['lastOperationId']),null!=_0x4137e8['lastOperationAcceptedAt']&&_0x4137e8['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x5b61e7['lastOperationAcceptedAt']=_0x4137e8['lastOperationAcceptedAt']),_0x5b61e7;},_0x1737c1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x1737c1['getTypeUrl']=function(_0x524511){return void 0x0===_0x524511&&(_0x524511='type.googleapis.com'),_0x524511+'/CollaborativeEditingResponse';},_0x1737c1;}()),_0x571a6c['CollaborativeEditingConnectResponse']=(function(){function _0x5049be(_0x3631cf){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x3631cf){for(var _0x587087=Object['keys'](_0x3631cf),_0x4c9a98=0x0;_0x4c9a98<_0x587087['length'];++_0x4c9a98)null!=_0x3631cf[_0x587087[_0x4c9a98]]&&'__proto__'!==_0x587087[_0x4c9a98]&&(this[_0x587087[_0x4c9a98]]=_0x3631cf[_0x587087[_0x4c9a98]]);}}return _0x5049be['prototype']['channel']='',_0x5049be['prototype']['offset']=0x0,_0x5049be['prototype']['version']=0x0,_0x5049be['prototype']['buffers']=_0x155d72['emptyArray'],_0x5049be['prototype']['types']=_0x155d72['emptyArray'],_0x5049be['prototype']['metadata']=_0x155d72['emptyArray'],_0x5049be['prototype']['initData']='',_0x5049be['prototype']['isInitialized']=!0x1,_0x5049be['prototype']['sessionId']='',_0x5049be['prototype']['lastOperationId']='',_0x5049be['prototype']['sessionCreatedAt']='',_0x5049be['create']=function(_0x1b3c2d){return new _0x5049be(_0x1b3c2d);},_0x5049be['encode']=function(_0x51b0a4,_0x1d6aad){if(_0x1d6aad||(_0x1d6aad=_0x352caa['create']()),null!=_0x51b0a4['channel']&&Object['hasOwnProperty']['call'](_0x51b0a4,'channel')&&_0x1d6aad['uint32'](0xa)['string'](_0x51b0a4['channel']),null!=_0x51b0a4['offset']&&Object['hasOwnProperty']['call'](_0x51b0a4,'offset')&&_0x1d6aad['uint32'](0x10)['uint32'](_0x51b0a4['offset']),null!=_0x51b0a4['version']&&Object['hasOwnProperty']['call'](_0x51b0a4,'version')&&_0x1d6aad['uint32'](0x18)['uint32'](_0x51b0a4['version']),null!=_0x51b0a4['buffers']&&_0x51b0a4['buffers']['length']){for(var _0x2fbdc7=0x0;_0x2fbdc7<_0x51b0a4['buffers']['length'];++_0x2fbdc7)_0x1d6aad['uint32'](0x22)['bytes'](_0x51b0a4['buffers'][_0x2fbdc7]);}if(null!=_0x51b0a4['types']&&_0x51b0a4['types']['length']){for(_0x1d6aad['uint32'](0x2a)['fork'](),_0x2fbdc7=0x0;_0x2fbdc7<_0x51b0a4['types']['length'];++_0x2fbdc7)_0x1d6aad['uint32'](_0x51b0a4['types'][_0x2fbdc7]);_0x1d6aad['ldelim']();}if(null!=_0x51b0a4['metadata']&&_0x51b0a4['metadata']['length']){for(_0x2fbdc7=0x0;_0x2fbdc7<_0x51b0a4['metadata']['length'];++_0x2fbdc7)_0x571a6c['OperationMetadataDescriptor']['encode'](_0x51b0a4['metadata'][_0x2fbdc7],_0x1d6aad['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x51b0a4['initData']&&Object['hasOwnProperty']['call'](_0x51b0a4,'initData')&&_0x1d6aad['uint32'](0x42)['string'](_0x51b0a4['initData']),null!=_0x51b0a4['isInitialized']&&Object['hasOwnProperty']['call'](_0x51b0a4,'isInitialized')&&_0x1d6aad['uint32'](0x48)['bool'](_0x51b0a4['isInitialized']),null!=_0x51b0a4['sessionId']&&Object['hasOwnProperty']['call'](_0x51b0a4,'sessionId')&&_0x1d6aad['uint32'](0x52)['string'](_0x51b0a4['sessionId']),null!=_0x51b0a4['lastOperationId']&&Object['hasOwnProperty']['call'](_0x51b0a4,'lastOperationId')&&_0x1d6aad['uint32'](0x5a)['string'](_0x51b0a4['lastOperationId']),null!=_0x51b0a4['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x51b0a4,'sessionCreatedAt')&&_0x1d6aad['uint32'](0x62)['string'](_0x51b0a4['sessionCreatedAt']),_0x1d6aad;},_0x5049be['encodeDelimited']=function(_0x4abc06,_0x52cbdd){return this['encode'](_0x4abc06,_0x52cbdd)['ldelim']();},_0x5049be['decode']=function(_0x4e3703,_0x35f8fb,_0x460e6c,_0x27979d){if(_0x4e3703 instanceof _0x50c11c||(_0x4e3703=_0x50c11c['create'](_0x4e3703)),void 0x0===_0x27979d&&(_0x27979d=0x0),_0x27979d>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x31a54a=void 0x0===_0x35f8fb?_0x4e3703['len']:_0x4e3703['pos']+_0x35f8fb,_0x2f3f7c=new _0x571a6c['CollaborativeEditingConnectResponse']();_0x4e3703['pos']<_0x31a54a;){var _0x263506=_0x4e3703['uint32']();if(_0x263506===_0x460e6c)break;switch(_0x263506>>>0x3){case 0x1:_0x2f3f7c['channel']=_0x4e3703['string']();break;case 0x2:_0x2f3f7c['offset']=_0x4e3703['uint32']();break;case 0x3:_0x2f3f7c['version']=_0x4e3703['uint32']();break;case 0x4:_0x2f3f7c['buffers']&&_0x2f3f7c['buffers']['length']||(_0x2f3f7c['buffers']=[]),_0x2f3f7c['buffers']['push'](_0x4e3703['bytes']());break;case 0x5:if(_0x2f3f7c['types']&&_0x2f3f7c['types']['length']||(_0x2f3f7c['types']=[]),0x2==(0x7&_0x263506)){for(var _0x5d829d=_0x4e3703['uint32']()+_0x4e3703['pos'];_0x4e3703['pos']<_0x5d829d;)_0x2f3f7c['types']['push'](_0x4e3703['uint32']());}else _0x2f3f7c['types']['push'](_0x4e3703['uint32']());break;case 0x7:_0x2f3f7c['metadata']&&_0x2f3f7c['metadata']['length']||(_0x2f3f7c['metadata']=[]),_0x2f3f7c['metadata']['push'](_0x571a6c['OperationMetadataDescriptor']['decode'](_0x4e3703,_0x4e3703['uint32'](),void 0x0,_0x27979d+0x1));break;case 0x8:_0x2f3f7c['initData']=_0x4e3703['string']();break;case 0x9:_0x2f3f7c['isInitialized']=_0x4e3703['bool']();break;case 0xa:_0x2f3f7c['sessionId']=_0x4e3703['string']();break;case 0xb:_0x2f3f7c['lastOperationId']=_0x4e3703['string']();break;case 0xc:_0x2f3f7c['sessionCreatedAt']=_0x4e3703['string']();break;default:_0x4e3703['skipType'](0x7&_0x263506,_0x27979d);}}return _0x2f3f7c;},_0x5049be['decodeDelimited']=function(_0x4fe845){return _0x4fe845 instanceof _0x50c11c||(_0x4fe845=new _0x50c11c(_0x4fe845)),this['decode'](_0x4fe845,_0x4fe845['uint32']());},_0x5049be['verify']=function(_0x371a81,_0x258e4a){if('object'!=typeof _0x371a81||null===_0x371a81)return'object\x20expected';if(void 0x0===_0x258e4a&&(_0x258e4a=0x0),_0x258e4a>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x371a81['channel']&&_0x371a81['hasOwnProperty']('channel')&&!_0x155d72['isString'](_0x371a81['channel']))return'channel:\x20string\x20expected';if(null!=_0x371a81['offset']&&_0x371a81['hasOwnProperty']('offset')&&!_0x155d72['isInteger'](_0x371a81['offset']))return'offset:\x20integer\x20expected';if(null!=_0x371a81['version']&&_0x371a81['hasOwnProperty']('version')&&!_0x155d72['isInteger'](_0x371a81['version']))return'version:\x20integer\x20expected';if(null!=_0x371a81['buffers']&&_0x371a81['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x371a81['buffers']))return'buffers:\x20array\x20expected';for(var _0x40a45b=0x0;_0x40a45b<_0x371a81['buffers']['length'];++_0x40a45b)if(!(_0x371a81['buffers'][_0x40a45b]&&'number'==typeof _0x371a81['buffers'][_0x40a45b]['length']||_0x155d72['isString'](_0x371a81['buffers'][_0x40a45b])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x371a81['types']&&_0x371a81['hasOwnProperty']('types')){if(!Array['isArray'](_0x371a81['types']))return'types:\x20array\x20expected';for(_0x40a45b=0x0;_0x40a45b<_0x371a81['types']['length'];++_0x40a45b)if(!_0x155d72['isInteger'](_0x371a81['types'][_0x40a45b]))return'types:\x20integer[]\x20expected';}if(null!=_0x371a81['metadata']&&_0x371a81['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x371a81['metadata']))return'metadata:\x20array\x20expected';for(_0x40a45b=0x0;_0x40a45b<_0x371a81['metadata']['length'];++_0x40a45b){var _0x26b270=_0x571a6c['OperationMetadataDescriptor']['verify'](_0x371a81['metadata'][_0x40a45b],_0x258e4a+0x1);if(_0x26b270)return'metadata.'+_0x26b270;}}return null!=_0x371a81['initData']&&_0x371a81['hasOwnProperty']('initData')&&!_0x155d72['isString'](_0x371a81['initData'])?'initData:\x20string\x20expected':null!=_0x371a81['isInitialized']&&_0x371a81['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x371a81['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x371a81['sessionId']&&_0x371a81['hasOwnProperty']('sessionId')&&!_0x155d72['isString'](_0x371a81['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x371a81['lastOperationId']&&_0x371a81['hasOwnProperty']('lastOperationId')&&!_0x155d72['isString'](_0x371a81['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x371a81['sessionCreatedAt']&&_0x371a81['hasOwnProperty']('sessionCreatedAt')&&!_0x155d72['isString'](_0x371a81['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x5049be['fromObject']=function(_0x50d181,_0x47fb10){if(_0x50d181 instanceof _0x571a6c['CollaborativeEditingConnectResponse'])return _0x50d181;if(void 0x0===_0x47fb10&&(_0x47fb10=0x0),_0x47fb10>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x508bce=new _0x571a6c['CollaborativeEditingConnectResponse']();if(null!=_0x50d181['channel']&&(_0x508bce['channel']=String(_0x50d181['channel'])),null!=_0x50d181['offset']&&(_0x508bce['offset']=_0x50d181['offset']>>>0x0),null!=_0x50d181['version']&&(_0x508bce['version']=_0x50d181['version']>>>0x0),_0x50d181['buffers']){if(!Array['isArray'](_0x50d181['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x508bce['buffers']=[];for(var _0x21e91d=0x0;_0x21e91d<_0x50d181['buffers']['length'];++_0x21e91d)'string'==typeof _0x50d181['buffers'][_0x21e91d]?_0x155d72['base64']['decode'](_0x50d181['buffers'][_0x21e91d],_0x508bce['buffers'][_0x21e91d]=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x50d181['buffers'][_0x21e91d])),0x0):_0x50d181['buffers'][_0x21e91d]['length']>=0x0&&(_0x508bce['buffers'][_0x21e91d]=_0x50d181['buffers'][_0x21e91d]);}if(_0x50d181['types']){if(!Array['isArray'](_0x50d181['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x508bce['types']=[],_0x21e91d=0x0;_0x21e91d<_0x50d181['types']['length'];++_0x21e91d)_0x508bce['types'][_0x21e91d]=_0x50d181['types'][_0x21e91d]>>>0x0;}if(_0x50d181['metadata']){if(!Array['isArray'](_0x50d181['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x508bce['metadata']=[],_0x21e91d=0x0;_0x21e91d<_0x50d181['metadata']['length'];++_0x21e91d){if('object'!=typeof _0x50d181['metadata'][_0x21e91d])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x508bce['metadata'][_0x21e91d]=_0x571a6c['OperationMetadataDescriptor']['fromObject'](_0x50d181['metadata'][_0x21e91d],_0x47fb10+0x1);}}return null!=_0x50d181['initData']&&(_0x508bce['initData']=String(_0x50d181['initData'])),null!=_0x50d181['isInitialized']&&(_0x508bce['isInitialized']=Boolean(_0x50d181['isInitialized'])),null!=_0x50d181['sessionId']&&(_0x508bce['sessionId']=String(_0x50d181['sessionId'])),null!=_0x50d181['lastOperationId']&&(_0x508bce['lastOperationId']=String(_0x50d181['lastOperationId'])),null!=_0x50d181['sessionCreatedAt']&&(_0x508bce['sessionCreatedAt']=String(_0x50d181['sessionCreatedAt'])),_0x508bce;},_0x5049be['toObject']=function(_0x17d8df,_0x54510e){_0x54510e||(_0x54510e={});var _0x176e44={};if((_0x54510e['arrays']||_0x54510e['defaults'])&&(_0x176e44['buffers']=[],_0x176e44['types']=[],_0x176e44['metadata']=[]),_0x54510e['defaults']&&(_0x176e44['channel']='',_0x176e44['offset']=0x0,_0x176e44['version']=0x0,_0x176e44['initData']='',_0x176e44['isInitialized']=!0x1,_0x176e44['sessionId']='',_0x176e44['lastOperationId']='',_0x176e44['sessionCreatedAt']=''),null!=_0x17d8df['channel']&&_0x17d8df['hasOwnProperty']('channel')&&(_0x176e44['channel']=_0x17d8df['channel']),null!=_0x17d8df['offset']&&_0x17d8df['hasOwnProperty']('offset')&&(_0x176e44['offset']=_0x17d8df['offset']),null!=_0x17d8df['version']&&_0x17d8df['hasOwnProperty']('version')&&(_0x176e44['version']=_0x17d8df['version']),_0x17d8df['buffers']&&_0x17d8df['buffers']['length']){_0x176e44['buffers']=[];for(var _0x405b41=0x0;_0x405b41<_0x17d8df['buffers']['length'];++_0x405b41)_0x176e44['buffers'][_0x405b41]=_0x54510e['bytes']===String?_0x155d72['base64']['encode'](_0x17d8df['buffers'][_0x405b41],0x0,_0x17d8df['buffers'][_0x405b41]['length']):_0x54510e['bytes']===Array?Array['prototype']['slice']['call'](_0x17d8df['buffers'][_0x405b41]):_0x17d8df['buffers'][_0x405b41];}if(_0x17d8df['types']&&_0x17d8df['types']['length']){for(_0x176e44['types']=[],_0x405b41=0x0;_0x405b41<_0x17d8df['types']['length'];++_0x405b41)_0x176e44['types'][_0x405b41]=_0x17d8df['types'][_0x405b41];}if(_0x17d8df['metadata']&&_0x17d8df['metadata']['length']){for(_0x176e44['metadata']=[],_0x405b41=0x0;_0x405b41<_0x17d8df['metadata']['length'];++_0x405b41)_0x176e44['metadata'][_0x405b41]=_0x571a6c['OperationMetadataDescriptor']['toObject'](_0x17d8df['metadata'][_0x405b41],_0x54510e);}return null!=_0x17d8df['initData']&&_0x17d8df['hasOwnProperty']('initData')&&(_0x176e44['initData']=_0x17d8df['initData']),null!=_0x17d8df['isInitialized']&&_0x17d8df['hasOwnProperty']('isInitialized')&&(_0x176e44['isInitialized']=_0x17d8df['isInitialized']),null!=_0x17d8df['sessionId']&&_0x17d8df['hasOwnProperty']('sessionId')&&(_0x176e44['sessionId']=_0x17d8df['sessionId']),null!=_0x17d8df['lastOperationId']&&_0x17d8df['hasOwnProperty']('lastOperationId')&&(_0x176e44['lastOperationId']=_0x17d8df['lastOperationId']),null!=_0x17d8df['sessionCreatedAt']&&_0x17d8df['hasOwnProperty']('sessionCreatedAt')&&(_0x176e44['sessionCreatedAt']=_0x17d8df['sessionCreatedAt']),_0x176e44;},_0x5049be['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5049be['getTypeUrl']=function(_0x40ecb9){return void 0x0===_0x40ecb9&&(_0x40ecb9='type.googleapis.com'),_0x40ecb9+'/CollaborativeEditingConnectResponse';},_0x5049be;}()),_0x571a6c['GetDocumentDetailsMessage']=(function(){function _0x3c31f7(_0x228782){if(_0x228782){for(var _0x39e627=Object['keys'](_0x228782),_0x407fce=0x0;_0x407fce<_0x39e627['length'];++_0x407fce)null!=_0x228782[_0x39e627[_0x407fce]]&&'__proto__'!==_0x39e627[_0x407fce]&&(this[_0x39e627[_0x407fce]]=_0x228782[_0x39e627[_0x407fce]]);}}return _0x3c31f7['prototype']['documentId']='',_0x3c31f7['prototype']['environmentId']='',_0x3c31f7['create']=function(_0x1ce05a){return new _0x3c31f7(_0x1ce05a);},_0x3c31f7['encode']=function(_0x16b976,_0x192fde){return _0x192fde||(_0x192fde=_0x352caa['create']()),null!=_0x16b976['documentId']&&Object['hasOwnProperty']['call'](_0x16b976,'documentId')&&_0x192fde['uint32'](0xa)['string'](_0x16b976['documentId']),null!=_0x16b976['environmentId']&&Object['hasOwnProperty']['call'](_0x16b976,'environmentId')&&_0x192fde['uint32'](0x12)['string'](_0x16b976['environmentId']),_0x192fde;},_0x3c31f7['encodeDelimited']=function(_0x4cb828,_0x351468){return this['encode'](_0x4cb828,_0x351468)['ldelim']();},_0x3c31f7['decode']=function(_0x2298ac,_0xa774b3,_0x8c669,_0x19dc43){if(_0x2298ac instanceof _0x50c11c||(_0x2298ac=_0x50c11c['create'](_0x2298ac)),void 0x0===_0x19dc43&&(_0x19dc43=0x0),_0x19dc43>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x185ea9=void 0x0===_0xa774b3?_0x2298ac['len']:_0x2298ac['pos']+_0xa774b3,_0xada013=new _0x571a6c['GetDocumentDetailsMessage']();_0x2298ac['pos']<_0x185ea9;){var _0x49ad04=_0x2298ac['uint32']();if(_0x49ad04===_0x8c669)break;switch(_0x49ad04>>>0x3){case 0x1:_0xada013['documentId']=_0x2298ac['string']();break;case 0x2:_0xada013['environmentId']=_0x2298ac['string']();break;default:_0x2298ac['skipType'](0x7&_0x49ad04,_0x19dc43);}}return _0xada013;},_0x3c31f7['decodeDelimited']=function(_0x20eb2c){return _0x20eb2c instanceof _0x50c11c||(_0x20eb2c=new _0x50c11c(_0x20eb2c)),this['decode'](_0x20eb2c,_0x20eb2c['uint32']());},_0x3c31f7['verify']=function(_0x5333e5,_0xa28224){return'object'!=typeof _0x5333e5||null===_0x5333e5?'object\x20expected':(void 0x0===_0xa28224&&(_0xa28224=0x0),_0xa28224>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5333e5['documentId']&&_0x5333e5['hasOwnProperty']('documentId')&&!_0x155d72['isString'](_0x5333e5['documentId'])?'documentId:\x20string\x20expected':null!=_0x5333e5['environmentId']&&_0x5333e5['hasOwnProperty']('environmentId')&&!_0x155d72['isString'](_0x5333e5['environmentId'])?'environmentId:\x20string\x20expected':null);},_0x3c31f7['fromObject']=function(_0x26cad1,_0x6740e2){if(_0x26cad1 instanceof _0x571a6c['GetDocumentDetailsMessage'])return _0x26cad1;if(void 0x0===_0x6740e2&&(_0x6740e2=0x0),_0x6740e2>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x15d0fd=new _0x571a6c['GetDocumentDetailsMessage']();return null!=_0x26cad1['documentId']&&(_0x15d0fd['documentId']=String(_0x26cad1['documentId'])),null!=_0x26cad1['environmentId']&&(_0x15d0fd['environmentId']=String(_0x26cad1['environmentId'])),_0x15d0fd;},_0x3c31f7['toObject']=function(_0x4f8acf,_0x172bdb){_0x172bdb||(_0x172bdb={});var _0x34fb6e={};return _0x172bdb['defaults']&&(_0x34fb6e['documentId']='',_0x34fb6e['environmentId']=''),null!=_0x4f8acf['documentId']&&_0x4f8acf['hasOwnProperty']('documentId')&&(_0x34fb6e['documentId']=_0x4f8acf['documentId']),null!=_0x4f8acf['environmentId']&&_0x4f8acf['hasOwnProperty']('environmentId')&&(_0x34fb6e['environmentId']=_0x4f8acf['environmentId']),_0x34fb6e;},_0x3c31f7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x3c31f7['getTypeUrl']=function(_0x9a89d1){return void 0x0===_0x9a89d1&&(_0x9a89d1='type.googleapis.com'),_0x9a89d1+'/GetDocumentDetailsMessage';},_0x3c31f7;}()),_0x571a6c['CollaborativeEditingUpdateMessage']=(function(){function _0x93fa43(_0x369b11){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x369b11){for(var _0x1c6238=Object['keys'](_0x369b11),_0x1d3ba9=0x0;_0x1d3ba9<_0x1c6238['length'];++_0x1d3ba9)null!=_0x369b11[_0x1c6238[_0x1d3ba9]]&&'__proto__'!==_0x1c6238[_0x1d3ba9]&&(this[_0x1c6238[_0x1d3ba9]]=_0x369b11[_0x1c6238[_0x1d3ba9]]);}}return _0x93fa43['prototype']['id']='',_0x93fa43['prototype']['baseVersion']=0x0,_0x93fa43['prototype']['buffers']=_0x155d72['emptyArray'],_0x93fa43['prototype']['types']=_0x155d72['emptyArray'],_0x93fa43['prototype']['metadata']=_0x155d72['emptyArray'],_0x93fa43['prototype']['lastOperationId']='',_0x93fa43['create']=function(_0x3094be){return new _0x93fa43(_0x3094be);},_0x93fa43['encode']=function(_0x32b7ef,_0x73745b){if(_0x73745b||(_0x73745b=_0x352caa['create']()),null!=_0x32b7ef['id']&&Object['hasOwnProperty']['call'](_0x32b7ef,'id')&&_0x73745b['uint32'](0xa)['string'](_0x32b7ef['id']),null!=_0x32b7ef['baseVersion']&&Object['hasOwnProperty']['call'](_0x32b7ef,'baseVersion')&&_0x73745b['uint32'](0x10)['uint32'](_0x32b7ef['baseVersion']),null!=_0x32b7ef['buffers']&&_0x32b7ef['buffers']['length']){for(var _0x293300=0x0;_0x293300<_0x32b7ef['buffers']['length'];++_0x293300)_0x73745b['uint32'](0x1a)['bytes'](_0x32b7ef['buffers'][_0x293300]);}if(null!=_0x32b7ef['types']&&_0x32b7ef['types']['length']){for(_0x73745b['uint32'](0x22)['fork'](),_0x293300=0x0;_0x293300<_0x32b7ef['types']['length'];++_0x293300)_0x73745b['uint32'](_0x32b7ef['types'][_0x293300]);_0x73745b['ldelim']();}if(null!=_0x32b7ef['metadata']&&_0x32b7ef['metadata']['length']){for(_0x293300=0x0;_0x293300<_0x32b7ef['metadata']['length'];++_0x293300)_0x571a6c['OperationMetadataDescriptor']['encode'](_0x32b7ef['metadata'][_0x293300],_0x73745b['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x32b7ef['lastOperationId']&&Object['hasOwnProperty']['call'](_0x32b7ef,'lastOperationId')&&_0x73745b['uint32'](0x3a)['string'](_0x32b7ef['lastOperationId']),_0x73745b;},_0x93fa43['encodeDelimited']=function(_0x21f98e,_0x22de30){return this['encode'](_0x21f98e,_0x22de30)['ldelim']();},_0x93fa43['decode']=function(_0x33bc0d,_0x380a54,_0x166322,_0x18f5ae){if(_0x33bc0d instanceof _0x50c11c||(_0x33bc0d=_0x50c11c['create'](_0x33bc0d)),void 0x0===_0x18f5ae&&(_0x18f5ae=0x0),_0x18f5ae>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x25bf64=void 0x0===_0x380a54?_0x33bc0d['len']:_0x33bc0d['pos']+_0x380a54,_0x36341f=new _0x571a6c['CollaborativeEditingUpdateMessage']();_0x33bc0d['pos']<_0x25bf64;){var _0x4fea08=_0x33bc0d['uint32']();if(_0x4fea08===_0x166322)break;switch(_0x4fea08>>>0x3){case 0x1:_0x36341f['id']=_0x33bc0d['string']();break;case 0x2:_0x36341f['baseVersion']=_0x33bc0d['uint32']();break;case 0x3:_0x36341f['buffers']&&_0x36341f['buffers']['length']||(_0x36341f['buffers']=[]),_0x36341f['buffers']['push'](_0x33bc0d['bytes']());break;case 0x4:if(_0x36341f['types']&&_0x36341f['types']['length']||(_0x36341f['types']=[]),0x2==(0x7&_0x4fea08)){for(var _0x23dfda=_0x33bc0d['uint32']()+_0x33bc0d['pos'];_0x33bc0d['pos']<_0x23dfda;)_0x36341f['types']['push'](_0x33bc0d['uint32']());}else _0x36341f['types']['push'](_0x33bc0d['uint32']());break;case 0x6:_0x36341f['metadata']&&_0x36341f['metadata']['length']||(_0x36341f['metadata']=[]),_0x36341f['metadata']['push'](_0x571a6c['OperationMetadataDescriptor']['decode'](_0x33bc0d,_0x33bc0d['uint32'](),void 0x0,_0x18f5ae+0x1));break;case 0x7:_0x36341f['lastOperationId']=_0x33bc0d['string']();break;default:_0x33bc0d['skipType'](0x7&_0x4fea08,_0x18f5ae);}}return _0x36341f;},_0x93fa43['decodeDelimited']=function(_0x570b4b){return _0x570b4b instanceof _0x50c11c||(_0x570b4b=new _0x50c11c(_0x570b4b)),this['decode'](_0x570b4b,_0x570b4b['uint32']());},_0x93fa43['verify']=function(_0x4e0c94,_0x5867f9){if('object'!=typeof _0x4e0c94||null===_0x4e0c94)return'object\x20expected';if(void 0x0===_0x5867f9&&(_0x5867f9=0x0),_0x5867f9>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4e0c94['id']&&_0x4e0c94['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x4e0c94['id']))return'id:\x20string\x20expected';if(null!=_0x4e0c94['baseVersion']&&_0x4e0c94['hasOwnProperty']('baseVersion')&&!_0x155d72['isInteger'](_0x4e0c94['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x4e0c94['buffers']&&_0x4e0c94['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x4e0c94['buffers']))return'buffers:\x20array\x20expected';for(var _0x47ad75=0x0;_0x47ad75<_0x4e0c94['buffers']['length'];++_0x47ad75)if(!(_0x4e0c94['buffers'][_0x47ad75]&&'number'==typeof _0x4e0c94['buffers'][_0x47ad75]['length']||_0x155d72['isString'](_0x4e0c94['buffers'][_0x47ad75])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x4e0c94['types']&&_0x4e0c94['hasOwnProperty']('types')){if(!Array['isArray'](_0x4e0c94['types']))return'types:\x20array\x20expected';for(_0x47ad75=0x0;_0x47ad75<_0x4e0c94['types']['length'];++_0x47ad75)if(!_0x155d72['isInteger'](_0x4e0c94['types'][_0x47ad75]))return'types:\x20integer[]\x20expected';}if(null!=_0x4e0c94['metadata']&&_0x4e0c94['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x4e0c94['metadata']))return'metadata:\x20array\x20expected';for(_0x47ad75=0x0;_0x47ad75<_0x4e0c94['metadata']['length'];++_0x47ad75){var _0x425c86=_0x571a6c['OperationMetadataDescriptor']['verify'](_0x4e0c94['metadata'][_0x47ad75],_0x5867f9+0x1);if(_0x425c86)return'metadata.'+_0x425c86;}}return null!=_0x4e0c94['lastOperationId']&&_0x4e0c94['hasOwnProperty']('lastOperationId')&&!_0x155d72['isString'](_0x4e0c94['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x93fa43['fromObject']=function(_0xbd64c1,_0x45ff2){if(_0xbd64c1 instanceof _0x571a6c['CollaborativeEditingUpdateMessage'])return _0xbd64c1;if(void 0x0===_0x45ff2&&(_0x45ff2=0x0),_0x45ff2>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x447288=new _0x571a6c['CollaborativeEditingUpdateMessage']();if(null!=_0xbd64c1['id']&&(_0x447288['id']=String(_0xbd64c1['id'])),null!=_0xbd64c1['baseVersion']&&(_0x447288['baseVersion']=_0xbd64c1['baseVersion']>>>0x0),_0xbd64c1['buffers']){if(!Array['isArray'](_0xbd64c1['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x447288['buffers']=[];for(var _0xc0f12=0x0;_0xc0f12<_0xbd64c1['buffers']['length'];++_0xc0f12)'string'==typeof _0xbd64c1['buffers'][_0xc0f12]?_0x155d72['base64']['decode'](_0xbd64c1['buffers'][_0xc0f12],_0x447288['buffers'][_0xc0f12]=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0xbd64c1['buffers'][_0xc0f12])),0x0):_0xbd64c1['buffers'][_0xc0f12]['length']>=0x0&&(_0x447288['buffers'][_0xc0f12]=_0xbd64c1['buffers'][_0xc0f12]);}if(_0xbd64c1['types']){if(!Array['isArray'](_0xbd64c1['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x447288['types']=[],_0xc0f12=0x0;_0xc0f12<_0xbd64c1['types']['length'];++_0xc0f12)_0x447288['types'][_0xc0f12]=_0xbd64c1['types'][_0xc0f12]>>>0x0;}if(_0xbd64c1['metadata']){if(!Array['isArray'](_0xbd64c1['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x447288['metadata']=[],_0xc0f12=0x0;_0xc0f12<_0xbd64c1['metadata']['length'];++_0xc0f12){if('object'!=typeof _0xbd64c1['metadata'][_0xc0f12])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x447288['metadata'][_0xc0f12]=_0x571a6c['OperationMetadataDescriptor']['fromObject'](_0xbd64c1['metadata'][_0xc0f12],_0x45ff2+0x1);}}return null!=_0xbd64c1['lastOperationId']&&(_0x447288['lastOperationId']=String(_0xbd64c1['lastOperationId'])),_0x447288;},_0x93fa43['toObject']=function(_0x1acebe,_0x1f85e7){_0x1f85e7||(_0x1f85e7={});var _0x1c7efb={};if((_0x1f85e7['arrays']||_0x1f85e7['defaults'])&&(_0x1c7efb['buffers']=[],_0x1c7efb['types']=[],_0x1c7efb['metadata']=[]),_0x1f85e7['defaults']&&(_0x1c7efb['id']='',_0x1c7efb['baseVersion']=0x0,_0x1c7efb['lastOperationId']=''),null!=_0x1acebe['id']&&_0x1acebe['hasOwnProperty']('id')&&(_0x1c7efb['id']=_0x1acebe['id']),null!=_0x1acebe['baseVersion']&&_0x1acebe['hasOwnProperty']('baseVersion')&&(_0x1c7efb['baseVersion']=_0x1acebe['baseVersion']),_0x1acebe['buffers']&&_0x1acebe['buffers']['length']){_0x1c7efb['buffers']=[];for(var _0x4e0209=0x0;_0x4e0209<_0x1acebe['buffers']['length'];++_0x4e0209)_0x1c7efb['buffers'][_0x4e0209]=_0x1f85e7['bytes']===String?_0x155d72['base64']['encode'](_0x1acebe['buffers'][_0x4e0209],0x0,_0x1acebe['buffers'][_0x4e0209]['length']):_0x1f85e7['bytes']===Array?Array['prototype']['slice']['call'](_0x1acebe['buffers'][_0x4e0209]):_0x1acebe['buffers'][_0x4e0209];}if(_0x1acebe['types']&&_0x1acebe['types']['length']){for(_0x1c7efb['types']=[],_0x4e0209=0x0;_0x4e0209<_0x1acebe['types']['length'];++_0x4e0209)_0x1c7efb['types'][_0x4e0209]=_0x1acebe['types'][_0x4e0209];}if(_0x1acebe['metadata']&&_0x1acebe['metadata']['length']){for(_0x1c7efb['metadata']=[],_0x4e0209=0x0;_0x4e0209<_0x1acebe['metadata']['length'];++_0x4e0209)_0x1c7efb['metadata'][_0x4e0209]=_0x571a6c['OperationMetadataDescriptor']['toObject'](_0x1acebe['metadata'][_0x4e0209],_0x1f85e7);}return null!=_0x1acebe['lastOperationId']&&_0x1acebe['hasOwnProperty']('lastOperationId')&&(_0x1c7efb['lastOperationId']=_0x1acebe['lastOperationId']),_0x1c7efb;},_0x93fa43['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x93fa43['getTypeUrl']=function(_0xedcb0c){return void 0x0===_0xedcb0c&&(_0xedcb0c='type.googleapis.com'),_0xedcb0c+'/CollaborativeEditingUpdateMessage';},_0x93fa43;}()),_0x571a6c['CollaborativeEditingReconnectMessage']=(function(){function _0x5d5cfb(_0x3935b8){if(_0x3935b8){for(var _0x575b86=Object['keys'](_0x3935b8),_0xcc7c06=0x0;_0xcc7c06<_0x575b86['length'];++_0xcc7c06)null!=_0x3935b8[_0x575b86[_0xcc7c06]]&&'__proto__'!==_0x575b86[_0xcc7c06]&&(this[_0x575b86[_0xcc7c06]]=_0x3935b8[_0x575b86[_0xcc7c06]]);}}return _0x5d5cfb['prototype']['id']='',_0x5d5cfb['prototype']['bundleVersion']='',_0x5d5cfb['prototype']['lastKnowVersion']=0x0,_0x5d5cfb['create']=function(_0x1a80a2){return new _0x5d5cfb(_0x1a80a2);},_0x5d5cfb['encode']=function(_0x58b8cc,_0x964ba1){return _0x964ba1||(_0x964ba1=_0x352caa['create']()),null!=_0x58b8cc['id']&&Object['hasOwnProperty']['call'](_0x58b8cc,'id')&&_0x964ba1['uint32'](0xa)['string'](_0x58b8cc['id']),null!=_0x58b8cc['bundleVersion']&&Object['hasOwnProperty']['call'](_0x58b8cc,'bundleVersion')&&_0x964ba1['uint32'](0x12)['string'](_0x58b8cc['bundleVersion']),null!=_0x58b8cc['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x58b8cc,'lastKnowVersion')&&_0x964ba1['uint32'](0x18)['uint32'](_0x58b8cc['lastKnowVersion']),_0x964ba1;},_0x5d5cfb['encodeDelimited']=function(_0x306659,_0xd69192){return this['encode'](_0x306659,_0xd69192)['ldelim']();},_0x5d5cfb['decode']=function(_0x3b3c7c,_0x481cf3,_0x15e892,_0x50b1ac){if(_0x3b3c7c instanceof _0x50c11c||(_0x3b3c7c=_0x50c11c['create'](_0x3b3c7c)),void 0x0===_0x50b1ac&&(_0x50b1ac=0x0),_0x50b1ac>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a6e5d=void 0x0===_0x481cf3?_0x3b3c7c['len']:_0x3b3c7c['pos']+_0x481cf3,_0x32b0e1=new _0x571a6c['CollaborativeEditingReconnectMessage']();_0x3b3c7c['pos']<_0x5a6e5d;){var _0x8e1120=_0x3b3c7c['uint32']();if(_0x8e1120===_0x15e892)break;switch(_0x8e1120>>>0x3){case 0x1:_0x32b0e1['id']=_0x3b3c7c['string']();break;case 0x2:_0x32b0e1['bundleVersion']=_0x3b3c7c['string']();break;case 0x3:_0x32b0e1['lastKnowVersion']=_0x3b3c7c['uint32']();break;default:_0x3b3c7c['skipType'](0x7&_0x8e1120,_0x50b1ac);}}return _0x32b0e1;},_0x5d5cfb['decodeDelimited']=function(_0x2b36f0){return _0x2b36f0 instanceof _0x50c11c||(_0x2b36f0=new _0x50c11c(_0x2b36f0)),this['decode'](_0x2b36f0,_0x2b36f0['uint32']());},_0x5d5cfb['verify']=function(_0x5cfdf8,_0x2cbe5b){return'object'!=typeof _0x5cfdf8||null===_0x5cfdf8?'object\x20expected':(void 0x0===_0x2cbe5b&&(_0x2cbe5b=0x0),_0x2cbe5b>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5cfdf8['id']&&_0x5cfdf8['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x5cfdf8['id'])?'id:\x20string\x20expected':null!=_0x5cfdf8['bundleVersion']&&_0x5cfdf8['hasOwnProperty']('bundleVersion')&&!_0x155d72['isString'](_0x5cfdf8['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x5cfdf8['lastKnowVersion']&&_0x5cfdf8['hasOwnProperty']('lastKnowVersion')&&!_0x155d72['isInteger'](_0x5cfdf8['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},_0x5d5cfb['fromObject']=function(_0x8f03c8,_0x2de11e){if(_0x8f03c8 instanceof _0x571a6c['CollaborativeEditingReconnectMessage'])return _0x8f03c8;if(void 0x0===_0x2de11e&&(_0x2de11e=0x0),_0x2de11e>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x577d39=new _0x571a6c['CollaborativeEditingReconnectMessage']();return null!=_0x8f03c8['id']&&(_0x577d39['id']=String(_0x8f03c8['id'])),null!=_0x8f03c8['bundleVersion']&&(_0x577d39['bundleVersion']=String(_0x8f03c8['bundleVersion'])),null!=_0x8f03c8['lastKnowVersion']&&(_0x577d39['lastKnowVersion']=_0x8f03c8['lastKnowVersion']>>>0x0),_0x577d39;},_0x5d5cfb['toObject']=function(_0x350e55,_0x43d559){_0x43d559||(_0x43d559={});var _0x108762={};return _0x43d559['defaults']&&(_0x108762['id']='',_0x108762['bundleVersion']='',_0x108762['lastKnowVersion']=0x0),null!=_0x350e55['id']&&_0x350e55['hasOwnProperty']('id')&&(_0x108762['id']=_0x350e55['id']),null!=_0x350e55['bundleVersion']&&_0x350e55['hasOwnProperty']('bundleVersion')&&(_0x108762['bundleVersion']=_0x350e55['bundleVersion']),null!=_0x350e55['lastKnowVersion']&&_0x350e55['hasOwnProperty']('lastKnowVersion')&&(_0x108762['lastKnowVersion']=_0x350e55['lastKnowVersion']),_0x108762;},_0x5d5cfb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5d5cfb['getTypeUrl']=function(_0x30478c){return void 0x0===_0x30478c&&(_0x30478c='type.googleapis.com'),_0x30478c+'/CollaborativeEditingReconnectMessage';},_0x5d5cfb;}()),_0x571a6c['CollaborativeEditingConnectMessage']=(function(){function _0x5eb443(_0xfee031){if(this['buffers']=[],this['types']=[],_0xfee031){for(var _0x2b26e1=Object['keys'](_0xfee031),_0x3cb171=0x0;_0x3cb171<_0x2b26e1['length'];++_0x3cb171)null!=_0xfee031[_0x2b26e1[_0x3cb171]]&&'__proto__'!==_0x2b26e1[_0x3cb171]&&(this[_0x2b26e1[_0x3cb171]]=_0xfee031[_0x2b26e1[_0x3cb171]]);}}return _0x5eb443['prototype']['id']='',_0x5eb443['prototype']['bundleVersion']='',_0x5eb443['prototype']['buffers']=_0x155d72['emptyArray'],_0x5eb443['prototype']['types']=_0x155d72['emptyArray'],_0x5eb443['prototype']['lastOperationId']='',_0x5eb443['create']=function(_0x16c231){return new _0x5eb443(_0x16c231);},_0x5eb443['encode']=function(_0x6269a,_0x19b757){if(_0x19b757||(_0x19b757=_0x352caa['create']()),null!=_0x6269a['id']&&Object['hasOwnProperty']['call'](_0x6269a,'id')&&_0x19b757['uint32'](0xa)['string'](_0x6269a['id']),null!=_0x6269a['bundleVersion']&&Object['hasOwnProperty']['call'](_0x6269a,'bundleVersion')&&_0x19b757['uint32'](0x12)['string'](_0x6269a['bundleVersion']),null!=_0x6269a['buffers']&&_0x6269a['buffers']['length']){for(var _0x4aa94f=0x0;_0x4aa94f<_0x6269a['buffers']['length'];++_0x4aa94f)_0x19b757['uint32'](0x1a)['bytes'](_0x6269a['buffers'][_0x4aa94f]);}if(null!=_0x6269a['types']&&_0x6269a['types']['length']){for(_0x19b757['uint32'](0x22)['fork'](),_0x4aa94f=0x0;_0x4aa94f<_0x6269a['types']['length'];++_0x4aa94f)_0x19b757['uint32'](_0x6269a['types'][_0x4aa94f]);_0x19b757['ldelim']();}return null!=_0x6269a['lastOperationId']&&Object['hasOwnProperty']['call'](_0x6269a,'lastOperationId')&&_0x19b757['uint32'](0x2a)['string'](_0x6269a['lastOperationId']),_0x19b757;},_0x5eb443['encodeDelimited']=function(_0x4e2a8c,_0x1aea7c){return this['encode'](_0x4e2a8c,_0x1aea7c)['ldelim']();},_0x5eb443['decode']=function(_0x38b0c0,_0x4d9030,_0x32882f,_0x10d560){if(_0x38b0c0 instanceof _0x50c11c||(_0x38b0c0=_0x50c11c['create'](_0x38b0c0)),void 0x0===_0x10d560&&(_0x10d560=0x0),_0x10d560>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2294da=void 0x0===_0x4d9030?_0x38b0c0['len']:_0x38b0c0['pos']+_0x4d9030,_0x1435ec=new _0x571a6c['CollaborativeEditingConnectMessage']();_0x38b0c0['pos']<_0x2294da;){var _0x50dc12=_0x38b0c0['uint32']();if(_0x50dc12===_0x32882f)break;switch(_0x50dc12>>>0x3){case 0x1:_0x1435ec['id']=_0x38b0c0['string']();break;case 0x2:_0x1435ec['bundleVersion']=_0x38b0c0['string']();break;case 0x3:_0x1435ec['buffers']&&_0x1435ec['buffers']['length']||(_0x1435ec['buffers']=[]),_0x1435ec['buffers']['push'](_0x38b0c0['bytes']());break;case 0x4:if(_0x1435ec['types']&&_0x1435ec['types']['length']||(_0x1435ec['types']=[]),0x2==(0x7&_0x50dc12)){for(var _0x23a009=_0x38b0c0['uint32']()+_0x38b0c0['pos'];_0x38b0c0['pos']<_0x23a009;)_0x1435ec['types']['push'](_0x38b0c0['uint32']());}else _0x1435ec['types']['push'](_0x38b0c0['uint32']());break;case 0x5:_0x1435ec['lastOperationId']=_0x38b0c0['string']();break;default:_0x38b0c0['skipType'](0x7&_0x50dc12,_0x10d560);}}return _0x1435ec;},_0x5eb443['decodeDelimited']=function(_0x72670a){return _0x72670a instanceof _0x50c11c||(_0x72670a=new _0x50c11c(_0x72670a)),this['decode'](_0x72670a,_0x72670a['uint32']());},_0x5eb443['verify']=function(_0x542095,_0x326c90){if('object'!=typeof _0x542095||null===_0x542095)return'object\x20expected';if(void 0x0===_0x326c90&&(_0x326c90=0x0),_0x326c90>_0x155d72['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x542095['id']&&_0x542095['hasOwnProperty']('id')&&!_0x155d72['isString'](_0x542095['id']))return'id:\x20string\x20expected';if(null!=_0x542095['bundleVersion']&&_0x542095['hasOwnProperty']('bundleVersion')&&!_0x155d72['isString'](_0x542095['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x542095['buffers']&&_0x542095['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x542095['buffers']))return'buffers:\x20array\x20expected';for(var _0x17479a=0x0;_0x17479a<_0x542095['buffers']['length'];++_0x17479a)if(!(_0x542095['buffers'][_0x17479a]&&'number'==typeof _0x542095['buffers'][_0x17479a]['length']||_0x155d72['isString'](_0x542095['buffers'][_0x17479a])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x542095['types']&&_0x542095['hasOwnProperty']('types')){if(!Array['isArray'](_0x542095['types']))return'types:\x20array\x20expected';for(_0x17479a=0x0;_0x17479a<_0x542095['types']['length'];++_0x17479a)if(!_0x155d72['isInteger'](_0x542095['types'][_0x17479a]))return'types:\x20integer[]\x20expected';}return null!=_0x542095['lastOperationId']&&_0x542095['hasOwnProperty']('lastOperationId')&&!_0x155d72['isString'](_0x542095['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x5eb443['fromObject']=function(_0x1ffbe3,_0x461985){if(_0x1ffbe3 instanceof _0x571a6c['CollaborativeEditingConnectMessage'])return _0x1ffbe3;if(void 0x0===_0x461985&&(_0x461985=0x0),_0x461985>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x54154c=new _0x571a6c['CollaborativeEditingConnectMessage']();if(null!=_0x1ffbe3['id']&&(_0x54154c['id']=String(_0x1ffbe3['id'])),null!=_0x1ffbe3['bundleVersion']&&(_0x54154c['bundleVersion']=String(_0x1ffbe3['bundleVersion'])),_0x1ffbe3['buffers']){if(!Array['isArray'](_0x1ffbe3['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x54154c['buffers']=[];for(var _0x2afaf9=0x0;_0x2afaf9<_0x1ffbe3['buffers']['length'];++_0x2afaf9)'string'==typeof _0x1ffbe3['buffers'][_0x2afaf9]?_0x155d72['base64']['decode'](_0x1ffbe3['buffers'][_0x2afaf9],_0x54154c['buffers'][_0x2afaf9]=_0x155d72['newBuffer'](_0x155d72['base64']['length'](_0x1ffbe3['buffers'][_0x2afaf9])),0x0):_0x1ffbe3['buffers'][_0x2afaf9]['length']>=0x0&&(_0x54154c['buffers'][_0x2afaf9]=_0x1ffbe3['buffers'][_0x2afaf9]);}if(_0x1ffbe3['types']){if(!Array['isArray'](_0x1ffbe3['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x54154c['types']=[],_0x2afaf9=0x0;_0x2afaf9<_0x1ffbe3['types']['length'];++_0x2afaf9)_0x54154c['types'][_0x2afaf9]=_0x1ffbe3['types'][_0x2afaf9]>>>0x0;}return null!=_0x1ffbe3['lastOperationId']&&(_0x54154c['lastOperationId']=String(_0x1ffbe3['lastOperationId'])),_0x54154c;},_0x5eb443['toObject']=function(_0x1b99fe,_0x58e700){_0x58e700||(_0x58e700={});var _0x277b08={};if((_0x58e700['arrays']||_0x58e700['defaults'])&&(_0x277b08['buffers']=[],_0x277b08['types']=[]),_0x58e700['defaults']&&(_0x277b08['id']='',_0x277b08['bundleVersion']='',_0x277b08['lastOperationId']=''),null!=_0x1b99fe['id']&&_0x1b99fe['hasOwnProperty']('id')&&(_0x277b08['id']=_0x1b99fe['id']),null!=_0x1b99fe['bundleVersion']&&_0x1b99fe['hasOwnProperty']('bundleVersion')&&(_0x277b08['bundleVersion']=_0x1b99fe['bundleVersion']),_0x1b99fe['buffers']&&_0x1b99fe['buffers']['length']){_0x277b08['buffers']=[];for(var _0x3fc423=0x0;_0x3fc423<_0x1b99fe['buffers']['length'];++_0x3fc423)_0x277b08['buffers'][_0x3fc423]=_0x58e700['bytes']===String?_0x155d72['base64']['encode'](_0x1b99fe['buffers'][_0x3fc423],0x0,_0x1b99fe['buffers'][_0x3fc423]['length']):_0x58e700['bytes']===Array?Array['prototype']['slice']['call'](_0x1b99fe['buffers'][_0x3fc423]):_0x1b99fe['buffers'][_0x3fc423];}if(_0x1b99fe['types']&&_0x1b99fe['types']['length']){for(_0x277b08['types']=[],_0x3fc423=0x0;_0x3fc423<_0x1b99fe['types']['length'];++_0x3fc423)_0x277b08['types'][_0x3fc423]=_0x1b99fe['types'][_0x3fc423];}return null!=_0x1b99fe['lastOperationId']&&_0x1b99fe['hasOwnProperty']('lastOperationId')&&(_0x277b08['lastOperationId']=_0x1b99fe['lastOperationId']),_0x277b08;},_0x5eb443['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5eb443['getTypeUrl']=function(_0x3bd3dd){return void 0x0===_0x3bd3dd&&(_0x3bd3dd='type.googleapis.com'),_0x3bd3dd+'/CollaborativeEditingConnectMessage';},_0x5eb443;}()),_0x571a6c['OperationMetadataDescriptor']=(function(){function _0x4847bf(_0x38b6ee){if(_0x38b6ee){for(var _0x11267b=Object['keys'](_0x38b6ee),_0x227a07=0x0;_0x227a07<_0x11267b['length'];++_0x227a07)null!=_0x38b6ee[_0x11267b[_0x227a07]]&&'__proto__'!==_0x11267b[_0x227a07]&&(this[_0x11267b[_0x227a07]]=_0x38b6ee[_0x11267b[_0x227a07]]);}}return _0x4847bf['prototype']['userId']='',_0x4847bf['prototype']['type']='',_0x4847bf['prototype']['createdAt']='',_0x4847bf['create']=function(_0x4aac1c){return new _0x4847bf(_0x4aac1c);},_0x4847bf['encode']=function(_0x146d63,_0xf46df9){return _0xf46df9||(_0xf46df9=_0x352caa['create']()),null!=_0x146d63['userId']&&Object['hasOwnProperty']['call'](_0x146d63,'userId')&&_0xf46df9['uint32'](0xa)['string'](_0x146d63['userId']),null!=_0x146d63['type']&&Object['hasOwnProperty']['call'](_0x146d63,'type')&&_0xf46df9['uint32'](0x12)['string'](_0x146d63['type']),null!=_0x146d63['createdAt']&&Object['hasOwnProperty']['call'](_0x146d63,'createdAt')&&_0xf46df9['uint32'](0x1a)['string'](_0x146d63['createdAt']),_0xf46df9;},_0x4847bf['encodeDelimited']=function(_0x422506,_0x3235a){return this['encode'](_0x422506,_0x3235a)['ldelim']();},_0x4847bf['decode']=function(_0xaad4f5,_0x2a3c4f,_0x11d7ed,_0x3dfcbd){if(_0xaad4f5 instanceof _0x50c11c||(_0xaad4f5=_0x50c11c['create'](_0xaad4f5)),void 0x0===_0x3dfcbd&&(_0x3dfcbd=0x0),_0x3dfcbd>_0x50c11c['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x7af08c=void 0x0===_0x2a3c4f?_0xaad4f5['len']:_0xaad4f5['pos']+_0x2a3c4f,_0x4f1260=new _0x571a6c['OperationMetadataDescriptor']();_0xaad4f5['pos']<_0x7af08c;){var _0x33217c=_0xaad4f5['uint32']();if(_0x33217c===_0x11d7ed)break;switch(_0x33217c>>>0x3){case 0x1:_0x4f1260['userId']=_0xaad4f5['string']();break;case 0x2:_0x4f1260['type']=_0xaad4f5['string']();break;case 0x3:_0x4f1260['createdAt']=_0xaad4f5['string']();break;default:_0xaad4f5['skipType'](0x7&_0x33217c,_0x3dfcbd);}}return _0x4f1260;},_0x4847bf['decodeDelimited']=function(_0x294fa6){return _0x294fa6 instanceof _0x50c11c||(_0x294fa6=new _0x50c11c(_0x294fa6)),this['decode'](_0x294fa6,_0x294fa6['uint32']());},_0x4847bf['verify']=function(_0x934066,_0x5e6f35){return'object'!=typeof _0x934066||null===_0x934066?'object\x20expected':(void 0x0===_0x5e6f35&&(_0x5e6f35=0x0),_0x5e6f35>_0x155d72['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x934066['userId']&&_0x934066['hasOwnProperty']('userId')&&!_0x155d72['isString'](_0x934066['userId'])?'userId:\x20string\x20expected':null!=_0x934066['type']&&_0x934066['hasOwnProperty']('type')&&!_0x155d72['isString'](_0x934066['type'])?'type:\x20string\x20expected':null!=_0x934066['createdAt']&&_0x934066['hasOwnProperty']('createdAt')&&!_0x155d72['isString'](_0x934066['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x4847bf['fromObject']=function(_0x191fd7,_0x1fd0de){if(_0x191fd7 instanceof _0x571a6c['OperationMetadataDescriptor'])return _0x191fd7;if(void 0x0===_0x1fd0de&&(_0x1fd0de=0x0),_0x1fd0de>_0x155d72['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2a89e2=new _0x571a6c['OperationMetadataDescriptor']();return null!=_0x191fd7['userId']&&(_0x2a89e2['userId']=String(_0x191fd7['userId'])),null!=_0x191fd7['type']&&(_0x2a89e2['type']=String(_0x191fd7['type'])),null!=_0x191fd7['createdAt']&&(_0x2a89e2['createdAt']=String(_0x191fd7['createdAt'])),_0x2a89e2;},_0x4847bf['toObject']=function(_0x3e34c1,_0x53b403){_0x53b403||(_0x53b403={});var _0x272f8c={};return _0x53b403['defaults']&&(_0x272f8c['userId']='',_0x272f8c['type']='',_0x272f8c['createdAt']=''),null!=_0x3e34c1['userId']&&_0x3e34c1['hasOwnProperty']('userId')&&(_0x272f8c['userId']=_0x3e34c1['userId']),null!=_0x3e34c1['type']&&_0x3e34c1['hasOwnProperty']('type')&&(_0x272f8c['type']=_0x3e34c1['type']),null!=_0x3e34c1['createdAt']&&_0x3e34c1['hasOwnProperty']('createdAt')&&(_0x272f8c['createdAt']=_0x3e34c1['createdAt']),_0x272f8c;},_0x4847bf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x4847bf['getTypeUrl']=function(_0x4a66ca){return void 0x0===_0x4a66ca&&(_0x4a66ca='type.googleapis.com'),_0x4a66ca+'/OperationMetadataDescriptor';},_0x4847bf;}()),_0x571a6c;})());class MessagesCompressor{static['decode'](_0x462653,_0x100b35){const _0xd5aa98=uy(_0x100b35)['decode']('undefined'==typeof window?_0x462653:new Uint8Array(_0x462653));return _0x100b35['fromJSON']({..._0xd5aa98});}static['encode'](_0x5b16b8){const _0x43ea26=uy(_0x5b16b8['constructor']),_0x35716e=_0x5b16b8['toJSON'](),_0x52497d=_0x43ea26['verify'](_0x35716e);if(_0x52497d)throw Error(_0x52497d);return _0x43ea26['encode'](_0x43ea26['create'](_0x35716e))['finish']();}}function uy(_0xcb3806){return hy[_0xcb3806['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends Message{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x43b76f){super(),this['ids']=_0x43b76f;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x62187d){return new GetManyUsersMessage(_0x62187d['ids']);}}class GetManyUsersResponse extends Message{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x260a50){super(),this['users']=_0x260a50;}['toJSON'](){return{'users':this['users']['map'](dy)};}static['fromJSON'](_0x2114d9){return new GetManyUsersResponse(_0x2114d9['users']['map'](fy));}}function dy(_0x38a984){return{'attributes':Object['keys'](_0x38a984)['map'](_0x2b9d7e=>({'key':_0x2b9d7e,'value':JSON['stringify'](_0x38a984[_0x2b9d7e])}))};}function fy(_0x393f63){return _0x393f63['attributes']['reduce']((_0x2e7d41,_0x2dc42a)=>(_0x2e7d41[_0x2dc42a['key']]=_0x2dc42a['value']?JSON['parse'](_0x2dc42a['value']):null,_0x2e7d41),{});}class User{static ['_SERVICE']=0x2;constructor(_0xadbab8={}){this['_attributes']=new Map();for(const _0x521f7a of Object['keys'](_0xadbab8))'id'!==_0x521f7a?(this['_attributes']['set'](_0x521f7a,_0xadbab8[_0x521f7a]),Object['defineProperty'](this,_0x521f7a,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x521f7a)})):this['id']=_0xadbab8['id'];}static['fromData'](_0x37ed0a){return new User(_0x37ed0a);}static async['get'](_0x4306d9,_0x3cac97){const _0x326d26=new GetUserMessage(_0x3cac97);try{const _0x290efd=await _0x4306d9['_sendRequest'](User['_SERVICE'],GetUserMessage['TYPE'],MessagesCompressor['encode'](_0x326d26)),_0x20913c=MessagesCompressor['decode'](_0x290efd,GetUserResponse);return new User(_0x20913c['attributes']);}catch{return new User({'id':_0x3cac97});}}static async['getMany'](_0x3c3109,_0xb098b8){const _0x37abde=new GetManyUsersMessage(_0xb098b8);try{const _0x4e2ffe=await _0x3c3109['_sendRequest'](User['_SERVICE'],GetManyUsersMessage['TYPE'],MessagesCompressor['encode'](_0x37abde));return MessagesCompressor['decode'](_0x4e2ffe,GetManyUsersResponse)['users']['map'](_0x2a8224=>new User(_0x2a8224));}catch{return _0xb098b8['map'](_0x5c644b=>new User({'id':_0x5c644b}));}}}class ChannelMessage extends Message{['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(_0x8330a2,_0x2f9c65,_0x1a4f77){super(),this['type']=_0x8330a2,this['socketId']=_0x2f9c65,this['data']=_0x1a4f77;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x41b440){return new ChannelMessage(_0x41b440['type'],_0x41b440['socketId'],_0x41b440['data']);}}class Channel extends/* #__PURE__ -- @preserve */
_0x3cde5f(){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x2e5a85,_0x2cca41,_0x1d215e){super(),this['_channelName']=_0x2e5a85,this['_wsGateway']=_0x2cca41,this['_socket']=_0x1d215e,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x5200ac,_0x280d61=!0x1){let _0x1fc9a4='';return _0x280d61&&(_0x1fc9a4+='all:'),_0x1fc9a4+='event',_0x5200ac&&(_0x1fc9a4+=':'+_0x5200ac),_0x1fc9a4;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x103c0b=>{const _0x1556ea=MessagesCompressor['decode'](_0x103c0b,ChannelMessage);this['fire'](this['getEventName'](_0x1556ea['type'],!0x0),_0x1556ea['data'],_0x1556ea['socketId']),_0x1556ea['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x1556ea['type']),_0x1556ea['data'],_0x1556ea['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x141671,_0x5987b0,_0x2b14c7=null,_0x134cd9={}){super('cloud-services-internal-error:\x20'+_0x141671),this['context']=_0x5987b0,this['code']=_0x2b14c7,this['data']=_0x134cd9,this['name']='CKEditorError';}static['fromPublicError'](_0x2ba8ef){return new CKEditorCloudServicesError(function(_0x3333ca){let _0x4c2374='cloud-services-error:\x20'+_0x3333ca['message'];return _0x3333ca['data']&&(_0x4c2374+='\x0aError\x20data:\x20'+JSON['stringify'](_0x3333ca['data'])),_0x3333ca['explanation']&&(_0x4c2374+='\x0aExplanation:\x20'+_0x3333ca['explanation']),_0x3333ca['action']&&(_0x4c2374+='\x0aAction:\x20'+_0x3333ca['action']),_0x3333ca['traceId']&&(_0x4c2374+='\x0aTraceId:\x20'+_0x3333ca['traceId']),_0x3333ca['code']&&(_0x4c2374+='\x0aCode:\x20'+_0x3333ca['code']),_0x4c2374;}(_0x2ba8ef),_0x2ba8ef);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x5858ff,_0x32eca3){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x5858ff,this['code']=_0x32eca3['code'],this['traceId']=_0x32eca3['traceId'],this['data']=_0x32eca3['data'];}static['fromPublicError'](_0x2b6cbc){return new CKEditorCloudServicesServerError(function(_0x7162fd){let _0x3a9058='cloud-services-server-error:\x20'+_0x7162fd['message'];return _0x7162fd['explanation']&&(_0x3a9058+='\x0aExplanation:\x20'+_0x7162fd['explanation']),_0x7162fd['action']&&(_0x3a9058+='\x0aAction:\x20'+_0x7162fd['action']),_0x7162fd['traceId']&&(_0x3a9058+='\x0aTraceId:\x20'+_0x7162fd['traceId']),_0x7162fd['code']&&(_0x3a9058+='\x0aCode:\x20'+_0x7162fd['code']),_0x3a9058;}(_0x2b6cbc),_0x2b6cbc);}}class PacketOptionsMessage extends Message{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x10dea9,_0x22424d=[],_0x82111c=[]){super(),this['flags']=_0x10dea9,this['rooms']=_0x22424d,this['except']=_0x82111c;}['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'](_0x4c44a6){return new PacketOptionsMessage(_0x4c44a6['flags']&&JSON['parse'](_0x4c44a6['flags']),_0x4c44a6['rooms'],_0x4c44a6['except']);}}const my=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))());class ParserUtils{static['getPacketType'](..._0x6edf99){let _0x5d58a8=0x0;for(let _0x381d6b=0x0;_0x381d6b<_0x6edf99['length'];_0x381d6b++)_0x5d58a8+=_0x6edf99[_0x381d6b]*Math['pow'](0xa,_0x6edf99['length']-_0x381d6b-0x1);return _0x5d58a8;}static['getType'](_0x3a859d){if(ParserUtils['isBuffer'](_0x3a859d))return 0x1;const _0x545313=typeof _0x3a859d;return'string'===_0x545313?0x2:'number'===_0x545313?0x3:0x4;}static['isBuffer'](_0x4ab6c9){return my&&Buffer['isBuffer'](_0x4ab6c9)||_0x4ab6c9 instanceof ArrayBuffer||_0x4ab6c9 instanceof Uint8Array||this['_isBufferView'](_0x4ab6c9);}static['_isBufferView'](_0x2ede72){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x2ede72):_0x2ede72['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends Message{['data'];['data1'];static['create'](_0x412f2e,_0x245a6f){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x1))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x10dcab,_0x3aa717){super(),this['data']=_0x10dcab,this['data1']=_0x3aa717;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3b3347){return new NumberBytesPacketDataMessage(_0x3b3347['data'],_0x3b3347['data1']);}static['create'](_0x369cf0,_0x8df5d4){return new NumberBytesPacketDataMessage(_0x369cf0,_0x8df5d4);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x1))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x19f6ff,_0x2cbd79){super(),this['data']=_0x19f6ff,this['data1']=_0x2cbd79;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x45d2d5){return new StringBytesPacketDataMessage(_0x45d2d5['data'],_0x45d2d5['data1']);}static['create'](_0x3b359c,_0x1f85a2){return new StringBytesPacketDataMessage(_0x3b359c,_0x1f85a2);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x1,0x1))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x1fbc5c,_0x21c0a3){super(),this['data']=_0x1fbc5c,this['data1']=_0x21c0a3;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x26a42c){return new BytesBytesPacketDataMessage(_0x26a42c['data'],_0x26a42c['data1']);}static['create'](_0x524468,_0x3d2e40){return new BytesBytesPacketDataMessage(_0x524468,_0x3d2e40);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x4))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x10e967,_0x540e48){super(),this['data']=_0x10e967,this['data1']=_0x540e48;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x36bcb8){return new StringObjectPacketDataMessage(_0x36bcb8['data'],_0x36bcb8['data1']&&JSON['parse'](_0x36bcb8['data1']));}static['create'](_0x459097,_0x114a95){return new StringObjectPacketDataMessage(_0x459097,_0x114a95);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x4))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x848367,_0x4bfd48){super(),this['data']=_0x848367,this['data1']=_0x4bfd48;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x1f038d){return new NumberObjectPacketDataMessage(_0x1f038d['data'],_0x1f038d['data1']&&JSON['parse'](_0x1f038d['data1']));}static['create'](_0x48ba16,_0x337959){return new NumberObjectPacketDataMessage(_0x48ba16,_0x337959);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x4))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x46e6b5,_0x371b2c){super(),this['data']=_0x46e6b5,this['data1']=_0x371b2c;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x5e194e){return new ObjectObjectPacketDataMessage(_0x5e194e['data']&&JSON['parse'](_0x5e194e['data']),_0x5e194e['data1']&&JSON['parse'](_0x5e194e['data1']));}static['create'](_0x46398b,_0x54321f){return new ObjectObjectPacketDataMessage(_0x46398b,_0x54321f);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x1))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x10d793,_0x4ac56a){super(),this['data']=_0x10d793,this['data1']=_0x4ac56a;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x428c20){return new ObjectBufferPacketDataMessage(_0x428c20['data']&&JSON['parse'](_0x428c20['data']),_0x428c20['data1']);}static['create'](_0x53b70d,_0x6c797c){return new ObjectBufferPacketDataMessage(_0x53b70d,_0x6c797c);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x2))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x31fda3,_0x277b3d){super(),this['data']=_0x31fda3,this['data1']=_0x277b3d;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3da5df){return new StringStringPacketDataMessage(_0x3da5df['data'],_0x3da5df['data1']);}static['create'](_0x118736,_0x4899c6){return new StringStringPacketDataMessage(_0x118736,_0x4899c6);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x3))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x4f817a,_0x102385){super(),this['data']=_0x4f817a,this['data1']=_0x102385;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x11b749){return new StringNumberPacketDataMessage(_0x11b749['data'],_0x11b749['data1']);}static['create'](_0x3f3e7b,_0x21ff9b){return new StringNumberPacketDataMessage(_0x3f3e7b,_0x21ff9b);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x3))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x42a97a,_0x4e22f4){super(),this['data']=_0x42a97a,this['data1']=_0x4e22f4;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3fbda1){return new NumberNumberPacketDataMessage(_0x3fbda1['data'],_0x3fbda1['data1']);}static['create'](_0x28b859,_0x32009f){return new NumberNumberPacketDataMessage(_0x28b859,_0x32009f);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x2))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x301812,_0x58b755){super(),this['data']=_0x301812,this['data1']=_0x58b755;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x23bafe){return new NumberStringPacketDataMessage(_0x23bafe['data'],_0x23bafe['data1']);}static['create'](_0x33c0f3,_0x5ebfe4){return new NumberStringPacketDataMessage(_0x33c0f3,_0x5ebfe4);}}const gy=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x35f9fc,_0x238a1)=>(_0x35f9fc[_0x238a1['TYPE']]=_0x238a1,_0x35f9fc),{}))());class PacketMessage extends Message{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'type':{'type':'uint32','id':0x1},'id':{'type':'uint32','id':0x2},'nsp':{'type':'string','id':0x3},'data':{'type':'bytes','id':0x4},'options':{'type':'bytes','id':0x5}}}))());constructor(_0x2cedea,_0x76103d,_0x16aab9,_0x43af1f='/',_0x7cee27){super(),this['type']=_0x2cedea,this['data']=_0x76103d,this['id']=_0x16aab9,this['nsp']=_0x43af1f,this['options']=_0x7cee27??new PacketOptionsMessage();}get['packetData'](){return void 0x0===this['data']['data']&&void 0x0===this['data']['data1']?[]:this['data']['data']&&void 0x0===this['data']['data1']?[this['data']['data']]:[this['data']['data'],this['data']['data1']];}['toJSON'](){const _0x169af5=MessagesCompressor['encode'](this['options']),_0x55146f=MessagesCompressor['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x55146f,'options':_0x169af5};}static['fromJSON'](_0x130598){const _0xad9b2e=Math['floor'](_0x130598['type']/0xa);return new PacketMessage(_0x130598['type']-0xa*_0xad9b2e,MessagesCompressor['decode'](_0x130598['data'],gy[_0xad9b2e]),_0x130598['id'],_0x130598['nsp'],_0x130598['options']?MessagesCompressor['decode'](_0x130598['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x2733d5,_0x310f1b={}){const _0x937856=ParserUtils['getPacketType'](ParserUtils['getType'](_0x2733d5['data'][0x0]),ParserUtils['getType'](_0x2733d5['data'][0x1]??_0x2733d5['data'][0x0]));return new PacketMessage(_0x2733d5['type'],gy[_0x937856]['create'](_0x2733d5['data'][0x0],_0x2733d5['data'][0x1]),_0x2733d5['id'],_0x2733d5['nsp'],new PacketOptionsMessage(_0x310f1b['flags'],_0x310f1b['rooms'],_0x310f1b['except']));}}class PacketParser{['encode'](_0x43fbd9,_0x39e885,_0x4cba84,_0x49c5e8='/',_0x357df2={}){if(_0x39e885['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x1a8360={'type':_0x43fbd9,'data':_0x39e885,'id':_0x4cba84,'nsp':_0x49c5e8};return MessagesCompressor['encode'](PacketMessage['create'](_0x1a8360,_0x357df2));}['decode'](_0x5411e7){const _0x1d59ea=MessagesCompressor['decode'](_0x5411e7,PacketMessage);return{'packet':{'id':_0x1d59ea['id'],'type':_0x1d59ea['type'],'data':_0x1d59ea['packetData'],'nsp':_0x1d59ea['nsp']},'options':{'flags':_0x1d59ea['options']['flags'],'rooms':_0x1d59ea['options']['rooms'],'except':_0x1d59ea['options']['except']}};}}const py=/* #__PURE__ -- @preserve */
((()=>[jb['EVENT'],jb['ACK'],jb['BINARY_ACK'],jb['BINARY_EVENT']])());class Encoder extends Hb{['_packetParser'];constructor(_0x2871a2){super(),this['_packetParser']=_0x2871a2??new PacketParser();}['encode'](_0x44ffc4){if(py['includes'](_0x44ffc4['type']))try{return[this['_packetParser']['encode'](_0x44ffc4['type'],_0x44ffc4['data'],_0x44ffc4['id'],_0x44ffc4['nsp'])];}catch(_0x4a9efd){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x4a9efd['message']}});}return super['encode'](_0x44ffc4);}}class Decoder extends Gb{['_packetParser'];constructor(_0x5f4e86){super(),this['_packetParser']=_0x5f4e86??new PacketParser();}['add'](_0x370f56){if(!ParserUtils['isBuffer'](_0x370f56))return super['add'](_0x370f56);let _0x56cb84;try{_0x56cb84=this['_packetParser']['decode'](_0x370f56)['packet'];}catch{return super['add'](_0x370f56);}super['emitReserved']('decoded',_0x56cb84);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
Oy();['timeout'];constructor(_0x965f0b,_0x2d687c){this['_context']=_0x965f0b,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x2d687c);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x29deb2){this['_deferredPromise']['resolve'](_0x29deb2);}['error'](_0x55b0e7){this['_deferredPromise']['reject'](_0x55b0e7);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x2f7128){this['_context']=_0x2f7128;}async['send'](_0x4e3369,_0x52442f=0xafc8){const _0x3c2d3c=this['_createRequest'](_0x52442f);try{return _0x4e3369(_0x3c2d3c),await _0x3c2d3c['promise'];}finally{this['_finishRequest'](_0x3c2d3c);}}['errorAll'](_0x803499){for(const _0x532345 of this['_requests'])_0x532345['error'](_0x803499);}['waitForAllRequests'](_0x17a301=0xafc8){return this['_waitForRequests'](_0x17a301);}['_createRequest'](_0x37f35c){const _0x1ed6f0=new WebSocketRequest(this['_context'],_0x37f35c);return this['_requests']['add'](_0x1ed6f0),_0x1ed6f0;}['_finishRequest'](_0x481868){this['_requests']['delete'](_0x481868),clearTimeout(_0x481868['timeout']);}async['_waitForRequests'](_0x1cf824=0x1388,_0x181c32=0x0){return!this['_requests']['size']||_0x181c32>=_0x1cf824/0x1f4?Promise['resolve']():(await new Promise(_0x57a354=>{setTimeout(_0x57a354,0x1f4);}),this['_waitForRequests'](_0x1cf824,_0x181c32++));}}function Oy(){let _0x1b42c5,_0x489859;const _0x33f036=new Promise((_0x28abdc,_0x5ebd8b)=>{_0x1b42c5=_0x28abdc,_0x489859=_0x5ebd8b;});return{'resolve':_0x1b42c5,'reject':_0x489859,'promise':_0x33f036};}const wy='disconnected',by='connecting',yy='connected';let vy=class WebSocketGateway extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>wy)());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>by)());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>yy)());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>_0x537830['get']('highest')+0xf423f)());constructor(_0x4cd152,_0x57873b,_0x2b0d28,_0x4b117f,_0x1b62a1){if(super(),this['_token']=_0x57873b,this['_options']=_0x2b0d28??{},this['_connectionProvider']=_0x4b117f??Jb,this['_userFactory']=_0x1b62a1??User['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x4cd152)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=oy(_0x4cd152['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',wy),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x654fd1,_0x906157,_0x18a965)=>{if(this['_debugEvent']('ws-gw:change:state',_0x18a965),_0x18a965!==WebSocketGateway['STATE_CONNECTED']){if(_0x18a965===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](User,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0xbd2abd,_0x2b2e1f)=>{this['_options']['onError']?this['_options']['onError'](_0x2b2e1f):console['error'](_0x2b2e1f);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x4c7fa8){return this['_requestsManager']['waitForAllRequests'](_0x4c7fa8);}['disconnect'](){this['state']!==wy&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=wy);}async['reconnect'](){this['_socket']||this['state']!==wy||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x2bf037,_0x1c5ceb='local.cs.dev:443/ws-v2',_0x41e7d1={},_0x25754e=Jb,_0x10e352=User['get']){const _0x2199fa=new this(_0x1c5ceb,_0x2bf037,_0x41e7d1,_0x25754e,_0x10e352);return await _0x2199fa['_connect'](),_0x2199fa;}['_sendRequest'](_0x3de105,_0x32445e,_0x49ed81){if(!_0x3de105)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x3acd8d=new ArrayBuffer(_0x49ed81['length']+0x2),_0x1dacb9=new Uint8Array(_0x3acd8d);return _0x1dacb9[0x0]=_0x3de105,_0x1dacb9[0x1]=parseInt(_0x32445e),_0x1dacb9['set'](_0x49ed81,0x2),this['_emit'](0x1,_0x1dacb9);}['_getChannel'](_0x44d830,_0x2ea084){const _0x5e318a=''+_0x44d830+_0x2ea084;return!this['_channels']['has'](_0x5e318a)&&this['_socket']&&this['_channels']['set'](_0x5e318a,new Channel(_0x5e318a,this,this['_socket'])),this['_channels']['get'](_0x5e318a);}['_connect'](){return new Promise((_0x233654,_0x37ad41)=>{const _0x4b8ed6=this['_setupSocket']();!this['socketId']&&_0x4b8ed6['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x37ad41);}),_0x4b8ed6['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x233654();}catch(_0x4c9777){_0x37ad41(_0x4c9777);}}),_0x4b8ed6['connect']();});}['_getPortByProtocol'](_0x2a095d){return['http:','ws:']['includes'](_0x2a095d)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x14596f=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x40b783=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x14596f,_0x2e16c2=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x352c45=this['_connectionProvider'](_0x40b783,{'parser':{'Encoder':Encoder,'Decoder':Decoder},'path':_0x2e16c2+'/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.0.5'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=by,_0x352c45['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x352c45['id'];}),_0x352c45['on']('connect_error',_0x4020ed=>{this['_debugEvent']('connect_error',_0x4020ed);}),_0x352c45['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x352c45['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x352c45['io']['on']('reconnect_attempt',_0x223b24=>{this['_debugEvent']('reconnect_attempt',_0x223b24),this['state']=by,this['_connectionAttempt']=_0x223b24;}),_0x352c45['on']('unauthorized',_0x293d89=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x293d89);}),_0x352c45['on']('authenticationRequest',async _0xaa4a48=>{this['_debugEvent']('authenticationRequest',_0xaa4a48['attempt']),await this['_onReconnect']();}),this['_socket']=_0x352c45,_0x352c45;}['_emit'](_0x59610d,_0x317c63){const _0x583367=this['_socket'];return this['_requestsManager']['send'](_0x19f964=>{_0x583367['emit'](_0x59610d,_0x317c63,(_0x553b1e,_0x408e98)=>{if(_0x553b1e)return _0x19f964['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x553b1e));_0x19f964['response'](_0x408e98);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x4af7f7,_0x466911){this['_socketAuth']={'environmentId':_0x4af7f7,'userId':_0x466911,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=yy;const _0x516d48=async(_0x56102e,_0x2c5eeb,_0x5cdfb5)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x5cdfb5);}catch{}};this['_token']['on']('change:value',_0x516d48),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x516d48);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=wy,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0xe21def of this['_channels']['values']())_0xe21def['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x374770,_0x524239){if(!this['_isDebugModeEnabled']())return;const _0x526417=void 0x0!==_0x524239?',\x20data:\x20'+_0x524239:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x374770+_0x526417);}['_reconnectionAttemptError'](_0x428734){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x428734(CKEditorCloudServicesError['fromPublicError']({'message':'The\x20number\x20of\x20initial\x20connection\x20attempts\x20exceeded.','explanation':'Three\x20initial\x20connection\x20attempts\x20failed.\x20It\x20can\x20be\x20caused\x20by\x20a\x20slow,\x20unstable,\x20missing\x20or\x20blocked\x20Internet\x20connection.','action':'Please\x20verify\x20the\x20stability\x20of\x20your\x20Internet\x20connection\x20and\x20ensure\x20that\x20no\x20antivirus\x20or\x20firewall\x20software\x20blocks\x20the\x20Web\x20Socket\x20protocol\x20connections.'})));}['_onUnauthorized']({error:_0x3f068a}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x3f068a));}async['_authenticate'](_0x33f39e){try{this['_debugEvent']('authenticate:start');const _0x5c3c37=await this['_emit'](0x2,{'token':_0x33f39e});this['_debugEvent']('authenticate:success','envId:\x20'+_0x5c3c37['environmentId']+',\x20userId:\x20'+_0x5c3c37['userId']),this['_addAuthData'](_0x5c3c37['environmentId'],_0x5c3c37['userId']);}catch(_0x55654f){throw this['_debugEvent']('authenticate:error',_0x55654f['message']),this['_removeAuthData'](),_0x55654f;}}['_isDebugModeEnabled'](){return!!_0x313644['window']['localStorage']&&'true'===(_0x313644['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends Message{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x138018){super(),this['bundleVersion']=_0x138018;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x195ea0){return new IsEditorBundleUploadedMessage(_0x195ea0['bundleVersion']);}}class IsEditorBundleUploadedResponse extends Message{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x70d0df){super(),this['isUploaded']=_0x70d0df;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x433b75){return new IsEditorBundleUploadedResponse(_0x433b75['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
_0x3cde5f(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x2aa40e,_0x37187d){const _0x397a7c=new IsEditorBundleUploadedMessage(_0x37187d);if(_0x2aa40e['state']!==yy)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2aa40e);const _0x3bab90=await _0x2aa40e['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],MessagesCompressor['encode'](_0x397a7c));return MessagesCompressor['decode'](_0x3bab90,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends Message{['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(_0x56a649,_0x1d0b56){super(),this['documentId']=_0x56a649,this['revisionId']=_0x1d0b56;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x4f1794){return new RevisionHistoryGetRevisionMessage(_0x4f1794['documentId'],_0x4f1794['revisionId']);}}class RevisionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'revisionId':{'type':'string','id':0x1},'name':{'type':'string','id':0x2},'creatorId':{'type':'string','id':0x3},'authorsIds':{'type':'string','id':0x4},'diffData':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'attributes':{'type':'string','id':0x7},'toVersion':{'type':'uint32','id':0x8},'fromVersion':{'type':'uint32','id':0x9},'isEmptyCurrent':{'type':'bool','id':0xa}}}))());static['create'](_0x11f00e){return{'revisionId':_0x11f00e['id'],'name':_0x11f00e['name'],'creatorId':_0x11f00e['creatorId'],'createdAt':_0x11f00e['createdAt'],'fromVersion':_0x11f00e['fromVersion'],'toVersion':_0x11f00e['toVersion'],'isEmptyCurrent':_0x11f00e['isEmptyCurrent'],'diffData':_0x11f00e['diffData']?JSON['stringify'](_0x11f00e['diffData']):void 0x0,'attributes':_0x11f00e['attributes'],'authorsIds':_0x11f00e['authorsIds']};}static['toJSON'](_0x4ffed2){return{'revisionId':_0x4ffed2['revisionId'],'name':_0x4ffed2['name'],'creatorId':_0x4ffed2['creatorId'],'authorsIds':_0x4ffed2['authorsIds']?JSON['stringify'](_0x4ffed2['authorsIds']):void 0x0,'diffData':_0x4ffed2['diffData'],'createdAt':_0x4ffed2['createdAt']?.['toISOString'](),'attributes':_0x4ffed2['attributes']?JSON['stringify'](_0x4ffed2['attributes']):void 0x0,'toVersion':_0x4ffed2['toVersion'],'fromVersion':_0x4ffed2['fromVersion'],'isEmptyCurrent':_0x4ffed2['isEmptyCurrent']};}static['fromJSON'](_0x348ef3){return{'revisionId':(_0x348ef3={..._0x348ef3})['revisionId'],'name':_0x348ef3['name'],'creatorId':_0x348ef3['creatorId'],'authorsIds':_0x348ef3['authorsIds']?JSON['parse'](_0x348ef3['authorsIds']):void 0x0,'diffData':_0x348ef3['diffData'],'createdAt':_0x348ef3['createdAt']?new Date(_0x348ef3['createdAt']):void 0x0,'attributes':_0x348ef3['attributes']?JSON['parse'](_0x348ef3['attributes']):void 0x0,'toVersion':_0x348ef3['toVersion'],'fromVersion':_0x348ef3['fromVersion'],'isEmptyCurrent':_0x348ef3['isEmptyCurrent']};}static['toObject'](_0x29947f){return function(_0x686065){for(const [_0x4470ba,_0x382b21]of Object['entries'](_0x686065))void 0x0===_0x382b21&&delete _0x686065[_0x4470ba];return _0x686065;}({'id':_0x29947f['revisionId'],'name':_0x29947f['name'],'creatorId':_0x29947f['creatorId'],'createdAt':_0x29947f['createdAt'],'fromVersion':_0x29947f['fromVersion'],'toVersion':_0x29947f['toVersion'],'isEmptyCurrent':_0x29947f['isEmptyCurrent'],'diffData':_0x29947f['diffData']?JSON['parse'](_0x29947f['diffData']):void 0x0,'attributes':_0x29947f['attributes'],'authorsIds':_0x29947f['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends Message{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x3b8677,_0x463ed4,_0x2514f3,_0x45ac7e,_0xc882f9,_0x42157c,_0x204852,_0x36ca4b,_0x419730,_0x36b9d0){super(),this['revisionId']=_0x3b8677,this['name']=_0x463ed4,this['creatorId']=_0x2514f3,this['authorsIds']=_0x45ac7e,this['createdAt']=_0xc882f9,this['diffData']=_0x42157c,this['attributes']=_0x204852,this['fromVersion']=_0x36ca4b,this['toVersion']=_0x419730,this['isEmptyCurrent']=_0x36b9d0;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x52c386){return new RevisionHistoryGetRevisionResponse(_0x52c386['revisionId'],_0x52c386['name'],_0x52c386['creatorId'],_0x52c386['authorsIds'],_0x52c386['createdAt'],_0x52c386['diffData'],_0x52c386['attributes'],_0x52c386['fromVersion'],_0x52c386['toVersion'],_0x52c386['isEmptyCurrent']);}static['fromJSON'](_0x3bad4f){return new RevisionHistoryGetRevisionResponse(_0x3bad4f['revisionId'],_0x3bad4f['name'],_0x3bad4f['creatorId'],_0x3bad4f['authorsIds']?JSON['parse'](_0x3bad4f['authorsIds']):void 0x0,_0x3bad4f['createdAt']?new Date(_0x3bad4f['createdAt']):void 0x0,_0x3bad4f['diffData'],_0x3bad4f['attributes']?JSON['parse'](_0x3bad4f['attributes']):void 0x0,_0x3bad4f['fromVersion'],_0x3bad4f['toVersion'],_0x3bad4f['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends Message{['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(_0x28f496,_0x2ab5fe,_0x3bf161){super(),this['documentId']=_0x28f496,this['requestId']=_0x2ab5fe,this['revisions']=_0x3bf161;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['create'](_0x4231b5){return new RevisionHistoryUpdateRevisionsMessage(_0x4231b5['documentId'],_0x4231b5['requestId'],_0x4231b5['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x53ee60){return new RevisionHistoryUpdateRevisionsMessage(_0x53ee60['documentId'],_0x53ee60['requestId'],_0x53ee60['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends Message{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x176a85){super(),this['requestId']=_0x176a85;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x2b9b81){return new RevisionHistoryUpdateRevisionsResponse(_0x2b9b81['requestId']);}}class RevisionHistoryConnectMessage extends Message{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x3268ca){super(),this['documentId']=_0x3268ca;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1a5651){return new RevisionHistoryConnectMessage(_0x1a5651['documentId']);}}class RevisionHistoryConnectResponse extends Message{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0xaf486b,_0x49c5a4,_0x4d3a03){super(),this['channel']=_0xaf486b,this['requestId']=_0x49c5a4,this['revisions']=_0x4d3a03;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](RevisionDescriptor['toObject'])};}static['fromJSON'](_0x520a41){return new RevisionHistoryConnectResponse(_0x520a41['channel'],_0x520a41['requestId'],_0x520a41['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends Message{['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(_0xa9a940,_0x5ed06d){super(),this['documentId']=_0xa9a940,this['requestId']=_0x5ed06d;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x86c713){return new RevisionHistoryReconnectMessage(_0x86c713['documentId'],_0x86c713['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x341bfb,_0x128c61){super(_0x341bfb+'\x20Service\x20is\x20not\x20connected.',_0x128c61);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
_0x3cde5f(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x400ad5){super(),this['_documentId']=_0x400ad5;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x2def8d){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x2def8d,new RevisionHistoryConnectMessage(this['_documentId']));}['disconnect'](){this['_isConnected']&&(this['_isConnected']=!0x1,this['_wsGateway']&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['_channel']&&(this['stopListening'](this['_channel']),this['_channel']=void 0x0),this['fire']('disconnected'),this['stopListening']());}['reconnect'](_0x354ba0,_0x19f2c5){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x354ba0);return this['_connect'](_0x354ba0,new RevisionHistoryReconnectMessage(this['_documentId'],_0x19f2c5));}async['updateRevisions'](_0x9f601c,_0x2c13ea){const _0x4c24d3=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x2c13ea,'revisions':_0x9f601c}),_0x676280=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x4c24d3),{requestId:_0x424cb4}=MessagesCompressor['decode'](_0x676280,RevisionHistoryUpdateRevisionsResponse);return _0x424cb4;}async['getRevision'](_0x503bc9){const _0x3e42b5=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x503bc9),_0x17500f=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x3e42b5);return MessagesCompressor['decode'](_0x17500f,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x445444,_0x3f10dd){if(_0x445444['state']!==yy)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x445444);this['_wsGateway']=_0x445444,this['stopListening'](_0x445444,'change:state');const _0x4b81db=await _0x445444['_sendRequest'](0xc,_0x3f10dd['constructor']['TYPE'],MessagesCompressor['encode'](_0x3f10dd)),{channel:_0xd84ba4,requestId:_0x1be31f,revisions:_0x1716f0}=MessagesCompressor['decode'](_0x4b81db,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x445444,'change:state',(_0x2641d1,_0x1b5062,_0x489e0c)=>this['_onWsGatewayStateChange'](_0x489e0c),{'priority':vy['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x445444,_0xd84ba4),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x1716f0,'requestId':_0x1be31f};}['_connectToChannel'](_0x45db39,_0x192328){this['_channel']=_0x45db39['_getChannel'](RevisionHistoryService['_SERVICE'],_0x192328),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0x34b0b7,_0xbd192c)=>{const {documentId:_0x3ac636,requestId:_0xe7f649,revisions:_0x5a89be}=MessagesCompressor['decode'](_0xbd192c,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x3ac636,'requestId':_0xe7f649,'revisionsData':_0x5a89be});});}['_onWsGatewayStateChange'](_0x70db2f){_0x70db2f===wy&&this['disconnect']();}['_sendRequest'](_0x4feead,_0x1ce441){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x4feead,MessagesCompressor['encode'](_0x1ce441));}}class AddSuggestionMessage extends Message{['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(_0x140a28,_0x3f7842,_0x147dff,_0x34a7e4={},_0x1db334=null,_0x2a8e69=null){super(),this['id']=_0x140a28,this['documentId']=_0x3f7842,this['type']=_0x147dff,this['data']=_0x34a7e4,this['originalSuggestionId']=_0x1db334,this['attributes']=_0x2a8e69;}['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'](_0x2e7747){return new AddSuggestionMessage(_0x2e7747['id'],_0x2e7747['documentId'],_0x2e7747['type'],JSON['parse'](_0x2e7747['data']),_0x2e7747['originalSuggestionId']??null,_0x2e7747['attributes']?JSON['parse'](_0x2e7747['attributes']):null);}}class AddSuggestionResponse extends Message{['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(_0x54c90f,_0x4e5cca,_0x1b2911,_0x56dc7d,_0x462fbc,_0x3d33ba,_0x283ec5={},_0x26ecab=null){super(),this['id']=_0x54c90f,this['authorId']=_0x4e5cca,this['type']=_0x1b2911,this['hasComments']=_0x462fbc,this['state']=_0x3d33ba,this['data']=_0x283ec5,this['attributes']=_0x26ecab,this['createdAt']=_0x56dc7d?new Date(_0x56dc7d):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'](_0x15df45){return new AddSuggestionResponse(_0x15df45['id'],_0x15df45['authorId'],_0x15df45['type'],_0x15df45['createdAt'],_0x15df45['hasComments'],_0x15df45['state'],JSON['parse'](_0x15df45['data']),_0x15df45['attributes']?JSON['parse'](_0x15df45['attributes']):null);}}class GetSuggestionMessage extends Message{['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(_0x1850ee,_0x40d0a7){super(),this['id']=_0x1850ee,this['documentId']=_0x40d0a7;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0xccedb5){return new GetSuggestionMessage(_0xccedb5['id'],_0xccedb5['documentId']);}}class GetSuggestionResponse extends Message{['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(_0x215c2c,_0x53e4b8,_0x2b4944,_0x459f71,_0x1e05c5,_0x39e6b2,_0x3dede4={},_0x67fb38=null){super(),this['id']=_0x215c2c,this['authorId']=_0x53e4b8,this['type']=_0x2b4944,this['hasComments']=_0x1e05c5,this['state']=_0x39e6b2,this['data']=_0x3dede4,this['attributes']=_0x67fb38,this['createdAt']=new Date(_0x459f71);}['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'](_0x36f5c4){return new GetSuggestionResponse(_0x36f5c4['id'],_0x36f5c4['authorId'],_0x36f5c4['type'],_0x36f5c4['createdAt'],_0x36f5c4['hasComments'],_0x36f5c4['state'],JSON['parse'](_0x36f5c4['data']),_0x36f5c4['attributes']?JSON['parse'](_0x36f5c4['attributes']):null);}}class GetAllSuggestionsMessage extends Message{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x147fc5){super(),this['documentId']=_0x147fc5;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x24e071){return new GetAllSuggestionsMessage(_0x24e071['documentId']);}}class SuggestionDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='SuggestionDescriptor';static ['DESCRIPTOR']={'fields':{'id':{'id':0x1,'type':'string'},'authorId':{'id':0x2,'type':'string'},'type':{'id':0x3,'type':'string'},'createdAt':{'id':0x4,'type':'string'},'data':{'id':0x5,'type':'string'},'hasComments':{'id':0x6,'type':'bool'},'state':{'id':0x7,'type':'string'},'attributes':{'id':0x8,'type':'string'}}};static['toJSON'](_0x557d3d){return{..._0x557d3d,'data':_0x557d3d['data']?JSON['stringify'](_0x557d3d['data']):_0x557d3d['data'],'attributes':_0x557d3d['attributes']?JSON['stringify'](_0x557d3d['attributes']):_0x557d3d['attributes'],'createdAt':_0x557d3d['createdAt']?.['toISOString']()};}static['fromJSON'](_0x5b1f8c){return{..._0x5b1f8c,'data':_0x5b1f8c['data']?JSON['parse'](_0x5b1f8c['data']):_0x5b1f8c['data'],'attributes':_0x5b1f8c['attributes']?JSON['parse'](_0x5b1f8c['attributes']):_0x5b1f8c['attributes'],'createdAt':_0x5b1f8c['createdAt']?new Date(_0x5b1f8c['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends Message{['_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(_0x246523,_0x59e673){super(),this['_suggestions']=_0x246523,this['_suggestionsV2']=_0x59e673,this['suggestions']=_0x59e673?.['length']?_0x59e673:_0x246523;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x5a329c=>JSON['stringify'](_0x5a329c)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x3b886f){return new GetAllSuggestionResponse(_0x3b886f['suggestions']?.['map'](_y),_0x3b886f['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _y(_0x45cdbe){const _0x801364=JSON['parse'](_0x45cdbe);return _0x801364['createdAt']=_0x801364['createdAt']?new Date(_0x801364['createdAt']):void 0x0,_0x801364;}class UpdateSuggestionMessage extends Message{['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(_0x3be284,_0xd0c334,_0x508ede,_0x3a46ba,_0x1038f2,_0x194ccd=null){super(),this['id']=_0x3be284,this['documentId']=_0xd0c334,this['hasComments']=_0x508ede,this['isHasCommentsModified']=_0x3a46ba,this['state']=_0x1038f2,this['attributes']=_0x194ccd;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x3e9851){return new UpdateSuggestionMessage(_0x3e9851['id'],_0x3e9851['documentId'],_0x3e9851['hasComments'],_0x3e9851['isHasCommentsModified'],_0x3e9851['state'],_0x3e9851['attributes']?JSON['parse'](_0x3e9851['attributes']):null);}}let Ey=class ConnectMessage extends Message{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x503f6c){super(),this['documentId']=_0x503f6c;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x188c4c){return new ConnectMessage(_0x188c4c['documentId']);}},Ty=class ConnectResponse extends Message{['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(_0x496437,_0x3f94e1,_0x5e849e){super(),this['channel']=_0x496437,this['_suggestions']=_0x3f94e1,this['_suggestionsV2']=_0x5e849e,this['suggestions']=_0x5e849e?.['length']?_0x5e849e:_0x3f94e1;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x5cde42=>JSON['stringify'](_0x5cde42)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x7c24f9){return new ConnectResponse(_0x7c24f9['channel'],_0x7c24f9['suggestions']?.['map'](_0x4f5b93=>JSON['parse'](_0x4f5b93)),_0x7c24f9['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends Message{['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(_0x5a1cb3,_0x1f8f5f,_0x31cb61){super(),this['ids']=_0x5a1cb3,this['documentId']=_0x1f8f5f,this['state']=_0x31cb61;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x5976db){return new BatchUpdateSuggestionsStateMessage(_0x5976db['ids'],_0x5976db['documentId'],_0x5976db['state']);}}class TrackChangesService extends/* #__PURE__ -- @preserve */
_0x3cde5f(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x136cad){super(),this['_documentId']=_0x136cad;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0xe62b13){if(this['_isConnected'])return;if(_0xe62b13['state']!==yy)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0xe62b13);const _0x40fcd3=new Ey(this['_documentId']);this['_wsGateway']=_0xe62b13,this['stopListening'](_0xe62b13,'change:state');const _0x34634a=await _0xe62b13['_sendRequest'](0xa,Ey['TYPE'],MessagesCompressor['encode'](_0x40fcd3)),_0x353051=MessagesCompressor['decode'](_0x34634a,Ty);return this['listenTo'](_0xe62b13,'change:state',(_0x4b32e2,_0x2d5969,_0x553403)=>this['_onWsGatewayStateChange'](_0x553403),{'priority':vy['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0xe62b13,_0x353051['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x353051['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'](_0x1eb66b,_0x465b6e,_0x289091,_0x2f3dfe=null,_0x33090d){const _0x3042fb=new AddSuggestionMessage(_0x1eb66b,this['_documentId'],_0x465b6e,_0x289091,_0x2f3dfe,_0x33090d),_0x4803e0=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x3042fb);return MessagesCompressor['decode'](_0x4803e0,AddSuggestionResponse);}async['get'](_0x16f3cb,_0x1c0eb6=0x1){const _0x24a32c=new GetSuggestionMessage(_0x16f3cb,this['_documentId']);try{const _0xe13639=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x24a32c);return MessagesCompressor['decode'](_0xe13639,GetSuggestionResponse);}catch(_0xee9db5){if('CKEditorCloudServicesServerError'===_0xee9db5['name']&&'404'===_0xee9db5['code']&&_0x1c0eb6<0x5)return await(_0x20fa58=0x64*_0x1c0eb6,new Promise(_0x284a01=>{setTimeout(_0x284a01,_0x20fa58);})),this['get'](_0x16f3cb,_0x1c0eb6+0x1);if('CKEditorCloudServicesServerError'===_0xee9db5['name'])throw _0xee9db5;throw CKEditorCloudServicesServerError['fromPublicError'](_0xee9db5);}var _0x20fa58;}async['getAll'](){const _0x49851f=new GetAllSuggestionsMessage(this['_documentId']),_0x3a83c7=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x49851f),{suggestions:_0x35e5dc}=MessagesCompressor['decode'](_0x3a83c7,GetAllSuggestionResponse);return _0x35e5dc;}async['update'](_0x3ec909,_0x561c9c={}){const {hasComments:_0x4d5f35,state:_0x973356,attributes:_0x16aa6d}=_0x561c9c,_0x4c485b=void 0x0!==_0x4d5f35,_0x2d7dbc=new UpdateSuggestionMessage(_0x3ec909,this['_documentId'],_0x4d5f35,_0x4c485b,_0x973356,_0x16aa6d);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x2d7dbc);}async['batchUpdateState'](_0xaffdb9){const _0x5be014=new BatchUpdateSuggestionsStateMessage(_0xaffdb9['ids'],this['_documentId'],_0xaffdb9['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x5be014);}['_connectToChannel'](_0xe733cd,_0x3ed41a){this['_channel']=_0xe733cd['_getChannel'](TrackChangesService['_SERVICE'],_0x3ed41a),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0xe0bc37,_0x179c26)=>{const _0x40ef3b=MessagesCompressor['decode'](_0x179c26,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x40ef3b);});}['_onWsGatewayStateChange'](_0x3c5ccb){_0x3c5ccb===wy&&this['disconnect']();}['_sendRequest'](_0x37d392,_0x157ca9){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x37d392,MessagesCompressor['encode'](_0x157ca9));}}class SessionsConnectResponse extends Message{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x1953c0,_0x393a10=[]){super(),this['channel']=_0x1953c0,this['sockets']=_0x393a10;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x3a0b5f=>({'user':_0x3a0b5f['userId'],'session':_0x3a0b5f['id'],'role':_0x3a0b5f['role'],'permissions':_0x3a0b5f['permissions']}))};}static['fromJSON'](_0x446ab2){return new SessionsConnectResponse(_0x446ab2['channel'],_0x446ab2['sockets']['map'](_0x36b61b=>({'id':_0x36b61b['session'],'userId':_0x36b61b['user'],'role':_0x36b61b['role'],'permissions':_0x36b61b['permissions']})));}}class SessionsConnectMessage extends Message{['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(_0x3a5709,_0x537af5){super(),this['id']=_0x3a5709,this['sessionType']=_0x537af5;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x402e3c){return new SessionsConnectMessage(_0x402e3c['id'],_0x402e3c['sessionType']);}}class SocketConnectMessage extends Message{['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(_0x58ee7e,_0x36f2d7,_0xb3f788,_0x51b1be){super(),this['id']=_0x58ee7e,this['userId']=_0x36f2d7,this['role']=_0xb3f788,this['permissions']=_0x51b1be;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x355483){return new SocketConnectMessage(_0x355483['id'],_0x355483['userId'],_0x355483['role'],_0x355483['permissions']);}}class SocketDisconnectMessage extends Message{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x233557){super(),this['id']=_0x233557;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x2a5537){return new SocketDisconnectMessage(_0x2a5537['id']);}}class SessionCollection extends _0x47a54f{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0xefcd83,_0x560bd8){super({'idProperty':'id'}),this['_id']=_0xefcd83,this['_sessionType']=_0x560bd8;}async['connect'](_0x36d4f6){this['_wsGateway']=_0x36d4f6,this['stopListening'](_0x36d4f6,'change:state');const _0x558bdd=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x553861;try{const _0x49dd84=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],MessagesCompressor['encode'](_0x558bdd));_0x553861=MessagesCompressor['decode'](_0x49dd84,SessionsConnectResponse);}catch{_0x553861=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x553861['channel'],this['_sessionType']);const _0x33a1f0=await async function(_0xbb57ce,_0x23fff6){const _0x127290=_0x23fff6['map'](_0x1d3934=>_0x1d3934['userId']),_0x7c3243=_0x127290['length']?await User['getMany'](_0xbb57ce,_0x127290):[];return _0x23fff6['map'](_0x26370c=>{const _0x288d93={'id':_0x26370c['id'],'role':_0x26370c['role'],'permissions':_0x26370c['permissions']};return _0x288d93['user']=_0x26370c['userId']&&_0x7c3243['find'](_0xf1e2eb=>_0xf1e2eb['id']===_0x26370c['userId'])||new User(),_0x288d93;});}(this['_wsGateway'],_0x553861['sockets']);for(const _0x43fafc of _0x33a1f0)super['add'](_0x43fafc);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x111632,_0x1e30f0,_0x2a44bc)=>this['_onWsGatewayStateChange'](_0x2a44bc),{'priority':vy['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x389e87=!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']&&_0x389e87&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x389e87&&this['stopListening']();}}['add'](_0x16ab44,_0x3c80a1){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x472343){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x486a25,_0x24bd6d,_0x54cb6d){this['_channel']=_0x486a25['_getChannel'](_0x54cb6d,_0x24bd6d),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x3c36d8=>{const _0xd77226=MessagesCompressor['decode'](_0x3c36d8,SocketConnectMessage);if(-0x1===this['getIndex'](_0xd77226['id'])){const _0x488866={'id':_0xd77226['id'],'role':_0xd77226['role'],'permissions':_0xd77226['permissions']};_0xd77226['userId']&&(_0x488866['user']=await User['get'](_0x486a25,_0xd77226['userId'])),super['add'](_0x488866);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x17200a=>{const _0x37c2b3=MessagesCompressor['decode'](_0x17200a,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x37c2b3['id'])&&super['remove'](_0x37c2b3['id']);}));}async['_onWsGatewayStateChange'](_0x1bedef){_0x1bedef===vy['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x1bedef===vy['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x3a0df5;for(this['_isRunning']=!0x0;_0x3a0df5=this['_eventsQueue']['shift']();){const _0x3db65a=this['_handlers']['get'](_0x3a0df5['eventName']);_0x3db65a&&await _0x3db65a(_0x3a0df5['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x554fc2,_0x3601c7,_0x50afb5){const _0x50d951=_0x554fc2['getEventName'](_0x3601c7,!0x0);this['listenTo'](_0x554fc2,_0x50d951,async(_0x5c261c,_0x30e449)=>{const _0x5600f2=_0x5c261c['name'];this['_eventsQueue']['push']({'eventName':_0x5600f2,'data':_0x30e449}),await this['_runQueue']();}),this['_handlers']['set'](_0x50d951,_0x50afb5);}}let Ay=class Sessions{static async['getConnectedSessions'](_0x5cc64a,_0x330b7f,_0x122023){const _0x24c104=new SessionCollection(_0x330b7f,_0x122023);return await _0x24c104['connect'](_0x5cc64a),_0x24c104;}};class CollaborativeEditingConnectMessage extends Message{['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(_0x19f045,_0x5335c4,_0x152aed,_0x2b1486,_0x30e64f=''){super(),this['id']=_0x19f045,this['buffers']=_0x5335c4,this['types']=_0x152aed,this['bundleVersion']=_0x2b1486,this['lastOperationId']=_0x30e64f;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x48541a){return new CollaborativeEditingConnectMessage(_0x48541a['id'],_0x48541a['buffers'],_0x48541a['types'],_0x48541a['bundleVersion'],_0x48541a['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x40d404,_0x3b98c0){if(!_0x40d404?.['length']||!_0x3b98c0?.['length'])return[];const _0xa6024a=[];let _0x3b72ac=0x0;for(const _0x3b6a90 of _0x40d404)if(0x0!==_0x3b6a90){if(!_0x3b98c0[_0x3b72ac])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0xa6024a['push'](_0x3b98c0[_0x3b72ac]),_0x3b72ac++;}else _0xa6024a['push'](_0xa6024a[_0xa6024a['length']-0x1]);return _0xa6024a;}static['removeUnnecessaryMetadata'](_0x353683,_0x2ce0f3){if(!_0x353683?.['length']||!_0x2ce0f3?.['length'])return[];const _0x47d866=[];for(let _0x1f9a19=0x0;_0x1f9a19<_0x353683['length'];_0x1f9a19++)if(0x0!==_0x353683[_0x1f9a19]){if(!_0x2ce0f3[_0x1f9a19])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x47d866['push'](_0x2ce0f3[_0x1f9a19]);}return _0x47d866;}}class OperationMetadataDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:_0x604b3b,..._0x51fdc6}){const _0x5707f4={..._0x51fdc6};return _0x604b3b?.['toISOString']&&(_0x5707f4['createdAt']=_0x604b3b['toISOString']()),_0x5707f4;}static['fromJSON']({createdAt:_0x18e187,..._0x1984da}){const _0x18b5fe={..._0x1984da};return _0x18e187&&(_0x18b5fe['createdAt']=new Date(_0x18e187)),_0x18b5fe;}}class CollaborativeEditingUpdateMessage extends Message{['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(_0x15ecc7,_0x441a16,_0x21deb1,_0x5319ed,_0x574c85=[],_0x3a1f69=''){super(),this['id']=_0x15ecc7,this['buffers']=_0x441a16,this['types']=_0x21deb1,this['baseVersion']=_0x5319ed,this['metadata']=_0x574c85,this['lastOperationId']=_0x3a1f69;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'lastOperationId':this['lastOperationId']};}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'baseVersion':this['baseVersion'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x14b1fb){return new CollaborativeEditingUpdateMessage(_0x14b1fb['id'],_0x14b1fb['buffers'],_0x14b1fb['types'],_0x14b1fb['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x14b1fb['types'],_0x14b1fb['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x14b1fb['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends Message{['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(_0x4c2e06,_0x21a622,_0x5a85e5){super(),this['id']=_0x4c2e06,this['lastKnowVersion']=_0x21a622,this['bundleVersion']=_0x5a85e5;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x240338){return new CollaborativeEditingReconnectMessage(_0x240338['id'],_0x240338['lastKnowVersion'],_0x240338['bundleVersion']);}}class CollaborativeEditingResponse extends Message{['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(_0x35f832,_0x1002ef=[],_0x6f57ff=[],_0x49b87a=[],_0x530c7d='',_0x12a73a=null){super(),this['version']=_0x35f832,this['buffers']=_0x1002ef,this['types']=_0x6f57ff,this['metadata']=_0x49b87a,this['lastOperationId']=_0x530c7d,this['lastOperationAcceptedAt']=_0x12a73a;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']};}get['wereChangesApplied'](){return!this['types']?.['length'];}['toJSON'](){return{'version':this['version'],'buffers':this['buffers'],'types':this['types'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x3dfbd5){return new CollaborativeEditingResponse(_0x3dfbd5['version'],_0x3dfbd5['buffers'],_0x3dfbd5['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x3dfbd5['types'],_0x3dfbd5['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x3dfbd5['lastOperationId'],_0x3dfbd5['lastOperationAcceptedAt']?new Date(_0x3dfbd5['lastOperationAcceptedAt']):null);}static['create'](_0xde1cce){return new CollaborativeEditingResponse(_0xde1cce['version'],_0xde1cce['buffers'],_0xde1cce['types'],_0xde1cce['metadata'],_0xde1cce['lastOperationId'],_0xde1cce['lastOperationAcceptedAt']?new Date(_0xde1cce['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends Message{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'channel':{'type':'string','id':0x1},'offset':{'type':'uint32','id':0x2},'version':{'type':'uint32','id':0x3},'buffers':{'rule':'repeated','type':'bytes','id':0x4},'types':{'rule':'repeated','type':'uint32','id':0x5},'metadata':{'rule':'repeated','type':OperationMetadataDescriptor['DESCRIPTOR_NAME'],'id':0x7},'initData':{'type':'string','id':0x8},'isInitialized':{'type':'bool','id':0x9},'sessionId':{'type':'string','id':0xa},'lastOperationId':{'type':'string','id':0xb},'sessionCreatedAt':{'type':'string','id':0xc}}}))());constructor(_0x21e2a7,_0x1c5841,_0x339644=[],_0x3bd115=[],_0x1e1df3=0x0,_0x5eb360=[],_0x30c74d=null,_0x116105='',_0xad0234='',_0x1fa13d=null){super(),this['channel']=_0x21e2a7,this['version']=_0x1c5841,this['buffers']=_0x339644,this['types']=_0x3bd115,this['offset']=_0x1e1df3,this['metadata']=_0x5eb360,this['initData']=_0x30c74d,this['sessionId']=_0x116105,this['lastOperationId']=_0xad0234,this['sessionCreatedAt']=_0x1fa13d;}get['data'](){return{'buffers':this['buffers'],'types':this['types'],'baseVersion':this['version']-this['types']['length'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']};}get['wereChangesApplied'](){return!this['types']?.['length']&&null===this['initData'];}['toJSON'](){return{'channel':this['channel'],'version':this['version'],'sessionId':this['sessionId'],'buffers':this['buffers'],'types':this['types'],'offset':this['offset'],'metadata':OperationMetadataHelpers['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](OperationMetadataDescriptor['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0x911d18){return new CollaborativeEditingConnectResponse(_0x911d18['channel'],_0x911d18['version'],_0x911d18['buffers'],_0x911d18['types'],_0x911d18['offset'],_0x911d18['metadata'],_0x911d18['initData'],_0x911d18['sessionId'],_0x911d18['lastOperationId'],_0x911d18['sessionCreatedAt']);}static['fromJSON'](_0x8b8110){let _0x285f1a=null;return!0x0===_0x8b8110['isInitialized']?_0x285f1a=_0x8b8110['initData']??'':'boolean'!=typeof _0x8b8110['isInitialized']&&_0x8b8110['initData']&&(_0x285f1a=_0x8b8110['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x8b8110['channel'],'version':_0x8b8110['version'],'buffers':_0x8b8110['buffers'],'types':_0x8b8110['types'],'offset':_0x8b8110['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x8b8110['types'],_0x8b8110['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x285f1a,'sessionId':_0x8b8110['sessionId'],'lastOperationId':_0x8b8110['lastOperationId'],'sessionCreatedAt':_0x8b8110['sessionCreatedAt']?new Date(_0x8b8110['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends Message{['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(_0xaec794,_0x384083){super(),this['lastDocumentSession']=_0xaec794,this['currentDocumentSession']=_0x384083;}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'](_0x176612){const _0x170075=_0x176612['lastDocumentSessionId']?{'id':_0x176612['lastDocumentSessionId'],'lastOperationId':_0x176612['lastDocumentSessionOperationId']}:void 0x0,_0x2245ee=_0x176612['currentDocumentSessionId']?{'lastOperationId':_0x176612['currentDocumentSessionOperationId'],'version':_0x176612['currentDocumentSessionVersion'],'id':_0x176612['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x170075,_0x2245ee);}}class GetDocumentDetailsMessage extends Message{['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(_0x396902){super(),this['documentId']=_0x396902;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x414b9d){return new GetDocumentDetailsMessage(_0x414b9d['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
_0x3cde5f(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x15251b,_0x29c9a7){if(super(),!_0x15251b)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x29c9a7??ly(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x15251b;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x4cb15b,_0xa13867={'buffers':[],'types':[]},_0x1b89b1){const _0x3e7ae1=new CollaborativeEditingConnectMessage(this['getId'](),_0xa13867['buffers'],_0xa13867['types'],this['_bundleVersion'],_0x1b89b1);return this['_connect'](_0x4cb15b,_0x3e7ae1);}['reconnect'](_0x426ca1,_0x1bc3a2){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x426ca1);return this['_connect'](_0x426ca1,new CollaborativeEditingReconnectMessage(this['getId'](),_0x1bc3a2,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 _0x381c0a=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x3c8b5d=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],MessagesCompressor['encode'](_0x381c0a));return MessagesCompressor['decode'](_0x3c8b5d,GetDocumentDetailsResponse);}async['sendOperations'](_0x36d2dd,_0x3cae53,_0x236e50){if(!_0x36d2dd?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x27aacd='number'==typeof _0x3cae53?_0x3cae53:parseInt(_0x3cae53);if(!Number['isInteger'](_0x27aacd)||_0x27aacd<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x323025=new CollaborativeEditingUpdateMessage(this['getId'](),_0x36d2dd['buffers'],_0x36d2dd['types'],_0x27aacd,[],_0x236e50);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x35514b=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],MessagesCompressor['encode'](_0x323025));return MessagesCompressor['decode'](_0x35514b,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await Ay['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](_0x340d26,_0x4cd55e){return Ay['getConnectedSessions'](_0x340d26,_0x4cd55e,0x1);}async['_connect'](_0x2075b8,_0x46cded){if(this['isConnected']())return;if(_0x2075b8['state']!==vy['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2075b8);this['_wsGateway']=_0x2075b8,this['stopListening'](_0x2075b8,'change:state');const _0x2886f7=await _0x2075b8['_sendRequest'](0x1,_0x46cded['constructor']['TYPE'],MessagesCompressor['encode'](_0x46cded)),_0x17a215=MessagesCompressor['decode'](_0x2886f7,CollaborativeEditingConnectResponse);return this['listenTo'](_0x2075b8,'change:state',(_0x4f6b7c,_0x548131,_0x31ea4d)=>this['_onWsGatewayStateChange'](_0x31ea4d),{'priority':vy['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2075b8,_0x17a215['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x17a215;}['_connectToChannel'](_0x3feab3,_0x451d7f){this['_channel']=_0x3feab3['_getChannel'](0x1,_0x451d7f),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x22c79b,_0x38a5ac)=>{const _0x29c303=MessagesCompressor['decode'](_0x38a5ac,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x29c303['baseVersion'],_0x29c303['data'],_0x29c303['metadata']);});}['_onWsGatewayStateChange'](_0x14dcb3){_0x14dcb3===vy['STATE_DISCONNECTED']&&this['disconnect']();}}class CommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'commentThreadId':{'id':0x2,'type':'string'},'userId':{'id':0x3,'type':'string'},'content':{'id':0x4,'type':'string'},'documentId':{'id':0x5,'type':'string'},'createdAt':{'id':0x6,'type':'string'},'attributes':{'id':0x7,'type':'string'}}};static['toJSON'](_0x337d02){return{..._0x337d02,'createdAt':_0x337d02['createdAt']?.['toISOString'](),'attributes':_0x337d02['attributes']?JSON['stringify'](_0x337d02['attributes']):null};}static['fromJSON'](_0x2f7373){return{..._0x2f7373,'createdAt':new Date(_0x2f7373['createdAt']),'attributes':_0x2f7373['attributes']?JSON['parse'](_0x2f7373['attributes']):null};}}class CommentsThreadDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentsThreadDescriptor';static ['DESCRIPTOR']={'fields':{'commentThreadId':{'type':'string','id':0x1},'comments':{'type':'CommentDescriptor','rule':'repeated','id':0x2},'resolvedAt':{'type':'string','id':0x3},'resolvedBy':{'type':'string','id':0x4},'context':{'type':'string','id':0x5},'createdAt':{'type':'string','id':0x6},'deletedAt':{'type':'string','id':0x7},'attributes':{'type':'string','id':0x8},'unlinkedAt':{'type':'string','id':0x9}}};static['toJSON'](_0x4fed58){return{..._0x4fed58,'createdAt':_0x4fed58['createdAt']?.['toISOString'](),'deletedAt':_0x4fed58['deletedAt']?.['toISOString'](),'resolvedAt':_0x4fed58['resolvedAt']?.['toISOString'](),'attributes':_0x4fed58['attributes']?JSON['stringify'](_0x4fed58['attributes']):null,'context':_0x4fed58['context']?JSON['stringify'](_0x4fed58['context']):_0x4fed58['context'],'comments':_0x4fed58['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x4fed58['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x265d56){return{..._0x265d56,'createdAt':_0x265d56['createdAt']?new Date(_0x265d56['createdAt']):void 0x0,'deletedAt':_0x265d56['deletedAt']?new Date(_0x265d56['deletedAt']):void 0x0,'resolvedAt':_0x265d56['resolvedAt']?new Date(_0x265d56['resolvedAt']):void 0x0,'attributes':_0x265d56['attributes']?JSON['parse'](_0x265d56['attributes']):null,'context':_0x265d56['context']?JSON['parse'](_0x265d56['context']):void 0x0,'comments':_0x265d56['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x265d56['unlinkedAt']?new Date(_0x265d56['unlinkedAt']):void 0x0};}}class AddCommentMessage extends Message{['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(_0xcd1057,_0x2dec74,_0xfe2607,_0x2a3273='',_0x96128a,_0x576ad2='',_0x446b10=null,_0x3dfadc){super(),this['documentId']=_0xcd1057,this['commentThreadId']=_0x2dec74,this['content']=_0xfe2607,this['commentId']=_0x2a3273,this['userId']=_0x576ad2,this['attributes']=_0x446b10,this['commentThread']=_0x3dfadc,this['createdAt']=_0x96128a?new Date(_0x96128a):'';}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'content':this['content'],'documentId':this['documentId'],'commentId':this['commentId'],'createdAt':this['createdAt']instanceof Date?this['createdAt']['toISOString']():this['createdAt'],'userId':this['userId'],'attributes':JSON['stringify'](this['attributes']),'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x49dbc8){return new AddCommentMessage(_0x49dbc8['documentId'],_0x49dbc8['commentThreadId'],_0x49dbc8['content'],_0x49dbc8['commentId']?_0x49dbc8['commentId']:void 0x0,_0x49dbc8['createdAt']?new Date(_0x49dbc8['createdAt']):void 0x0,_0x49dbc8['userId']?_0x49dbc8['userId']:void 0x0,_0x49dbc8['attributes']?JSON['parse'](_0x49dbc8['attributes']):{},_0x49dbc8['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x49dbc8['commentThread']):void 0x0);}}class AddCommentResponse extends Message{['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(_0x203af1,_0x57efde,_0x276e6c){super(),this['commentThreadId']=_0x203af1,this['commentId']=_0x57efde,this['createdAt']=new Date(_0x276e6c);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x4b95d5){return new AddCommentResponse(_0x4b95d5['commentThreadId'],_0x4b95d5['commentId'],_0x4b95d5['createdAt']);}}class ConnectMessage extends Message{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x358ab4){super(),this['documentId']=_0x358ab4;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x2d4209){return new ConnectMessage(_0x2d4209['documentId']);}}class ConnectResponse extends Message{['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(_0x16efa4,_0x58c86f,_0x1f34ab){super(),this['channel']=_0x16efa4,this['_threads']=_0x58c86f,this['_threadsV2']=_0x1f34ab,this['threads']=_0x1f34ab?.['length']?_0x1f34ab:_0x58c86f;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x192686=>JSON['stringify'](_0x192686)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x3a6489){return new ConnectResponse(_0x3a6489['channel'],_0x3a6489['threads']?.['map'](_0x14eb76=>JSON['parse'](_0x14eb76)),_0x3a6489['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends Message{['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(_0x3a8c94,_0x46c649,_0x4a65c0){super(),this['documentId']=_0x3a8c94,this['commentThreadId']=_0x46c649,this['commentId']=_0x4a65c0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x586b42){return new RemoveCommentMessage(_0x586b42['documentId'],_0x586b42['commentThreadId'],_0x586b42['commentId']);}}class RemoveCommentThreadMessage extends Message{['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(_0x76029b,_0x301998){super(),this['documentId']=_0x76029b,this['commentThreadId']=_0x301998;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x541729){return new RemoveCommentThreadMessage(_0x541729['documentId'],_0x541729['commentThreadId']);}}class UpdateCommentMessage extends Message{['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(_0x3d8c08,_0x26a248,_0x6555ee,_0x228814,_0x3ad280=null,_0x1fe750=!0x1,_0x3bd041){super(),this['documentId']=_0x3d8c08,this['commentThreadId']=_0x26a248,this['commentId']=_0x6555ee,this['content']=_0x228814,this['attributes']=_0x3ad280,this['isAttributesUpdated']=_0x1fe750,this['commentThread']=_0x3bd041;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'content':this['content'],'attributes':this['attributes']?JSON['stringify'](this['attributes']):null,'isAttributesUpdated':this['isAttributesUpdated'],'commentThread':this['commentThread']?CommentsThreadDescriptor['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x43ccb9){return new UpdateCommentMessage(_0x43ccb9['documentId'],_0x43ccb9['commentThreadId'],_0x43ccb9['commentId'],_0x43ccb9['content'],_0x43ccb9['attributes']?JSON['parse'](_0x43ccb9['attributes']):null,_0x43ccb9['isAttributesUpdated'],_0x43ccb9['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x43ccb9['commentThread']):void 0x0);}}class GetCommentThreadMessage extends Message{['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(_0x207a70,_0x2e8533){super(),this['commentThreadId']=_0x207a70,this['documentId']=_0x2e8533;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x4fc701){return new GetCommentThreadMessage(_0x4fc701['commentThreadId'],_0x4fc701['documentId']);}}class GetCommentThreadResponse extends Message{['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(_0xa5a82c,_0x2645f2,_0x58ddfb,_0x3cac44,_0x2c97d9,_0x452d07,_0x224340,_0x206214,_0x1e4ba7,_0x41c7e2){super(),this['commentThreadId']=_0xa5a82c,this['_comments']=_0x2645f2,this['_commentsV2']=_0x58ddfb,this['resolvedBy']=_0x2c97d9,this['comments']=_0x58ddfb?.['length']?_0x58ddfb:_0x2645f2,this['createdAt']=_0x224340?new Date(_0x224340):void 0x0,this['deletedAt']='string'==typeof _0x206214?new Date(_0x206214):_0x206214,this['resolvedAt']='string'==typeof _0x1e4ba7?new Date(_0x1e4ba7):_0x1e4ba7,this['unlinkedAt']='string'==typeof _0x41c7e2?new Date(_0x41c7e2):_0x41c7e2,this['attributes']='string'==typeof _0x3cac44?JSON['parse'](_0x3cac44):_0x3cac44,this['context']='string'==typeof _0x452d07?JSON['parse'](_0x452d07):_0x452d07;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x326567=>JSON['stringify'](_0x326567)),'commentsV2':this['_commentsV2']?.['map'](CommentDescriptor['toJSON']),'attributes':this['attributes']?JSON['stringify'](this['attributes']):this['attributes'],'context':this['context']?JSON['stringify'](this['context']):this['context'],'resolvedBy':this['resolvedBy'],'createdAt':this['createdAt']?.['toISOString'](),'deletedAt':this['deletedAt']?.['toISOString'](),'resolvedAt':this['resolvedAt']?.['toISOString'](),'unlinkedAt':this['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0xb9fc24){return new GetCommentThreadResponse(_0xb9fc24['commentThreadId'],_0xb9fc24['comments']?.['map'](_0x5e2db0=>function(_0x1cf1aa){const _0x478126=JSON['parse'](_0x1cf1aa);return{..._0x478126,'createdAt':new Date(_0x478126['createdAt'])};}(_0x5e2db0)),_0xb9fc24['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0xb9fc24['attributes']?JSON['parse'](_0xb9fc24['attributes']):_0xb9fc24['attributes'],_0xb9fc24['resolvedBy'],_0xb9fc24['context']?JSON['parse'](_0xb9fc24['context']):_0xb9fc24['context'],_0xb9fc24['createdAt'],_0xb9fc24['deletedAt'],_0xb9fc24['resolvedAt'],_0xb9fc24['unlinkedAt']);}}class GetDocumentThreadsMessage extends Message{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x37cef6){super(),this['documentId']=_0x37cef6;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1232d5){return new GetDocumentThreadsMessage(_0x1232d5['documentId']);}}class GetDocumentThreadsResponse extends Message{['_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(_0x12fb7c,_0x8908df){super(),this['_threads']=_0x12fb7c,this['_threadsV2']=_0x8908df,this['threads']=_0x8908df?.['length']?_0x8908df:_0x12fb7c;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0xef00dc=>JSON['stringify'](_0xef00dc)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x433835){return new GetDocumentThreadsResponse(_0x433835['threads']?.['map'](_0x211813=>function(_0x1ef666){const _0x5af6aa=JSON['parse'](_0x1ef666),_0x3818ad={..._0x5af6aa};return _0x5af6aa['comments']&&(_0x3818ad['comments']=_0x5af6aa['comments']?.['map'](_0x3f7720=>({..._0x3f7720,'createdAt':new Date(_0x3f7720['createdAt'])}))),_0x3818ad;}(_0x211813)),_0x433835['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class CommentThreadAddedCommentDescriptor extends Descriptor{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](_0x2636e2){return{'commentId':_0x2636e2['commentId'],'createdAt':_0x2636e2['createdAt']?.['toISOString']()};}static['fromJSON'](_0x3a251b){return{'commentId':_0x3a251b['commentId'],'createdAt':new Date(_0x3a251b['createdAt'])};}}class AddCommentThreadResponse extends Message{['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(_0x47588b,_0x2834cf,_0x429927=[]){super(),this['commentThreadId']=_0x47588b,this['comments']=_0x429927,this['createdAt']=new Date(_0x2834cf);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x4ce772=>CommentThreadAddedCommentDescriptor['toJSON'](_0x4ce772))};}static['fromJSON'](_0x329eaf){return new AddCommentThreadResponse(_0x329eaf['commentThreadId'],_0x329eaf['createdAt'],_0x329eaf['comments']['map'](_0x532011=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x532011)));}}class AddCommentThreadMessage extends Message{['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(_0x44df3d,_0x28426c,_0x1b32e6=[],_0x37c571,_0x5df0d8=null,_0x5ec7f9=null,_0x27bd15=null,_0x2755f8=null,_0x3e5164=null){super(),this['documentId']=_0x44df3d,this['commentThreadId']=_0x28426c,this['comments']=_0x1b32e6,this['context']=_0x37c571,this['resolvedBy']=_0x5df0d8,this['attributes']=_0x3e5164,this['createdAt']=_0x5ec7f9?new Date(_0x5ec7f9):'',this['resolvedAt']=_0x27bd15?new Date(_0x27bd15):'',this['deletedAt']=_0x2755f8?new Date(_0x2755f8):'';}['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'](_0xf88720=>CommentDescriptor['toJSON'](_0xf88720))};}static['fromJSON'](_0xeaef2e){return new AddCommentThreadMessage(_0xeaef2e['documentId'],_0xeaef2e['commentThreadId'],_0xeaef2e['comments']?.['map'](_0x521694=>CommentDescriptor['fromJSON']({..._0x521694,'documentId':_0xeaef2e['documentId'],'commentThreadId':_0xeaef2e['commentThreadId']})),_0xeaef2e['context']?JSON['parse'](_0xeaef2e['context']):_0xeaef2e['context'],_0xeaef2e['resolvedBy'],_0xeaef2e['createdAt']?new Date(_0xeaef2e['createdAt']):void 0x0,_0xeaef2e['resolvedAt']?new Date(_0xeaef2e['resolvedAt']):void 0x0,_0xeaef2e['deletedAt']?new Date(_0xeaef2e['deletedAt']):void 0x0,_0xeaef2e['attributes']?JSON['parse'](_0xeaef2e['attributes']):_0xeaef2e['attributes']);}}class ResolveCommentThreadMessage extends Message{['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(_0x1cdeeb,_0x4b10ba,_0xd81c81,_0x306aa7){super(),this['commentThreadId']=_0x1cdeeb,this['documentId']=_0x4b10ba,this['resolvedBy']=_0xd81c81,this['resolvedAt']=_0x306aa7?new Date(_0x306aa7):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x2a0542){return new ResolveCommentThreadMessage(_0x2a0542['commentThreadId'],_0x2a0542['documentId'],_0x2a0542['resolvedBy'],_0x2a0542['resolvedAt']);}}class ReopenCommentThreadMessage extends Message{['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(_0x3cf8de,_0x33ec5){super(),this['commentThreadId']=_0x3cf8de,this['documentId']=_0x33ec5;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x50fb1c){return new ReopenCommentThreadMessage(_0x50fb1c['commentThreadId'],_0x50fb1c['documentId']);}}class UpdateCommentThreadMessage extends Message{['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(_0x4892d0,_0x23a25c,_0xe1c9a,_0x480ac1=null,_0x312d27=null){super(),this['commentThreadId']=_0x4892d0,this['documentId']=_0x23a25c,this['context']=_0xe1c9a,this['attributes']=_0x480ac1,this['unlinkedAt']=_0x312d27?new Date(_0x312d27):'';}['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'](_0x91e317){return new UpdateCommentThreadMessage(_0x91e317['commentThreadId'],_0x91e317['documentId'],_0x91e317['context']?JSON['parse'](_0x91e317['context']):_0x91e317['context'],_0x91e317['attributes']?JSON['parse'](_0x91e317['attributes']):null,_0x91e317['unlinkedAt']?new Date(_0x91e317['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends Message{['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(_0xff16bf,_0x2edfce,_0x3cfd40,_0x45b289){super(),this['commentThreadId']=_0xff16bf,this['documentId']=_0x2edfce,this['resolvedBy']=_0x3cfd40,this['resolvedAt']=new Date(_0x45b289);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x1d4218){return new ResolveCommentThreadResponse(_0x1d4218['commentThreadId'],_0x1d4218['documentId'],_0x1d4218['resolvedBy'],_0x1d4218['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
_0x3cde5f(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x338e1c){super(),this['_documentId']=_0x338e1c;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x184155){if(this['_isConnected'])return;if(_0x184155['state']!==yy)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x184155);const _0x33aeba=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x184155,this['stopListening'](_0x184155,'change:state');const _0xa7c882=await _0x184155['_sendRequest'](0x9,ConnectMessage['TYPE'],MessagesCompressor['encode'](_0x33aeba)),{channel:_0x5a375d,threads:_0x58f684}=MessagesCompressor['decode'](_0xa7c882,ConnectResponse);return this['listenTo'](_0x184155,'change:state',(_0x5af478,_0x40490e,_0x1ff0e6)=>this['_onWsGatewayStateChange'](_0x1ff0e6),{'priority':vy['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x184155,_0x5a375d),this['_isConnected']=!0x0,this['fire']('connected'),_0x58f684;}['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'](_0x3ad370,_0x3bf846,_0x31df5e,_0x332a05){const _0x230b22=new AddCommentMessage(this['_documentId'],_0x3ad370,_0x31df5e,_0x3bf846,void 0x0,void 0x0,_0x332a05),_0x4e9ba2=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x230b22);return MessagesCompressor['decode'](_0x4e9ba2,AddCommentResponse);}async['updateComment'](_0x317301,_0x1032ce,_0x10ea2c,_0x2ee5d3){const _0x1f4b1b=void 0x0!==_0x2ee5d3,_0x249cb7=new UpdateCommentMessage(this['_documentId'],_0x317301,_0x1032ce,_0x10ea2c,_0x2ee5d3,_0x1f4b1b);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x249cb7);}async['removeComment'](_0x51d802,_0x252684){const _0x1ae083=new RemoveCommentMessage(this['_documentId'],_0x51d802,_0x252684);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x1ae083);}async['removeCommentThread'](_0x1fbbfe){const _0x3e35e8=new RemoveCommentThreadMessage(this['_documentId'],_0x1fbbfe);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x3e35e8);}async['addCommentThread'](_0x3bd33f){const _0x375104=new AddCommentThreadMessage(this['_documentId'],_0x3bd33f['commentThreadId'],_0x3bd33f['comments']?.['map'](_0x3d2e67=>({..._0x3d2e67,'documentId':this['_documentId'],'commentThreadId':_0x3bd33f['commentThreadId']})),_0x3bd33f['context'],_0x3bd33f['resolvedBy'],_0x3bd33f['createdAt'],_0x3bd33f['resolvedAt'],_0x3bd33f['deletedAt'],_0x3bd33f['attributes']),_0x18551b=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x375104);return MessagesCompressor['decode'](_0x18551b,AddCommentThreadResponse);}async['resolveCommentThread'](_0x474075){const _0x4d44b5=new ResolveCommentThreadMessage(_0x474075,this['_documentId']),_0x671b=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x4d44b5);return MessagesCompressor['decode'](_0x671b,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x902dba){const _0x3d766b=new ReopenCommentThreadMessage(_0x902dba,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x3d766b);}async['updateCommentThread'](_0x383908){const _0xff9c54=new UpdateCommentThreadMessage(_0x383908['commentThreadId'],this['_documentId'],_0x383908['context'],_0x383908['attributes'],_0x383908['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0xff9c54);}async['getCommentThread'](_0x1a41e9,_0xabb7fe=0x1){const _0x2fe9fd=new GetCommentThreadMessage(_0x1a41e9,this['_documentId']);try{const _0x2fcb25=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x2fe9fd),_0x56d07b=MessagesCompressor['decode'](_0x2fcb25,GetCommentThreadResponse);return{'commentThreadId':_0x56d07b['commentThreadId'],'comments':_0x56d07b['comments'],'attributes':_0x56d07b['attributes'],'context':_0x56d07b['context'],'resolvedAt':_0x56d07b['resolvedAt'],'resolvedBy':_0x56d07b['resolvedBy'],'deletedAt':_0x56d07b['deletedAt'],'unlinkedAt':_0x56d07b['unlinkedAt']};}catch(_0x327608){if('CKEditorCloudServicesServerError'===_0x327608['name']&&'404'===_0x327608['code']&&_0xabb7fe<0x5)return await(_0x51d2cb=0x64*_0xabb7fe,new Promise(_0x5bbf36=>{setTimeout(_0x5bbf36,_0x51d2cb);})),this['getCommentThread'](_0x1a41e9,_0xabb7fe+0x1);if('CKEditorCloudServicesServerError'===_0x327608['name'])throw _0x327608;throw CKEditorCloudServicesServerError['fromPublicError'](_0x327608);}var _0x51d2cb;}async['getDocumentThreads'](){const _0x48ae0c=new GetDocumentThreadsMessage(this['_documentId']),_0x204e1a=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x48ae0c),{threads:_0x12b2f4}=MessagesCompressor['decode'](_0x204e1a,GetDocumentThreadsResponse);return{'threads':_0x12b2f4};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await Ay['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](_0x468224,_0x887561){this['_channel']=_0x468224['_getChannel'](CommentsService['_SERVICE'],_0x887561),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x59f52b,_0x42c318)=>{const _0x4a102a=MessagesCompressor['decode'](_0x42c318,AddCommentMessage);this['fire']('commentAdded',_0x4a102a);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x190dc5,_0x344f2f)=>{const _0x546ba5=MessagesCompressor['decode'](_0x344f2f,RemoveCommentMessage);this['fire']('commentRemoved',_0x546ba5);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x2e800c,_0x44e870)=>{const _0x4bda23=MessagesCompressor['decode'](_0x44e870,UpdateCommentMessage);this['fire']('commentUpdated',_0x4bda23);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x58414b,_0x5ef6ed)=>{const _0x477639=MessagesCompressor['decode'](_0x5ef6ed,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x477639);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x8e7e7b,_0x308ab3)=>{const _0x263ad5=MessagesCompressor['decode'](_0x308ab3,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x263ad5);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x59029c,_0x5a016b)=>{const _0x4bb3ed=MessagesCompressor['decode'](_0x5a016b,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x4bb3ed);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x543827,_0x533bd6)=>{const _0x5d6ee0=MessagesCompressor['decode'](_0x533bd6,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x5d6ee0);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x3e03ea,_0x35992d)=>{const _0x557fff=MessagesCompressor['decode'](_0x35992d,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x557fff);}));}['_onWsGatewayStateChange'](_0x4b026f){_0x4b026f===wy&&this['disconnect']();}['_sendRequest'](_0x4c0832,_0x3bf30c){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x4c0832,MessagesCompressor['encode'](_0x3bf30c));}}class WebSocketGateway extends _0x304a5a{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>vy)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return[_0x4eeba8,Qt];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x260475){super(_0x260475),this['set']('state',yy),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0x3c72d0())();}['init'](){const _0x468487=this['context'],_0xa54074=_0x468487['plugins']['get'](_0x4eeba8),_0x4a810c=_0x468487['plugins']['get'](Qt);if(!_0xa54074['token'])throw new _0x522f1f('websocketgateway-missing-token',this);if(!_0xa54074['webSocketUrl'])throw new _0x522f1f('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'](_0xa54074['token'],_0xa54074['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x3753da=>{if(this['connection']=_0x3753da,this['bind']('state')['to'](_0x3753da,'state',this,'_isBrowserOffline',(_0x7b7c2,_0x3bdb5e)=>('connected'!==_0x7b7c2&&(this['_shouldPluginsReconnect']=!0x0),_0x3bdb5e||_0x7b7c2!==yy?wy:this['state']==wy&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),by):yy)),this['connection']['on']('error',(_0x10c90a,_0x29fc13)=>{if('limitExceeded'!==_0x29fc13['code'])throw console['error'](_0x29fc13),new _0x522f1f('cloudservices-init',null,{'originalError':_0x29fc13});_0x4a810c['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'});}),!_0x3753da['me'])return new Promise(_0xb852bd=>_0x3753da['on']('change:me',_0xb852bd));})['catch'](_0x56f0e8=>{throw console['error'](_0x56f0e8),new _0x522f1f('cloudservices-init',null,{'originalError':_0x56f0e8});});}['addToReconnectionStack'](_0x2be899){if('function'!=typeof _0x2be899['reconnect'])throw new _0x522f1f('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x2be899))throw new _0x522f1f('websocketgateway-plugin-already-registered',this,{'name':_0x2be899['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x2be899);}['removeFromReconnectionStack'](_0x2c538c){this['_reconnectionStack']['delete'](_0x2c538c);}['isInReconnectionStack'](_0x1ad8d7){return this['_reconnectionStack']['has'](_0x1ad8d7);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x330df7=>_0x330df7['reconnect']())))['then'](()=>this['state']=yy)['catch'](_0x57e7dd=>{throw console['error'](_0x57e7dd),new _0x522f1f('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=wy,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class Sessions extends _0x304a5a{['channelSessions'];['channelConnectedUsers'];['allConnectedUsers'];['_registeredSessions'];['_uniqueUsersCount'];['_users'];static get['pluginName'](){return'Sessions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[WebSocketGateway,Users];}constructor(_0x25405d){super(_0x25405d),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x47a54f(),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](Users);}['init'](){const _0x5caae1=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x5caae1,'change:state',(_0x470547,_0x58c685,_0x11d8b5)=>{if('connected'!==_0x11d8b5)this['channelSessions']['forEach'](_0x4fdaa1=>_0x4fdaa1['clear']()),this['channelConnectedUsers']['forEach'](_0x338dc3=>_0x338dc3['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x18579b,_0xd3a71f]of this['_registeredSessions'])for(const _0x5a0509 of _0xd3a71f)this['_handleSessionAdd'](_0x18579b,_0x5a0509);}}),this['_createUser'](_0x5caae1['connection']['me'],!0x0);}['register'](_0x50106a,_0x170648){if(this['_registeredSessions']['has'](_0x50106a))throw new _0x522f1f('sessions-register-already-registered',null,{'channelId':_0x50106a});this['_registeredSessions']['set'](_0x50106a,_0x170648),this['channelSessions']['set'](_0x50106a,new _0x47a54f()),this['channelConnectedUsers']['set'](_0x50106a,new _0x47a54f()),this['listenTo'](_0x170648,'add',(_0x338dea,_0x34bb8d)=>this['_handleSessionAdd'](_0x50106a,_0x34bb8d)),this['listenTo'](_0x170648,'remove',(_0xd005a6,_0x5472d7)=>this['_handleSessionRemove'](_0x50106a,_0x5472d7));for(const _0x5421ed of _0x170648)this['_handleSessionAdd'](_0x50106a,_0x5421ed);}['unregister'](_0x12eb84){if(!this['_registeredSessions']['has'](_0x12eb84))throw new _0x522f1f('sessions-unregister-not-exist',null,{'channelId':_0x12eb84});const _0x489624=this['_registeredSessions']['get'](_0x12eb84);this['stopListening'](_0x489624);for(const _0x4f7f32 of _0x489624)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x12eb84,_0x4f7f32);this['_registeredSessions']['delete'](_0x12eb84),this['channelSessions']['delete'](_0x12eb84),this['channelConnectedUsers']['delete'](_0x12eb84);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x393d99){for(const _0x52043e of this['channelSessions']['values']())for(const _0x1cad35 of _0x52043e)if(_0x1cad35['id']===_0x393d99)return _0x1cad35['user'];}['getUserSessions'](_0xe79acc,_0x579220){const _0x48fc7e=_0x579220?[this['channelSessions']['get'](_0x579220)]:this['channelSessions']['values'](),_0x32938f=new Set();for(const _0x4dffb7 of _0x48fc7e)for(const _0x321525 of _0x4dffb7)_0x321525['user']['id']===_0xe79acc['id']&&_0x32938f['add'](_0x321525['id']);return _0x32938f;}['getUserRole'](_0x4faee2){for(const _0x215624 of this['channelSessions']['values']())for(const _0x164447 of _0x215624)if(_0x164447['user']===_0x4faee2)return _0x164447['role'];}['_handleSessionAdd'](_0x273fbc,_0x300707){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x2fcf26=_0x300707['user'],_0x1fc0fb=this['_users']['getUser'](_0x2fcf26['id'])||this['_createUser'](_0x2fcf26),_0x46c07e=Object['assign']({},_0x300707,{'user':_0x1fc0fb});if(this['channelSessions']['get'](_0x273fbc)['add'](_0x46c07e),!_0x2fcf26['hiddenInPresenceList']){const _0xe4900d=this['channelConnectedUsers']['get'](_0x273fbc);_0xe4900d['has'](_0x1fc0fb['id'])||_0xe4900d['add'](_0x1fc0fb),this['allConnectedUsers']['has'](_0x1fc0fb['id'])||_0x2fcf26['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x1fc0fb,_0x1fc0fb['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x273fbc,{'channelId':_0x273fbc,'session':_0x46c07e});}['_handleSessionRemove'](_0x52b904,_0x2c67a7){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x26ae22=this['channelConnectedUsers']['get'](_0x52b904),_0x2ddc6a=_0x2c67a7['user'];_0x2ddc6a['id']&&(this['channelSessions']['get'](_0x52b904)['remove'](_0x2c67a7['id']),_0x26ae22['has'](_0x2ddc6a['id'])&&!this['getUserSessions'](_0x2ddc6a,_0x52b904)['size']&&_0x26ae22['remove'](_0x2ddc6a['id']),this['allConnectedUsers']['get'](_0x2ddc6a['id'])&&!this['getUserSessions'](_0x2ddc6a)['size']&&this['allConnectedUsers']['remove'](_0x2ddc6a['id']));}['_createUser'](_0x1975f7,_0x4a11d9){const _0xa6b73b=this['_users']['addUser'](_0x1975f7);return _0x4a11d9&&this['_users']['defineMe'](_0x1975f7['id']),_0xa6b73b['orderNumber']=this['_uniqueUsersCount']++,_0xa6b73b;}}class UserMarkers extends _0x151d85{['_domEmitter']=new(_0x3c72d0())();static get['requires'](){return[Sessions];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x300625=this['editor'],_0x150493=_0x300625['plugins']['get'](Sessions);_0x300625['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x4f0d4d,{writer:_0x8ccab1})=>function(_0x562f76,_0xc479ac,_0x402d65,_0x593b55){const _0x39ba70=_0x562f76['markerName']['split'](':')[0x2],_0x417a16=_0x402d65['getUserBySessionId'](_0x39ba70);if(!_0x417a16||_0x39ba70===_0x402d65['mySessionId'])return;if(!_0x593b55['model']['schema']['checkChild'](_0x562f76['markerRange']['start'],'$text'))return;const _0x5222cc={'class':'ck-user__marker\x20'+_0x417a16['color']['getMarkerClass'](),'style':Sy(_0x417a16),'data-name':_0x417a16['name'],'data-session-id':_0x39ba70},_0x28cd5e=_0x593b55['model']['markers']['get'](_0x562f76['markerName']),_0x5e6e8e=_0x28cd5e['getStart'](),_0x47f08f=_0x5e6e8e['nodeAfter'],_0x630bab=_0x593b55['model']['schema'];if(_0x47f08f&&_0x630bab['isObject'](_0x47f08f)&&_0x630bab['isInline'](_0x47f08f)&&!_0x593b55['model']['markers']['get']('user:range:'+_0x39ba70)['getRange']()['isCollapsed'])return;const _0x27784e=_0x5e6e8e['parent'];return _0x593b55['model']['schema']['isLimit'](_0x27784e)&&!_0x593b55['model']['hasContent'](_0x27784e)&&(_0x5222cc['contenteditable']=!0x1),function(_0x363628,_0x57b550,_0x479d91){const _0x163b74=_0x363628['createUIElement']('span',_0x57b550);return _0x363628['setCustomProperty']('userPositionMarker',!0x0,_0x163b74),_0x163b74['render']=function(_0x98a814){const _0x29614d=this['toDomElement'](_0x98a814),_0x11af2d=document['createElement']('span');return _0x11af2d['classList']['add']('ck-user__marker-tooltip'),_0x11af2d['setAttribute']('contenteditable','false'),_0x11af2d['setAttribute']('spellcheck','false'),_0x11af2d['textContent']=_0x479d91['name'],_0x29614d['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x11af2d['outerHTML']+'⁠',_0x29614d['addEventListener']('mouseenter',()=>{_0x29614d['classList']['add']('ck-user__marker_hovered');}),_0x29614d['addEventListener']('mouseleave',()=>{_0x29614d['classList']['remove']('ck-user__marker_hovered');}),_0x29614d;},_0x163b74['isSimilar']=function(_0x24cf55){return!(!this['getCustomProperty']('userPositionMarker')||!_0x24cf55['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x24cf55['getAttribute']('data-session-id'));},_0x163b74;}(_0xc479ac,_0x5222cc,_0x417a16);}(_0x4f0d4d,_0x8ccab1,_0x150493,_0x300625)}),_0x300625['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x1e9f11=>function(_0x8bc776,_0x32bbb0){const _0x1ff9b8=_0x8bc776['markerName']['split'](':')[0x2];if(_0x1ff9b8===_0x32bbb0['mySessionId'])return null;const _0x1f4dc2=_0x32bbb0['getUserBySessionId'](_0x1ff9b8);if(!_0x1f4dc2)return{'id':_0x1ff9b8,'classes':[]};return{'id':_0x1ff9b8,'classes':['ck-user__selection',_0x1f4dc2['color']['getSelectionClass']()],'attributes':{'style':Sy(_0x1f4dc2),'data-session-id':_0x1ff9b8},'priority':0x7d0+_0x1f4dc2['orderNumber']};}(_0x1e9f11,_0x150493)}),function(_0x5c2b27){const _0x4e367e=_0x5c2b27['model'],_0x236dba=new Map(),_0x3d52bf=_0x5c2b27['plugins']['get'](Sessions);_0x4e367e['markers']['on']('update:user:range',(_0x3d1181,_0x4cdb69,_0x29d97f,_0x2027f5)=>{if(!_0x2027f5&&_0x236dba['get'](_0x4cdb69['name']))return _0x236dba['get'](_0x4cdb69['name'])['detach'](),void _0x236dba['delete'](_0x4cdb69['name']);const _0x3601fd=_0x4cdb69['name']['split'](':')[0x2];if(_0x3601fd===_0x3d52bf['mySessionId'])return;const _0x54a421='user:position:'+_0x3601fd;_0x4e367e['markers']['has'](_0x54a421)&&_0x5c2b27['editing']['reconvertMarker'](_0x54a421),_0x4cdb69['on']('change:range',(_0x3fa3d4,_0x506fc1,_0x539dc8)=>{if('$graveyard'!=_0x506fc1['root']['rootName']&&'$graveyard'==_0x4cdb69['getRange']()['root']['rootName']&&!_0x236dba['has'](_0x4cdb69['name'])){const _0x32aa39=_0x4e367e['schema']['getNearestSelectionRange'](_0x539dc8['deletionPosition']);if(_0x32aa39){const _0x29502d=_0x49053d['fromRange'](_0x32aa39);_0x236dba['set'](_0x4cdb69['name'],_0x29502d),_0x29502d['on']('change:range',(_0x416855,_0x4dc094,_0x3fffdb)=>{if('$graveyard'==_0x29502d['root']['rootName']){const _0x5f4278=_0x4e367e['schema']['getNearestSelectionRange'](_0x3fffdb['deletionPosition']);_0x5f4278?(_0x29502d['start']=_0x5f4278['start'],_0x29502d['end']=_0x5f4278['end']):(_0x236dba['delete'](_0x4cdb69['name']),_0x29502d['detach']());}});}}});}),_0x4e367e['document']['on']('change',()=>{_0x236dba['size']>0x0&&_0x4e367e['enqueueChange']({'isUndoable':!0x1},_0x36a2ac=>{for(const [_0x52a318,_0x5b0301]of _0x236dba)'$graveyard'==_0x4e367e['markers']['get'](_0x52a318)['getRange']()['root']['rootName']&&(Iy(_0x52a318['split'](':')[0x2],_0x5b0301['toRange'](),_0x4e367e,_0x36a2ac),_0x5b0301['detach']());_0x236dba['clear']();});});}(_0x300625),this['_domEmitter']['listenTo'](_0x313644['document'],'keydown',(_0x1373d9,{key:_0x4fdd06})=>{'Escape'===_0x4fdd06&&function(_0x4a4e56){_0x4a4e56['editing']['view']['change'](_0x43b070=>{for(const _0x4419f0 of _0x4a4e56['model']['markers']){if(!_0x4419f0['name']['startsWith']('user:position'))continue;const _0x494edc=_0x4a4e56['editing']['mapper']['markerNameToElements'](_0x4419f0['name']);if(_0x494edc){for(const _0x6f2c85 of _0x494edc)_0x43b070['removeClass']('ck-user__marker_hovered',_0x6f2c85);}}});}(_0x300625);},{'useCapture':!0x0});}['afterInit'](){const _0xd64a3c=this['editor'],_0x3fbc6b=_0xd64a3c['commands']['get']('undo');_0x3fbc6b&&_0xd64a3c['model']['on']('applyOperation',(_0x46ef65,_0x713686)=>{const _0x35f0f4=_0x713686[0x0];if(!_0x35f0f4['isDocumentOperation'])return;if('marker'!=_0x35f0f4['type']||!_0x35f0f4['name']['startsWith']('user:'))return;const _0x21837f=_0x35f0f4['batch'];_0x3fbc6b['_createdBatches']['has'](_0x21837f)&&(_0x35f0f4['newRange']=_0x35f0f4['oldRange']?_0xd64a3c['model']['createRange'](_0x35f0f4['oldRange']['start'],_0x35f0f4['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x362ba0=this['editor'],_0x2d604f=_0x362ba0['model']['document'],_0x5342bc=_0x362ba0['plugins']['get'](Sessions);_0x362ba0['model']['enqueueChange']({'isUndoable':!0x1},_0x4d56eb=>{const _0x4728b9='user:range:'+_0x5342bc['mySessionId'],_0x34c697='user:position:'+_0x5342bc['mySessionId'],_0x5aafc8=_0x362ba0['model']['markers']['has'](_0x4728b9);_0x362ba0['editing']['view']['hasDomSelection']?Iy(_0x5342bc['mySessionId'],_0x2d604f['selection']['getFirstRange'](),_0x362ba0['model'],_0x4d56eb):_0x5aafc8&&(_0x4d56eb['removeMarker'](_0x4728b9),_0x4d56eb['removeMarker'](_0x34c697));});}}function Iy(_0x305cae,_0x43ca7c,_0x32ba06,_0x507414){const _0x24567f='user:range:'+_0x305cae,_0x1594b7='user:position:'+_0x305cae,_0x1eae79=_0x43ca7c['getContainedElement']();let _0x14730f=_0x43ca7c['start'];if(_0x1eae79&&_0x1eae79['is']('element','tableCell')){const _0x1c470d=function(_0x24f467,_0x49ad71){for(const _0x11706b of _0x24f467['getPositions']())if(_0x49ad71['schema']['checkChild'](_0x11706b,'$text'))return _0x11706b;}(_0x43ca7c,_0x32ba06);_0x1c470d&&(_0x14730f=_0x1c470d,_0x43ca7c=_0x507414['createRange'](_0x14730f));}const _0x34764f=_0x507414['createRange'](_0x14730f);_0x32ba06['markers']['has'](_0x24567f)?(_0x507414['updateMarker'](_0x24567f,{'range':_0x43ca7c}),_0x507414['updateMarker'](_0x1594b7,{'range':_0x34764f})):(_0x507414['addMarker'](_0x24567f,{'range':_0x43ca7c,'usingOperation':!0x0}),_0x507414['addMarker'](_0x1594b7,{'range':_0x34764f,'usingOperation':!0x0}));}function Sy(_0x327ff6){return'--ck-user-color:'+_0x327ff6['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x327ff6['color']['getColorAlphaVariable']()+';';}function Cy(_0x337cc2,_0x4b8f35,_0x97c0a5){const _0x5ac2d5=_0x337cc2['t'],t=_0x337cc2['t'];switch(_0x4b8f35){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 _0x5ac2d5({'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'},_0x97c0a5);default:return'';}}const ky=/* #__PURE__ -- @preserve */
((()=>{var _0x51b79d=$w['Reader'],_0x3d8541=$w['Writer'],_0x520d03=$w['util'],_0x560503=$w['roots']['default']||($w['roots']['default']={});return _0x560503['AttributeOperation']=(function(){function _0x328fe3(_0x45732a){if(_0x45732a){for(var _0x29cbb2=Object['keys'](_0x45732a),_0x56efc0=0x0;_0x56efc0<_0x29cbb2['length'];++_0x56efc0)null!=_0x45732a[_0x29cbb2[_0x56efc0]]&&'__proto__'!==_0x29cbb2[_0x56efc0]&&(this[_0x29cbb2[_0x56efc0]]=_0x45732a[_0x29cbb2[_0x56efc0]]);}}return _0x328fe3['prototype']['range']=null,_0x328fe3['prototype']['key']='',_0x328fe3['prototype']['oldValueBoolean']=!0x1,_0x328fe3['prototype']['oldValueJson']='',_0x328fe3['prototype']['newValueBoolean']=!0x1,_0x328fe3['prototype']['newValueJson']='',_0x328fe3['prototype']['wasUndone']=!0x1,_0x328fe3['create']=function(_0x2c99bf){return new _0x328fe3(_0x2c99bf);},_0x328fe3['encode']=function(_0x2c986a,_0x3bf826){return _0x3bf826||(_0x3bf826=_0x3d8541['create']()),null!=_0x2c986a['range']&&Object['hasOwnProperty']['call'](_0x2c986a,'range')&&_0x560503['Range']['encode'](_0x2c986a['range'],_0x3bf826['uint32'](0xa)['fork']())['ldelim'](),null!=_0x2c986a['key']&&Object['hasOwnProperty']['call'](_0x2c986a,'key')&&_0x3bf826['uint32'](0x12)['string'](_0x2c986a['key']),null!=_0x2c986a['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x2c986a,'oldValueBoolean')&&_0x3bf826['uint32'](0x18)['bool'](_0x2c986a['oldValueBoolean']),null!=_0x2c986a['oldValueJson']&&Object['hasOwnProperty']['call'](_0x2c986a,'oldValueJson')&&_0x3bf826['uint32'](0x22)['string'](_0x2c986a['oldValueJson']),null!=_0x2c986a['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x2c986a,'newValueBoolean')&&_0x3bf826['uint32'](0x28)['bool'](_0x2c986a['newValueBoolean']),null!=_0x2c986a['newValueJson']&&Object['hasOwnProperty']['call'](_0x2c986a,'newValueJson')&&_0x3bf826['uint32'](0x32)['string'](_0x2c986a['newValueJson']),null!=_0x2c986a['wasUndone']&&Object['hasOwnProperty']['call'](_0x2c986a,'wasUndone')&&_0x3bf826['uint32'](0x38)['bool'](_0x2c986a['wasUndone']),_0x3bf826;},_0x328fe3['encodeDelimited']=function(_0x558703,_0x198cfc){return this['encode'](_0x558703,_0x198cfc)['ldelim']();},_0x328fe3['decode']=function(_0x6a4df,_0x322118,_0x4fea37,_0x1faa72){if(_0x6a4df instanceof _0x51b79d||(_0x6a4df=_0x51b79d['create'](_0x6a4df)),void 0x0===_0x1faa72&&(_0x1faa72=0x0),_0x1faa72>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3a476a=void 0x0===_0x322118?_0x6a4df['len']:_0x6a4df['pos']+_0x322118,_0x5452de=new _0x560503['AttributeOperation']();_0x6a4df['pos']<_0x3a476a;){var _0xa139d=_0x6a4df['uint32']();if(_0xa139d===_0x4fea37)break;switch(_0xa139d>>>0x3){case 0x1:_0x5452de['range']=_0x560503['Range']['decode'](_0x6a4df,_0x6a4df['uint32'](),void 0x0,_0x1faa72+0x1);break;case 0x2:_0x5452de['key']=_0x6a4df['string']();break;case 0x3:_0x5452de['oldValueBoolean']=_0x6a4df['bool']();break;case 0x4:_0x5452de['oldValueJson']=_0x6a4df['string']();break;case 0x5:_0x5452de['newValueBoolean']=_0x6a4df['bool']();break;case 0x6:_0x5452de['newValueJson']=_0x6a4df['string']();break;case 0x7:_0x5452de['wasUndone']=_0x6a4df['bool']();break;default:_0x6a4df['skipType'](0x7&_0xa139d,_0x1faa72);}}return _0x5452de;},_0x328fe3['decodeDelimited']=function(_0x29cad6){return _0x29cad6 instanceof _0x51b79d||(_0x29cad6=new _0x51b79d(_0x29cad6)),this['decode'](_0x29cad6,_0x29cad6['uint32']());},_0x328fe3['verify']=function(_0x33ff52,_0x33deea){if('object'!=typeof _0x33ff52||null===_0x33ff52)return'object\x20expected';if(void 0x0===_0x33deea&&(_0x33deea=0x0),_0x33deea>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x33ff52['range']&&_0x33ff52['hasOwnProperty']('range')){var _0x515825=_0x560503['Range']['verify'](_0x33ff52['range'],_0x33deea+0x1);if(_0x515825)return'range.'+_0x515825;}return null!=_0x33ff52['key']&&_0x33ff52['hasOwnProperty']('key')&&!_0x520d03['isString'](_0x33ff52['key'])?'key:\x20string\x20expected':null!=_0x33ff52['oldValueBoolean']&&_0x33ff52['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x33ff52['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x33ff52['oldValueJson']&&_0x33ff52['hasOwnProperty']('oldValueJson')&&!_0x520d03['isString'](_0x33ff52['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x33ff52['newValueBoolean']&&_0x33ff52['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x33ff52['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x33ff52['newValueJson']&&_0x33ff52['hasOwnProperty']('newValueJson')&&!_0x520d03['isString'](_0x33ff52['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x33ff52['wasUndone']&&_0x33ff52['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x33ff52['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x328fe3['fromObject']=function(_0x1cdeea,_0xa4888){if(_0x1cdeea instanceof _0x560503['AttributeOperation'])return _0x1cdeea;if(void 0x0===_0xa4888&&(_0xa4888=0x0),_0xa4888>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4f36ae=new _0x560503['AttributeOperation']();if(null!=_0x1cdeea['range']){if('object'!=typeof _0x1cdeea['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x4f36ae['range']=_0x560503['Range']['fromObject'](_0x1cdeea['range'],_0xa4888+0x1);}return null!=_0x1cdeea['key']&&(_0x4f36ae['key']=String(_0x1cdeea['key'])),null!=_0x1cdeea['oldValueBoolean']&&(_0x4f36ae['oldValueBoolean']=Boolean(_0x1cdeea['oldValueBoolean'])),null!=_0x1cdeea['oldValueJson']&&(_0x4f36ae['oldValueJson']=String(_0x1cdeea['oldValueJson'])),null!=_0x1cdeea['newValueBoolean']&&(_0x4f36ae['newValueBoolean']=Boolean(_0x1cdeea['newValueBoolean'])),null!=_0x1cdeea['newValueJson']&&(_0x4f36ae['newValueJson']=String(_0x1cdeea['newValueJson'])),null!=_0x1cdeea['wasUndone']&&(_0x4f36ae['wasUndone']=Boolean(_0x1cdeea['wasUndone'])),_0x4f36ae;},_0x328fe3['toObject']=function(_0x389896,_0x3be459){_0x3be459||(_0x3be459={});var _0x577e80={};return _0x3be459['defaults']&&(_0x577e80['range']=null,_0x577e80['key']='',_0x577e80['oldValueBoolean']=!0x1,_0x577e80['oldValueJson']='',_0x577e80['newValueBoolean']=!0x1,_0x577e80['newValueJson']='',_0x577e80['wasUndone']=!0x1),null!=_0x389896['range']&&_0x389896['hasOwnProperty']('range')&&(_0x577e80['range']=_0x560503['Range']['toObject'](_0x389896['range'],_0x3be459)),null!=_0x389896['key']&&_0x389896['hasOwnProperty']('key')&&(_0x577e80['key']=_0x389896['key']),null!=_0x389896['oldValueBoolean']&&_0x389896['hasOwnProperty']('oldValueBoolean')&&(_0x577e80['oldValueBoolean']=_0x389896['oldValueBoolean']),null!=_0x389896['oldValueJson']&&_0x389896['hasOwnProperty']('oldValueJson')&&(_0x577e80['oldValueJson']=_0x389896['oldValueJson']),null!=_0x389896['newValueBoolean']&&_0x389896['hasOwnProperty']('newValueBoolean')&&(_0x577e80['newValueBoolean']=_0x389896['newValueBoolean']),null!=_0x389896['newValueJson']&&_0x389896['hasOwnProperty']('newValueJson')&&(_0x577e80['newValueJson']=_0x389896['newValueJson']),null!=_0x389896['wasUndone']&&_0x389896['hasOwnProperty']('wasUndone')&&(_0x577e80['wasUndone']=_0x389896['wasUndone']),_0x577e80;},_0x328fe3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x328fe3['getTypeUrl']=function(_0x2f359c){return void 0x0===_0x2f359c&&(_0x2f359c='type.googleapis.com'),_0x2f359c+'/AttributeOperation';},_0x328fe3;}()),_0x560503['InsertOperation']=(function(){function _0xb1608d(_0x88785f){if(this['nodes']=[],_0x88785f){for(var _0x5ccaf1=Object['keys'](_0x88785f),_0x39ea2d=0x0;_0x39ea2d<_0x5ccaf1['length'];++_0x39ea2d)null!=_0x88785f[_0x5ccaf1[_0x39ea2d]]&&'__proto__'!==_0x5ccaf1[_0x39ea2d]&&(this[_0x5ccaf1[_0x39ea2d]]=_0x88785f[_0x5ccaf1[_0x39ea2d]]);}}return _0xb1608d['prototype']['position']=null,_0xb1608d['prototype']['nodes']=_0x520d03['emptyArray'],_0xb1608d['prototype']['shouldReceiveAttributes']=!0x1,_0xb1608d['prototype']['wasUndone']=!0x1,_0xb1608d['create']=function(_0x492990){return new _0xb1608d(_0x492990);},_0xb1608d['encode']=function(_0x56e3ff,_0x1b5cfa){if(_0x1b5cfa||(_0x1b5cfa=_0x3d8541['create']()),null!=_0x56e3ff['position']&&Object['hasOwnProperty']['call'](_0x56e3ff,'position')&&_0x560503['Position']['encode'](_0x56e3ff['position'],_0x1b5cfa['uint32'](0xa)['fork']())['ldelim'](),null!=_0x56e3ff['nodes']&&_0x56e3ff['nodes']['length']){for(var _0x396cc8=0x0;_0x396cc8<_0x56e3ff['nodes']['length'];++_0x396cc8)_0x560503['Element']['encode'](_0x56e3ff['nodes'][_0x396cc8],_0x1b5cfa['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x56e3ff['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x56e3ff,'shouldReceiveAttributes')&&_0x1b5cfa['uint32'](0x18)['bool'](_0x56e3ff['shouldReceiveAttributes']),null!=_0x56e3ff['wasUndone']&&Object['hasOwnProperty']['call'](_0x56e3ff,'wasUndone')&&_0x1b5cfa['uint32'](0x20)['bool'](_0x56e3ff['wasUndone']),_0x1b5cfa;},_0xb1608d['encodeDelimited']=function(_0x57a544,_0x12dca4){return this['encode'](_0x57a544,_0x12dca4)['ldelim']();},_0xb1608d['decode']=function(_0x41f971,_0x5dc396,_0x1e4ed6,_0x159342){if(_0x41f971 instanceof _0x51b79d||(_0x41f971=_0x51b79d['create'](_0x41f971)),void 0x0===_0x159342&&(_0x159342=0x0),_0x159342>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x334a24=void 0x0===_0x5dc396?_0x41f971['len']:_0x41f971['pos']+_0x5dc396,_0xa6dfe4=new _0x560503['InsertOperation']();_0x41f971['pos']<_0x334a24;){var _0x48b2f9=_0x41f971['uint32']();if(_0x48b2f9===_0x1e4ed6)break;switch(_0x48b2f9>>>0x3){case 0x1:_0xa6dfe4['position']=_0x560503['Position']['decode'](_0x41f971,_0x41f971['uint32'](),void 0x0,_0x159342+0x1);break;case 0x2:_0xa6dfe4['nodes']&&_0xa6dfe4['nodes']['length']||(_0xa6dfe4['nodes']=[]),_0xa6dfe4['nodes']['push'](_0x560503['Element']['decode'](_0x41f971,_0x41f971['uint32'](),void 0x0,_0x159342+0x1));break;case 0x3:_0xa6dfe4['shouldReceiveAttributes']=_0x41f971['bool']();break;case 0x4:_0xa6dfe4['wasUndone']=_0x41f971['bool']();break;default:_0x41f971['skipType'](0x7&_0x48b2f9,_0x159342);}}return _0xa6dfe4;},_0xb1608d['decodeDelimited']=function(_0x1f3f65){return _0x1f3f65 instanceof _0x51b79d||(_0x1f3f65=new _0x51b79d(_0x1f3f65)),this['decode'](_0x1f3f65,_0x1f3f65['uint32']());},_0xb1608d['verify']=function(_0xcd6f12,_0x2d164a){if('object'!=typeof _0xcd6f12||null===_0xcd6f12)return'object\x20expected';if(void 0x0===_0x2d164a&&(_0x2d164a=0x0),_0x2d164a>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xcd6f12['position']&&_0xcd6f12['hasOwnProperty']('position')&&(_0x45d390=_0x560503['Position']['verify'](_0xcd6f12['position'],_0x2d164a+0x1)))return'position.'+_0x45d390;if(null!=_0xcd6f12['nodes']&&_0xcd6f12['hasOwnProperty']('nodes')){if(!Array['isArray'](_0xcd6f12['nodes']))return'nodes:\x20array\x20expected';for(var _0x54f4c1=0x0;_0x54f4c1<_0xcd6f12['nodes']['length'];++_0x54f4c1){var _0x45d390;if(_0x45d390=_0x560503['Element']['verify'](_0xcd6f12['nodes'][_0x54f4c1],_0x2d164a+0x1))return'nodes.'+_0x45d390;}}return null!=_0xcd6f12['shouldReceiveAttributes']&&_0xcd6f12['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0xcd6f12['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0xcd6f12['wasUndone']&&_0xcd6f12['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xcd6f12['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0xb1608d['fromObject']=function(_0x59861e,_0xbd929c){if(_0x59861e instanceof _0x560503['InsertOperation'])return _0x59861e;if(void 0x0===_0xbd929c&&(_0xbd929c=0x0),_0xbd929c>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x52acbc=new _0x560503['InsertOperation']();if(null!=_0x59861e['position']){if('object'!=typeof _0x59861e['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x52acbc['position']=_0x560503['Position']['fromObject'](_0x59861e['position'],_0xbd929c+0x1);}if(_0x59861e['nodes']){if(!Array['isArray'](_0x59861e['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x52acbc['nodes']=[];for(var _0xa79d31=0x0;_0xa79d31<_0x59861e['nodes']['length'];++_0xa79d31){if('object'!=typeof _0x59861e['nodes'][_0xa79d31])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x52acbc['nodes'][_0xa79d31]=_0x560503['Element']['fromObject'](_0x59861e['nodes'][_0xa79d31],_0xbd929c+0x1);}}return null!=_0x59861e['shouldReceiveAttributes']&&(_0x52acbc['shouldReceiveAttributes']=Boolean(_0x59861e['shouldReceiveAttributes'])),null!=_0x59861e['wasUndone']&&(_0x52acbc['wasUndone']=Boolean(_0x59861e['wasUndone'])),_0x52acbc;},_0xb1608d['toObject']=function(_0x1ff214,_0x5d2cd6){_0x5d2cd6||(_0x5d2cd6={});var _0x153e77={};if((_0x5d2cd6['arrays']||_0x5d2cd6['defaults'])&&(_0x153e77['nodes']=[]),_0x5d2cd6['defaults']&&(_0x153e77['position']=null,_0x153e77['shouldReceiveAttributes']=!0x1,_0x153e77['wasUndone']=!0x1),null!=_0x1ff214['position']&&_0x1ff214['hasOwnProperty']('position')&&(_0x153e77['position']=_0x560503['Position']['toObject'](_0x1ff214['position'],_0x5d2cd6)),_0x1ff214['nodes']&&_0x1ff214['nodes']['length']){_0x153e77['nodes']=[];for(var _0x4a9aaa=0x0;_0x4a9aaa<_0x1ff214['nodes']['length'];++_0x4a9aaa)_0x153e77['nodes'][_0x4a9aaa]=_0x560503['Element']['toObject'](_0x1ff214['nodes'][_0x4a9aaa],_0x5d2cd6);}return null!=_0x1ff214['shouldReceiveAttributes']&&_0x1ff214['hasOwnProperty']('shouldReceiveAttributes')&&(_0x153e77['shouldReceiveAttributes']=_0x1ff214['shouldReceiveAttributes']),null!=_0x1ff214['wasUndone']&&_0x1ff214['hasOwnProperty']('wasUndone')&&(_0x153e77['wasUndone']=_0x1ff214['wasUndone']),_0x153e77;},_0xb1608d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0xb1608d['getTypeUrl']=function(_0x29225e){return void 0x0===_0x29225e&&(_0x29225e='type.googleapis.com'),_0x29225e+'/InsertOperation';},_0xb1608d;}()),_0x560503['MarkerOperation']=(function(){function _0x19dafc(_0x22761a){if(_0x22761a){for(var _0x5ea968=Object['keys'](_0x22761a),_0x3c1550=0x0;_0x3c1550<_0x5ea968['length'];++_0x3c1550)null!=_0x22761a[_0x5ea968[_0x3c1550]]&&'__proto__'!==_0x5ea968[_0x3c1550]&&(this[_0x5ea968[_0x3c1550]]=_0x22761a[_0x5ea968[_0x3c1550]]);}}return _0x19dafc['prototype']['name']='',_0x19dafc['prototype']['oldRange']=null,_0x19dafc['prototype']['newRange']=null,_0x19dafc['prototype']['affectsData']=!0x1,_0x19dafc['prototype']['wasUndone']=!0x1,_0x19dafc['create']=function(_0x190d22){return new _0x19dafc(_0x190d22);},_0x19dafc['encode']=function(_0x3a7f75,_0x5a637a){return _0x5a637a||(_0x5a637a=_0x3d8541['create']()),null!=_0x3a7f75['name']&&Object['hasOwnProperty']['call'](_0x3a7f75,'name')&&_0x5a637a['uint32'](0xa)['string'](_0x3a7f75['name']),null!=_0x3a7f75['oldRange']&&Object['hasOwnProperty']['call'](_0x3a7f75,'oldRange')&&_0x560503['Range']['encode'](_0x3a7f75['oldRange'],_0x5a637a['uint32'](0x12)['fork']())['ldelim'](),null!=_0x3a7f75['newRange']&&Object['hasOwnProperty']['call'](_0x3a7f75,'newRange')&&_0x560503['Range']['encode'](_0x3a7f75['newRange'],_0x5a637a['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3a7f75['affectsData']&&Object['hasOwnProperty']['call'](_0x3a7f75,'affectsData')&&_0x5a637a['uint32'](0x20)['bool'](_0x3a7f75['affectsData']),null!=_0x3a7f75['wasUndone']&&Object['hasOwnProperty']['call'](_0x3a7f75,'wasUndone')&&_0x5a637a['uint32'](0x28)['bool'](_0x3a7f75['wasUndone']),_0x5a637a;},_0x19dafc['encodeDelimited']=function(_0x573034,_0x112cd4){return this['encode'](_0x573034,_0x112cd4)['ldelim']();},_0x19dafc['decode']=function(_0xaf226a,_0x3f685a,_0x4c0ed0,_0x21a95a){if(_0xaf226a instanceof _0x51b79d||(_0xaf226a=_0x51b79d['create'](_0xaf226a)),void 0x0===_0x21a95a&&(_0x21a95a=0x0),_0x21a95a>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2a4484=void 0x0===_0x3f685a?_0xaf226a['len']:_0xaf226a['pos']+_0x3f685a,_0x227478=new _0x560503['MarkerOperation']();_0xaf226a['pos']<_0x2a4484;){var _0x585731=_0xaf226a['uint32']();if(_0x585731===_0x4c0ed0)break;switch(_0x585731>>>0x3){case 0x1:_0x227478['name']=_0xaf226a['string']();break;case 0x2:_0x227478['oldRange']=_0x560503['Range']['decode'](_0xaf226a,_0xaf226a['uint32'](),void 0x0,_0x21a95a+0x1);break;case 0x3:_0x227478['newRange']=_0x560503['Range']['decode'](_0xaf226a,_0xaf226a['uint32'](),void 0x0,_0x21a95a+0x1);break;case 0x4:_0x227478['affectsData']=_0xaf226a['bool']();break;case 0x5:_0x227478['wasUndone']=_0xaf226a['bool']();break;default:_0xaf226a['skipType'](0x7&_0x585731,_0x21a95a);}}return _0x227478;},_0x19dafc['decodeDelimited']=function(_0x5f10ad){return _0x5f10ad instanceof _0x51b79d||(_0x5f10ad=new _0x51b79d(_0x5f10ad)),this['decode'](_0x5f10ad,_0x5f10ad['uint32']());},_0x19dafc['verify']=function(_0x5472b9,_0x238fcd){if('object'!=typeof _0x5472b9||null===_0x5472b9)return'object\x20expected';if(void 0x0===_0x238fcd&&(_0x238fcd=0x0),_0x238fcd>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5472b9['name']&&_0x5472b9['hasOwnProperty']('name')&&!_0x520d03['isString'](_0x5472b9['name']))return'name:\x20string\x20expected';var _0x389e60;if(null!=_0x5472b9['oldRange']&&_0x5472b9['hasOwnProperty']('oldRange')&&(_0x389e60=_0x560503['Range']['verify'](_0x5472b9['oldRange'],_0x238fcd+0x1)))return'oldRange.'+_0x389e60;if(null!=_0x5472b9['newRange']&&_0x5472b9['hasOwnProperty']('newRange')&&(_0x389e60=_0x560503['Range']['verify'](_0x5472b9['newRange'],_0x238fcd+0x1)))return'newRange.'+_0x389e60;return null!=_0x5472b9['affectsData']&&_0x5472b9['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x5472b9['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x5472b9['wasUndone']&&_0x5472b9['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5472b9['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x19dafc['fromObject']=function(_0x4eeb0f,_0x4f3719){if(_0x4eeb0f instanceof _0x560503['MarkerOperation'])return _0x4eeb0f;if(void 0x0===_0x4f3719&&(_0x4f3719=0x0),_0x4f3719>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5833da=new _0x560503['MarkerOperation']();if(null!=_0x4eeb0f['name']&&(_0x5833da['name']=String(_0x4eeb0f['name'])),null!=_0x4eeb0f['oldRange']){if('object'!=typeof _0x4eeb0f['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x5833da['oldRange']=_0x560503['Range']['fromObject'](_0x4eeb0f['oldRange'],_0x4f3719+0x1);}if(null!=_0x4eeb0f['newRange']){if('object'!=typeof _0x4eeb0f['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x5833da['newRange']=_0x560503['Range']['fromObject'](_0x4eeb0f['newRange'],_0x4f3719+0x1);}return null!=_0x4eeb0f['affectsData']&&(_0x5833da['affectsData']=Boolean(_0x4eeb0f['affectsData'])),null!=_0x4eeb0f['wasUndone']&&(_0x5833da['wasUndone']=Boolean(_0x4eeb0f['wasUndone'])),_0x5833da;},_0x19dafc['toObject']=function(_0x36c055,_0x45e31e){_0x45e31e||(_0x45e31e={});var _0x571d7c={};return _0x45e31e['defaults']&&(_0x571d7c['name']='',_0x571d7c['oldRange']=null,_0x571d7c['newRange']=null,_0x571d7c['affectsData']=!0x1,_0x571d7c['wasUndone']=!0x1),null!=_0x36c055['name']&&_0x36c055['hasOwnProperty']('name')&&(_0x571d7c['name']=_0x36c055['name']),null!=_0x36c055['oldRange']&&_0x36c055['hasOwnProperty']('oldRange')&&(_0x571d7c['oldRange']=_0x560503['Range']['toObject'](_0x36c055['oldRange'],_0x45e31e)),null!=_0x36c055['newRange']&&_0x36c055['hasOwnProperty']('newRange')&&(_0x571d7c['newRange']=_0x560503['Range']['toObject'](_0x36c055['newRange'],_0x45e31e)),null!=_0x36c055['affectsData']&&_0x36c055['hasOwnProperty']('affectsData')&&(_0x571d7c['affectsData']=_0x36c055['affectsData']),null!=_0x36c055['wasUndone']&&_0x36c055['hasOwnProperty']('wasUndone')&&(_0x571d7c['wasUndone']=_0x36c055['wasUndone']),_0x571d7c;},_0x19dafc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x19dafc['getTypeUrl']=function(_0x4e7556){return void 0x0===_0x4e7556&&(_0x4e7556='type.googleapis.com'),_0x4e7556+'/MarkerOperation';},_0x19dafc;}()),_0x560503['MergeOperation']=(function(){function _0x5ae2a8(_0x67921c){if(_0x67921c){for(var _0x418d82=Object['keys'](_0x67921c),_0x44bcb7=0x0;_0x44bcb7<_0x418d82['length'];++_0x44bcb7)null!=_0x67921c[_0x418d82[_0x44bcb7]]&&'__proto__'!==_0x418d82[_0x44bcb7]&&(this[_0x418d82[_0x44bcb7]]=_0x67921c[_0x418d82[_0x44bcb7]]);}}return _0x5ae2a8['prototype']['sourcePosition']=null,_0x5ae2a8['prototype']['targetPosition']=null,_0x5ae2a8['prototype']['graveyardPosition']=null,_0x5ae2a8['prototype']['howMany']=0x0,_0x5ae2a8['prototype']['wasUndone']=!0x1,_0x5ae2a8['create']=function(_0x5256a4){return new _0x5ae2a8(_0x5256a4);},_0x5ae2a8['encode']=function(_0x4127fe,_0x3feac4){return _0x3feac4||(_0x3feac4=_0x3d8541['create']()),null!=_0x4127fe['sourcePosition']&&Object['hasOwnProperty']['call'](_0x4127fe,'sourcePosition')&&_0x560503['Position']['encode'](_0x4127fe['sourcePosition'],_0x3feac4['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4127fe['targetPosition']&&Object['hasOwnProperty']['call'](_0x4127fe,'targetPosition')&&_0x560503['Position']['encode'](_0x4127fe['targetPosition'],_0x3feac4['uint32'](0x12)['fork']())['ldelim'](),null!=_0x4127fe['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x4127fe,'graveyardPosition')&&_0x560503['Position']['encode'](_0x4127fe['graveyardPosition'],_0x3feac4['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x4127fe['howMany']&&Object['hasOwnProperty']['call'](_0x4127fe,'howMany')&&_0x3feac4['uint32'](0x20)['uint32'](_0x4127fe['howMany']),null!=_0x4127fe['wasUndone']&&Object['hasOwnProperty']['call'](_0x4127fe,'wasUndone')&&_0x3feac4['uint32'](0x28)['bool'](_0x4127fe['wasUndone']),_0x3feac4;},_0x5ae2a8['encodeDelimited']=function(_0x43c981,_0x1076da){return this['encode'](_0x43c981,_0x1076da)['ldelim']();},_0x5ae2a8['decode']=function(_0x36b4df,_0x5211a4,_0x3e4174,_0x2a44b8){if(_0x36b4df instanceof _0x51b79d||(_0x36b4df=_0x51b79d['create'](_0x36b4df)),void 0x0===_0x2a44b8&&(_0x2a44b8=0x0),_0x2a44b8>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x59901c=void 0x0===_0x5211a4?_0x36b4df['len']:_0x36b4df['pos']+_0x5211a4,_0x51f7e4=new _0x560503['MergeOperation']();_0x36b4df['pos']<_0x59901c;){var _0x3e472f=_0x36b4df['uint32']();if(_0x3e472f===_0x3e4174)break;switch(_0x3e472f>>>0x3){case 0x1:_0x51f7e4['sourcePosition']=_0x560503['Position']['decode'](_0x36b4df,_0x36b4df['uint32'](),void 0x0,_0x2a44b8+0x1);break;case 0x2:_0x51f7e4['targetPosition']=_0x560503['Position']['decode'](_0x36b4df,_0x36b4df['uint32'](),void 0x0,_0x2a44b8+0x1);break;case 0x3:_0x51f7e4['graveyardPosition']=_0x560503['Position']['decode'](_0x36b4df,_0x36b4df['uint32'](),void 0x0,_0x2a44b8+0x1);break;case 0x4:_0x51f7e4['howMany']=_0x36b4df['uint32']();break;case 0x5:_0x51f7e4['wasUndone']=_0x36b4df['bool']();break;default:_0x36b4df['skipType'](0x7&_0x3e472f,_0x2a44b8);}}return _0x51f7e4;},_0x5ae2a8['decodeDelimited']=function(_0x13f2d1){return _0x13f2d1 instanceof _0x51b79d||(_0x13f2d1=new _0x51b79d(_0x13f2d1)),this['decode'](_0x13f2d1,_0x13f2d1['uint32']());},_0x5ae2a8['verify']=function(_0x1280e0,_0x5595c3){if('object'!=typeof _0x1280e0||null===_0x1280e0)return'object\x20expected';if(void 0x0===_0x5595c3&&(_0x5595c3=0x0),_0x5595c3>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x20e4e4;if(null!=_0x1280e0['sourcePosition']&&_0x1280e0['hasOwnProperty']('sourcePosition')&&(_0x20e4e4=_0x560503['Position']['verify'](_0x1280e0['sourcePosition'],_0x5595c3+0x1)))return'sourcePosition.'+_0x20e4e4;if(null!=_0x1280e0['targetPosition']&&_0x1280e0['hasOwnProperty']('targetPosition')&&(_0x20e4e4=_0x560503['Position']['verify'](_0x1280e0['targetPosition'],_0x5595c3+0x1)))return'targetPosition.'+_0x20e4e4;if(null!=_0x1280e0['graveyardPosition']&&_0x1280e0['hasOwnProperty']('graveyardPosition')&&(_0x20e4e4=_0x560503['Position']['verify'](_0x1280e0['graveyardPosition'],_0x5595c3+0x1)))return'graveyardPosition.'+_0x20e4e4;return null!=_0x1280e0['howMany']&&_0x1280e0['hasOwnProperty']('howMany')&&!_0x520d03['isInteger'](_0x1280e0['howMany'])?'howMany:\x20integer\x20expected':null!=_0x1280e0['wasUndone']&&_0x1280e0['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1280e0['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x5ae2a8['fromObject']=function(_0xf96280,_0x38c9a0){if(_0xf96280 instanceof _0x560503['MergeOperation'])return _0xf96280;if(void 0x0===_0x38c9a0&&(_0x38c9a0=0x0),_0x38c9a0>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4673b3=new _0x560503['MergeOperation']();if(null!=_0xf96280['sourcePosition']){if('object'!=typeof _0xf96280['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x4673b3['sourcePosition']=_0x560503['Position']['fromObject'](_0xf96280['sourcePosition'],_0x38c9a0+0x1);}if(null!=_0xf96280['targetPosition']){if('object'!=typeof _0xf96280['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x4673b3['targetPosition']=_0x560503['Position']['fromObject'](_0xf96280['targetPosition'],_0x38c9a0+0x1);}if(null!=_0xf96280['graveyardPosition']){if('object'!=typeof _0xf96280['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x4673b3['graveyardPosition']=_0x560503['Position']['fromObject'](_0xf96280['graveyardPosition'],_0x38c9a0+0x1);}return null!=_0xf96280['howMany']&&(_0x4673b3['howMany']=_0xf96280['howMany']>>>0x0),null!=_0xf96280['wasUndone']&&(_0x4673b3['wasUndone']=Boolean(_0xf96280['wasUndone'])),_0x4673b3;},_0x5ae2a8['toObject']=function(_0x2ef2ef,_0x4c5191){_0x4c5191||(_0x4c5191={});var _0x3fdaa6={};return _0x4c5191['defaults']&&(_0x3fdaa6['sourcePosition']=null,_0x3fdaa6['targetPosition']=null,_0x3fdaa6['graveyardPosition']=null,_0x3fdaa6['howMany']=0x0,_0x3fdaa6['wasUndone']=!0x1),null!=_0x2ef2ef['sourcePosition']&&_0x2ef2ef['hasOwnProperty']('sourcePosition')&&(_0x3fdaa6['sourcePosition']=_0x560503['Position']['toObject'](_0x2ef2ef['sourcePosition'],_0x4c5191)),null!=_0x2ef2ef['targetPosition']&&_0x2ef2ef['hasOwnProperty']('targetPosition')&&(_0x3fdaa6['targetPosition']=_0x560503['Position']['toObject'](_0x2ef2ef['targetPosition'],_0x4c5191)),null!=_0x2ef2ef['graveyardPosition']&&_0x2ef2ef['hasOwnProperty']('graveyardPosition')&&(_0x3fdaa6['graveyardPosition']=_0x560503['Position']['toObject'](_0x2ef2ef['graveyardPosition'],_0x4c5191)),null!=_0x2ef2ef['howMany']&&_0x2ef2ef['hasOwnProperty']('howMany')&&(_0x3fdaa6['howMany']=_0x2ef2ef['howMany']),null!=_0x2ef2ef['wasUndone']&&_0x2ef2ef['hasOwnProperty']('wasUndone')&&(_0x3fdaa6['wasUndone']=_0x2ef2ef['wasUndone']),_0x3fdaa6;},_0x5ae2a8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5ae2a8['getTypeUrl']=function(_0x2bc6ea){return void 0x0===_0x2bc6ea&&(_0x2bc6ea='type.googleapis.com'),_0x2bc6ea+'/MergeOperation';},_0x5ae2a8;}()),_0x560503['MoveOperation']=(function(){function _0x59456f(_0x8f57ef){if(_0x8f57ef){for(var _0x1244f3=Object['keys'](_0x8f57ef),_0x2e9041=0x0;_0x2e9041<_0x1244f3['length'];++_0x2e9041)null!=_0x8f57ef[_0x1244f3[_0x2e9041]]&&'__proto__'!==_0x1244f3[_0x2e9041]&&(this[_0x1244f3[_0x2e9041]]=_0x8f57ef[_0x1244f3[_0x2e9041]]);}}return _0x59456f['prototype']['sourcePosition']=null,_0x59456f['prototype']['howMany']=0x0,_0x59456f['prototype']['targetPosition']=null,_0x59456f['prototype']['wasUndone']=!0x1,_0x59456f['create']=function(_0x21ba6e){return new _0x59456f(_0x21ba6e);},_0x59456f['encode']=function(_0x1b8925,_0x128a7a){return _0x128a7a||(_0x128a7a=_0x3d8541['create']()),null!=_0x1b8925['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1b8925,'sourcePosition')&&_0x560503['Position']['encode'](_0x1b8925['sourcePosition'],_0x128a7a['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1b8925['howMany']&&Object['hasOwnProperty']['call'](_0x1b8925,'howMany')&&_0x128a7a['uint32'](0x10)['uint32'](_0x1b8925['howMany']),null!=_0x1b8925['targetPosition']&&Object['hasOwnProperty']['call'](_0x1b8925,'targetPosition')&&_0x560503['Position']['encode'](_0x1b8925['targetPosition'],_0x128a7a['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1b8925['wasUndone']&&Object['hasOwnProperty']['call'](_0x1b8925,'wasUndone')&&_0x128a7a['uint32'](0x20)['bool'](_0x1b8925['wasUndone']),_0x128a7a;},_0x59456f['encodeDelimited']=function(_0x5a0e78,_0x5c2efc){return this['encode'](_0x5a0e78,_0x5c2efc)['ldelim']();},_0x59456f['decode']=function(_0x4985ae,_0x3705b9,_0x30c9ce,_0x2c2c08){if(_0x4985ae instanceof _0x51b79d||(_0x4985ae=_0x51b79d['create'](_0x4985ae)),void 0x0===_0x2c2c08&&(_0x2c2c08=0x0),_0x2c2c08>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x20231d=void 0x0===_0x3705b9?_0x4985ae['len']:_0x4985ae['pos']+_0x3705b9,_0xdf8c2a=new _0x560503['MoveOperation']();_0x4985ae['pos']<_0x20231d;){var _0x1bb73e=_0x4985ae['uint32']();if(_0x1bb73e===_0x30c9ce)break;switch(_0x1bb73e>>>0x3){case 0x1:_0xdf8c2a['sourcePosition']=_0x560503['Position']['decode'](_0x4985ae,_0x4985ae['uint32'](),void 0x0,_0x2c2c08+0x1);break;case 0x2:_0xdf8c2a['howMany']=_0x4985ae['uint32']();break;case 0x3:_0xdf8c2a['targetPosition']=_0x560503['Position']['decode'](_0x4985ae,_0x4985ae['uint32'](),void 0x0,_0x2c2c08+0x1);break;case 0x4:_0xdf8c2a['wasUndone']=_0x4985ae['bool']();break;default:_0x4985ae['skipType'](0x7&_0x1bb73e,_0x2c2c08);}}return _0xdf8c2a;},_0x59456f['decodeDelimited']=function(_0x4c3f42){return _0x4c3f42 instanceof _0x51b79d||(_0x4c3f42=new _0x51b79d(_0x4c3f42)),this['decode'](_0x4c3f42,_0x4c3f42['uint32']());},_0x59456f['verify']=function(_0x217f41,_0x239397){if('object'!=typeof _0x217f41||null===_0x217f41)return'object\x20expected';if(void 0x0===_0x239397&&(_0x239397=0x0),_0x239397>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x20cb38;if(null!=_0x217f41['sourcePosition']&&_0x217f41['hasOwnProperty']('sourcePosition')&&(_0x20cb38=_0x560503['Position']['verify'](_0x217f41['sourcePosition'],_0x239397+0x1)))return'sourcePosition.'+_0x20cb38;if(null!=_0x217f41['howMany']&&_0x217f41['hasOwnProperty']('howMany')&&!_0x520d03['isInteger'](_0x217f41['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x217f41['targetPosition']&&_0x217f41['hasOwnProperty']('targetPosition')&&(_0x20cb38=_0x560503['Position']['verify'](_0x217f41['targetPosition'],_0x239397+0x1)))return'targetPosition.'+_0x20cb38;return null!=_0x217f41['wasUndone']&&_0x217f41['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x217f41['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x59456f['fromObject']=function(_0xcef744,_0x2dd969){if(_0xcef744 instanceof _0x560503['MoveOperation'])return _0xcef744;if(void 0x0===_0x2dd969&&(_0x2dd969=0x0),_0x2dd969>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x44e988=new _0x560503['MoveOperation']();if(null!=_0xcef744['sourcePosition']){if('object'!=typeof _0xcef744['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x44e988['sourcePosition']=_0x560503['Position']['fromObject'](_0xcef744['sourcePosition'],_0x2dd969+0x1);}if(null!=_0xcef744['howMany']&&(_0x44e988['howMany']=_0xcef744['howMany']>>>0x0),null!=_0xcef744['targetPosition']){if('object'!=typeof _0xcef744['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x44e988['targetPosition']=_0x560503['Position']['fromObject'](_0xcef744['targetPosition'],_0x2dd969+0x1);}return null!=_0xcef744['wasUndone']&&(_0x44e988['wasUndone']=Boolean(_0xcef744['wasUndone'])),_0x44e988;},_0x59456f['toObject']=function(_0x489e6b,_0x12f477){_0x12f477||(_0x12f477={});var _0x22dc4c={};return _0x12f477['defaults']&&(_0x22dc4c['sourcePosition']=null,_0x22dc4c['howMany']=0x0,_0x22dc4c['targetPosition']=null,_0x22dc4c['wasUndone']=!0x1),null!=_0x489e6b['sourcePosition']&&_0x489e6b['hasOwnProperty']('sourcePosition')&&(_0x22dc4c['sourcePosition']=_0x560503['Position']['toObject'](_0x489e6b['sourcePosition'],_0x12f477)),null!=_0x489e6b['howMany']&&_0x489e6b['hasOwnProperty']('howMany')&&(_0x22dc4c['howMany']=_0x489e6b['howMany']),null!=_0x489e6b['targetPosition']&&_0x489e6b['hasOwnProperty']('targetPosition')&&(_0x22dc4c['targetPosition']=_0x560503['Position']['toObject'](_0x489e6b['targetPosition'],_0x12f477)),null!=_0x489e6b['wasUndone']&&_0x489e6b['hasOwnProperty']('wasUndone')&&(_0x22dc4c['wasUndone']=_0x489e6b['wasUndone']),_0x22dc4c;},_0x59456f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x59456f['getTypeUrl']=function(_0x170f88){return void 0x0===_0x170f88&&(_0x170f88='type.googleapis.com'),_0x170f88+'/MoveOperation';},_0x59456f;}()),_0x560503['RenameOperation']=(function(){function _0x552026(_0x386779){if(_0x386779){for(var _0xbb95b0=Object['keys'](_0x386779),_0x5fdcbd=0x0;_0x5fdcbd<_0xbb95b0['length'];++_0x5fdcbd)null!=_0x386779[_0xbb95b0[_0x5fdcbd]]&&'__proto__'!==_0xbb95b0[_0x5fdcbd]&&(this[_0xbb95b0[_0x5fdcbd]]=_0x386779[_0xbb95b0[_0x5fdcbd]]);}}return _0x552026['prototype']['position']=null,_0x552026['prototype']['oldName']='',_0x552026['prototype']['newName']='',_0x552026['prototype']['wasUndone']=!0x1,_0x552026['create']=function(_0x34bc25){return new _0x552026(_0x34bc25);},_0x552026['encode']=function(_0x13390f,_0xfc0dc){return _0xfc0dc||(_0xfc0dc=_0x3d8541['create']()),null!=_0x13390f['position']&&Object['hasOwnProperty']['call'](_0x13390f,'position')&&_0x560503['Position']['encode'](_0x13390f['position'],_0xfc0dc['uint32'](0xa)['fork']())['ldelim'](),null!=_0x13390f['oldName']&&Object['hasOwnProperty']['call'](_0x13390f,'oldName')&&_0xfc0dc['uint32'](0x12)['string'](_0x13390f['oldName']),null!=_0x13390f['newName']&&Object['hasOwnProperty']['call'](_0x13390f,'newName')&&_0xfc0dc['uint32'](0x1a)['string'](_0x13390f['newName']),null!=_0x13390f['wasUndone']&&Object['hasOwnProperty']['call'](_0x13390f,'wasUndone')&&_0xfc0dc['uint32'](0x20)['bool'](_0x13390f['wasUndone']),_0xfc0dc;},_0x552026['encodeDelimited']=function(_0x5c6d1a,_0x474d85){return this['encode'](_0x5c6d1a,_0x474d85)['ldelim']();},_0x552026['decode']=function(_0x2a1889,_0x5d6916,_0x597914,_0x49f392){if(_0x2a1889 instanceof _0x51b79d||(_0x2a1889=_0x51b79d['create'](_0x2a1889)),void 0x0===_0x49f392&&(_0x49f392=0x0),_0x49f392>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x28eab3=void 0x0===_0x5d6916?_0x2a1889['len']:_0x2a1889['pos']+_0x5d6916,_0x1a22d7=new _0x560503['RenameOperation']();_0x2a1889['pos']<_0x28eab3;){var _0x701910=_0x2a1889['uint32']();if(_0x701910===_0x597914)break;switch(_0x701910>>>0x3){case 0x1:_0x1a22d7['position']=_0x560503['Position']['decode'](_0x2a1889,_0x2a1889['uint32'](),void 0x0,_0x49f392+0x1);break;case 0x2:_0x1a22d7['oldName']=_0x2a1889['string']();break;case 0x3:_0x1a22d7['newName']=_0x2a1889['string']();break;case 0x4:_0x1a22d7['wasUndone']=_0x2a1889['bool']();break;default:_0x2a1889['skipType'](0x7&_0x701910,_0x49f392);}}return _0x1a22d7;},_0x552026['decodeDelimited']=function(_0x29d1e1){return _0x29d1e1 instanceof _0x51b79d||(_0x29d1e1=new _0x51b79d(_0x29d1e1)),this['decode'](_0x29d1e1,_0x29d1e1['uint32']());},_0x552026['verify']=function(_0x49d58d,_0x4993ab){if('object'!=typeof _0x49d58d||null===_0x49d58d)return'object\x20expected';if(void 0x0===_0x4993ab&&(_0x4993ab=0x0),_0x4993ab>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x49d58d['position']&&_0x49d58d['hasOwnProperty']('position')){var _0xd48e3a=_0x560503['Position']['verify'](_0x49d58d['position'],_0x4993ab+0x1);if(_0xd48e3a)return'position.'+_0xd48e3a;}return null!=_0x49d58d['oldName']&&_0x49d58d['hasOwnProperty']('oldName')&&!_0x520d03['isString'](_0x49d58d['oldName'])?'oldName:\x20string\x20expected':null!=_0x49d58d['newName']&&_0x49d58d['hasOwnProperty']('newName')&&!_0x520d03['isString'](_0x49d58d['newName'])?'newName:\x20string\x20expected':null!=_0x49d58d['wasUndone']&&_0x49d58d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x49d58d['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x552026['fromObject']=function(_0x2f9686,_0x5205cd){if(_0x2f9686 instanceof _0x560503['RenameOperation'])return _0x2f9686;if(void 0x0===_0x5205cd&&(_0x5205cd=0x0),_0x5205cd>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1ce95f=new _0x560503['RenameOperation']();if(null!=_0x2f9686['position']){if('object'!=typeof _0x2f9686['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x1ce95f['position']=_0x560503['Position']['fromObject'](_0x2f9686['position'],_0x5205cd+0x1);}return null!=_0x2f9686['oldName']&&(_0x1ce95f['oldName']=String(_0x2f9686['oldName'])),null!=_0x2f9686['newName']&&(_0x1ce95f['newName']=String(_0x2f9686['newName'])),null!=_0x2f9686['wasUndone']&&(_0x1ce95f['wasUndone']=Boolean(_0x2f9686['wasUndone'])),_0x1ce95f;},_0x552026['toObject']=function(_0x5b77ab,_0x1559e9){_0x1559e9||(_0x1559e9={});var _0x282354={};return _0x1559e9['defaults']&&(_0x282354['position']=null,_0x282354['oldName']='',_0x282354['newName']='',_0x282354['wasUndone']=!0x1),null!=_0x5b77ab['position']&&_0x5b77ab['hasOwnProperty']('position')&&(_0x282354['position']=_0x560503['Position']['toObject'](_0x5b77ab['position'],_0x1559e9)),null!=_0x5b77ab['oldName']&&_0x5b77ab['hasOwnProperty']('oldName')&&(_0x282354['oldName']=_0x5b77ab['oldName']),null!=_0x5b77ab['newName']&&_0x5b77ab['hasOwnProperty']('newName')&&(_0x282354['newName']=_0x5b77ab['newName']),null!=_0x5b77ab['wasUndone']&&_0x5b77ab['hasOwnProperty']('wasUndone')&&(_0x282354['wasUndone']=_0x5b77ab['wasUndone']),_0x282354;},_0x552026['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x552026['getTypeUrl']=function(_0x1ff407){return void 0x0===_0x1ff407&&(_0x1ff407='type.googleapis.com'),_0x1ff407+'/RenameOperation';},_0x552026;}()),_0x560503['RootAttributeOperation']=(function(){function _0x52a4a9(_0x8d4c3f){if(_0x8d4c3f){for(var _0x44ad96=Object['keys'](_0x8d4c3f),_0x62d831=0x0;_0x62d831<_0x44ad96['length'];++_0x62d831)null!=_0x8d4c3f[_0x44ad96[_0x62d831]]&&'__proto__'!==_0x44ad96[_0x62d831]&&(this[_0x44ad96[_0x62d831]]=_0x8d4c3f[_0x44ad96[_0x62d831]]);}}return _0x52a4a9['prototype']['root']='',_0x52a4a9['prototype']['key']='',_0x52a4a9['prototype']['oldValueBoolean']=!0x1,_0x52a4a9['prototype']['oldValueJson']='',_0x52a4a9['prototype']['newValueBoolean']=!0x1,_0x52a4a9['prototype']['newValueJson']='',_0x52a4a9['prototype']['wasUndone']=!0x1,_0x52a4a9['create']=function(_0xd7aa54){return new _0x52a4a9(_0xd7aa54);},_0x52a4a9['encode']=function(_0x4ba03e,_0x161550){return _0x161550||(_0x161550=_0x3d8541['create']()),null!=_0x4ba03e['root']&&Object['hasOwnProperty']['call'](_0x4ba03e,'root')&&_0x161550['uint32'](0xa)['string'](_0x4ba03e['root']),null!=_0x4ba03e['key']&&Object['hasOwnProperty']['call'](_0x4ba03e,'key')&&_0x161550['uint32'](0x12)['string'](_0x4ba03e['key']),null!=_0x4ba03e['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x4ba03e,'oldValueBoolean')&&_0x161550['uint32'](0x18)['bool'](_0x4ba03e['oldValueBoolean']),null!=_0x4ba03e['oldValueJson']&&Object['hasOwnProperty']['call'](_0x4ba03e,'oldValueJson')&&_0x161550['uint32'](0x22)['string'](_0x4ba03e['oldValueJson']),null!=_0x4ba03e['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x4ba03e,'newValueBoolean')&&_0x161550['uint32'](0x28)['bool'](_0x4ba03e['newValueBoolean']),null!=_0x4ba03e['newValueJson']&&Object['hasOwnProperty']['call'](_0x4ba03e,'newValueJson')&&_0x161550['uint32'](0x32)['string'](_0x4ba03e['newValueJson']),null!=_0x4ba03e['wasUndone']&&Object['hasOwnProperty']['call'](_0x4ba03e,'wasUndone')&&_0x161550['uint32'](0x38)['bool'](_0x4ba03e['wasUndone']),_0x161550;},_0x52a4a9['encodeDelimited']=function(_0x241bf2,_0x12477d){return this['encode'](_0x241bf2,_0x12477d)['ldelim']();},_0x52a4a9['decode']=function(_0x3af56b,_0x1a70d2,_0x40e9e5,_0x1e00a8){if(_0x3af56b instanceof _0x51b79d||(_0x3af56b=_0x51b79d['create'](_0x3af56b)),void 0x0===_0x1e00a8&&(_0x1e00a8=0x0),_0x1e00a8>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b0db9=void 0x0===_0x1a70d2?_0x3af56b['len']:_0x3af56b['pos']+_0x1a70d2,_0x2fd079=new _0x560503['RootAttributeOperation']();_0x3af56b['pos']<_0x2b0db9;){var _0x2e6a49=_0x3af56b['uint32']();if(_0x2e6a49===_0x40e9e5)break;switch(_0x2e6a49>>>0x3){case 0x1:_0x2fd079['root']=_0x3af56b['string']();break;case 0x2:_0x2fd079['key']=_0x3af56b['string']();break;case 0x3:_0x2fd079['oldValueBoolean']=_0x3af56b['bool']();break;case 0x4:_0x2fd079['oldValueJson']=_0x3af56b['string']();break;case 0x5:_0x2fd079['newValueBoolean']=_0x3af56b['bool']();break;case 0x6:_0x2fd079['newValueJson']=_0x3af56b['string']();break;case 0x7:_0x2fd079['wasUndone']=_0x3af56b['bool']();break;default:_0x3af56b['skipType'](0x7&_0x2e6a49,_0x1e00a8);}}return _0x2fd079;},_0x52a4a9['decodeDelimited']=function(_0x3a5cc8){return _0x3a5cc8 instanceof _0x51b79d||(_0x3a5cc8=new _0x51b79d(_0x3a5cc8)),this['decode'](_0x3a5cc8,_0x3a5cc8['uint32']());},_0x52a4a9['verify']=function(_0x385120,_0x3d00f5){return'object'!=typeof _0x385120||null===_0x385120?'object\x20expected':(void 0x0===_0x3d00f5&&(_0x3d00f5=0x0),_0x3d00f5>_0x520d03['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x385120['root']&&_0x385120['hasOwnProperty']('root')&&!_0x520d03['isString'](_0x385120['root'])?'root:\x20string\x20expected':null!=_0x385120['key']&&_0x385120['hasOwnProperty']('key')&&!_0x520d03['isString'](_0x385120['key'])?'key:\x20string\x20expected':null!=_0x385120['oldValueBoolean']&&_0x385120['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x385120['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x385120['oldValueJson']&&_0x385120['hasOwnProperty']('oldValueJson')&&!_0x520d03['isString'](_0x385120['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x385120['newValueBoolean']&&_0x385120['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x385120['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x385120['newValueJson']&&_0x385120['hasOwnProperty']('newValueJson')&&!_0x520d03['isString'](_0x385120['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x385120['wasUndone']&&_0x385120['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x385120['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x52a4a9['fromObject']=function(_0x5e1e0f,_0x50b7a2){if(_0x5e1e0f instanceof _0x560503['RootAttributeOperation'])return _0x5e1e0f;if(void 0x0===_0x50b7a2&&(_0x50b7a2=0x0),_0x50b7a2>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x226532=new _0x560503['RootAttributeOperation']();return null!=_0x5e1e0f['root']&&(_0x226532['root']=String(_0x5e1e0f['root'])),null!=_0x5e1e0f['key']&&(_0x226532['key']=String(_0x5e1e0f['key'])),null!=_0x5e1e0f['oldValueBoolean']&&(_0x226532['oldValueBoolean']=Boolean(_0x5e1e0f['oldValueBoolean'])),null!=_0x5e1e0f['oldValueJson']&&(_0x226532['oldValueJson']=String(_0x5e1e0f['oldValueJson'])),null!=_0x5e1e0f['newValueBoolean']&&(_0x226532['newValueBoolean']=Boolean(_0x5e1e0f['newValueBoolean'])),null!=_0x5e1e0f['newValueJson']&&(_0x226532['newValueJson']=String(_0x5e1e0f['newValueJson'])),null!=_0x5e1e0f['wasUndone']&&(_0x226532['wasUndone']=Boolean(_0x5e1e0f['wasUndone'])),_0x226532;},_0x52a4a9['toObject']=function(_0x1ac711,_0xfbcbbf){_0xfbcbbf||(_0xfbcbbf={});var _0x22a494={};return _0xfbcbbf['defaults']&&(_0x22a494['root']='',_0x22a494['key']='',_0x22a494['oldValueBoolean']=!0x1,_0x22a494['oldValueJson']='',_0x22a494['newValueBoolean']=!0x1,_0x22a494['newValueJson']='',_0x22a494['wasUndone']=!0x1),null!=_0x1ac711['root']&&_0x1ac711['hasOwnProperty']('root')&&(_0x22a494['root']=_0x1ac711['root']),null!=_0x1ac711['key']&&_0x1ac711['hasOwnProperty']('key')&&(_0x22a494['key']=_0x1ac711['key']),null!=_0x1ac711['oldValueBoolean']&&_0x1ac711['hasOwnProperty']('oldValueBoolean')&&(_0x22a494['oldValueBoolean']=_0x1ac711['oldValueBoolean']),null!=_0x1ac711['oldValueJson']&&_0x1ac711['hasOwnProperty']('oldValueJson')&&(_0x22a494['oldValueJson']=_0x1ac711['oldValueJson']),null!=_0x1ac711['newValueBoolean']&&_0x1ac711['hasOwnProperty']('newValueBoolean')&&(_0x22a494['newValueBoolean']=_0x1ac711['newValueBoolean']),null!=_0x1ac711['newValueJson']&&_0x1ac711['hasOwnProperty']('newValueJson')&&(_0x22a494['newValueJson']=_0x1ac711['newValueJson']),null!=_0x1ac711['wasUndone']&&_0x1ac711['hasOwnProperty']('wasUndone')&&(_0x22a494['wasUndone']=_0x1ac711['wasUndone']),_0x22a494;},_0x52a4a9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x52a4a9['getTypeUrl']=function(_0x2954e1){return void 0x0===_0x2954e1&&(_0x2954e1='type.googleapis.com'),_0x2954e1+'/RootAttributeOperation';},_0x52a4a9;}()),_0x560503['RootOperation']=(function(){function _0x204e7b(_0x483511){if(_0x483511){for(var _0x17da91=Object['keys'](_0x483511),_0x2d0136=0x0;_0x2d0136<_0x17da91['length'];++_0x2d0136)null!=_0x483511[_0x17da91[_0x2d0136]]&&'__proto__'!==_0x17da91[_0x2d0136]&&(this[_0x17da91[_0x2d0136]]=_0x483511[_0x17da91[_0x2d0136]]);}}return _0x204e7b['prototype']['rootName']='',_0x204e7b['prototype']['elementName']='',_0x204e7b['prototype']['isAdd']=!0x1,_0x204e7b['prototype']['wasUndone']=!0x1,_0x204e7b['create']=function(_0x36b61a){return new _0x204e7b(_0x36b61a);},_0x204e7b['encode']=function(_0x4fb7ce,_0x35eb15){return _0x35eb15||(_0x35eb15=_0x3d8541['create']()),null!=_0x4fb7ce['rootName']&&Object['hasOwnProperty']['call'](_0x4fb7ce,'rootName')&&_0x35eb15['uint32'](0xa)['string'](_0x4fb7ce['rootName']),null!=_0x4fb7ce['elementName']&&Object['hasOwnProperty']['call'](_0x4fb7ce,'elementName')&&_0x35eb15['uint32'](0x12)['string'](_0x4fb7ce['elementName']),null!=_0x4fb7ce['isAdd']&&Object['hasOwnProperty']['call'](_0x4fb7ce,'isAdd')&&_0x35eb15['uint32'](0x18)['bool'](_0x4fb7ce['isAdd']),null!=_0x4fb7ce['wasUndone']&&Object['hasOwnProperty']['call'](_0x4fb7ce,'wasUndone')&&_0x35eb15['uint32'](0x20)['bool'](_0x4fb7ce['wasUndone']),_0x35eb15;},_0x204e7b['encodeDelimited']=function(_0x1f0d3d,_0x47d8db){return this['encode'](_0x1f0d3d,_0x47d8db)['ldelim']();},_0x204e7b['decode']=function(_0x1c0a81,_0x34c850,_0x1ce45d,_0x987e19){if(_0x1c0a81 instanceof _0x51b79d||(_0x1c0a81=_0x51b79d['create'](_0x1c0a81)),void 0x0===_0x987e19&&(_0x987e19=0x0),_0x987e19>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x31828b=void 0x0===_0x34c850?_0x1c0a81['len']:_0x1c0a81['pos']+_0x34c850,_0x17f7b4=new _0x560503['RootOperation']();_0x1c0a81['pos']<_0x31828b;){var _0x12143b=_0x1c0a81['uint32']();if(_0x12143b===_0x1ce45d)break;switch(_0x12143b>>>0x3){case 0x1:_0x17f7b4['rootName']=_0x1c0a81['string']();break;case 0x2:_0x17f7b4['elementName']=_0x1c0a81['string']();break;case 0x3:_0x17f7b4['isAdd']=_0x1c0a81['bool']();break;case 0x4:_0x17f7b4['wasUndone']=_0x1c0a81['bool']();break;default:_0x1c0a81['skipType'](0x7&_0x12143b,_0x987e19);}}return _0x17f7b4;},_0x204e7b['decodeDelimited']=function(_0xc07a92){return _0xc07a92 instanceof _0x51b79d||(_0xc07a92=new _0x51b79d(_0xc07a92)),this['decode'](_0xc07a92,_0xc07a92['uint32']());},_0x204e7b['verify']=function(_0x5725a5,_0x2513be){return'object'!=typeof _0x5725a5||null===_0x5725a5?'object\x20expected':(void 0x0===_0x2513be&&(_0x2513be=0x0),_0x2513be>_0x520d03['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5725a5['rootName']&&_0x5725a5['hasOwnProperty']('rootName')&&!_0x520d03['isString'](_0x5725a5['rootName'])?'rootName:\x20string\x20expected':null!=_0x5725a5['elementName']&&_0x5725a5['hasOwnProperty']('elementName')&&!_0x520d03['isString'](_0x5725a5['elementName'])?'elementName:\x20string\x20expected':null!=_0x5725a5['isAdd']&&_0x5725a5['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x5725a5['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x5725a5['wasUndone']&&_0x5725a5['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5725a5['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x204e7b['fromObject']=function(_0x19c8f0,_0x52c99f){if(_0x19c8f0 instanceof _0x560503['RootOperation'])return _0x19c8f0;if(void 0x0===_0x52c99f&&(_0x52c99f=0x0),_0x52c99f>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x38d65a=new _0x560503['RootOperation']();return null!=_0x19c8f0['rootName']&&(_0x38d65a['rootName']=String(_0x19c8f0['rootName'])),null!=_0x19c8f0['elementName']&&(_0x38d65a['elementName']=String(_0x19c8f0['elementName'])),null!=_0x19c8f0['isAdd']&&(_0x38d65a['isAdd']=Boolean(_0x19c8f0['isAdd'])),null!=_0x19c8f0['wasUndone']&&(_0x38d65a['wasUndone']=Boolean(_0x19c8f0['wasUndone'])),_0x38d65a;},_0x204e7b['toObject']=function(_0xa44a12,_0x2985e5){_0x2985e5||(_0x2985e5={});var _0x3f91d7={};return _0x2985e5['defaults']&&(_0x3f91d7['rootName']='',_0x3f91d7['elementName']='',_0x3f91d7['isAdd']=!0x1,_0x3f91d7['wasUndone']=!0x1),null!=_0xa44a12['rootName']&&_0xa44a12['hasOwnProperty']('rootName')&&(_0x3f91d7['rootName']=_0xa44a12['rootName']),null!=_0xa44a12['elementName']&&_0xa44a12['hasOwnProperty']('elementName')&&(_0x3f91d7['elementName']=_0xa44a12['elementName']),null!=_0xa44a12['isAdd']&&_0xa44a12['hasOwnProperty']('isAdd')&&(_0x3f91d7['isAdd']=_0xa44a12['isAdd']),null!=_0xa44a12['wasUndone']&&_0xa44a12['hasOwnProperty']('wasUndone')&&(_0x3f91d7['wasUndone']=_0xa44a12['wasUndone']),_0x3f91d7;},_0x204e7b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x204e7b['getTypeUrl']=function(_0x148ca0){return void 0x0===_0x148ca0&&(_0x148ca0='type.googleapis.com'),_0x148ca0+'/RootOperation';},_0x204e7b;}()),_0x560503['SplitOperation']=(function(){function _0x298024(_0xd0d5a2){if(_0xd0d5a2){for(var _0x6da75=Object['keys'](_0xd0d5a2),_0x45219d=0x0;_0x45219d<_0x6da75['length'];++_0x45219d)null!=_0xd0d5a2[_0x6da75[_0x45219d]]&&'__proto__'!==_0x6da75[_0x45219d]&&(this[_0x6da75[_0x45219d]]=_0xd0d5a2[_0x6da75[_0x45219d]]);}}return _0x298024['prototype']['splitPosition']=null,_0x298024['prototype']['graveyardPosition']=null,_0x298024['prototype']['howMany']=0x0,_0x298024['prototype']['insertionPosition']=null,_0x298024['prototype']['wasUndone']=!0x1,_0x298024['create']=function(_0x22b6a2){return new _0x298024(_0x22b6a2);},_0x298024['encode']=function(_0x583037,_0x51709e){return _0x51709e||(_0x51709e=_0x3d8541['create']()),null!=_0x583037['splitPosition']&&Object['hasOwnProperty']['call'](_0x583037,'splitPosition')&&_0x560503['Position']['encode'](_0x583037['splitPosition'],_0x51709e['uint32'](0xa)['fork']())['ldelim'](),null!=_0x583037['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x583037,'graveyardPosition')&&_0x560503['Position']['encode'](_0x583037['graveyardPosition'],_0x51709e['uint32'](0x12)['fork']())['ldelim'](),null!=_0x583037['howMany']&&Object['hasOwnProperty']['call'](_0x583037,'howMany')&&_0x51709e['uint32'](0x18)['uint32'](_0x583037['howMany']),null!=_0x583037['insertionPosition']&&Object['hasOwnProperty']['call'](_0x583037,'insertionPosition')&&_0x560503['Position']['encode'](_0x583037['insertionPosition'],_0x51709e['uint32'](0x22)['fork']())['ldelim'](),null!=_0x583037['wasUndone']&&Object['hasOwnProperty']['call'](_0x583037,'wasUndone')&&_0x51709e['uint32'](0x28)['bool'](_0x583037['wasUndone']),_0x51709e;},_0x298024['encodeDelimited']=function(_0x3c89b1,_0x2c805a){return this['encode'](_0x3c89b1,_0x2c805a)['ldelim']();},_0x298024['decode']=function(_0x25e53f,_0x1c6d0d,_0x15eacd,_0x1843c3){if(_0x25e53f instanceof _0x51b79d||(_0x25e53f=_0x51b79d['create'](_0x25e53f)),void 0x0===_0x1843c3&&(_0x1843c3=0x0),_0x1843c3>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5c5dcf=void 0x0===_0x1c6d0d?_0x25e53f['len']:_0x25e53f['pos']+_0x1c6d0d,_0x53233d=new _0x560503['SplitOperation']();_0x25e53f['pos']<_0x5c5dcf;){var _0x186ffe=_0x25e53f['uint32']();if(_0x186ffe===_0x15eacd)break;switch(_0x186ffe>>>0x3){case 0x1:_0x53233d['splitPosition']=_0x560503['Position']['decode'](_0x25e53f,_0x25e53f['uint32'](),void 0x0,_0x1843c3+0x1);break;case 0x2:_0x53233d['graveyardPosition']=_0x560503['Position']['decode'](_0x25e53f,_0x25e53f['uint32'](),void 0x0,_0x1843c3+0x1);break;case 0x3:_0x53233d['howMany']=_0x25e53f['uint32']();break;case 0x4:_0x53233d['insertionPosition']=_0x560503['Position']['decode'](_0x25e53f,_0x25e53f['uint32'](),void 0x0,_0x1843c3+0x1);break;case 0x5:_0x53233d['wasUndone']=_0x25e53f['bool']();break;default:_0x25e53f['skipType'](0x7&_0x186ffe,_0x1843c3);}}return _0x53233d;},_0x298024['decodeDelimited']=function(_0x49472d){return _0x49472d instanceof _0x51b79d||(_0x49472d=new _0x51b79d(_0x49472d)),this['decode'](_0x49472d,_0x49472d['uint32']());},_0x298024['verify']=function(_0xb16cb2,_0x5112d5){if('object'!=typeof _0xb16cb2||null===_0xb16cb2)return'object\x20expected';if(void 0x0===_0x5112d5&&(_0x5112d5=0x0),_0x5112d5>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x47de75;if(null!=_0xb16cb2['splitPosition']&&_0xb16cb2['hasOwnProperty']('splitPosition')&&(_0x47de75=_0x560503['Position']['verify'](_0xb16cb2['splitPosition'],_0x5112d5+0x1)))return'splitPosition.'+_0x47de75;if(null!=_0xb16cb2['graveyardPosition']&&_0xb16cb2['hasOwnProperty']('graveyardPosition')&&(_0x47de75=_0x560503['Position']['verify'](_0xb16cb2['graveyardPosition'],_0x5112d5+0x1)))return'graveyardPosition.'+_0x47de75;if(null!=_0xb16cb2['howMany']&&_0xb16cb2['hasOwnProperty']('howMany')&&!_0x520d03['isInteger'](_0xb16cb2['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0xb16cb2['insertionPosition']&&_0xb16cb2['hasOwnProperty']('insertionPosition')&&(_0x47de75=_0x560503['Position']['verify'](_0xb16cb2['insertionPosition'],_0x5112d5+0x1)))return'insertionPosition.'+_0x47de75;return null!=_0xb16cb2['wasUndone']&&_0xb16cb2['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xb16cb2['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x298024['fromObject']=function(_0x3002c6,_0x337d9c){if(_0x3002c6 instanceof _0x560503['SplitOperation'])return _0x3002c6;if(void 0x0===_0x337d9c&&(_0x337d9c=0x0),_0x337d9c>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1da29d=new _0x560503['SplitOperation']();if(null!=_0x3002c6['splitPosition']){if('object'!=typeof _0x3002c6['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x1da29d['splitPosition']=_0x560503['Position']['fromObject'](_0x3002c6['splitPosition'],_0x337d9c+0x1);}if(null!=_0x3002c6['graveyardPosition']){if('object'!=typeof _0x3002c6['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x1da29d['graveyardPosition']=_0x560503['Position']['fromObject'](_0x3002c6['graveyardPosition'],_0x337d9c+0x1);}if(null!=_0x3002c6['howMany']&&(_0x1da29d['howMany']=_0x3002c6['howMany']>>>0x0),null!=_0x3002c6['insertionPosition']){if('object'!=typeof _0x3002c6['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x1da29d['insertionPosition']=_0x560503['Position']['fromObject'](_0x3002c6['insertionPosition'],_0x337d9c+0x1);}return null!=_0x3002c6['wasUndone']&&(_0x1da29d['wasUndone']=Boolean(_0x3002c6['wasUndone'])),_0x1da29d;},_0x298024['toObject']=function(_0x1f8e24,_0x24c351){_0x24c351||(_0x24c351={});var _0x137351={};return _0x24c351['defaults']&&(_0x137351['splitPosition']=null,_0x137351['graveyardPosition']=null,_0x137351['howMany']=0x0,_0x137351['insertionPosition']=null,_0x137351['wasUndone']=!0x1),null!=_0x1f8e24['splitPosition']&&_0x1f8e24['hasOwnProperty']('splitPosition')&&(_0x137351['splitPosition']=_0x560503['Position']['toObject'](_0x1f8e24['splitPosition'],_0x24c351)),null!=_0x1f8e24['graveyardPosition']&&_0x1f8e24['hasOwnProperty']('graveyardPosition')&&(_0x137351['graveyardPosition']=_0x560503['Position']['toObject'](_0x1f8e24['graveyardPosition'],_0x24c351)),null!=_0x1f8e24['howMany']&&_0x1f8e24['hasOwnProperty']('howMany')&&(_0x137351['howMany']=_0x1f8e24['howMany']),null!=_0x1f8e24['insertionPosition']&&_0x1f8e24['hasOwnProperty']('insertionPosition')&&(_0x137351['insertionPosition']=_0x560503['Position']['toObject'](_0x1f8e24['insertionPosition'],_0x24c351)),null!=_0x1f8e24['wasUndone']&&_0x1f8e24['hasOwnProperty']('wasUndone')&&(_0x137351['wasUndone']=_0x1f8e24['wasUndone']),_0x137351;},_0x298024['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x298024['getTypeUrl']=function(_0x564677){return void 0x0===_0x564677&&(_0x564677='type.googleapis.com'),_0x564677+'/SplitOperation';},_0x298024;}()),_0x560503['Position']=(function(){function _0x5c3f64(_0x45f732){if(this['path']=[],_0x45f732){for(var _0x590131=Object['keys'](_0x45f732),_0x2adb35=0x0;_0x2adb35<_0x590131['length'];++_0x2adb35)null!=_0x45f732[_0x590131[_0x2adb35]]&&'__proto__'!==_0x590131[_0x2adb35]&&(this[_0x590131[_0x2adb35]]=_0x45f732[_0x590131[_0x2adb35]]);}}return _0x5c3f64['prototype']['root']='',_0x5c3f64['prototype']['rootMain']=!0x1,_0x5c3f64['prototype']['rootGraveyard']=!0x1,_0x5c3f64['prototype']['path']=_0x520d03['emptyArray'],_0x5c3f64['prototype']['stickiness']='',_0x5c3f64['create']=function(_0x6a6fb4){return new _0x5c3f64(_0x6a6fb4);},_0x5c3f64['encode']=function(_0x1002aa,_0x4c7d1d){if(_0x4c7d1d||(_0x4c7d1d=_0x3d8541['create']()),null!=_0x1002aa['root']&&Object['hasOwnProperty']['call'](_0x1002aa,'root')&&_0x4c7d1d['uint32'](0xa)['string'](_0x1002aa['root']),null!=_0x1002aa['rootMain']&&Object['hasOwnProperty']['call'](_0x1002aa,'rootMain')&&_0x4c7d1d['uint32'](0x10)['bool'](_0x1002aa['rootMain']),null!=_0x1002aa['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x1002aa,'rootGraveyard')&&_0x4c7d1d['uint32'](0x18)['bool'](_0x1002aa['rootGraveyard']),null!=_0x1002aa['path']&&_0x1002aa['path']['length']){_0x4c7d1d['uint32'](0x22)['fork']();for(var _0x412d3f=0x0;_0x412d3f<_0x1002aa['path']['length'];++_0x412d3f)_0x4c7d1d['uint32'](_0x1002aa['path'][_0x412d3f]);_0x4c7d1d['ldelim']();}return null!=_0x1002aa['stickiness']&&Object['hasOwnProperty']['call'](_0x1002aa,'stickiness')&&_0x4c7d1d['uint32'](0x2a)['string'](_0x1002aa['stickiness']),_0x4c7d1d;},_0x5c3f64['encodeDelimited']=function(_0x218a1e,_0x3a8094){return this['encode'](_0x218a1e,_0x3a8094)['ldelim']();},_0x5c3f64['decode']=function(_0x2e2f40,_0x1a7be5,_0x24f897,_0x5363ec){if(_0x2e2f40 instanceof _0x51b79d||(_0x2e2f40=_0x51b79d['create'](_0x2e2f40)),void 0x0===_0x5363ec&&(_0x5363ec=0x0),_0x5363ec>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x40a1a0=void 0x0===_0x1a7be5?_0x2e2f40['len']:_0x2e2f40['pos']+_0x1a7be5,_0x2c229d=new _0x560503['Position']();_0x2e2f40['pos']<_0x40a1a0;){var _0x13cd5d=_0x2e2f40['uint32']();if(_0x13cd5d===_0x24f897)break;switch(_0x13cd5d>>>0x3){case 0x1:_0x2c229d['root']=_0x2e2f40['string']();break;case 0x2:_0x2c229d['rootMain']=_0x2e2f40['bool']();break;case 0x3:_0x2c229d['rootGraveyard']=_0x2e2f40['bool']();break;case 0x4:if(_0x2c229d['path']&&_0x2c229d['path']['length']||(_0x2c229d['path']=[]),0x2==(0x7&_0x13cd5d)){for(var _0x26edad=_0x2e2f40['uint32']()+_0x2e2f40['pos'];_0x2e2f40['pos']<_0x26edad;)_0x2c229d['path']['push'](_0x2e2f40['uint32']());}else _0x2c229d['path']['push'](_0x2e2f40['uint32']());break;case 0x5:_0x2c229d['stickiness']=_0x2e2f40['string']();break;default:_0x2e2f40['skipType'](0x7&_0x13cd5d,_0x5363ec);}}return _0x2c229d;},_0x5c3f64['decodeDelimited']=function(_0x4db820){return _0x4db820 instanceof _0x51b79d||(_0x4db820=new _0x51b79d(_0x4db820)),this['decode'](_0x4db820,_0x4db820['uint32']());},_0x5c3f64['verify']=function(_0x4dda29,_0x23f981){if('object'!=typeof _0x4dda29||null===_0x4dda29)return'object\x20expected';if(void 0x0===_0x23f981&&(_0x23f981=0x0),_0x23f981>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4dda29['root']&&_0x4dda29['hasOwnProperty']('root')&&!_0x520d03['isString'](_0x4dda29['root']))return'root:\x20string\x20expected';if(null!=_0x4dda29['rootMain']&&_0x4dda29['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x4dda29['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x4dda29['rootGraveyard']&&_0x4dda29['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x4dda29['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x4dda29['path']&&_0x4dda29['hasOwnProperty']('path')){if(!Array['isArray'](_0x4dda29['path']))return'path:\x20array\x20expected';for(var _0x16b371=0x0;_0x16b371<_0x4dda29['path']['length'];++_0x16b371)if(!_0x520d03['isInteger'](_0x4dda29['path'][_0x16b371]))return'path:\x20integer[]\x20expected';}return null!=_0x4dda29['stickiness']&&_0x4dda29['hasOwnProperty']('stickiness')&&!_0x520d03['isString'](_0x4dda29['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x5c3f64['fromObject']=function(_0x19a7d4,_0x3ef644){if(_0x19a7d4 instanceof _0x560503['Position'])return _0x19a7d4;if(void 0x0===_0x3ef644&&(_0x3ef644=0x0),_0x3ef644>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x6f1e10=new _0x560503['Position']();if(null!=_0x19a7d4['root']&&(_0x6f1e10['root']=String(_0x19a7d4['root'])),null!=_0x19a7d4['rootMain']&&(_0x6f1e10['rootMain']=Boolean(_0x19a7d4['rootMain'])),null!=_0x19a7d4['rootGraveyard']&&(_0x6f1e10['rootGraveyard']=Boolean(_0x19a7d4['rootGraveyard'])),_0x19a7d4['path']){if(!Array['isArray'](_0x19a7d4['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x6f1e10['path']=[];for(var _0x32242d=0x0;_0x32242d<_0x19a7d4['path']['length'];++_0x32242d)_0x6f1e10['path'][_0x32242d]=_0x19a7d4['path'][_0x32242d]>>>0x0;}return null!=_0x19a7d4['stickiness']&&(_0x6f1e10['stickiness']=String(_0x19a7d4['stickiness'])),_0x6f1e10;},_0x5c3f64['toObject']=function(_0x448c20,_0x54148d){_0x54148d||(_0x54148d={});var _0x4b4983={};if((_0x54148d['arrays']||_0x54148d['defaults'])&&(_0x4b4983['path']=[]),_0x54148d['defaults']&&(_0x4b4983['root']='',_0x4b4983['rootMain']=!0x1,_0x4b4983['rootGraveyard']=!0x1,_0x4b4983['stickiness']=''),null!=_0x448c20['root']&&_0x448c20['hasOwnProperty']('root')&&(_0x4b4983['root']=_0x448c20['root']),null!=_0x448c20['rootMain']&&_0x448c20['hasOwnProperty']('rootMain')&&(_0x4b4983['rootMain']=_0x448c20['rootMain']),null!=_0x448c20['rootGraveyard']&&_0x448c20['hasOwnProperty']('rootGraveyard')&&(_0x4b4983['rootGraveyard']=_0x448c20['rootGraveyard']),_0x448c20['path']&&_0x448c20['path']['length']){_0x4b4983['path']=[];for(var _0x19177b=0x0;_0x19177b<_0x448c20['path']['length'];++_0x19177b)_0x4b4983['path'][_0x19177b]=_0x448c20['path'][_0x19177b];}return null!=_0x448c20['stickiness']&&_0x448c20['hasOwnProperty']('stickiness')&&(_0x4b4983['stickiness']=_0x448c20['stickiness']),_0x4b4983;},_0x5c3f64['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x5c3f64['getTypeUrl']=function(_0x5e149e){return void 0x0===_0x5e149e&&(_0x5e149e='type.googleapis.com'),_0x5e149e+'/Position';},_0x5c3f64;}()),_0x560503['Range']=(function(){function _0x22f065(_0x18c5db){if(_0x18c5db){for(var _0x476e6d=Object['keys'](_0x18c5db),_0x1f3387=0x0;_0x1f3387<_0x476e6d['length'];++_0x1f3387)null!=_0x18c5db[_0x476e6d[_0x1f3387]]&&'__proto__'!==_0x476e6d[_0x1f3387]&&(this[_0x476e6d[_0x1f3387]]=_0x18c5db[_0x476e6d[_0x1f3387]]);}}return _0x22f065['prototype']['start']=null,_0x22f065['prototype']['end']=null,_0x22f065['create']=function(_0x188b92){return new _0x22f065(_0x188b92);},_0x22f065['encode']=function(_0x24fe7f,_0x2e38d9){return _0x2e38d9||(_0x2e38d9=_0x3d8541['create']()),null!=_0x24fe7f['start']&&Object['hasOwnProperty']['call'](_0x24fe7f,'start')&&_0x560503['Position']['encode'](_0x24fe7f['start'],_0x2e38d9['uint32'](0xa)['fork']())['ldelim'](),null!=_0x24fe7f['end']&&Object['hasOwnProperty']['call'](_0x24fe7f,'end')&&_0x560503['Position']['encode'](_0x24fe7f['end'],_0x2e38d9['uint32'](0x12)['fork']())['ldelim'](),_0x2e38d9;},_0x22f065['encodeDelimited']=function(_0x3040dd,_0x4147e6){return this['encode'](_0x3040dd,_0x4147e6)['ldelim']();},_0x22f065['decode']=function(_0x329d4e,_0x3a8170,_0x29f263,_0x1e872e){if(_0x329d4e instanceof _0x51b79d||(_0x329d4e=_0x51b79d['create'](_0x329d4e)),void 0x0===_0x1e872e&&(_0x1e872e=0x0),_0x1e872e>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2aac06=void 0x0===_0x3a8170?_0x329d4e['len']:_0x329d4e['pos']+_0x3a8170,_0x55c1d2=new _0x560503['Range']();_0x329d4e['pos']<_0x2aac06;){var _0x2818fe=_0x329d4e['uint32']();if(_0x2818fe===_0x29f263)break;switch(_0x2818fe>>>0x3){case 0x1:_0x55c1d2['start']=_0x560503['Position']['decode'](_0x329d4e,_0x329d4e['uint32'](),void 0x0,_0x1e872e+0x1);break;case 0x2:_0x55c1d2['end']=_0x560503['Position']['decode'](_0x329d4e,_0x329d4e['uint32'](),void 0x0,_0x1e872e+0x1);break;default:_0x329d4e['skipType'](0x7&_0x2818fe,_0x1e872e);}}return _0x55c1d2;},_0x22f065['decodeDelimited']=function(_0x16c4a3){return _0x16c4a3 instanceof _0x51b79d||(_0x16c4a3=new _0x51b79d(_0x16c4a3)),this['decode'](_0x16c4a3,_0x16c4a3['uint32']());},_0x22f065['verify']=function(_0x42f2d3,_0xc342d7){if('object'!=typeof _0x42f2d3||null===_0x42f2d3)return'object\x20expected';if(void 0x0===_0xc342d7&&(_0xc342d7=0x0),_0xc342d7>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x569075;if(null!=_0x42f2d3['start']&&_0x42f2d3['hasOwnProperty']('start')&&(_0x569075=_0x560503['Position']['verify'](_0x42f2d3['start'],_0xc342d7+0x1)))return'start.'+_0x569075;if(null!=_0x42f2d3['end']&&_0x42f2d3['hasOwnProperty']('end')&&(_0x569075=_0x560503['Position']['verify'](_0x42f2d3['end'],_0xc342d7+0x1)))return'end.'+_0x569075;return null;},_0x22f065['fromObject']=function(_0x306ffb,_0x3da166){if(_0x306ffb instanceof _0x560503['Range'])return _0x306ffb;if(void 0x0===_0x3da166&&(_0x3da166=0x0),_0x3da166>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x162c21=new _0x560503['Range']();if(null!=_0x306ffb['start']){if('object'!=typeof _0x306ffb['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x162c21['start']=_0x560503['Position']['fromObject'](_0x306ffb['start'],_0x3da166+0x1);}if(null!=_0x306ffb['end']){if('object'!=typeof _0x306ffb['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x162c21['end']=_0x560503['Position']['fromObject'](_0x306ffb['end'],_0x3da166+0x1);}return _0x162c21;},_0x22f065['toObject']=function(_0x322d85,_0x39b245){_0x39b245||(_0x39b245={});var _0x2222d6={};return _0x39b245['defaults']&&(_0x2222d6['start']=null,_0x2222d6['end']=null),null!=_0x322d85['start']&&_0x322d85['hasOwnProperty']('start')&&(_0x2222d6['start']=_0x560503['Position']['toObject'](_0x322d85['start'],_0x39b245)),null!=_0x322d85['end']&&_0x322d85['hasOwnProperty']('end')&&(_0x2222d6['end']=_0x560503['Position']['toObject'](_0x322d85['end'],_0x39b245)),_0x2222d6;},_0x22f065['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x22f065['getTypeUrl']=function(_0x161ee1){return void 0x0===_0x161ee1&&(_0x161ee1='type.googleapis.com'),_0x161ee1+'/Range';},_0x22f065;}()),_0x560503['Element']=(function(){function _0x527457(_0x4f0954){if(this['children']=[],this['attributesBoolean']={},_0x4f0954){for(var _0x1b15f4=Object['keys'](_0x4f0954),_0x2f4089=0x0;_0x2f4089<_0x1b15f4['length'];++_0x2f4089)null!=_0x4f0954[_0x1b15f4[_0x2f4089]]&&'__proto__'!==_0x1b15f4[_0x2f4089]&&(this[_0x1b15f4[_0x2f4089]]=_0x4f0954[_0x1b15f4[_0x2f4089]]);}}return _0x527457['prototype']['name']='',_0x527457['prototype']['children']=_0x520d03['emptyArray'],_0x527457['prototype']['data']='',_0x527457['prototype']['attributesBoolean']=_0x520d03['emptyObject'],_0x527457['prototype']['attributesJson']='',_0x527457['create']=function(_0x54d56f){return new _0x527457(_0x54d56f);},_0x527457['encode']=function(_0x3d85ef,_0x137a8c){if(_0x137a8c||(_0x137a8c=_0x3d8541['create']()),null!=_0x3d85ef['name']&&Object['hasOwnProperty']['call'](_0x3d85ef,'name')&&_0x137a8c['uint32'](0xa)['string'](_0x3d85ef['name']),null!=_0x3d85ef['children']&&_0x3d85ef['children']['length']){for(var _0x2e4221=0x0;_0x2e4221<_0x3d85ef['children']['length'];++_0x2e4221)_0x560503['Element']['encode'](_0x3d85ef['children'][_0x2e4221],_0x137a8c['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x3d85ef['data']&&Object['hasOwnProperty']['call'](_0x3d85ef,'data')&&_0x137a8c['uint32'](0x1a)['string'](_0x3d85ef['data']),null!=_0x3d85ef['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x3d85ef,'attributesBoolean')){var _0x46652d=Object['keys'](_0x3d85ef['attributesBoolean']);for(_0x2e4221=0x0;_0x2e4221<_0x46652d['length'];++_0x2e4221)_0x137a8c['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x46652d[_0x2e4221])['uint32'](0x10)['bool'](_0x3d85ef['attributesBoolean'][_0x46652d[_0x2e4221]])['ldelim']();}return null!=_0x3d85ef['attributesJson']&&Object['hasOwnProperty']['call'](_0x3d85ef,'attributesJson')&&_0x137a8c['uint32'](0x2a)['string'](_0x3d85ef['attributesJson']),_0x137a8c;},_0x527457['encodeDelimited']=function(_0x23b5b3,_0x2d29bf){return this['encode'](_0x23b5b3,_0x2d29bf)['ldelim']();},_0x527457['decode']=function(_0xcf3c4f,_0xccfbc2,_0xa3d85e,_0x2bc91d){if(_0xcf3c4f instanceof _0x51b79d||(_0xcf3c4f=_0x51b79d['create'](_0xcf3c4f)),void 0x0===_0x2bc91d&&(_0x2bc91d=0x0),_0x2bc91d>_0x51b79d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2214b8,_0x42c521,_0x177342=void 0x0===_0xccfbc2?_0xcf3c4f['len']:_0xcf3c4f['pos']+_0xccfbc2,_0x2eb60c=new _0x560503['Element']();_0xcf3c4f['pos']<_0x177342;){var _0x6ef3a1=_0xcf3c4f['uint32']();if(_0x6ef3a1===_0xa3d85e)break;switch(_0x6ef3a1>>>0x3){case 0x1:_0x2eb60c['name']=_0xcf3c4f['string']();break;case 0x2:_0x2eb60c['children']&&_0x2eb60c['children']['length']||(_0x2eb60c['children']=[]),_0x2eb60c['children']['push'](_0x560503['Element']['decode'](_0xcf3c4f,_0xcf3c4f['uint32'](),void 0x0,_0x2bc91d+0x1));break;case 0x3:_0x2eb60c['data']=_0xcf3c4f['string']();break;case 0x4:_0x2eb60c['attributesBoolean']===_0x520d03['emptyObject']&&(_0x2eb60c['attributesBoolean']={});var _0x5ea310=_0xcf3c4f['uint32']()+_0xcf3c4f['pos'];for(_0x2214b8='',_0x42c521=!0x1;_0xcf3c4f['pos']<_0x5ea310;){var _0x156d0e=_0xcf3c4f['uint32']();switch(_0x156d0e>>>0x3){case 0x1:_0x2214b8=_0xcf3c4f['string']();break;case 0x2:_0x42c521=_0xcf3c4f['bool']();break;default:_0xcf3c4f['skipType'](0x7&_0x156d0e,_0x2bc91d);}}'__proto__'===_0x2214b8&&_0x520d03['makeProp'](_0x2eb60c['attributesBoolean'],_0x2214b8),_0x2eb60c['attributesBoolean'][_0x2214b8]=_0x42c521;break;case 0x5:_0x2eb60c['attributesJson']=_0xcf3c4f['string']();break;default:_0xcf3c4f['skipType'](0x7&_0x6ef3a1,_0x2bc91d);}}return _0x2eb60c;},_0x527457['decodeDelimited']=function(_0x3e2821){return _0x3e2821 instanceof _0x51b79d||(_0x3e2821=new _0x51b79d(_0x3e2821)),this['decode'](_0x3e2821,_0x3e2821['uint32']());},_0x527457['verify']=function(_0x52eeed,_0x308ee0){if('object'!=typeof _0x52eeed||null===_0x52eeed)return'object\x20expected';if(void 0x0===_0x308ee0&&(_0x308ee0=0x0),_0x308ee0>_0x520d03['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x52eeed['name']&&_0x52eeed['hasOwnProperty']('name')&&!_0x520d03['isString'](_0x52eeed['name']))return'name:\x20string\x20expected';if(null!=_0x52eeed['children']&&_0x52eeed['hasOwnProperty']('children')){if(!Array['isArray'](_0x52eeed['children']))return'children:\x20array\x20expected';for(var _0x42f68a=0x0;_0x42f68a<_0x52eeed['children']['length'];++_0x42f68a){var _0x14de21=_0x560503['Element']['verify'](_0x52eeed['children'][_0x42f68a],_0x308ee0+0x1);if(_0x14de21)return'children.'+_0x14de21;}}if(null!=_0x52eeed['data']&&_0x52eeed['hasOwnProperty']('data')&&!_0x520d03['isString'](_0x52eeed['data']))return'data:\x20string\x20expected';if(null!=_0x52eeed['attributesBoolean']&&_0x52eeed['hasOwnProperty']('attributesBoolean')){if(!_0x520d03['isObject'](_0x52eeed['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x49ea4c=Object['keys'](_0x52eeed['attributesBoolean']);for(_0x42f68a=0x0;_0x42f68a<_0x49ea4c['length'];++_0x42f68a)if('boolean'!=typeof _0x52eeed['attributesBoolean'][_0x49ea4c[_0x42f68a]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x52eeed['attributesJson']&&_0x52eeed['hasOwnProperty']('attributesJson')&&!_0x520d03['isString'](_0x52eeed['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x527457['fromObject']=function(_0xaf85f4,_0x41fb2e){if(_0xaf85f4 instanceof _0x560503['Element'])return _0xaf85f4;if(void 0x0===_0x41fb2e&&(_0x41fb2e=0x0),_0x41fb2e>_0x520d03['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x34becf=new _0x560503['Element']();if(null!=_0xaf85f4['name']&&(_0x34becf['name']=String(_0xaf85f4['name'])),_0xaf85f4['children']){if(!Array['isArray'](_0xaf85f4['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x34becf['children']=[];for(var _0x1bc2ca=0x0;_0x1bc2ca<_0xaf85f4['children']['length'];++_0x1bc2ca){if('object'!=typeof _0xaf85f4['children'][_0x1bc2ca])throw TypeError('.Element.children:\x20object\x20expected');_0x34becf['children'][_0x1bc2ca]=_0x560503['Element']['fromObject'](_0xaf85f4['children'][_0x1bc2ca],_0x41fb2e+0x1);}}if(null!=_0xaf85f4['data']&&(_0x34becf['data']=String(_0xaf85f4['data'])),_0xaf85f4['attributesBoolean']){if('object'!=typeof _0xaf85f4['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x34becf['attributesBoolean']={};var _0x456f02=Object['keys'](_0xaf85f4['attributesBoolean']);for(_0x1bc2ca=0x0;_0x1bc2ca<_0x456f02['length'];++_0x1bc2ca)'__proto__'===_0x456f02[_0x1bc2ca]&&_0x520d03['makeProp'](_0x34becf['attributesBoolean'],_0x456f02[_0x1bc2ca]),_0x34becf['attributesBoolean'][_0x456f02[_0x1bc2ca]]=Boolean(_0xaf85f4['attributesBoolean'][_0x456f02[_0x1bc2ca]]);}return null!=_0xaf85f4['attributesJson']&&(_0x34becf['attributesJson']=String(_0xaf85f4['attributesJson'])),_0x34becf;},_0x527457['toObject']=function(_0x436dae,_0x1a5ac8){_0x1a5ac8||(_0x1a5ac8={});var _0x9076b0,_0x52e498={};if((_0x1a5ac8['arrays']||_0x1a5ac8['defaults'])&&(_0x52e498['children']=[]),(_0x1a5ac8['objects']||_0x1a5ac8['defaults'])&&(_0x52e498['attributesBoolean']={}),_0x1a5ac8['defaults']&&(_0x52e498['name']='',_0x52e498['data']='',_0x52e498['attributesJson']=''),null!=_0x436dae['name']&&_0x436dae['hasOwnProperty']('name')&&(_0x52e498['name']=_0x436dae['name']),_0x436dae['children']&&_0x436dae['children']['length']){_0x52e498['children']=[];for(var _0x2d52bd=0x0;_0x2d52bd<_0x436dae['children']['length'];++_0x2d52bd)_0x52e498['children'][_0x2d52bd]=_0x560503['Element']['toObject'](_0x436dae['children'][_0x2d52bd],_0x1a5ac8);}if(null!=_0x436dae['data']&&_0x436dae['hasOwnProperty']('data')&&(_0x52e498['data']=_0x436dae['data']),_0x436dae['attributesBoolean']&&(_0x9076b0=Object['keys'](_0x436dae['attributesBoolean']))['length']){_0x52e498['attributesBoolean']={};for(_0x2d52bd=0x0;_0x2d52bd<_0x9076b0['length'];++_0x2d52bd)'__proto__'===_0x9076b0[_0x2d52bd]&&_0x520d03['makeProp'](_0x52e498['attributesBoolean'],_0x9076b0[_0x2d52bd]),_0x52e498['attributesBoolean'][_0x9076b0[_0x2d52bd]]=_0x436dae['attributesBoolean'][_0x9076b0[_0x2d52bd]];}return null!=_0x436dae['attributesJson']&&_0x436dae['hasOwnProperty']('attributesJson')&&(_0x52e498['attributesJson']=_0x436dae['attributesJson']),_0x52e498;},_0x527457['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,$w['util']['toJSONOptions']);},_0x527457['getTypeUrl']=function(_0x339e75){return void 0x0===_0x339e75&&(_0x339e75='type.googleapis.com'),_0x339e75+'/Element';},_0x527457;}()),_0x560503;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=ky;}['getDescriptor'](_0x47f9dd){return new ProtobufDescriptor(this['_protobufRoot'][_0x47f9dd]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x1bf05f){this['_protobuf']=_0x1bf05f;}['compress'](_0x4a4b5f){const _0x48bbc2=this['_protobuf']['verify'](_0x4a4b5f);if(_0x48bbc2)throw Error(_0x48bbc2);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x4a4b5f))['finish']();}['decompress'](_0x15c5ba){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x15c5ba),{'oneofs':!0x0});}}function xy(_0x49c610,_0x3bf9e9){const _0x3ba272=kr(_0x49c610);return _0x3ba272['path'][_0x3ba272['path']['length']-0x1]+=_0x3bf9e9,_0x3ba272;}function Ry(_0x350f0b,_0x48c8a5){return _0x350f0b['root']===_0x48c8a5['root']&&qr(_0x350f0b['path'],_0x48c8a5['path']);}function Py(_0x4363d4){Ny(_0x4363d4,_0xc41c9b=>('main'==_0xc41c9b['root']?(_0xc41c9b['rootMain']=!0x0,delete _0xc41c9b['root']):'$graveyard'==_0xc41c9b['root']&&(_0xc41c9b['rootGraveyard']=!0x0,delete _0xc41c9b['root']),_0xc41c9b));}function My(_0x3226ba){Ny(_0x3226ba,_0x5c629d=>(_0x5c629d['rootMain']?(_0x5c629d['root']='main',delete _0x5c629d['rootMain']):_0x5c629d['rootGraveyard']&&(_0x5c629d['root']='$graveyard',delete _0x5c629d['rootGraveyard']),_0x5c629d));}function Ny(_0x585aaa,_0x2f1d0c){for(const _0x219d15 in _0x585aaa){const _0x2eaa4b=_0x585aaa[_0x219d15];'nodes'!==_0x219d15&&Jn(_0x2eaa4b)&&(_0x2eaa4b['path']&&(_0x2eaa4b['root']||_0x2eaa4b['rootMain']||_0x2eaa4b['rootGraveyard'])?_0x585aaa[_0x219d15]=_0x2f1d0c(_0x2eaa4b):Ny(_0x2eaa4b,_0x2f1d0c));}return _0x585aaa;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x2ec1e9,_0x277c22,_0x2fdf78){this['_id']=_0x2ec1e9,this['_operationName']=_0x277c22,this['_protobufDescriptor']=_0x2fdf78;}['compress'](_0x3e8668,_0xd69180){const _0x5809ae=_0xd69180['operations'][_0xd69180['index']++];return Py(_0x5809ae),_0x3e8668['buffers']['push'](this['_protobufDescriptor']['compress'](_0x5809ae)),_0x3e8668['types']['push'](this['_id']),!0x0;}['decompress'](_0x3fc052,_0x271fbf){_0x271fbf['typeIndex']++;const _0x1c3cb=_0x271fbf['buffers'][_0x271fbf['bufferIndex']++],_0x49acc9=this['_protobufDescriptor']['decompress'](_0x1c3cb);My(_0x49acc9),_0x49acc9['__className']=this['_operationName'],_0x3fc052['push'](_0x49acc9);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0xcc66e6,_0x36d5bf){const _0x43494d=_0x36d5bf['operations'][_0x36d5bf['index']++];return this['_serializeOneOf']('oldValue',_0x43494d),this['_serializeOneOf']('newValue',_0x43494d),Py(_0x43494d),_0xcc66e6['buffers']['push'](this['_protobufDescriptor']['compress'](_0x43494d)),_0xcc66e6['types']['push'](this['_id']),!0x0;}['decompress'](_0x46f54a,_0x1e7e9d){_0x1e7e9d['typeIndex']++;const _0x4c2e39=_0x1e7e9d['buffers'][_0x1e7e9d['bufferIndex']++],_0x4873d6=this['_protobufDescriptor']['decompress'](_0x4c2e39);this['_deserializeOneOf']('oldValue',_0x4873d6),this['_deserializeOneOf']('newValue',_0x4873d6),My(_0x4873d6),_0x4873d6['__className']=this['_operationName'],_0x46f54a['push'](_0x4873d6);}['_serializeOneOf'](_0x172c0f,_0x5a471a){const _0x254f8d=_0x5a471a[_0x172c0f];'boolean'==typeof _0x254f8d?_0x5a471a[_0x172c0f+'Boolean']=_0x254f8d:_0x5a471a[_0x172c0f+'Json']=JSON['stringify'](_0x254f8d);}['_deserializeOneOf'](_0x2d7ae5,_0x2d8315){const _0x39dd3b=_0x2d7ae5+'Json';_0x2d8315[_0x39dd3b]?(_0x2d8315[_0x2d7ae5]=JSON['parse'](_0x2d8315[_0x39dd3b]),delete _0x2d8315[_0x39dd3b]):(_0x2d8315[_0x2d7ae5]=_0x2d8315[_0x2d7ae5+'Boolean'],delete _0x2d8315[_0x2d7ae5+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x2ed6d4,_0x151a87){const _0x1920cf=_0x151a87['operations'][_0x151a87['index']++];return this['_serializeNodesAttributes'](_0x1920cf['nodes']),Py(_0x1920cf),_0x2ed6d4['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1920cf)),_0x2ed6d4['types']['push'](this['_id']),!0x0;}['decompress'](_0x13fb8a,_0x4a572c){_0x4a572c['typeIndex']++;const _0x3f9a7f=_0x4a572c['buffers'][_0x4a572c['bufferIndex']++],_0x2a8ca3=this['_protobufDescriptor']['decompress'](_0x3f9a7f);_0x2a8ca3['nodes']||(_0x2a8ca3['nodes']=[]),this['_deserializeNodesAttributes'](_0x2a8ca3['nodes']),My(_0x2a8ca3),_0x2a8ca3['__className']=this['_operationName'],_0x13fb8a['push'](_0x2a8ca3);}['_serializeNodesAttributes'](_0x372c28){for(const _0x1e4b4c of _0x372c28){if(_0x1e4b4c['attributes']){const _0x3bd170=_0x1e4b4c['attributes'];this['_areValuesBoolean'](_0x3bd170)?_0x1e4b4c['attributesBoolean']=_0x3bd170:_0x1e4b4c['attributesJson']=JSON['stringify'](_0x3bd170);}_0x1e4b4c['children']&&this['_serializeNodesAttributes'](_0x1e4b4c['children']);}}['_deserializeNodesAttributes'](_0x5c875e){for(const _0x3e0a66 of _0x5c875e)(_0x3e0a66['attributesBoolean']||_0x3e0a66['attributesJson'])&&(_0x3e0a66['attributesBoolean']?(_0x3e0a66['attributes']=_0x3e0a66['attributesBoolean'],delete _0x3e0a66['attributesBoolean']):(_0x3e0a66['attributes']=JSON['parse'](_0x3e0a66['attributesJson']),delete _0x3e0a66['attributesJson'])),_0x3e0a66['children']&&this['_deserializeNodesAttributes'](_0x3e0a66['children']);}['_areValuesBoolean'](_0x2957bc){return Object['keys'](_0x2957bc)['every'](_0x4cbf25=>'boolean'==typeof _0x2957bc[_0x4cbf25]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0xe0dd55,_0x3af83d){super['decompress'](_0xe0dd55,_0x3af83d);const _0x4ba0b3=_0xe0dd55[_0xe0dd55['length']-0x1];_0x4ba0b3['oldRange']||(_0x4ba0b3['oldRange']=null),_0x4ba0b3['newRange']||(_0x4ba0b3['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x50acf5,_0x200c9a){return _0x200c9a['index']++,_0x50acf5['types']['push'](this['_id']),!0x0;}['decompress'](_0x3493e8,_0x2167f2){_0x2167f2['typeIndex']++,_0x3493e8['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x3979e5,_0x4490df,_0x327767,_0x14c451){super(_0x3979e5,_0x4490df,_0x327767),this['_omittedNamespace']=_0x14c451+':';}['compress'](_0x4e4670,_0x1243c9){const _0x2db16d=_0x1243c9['operations'][_0x1243c9['index']];return!('MarkerOperation'!=_0x2db16d['__className']||!_0x2db16d['name']['startsWith'](this['_omittedNamespace']))&&(_0x2db16d['name']=_0x2db16d['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x4e4670,_0x1243c9),!0x0);}['decompress'](_0x1e455a,_0x17a226){super['decompress'](_0x1e455a,_0x17a226);const _0x4fec8e=_0x1e455a[_0x1e455a['length']-0x1];_0x4fec8e['name']=this['_omittedNamespace']+_0x4fec8e['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0xb54d8e,_0x2d2f62){this['_id']=_0xb54d8e,this['_context']=_0x2d2f62;}['compress'](_0x6c71d1,_0x267145){let _0x4f95fb,_0x404900=_0x267145['operations'][_0x267145['index']],_0x323aaa=_0x267145['operations'][_0x267145['index']+0x1];for(;_0x323aaa&&this['_compareOperations'](_0x404900,_0x323aaa);)_0x4f95fb?(_0x4f95fb=this['_combineNext'](_0x404900,_0x4f95fb),_0x6c71d1['types']['push'](0x0)):(_0x4f95fb=kr(_0x404900),_0x6c71d1['types']['push'](this['_id'])),_0x267145['index']++,_0x404900=_0x267145['operations'][_0x267145['index']],_0x323aaa=_0x267145['operations'][_0x267145['index']+0x1];return!!_0x4f95fb&&(_0x4f95fb=this['_combineNext'](_0x267145['operations'][_0x267145['index']++],_0x4f95fb),_0x6c71d1['types']['push'](0x0),_0x6c71d1['buffers']['push'](this['_compressSingleOperation'](_0x4f95fb)),!0x0);}['decompress'](_0x14866a,_0x44a845){const _0x470d93=this['_decompressSingleOperation'](_0x44a845);for(;0x0==_0x44a845['types'][_0x44a845['typeIndex']];)_0x44a845['typeIndex']++,_0x14866a['push'](this['_splitCurrent'](_0x470d93));_0x14866a['push'](_0x470d93);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x1a9cb2,_0x579a65){return _0x579a65['nodes'][0x0]['data']+=_0x1a9cb2['nodes'][0x0]['data'],_0x579a65;}['_splitCurrent'](_0x4a9d1a){const _0x1496ab=kr(_0x4a9d1a),_0x1980ad=_0x1496ab['nodes'][0x0],_0x1288fe=_0x4a9d1a['nodes'][0x0],_0x51a337=_0x1288fe['data'][Symbol['iterator']]()['next']()['value'],_0x5e425f=_0x51a337['length'];return _0x1980ad['data']=_0x51a337,_0x1288fe['data']=_0x1288fe['data']['substr'](_0x5e425f),_0x4a9d1a['position']=xy(_0x4a9d1a['position'],_0x5e425f),_0x1496ab;}['_compareOperations'](_0x1fb69b,_0x3a6818){if(this['_checkOperation'](_0x1fb69b)&&this['_checkOperation'](_0x3a6818)){const _0x48b08a=_0x1fb69b['nodes'][0x0]['data']['length'],_0x52e4a8=Ry(xy(_0x1fb69b['position'],_0x48b08a),_0x3a6818['position']),_0x418b9e=_0x1fb69b['nodes'][0x0],_0x547444=_0x3a6818['nodes'][0x0];return _0x52e4a8&&this['_compareAttributes'](_0x418b9e,_0x547444);}return!0x1;}['_compressSingleOperation'](_0x1b0232){const _0x5d47a3={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x5d47a3,{'operations':[_0x1b0232],'index':0x0}),_0x5d47a3['buffers'][0x0];}['_decompressSingleOperation'](_0x317416){const _0x313a0c=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x313a0c,_0x317416),_0x313a0c[0x0];}['_checkOperation'](_0x22941f){return'InsertOperation'==_0x22941f['__className']&&0x1==_0x22941f['nodes']['length']&&_0x22941f['nodes'][0x0]['data']&&!_0x22941f['wasUndone']&&0x1==Array['from'](_0x22941f['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x255916,_0x3ef6a1){const _0x252770=Object['keys'](_0x255916['attributes']||{}),_0x2041a8=Object['keys'](_0x3ef6a1['attributes']||{});return _0x252770['length']===_0x2041a8['length']&&_0x252770['every'](_0x16e184=>_0x3ef6a1['attributes'][_0x16e184]&&_0x3ef6a1['attributes'][_0x16e184]===_0x255916['attributes'][_0x16e184]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x4a0ac6,_0x3f2c12){return _0x3f2c12['howMany']++,_0x3f2c12['sourcePosition']=kr(_0x4a0ac6['sourcePosition']),_0x3f2c12;}['_splitCurrent'](_0xadd613){const _0x267e9a=kr(_0xadd613);return _0xadd613['howMany']--,_0x267e9a['howMany']=0x1,_0x267e9a['sourcePosition']=xy(_0x267e9a['sourcePosition'],_0xadd613['howMany']),_0x267e9a;}['_compareOperations'](_0x2c390a,_0x4d8d78){return!(!this['_checkOperation'](_0x2c390a)||!this['_checkOperation'](_0x4d8d78))&&(Ry(xy(_0x2c390a['sourcePosition'],-0x1),_0x4d8d78['sourcePosition'])&&Ry(_0x2c390a['targetPosition'],_0x4d8d78['targetPosition']));}['_compressSingleOperation'](_0x48082c){const _0x4a27e3={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x4a27e3,{'operations':[_0x48082c],'index':0x0}),_0x4a27e3['buffers'][0x0];}['_decompressSingleOperation'](_0x37295a){const _0x27c0a0=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x27c0a0,_0x37295a),_0x27c0a0[0x0];}['_checkOperation'](_0x4da726){return'MoveOperation'==_0x4da726['__className']&&'$graveyard'==_0x4da726['targetPosition']['root']&&0x1==_0x4da726['howMany']&&!_0x4da726['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x5a40c0,_0x24ee33){return _0x24ee33['howMany']++,_0x24ee33;}['_splitCurrent'](_0x1319c9){const _0x2542f9=kr(_0x1319c9);return _0x2542f9['howMany']=0x1,_0x1319c9['howMany']--,_0x2542f9;}['_compareOperations'](_0x1f9bc6,_0x170e21){return!(!this['_checkOperation'](_0x1f9bc6)||!this['_checkOperation'](_0x170e21))&&(Ry(_0x1f9bc6['sourcePosition'],_0x170e21['sourcePosition'])&&Ry(_0x1f9bc6['targetPosition'],_0x170e21['targetPosition']));}['_compressSingleOperation'](_0x38f800){const _0x4e5e25={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x4e5e25,{'operations':[_0x38f800],'index':0x0}),_0x4e5e25['buffers'][0x0];}['_decompressSingleOperation'](_0x47a64b){const _0x386541=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x386541,_0x47a64b),_0x386541[0x0];}['_checkOperation'](_0x534b6f){return'MoveOperation'==_0x534b6f['__className']&&'$graveyard'==_0x534b6f['targetPosition']['root']&&0x1==_0x534b6f['howMany']&&!_0x534b6f['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0xab715,_0x3388e0){if(!this['_compareOperations'](_0x3388e0['operations'][_0x3388e0['index']],_0x3388e0['operations'][_0x3388e0['index']+0x1]))return!0x1;const _0xca1ff8=_0x3388e0['operations'][_0x3388e0['index']++];return _0xca1ff8['oldRange']=null,_0xca1ff8['newRange']&&Ry(_0xca1ff8['newRange']['start'],_0xca1ff8['newRange']['end'])&&(_0xca1ff8['newRange']['end']=null),_0x3388e0['index']++,_0xab715['types']['push'](this['_id']),_0xab715['types']['push'](0x0),_0xab715['buffers']['push'](this['_compressSingleOperation'](_0xca1ff8)),!0x0;}['decompress'](_0x300325,_0x3a5807){const _0x10136c=this['_decompressSingleOperation'](_0x3a5807);_0x10136c['newRange']&&!_0x10136c['newRange']['end']&&(_0x10136c['newRange']['end']=kr(_0x10136c['newRange']['start']));const _0x5007f3=kr(_0x10136c);_0x5007f3['newRange']&&(_0x5007f3['newRange']['start']['stickiness']='toNone',_0x5007f3['newRange']['end']=kr(_0x5007f3['newRange']['start'])),_0x5007f3['name']='user:position:'+_0x5007f3['name']['split'](':')[0x2],_0x3a5807['typeIndex']++,_0x300325['push'](_0x10136c),_0x300325['push'](_0x5007f3);}['_compressSingleOperation'](_0x32adf8){const _0x59890e={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x59890e,{'operations':[_0x32adf8],'index':0x0}),_0x59890e['buffers'][0x0];}['_decompressSingleOperation'](_0x555206){const _0x5cd33b=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x5cd33b,_0x555206),_0x5cd33b[0x0];}['_compareOperations'](_0x1f8972,_0x3d50cc){return!(!_0x1f8972||!_0x3d50cc)&&('MarkerOperation'==_0x1f8972['__className']&&'MarkerOperation'==_0x3d50cc['__className']&&!(!_0x1f8972['name']['startsWith']('user:')||!_0x3d50cc['name']['startsWith']('user:')||_0x1f8972['name']==_0x3d50cc['name']));}}class Compressor{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x26dc3a=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new NoOperationCompressor(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0xb,'InsertOperation',InsertOperationCompressor),this['_registerOperationCompressor'](0xc,'MarkerOperation',MarkerOperationCompressor),this['_registerOperationCompressor'](0xd,'MergeOperation',OperationCompressor),this['_registerOperationCompressor'](0xe,'MoveOperation',OperationCompressor),this['_registerOperationCompressor'](0xf,'RenameOperation',OperationCompressor),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',AttributeOperationCompressor),this['_registerOperationCompressor'](0x11,'SplitOperation',OperationCompressor),this['_registerCompressor'](0x12,'CommentMarkerOperation',new AnnotationMarkerOperationCompressor(0x12,'MarkerOperation',_0x26dc3a,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x26dc3a,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',OperationCompressor),this['_registerActionCompressor'](0x64,'TypingAction',TypingActionCompressor),this['_registerActionCompressor'](0x65,'DeletingAction',DeletingActionCompressor),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',ForwardDeletingActionCompressor),this['_registerActionCompressor'](0x67,'UserSelectionAction',UserSelectionActionCompressor);}['compress'](_0x22d5eb){if(!_0x22d5eb||!_0x22d5eb[0x0])throw new _0x522f1f('no-operations-provided',this);const _0x13b9b2={'operations':_0x22d5eb,'index':0x0},_0x4de1d9={'types':[],'buffers':[],'baseVersion':_0x22d5eb[0x0]['baseVersion']};for(;_0x13b9b2['index']<_0x13b9b2['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x4de1d9,_0x13b9b2))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x4de1d9,_0x13b9b2))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x4de1d9,_0x13b9b2))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x4de1d9,_0x13b9b2))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x4de1d9,_0x13b9b2))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x4de1d9,_0x13b9b2))continue;const _0x4a20dd=_0x13b9b2['operations'][_0x13b9b2['index']]['__className'];this['_getCompressorByName'](_0x4a20dd)['compress'](_0x4de1d9,_0x13b9b2);}return _0x4de1d9;}['decompress'](_0xa967c7){const _0x5694ea=[],_0xf0d4b2={'types':_0xa967c7['types'],'buffers':_0xa967c7['buffers'],'baseVersion':_0xa967c7['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0xf0d4b2['typeIndex']<_0xf0d4b2['types']['length'];){const _0x81dbae=_0xf0d4b2['types'][_0xf0d4b2['typeIndex']],_0x3ea518=this['_compressorById']['get'](_0x81dbae);if(!_0x3ea518)throw new _0x522f1f('decompress-compressor-not-found',this,{'type':_0x81dbae});_0x3ea518['decompress'](_0x5694ea,_0xf0d4b2);}return _0x5694ea['forEach']((_0x3178a5,_0x47a17b)=>_0x3178a5['baseVersion']=_0xa967c7['baseVersion']+_0x47a17b),_0x5694ea;}['_getCompressorByName'](_0x46f05b){return this['_compressorByName']['get'](_0x46f05b);}['_registerOperationCompressor'](_0x215014,_0x1ee4de,_0x27688a){const _0x409fb2=new _0x27688a(_0x215014,_0x1ee4de,this['_protobufFactory']['getDescriptor'](_0x1ee4de));this['_registerCompressor'](_0x215014,_0x1ee4de,_0x409fb2);}['_registerActionCompressor'](_0x47a41a,_0x5ab78e,_0x320d45){const _0x3ff8cc=new _0x320d45(_0x47a41a,this);this['_registerCompressor'](_0x47a41a,_0x5ab78e,_0x3ff8cc);}['_registerCompressor'](_0x29fa18,_0x5a77fa,_0x523a32){this['_compressorById']['set'](_0x29fa18,_0x523a32),this['_compressorByName']['set'](_0x5a77fa,_0x523a32);}}let Ly=0x1;class RealTimeCollaborationClient extends _0x151d85{static ['CollaborativeEditingService']=/* #__PURE__ -- @preserve */
((()=>CollaborativeEditingService)());['_offset'];['sessionId'];['serverHistory'];['_channelId'];['_service'];['_document'];['_compressor'];['_bufferedOperations'];['_knownOperations'];['_knownRootNames'];['_pendingAction'];['_hasSelectionChanged'];['_sendBufferedOperationsDelayId'];['_baseBufferDelay'];['_currentBufferDelay'];['_lastSyncedOperationId'];['_disconnectionOperations'];['_operationIdentifier'];static get['requires'](){return[WebSocketGateway,Sessions,UserMarkers,_0x1bb5aa,Users,Qt];}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 _0x3c68fe=this['serverHistory']['getOperations']();for(let _0x268940=_0x3c68fe['length']-0x1;_0x268940>=0x0;_0x268940--){const _0x441b40=_0x3c68fe[_0x268940];if(!this['_disconnectionOperations']['has'](_0x441b40))return _0x441b40['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x21b5a){if(super(_0x21b5a),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x55cc22(),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x522f1f('collaboration-missing-channelid',this);const _0x300c17=_0x21b5a['config']['get']('cloudServices.bundleVersion')||_0xe3d6ee;this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x300c17,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new Compressor(),this['_bufferedOperations']=[],this['_knownOperations']=new WeakSet(),this['_knownRootNames']=new Set(),this['set']('_isPendingUpdate',!0x1),this['set']('_hasSynchronizationProblem',!0x1),this['_pendingAction']=null,this['_hasSelectionChanged']=!0x1,this['_sendBufferedOperationsDelayId']=null,this['_baseBufferDelay']=0x12c,this['_currentBufferDelay']=this['_baseBufferDelay'],this['_lastSyncedOperationId']=null,this['_disconnectionOperations']=new WeakSet(),this['_operationIdentifier']=new OperationIdentifier(this['_disconnectionOperations']);}['init'](){const _0x421cb2=this['editor'],_0x3be6c1=_0x421cb2['plugins']['get'](Users),_0x5c6ee8=_0x421cb2['plugins']['get'](WebSocketGateway);this['listenTo'](_0x3be6c1,'getOperationAuthor',(_0x329ab7,_0x7466b3)=>{const _0x1cfac7=_0x7466b3[0x0];_0x1cfac7['_authorId']&&(_0x329ab7['return']=_0x3be6c1['getUser'](_0x1cfac7['_authorId']),_0x329ab7['stop']()),null===_0x1cfac7['_authorId']&&(_0x329ab7['return']=null,_0x329ab7['stop']());},{'priority':'high'}),this['listenTo'](_0x421cb2['model']['document']['selection'],'change:range',(_0x205d9a,_0x343533)=>{_0x343533['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x421cb2['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x421cb2['model']['on']('applyOperation',(_0x4f6c4c,_0x488657)=>{const _0x42a032=_0x488657[0x0];_0x42a032['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x42a032),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x5c6ee8,'state',this,'_hasSynchronizationProblem',(_0xbfdea6,_0x3bcef4)=>'connected'===_0xbfdea6&&!_0x3bcef4),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x421cb2['disableReadOnlyMode']('rtc-offline'):_0x421cb2['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x421cb2['disableReadOnlyMode']('rtc-offline'):_0x421cb2['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x312ea0=this['editor']['plugins']['get'](Sessions),_0x48aebe=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x312ea0['unregister'](this['_channelId']);const _0x2cce2e=await this['_service']['reconnect'](_0x48aebe['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x2cce2e)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x2c055e=await this['_service']['getConnectedSessions']();_0x312ea0['register'](this['_channelId'],_0x2c055e),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x2f26fe){if(function(_0x4b886f){return'404'===_0x4b886f['code'];}(_0x2f26fe)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x3a0c8e){return'409'===_0x3a0c8e['code'];}(_0x2f26fe)){const _0x7f30ab=Cy(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'](_0x7f30ab);}else{if(!(_0x2f26fe instanceof ReconnectionError))throw _0x2f26fe;this['_handleReconnectionError']();}}}}['destroy'](){const _0x3f46a5=this['editor']['plugins']['get'](WebSocketGateway),_0x56e5f7=this['editor']['plugins']['get'](Sessions);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x56e5f7['channelSessions']['has'](this['_channelId'])&&_0x56e5f7['unregister'](this['_channelId']),_0x3f46a5['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x4324a3){if(this['sessionId']!==_0x4324a3['sessionId']&&this['_lastSyncedOperationId']!==_0x4324a3['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x4324a3['sessionId'],this['_handleServerResponse']([],{..._0x4324a3,'wereChangesApplied':!0x1,'data':_0x4324a3['data']},'reconnect');}async['_connectService'](_0x121fc2,_0x435e7d=!0x1){const {connection:_0x3f9f0a}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x3f9f0a,this['_channelId'])['then'](_0x30c67b=>this['_initSessionsHandling'](_0x30c67b))['catch'](_0x1695f5=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x1695f5);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x2d14eb,_0x367434)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x367434);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x26a776=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x121fc2);this['_isPendingUpdate']=!0x0;const _0x543b23=await this['_service']['connect'](_0x3f9f0a,this['_compressOperations'](_0x121fc2),_0x26a776);if(this['sessionId']=_0x543b23['sessionId'],_0x435e7d){if(!_0x543b23['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x543b23['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x121fc2,_0x543b23,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x543b23,_0x121fc2);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x4dcddf=this['editor']['plugins']['get'](Sessions),_0x36e7be=this['editor']['plugins']['get'](UserMarkers),_0x24c6a3=_0x4dcddf['channelSessions']['get'](this['_channelId']);_0x24c6a3&&_0x24c6a3['length']>0x1?_0x36e7be['createUserMarkerOperations']():this['listenTo'](_0x4dcddf,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x4dcddf['channelSessions']['get'](this['_channelId'])['length']&&_0x36e7be['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x5e55b9,_0x25462b,_0x32219e,_0x1accec){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x25462b){const _0x428daf=this['_decompressOperations'](_0x32219e,_0x1accec);await this['_fetchMissingUsers'](_0x428daf),this['_handleExternalOperations'](_0x428daf,_0x25462b,_0x32219e['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x54b362}=this['editor'];let _0x759207;try{_0x759207=await this['_service']['getDocumentDetails']();}catch{const _0x3a1001=Cy(_0x54b362,'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'](_0x3a1001);}const _0x7e5b1c=_0x759207['currentDocumentSession']||_0x759207['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x7e5b1c['lastOperationId']){const _0x11037e=Cy(_0x54b362,'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'](_0x11037e);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x1ffba4){const _0x30b206=this['editor']['plugins']['get'](Sessions);this['listenTo'](_0x30b206,'sessionAdd:'+this['_channelId'],(_0x3159d4,{session:_0x31d94a})=>{if(_0x31d94a['id']===_0x30b206['mySessionId']){_0x3159d4['off']();const _0x2b2e12=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x235805=_0x31d94a['permissions'];_0x2b2e12&&_0x2b2e12['isEnabled']&&(_0x235805=_0x235805['filter'](_0x36780d=>'document:write'!==_0x36780d)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x235805,this['_channelId']);}}),_0x30b206['register'](this['_channelId'],_0x1ffba4);}['_initThrowingOnDataSet'](){const _0x4cca0e=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x5a106c)=>{if(!_0x5a106c[_0x5a106c['length']-0x1]['suppressErrorInCollaboration'])throw new _0x522f1f('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x4cca0e['apply'](this['editor']['data'],_0x5a106c);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x5ca334,[_0x364cba])=>{if(this['_document']['version'])throw new _0x522f1f('realtimecollaborationclient-init-document-already-initialized',this);_0x5ca334['stop'](),this['_setPendingAction']();const _0x2344f1=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x45fe89])=>!_0x45fe89['lazyLoad'])['map'](([_0x5f58be,_0x20c3cc])=>[_0x5f58be,_0x20c3cc['modelAttributes']||{}])),_0x3d6823=this['_getOperationsFromInitData'](_0x364cba,_0x2344f1);0x0==_0x3d6823['length']&&_0x3d6823['push'](new _0x2d2051(0x0)),_0x5ca334['return']=this['_connectService'](_0x3d6823)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x550481=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x550481))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x405b0e,[_0x137cda,_0x3d5adf])=>{_0x405b0e['stop']();const _0x365d5b=this['editor']['model']['document']['getRoot'](_0x137cda);if(!this['_knownRootNames']['has'](_0x137cda)){const _0x3e573d=_0x3d5adf&&_0x3d5adf['data']?_0x3d5adf['data']:'',_0x5b6cea=_0x3d5adf&&_0x3d5adf['attributes']?_0x3d5adf['attributes']:{};await this['_loadRoot'](_0x137cda,_0x3e573d,_0x5b6cea);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x365d5b['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x365d5b);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x520bc5){const _0x1f938d=this['editor']['plugins']['get'](Users),{connection:_0x35cbe6}=this['editor']['plugins']['get'](WebSocketGateway),_0x33de53=new Set();for(const _0x261750 of _0x520bc5){const _0x364968=_0x261750['_authorId'];_0x364968&&!_0x1f938d['getUser'](_0x364968)&&_0x33de53['add'](_0x364968);}if(0x0===_0x33de53['size'])return;const _0x2430bb=await User['getMany'](_0x35cbe6,Array['from'](_0x33de53));for(const _0x5989a9 of _0x2430bb)_0x1f938d['getUser'](_0x5989a9['id'])||_0x1f938d['addUser'](_0x5989a9);}['_getOperationsFromInitData'](_0x1db9b8,_0x218dd9={}){const _0x301c0d=this['editor']['model'],_0x2b48c4=[];let _0x2f85d7=0x0;const _0x543eca='string'==typeof _0x1db9b8?{'main':_0x1db9b8}:_0x1db9b8;for(const _0x120dcf of Object['keys'](_0x543eca)){if(!this['_document']['roots']['has'](_0x120dcf))throw new _0x522f1f('realtimecollaborationclient-init-non-existent-root',this);const _0xe2eed4=this['_document']['getRoot'](_0x120dcf),_0x74c543=this['editor']['data']['parse'](_0x543eca[_0x120dcf],_0xe2eed4),_0x263e94=new _0xf189cc(_0x301c0d['createPositionAt'](_0xe2eed4,0x0),_0x74c543,_0x2f85d7++);_0x2b48c4['push'](_0x263e94);for(const [_0x349156,_0x5c2c67]of _0x74c543['markers']){const _0x414282=_0x301c0d['createRange'](_0x301c0d['createPositionFromPath'](_0xe2eed4,_0x5c2c67['start']['path']['slice']()),_0x301c0d['createPositionFromPath'](_0xe2eed4,_0x5c2c67['end']['path']['slice']())),_0x205b96=new _0x16ce72(_0x349156,null,_0x414282,_0x301c0d['markers'],!0x0,_0x2f85d7++);_0x2b48c4['push'](_0x205b96);}}if(_0x218dd9)for(const [_0x11668d,_0xd1a516]of Object['entries'](_0x218dd9)){const _0x4f3a0c=_0x301c0d['document']['getRoot'](_0x11668d);if(!_0x4f3a0c)throw new _0x522f1f('multi-root-editor-root-attributes-no-root',null);for(const [_0x12c381,_0x335c36]of Object['entries'](_0xd1a516))if(null!==_0x335c36){const _0x577c39=new _0x2a30cf(_0x4f3a0c,_0x12c381,null,_0x335c36,_0x2f85d7++);_0x2b48c4['push'](_0x577c39);}}return _0x2b48c4;}async['_loadRoot'](_0x4ae821,_0x28b9aa,_0x2bfe2a){this['_getOperationsFromInitData']({[_0x4ae821]:_0x28b9aa},{[_0x4ae821]:_0x2bfe2a})['forEach']((_0x48d7e7,_0xd847c3)=>{_0x48d7e7['baseVersion']=this['_document']['version']+_0xd847c3,_0x48d7e7['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x48d7e7);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x1cffbc,_0x32f094){let _0x21c9e3;this['_offset']=_0x1cffbc['offset'];const _0x1547e9=_0x1cffbc['wereChangesApplied']&&!_0x1cffbc['initData'],_0x418c52=_0x1547e9?0x0:_0x1cffbc['data']['baseVersion'];if(_0x32f094['forEach'](_0x5c9af8=>{_0x5c9af8['_isInit']=!0x0,_0x5c9af8['createdAt']=_0x1cffbc['sessionCreatedAt'],_0x5c9af8['_authorId']=null;}),_0x1547e9)_0x21c9e3=_0x32f094,this['_applyOperationsSet'](_0x21c9e3,_0x1547e9);else{if(_0x1cffbc['initData']){const _0xb1da88=this['_getOperationsFromInitData'](_0x1cffbc['initData']);this['_document']['history']['version']=-_0xb1da88['length'],_0xb1da88['forEach'](_0x351727=>{_0x351727['baseVersion']-=_0xb1da88['length'],_0x351727['createdAt']=_0x1cffbc['sessionCreatedAt'],_0x351727['_isInit']=!0x0,_0x351727['_authorId']=null;}),this['_applyOperationsSet'](_0xb1da88,!0x0),this['serverHistory']['version']=-_0xb1da88['length']+this['_offset'],this['_updateServerHistory'](_0xb1da88);}this['_document']['history']['version']=_0x418c52,_0x21c9e3=this['_decompressOperations'](_0x1cffbc['data'],_0x1cffbc['metadata']),await this['_fetchMissingUsers'](_0x21c9e3),this['_applyOperationsSet'](_0x21c9e3,_0x1547e9);}_0x1cffbc['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x21c9e3,_0x1cffbc['lastOperationId']),this['_lastSyncedOperationId']=_0x1cffbc['lastOperationId']),this['serverHistory']['version']=_0x418c52+this['_offset'],this['_updateServerHistory'](_0x21c9e3),_0x32f094['filter'](_0x435ba4=>{const _0x440101=this['_getAffectedRoot'](_0x435ba4);return _0x440101&&!this['_knownRootNames']['has'](_0x440101);})['forEach']((_0x467fdf,_0x4e052a)=>{_0x467fdf['baseVersion']=this['_document']['version']+_0x4e052a,this['_saveOperationInBuffer'](_0x467fdf);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x2da7c3,_0x2f43e5){const _0x2aa2e4=_0x2f43e5&&_0x2f43e5['message'];if(_0x2aa2e4&&_0x2aa2e4['startsWith']('realtimecollaborationclient'))throw _0x2f43e5;const _0x146db4=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x146db4['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x522f1f(_0x2da7c3,this['editor'],_0x2aa2e4?{'originalError':_0x2aa2e4}:void 0x0);}['_saveOperationInBuffer'](_0xbd64fb){this['_knownOperations']['has'](_0xbd64fb)||(this['_knownOperations']['add'](_0xbd64fb),this['_bufferedOperations']['push'](_0xbd64fb),this['_pendingAction']||'marker'==_0xbd64fb['type']&&!_0xbd64fb['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x4b10da=!0x1){!_0x4b10da&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x568e98=>{_0x568e98&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x2e71a9=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x15fbb0){return _0x15fbb0['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x15fbb0['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x15fbb0['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x2e71a9)||this['_crash'](_0x2e71a9['message'],_0x2e71a9);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x485a54=>{this['on']('change:_isPendingUpdate',()=>{_0x485a54();});});}async['_sendBufferedOperations'](){const _0x53e612=this['editor']['plugins']['get'](UserMarkers);if(this['_shouldSendSelectionUpdate']()&&(_0x53e612['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x40aa45=[...this['_bufferedOperations']];for(const _0x4ebd03 of _0x40aa45)_0x4ebd03['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x4ebd03);const _0x521993=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x40aa45),_0x3752ac=Ly++,_0xfb7f84=this['_compressOperations'](_0x40aa45),_0x37c669=await this['_service']['sendOperations'](_0xfb7f84,_0xfb7f84['baseVersion'],_0x521993);try{return await this['_handleServerResponse'](_0x40aa45,_0x37c669,_0x3752ac);}catch(_0x3c3387){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x3c3387);}}async['_handleServerResponse'](_0x4711fe,_0x283258,_0x51940c){if('error'in _0x283258)throw _0x283258['error'];let _0x27e56a=!0x1;if(_0x283258['wereChangesApplied']){_0x283258['lastOperationId']&&(this['_lastSyncedOperationId']=_0x283258['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x1bdb53=>!_0x4711fe['includes'](_0x1bdb53));for(const _0x4be999 of _0x4711fe)_0x4be999['createdAt']='lastOperationAcceptedAt'in _0x283258&&_0x283258['lastOperationAcceptedAt']||void 0x0;$y(_0x4711fe,_0x283258['version']-_0x4711fe['length']),this['_updateServerHistory'](_0x4711fe);const _0x4234ff=_0x4711fe['filter'](_0x115db1=>{if(!_0x115db1['_isInit'])return!0x1;const _0x2c5626=this['_getAffectedRoot'](_0x115db1);return _0x2c5626&&!this['_knownRootNames']['has'](_0x2c5626);});$y(_0x4234ff,this['_document']['version']),this['_applyOperationsSet'](_0x4234ff),_0x27e56a=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0xa599d5=this['_decompressOperations'](_0x283258['data'],_0x283258['metadata'])['filter'](_0xd8db36=>_0xd8db36['baseVersion']>=this['_lastServerVersion']);_0xa599d5['forEach'](_0x40bd80=>this['_addKnownRoot'](_0x40bd80)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x2355cf=>!_0x2355cf['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x2355cf))),this['_bufferedOperations']['length']&&$y(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0xa599d5),_0x27e56a=this['_handleExternalOperations'](_0xa599d5,_0x283258['version'],_0x283258['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x27e56a?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x3f2ec5,_0x19ca74,_0x16750d){try{const _0x50543a={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x471fb0,operationsB:_0x9d14c1,originalOperations:_0x514324}=_0x142dc9(_0x3f2ec5,this['_bufferedOperations'],_0x50543a);$y(_0x471fb0,this['_document']['version']),$y(_0x9d14c1,_0x19ca74);for(const _0xd865a of _0x471fb0){const _0x1f88e3=_0x514324['get'](_0xd865a);_0xd865a['_authorId']=_0x1f88e3?_0x1f88e3['_authorId']:null;}_0x16750d&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x3f2ec5,_0x16750d),this['_lastSyncedOperationId']=_0x16750d),this['_bufferedOperations']=[..._0x9d14c1],this['_applyOperationsSet'](_0x471fb0),this['_updateServerHistory'](_0x3f2ec5);}catch(_0x4254c9){return console['error'](_0x4254c9),!0x1;}return!0x0;}['_applyOperationsSet'](_0x419a43,_0xc6be0d=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x3feee6=>{for(const _0x579a68 of _0x419a43)this['_knownOperations']['add'](_0x579a68),this['_addKnownRoot'](_0x579a68),_0x3feee6['batch']['addOperation'](_0x579a68),this['editor']['model']['applyOperation'](_0x579a68);});}['_addKnownRoot'](_0x37b35b){const _0x3755e6=this['_getAffectedRoot'](_0x37b35b);_0x3755e6&&this['_knownRootNames']['add'](_0x3755e6);}['_getAffectedRoot'](_0x305834){let _0x6836e0,_0x28706f;switch(_0x305834['type']){case'insert':_0x6836e0=_0x305834['position']['root'];break;case'marker':if(_0x28706f=_0x305834['newRange'],!_0x28706f)return null;_0x6836e0=_0x28706f['root'];break;case'addRootAttribute':_0x6836e0=_0x305834['root'];break;case'addRoot':_0x6836e0=_0x305834['affectedSelectable'];break;case'move':_0x6836e0=_0x305834['targetPosition']['root'];break;default:return null;}return _0x6836e0['rootName'];}['_updateServerHistory'](_0x5ce9f2){_0x5ce9f2['forEach'](_0x4ab804=>{const _0x5208f3=_0x4ab804['clone']();_0x5208f3['_authorId']=_0x4ab804['_authorId'],_0x5208f3['_isInit']=!!_0x4ab804['_isInit'],_0x5208f3['createdAt']=_0x4ab804['createdAt'],_0x5208f3['baseVersion']+=this['_offset'],_0x4ab804['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x5208f3),this['serverHistory']['addOperation'](_0x5208f3);});}['_handleReconnectionError'](_0x1226d9){const _0x62677f=this['editor']['plugins']['get']('Notification'),_0x1ef2b4=this['editor']['locale'];_0x1226d9||(_0x1226d9=Cy(_0x1ef2b4,'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.')),_0x62677f['showWarning'](_0x1226d9,{'title':Cy(_0x1ef2b4,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](WebSocketGateway)['disconnect']();}['_setPendingAction'](){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](_0x1bb5aa)['add'](Cy(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x1bb5aa)['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x5ac3fa){const _0x4a41f8=_0x5ac3fa['map'](_0xf7f8=>_0xf7f8['toJSON']());return this['_compressor']['compress'](_0x4a41f8);}['_decompressOperations'](_0x31d102,_0x5c4f7c){return this['_compressor']['decompress'](_0x31d102)['map']((_0x28b3fb,_0x373973)=>{const _0x56fb44='init'==_0x5c4f7c[_0x373973]['type'];if('InsertOperation'==_0x28b3fb['__className']){const _0x1be016=_0x28b3fb['position']['root'];!this['_document']['getRoot'](_0x1be016)&&(this['_document']['createRoot']('$unknown',_0x1be016)['_isAttached']=!0x1);}else{if('RootOperation'==_0x28b3fb['__className']){const _0x2f005f=this['_document']['getRoot'](_0x28b3fb['rootName']);_0x2f005f&&'$unknown'==_0x2f005f['name']&&_0x28b3fb['elementName']!=_0x2f005f['name']&&(_0x2f005f['name']=_0x28b3fb['elementName']);}}const _0x5a79e1=tn['fromJSON'](_0x28b3fb,this['_document']);return _0x5a79e1['wasUndone']=_0x28b3fb['wasUndone'],_0x5a79e1['_isInit']=_0x56fb44,_0x5a79e1['_authorId']=_0x56fb44?null:_0x5c4f7c[_0x373973]['userId'],_0x5a79e1['_isDisconnection']='cs:removeUser'===_0x5c4f7c[_0x373973]['type'],_0x5a79e1['createdAt']=_0x5c4f7c[_0x373973]['createdAt'],_0x5a79e1;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x5452ba=this['editor']['plugins']['get'](Sessions)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x5452ba&&_0x5452ba['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function $y(_0x25f92b,_0x4f1067){for(const _0x2ca56a of _0x25f92b)_0x2ca56a['baseVersion']=_0x4f1067++;}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x2c3991){this['_ignoredOperations']=_0x2c3991,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x4577c2){let _0x5871de=_0x4577c2['length'];for(;_0x5871de--;){const _0x440bd6=_0x4577c2[_0x5871de];if(!this['_ignoredOperations']['has'](_0x440bd6)){if(!this['_operationToId']['has'](_0x440bd6)){const _0x36375b=_0x3eda13()['slice'](0x1,0x12);this['_operationToId']['set'](_0x440bd6,_0x36375b);}return this['_operationToId']['get'](_0x440bd6);}}}['setIdForTheLastOperation'](_0x238b2d,_0x1845c6){if(!_0x1845c6)return;let _0x529d70=_0x238b2d['length'];for(;_0x529d70--;){const _0x2f2d98=_0x238b2d[_0x529d70];this['_ignoredOperations']['has'](_0x2f2d98)||this['_operationToId']['set'](_0x2f2d98,_0x1845c6);}}}class RealTimeCollaborativeEditing extends _0x151d85{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class TrackChangesCommand extends _0x208eac{['_enabledCommands'];constructor(_0x3040ea,_0x77d505){super(_0x3040ea),this['_enabledCommands']=_0x77d505,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 _0x14dcc1 of this['editor']['commands']['commands']())_0x14dcc1['affectsData']&&!this['_enabledCommands']['has'](_0x14dcc1)&&_0x14dcc1['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x2124a0 of this['editor']['commands']['commands']())_0x2124a0['affectsData']&&!this['_enabledCommands']['has'](_0x2124a0)&&_0x2124a0['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0x208eac{['_suggestions'];constructor(_0x33fb0e,_0x9afc5f){super(_0x33fb0e),this['_suggestions']=_0x9afc5f,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x39aa57){const _0x5eefef=this['_suggestions']['get'](_0x39aa57);if(!_0x5eefef)throw new _0x522f1f('track-changes-accept-suggestion-not-found',this);const _0x2b129f=_0x5eefef['getRanges']();this['editor']['model']['canEditAt'](_0x2b129f)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x5eefef);}}class DiscardSuggestionCommand extends _0x208eac{['_suggestions'];constructor(_0x41b334,_0x28e5ae){super(_0x41b334),this['_suggestions']=_0x28e5ae,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x1f6a85){const _0x170294=this['_suggestions']['get'](_0x1f6a85);if(!_0x170294)throw new _0x522f1f('track-changes-discard-suggestion-not-found',this);const _0x412d24=_0x170294['getRanges']();this['editor']['model']['canEditAt'](_0x412d24)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x170294);}}function Dy(_0xa04a73,_0x1649fb){let _0x1f16be='';return _0x1f16be+=_0xa04a73['split']('*')['map']((_0x4f5145,_0x33c577)=>_0x33c577%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+Qy(_0x4f5145)+'</span>':Qy(_0x4f5145))['join'](''),_0x1649fb&&(_0x1f16be+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x1649fb['value']+'\x22\x20title=\x22'+_0x1649fb['title']+'\x22></span>'),_0x1f16be;}function Qy(_0x41657c){const _0x39a321=document['createElement']('span');return _0x39a321['innerText']=_0x41657c,_0x39a321['innerHTML'];}function Vy(_0xbe3172){return _0xbe3172['sort']((_0x27f4ad,_0x1be013)=>'attribute'===_0x27f4ad['type']&&'attribute'!==_0x1be013['type']?-0x1:'attribute'!==_0x27f4ad['type']&&'attribute'===_0x1be013['type']?0x1:'deletion'==_0x27f4ad['type']&&'deletion'!=_0x1be013['type']?-0x1:'deletion'!=_0x27f4ad['type']&&'deletion'==_0x1be013['type']?0x1:0x0);}function Uy(_0x5ac7da,_0x16c467){let _0x1d31d7,_0x527e9c=0x0;const _0x408104=[],_0xa1925=_0x16c467['schema'];for(;_0x527e9c<_0x5ac7da['length'];){const _0x4f45a9=_0x5ac7da[_0x527e9c],_0x40d904=_0x5ac7da[_0x527e9c+0x1];_0x1d31d7||(_0x1d31d7=_0x16c467['createPositionBefore'](_0x4f45a9)),By(_0x16c467,_0x4f45a9,_0x40d904)||(_0x408104['push'](_0x16c467['createRange'](_0x1d31d7,_0xa1925['isObject'](_0x4f45a9)?_0x16c467['createPositionAfter'](_0x4f45a9):_0x16c467['createPositionAt'](_0x4f45a9,'end'))),_0x1d31d7=null),_0x527e9c++;}return _0x408104;}function By(_0x5d123a,_0x24a922,_0x447aa7){if(!_0x447aa7)return!0x1;const _0x1635c0=_0x5d123a['createPositionAfter'](_0x24a922),_0x1895a3=_0x5d123a['createPositionBefore'](_0x447aa7);return _0x1635c0['isTouching'](_0x1895a3);}function Fy(_0x4a054f,_0x493b32,_0x4d0537){for(;_0x4d0537['length'];){const _0x5bce1f=_0x4d0537['splice'](0x0,0x64);_0x4a054f['change'](()=>{for(const _0x2c6732 of _0x5bce1f)_0x2c6732['isInContent']&&_0x493b32['execute'](_0x2c6732['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0x208eac{['_command'];['_suggestions'];constructor(_0x47a9f7,_0x5a26d1,_0x13a75c){super(_0x47a9f7),this['_command']=_0x5a26d1,this['_suggestions']=_0x13a75c,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x2a08f0=Array['from'](this['_suggestions']['values']())['some'](_0x1a3893=>_0x1a3893['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x2a08f0;}['execute'](){const _0x2400cf=Vy(Array['from'](this['_suggestions']['values']()));for(const _0x4f349b of _0x2400cf){const _0x38c1de=_0x4f349b['getRanges']();if(!this['editor']['model']['canEditAt'](_0x38c1de))return;}Fy(this['editor']['model'],this['_command'],_0x2400cf);}}class ExecuteOnSelectedSuggestionsCommand extends _0x208eac{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x32075d,_0x1f1e48,_0x24e0ab){super(_0x32075d),this['_command']=_0x1f1e48,this['_suggestions']=_0x24e0ab,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x55148e=this['editor']['model']['document']['selection'],_0x1c0c26=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x737c00,_0x3f2ce9){const _0x5e972e=Array['from'](_0x737c00['getRanges']()),_0x430f6a=new Set();for(const _0x514110 of _0x3f2ce9)if(_0x514110['isInContent']){for(const _0x4fad60 of _0x5e972e)for(const _0x235f1f of _0x514110['getRanges']())(_0x4fad60['isIntersecting'](_0x235f1f)||_0x737c00['isCollapsed']&&!_0x514110['isMultiRange']&&_0x514110['next']&&_0x235f1f['end']['isTouching'](_0x4fad60['start']))&&_0x430f6a['add'](_0x514110);}return _0x430f6a;}(_0x55148e,_0x1c0c26),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x267450=Vy(Array['from'](this['_selectedSuggestions']));for(const _0x268de3 of _0x267450){const _0x96db33=_0x268de3['getRanges']();if(!this['editor']['model']['canEditAt'](_0x96db33))return;}Fy(this['editor']['model'],this['_command'],_0x267450);}}class Suggestion extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x217277,_0x4d2a79){super(),this['id']=_0x4d2a79['id'],this['type']=_0x4d2a79['type'],this['subType']=_0x4d2a79['subType']||null,this['author']=_0x4d2a79['author'],this['creator']=_0x4d2a79['creator']||_0x4d2a79['author'],this['isExternal']=Boolean(_0x4d2a79['attributes']&&_0x4d2a79['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x4d2a79['originalSuggestionId']||null,this['_model']=_0x217277,this['_onAccept']=_0x4d2a79['onAccept'],this['_onDiscard']=_0x4d2a79['onDiscard'],this['_onAttributesChange']=_0x4d2a79['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x4d2a79['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get['head'](){let _0x57aa80=this;for(;_0x57aa80['previous'];)_0x57aa80=_0x57aa80['previous'];return _0x57aa80;}get['hasComments'](){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get['isMultiRange'](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0xaf64ca){this['_markerNames']['add'](_0xaf64ca);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x432e4a=>this['_model']['markers']['get'](_0x432e4a))['filter'](_0x7bcdd9=>_0x7bcdd9);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x316dda=>{for(const _0x237a96 of this['getMarkers']())_0x316dda['removeMarker'](_0x237a96);}),this['_markerNames']['clear']();}['removeMarker'](_0x3256f7){this['_model']['change'](_0x53b261=>{_0x53b261['removeMarker'](_0x3256f7);}),this['_markerNames']['delete'](_0x3256f7);}['addRange'](_0x5bf7d6){const _0x583875='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x583875),this['_model']['change'](_0x43c26a=>{_0x43c26a['addMarker'](_0x583875,{'range':_0x5bf7d6,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x1ecd21){for(const _0x57d11c of this['getRanges']())if(_0x57d11c['isIntersecting'](_0x1ecd21))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x40bd3c=>_0x40bd3c['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x267691,_0x3c447e)=>[..._0x267691,..._0x3c447e['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x2f99f1=this['getRanges']();if(0x1!=_0x2f99f1['length'])return null;const _0x291c23=_0x2f99f1[0x0],_0x251d05=_0x291c23['start']['nodeAfter'],_0x3ead51=_0x291c23['end']['nodeBefore'];return _0x251d05 instanceof _0x48588f?_0x251d05!=_0x3ead51?null:_0x251d05: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 _0x495ea9=[];let _0x35ec3f=this['head'];for(;_0x35ec3f;)_0x495ea9['push'](_0x35ec3f),_0x35ec3f=_0x35ec3f['next'];return _0x495ea9;}['setAttribute'](_0x233f24,_0x537c18){const _0x1e1f88=kr(this['attributes']);Ur(_0x1e1f88,_0x233f24,_0x537c18),qr(_0x1e1f88,this['attributes'])||(this['attributes']=_0x1e1f88,this['_onAttributesChange'](_0x1e1f88));}['removeAttribute'](_0x134f87){const _0x389687=kr(this['attributes']);$r(_0x389687,_0x134f87),qr(_0x389687,this['attributes'])||(this['attributes']=_0x389687,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 _0x3eda13()['substr'](0x1,0x5);}}function jy(_0x5dde68,_0x37e8b1,_0xa438a7){const _0x223844=_0x5dde68['t'],t=_0x5dde68['t'];switch(_0x37e8b1){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',_0xa438a7);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xa438a7);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xa438a7);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xa438a7);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xa438a7);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',_0xa438a7);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xa438a7);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',_0xa438a7);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xa438a7);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xa438a7);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xa438a7);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xa438a7);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xa438a7);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xa438a7);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xa438a7);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xa438a7);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xa438a7);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xa438a7);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xa438a7);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xa438a7);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xa438a7);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xa438a7);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xa438a7);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xa438a7);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xa438a7);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'},_0xa438a7);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xa438a7);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xa438a7);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xa438a7);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xa438a7);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xa438a7);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xa438a7);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xa438a7);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'},_0xa438a7);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'},_0xa438a7);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xa438a7);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xa438a7);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xa438a7);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xa438a7);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'},_0xa438a7);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xa438a7);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'},_0xa438a7);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'},_0xa438a7);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xa438a7);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'},_0xa438a7);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xa438a7);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'},_0xa438a7);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xa438a7);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0xa438a7);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0xa438a7);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0xa438a7);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xa438a7);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'},_0xa438a7);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xa438a7);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return _0x223844({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xa438a7);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x223844({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xa438a7);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xa438a7);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'},_0xa438a7);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'},_0xa438a7);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'},_0xa438a7);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x37e8b1;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x5e3d6f,_0x112bf4){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x5e3d6f,this['_locale']=_0x112bf4;}['getDescriptions'](_0xce8bde){const _0x96d665=[],_0x362d0c=new Set(),_0x2e1302=new Set();for(let _0x31937a=0x0;_0x31937a<_0xce8bde['length'];_0x31937a++){const _0x5bda79=_0xce8bde[_0x31937a];if(!_0x5bda79['isInContent'])continue;const _0x1236e0=this['_handleCustomCallbackDescription'](_0x5bda79);if(_0x1236e0){if(null!=_0x5bda79['subType']){if(_0x362d0c['has'](_0x5bda79['subType']))continue;_0x362d0c['add'](_0x5bda79['subType']);}_0x96d665['push'](_0x1236e0);}else{if('attribute'==_0x5bda79['type']){const _0x5d7326=_0x5bda79['data']['key'];if(_0x2e1302['has'](_0x5d7326))continue;_0x2e1302['add'](_0x5bda79['data']['key']),_0x5d7326==ov?this['_handleRenameSuggestionDescription'](_0x96d665,_0x5bda79):this['_handleAttributeSuggestionDescription'](_0x96d665,_0x5bda79);continue;}'insertion'!=_0x5bda79['type']&&'deletion'!=_0x5bda79['type']||this['_handleInsertRemoveSuggestionDescription'](_0x96d665,_0x5bda79,_0xce8bde[_0x31937a+0x1]);}}return this['_resolveDescriptionItems'](_0x96d665);}['registerDescriptionCallback'](_0x5da8dd){this['_customCallbacks']['push'](_0x5da8dd);}['registerElementLabel'](_0x15a1d9,_0x34d0e8,_0x18028f=_0x537830['normal']){'function'==typeof _0x15a1d9?_0x3b227a(this['_itemLabelsCallbacks'],{'matchingCallback':_0x15a1d9,'label':_0x34d0e8,'priority':_0x18028f}):this['_itemLabels']['set'](_0x15a1d9,_0x34d0e8);}['registerAttributeLabel'](_0x135959,_0x550b14){this['_attributeLabels']['set'](_0x135959,_0x550b14);}['getItemLabel'](_0x12fe52,_0x456306=0x1){let _0x3c9a99;for(const _0x4a5931 of this['_itemLabelsCallbacks'])if(_0x4a5931['matchingCallback'](_0x12fe52)){_0x3c9a99=_0x4a5931['label'];break;}return _0x3c9a99||(_0x3c9a99=this['_itemLabels']['get'](_0x12fe52['name'])),_0x3c9a99?_0x3c9a99(_0x456306):0x1!==_0x456306?_0x456306+'\x20'+_0x12fe52['name']+'s':''+_0x12fe52['name'];}['_addDescriptionItems'](_0x3d0547,_0x366b45){const _0x238f40=_0x366b45['getFirstRange']()['getWalker'](),_0x57ff3b='insertion'==_0x366b45['type']?'add':'remove';for(const _0x16af0e of _0x238f40){const _0x3cdd7d=_0x16af0e['item'],_0x3390b2=_0x3d0547[_0x3d0547['length']-0x1];if(_0x3cdd7d['is']('$textProxy'))_0x3390b2&&_0x3390b2['type']['indexOf']('Container')>-0x1&&_0x3d0547['pop'](),_0x3390b2&&'text'==_0x3390b2['type']?_0x3390b2[_0x57ff3b]+=_0x3cdd7d['data']:_0x3d0547['push']({'type':'text','add':'add'==_0x57ff3b?_0x3cdd7d['data']:'','remove':'remove'==_0x57ff3b?_0x3cdd7d['data']:''});else{if(this['_schema']['isObject'](_0x3cdd7d)){const _0x1ca04e=_0x3cdd7d;if(_0x3390b2&&_0x3390b2['type']['indexOf']('Container')>-0x1&&_0x3d0547['pop'](),'elementEnd'==_0x16af0e['type'])continue;_0x3390b2&&_0x3390b2['type']==_0x57ff3b+'Object'&&_0x3390b2['element']['name']==_0x1ca04e['name']?_0x3390b2['quantity']++:_0x3d0547['push']({'type':_0x57ff3b+'Object','element':_0x1ca04e,'quantity':0x1}),_0x238f40['skip'](_0x5c32cc=>!('elementEnd'==_0x5c32cc['type']&&_0x5c32cc['item']==_0x3cdd7d));}else{if(this['_schema']['checkChild'](_0x3cdd7d,'$text')||_0x3cdd7d['is']('element','softBreak')){const _0x329f65=_0x3cdd7d;if('add'==_0x57ff3b&&'elementStart'==_0x16af0e['type']||'remove'==_0x57ff3b&&'elementEnd'==_0x16af0e['type'])continue;if(_0x3390b2&&-0x1==_0x3390b2['type']['indexOf']('Container')){'text'==_0x3390b2['type']&&(_0x3390b2[_0x57ff3b]+='\x0a');continue;}let _0x54e017;if(_0x54e017='add'==_0x57ff3b?_0x329f65['nextSibling']&&!this['_schema']['isObject'](_0x329f65['nextSibling'])?_0x329f65['nextSibling']:null:_0x329f65['previousSibling']&&!this['_schema']['isObject'](_0x329f65['previousSibling'])?_0x329f65['previousSibling']:null,_0x329f65['isEmpty']||_0x54e017&&_0x54e017['isEmpty']){const _0x3de672=_0x54e017&&_0x54e017['isEmpty']?_0x54e017:_0x329f65;_0x3390b2&&_0x3390b2['type']==_0x57ff3b+'EmptyContainer'&&_0x3390b2['element']['name']==_0x3de672['name']?_0x3390b2['quantity']++:_0x3d0547['push']({'type':_0x57ff3b+'EmptyContainer','element':_0x3de672,'quantity':0x1});}else _0x3d0547['push']({'type':_0x57ff3b+'Container','element':_0x329f65});}}}}}['_resolveDescriptionItems'](_0x57b327){const _0x39e90b=this['_locale'],_0x5ed633=[],_0x25f0e1=[],_0x3f709c=[];for(const _0x186222 of _0x57b327)switch(_0x186222['type']){case'text':if(_0x186222['add']=_0x186222['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x186222['remove']=_0x186222['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x186222['add']&&''!=_0x186222['remove']){_0x5ed633['push']({'type':'replace','content':jy(_0x39e90b,'REPLACE_TEXT',['\x22'+_0x186222['remove']+'\x22','\x22'+_0x186222['add']+'\x22'])});continue;}if(null!=_0x186222['add']['match'](/^ +$/)){_0x5ed633['push']({'type':'insertion','content':jy(_0x39e90b,'*Insert:*\x20%0',jy(_0x39e90b,'ELEMENT_SPACE',_0x186222['add']['length']))});continue;}if(null!=_0x186222['remove']['match'](/^ +$/)){_0x5ed633['push']({'type':'deletion','content':jy(_0x39e90b,'*Remove:*\x20%0',jy(_0x39e90b,'ELEMENT_SPACE',_0x186222['remove']['length']))});continue;}if(''!=_0x186222['add']){_0x5ed633['push']({'type':'insertion','content':jy(_0x39e90b,'*Insert:*\x20%0','\x22'+_0x186222['add']+'\x22')});continue;}_0x5ed633['push']({'type':'deletion','content':jy(_0x39e90b,'*Remove:*\x20%0','\x22'+_0x186222['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x5ed633['push']({'type':'insertion','content':jy(_0x39e90b,'*Insert:*\x20%0',this['getItemLabel'](_0x186222['element'],_0x186222['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x5ed633['push']({'type':'deletion','content':jy(_0x39e90b,'*Remove:*\x20%0',this['getItemLabel'](_0x186222['element'],_0x186222['quantity']))});continue;case'addContainer':_0x5ed633['push']({'type':'insertion','content':jy(_0x39e90b,'*Split:*\x20%0',this['getItemLabel'](_0x186222['element'],_0x186222['quantity']))});continue;case'removeContainer':_0x5ed633['push']({'type':'deletion','content':jy(_0x39e90b,'*Merge:*\x20%0',this['getItemLabel'](_0x186222['element'],_0x186222['quantity']))});continue;case'addFormat':_0x25f0e1['push'](_0x186222['key']);continue;case'removeFormat':_0x3f709c['push'](_0x186222['key']);continue;default:_0x5ed633['push'](_0x186222);}if(_0x25f0e1['length']){const _0x5abadd=_0x25f0e1['map'](_0xeb73e5=>this['_attributeLabels']['has'](_0xeb73e5)?this['_attributeLabels']['get'](_0xeb73e5):_0xeb73e5)['join'](',\x20');_0x5ed633['push']({'type':'format','content':jy(this['_locale'],'*Set\x20format:*\x20%0',_0x5abadd)});}if(_0x3f709c['length']){const _0x26021a=_0x3f709c['map'](_0x49e142=>this['_attributeLabels']['has'](_0x49e142)?this['_attributeLabels']['get'](_0x49e142):_0x49e142)['join'](',\x20');_0x5ed633['push']({'type':'format','content':jy(this['_locale'],'*Remove\x20format:*\x20%0',_0x26021a)});}return _0x5ed633;}['_handleCustomCallbackDescription'](_0x312bad){for(const _0x32648b of this['_customCallbacks']){const _0x1387ed=_0x32648b(_0x312bad);if(_0x1387ed&&'type'in _0x1387ed)return _0x1387ed;}}['_handleAttributeSuggestionDescription'](_0x4d6590,_0x796905){const _0x408d79=_0x796905['data'],_0x4bccb5=void 0x0===_0x408d79['newValue']?'removeFormat':'addFormat';_0x4d6590['push']({'type':_0x4bccb5,'key':_0x408d79['key']});}['_handleRenameSuggestionDescription'](_0x2bfbe7,_0x226e74){_0x2bfbe7['push']({'type':'format','content':jy(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x226e74['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x279648,_0x315aec,_0x52907c){if(this['_addDescriptionItems'](_0x279648,_0x315aec),_0x52907c&&_0x52907c['getFirstRange']()&&!_0x315aec['getFirstRange']()['end']['isEqual'](_0x52907c['getFirstRange']()['start'])){const _0x1422b5=_0x279648[_0x279648['length']-0x1],_0x1e05ce='insertion'==_0x315aec['type']?'add':'remove';_0x1422b5&&'text'==_0x1422b5['type']&&(_0x1422b5[_0x1e05ce]+='\x0a');}}}class TrackChangesAIAssistant extends _0x151d85{['afterInit'](){const _0x3cb0f7=this['editor'],_0x36e4c3=_0x3cb0f7['plugins']['get']('TrackChangesEditing');_0x3cb0f7['commands']['get']('showAIAssistant')&&_0x36e4c3['enableCommand']('showAIAssistant');}}class TrackChangesAI extends _0x151d85{['afterInit'](){const _0x2dd509=this['editor'],_0x155a58=_0x2dd509['plugins']['get']('TrackChangesEditing');_0x2dd509['commands']['get']('toggleAi')&&_0x155a58['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends _0x151d85{['afterInit'](){const _0x5dd6f=this['editor'],_0x5ae259=_0x5dd6f['plugins']['get']('TrackChangesEditing');_0x5dd6f['commands']['get']('aiQuickAction')&&_0x5ae259['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends _0x151d85{['afterInit'](){const _0x5b31c1=this['editor'],_0x425b13=_0x5b31c1['locale'];if(!_0x5b31c1['plugins']['has']('AlignmentEditing'))return;const _0x34359b=_0x5b31c1['plugins']['get']('TrackChangesEditing');_0x34359b['enableDefaultAttributesIntegration']('alignment'),_0x34359b['descriptionFactory']['registerAttributeLabel']('alignment',jy(_0x425b13,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2d7c0d=this['editor'],_0xa7ca4c=_0x2d7c0d['locale'];_0x2d7c0d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1ea2e4=>{if('formatBlock'!=_0x1ea2e4['type'])return;const {data:_0x4afd6a}=_0x1ea2e4;if(_0x4afd6a&&'alignment'==_0x4afd6a['commandName']){const _0x155a67=_0x4afd6a['commandParams'][0x0]['value'];return{'type':'format','content':jy(_0xa7ca4c,'*Format:*\x20%0',function(_0x16f451){switch(_0x16f451){case'left':return jy(_0xa7ca4c,'FORMAT_ALIGN_TO_LEFT');case'right':return jy(_0xa7ca4c,'FORMAT_ALIGN_TO_RIGHT');case'center':return jy(_0xa7ca4c,'FORMAT_ALIGN_TO_CENTER');case'justify':return jy(_0xa7ca4c,'FORMAT_JUSTIFY_TEXT');}}(_0x155a67))};}});}}const Hy=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends _0x151d85{['afterInit'](){const _0x6081b3=this['editor'],_0x276aea=_0x6081b3['plugins']['get']('TrackChangesEditing'),_0x37e279=_0x6081b3['locale'];for(const _0x24d6c0 of Hy){if(!_0x6081b3['plugins']['has'](_0x24d6c0))continue;const _0x1c3f4e=_0x24d6c0['slice'](0x0,-0x7)['toLowerCase'](),_0x5df3f7='FORMAT_'+_0x1c3f4e['toUpperCase']();_0x276aea['enableDefaultAttributesIntegration'](_0x1c3f4e),_0x276aea['descriptionFactory']['registerAttributeLabel'](_0x1c3f4e,jy(_0x37e279,_0x5df3f7));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x386630=this['editor'],_0x496e2b=_0x386630['locale'],_0x8b5257=_0x386630['plugins']['get']('TrackChangesEditing');function _0xcb4747(_0x215d37,_0x38803d){_0x8b5257['descriptionFactory']['registerDescriptionCallback'](_0x4ea366=>{if('formatInline'!=_0x4ea366['type'])return;const {data:_0x35741f}=_0x4ea366;return _0x35741f&&_0x35741f['commandName']===_0x215d37?_0x35741f['commandParams'][0x0]['forceValue']?{'type':'format','content':jy(_0x496e2b,'*Format:*\x20%0',_0x38803d)}:{'type':'format','content':jy(_0x496e2b,'*Remove\x20format:*\x20%0',_0x38803d)}:void 0x0;});}_0xcb4747('bold',jy(_0x496e2b,'FORMAT_BOLD')),_0xcb4747('italic',jy(_0x496e2b,'FORMAT_ITALIC')),_0xcb4747('underline',jy(_0x496e2b,'FORMAT_UNDERLINE')),_0xcb4747('code',jy(_0x496e2b,'FORMAT_CODE')),_0xcb4747('strikethrough',jy(_0x496e2b,'FORMAT_STRIKETHROUGH')),_0xcb4747('subscript',jy(_0x496e2b,'FORMAT_SUBSCRIPT')),_0xcb4747('superscript',jy(_0x496e2b,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends _0x151d85{['afterInit'](){const _0x120c56=this['editor'],_0x544f57=_0x120c56['locale'];if(!_0x120c56['plugins']['has']('BlockQuoteEditing'))return;const _0x361e9a=_0x120c56['plugins']['get']('TrackChangesEditing'),_0x440901=this['editor']['commands']['get']('blockQuote');_0x361e9a['enableCommand']('blockQuote',(_0x33014f,_0x2716e9={})=>{const _0xeca701=this['editor']['model']['document']['selection'],_0x47ae9b=_0x2716e9&&void 0x0!==_0x2716e9['forceValue']?_0x2716e9['forceValue']:!_0x440901['value'];let _0x37ec1f=[];if(_0x47ae9b){const _0x10fb36=Array['from'](_0xeca701['getSelectedBlocks']())['filter'](_0xcdac31=>Gy(_0xcdac31)||function(_0x5f5214,_0x56dec5){const _0x1c4de7=_0x56dec5['createContext'](_0x5f5214['parent']);if(!_0x56dec5['checkChild'](_0x1c4de7,'blockQuote'))return!0x1;if(!_0x56dec5['checkChild'](_0x1c4de7['push']('blockQuote'),_0x5f5214))return!0x1;return!0x0;}(_0xcdac31,this['editor']['model']['schema']));_0x37ec1f=Uy(_0x10fb36,_0x120c56['model']);}else{const _0x1f1c73=Array['from'](_0xeca701['getSelectedBlocks']())['filter'](_0x5325e0=>Gy(_0x5325e0));_0x37ec1f=Uy(_0x1f1c73,_0x120c56['model']);}_0x120c56['model']['change'](()=>{for(const _0x1a9996 of _0x37ec1f)_0x361e9a['markBlockFormat'](_0x1a9996,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x47ae9b}]});});}),_0x361e9a['descriptionFactory']['registerDescriptionCallback'](_0x1a0125=>{const {data:_0x1ab22a}=_0x1a0125;if(_0x1ab22a&&'blockQuote'==_0x1ab22a['commandName']){const _0x456d7a=jy(_0x544f57,'ELEMENT_BLOCK_QUOTE');return _0x1ab22a['commandParams'][0x0]['forceValue']?{'type':'format','content':jy(_0x544f57,'*Set\x20format:*\x20%0',_0x456d7a)}:{'type':'format','content':jy(_0x544f57,'*Remove\x20format:*\x20%0',_0x456d7a)};}});}}function Gy(_0x30b300){return'blockQuote'==_0x30b300['parent']['name'];}class TrackChangesBookmark extends _0x151d85{['afterInit'](){const _0x26cc61=this['editor'],_0x6b9fb0=_0x26cc61['locale'],_0x463cb9=_0x26cc61['plugins']['get']('TrackChangesEditing');_0x26cc61['plugins']['has']('BookmarkEditing')&&(_0x463cb9['enableCommand']('insertBookmark'),_0x463cb9['enableDefaultAttributesIntegration']('updateBookmark'),_0x463cb9['descriptionFactory']['registerDescriptionCallback'](_0x1d486b=>{if('insertion'!=_0x1d486b['type']&&'deletion'!=_0x1d486b['type']&&'attribute'!=_0x1d486b['type'])return;const _0x5ada14=_0x1d486b['getContainedElement']();if(null==_0x5ada14)return;if(!_0x5ada14['is']('element','bookmark'))return;const _0x2d30f0=_0x5ada14['getAttribute']('bookmarkId');if('insertion'==_0x1d486b['type'])return{'type':'insertion','content':jy(_0x6b9fb0,'*Insert:*\x20%0','\x22'+_0x2d30f0+'\x22\x20'+jy(_0x6b9fb0,'ELEMENT_BOOKMARK'))};if('deletion'==_0x1d486b['type'])return{'type':'deletion','content':jy(_0x6b9fb0,'*Remove:*\x20%0','\x22'+_0x2d30f0+'\x22\x20'+jy(_0x6b9fb0,'ELEMENT_BOOKMARK'))};const {data:_0x2691a5}=_0x1d486b;if(!_0x2691a5||'bookmarkId'!=_0x2691a5['key'])return;return{'type':'format','content':jy(_0x6b9fb0,'*Set\x20bookmark:*\x20%0','\x22'+_0x2691a5['newValue']+'\x22')};}));}}class TrackChangesCaseChange extends _0x151d85{['afterInit'](){const _0x18c2f0=this['editor'];_0x18c2f0['plugins']['has']('CaseChange')&&(_0x18c2f0['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x18c2f0['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x18c2f0['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class TrackChangesCKBox extends _0x151d85{['afterInit'](){const _0x4472c8=this['editor'];_0x4472c8['commands']['get']('ckbox')&&_0x4472c8['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class TrackChangesCodeBlock extends _0x151d85{['afterInit'](){const _0x5f25b5=this['editor'];if(!_0x5f25b5['plugins']['has']('CodeBlock'))return;const _0x413947=_0x5f25b5['plugins']['get']('TrackChangesEditing'),_0x577642=_0x5f25b5['locale'],_0x4591cf=_0x5f25b5['config']['get']('codeBlock')['languages'],_0x2f7069=_0x5f25b5['commands']['get']('codeBlock');_0x413947['enableCommand']('indentCodeBlock'),_0x413947['enableCommand']('outdentCodeBlock'),_0x413947['enableCommand']('codeBlock',(_0x7351bf,_0x537a90={})=>{const _0x13ce93=_0x5f25b5['model'],_0x36e4b3=_0x5f25b5['model']['document']['selection'],_0x4d2b94=_0x537a90&&void 0x0!==_0x537a90['forceValue']?_0x537a90['forceValue']:!_0x2f7069['value'];let _0x4c0f12;_0x537a90['language']||(_0x537a90['language']=_0x4591cf[0x0]['language']),_0x4c0f12=_0x4d2b94?Array['from'](_0x36e4b3['getSelectedBlocks']())['filter'](_0x505379=>Zy(_0x505379)||function(_0x3c41be,_0x172b67){if(_0x3c41be['is']('rootElement')||_0x172b67['isLimit'](_0x3c41be))return!0x1;return _0x172b67['checkChild'](_0x3c41be['parent'],'codeBlock');}(_0x505379,_0x13ce93['schema'])):Array['from'](_0x36e4b3['getSelectedBlocks']())['filter'](_0x2aa720=>Zy(_0x2aa720));const _0x4dbc9f=Uy(_0x4c0f12,_0x13ce93);_0x13ce93['change'](()=>{for(const _0x1aef22 of _0x4dbc9f)_0x413947['markBlockFormat'](_0x1aef22,{'commandName':'codeBlock','commandParams':[{..._0x537a90,'forceValue':_0x4d2b94}],'formatGroupId':'blockName'});});}),(_0x413947['descriptionFactory']['registerElementLabel']('codeBlock',_0x391a80=>jy(_0x577642,'ELEMENT_CODE_BLOCK',_0x391a80)),_0x413947['descriptionFactory']['registerDescriptionCallback'](_0x164598=>{if('formatBlock'!=_0x164598['type'])return;const _0x2d531f=_0x577642['t'],{data:_0x167cbb}=_0x164598;if(!_0x167cbb||'codeBlock'!=_0x167cbb['commandName'])return;const _0x4a3514=_0x167cbb['commandParams'][0x0]['language'],_0x154100=_0x4591cf['find'](_0x546a6a=>_0x546a6a['language']===_0x4a3514)['label'],_0x336237=_0x2d531f(_0x154100)['toLowerCase']();return _0x167cbb['commandParams'][0x0]['forceValue']?{'type':'format','content':jy(_0x577642,'*Set\x20format:*\x20%0',jy(_0x577642,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x336237+')')}:{'type':'format','content':jy(_0x577642,'*Remove\x20format:*\x20%0',jy(_0x577642,'ELEMENT_CODE_BLOCK',0x1))};}));}}function Zy(_0x2cb72e){return'codeBlock'==_0x2cb72e['name'];}class TrackChangesComments extends _0x151d85{['afterInit'](){const _0xdbfce2=this['editor'];if(!_0xdbfce2['plugins']['has']('CommentsEditing'))return;_0xdbfce2['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends _0x151d85{static get['requires'](){return[_0x193487];}['init'](){const _0x3aface=this['editor'],_0x556574=_0x3aface['plugins']['get']('TrackChangesEditing');_0x556574['enableCommand']('delete');const _0x588a5f=_0x3aface['commands']['get']('deleteForward');_0x556574['enableCommand']('deleteForward',(_0x5cbc0b,_0xb337a1={})=>{const _0x5cea8d=_0x3aface['model']['createSelection'](_0x3aface['model']['document']['selection']);_0x5cea8d['isCollapsed']&&_0x3aface['model']['modifySelection'](_0x5cea8d,{'direction':'forward','unit':_0xb337a1['unit']});const _0x185846=_0x5cea8d['getFirstRange'](),_0x313405=_0x49053d['fromRange'](_0x185846);let _0x5d69ef;_0x5cbc0b(_0xb337a1),_0x5d69ef='$graveyard'==_0x313405['root']['rootName']?_0x3aface['model']['createRange'](_0x185846['start']):_0x3aface['model']['createRange'](_0x313405['start'],_0x313405['end']),_0x313405['detach'](),_0x3aface['model']['enqueueChange'](_0x588a5f['buffer']['batch'],_0x4944cd=>{_0x588a5f['buffer']['lock'](),_0x4944cd['setSelection'](_0x4944cd['createRange'](_0x5d69ef['end'])),_0x588a5f['buffer']['unlock']();});});}}class TrackChangesList extends _0x151d85{['afterInit'](){const _0x525b47=this['editor'];if(!_0x525b47['plugins']['has']('ListEditing'))return;const _0x373c6c=_0x525b47['locale'],_0x544a7b=_0x525b47['plugins']['get']('TrackChangesEditing'),_0x1323fb=_0x525b47['plugins']['has']('TodoListEditing'),_0x46f831=!!_0x525b47['config']['get']('list.multiBlock');function _0x2c70dc(_0x1ee633){return{'type':'format','content':''+jy(_0x373c6c,'*Set\x20format:*\x20%0',_0x1ee633)};}function _0x548ec9(_0xe090a0){return{'type':'format','content':''+jy(_0x373c6c,'*Remove\x20format:*\x20%0',_0xe090a0)};}_0x544a7b['enableDefaultAttributesIntegration']('numberedList'),_0x544a7b['enableDefaultAttributesIntegration']('bulletedList'),_0x544a7b['enableDefaultAttributesIntegration']('customNumberedList'),_0x544a7b['enableDefaultAttributesIntegration']('customBulletedList'),_0x544a7b['enableDefaultAttributesIntegration']('indentList'),_0x544a7b['enableDefaultAttributesIntegration']('outdentList'),_0x544a7b['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x544a7b['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x46f831&&(_0x544a7b['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x544a7b['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x1323fb&&(_0x544a7b['enableDefaultAttributesIntegration']('todoList'),_0x544a7b['enableDefaultAttributesIntegration']('checkTodoList'),_0x544a7b['descriptionFactory']['registerDescriptionCallback'](_0x26d036=>{const {data:_0x398e54}=_0x26d036;if(_0x398e54&&'todoListChecked'==_0x398e54['key'])return{'type':'format','content':_0x398e54['newValue']?jy(_0x373c6c,'*Check\x20item*'):jy(_0x373c6c,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x486290=>{if(_0x486290['batch']['isUndo'])return!0x1;let _0x29c670=!0x1;const _0xb37547=_0x544a7b['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1fbf58=>'todoListChecked'===_0x544a7b['_getAttributeKey'](_0x1fbf58));for(const _0xeba0a6 of _0xb37547){'todo'!=_0xeba0a6['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x544a7b['_findSuggestions'](_0xeba0a6['getFirstRange'](),'attribute')['find'](_0x1e73d8=>'listType'===_0x544a7b['_getAttributeKey'](_0x1e73d8['suggestion']))||(_0x486290['removeMarker'](_0xeba0a6['getFirstMarker']()),_0x29c670=!0x0));}return _0x29c670;})),_0x544a7b['descriptionFactory']['registerAttributeLabel']('listIndent',jy(_0x373c6c,'FORMAT_INDENT'));const _0x49b4da={'type':'format','content':''};_0x544a7b['descriptionFactory']['registerDescriptionCallback'](_0x537cef=>{const {data:_0x343908}=_0x537cef;if(!_0x343908||'listType'!=_0x343908['key'])return;let _0x267cea=_0x537cef['head'];for(;_0x267cea;){if(_0x267cea['data']&&(('listStyle'==_0x267cea['data']['key']||'listMarkerStyle'==_0x267cea['data']['key'])&&(_0x267cea['data']['newValue']&&'default'!=_0x267cea['data']['newValue']||'default'!=_0x267cea['data']['oldValue']&&!_0x343908['newValue'])||!_0x46f831&&_0x267cea['data']['key']==ov))return _0x49b4da;_0x267cea=_0x267cea['next'];}if(null==_0x343908['newValue'])switch(_0x343908['oldValue']){case'bulleted':return _0x548ec9(jy(_0x373c6c,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x548ec9(jy(_0x373c6c,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x548ec9(jy(_0x373c6c,'ELEMENT_TODO_LIST'));}switch(_0x343908['newValue']){case'bulleted':return _0x2c70dc(jy(_0x373c6c,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x2c70dc(jy(_0x373c6c,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x2c70dc(jy(_0x373c6c,'ELEMENT_TODO_LIST'));}}),_0x544a7b['descriptionFactory']['registerDescriptionCallback'](_0x53fe75=>{const {data:_0x23f35c}=_0x53fe75;if(_0x23f35c&&'listIndent'==_0x23f35c['key'])return null==_0x23f35c['newValue']||null==_0x23f35c['oldValue']&&0x0==_0x23f35c['newValue']?_0x49b4da:void 0x0;}),_0x544a7b['descriptionFactory']['registerDescriptionCallback'](_0x284af6=>{if('attribute'!=_0x284af6['type'])return;const {data:_0xc21eae}=_0x284af6;if(!_0xc21eae||'listItemId'!=_0xc21eae['key'])return;const _0x2727a8=Xy(_0x284af6);return'newValue'==_0x2727a8?{'type':'format','content':jy(_0x373c6c,'*Merge:*\x20list\x20item')}:'oldValue'==_0x2727a8?{'type':'format','content':jy(_0x373c6c,'*Split:*\x20list\x20item')}:_0x49b4da;}),_0x525b47['model']['document']['registerPostFixer'](_0x9f76bb=>this['listItemIdFixer'](_0x9f76bb)),_0x525b47['model']['document']['registerPostFixer'](_0x53be96=>this['noTrackChangesFixer'](_0x53be96)),_0x525b47['model']['document']['on']('change:data',(_0x49becf,_0x36e346)=>{if(_0x36e346['isUndo']||!_0x36e346['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x1ea972){if(_0x1ea972['batch']['isUndo']||!_0x1ea972['batch']['isLocal'])return!0x1;let _0x4b5ea6=!0x1;const _0x3e3d99=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2c285b=>_0x2c285b['data']&&'listItemId'==_0x2c285b['data']['key'])['filter'](_0x26aa14=>_0x26aa14['data']['newValue']&&_0x26aa14['data']['oldValue']);for(const _0x40da5e of _0x3e3d99)Xy(_0x40da5e)||(_0x1ea972['removeMarker'](_0x40da5e['getFirstMarker']()),_0x4b5ea6=!0x0);return _0x4b5ea6;}['noTrackChangesFixer'](_0x293cab){if(_0x293cab['batch']['isUndo']||!_0x293cab['batch']['isLocal'])return!0x1;const _0xfbbcb2=this['editor']['model']['document']['differ'],_0x59638b=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x59638b['trackChangesCommand']['value'])return!0x1;let _0x20914e=!0x1;const _0x478833=new Set(['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes']),_0x2a35f9=_0xfbbcb2['getChanges']()['filter'](_0x3eb69f=>'attribute'==_0x3eb69f['type'])['filter'](_0x5920ad=>_0x478833['has'](_0x5920ad['attributeKey']));if(0x0==_0x2a35f9['length'])return _0x20914e;const _0x4f8974=new Set(_0xfbbcb2['getMarkersToAdd']()['filter'](_0x281f72=>{if(!_0x281f72['name']['startsWith']('suggestion:attribute:'))return!0x1;const _0x29eaf5=$c(_0x281f72['name'])['subType']['split']('|')[0x0];return _0x478833['has'](_0x29eaf5);})['map'](_0x28ca07=>$c(_0x28ca07['name'])['id']));for(const _0x230f98 of _0x2a35f9){const _0x20a5c5=_0x59638b['_findSuggestions'](_0x230f98['range'],'attribute')['filter'](_0x1ec545=>{if(_0x1ec545['meta']['isNextTo'])return!0x1;if(_0x4f8974['has'](_0x1ec545['suggestion']['id']))return!0x1;const _0x31950b=_0x59638b['_getAttributeKey'](_0x1ec545['suggestion']);return _0x478833['has'](_0x31950b);})['map'](_0x2bad0c=>_0x2bad0c['suggestion']);if(_0x20a5c5['length']){for(const _0xd84d8c of _0x20a5c5)_0x293cab['removeMarker'](_0xd84d8c['getFirstMarker']());_0x20914e=!0x0;}}return _0x20914e;}['assureChains'](){const _0x5d5ae5=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1ae498=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes'];let _0x429411;const _0x2b4817=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x2d11a4=>{if(_0x2d11a4['data']['oldRange']||!_0x2d11a4['data']['newRange'])return null;if(!_0x2d11a4['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x4bbd7e}=$c(_0x2d11a4['name']);if(!_0x5d5ae5['hasSuggestion'](_0x4bbd7e))return null;const _0x2ab42e=_0x5d5ae5['getSuggestion'](_0x4bbd7e);return _0x1ae498['includes'](_0x2ab42e['data']['key']);})['map'](_0x38fd10=>{const {id:_0x5b2bc4}=$c(_0x38fd10['name']),_0x387a5f=_0x5d5ae5['getSuggestion'](_0x5b2bc4);return _0x429411=_0x387a5f['attributes']['groupId'],_0x387a5f['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x2b4817['size'])return;const _0x1520e3=_0x5d5ae5['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x5d68ab=>'attribute'==_0x5d68ab['type']&&_0x5d68ab['data']&&_0x1ae498['includes'](_0x5d68ab['data']['key'])&&_0x5d68ab['attributes']['groupId']!=_0x429411)['map'](_0x91a2a6=>({'listItem':_0x91a2a6['getFirstRange']()['start']['nodeAfter'],'groupId':_0x91a2a6['attributes']['groupId']})),_0xc8c7d1=new Set();for(const {groupId:_0x103fcc,listItem:_0x7175a5}of _0x1520e3)_0x2b4817['has'](_0x7175a5)&&_0xc8c7d1['add'](_0x103fcc);for(const _0x14ed5c of _0x5d5ae5['getSuggestions']())_0xc8c7d1['has'](_0x14ed5c['attributes']['groupId'])&&_0x14ed5c['setAttribute']('groupId',_0x429411);}['_supportLegacySuggestions'](){const _0x46949c=this['editor'],_0x5e047f=_0x46949c['locale'],_0x227d84=_0x46949c['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x227d84['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x30f1f7,_0x2eff42){const _0x8459c7=[];for(let _0x3efc4d of _0x30f1f7)_0x3efc4d['start']['nodeAfter']===_0x3efc4d['end']['parent']&&(_0x3efc4d=_0x46949c['model']['createRange'](_0x46949c['model']['createPositionAt'](_0x3efc4d['start']['nodeAfter'],0x0))),_0x8459c7['push'](_0x3efc4d);_0x46949c['model']['change'](_0x437291=>{const _0x1adc62=_0x46949c['model']['document']['selection'],_0xde765a=Array['from'](_0x1adc62['getRanges']())['map'](_0x2d0d29=>_0x49053d['fromRange'](_0x2d0d29));_0x437291['setSelection'](_0x8459c7),_0x46949c['commands']['get'](_0x2eff42['commandName'])['refresh'](),_0x2eff42['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x46949c['execute'](_0x2eff42['commandName'],..._0x2eff42['commandParams']),_0x437291['setSelection'](_0xde765a);for(const _0x4c8b19 of _0xde765a)_0x4c8b19['detach']();});}),_0x227d84['descriptionFactory']['registerElementLabel'](function(_0x540ac3){const _0x31cfc5=!_0x46949c['model']['schema']['isObject'](_0x540ac3),_0x1c4154=_0x540ac3['previousSibling'],_0xa61b91=_0x540ac3['nextSibling'],_0x5d1617=_0x540ac3['getAttribute']('listItemId'),_0x10a8e7=!_0x1c4154||_0x1c4154['getAttribute']('listItemId')!==_0x5d1617,_0x1314af=!_0xa61b91||_0xa61b91['getAttribute']('listItemId')!==_0x5d1617;return _0x31cfc5&&Boolean(_0x5d1617)&&_0x10a8e7&&_0x1314af;},_0x387b75=>jy(_0x5e047f,'ELEMENT_LIST_ITEM',_0x387b75));}['_registerLegacyDescription'](){const _0xbfab95=this['editor'],_0x1e584d=_0xbfab95['locale'];function _0x2bc580(_0x3ead03){const _0x1fbdea=_0xbfab95['commands']['get']('bulletedList')['value'],_0x2354a2=_0xbfab95['commands']['get']('numberedList')['value'];return'numberedList'===_0x3ead03?_0x1fbdea:_0x2354a2;}_0xbfab95['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x5579de){if('formatBlock'!=_0x5579de['type'])return;const {data:_0x1aaf23}=_0x5579de;if(!_0x1aaf23)return;let _0x3c9b47,_0x3cfc5d,_0x5e3a43,_0x42c1c2;switch(_0x1aaf23['commandName']){case'bulletedList':_0x5e3a43=_0x1aaf23['commandParams'][0x0]['forceValue'],_0x42c1c2=_0x2bc580(_0x1aaf23['commandName']),_0x3c9b47=_0x5e3a43?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x42c1c2&&_0xbfab95['config']['get']('list.multiBlock')||(_0x3c9b47='*Change\x20to:*\x20%0'),_0x3cfc5d={'type':'format','content':jy(_0x1e584d,_0x3c9b47,jy(_0x1e584d,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x5e3a43=_0x1aaf23['commandParams'][0x0]['forceValue'],_0x42c1c2=_0x2bc580(_0x1aaf23['commandName']),_0x3c9b47=_0x5e3a43?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x42c1c2&&_0xbfab95['config']['get']('list.multiBlock')||(_0x3c9b47='*Change\x20to:*\x20%0'),_0x3cfc5d={'type':'format','content':jy(_0x1e584d,_0x3c9b47,jy(_0x1e584d,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x3c9b47='*Indent:*\x20%0',_0x3cfc5d={'type':'format','content':jy(_0x1e584d,_0x3c9b47,jy(_0x1e584d,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x3c9b47=function(_0x2066be){const _0x3885c4=_0x2066be['getFirstRange']();let _0x33f557=_0x3885c4['start']['nodeAfter'];for(;_0x33f557&&_0x3885c4['containsItem'](_0x33f557);){if(_0x33f557['getAttribute']('listIndent')>0x0)return!0x1;_0x33f557=_0x33f557['nextSibling'];}return!0x0;}(_0x5579de)?jy(_0x1e584d,'*Format:*\x20remove\x20from\x20%0',jy(_0x1e584d,function(_0x2990e6){return'ELEMENT_'+_0x2990e6['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x5579de))):jy(_0x1e584d,'*Outdent:*\x20%0',jy(_0x1e584d,'ELEMENT_LIST_ITEM')),_0x3cfc5d={'type':'format','content':_0x3c9b47};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x1aaf23['multipleBlocks']&&(_0x3c9b47='*Merge:*\x20%0',_0x3cfc5d={'type':'deletion','content':jy(_0x1e584d,_0x3c9b47,jy(_0x1e584d,'ELEMENT_LIST_ITEM'))});}return _0x3cfc5d;});}}function Xy(_0x1e6ac4){let _0x11771c=_0x1e6ac4['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x11771c;){const _0x174cc6=_0x11771c['getAttribute']('listItemId');if(!_0x174cc6)return!0x1;if(_0x174cc6==_0x1e6ac4['data']['newValue'])return'newValue';if(_0x174cc6==_0x1e6ac4['data']['oldValue'])return'oldValue';_0x11771c=_0x11771c['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends _0x151d85{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x241e0b=this['editor']['config']['get']('list.properties'),_0x3f10c1=this['editor']['plugins']['get']('TrackChangesEditing');_0x241e0b['styles']&&_0x3f10c1['enableDefaultAttributesIntegration']('listStyle'),_0x241e0b['reversed']&&_0x3f10c1['enableDefaultAttributesIntegration']('listReversed'),_0x241e0b['startIndex']&&_0x3f10c1['enableDefaultAttributesIntegration']('listStart');const _0xfe75ee={'type':'format','content':''};_0x3f10c1['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x3e6279=this['editor']['locale'];_0x3f10c1['descriptionFactory']['registerAttributeLabel']('listReversed',jy(_0x3e6279,'FORMAT_LIST_REVERSED')),_0x3f10c1['descriptionFactory']['registerDescriptionCallback'](_0x52683b=>{const {data:_0x510923}=_0x52683b;if(_0x510923&&'listReversed'==_0x510923['key'])return null==_0x510923['newValue']||0x0==_0x510923['newValue']&&null==_0x510923['oldValue']?_0xfe75ee:void 0x0;}),_0x3f10c1['descriptionFactory']['registerAttributeLabel']('listStart',jy(_0x3e6279,'FORMAT_LIST_START')),_0x3f10c1['descriptionFactory']['registerDescriptionCallback'](_0x324bb3=>{const {data:_0xc20786}=_0x324bb3;if(_0xc20786&&'listStart'==_0xc20786['key'])return null==_0xc20786['newValue']||0x1==_0xc20786['newValue']&&null==_0xc20786['oldValue']?_0xfe75ee:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x285b2e=>{if(_0x285b2e['batch']['isUndo'])return!0x1;let _0x2265fc=!0x1;const _0x305228=_0x3f10c1['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x795bea=>{const _0x17811b=_0x3f10c1['_getAttributeKey'](_0x795bea);return'listStart'==_0x17811b||'listReversed'==_0x17811b;});for(const _0x42efa4 of _0x305228){const _0x2c21a5=_0x42efa4['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x2c21a5||'customNumbered'==_0x2c21a5)continue;const _0x4cc39e=_0x3f10c1['_findSuggestions'](_0x42efa4['getFirstRange'](),'attribute')['find'](_0x45bf18=>'listType'==_0x3f10c1['_getAttributeKey'](_0x45bf18['suggestion']));_0x4cc39e||(_0x285b2e['removeMarker'](_0x42efa4['getFirstMarker']()),_0x2265fc=!0x0);}return _0x2265fc;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0xc78676){const _0x5a93d4=this['editor']['locale'],{data:_0x2c1c5d}=_0xc78676,_0x5dd1c8={'type':'format','content':''};if(!_0x2c1c5d||'listStyle'!=_0x2c1c5d['key'])return;if(!_0x2c1c5d['oldValue'])return'default'==_0x2c1c5d['newValue']?_0x5dd1c8:{'type':'format','content':''+jy(_0x5a93d4,'*Set\x20format:*\x20%0',jy(_0x5a93d4,this['_getTranslationKeyForListStyle'](_0x2c1c5d['newValue'])))};if(!_0x2c1c5d['newValue']){if('default'==_0x2c1c5d['oldValue'])return _0x5dd1c8;let _0x2cf070=_0xc78676['head'];for(;_0x2cf070;){if(_0x2cf070['data']&&'listType'==_0x2cf070['data']['key']&&_0x2cf070['data']['newValue'])return _0x5dd1c8;_0x2cf070=_0x2cf070['next'];}return{'type':'format','content':''+jy(_0x5a93d4,'*Remove\x20format:*\x20%0',jy(_0x5a93d4,this['_getTranslationKeyForListStyle'](_0x2c1c5d['oldValue'])))};}if('default'!=_0x2c1c5d['newValue'])return{'type':'format','content':''+jy(_0x5a93d4,'*Set\x20format:*\x20%0',jy(_0x5a93d4,this['_getTranslationKeyForListStyle'](_0x2c1c5d['newValue'])))};let _0x2981f0=_0xc78676['head'];for(;_0x2981f0;){if(_0x2981f0['data']&&'listType'==_0x2981f0['data']['key']&&_0x2981f0['data']['newValue']&&_0x2981f0['data']['oldValue'])return _0x5dd1c8;_0x2981f0=_0x2981f0['next'];}return{'type':'format','content':jy(_0x5a93d4,'*Set\x20format:*\x20%0',jy(_0x5a93d4,'ELEMENT_'+_0xc78676['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x5c8792=this['editor'],_0x1f29d8=_0x5c8792['locale'];_0x5c8792['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x549844=>{if('formatBlock'!=_0x549844['type'])return;const {data:_0xa5e882}=_0x549844;if(!_0xa5e882)return;let _0xb6eaf3,_0xd4f777;switch(_0xa5e882['commandName']){case'listStyle':_0xb6eaf3='*Change\x20to:*\x20%0',_0xd4f777={'type':'format','content':jy(_0x1f29d8,_0xb6eaf3,jy(_0x1f29d8,this['_getTranslationKeyForListStyle'](_0xa5e882['commandParams'][0x0]['type'])))};break;case'listReversed':_0xb6eaf3=_0xa5e882['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0xd4f777={'type':'format','content':jy(_0x1f29d8,_0xb6eaf3)};break;case'listStart':_0xb6eaf3='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0xd4f777={'type':'format','content':jy(_0x1f29d8,_0xb6eaf3,_0xa5e882['commandParams'][0x0]['startIndex'])};}return _0xd4f777;});}['_getTranslationKeyForListStyle'](_0x310bee){return'ELEMENT_'+function(_0x5ef6a6){if(qy['includes'](_0x5ef6a6))return'bulleted';if(Wy['includes'](_0x5ef6a6))return'numbered';return null;}(_0x310bee)['toUpperCase']()+'_LIST_'+_0x310bee['toUpperCase']()['replace'](/-/g,'_');}}const qy=['disc','circle','square'],Wy=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];class TrackChangesEmoji extends _0x151d85{['afterInit'](){const _0x2d6344=this['editor'];_0x2d6344['commands']['get']('emoji')&&_0x2d6344['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends _0x151d85{static get['requires'](){return[_0x25873b];}['init'](){const _0x3394f9=this['editor'],_0x360235=_0x3394f9['plugins']['get']('TrackChangesEditing'),_0x401a57=_0x3394f9['commands']['get']('enter');_0x360235['enableCommand']('enter',()=>{_0x3394f9['model']['change'](_0x371cf8=>{const _0x67ab94=_0x3394f9['model']['document']['selection'],_0x347b45=_0x67ab94['getFirstPosition'](),_0x5cac6f=_0x49053d['fromRange'](_0x67ab94['getFirstRange']());if(_0x401a57['enterBlock'](_0x371cf8)){const _0x498ad6=_0x3394f9['model']['createPositionAt'](_0x347b45['parent']['nextSibling'],0x0),_0x1671e7=_0x371cf8['createRange'](_0x347b45,_0x498ad6);_0x360235['markInsertion'](_0x1671e7);}else _0x371cf8['setSelection'](_0x371cf8['createRange'](_0x5cac6f['end']));_0x5cac6f['detach'](),_0x401a57['fire']('afterExecute',{'writer':_0x371cf8});});});}}class TrackChangesFindAndReplace extends _0x151d85{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x14d6d1=this['editor']['plugins']['get']('TrackChangesEditing');_0x14d6d1['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x14d6d1['enableCommand']('findNext'),_0x14d6d1['enableCommand']('findPrevious'),_0x14d6d1['enableCommand']('replace'),_0x14d6d1['enableCommand']('replaceAll');}['handleFindCommand'](_0x2540a3,_0x2a1570,_0x259e15={}){const _0x2c30af=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x2540a3(_0x3594d9=>{let _0x23b7d9=('string'==typeof _0x2a1570?_0x2c30af['findByTextCallback'](_0x2a1570,_0x259e15):_0x2a1570)(_0x3594d9);Array['isArray'](_0x23b7d9)&&(_0x23b7d9={'results':_0x23b7d9,'searchText':'string'==typeof _0x2a1570?_0x2a1570:''});const _0x45f211=_0x23b7d9['results']['filter'](_0x2645df=>!0x1===this['_isInDeletionRange'](_0x2645df,_0x3594d9['item']));return{..._0x23b7d9,'results':_0x45f211};},_0x259e15);}['_isInDeletionRange'](_0x14d4b1,_0x15d6a1){const _0x2e4805=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x15d6a1,_0x14d4b1['start']),this['editor']['model']['createPositionAt'](_0x15d6a1,_0x14d4b1['end']));for(const _0x3d9ee6 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x2e4805['getIntersection'](_0x3d9ee6['getRange']()))return!0x0;return!0x1;}}const zy=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends _0x151d85{['afterInit'](){const _0xfd2800=this['editor']['locale'],_0x4051ae=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x4c5967,commandName:_0x3fd744}of zy)this['editor']['plugins']['has'](_0x4c5967)&&_0x4051ae['enableDefaultAttributesIntegration'](_0x3fd744);_0x4051ae['descriptionFactory']['registerAttributeLabel']('fontSize',jy(_0xfd2800,'FORMAT_FONT_SIZE')),_0x4051ae['descriptionFactory']['registerAttributeLabel']('fontFamily',jy(_0xfd2800,'FORMAT_FONT_FAMILY')),_0x4051ae['descriptionFactory']['registerAttributeLabel']('fontColor',jy(_0xfd2800,'FORMAT_FONT_COLOR')),_0x4051ae['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',jy(_0xfd2800,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xd23ece=this['editor'],_0x12b23c=_0xd23ece['locale'];_0xd23ece['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1d2aaa=>{const _0x8e53c5=_0x12b23c['t'];if('formatInline'!=_0x1d2aaa['type'])return;const {data:_0x5054e8}=_0x1d2aaa;if(null!=_0x5054e8){if('fontSize'==_0x5054e8['commandName']){const _0x25e0cf=_0x5054e8['commandParams'][0x0]['value'];if(_0x25e0cf){const _0x55ee77=_0x8e53c5(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x383fe4=>_0x383fe4['model']==_0x25e0cf)['title'])['toLowerCase']();return{'type':'format','content':jy(_0x12b23c,'*Set\x20font\x20size:*\x20%0',_0x55ee77)};}return{'type':'format','content':jy(_0x12b23c,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x5054e8['commandName']){const _0x3c4cb4=_0x5054e8['commandParams'][0x0]['value'];return _0x3c4cb4?{'type':'format','content':jy(_0x12b23c,'*Set\x20font\x20family:*\x20%0',_0x3c4cb4)}:{'type':'format','content':jy(_0x12b23c,'*Reset\x20font\x20family*')};}if('fontColor'==_0x5054e8['commandName']){const _0x38ff2c=_0x5054e8['commandParams'][0x0]['value'];if(_0x38ff2c){const _0x57ea50=Xt(this['editor']['config']['get']('fontColor.colors'))['find'](_0x5afc9d=>_0x5afc9d['model']==_0x38ff2c);let _0x19ffc9=_0x38ff2c,_0x49d79c='';return _0x57ea50&&(_0x19ffc9=_0x57ea50['label'],_0x49d79c=_0x8e53c5(_0x19ffc9)['toLowerCase']()),{'type':'format','content':jy(_0x12b23c,'*Set\x20font\x20color:*\x20%0',_0x49d79c)['trim'](),'color':{'value':_0x38ff2c,'title':_0x49d79c||_0x19ffc9}};}return{'type':'format','content':jy(_0x12b23c,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x5054e8['commandName']){const _0x7796e0=_0x5054e8['commandParams'][0x0]['value'];if(_0x7796e0){const _0x49f60a=Xt(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x3dc126=>_0x3dc126['model']==_0x7796e0);let _0x74203=_0x7796e0,_0x63bc3b='';return _0x49f60a&&(_0x74203=_0x49f60a['label'],_0x63bc3b=_0x8e53c5(_0x74203)['toLowerCase']()),{'type':'format','content':jy(_0x12b23c,'*Set\x20font\x20background\x20color:*\x20%0',_0x63bc3b)['trim'](),'color':{'value':_0x7796e0,'title':_0x63bc3b||_0x74203}};}return{'type':'format','content':jy(_0x12b23c,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends _0x151d85{['afterInit'](){const {plugins:_0x415b64}=this['editor'];_0x415b64['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x415b64['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x14a379,plugins:_0x4e62ed,commands:_0x5d8419}=this['editor'],_0xfce6fa=_0x4e62ed['get']('TrackChangesEditing');_0x5d8419['get']('footnotesStyle')&&_0xfce6fa['enableDefaultAttributesIntegration']('footnotesStyle'),_0x5d8419['get']('footnotesStart')&&_0xfce6fa['enableDefaultAttributesIntegration']('footnotesStart'),_0xfce6fa['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',jy(_0x14a379,'FORMAT_FOOTNOTES_LIST_STYLE')),_0xfce6fa['descriptionFactory']['registerAttributeLabel']('footnotesListStart',jy(_0x14a379,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x33483f=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x1c54e0,commands:_0x26acf6}=this['editor'];_0x26acf6['get']('insertFootnote')&&_0x33483f['enableCommand']('insertFootnote'),_0x33483f['descriptionFactory']['registerElementLabel']('footnoteRef',_0x415ee3=>jy(_0x1c54e0,'ELEMENT_FOOTNOTE_REF',_0x415ee3)),_0x33483f['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x55e334=>jy(_0x1c54e0,'ELEMENT_FOOTNOTE_DEFINITION',_0x55e334)),_0x33483f['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x1eb573=>jy(_0x1c54e0,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x1eb573));}}class TrackChangesFormatPainter extends _0x151d85{['afterInit'](){const _0x4de891=this['editor'],_0x2944b1=_0x4de891['plugins']['get']('TrackChangesEditing'),_0x3c4382=_0x4de891['commands']['get']('copyFormat'),_0x2be195=_0x4de891['commands']['get']('pasteFormat');_0x3c4382&&_0x2be195&&(_0x2944b1['enableDefaultAttributesIntegration']('pasteFormat'),_0x2944b1['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x2a4995=this['editor'],_0x11cb7f=_0x2a4995['locale'];_0x2a4995['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x8400f0=>{if('formatBlock'!=_0x8400f0['type']&&'formatInline'!=_0x8400f0['type'])return;const {data:_0x2562cb}=_0x8400f0;if(_0x2562cb&&'pasteFormat'===_0x2562cb['commandName']){const _0x2360d6=[],_0x4f998d=_0x2562cb['commandParams'][0x0];for(const [_0x295e17,_0x976b8f]of Object['entries'](_0x4f998d))_0x2360d6['push'](Yy(_0x2a4995,_0x295e17,_0x976b8f));return _0x2360d6['length']?{'type':'format','content':jy(_0x11cb7f,'*Set\x20format\x20to:*\x20%0',_0x2360d6['join'](',\x20'))}:{'type':'format','content':jy(_0x11cb7f,'*Remove\x20all\x20formatting*')};}});}}function Yy(_0x1fc341,_0x195c4e,_0x20694a){const _0x11fd93=_0x1fc341['locale']['t'],_0x45645f=_0x195c4e['split'](/(?=[A-Z])/)['join']('\x20'),_0x5592f4=_0x11fd93(_0x45645f['charAt'](0x0)['toUpperCase']()+_0x45645f['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x20694a)return _0x5592f4;if('fontColor'===_0x195c4e||'fontBackgroundColor'===_0x195c4e){const _0x5950a3=Xt(_0x1fc341['config']['get']('fontColor.colors'))['find'](_0x5a2cab=>_0x5a2cab['model']==_0x20694a);return _0x5592f4+'\x20('+(_0x5950a3?_0x11fd93(_0x5950a3['label'])['toLowerCase']():_0x20694a)+')';}if('fontSize'===_0x195c4e&&isNaN(parseFloat(_0x20694a))){const _0x1478c5=_0x1fc341['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x1fc341['config']['get']('fontSize.options'))['find'](_0x13287c=>_0x13287c['model']==_0x20694a);return _0x5592f4+'\x20('+(_0x1478c5?_0x11fd93(_0x1478c5['title'])['toLowerCase']():_0x20694a)+')';}return _0x5592f4+'\x20('+_0x20694a+')';}class TrackChangesGeneralHtmlSupport extends _0x151d85{['afterInit'](){const _0x1f1dbb=this['editor'];if(!_0x1f1dbb['plugins']['has']('GeneralHtmlSupport')||!_0x1f1dbb['plugins']['has']('DataSchema'))return;const _0x27bb9e=_0x1f1dbb['plugins']['get']('TrackChangesEditing'),_0x5a16c1=_0x1f1dbb['plugins']['get']('GeneralHtmlSupport'),_0xc0b260=_0x1f1dbb['plugins']['get']('DataSchema'),_0x58ed51=_0x1f1dbb['locale'],_0x10a68a=new Set(['htmlContent']);for(const _0x40225a of _0xc0b260['getDefinitionsForView'](/.*/,!0x1)){const _0xe61d24=_0x40225a['view'],_0x5f14ed=_0x5a16c1['getGhsAttributeNameForElement'](_0xe61d24);_0x10a68a['add'](_0x5f14ed),(_0x40225a['isInline']&&!_0x40225a['isObject']&&!('appliesToBlock'in _0x40225a&&_0x40225a['appliesToBlock'])&&_0x27bb9e['descriptionFactory']['registerAttributeLabel'](_0x5f14ed,_0xe61d24),_0x40225a['model']['startsWith']('html')&&_0x27bb9e['descriptionFactory']['registerElementLabel'](_0x40225a['model'],_0xaaf539=>jy(_0x58ed51,'ELEMENT_HTML_TAG',[_0xaaf539,_0xe61d24])));}_0x27bb9e['descriptionFactory']['registerAttributeLabel']('htmlContent',jy(_0x58ed51,'FORMAT_RAW_HTML_CONTENT')),_0x27bb9e['descriptionFactory']['registerAttributeLabel']('htmlLiAttributes',jy(_0x58ed51,'FORMAT_HTML_LIST_ITEM')),_0x27bb9e['descriptionFactory']['registerAttributeLabel']('htmlUlAttributes',jy(_0x58ed51,'FORMAT_HTML_BULLETED_LIST')),_0x27bb9e['descriptionFactory']['registerAttributeLabel']('htmlOlAttributes',jy(_0x58ed51,'FORMAT_HTML_NUMBERED_LIST')),_0x27bb9e['descriptionFactory']['registerDescriptionCallback'](_0x1a728e=>{if('attribute'!==_0x1a728e['type'])return;const _0x5984db=_0x1a728e['data'];if(!_0x5984db||!_0x10a68a['has'](_0x5984db['key']))return;if('htmlContent'===_0x5984db['key'])return{'type':'format','content':jy(_0x58ed51,'*Change\x20%0\x20content*',jy(_0x58ed51,'ELEMENT_RAW_HTML'))};const {setItems:_0x130ab0,removeItems:_0x128851}=function(_0x2c62f4,_0x347d33,_0x16445d){const _0x1aea3a=[],_0x12f37c=[],_0x4f16cd=_0x2c62f4['styles']??{},_0x253d61=_0x347d33['styles']??{};for(const _0x4f1d62 of new Set([...Object['keys'](_0x4f16cd),...Object['keys'](_0x253d61)]))_0x4f16cd[_0x4f1d62]!==_0x253d61[_0x4f1d62]&&(void 0x0===_0x253d61[_0x4f1d62]?_0x12f37c['push'](_0x4f1d62):_0x1aea3a['push'](_0x4f1d62+'\x20('+_0x253d61[_0x4f1d62]+')'));const _0x532899=jy(_0x16445d,'FORMAT_HTML_CLASS'),_0x137e58=new Set(_0x2c62f4['classes']??[]),_0x30ea39=new Set(_0x347d33['classes']??[]),_0x16d9ae=[..._0x30ea39]['some'](_0xfb60b2=>!_0x137e58['has'](_0xfb60b2)),_0x5c17fe=[..._0x137e58]['some'](_0x3d346e=>!_0x30ea39['has'](_0x3d346e));_0x16d9ae&&_0x1aea3a['push'](_0x532899),_0x5c17fe&&_0x12f37c['push'](_0x532899);const _0x52631c=jy(_0x16445d,'FORMAT_HTML_ATTRIBUTE'),_0x2e2ce4=_0x2c62f4['attributes']??{},_0xc872c4=_0x347d33['attributes']??{};let _0x54bd71=!0x1,_0x422629=!0x1;for(const _0x47c5de of new Set([...Object['keys'](_0x2e2ce4),...Object['keys'](_0xc872c4)]))_0x2e2ce4[_0x47c5de]!==_0xc872c4[_0x47c5de]&&(void 0x0===_0xc872c4[_0x47c5de]?_0x422629=!0x0:_0x54bd71=!0x0);return _0x54bd71&&_0x1aea3a['push'](_0x52631c),_0x422629&&_0x12f37c['push'](_0x52631c),{'setItems':_0x1aea3a,'removeItems':_0x12f37c};}(_0x5984db['oldValue']??{},_0x5984db['newValue']??{},_0x58ed51);if(!_0x130ab0['length']&&!_0x128851['length'])return;const _0x357f9d=[];return _0x130ab0['length']&&_0x357f9d['push'](jy(_0x58ed51,'*Set\x20format:*\x20%0',_0x130ab0['join'](',\x20'))),_0x128851['length']&&_0x357f9d['push'](jy(_0x58ed51,'*Remove\x20format:*\x20%0',_0x128851['join'](',\x20'))),{'type':'format','content':_0x357f9d['join']('\x0a')};});}}class TrackChangesHeading extends _0x151d85{['_headingOptions'];['afterInit'](){const _0x49d9f2=this['editor'];if(!_0x49d9f2['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x49d9f2['config']['get']('heading.options');const _0x33ca29=_0x49d9f2['locale'],_0x478bad=_0x49d9f2['plugins']['get']('TrackChangesEditing');_0x478bad['enableDefaultAttributesIntegration']('heading');for(const _0x2b7faa of this['_headingOptions'])'paragraph'!=_0x2b7faa['model']&&_0x478bad['descriptionFactory']['registerElementLabel'](_0x2b7faa['model'],_0x190a5d=>{const _0x1f9de8=this['_getHeadingLevel'](_0x2b7faa['model']);return null!==_0x1f9de8?_0x7d16e4(_0x190a5d,_0x1f9de8):_0x23f806(_0x190a5d,_0x2b7faa['title']);});function _0x7d16e4(_0xa7841c,_0x24dd7b){return jy(_0x33ca29,'ELEMENT_HEADING',[_0xa7841c,_0x24dd7b]);}function _0x23f806(_0x33c800,_0x2f6cff){return jy(_0x33ca29,'ELEMENT_HEADING_CUSTOM',[_0x33c800,_0x2f6cff]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x8c3115=this['editor'],_0x27fa08=_0x8c3115['locale'];function _0x1b0d04(_0x2f2171,_0x11a313){return jy(_0x27fa08,'ELEMENT_HEADING_CUSTOM',[_0x2f2171,_0x11a313]);}_0x8c3115['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x380968=>{if('formatBlock'!=_0x380968['type'])return;const {data:_0x159bf2}=_0x380968;if(_0x159bf2&&'heading'==_0x159bf2['commandName']){const _0x13db24=_0x159bf2['commandParams'][0x0]['value'],_0x444a86=this['_getHeadingLevel'](_0x13db24);if(null!==_0x444a86)return{'type':'format','content':jy(_0x27fa08,'*Change\x20to:*\x20%0',(_0x1ce9c6=0x1,_0x384b3c=_0x444a86,jy(_0x27fa08,'ELEMENT_HEADING',[_0x1ce9c6,_0x384b3c])))};const _0x2f729f=this['_headingOptions']['find'](_0x59f536=>_0x59f536['model']===_0x13db24)['title'];return{'type':'format','content':jy(_0x27fa08,'*Change\x20to:*\x20%0',_0x1b0d04(0x1,_0x2f729f))};}var _0x1ce9c6,_0x384b3c;});}['_getHeadingLevel'](_0x4268cb){const _0x25a80d=_0x4268cb['match'](/^heading(\d+)/);if(_0x25a80d)return _0x25a80d[0x1];const _0x4c60a9=this['_headingOptions']?.['find'](_0x4ba3b1=>_0x4ba3b1['model']==_0x4268cb);if(_0x4c60a9&&_0x4c60a9['view']){const _0x1a576a=_0x4c60a9['view'],_0x5c7c2b=(_0x1a576a['name']??_0x1a576a)['match'](/^h(\d+)/);if(_0x5c7c2b)return _0x5c7c2b[0x1];}return null;}}class TrackChangesHighlight extends _0x151d85{['afterInit'](){const _0x5aa880=this['editor'];if(!_0x5aa880['plugins']['has']('HighlightEditing'))return;const _0x55b87d=_0x5aa880['plugins']['get']('TrackChangesEditing'),_0x2774bd=_0x5aa880['locale'];_0x55b87d['enableDefaultAttributesIntegration']('highlight'),_0x55b87d['descriptionFactory']['registerAttributeLabel']('highlight',jy(_0x2774bd,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xece4eb=this['editor'],_0x5454b4=_0xece4eb['locale'];_0xece4eb['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x53999b=>{if('formatInline'!=_0x53999b['type'])return;const {data:_0x2637a5}=_0x53999b;if(_0x2637a5&&'highlight'==_0x2637a5['commandName']){const _0x3ce8a5=_0x5454b4['t'],_0x385e87=_0x2637a5['commandParams'][0x0]['value'];if(_0x385e87){const _0x22f709=_0xece4eb['config']['get']('highlight.options')['find'](_0x435df5=>_0x435df5['model']==_0x385e87),_0x53689b=_0x3ce8a5(_0x22f709['title'])['toLowerCase']();return{'type':'format','content':jy(_0x5454b4,'*Set\x20highlight:*\x20%0',_0x53689b),'color':{'value':_0x22f709['color'],'title':_0x22f709['title']}};}return{'type':'format','content':jy(_0x5454b4,'*Remove\x20highlight*',jy(_0x5454b4,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends _0x151d85{['afterInit'](){const _0x188f44=this['editor'];if(!_0x188f44['plugins']['has']('HorizontalLineEditing'))return;_0x188f44['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x149a5b=_0x188f44['plugins']['get']('TrackChangesEditing'),_0xe2734e=_0x188f44['locale'];_0x149a5b['descriptionFactory']['registerElementLabel']('horizontalLine',_0x398c45=>jy(_0xe2734e,'ELEMENT_HORIZONTAL_LINE',_0x398c45));}}class TrackChangesHtmlEmbed extends _0x151d85{['afterInit'](){const _0x442465=this['editor'];if(!_0x442465['plugins']['has']('HtmlEmbed'))return;const _0x440a0f=_0x442465['plugins']['get']('TrackChangesEditing'),_0x1155b9=_0x442465['locale'];_0x440a0f['descriptionFactory']['registerElementLabel']('rawHtml',_0x49ca9a=>jy(_0x1155b9,'ELEMENT_HTML_EMBED',_0x49ca9a)),_0x440a0f['enableDefaultAttributesIntegration']('htmlEmbed'),_0x440a0f['descriptionFactory']['registerDescriptionCallback'](_0xc3ff13=>{if('attribute'!=_0xc3ff13['type'])return;const {data:_0x53a988}=_0xc3ff13;if(_0x53a988&&'value'==_0x53a988['key']&&_0xc3ff13['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x266416=jy(_0x1155b9,'ELEMENT_HTML_EMBED');return{'type':'format','content':jy(_0x1155b9,'*Change\x20%0\x20content*',_0x266416)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x295508=this['editor'],_0x16ace1=_0x295508['locale'];_0x295508['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x367e6d=>{if('formatBlock'!=_0x367e6d['type'])return;const {data:_0xf1c6f0}=_0x367e6d;if(_0xf1c6f0&&'htmlEmbed'==_0xf1c6f0['commandName']){const _0x829874=jy(_0x16ace1,'ELEMENT_HTML_EMBED');return{'type':'format','content':jy(_0x16ace1,'*Change\x20%0\x20content*',_0x829874)};}});}}class TrackChangesImage extends _0x151d85{['afterInit'](){const _0x2e0bdc=this['editor'];if(!_0x2e0bdc['plugins']['has']('ImageEditing'))return;const _0x2e21cf=_0x2e0bdc['plugins']['get']('TrackChangesEditing'),_0x1938fd=_0x2e0bdc['plugins']['get']('ImageUtils'),_0x491feb=_0x2e0bdc['locale'];_0x2e21cf['enableCommand']('insertImage'),_0x2e21cf['descriptionFactory']['registerElementLabel']('imageBlock',_0x1e1291=>jy(_0x491feb,'ELEMENT_IMAGE',_0x1e1291)),_0x2e21cf['descriptionFactory']['registerElementLabel']('imageInline',_0x54c7b3=>jy(_0x491feb,'ELEMENT_INLINE_IMAGE',_0x54c7b3)),_0x2e21cf['descriptionFactory']['registerElementLabel']('caption',()=>jy(_0x491feb,'ELEMENT_CAPTION')),_0x2e0bdc['plugins']['has']('ImageUploadEditing')&&_0x2e21cf['enableCommand']('uploadImage'),_0x2e0bdc['plugins']['has']('ImageBlockEditing')&&_0x2e0bdc['plugins']['has']('ImageInlineEditing')&&(_0x2e21cf['enableCommand']('imageTypeInline',(_0x2b2b91,_0x2634eb)=>{const _0x33b1e5=_0x1938fd['getClosestSelectedImageElement'](_0x2e0bdc['model']['document']['selection']);_0x2e0bdc['model']['change'](()=>{_0x2e21cf['markBlockFormat'](_0x33b1e5,{'commandName':'imageTypeInline','commandParams':[_0x2634eb]},[],'convertBlockImageToInline');});}),_0x2e21cf['enableCommand']('imageTypeBlock',(_0x579b37,_0x548ae0)=>{_0x2e0bdc['model']['change'](_0x2d3f17=>{let _0x35f570=_0x1938fd['getClosestSelectedImageElement'](_0x2e0bdc['model']['document']['selection']),_0x5cfb66=_0x2d3f17['createRangeOn'](_0x35f570);const _0x259852=_0x103f40['fromPosition'](_0x5cfb66['start'],'toPrevious'),_0x52c13d=_0x103f40['fromPosition'](_0x5cfb66['end'],'toNext');_0x2e21cf['forceDefaultExecution'](()=>_0x579b37(_0x548ae0)),_0x35f570=_0x1938fd['getClosestSelectedImageElement'](_0x2e0bdc['model']['document']['selection']),_0x5cfb66=_0x2d3f17['createRangeOn'](_0x35f570);const _0x5cad05=_0x2d3f17['createRange'](_0x259852,_0x52c13d);_0x259852['detach'](),_0x52c13d['detach'](),_0x2e21cf['markBlockFormat'](_0x35f570,{'commandName':'imageTypeInline','commandParams':[_0x548ae0]},[],'convertInlineImageToBlock'),_0x5cad05['start']['isBefore'](_0x5cfb66['start'])&&_0x2e21cf['markInsertion'](_0x2d3f17['createRange'](_0x5cad05['start'],_0x5cfb66['start']),'convertInlineImageToBlock'),_0x5cfb66['end']['isBefore'](_0x5cad05['end'])&&_0x2e21cf['markInsertion'](_0x2d3f17['createRange'](_0x5cfb66['end'],_0x5cad05['end']),'convertInlineImageToBlock');});}),_0x2e21cf['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x2e21cf['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x2e21cf['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x2e21cf['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x2e21cf['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x2e21cf['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x3dcc24])=>{const _0x10f150=_0x2e21cf['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x3a6bc8=_0x3dcc24['start'],_0x1d73ee=_0x3dcc24['end'];const _0x5717aa=_0x2e0bdc['model']['schema']['getNearestSelectionRange'](_0x3a6bc8,'backward'),_0x3a6dbe=_0x2e0bdc['model']['schema']['getNearestSelectionRange'](_0x1d73ee,'forward');_0x5717aa['isCollapsed']&&(_0x3a6bc8=_0x5717aa['start']),_0x3a6dbe['isCollapsed']&&(_0x1d73ee=_0x3a6dbe['end']),_0x10f150([_0x2e0bdc['model']['createRange'](_0x3a6bc8,_0x1d73ee)]);}),_0x2e21cf['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x24827d),_0x2e21cf['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x24827d)),_0x2e0bdc['plugins']['has']('ImageCaptionEditing')&&(_0x2e21cf['enableCommand']('toggleImageCaption',(_0x514c0d,_0x432450)=>{const _0x1f7dc3=_0x2e0bdc['plugins']['get']('ImageCaptionUtils');let _0x4b291b=_0x1938fd['getClosestSelectedImageElement'](_0x2e0bdc['model']['document']['selection']),_0x31a281=_0x1f7dc3['getCaptionFromImageModelElement'](_0x4b291b);_0x2e0bdc['model']['change'](()=>{if(_0x31a281)return void _0x2e21cf['markDeletion'](_0x2e0bdc['model']['createRangeOn'](_0x31a281));const _0xae94ca=_0x1938fd['isBlockImage'](_0x4b291b);_0x514c0d(_0x432450),_0x4b291b=_0x1938fd['getClosestSelectedImageElement'](_0x2e0bdc['model']['document']['selection']),_0x31a281=_0x1f7dc3['getCaptionFromImageModelElement'](_0x4b291b),_0x2e21cf['markInsertion'](_0x2e0bdc['model']['createRangeOn'](_0x31a281),_0xae94ca?null:'imageCaption');});}),_0x2e21cf['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x24827d));const _0x18de60=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x4e9b69(_0x3f68a9,_0x74e21c){const _0x365ced=_0x18de60['findIndex'](({type:_0x313987,subType:_0x412de5})=>_0x3f68a9['type']==_0x313987&&_0x3f68a9['subType']==_0x412de5),_0x5e8cfe=_0x18de60['findIndex'](({type:_0x87530c,subType:_0x4c8d00})=>_0x74e21c['type']==_0x87530c&&_0x74e21c['subType']==_0x4c8d00);if(_0x365ced<0x0||_0x5e8cfe<0x0)return!0x1;const _0x34be62=_0x3f68a9['getFirstRange'](),_0x1bccfd=_0x74e21c['getFirstRange']();if((0x0==_0x365ced||0x1==_0x365ced)&&0x2==_0x5e8cfe&&_0x34be62['isIntersecting'](_0x1bccfd))return!0x0;if(0x2==_0x365ced&&0x3==_0x5e8cfe){const _0x390c76=_0x2e21cf['_findSuggestions'](_0x34be62,'insertion')['filter'](({suggestion:_0x5d9faa,meta:_0x5e7c1e})=>_0x5e7c1e['isOwn']&&'convertInlineImageToBlock'==_0x5d9faa['subType']);if(_0x390c76['length']>0x1&&_0x1bccfd['end']['isEqual'](_0x34be62['start']))return!0x0;if(0x1==_0x390c76['length']&&(_0x34be62['start']['isEqual'](_0x1bccfd['end'])||_0x34be62['end']['isEqual'](_0x1bccfd['start'])))return!0x0;}if(0x3==_0x365ced&&0x3==_0x5e8cfe&&_0x34be62['start']['isBefore'](_0x1bccfd['start'])){const _0x35071e=_0x34be62['end']['nodeAfter'],_0x470b08=_0x1bccfd['start']['nodeBefore'];return _0x1938fd['isBlockImage'](_0x35071e)&&_0x35071e===_0x470b08;}return!0x1;}function _0x24827d(_0x5aa926,_0x4049e1){return _0x4e9b69(_0x5aa926,_0x4049e1)?[_0x5aa926,_0x4049e1]:_0x4e9b69(_0x4049e1,_0x5aa926)?[_0x4049e1,_0x5aa926]:null;}_0x2e0bdc['plugins']['has']('ImageResize')&&(_0x2e21cf['enableDefaultAttributesIntegration']('resizeImage'),_0x2e21cf['descriptionFactory']['registerAttributeLabel']('resizedWidth',jy(_0x491feb,'FORMAT_IMAGE_SIZE'))),_0x2e0bdc['plugins']['has']('ImageTextAlternativeEditing')&&_0x2e21cf['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x2e0bdc['plugins']['has']('PictureEditing')&&_0x2e21cf['descriptionFactory']['registerDescriptionCallback'](_0x22c403=>{if('attribute'!=_0x22c403['type'])return;const {data:_0x11a3c6}=_0x22c403;return _0x11a3c6&&'sources'==_0x11a3c6['key']?{'type':'format','content':''}:void 0x0;}),_0x2e0bdc['plugins']['has']('ImageSizeAttributes')&&_0x2e21cf['descriptionFactory']['registerDescriptionCallback'](_0x114e81=>{if('attribute'!=_0x114e81['type'])return;const {data:_0xf5719}=_0x114e81;return!_0xf5719||'width'!=_0xf5719['key']&&'height'!=_0xf5719['key']?void 0x0:{'type':'format','content':''};}),_0x2e21cf['descriptionFactory']['registerDescriptionCallback'](_0x168052=>{if(!!_0x18de60['find'](({type:_0x2bc8b7,subType:_0x1d8b2f})=>_0x168052['type']==_0x2bc8b7&&_0x168052['subType']==_0x1d8b2f))return _0x168052['previous']?{}:void 0x0;}),_0x2e21cf['descriptionFactory']['registerDescriptionCallback'](_0x1612bd=>{if('insertion'==_0x1612bd['type']||'deletion'==_0x1612bd['type']){const _0x1444b4=_0x1612bd['getContainedElement']();if(_0x1444b4&&_0x1444b4['is']('element','caption'))return{'type':'insertion'==_0x1612bd['type']?'addObject':'removeObject','element':_0x1444b4,'quantity':0x1};}}),_0x2e21cf['descriptionFactory']['registerDescriptionCallback'](_0x32388c=>'formatBlock'==_0x32388c['type']&&'convertInlineImageToBlock'==_0x32388c['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x32388c['type']&&'convertBlockImageToInline'==_0x32388c['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x2e21cf['descriptionFactory']['registerDescriptionCallback'](_0x524fd3=>{if('attribute'!=_0x524fd3['type'])return;const {data:_0x7d865b}=_0x524fd3;if(!_0x7d865b||'alt'!=_0x7d865b['key'])return;const _0x55b3bc=_0x7d865b['newValue'];return _0x55b3bc?{'type':'format','content':jy(_0x491feb,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x55b3bc+'\x22')}:{'type':'format','content':jy(_0x491feb,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3c024b=this['editor'],_0x4971b2=_0x3c024b['locale'];_0x3c024b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x33f45a=>{if('formatBlock'!=_0x33f45a['type']&&'formatInline'!=_0x33f45a['type'])return;const {data:_0xcc7993}=_0x33f45a;if(_0xcc7993){if('imageTextAlternative'==_0xcc7993['commandName']){const _0x165f28=_0xcc7993['commandParams'][0x0]['newValue'];return _0x165f28?{'type':'format','content':jy(_0x4971b2,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x165f28+'\x22')}:{'type':'format','content':jy(_0x4971b2,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0xcc7993['commandName']){const _0x541d74=_0xcc7993['commandParams'][0x0]['width'];return _0x541d74?{'type':'format','content':jy(_0x4971b2,'*Set\x20image\x20width:*\x20%0',_0x541d74)}:{'type':'format','content':jy(_0x4971b2,'*Reset\x20image\x20width*')};}}});}}class TrackChangesImageReplace extends _0x151d85{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x593684=this['editor']['locale'],_0x2504c5=this['editor']['plugins']['get']('TrackChangesEditing');_0x2504c5['enableDefaultAttributesIntegration']('replaceImageSource'),_0x2504c5['descriptionFactory']['registerDescriptionCallback'](_0xc6c3ef=>{if('attribute'!=_0xc6c3ef['type'])return;const {data:_0x43eb7b}=_0xc6c3ef;return _0x43eb7b&&'src'==_0x43eb7b['key']?_0x43eb7b['newValue']&&_0x43eb7b['oldValue']?{'type':'format','content':jy(_0x593684,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x4e419a=this['editor']['plugins']['get']('TrackChangesEditing');_0x4e419a['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x4e419a['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x4e419a['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x4e419a['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5957dd=this['editor'],_0x26f830=_0x5957dd['locale'];_0x5957dd['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x527ecc=>{if('formatBlock'!=_0x527ecc['type']&&'formatInline'!=_0x527ecc['type'])return;const {data:_0x55b28f}=_0x527ecc;if(!_0x55b28f||'replaceImageSource'!=_0x55b28f['commandName'])return;return{'type':'format','content':jy(_0x26f830,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends _0x151d85{['afterInit'](){const _0x4c1750=this['editor'];if(!_0x4c1750['plugins']['has']('ImageStyleEditing'))return;const _0x1eb066=_0x4c1750['plugins']['get']('TrackChangesEditing'),_0x8d5b51=_0x4c1750['plugins']['get']('ImageUtils'),_0x3ec9e={};_0x1eb066['enableCommand']('imageStyle',(_0x2708ad,_0x2d8912)=>{const _0x2c9eaa=_0x4c1750['plugins']['get']('Users')['me'],_0x203445=_0x4c1750['commands']['get']('imageStyle');let _0xa992a1=_0x8d5b51['getClosestSelectedImageElement'](_0x4c1750['model']['document']['selection']),_0x4efd37=_0x4c1750['model']['createRangeOn'](_0xa992a1),_0x1d88a9=_0x203445['value'];if(_0x1d88a9==_0x2d8912['value'])return;const _0x222c2b={'commandName':'imageStyle','commandParams':[_0x2d8912],'formatGroupId':_0x3eda13()};_0x4c1750['model']['change'](()=>{if(_0x1eb066['getSuggestions']()['filter'](_0x46676f=>_0x46676f['isInContent']&&_0x2c9eaa==_0x46676f['author']&&('formatBlock'==_0x46676f['type']||'formatInline'==_0x46676f['type'])&&('imageStylePreApply'==_0x46676f['subType']||'imageStylePostApply'==_0x46676f['subType'])&&_0x46676f['getFirstRange']()['isEqual'](_0x4efd37))['forEach'](_0x13237c=>_0x1eb066['discardSuggestion'](_0x13237c['head'])),_0xa992a1=_0x8d5b51['getClosestSelectedImageElement'](_0x4c1750['model']['document']['selection']),_0x4efd37=_0x4c1750['model']['createRangeOn'](_0xa992a1),_0x203445['refresh'](),_0x4c1750['commands']['get']('imageTypeInline')['refresh'](),_0x4c1750['commands']['get']('imageTypeBlock')['refresh'](),_0x1d88a9=_0x203445['value'],_0x1d88a9!=_0x2d8912['value'])return _0x8d5b51['isInlineImage'](_0xa992a1)&&_0x203445['shouldConvertImageType'](_0x2d8912['value'],_0xa992a1)?(_0x2708ad({..._0x2d8912,'setImageSizes':!0x1}),_0xa992a1=_0x8d5b51['getClosestSelectedImageElement'](_0x4c1750['model']['document']['selection']),void _0x1eb066['markBlockFormat'](_0xa992a1,{..._0x222c2b,'commandReversedParams':[{'value':_0x1d88a9||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x8d5b51['isBlockImage'](_0xa992a1)?_0x1eb066['markBlockFormat'](_0xa992a1,_0x222c2b,[],'imageStylePostApply'):_0x1eb066['markInlineFormat'](_0x4efd37,_0x222c2b,'imageStylePostApply'));});});for(const _0xe1214f of _0x4c1750['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x3ec9e[_0xe1214f['name']]=_0xe1214f['title']['toLowerCase']();_0x1eb066['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x1eb066['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x1eb066['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x1eb066['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x3335a9])=>{_0x8d5b51['setImageNaturalSizeAttributes'](_0x3335a9['getContainedElement']());}),_0x1eb066['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0xf2288,_0x258fb3)=>{_0x1eb066['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0xf2288,{'commandName':_0x258fb3['commandName'],'commandParams':_0x258fb3['commandReversedParams']});}),_0x1eb066['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x1cbc6b,_0x428377){if(_0x1622aa(_0x1cbc6b,_0x428377))return[_0x1cbc6b,_0x428377];if(_0x1622aa(_0x428377,_0x1cbc6b))return[_0x428377,_0x1cbc6b];return null;});const _0x5d89f7=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x1622aa(_0x90783,_0x5bab2f){const _0x3c21f9=_0x5d89f7['findIndex'](({type:_0x3e5bf2,subType:_0x20d710})=>_0x90783['type']==_0x3e5bf2&&_0x90783['subType']==_0x20d710),_0x2720a1=_0x5d89f7['findIndex'](({type:_0x52186c,subType:_0x4d0bd2})=>_0x5bab2f['type']==_0x52186c&&_0x5bab2f['subType']==_0x4d0bd2);if(_0x3c21f9<0x0||_0x2720a1<0x0)return!0x1;const _0x2f2b3f=_0x90783['getFirstRange'](),_0x562704=_0x5bab2f['getFirstRange']();if((0x0==_0x3c21f9||0x1==_0x3c21f9)&&0x2==_0x2720a1&&_0x2f2b3f['isIntersecting'](_0x562704))return!0x0;if(0x2==_0x3c21f9&&0x3==_0x2720a1){const _0xee4cf4=_0x1eb066['_findSuggestions'](_0x2f2b3f,'insertion')['filter'](({suggestion:_0x37efb1,meta:_0x3a8aae})=>_0x3a8aae['isOwn']&&'convertInlineImageToBlock'==_0x37efb1['subType']);if(_0xee4cf4['length']>0x1&&_0x562704['end']['isEqual'](_0x2f2b3f['start']))return!0x0;if(0x1==_0xee4cf4['length']&&(_0x2f2b3f['start']['isEqual'](_0x562704['end'])||_0x2f2b3f['end']['isEqual'](_0x562704['start'])))return!0x0;}if(0x3==_0x3c21f9&&0x3==_0x2720a1&&_0x2f2b3f['start']['isBefore'](_0x562704['start'])){const _0x5233c1=_0x2f2b3f['end']['nodeAfter'],_0x17e12d=_0x562704['start']['nodeBefore'];return _0x8d5b51['isBlockImage'](_0x5233c1)&&_0x5233c1===_0x17e12d;}return!0x1;}_0x4c1750['model']['document']['registerPostFixer'](()=>{let _0x3e9545=!0x1;const _0x3cd638=Array['from'](_0x4c1750['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x341c14,data:_0x5cda75}of _0x3cd638){const {group:_0x221fc1,type:_0x5522d5,subType:_0x3f344d,id:_0x447a48}=$c(_0x341c14);if('suggestion'==_0x221fc1&&_0x1eb066['hasSuggestion'](_0x447a48)){if('formatBlock'==_0x5522d5&&('imageStylePreApply'==_0x3f344d||'imageStylePostApply'==_0x3f344d)){const _0x41763d=_0x1eb066['getSuggestion'](_0x447a48);if(_0x5cda75['newRange']){const _0x5a22f2=_0x41763d['getFirstRange']()['getContainedElement']();if(_0x8d5b51['isBlockImage'](_0x5a22f2))continue;_0x1eb066['discardSuggestion'](_0x41763d),_0x3e9545=!0x0;}}if('insertion'==_0x5522d5&&'imageCaption'==_0x3f344d&&!_0x5cda75['newRange']){const _0x223886=_0x1eb066['getSuggestion'](_0x447a48);_0x223886['next']&&_0x223886['next']['isInContent']&&(_0x1eb066['discardSuggestion'](_0x223886['next']),_0x3e9545=!0x0);}}}return _0x3e9545;}),this['_registerLegacyDescription'](_0x3ec9e);}['_registerLegacyDescription'](_0x2cb9c2){const _0x38e62c=this['editor'],_0x262e5e=_0x38e62c['locale'];_0x38e62c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3fb81a=>{if('formatBlock'!=_0x3fb81a['type']&&'formatInline'!=_0x3fb81a['type'])return;const {data:_0x9b1eea}=_0x3fb81a;if(!_0x9b1eea||'imageStyle'!=_0x9b1eea['commandName'])return;const _0x2f645a=_0x9b1eea['commandParams'][0x0]['value'];return _0x51032d('side'===_0x2f645a?jy(_0x262e5e,'FORMAT_SIDE_IMAGE'):_0x2cb9c2[_0x2f645a]||_0x2f645a);function _0x51032d(_0x55e360){return{'type':'format','content':jy(_0x262e5e,'*Format:*\x20%0',_0x55e360)};}});}}class TrackChangesImportWord extends _0x151d85{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x4c4a05){super(_0x4c4a05),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x377eca=this['editor'],_0x1c888f=_0x377eca['commands']['get']('importWord'),_0x1d40e2=_0x377eca['commands']['get']('trackChanges');_0x1c888f&&(_0x1c888f['on']('execute',(_0x107ce0,[,_0x3e0d28])=>{this['_trackChangesValueDuringImport']=_0x1d40e2['value'],_0x3e0d28['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x1c888f,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x1c888f,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x1d40e2['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x377eca['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x3d3e57,_0x1e6642){const {suggestions:_0x3c7fa7}=_0x1e6642,_0x2d33d9=this['editor']['commands']['get']('trackChanges'),_0x13b086=_0x2d33d9['value'];this['_trackChangesValueDuringImport']!==_0x13b086&&(_0x2d33d9['execute'](),this['_trackChangesExecuted']=!0x0),_0x3c7fa7&&_0x3c7fa7['forEach'](({id:_0x4ad617,type:_0x41aba0,author:_0x7d376b,created_at:_0x399538})=>{const _0x4b3d0d={'id':_0x4ad617,'type':_0x41aba0,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x7d376b,'createdAt':_0x399538?new Date(_0x399538):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x4b3d0d);});}}class TrackChangesIndent extends _0x151d85{['afterInit'](){const _0x45fccf=this['editor'],_0x25dfb1=_0x45fccf['plugins']['get']('TrackChangesEditing');if(_0x45fccf['plugins']['has']('IndentEditing')&&(_0x25dfb1['enableCommand']('indent'),_0x25dfb1['enableCommand']('outdent')),_0x45fccf['plugins']['has']('IndentBlock')){for(const _0x324acf of['indentBlock','outdentBlock'])_0x25dfb1['enableDefaultAttributesIntegration'](_0x324acf);if(_0x45fccf['plugins']['has']('ListEditing')){for(const _0x4933db of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x25dfb1['enableDefaultAttributesIntegration'](_0x4933db);}}const _0x1e159b=_0x45fccf['locale'];_0x25dfb1['descriptionFactory']['registerAttributeLabel']('blockIndent',jy(_0x1e159b,'FORMAT_INDENT')),_0x25dfb1['descriptionFactory']['registerAttributeLabel']('blockIndentList',jy(_0x1e159b,'FORMAT_INDENT')),_0x25dfb1['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',jy(_0x1e159b,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4b65d1=this['editor'],_0x44aa95=_0x4b65d1['locale'],_0x128b0e=_0x4b65d1['plugins']['get']('TrackChangesEditing');_0x128b0e['descriptionFactory']['registerDescriptionCallback'](_0x25b2e6=>{if('formatBlock'!=_0x25b2e6['type'])return;const {data:_0x1b0538}=_0x25b2e6;if(!_0x1b0538)return;if('indentBlock'!=_0x1b0538['commandName']&&'outdentBlock'!=_0x1b0538['commandName'])return;const _0x273f2f=_0x25b2e6['getItems']()[0x0],_0x204e6d=_0x128b0e['descriptionFactory']['getItemLabel'](_0x273f2f);return'indentBlock'==_0x1b0538['commandName']?{'type':'format','content':jy(_0x44aa95,'*Indent:*\x20%0',_0x204e6d)}:'outdentBlock'==_0x1b0538['commandName']?{'type':'format','content':jy(_0x44aa95,'*Outdent:*\x20%0',_0x204e6d)}:void 0x0;});}}class TrackChangesInputCommand extends _0x151d85{static get['requires'](){return[_0x1ca82f];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class TrackChangesLink extends _0x151d85{['afterInit'](){const _0x221605=this['editor'];if(!_0x221605['plugins']['has']('LinkEditing'))return;const _0x1255c0=_0x221605['plugins']['get']('TrackChangesEditing'),_0x4bb80d=_0x221605['commands']['get']('link');_0x1255c0['enableDefaultAttributesIntegration']('link'),_0x1255c0['enableDefaultAttributesIntegration']('unlink');for(const _0x2671d8 of _0x4bb80d['manualDecorators'])_0x1255c0['descriptionFactory']['registerAttributeLabel'](_0x2671d8['id'],'link\x20('+_0x2671d8['label']['toLowerCase']()+')');_0x1255c0['descriptionFactory']['registerDescriptionCallback'](_0x3753a6=>{if('attribute'!=_0x3753a6['type'])return;const {data:_0x100e23}=_0x3753a6;if(!_0x100e23||'linkHref'!=_0x100e23['key'])return;const _0x3f004c=_0x100e23['newValue'],_0x6da626=_0x221605['locale'];return{'type':'format','content':null==_0x3f004c?jy(_0x6da626,'*Remove\x20link*'):jy(_0x6da626,'*Set\x20link:*\x20%0','\x22'+_0x3f004c+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3d90fe=this['editor'],_0x43a264=_0x3d90fe['locale'];_0x3d90fe['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4e97d7=>{if('formatInline'!=_0x4e97d7['type'])return;const {data:_0xe5b1b9}=_0x4e97d7;if(_0xe5b1b9){if('link'==_0xe5b1b9['commandName']){const _0x36a1c6=_0xe5b1b9['commandParams'][0x0];return{'type':'format','content':jy(_0x43a264,'*Set\x20link:*\x20%0','\x22'+_0x36a1c6+'\x22')};}return'unlink'==_0xe5b1b9['commandName']?{'type':'format','content':jy(_0x43a264,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends _0x151d85{['afterInit'](){const _0x5ea5a2=this['editor'],_0x170eca=_0x5ea5a2['locale'];if(!_0x5ea5a2['plugins']['has']('LegacyListEditing'))return;const _0xd4a823=_0x5ea5a2['plugins']['get']('TrackChangesEditing'),_0x4aad8c=_0x5ea5a2['plugins']['has']('LegacyTodoListEditing');function _0x5de61f(_0x4505d5){return()=>{const _0x3ab9b6=_0x5ea5a2['model']['document']['selection'],_0x2976d0=_0x5ea5a2['commands']['get'](_0x4505d5);if(_0x2976d0['value'])return void _0x5ea5a2['execute']('paragraph',{});const _0x4560f1=_0x4505d5['slice'](0x0,-0x4),_0x1e3cd8=function(_0x34aaa8,_0x16a17e,_0x4c025c){let _0x1d6a10=Array['from'](_0x34aaa8)['filter'](_0x373ca3=>function(_0x323776,_0x4643d7){return _0x4643d7['checkChild'](_0x323776['parent'],'listItem')&&!_0x4643d7['isObject'](_0x323776);}(_0x373ca3,_0x4c025c));_0x1d6a10=_0x1d6a10['filter'](_0x827cdf=>!_0x827cdf['is']('element','listItem')||_0x827cdf['getAttribute']('listType')!=_0x16a17e);const _0x315709=new Set();for(const _0x23cd15 of _0x1d6a10)_0x23cd15['is']('element','listItem')?_0x315709['add'](Ky(_0x23cd15)):_0x315709['add'](_0x23cd15);return Array['from'](_0x315709);}(_0x3ab9b6['getSelectedBlocks'](),_0x4560f1,_0x5ea5a2['model']['schema']);_0x5ea5a2['model']['change'](()=>{for(const _0x4a8d83 of _0x1e3cd8)_0xd4a823['markBlockFormat'](_0x4a8d83,{'commandName':_0x4505d5,'commandParams':[{'forceValue':!_0x2976d0['value']}],'formatGroupId':'blockName'},Jy(_0x4a8d83));});};}function _0x48ff1e(_0xf3919f){return()=>{const _0x12859c=function(_0x1807ba){let _0x57af52=Array['from'](_0x1807ba);const _0x3a77c5=_0x57af52['findIndex'](_0x2cf8ef=>'listItem'!=_0x2cf8ef['name']);return _0x3a77c5>-0x1&&(_0x57af52=_0x57af52['slice'](0x0,_0x3a77c5)),_0x57af52;}(_0x5ea5a2['model']['document']['selection']['getSelectedBlocks']()),_0x598742=_0x5ea5a2['model']['createRange'](_0x5ea5a2['model']['createPositionAt'](_0x12859c[0x0],'before'),_0x5ea5a2['model']['createPositionAt'](_0x12859c[_0x12859c['length']-0x1],'end'));_0x5ea5a2['model']['change'](()=>{_0xd4a823['markBlockFormat'](_0x598742,{'commandName':_0xf3919f,'commandParams':[],'formatGroupId':'listIndent'},function(_0x31c5f9){const _0xb321c9=new Set();for(const _0x2a25d5 of _0x31c5f9){let _0x57a6da=_0x2a25d5['nextSibling'];for(;_0x57a6da&&_0x57a6da['getAttribute']('listIndent')>_0x2a25d5['getAttribute']('listIndent');)_0xb321c9['add'](_0x57a6da),_0x57a6da=_0x57a6da['nextSibling'];}return Array['from'](_0xb321c9);}(_0x12859c));});};}_0xd4a823['enableCommand']('numberedList',_0x5de61f('numberedList')),_0xd4a823['enableCommand']('bulletedList',_0x5de61f('bulletedList')),_0x4aad8c&&_0xd4a823['enableCommand']('todoList',_0x5de61f('todoList')),_0xd4a823['enableCommand']('indentList',_0x48ff1e('indentList')),_0xd4a823['enableCommand']('outdentList',_0x48ff1e('outdentList')),_0x4aad8c&&_0xd4a823['enableCommand']('checkTodoList',()=>{const _0x2a4047=_0x5ea5a2['commands']['get']('checkTodoList'),_0x3b9691=Array['from'](_0x2a4047['_selectedElements']);_0x3b9691['filter'](_0x32533b=>_0x32533b['getAttribute']('todoListChecked')!=_0x2a4047['value']),_0x5ea5a2['model']['change'](()=>{for(const _0x6db9e4 of _0x3b9691)_0xd4a823['markBlockFormat'](_0x6db9e4,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x2a4047['value']}]});});}),_0xd4a823['descriptionFactory']['registerElementLabel']('listItem',_0x5925eb=>jy(_0x170eca,'ELEMENT_LIST_ITEM',_0x5925eb)),_0xd4a823['descriptionFactory']['registerDescriptionCallback'](_0xebbc7a=>{if('formatBlock'!=_0xebbc7a['type']&&'formatInline'!=_0xebbc7a['type'])return;const {data:_0x18d1b5}=_0xebbc7a;if(_0x18d1b5){if('numberedList'==_0x18d1b5['commandName']||'bulletedList'==_0x18d1b5['commandName']||'todoList'==_0x18d1b5['commandName'])switch(_0x18d1b5['commandName']['replace']('List','')){case'bulleted':return _0x4cd527(jy(_0x170eca,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4cd527(jy(_0x170eca,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x4cd527(jy(_0x170eca,'ELEMENT_TODO_LIST'));}if('indentList'==_0x18d1b5['commandName'])return{'type':'format','content':jy(_0x170eca,'*Indent:*\x20%0',jy(_0x170eca,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x18d1b5['commandName'])return{'type':'format','content':jy(_0x170eca,'*Outdent:*\x20%0',jy(_0x170eca,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x18d1b5['commandName'])return _0x18d1b5['commandParams'][0x0]['forceValue']?{'type':'format','content':jy(_0x170eca,'*Check\x20item*')}:{'type':'format','content':jy(_0x170eca,'*Uncheck\x20item*')};}function _0x4cd527(_0x1683ad){return{'type':'format','content':jy(_0x170eca,'*Change\x20to:*\x20%0',_0x1683ad)};}});}}function Ky(_0xa16f45){const _0x336a3f=_0xa16f45['getAttribute']('listIndent');if(0x0==_0x336a3f)return _0xa16f45;let _0x465fe7=_0xa16f45;for(;_0xa16f45['previousSibling']&&_0xa16f45['previousSibling']['is']('element','listItem');){const _0x55142=_0xa16f45['previousSibling']['getAttribute']('listIndent');if(_0x55142==_0x336a3f)_0x465fe7=_0xa16f45['previousSibling'];else{if(_0x55142<_0x336a3f)break;}_0xa16f45=_0xa16f45['previousSibling'];}return _0x465fe7;}function Jy(_0x2b800f){const _0x9442c9=[];if(_0x2b800f['is']('element','listItem')&&_0x2b800f['getAttribute']('listIndent')>0x0){let _0x2e6f47=_0x2b800f['nextSibling'];for(;_0x2e6f47&&'listItem'==_0x2e6f47['name']&&_0x2e6f47['getAttribute']('listIndent')==_0x2b800f['getAttribute']('listIndent');)_0x9442c9['push'](_0x2e6f47),_0x2e6f47=_0x2e6f47['nextSibling'];}return _0x9442c9;}class TrackChangesLegacyListProperties extends _0x151d85{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x24ec4d=this['editor']['config']['get']('list.properties'),_0x1b3759=this['editor']['plugins']['get']('TrackChangesEditing');_0x24ec4d['styles']&&_0x1b3759['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x24ec4d['reversed']&&_0x1b3759['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x24ec4d['startIndex']&&_0x1b3759['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x1b3759['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x5809b3,_0x17527c={}){const _0x305097=this['editor']['plugins']['get']('TrackChangesEditing'),_0x587be1=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x305097['markMultiRangeBlockFormat'](_0x587be1,{'commandName':'listStyle','commandParams':[{'type':_0x17527c['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x3a9e61,_0x4b4bb5={}){const _0x1dd39f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2ee365=this['_getSuggestionBlocks'](_0x3b67a4=>_0x3b67a4['is']('element','listItem')&&'numbered'===_0x3b67a4['getAttribute']('listType'));if(_0x2ee365['length']<0x1)return;const _0x30d234=_0x2ee365['map'](_0x3d5716=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x3d5716,'before'),this['editor']['model']['createPositionAt'](_0x3d5716,0x0)));this['editor']['model']['change'](()=>{_0x1dd39f['markMultiRangeBlockFormat'](_0x30d234,{'commandName':'listReversed','commandParams':[{'reversed':_0x4b4bb5['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x3f5a51,_0x237c43={}){const _0x5afc91=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5a2367=this['_getSuggestionBlocks'](_0x1918a1=>_0x1918a1['is']('element','listItem')&&'numbered'===_0x1918a1['getAttribute']('listType'));if(_0x5a2367['length']<0x1)return;const _0x2607a0=_0x5a2367['map'](_0x23fd8e=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x23fd8e,'before'),this['editor']['model']['createPositionAt'](_0x23fd8e,0x0)));this['editor']['model']['change'](()=>{_0x5afc91['markMultiRangeBlockFormat'](_0x2607a0,{'commandName':'listStart','commandParams':[{'startIndex':_0x237c43['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x13acb3){if('formatBlock'!=_0x13acb3['type']&&'formatInline'!=_0x13acb3['type'])return;const _0x58fee0=this['editor']['locale'],{data:_0xb68efd}=_0x13acb3;if(!_0xb68efd)return;let _0x199496,_0x17cde8;switch(_0xb68efd['commandName']){case'listStyle':_0x199496='*Change\x20to:*\x20%0',_0x17cde8={'type':'format','content':jy(_0x58fee0,_0x199496,jy(_0x58fee0,this['_getTranslationKeyForListStyle'](_0xb68efd['commandParams'][0x0]['type'])))};break;case'listReversed':_0x199496=_0xb68efd['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x17cde8={'type':'format','content':jy(_0x58fee0,_0x199496)};break;case'listStart':_0x199496='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x17cde8={'type':'format','content':jy(_0x58fee0,_0x199496,_0xb68efd['commandParams'][0x0]['startIndex'])};}return _0x17cde8;}['_getSuggestionBlocksForListStyle'](){const _0x4e79ba=this['editor']['plugins']['get']('LegacyListUtils');let _0x4583a9=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x4583a9[0x0]?.['is']('element','listItem')&&_0x4583a9['unshift'](..._0x4e79ba['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x4583a9[_0x4583a9['length']-0x1]?.['is']('element','listItem')&&_0x4583a9['push'](..._0x4e79ba['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x4583a9=[...new Set(_0x4583a9)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x4583a9=_0x4583a9['filter'](_0x1aff9c=>_0x1aff9c['is']('element','listItem'))),_0x4583a9;}['_getSuggestionBlocks'](_0x1bb3d3){const _0x42ba2f=this['editor']['plugins']['get']('LegacyListUtils');let _0x176ee9=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x1bb3d3)['map'](_0x43dba7=>{const _0x5e5a5d=this['editor']['model']['createPositionAt'](_0x43dba7,0x0);return[..._0x42ba2f['getSiblingNodes'](_0x5e5a5d,'backward'),..._0x42ba2f['getSiblingNodes'](_0x5e5a5d,'forward')];})['flat']();return _0x176ee9=[...new Set(_0x176ee9)],_0x176ee9;}['_getTranslationKeyForListStyle'](_0xf55f54){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0xf55f54)||'default')['toUpperCase']()+'_LIST_'+_0xf55f54['toUpperCase']()['replace'](/-/g,'_');}}class TrackChangesMediaEmbed extends _0x151d85{['afterInit'](){const _0x3ea94c=this['editor'];if(!_0x3ea94c['plugins']['has']('MediaEmbedEditing'))return;const _0x216f8e=_0x3ea94c['plugins']['get']('TrackChangesEditing'),_0x1f41c1=_0x3ea94c['locale'];_0x216f8e['enableCommand']('mediaEmbed'),_0x216f8e['descriptionFactory']['registerElementLabel']('media',_0x55f5c9=>jy(_0x1f41c1,'ELEMENT_MEDIA',_0x55f5c9)),_0x3ea94c['plugins']['has']('MediaEmbedResizeEditing')&&(_0x216f8e['enableDefaultAttributesIntegration']('resizeMediaEmbed'),_0x216f8e['descriptionFactory']['registerDescriptionCallback'](_0x2c0bd0=>{if('attribute'!=_0x2c0bd0['type'])return;const {data:_0x8b17cb}=_0x2c0bd0;if(!_0x8b17cb||'resizedWidth'!=_0x8b17cb['key'])return;const _0x472335=_0x2c0bd0['getContainedElement']();if(!_0x472335||!_0x472335['is']('element','media'))return;const _0x328cbf=jy(_0x1f41c1,'FORMAT_MEDIA_SIZE');return{'type':'format','content':jy(_0x1f41c1,'*Set\x20format:*\x20%0',_0x328cbf)};}));}}class TrackChangesMediaEmbedStyle extends _0x151d85{['afterInit'](){const _0x8326f1=this['editor'];if(!_0x8326f1['plugins']['has']('MediaEmbedStyleEditing'))return;const _0x515492=_0x8326f1['plugins']['get']('TrackChangesEditing'),_0x42438d=_0x8326f1['locale'],_0x22c8ed=_0x8326f1['plugins']['get']('MediaEmbedStyleEditing'),_0x315c5a={};for(const _0x4ef019 of _0x22c8ed['normalizedStyles'])_0x315c5a[_0x4ef019['name']]=_0x4ef019['title']['toLowerCase']();const _0x2577bf=_0x22c8ed['normalizedStyles']['find'](_0x30b59b=>_0x30b59b['isDefault'])?.['name'];_0x515492['enableCommand']('mediaStyle',(_0x195700,_0x36a215)=>{const _0x155ad3=_0x8326f1['plugins']['get']('Users')['me'],_0x2e07cb=_0x8326f1['commands']['get']('mediaStyle'),_0x5ca0a5=function(_0x18acbb){const _0x475709=_0x18acbb['model']['document']['selection']['getSelectedElement']();if(_0x475709&&_0x475709['is']('element','media'))return _0x475709;return null;}(_0x8326f1);if(!_0x5ca0a5)return;const _0x229ea9=_0x8326f1['model']['createRangeOn'](_0x5ca0a5);let _0x4919e6=_0x2e07cb['value'];if(_0x4919e6==_0x36a215['value'])return;const _0x4ceead={'commandName':'mediaStyle','commandParams':[_0x36a215],'formatGroupId':_0x3eda13()};_0x8326f1['model']['change'](()=>{_0x515492['getSuggestions']()['filter'](_0x1f26b3=>_0x1f26b3['isInContent']&&_0x155ad3==_0x1f26b3['author']&&'formatBlock'==_0x1f26b3['type']&&'mediaStylePostApply'==_0x1f26b3['subType']&&_0x1f26b3['getFirstRange']()['isEqual'](_0x229ea9))['forEach'](_0x2e02e5=>_0x515492['discardSuggestion'](_0x2e02e5['head'])),_0x2e07cb['refresh'](),_0x4919e6=_0x2e07cb['value'],_0x4919e6!=_0x36a215['value']&&_0x515492['markBlockFormat'](_0x5ca0a5,{..._0x4ceead,'commandReversedParams':[{'value':'string'==typeof _0x4919e6?_0x4919e6:null}]},[],'mediaStylePostApply');});}),_0x515492['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','join',()=>!0x1),_0x515492['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','discard',(_0x3b2b3e,_0x28feae)=>{_0x515492['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x3b2b3e,{'commandName':_0x28feae['commandName'],'commandParams':_0x28feae['commandReversedParams']});}),_0x515492['descriptionFactory']['registerDescriptionCallback'](_0x2c9644=>{if('formatBlock'!=_0x2c9644['type'])return;const {data:_0x35448b}=_0x2c9644;if(!_0x35448b||'mediaStyle'!=_0x35448b['commandName'])return;const _0x10ed8d=_0x35448b['commandParams'][0x0]['value']||_0x2577bf;if(!_0x10ed8d)return;const _0x13b62a=_0x315c5a[_0x10ed8d]||_0x10ed8d;return{'type':'format','content':jy(_0x42438d,'*Format:*\x20%0',_0x13b62a)};});}}class TrackChangesMention extends _0x151d85{['afterInit'](){const _0x56032b=this['editor'];_0x56032b['plugins']['has']('MentionEditing')&&_0x56032b['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class TrackChangesMergeFields extends _0x151d85{['afterInit'](){const _0x230d86=this['editor'];if(!_0x230d86['plugins']['has']('MergeFieldsEditing'))return;const _0x1b5b1d=_0x230d86['plugins']['get']('TrackChangesEditing'),_0xb9d9c9=_0x230d86['locale'];_0x1b5b1d['enableCommand']('insertMergeField'),_0x1b5b1d['enableCommand']('insertMergeFieldBlock'),_0x1b5b1d['enableCommand']('insertMergeFieldImage'),_0x1b5b1d['descriptionFactory']['registerElementLabel']('mergeField',_0x3a2317=>jy(_0xb9d9c9,'ELEMENT_MERGE_FIELD',_0x3a2317)),_0x1b5b1d['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x11034c=>jy(_0xb9d9c9,'ELEMENT_MERGE_FIELD',_0x11034c)),_0x1b5b1d['descriptionFactory']['registerDescriptionCallback'](_0x3a019a=>{if('insertion'!=_0x3a019a['type']&&'deletion'!=_0x3a019a['type'])return;const _0x33914e=_0x3a019a['getContainedElement']();if(null==_0x33914e)return;const _0x11e716=_0x230d86['plugins']['get']('MergeFieldsEditing');let _0x509021;switch(_0x11e716['getMergeFieldType'](_0x33914e)){case null:return;case'image':{const _0x5a25fa=_0x11e716['unwrapAffixes'](_0x33914e['getAttribute']('src'));_0x509021=_0x11e716['getLabel'](_0x5a25fa)||_0x5a25fa;break;}default:{const _0x5275ff=_0x33914e['getAttribute']('id');_0x509021=_0x11e716['getLabel'](_0x5275ff)||_0x5275ff;break;}}return'insertion'==_0x3a019a['type']?{'type':'insertion','content':jy(_0xb9d9c9,'*Insert:*\x20%0','\x22'+_0x509021+'\x22\x20'+jy(_0xb9d9c9,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':jy(_0xb9d9c9,'*Remove:*\x20%0','\x22'+_0x509021+'\x22\x20'+jy(_0xb9d9c9,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends _0x151d85{['afterInit'](){const _0x3e744d=this['editor'],_0x3a90fa=_0x3e744d['plugins']['get']('TrackChangesEditing');_0x3e744d['plugins']['has']('MultiLevelList')&&(_0x3a90fa['enableDefaultAttributesIntegration']('multiLevelList'),_0x3a90fa['descriptionFactory']['registerDescriptionCallback'](_0x496fef=>this['handleDescriptions'](_0x496fef)));}['handleDescriptions'](_0x5910c4){const _0x1063cb=this['editor']['locale'],{data:_0x13e3ce}=_0x5910c4,_0x3685e5={'type':'format','content':''};if(_0x13e3ce&&'listMarkerStyle'==_0x13e3ce['key']){if(!_0x13e3ce['oldValue'])return{'type':'format','content':jy(_0x1063cb,'*Set\x20format:*\x20%0',jy(_0x1063cb,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x13e3ce['newValue']+')'};if(!_0x13e3ce['newValue']){let _0x1083a6=_0x5910c4['head'];for(;_0x1083a6;){if(_0x1083a6['data']&&'listType'==_0x1083a6['data']['key']&&_0x1083a6['data']['newValue'])return _0x3685e5;_0x1083a6=_0x1083a6['next'];}return{'type':'format','content':jy(_0x1063cb,'*Remove\x20format:*\x20%0',jy(_0x1063cb,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x13e3ce['oldValue']+')'};}}}}class TrackChangesPageBreak extends _0x151d85{['afterInit'](){const _0x3d5a16=this['editor'];if(!_0x3d5a16['plugins']['has']('PageBreakEditing'))return;_0x3d5a16['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x5efa3c=_0x3d5a16['plugins']['get']('TrackChangesEditing'),_0x59fbdc=_0x3d5a16['locale'];_0x5efa3c['descriptionFactory']['registerElementLabel']('pageBreak',_0x29d1de=>jy(_0x59fbdc,'ELEMENT_PAGE_BREAK',_0x29d1de));}}class TrackChangesParagraph extends _0x151d85{['afterInit'](){const _0x42de01=this['editor'];if(!_0x42de01['plugins']['has']('Paragraph'))return;const _0x5bc13b=_0x42de01['locale'],_0x361f09=_0x42de01['plugins']['get']('TrackChangesEditing');_0x361f09['descriptionFactory']['registerElementLabel']('paragraph',_0x10829e=>jy(_0x5bc13b,'ELEMENT_PARAGRAPH',_0x10829e)),_0x361f09['enableDefaultAttributesIntegration']('paragraph'),_0x361f09['enableCommand']('insertParagraph');const _0x5712eb=_0x361f09['descriptionFactory'];_0x5712eb['registerDescriptionCallback'](_0x3bfda1=>{if('insertion'!==_0x3bfda1['type'])return;const {start:_0x57b4ca,end:_0x58f89c}=_0x3bfda1['getFirstRange']();if(!_0x57b4ca['isTouching'](_0x58f89c)||!_0x57b4ca['nodeAfter'])return;const _0x2012a4=_0x42de01['model']['schema'],_0x121892=_0x57b4ca['nodeAfter'];return _0x2012a4['isBlock'](_0x121892)&&!_0x2012a4['isLimit'](_0x121892)&&_0x2012a4['checkChild'](_0x121892,'$text')?{'type':'insertion','content':jy(_0x5bc13b,'*Insert:*\x20%0',_0x5712eb['getItemLabel'](_0x121892,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1b6fad=this['editor'],_0x3c7a79=_0x1b6fad['locale'];_0x1b6fad['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x74d610=>{if('formatBlock'!=_0x74d610['type'])return;const {data:_0x3904df}=_0x74d610;return _0x3904df&&'paragraph'==_0x3904df['commandName']?{'type':'format','content':jy(_0x3c7a79,'*Change\x20to:*\x20%0',jy(_0x3c7a79,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class TrackChangesReplaceSourceCommand extends _0x151d85{['afterInit'](){const _0x441946=this['editor'];_0x441946['commands']['get']('replaceSource')&&_0x441946['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends _0x151d85{['afterInit'](){const _0x2768d7=this['editor'];if(!_0x2768d7['plugins']['has']('RemoveFormatEditing'))return;_0x2768d7['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xa829f2=this['editor'];_0xa829f2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x328b1b=>{if('formatBlock'!=_0x328b1b['type']&&'formatInline'!=_0x328b1b['type'])return;const {data:_0x22c068}=_0x328b1b;return _0x22c068&&'removeFormat'==_0x22c068['commandName']?{'type':'format','content':jy(_0xa829f2['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends _0x151d85{['afterInit'](){const _0x1caf86=this['editor'];if(!_0x1caf86['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x2ecdd2=_0x1caf86['plugins']['get']('TrackChangesEditing');_0x2ecdd2['enableCommand']('goToPreviousRestrictedEditingException'),_0x2ecdd2['enableCommand']('goToNextRestrictedEditingException');const _0x7447bf=_0x1caf86['plugins']['get']('RestrictedEditingModeEditing');_0x7447bf['enableCommand']('trackChanges'),_0x7447bf['enableCommand']('acceptSuggestion'),_0x7447bf['enableCommand']('discardSuggestion'),_0x7447bf['enableCommand']('acceptAllSuggestions'),_0x7447bf['enableCommand']('discardAllSuggestions'),_0x7447bf['enableCommand']('acceptSelectedSuggestions'),_0x7447bf['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends _0x151d85{['afterInit'](){const _0x296050=this['editor'];if(!_0x296050['plugins']['has']('ShiftEnter'))return;const _0x4a7bd2=_0x296050['plugins']['get']('TrackChangesEditing');_0x4a7bd2['enableCommand']('shiftEnter'),_0x4a7bd2['descriptionFactory']['registerElementLabel']('softBreak',_0xf3e360=>jy(_0x296050['locale'],'ELEMENT_LINE_BREAK',_0xf3e360));}}function tv(_0x4e0fd5,_0xfa5061,_0x193b5d){const _0x18ea57=[];for(const _0x32e60b of _0xfa5061['getItems']())_0x32e60b['hasAttribute'](_0x4e0fd5)&&_0x18ea57['push'](_0x193b5d['createRangeOn'](_0x32e60b));return _0x18ea57;}class TrackChangesStandardEditingMode extends _0x151d85{['afterInit'](){const _0x57fac1=this['editor'],_0x585520=_0x57fac1['plugins']['get']('TrackChangesEditing');_0x57fac1['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x585520['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x46fb03=this['editor'],_0x2eba6c=_0x46fb03['model'],_0x1d9149=_0x46fb03['locale'],_0x493528=_0x46fb03['plugins']['get']('TrackChangesEditing'),_0x80838f='restrictedEditingException',_0x5175b8=_0x46fb03['commands']['get'](_0x80838f);_0x493528['enableCommand'](_0x80838f,(_0x825b83,_0x26e55b={})=>{const _0x4b2409=_0x2eba6c['document']['selection'];if(_0x4b2409['isCollapsed'])return void _0x825b83(_0x26e55b);const _0x430061=void 0x0!==_0x26e55b['forceValue']?_0x26e55b['forceValue']:!_0x5175b8['value'];_0x2eba6c['change'](()=>{const _0x2d282e=Array['from'](_0x4b2409['getRanges']());for(const _0x2df79c of _0x2d282e){const _0x2b7641=_0x430061?[_0x2df79c]:tv(_0x80838f,_0x2df79c,_0x2eba6c);for(const _0x301ff8 of _0x2b7641)_0x493528['markInlineFormat'](_0x301ff8,{'commandName':_0x80838f,'commandParams':[{'forceValue':_0x430061}]});}});}),_0x493528['descriptionFactory']['registerDescriptionCallback'](_0x12aada=>{if('formatBlock'!=_0x12aada['type']&&'formatInline'!=_0x12aada['type'])return;const {data:_0xe1f43f}=_0x12aada;return _0xe1f43f&&_0xe1f43f['commandName']==_0x80838f?_0xe1f43f['commandParams'][0x0]['forceValue']?{'type':'format','content':jy(_0x1d9149,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':jy(_0x1d9149,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x418450=this['editor'],_0x3acf7a=_0x418450['locale'],_0x3db48f=_0x418450['plugins']['get']('TrackChangesEditing'),_0x2dae85='restrictedEditingExceptionBlock',_0x111c56=this['editor']['commands']['get'](_0x2dae85);_0x3db48f['enableCommand'](_0x2dae85,(_0x2f9be7,_0x1e8559={})=>{const _0x281f8b=this['editor']['model']['document']['selection'],_0x215c3c=_0x1e8559&&void 0x0!==_0x1e8559['forceValue']?_0x1e8559['forceValue']:!_0x111c56['value'];let _0x3ec758=[];if(_0x215c3c){const _0xe57da=Array['from'](_0x281f8b['getSelectedBlocks']())['filter'](_0x48d999=>function(_0xffd247){return!!_0xffd247['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x48d999)||function(_0x144da6,_0x118699){const _0x51fa4a=_0x118699['createContext'](_0x144da6['parent']);if(!_0x118699['checkChild'](_0x51fa4a,'restrictedEditingException'))return!0x1;if(!_0x118699['checkChild'](_0x51fa4a['push']('restrictedEditingException'),_0x144da6))return!0x1;return!0x0;}(_0x48d999,this['editor']['model']['schema']));_0x3ec758=Uy(_0xe57da,_0x418450['model']);}else{const _0x4d16a7=Array['from'](_0x281f8b['getSelectedBlocks']())['map'](_0x333a8d=>function(_0x33e300){let _0x26a2a6=_0x33e300;for(;_0x26a2a6['parent'];){if('restrictedEditingException'==_0x26a2a6['parent']['name'])return _0x26a2a6;_0x26a2a6=_0x26a2a6['parent'];}return null;}(_0x333a8d))['filter'](_0x22c571=>!!_0x22c571);_0x3ec758=Uy(_0x4d16a7,_0x418450['model']);}_0x418450['model']['change'](()=>{for(const _0xcc226f of _0x3ec758)_0x3db48f['markBlockFormat'](_0xcc226f,{'commandName':_0x2dae85,'commandParams':[{'forceValue':_0x215c3c}]});});}),_0x3db48f['descriptionFactory']['registerDescriptionCallback'](_0x11cd9d=>{const {data:_0x24a427}=_0x11cd9d;if(_0x24a427&&_0x24a427['commandName']==_0x2dae85)return _0x24a427['commandParams'][0x0]['forceValue']?{'type':'format','content':jy(_0x3acf7a,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':jy(_0x3acf7a,'FORMAT_RESTRICTED_DISABLED')};});}}class TrackChangesStylesDropdown extends _0x151d85{['afterInit'](){const _0x3ea5d9=this['editor'];if(!_0x3ea5d9['plugins']['has']('Style')||!_0x3ea5d9['plugins']['has']('DataSchema'))return;_0x3ea5d9['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('style'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x17c289=this['editor'],_0x139d60=_0x17c289['locale'];_0x17c289['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x477a5e=>{if('formatBlock'!=_0x477a5e['type']&&'formatInline'!=_0x477a5e['type'])return;const {data:_0xa9dc1d}=_0x477a5e;return _0xa9dc1d&&'style'===_0xa9dc1d['commandName']?_0xa9dc1d['commandParams'][0x0]['forceValue']?{'type':'format','content':jy(_0x139d60,'*Set\x20format:*\x20%0',_0xa9dc1d['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':jy(_0x139d60,'*Remove\x20format:*\x20%0',_0xa9dc1d['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class TrackChangesTable extends _0x151d85{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x19d6c1){super(_0x19d6c1),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x26e623=this['editor'],_0x1bf7f3=_0x26e623['model']['document']['selection'];if(!_0x26e623['plugins']['has']('TableEditing'))return;const _0x236e32=_0x26e623['locale'],_0x420897=_0x26e623['plugins']['get']('TrackChangesEditing'),_0x2eaf99=_0x26e623['plugins']['get']('TableUtils');_0x420897['descriptionFactory']['registerElementLabel']('table',_0x5076c2=>jy(_0x236e32,'ELEMENT_TABLE',_0x5076c2)),this['_setupColumnsRowsFixing'](),_0x420897['enableCommand']('insertTable'),_0x420897['enableCommand']('selectTableRow'),_0x420897['enableCommand']('selectTableColumn');for(const _0x132bab of['insertTableRowAbove','insertTableRowBelow']){const _0x25e548=_0x26e623['commands']['get'](_0x132bab);_0x420897['enableCommand'](_0x132bab,_0x2b3c37=>{_0x26e623['model']['change'](_0x55d11f=>{_0x2b3c37();const _0x132269='above'===_0x25e548['order'],_0x39adc8=_0x2eaf99['getSelectionAffectedTableCells'](_0x1bf7f3),_0x2a2f32=_0x2eaf99['getRowIndexes'](_0x39adc8),_0x2bc6ed=_0x132269?_0x2a2f32['first']-0x1:_0x2a2f32['last']+0x1,_0x46c205=_0x39adc8[0x0]['findAncestor']('table'),_0xc3808f=_0x2eaf99['createTableWalker'](_0x46c205,{'startRow':_0x2bc6ed,'endRow':_0x2bc6ed}),_0x73d890=Array['from'](_0xc3808f)['map'](_0xd637c8=>_0x55d11f['createRangeOn'](_0xd637c8['cell']));_0x420897['markMultiRangeInsertion'](_0x73d890,'tableRow');});});}for(const _0x298b77 of['insertTableColumnLeft','insertTableColumnRight']){const _0x56d983=_0x26e623['commands']['get'](_0x298b77);_0x420897['enableCommand'](_0x298b77,_0x35d410=>{_0x26e623['model']['change'](_0x28180c=>{_0x35d410();const _0x56e63c='left'===_0x56d983['order'],_0x263b7d=_0x2eaf99['getSelectionAffectedTableCells'](_0x1bf7f3),_0x3b9c55=_0x2eaf99['getColumnIndexes'](_0x263b7d),_0x1e9926=_0x56e63c?_0x3b9c55['first']-0x1:_0x3b9c55['last']+0x1,_0x74624c=_0x263b7d[0x0]['findAncestor']('table'),_0x27dcdd=_0x2eaf99['createTableWalker'](_0x74624c,{'startRow':0x0,'column':_0x1e9926,'includeAllSlots':!0x1}),_0x26164b=Array['from'](_0x27dcdd)['map'](_0x40eb95=>_0x28180c['createRangeOn'](_0x40eb95['cell']));_0x420897['markMultiRangeInsertion'](_0x26164b,'tableColumn');});});}for(const _0x3247bd of['removeTableRow','removeTableColumn']){const _0x3e4076=_0x3247bd['substr'](0xb),_0x258e26=_0x3e4076['toLowerCase'](),_0x570c3a=_0x258e26['substr'](0x0,0x3)+'span',_0x592e3f='table'+_0x3e4076,_0x3a03b5='min'+_0x3e4076,_0x4676d8='max'+_0x3e4076;_0x420897['enableCommand'](_0x3247bd,()=>{_0x26e623['model']['change'](_0x50e5dc=>{const _0x48316d=_0x2eaf99['getSelectionAffectedTableCells'](_0x1bf7f3),_0x4d01bc=_0x48316d[0x0]['findAncestor']('table');let _0x1dd763;if('removeTableRow'==_0x3247bd){const _0x56f038=_0x2eaf99['getRowIndexes'](_0x48316d);_0x1dd763={'startRow':_0x56f038['first'],'endRow':_0x56f038['last'],'includeAllSlots':!0x0};}else{const _0x477a83=_0x2eaf99['getColumnIndexes'](_0x48316d);_0x1dd763={'startColumn':_0x477a83['first'],'endColumn':_0x477a83['last'],'includeAllSlots':!0x0};}const _0x21d927=_0x2eaf99['createTableWalker'](_0x4d01bc,_0x1dd763),_0xff7d39=Array['from'](_0x21d927)['map'](({cell:_0x3722ec})=>_0x3722ec),_0x47ce0c=ev(_0xff7d39['filter'](_0x425a9d=>_0x425a9d['hasAttribute'](_0x570c3a))),_0x12a628=ev(_0xff7d39['filter'](_0x5024fa=>!_0x5024fa['hasAttribute'](_0x570c3a)))['map'](_0xb2e0fe=>_0x50e5dc['createRangeOn'](_0xb2e0fe)),_0x64bac=_0x420897['markMultiRangeDeletion'](_0x12a628,_0x592e3f);if(_0x64bac&&('tableRow'==_0x64bac['subType']||'tableColumn'==_0x64bac['subType'])){const _0x2d84dc=this['_getSuggestionCoords'](_0x64bac);for(const _0x5c9f6d of _0x47ce0c){const _0x32a636=_0x50e5dc['createRangeOn'](_0x5c9f6d),_0x5a87ae=_0x2eaf99['getCellLocation'](_0x5c9f6d),_0x4bb277=_0x5c9f6d['getAttribute'](_0x570c3a)-0x1,_0x31c7ff=_0x2d84dc[_0x3a03b5],_0x248aa9=_0x2d84dc[_0x4676d8];_0x31c7ff<=_0x5a87ae[_0x258e26]&&_0x5a87ae[_0x258e26]+_0x4bb277<=_0x248aa9&&_0x64bac['addRange'](_0x32a636);}}});});}function _0x2bae50(_0x403b55){const _0x27ba7c=Array['from'](_0x1bf7f3['getRanges']())['map'](_0x130bdf=>_0x49053d['fromRange'](_0x130bdf));_0x26e623['model']['change'](_0x47e99a=>{const _0x9cf3a8=_0x47e99a['batch'];_0x403b55=_0x403b55['filter'](_0x498b38=>'$graveyard'!=_0x498b38['root']['rootName']),_0x47e99a['setSelection'](_0x403b55),_0x26e623['commands']['get']('removeTableRow')['refresh'](),_0x26e623['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x26e623['model']['enqueueChange'](()=>{_0x26e623['model']['enqueueChange'](_0x9cf3a8,_0xa0b56c=>{const _0x2dc977=_0x27ba7c['filter'](_0x1b720f=>'$graveyard'!=_0x1b720f['root']['rootName']);_0x2dc977['length']>0x0&&_0xa0b56c['setSelection'](_0x2dc977);for(const _0x498fe7 of _0x27ba7c)_0x498fe7['detach']();});});});}function _0x542f24(_0xc0df3b){_0x26e623['model']['change'](_0x3161d0=>{const _0x5ac29a=Array['from'](_0x1bf7f3['getRanges']())['map'](_0x44a7d9=>_0x49053d['fromRange'](_0x44a7d9)),_0x21d592=[];for(const _0x108e9c of _0xc0df3b)for(const _0x4526a2 of _0x108e9c['getItems']({'shallow':!0x0}))_0x21d592['push'](_0x4526a2);for(const _0x1878ba of _0x21d592)'$graveyard'!=_0x1878ba['root']['rootName']&&(_0x3161d0['setSelection'](_0x3161d0['createPositionAt'](_0x1878ba,0x0)),_0x26e623['commands']['get']('removeTableColumn')['refresh'](),_0x26e623['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x3354bb=_0x5ac29a['filter'](_0x3e0d9f=>'$graveyard'!=_0x3e0d9f['root']['rootName']);_0x3354bb['length']>0x0&&_0x3161d0['setSelection'](_0x3354bb);for(const _0x531602 of _0x5ac29a)_0x531602['detach']();});}function _0x2c945e(_0x5226b4,_0x1d0fcf){return _0x1d0fcf['every'](_0x75b9a4=>_0x5226b4['some'](_0x432509=>_0x432509['end']['isEqual'](_0x75b9a4['start'])||_0x75b9a4['end']['isEqual'](_0x432509['start'])));}function _0x55efdb(_0x23f915,_0x397f92){return!_0x23f915['some'](_0xc7a6f9=>_0x397f92['some'](_0x4e652f=>_0xc7a6f9['isIntersecting'](_0x4e652f)))&&_0x23f915['some'](_0x2af476=>_0x397f92['some'](_0x3cf14d=>_0x2af476['end']['isTouching'](_0x3cf14d['start'])));}_0x420897['descriptionFactory']['registerDescriptionCallback'](_0x446b36=>{if('insertion'!=_0x446b36['type']&&'deletion'!=_0x446b36['type'])return;const _0x2c621b=_0x446b36['getContainedElement']();if(null!=_0x2c621b&&_0x2c621b['is']('element','table')){if('insertion'==_0x446b36['type']){const _0x2f0c94=_0x446b36['getItems']()['filter'](_0x11d2ee=>_0x11d2ee['is']('$textProxy'))['map'](_0xd6d8b5=>_0xd6d8b5['data']);if(_0x2f0c94['length'])return{'type':'insertion','content':jy(_0x236e32,'*Insert:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2f0c94['join']('\x20')+'\x22'))};}if('deletion'==_0x446b36['type']){const _0x2ba40a=_0x446b36['getItems']()['filter'](_0x4f80e9=>_0x4f80e9['is']('$textProxy'))['map'](_0x2bd569=>_0x2bd569['data']);if(_0x2ba40a['length'])return{'type':'deletion','content':jy(_0x236e32,'*Remove:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2ba40a['join']('\x20')+'\x22'))};}}}),_0x420897['descriptionFactory']['registerDescriptionCallback'](_0x28fc7f=>{if('tableRow'==_0x28fc7f['subType']){const _0x17f608=_0x28fc7f['getItems']()['filter'](_0x2902e6=>_0x2902e6['is']('$textProxy'))['map'](_0x1e2899=>_0x1e2899['data']),_0x67e9a5=this['_getSuggestionCoords'](_0x28fc7f),_0x1985f6=_0x67e9a5['maxRow']-_0x67e9a5['minRow']+0x1;if('insertion'==_0x28fc7f['type'])return _0x17f608['length']?{'type':'insertion','content':jy(_0x236e32,'*Insert:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1985f6,'\x22'+_0x17f608['join']('\x20')+'\x22']))}:{'type':'insertion','content':jy(_0x236e32,'*Insert:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_ROW',_0x1985f6))};if('deletion'==_0x28fc7f['type'])return _0x17f608['length']?{'type':'deletion','content':jy(_0x236e32,'*Remove:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1985f6,'\x22'+_0x17f608['join']('\x20')+'\x22']))}:{'type':'deletion','content':jy(_0x236e32,'*Remove:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_ROW',_0x1985f6))};}if('tableColumn'==_0x28fc7f['subType']){const _0x1bb0e3=_0x28fc7f['getItems']()['filter'](_0x57a985=>_0x57a985['is']('$textProxy'))['map'](_0x177398=>_0x177398['data']),_0x290b0f=this['_getSuggestionCoords'](_0x28fc7f),_0x1d5b7d=_0x290b0f['maxColumn']-_0x290b0f['minColumn']+0x1;if('insertion'==_0x28fc7f['type'])return _0x1bb0e3['length']?{'type':'insertion','content':jy(_0x236e32,'*Insert:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1d5b7d,'\x22'+_0x1bb0e3['join']('\x20')+'\x22']))}:{'type':'insertion','content':jy(_0x236e32,'*Insert:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_COLUMN',_0x1d5b7d))};if('deletion'==_0x28fc7f['type'])return _0x1bb0e3['length']?{'type':'deletion','content':jy(_0x236e32,'*Remove:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1d5b7d,'\x22'+_0x1bb0e3['join']('\x20')+'\x22']))}:{'type':'deletion','content':jy(_0x236e32,'*Remove:*\x20%0',jy(_0x236e32,'ELEMENT_TABLE_COLUMN',_0x1d5b7d))};}}),_0x420897['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x2bae50),_0x420897['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x2bae50),_0x420897['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x542f24),_0x420897['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x542f24),_0x420897['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x2c945e),_0x420897['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x2c945e),_0x420897['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x55efdb),_0x420897['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x55efdb);}['_acceptFormatSuggestionCallbackFactory'](){const _0x2095de=this['editor'],_0x573690=_0x2095de['model']['document']['selection'];return(_0x1971e5,_0x25bea5)=>{_0x2095de['model']['change'](_0x20a4dc=>{const {commandName:_0x3a6da5,commandParams:_0x17acba}=_0x25bea5;let _0x52902a=_0x1971e5[0x0]['end']['nodeBefore'];_0x17acba&&_0x17acba[0x0]&&!0x1===_0x17acba[0x0]['forceValue']&&(_0x52902a=_0x1971e5[0x0]['start']['nodeAfter']);const _0x4f71be=_0x20a4dc['createRangeIn'](_0x52902a);if('$graveyard'==_0x4f71be['root']['rootName'])return;const _0x2d50ff=Array['from'](_0x573690['getRanges']())['map'](_0x166342=>_0x49053d['fromRange'](_0x166342));_0x20a4dc['setSelection'](_0x4f71be),_0x2095de['commands']['get'](_0x3a6da5)['refresh'](),_0x17acba['push']({'forceDefaultExecution':!0x0}),_0x2095de['execute'](_0x3a6da5,..._0x17acba);const _0x3af3f3=_0x2d50ff['filter'](_0x5dac92=>'$graveyard'!=_0x5dac92['root']['rootName']);_0x3af3f3['length']>0x0&&_0x20a4dc['setSelection'](_0x3af3f3);for(const _0x47de49 of _0x2d50ff)_0x47de49['detach']();});};}['_getCoordsForCells'](_0x3bbf37){const _0x5c2f02=this['editor']['plugins']['get']('TableUtils');let _0x5c01b1=Number['MAX_SAFE_INTEGER'],_0x3a7e7d=Number['MIN_SAFE_INTEGER'],_0x394a3b=Number['MAX_SAFE_INTEGER'],_0x404e35=Number['MIN_SAFE_INTEGER'];for(const _0x2802d6 of _0x3bbf37){if('$graveyard'==_0x2802d6['root']['rootName'])continue;const {row:_0x230158,column:_0xb824df}=_0x5c2f02['getCellLocation'](_0x2802d6),_0x1e927f=_0x2802d6['hasAttribute']('rowspan')?_0x2802d6['getAttribute']('rowspan')-0x1:0x0,_0x30c8b4=_0x2802d6['hasAttribute']('colspan')?_0x2802d6['getAttribute']('colspan')-0x1:0x0;_0x5c01b1=_0x230158<_0x5c01b1?_0x230158:_0x5c01b1,_0x3a7e7d=_0x230158+_0x1e927f>_0x3a7e7d?_0x230158+_0x1e927f:_0x3a7e7d,_0x394a3b=_0xb824df<_0x394a3b?_0xb824df:_0x394a3b,_0x404e35=_0xb824df+_0x30c8b4>_0x404e35?_0xb824df+_0x30c8b4:_0x404e35;}return{'minRow':_0x5c01b1,'maxRow':_0x3a7e7d,'minColumn':_0x394a3b,'maxColumn':_0x404e35};}['_setupColumnsRowsFixing'](){const _0x411c6a=this['editor'],_0x2c539b=_0x411c6a['plugins']['get']('TrackChangesEditing'),_0x32e020=_0x411c6a['plugins']['get']('TableUtils');_0x411c6a['model']['document']['on']('change:data',()=>{const _0x8ee3c4=Array['from'](_0x411c6a['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x4cf07c,data:_0x238d63}of _0x8ee3c4){const {group:_0x3a11ce,id:_0x2013d1,subType:_0x556fe3}=$c(_0x4cf07c);if('suggestion'!=_0x3a11ce)continue;if(null!=_0x238d63['oldRange'])continue;const _0x20b008=_0x2c539b['getSuggestion'](_0x2013d1);this['_tablePostFixingSubtypes']['includes'](_0x556fe3)&&this['_tableSuggestions']['add'](_0x20b008);}},{'priority':'low'});const _0x460826=(_0x219290,_0x21c903)=>{let _0x264e71=!0x1;const _0x3f0465=_0x21c903['createRangeOn'](_0x219290),_0x479ab4=_0x219290['findAncestor']('table'),_0x1a9b51=_0x32e020['getCellLocation'](_0x219290);for(const _0x42c5c6 of this['_tableSuggestions']){const _0x5ef5fa=_0x42c5c6['subType'],_0x53864c=_0x5ef5fa['startsWith']('tablePaste'),_0xd3220c=_0x5ef5fa['substr'](_0x53864c?0xa:0x5),_0x46abae=_0xd3220c['toLowerCase'](),_0x1da5fd=_0x46abae['substr'](0x0,0x3)+'span',_0x218bfc='min'+_0xd3220c,_0xad6b4c='max'+_0xd3220c;if(!_0x42c5c6['isInContent'])continue;if(_0x479ab4!=_0x42c5c6['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x42c5c6['isIntersectingWithRange'](_0x3f0465))continue;const _0x259e96=_0x219290['hasAttribute'](_0x1da5fd)?_0x219290['getAttribute'](_0x1da5fd)-0x1:0x0,_0x33bb64=this['_getSuggestionCoords'](_0x42c5c6),_0x4d78a1=_0x33bb64[_0x218bfc],_0x211c14=_0x33bb64[_0xad6b4c];_0x4d78a1<=_0x1a9b51[_0x46abae]&&_0x1a9b51[_0x46abae]+_0x259e96<=_0x211c14&&(_0x42c5c6['addRange'](_0x3f0465),_0x264e71=!0x0);}return _0x264e71;};_0x411c6a['model']['document']['registerPostFixer'](_0xe6f9d0=>{let _0x4d13b4=!0x1;for(const _0x13c434 of _0x411c6a['model']['document']['differ']['getChanges']())if('insert'==_0x13c434['type']){if('tableRow'==_0x13c434['name']){for(const _0x44cb84 of _0x13c434['position']['nodeAfter']['getChildren']())_0x4d13b4=_0x4d13b4||_0x460826(_0x44cb84,_0xe6f9d0);}else'tableCell'==_0x13c434['name']&&(_0x4d13b4=_0x4d13b4||_0x460826(_0x13c434['position']['nodeAfter'],_0xe6f9d0));}return _0x4d13b4;});}['_getSuggestionCoords'](_0x2965e9){return this['_getCoordsForCells'](_0x2965e9['getRanges']()['map'](_0x414564=>_0x414564['start']['nodeAfter']));}}function ev(_0x5bca56){return Array['from'](new Set(_0x5bca56)['values']());}class TrackChangesTableMergeSplit extends _0x151d85{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x3a0e6f=this['editor'],_0x1d4cee=_0x3a0e6f['model']['document']['selection'],_0x1573f1=_0x3a0e6f['locale'];if(!_0x3a0e6f['plugins']['has']('TableEditing'))return;const _0x41d2d4=_0x3a0e6f['plugins']['get']('TrackChangesEditing'),_0x391fec=_0x3a0e6f['plugins']['get']('TableUtils'),_0x4912f0=_0x3a0e6f['plugins']['get'](TrackChangesTable);_0x4912f0['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x41d2d4['enableCommand']('mergeTableCells',()=>{const _0x5268d0=_0x391fec['getSelectionAffectedTableCells'](_0x3a0e6f['model']['document']['selection']);_0x3a0e6f['model']['change'](()=>{_0x41d2d4['markMultiRangeBlockFormat'](_0x5268d0,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x3a0e6f['commands']['get']('mergeTableCells')['on']('execute',(_0x2f40a2,_0x4b95bd)=>{_0x3a0e6f['commands']['get']('trackChanges')['value']&&(_0x4b95bd['length']>0x0&&_0x4b95bd[_0x4b95bd['length']-0x1]&&_0x4b95bd[_0x4b95bd['length']-0x1]['forceDefaultExecution']||_0x41d2d4['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x2f40a2['stop']());},{'priority':'highest'});for(const _0x2fa1fe of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x241008=_0x3a0e6f['commands']['get'](_0x2fa1fe);_0x41d2d4['enableCommand'](_0x2fa1fe,()=>{const _0x1e27b8=_0x3a0e6f['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x9eb3c9=>_0x9eb3c9['is']('element','tableCell')),_0xce8f2b=_0x241008['value'];_0x3a0e6f['model']['change'](()=>{_0x41d2d4['markMultiRangeBlockFormat']([_0x1e27b8,_0xce8f2b],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x45a18d of['splitTableCellVertically','splitTableCellHorizontally']){const _0x52c9e9=_0x3a0e6f['commands']['get'](_0x45a18d);_0x41d2d4['enableCommand'](_0x45a18d,()=>{const _0x2e06c0=_0x391fec['getSelectionAffectedTableCells'](_0x3a0e6f['model']['document']['selection'])[0x0],_0x2cd804=_0x2e06c0['findAncestor']('table'),{column:_0x5c0cf7,row:_0x818238}=_0x391fec['getCellLocation'](_0x2e06c0);let _0x55064d=[];if('horizontally'==_0x52c9e9['direction']){const _0x160f45=_0x391fec['createTableWalker'](_0x2cd804,{'startRow':_0x818238,'endRow':_0x818238,'includeAllSlots':!0x0});_0x55064d=Array['from'](_0x160f45)['map'](_0x117b2f=>_0x117b2f['cell']);}else{const _0x206572=_0x391fec['createTableWalker'](_0x2cd804,{'column':_0x5c0cf7,'includeAllSlots':!0x0});_0x55064d=Array['from'](_0x206572)['map'](_0x19628b=>_0x19628b['cell']);}_0x3a0e6f['model']['change'](_0x2ae50a=>{_0x41d2d4['markBlockFormat'](_0x2ae50a['createRangeOn'](_0x2e06c0),{'commandName':_0x45a18d,'commandParams':[]},_0x55064d,_0x45a18d);});});}_0x41d2d4['descriptionFactory']['registerDescriptionCallback'](_0x3c9fec=>{if('formatBlock'!=_0x3c9fec['type']&&'formatInline'!=_0x3c9fec['type'])return;const {data:_0x40902d}=_0x3c9fec;return _0x40902d&&'mergeTableCells'==_0x40902d['commandName']?{'type':'format','content':jy(_0x1573f1,'*Merge\x20cells*')}:void 0x0;}),_0x41d2d4['descriptionFactory']['registerDescriptionCallback'](_0x182889=>{if('formatBlock'!=_0x182889['type']&&'formatInline'!=_0x182889['type'])return;const {data:_0x39a39e}=_0x182889;return _0x39a39e?'splitTableCellVertically'==_0x39a39e['commandName']?{'type':'format','content':jy(_0x1573f1,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x39a39e['commandName']?{'type':'format','content':jy(_0x1573f1,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0xdc8d50=_0x4912f0['_acceptFormatSuggestionCallbackFactory']();for(const _0xfbfad7 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x41d2d4['_suggestionFactory']['registerCustomCallback']('formatBlock',_0xfbfad7,'accept',_0xdc8d50);for(const _0x46cc29 of['splitTableCellVertically','splitTableCellHorizontally'])_0x41d2d4['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x46cc29,'accept',_0xdc8d50);_0x41d2d4['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x23645f=>{_0x3a0e6f['model']['change'](_0x6d4e11=>{const _0x1afb48=Array['from'](_0x1d4cee['getRanges']())['map'](_0x1400ff=>_0x49053d['fromRange'](_0x1400ff));_0x6d4e11['setSelection'](_0x23645f),_0x3a0e6f['commands']['get']('mergeTableCells')['refresh'](),_0x3a0e6f['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x541d8d=_0x1afb48['filter'](_0x21d968=>'$graveyard'!=_0x21d968['root']['rootName']);_0x541d8d['length']>0x0&&_0x6d4e11['setSelection'](_0x541d8d);for(const _0x5c9125 of _0x1afb48)_0x5c9125['detach']();});});for(const _0x2387dc of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x318948=_0x3a0e6f['commands']['get'](_0x2387dc);_0x318948['on']('set:isEnabled',(_0x4ef8d0,_0x393ec4,_0x556828)=>{if(_0x556828){const _0x5d6a4a=_0x3a0e6f['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x1081f7=>_0x1081f7['is']('element','tableCell'));this['_areMergableCells'](_0x318948['value'],_0x5d6a4a)||(_0x4ef8d0['return']=!0x1,_0x4ef8d0['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x5bfede=this['editor']['commands']['get']('mergeTableCells'),_0x14442f=this['editor']['plugins']['get']('TableUtils');if(!_0x5bfede['isEnabled'])return!0x1;const _0x237d0a=_0x14442f['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x3fd3c3 of _0x237d0a)for(const _0x35ac8d of _0x237d0a)if(_0x3fd3c3!=_0x35ac8d&&!this['_areMergableCells'](_0x3fd3c3,_0x35ac8d))return!0x1;return!0x0;}['_areMergableCells'](_0x44d241,_0x3c2a7a){const _0x2ee84d=this['editor']['plugins']['get']('TrackChangesEditing'),_0x45087e=this['editor']['model']['createRangeOn'](_0x44d241),_0x41a23a=this['editor']['model']['createRangeOn'](_0x3c2a7a),_0x5b88f5=new Set(),_0x1edaec=new Set();for(const _0x2b3a4b of _0x2ee84d['getSuggestions']())if(('insertion'==_0x2b3a4b['type']||'deletion'==_0x2b3a4b['type']||'mergeTableCells'==_0x2b3a4b['subType'])&&_0x2b3a4b['isInContent']){for(const _0x369eb9 of _0x2b3a4b['getRanges']())_0x369eb9['containsRange'](_0x45087e,!0x0)&&_0x5b88f5['add'](_0x2b3a4b['type']+':'+_0x2b3a4b['author']['id']),_0x369eb9['containsRange'](_0x41a23a,!0x0)&&_0x1edaec['add'](_0x2b3a4b['type']+':'+_0x2b3a4b['author']['id']);}if(_0x5b88f5['size']!=_0x1edaec['size'])return!0x1;for(const _0xb2808b of _0x5b88f5)if(!_0x1edaec['has'](_0xb2808b))return!0x1;return!0x0;}}class TrackChangesTableHeadings extends _0x151d85{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x877cdd=this['editor'];if(!_0x877cdd['plugins']['has']('TableEditing'))return;const _0x982a6d=_0x877cdd['locale'],_0x3d12dc=_0x877cdd['plugins']['get']('TrackChangesEditing');_0x3d12dc['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x3d12dc['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x3d12dc['descriptionFactory']['registerAttributeLabel']('headingRows',jy(_0x982a6d,'FORMAT_HEADER_ROW')),_0x3d12dc['descriptionFactory']['registerAttributeLabel']('headingColumns',jy(_0x982a6d,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x4ea45b=this['editor']['plugins']['get']('TrackChangesEditing'),_0x359397=this['editor']['plugins']['get'](TrackChangesTable)['_acceptFormatSuggestionCallbackFactory']();_0x4ea45b['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x359397),_0x4ea45b['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x359397),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x2e9895=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5a0ca7=this['editor']['plugins']['get']('TableUtils');function _0x979336({showActiveMarker:_0x4af800=!0x0,setDataAttribute:_0x1a512d=!0x0}={}){return(_0x7652cf,_0x515d9b,_0x2b756a)=>{const {type:_0x315b65,id:_0x1fbc88}=$c(_0x515d9b['markerName']);if(!_0x2e9895['hasSuggestion'](_0x1fbc88))return;const _0x240d13=_0x2e9895['getSuggestion'](_0x1fbc88),_0x13d907=_0x240d13['data'];if('formatBlock'!=_0x240d13['type']||!_0x13d907||'setTableColumnHeader'!=_0x13d907['commandName'])return;if(_0x515d9b['item'])return void _0x7652cf['stop']();if(!_0x2b756a['consumable']['consume'](_0x515d9b['markerRange'],_0x7652cf['name']))return;const _0x249fc0=_0x515d9b['markerRange']['start']['nodeAfter'],_0x8f1bcb=_0x515d9b['markerRange']['end']['nodeBefore'],_0x58fc94=_0x249fc0['parent']['parent'],{column:_0x11ede5}=_0x5a0ca7['getCellLocation'](_0x249fc0),{column:_0x2ae7b8}=_0x5a0ca7['getCellLocation'](_0x8f1bcb);for(let _0x462fd3=_0x11ede5;_0x462fd3<=_0x2ae7b8;_0x462fd3++){const _0x19eab5=_0x5a0ca7['createTableWalker'](_0x58fc94,{'column':_0x462fd3,'includeAllSlots':!0x1});for(const _0x3b6c8a of _0x19eab5){const _0x5a3d37=_0x3b6c8a['cell'],_0x43b51c=_0x2b756a['mapper']['toViewElement'](_0x5a3d37);_0x2b756a['writer']['addClass']('ck-suggestion-marker-'+_0x315b65,_0x43b51c),_0x1a512d&&_0x2b756a['writer']['setAttribute']('data-suggestion',_0x1fbc88,_0x43b51c),_0x2b756a['mapper']['bindElementToMarker'](_0x43b51c,_0x515d9b['markerName']),_0x4af800&&(_0x2e9895['activeMarkers']['includes'](_0x515d9b['markerName'])?_0x2b756a['writer']['addClass']('ck-suggestion-marker--active',_0x43b51c):_0x2b756a['writer']['removeClass']('ck-suggestion-marker--active',_0x43b51c));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x979336(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2f6f31,_0x1a6d62,_0x5a6c29)=>{_0x5a6c29['options']['showSuggestionHighlights']&&_0x979336({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2f6f31,_0x1a6d62,_0x5a6c29);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x53217d,_0x347969,_0x12f86b)=>{const {type:_0x48c661,id:_0x10781e}=$c(_0x347969['markerName']);if(!_0x2e9895['hasSuggestion'](_0x10781e))return;const _0xa23f62=_0x2e9895['getSuggestion'](_0x10781e),_0x161ef5=_0xa23f62['data'];if('formatBlock'!=_0xa23f62['type']||!_0x161ef5||'setTableColumnHeader'!=_0x161ef5['commandName'])return;const _0x3c789e=_0x12f86b['mapper']['markerNameToElements'](_0x347969['markerName']);if(_0x3c789e){for(const _0x56e14c of _0x3c789e)_0x12f86b['writer']['removeClass']('ck-suggestion-marker-'+_0x48c661,_0x56e14c),_0x12f86b['writer']['removeClass']('ck-suggestion-marker--active',_0x56e14c),_0x12f86b['writer']['removeAttribute']('data-suggestion',_0x56e14c),_0x12f86b['mapper']['unbindElementFromMarkerName'](_0x56e14c,_0x347969['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x45e135=this['editor'],_0x965199=_0x45e135['locale'];function _0x206294(_0x4276d1){return{'type':'format','content':jy(_0x965199,'*Format:*\x20%0',_0x4276d1)};}_0x45e135['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1fe047=>{if('formatBlock'!=_0x1fe047['type'])return;const {data:_0x68af96}=_0x1fe047;if(_0x68af96){if('setTableRowHeader'==_0x68af96['commandName']){const _0x442da0=_0x68af96['commandParams'][0x0]['forceValue'];return _0x206294(jy(_0x965199,_0x442da0?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x68af96['commandName']){const _0x346d25=_0x68af96['commandParams'][0x0]['forceValue'];return _0x206294(jy(_0x965199,_0x346d25?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableFooters extends _0x151d85{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x3aeaf3=this['editor'];if(!_0x3aeaf3['plugins']['has']('TableEditing')||!_0x3aeaf3['config']['get']('table.enableFooters'))return;const _0x1840db=_0x3aeaf3['locale'],_0x355cb5=_0x3aeaf3['plugins']['get']('TrackChangesEditing');_0x355cb5['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x355cb5['descriptionFactory']['registerAttributeLabel']('footerRows',jy(_0x1840db,'FORMAT_FOOTER_ROW'));}}class TrackChangesTableLayout extends _0x151d85{['afterInit'](){const _0x44ac9a=this['editor'],_0x2f4e1c=_0x44ac9a['locale'],_0x283545=_0x44ac9a['plugins']['get']('TrackChangesEditing');function _0x241fff(_0x2ce3d9){return{'type':'format','content':''+jy(_0x2f4e1c,'*Set\x20table\x20type:*\x20%0',_0x2ce3d9)};}_0x44ac9a['plugins']['has']('TableLayout')&&(_0x283545['enableCommand']('insertTableLayout'),_0x283545['enableDefaultAttributesIntegration']('tableType'),_0x283545['descriptionFactory']['registerElementLabel'](_0x39963d=>_0x39963d['is']('element','table')&&'layout'===_0x39963d['getAttribute']('tableType'),_0x5ac522=>jy(_0x2f4e1c,'ELEMENT_LAYOUT_TABLE',_0x5ac522)),_0x283545['descriptionFactory']['registerDescriptionCallback'](_0x3d2f05=>{const {data:_0x1c1d1d}=_0x3d2f05;if(_0x1c1d1d&&'tableType'==_0x1c1d1d['key'])switch(_0x1c1d1d['newValue']){case'layout':return _0x241fff(jy(_0x2f4e1c,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x241fff(jy(_0x2f4e1c,'ELEMENT_CONTENT_TABLE'));}}));}}const iv=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],sv=/* #__PURE__ -- @preserve */
Object['fromEntries'](iv['map'](_0x19e3bd=>[_0x19e3bd,null]));class TrackChangesTableClipboard extends _0x151d85{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x1148b0=this['editor'];if(!_0x1148b0['plugins']['has']('TableClipboard'))return;const _0x4fb7b9=_0x1148b0['plugins']['get']('TrackChangesEditing'),_0x29755a=_0x1148b0['plugins']['get']('TableUtils'),_0x514c00=_0x1148b0['plugins']['get'](TrackChangesTable),_0x487c5d=_0x1148b0['plugins']['get']('TableClipboard'),_0x26926f=_0x1148b0['plugins']['get']('TableSelection'),_0x3f1e51=_0x1148b0['plugins']['get'](_0x4d1fc7);_0x514c00['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x1148b0['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x1148b0['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x32e015=null,_0x446a74=!0x1;_0x3f1e51['on']('contentInsertion',(_0x3891b7,_0x542f36)=>{_0x446a74='paste'===_0x542f36['method'];}),_0x1148b0['model']['on']('insertContent',(_0x15d9bc,_0x1e7d2e)=>{if(!_0x446a74&&null===_0x26926f['getSelectedTableCells']())return;const [_0x510d27,_0x484acf]=_0x1e7d2e,_0xe7189e=_0x1e7d2e[_0x1e7d2e['length']-0x1];_0xe7189e&&_0xe7189e['forceDefaultExecution']||_0x4fb7b9['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x5026c9,_0x2d6de0,_0x1f3b93,_0xfb5d7e,_0x233e6b){if(_0x2d6de0&&!_0x2d6de0['is']('documentSelection'))return!0x1;const _0x56c126=_0x233e6b['getTableIfOnlyTableInContent'](_0x5026c9,_0x1f3b93);if(!_0x56c126||!rv(_0x56c126,void 0x0,_0xfb5d7e))return!0x1;const _0x10f46c=_0xfb5d7e['getSelectionAffectedTableCells'](_0x1f3b93['document']['selection']);if(!_0x10f46c['length'])return!0x1;const _0x5ac78a=_0x10f46c[0x0]['findAncestor']('table'),_0x39ed64=_0xfb5d7e['getRowIndexes'](_0x10f46c),_0x3df55b=_0xfb5d7e['getColumnIndexes'](_0x10f46c),_0x114cd5={'startRow':_0x39ed64['first'],'endRow':_0x39ed64['last'],'startColumn':_0x3df55b['first'],'endColumn':_0x3df55b['last']};return 0x1==_0x10f46c['length']&&(_0x114cd5['endRow']+=_0xfb5d7e['getRows'](_0x56c126)-0x1,_0x114cd5['endColumn']+=_0xfb5d7e['getColumns'](_0x56c126)-0x1),rv(_0x5ac78a,_0x114cd5,_0xfb5d7e);}(_0x510d27,_0x484acf,_0x1148b0['model'],_0x29755a,_0x487c5d)&&(_0x15d9bc['stop'](),_0x32e015={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x1148b0['model']['change'](()=>{_0x1148b0['model']['insertContent'](_0x1e7d2e[0x0],_0x1e7d2e[0x1],_0x1e7d2e[0x2],{'forceDefaultExecution':!0x0});const _0x3eaf7f=_0x3eda13(),{rowInsertionRanges:_0x4a9adf,columnInsertionRanges:_0xff5d0c,insertionRanges:_0x524cad,deletionRanges:_0x3b77da,cells:_0x1a1a43}=_0x32e015;_0x4a9adf['length']&&_0x4fb7b9['markMultiRangeInsertion'](_0x4a9adf,'tablePasteRow',{'tablePasteChainId':_0x3eaf7f}),_0xff5d0c['length']&&_0x4fb7b9['markMultiRangeInsertion'](_0xff5d0c,'tablePasteColumn',{'tablePasteChainId':_0x3eaf7f}),_0x524cad['length']&&(_0x4fb7b9['markMultiRangeInsertion'](_0x524cad,'tablePaste',{'tablePasteChainId':_0x3eaf7f,'skipNestingCheck':!0x0}),_0x524cad['forEach'](_0x4e3135=>_0x4e3135['detach']?.())),_0x3b77da['length']&&(_0x4fb7b9['markMultiRangeDeletion'](_0x3b77da,'tablePaste',{'tablePasteChainId':_0x3eaf7f,'skipNestingCheck':!0x0}),_0x3b77da['forEach'](_0x4d15dd=>_0x4d15dd['detach']?.()));const _0x55cb25=_0x4fb7b9['markMultiRangeBlockFormat'](_0x1a1a43['map'](({element:_0x352f9d})=>_0x352f9d),{'formatGroupId':_0x3eda13()},[],'tablePasteCell',{'tablePasteChainId':_0x3eaf7f});if(_0x55cb25){const _0x18cc7e=_0x55cb25['getMarkers'](),_0x4943cc=[];for(const {element:_0xdda1f6,attributes:_0x20bde9}of _0x1a1a43){if(!_0x20bde9)continue;const _0x47e709=_0x1148b0['model']['createRangeOn'](_0xdda1f6),_0x25e172=_0x18cc7e['find'](_0x20ab9b=>_0x20ab9b['getRange']()['isEqual'](_0x47e709));_0x25e172&&_0x4943cc['push']([_0x25e172['name'],_0x20bde9]);}_0x4943cc['length']&&_0x55cb25['setAttribute']('markerAttributes',Object['fromEntries'](_0x4943cc));}_0x32e015=null;}));},{'priority':_0x537830['high']+0xa}),_0x3f1e51['on']('contentInsertion',()=>{_0x446a74=!0x1;},{'priority':'lowest'}),_0x1148b0['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x17619b,_0x571b3c)=>{const [_0x5c630c,_0x3ad6bf,,_0x24b2dd]=_0x571b3c;if(!_0x32e015)return;_0x17619b['stop']();const _0x5e15d3=_0x5c630c['cell'],_0xb954f1=_0x3ad6bf,_0x335c30=nv(_0x5e15d3),_0x24219f=nv(_0xb954f1);_0x17619b['return']=_0x5e15d3;let _0x31076c=null,_0x27f4ce=null;if(_0x24219f||_0x335c30){if(_0x335c30&&!_0x24219f){_0x24b2dd['remove'](_0x5e15d3['getChild'](0x0));for(const _0x3cdcc3 of Array['from'](_0xb954f1['getChildren']()))_0x24b2dd['insert'](_0x3cdcc3,_0x5e15d3,'end');const _0x4c01af=_0x32e015['rowInsertionIndexes']['includes'](_0x5c630c['row']),_0x22adef=_0x32e015['columnInsertionIndexes']['includes'](_0x5c630c['column']);_0x4c01af||_0x22adef||(_0x31076c=_0x49053d['fromRange'](_0x24b2dd['createRangeIn'](_0x5e15d3)));}else _0x24219f&&!_0x335c30&&(_0x27f4ce=_0x24b2dd['createRangeIn'](_0x5e15d3));}else{const _0xa1ae1b=_0x24b2dd['createElement']('tableCellSuggestion'),_0x185481=_0x24b2dd['createElement']('tableCellSuggestion');_0x24b2dd['wrap'](_0x24b2dd['createRangeIn'](_0x5e15d3),_0x185481),_0x24b2dd['insert'](_0xa1ae1b,_0x5e15d3,0x0);for(const _0x22dd77 of Array['from'](_0xb954f1['getChildren']()))_0x24b2dd['insert'](_0x22dd77,_0xa1ae1b,'end');_0x31076c=_0x49053d['fromRange'](_0x24b2dd['createRangeOn'](_0xa1ae1b)),_0x27f4ce=_0x49053d['fromRange'](_0x24b2dd['createRangeOn'](_0x185481));}const _0x584b74=Array['from'](_0xb954f1['getAttributes']())['filter'](([_0x158927])=>iv['includes'](_0x158927));_0x32e015['cells']['push']({'element':_0x5e15d3,'attributes':_0x584b74['length']?Object['fromEntries'](_0x584b74):null}),_0x31076c&&_0x32e015['insertionRanges']['push'](_0x31076c),_0x27f4ce&&_0x32e015['deletionRanges']['push'](_0x27f4ce);},{'priority':'high'}),_0x29755a['on']('insertColumns',(_0x54ff81,_0x212f07)=>{const [_0x5a26f1,_0x4c7c11={}]=_0x212f07;if(!_0x32e015)return;const _0x4a956a=_0x4c7c11['at']||0x0,_0x2e9d2b=_0x4c7c11['columns']||0x1;_0x32e015['columnInsertionIndexes']=new Array(_0x2e9d2b)['fill'](_0x4a956a)['map']((_0x4920bd,_0x4a7ae6)=>_0x4920bd+_0x4a7ae6);for(const {cell:_0xc8ef76}of _0x29755a['createTableWalker'](_0x5a26f1,{'startColumn':_0x4a956a,'endColumn':_0x4a956a+_0x2e9d2b-0x1}))_0x32e015['columnInsertionRanges']['push'](_0x1148b0['model']['createRangeOn'](_0xc8ef76));},{'priority':'low'}),_0x29755a['on']('insertRows',(_0x585dff,_0x270d85)=>{const [_0xb01b2b,_0x417174={}]=_0x270d85;if(!_0x32e015)return;const _0x1b60c6=_0x417174['at']||0x0,_0x2b52be=_0x417174['rows']||0x1;_0x32e015['rowInsertionIndexes']=new Array(_0x2b52be)['fill'](_0x1b60c6)['map']((_0x4d0578,_0x53a6fb)=>_0x4d0578+_0x53a6fb);for(const {cell:_0x3ab7c7}of _0x29755a['createTableWalker'](_0xb01b2b,{'startRow':_0x1b60c6,'endRow':_0x1b60c6+_0x2b52be-0x1}))_0x32e015['rowInsertionRanges']['push'](_0x1148b0['model']['createRangeOn'](_0x3ab7c7));},{'priority':'low'}),_0x4fb7b9['descriptionFactory']['registerDescriptionCallback'](_0x5f5811=>{if(_0x5f5811['subType']&&_0x5f5811['subType']['startsWith']('tablePaste'))return _0x5f5811['previous']?{}:{'type':'insertion','content':jy(_0x1148b0['locale'],'*Replace\x20table\x20cells*')};});const _0xbd0316=()=>!0x1;for(const _0xa1b528 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x4fb7b9['_suggestionFactory']['registerCustomCallback']('insertion',_0xa1b528,'join',_0xbd0316),_0x4fb7b9['_suggestionFactory']['registerCustomCallback']('deletion',_0xa1b528,'join',_0xbd0316),_0x4fb7b9['_suggestionFactory']['registerCustomCallback']('formatBlock',_0xa1b528,'join',_0xbd0316);_0x4fb7b9['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0xbd0316),_0x4fb7b9['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x1e0be0,_0x5b06e7,_0x3a487d)=>{const _0xc412e3=_0x1e0be0['map'](_0x2e7864=>_0x2e7864['getContainedElement']())['filter'](_0x4194dd=>_0x4194dd),_0x5d0010=new Map(_0xc412e3['map'](_0x52229e=>[_0x52229e,null]));if(_0x32e015){for(const {element:_0x299b32,attributes:_0x4fa806}of _0x32e015['cells'])_0x4fa806&&_0x5d0010['set'](_0x299b32,_0x4fa806);}else{if(_0x3a487d&&_0x3a487d['markerAttributes'])for(const [_0x58c52d,_0x13a042]of Object['entries'](_0x3a487d['markerAttributes'])){const _0x1c7adf=_0x1148b0['model']['markers']['get'](_0x58c52d),_0x18a1f8=_0x1c7adf?_0x1c7adf['getRange']()['getContainedElement']():null;_0x18a1f8&&_0x5d0010['set'](_0x18a1f8,_0x13a042);}}_0x1148b0['model']['change'](_0x83ae=>{for(const [_0x5e7ea3,_0x259b18]of _0x5d0010)_0x83ae['setAttributes']({...sv,..._0x259b18},_0x5e7ea3);});});const _0x3a3c80=(_0x185c0e,_0x27c804)=>{_0x4fb7b9['_suggestionFactory']['registerCustomCallback'](_0x185c0e,'tablePaste',_0x27c804,(_0x3e59a4,_0x47e94a,_0x4d81f1)=>{_0x1148b0['model']['change'](_0x379585=>{const _0x50683b=[];for(const _0x56d525 of _0x3e59a4){const _0x5df556=_0x56d525['start']['nodeAfter'];_0x5df556['is']('element','tableCellSuggestion')&&_0x50683b['push'](_0x5df556);}_0x4fb7b9['_suggestionFactory']['getSuggestionCallback'](_0x185c0e,null,_0x27c804)(_0x3e59a4,_0x47e94a,_0x4d81f1);for(const _0x5af6d5 of _0x50683b)'$graveyard'!=_0x5af6d5['root']['rootName']&&_0x379585['unwrap'](_0x5af6d5);});});};_0x3a3c80('insertion','accept'),_0x3a3c80('insertion','discard'),_0x3a3c80('deletion','accept'),_0x3a3c80('deletion','discard'),_0x4fb7b9['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x14b0db=>{const _0x48070a=_0x14b0db['map'](_0x5e5845=>_0x5e5845['getContainedElement']()),_0x25f401=_0x48070a[0x0]['findAncestor']('table'),{minRow:_0x50811e,maxRow:_0x18b2de}=_0x514c00['_getCoordsForCells'](_0x48070a);_0x29755a['removeRows'](_0x25f401,{'at':_0x50811e,'rows':_0x18b2de-_0x50811e+0x1});}),_0x4fb7b9['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x108ad5=>{const _0x145788=_0x108ad5['map'](_0xe68c35=>_0xe68c35['getContainedElement']()),_0x40da73=_0x145788[0x0]['findAncestor']('table'),{minColumn:_0x2a0002,maxColumn:_0x54f14e}=_0x514c00['_getCoordsForCells'](_0x145788);_0x29755a['removeColumns'](_0x40da73,{'at':_0x2a0002,'columns':_0x54f14e-_0x2a0002+0x1});});const _0xe69c19=(_0x40e3eb,_0x289ccf)=>{if(!_0x289ccf['subType']||!_0x289ccf['subType']['startsWith']('tablePaste'))return;const _0x4bfb97=_0x289ccf['attributes']['tablePasteChainId'],_0x2d58ee=_0x4fb7b9['getSuggestions']()['filter'](_0x4c89c0=>_0x4c89c0['isInContent']&&_0x4c89c0['attributes']&&_0x4c89c0['attributes']['tablePasteChainId']==_0x4bfb97);_0x2d58ee['length']&&_0x289ccf['getAllAdjacentSuggestions']()['length']!=_0x2d58ee['length']&&_0x2d58ee['reduce']((_0x239111,_0x220582)=>(_0x239111['next']=_0x220582,_0x220582['previous']=_0x239111,_0x220582));};function _0x2ebc55(_0x478386,_0x33e10a=!0x0){const {id:_0x2ca474,authorId:_0x39dd57}=$c(_0x478386['markerName']),_0x21cdc6=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x5b8c7a=_0x4fb7b9['activeMarkers']['includes'](_0x478386['markerName']);return _0x5b8c7a&&_0x21cdc6['push']('ck-suggestion-marker--active'),{'classes':_0x21cdc6,'attributes':{'data-suggestion':_0x2ca474,'data-author-id':_0x39dd57},'priority':_0x5b8c7a&&_0x33e10a?0xbc2:0xbb8};}_0x4fb7b9['on']('suggestionLoaded',_0xe69c19,{'priority':'high'}),_0x4fb7b9['on']('suggestionUnloaded',_0xe69c19,{'priority':'high'}),_0x1148b0['model']['document']['registerPostFixer'](()=>{let _0x3faab8=!0x1;const _0x68f830=Array['from'](_0x1148b0['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x177471,data:_0x5d3ba1}of _0x68f830){const {group:_0x3d6e13,type:_0x5c03a2,id:_0x23196a}=$c(_0x177471);if('suggestion'!=_0x3d6e13||'deletion'!=_0x5c03a2||_0x5d3ba1['oldRange'])continue;if(!_0x4fb7b9['hasSuggestion'](_0x23196a))continue;const _0xe433b4=_0x4fb7b9['getSuggestion'](_0x23196a)['getRanges'](),_0x278556=_0x1148b0['plugins']['get']('Users')['me'];for(const _0x1e0d6f of _0x4fb7b9['getSuggestions']()){if(!_0x1e0d6f['isInContent']||_0x1e0d6f['author']!=_0x278556)continue;if('formatBlock'!=_0x1e0d6f['type']||'tablePasteCell'!=_0x1e0d6f['subType'])continue;if(_0x1e0d6f['getRanges']()['every'](_0x37e664=>_0xe433b4['some'](_0x69651=>_0x69651['containsRange'](_0x37e664,!0x0)))){for(const _0x10a746 of _0x1e0d6f['getAllAdjacentSuggestions']())_0x10a746['isInContent']&&(_0x10a746['discard'](),_0x3faab8=!0x0);}}}return _0x3faab8;}),_0x1148b0['model']['document']['registerPostFixer'](_0x2f8957=>{const _0x596db3=_0x1148b0['commands']['get']('redo');if(!_0x596db3||!_0x596db3['_createdBatches']['has'](_0x2f8957['batch']))return!0x1;let _0x44a3e6=!0x1;const _0x46f357=_0x1148b0['plugins']['get']('Users')['me'],_0x391235=_0x1148b0['model']['document']['differ']['getChanges'](),_0x18463c=Array['from'](_0x1148b0['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x23cdbb,data:_0x2f9e0f})=>{const {group:_0x4073b6,subType:_0x7565d6,authorId:_0x5a395d}=$c(_0x23cdbb);return'suggestion'==_0x4073b6&&'tablePaste'==_0x7565d6&&_0x5a395d==_0x46f357['id']&&!_0x2f9e0f['oldRange'];});for(const _0x162803 of _0x391235){if('insert'!=_0x162803['type']||'tableCellSuggestion'!=_0x162803['name']||0x1!=_0x162803['length'])continue;const _0x12f876=_0x2f8957['createRange'](_0x162803['position'],_0x162803['position']['getShiftedBy'](0x1)),_0x46ffde=_0x18463c['find'](({data:_0x1b6be5})=>_0x1b6be5['newRange']['isEqual'](_0x12f876));if(!_0x46ffde){for(const {name:_0x3db32a,data:_0xbfa711}of _0x18463c)if(_0x12f876['containsRange'](_0xbfa711['newRange'])){_0x2f8957['updateMarker'](_0x3db32a,{'range':_0x12f876}),_0x44a3e6=!0x0;break;}}}return _0x44a3e6;}),_0x1148b0['model']['document']['registerPostFixer'](_0x357a5f=>{let _0x207e89=!0x1;const _0xa953de=_0x1148b0['plugins']['get']('Users')['me'],_0x51b439=_0x4fb7b9['getSuggestions']()['filter'](_0x15911d=>_0x15911d['isInContent']&&_0x15911d['author']==_0xa953de),_0x3617e6=new Set(),_0x52ecab=new Set();for(const _0x52333d of _0x51b439)if('tablePaste'==_0x52333d['subType'])for(const _0xc5772c of _0x52333d['getMarkers']()){const _0x43695f=_0xc5772c['getRange']()['getContainedElement']();if(_0x43695f){if(_0x43695f['is']('element','tableCellSuggestion')&&nv(_0x43695f)){_0x52333d['removeMarker'](_0xc5772c['name']),_0x3617e6['add'](_0x43695f),_0x207e89=!0x0;const _0xd383e1=_0x43695f['nextSibling'],_0xafbe88=_0x43695f['previousSibling'],_0xc7a24=_0xd383e1&&_0xd383e1['is']('element','tableCellSuggestion'),_0x4856d5=_0xafbe88&&_0xafbe88['is']('element','tableCellSuggestion');_0xc7a24&&!_0x3617e6['has'](_0xd383e1)&&_0x52ecab['add'](_0xd383e1),_0x4856d5&&!_0x3617e6['has'](_0xafbe88)&&_0x52ecab['add'](_0xafbe88);}else _0x43695f['is']('element','paragraph')&&_0x43695f['isEmpty']&&(_0x52333d['removeMarker'](_0xc5772c['name']),_0x207e89=!0x0);}}else{if('tablePasteCell'==_0x52333d['subType']){if(!_0x52333d['attributes']||!_0x52333d['attributes']['tablePasteChainId'])continue;const _0x3fd9a6=_0x52333d['attributes']['markerAttributes'];if(_0x3fd9a6&&Object['keys'](_0x3fd9a6)['length'])continue;const _0x44c32c=_0x52333d['attributes']['tablePasteChainId'];let _0x1a7c10=!0x0,_0x371c99=!0x0;for(const _0x50567b of _0x51b439)if(_0x50567b['subType']&&_0x50567b['subType']['startsWith']('tablePaste')){if(!_0x50567b['attributes']['tablePasteChainId']){_0x371c99=!0x1;break;}if(_0x50567b['id']!=_0x52333d['id']&&_0x50567b['attributes']['tablePasteChainId']==_0x44c32c){_0x1a7c10=!0x1;break;}}_0x371c99&&_0x1a7c10&&(_0x52333d['removeMarkers'](),_0x207e89=!0x0);}}for(const _0x3646fb of _0x3617e6)_0x357a5f['remove'](_0x3646fb);for(const _0x9ab548 of _0x52ecab)_0x357a5f['unwrap'](_0x9ab548);return _0x207e89;}),_0x1148b0['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x439783=>_0x2ebc55(_0x439783),'converterPriority':'high'}),_0x1148b0['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x560097,_0x48650b)=>_0x48650b['options']['showSuggestionHighlights']?_0x2ebc55(_0x560097,!0x1):null,'converterPriority':'high'});const _0x38fce2=_0x1148b0['editing']['view'];this['listenTo'](_0x38fce2['document'],'clipboardOutput',(_0x380255,_0x407251)=>{const _0x240d54=[];for(const _0xda8f0c of _0x38fce2['createRangeIn'](_0x407251['content'])['getItems']())_0xda8f0c['is']('element','suggestion-td')&&_0x240d54['push'](_0xda8f0c);_0x38fce2['change'](_0x5ee6a3=>{for(const _0xa445b of _0x240d54)_0x5ee6a3['move'](_0x5ee6a3['createRangeIn'](_0xa445b),_0x5ee6a3['createPositionBefore'](_0xa445b)),_0x5ee6a3['remove'](_0xa445b);});});}}function nv(_0x195aa3){if(_0x195aa3['isEmpty'])return!0x0;const _0x2f88c0=_0x195aa3['getChild'](0x0);return _0x2f88c0['is']('element','paragraph')&&_0x2f88c0['isEmpty'];}function rv(_0x248cd3,_0x5a6c88={},_0xaeec2e){for(const {isAnchor:_0x157e3a,cellHeight:_0x4c4c41,cellWidth:_0x4786af}of _0xaeec2e['createTableWalker'](_0x248cd3,{'includeAllSlots':!0x0,..._0x5a6c88}))if(!_0x157e3a||0x1!=_0x4c4c41||0x1!=_0x4786af)return!0x1;return!0x0;}class TrackChangesTableColumnResize extends _0x151d85{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x51669c=this['editor']['plugins']['get']('TrackChangesEditing');_0x51669c['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x51669c['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x51669c['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x51669c['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x51669c['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x51669c['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x219483,_0x59c305){const _0xeba640=this['editor']['plugins']['get']('TrackChangesEditing'),_0x301e2e=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x50758c=_0x59c305['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x398f3f=_0x301e2e['getColumnGroupElement'](_0x50758c);let _0x34a863=_0x398f3f?_0x301e2e['getTableColumnsWidths'](_0x398f3f):null,_0x4702ee=_0x50758c['getAttribute']('tableWidth')||null;const _0x4e20c9=_0x59c305['tableWidth']||_0x4702ee,_0x24f58f=_0x59c305['columnWidths']||_0x34a863,_0x2ccd5e=this['editor']['plugins']['get']('Users')['me'];for(const _0x2a6e10 of _0xeba640['getSuggestions']()){const _0x3916e1=_0x2a6e10['getContainedElement']();if('resizeTable'===_0x2a6e10['subType']&&_0x3916e1===_0x50758c){_0x2a6e10['author']!==_0x2ccd5e&&_0x2a6e10['discard']();const _0x5a886a=_0x2a6e10['data']['commandParams'];_0x4702ee=_0x5a886a[0x0]['tableWidth'],_0x34a863=_0x5a886a[0x0]['columnWidths'];break;}}_0x219483({'table':_0x50758c,'tableWidth':_0x4e20c9,'columnWidths':_0x24f58f}),_0xeba640['markBlockFormat'](_0x50758c,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x4702ee,'columnWidths':_0x34a863}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x5a7cc2){if('formatBlock'!=_0x5a7cc2['type']&&'formatInline'!=_0x5a7cc2['type'])return;const {data:_0x47565f}=_0x5a7cc2;if(_0x47565f&&'resizeTable'===_0x47565f['formatGroupId']){const _0x459a92='*Format:*\x20resize\x20table';return{'type':'format','content':jy(this['editor']['locale'],_0x459a92)};}}}class TrackChangesTemplate extends _0x151d85{['afterInit'](){const _0x48d027=this['editor'];_0x48d027['plugins']['has']('Template')&&_0x48d027['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends _0x151d85{['afterInit'](){const _0x55149a=this['editor'];if(!_0x55149a['commands']['get']('insertTableOfContents'))return;_0x55149a['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x51a953=_0x55149a['plugins']['get']('TrackChangesEditing'),_0x590d0d=_0x55149a['locale'];_0x51a953['descriptionFactory']['registerElementLabel']('tableOfContents',_0x38e2c1=>jy(_0x590d0d,'ELEMENT_TABLE_OF_CONTENTS',_0x38e2c1));}}class TrackChangesTitle extends _0x151d85{['afterInit'](){const _0x26d178=this['editor'];if(!_0x26d178['plugins']['has']('Title'))return;_0x26d178['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>jy(_0x26d178['locale'],'ELEMENT_TITLE')),_0x26d178['model']['document']['registerPostFixer'](_0x529b64=>{let _0x1d28bb=!0x1;const _0x151a31=Array['from'](_0x26d178['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x3bdfe0,data:_0x5bc35c}of _0x151a31){const {group:_0x11da46}=$c(_0x3bdfe0);if('suggestion'!==_0x11da46||!_0x5bc35c['newRange'])continue;const _0x4ce5e2=_0x5bc35c['newRange'],_0x23beb7=_0x4ce5e2['end']['nodeBefore'];if(!_0x23beb7||!_0x23beb7['is']('element','title-content'))continue;if(!_0x4ce5e2['start']['isTouching'](_0x4ce5e2['end']))continue;const _0xd81af5=_0x26d178['model']['schema']['getNearestSelectionRange'](_0x4ce5e2['end'],'forward');if(_0xd81af5&&_0xd81af5['isCollapsed']){const _0x5880f8=_0x529b64['createRange'](_0x4ce5e2['start'],_0xd81af5['start']);_0x5880f8['isEqual'](_0x4ce5e2)||(_0x529b64['updateMarker'](_0x3bdfe0,{'range':_0x5880f8}),_0x1d28bb=!0x0);}_0x1d28bb||(_0x529b64['removeMarker'](_0x3bdfe0),_0x1d28bb=!0x0);}return _0x1d28bb;});}}class TrackChangesUploadcare extends _0x151d85{['afterInit'](){const _0x1e9410=this['editor'],_0x4b35ad=_0x1e9410['plugins']['get']('TrackChangesEditing');_0x1e9410['plugins']['has']('Uploadcare')&&(_0x4b35ad['enableCommand']('uploadcare'),_0x1e9410['plugins']['has']('UploadcareImageEdit')&&(_0x4b35ad['enableCommand']('uploadcareImageEdit'),_0x4b35ad['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x4b35ad['descriptionFactory']['registerDescriptionCallback'](_0x45a7ac=>{if('attribute'!=_0x45a7ac['type'])return;const {data:_0x891a29}=_0x45a7ac;return _0x891a29&&'uploadcareImageId'==_0x891a29['key']?{'type':'format','content':''}:void 0x0;})));}}class TrackChangesUndo extends _0x151d85{['afterInit'](){const _0x4db4ec=this['editor'],_0x1662c8=_0x4db4ec['plugins']['get']('TrackChangesEditing');_0x4db4ec['plugins']['has']('UndoEditing')&&(_0x1662c8['enableCommand']('undo'),_0x1662c8['enableCommand']('redo'));}}class TrackChangesTableCaption extends _0x151d85{static get['requires'](){return[TrackChangesTable];}['afterInit'](){const _0x12f77a=this['editor'];if(!_0x12f77a['plugins']['has']('TableCaptionEditing'))return;_0x12f77a['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends _0x151d85{['tableProperties'];['tableCellProperties'];constructor(_0x779fd9){super(_0x779fd9),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 _0x46589a=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x39fb9a of this['tableProperties'])_0x46589a['enableCommand'](_0x39fb9a,(_0x155540,_0x35ddce)=>{const _0x2ecf8d=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x39fb9a,[_0x2ecf8d],this['tableProperties'],'tableProperties',_0x155540,_0x35ddce);});_0x46589a['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x46589a['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x46589a['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0xf3b8fd,_0x48ce53)=>this['handleDiscardAction'](this['tableProperties'],_0xf3b8fd,_0x48ce53)),_0x46589a['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x4f3fbf of this['tableCellProperties'])this['editor']['commands']['get'](_0x4f3fbf)&&_0x46589a['enableCommand'](_0x4f3fbf,(_0x1b22fd,_0x4bfb36)=>{const _0x467e1a=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x4f3fbf,_0x467e1a,this['tableCellProperties'],'tableCellProperties',_0x1b22fd,_0x4bfb36);});_0x46589a['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x46589a['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x46589a['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x36a6b2,_0x5dadfd)=>this['handleDiscardAction'](this['tableCellProperties'],_0x36a6b2,_0x5dadfd)),_0x46589a['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x46589a['descriptionFactory']['registerAttributeLabel']('tableCellType',jy(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x46589a['descriptionFactory']['registerDescriptionCallback'](_0x3bd182=>this['handleSuggestionDescription'](_0x3bd182)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x3bf518,_0x5f241b,_0x4f9ac6,_0x4eb910,_0x24d365,_0x593245){const _0x415a12=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x593245['batch'],()=>{for(const _0x58beb0 of _0x5f241b){if(this['_getSuggestion'](_0x58beb0,_0x4eb910))_0x24d365(_0x593245);else{const _0x2a8f09={};for(const _0x2801c7 of _0x4f9ac6){const _0x11e2de=_0x58beb0['getAttribute'](_0x2801c7);void 0x0!==_0x11e2de&&(_0x2a8f09[_0x2801c7]=_0x11e2de);}_0x24d365(_0x593245),_0x415a12['markBlockFormat'](_0x58beb0,{'commandParams':[_0x2a8f09]},[],_0x4eb910);}}});}['handleDiscardAction'](_0x3b9bd6,_0x34568d,_0xef2584){const _0x18dd3b=_0x34568d[0x0]['start']['nodeAfter'],_0x1da8e6=_0xef2584['commandParams'][0x0];this['editor']['model']['change'](_0x7fc98c=>{for(const _0x3fca79 of _0x3b9bd6)void 0x0!==_0x1da8e6[_0x3fca79]?_0x7fc98c['setAttribute'](_0x3fca79,_0x1da8e6[_0x3fca79],_0x18dd3b):_0x7fc98c['removeAttribute'](_0x3fca79,_0x18dd3b);});}['handleSuggestionDescription'](_0x593016){if(_0x593016['data'])switch(_0x593016['subType']){case'tableProperties':return{'type':'format','content':jy(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':jy(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x4845f5,_0x449288){const _0x103f6a=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x87580a of _0x103f6a['getSuggestions']({'skipNotAttached':!0x0})){const _0xfe2aae=_0x87580a['getContainedElement']();if(_0x87580a['subType']===_0x449288&&_0xfe2aae===_0x4845f5)return _0x87580a;}return null;}['_registerTablePropertiesAttributes'](){const _0xaeee47=this['editor']['plugins']['get']('TrackChangesEditing'),_0x138640=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x51d4e9 of _0x138640){const _0x31ecb1=_0x51d4e9['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0xaeee47['descriptionFactory']['registerAttributeLabel'](_0x51d4e9,jy(this['editor']['locale'],'FORMAT_'+_0x31ecb1));}}}class TrackChangesLineHeight extends _0x151d85{['afterInit'](){const _0x319e2d=this['editor'];if(!_0x319e2d['plugins']['has']('LineHeight'))return;const _0xb6fdd7=_0x319e2d['plugins']['get']('TrackChangesEditing'),_0xb97ecc=_0x319e2d['locale'];_0xb6fdd7['enableDefaultAttributesIntegration']('lineHeight'),_0xb6fdd7['descriptionFactory']['registerAttributeLabel']('lineHeight',jy(_0xb97ecc,'FORMAT_LINE_HEIGHT'));}}const ov='$elementName';class TrackChangesEditing extends _0x151d85{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_suggestionsConversion'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return[CommentsRepository,SuggestionsConversion,Users,_0x1bb5aa,DocumentCompare,TrackChangesAIAssistant,TrackChangesAI,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,TrackChangesBookmark,TrackChangesCKBox,TrackChangesCaseChange,TrackChangesCodeBlock,TrackChangesComments,TrackChangesDeleteCommand,TrackChangesEmoji,TrackChangesEnterCommand,TrackChangesFindAndReplace,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,TrackChangesGeneralHtmlSupport,TrackChangesHeading,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,TrackChangesImage,TrackChangesImageStyle,TrackChangesImageReplace,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,TrackChangesLink,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,TrackChangesMediaEmbed,TrackChangesMediaEmbedStyle,TrackChangesMention,TrackChangesMergeFields,TrackChangesPageBreak,TrackChangesParagraph,TrackChangesReplaceSourceCommand,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,TrackChangesTable,TrackChangesTableMergeSplit,TrackChangesTableHeadings,TrackChangesTableFooters,TrackChangesTableLayout,TrackChangesTableCaption,TrackChangesTableClipboard,TrackChangesTableColumnResize,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,TrackChangesUploadcare,TrackChangesUndo];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3367c3){super(_0x3367c3),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x437602,_0x438676,_0x117b4b,_0x21007e)=>{this['_model']['change'](()=>{for(const _0x2ccaa0 of[..._0x21007e,..._0x117b4b])this['_model']['markers']['has'](_0x2ccaa0)&&_0x3367c3['editing']['reconvertMarker'](_0x2ccaa0);});}),this['descriptionFactory']=new SuggestionDescriptionFactory(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new SuggestionFactory(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x3367c3['plugins']['get'](CommentsRepository),this['_suggestionsConversion']=_0x3367c3['plugins']['get'](SuggestionsConversion),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x3367c3['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x3367c3['config']['get']('trackChanges.trackFormatChanges'),_0x3367c3['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x3367c3['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new TrackChangesCommand(_0x3367c3,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x28ef10=this['editor'];_0x28ef10['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x139555,{writer:_0x1fa44f})=>{let _0x5ea702='suggestion:'+_0x139555['getAttribute']('suggestion-type')+':'+_0x139555['getAttribute']('id');return _0x139555['getAttribute']('marker-count')&&(_0x5ea702+=':'+_0x139555['getAttribute']('marker-count')),_0x1fa44f['createElement']('$marker',{'data-name':_0x5ea702});}}),_0x28ef10['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x28ef10['model']['document']['registerPostFixer'](_0x127e6d=>{let _0x20f81c=!0x1;const _0xb835c7=Array['from'](_0x28ef10['model']['document']['differ']['getChangedMarkers']()),_0x39192c=new Set();for(const {name:_0x4c5b83,data:_0x452539}of _0xb835c7){const {group:_0x55e783,type:_0x23dd3c,subType:_0x4dd7a6,id:_0xd84a4b}=$c(_0x4c5b83);if('suggestion'!==_0x55e783)continue;const _0x1eef70=_0x4dd7a6?'suggestion:'+_0x23dd3c+':'+_0x4dd7a6+':'+_0xd84a4b:'suggestion:'+_0x23dd3c+':'+_0xd84a4b,_0x40b368=_0x28ef10['model']['markers']['getMarkersGroup'](_0x1eef70),_0x39300a=_0x28ef10['model']['markers']['get'](_0x4c5b83),_0x2f7769=this['_suggestions']['get'](_0xd84a4b);if(null!=_0x452539['newRange']){'formatInline'==_0x23dd3c&&(_0x20f81c=_0x20f81c||lv(_0x452539['newRange'],_0x4c5b83,_0x127e6d,_0x28ef10['model']['schema']));const _0x5a3277='attribute'==_0x23dd3c&&this['_suggestionsConversion']['isBlockAttribute'](yv(_0x4dd7a6)),_0xc38313='attribute'==_0x23dd3c&&this['_suggestionsConversion']['isInlineAttribute'](yv(_0x4dd7a6));if(_0x452539['newRange']['isCollapsed']||'$graveyard'==_0x452539['newRange']['root']['rootName']||'formatBlock'==_0x23dd3c&&!uv(_0x452539['newRange'])||_0x5a3277&&!uv(_0x452539['newRange'])||_0xc38313&&dv(_0x452539['newRange'])||'deletion'==_0x23dd3c&&dv(_0x452539['newRange'])||_0x39300a&&fv(_0x39300a,_0x40b368))_0x127e6d['removeMarker'](_0x4c5b83),_0x20f81c=!0x0;else{if(!_0x2f7769||!_0x2f7769['isInContent'])continue;if(_0x452539['newRange']&&_0x452539['oldRange']&&_0x452539['newRange']['isEqual'](_0x452539['oldRange']))continue;_0x39192c['add'](_0x2f7769);}}}return _0x39192c['size']>0x0&&(_0x20f81c=!!this['_joinWithAdjacentSuggestions'](_0x39192c)||_0x20f81c),_0x20f81c;}),_0x28ef10['model']['document']['registerPostFixer'](_0xe449ec=>{let _0x137809=!0x1;for(const _0x524328 of _0x28ef10['model']['document']['differ']['getChanges']())if('insert'==_0x524328['type'])for(const _0x12cd90 of this['_suggestions']['values']()){if(_0x12cd90['isMultiRange']||!_0x12cd90['isInContent'])continue;const _0x3ca301='formatBlock'==_0x12cd90['type'],_0x2a317d=this['_getAttributeKey'](_0x12cd90),_0x1d1eb2=_0x2a317d&&this['_suggestionsConversion']['isBlockAttribute'](_0x2a317d);if(!_0x3ca301&&!_0x1d1eb2)continue;const _0x2a588c=_0x12cd90['getFirstRange']();if(_0x2a588c['start']['parent']!=_0x2a588c['end']['parent']&&!_0x2a588c['end']['isAtEnd']){const _0x2f1cde=_0x28ef10['model']['createPositionAt'](_0x2a588c['start']['nodeAfter'],'end'),_0x3be5a9=_0x28ef10['model']['createRange'](_0x2a588c['start'],_0x2f1cde);_0xe449ec['updateMarker'](_0x12cd90['getFirstMarker'](),{'range':_0x3be5a9}),_0x137809=!0x0;}}return _0x137809;}),_0x28ef10['model']['document']['registerPostFixer'](_0x3c5a18=>this['_processAttributeChanges'](_0x3c5a18)),_0x28ef10['model']['document']['registerPostFixer'](_0x2f8e06=>!_0x2f8e06['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x2f8e06)),_0x28ef10['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x28ef10['model']['document']['on']('change:data',(_0x3e0c1a,_0x22aa69)=>{if(!_0x22aa69['isLocal']||_0x22aa69['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x458a9c=_0x28ef10['model']['document']['differ']['getChanges']();if(0x0==_0x458a9c['length'])return;const _0x5b6cef=[],_0x2132b9=_0x458a9c['filter'](_0x10c785=>'attribute'==_0x10c785['type']),_0x200af3=_0x458a9c['filter'](_0x5b9347=>'insert'==_0x5b9347['type']&&'$text'!=_0x5b9347['name']);for(const _0x1cf3fd of _0x2132b9)this['_suggestionsConversion']['isRegisteredAttribute'](_0x1cf3fd['attributeKey'])&&_0x5b6cef['push']({'key':_0x1cf3fd['attributeKey'],'newValue':_0x1cf3fd['attributeNewValue'],'oldValue':_0x1cf3fd['attributeOldValue'],'range':mv(_0x1cf3fd['range'],_0x28ef10['model'])});for(const _0x1d0dd8 of _0x200af3){if('rename'!=_0x1d0dd8['action']&&'refresh'!=_0x1d0dd8['action'])continue;const _0x5dfb7f=gv(_0x1d0dd8['position']['nodeAfter'],_0x28ef10['model']),_0x52e501=_0x1d0dd8['before'];'rename'==_0x1d0dd8['action']&&_0x5b6cef['push']({'key':ov,'newValue':_0x1d0dd8['name'],'oldValue':_0x52e501['name'],'range':_0x5dfb7f});for(const [_0x19ee4d,_0x4b1376]of _0x52e501['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x19ee4d))continue;const _0x1d9556=_0x1d0dd8['attributes']['get'](_0x19ee4d);_0x4b1376!==_0x1d9556&&_0x5b6cef['push']({'key':_0x19ee4d,'newValue':_0x1d9556,'oldValue':_0x4b1376,'range':_0x5dfb7f});}for(const [_0x226039,_0x7fc357]of _0x1d0dd8['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0x226039)&&(_0x52e501['attributes']['has'](_0x226039)||_0x5b6cef['push']({'key':_0x226039,'newValue':_0x7fc357,'oldValue':null,'range':_0x5dfb7f}));}0x0!=_0x5b6cef['length']&&_0x28ef10['model']['enqueueChange'](_0x22aa69,_0x5a25e9=>{const _0x1f7541=_0x3eda13();for(const {range:_0x47ecce,key:_0x16f847,oldValue:_0x34571b,newValue:_0x2f03fd}of _0x5b6cef)this['markAttributeChange'](_0x47ecce,_0x16f847,_0x34571b,_0x2f03fd,{'groupId':_0x1f7541});this['_reduceExistingSuggestions'](_0x5a25e9,_0x5b6cef);});},{'priority':'lowest'}),_0x28ef10['model']['markers']['on']('update:suggestion',(_0x3b5cad,_0x11ec35,_0x1a6d2b)=>{if(null==_0x1a6d2b){const {id:_0x113fc7}=$c(_0x11ec35['name']),_0x166a6d=this['_suggestions']['get'](_0x113fc7);_0x166a6d&&_0x166a6d['addMarkerName'](_0x11ec35['name']);}}),_0x28ef10['model']['document']['on']('change:data',()=>{const _0x4d742a=Array['from'](_0x28ef10['model']['document']['differ']['getChangedMarkers']())['filter'](_0x3c3505=>'suggestion'===$c(_0x3c3505['name'])['group']);if(0x0===_0x4d742a['length'])return;_0x4d742a['sort']((_0x1d9ff8,_0xa45570)=>{const _0xe842a8=_0x1d9ff8['data']['oldRange'],_0x58074f=_0xa45570['data']['oldRange'];return null===_0xe842a8&&null===_0x58074f?0x0:null===_0xe842a8&&null!==_0x58074f?-0x1:null!==_0xe842a8&&null===_0x58074f?0x1:_0xe842a8['start']['isBefore'](_0x58074f['start'])?-0x1:0x1;});const _0x274ae4=new Set(),_0x1fe5e5=new Set();for(const {name:_0x315f47,data:_0x2bbc5e}of _0x4d742a){const {id:_0x1c9f7d}=$c(_0x315f47);if(null===_0x2bbc5e['oldRange']){const _0x13b893=this['_handleNewSuggestionMarker'](_0x315f47);_0x1fe5e5['add'](_0x13b893);}else{const _0x2b6949=this['_suggestions']['get'](_0x1c9f7d);null!==_0x2bbc5e['newRange']||_0x2b6949['isInContent']?(_0x274ae4['add'](_0x2b6949['head']),_0x1fe5e5['add'](_0x2b6949)):this['_removeSuggestion'](_0x2b6949);}}_0x1fe5e5['size']>0x0&&this['_refreshSuggestionsChain'](_0x1fe5e5);for(const _0x5cb6dc of _0x274ae4)this['fire']('suggestionChanged',_0x5cb6dc);}),_0x28ef10['model']['on']('applyOperation',(_0x175802,_0x24d30f)=>{const _0x346abf=_0x24d30f[0x0];if(!this['_suggestions']['size'])return;if(!_0x346abf['isDocumentOperation'])return;if(_0x346abf['batch']['isUndo']||!_0x346abf['batch']['isLocal'])return;let _0x853531,_0x474a79;switch(_0x346abf['type']){case'insert':_0x853531=_0x28ef10['model']['createPositionAt'](_0x346abf['position']),_0x474a79=_0x853531['getShiftedBy'](_0x346abf['howMany']);break;case'split':_0x853531=_0x28ef10['model']['createPositionAt'](_0x346abf['splitPosition']),_0x474a79=_0x28ef10['model']['createPositionAt'](_0x346abf['moveTargetPosition']);break;case'move':_0x853531=_0x28ef10['model']['createPositionAt'](_0x346abf['targetPosition']),_0x474a79=_0x853531['getShiftedBy'](_0x346abf['howMany']);break;default:return;}const _0x440111=_0x28ef10['model']['createRange'](_0x853531,_0x474a79);_0x28ef10['model']['change'](()=>{for(const {suggestion:_0x30f87b,meta:_0x32a1a2}of this['_findSuggestions'](_0x440111)){if(_0x30f87b['isMultiRange'])continue;if('formatInline'==_0x30f87b['type'])continue;const _0x215d80=this['_getAttributeKey'](_0x30f87b);if(_0x215d80&&this['_suggestionsConversion']['isBlockAttribute'](_0x215d80)&&'split'!=_0x346abf['type'])continue;const _0x5f28d5=_0x30f87b['data']&&_0x30f87b['data']['multipleBlocks'];('formatBlock'!=_0x30f87b['type']||'split'==_0x346abf['type']&&!_0x5f28d5)&&(_0x32a1a2['containsRangeInObject']||'insertion'==_0x30f87b['type']&&_0x32a1a2['isOwn']||_0x30f87b['getFirstRange']()['containsRange'](_0x440111)&&this['_breakSuggestionMarker'](_0x30f87b,_0x853531,_0x474a79));}});},{'priority':'lowest'}),_0x28ef10['model']['on']('deleteContent',(_0xb2f8a1,_0x386ec8)=>{const _0x1cd34f=_0x386ec8[0x0],_0x492e1d=_0x386ec8[0x1];if(_0x492e1d&&_0x492e1d['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x1cd34f['isCollapsed'])return;const _0xbc91dd=_0x28ef10['model']['schema'],{start:_0xaa89f9,end:_0x14ff77}=_0x1cd34f['getFirstRange'](),_0x3c19be=_0xaa89f9['nodeAfter']&&_0xbc91dd['isLimit'](_0xaa89f9['nodeAfter'])?null:_0xbc91dd['getNearestSelectionRange'](_0xaa89f9,'forward'),_0x2520ac=_0x14ff77['nodeBefore']&&_0xbc91dd['isLimit'](_0x14ff77['nodeBefore'])?null:_0xbc91dd['getNearestSelectionRange'](_0x14ff77,'backward'),_0x3cbf92=_0x28ef10['model']['createRange'](_0x3c19be?_0x3c19be['start']:_0xaa89f9,_0x2520ac?_0x2520ac['end']:_0x14ff77);_0x28ef10['model']['change'](_0x56d6b6=>{this['markDeletion'](_0x3cbf92);const _0x3cd39f=_0x28ef10['model']['schema']['getNearestSelectionRange'](_0x3cbf92['start']);_0x1cd34f['is']('documentSelection')?_0x56d6b6['setSelection'](_0x3cd39f):_0x1cd34f['setTo'](_0x3cd39f);}),_0xb2f8a1['stop']();},{'priority':_0x537830['normal']+0xa}),_0x28ef10['model']['on']('insertContent',(_0x1741c1,_0x1bdf10)=>{const _0x25005e=_0x1bdf10[_0x1bdf10['length']-0x1];_0x25005e&&_0x25005e['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x28ef10['model']['change'](()=>{let _0x426b3d=_0x28ef10['model']['insertContent'](_0x1bdf10[0x0],_0x1bdf10[0x1],_0x1bdf10[0x2],{'forceDefaultExecution':!0x0});if(!_0x426b3d)return;_0x1741c1['return']=_0x426b3d['clone']();const _0x4dc5a4=_0x426b3d['end']['nodeBefore'],_0x2d3b27=_0x28ef10['model']['schema'];_0x4dc5a4&&_0x2d3b27['isBlock'](_0x4dc5a4)&&!_0x2d3b27['isObject'](_0x4dc5a4)&&(_0x426b3d=_0x28ef10['model']['createRange'](_0x426b3d['start'],_0x28ef10['model']['createPositionAt'](_0x4dc5a4,'end'))),this['markInsertion'](_0x426b3d);}),_0x1741c1['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x32b6a3=new AcceptSuggestionCommand(_0x28ef10,this['_suggestions']);_0x28ef10['commands']['add']('acceptSuggestion',_0x32b6a3),this['enableCommand']('acceptSuggestion');const _0x2a06cf=new DiscardSuggestionCommand(_0x28ef10,this['_suggestions']);_0x28ef10['commands']['add']('discardSuggestion',_0x2a06cf),this['enableCommand']('discardSuggestion'),_0x28ef10['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x28ef10,_0x32b6a3,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x28ef10['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x28ef10,_0x2a06cf,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x28ef10['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x28ef10,_0x32b6a3,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x28ef10['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x28ef10,_0x2a06cf,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x118453=_0x28ef10['plugins']['get'](CommentsRepository);this['listenTo'](_0x118453,'addComment',(_0x2ddb71,{threadId:_0x5156e7})=>{const _0x508484=this['_suggestions']['get'](_0x5156e7);_0x508484&&_0x508484['commentThread']&&0x1===_0x508484['commentThread']['length']&&this['_updateSuggestionData'](_0x5156e7,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x118453,'removeComment',(_0xf1204a,{threadId:_0x31dc65})=>{const _0x16d897=this['_suggestions']['get'](_0x31dc65);_0x16d897&&_0x16d897['commentThread']&&!_0x16d897['commentThread']['length']&&this['_updateSuggestionData'](_0x31dc65,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x209cec){const _0x124ea9=_0x4ef343([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x4aabe8=0x3d8d0df,_0x18d42d=0x3df5b0f^_0x4aabe8,_0x23c80f=window[_0x4ef343([0x44,0x61,0x74,0x65])][_0x4ef343([0x6e,0x6f,0x77])](),_0x12845c=_0x209cec[_0x4ef343([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x292d14=new window[(_0x4ef343([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x269dbc=>{_0x12845c[_0x4ef343([0x6f,0x6e,0x63,0x65])](_0x4ef343([0x72,0x65,0x61,0x64,0x79]),_0x269dbc);}),_0x2a3763={[_0x4ef343([0x6b,0x74,0x79])]:_0x4ef343([0x45,0x43]),[_0x4ef343([0x75,0x73,0x65])]:_0x4ef343([0x73,0x69,0x67]),[_0x4ef343([0x63,0x72,0x76])]:_0x4ef343([0x50,0x2d,0x32,0x35,0x36]),[_0x4ef343([0x78])]:_0x4ef343([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4ef343([0x79])]:_0x4ef343([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4ef343([0x61,0x6c,0x67])]:_0x4ef343([0x45,0x53,0x32,0x35,0x36])},_0x4fb91a=_0x12845c[_0x4ef343([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ef343([0x67,0x65,0x74])](_0x4ef343([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4095fd(){let _0x182a28,_0x37bb44=null,_0x597408=null;try{if(_0x4fb91a==_0x4ef343([0x47,0x50,0x4c]))return _0x4ef343([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x182a28=_0x14336d(),!_0x182a28)return _0x4ef343([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x182a28[_0x4ef343([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x597408=_0x4e703c(_0x182a28[_0x4ef343([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x182a28[_0x4ef343([0x6a,0x74,0x69])])),await _0x5c1add()?_0x107014()?_0x506744()?_0x4ef343([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5697ea()?(_0x182a28[_0x4ef343([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ef343([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37bb44=_0xadea8c(_0x4ef343([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xbf11db()):_0x4ef343([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef343([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ef343([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ef343([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x506744(){const _0x5a19ac=[_0x4ef343([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ef343([0x74,0x72,0x69,0x61,0x6c])][_0x4ef343([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x182a28[_0x4ef343([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x23c80f/0x3e8:0xe10*_0x18d42d;return _0x182a28[_0x4ef343([0x65,0x78,0x70])]<_0x5a19ac;}function _0x107014(){const _0x4ed2d5=_0x182a28[_0x4ef343([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4ed2d5)return!0x1;if(_0x4ed2d5[_0x4ef343([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef343([0x2a])))return!0x0;if(_0x4ed2d5[_0x4ef343([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef343([0x54,0x43])))return!0x0;if(_0x4ed2d5[_0x4ef343([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef343([0x52,0x54,0x43]))){if(_0x240301())return!0x0;if(_0x4a28e3()||_0x9770b5())return!0x0;}return!0x1;}function _0x5697ea(){const _0x9eb82c=_0x182a28[_0x4ef343([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x9eb82c||0x0==_0x9eb82c[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6a7592}=new URL(window[_0x4ef343([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x9eb82c[_0x4ef343([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6a7592))return!0x0;const _0x510c33=_0x6a7592[_0x4ef343([0x73,0x70,0x6c,0x69,0x74])](_0x4ef343([0x2e]));return _0x9eb82c[_0x4ef343([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3791f3=>_0x3791f3[_0x4ef343([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef343([0x2a])))[_0x4ef343([0x6d,0x61,0x70])](_0x20a042=>_0x20a042[_0x4ef343([0x73,0x70,0x6c,0x69,0x74])](_0x4ef343([0x2e])))[_0x4ef343([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2109b1=>_0x2109b1[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x510c33[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ef343([0x6d,0x61,0x70])](_0x5ea74d=>Array(_0x510c33[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ea74d[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ef343([0x66,0x69,0x6c,0x6c])](_0x5ea74d[0x0]===_0x4ef343([0x2a])?_0x4ef343([0x2a]):'')[_0x4ef343([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ea74d))[_0x4ef343([0x73,0x6f,0x6d,0x65])](_0x10ed58=>_0x510c33[_0x4ef343([0x65,0x76,0x65,0x72,0x79])]((_0x29a9be,_0x4cb191)=>_0x10ed58[_0x4cb191]===_0x29a9be||_0x10ed58[_0x4cb191]===_0x4ef343([0x2a])));}function _0xbf11db(){return _0x37bb44&&_0x597408?new window[(_0x4ef343([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x243c4f,_0x53a1c7)=>{_0x37bb44[_0x4ef343([0x74,0x68,0x65,0x6e])](_0x243c4f,_0x53a1c7),_0x597408[_0x4ef343([0x74,0x68,0x65,0x6e])](_0x404c4b=>{_0x404c4b!=_0x4ef343([0x56,0x61,0x6c,0x69,0x64])&&_0x243c4f(_0x404c4b);},_0x53a1c7);}):_0x37bb44||_0x597408||_0x4ef343([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e703c(_0x56c429,_0x54475b){return new window[(_0x4ef343([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3418fc=>{if(_0x2fdbb1())return _0x3418fc(_0x4ef343([0x56,0x61,0x6c,0x69,0x64]));_0x398bb3(),_0x12845c[_0x4ef343([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ef343([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2211f6=!0x1;const _0xe1367=_0x3eda13();function _0x80a26e(_0x756eaf){return!!_0x756eaf&&(typeof _0x756eaf===_0x4ef343([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x756eaf===_0x4ef343([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x756eaf[_0x4ef343([0x74,0x68,0x65,0x6e])]===_0x4ef343([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x756eaf[_0x4ef343([0x63,0x61,0x74,0x63,0x68])]===_0x4ef343([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1af401(_0x132f8b){_0x32e828(_0x132f8b)[_0x4ef343([0x74,0x68,0x65,0x6e])](_0x4feeb4=>{if(!_0x4feeb4||_0x4feeb4[_0x4ef343([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ef343([0x6f,0x6b]))return _0x4ef343([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a3b42(_0x2a669a(_0xe1367+_0x54475b))!=_0x4feeb4[_0x4ef343([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ef343([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef343([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef343([0x74,0x68,0x65,0x6e])](_0x12e85f=>(_0x58f89d(),_0x12e85f),()=>{const _0x88077c=_0x4ab32c();return null==_0x88077c?(_0x58f89d(),_0x4ef343([0x56,0x61,0x6c,0x69,0x64])):_0x4ef343(_0x23c80f-_0x88077c>(0x27d454df^_0x4aabe8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef343([0x74,0x68,0x65,0x6e])](_0x3418fc)[_0x4ef343([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3418fc(_0x4ef343([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bd2e6=0x3ee3e5f^_0x4aabe8;function _0x58f89d(){const _0x5137aa=_0x4ef343([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a3b42(_0x2a669a(_0x56c429)),_0x362abe=_0x22578d(_0x2a3b42(window[_0x4ef343([0x4d,0x61,0x74,0x68])][_0x4ef343([0x63,0x65,0x69,0x6c])](_0x23c80f/_0x3bd2e6)));window[_0x4ef343([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef343([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5137aa,_0x362abe);}function _0x4ab32c(){const _0x403e57=_0x4ef343([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a3b42(_0x2a669a(_0x56c429)),_0x4458d1=window[_0x4ef343([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef343([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x403e57);return _0x4458d1?window[_0x4ef343([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22578d(_0x4458d1),0x10)*_0x3bd2e6:null;}function _0x32e828(_0xf07152){return new window[(_0x4ef343([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cfdbe,_0x53b9ec)=>{_0xf07152[_0x4ef343([0x74,0x68,0x65,0x6e])](_0x4cfdbe,_0x53b9ec),window[_0x4ef343([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53b9ec,0x3d9041f^_0x4aabe8);});}}_0x12845c[_0x4ef343([0x6f,0x6e])](_0x4ef343([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4924c1,_0x4e6575)=>{if(_0x4e6575[0x0]!=_0x56c429)return _0x3418fc(_0x4ef343([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e6575[0x1]={..._0x4e6575[0x1],[_0x4ef343([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe1367};},{[_0x4ef343([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef343([0x68,0x69,0x67,0x68])}),_0x12845c[_0x4ef343([0x6f,0x6e])](_0x4ef343([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c8e04=>{_0x80a26e(_0x1c8e04[_0x4ef343([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2211f6=!0x0,_0x1af401(_0x1c8e04[_0x4ef343([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ef343([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef343([0x6c,0x6f,0x77])}),_0x292d14[_0x4ef343([0x74,0x68,0x65,0x6e])](()=>{_0x2211f6||_0x3418fc(_0x4ef343([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2fdbb1(){return _0x12845c[_0x4ef343([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef343([0x76,0x69,0x65,0x77])][_0x4ef343([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ef343([0x61,0x75,0x74,0x6f]);}function _0x398bb3(){_0x12845c[_0x4ef343([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef343([0x76,0x69,0x65,0x77])][_0x4ef343([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ef343([0x61,0x75,0x74,0x6f]);}}function _0xadea8c(_0x54e2f9){const _0x4e3aeb=[new window[(_0x4ef343([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bcefd=>setTimeout(_0x4bcefd,0x3d1ee13^_0x4aabe8)),_0x292d14[_0x4ef343([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ef343([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c3b21=>{let _0xff9a68=0x0;_0x12845c[_0x4ef343([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef343([0x6f,0x6e])](_0x4ef343([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b5e1b,_0x37f888)=>{_0x37f888[0x0][_0x4ef343([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xff9a68++,_0xff9a68==(0x3d8d537^_0x4aabe8)&&(_0x4c3b21(),_0x3b5e1b[_0x4ef343([0x6f,0x66,0x66])]());});}))];return window[_0x4ef343([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ef343([0x72,0x61,0x63,0x65])](_0x4e3aeb)[_0x4ef343([0x74,0x68,0x65,0x6e])](()=>_0x54e2f9);}async function _0x635994(){await _0x292d14,_0x12845c[_0x4ef343([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef343([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26416b,_0x12845c[_0x4ef343([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef343([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26416b,_0x12845c[_0x4ef343([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ef343([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x240301(){return _0x4404e7(_0x4ef343([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5a87d1(_0x4ef343([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4ef343([0x73,0x74,0x61,0x74,0x65])]==_0x4ef343([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4a28e3(){return _0x4404e7(_0x4ef343([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x9770b5(){return _0x4404e7(_0x4ef343([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x96fb23(_0x1370b4){const _0x238730=_0x26fbde();_0x12845c[_0x238730]=_0x4ef343([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1370b4,_0x1370b4!=_0x4ef343([0x56,0x61,0x6c,0x69,0x64])&&_0x635994();}function _0x26fbde(){const _0x24dd76=window[_0x4ef343([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ef343([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ef343([0x6e,0x6f,0x77])]())[_0x4ef343([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ef343([0x2e]),'');let _0xabb990=_0x4ef343([0x52]);for(let _0x43e615=0x0;_0x43e615<_0x24dd76[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43e615+=0x2){let _0x5625d5=window[_0x4ef343([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24dd76[_0x4ef343([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43e615,_0x43e615+0x2));_0x5625d5>=_0x124ea9[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5625d5-=_0x124ea9[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xabb990+=_0x124ea9[_0x5625d5];}return _0xabb990;}function _0x14336d(){const _0x1c0f94=_0x4fb91a[_0x4ef343([0x73,0x70,0x6c,0x69,0x74])](_0x4ef343([0x2e]));if(0x3!=_0x1c0f94[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e7f62(_0x1c0f94[0x1]);function _0x3e7f62(_0x22c373){const _0x444e05=_0x497891(_0x22c373);return _0x444e05&&_0x5be31f()?_0x444e05:null;function _0x5be31f(){const _0x54d9a9=_0x444e05[_0x4ef343([0x6a,0x74,0x69])],_0x199ca2=window[_0x4ef343([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54d9a9[_0x4ef343([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54d9a9[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x75d65d={..._0x444e05,[_0x4ef343([0x6a,0x74,0x69])]:_0x54d9a9[_0x4ef343([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54d9a9[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x75d65d[_0x4ef343([0x76,0x63])],_0x2a669a(_0x75d65d)==_0x199ca2;}}}async function _0x5c1add(){let _0x3f7d2=!0x0;try{const _0x1c00bc=_0x4fb91a[_0x4ef343([0x73,0x70,0x6c,0x69,0x74])](_0x4ef343([0x2e])),[_0x399a27,_0x327753,_0x2c08cb]=_0x1c00bc;return _0x5f1c19(_0x399a27),await _0x2650eb(_0x399a27,_0x327753,_0x2c08cb),_0x3f7d2;}catch{return!0x1;}function _0x5f1c19(_0x309f97){const _0x1e469a=_0x497891(_0x309f97);_0x1e469a&&_0x1e469a[_0x4ef343([0x61,0x6c,0x67])]==_0x4ef343([0x45,0x53,0x32,0x35,0x36])||(_0x3f7d2=!0x1);}async function _0x2650eb(_0x30c763,_0x26a2c7,_0x4dca3a){const _0x2bb15f=window[_0x4ef343([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ef343([0x66,0x72,0x6f,0x6d])](_0x2335ad(_0x4dca3a),_0x229137=>_0x229137[_0x4ef343([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x495455=new window[(_0x4ef343([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ef343([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x30c763+_0x4ef343([0x2e])+_0x26a2c7),_0x237346=window[_0x4ef343([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ef343([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x237346)return;const _0x4ad41a=await _0x237346[_0x4ef343([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ef343([0x6a,0x77,0x6b]),_0x2a3763,{[_0x4ef343([0x6e,0x61,0x6d,0x65])]:_0x4ef343([0x45,0x43,0x44,0x53,0x41]),[_0x4ef343([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ef343([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ef343([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x237346[_0x4ef343([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ef343([0x6e,0x61,0x6d,0x65])]:_0x4ef343([0x45,0x43,0x44,0x53,0x41]),[_0x4ef343([0x68,0x61,0x73,0x68])]:{[_0x4ef343([0x6e,0x61,0x6d,0x65])]:_0x4ef343([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ad41a,_0x2bb15f,_0x495455)||(_0x3f7d2=!0x1);}}function _0x497891(_0x2ef512){return _0x2ef512[_0x4ef343([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ef343([0x65,0x79]))?JSON[_0x4ef343([0x70,0x61,0x72,0x73,0x65])](_0x2335ad(_0x2ef512)):null;}function _0x2335ad(_0x4cea43){return window[_0x4ef343([0x61,0x74,0x6f,0x62])](_0x4cea43[_0x4ef343([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ef343([0x2b]))[_0x4ef343([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ef343([0x2f])));}function _0x2a669a(_0x4087bf){let _0x41883e=0x1505;function _0x2c89a3(_0x560606){for(let _0x498d40=0x0;_0x498d40<_0x560606[_0x4ef343([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x498d40++){const _0x3fbe47=_0x560606[_0x4ef343([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x498d40);_0x41883e=(_0x41883e<<0x5)+_0x41883e+_0x3fbe47,_0x41883e&=_0x41883e;}}function _0x4be73c(_0x2b586f){Array[_0x4ef343([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b586f)?_0x2b586f[_0x4ef343([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4be73c):_0x2b586f&&typeof _0x2b586f==_0x4ef343([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ef343([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b586f)[_0x4ef343([0x73,0x6f,0x72,0x74])]()[_0x4ef343([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f43a9,_0xbfbeca])=>{_0x2c89a3(_0x4f43a9),_0x4be73c(_0xbfbeca);}):_0x2c89a3(window[_0x4ef343([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b586f));}return _0x4be73c(_0x4087bf),_0x41883e>>>0x0;}function _0x2a3b42(_0x27878b){return _0x27878b[_0x4ef343([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ef343([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ef343([0x30]));}function _0x22578d(_0x4e0fc4){return _0x4e0fc4[_0x4ef343([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ef343([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ef343([0x6a,0x6f,0x69,0x6e])]('');}function _0x4404e7(_0x49f2bd){return _0x12845c[_0x4ef343([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4ef343([0x68,0x61,0x73])](_0x49f2bd);}function _0x5a87d1(_0x46ab33){return _0x12845c[_0x4ef343([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4ef343([0x67,0x65,0x74])](_0x46ab33);}function _0x26416b(){}function _0x4ef343(_0xe40de7){return _0xe40de7['map'](_0x11f105=>String['fromCharCode'](_0x11f105))['join']('');}_0x96fb23(await _0x4095fd());}(this);}set['adapter'](_0x432d14){if(this['_adapter'])throw new _0x522f1f('track-changes-adapter-already-set',this);this['_adapter']=_0x432d14;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x27a4f1=!0x1,toJSON:_0x370cb4=!0x1}={}){const _0x40b042=[];for(const _0x310221 of this['_suggestions']['values']())_0x27a4f1&&!_0x310221['isInContent']||_0x40b042['push'](_0x310221);return _0x370cb4?_0x40b042['map'](_0xe1f857=>_0xe1f857['toJSON']()):_0x40b042;}['getSuggestion'](_0xa333bd){const _0x53b842=this['_suggestions']['get'](_0xa333bd);if(!_0x53b842)throw new _0x522f1f('track-changes-suggestion-not-found',this);return _0x53b842;}['hasSuggestion'](_0x144d85){return this['_suggestions']['has'](_0x144d85);}['addSuggestionData'](_0x36e63f){const {authorId:_0x55118c,id:_0x30366f,originalSuggestionId:_0xa68402,attributes:_0x33ef1c}=_0x36e63f,[_0x4d6326,_0x1dc194]=_0x36e63f['type']['split'](':'),_0x12e4ab=this['_suggestions']['get'](_0x30366f)||this['_createSuggestion'](_0x4d6326,_0x1dc194,_0x30366f,_0x55118c,_0x33ef1c,_0xa68402);if(this['_addThreadToSuggestion'](_0x12e4ab),this['_checkSuggestionCorrectness'](_0x12e4ab,_0x4d6326,_0x1dc194||null,_0x55118c),_0x12e4ab['createdAt']=_0x36e63f['createdAt'],_0x12e4ab['_isDataLoaded']=!0x0,_0x33ef1c&&_0x33ef1c['@external']){const _0xdd8350=_0x33ef1c['@external'],_0x47c274=this['_getExternalAuthor'](_0xdd8350['authorName']);_0x12e4ab['authoredAt']=_0xdd8350['createdAt'],_0x12e4ab['author']=_0x47c274,_0x12e4ab['isExternal']=!0x0;}else _0x12e4ab['authoredAt']=_0x36e63f['createdAt'];switch(_0x36e63f['data']&&(_0x12e4ab['data']=_0x36e63f['data']),_0x36e63f['attributes']&&(_0x12e4ab['attributes']=_0x36e63f['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x12e4ab['_saved']=!0x0),this['_suggestionState']['get'](_0x12e4ab)){case'notReady':this['_suggestionState']['set'](_0x12e4ab,'dataReady');break;case'markerReady':_0x12e4ab['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x12e4ab])),this['_refreshSuggestionsChain'](new Set([_0x12e4ab])),this['_suggestionState']['set'](_0x12e4ab,'ready'),this['fire']('suggestionLoaded',_0x12e4ab)):this['_suggestionState']['set'](_0x12e4ab,'removed');}return _0x12e4ab;}['acceptSuggestion'](_0x5b85b3){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x2839e1 of _0x5b85b3['getAllAdjacentSuggestions']())_0x2839e1['accept']();});});}['discardSuggestion'](_0xba12be){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x1a5276 of _0xba12be['getAllAdjacentSuggestions']())_0x1a5276['discard']();});});}['enableCommand'](_0x4f5363,_0xac5b5c){const _0x7ccd80=this['editor']['commands']['get'](_0x4f5363);if(!_0x7ccd80)throw new _0x522f1f('track-changes-command-not-found',this,{'commandName':_0x4f5363});if(this['_enabledCommands']['has'](_0x7ccd80))throw new _0x522f1f('track-changes-enable-command-twice',this,{'commandName':_0x4f5363});this['_enabledCommands']['add'](_0x7ccd80),_0xac5b5c&&_0x7ccd80['on']('execute',(_0x3cac5a,_0x52992b)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x52992b['length']>0x0&&_0x52992b[_0x52992b['length']-0x1]&&_0x52992b[_0x52992b['length']-0x1]['forceDefaultExecution']?_0x52992b['pop']():(_0x3cac5a['return']=_0xac5b5c((..._0x25802f)=>_0x7ccd80['execute'](..._0x25802f,{'forceDefaultExecution':!0x0}),..._0x52992b),_0x3cac5a['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x19d231){let _0x32be6a,_0x110efa;const _0x48d72b=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x32be6a=_0x19d231();}catch(_0x54d55c){_0x110efa=_0x54d55c;}return _0x48d72b||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x110efa&&_0x522f1f['rethrowUnexpectedError'](_0x110efa,this),_0x32be6a;}['markInsertion'](_0x43dce5,_0x404f06=null,_0x282661={}){if(_0x43dce5['isCollapsed'])return null;const _0x4e010f=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x282661['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x438c3f,meta:_0x455a86}of this['_findSuggestions'](_0x43dce5,'insertion'))if(_0x455a86['isOwn']){if(!_0x455a86['isNextTo']){if(_0x455a86['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!wv(_0x438c3f,_0x282661))continue;return _0x438c3f;}if(wv(_0x438c3f,_0x282661))return _0x438c3f;this['_breakSuggestionMarker'](_0x438c3f,_0x43dce5['start'],_0x43dce5['end']);break;}if(_0x404f06==_0x438c3f['subType']&&wv(_0x438c3f,_0x282661)){const _0x263a92=_0x438c3f['getFirstRange']();return _0x263a92['start']['isEqual'](_0x43dce5['end'])?this['_setSuggestionRange'](_0x438c3f,this['_model']['createRange'](_0x43dce5['start'],_0x263a92['end'])):this['_setSuggestionRange'](_0x438c3f,this['_model']['createRange'](_0x263a92['start'],_0x43dce5['end'])),_0x438c3f;}}const _0x176be9=_0x3eda13(),_0x1c036e=_0x4e010f['id'],_0x492912=_0x404f06?'insertion:'+_0x404f06:'insertion',_0x1ea101=this['_setSuggestionData']({'id':_0x176be9,'type':_0x492912,'createdAt':new Date(),'authorId':_0x1c036e,'attributes':_0x282661});return this['_addSuggestionMarker'](_0x492912,_0x176be9,_0x1c036e,_0x43dce5),_0x1ea101;}['markMultiRangeInsertion'](_0x5bda49,_0x2f5139='multi',_0x154859={}){const _0xff2dc0=this['editor']['plugins']['get']('Users')['me'],_0x4d7372=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x2f5139,'join');this['_trackingSessionId']&&(_0x154859['trackingSessionId']=this['_trackingSessionId']);for(const _0x262bc9 of this['getSuggestions']())if(_0x262bc9['author']['id']==_0xff2dc0['id']&&'insertion'==_0x262bc9['type']&&_0x262bc9['subType']==_0x2f5139&&wv(_0x262bc9,_0x154859)&&(_0x4d7372(_0x262bc9['getRanges'](),_0x5bda49)||_0x4d7372(_0x5bda49,_0x262bc9['getRanges']()))){for(const _0x21a172 of _0x5bda49)_0x262bc9['addRange'](_0x21a172);return _0x262bc9;}for(const {suggestion:_0x2fa730,meta:_0x28fbe2}of this['_findSuggestions'](_0x5bda49,'insertion')){if(!_0x28fbe2['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x28fbe2['containsRangeInObject'])continue;if(!wv(_0x2fa730,_0x154859))continue;let _0x10b69e=!0x0;for(const _0x5e50f6 of _0x2fa730['getRanges']())for(const _0xb2006 of _0x5bda49)if(!_0x5e50f6['containsRange'](_0xb2006)){_0x10b69e=!0x1;break;}if(_0x10b69e)return _0x2fa730;}const _0x2c6042=_0x3eda13(),_0x215589=_0xff2dc0['id'],_0x1c9b39='insertion:'+_0x2f5139,_0x2ff3eb=this['_setSuggestionData']({'id':_0x2c6042,'type':_0x1c9b39,'createdAt':new Date(),'authorId':_0x215589,'attributes':_0x154859});for(const _0x558c9e of _0x5bda49)this['_addSuggestionMarker'](_0x1c9b39,_0x2c6042,_0x215589,_0x558c9e,Suggestion['getMultiRangeId']());return _0x2ff3eb;}['markInlineFormat'](_0x5e8aea,_0x5c99b4,_0xad4299=null,_0x140a95={}){if(_0xad4299=_0xad4299||hv(_0x5c99b4),_0x5e8aea['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x140a95['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x8e3011=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0xad4299,'accept');return this['forceDefaultExecution'](()=>_0x8e3011([_0x5e8aea],_0x5c99b4,_0x140a95)),null;}const _0x3cc250=this['editor']['plugins']['get']('Users')['me'],_0x4f646d=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x3d37fc,meta:_0x8d4b5f}of this['_findSuggestions'](_0x5e8aea,'insertion'))_0x8d4b5f['isOwn']&&!_0x8d4b5f['isInsideObject']&&_0x4f646d['push'](..._0x3d37fc['getRanges']());}const _0x5392ee=function(_0x1bf5ec,_0x378362){const _0x2140e0=[];for(const _0x7245d3 of _0x378362){const _0x49a90a=_0x1bf5ec['getIntersection'](_0x7245d3);_0x49a90a&&_0x2140e0['push'](_0x49a90a);}return _0x2140e0;}(_0x5e8aea,_0x4f646d),_0x379b11=function(_0x20d774,_0x477d1e){const _0x42133f=[_0x20d774];for(const _0x162df5 of _0x477d1e){let _0x47a435=0x0;for(;_0x47a435<_0x42133f['length'];){const _0x172057=_0x42133f[_0x47a435]['getDifference'](_0x162df5);_0x42133f['splice'](_0x47a435,0x1,..._0x172057),_0x47a435+=_0x172057['length'];}}return _0x42133f;}(_0x5e8aea,_0x4f646d);_0x5392ee['length']&&this['_model']['change'](()=>{for(const _0x55d8e3 of _0x5392ee){const _0x5ce24e=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0xad4299,'accept');this['forceDefaultExecution'](()=>_0x5ce24e([_0x55d8e3],_0x5c99b4,_0x140a95));}});for(const _0x32e92a of _0x379b11){let _0x1f1025=null,_0xd29941=_0x32e92a['start'],_0x137fa5=_0x32e92a['end'];for(const {suggestion:_0x33bdb5,meta:_0x3fc8b8}of this['_findSuggestions'](_0x32e92a,'formatInline')){if(!_0x3fc8b8['isOwn'])continue;if(_0x33bdb5['subType']!=_0xad4299)continue;if(!wv(_0x33bdb5,_0x140a95))continue;const _0x38f9f4=_0x33bdb5['getFirstRange']();if(_0x38f9f4['containsRange'](_0x32e92a,!0x0))return null;_0xd29941=_0xd29941['isBefore'](_0x38f9f4['start'])?_0xd29941:_0x38f9f4['start'],_0x137fa5=_0x137fa5['isAfter'](_0x38f9f4['end'])?_0x137fa5:_0x38f9f4['end'],_0x1f1025?_0x38f9f4['start']['isBefore'](_0x1f1025['getFirstRange']()['start'])?(_0x1f1025['removeMarkers'](),_0x1f1025=_0x33bdb5):_0x33bdb5['removeMarkers']():_0x1f1025=_0x33bdb5;}const _0x189be8=this['_model']['createRange'](_0xd29941,_0x137fa5);if(_0x1f1025)this['_setSuggestionRange'](_0x1f1025,_0x189be8);else{const _0x41b3a2=_0x3eda13(),_0x4393ca=_0x3cc250['id'];this['_setSuggestionData']({'id':_0x41b3a2,'type':'formatInline:'+_0xad4299,'data':_0x5c99b4,'createdAt':new Date(),'authorId':_0x4393ca,'attributes':_0x140a95}),this['_addSuggestionMarker']('formatInline:'+_0xad4299,_0x41b3a2,_0x4393ca,_0x189be8);}}return null;}['markBlockFormat'](_0x1aee2a,_0x354153,_0x4e10ca=[],_0x353433=null,_0x4faf7d={}){_0x354153['formatGroupId']||(_0x354153['formatGroupId']=_0x354153['commandName']),_0x354153['multipleBlocks']=_0x1aee2a['is']('range'),_0x353433=_0x353433||hv(_0x354153);const _0x9ff9c8=_0x4e10ca['map'](_0x4ef729=>gv(_0x4ef729,this['_model'])),_0x45332b=_0x1aee2a['is']('range')?_0x1aee2a:gv(_0x1aee2a,this['_model']);if(this['_trackingSessionId']&&(_0x4faf7d['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5b27d1=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x353433,'accept');return this['forceDefaultExecution'](()=>_0x5b27d1([_0x45332b],_0x354153,_0x4faf7d)),null;}_0x9ff9c8['push'](_0x45332b);let _0x4b3a76=!0x0;for(const _0x5c0339 of _0x9ff9c8)if(!this['_rangeIsInLocalUserInsertion'](_0x5c0339)){_0x4b3a76=!0x1;break;}if(_0x4b3a76&&'always'!==this['_trackFormatChanges']){const _0x42a814=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x353433,'accept');return this['forceDefaultExecution'](()=>_0x42a814([_0x45332b],_0x354153,_0x4faf7d)),null;}let _0x227cb7=null,_0x321e29=_0x45332b['start'],_0x40ff4d=_0x45332b['end'];for(const {suggestion:_0x5d6dc8,meta:_0x2524b6}of this['_findSuggestions'](_0x45332b,'formatBlock')){if(!_0x2524b6['isOwn'])continue;if(_0x2524b6['isNextTo']||_0x2524b6['containsRangeInObject']||_0x2524b6['isInsideObject'])continue;if(_0x5d6dc8['data']['formatGroupId']!=_0x354153['formatGroupId'])continue;if(!wv(_0x5d6dc8,_0x4faf7d))continue;const _0x29a910=_0x5d6dc8['getFirstRange']();if(_0x5d6dc8['subType']==_0x353433){if(_0x29a910['containsRange'](_0x45332b,!0x0))return null;_0x321e29=_0x321e29['isBefore'](_0x29a910['start'])?_0x321e29:_0x29a910['start'],_0x40ff4d=_0x40ff4d['isAfter'](_0x29a910['end'])?_0x40ff4d:_0x29a910['end'],_0x227cb7?_0x29a910['start']['isBefore'](_0x227cb7['getFirstRange']()['start'])?(_0x227cb7['removeMarkers'](),_0x227cb7=_0x5d6dc8):_0x5d6dc8['removeMarkers']():_0x227cb7=_0x5d6dc8;}else{const _0x4f6b90=_0x45332b['getIntersection'](_0x29a910);this['_cutOutSuggestionMarker'](_0x5d6dc8,_0x4f6b90);}}const _0x17d952=this['editor']['plugins']['get']('Users')['me'],_0x8cc10=_0x3eda13(),_0x2cd878=_0x17d952['id'];if(_0x227cb7)return this['_setSuggestionRange'](_0x227cb7,this['_model']['createRange'](_0x321e29,_0x40ff4d)),_0x227cb7;{const _0x20356a=this['_setSuggestionData']({'id':_0x8cc10,'type':'formatBlock:'+_0x353433,'data':_0x354153,'createdAt':new Date(),'authorId':_0x2cd878,'attributes':_0x4faf7d});return this['_addSuggestionMarker']('formatBlock:'+_0x353433,_0x8cc10,_0x2cd878,this['_model']['createRange'](_0x321e29,_0x40ff4d)),_0x20356a;}}['markMultiRangeBlockFormat'](_0x1c8aa7,_0xa09db3,_0x3a6a6c=[],_0x6e57d2=null,_0x273e60={}){_0xa09db3['formatGroupId']||(_0xa09db3['formatGroupId']=_0xa09db3['commandName']);const _0x2b5462=_0x1c8aa7[0x0];_0xa09db3['multipleBlocks']=_0x2b5462['is']('range'),_0x6e57d2=_0x6e57d2||hv(_0xa09db3);const _0x4b807b=_0x3a6a6c['map'](_0x2c2e32=>gv(_0x2c2e32,this['_model'])),_0x19fa36=_0x2b5462['is']('range')?_0x1c8aa7:_0x1c8aa7['map'](_0x39b7a2=>gv(_0x39b7a2,this['_model']));if(this['_trackingSessionId']&&(_0x273e60['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x50b80f=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x6e57d2,'accept');return this['forceDefaultExecution'](()=>_0x50b80f(_0x19fa36,_0xa09db3,_0x273e60)),null;}_0x4b807b['push'](..._0x19fa36);let _0x4654c2=!0x0;for(const _0x10baed of _0x4b807b)if(!this['_rangeIsInLocalUserInsertion'](_0x10baed)){_0x4654c2=!0x1;break;}if(_0x4654c2&&'always'!==this['_trackFormatChanges']){const _0x5f5072=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x6e57d2,'accept');return this['forceDefaultExecution'](()=>_0x5f5072(_0x19fa36,_0xa09db3,_0x273e60)),null;}const _0x38a851=this['editor']['plugins']['get']('Users')['me'];for(const _0xcf01f8 of this['getSuggestions']()){const _0x53e505=_0xcf01f8['data'];if(_0xcf01f8['author']['id']!=_0x38a851['id'])continue;if('formatBlock'!=_0xcf01f8['type']||_0x53e505['formatGroupId']!=_0xa09db3['formatGroupId'])continue;if(!wv(_0xcf01f8,_0x273e60))continue;const _0x624ee7=_0xcf01f8['subType']==_0x6e57d2;for(let _0xac592b=0x0;_0xac592b<_0x19fa36['length'];_0xac592b++){const _0x51c028=_0x19fa36[_0xac592b];for(const _0x45df0c of _0xcf01f8['getMarkers']()){const _0x5e6644=_0x45df0c['getRange']();if(_0x51c028['isEqual'](_0x5e6644)){_0x624ee7?(_0x19fa36['splice'](_0xac592b,0x1),_0xac592b--):_0xcf01f8['removeMarker'](_0x45df0c['name']);break;}}}}if(0x0==_0x19fa36['length'])return null;const _0x210739=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x6e57d2,'join');for(const _0x55e316 of this['getSuggestions']()){const _0x4b160d=_0x55e316['data'];if(_0x55e316['author']['id']==_0x38a851['id']&&('formatBlock'==_0x55e316['type']&&_0x4b160d['formatGroupId']==_0xa09db3['formatGroupId']&&_0x55e316['subType']==_0x6e57d2&&wv(_0x55e316,_0x273e60)&&(_0x210739(_0x55e316['getRanges'](),_0x19fa36)||_0x210739(_0x19fa36,_0x55e316['getRanges']())))){for(const _0x354fe3 of _0x19fa36)_0x55e316['addRange'](_0x354fe3);return _0x55e316;}}const _0x215ce5=_0x3eda13(),_0x44b1c2=_0x38a851['id'],_0x18e28d='formatBlock:'+_0x6e57d2,_0x4a0da5=this['_setSuggestionData']({'id':_0x215ce5,'type':_0x18e28d,'data':_0xa09db3,'createdAt':new Date(),'authorId':_0x44b1c2,'attributes':_0x273e60});for(const _0x281d1d of _0x19fa36)this['_addSuggestionMarker'](_0x18e28d,_0x215ce5,_0x44b1c2,_0x281d1d,Suggestion['getMultiRangeId']());return _0x4a0da5;}['markDeletion'](_0xf9355f,_0x475521=null,_0x33f8bd={}){if(_0xf9355f['isCollapsed'])return null;const _0x252d42=this['editor']['plugins']['get']('Users')['me'],_0x3af424=new _0x49053d(_0xf9355f['start'],_0xf9355f['end']);this['_trackingSessionId']&&(_0x33f8bd['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x4e3bab,meta:_0x4f8ce2}of this['_findSuggestions'](_0x3af424,'insertion'))if(_0x4f8ce2['isOwn']&&!_0x4f8ce2['isNextTo']){if(_0x4e3bab['isMultiRange']){const _0x16b061=_0x4e3bab['getRanges']()['filter'](_0x4fffb6=>'$graveyard'!=_0x4fffb6['root']['rootName']);_0x16b061['every'](_0x295b10=>_0x3af424['containsRange'](_0x295b10,!0x0))&&_0x4e3bab['discard']();if(_0x16b061['some'](_0x368a65=>_0x368a65['containsRange'](_0x3af424,!0x0))){const _0x37da0d=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x475521,'accept');return this['forceDefaultExecution'](()=>_0x37da0d([_0x3af424],null,_0x33f8bd)),null;}}else{const _0x301699=_0x3af424['getIntersection'](_0x4e3bab['getFirstRange']());null!==_0x301699&&_0x4e3bab['_onDiscard']([_0x301699],null,_0x33f8bd);}}if(_0x3af424['detach'](),_0x3af424['isCollapsed']||'$graveyard'==_0x3af424['root']['rootName'])return null;let _0x584dc7=null,_0x25fbbb=_0x3af424['start'],_0x49187f=_0x3af424['end'];const _0x2404ad=this['_findSuggestions'](_0x3af424,'deletion');for(const {suggestion:_0x2474e8,meta:_0x566f67}of _0x2404ad){const _0x2f0d47=this['_model']['createRange'](_0x25fbbb,_0x49187f);if(_0x566f67['isOwn']&&(this['_mergeNestedSuggestions']||!_0x566f67['containsRangeInObject']&&!_0x566f67['isInsideObject'])){if(_0x2474e8['isMultiRange']){if(!wv(_0x2474e8,_0x33f8bd))continue;let _0x2b7a2d=!0x0;for(const _0x13f0c5 of _0x2474e8['getRanges']()){if(_0x13f0c5['containsRange'](_0x2f0d47,!0x0))return _0x2474e8;_0x2f0d47['containsRange'](_0x13f0c5)||(_0x2b7a2d=!0x1);}_0x2b7a2d&&_0x2474e8['discard']();}else{const _0x70f431=_0x2474e8['getFirstRange']();if(_0x70f431['containsRange'](_0x2f0d47,!0x0))return _0x2474e8;if(!wv(_0x2474e8,_0x33f8bd)){_0x2f0d47['containsRange'](_0x70f431)?_0x2474e8['removeMarkers']():_0x70f431['containsPosition'](_0x25fbbb)?_0x25fbbb=_0x70f431['end']:_0x70f431['containsPosition'](_0x49187f)&&(_0x49187f=_0x70f431['start']);continue;}_0x25fbbb=_0x25fbbb['isBefore'](_0x70f431['start'])?_0x25fbbb:_0x70f431['start'],_0x49187f=_0x49187f['isAfter'](_0x70f431['end'])?_0x49187f:_0x70f431['end'],_0x33f8bd=Object['assign']({},_0x2474e8['attributes']),_0x584dc7?_0x70f431['start']['isBefore'](_0x584dc7['getFirstRange']()['start'])?(_0x584dc7['removeMarkers'](),_0x584dc7=_0x2474e8):_0x2474e8['removeMarkers']():_0x584dc7=_0x2474e8;}}}if(_0x584dc7)return this['_setSuggestionRange'](_0x584dc7,this['_model']['createRange'](_0x25fbbb,_0x49187f)),_0x584dc7;{const _0x4021a7=_0x3eda13(),_0x5f2ff1=this['_model']['createRange'](_0x25fbbb,_0x49187f),_0xfe25f4=_0x252d42['id'],_0xe06145=_0x475521?'deletion:'+_0x475521:'deletion',_0x549aec=this['_setSuggestionData']({'id':_0x4021a7,'type':_0xe06145,'createdAt':new Date(),'authorId':_0xfe25f4,'attributes':_0x33f8bd});return this['_addSuggestionMarker'](_0xe06145,_0x4021a7,_0xfe25f4,_0x5f2ff1),_0x549aec;}}['markMultiRangeDeletion'](_0x1e3b37,_0x1d9796='multi',_0x4a81f3={}){const _0x52b1bd=this['editor']['plugins']['get']('Users')['me'],_0x3dc365=_0x1e3b37['map'](_0x2ba632=>new _0x49053d(_0x2ba632['start'],_0x2ba632['end'])),_0xdd87ee=new Set();this['_trackingSessionId']&&(_0x4a81f3['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x5a0ecc,meta:_0x37b31a}of this['_findSuggestions'](_0x3dc365,'insertion'))_0x37b31a['isOwn']&&!_0x37b31a['isNextTo']&&_0xdd87ee['add'](_0x5a0ecc);for(const _0x570bc4 of _0xdd87ee)if(_0x570bc4['isMultiRange']){const _0x583050=_0x570bc4['getRanges']();(!_0x570bc4['attributes']||!_0x570bc4['attributes']['skipNestingCheck'])&&(_0x583050['every'](_0x1f4dbe=>_0x3dc365['some'](_0xdec067=>_0xdec067['containsRange'](_0x1f4dbe,!0x0)))&&_0x570bc4['discard']());if(_0x3dc365['every'](_0x135b70=>_0x583050['some'](_0x5ea73e=>_0x5ea73e['containsRange'](_0x135b70,!0x0)))){const _0x1eb449=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x1d9796,'accept');return this['forceDefaultExecution'](()=>_0x1eb449(_0x1e3b37,null,_0x4a81f3)),null;}}else{const _0x2d28c6=_0x570bc4['getFirstRange']();_0x3dc365['some'](_0x32fc21=>_0x32fc21['containsRange'](_0x2d28c6,!0x0))&&_0x570bc4['discard']();if(_0x3dc365['every'](_0x4360ad=>_0x2d28c6['containsRange'](_0x4360ad,!0x0))){const _0x30f0f4=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x1d9796,'accept');return this['forceDefaultExecution'](()=>_0x30f0f4(_0x3dc365,null,_0x4a81f3)),null;}}const _0x33d19d=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x1d9796,'join');let _0x2e259d=null;for(const _0x44d9cb of this['getSuggestions']())if(_0x44d9cb['author']['id']==_0x52b1bd['id']&&_0x44d9cb['isInContent']&&'deletion'==_0x44d9cb['type']&&_0x44d9cb['subType']==_0x1d9796&&wv(_0x44d9cb,_0x4a81f3)&&(_0x33d19d(_0x44d9cb['getRanges'](),_0x3dc365)||_0x33d19d(_0x3dc365,_0x44d9cb['getRanges']()))){if(_0x2e259d){if(_0x44d9cb['commentThread']&&_0x44d9cb['commentThread']['length'])continue;for(const _0x1e1d6c of _0x44d9cb['getRanges']())_0x2e259d['isIntersectingWithRange'](_0x1e1d6c)||_0x2e259d['addRange'](_0x1e1d6c);_0x44d9cb['removeMarkers']();}else{_0x2e259d=_0x44d9cb;for(const _0x24aaab of _0x3dc365)_0x44d9cb['isIntersectingWithRange'](_0x24aaab)||_0x44d9cb['addRange'](_0x24aaab);}}if(_0x2e259d)return _0x2e259d;_0xdd87ee['clear']();for(const {suggestion:_0x15825b,meta:_0x5ae5eb}of this['_findSuggestions'](_0x3dc365,'deletion'))_0x5ae5eb['isOwn']&&(this['_mergeNestedSuggestions']||!_0x5ae5eb['containsRangeInObject']&&!_0x5ae5eb['isInsideObject'])&&wv(_0x15825b,_0x4a81f3)&&_0xdd87ee['add'](_0x15825b);for(const _0x49abfe of _0xdd87ee){const _0x68eee2=_0x49abfe['getRanges']();if(!_0x4a81f3||!_0x4a81f3['skipNestingCheck']){if(_0x3dc365['every'](_0x29a139=>_0x68eee2['some'](_0x25a8ef=>_0x25a8ef['containsRange'](_0x29a139,!0x0))))return _0x49abfe;}(!_0x49abfe['attributes']||!_0x49abfe['attributes']['skipNestingCheck'])&&(_0x68eee2['every'](_0x5a85ce=>_0x3dc365['some'](_0x18afb1=>_0x18afb1['containsRange'](_0x5a85ce,!0x0)))&&_0x49abfe['discard']());}const _0x5d6fa0=_0x3eda13(),_0x2afc39=_0x52b1bd['id'],_0x10a231='deletion:'+_0x1d9796,_0x4637d8=this['_setSuggestionData']({'id':_0x5d6fa0,'type':_0x10a231,'createdAt':new Date(),'authorId':_0x2afc39,'attributes':_0x4a81f3});for(const _0x594f6c of _0x3dc365)_0x594f6c['detach'](),_0x594f6c['isCollapsed']||'$graveyard'==_0x594f6c['root']['rootName']||this['_addSuggestionMarker'](_0x10a231,_0x5d6fa0,_0x2afc39,_0x594f6c,Suggestion['getMultiRangeId']());return _0x4637d8;}['markAttributeChange'](_0x29a8ac,_0x291e27,_0x38987c,_0x2f842c,_0x3ff1e7){if(_0x29a8ac['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x32b3a5=this['editor']['plugins']['get']('Users')['me']['id'],_0xbffc91=Array['from'](this['_suggestions']['values']())['filter'](_0x50b3f4=>'attribute'==_0x50b3f4['type']&&_0x50b3f4['data']['key']==_0x291e27&&_0x50b3f4['isIntersectingWithRange'](_0x29a8ac));if(this['_trackingSessionId']&&(_0x3ff1e7['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x518565=this['_findSuggestions'](_0x29a8ac,'insertion')['filter'](({meta:_0x5931d6})=>_0x5931d6['isOwn']&&!_0x5931d6['isInsideObject']&&!_0x5931d6['isNextTo'])['map'](({suggestion:_0x421c59})=>_0x421c59);_0xbffc91['unshift'](..._0x518565);}const _0x74ac74=new Map([[_0x29a8ac,_0x38987c]]);for(const _0x2be139 of _0xbffc91){const _0x5e8cb3='attribute'==_0x2be139['type']?_0x2be139['data']['oldValue']:void 0x0,_0x5c271c=_0x2be139['getFirstRange'](),_0x501007=Array['from'](_0x74ac74['keys']())['find'](_0x303623=>_0x303623['isIntersecting'](_0x5c271c));if(!_0x501007)continue;const _0x424874=_0x501007['getDifference'](_0x5c271c);this['_suggestionsConversion']['isBlockAttribute'](_0x291e27)&&'insertion'==_0x2be139['type']&&0x0!=_0x424874['length']||(_0x74ac74['delete'](_0x501007),_0x424874['forEach'](_0x4cbd53=>{_0x74ac74['set'](_0x4cbd53,_0x38987c);}),'insertion'!=_0x2be139['type']&&_0x5e8cb3!=_0x2f842c&&_0x74ac74['set'](_0x501007['getIntersection'](_0x5c271c),_0x5e8cb3));}const _0x5a242b=[];for(const [_0x5eee12,_0x3b72b9]of _0x74ac74){const _0x3ff36a=_0x3eda13(),_0x4fd49a={'key':_0x291e27,'oldValue':_0x3b72b9,'newValue':_0x2f842c};_0x291e27['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':_0x291e27});const _0x18a826=('attribute:'+(_0x291e27+'|'+hv({'newValue':_0x2f842c})))['substring'](0x0,0x3c),_0x1e3ab1=this['_setSuggestionData']({'id':_0x3ff36a,'type':_0x18a826,'data':_0x4fd49a,'createdAt':new Date(),'authorId':_0x32b3a5,'attributes':_0x3ff1e7});_0x5a242b['push'](_0x1e3ab1),this['_addSuggestionMarker'](_0x18a826,_0x3ff36a,_0x32b3a5,_0x5eee12);}return _0x5a242b;}['enableDefaultAttributesIntegration'](_0x53805b){this['enableCommand'](_0x53805b,(_0x5b2b65,..._0x1fc54b)=>{this['recordAttributeChanges'](()=>{_0x5b2b65(..._0x1fc54b);});});}['startTrackingSession'](_0x56bf2c){return this['_trackingSessionId']=void 0x0!==_0x56bf2c?_0x56bf2c:_0x3eda13(),this['_trackingSessionId'];}['_getAttributeKey'](_0xd5b620){return'attribute'==_0xd5b620['type']?yv(_0xd5b620['subType']):null;}['_applyOperationsAsSuggestions'](_0x255721){if(0x0==_0x255721['length'])return;const _0x4dcf02=this['editor'],_0x372782=_0x4dcf02['plugins']['get'](DocumentCompare),_0x26b2b6=[];_0x4dcf02['model']['change'](_0x142980=>{for(let _0x554594=0x0;_0x554594<_0x255721['length'];_0x554594++){const _0x49236d=_0x255721[_0x554594];if(_0x49236d['baseVersion']=_0x4dcf02['model']['document']['version'],_0x49236d['isDocumentOperation']=!0x0,_0x372782['isMarkedRemoveOperation'](_0x49236d)){const _0x1c2ac3=Dc(_0x49236d['newRange'],_0x4dcf02['model']);_0x26b2b6['unshift'](_0x49053d['fromRange'](_0x1c2ac3));}else switch(_0x49236d['type']){case'rename':{const _0x4362bd=_0x49236d['oldName'],_0x1b0907=_0x49236d['newName'];if(_0x4362bd==_0x1b0907)break;_0x142980['batch']['addOperation'](_0x49236d),_0x4dcf02['model']['applyOperation'](_0x49236d);const _0x289502='$elementName',_0x54f0dc=_0x49236d['position'],_0x3f4fb2=_0x4dcf02['model']['createRange'](_0x54f0dc,_0x4dcf02['model']['createPositionAt'](_0x54f0dc['nodeAfter'],'end'));this['markAttributeChange'](_0x3f4fb2,_0x289502,_0x4362bd,_0x1b0907,{'groupId':_0x3eda13()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x3d8cfc=_0x49236d['oldValue'],_0x42e81f=_0x49236d['newValue'];if(_0x3d8cfc==_0x42e81f)break;_0x142980['batch']['addOperation'](_0x49236d),_0x4dcf02['model']['applyOperation'](_0x49236d);const _0x4d8547=_0x49236d['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x4d8547))break;const _0x3458e8=Dc(_0x49236d['range'],_0x4dcf02['model']);this['markAttributeChange'](_0x3458e8,_0x4d8547,_0x3d8cfc,_0x42e81f,{'groupId':_0x3eda13()});break;}case'insert':{_0x142980['batch']['addOperation'](_0x49236d),_0x4dcf02['model']['applyOperation'](_0x49236d);if(_0x255721[_0x554594+0x1]&&'move'==_0x255721[_0x554594+0x1]['type'])break;const _0x2df656=_0x49236d['position'],_0x2acd00=_0x49236d['howMany'],_0x2c11ee=Dc(_0x4dcf02['model']['createRange'](_0x2df656,_0x2df656['getShiftedBy'](_0x2acd00)),_0x4dcf02['model']);this['markInsertion'](_0x2c11ee);break;}case'split':{_0x142980['batch']['addOperation'](_0x49236d),_0x4dcf02['model']['applyOperation'](_0x49236d);const _0xb0d2c1=_0x49236d['splitPosition'],_0x592318=_0x49236d['moveTargetPosition'];this['markInsertion'](_0x4dcf02['model']['createRange'](_0xb0d2c1,_0x592318));break;}case'move':case'remove':_0x142980['batch']['addOperation'](_0x49236d),_0x4dcf02['model']['applyOperation'](_0x49236d);}}for(const _0x228f35 of _0x26b2b6)_0x228f35['detach'](),this['markDeletion'](_0x228f35);});}['_setSuggestionRange'](_0x470e26,_0x12862d){const _0x2890e4=_0x470e26['getFirstMarker']();this['_model']['change'](_0x4eb9a7=>{_0x4eb9a7['updateMarker'](_0x2890e4,{'range':_0x12862d});});}['_addThreadToSuggestion'](_0x2a46ec){const _0x383d0d=_0x2a46ec['id'],_0x374118=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x383d0d)||this['_commentsRepository']['addCommentThread']({'channelId':_0x374118,'threadId':_0x383d0d,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x278712=this['_commentsRepository']['getCommentThread'](_0x383d0d);_0x278712['unbind']('isRemovable'),_0x278712['isRemovable']=!0x1,_0x2a46ec['commentThread']=_0x278712;}['_checkSuggestionCorrectness'](_0x137c0e,_0xf4e139,_0xf2b72a,_0x25de0a){if(_0x137c0e['type']!=_0xf4e139||_0x137c0e['subType']!=_0xf2b72a||_0x137c0e['creator']['id']!=_0x25de0a)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x522f1f('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x488740,_0x4562cf){const _0x54a7af=_0x488740['getFirstRange']();if(_0x4562cf['isEqual'](_0x54a7af))_0x488740['removeMarkers']();else{if(_0x54a7af['containsRange'](_0x4562cf)){const _0x3311c6=this['_model']['createPositionAt'](_0x4562cf['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x488740,this['_model']['createRange'](_0x54a7af['start'],_0x3311c6));const _0x41823b=_0x3eda13(),_0x9c82c4=_0x488740['creator']['id'],_0xe804b4=_0x488740['type']+':'+_0x488740['subType'];this['_setSuggestionData']({'id':_0x41823b,'type':_0xe804b4,'createdAt':new Date(),'authorId':_0x9c82c4,'data':_0x488740['data'],'attributes':_0x488740['attributes']});const _0x3bc332=this['_model']['createPositionAt'](_0x4562cf['end']['parent'],'after'),_0x541fc7=this['_model']['createRange'](_0x3bc332,_0x54a7af['end']);this['_addSuggestionMarker'](_0xe804b4,_0x41823b,_0x9c82c4,_0x541fc7);}else{if(_0x54a7af['containsPosition'](_0x4562cf['start'])){const _0x2f28cd=this['_model']['createPositionAt'](_0x4562cf['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x488740,this['_model']['createRange'](_0x54a7af['start'],_0x2f28cd));}else{const _0x35c9f3=this['_model']['createPositionAt'](_0x4562cf['end']['parent'],'after');this['_setSuggestionRange'](_0x488740,this['_model']['createRange'](_0x35c9f3,_0x54a7af['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x3fb021){for(const {suggestion:_0x36e231,meta:_0x4edfa8}of this['_findSuggestions'](_0x3fb021,'insertion')){if(!_0x4edfa8['isOwn'])continue;const _0x3a4228=_0x36e231['getRanges']();for(const _0x18d6a3 of _0x3a4228)if(!_0x3fb021['getDifference'](_0x18d6a3)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x202ef4){return this['editor']['plugins']['get']('Users')['getUser'](_0x202ef4);}['_getExternalAuthor'](_0x1145d9){const _0x1e997c=this['editor']['plugins']['get']('Users'),_0xd4a79=Dd('external:'+_0x1145d9),_0x3bfd4a=_0x1e997c['getUser'](_0xd4a79);return _0x3bfd4a||_0x1e997c['addUser']({'id':_0xd4a79,'name':_0x1145d9});}['_createSuggestion'](_0x470125,_0x13a4ea,_0x59984c,_0x4874c4,_0x42d653,_0x46f239){const _0x467b6b=this['_getAuthorFromId'](_0x4874c4);if(!_0x467b6b)throw new _0x522f1f('track-changes-user-not-found',this,{'authorId':_0x4874c4,'suggestionId':_0x59984c});const _0x161eb8=this['_suggestionFactory']['buildSuggestion'](_0x470125,_0x13a4ea,_0x59984c,_0x467b6b,_0x42d653,_0x24ff6a=>{this['_updateSuggestionData'](_0x59984c,{'attributes':_0x24ff6a});const _0x28d1a2=this['getSuggestion'](_0x59984c);this['_joinWithAdjacentSuggestions'](new Set([_0x28d1a2])),this['_refreshSuggestionsChain'](new Set([_0x28d1a2]));},_0x46f239);return this['listenTo'](_0x161eb8,'accept',()=>{this['_updateSuggestionData'](_0x59984c,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x161eb8,'discard',()=>{this['_updateSuggestionData'](_0x59984c,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x59984c,_0x161eb8),this['_suggestionState']['set'](_0x161eb8,'notReady'),_0x161eb8;}['_breakSuggestionMarker'](_0x4a63fa,_0x1c6ce4,_0x3b643a){const _0xc9aae5=_0x4a63fa['getFirstRange'](),_0x5828fe=_0xc9aae5['start'],_0x298f30=_0xc9aae5['end'];this['_setSuggestionRange'](_0x4a63fa,this['_model']['createRange'](_0x5828fe,_0x1c6ce4));const _0x3b1215=_0x3eda13(),_0x567f30=_0x4a63fa['creator']['id'],_0x5bc171=_0x4a63fa['type']+(_0x4a63fa['subType']?':'+_0x4a63fa['subType']:'');this['_setSuggestionData']({'id':_0x3b1215,'type':_0x5bc171,'createdAt':new Date(),'authorId':_0x567f30,'originalSuggestionId':_0x4a63fa['_originalSuggestionId']||_0x4a63fa['id'],'attributes':_0x4a63fa['attributes'],'data':_0x4a63fa['data']});const _0xb7f01d=this['_getAttributeKey'](_0x4a63fa);('formatBlock'==_0x4a63fa['type']||_0xb7f01d&&this['_suggestionsConversion']['isBlockAttribute'](_0xb7f01d))&&(_0x3b643a=this['_model']['createPositionBefore'](_0x3b643a['parent'])),this['_addSuggestionMarker'](_0x5bc171,_0x3b1215,_0x567f30,this['_model']['createRange'](_0x3b643a,_0x298f30));}['_findSuggestions'](_0x4417a2,_0x3cdf3c=null){const _0x3a98d0=[],_0x353983=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x4417a2)||(_0x4417a2=[_0x4417a2]);for(const _0x3db04d of this['getSuggestions']()){if(!_0x3db04d['isInContent'])continue;if(_0x3cdf3c&&_0x3db04d['type']!=_0x3cdf3c)continue;let _0x3f4798=!0x1;for(const _0x4359ff of _0x3db04d['getRanges']()){for(const _0x260719 of _0x4417a2){const _0xb51b0a=_0x260719['start']['isEqual'](_0x4359ff['end'])||_0x260719['end']['isEqual'](_0x4359ff['start']);if(_0xb51b0a||_0x260719['getIntersection'](_0x4359ff)){const _0x5007ec=_0x260719['containsRange'](_0x4359ff)&&av(this['_model']['schema'],_0x4359ff['start'],_0x260719),_0x2ed087=_0x4359ff['containsRange'](_0x260719)&&av(this['_model']['schema'],_0x260719['start'],_0x4359ff);_0x3a98d0['push']({'suggestion':_0x3db04d,'meta':{'isOwn':_0x353983==_0x3db04d['author'],'isNextTo':_0xb51b0a,'isInsideObject':_0x5007ec,'containsRangeInObject':_0x2ed087}}),_0x3f4798=!0x0;break;}}if(_0x3f4798)break;}}return _0x3a98d0;}['_addSuggestionMarker'](_0x56fed4,_0x21a818,_0xd7752f,_0x55b45c,_0x499194){this['_model']['change'](_0x14edd5=>{let _0x28c91e='suggestion:'+_0x56fed4+':'+_0x21a818+':'+_0xd7752f;_0x499194&&(_0x28c91e=_0x28c91e+':'+_0x499194),_0x14edd5['addMarker'](_0x28c91e,{'range':_0x55b45c,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x19c27e){const _0x493346=_0x19c27e['previous'],_0x138859=_0x19c27e['next'];_0x19c27e['previous']=null,_0x19c27e['next']=null,null!=_0x493346&&_0x493346['next']==_0x19c27e&&(_0x493346['next']=_0x138859),null!=_0x138859&&_0x138859['previous']==_0x19c27e&&(_0x138859['previous']=_0x493346),'ready'==this['_suggestionState']['get'](_0x19c27e)&&(this['_suggestionState']['set'](_0x19c27e,'removed'),this['fire']('suggestionUnloaded',_0x19c27e,_0x493346,_0x138859));}['_setSuggestionData'](_0x25f1bf){const _0x1ac585=_0x25f1bf['id'],_0x40282a=this['addSuggestionData'](_0x25f1bf);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x55712f=this['editor']['plugins']['get']('PendingActions'),_0x5afb70=_0x40282a['hasComments'],_0x411533=_0x40282a['subType']?_0x40282a['type']+':'+_0x40282a['subType']:_0x40282a['type'],_0x424395=this['editor']['locale'],_0x105a70=_0x55712f['add'](jy(_0x424395,'PENDING_ACTION_SUGGESTION')),_0x4bcf2a={'id':_0x1ac585,'type':_0x411533,'hasComments':_0x5afb70,'data':_0x25f1bf['data']||null,'originalSuggestionId':_0x25f1bf['originalSuggestionId']||null,'attributes':_0x40282a['attributes']};this['_adapter']['addSuggestion'](_0x4bcf2a)['then'](_0x102a1c=>{_0x40282a['_saved']=!0x0,_0x55712f['remove'](_0x105a70),_0x102a1c&&_0x102a1c['createdAt']&&(this['_suggestions']['get'](_0x1ac585)['createdAt']=_0x102a1c['createdAt']);})['catch'](_0x6b9afa=>{throw _0x445208('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x40282a['discard']();}),_0x40282a['stopListening'](),this['_suggestions']['delete'](_0x40282a['id']),this['_suggestionState']['delete'](_0x40282a),_0x6b9afa;});}return _0x40282a;}['_updateSuggestionData'](_0x18ad6e,_0x5353ad){const _0x507edf=this['editor']['plugins']['get']('PendingActions'),_0xd8e0b2=this['getSuggestion'](_0x18ad6e);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0xd8e0b2['_saved']){const _0x270fcc=_0x507edf['add'](jy(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x18ad6e,_0x5353ad)['then'](()=>{_0x507edf['remove'](_0x270fcc);});}else _0xd8e0b2['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x18ad6e,_0x5353ad);});}}['_getSuggestionData'](_0x4269f0){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x522f1f('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x4269f0);}['_handleNewSuggestionMarker'](_0x5ae3c1){const {id:_0x43c839,type:_0x10c802,subType:_0x4d72e9,authorId:_0x12620a}=$c(_0x5ae3c1),_0x426388=this['_suggestions']['get'](_0x43c839)||this['_createSuggestion'](_0x10c802,_0x4d72e9,_0x43c839,_0x12620a,{});switch(this['_checkSuggestionCorrectness'](_0x426388,_0x10c802,_0x4d72e9,_0x12620a),this['_suggestionState']['get'](_0x426388)){case'notReady':this['_getSuggestionData'](_0x43c839)['then'](_0x2b3b19=>{let _0x4b7698=Promise['resolve']();_0x2b3b19['hasComments']&&(_0x4b7698=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x43c839})),_0x4b7698['then'](()=>{this['addSuggestionData'](_0x2b3b19)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x426388,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x43c839,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x426388,'ready'),this['fire']('suggestionLoaded',_0x426388);break;case'ready':this['fire']('suggestionChanged',_0x426388);}return _0x426388['addMarkerName'](_0x5ae3c1),_0x426388;}['_refreshSuggestionsChain'](_0x30ecb6){const _0x5c56a1=Array['from'](_0x30ecb6),_0x1254ea=_0x5c56a1['filter'](_0x3058e3=>'attribute'==_0x3058e3['type']);this['_refreshAttributeSuggestionsChain'](_0x1254ea);const _0x59167a=_0x5c56a1['filter'](_0x1cabdc=>!_0x1cabdc['isMultiRange']&&'attribute'!=_0x1cabdc['type']),_0x373f3a=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x580d51=>!_0x580d51['isMultiRange']&&'attribute'!=_0x580d51['type']),_0x3cd4be=_0x373f3a['filter'](_0x16686a=>!_0x30ecb6['has'](_0x16686a)),_0x19916d=new Map(_0x373f3a['map'](_0x536f41=>[_0x536f41,this['_suggestionFactory']['getSuggestionCallback'](_0x536f41['type'],_0x536f41['subType'],'chain')])),_0x100657=new Map(_0x373f3a['map'](_0x132c2c=>[_0x132c2c,_0x132c2c['getFirstRange']()])),_0x119ac4=new Set(),_0x3aa2ca=new Set();for(let _0xe60c47=0x0;_0xe60c47<_0x59167a['length'];_0xe60c47++)_0x5521b1(_0x59167a[_0xe60c47],_0x59167a,_0xe60c47+0x1);for(let _0x6528a3=0x0;_0x6528a3<_0x59167a['length'];_0x6528a3++)_0x5521b1(_0x59167a[_0x6528a3],_0x3cd4be,0x0);const _0x1fa178=new Set();for(let _0x104a3e=0x0;_0x104a3e<_0x59167a['length'];_0x104a3e++){const _0x52520d=_0x59167a[_0x104a3e];!_0x3aa2ca['has'](_0x52520d)&&_0x52520d['previous']&&(_0x1fa178['add'](_0x52520d['previous']),_0x52520d['previous']['next']===_0x52520d&&(_0x52520d['previous']['next']=null),_0x52520d['previous']=null),!_0x119ac4['has'](_0x52520d)&&_0x52520d['next']&&(_0x1fa178['add'](_0x52520d['next']),_0x52520d['next']['previous']===_0x52520d&&(_0x52520d['next']['previous']=null),_0x52520d['next']=null);}function _0x5521b1(_0x6598b6,_0xfc0d43,_0x29e024){for(let _0x466355=_0x29e024;_0x466355<_0xfc0d43['length'];_0x466355++){const _0x1b72c9=_0x564061(_0x6598b6,_0xfc0d43[_0x466355]);_0x1b72c9&&(_0x1b72c9[0x0]['next']=_0x1b72c9[0x1],_0x1b72c9[0x1]['previous']=_0x1b72c9[0x0],_0x119ac4['add'](_0x1b72c9[0x0]),_0x3aa2ca['add'](_0x1b72c9[0x1]));}}function _0x564061(_0x222a19,_0x1c1dc6){if(_0x222a19['author']['id']!==_0x1c1dc6['author']['id'])return null;const _0x431fe2=_0x19916d['get'](_0x222a19)(_0x222a19,_0x1c1dc6,_0x100657['get'](_0x222a19),_0x100657['get'](_0x1c1dc6));if(!_0x431fe2)return null;return _0x19916d['get'](_0x1c1dc6)(_0x222a19,_0x1c1dc6,_0x100657['get'](_0x222a19),_0x100657['get'](_0x1c1dc6))?_0x431fe2[0x1]['commentThread']&&_0x431fe2[0x1]['commentThread']['length']?null:_0x431fe2:null;}_0x1fa178['size']&&this['_refreshSuggestionsChain'](_0x1fa178);}['_refreshAttributeSuggestionsChain'](_0x48ce38){if(0x0==_0x48ce38['length'])return;const _0x2789b4=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x40c5cb=>'attribute'==_0x40c5cb['type']&&_0x40c5cb['_isDataLoaded']),_0xac42ba=[],_0x4ccfc5=new Map();for(const _0x4ec8ad of _0x2789b4){const _0x516d55=Dd(_0x4ec8ad['attributes']);_0x4ccfc5['has'](_0x516d55)||(_0x4ccfc5['set'](_0x516d55,_0xac42ba['length']),_0xac42ba['push']([]));const _0x175d67=_0x4ccfc5['get'](_0x516d55);_0xac42ba[_0x175d67]['push'](_0x4ec8ad);}!(function(){_0xac42ba['sort']((_0xbe77fa,_0x2e8363)=>{const _0x2cfada=_0xbe77fa[0x0]['createdAt'],_0x50fde0=_0x2e8363[0x0]['createdAt'];return _0x2cfada==_0x50fde0?_0xbe77fa[0x0]['attributes']['groupId']<_0x2e8363[0x0]['attributes']['groupId']?-0x1:0x1:_0x2cfada<_0x50fde0?-0x1:0x1;});for(const _0x3dc26e of _0xac42ba)_0x3dc26e['sort']((_0x4fa62f,_0x1749d0)=>_0x4fa62f['id']<_0x1749d0['id']?-0x1:0x1);}());for(let _0x4927a8=0x0;_0x4927a8<_0xac42ba['length'];_0x4927a8++){if(0x0==_0xac42ba[_0x4927a8]['length'])continue;const _0xfc5dfe=[];for(let _0x3870e5=_0x4927a8+0x1;_0x3870e5<_0xac42ba['length'];_0x3870e5++)0x0!=_0xac42ba[_0x3870e5]['length']&&_0x239370(_0xac42ba[_0x4927a8],_0xac42ba[_0x3870e5])&&_0xfc5dfe['push'](_0x3870e5);for(const _0xab37a1 of _0xfc5dfe)_0xac42ba[_0x4927a8]=_0xac42ba[_0x4927a8]['concat'](_0xac42ba[_0xab37a1]),_0xac42ba[_0xab37a1]=[];}for(const _0x39301d of _0xac42ba)for(let _0x42eb8f=0x0;_0x42eb8f<_0x39301d['length'];_0x42eb8f++){const _0x5e05a5=_0x39301d[_0x42eb8f+0x1]||null;_0x39301d[_0x42eb8f]['next']!==_0x5e05a5&&(_0x39301d[_0x42eb8f]['next']=_0x5e05a5);}for(const _0x48ae48 of _0xac42ba)for(let _0xa755f9=0x0;_0xa755f9<_0x48ae48['length'];_0xa755f9++){const _0x42a938=_0x48ae48[_0xa755f9-0x1]||null;_0x48ae48[_0xa755f9]['previous']!==_0x42a938&&(_0x48ae48[_0xa755f9]['previous']=_0x42a938);}function _0x239370(_0x14063e,_0x34d003){if(_0x14063e[0x0]['attributes']['groupId']!==_0x34d003[0x0]['attributes']['groupId']&&_0x14063e[0x0]['author']!==_0x34d003[0x0]['author'])return!0x1;if(!function(_0x7253ab,_0x1fbe23){if(!_0x7253ab['hasComments']&&!_0x1fbe23['hasComments'])return!0x0;if(_0x7253ab['hasComments']&&_0x1fbe23['hasComments'])return!0x1;if(_0x7253ab['hasComments']&&_0x1fbe23['createdAt']<_0x7253ab['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x1fbe23['hasComments']&&_0x7253ab['createdAt']<_0x1fbe23['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x14063e[0x0],_0x34d003[0x0]))return!0x1;if(!qr(to(_0x14063e[0x0]['attributes'],['groupId','trackingSessionId']),to(_0x34d003[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x14063e[0x0]['attributes']['groupId']==_0x34d003[0x0]['attributes']['groupId'])return!0x0;if(_0x14063e[0x0]['attributes']['trackingSessionId']!==_0x34d003[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x14063e['every'](_0xbb282=>_0x34d003['some'](_0x265485=>_0xbb282['getFirstRange']()['isEqual'](_0x265485['getFirstRange']())))&&_0x34d003['every'](_0x1578c3=>_0x14063e['some'](_0x38c443=>_0x1578c3['getFirstRange']()['isEqual'](_0x38c443['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x5eb51c){const _0x2ad5b6=Array['from'](_0x5eb51c),_0x58d8a4=this['getSuggestions']({'skipNotAttached':!0x0}),_0x38d2a3=_0x58d8a4['filter'](_0x1efe3e=>!_0x5eb51c['has'](_0x1efe3e)),_0x14a944=new Map(_0x2ad5b6['map'](_0x3ecd49=>[_0x3ecd49,this['_suggestionFactory']['getSuggestionCallback'](_0x3ecd49['type'],_0x3ecd49['subType'],'join')])),_0x3589ed=new Map(_0x58d8a4['map'](_0xe5e5b4=>[_0xe5e5b4,_0xe5e5b4['getRanges']()]));for(let _0x3ace3d=0x0;_0x3ace3d<_0x2ad5b6['length'];_0x3ace3d++){if(_0x272689(this,_0x2ad5b6[_0x3ace3d],_0x2ad5b6,_0x3ace3d+0x1))return!0x0;}for(let _0x51b7af=0x0;_0x51b7af<_0x2ad5b6['length'];_0x51b7af++){if(_0x272689(this,_0x2ad5b6[_0x51b7af],_0x38d2a3,0x0))return!0x0;}return!0x1;function _0x272689(_0x3e4208,_0x5e79f2,_0xadf5b8,_0x5d081d){for(let _0xb72536=_0x5d081d;_0xb72536<_0xadf5b8['length'];_0xb72536++){const _0x2b19b3=_0xadf5b8[_0xb72536];if(_0x2b19b3['type']!==_0x5e79f2['type']||_0x2b19b3['author']['id']!==_0x5e79f2['author']['id']||_0x2b19b3['subType']!==_0x5e79f2['subType'])continue;if(!Ov(_0x5e79f2,_0x2b19b3))continue;if('attribute'==_0x5e79f2['type']&&_0x5e79f2['data']['oldValue']!=_0x2b19b3['data']['oldValue'])continue;if('attribute'==_0x5e79f2['type']&&_0x3e4208['_suggestionsConversion']['isBlockAttribute'](_0x5e79f2['data']['key']))continue;if('formatBlock'==_0x5e79f2['type']){const _0x419d05=_0x3e4208['editor']['model'],_0x53eed0=_0x5e79f2['getContainedElement']();if(_0x53eed0&&(_0x419d05['schema']['isObject'](_0x53eed0)||_0x419d05['schema']['isLimit'](_0x53eed0)))continue;}const _0x599b2a=_0x14a944['get'](_0x5e79f2),_0x2c9d6a=_0x3589ed['get'](_0x5e79f2),_0x137bbe=_0x3589ed['get'](_0x2b19b3),_0x54b293=_0x5e79f2['commentThread']&&_0x5e79f2['commentThread']['length'],_0x2d45c4=_0x2b19b3['commentThread']&&_0x2b19b3['commentThread']['length'];if(!_0x54b293&&_0x599b2a(_0x137bbe,_0x2c9d6a))return _0x3e4208['_joinSuggestions'](_0x2b19b3,_0x5e79f2),_0x3589ed['delete'](_0x5e79f2),!0x0;if(!_0x2d45c4&&_0x599b2a(_0x2c9d6a,_0x137bbe))return _0x3e4208['_joinSuggestions'](_0x5e79f2,_0x2b19b3),_0x3589ed['delete'](_0x2b19b3),!0x0;}return!0x1;}}['_joinSuggestions'](_0x4816d0,_0xd1a50c){if(_0x4816d0['isMultiRange']){for(const _0x58d437 of _0xd1a50c['getRanges']())_0x4816d0['addRange'](_0x58d437);}else{const _0x1dbffb=_0xd1a50c['getFirstRange']()['end'];this['_setSuggestionRange'](_0x4816d0,this['_model']['createRange'](_0x4816d0['getFirstRange']()['start'],_0x1dbffb));}_0xd1a50c['removeMarkers']();}['_getMarkerAnnouncementText'](_0x27e982,_0x30040f,_0x216c8d){const _0x182791=_0x27e982['startsWith']('format')||_0x27e982['startsWith']('attribute')?'FORMATTING':_0x27e982['toUpperCase']();return jy(this['editor']['locale'],_0x30040f+'_'+_0x182791+'_SUGGESTION_ANNOUNCEMENT',_0x216c8d);}['_initAriaMarkerChangeAnnouncements'](){const _0x6cf868=this['editor'];if(!_0x6cf868['ui'])return;const {ariaLiveAnnouncer:_0x81f334}=_0x6cf868['ui'];Xd(this['_model'],({left:_0x39a7bc,entered:_0x47f51b})=>{for(const _0x5e6f00 of _0x39a7bc){const {group:_0x357063,type:_0xcce141}=$c(_0x5e6f00['name']);if('suggestion'===_0x357063){_0x81f334['announce'](this['_getMarkerAnnouncementText'](_0xcce141,'LEAVE'));break;}}for(const _0x243d1b of _0x47f51b){const {group:_0x304d1b,type:_0x58dc21}=$c(_0x243d1b['name']);if('suggestion'===_0x304d1b){_0x81f334['announce'](this['_getMarkerAnnouncementText'](_0x58dc21,'ENTER',_0x10f09f(qd)));break;}}});}['_processAttributeChanges'](_0x2157f1){if(this['_recordAttributeSuggestions'])return!0x1;const _0x3385c9=this['editor'],_0x36e713=_0x3385c9['model']['document']['differ']['getChanges']();if(0x0==_0x36e713['length'])return!0x1;const _0x3ab0e3=[],_0x455259=_0x36e713['filter'](_0x1e68c7=>'attribute'==_0x1e68c7['type']),_0x4e88d8=_0x36e713['filter'](_0x29f5c6=>'insert'==_0x29f5c6['type']&&'$text'!=_0x29f5c6['name']),_0x5a1ff1=_0x36e713['filter'](_0x4244b9=>'remove'==_0x4244b9['type']&&'$text'!=_0x4244b9['name']);for(const _0x17ca02 of _0x455259)_0x3ab0e3['push']({'key':_0x17ca02['attributeKey'],'newValue':_0x17ca02['attributeNewValue'],'oldValue':_0x17ca02['attributeOldValue'],'range':mv(_0x17ca02['range'],_0x3385c9['model'])});for(const _0xe1cf00 of _0x4e88d8){const _0x1ae341=_0x5a1ff1['find'](_0xa086e1=>_0xa086e1['position']['isEqual'](_0xe1cf00['position']));_0x1ae341&&_0x3ab0e3['push']({'key':ov,'newValue':_0xe1cf00['name'],'oldValue':_0x1ae341['name'],'range':_0x3385c9['model']['createRangeOn'](_0xe1cf00['position']['nodeAfter'])});}return 0x0!=_0x3ab0e3['length']&&this['_reduceExistingSuggestions'](_0x2157f1,_0x3ab0e3);}['_processAttributeSuggestions'](_0x5556f6){let _0x4409d1=!0x1;const _0x585988=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x264170=>_0x264170['data']['newRange']&&_0x264170['name']['startsWith']('suggestion:attribute:'));for(const _0x247a62 of _0x585988){const {subType:_0xa3c036,id:_0x67d520}=$c(_0x247a62['name']),_0x3bef1c=_0xa3c036['split']('|')[0x0];for(const _0x32cd86 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x32cd86['id']!=_0x67d520&&'attribute'==_0x32cd86['type']&&_0x32cd86['data']&&_0x32cd86['data']['key']==_0x3bef1c&&_0x32cd86['getFirstRange']()['isIntersecting'](_0x247a62['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x32cd86,_0x247a62['data']['newRange'],_0x5556f6),_0x4409d1=!0x0);}return _0x4409d1;}['recordAttributeChanges'](_0x139078){this['_recordAttributeSuggestions']=!0x0,_0x139078();}['_reduceExistingSuggestions'](_0x387933,_0x4c9ae1){if(0x0==_0x4c9ae1['length'])return!0x1;let _0x59ac2e=!0x1;for(const _0x39651a of _0x4c9ae1){const _0x42e844=this['_findSuggestions'](_0x39651a['range'],'attribute')['filter'](_0x58d1ab=>!_0x58d1ab['meta']['isNextTo'])['map'](_0x156777=>_0x156777['suggestion']),_0x1c6bd1=Dd({'newValue':_0x39651a['newValue']});_0x42e844['filter'](_0x5594af=>{const [_0x2ab6a3,_0x4761b9]=_0x5594af['subType']['split']('|');return _0x2ab6a3==_0x39651a['key']&&_0x4761b9!=_0x1c6bd1;})['forEach'](_0x454873=>{this['_reduceSuggestionAttributeRange'](_0x454873,_0x39651a['range'],_0x387933),_0x59ac2e=!0x0;});}return _0x59ac2e;}['_reduceSuggestionAttributeRange'](_0x377de1,_0x3de143,_0x216f08){const _0x48e63e=_0x377de1['getFirstRange']()['getDifference'](_0x3de143);0x0!==_0x48e63e['length']?0x1!==_0x48e63e['length']?this['_breakSuggestionMarker'](_0x377de1,_0x3de143['start'],_0x3de143['end']):this['_setSuggestionRange'](_0x377de1,_0x48e63e[0x0]):_0x216f08['removeMarker'](_0x377de1['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x3cc556){this['_editor']=_0x3cc556,this['_model']=_0x3cc556['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x4b1d56,_0x2dccbf,_0x198f3b,_0x146383,_0x3804a0,_0x55dea1,_0xd47085){return new Suggestion(this['_model'],{'type':_0x4b1d56,'subType':_0x2dccbf,'id':_0x198f3b,'originalSuggestionId':_0xd47085,'author':_0x146383,'creator':_0x146383,'attributes':_0x3804a0,'onAttributesChange':_0x55dea1,'onAccept':(..._0x3562ea)=>this['getSuggestionCallback'](_0x4b1d56,_0x2dccbf,'accept')(..._0x3562ea),'onDiscard':(..._0x581773)=>this['getSuggestionCallback'](_0x4b1d56,_0x2dccbf,'discard')(..._0x581773)});}['registerCustomCallback'](_0x5229bf,_0x57f3ff,_0x27c37a,_0x10a8ad){const _0x52c496=_0x5229bf+':'+_0x57f3ff+':'+_0x27c37a;this['_customCallbacks']['set'](_0x52c496,_0x10a8ad);}['getSuggestionCallback'](_0x5dcc5a,_0x4ca761,_0x5a81fe){const _0x3c39dd=_0x5dcc5a+':'+_0x4ca761+':'+_0x5a81fe;return this['_customCallbacks']['get'](_0x3c39dd)||this['_defaultCallbacks']['get'](_0x5dcc5a+':'+_0x5a81fe);}['_registerDefaultCallbacks'](){const _0x49127f=()=>!0x1,_0x402b67=_0x2aa2ef=>{_0x2aa2ef['sort']((_0x4bd266,_0x43e56d)=>_0x4bd266['start']['isBefore'](_0x43e56d['start'])?0x1:-0x1),this['_model']['change'](_0x25546c=>{for(const _0x14643e of _0x2aa2ef){let _0x545c86;_0x545c86=_0x14643e['end']['isAtEnd']&&_0x14643e['end']['parent']==_0x14643e['start']['nodeAfter']?_0x25546c['createSelection'](_0x14643e['start']['nodeAfter'],'on'):_0x25546c['createSelection'](_0x14643e),this['_model']['deleteContent'](_0x545c86,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x4dba6e=(_0x4bf766,_0x2424d6)=>{_0x2424d6&&this['_model']['change'](_0x3e6065=>{const {commandName:_0x3ce9a7,commandParams:_0x5462fb=[]}=_0x2424d6,_0x275059=_0x4bf766['map'](_0x11b1d7=>(cv(_0x11b1d7)&&(_0x11b1d7=this['_model']['createRange'](_0x11b1d7['end'])),_0x11b1d7))['filter'](_0x1f9e85=>'$graveyard'!==_0x1f9e85['root']['rootName']);if(_0x275059['length']<0x1)return;const _0x258524=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x122f54=>_0x49053d['fromRange'](_0x122f54));_0x3e6065['setSelection'](_0x275059);for(const _0x1b0f49 of this['_editor']['commands']['commands']())_0x1b0f49['refresh']();_0x5462fb['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x3ce9a7,..._0x5462fb);const _0x30ebe5=_0x258524['filter'](_0x57e794=>'$graveyard'!=_0x57e794['root']['rootName']);_0x30ebe5['length']>0x0&&_0x3e6065['setSelection'](_0x30ebe5);for(const _0x4ba778 of _0x258524)_0x4ba778['detach']();});},_0x26ab8d=(_0x2a720f,_0x2b2129)=>0x1==_0x2a720f['length']&&0x1==_0x2b2129['length']&&_0x2a720f[0x0]['end']['isEqual'](_0x2b2129[0x0]['start']),_0x11c28c=(_0x4809c6,_0x21f9d1,_0x3be643,_0x3f3100)=>pv(_0x4809c6,_0x21f9d1,_0x3be643,_0x3f3100)?[_0x4809c6,_0x21f9d1]:pv(_0x21f9d1,_0x4809c6,_0x3f3100,_0x3be643)?[_0x21f9d1,_0x4809c6]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x49127f),this['_defaultCallbacks']['set']('insertion:discard',_0x402b67),this['_defaultCallbacks']['set']('insertion:join',_0x26ab8d),this['_defaultCallbacks']['set']('insertion:chain',_0x11c28c),this['_defaultCallbacks']['set']('deletion:accept',_0x402b67),this['_defaultCallbacks']['set']('deletion:discard',_0x49127f),this['_defaultCallbacks']['set']('deletion:join',_0x26ab8d),this['_defaultCallbacks']['set']('deletion:chain',_0x11c28c),this['_defaultCallbacks']['set']('formatInline:accept',_0x4dba6e),this['_defaultCallbacks']['set']('formatInline:discard',_0x49127f),this['_defaultCallbacks']['set']('formatInline:join',_0x26ab8d),this['_defaultCallbacks']['set']('formatInline:chain',_0x49127f),this['_defaultCallbacks']['set']('formatBlock:accept',_0x4dba6e),this['_defaultCallbacks']['set']('formatBlock:discard',_0x49127f),this['_defaultCallbacks']['set']('formatBlock:join',_0x26ab8d),this['_defaultCallbacks']['set']('formatBlock:chain',_0x49127f),this['_defaultCallbacks']['set']('attribute:accept',_0x49127f),this['_defaultCallbacks']['set']('attribute:discard',(_0x14007c,_0x523b82)=>{if(!_0x523b82)return;const _0x4f4ecc=this['_editor']['plugins']['get'](SuggestionsConversion);this['_model']['change'](_0x1c4bdf=>{if(_0x523b82['key']==ov)for(const _0xb2da7e of _0x14007c){const _0x1183d0=_0xb2da7e['start']['nodeAfter'],_0x15f544=_0x523b82['oldValue'];_0x1c4bdf['rename'](_0x1183d0,_0x15f544);}else{if(_0x4f4ecc['isBlockAttribute'](_0x523b82['key'])){for(const _0x35fb2f of _0x14007c)void 0x0!==_0x523b82['oldValue']?_0x1c4bdf['setAttribute'](_0x523b82['key'],_0x523b82['oldValue'],_0x35fb2f['start']['nodeAfter']):_0x1c4bdf['removeAttribute'](_0x523b82['key'],_0x35fb2f['start']['nodeAfter']);}else{for(const _0xfd2757 of _0x14007c)_0x523b82['oldValue']?_0x1c4bdf['setAttribute'](_0x523b82['key'],_0x523b82['oldValue'],_0xfd2757):_0x1c4bdf['removeAttribute'](_0x523b82['key'],_0xfd2757);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x26ab8d);}}function av(_0x35b720,_0x19670d,_0x34f033){for(const _0x1338c5 of _0x19670d['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1338c5['root']==_0x1338c5)return!0x1;if(!_0x34f033['containsItem'](_0x1338c5))return!0x1;if(_0x35b720['isObject'](_0x1338c5)||_0x35b720['isLimit'](_0x1338c5))return!0x0;}return!0x1;}function cv(_0x5c4f0c){return _0x5c4f0c['end']['parent']==_0x5c4f0c['start']['nodeAfter']&&_0x5c4f0c['end']['isAtStart'];}function lv(_0x15d7ba,_0x288271,_0x79332b,_0x586e61){const _0x4a74da=_0xb92158=>!_0xb92158['item']['is']('$textProxy')&&!_0x586e61['isObject'](_0xb92158['item']),_0x40ce43=_0x15d7ba['start']['getLastMatchingPosition'](_0x4a74da),_0x1eda42=_0x15d7ba['end']['getLastMatchingPosition'](_0x4a74da,{'direction':'backward'});return(!_0x15d7ba['start']['isEqual'](_0x40ce43)||!_0x15d7ba['end']['isEqual'](_0x1eda42))&&(_0x40ce43['isBefore'](_0x1eda42)?_0x79332b['updateMarker'](_0x288271,{'range':_0x79332b['createRange'](_0x40ce43,_0x1eda42)}):_0x79332b['removeMarker'](_0x288271),!0x0);}function hv(_0x3204e8){return Dd(_0x3204e8);}function uv(_0x35385d){const _0x53e813=_0x35385d['start']['nodeAfter'];return _0x53e813&&_0x53e813['is']('element');}function dv(_0x29e5ca){return cv(_0x29e5ca)||function(_0x1f12a9){return _0x1f12a9['start']['parent']==_0x1f12a9['end']['nodeBefore']&&_0x1f12a9['start']['isAtEnd'];}(_0x29e5ca);}function fv(_0xc29a9f,_0xe89b72){try{const _0xc2c837=_0xc29a9f['getRange']();for(const _0x542646 of _0xe89b72)if(_0xc29a9f!==_0x542646&&_0xc2c837&&_0xc2c837['isIntersecting'](_0x542646['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function mv(_0x3e188e,_0x2ea8d8){return null==_0x3e188e['end']['nodeBefore']&&_0x3e188e['end']['parent']==_0x3e188e['start']['nodeAfter']?gv(_0x3e188e['start']['nodeAfter'],_0x2ea8d8):_0x3e188e;}function gv(_0x1f9d11,_0x5a90e1){const _0x44f74d=_0x5a90e1['schema']['isObject'](_0x1f9d11)||_0x5a90e1['schema']['isSelectable'](_0x1f9d11);return _0x5a90e1['createRange'](_0x5a90e1['createPositionAt'](_0x1f9d11,'before'),_0x44f74d?_0x5a90e1['createPositionAfter'](_0x1f9d11):_0x5a90e1['createPositionAt'](_0x1f9d11,'end'));}function pv(_0x2d3f88,_0x149a8a,_0x202337,_0x370331){return!!Ov(_0x2d3f88,_0x149a8a)&&_0x202337['end']['isEqual'](_0x370331['start']);}function Ov(_0xe97d99,_0x277867){if(!_0xe97d99['_isDataLoaded']||!_0x277867['_isDataLoaded'])return!0x1;const _0x9715b0=new Set(Object['keys'](_0xe97d99['attributes'])),_0x10fbbe=new Set(Object['keys'](_0x277867['attributes']));if(_0x9715b0['delete']('groupId'),_0x10fbbe['delete']('groupId'),0x0==_0x9715b0['size']&&0x0==_0x10fbbe['size'])return!0x0;if(_0x9715b0['size']!=_0x10fbbe['size'])return!0x1;const _0x8ba0d4={..._0xe97d99['attributes']},_0x2f2ab1={..._0x277867['attributes']};return delete _0x8ba0d4['groupId'],delete _0x2f2ab1['groupId'],JSON['stringify'](_0x8ba0d4)==JSON['stringify'](_0x2f2ab1);}function wv(_0x3bfed2,_0xf795f9){const _0x519c2d=bv(_0x3bfed2['attributes']),_0x44363f=bv(_0xf795f9);if(!_0x3bfed2['_isDataLoaded'])return!0x1;for(const _0x58f350 of Object['keys'](_0x44363f))if(!qr(_0x519c2d[_0x58f350],_0x44363f[_0x58f350]))return!0x1;return!0x0;}function bv(_0x527a67){const _0x128c5c=Object['assign']({},_0x527a67);return delete _0x128c5c['skipNestingCheck'],delete _0x128c5c['tablePasteChainId'],_0x128c5c;}function yv(_0x3385ae){return _0x3385ae['split']('|')[0x0];}class SuggestionController extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x5c2d05,_0x108acf,_0x4c3921,_0x111ce8){super(),this['model']=_0x108acf,this['view']=_0x4c3921,this['commentThreadController']=_0x111ce8,this['_editor']=_0x5c2d05,this['_acceptCommand']=_0x5c2d05['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x5c2d05['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x46edc1,_0x183dd8)=>_0x46edc1||_0x183dd8),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x3feb16=>_0x3feb16&&this['_editor']['model']['canEditAt'](_0x108acf['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x1d344d=>_0x1d344d&&this['_editor']['model']['canEditAt'](_0x108acf['getRanges']())),this['_pendingAction']=null,_0x4c3921['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x4c3921,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x4c3921,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x4c3921,'change:isDirty',()=>{_0x4c3921['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 _0x3f63b7=jy(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x3f63b7);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends _0xa34d16{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x3e52bb,_0x2fb045,_0x33915a,_0xe005ee){super(_0x3e52bb),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x3e52bb,jy(_0x3e52bb,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x2fb045['authoredAt']),this['bind']('authoredAt')['to'](_0x2fb045),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',_0x2fb045,'authoredAt',this,'descriptionParts',(_0x43d9cf,_0x7f87e5,_0x51115c)=>{const _0x3fe301=_0x51115c['map'](_0x5f5370=>Dy(_0x5f5370['content']))['join']('.\x20')+'.';return jy(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x43d9cf-0x1,_0x2fb045['author']['name'],_0x7f87e5?_0xe005ee['formatDateTime'](_0x7f87e5):'',new DOMParser()['parseFromString'](_0x3fe301,'text/html')['body']['textContent']]);}),this['focusables']=new Et(),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x390df1=>_0x390df1['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x2fb045,this['_localUser']=_0x33915a,this['_config']=_0xe005ee,_0xe005ee['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),Wd(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x3a2414}=this['_config'];this['commentsListView']=new _0x3a2414(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',_0x2acbe7=>_0x2acbe7+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x252350,_0xa3ff91)=>_0x252350||!!_0xa3ff91);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x1a05ad}=this['_config'],_0x1ac34c=new _0x1a05ad(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x3766d5=_0x1ac34c['commentInputView'];return _0x1ac34c['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x3766d5,'value',(_0x3fec49,_0x1b4f10,_0x3c0c91)=>!!_0x3c0c91||_0x3fec49&&!_0x1b4f10),_0x3766d5['on']('submit',(_0xc45741,_0x49654a)=>{this['fire']('addComment',_0x49654a),_0x3766d5['editor']['setData']('');}),_0x3766d5['on']('cancel',()=>this['focus']()),_0x3766d5['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x1ac34c;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x432db8,_0x298c34,_0x4c83ff,_0x54ffa3){super(_0x432db8,_0x298c34,_0x4c83ff,_0x54ffa3),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x15f0aa=>_0x15f0aa&&_0x15f0aa[0x0]?_0x15f0aa[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x27d6e,_0x17e857)=>{let _0x1984cb='';for(const _0x48c443 of _0x27d6e)_0x1984cb+='<p>'+Dy(_0x48c443['content'],_0x48c443['color'])+'</p>';return _0x17e857?_0x1984cb:Nd(_0x1984cb,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x54ffa3['SuggestionView'](_0x432db8,_0x298c34,{'formatDateTime':_0x54ffa3['formatDateTime']}),this['suggestionView']['bind']('description')['to'](this),this['suggestionView']['delegate']('acceptSuggestion','discardSuggestion')['to'](this),this['suggestionView']['acceptButton']['bind']('isEnabled')['to'](this,'canAccept'),this['suggestionView']['discardButton']['bind']('isEnabled')['to'](this,'canDiscard'),this['focusables']['add'](this['suggestionView']),this['commentsListView']&&this['focusables']['add'](this['commentsListView']),this['commentThreadInputView']&&this['focusables']['add'](this['commentThreadInputView']),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x3ce043=this['bindTemplate'],_0x3826f4=[this['suggestionView']];this['commentsListView']&&_0x3826f4['push'](this['commentsListView']),this['commentThreadInputView']&&_0x3826f4['push'](this['commentThreadInputView']),_0x3826f4['push'](this['ariaDescriptionView']);const _0x19c862={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x3ce043['if']('isActive','ck-suggestion-wrapper--active'),_0x3ce043['to']('type',_0x407f3b=>'ck-suggestion-'+_0x407f3b),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':_0x3ce043['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x3826f4};return _0x19c862;}['render'](){super['render'](),this['commentsListView']&&(this['commentsListView']['delegate']('editorReady')['to'](this),this['commentsListView']['delegate']('editorDestroyed')['to'](this)),this['commentThreadInputView']&&(this['commentThreadInputView']['delegate']('editorReady')['to'](this),this['commentThreadInputView']['delegate']('editorDestroyed')['to'](this));}}class SuggestionView extends _0xa34d16{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x42ca3c,_0x1cd7b3,_0x1f821f){super(_0x42ca3c),this['_model']=_0x1cd7b3,this['_config']=_0x1f821f,this['set']('description',''),this['bind']('authoredAt')['to'](_0x1cd7b3),this['acceptButton']=this['_createButton'](jy(_0x42ca3c,'Accept\x20suggestion'),_0x253584,'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](jy(_0x42ca3c,'Discard\x20suggestion'),_0x3f6f57,'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new UserView(_0x42ca3c,_0x1cd7b3['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new Et([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['focusCycler']=new et({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x637216=>_0x637216['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0xe95111=this['element']['querySelector']('.ck-annotation__content-wrapper');_0xe95111['innerHTML']=this['description'],this['on']('change:description',(_0x30ec4f,_0x1e35e3,_0x314b3f)=>{_0xe95111['innerHTML']=_0x314b3f;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x37e871=this['bindTemplate'],_0x70ec21=[{'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':_0x37e871['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x37e871['to']('authoredAt',_0x3152e2=>this['_config']['formatDateTime'](_0x3152e2))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];return this['_model']['isExternal']&&_0x70ec21['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation'],'tabindex':-0x1},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main'],'role':'presentation'},'children':_0x70ec21}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?jy(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):jy(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?jy(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):jy(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x5e3d37,_0x2871c1,_0x396640,_0x1c4532,_0x5d6f19){const _0x3f68d1=new LateFocusButtonView(this['locale']);return _0x3f68d1['set']({'label':_0x5e3d37,'icon':_0x2871c1,'tooltip':!0x0,'tooltipPosition':_0x5d6f19}),_0x3f68d1['extendTemplate']({'attributes':{'class':_0x396640}}),_0x3f68d1['on']('execute',()=>{this['fire'](_0x1c4532,this['_model']['id']);}),_0x3f68d1;}['_setupKeyboardNavigation'](){const _0x3f74f6=this['element'];this['keystrokes']['listenTo'](_0x3f74f6);for(const _0x81cd5e of this['focusables'])this['focusTracker']['add'](_0x81cd5e['element']),this['keystrokes']['listenTo'](_0x81cd5e['element']);this['keystrokes']['set']('enter',(_0xe528bf,_0x116929)=>{_0x3f74f6===_0xe528bf['target']&&(this['focusCycler']['focusFirst'](),_0x116929());}),this['keystrokes']['set']('esc',(_0x401648,_0x40b1c4)=>{_0x3f74f6!==_0x401648['target']&&(this['focus'](),_0x40b1c4());});}}class TrackChangesUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,Users,CommentsRepository,Annotations,EditorAnnotations];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3fd630){super(_0x3fd630),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x4d7265=this['editor']['config'];_0x4d7265['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x4d7265['define']('trackChanges.SuggestionView',SuggestionView),_0x4d7265['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x4d7265['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x1b0618,_0x1b4be6){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x59a58b,_0xb5f343]of this['_handleControllerBuffer']){const _0x397fe3=this['_suggestionToController']['has'](_0x59a58b);_0x397fe3||_0xb5f343?_0x397fe3&&_0xb5f343&&this['_destroyController'](_0x59a58b):this['_initializeController'](_0x59a58b);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](EditorAnnotations)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x1b0618,_0x1b4be6);}['init'](){const _0x5e7121=this['editor'],_0x574438=_0x5e7121['plugins']['get'](TrackChangesEditing),_0x1416bd=_0x5e7121['plugins']['get'](Annotations),_0x1cfb13=_0x5e7121['plugins']['get'](EditorAnnotations),_0x2fe424=_0x5e7121['plugins']['get'](CommentsRepository);this['_addUIComponentsToFactory'](),_0x1cfb13['addSourceCollector'](()=>{const _0x3c8c94=[];for(const [_0x5d5b02,_0xb78fd3]of Array['from'](this['_suggestionToController'])){const _0x47b948=_0x5d5b02['getAllAdjacentSuggestions'](),_0x2fb74d=[];for(const _0xecd14e of _0x47b948){if(!_0xecd14e['isInContent'])continue;if(_0xecd14e['isMultiRange']){_0x2fb74d['push'](..._0xecd14e['getRanges']());continue;}const _0x49ead5=_0xecd14e['getFirstRange']();if(_0x2fb74d['length']>0x0){const _0x5f3b23=_0x2fb74d[0x0]['getJoined'](_0x49ead5);if(_0x5f3b23){_0x2fb74d[0x0]=_0x5f3b23;continue;}}_0x2fb74d['push'](_0x49ead5);}_0x3c8c94['push']([_0xb78fd3['view'],_0x2fb74d]);}return _0x3c8c94;}),this['listenTo'](_0x574438,'suggestionLoaded',(_0x31561f,_0x23a837)=>{this['listenTo'](_0x23a837,'change:previous',(_0x2a4cd4,_0x44d23b,_0x1a17dc,_0x2ec46c)=>{_0x23a837['isInContent']&&(null==_0x1a17dc?(this['_updateController'](_0x2ec46c['head']),this['_handleSuggestionControllerDelayed'](_0x23a837,!0x1)):(this['_updateController'](_0x1a17dc['head']),null==_0x2ec46c&&this['_handleSuggestionControllerDelayed'](_0x23a837,!0x0)));}),null!==_0x23a837['previous']?this['_updateController'](_0x23a837['head']):this['_handleSuggestionControllerDelayed'](_0x23a837,!0x1);}),this['listenTo'](_0x574438,'suggestionUnloaded',(_0x28675e,_0x3002c1,_0x4ef880)=>{this['stopListening'](_0x3002c1,'change:previous'),this['_handleControllerBuffer']['delete'](_0x3002c1),this['_suggestionToController']['has'](_0x3002c1)&&this['_destroyController'](_0x3002c1),_0x4ef880&&this['_updateController'](_0x4ef880['head']);}),this['listenTo'](_0x574438,'suggestionChanged',(_0x41f41f,_0x5768f4)=>{this['_updateController'](_0x5768f4);}),this['listenTo'](_0x1416bd,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x2fe424,'addComment',(_0x5725d6,{threadId:_0x173dd8,isFromAdapter:_0xe4a0fa})=>{if(_0xe4a0fa||!_0x574438['hasSuggestion'](_0x173dd8))return;const _0x5377ba=_0x574438['getSuggestion'](_0x173dd8);this['_suggestionToController']['get'](_0x5377ba)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5345fc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x367d2f;for(const _0x2e9484 in _0x5345fc){const _0x505c4c=_0x2e9484,_0x37fd10=_0x5345fc[_0x505c4c];if('trackChangesLicenseKeyValid'==_0x37fd10||'trackChangesLicenseKeyInvalid'==_0x37fd10||'trackChangesLicenseKeyExpired'==_0x37fd10||'trackChangesLicenseKeyDomainLimit'==_0x37fd10||'trackChangesLicenseKeyNotAllowed'==_0x37fd10||'trackChangesLicenseKeyEvaluationLimit'==_0x37fd10||'trackChangesLicenseKeyUsageLimit'==_0x37fd10){delete _0x5345fc[_0x505c4c],_0x367d2f=_0x37fd10,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x367d2f&&_0x5345fc['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x367d2f&&_0x5345fc['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x367d2f&&_0x5345fc['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x367d2f&&_0x5345fc['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x367d2f&&_0x5345fc['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x367d2f&&_0x5345fc['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x3202d6){const _0x24e646=this['_suggestionToController']['get'](_0x3202d6);if(!_0x24e646)return null;return this['editor']['plugins']['get'](Annotations)['getByInnerView'](_0x24e646['view'])||null;}['getSuggestionForAnnotation'](_0x40a23d){const _0xb284d4=this['_viewToController']['get'](_0x40a23d['innerView']);return _0xb284d4?_0xb284d4['model']:null;}['_refreshActiveMarkers'](){const _0x291bca=this['editor']['plugins']['get'](Annotations),_0x14c814=this['editor']['plugins']['get'](TrackChangesEditing),_0x513229=Array['from'](_0x291bca['activeAnnotations'],_0x4b8e38=>_0x4b8e38['innerView'])['filter'](_0x580bcd=>this['_viewToController']['has'](_0x580bcd)),_0x4f52ec=[];for(const _0x4ac84d of _0x513229){const _0x457a45=this['_viewToController']['get'](_0x4ac84d)['model']['getAllAdjacentSuggestions']();_0x4f52ec['push'](..._0x457a45['reduce']((_0x923445,_0x18efc4)=>[..._0x923445,..._0x18efc4['getMarkerNames']()],[]));}_0x14c814['activeMarkers']=_0x4f52ec;}['_addUIComponentsToFactory'](){const _0x3c8b98=this['editor'],_0x414c59=_0x3c8b98['locale'],_0x15922b=jy(_0x414c59,'Track\x20changes'),_0x3285c5=new _0x47a54f([{'type':'switchbutton','model':new Ot({'withText':!0x0,'isToggleable':!0x0,'label':_0x15922b,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new Ot({'withText':!0x0,'label':jy(_0x414c59,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new Ot({'withText':!0x0,'label':jy(_0x414c59,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new Ot({'withText':!0x0,'label':jy(_0x414c59,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new Ot({'withText':!0x0,'label':jy(_0x414c59,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x3c8b98['plugins']['has']('TrackChangesPreview')&&_0x3285c5['addMany']([{'type':'separator'},{'type':'button','model':new Ot({'withText':!0x0,'label':jy(_0x414c59,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x9ad262 of _0x3285c5)if(vv(_0x9ad262)){const _0x3902e5=_0x3c8b98['commands']['get'](_0x9ad262['model']['commandName']);_0x9ad262['model']['bind']('isOn','isEnabled')['to'](_0x3902e5,'value','isEnabled');}_0x3c8b98['ui']['componentFactory']['add']('trackChanges',_0x5e36df=>this['_createToolbarButton'](_0x5e36df,_0x3285c5,_0x15922b)),_0x3c8b98['ui']['componentFactory']['add']('menuBar:trackChanges',_0x363d7e=>this['_createMenuBarMenu'](_0x363d7e,_0x3285c5,_0x15922b));}['_createToolbarButton'](_0x11591b,_0x5edfee,_0x5de860){const _0x2938dd=nt(_0x11591b,Ft),_0x373c44=this['editor']['commands']['get']('trackChanges');_0x2938dd['buttonView']['set']({'tooltip':_0x5de860,'label':_0x5de860,'icon':_0x5d5180}),_0x2938dd['buttonView']['bind']('isOn')['to'](_0x373c44,'value'),_0x2938dd['buttonView']['on']('execute',()=>{_0x373c44['execute'](),this['editor']['editing']['view']['focus']();}),pt(_0x2938dd,_0x5edfee,{'role':'menu'});const _0x3df7d6=[];for(const _0x4b777b of _0x5edfee)vv(_0x4b777b)&&_0x3df7d6['push'](this['editor']['commands']['get'](_0x4b777b['model']['commandName']));const _0x16113a=_0x2938dd['buttonView'];return _0x16113a['actionView']['unbind']('isEnabled'),_0x16113a['arrowView']['unbind']('isEnabled'),_0x16113a['actionView']['bind']('isEnabled')['to'](_0x373c44,'isEnabled'),_0x16113a['arrowView']['bind']('isEnabled')['toMany'](_0x3df7d6,'isEnabled',(..._0x19e5b3)=>_0x19e5b3['some'](_0x364f72=>_0x364f72)),_0x2938dd['on']('execute',_0x332ecc=>{this['editor']['execute'](_0x332ecc['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x2938dd;}['_createMenuBarMenu'](_0x466837,_0x268280,_0x5cbe96){const _0x595d1e=new ot(_0x466837),_0x2c5c30=this['editor']['commands']['get']('trackChanges');_0x595d1e['buttonView']['set']({'label':_0x5cbe96,'icon':_0x5d5180});const _0x4bc535=new lt(_0x466837);for(const _0x54cadf of _0x268280){if('separator'==_0x54cadf['type']){_0x4bc535['items']['add'](new qt(_0x466837));continue;}const _0x4d4393=new ht(_0x466837,_0x595d1e),_0x864b71=new at(_0x466837),_0x4658e5=_0x54cadf['model'];_0x864b71['bind'](...Object['keys'](_0x4658e5))['to'](_0x4658e5),_0x864b71['delegate']('execute')['to'](_0x595d1e),_0x864b71['on']('execute',()=>{this['editor']['execute'](_0x4658e5['commandName']),this['editor']['editing']['view']['focus']();}),_0x4d4393['children']['add'](_0x864b71),_0x4bc535['items']['add'](_0x4d4393);}return _0x595d1e['bind']('isEnabled')['to'](_0x2c5c30,'isEnabled'),_0x595d1e['panelView']['children']['add'](_0x4bc535),_0x595d1e;}['_initializeController'](_0xaed2e7){const _0xe2480d=this['editor'],_0x5c2a53=_0xe2480d['config'],_0x55f9aa=_0xe2480d['plugins']['get'](Annotations),_0xd48c5e=_0xe2480d['plugins']['get'](CommentsRepository),_0x3b32ea=_0xe2480d['plugins']['get'](EditorAnnotations),_0xe62660=_0xe2480d['plugins']['get'](Users)['me'],_0x4dd7d4=_0x5c2a53['get']('trackChanges')['SuggestionThreadView'],_0x1b2192=_0x5c2a53['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x256964,CommentThreadInputView:_0x4cd767}=_0xe2480d['plugins']['get']('CommentsUI');let _0x406a48,_0x23f113,_0x40c60d;this['_annotationViews']['has'](_0xaed2e7['id'])?(_0x23f113=this['_annotationViews']['get'](_0xaed2e7['id']),_0x406a48=_0x23f113['mainView']):(_0x406a48=new _0x4dd7d4(_0xe2480d['locale'],_0xaed2e7,_0xe62660,{'disableComments':this['_disableComments'],'editorConfig':{..._0x5c2a53['get']('comments.editorConfig'),'licenseKey':_0x5c2a53['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x5c2a53['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x5c2a53['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x5c2a53['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':Rd(_0x5c2a53['get']('locale'),_0xe2480d['locale']),'CommentView':_0x5c2a53['get']('comments')['CommentView'],'CommentsListView':_0x256964,'CommentThreadInputView':_0x4cd767,'SuggestionView':_0x1b2192}),_0x406a48['suggestionView']['acceptButton']['on']('execute',()=>{_0xe2480d['editing']['view']['focus']();}),_0x406a48['suggestionView']['discardButton']['on']('execute',()=>{_0xe2480d['editing']['view']['focus']();}),_0x23f113=_0x55f9aa['createAnnotationView'](this['editor']['locale'],_0x406a48),_0x23f113['bind']('isDirty')['to'](_0x406a48,'isDirty'),_0x23f113['bind']('length')['to'](_0x406a48),_0x23f113['bind']('type')['to'](_0x406a48,'type',_0x3dac96=>'suggestion-'+_0x3dac96),_0x406a48['on']('escape',()=>{_0x40c60d['fire']('escape');}),this['_annotationViews']['set'](_0xaed2e7['id'],_0x23f113));const _0x2b0879=_0xd48c5e['createCommentThreadController'](_0xaed2e7['commentThread'],_0x406a48),_0x25846a=new SuggestionController(_0xe2480d,_0xaed2e7,_0x406a48,_0x2b0879),_0x3dbcbe=_0xaed2e7['getAllAdjacentSuggestions']()['filter'](_0x406878=>_0x406878['isInContent']);_0x406a48['descriptionParts']=_0xe2480d['plugins']['get'](TrackChangesEditing)['descriptionFactory']['getDescriptions'](_0x3dbcbe),this['_suggestionToController']['set'](_0xaed2e7,_0x25846a),this['_viewToController']['set'](_0x406a48,_0x25846a);const _0x15c649=()=>{const _0x4a23c0=[],_0x702b8=_0xaed2e7['getAllAdjacentSuggestions']()['filter'](_0x1eb534=>_0x1eb534['isInContent']);for(const _0x35d0fd of _0x702b8)_0x4a23c0['push'](..._0x35d0fd['getMarkers']());return Md(_0xe2480d['editing'],_0x4a23c0);};_0x40c60d=_0x55f9aa['createAnnotation']({'view':_0x23f113,'target':_0x15c649,'type':()=>'suggestion-'+_0x25846a['view']['type'],'isVisible':!!_0x15c649()}),_0xd48c5e['_bindAnnotationToEditors'](_0x406a48,_0x40c60d),_0x55f9aa['add'](_0x40c60d),_0x3b32ea['registerAnnotation'](_0x40c60d);}['_destroyController'](_0x3e9a1f){const _0x1ca359=this['editor']['plugins']['get'](CommentsRepository),_0x562f2f=this['editor']['plugins']['get'](Annotations),_0x5bae8d=this['_suggestionToController']['get'](_0x3e9a1f),_0x3ed5bf=_0x5bae8d['view'],_0x22ff81=_0x562f2f['getByInnerView'](_0x3ed5bf);_0x1ca359['_unbindEditors'](_0x3ed5bf),_0x22ff81&&_0x562f2f['remove'](_0x22ff81),this['_suggestionToController']['delete'](_0x3e9a1f),this['_viewToController']['delete'](_0x3ed5bf),_0x5bae8d['destroy']();}['_updateController'](_0x1b3b41){if(!_0x1b3b41['isInContent']||!this['_suggestionToController']['has'](_0x1b3b41))return;const _0x124c2f=this['editor']['plugins']['get'](TrackChangesEditing),_0x3ac990=this['_suggestionToController']['get'](_0x1b3b41),_0x559327=_0x1b3b41['getAllAdjacentSuggestions']();_0x3ac990['view']['descriptionParts']=_0x124c2f['descriptionFactory']['getDescriptions'](_0x559327);}['destroy'](){for(const _0x25cd8b of this['_suggestionToController']['keys']())this['_destroyController'](_0x25cd8b);for(const _0x1da139 of this['_annotationViews']['values']())_0x1da139['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function vv(_0x4b2668){return'model'in _0x4b2668;}class TrackChanges extends _0x151d85{static get['requires'](){return[TrackChangesEditing,TrackChangesUI,Comments];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x1bdaeb){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x1bdaeb;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x217404){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x217404);}['getSuggestions']({skipNotAttached:_0x165162=!0x1,toJSON:_0x14237e=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x165162,'toJSON':_0x14237e});}['getSuggestion'](_0x481fae){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x481fae);}}const _v=['Pagination'];class TrackChangesData extends _0x151d85{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2b0643=this['editor'];if(_0x2b0643['config']['define']('trackChangesData.editorCreator',_0x296182=>{const _0x4a5e61=_0x2b0643['model']['document']['getRootNames']()['reduce']((_0x458109,_0x33bd18)=>(_0x458109[_0x33bd18]='',_0x458109),{});return _0x2b0643['constructor']['create'](_0x4a5e61,_0x296182);}),'function'!=typeof _0x2b0643['config']['get']('trackChangesData')['editorCreator'])throw new _0x522f1f('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x270652){return Tv(this['editor'],!0x0,_0x270652);}['getDataWithDiscardedSuggestions'](_0x481118){return Tv(this['editor'],!0x1,_0x481118);}}class TrackChangesDataGetter extends _0x151d85{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x156589){function _0x3750d0(_0x1ba719){return _0x1ba719['map'](_0x224086=>String['fromCharCode'](_0x224086))['join']('');}super(_0x156589),this['result']='end',_0x156589[_0x3750d0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3750d0([0x76,0x69,0x65,0x77])][_0x3750d0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3750d0([0x61,0x75,0x74,0x6f]),_0x156589[_0x3750d0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3750d0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3750d0([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3750d0([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3750d0([0x6f,0x6b])});}['init'](){this['editor']['plugins']['get']('CommentsRepository')['_adapter']={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this['editor']['plugins']['get']('TrackChangesEditing')['_adapter']=null;}}function Ev(_0x4f552b){return void 0x0!==_0x4f552b['getRootsAttributes'];}async function Tv(_0x2bb76,_0x51d59b,_0x5595cf){const _0x3a7681=Zd(_0x2bb76,_v);if(_0x3a7681['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),Ev(_0x2bb76)){_0x3a7681['roots']=Object['create'](null);for(const _0x18511e of _0x2bb76['model']['document']['getRootNames']())_0x3a7681['roots'][_0x18511e]={'modelAttributes':_0x2bb76['getRootAttributes'](_0x18511e)};}const _0x23603d=document['createDocumentFragment'](),_0x13278b=_0x2bb76['config']['get']('trackChangesData')['editorCreator'],_0x377f89=await _0x13278b(_0x3a7681,()=>function(_0x485e6a){const _0x48deca=document['createElement']('div');return _0x485e6a['appendChild'](_0x48deca),_0x48deca;}(_0x23603d));!function(_0x2bd204,_0x211995){const _0x56b292=_0x2bd204['model']['document']['getRootNames']()['reduce']((_0x2569de,_0x3c5822)=>(_0x2569de[_0x3c5822]=_0x2bd204['data']['get']({'rootName':_0x3c5822}),_0x2569de),{}),_0x555400=_0x2bd204['plugins']['get']('Users')['users']['map'](_0x3da623=>({'id':_0x3da623['id'],'name':_0x3da623['name']})),_0x3050f8=_0x2bd204['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3f13b3=_0x2bd204['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x541e34=_0x211995['plugins']['get']('Users'),_0x15ee01=_0x211995['plugins']['get']('TrackChangesEditing'),_0xd36bc6=_0x211995['plugins']['get']('CommentsRepository');for(const _0xfaf705 of _0xd36bc6['getCommentThreads']())_0xfaf705['remove']();for(const _0x247895 of _0x555400)_0x541e34['getUser'](_0x247895['id'])||_0x541e34['addUser'](_0x247895);_0x541e34['me']||_0x541e34['useAnonymousUser']();for(const _0x4c5283 of _0x3f13b3)_0xd36bc6['addCommentThread'](_0x4c5283);for(const _0x10e71b of _0x3050f8)_0x15ee01['addSuggestionData'](_0x10e71b);_0x211995['data']['set'](_0x56b292);}(_0x2bb76,_0x377f89),_0x377f89['execute'](_0x51d59b?'acceptAllSuggestions':'discardAllSuggestions');const _0x50e3cb=Ev(_0x377f89)?_0x377f89['getFullData'](_0x5595cf):_0x377f89['data']['get'](_0x5595cf);return await _0x377f89['destroy'](),_0x50e3cb;}class TrackChangesPreviewView extends _0xa34d16{['options'];constructor(_0x244f4,_0x444719){super(_0x244f4),this['options']=_0x444719,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'](_0x3d0cc6,_0x5b91c7){if(!this['element'])return;const _0x55f07e=[];for(const [_0x282763,_0x5b18fc]of _0x3d0cc6){const _0xe83c7b=document['createElement']('div');_0xe83c7b['setAttribute']('data-ck-root-name',_0x282763),_0xe83c7b['className']=_0x5b18fc['classes']+'\x20ck-track-changes-preview__root-container',_0xe83c7b['innerHTML']=_0x5b18fc['content'],_0x55f07e['push'](_0xe83c7b);}_0x5b91c7(this['element'],_0x55f07e),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0x208eac{constructor(_0x2d18bb){super(_0x2d18bb),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xee2632=this['editor'],_0x393d91=_0xee2632['locale'],_0x2d645f=_0xee2632['plugins']['get']('Dialog');let _0x5293b8;const _0x52ed17=function(_0x5c9d4e){const _0xd974bb={};if('editables'in _0x5c9d4e['ui']['view']){for(const [_0x90b1c4,_0x4399f4]of Object['entries'](_0x5c9d4e['ui']['view']['editables']))_0xd974bb[_0x90b1c4]=_0x4399f4['element'];}else _0xd974bb[_0x5c9d4e['model']['document']['getRootNames']()[0x0]]=_0x5c9d4e['ui']['view']['editable']['element'];return _0xd974bb;}(_0xee2632),_0x543dd4=function(_0x4d2b0b){let _0xe5e8fe=0x0;for(const _0x3f036a of Object['values'](_0x4d2b0b))_0xe5e8fe=Math['max'](_0xe5e8fe,_0x3f036a['getBoundingClientRect']()['width']);let _0xf10659=0x0;for(const _0x475c4d of Object['values'](_0x4d2b0b))_0xf10659+=_0x475c4d['getBoundingClientRect']()['height'];const _0x243ae4=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']),_0x21734d=Math['min'](_0xf10659,_0x243ae4);return{'width':_0xe5e8fe,'height':_0x21734d};}(_0x52ed17);_0x2d645f['show']({'id':'finalContentPreview','title':jy(_0x393d91,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new TrackChangesPreviewView(_0x393d91,{'dialogRects':_0x543dd4}),'onHide':()=>{_0x5293b8['detachFromDom']();},'onShow':()=>{_0xee2632['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x81aadb=>{const _0xfbec5c=this['_standarizeRootsData'](_0x81aadb,_0xee2632,_0x52ed17);_0x2d645f['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0xfbec5c,_0xee2632['config']['get']('trackChanges.preview.renderFunction'));}),_0x5293b8=new ft(_0x393d91,[_0x2d645f['view']]),_0x5293b8['attachToDom'](),_0x5293b8['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0xee2632['once']('destroy',()=>{_0x5293b8['detachFromDom']();});const _0x362a85=_0x2d645f['view']['headerView']['class'];_0x2d645f['view']['headerView']['class']=_0x362a85?_0x362a85+'\x20ck-reset_all':'ck-reset_all',_0x2d645f['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x2d645f['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0xaf4001=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x453ba5=_0xaf4001['previewMode'],_0x581596={};if('$labels'===_0x453ba5){for(const _0x193129 of _0xaf4001['getMergeFieldsIds']())_0x581596[_0x193129]=_0xaf4001['getLabel'](_0x193129)||_0x193129;}else{const _0x4828e6='$defaultValues'===_0x453ba5?_0xaf4001['getDefaultValues']():_0xaf4001['getDataSetValues'](_0x453ba5,!0x0);for(const _0x5b4a5a of Object['entries'](_0x4828e6)){const [_0x144306,_0xb0ec95]=_0x5b4a5a;_0x581596[_0x144306]=null!==_0xb0ec95?_0xb0ec95:_0xaf4001['getLabel'](_0x144306)||_0x144306;}}return{'mergeFieldsData':_0x581596};}['_standarizeRootsData'](_0x446010,_0xe2bde6,_0x23eebb){let _0x5282e5;if('string'==typeof _0x446010){const _0x58871f=_0xe2bde6['model']['document']['getRootNames']()[0x0];_0x5282e5={[_0x58871f]:_0x446010};}else _0x5282e5=_0x446010;const _0x52521e=this['_fixMediaEmbeds'](_0x5282e5,_0xe2bde6),_0xf0195c=function(_0x1382d4,_0x4f5b57){for(const [_0x141fe2,_0x155e2d]of _0x1382d4)_0x155e2d['classes']=_0x4f5b57[_0x141fe2]['classList']['value']['replace']('ck-focused','');return _0x1382d4;}(this['_sortRoots'](_0xe2bde6)['reduce']((_0x11375e,_0x119659)=>(_0x11375e['push']([_0x119659,{'content':_0x52521e[_0x119659],'classes':''}]),_0x11375e),[]),_0x23eebb);return _0xf0195c;}['_fixMediaEmbeds'](_0x531cf2,_0x759a9b){if(!_0x759a9b['plugins']['has']('MediaEmbedEditing'))return _0x531cf2;const _0x224a3f=_0x759a9b['plugins']['get']('MediaEmbedEditing');for(const [_0x1c3a72,_0x2e1564]of Object['entries'](_0x531cf2)){const _0x53f4f8=document['createElement']('div');_0x53f4f8['innerHTML']=_0x2e1564,(_0x53f4f8['querySelectorAll']('figure.media')['forEach'](_0x21139c=>{const _0x377772=_0x21139c['querySelector']('oembed');if(_0x377772){const _0x219097=_0x377772['getAttribute']('url');if(_0x219097){const _0x1e1551=_0x224a3f['registry']['getMediaViewElement'](new _0x5dc9b1(_0x759a9b['editing']['view']['document']),_0x219097,{'elementName':'','renderForEditingView':!0x0}),_0x14cda4=document['createElement']('div');_0x14cda4['classList']['add']('ck-media__wrapper'),_0x1e1551['render'](_0x14cda4,_0x759a9b['editing']['view']['domConverter']),_0x377772['replaceWith'](_0x14cda4);}}}),_0x531cf2[_0x1c3a72]=_0x53f4f8['innerHTML']);}return _0x531cf2;}['_sortRoots'](_0x993c9c){if(!function(_0x5739f6){return void 0x0!==_0x5739f6['getRootsAttributes'];}(_0x993c9c))return _0x993c9c['model']['document']['getRootNames']();const _0x1dc951=[],_0x262df4=new Map();for(const _0x5d80b8 of _0x993c9c['model']['document']['getRootNames']()){const _0xf8c668=_0x993c9c['editing']['view']['getDomRoot'](_0x5d80b8)['getClientRects']()['item'](0x0);_0x1dc951['push'](_0x5d80b8),_0x262df4['set'](_0x5d80b8,_0xf8c668);}return _0x1dc951['sort']((_0x4c9b2a,_0x38a30c)=>{const _0x669f16=_0x262df4['get'](_0x4c9b2a),_0x3f2a1a=_0x262df4['get'](_0x38a30c);return _0x669f16['y']-_0x3f2a1a['y']||_0x669f16['x']-_0x3f2a1a['x'];}),_0x1dc951;}}class TrackChangesPreview extends _0x151d85{static get['requires'](){return[TrackChangesData,st];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x274a49){super(_0x274a49),_0x274a49['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x274a49['config']['define']('trackChanges.preview.renderFunction',(_0x3c10aa,_0x15e7be)=>{for(const _0x59c861 of _0x15e7be)_0x3c10aa['appendChild'](_0x59c861);});}}class CloudServicesCommentsAdapter extends _0x304a5a{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,CommentsRepository,Sessions,Users];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a506c){super(_0x4a506c),this['_services']=new Map();}async['init'](){const _0x51128f=this['context'],_0x2d55ac=_0x51128f['plugins']['get'](CommentsRepository);if(_0x51128f['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x2d55ac['adapter']={'addCommentThread':async({channelId:_0x1760f5,threadId:_0x421b0b,comments:_0x28ae30,resolvedAt:_0xf27a61,resolvedBy:_0x3640d5,context:_0xa0db4a,attributes:_0x482847})=>{const _0x35bf9d=await this['_getService'](_0x1760f5)['addCommentThread']({'commentThreadId':_0x421b0b,'comments':_0x28ae30['map'](_0x4940fd=>function(_0x550d5c,_0xfb2d68,_0x301309){return{'commentThreadId':_0x301309,'commentId':_0x550d5c['commentId'],'userId':_0x550d5c['authorId'],'content':_0x550d5c['content'],'documentId':_0xfb2d68,'createdAt':_0x550d5c['createdAt'],'attributes':_0x550d5c['attributes']||{}};}(_0x4940fd,_0x1760f5,_0x421b0b)),'resolvedAt':_0xf27a61,'resolvedBy':_0x3640d5,'context':_0xa0db4a,'attributes':_0x482847})['catch'](Iv);return{'threadId':_0x35bf9d['commentThreadId'],'comments':_0x35bf9d['comments']};},'getCommentThread':async({channelId:_0x52b886,threadId:_0x53bef4})=>{const _0x184945=await this['_getService'](_0x52b886)['getCommentThread'](_0x53bef4)['catch'](Av)['catch'](Iv);return _0x184945?_0x184945['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x184945]),{'threadId':_0x184945['commentThreadId'],'comments':_0x184945['comments']['map'](Sv),'context':_0x184945['context'],'resolvedAt':_0x184945['resolvedAt'],'resolvedBy':_0x184945['resolvedBy'],'attributes':_0x184945['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x4cf403,threadId:_0x39430c,context:_0x4916b8,unlinkedAt:_0x4a7f87,attributes:_0x4cdeb0})=>this['_getService'](_0x4cf403)['updateCommentThread']({'commentThreadId':_0x39430c,'context':_0x4916b8,'attributes':_0x4cdeb0,'unlinkedAt':_0x4a7f87})['catch'](Av)['catch'](Iv),'resolveCommentThread':async({channelId:_0x3b9067,threadId:_0x393450})=>{const _0x20eeb6=await this['_getService'](_0x3b9067)['resolveCommentThread'](_0x393450)['catch'](Av)['catch'](Iv);return{'threadId':_0x20eeb6['commentThreadId'],'resolvedAt':_0x20eeb6['resolvedAt'],'resolvedBy':_0x20eeb6['resolvedBy']};},'reopenCommentThread':async({channelId:_0x227436,threadId:_0x5dc21b})=>this['_getService'](_0x227436)['reopenCommentThread'](_0x5dc21b)['catch'](Av)['catch'](Iv),'removeCommentThread':({channelId:_0x1da994,threadId:_0x41c45c})=>this['_getService'](_0x1da994)['removeCommentThread'](_0x41c45c)['catch'](Av)['catch'](Iv),'addComment':({channelId:_0x54e703,threadId:_0x5771ee,commentId:_0x3901bf,content:_0x3df731,attributes:_0x267fd8})=>this['_getService'](_0x54e703)['addComment'](_0x5771ee,_0x3901bf,_0x3df731,_0x267fd8)['catch'](Iv),'updateComment':({channelId:_0xdb1675,threadId:_0x2cd139,commentId:_0x154fb2,content:_0x39bdb5,attributes:_0x455ed7})=>this['_getService'](_0xdb1675)['updateComment'](_0x2cd139,_0x154fb2,_0x39bdb5,_0x455ed7)['catch'](Av)['catch'](Iv),'removeComment':({channelId:_0x332634,threadId:_0x1d4581,commentId:_0x197972})=>this['_getService'](_0x332634)['removeComment'](_0x1d4581,_0x197972)['catch'](Av)['catch'](Iv)},_0x51128f instanceof _0x5152d3){const _0x15acf2=_0x51128f['config']['get']('collaboration.channelId'),_0x532f5c=_0x51128f['plugins']['get'](Sessions);await this['_setUpService'](_0x15acf2);const _0xf0b5d2=await this['_services']['get'](_0x15acf2)['getConnectedSessions']();this['listenTo'](_0x532f5c,'sessionAdd:'+_0x15acf2,(_0x3a44c7,{session:_0x43e990})=>{_0x43e990['id']===_0x532f5c['mySessionId']&&(_0x3a44c7['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x43e990['permissions'],_0x15acf2));}),_0x532f5c['register'](_0x15acf2,_0xf0b5d2);}}async['_setUpService'](_0xb6d94c){if(this['_services']['has'](_0xb6d94c))throw new _0x522f1f('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0xb6d94c});const _0x1afac5=this['context']['plugins']['get'](CommentsRepository),_0x2ac163=new CloudServicesCommentsAdapter['CommentsService'](_0xb6d94c);this['_services']['set'](_0xb6d94c,_0x2ac163),this['listenTo'](_0x2ac163,'commentThreadAdded',(_0x1d89bd,_0x3e1c5b)=>{const {commentThreadId:_0x4ae6b0,documentId:_0x4c3d08,context:_0x238549,attributes:_0x31c4d0,resolvedAt:_0x1bcfcb,resolvedBy:_0x1895a2,comments:_0x2786ea}=_0x3e1c5b;_0x1afac5['getCommentThread'](_0x4ae6b0)||_0x1afac5['addCommentThread']({'threadId':_0x4ae6b0,'channelId':_0x4c3d08,'comments':_0x2786ea?_0x2786ea['map'](Sv):[],'context':_0x238549,'attributes':_0x31c4d0,'resolvedAt':_0x1bcfcb,'resolvedBy':_0x1895a2,'isFromAdapter':!0x0});}),this['listenTo'](_0x2ac163,'commentThreadUpdated',(_0x386d33,{commentThreadId:_0xef308,documentId:_0x220385,context:_0x199ba8,unlinkedAt:_0x4c2885,attributes:_0xc77c7a})=>{_0x1afac5['getCommentThread'](_0xef308)&&_0x1afac5['updateCommentThread']({'threadId':_0xef308,'channelId':_0x220385,'context':_0x199ba8,'unlinkedAt':_0x4c2885,'attributes':_0xc77c7a,'isFromAdapter':!0x0});}),this['listenTo'](_0x2ac163,'commentThreadResolved',(_0x21a91a,{commentThreadId:_0x52c6c6,resolvedBy:_0x1d3ab0,resolvedAt:_0x46a1da})=>{const _0x54947c=_0x1afac5['getCommentThread'](_0x52c6c6);_0x54947c&&_0x54947c['resolve']({'resolvedBy':_0x1d3ab0,'resolvedAt':_0x46a1da,'isFromAdapter':!0x0});}),this['listenTo'](_0x2ac163,'commentThreadReopened',(_0x5d0f38,{commentThreadId:_0x235ae9})=>{const _0x196ab9=_0x1afac5['getCommentThread'](_0x235ae9);_0x196ab9&&_0x196ab9['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x2ac163,'commentThreadRemoved',(_0x3c6b75,{commentThreadId:_0x37e7b4})=>{const _0x496ac7=_0x1afac5['getCommentThread'](_0x37e7b4);_0x496ac7&&_0x496ac7['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x2ac163,'commentAdded',(_0x46c102,_0x4ffb6f)=>{const _0x4c23bb=_0x4ffb6f['commentThreadId'],_0x157df8=_0x1afac5['getCommentThread'](_0x4c23bb);_0x157df8&&_0x157df8['addComment']({...Sv(_0x4ffb6f),'isFromAdapter':!0x0});}),this['listenTo'](_0x2ac163,'commentUpdated',(_0x168b8f,{commentThreadId:_0x569261,commentId:_0x595c5c,content:_0x3e28d8,attributes:_0x1bb25d})=>{const _0xb99147=_0x1afac5['getCommentThread'](_0x569261);if(_0xb99147){const _0xa6b847=_0xb99147['getComment'](_0x595c5c);_0xa6b847&&_0xa6b847['update']({'content':_0x3e28d8,'attributes':_0x1bb25d,'isFromAdapter':!0x0});}}),this['listenTo'](_0x2ac163,'commentRemoved',(_0x568e32,{commentThreadId:_0x1e68bb,commentId:_0x1fe308})=>{const _0x1d0df9=_0x1afac5['getCommentThread'](_0x1e68bb);if(_0x1d0df9){const _0x4a86e6=_0x1d0df9['getComment'](_0x1fe308);_0x4a86e6&&_0x4a86e6['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0xb6d94c);}['destroy'](){if(this['context']instanceof _0x5152d3){const _0x42f756=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x42f756);}}['_terminateService'](_0x4b4f57){if(!this['_services']['has'](_0x4b4f57))throw new _0x522f1f('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x4b4f57});this['_getService'](_0x4b4f57)['disconnect'](),this['_services']['delete'](_0x4b4f57);}async['reconnect'](){for(const _0x5c2c01 of this['_services']['keys']())await this['_connectService'](_0x5c2c01);if(this['context']instanceof _0x5152d3){const _0x80ff1e=this['context']['config']['get']('collaboration.channelId'),_0x5f365e=this['context']['plugins']['get'](Sessions);_0x5f365e['unregister'](_0x80ff1e);const _0x42f261=await this['_services']['get'](_0x80ff1e)['getConnectedSessions']();_0x5f365e['register'](_0x80ff1e,_0x42f261);}}async['_connectService'](_0x241eef){const {connection:_0x5840f4}=this['context']['plugins']['get'](WebSocketGateway),_0x465780=this['context']['plugins']['get'](CommentsRepository),_0x22d62d=this['_services']['get'](_0x241eef),_0x7ac09d=await _0x22d62d['connect'](_0x5840f4);await this['_fetchMissingUsersForThreads'](_0x7ac09d);const _0x548778=new Set(Array['from'](_0x465780['getCommentThreads']({'channelId':_0x241eef}),_0x2236c6=>_0x2236c6['id']));for(const _0x1e379b of _0x7ac09d)_0x1e379b['deletedAt']||_0x548778['delete'](_0x1e379b['commentThreadId']);for(const _0x59e25a of _0x548778)_0x465780['getCommentThread'](_0x59e25a)['remove']({'isFromAdapter':!0x0});for(const _0x14cefe of _0x7ac09d){let _0x5140b7=_0x465780['getCommentThread'](_0x14cefe['commentThreadId']);const {commentThreadId:_0x31f524,context:_0x567bf2,attributes:_0x4176c2,resolvedBy:_0x524690,resolvedAt:_0xdf74c7,unlinkedAt:_0x69cf02,deletedAt:_0x35cac7}=_0x14cefe;if(_0x35cac7)continue;_0x5140b7||(_0x5140b7=_0x465780['addCommentThread']({'channelId':_0x241eef,'threadId':_0x31f524,'context':_0x567bf2,'attributes':_0x4176c2||{},'resolvedBy':_0x524690,'resolvedAt':_0xdf74c7,'unlinkedAt':_0x69cf02,'isFromAdapter':!0x0}));const _0x4158dc=new Set(Array['from'](_0x5140b7['comments'],_0x3e1832=>_0x3e1832['id']));for(const _0x4a7620 of _0x14cefe['comments'])_0x4158dc['delete'](_0x4a7620['commentId']);for(const _0x183797 of _0x4158dc)_0x5140b7['getComment'](_0x183797)['remove']({'isFromAdapter':!0x0});for(const _0x1070b0 of _0x14cefe['comments']){const _0xfd1276=_0x5140b7['getComment'](_0x1070b0['commentId']);_0xfd1276?_0xfd1276['content']!==_0x1070b0['content']&&_0xfd1276['update']({'content':_0x1070b0['content'],'isFromAdapter':!0x0}):_0x5140b7['addComment'](Object['assign'](Sv(_0x1070b0),{'isFromAdapter':!0x0}));}}}['_getService'](_0x3c312b){if(!this['_services']['has'](_0x3c312b))throw new _0x522f1f('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x3c312b});return this['_services']['get'](_0x3c312b);}async['_fetchMissingUsersForThreads'](_0x3c5ece){const _0x3ae640=this['context']['plugins']['get'](Users),{connection:_0xa810b1}=this['context']['plugins']['get'](WebSocketGateway),_0x1aea20=new Set();for(const {resolvedBy:_0x110233,comments:_0x1666c4}of _0x3c5ece){_0x110233&&!_0x3ae640['getUser'](_0x110233)&&_0x1aea20['add'](_0x110233);for(const {userId:_0x46b968}of _0x1666c4)_0x3ae640['getUser'](_0x46b968)||_0x1aea20['add'](_0x46b968);}if(0x0===_0x1aea20['size'])return;const _0x5f5dc5=await User['getMany'](_0xa810b1,Array['from'](_0x1aea20));for(const _0x4831f0 of _0x5f5dc5)_0x3ae640['getUser'](_0x4831f0['id'])||_0x3ae640['addUser'](_0x4831f0);}}async function Av(_0x49ab4f){if('404'!==_0x49ab4f['code'])throw _0x49ab4f;}function Iv(_0x193a8b){if((_0x1e442e=_0x193a8b)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x1e442e['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1e442e['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x1e442e;throw _0x193a8b;}function Sv(_0x38cfb3){return{'threadId':_0x38cfb3['commentThreadId'],'commentId':_0x38cfb3['commentId'],'content':_0x38cfb3['content'],'createdAt':_0x38cfb3['createdAt'],'authorId':_0x38cfb3['userId'],'attributes':_0x38cfb3['attributes']||{}};}class CloudServicesTrackChangesAdapter extends _0x151d85{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>TrackChangesService)());['_bufferedRequests'];['_trackChangesService'];static get['requires'](){return[CloudServicesCommentsAdapter,TrackChangesEditing,WebSocketGateway];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x7b057d){super(_0x7b057d);const _0x59c122=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x59c122);}['init'](){const _0x917eec=this['editor']['plugins']['get'](WebSocketGateway),_0x541036=this['editor']['plugins']['get'](TrackChangesEditing);return _0x541036['adapter']={'getSuggestion':async _0xcc9c25=>{await this['_waitForServiceReady']();const _0x32b14c=await this['_trackChangesService']['get'](_0xcc9c25)['catch'](Cv);return await this['_fetchMissingUsersForThreads']([_0x32b14c]),_0x32b14c;},'addSuggestion':async({id:_0x368f2e,type:_0x5a9a3d,data:_0x2ef0b0,originalSuggestionId:_0x20d418,attributes:_0x33b2c4})=>{await this['_waitForServiceReady']();const _0x558900={'id':_0x368f2e,'type':_0x5a9a3d,'data':_0x2ef0b0,'originalSuggestionId':_0x20d418,'attributes':_0x33b2c4},_0x561534=await this['_trackChangesService']['add'](_0x368f2e,_0x5a9a3d,_0x2ef0b0,_0x20d418,_0x33b2c4)['catch'](_0x1a4772=>{if(kv(_0x1a4772))return new Promise(_0x597094=>{this['_bufferedRequests']['set'](_0x368f2e,{'resolve':_0x597094,'suggestionData':_0x558900});});throw _0x1a4772;});return this['_bufferedRequests']['delete'](_0x368f2e),_0x561534;},'updateSuggestion':async(_0x31412d,_0x140499)=>{if(await this['_waitForServiceReady'](),'open'!==_0x140499['state'])return this['_trackChangesService']['update'](_0x31412d,_0x140499)['catch'](Cv);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0xdd7be0,_0x5581b2)=>{_0x541036['hasSuggestion'](_0x5581b2['id'])&&(_0x541036['getSuggestion'](_0x5581b2['id'])['attributes']=_0x5581b2['attributes']);}),this['_trackChangesService']['connect'](_0x917eec['connection'])['then'](_0x44b4a1=>(_0x917eec['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x44b4a1)['then'](()=>{for(const _0x31de1b of _0x44b4a1){_0x541036['addSuggestionData'](_0x31de1b)['_saved']=!0x0;}})));}async['reconnect'](){const _0x2b40d7=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x571a6d}=this['editor']['plugins']['get'](WebSocketGateway),_0x27bac5=await this['_trackChangesService']['connect'](_0x571a6d);await this['_fetchMissingUsersForThreads'](_0x27bac5);for(const {suggestionData:_0x4ae8c3,resolve:_0x4fad3b}of this['_bufferedRequests']['values']()){let _0x30f7da=_0x27bac5['find'](_0x4319ad=>_0x4319ad['id']===_0x4ae8c3['id']);_0x30f7da||(_0x30f7da=await this['_trackChangesService']['add'](_0x4ae8c3['id'],_0x4ae8c3['type'],_0x4ae8c3['data'],_0x4ae8c3['originalSuggestionId'])),_0x4fad3b(_0x30f7da);}for(const _0x5b06bf of _0x27bac5)_0x2b40d7['hasSuggestion'](_0x5b06bf['id'])||_0x2b40d7['addSuggestionData'](_0x5b06bf);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x3cb57f=>{this['listenTo'](this['_trackChangesService'],'connected',_0x14ee77=>{_0x14ee77['off'](),_0x3cb57f();});});}async['_fetchMissingUsersForThreads'](_0x19a595){const _0x473d8f=this['editor']['plugins']['get'](Users),{connection:_0x1a1ac3}=this['editor']['plugins']['get'](WebSocketGateway),_0x56f9b0=new Set();for(const {authorId:_0x31055e}of _0x19a595)_0x473d8f['getUser'](_0x31055e)||_0x56f9b0['add'](_0x31055e);if(0x0===_0x56f9b0['size'])return;const _0x427571=await User['getMany'](_0x1a1ac3,Array['from'](_0x56f9b0));for(const _0xb38e28 of _0x427571)_0x473d8f['getUser'](_0xb38e28['id'])||_0x473d8f['addUser'](_0xb38e28);}}function Cv(_0x379a80){if(kv(_0x379a80))return new Promise(()=>{});throw _0x379a80;}function kv(_0xaffda2){return _0xaffda2['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xaffda2['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends _0x151d85{static get['requires'](){return[Comments,CloudServicesCommentsAdapter,RealTimeCollaborativeEditing,WebSocketGateway];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1d8253=this['editor']['plugins']['get'](WebSocketGateway),_0x2ca517=this['editor']['plugins']['get'](CommentsEditing),_0x4d6c08=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x1d8253,'change:state',(_0x13f08a,_0x4e51d2,_0x42dcd3)=>{_0x2ca517['isThreadsLoadingPaused']='connected'!==_0x42dcd3;});}),this['listenTo'](_0x1d8253,'change:state',(_0x2b317a,_0x50b477,_0x13eba4)=>{this['editor']['plugins']['get'](CommentsRepository)['switchReadOnly']('connected'!==_0x13eba4);}),_0x4d6c08['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}['destroy'](){this['editor']['plugins']['get'](CloudServicesCommentsAdapter)['_terminateService'](this['editor']['config']['get']('collaboration.channelId')),super['destroy']();}}class RealTimeCollaborativeTrackChanges extends _0x151d85{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,TrackChanges];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class Revision extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4cb2ef){super(),this['id']=_0x4cb2ef['id']||_0x3eda13(),this['creator']=_0x4cb2ef['creator']||null,this['authors']=_0x4cb2ef['authors']||[],this['diffData']=_0x4cb2ef['diffData']||null,this['toVersion']=_0x4cb2ef['toVersion']||0x0,this['fromVersion']=_0x4cb2ef['fromVersion']||0x0,this['set']('name',_0x4cb2ef['name']||''),this['set']('createdAt',_0x4cb2ef['createdAt']||new Date()),this['set']('attributes',_0x4cb2ef['attributes']||{});}['setName'](_0xcc0e2){this['_update']({'name':_0xcc0e2});}['setAttribute'](_0x26b94a,_0x4d4378){const _0x2a0968=kr(this['attributes']);Ur(_0x2a0968,_0x26b94a,_0x4d4378),this['_update']({'attributes':_0x2a0968});}['removeAttribute'](_0x4643c9){const _0x26f5bb=kr(this['attributes']);$r(_0x26f5bb,_0x4643c9),this['_update']({'attributes':_0x26f5bb});}['_update'](_0x382ae5,_0x45a851=!0x1){let _0x1b67cc=!0x1;const _0x40cd8a={'id':this['id']},_0x185a47=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x36ac16 of _0x185a47){const _0x39d958=_0x382ae5[_0x36ac16];void 0x0!==_0x39d958&&_0x39d958!==this[_0x36ac16]&&(this[_0x36ac16]=_0x39d958,_0x40cd8a[_0x36ac16]=_0x39d958,_0x1b67cc=!0x0);}_0x1b67cc&&(_0x40cd8a['authors']&&(_0x40cd8a['authorsIds']=_0x40cd8a['authors']['map'](_0x3b8040=>_0x3b8040['id']),delete _0x40cd8a['authors']),this['fire']('_update',_0x40cd8a,_0x45a851));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5c1584=>_0x5c1584['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends _0x151d85{['_revisions'];static get['requires'](){return[Users];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x17e4cc){super(_0x17e4cc),this['_revisions']=new _0x47a54f();}['afterInit'](){!async function(_0x2a180d){const _0x1b6848=_0x25d011([0x76,0x73,0x6d,0x4c,0x34,0x54,0x50,0x70,0x75,0x52,0x35,0x33,0x4d,0x6c,0x71,0x53,0x6a,0x32,0x56,0x58,0x77,0x48,0x39,0x6f,0x45,0x41,0x4e,0x38,0x46,0x78,0x4a,0x74,0x47,0x55,0x4f,0x64,0x62,0x44,0x43,0x5a,0x30,0x31,0x69,0x68,0x79,0x66,0x6b,0x42,0x51,0x59,0x36,0x61,0x63,0x67,0x7a,0x37,0x72,0x49,0x65,0x57,0x4b,0x6e]),_0x38a4ae=0xeb829,_0x1a5671=0x359e09b0,_0x4f97ac=0x35998260^_0x1a5671,_0x262348=window[_0x25d011([0x44,0x61,0x74,0x65])][_0x25d011([0x6e,0x6f,0x77])](),_0x340d12=_0x2a180d[_0x25d011([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e9ab5=new window[(_0x25d011([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43aad0=>{_0x340d12[_0x25d011([0x6f,0x6e,0x63,0x65])](_0x25d011([0x72,0x65,0x61,0x64,0x79]),_0x43aad0);}),_0x38ee60={[_0x25d011([0x6b,0x74,0x79])]:_0x25d011([0x45,0x43]),[_0x25d011([0x75,0x73,0x65])]:_0x25d011([0x73,0x69,0x67]),[_0x25d011([0x63,0x72,0x76])]:_0x25d011([0x50,0x2d,0x32,0x35,0x36]),[_0x25d011([0x78])]:_0x25d011([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x25d011([0x79])]:_0x25d011([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x25d011([0x61,0x6c,0x67])]:_0x25d011([0x45,0x53,0x32,0x35,0x36])},_0x4e6745=_0x340d12[_0x25d011([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x25d011([0x67,0x65,0x74])](_0x25d011([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b0483(){let _0x57842c,_0x5a38c8=null,_0x1cc561=null;try{if(_0x4e6745==_0x25d011([0x47,0x50,0x4c]))return _0x25d011([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57842c=_0x27d951(),!_0x57842c)return _0x25d011([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57842c[_0x25d011([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1cc561=_0x3ac666(_0x57842c[_0x25d011([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57842c[_0x25d011([0x6a,0x74,0x69])])),await _0x41e65a()?_0x64031()?_0x1c6fb7()?_0x25d011([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2b1e7d()?(_0x57842c[_0x25d011([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25d011([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a38c8=_0x2f4a05(_0x25d011([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e205c()):_0x25d011([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x25d011([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x25d011([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x25d011([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c6fb7(){const _0x24532e=[_0x25d011([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x25d011([0x74,0x72,0x69,0x61,0x6c])][_0x25d011([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57842c[_0x25d011([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x262348/0x3e8:0xe10*_0x4f97ac;return _0x57842c[_0x25d011([0x65,0x78,0x70])]<_0x24532e;}function _0x64031(){const _0xfaf4b9=_0x57842c[_0x25d011([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xfaf4b9)return!0x1;if(_0xfaf4b9[_0x25d011([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25d011([0x2a])))return!0x0;if(_0xfaf4b9[_0x25d011([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25d011([0x52,0x48])))return!0x0;if(_0xfaf4b9[_0x25d011([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25d011([0x52,0x52,0x48]))){if(_0x793f60())return!0x0;if(_0xde5b8f()||_0x4dcf47())return!0x0;}return!0x1;}function _0x2b1e7d(){const _0x28a8ff=_0x57842c[_0x25d011([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28a8ff||0x0==_0x28a8ff[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5146df}=new URL(window[_0x25d011([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x28a8ff[_0x25d011([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5146df))return!0x0;const _0x331527=_0x5146df[_0x25d011([0x73,0x70,0x6c,0x69,0x74])](_0x25d011([0x2e]));return _0x28a8ff[_0x25d011([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3601ee=>_0x3601ee[_0x25d011([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25d011([0x2a])))[_0x25d011([0x6d,0x61,0x70])](_0x1ebf45=>_0x1ebf45[_0x25d011([0x73,0x70,0x6c,0x69,0x74])](_0x25d011([0x2e])))[_0x25d011([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x523fdc=>_0x523fdc[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x331527[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25d011([0x6d,0x61,0x70])](_0x431c66=>Array(_0x331527[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x431c66[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25d011([0x66,0x69,0x6c,0x6c])](_0x431c66[0x0]===_0x25d011([0x2a])?_0x25d011([0x2a]):'')[_0x25d011([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x431c66))[_0x25d011([0x73,0x6f,0x6d,0x65])](_0x4ba675=>_0x331527[_0x25d011([0x65,0x76,0x65,0x72,0x79])]((_0x4e355b,_0x5383d2)=>_0x4ba675[_0x5383d2]===_0x4e355b||_0x4ba675[_0x5383d2]===_0x25d011([0x2a])));}function _0x3e205c(){return _0x5a38c8&&_0x1cc561?new window[(_0x25d011([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c683a,_0x444767)=>{_0x5a38c8[_0x25d011([0x74,0x68,0x65,0x6e])](_0x4c683a,_0x444767),_0x1cc561[_0x25d011([0x74,0x68,0x65,0x6e])](_0x16d7b2=>{_0x16d7b2!=_0x25d011([0x56,0x61,0x6c,0x69,0x64])&&_0x4c683a(_0x16d7b2);},_0x444767);}):_0x5a38c8||_0x1cc561||_0x25d011([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ac666(_0xa6af4,_0x288190){return new window[(_0x25d011([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3be10e=>{if(_0x58a572())return _0x3be10e(_0x25d011([0x56,0x61,0x6c,0x69,0x64]));_0x570eff(),_0x340d12[_0x25d011([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x25d011([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e8e79=!0x1;const _0x4dc6e1=_0x3eda13();function _0x231ecf(_0x706f44){return!!_0x706f44&&(typeof _0x706f44===_0x25d011([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x706f44===_0x25d011([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x706f44[_0x25d011([0x74,0x68,0x65,0x6e])]===_0x25d011([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x706f44[_0x25d011([0x63,0x61,0x74,0x63,0x68])]===_0x25d011([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5d0e51(_0x42eaf2){_0x4769be(_0x42eaf2)[_0x25d011([0x74,0x68,0x65,0x6e])](_0x14fd63=>{if(!_0x14fd63||_0x14fd63[_0x25d011([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x25d011([0x6f,0x6b]))return _0x25d011([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d63f5(_0x567aef(_0x4dc6e1+_0x288190))!=_0x14fd63[_0x25d011([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x25d011([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x25d011([0x56,0x61,0x6c,0x69,0x64]);})[_0x25d011([0x74,0x68,0x65,0x6e])](_0x4b76af=>(_0x11e44b(),_0x4b76af),()=>{const _0x3b2fb6=_0x5e9ac6();return null==_0x3b2fb6?(_0x11e44b(),_0x25d011([0x56,0x61,0x6c,0x69,0x64])):_0x25d011(_0x262348-_0x3b2fb6>(0x11928db0^_0x1a5671)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x25d011([0x74,0x68,0x65,0x6e])](_0x3be10e)[_0x25d011([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3be10e(_0x25d011([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e04b6=0x35a8e730^_0x1a5671;function _0x11e44b(){const _0x4bda2c=_0x25d011([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d63f5(_0x567aef(_0xa6af4)),_0xf3fbd2=_0x9894c0(_0x2d63f5(window[_0x25d011([0x4d,0x61,0x74,0x68])][_0x25d011([0x63,0x65,0x69,0x6c])](_0x262348/_0x3e04b6)));window[_0x25d011([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25d011([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bda2c,_0xf3fbd2);}function _0x5e9ac6(){const _0x68f580=_0x25d011([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d63f5(_0x567aef(_0xa6af4)),_0x3bf362=window[_0x25d011([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25d011([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x68f580);return _0x3bf362?window[_0x25d011([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9894c0(_0x3bf362),0x10)*_0x3e04b6:null;}function _0x4769be(_0x35d62b){return new window[(_0x25d011([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2ee7f1,_0x1bd41f)=>{_0x35d62b[_0x25d011([0x74,0x68,0x65,0x6e])](_0x2ee7f1,_0x1bd41f),window[_0x25d011([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1bd41f,0x359fdd70^_0x1a5671);});}}_0x340d12[_0x25d011([0x6f,0x6e])](_0x25d011([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x30a02b,_0x15afb2)=>{if(_0x15afb2[0x0]!=_0xa6af4)return _0x3be10e(_0x25d011([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15afb2[0x1]={..._0x15afb2[0x1],[_0x25d011([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4dc6e1};},{[_0x25d011([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25d011([0x68,0x69,0x67,0x68])}),_0x340d12[_0x25d011([0x6f,0x6e])](_0x25d011([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35c07b=>{_0x231ecf(_0x35c07b[_0x25d011([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e8e79=!0x0,_0x5d0e51(_0x35c07b[_0x25d011([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x25d011([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25d011([0x6c,0x6f,0x77])}),_0x5e9ab5[_0x25d011([0x74,0x68,0x65,0x6e])](()=>{_0x5e8e79||_0x3be10e(_0x25d011([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x58a572(){return _0x340d12[_0x25d011([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25d011([0x76,0x69,0x65,0x77])][_0x25d011([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x25d011([0x61,0x75,0x74,0x6f]);}function _0x570eff(){_0x340d12[_0x25d011([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25d011([0x76,0x69,0x65,0x77])][_0x25d011([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25d011([0x61,0x75,0x74,0x6f]);}}function _0x2f4a05(_0x1d1f1b){const _0x542eb0=new window[(_0x25d011([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2446f3=>setTimeout(_0x2446f3,0x3597377c^_0x1a5671)),_0x1420a7=_0x5e9ab5[_0x25d011([0x74,0x68,0x65,0x6e])](()=>new window[(_0x25d011([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x192a8a=>{const _0x710c5a=0x359e09b7^_0x1a5671,_0xd8eb85=_0x2a180d[_0x25d011([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x31e8a9(){_0xd8eb85[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x710c5a&&_0x192a8a();}_0x31e8a9(),_0xd8eb85[_0x25d011([0x6f,0x6e])](_0x25d011([0x61,0x64,0x64]),_0x31e8a9);})),_0x3ebc3d=new window[(_0x25d011([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d838a=>{function _0x32b97d(){for(const _0x3c1017 in window)if(window[_0x25d011([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x25d011([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x3c1017))&&window[_0x3c1017]==_0x38a4ae)return _0x1d838a();_0x340d12[_0x25d011([0x73,0x74,0x61,0x74,0x65])]!=_0x25d011([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x25d011([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32b97d,0x359e1a38^_0x1a5671);}_0x2ac59f(_0x25d011([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x32b97d();}),_0x43be55=[_0x542eb0,_0x1420a7,_0x3ebc3d];return window[_0x25d011([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25d011([0x72,0x61,0x63,0x65])](_0x43be55)[_0x25d011([0x74,0x68,0x65,0x6e])](()=>_0x1d1f1b);}async function _0x18175a(){if(await _0x5e9ab5,_0x2ac59f(_0x25d011([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x491996=_0x2a180d[_0x25d011([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x5a25d2=_0x2a180d[_0x25d011([0x67,0x65,0x74,0x45,0x61,0x72,0x6c,0x69,0x65,0x72,0x56,0x69,0x73,0x69,0x62,0x6c,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](_0x491996[_0x25d011([0x69,0x64])]),_0x10c118=_0x29a2fb(_0x25d011([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x10c118[_0x25d011([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x491996['id'],_0x5a25d2?_0x5a25d2['id']:null,!0x0),_0x10c118[_0x25d011([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x25d011([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x10c118[_0x25d011([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x10c118[_0x25d011([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2bf08e,void(_0x10c118[_0x25d011([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2bf08e);}if(_0x2ac59f(_0x25d011([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0xe834cb=_0x29a2fb(_0x25d011([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0xe834cb[_0x25d011([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x25d011([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xe834cb[_0x25d011([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xe834cb[_0x25d011([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2bf08e,_0xe834cb[_0x25d011([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2bf08e;}_0x340d12[_0x25d011([0x6d,0x6f,0x64,0x65,0x6c])][_0x25d011([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bf08e,_0x340d12[_0x25d011([0x6d,0x6f,0x64,0x65,0x6c])][_0x25d011([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bf08e,_0x340d12[_0x25d011([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25d011([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x793f60(){return _0x2ac59f(_0x25d011([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x29a2fb(_0x25d011([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x25d011([0x73,0x74,0x61,0x74,0x65])]==_0x25d011([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0xde5b8f(){return _0x2ac59f(_0x25d011([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x4dcf47(){return _0x2ac59f(_0x25d011([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x1df13e(_0xebc2f){const _0x14e640=_0x54012a();_0x340d12[_0x14e640]=_0x25d011([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xebc2f,_0xebc2f[_0x25d011([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x25d011([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x54012a()]=_0x38a4ae),_0xebc2f!=_0x25d011([0x56,0x61,0x6c,0x69,0x64])&&_0x18175a();}function _0x54012a(){const _0x1fa822=window[_0x25d011([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x25d011([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25d011([0x6e,0x6f,0x77])]())[_0x25d011([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25d011([0x2e]),'');let _0x432dfd=_0x25d011([0x76]);for(let _0x20fee3=0x0;_0x20fee3<_0x1fa822[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20fee3+=0x2){let _0x3562e5=window[_0x25d011([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fa822[_0x25d011([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20fee3,_0x20fee3+0x2));_0x3562e5>=_0x1b6848[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3562e5-=_0x1b6848[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x432dfd+=_0x1b6848[_0x3562e5];}return _0x432dfd;}function _0x27d951(){const _0x9a4935=_0x4e6745[_0x25d011([0x73,0x70,0x6c,0x69,0x74])](_0x25d011([0x2e]));if(0x3!=_0x9a4935[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c884d(_0x9a4935[0x1]);function _0x2c884d(_0x97ef75){const _0x8065f0=_0x578c48(_0x97ef75);return _0x8065f0&&_0x40eb5d()?_0x8065f0:null;function _0x40eb5d(){const _0x435228=_0x8065f0[_0x25d011([0x6a,0x74,0x69])],_0x156b90=window[_0x25d011([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x435228[_0x25d011([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x435228[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f1472={..._0x8065f0,[_0x25d011([0x6a,0x74,0x69])]:_0x435228[_0x25d011([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x435228[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f1472[_0x25d011([0x76,0x63])],_0x567aef(_0x1f1472)==_0x156b90;}}}async function _0x41e65a(){let _0x1f4e90=!0x0;try{const _0x54b6d8=_0x4e6745[_0x25d011([0x73,0x70,0x6c,0x69,0x74])](_0x25d011([0x2e])),[_0xeb1cbb,_0x21b08c,_0x10535b]=_0x54b6d8;return _0x186b35(_0xeb1cbb),await _0x17d0a7(_0xeb1cbb,_0x21b08c,_0x10535b),_0x1f4e90;}catch{return!0x1;}function _0x186b35(_0x361393){const _0x5922ee=_0x578c48(_0x361393);_0x5922ee&&_0x5922ee[_0x25d011([0x61,0x6c,0x67])]==_0x25d011([0x45,0x53,0x32,0x35,0x36])||(_0x1f4e90=!0x1);}async function _0x17d0a7(_0x3dc33a,_0x30d164,_0x11f272){const _0x5ad8b9=window[_0x25d011([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x25d011([0x66,0x72,0x6f,0x6d])](_0x1f3ae9(_0x11f272),_0x27070d=>_0x27070d[_0x25d011([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42cda5=new window[(_0x25d011([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x25d011([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3dc33a+_0x25d011([0x2e])+_0x30d164),_0x100849=window[_0x25d011([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x25d011([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x100849)return;const _0x1823b1=await _0x100849[_0x25d011([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x25d011([0x6a,0x77,0x6b]),_0x38ee60,{[_0x25d011([0x6e,0x61,0x6d,0x65])]:_0x25d011([0x45,0x43,0x44,0x53,0x41]),[_0x25d011([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x25d011([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x25d011([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x100849[_0x25d011([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x25d011([0x6e,0x61,0x6d,0x65])]:_0x25d011([0x45,0x43,0x44,0x53,0x41]),[_0x25d011([0x68,0x61,0x73,0x68])]:{[_0x25d011([0x6e,0x61,0x6d,0x65])]:_0x25d011([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1823b1,_0x5ad8b9,_0x42cda5)||(_0x1f4e90=!0x1);}}function _0x578c48(_0x3a6541){return _0x3a6541[_0x25d011([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x25d011([0x65,0x79]))?JSON[_0x25d011([0x70,0x61,0x72,0x73,0x65])](_0x1f3ae9(_0x3a6541)):null;}function _0x1f3ae9(_0x343e24){return window[_0x25d011([0x61,0x74,0x6f,0x62])](_0x343e24[_0x25d011([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x25d011([0x2b]))[_0x25d011([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x25d011([0x2f])));}function _0x567aef(_0x25379f){let _0x1ec470=0x1505;function _0x4fec2c(_0x1b9332){for(let _0x3e3134=0x0;_0x3e3134<_0x1b9332[_0x25d011([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e3134++){const _0x4a3a78=_0x1b9332[_0x25d011([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e3134);_0x1ec470=(_0x1ec470<<0x5)+_0x1ec470+_0x4a3a78,_0x1ec470&=_0x1ec470;}}function _0x1abbec(_0x44b654){Array[_0x25d011([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x44b654)?_0x44b654[_0x25d011([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1abbec):_0x44b654&&typeof _0x44b654==_0x25d011([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x25d011([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x44b654)[_0x25d011([0x73,0x6f,0x72,0x74])]()[_0x25d011([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x60c32,_0x223600])=>{_0x4fec2c(_0x60c32),_0x1abbec(_0x223600);}):_0x4fec2c(window[_0x25d011([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x44b654));}return _0x1abbec(_0x25379f),_0x1ec470>>>0x0;}function _0x2d63f5(_0xc47b2c){return _0xc47b2c[_0x25d011([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x25d011([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x25d011([0x30]));}function _0x9894c0(_0x1d6d1e){return _0x1d6d1e[_0x25d011([0x73,0x70,0x6c,0x69,0x74])]('')[_0x25d011([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x25d011([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ac59f(_0x35e115){return _0x340d12[_0x25d011([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x25d011([0x68,0x61,0x73])](_0x35e115);}function _0x29a2fb(_0x51a5e0){return _0x340d12[_0x25d011([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x25d011([0x67,0x65,0x74])](_0x51a5e0);}function _0x2bf08e(){}function _0x25d011(_0x3e5f46){return _0x3e5f46['map'](_0x34cc24=>String['fromCharCode'](_0x34cc24))['join']('');}_0x1df13e(await _0x4b0483());}(this);}['createRevision'](_0x531f69){const _0x5cdd3c=this['editor']['plugins']['get']('Users');return new Revision({'id':_0x531f69['id'],'name':_0x531f69['name'],'creator':_0x531f69['creatorId']?_0x5cdd3c['getUser'](_0x531f69['creatorId']):null,'diffData':_0x531f69['diffData']||_0x531f69['data'],'authors':_0x531f69['authorsIds']['map'](_0x198aba=>_0x5cdd3c['getUser'](_0x198aba)),'createdAt':new Date(_0x531f69['createdAt']),'attributes':_0x531f69['attributes'],'fromVersion':_0x531f69['fromVersion'],'toVersion':_0x531f69['toVersion']});}['addRevision'](_0x22fea2,_0x26d5b9=0x0){this['_revisions']['add'](_0x22fea2,_0x26d5b9);}['getRevision'](_0x4ab39e){return this['_revisions']['get'](_0x4ab39e);}['getRevisions'](_0x4ce822={'toJSON':!0x1}){const _0x28df3f=Array['from'](this['_revisions']);return _0x28df3f['reverse'](),_0x4ce822['toJSON']?_0x28df3f['map'](_0x4765c5=>_0x4765c5['toJSON']()):_0x28df3f;}['getIndex'](_0x4f047e){return this['_revisions']['getIndex'](_0x4f047e);}['getEarlierVisibleRevision'](_0x24a7bf){const [,_0x1bd8cd]=this['getRevisionsIterator'](_0x24a7bf,{'direction':'earlier'});return _0x1bd8cd;}['getLaterVisibleRevision'](_0x193dee){const [,_0x21e47f]=this['getRevisionsIterator'](_0x193dee,{'direction':'later'});return _0x21e47f;}['getRevisionsInDiff'](_0x5b0485){const _0x40ce41=[];for(const _0x485187 of this['getRevisionsIterator'](_0x5b0485['newRevisionId']))if(_0x40ce41['push'](_0x485187),_0x485187['id']===_0x5b0485['oldRevisionId'])break;return _0x40ce41;}*['getRevisionsIterator'](_0x1dcf45,{direction:_0x540656='earlier',filter:_0x29da58=()=>!0x0}={}){const _0x141140='earlier'===_0x540656?0x1:-0x1;let _0x58f028=this['_revisions']['get'](_0x1dcf45),_0x5a57b8=this['getIndex'](_0x58f028);for(yield _0x58f028;_0x58f028;){if(_0x5a57b8+=_0x141140,_0x58f028=this['getRevision'](_0x5a57b8),!_0x58f028)return;_0x29da58(_0x58f028)&&(yield _0x58f028);}}}class RevisionHistoryUtils extends _0x151d85{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x2b93b4,'c'],[_0x127036,'a'],[_0x134b55,'e'],[_0x12e3fd,'r'],[_0x290df5,'u']]);['_typeCharToViewClass']=new Map([['c',_0x2b93b4],['a',_0x127036],['e',_0x134b55],['r',_0x12e3fd],['u',_0x290df5]]);async['loadRevisionData'](_0x11115f,_0x2db88a){if(_0x11115f['diffData']||!_0x2db88a)return;const _0x232ae5=this['editor']['config']['get']('collaboration.channelId'),_0x50f9fe=await _0x2db88a['getRevision']({'channelId':_0x232ae5,'revisionId':_0x11115f['id']});_0x11115f['diffData']=_0x50f9fe['diffData'];}['getRevisionDocumentData'](_0x1b1342){const _0x1dd355={};for(const _0x6bcd48 in _0x1b1342['diffData']){if(_0x1b1342['diffData'][_0x6bcd48]['attachChange']&&!_0x1b1342['diffData'][_0x6bcd48]['attachChange']['isAttached'])continue;const _0x4acd29=this['_removeRevisionMarkers'](JSON['parse'](_0x1b1342['diffData'][_0x6bcd48]['insertions'])),_0x1b74b8=this['editor']['editing']['view']['document'],_0x199ef8=new _0x271258(_0x1b74b8,_0x4acd29['map'](_0x4fc87d=>this['_getViewFromDiffObj'](_0x4fc87d,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1dd355[_0x6bcd48]=this['editor']['data']['processor']['toData'](_0x199ef8),this['editor']['data']['processor']['useFillerType']('default');}return _0x1dd355;}['getRevisionRootsAttributes'](_0x1428b7){const _0x512f82={};for(const _0x2f5b87 in _0x1428b7['diffData'])_0x1428b7['diffData'][_0x2f5b87]['attachChange']&&!_0x1428b7['diffData'][_0x2f5b87]['attachChange']['isAttached']||(_0x512f82[_0x2f5b87]=_0x1428b7['diffData'][_0x2f5b87]['attributesAfter']||{});return _0x512f82;}['getRevisionRootsModelElements'](_0x3def1f){const _0x5521ce={};for(const _0xa1641c in _0x3def1f['diffData']){if(_0x3def1f['diffData'][_0xa1641c]['attachChange']&&!_0x3def1f['diffData'][_0xa1641c]['attachChange']['isAttached'])continue;const _0x3e1518=_0x3def1f['diffData'][_0xa1641c]['rootElementName'];_0x3e1518&&(_0x5521ce[_0xa1641c]=_0x3e1518);}return _0x5521ce;}['_getTypeCharForViewElement'](_0x1416b3){return this['_viewClassToTypeChar']['get'](_0x1416b3['constructor']);}['_getViewFromDiffObj'](_0x2ef7b5,_0x28149c){const _0x48cb5e=this['editor']['editing']['view']['document'];if('string'==typeof _0x2ef7b5)return new _0x4d683a(_0x48cb5e,_0x2ef7b5);{let _0x1665da,_0x1bbc17;_0x1bbc17='u'==_0x2ef7b5['type']||'r'==_0x2ef7b5['type']?[]:_0x2ef7b5['children']['map'](_0x51c828=>this['_getViewFromDiffObj'](_0x51c828,_0x28149c));const _0x40c746=this['_typeCharToViewClass']['get'](_0x2ef7b5['type'])||_0x147cda,_0x50a39e=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x1665da=new _0x40c746(_0x48cb5e,_0x2ef7b5['name'],_0x2ef7b5['attributes'],_0x1bbc17),'u'==_0x2ef7b5['type']&&_0x2ef7b5['children'][0x0]){const _0x17aec5=_0x2ef7b5['children'][0x0];if(_0x1665da['render']=function(_0xf387a8){const _0x32015b=_0xf387a8['createElement']('div');return _0x32015b['innerHTML']=_0x17aec5,_0x32015b['childNodes'][0x0];},_0x28149c){const _0x3c4af9=new _0x271258(_0x48cb5e);_0x3c4af9['_appendChild'](_0x1665da);const _0x1019fb=Array['from'](_0x50a39e['viewChildrenToDom'](_0x3c4af9,{'bind':!0x1})),_0x46ae2c=_0x50a39e['domDocument']['createElement']('div');_0x46ae2c['append'](..._0x1019fb),_0x1665da=Array['from'](_0x50a39e['domChildrenToView'](_0x46ae2c))[0x0];}}else{if('r'==_0x2ef7b5['type']&&_0x2ef7b5['children'][0x0]){const _0x53bd27=_0x2ef7b5['children'][0x0];if(_0x1665da['render']=function(_0x21f82a){_0x21f82a['innerHTML']=_0x53bd27;},_0x28149c){const _0x65c842=new _0x271258(_0x48cb5e);_0x65c842['_appendChild'](_0x1665da);const _0x10b310=Array['from'](_0x50a39e['viewChildrenToDom'](_0x65c842,{'bind':!0x1})),_0x258e0e=_0x50a39e['domDocument']['createElement']('div');_0x258e0e['append'](..._0x10b310);const _0x380d66=Array['from'](_0x50a39e['domChildrenToView'](_0x258e0e));_0x380d66['length']>0x1?_0x1665da['_appendChild'](_0x380d66):_0x1665da=_0x380d66[0x0];}}}if(_0x2ef7b5['customProperties']){for(const [_0x3a9b2b,_0x47bc0f]of _0x2ef7b5['customProperties'])_0x1665da['_setCustomProperty'](_0x3a9b2b,_0x47bc0f);}const _0x550bae=void 0x0===_0x2ef7b5['fillerOffset']?null:_0x2ef7b5['fillerOffset'];return null!==_0x550bae&&(_0x1665da['getFillerOffset']=()=>_0x550bae),_0x1665da;}}['_makeModelFromViewString'](_0x1d84f1,_0x5a6461){const _0x462a96=JSON['parse'](_0x1d84f1),_0x3fb001=this['editor']['editing']['view']['document'],_0xa77e0=new _0x271258(_0x3fb001,_0x462a96['map'](_0x45ca05=>this['_getViewFromDiffObj'](_0x45ca05,!0x0))),_0x2e7d9f=this['editor']['data']['toModel'](_0xa77e0,_0x5a6461);return _0x2e7d9f['name']=_0x5a6461,_0x2e7d9f;}['_removeRevisionMarkers'](_0x4b5533){return(_0x4b5533=_0x4b5533['filter'](_0x49327b=>!_0x49327b['name']||'revision-start'!==_0x49327b['name']&&'revision-end'!==_0x49327b['name']))['forEach'](_0x435bcc=>{'string'!=typeof _0x435bcc&&(_0x435bcc['children']=this['_removeRevisionMarkers'](_0x435bcc['children']),_0x435bcc['attributes']=_0x435bcc['attributes']['filter'](_0x1a12ea=>!_0x1a12ea[0x0]['startsWith']('data-revision-')));}),_0x4b5533;}}function xv(_0xb0f5e2,_0x20e3b1,_0x5c9cb2){const t=_0xb0f5e2['t'];switch(_0x20e3b1){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'},_0x5c9cb2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5c9cb2);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}class RevisionTracker extends _0x151d85{['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[Users,RevisionsRepository,RevisionHistoryUtils,_0x1bb5aa];}constructor(_0x20943b){super(_0x20943b),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new RevisionDataBuilder(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x2ad1b3=_0x3eda13();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2ad1b3},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 _0x52ad3c=this['repository']['getRevision'](0x0),_0x4c7020=_0x52ad3c&&null===_0x52ad3c['creator']?_0x52ad3c:null;if(this['_continueCurrentRevision']=!!_0x4c7020&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x23860e=this['_source']['getCurrentRevisionId'](),_0x22eb07=this['repository']['getRevision'](_0x23860e);if(_0x22eb07)this['_startingVersion']=_0x22eb07['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x10e156=this['_source']['history']['_operations']['find'](_0x35fb75=>!_0x35fb75['_isInit']),_0x40c175=_0x10e156?_0x10e156['baseVersion']:this['_source']['history']['version'];_0x52ad3c?(_0x52ad3c['toVersion']<_0x40c175&&_0x52ad3c['_update']({'toVersion':_0x40c175}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4c7020['id'],this['_startingVersion']=_0x4c7020['fromVersion']):(this['_startingVersion']=_0x52ad3c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x40c175,this['_continueCurrentRevision']=!0x1);}}else _0x4c7020&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4c7020['toVersion'],this['editor']['model']['document']['history']['version']),_0x4c7020['fromVersion']===_0x4c7020['toVersion']?(0x0!==_0x4c7020['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4c7020['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4c7020['id'],this['_startingVersion']=_0x4c7020['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',_0x4a0b60=>!_0x4a0b60),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a61d2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51f5c1;for(const _0x1bed60 in _0x4a61d2){const _0x28e3df=_0x1bed60,_0x56d84f=_0x4a61d2[_0x28e3df];if('revisionHistoryLicenseKeyValid'==_0x56d84f||'revisionHistoryLicenseKeyInvalid'==_0x56d84f||'revisionHistoryLicenseKeyExpired'==_0x56d84f||'revisionHistoryLicenseKeyDomainLimit'==_0x56d84f||'revisionHistoryLicenseKeyNotAllowed'==_0x56d84f||'revisionHistoryLicenseKeyEvaluationLimit'==_0x56d84f||'revisionHistoryLicenseKeyUsageLimit'==_0x56d84f){delete _0x4a61d2[_0x28e3df],_0x51f5c1=_0x56d84f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x51f5c1&&_0x4a61d2['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x51f5c1&&_0x4a61d2['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x51f5c1&&_0x4a61d2['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x51f5c1&&_0x4a61d2['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x51f5c1&&_0x4a61d2['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x51f5c1&&_0x4a61d2['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x18eca6=this['repository']['getRevision'](0x0),_0x2f2840=await this['getRevisionDocumentData'](_0x18eca6),_0xf70a12=await this['getRevisionRootsAttributes'](_0x18eca6),_0x7157f9=this['_utils']['getRevisionRootsModelElements'](_0x18eca6);this['_replaceEditorDataWithRevisionData'](_0x2f2840,_0xf70a12,_0x7157f9);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x479ba6){this['_source']=_0x479ba6;}async['update'](){const _0x2d9097=await this['_source']['getLatestVersion']();if(_0x2d9097>this['currentRevision']['toVersion']){await this['_loadState']();const _0x154fad=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x2d9097});_0x154fad['authors']=_0x154fad['authorsIds']['map'](_0x13bacf=>this['editor']['plugins']['get']('Users')['getUser'](_0x13bacf)),this['currentRevision']['_update'](_0x154fad);}}async['saveRevision'](_0x38efbd={},_0xa51c7c=null){const _0x58505d=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xa51c7c>this['currentRevision']['toVersion']&&(_0xa51c7c=null),null===_0xa51c7c&&(_0xa51c7c=await this['_source']['getLatestVersion']());const _0x511056=this['_getFromVersion'](_0xa51c7c),_0x3576a1=this['buildRevisionData']({'from':_0x511056,'to':_0xa51c7c});if(this['currentRevision']['toVersion']<_0xa51c7c){const _0x45267d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xa51c7c,'to':_0xa51c7c});_0x45267d['authors']=[],_0x45267d['authorsIds']=[],_0x45267d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x45267d,!0x0),delete _0x45267d['authors'],_0x58505d['push'](_0x45267d);}_0x38efbd['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x38efbd['name']=_0x38efbd['name']||null,_0x38efbd['id']=_0x38efbd['id']||_0x3eda13(),_0x38efbd={..._0x38efbd,..._0x3576a1};const _0x11cd52=this['addRevisionData'](_0x38efbd);_0x58505d['push'](_0x38efbd);const _0x292deb=this['repository']['getIndex'](_0x11cd52);if(0x0!==_0x292deb){const _0x449d51=this['repository']['getRevision'](_0x292deb-0x1);if(_0x449d51['fromVersion']!==_0xa51c7c){const _0x2c9f60=this['_revisionDataBuilder']['getData'](_0xa51c7c,_0x449d51['toVersion']),_0x5b16b0={'id':_0x449d51['id'],'diffData':_0x2c9f60['diffData'],'authorsIds':_0x2c9f60['authorsIds'],'authors':_0x2c9f60['authorsIds']['map'](_0x3ae78b=>this['editor']['plugins']['get']('Users')['getUser'](_0x3ae78b)),'fromVersion':_0xa51c7c};_0x449d51===this['currentRevision']&&(_0x5b16b0['createdAt']=new Date(_0x38efbd['createdAt']['getTime']()+0xa)),_0x449d51['_update'](_0x5b16b0,!0x0),delete _0x5b16b0['authors'],_0x58505d['push'](_0x5b16b0);}}if(this['adapter']){for(const _0x28b53d of _0x58505d)this['_bufferUpdate'](_0x28b53d['id'],_0x28b53d,!0x0);this['sendBufferedUpdates']();}return _0x11cd52;}['addRevisionData'](_0x455b56){const _0x699046=this['repository']['createRevision'](_0x455b56);return this['adapter']&&_0x699046['on']('_update',(_0xe04d84,_0x2b412a,_0x48cae2)=>{_0x48cae2||(this['_bufferUpdate'](_0x2b412a['id'],_0x2b412a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x699046,this['_findInsertionIndex'](_0x699046)),_0x699046;}async['getRevisionDocumentData'](_0x3fa7e4){return await this['_utils']['loadRevisionData'](_0x3fa7e4,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x3fa7e4);}async['getRevisionRootsAttributes'](_0x4f01cf){return await this['_utils']['loadRevisionData'](_0x4f01cf,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x4f01cf);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x402df5=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3f6954=0x0;_0x3f6954<_0x402df5['length'];_0x3f6954++){const _0x3961bf=_0x402df5[_0x3f6954];let _0x4edeab=!0x1;for(const _0x3b027d of Object['keys'](_0x3961bf))void 0x0===_0x3961bf[_0x3b027d]?delete _0x3961bf[_0x3b027d]:'id'!==_0x3b027d&&(_0x4edeab=!0x0);_0x4edeab||(_0x402df5[_0x3f6954]=null);}if(_0x402df5=_0x402df5['filter'](_0x457ef6=>null!==_0x457ef6),!_0x402df5['length'])return;for(let _0x3dd6c2=0x0;_0x3dd6c2<_0x402df5['length'];_0x3dd6c2++){const _0x1c12b8=_0x402df5[_0x3dd6c2];void 0x0!==_0x1c12b8['fromVersion']&&void 0x0===_0x1c12b8['toVersion']&&(_0x1c12b8['toVersion']=this['repository']['getRevision'](_0x1c12b8['id'])['toVersion']),void 0x0!==_0x1c12b8['toVersion']&&void 0x0===_0x1c12b8['fromVersion']&&(_0x1c12b8['fromVersion']=this['repository']['getRevision'](_0x1c12b8['id'])['fromVersion']);}const _0x21a8da=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x402df5,_0x21a8da)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1db5e3=>{if(_0x1db5e3){for(const _0x4e750a of _0x1db5e3)this['setRevisionData']({'id':_0x4e750a['id'],'createdAt':_0x4e750a['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x50b4e1=null,from:_0x29a1f9=null,to:_0xa01b97=null}){_0x29a1f9=null!==_0x29a1f9?_0x29a1f9:_0x50b4e1['fromVersion'],_0xa01b97=null!==_0xa01b97?_0xa01b97:_0x50b4e1['toVersion'];const _0x440d40=this['_revisionDataBuilder']['getData'](_0x29a1f9,_0xa01b97),_0xb53795={'diffData':_0x440d40['diffData'],'authorsIds':_0x440d40['authorsIds'],'fromVersion':_0x29a1f9,'toVersion':_0xa01b97};if(!_0x50b4e1||_0xa01b97!==_0x50b4e1['toVersion']){const _0x98d8e6=_0xa01b97-0x1,_0x3ba068=this['_source']['history']['getOperation'](_0x98d8e6);_0xb53795['createdAt']=_0x3ba068&&_0x3ba068['createdAt']||new Date();}if(this['_loadedStateData']&&_0x29a1f9===this['_loadedStateData']['fromVersion']){for(const _0x39da6c of this['_loadedStateData']['authors'])_0xb53795['authorsIds']['includes'](_0x39da6c['id'])||_0xb53795['authorsIds']['push'](_0x39da6c['id']);}return _0xb53795;}['_bufferUpdate'](_0x2d3cb5,_0x243c7d,_0x5f33b7){if(this['_bufferedUpdates']['has'](_0x2d3cb5)){const _0x214fca=this['_bufferedUpdates']['get'](_0x2d3cb5);_0x243c7d=_0x5f33b7?{..._0x214fca,..._0x243c7d}:{..._0x243c7d,..._0x214fca};}this['_bufferedUpdates']['set'](_0x2d3cb5,_0x243c7d);}['setRevisionData'](_0x5c7e21){const _0x589efa=this['repository']['getRevision'](_0x5c7e21['id']);if(_0x5c7e21['createdAt']&&(_0x5c7e21['createdAt']=new Date(_0x5c7e21['createdAt'])),_0x5c7e21['authorsIds']){const _0x1f09e8=this['editor']['plugins']['get']('Users');_0x5c7e21['authors']=_0x5c7e21['authorsIds']['map'](_0x1e915d=>_0x1f09e8['getUser'](_0x1e915d));}_0x589efa['_update'](_0x5c7e21,!0x0);}['_createInitialRevision'](_0x14c760){const _0x178553=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x178553)this['_initialRevisionId']=_0x178553['id'];else{const _0x5081cf=!this['editor']['model']['document']['roots']['find'](_0x55a5a6=>this['editor']['model']['hasContent'](_0x55a5a6)),_0x410407=this['editor']['plugins']['get']('Users')['me']['id'],_0x15092c=xv(this['editor']['locale'],_0x5081cf?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x14c760,'to':_0x14c760,'id':this['_initialRevisionId'],'name':_0x15092c,'creatorId':_0x410407});}}['_createCurrentRevision'](_0x5dd25f){const _0x5e40ab=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5e40ab),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5dd25f,'to':_0x5dd25f,'id':_0x5e40ab,'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'](_0x4ed281,_0x55c1a2,_0x2235b5){const _0x399419={},_0x200322={},_0x1a1fc1={},_0x1a00f9=this['editor']['config']['get']('roots')||{};for(const [_0x4e2d3e,_0x31b8e0]of Object['entries'](_0x1a00f9))_0x31b8e0['lazyLoad']||(_0x399419[_0x4e2d3e]=_0x31b8e0['initialData']??'',_0x200322[_0x4e2d3e]=_0x31b8e0['modelAttributes']||{},_0x31b8e0['modelElement']&&(_0x1a1fc1[_0x4e2d3e]=_0x31b8e0['modelElement']));for(const _0x10284b of this['editor']['model']['document']['getRootNames']())_0x399419[_0x10284b]??='',_0x200322[_0x10284b]??={};let _0x3d4836=!0x1;const _0xe222ea=Object['keys'](_0x399419),_0x1f5801=Object['keys'](_0x4ed281);for(const _0xc7c419 of _0xe222ea){if(_0x399419[_0xc7c419]!==_0x4ed281[_0xc7c419]&&''!==_0x399419[_0xc7c419]['trim']()){_0x3d4836=!0x0;break;}if(!qr(_0x200322[_0xc7c419],_0x55c1a2[_0xc7c419])&&Object['keys'](_0x200322[_0xc7c419])['length']>0x0){_0x3d4836=!0x0;break;}const _0x50cfc9=_0x1a1fc1[_0xc7c419],_0xab9386=_0x2235b5[_0xc7c419];if(_0x50cfc9&&_0xab9386&&_0x50cfc9!==_0xab9386){_0x3d4836=!0x0;break;}}_0x3d4836||(_0x3d4836=_0x1f5801['some'](_0x4b7c70=>!this['editor']['model']['document']['getRoot'](_0x4b7c70))),_0x3d4836&&_0x445208('editor-initial-data-replaced-with-revision-data',{'editorData':_0x399419,'editorRootsAttributes':_0x200322,'editorRootsModelElements':_0x1a1fc1,'revisionData':_0x4ed281,'revisionRootsAttributes':_0x55c1a2,'revisionRootsModelElements':_0x2235b5});for(const [_0x2f5623,_0xbc57f6]of Object['entries'](_0x4ed281))this['editor']['config']['set']('roots.'+_0x2f5623+'.initialData',_0xbc57f6);for(const [_0x3a69cc,_0xce6d4c]of Object['entries'](_0x55c1a2))this['editor']['config']['set']('roots.'+_0x3a69cc+'.modelAttributes',_0xce6d4c);const _0x1de9b9=this['editor']['model']['document'];for(const [_0x381a64,_0x3cface]of Object['entries'](_0x2235b5)){this['editor']['config']['set']('roots.'+_0x381a64+'.modelElement',_0x3cface);const _0x294a33=_0x1de9b9['getRoot'](_0x381a64);_0x294a33&&_0x294a33['name']!==_0x3cface&&(_0x1de9b9['roots']['remove'](_0x381a64),_0x1de9b9['createRoot'](_0x3cface,_0x381a64));}}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5a7248=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5a7248['add'](xv(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2cedd){const _0x286369=this['repository']['getRevisions']();_0x286369['reverse']();let _0x8cfcb9=0x0;for(;_0x8cfcb9<_0x286369['length'];){const _0x2786f8=_0x286369[_0x8cfcb9];if(_0x2786f8===this['currentRevision']){_0x8cfcb9++;continue;}if(_0x2786f8['id']===this['_initialRevisionId'])break;const _0x501dc0=_0x2cedd['toVersion']-_0x2786f8['toVersion']||_0x2cedd['fromVersion']-_0x2786f8['fromVersion'];if(_0x501dc0>0x0)break;if(_0x501dc0<0x0)_0x8cfcb9++;else{if(!_0x2cedd['creator']&&_0x2786f8['creator'])break;if(_0x2786f8['creator']||!_0x2cedd['creator']){if(_0x2cedd['createdAt']>_0x2786f8['createdAt'])break;_0x8cfcb9++;}else _0x8cfcb9++;}}return _0x8cfcb9;}['_getFromVersion'](_0x47ab4e){const _0xf4bc9a=this['repository']['getRevisions']();_0xf4bc9a['reverse'](),_0xf4bc9a['shift']();const _0xd993c=_0xf4bc9a['find'](_0x3ac9c4=>_0x3ac9c4['toVersion']<=_0x47ab4e)['toVersion'];return _0xd993c<this['_startingVersion']?this['_startingVersion']:_0xd993c;}['_makeRevision']({name:_0x3bd146,from:_0xaeb0ef,to:_0x125574,creatorId:_0x5c2ca0,id:_0x3bfa66}){const _0x136097=this['buildRevisionData']({'from':_0xaeb0ef,'to':_0x125574});_0x136097['name']=_0x3bd146,_0x136097['creatorId']=_0x5c2ca0,_0x136097['id']=_0x3bfa66;const _0x4a2b8c=this['addRevisionData'](_0x136097);return this['adapter']&&this['_bufferUpdate'](_0x136097['id'],_0x136097,!0x0),_0x4a2b8c;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}}class RevisionDataBuilder{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x39cf13){this['editor']=_0x39cf13,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'](_0x2be192){this['source']=_0x2be192;const _0x5dad99=new Map(),_0x31808e=new Map(),_0x2370e7=this['editor']['model']['document']['roots']['map'](_0x52fc22=>_0x52fc22['rootName']);for(const _0x1f165b of _0x2370e7){const _0xd4c308=this['editor']['model']['document']['getRoot'](_0x1f165b),_0x54fb3f=Rv(_0xd4c308);_0x5dad99['set'](_0x1f165b,_0x54fb3f),_0x31808e['set'](_0x1f165b,Object['fromEntries'](_0xd4c308['getAttributes']()));}const _0x1429e4=Array['from'](this['editor']['model']['markers'])['map'](_0x27794f=>[_0x27794f['name'],_0x27794f['getRange']()]),_0x3b5186=this['source']['version'];this['_saveMetaData'](_0x3b5186,_0x5dad99,_0x1429e4,_0x31808e),this['_startingRevisionId']=this['_revisionId'];const _0x30feb4=new Map(),_0x94e7e7=new Map();for(const _0x3afc22 of _0x2370e7){const _0x171b07=Pv(_0x3afc22,this['editor']['model']['document']['getRoot'](_0x3afc22)['name']);_0x30feb4['set'](_0x3afc22,_0x171b07),_0x94e7e7['set'](_0x3afc22,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x30feb4,[],_0x94e7e7);}['getData'](_0x23b526,_0x36e61c){if(this['_lastFrom']===_0x23b526&&this['_lastTo']<=_0x36e61c)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x36e61c,!0x0);else{if(!this['_savedMetaData']['has'](_0x23b526)){const _0x46d7bc=this['_getPreviousFrom'](_0x23b526);this['_calculateMetaData'](_0x46d7bc,_0x23b526,!0x1);}this['_calculateMetaData'](_0x23b526,_0x36e61c,!0x0);}return this['_lastFrom']=_0x23b526,this['_lastTo']=_0x36e61c,this['_getState']();}['loadState'](_0x3b5deb){if(!this['_savedMetaData']['has'](_0x3b5deb['fromVersion'])){const _0x125d86=this['_getPreviousFrom'](_0x3b5deb['fromVersion']);this['_calculateMetaData'](_0x125d86,_0x3b5deb['fromVersion'],!0x1);}this['_calculateMetaData'](_0x3b5deb['fromVersion'],_0x3b5deb['toVersion'],!0x1);const _0x356c78=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x3b5deb['fromVersion'],this['_lastTo']=_0x3b5deb['toVersion'];for(const _0x33f8f2 in _0x3b5deb['diffData']){const _0x8dcecf=_0x3b5deb['diffData'][_0x33f8f2]['attachChange'],_0x3e1163=kr(_0x3b5deb['diffData'][_0x33f8f2]['attributesBefore'])||{},_0xd84a5c=_0x3b5deb['diffData'][_0x33f8f2],_0x352e1a=_0x356c78['_makeModelFromViewString'](_0xd84a5c['deletions'],_0xd84a5c['rootElementName']||'$root');_0x352e1a['rootName']=_0x33f8f2,_0x352e1a['_isAttached']=!_0x8dcecf||!_0x8dcecf['isAttached'],_0x352e1a['isAttached']=()=>_0x352e1a['_isAttached'],this['_baseRoots']['set'](_0x33f8f2,_0x352e1a),this['_baseRootsAttributes']['set'](_0x33f8f2,_0x3e1163),_0x8dcecf&&this['_touchedRoots']['set'](_0x33f8f2,_0x8dcecf);const _0x276f21=this['_makeIdsRoot'](_0x352e1a);this['_baseIdsRoots']['set'](_0x33f8f2,_0x276f21);for(const [_0x4d1020,_0x4d4725]of _0x352e1a['markers']){if(!_0x4d1020['startsWith']('revision:'))continue;const _0x281a2f=_0x4d1020['split'](':')[0x2];for(const _0x388744 of _0x4d4725['getWalker']({'singleCharacters':!0x0})){const _0x2a6746=this['_getVidAttributeName'](_0x388744),_0x12c715='elementEnd'==_0x388744['type']?_0x388744['previousPosition']['path']['slice'](0x0,-0x1):_0x388744['previousPosition']['path'],_0x55c422=_0x276f21['getNodeByPath'](_0x12c715)['getAttribute'](_0x2a6746);this['_touched']['set'](_0x55c422,{'userId':_0x281a2f});}_0x352e1a['markers']['delete'](_0x4d1020);}}this['_startingRevisionId']=this['_revisionId'];const _0x55f1a7=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2271c0=>!this['_touched']['has'](_0x2271c0));let _0xa4b73=0x0;const _0x52febe=new Map();for(const _0xed49be in _0x3b5deb['diffData']){const _0x21426c=_0x3b5deb['diffData'][_0xed49be]['attachChange'],_0x1c40ba=kr(_0x3b5deb['diffData'][_0xed49be]['attributesAfter'])||{},_0x3d144e=_0x3b5deb['diffData'][_0xed49be],_0x409819=_0x356c78['_makeModelFromViewString'](_0x3d144e['insertions'],_0x3d144e['rootElementName']||'$root');_0x409819['rootName']=_0xed49be,_0x409819['_isAttached']=!_0x21426c||_0x21426c['isAttached'],_0x409819['isAttached']=()=>_0x409819['_isAttached'],this['_diffRoots']['set'](_0xed49be,_0x409819),this['_diffRootsAttributes']['set'](_0xed49be,_0x1c40ba);const _0x36f65b=this['_makeIdsRoot'](_0x409819,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xed49be,_0x36f65b),_0x52febe['set'](_0xed49be,_0x409819['isAttached']()?_0x1c40ba:{});for(const [_0x533a89,_0x4af5b3]of _0x409819['markers']){if(!_0x533a89['startsWith']('revision:'))continue;const _0x2289b8=_0x533a89['split'](':')[0x2];for(const _0x5531dd of _0x4af5b3['getWalker']({'singleCharacters':!0x0})){const _0x3d322b=this['_getVidAttributeName'](_0x5531dd),_0x4a7d6c=this['_revisionId']++,_0x8c2652='elementEnd'==_0x5531dd['type']?_0x5531dd['previousPosition']['path']['slice'](0x0,-0x1):_0x5531dd['previousPosition']['path'];_0x36f65b['getNodeByPath'](_0x8c2652)['_setAttribute'](_0x3d322b,_0x4a7d6c),this['_touched']['set'](_0x4a7d6c,{'userId':_0x2289b8});}_0x409819['markers']['delete'](_0x533a89);}for(const _0x367608 of this['editor']['model']['createRangeIn'](_0x409819)['getWalker']({'singleCharacters':!0x0})){const _0x3e3d5f=this['_getVidAttributeName'](_0x367608),_0x48aed8='elementEnd'==_0x367608['type']?_0x367608['previousPosition']['path']['slice'](0x0,-0x1):_0x367608['previousPosition']['path'],_0x4f673d=_0x36f65b['getNodeByPath'](_0x48aed8);_0x4f673d['getAttribute'](_0x3e3d5f)>0x0||_0x4f673d['_setAttribute'](_0x3e3d5f,_0x55f1a7[_0xa4b73++]);}for(const [_0x3f3f0b,_0x594687]of _0x409819['markers'])_0x3f3f0b['startsWith']('revision:')||this['_markers']['set'](_0x3f3f0b,_0x594687);}const {roots:_0x265c59}=this['_savedMetaData']['get'](_0x3b5deb['fromVersion']),{roots:_0x5ce4ba}=this['_savedMetaData']['get'](_0x3b5deb['toVersion']),_0x33259c=Rv(_0x265c59['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x33259c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x33259c,Number['NEGATIVE_INFINITY']));const _0xdda2ad=Rv(_0x5ce4ba['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0xdda2ad),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xdda2ad));const _0x493d1a=Array['from'](this['_diffRoots'])['map'](([_0x36bec7,_0x1a798d])=>[_0x36bec7,Rv(_0x1a798d)]);this['_saveMetaData'](this['_lastTo'],_0x493d1a,this['_markers'],_0x52febe);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x3a7ac6,_0x5a6514,_0x44ea60,_0x389060){const _0x3e2f66=new Map(_0x5a6514),_0x3d6146=new Map(kr(_0x389060)),_0x5c6df6=new Map();for(const [_0x4cf3cb,_0x5a342a]of _0x44ea60)_0x5c6df6['set'](_0x4cf3cb,{'start':_0x5a342a['start']['clone'](),'end':_0x5a342a['end']['clone'](),'rootName':_0x5a342a['root']['rootName']});this['_savedMetaData']['set'](_0x3a7ac6,{'roots':_0x3e2f66,'markers':_0x5c6df6,'rootsAttributes':_0x3d6146});}['_removeMetaData'](_0x1d4560){this['_savedMetaData']['delete'](_0x1d4560);}['_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'](_0x468123,_0x551b70=null){let _0x39ae48=null;_0x468123['is']('documentFragment')||(_0x39ae48=new _0x48588f(_0x468123['name'],{'vid_start':null===_0x551b70?this['_revisionId']++:_0x551b70++}));const _0x2faaab=[];for(const _0x1b6db4 of _0x468123['getChildren']())if(_0x1b6db4['is']('element')){_0x2faaab['push'](this['_makeIdsRoot'](_0x1b6db4,_0x551b70));const _0x5e4f6c=_0x2faaab[_0x2faaab['length']-0x1];null!==_0x551b70&&(_0x551b70=_0x5e4f6c['is']('element','$text')?_0x5e4f6c['getAttribute']('vid')+0x1:_0x5e4f6c['getAttribute']('vid_end')+0x1);}else{for(let _0x255460=0x0;_0x255460<_0x1b6db4['offsetSize'];_0x255460++)_0x2faaab['push'](new _0x48588f('$text',{'vid':null===_0x551b70?this['_revisionId']++:_0x551b70++}));}if(_0x468123['is']('documentFragment')){const _0x3623f7=Pv(_0x468123['rootName'],_0x468123['name']);return _0x3623f7['_insertChild'](0x0,_0x2faaab),_0x3623f7;}return _0x39ae48['_setAttribute']('vid_end',null===_0x551b70?this['_revisionId']++:_0x551b70++),_0x39ae48['_insertChild'](0x0,_0x2faaab),_0x39ae48;}['_calculateMetaData'](_0x113846,_0x549b47,_0x473bb8){this['_reset']();const {roots:_0x42b109,markers:_0x36d061,rootsAttributes:_0x282088}=this['_savedMetaData']['get'](_0x113846);this['_baseRoots']=new Map(_0x42b109),this['_baseRootsAttributes']=new Map(kr(_0x282088));for(const [_0x4b5816,_0x2af33a]of this['_baseRoots'])if('$graveyard'!==_0x4b5816&&(this['_diffRoots']['set'](_0x4b5816,Rv(_0x2af33a)),this['_diffRootsAttributes']=new Map(kr(_0x282088)),_0x473bb8)){const _0x5bf5c4=this['_revisionId'];this['_idsRoots']['set'](_0x4b5816,this['_makeIdsRoot'](_0x2af33a)),this['_baseIdsRoots']['set'](_0x4b5816,this['_makeIdsRoot'](_0x2af33a,_0x5bf5c4));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',Rv(this['_baseRoots']['get']('$graveyard'))),_0x473bb8&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x40763f,_0xec2e5f]of _0x36d061){const _0x460fcc=this['_baseRoots']['get'](_0xec2e5f['rootName']),_0x429a0a=this['_diffRoots']['get'](_0xec2e5f['rootName']),_0x4b728d=new _0x2b1886(this['_fixPosition'](_0xec2e5f['start'],_0x460fcc),this['_fixPosition'](_0xec2e5f['end'],_0x460fcc)),_0xdcf42f=this['_fixRange'](_0x4b728d,_0x429a0a);_0x460fcc['markers']['set'](_0x40763f,_0x4b728d),this['_markers']['set'](_0x40763f,_0xdcf42f);}this['_applyOperations'](_0x113846,_0x549b47,_0x473bb8);}['_applyOperations'](_0x17a6fa,_0x45bc20,_0xeeb86e){for(const _0x8a45a6 of this['source']['getOperations'](_0x17a6fa,_0x45bc20))this['_handleOperation'](_0x8a45a6,_0xeeb86e);for(const _0x2c0b7d of this['_diffRoots']['values']())_0x2c0b7d['markers']['clear']();for(const [_0x2cc2f0,_0x1d45e6]of this['_markers']){this['_diffRoots']['get'](_0x1d45e6['root']['rootName'])['markers']['set'](_0x2cc2f0,_0x1d45e6['clone']());}const _0x22ea82=new Map(),_0x3c803b=new Map();for(const [_0xf10df0,_0x369354]of this['_diffRoots'])_0x22ea82['set'](_0xf10df0,Rv(_0x369354)),_0x3c803b['set'](_0xf10df0,this['_diffRootsAttributes']['get'](_0xf10df0));this['_saveMetaData'](_0x45bc20,_0x22ea82,this['_markers'],_0x3c803b);}['_getPreviousFrom'](_0x3c4545){const _0x16da0d=Array['from'](this['_savedMetaData']['keys']());_0x16da0d['sort']((_0x592874,_0x1390a6)=>_0x592874-_0x1390a6),_0x16da0d['reverse']();for(const _0x42efd5 of _0x16da0d)if(_0x42efd5<_0x3c4545)return _0x42efd5;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x306b7a,_0x52fd01){const _0x57df54=Array['from'](_0x52fd01['markers'])['map'](([_0xafdd92,_0x216d8b])=>[_0xafdd92,this['_fixRange'](_0x216d8b,_0x306b7a)]);_0x306b7a['markers']=new Map(_0x57df54);}['_transformMarkers'](_0x5e5549){for(const _0x16844f of this['_markers']['values']()){const _0x5f2b5b=_0x16844f['getTransformedByOperation'](_0x5e5549),_0x119eda=_0x2b1886['_createFromRanges'](_0x5f2b5b);_0x16844f['start']=_0x119eda['start'],_0x16844f['end']=_0x119eda['end'];}}['_handleOperation'](_0x14687d,_0x31fba6){if('addRoot'!=_0x14687d['type']&&'detachRoot'!=_0x14687d['type']){if('insert'==_0x14687d['type']){const _0x1e5e46=_0x14687d['position']['root'],_0x42792f=_0x1e5e46['rootName'],_0x411635=_0x1e5e46['name'];this['_diffRoots']['has'](_0x42792f)||(this['_diffRoots']['set'](_0x42792f,Pv(_0x42792f,_0x411635,!0x0)),this['_diffRootsAttributes']['set'](_0x42792f,{}),_0x31fba6&&this['_idsRoots']['set'](_0x42792f,Pv(_0x42792f,_0x411635,!0x0)));}else{if('addRootAttribute'==_0x14687d['type']||'removeRootAttribute'==_0x14687d['type']||'changeRootAttribute'==_0x14687d['type'])return void this['_handleRootAttributeOperation'](_0x14687d);'marker'==_0x14687d['type']&&this['_handleMarkerOperation'](_0x14687d);}if('marker'!==_0x14687d['type']){const _0x2f1cfc=this['_cloneOperation'](_0x14687d,this['_diffRoots']);_0x2f1cfc['_execute'](),this['_transformMarkers'](_0x2f1cfc);}if(_0x31fba6)switch(_0x14687d['type']){case'insert':this['_handleInsertOperation'](_0x14687d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x14687d);break;case'merge':this['_handleMergeOperation'](_0x14687d);break;case'split':this['_handleSplitOperation'](_0x14687d);}}else this['_handleRootOperation'](_0x14687d,_0x31fba6);}['_cloneOperation'](_0x3103e5,_0x1b4ece){const _0x2b9874=_0x3103e5['clone']();return _0x2b9874['_authorId']=_0x3103e5['_authorId'],this['_fixOperation'](_0x2b9874,_0x1b4ece),_0x2b9874;}['_getBaseVids'](_0x3fcecb){return _0x3fcecb['map'](_0x35add0=>{const _0xe6dd6=this['_getVidAttributeName'](_0x35add0);return Number(_0x35add0['item']['getAttribute'](_0xe6dd6));});}['_generateTape'](_0x440515,_0x188977){if(_0x440515['is']('element','$text'))_0x188977['push']({'item':_0x440515,'type':'text'});else{_0x440515['is']('element')&&_0x188977['push']({'item':_0x440515,'type':'elementStart'});for(const _0x2601ea of _0x440515['getChildren']())this['_generateTape'](_0x2601ea,_0x188977);_0x440515['is']('element')&&_0x188977['push']({'item':_0x440515,'type':'elementEnd'});}return _0x188977;}['_getState'](){const _0x15d991=new Map(this['_touched']),_0x4609c1=new Map(_0x15d991),_0x5783a9=new Map(),_0x5cfd6e={'insertions':{},'deletions':{}},_0xc35a21={'insertions':{},'deletions':{}},_0x1eec91=new Map(),_0x31dfb1=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]),_0x251706=new Map();_0x31dfb1['delete']('$graveyard');for(const _0x47a751 of _0x31dfb1){const _0x4d222d=(this['_diffRoots']['get'](_0x47a751)??this['_baseRoots']['get'](_0x47a751))['name'],_0x58e49f=this['_diffRoots']['get'](_0x47a751)||Pv(_0x47a751,_0x4d222d,!0x1),_0x362c2b=this['_baseRoots']['get'](_0x47a751)||Pv(_0x47a751,_0x4d222d,!0x1);_0x58e49f['isAttached']()||_0x362c2b['isAttached']()?(_0x251706['set'](_0x47a751,_0x4d222d),_0x5cfd6e['insertions'][_0x47a751]=Rv(_0x58e49f),_0x5cfd6e['deletions'][_0x47a751]=Rv(_0x362c2b),this['_copyMarkers'](_0x5cfd6e['deletions'][_0x47a751],_0x362c2b),this['_copyMarkers'](_0x5cfd6e['insertions'][_0x47a751],_0x58e49f),_0xc35a21['insertions'][_0x47a751]=this['_generateTape'](this['_idsRoots']['get'](_0x47a751),[]),_0xc35a21['deletions'][_0x47a751]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x47a751)||Pv(_0x47a751,_0x4d222d,!0x1),[])):_0x31dfb1['delete'](_0x47a751);}for(const _0xa6d6c6 of _0x31dfb1){const _0x333d67=_0xc35a21['insertions'][_0xa6d6c6];for(const _0x578b40 of _0x333d67){const _0x3b57f4=this['_getVidAttributeName'](_0x578b40),_0x3dda36=_0x578b40['item']['getAttribute'](_0x3b57f4);_0x4609c1['delete'](_0x3dda36),_0x3dda36>=this['_startingRevisionId']&&_0x5783a9['set'](_0x3dda36,_0x15d991['get'](_0x3dda36));}}for(const _0x779f04 of _0x31dfb1){const _0x3cbfc7=_0xc35a21['insertions'][_0x779f04],_0x1ea713=this['_getBaseVids'](_0xc35a21['deletions'][_0x779f04]);let _0x757718=0x0;for(const _0x595d1c of _0x3cbfc7){const _0x26322c=this['_getVidAttributeName'](_0x595d1c),_0x2935df=_0x595d1c['item']['getAttribute'](_0x26322c);if(!_0x5783a9['has'](_0x2935df)&&!_0x1eec91['has'](_0x2935df)){if(_0x4609c1['has'](_0x2935df))_0x757718++;else{if(_0x2935df!=_0x1ea713[_0x757718]){const _0x3ab40d=_0x15d991['get'](_0x2935df)||_0x15d991['get'](_0x1ea713[_0x757718]);for(;_0x2935df!=_0x1ea713[_0x757718];)_0x4609c1['has'](_0x1ea713[_0x757718])||(_0x1eec91['set'](_0x1ea713[_0x757718],_0x3ab40d),_0x15d991['set'](_0x1ea713[_0x757718],_0x3ab40d)),_0x757718++;}_0x757718++;}}}}for(const _0x1d3397 of _0x31dfb1){const _0x35c881=_0xc35a21['insertions'][_0x1d3397];for(const _0x3a6aeb of _0x35c881){const _0x33915e=this['_getVidAttributeName'](_0x3a6aeb),_0x455c18=_0x3a6aeb['item']['getAttribute'](_0x33915e);if(_0x1eec91['has'](_0x455c18)){const _0x22386f=_0x1eec91['get'](_0x455c18);_0x4609c1['has'](_0x455c18)||_0x4609c1['set'](_0x455c18,{..._0x22386f}),_0x5783a9['set'](_0x455c18,{..._0x22386f});}}}for(const _0x48a37f of _0x4609c1['keys']())_0x48a37f>=this['_startingRevisionId']&&_0x4609c1['delete'](_0x48a37f);const _0x5c99c7=new Map();for(const _0x1167b2 of _0x31dfb1){let _0x131485=_0xc35a21['insertions'][_0x1167b2];for(const _0x187a2b of _0x131485)if(_0x187a2b['item']['is']('element','tableCell')){const _0xdc6dd8=this['_getVidAttributeName'](_0x187a2b),_0x11330b=_0x187a2b['item']['getAttribute'](_0xdc6dd8);if(_0x5783a9['has'](_0x11330b)){const _0x33e77c=_0x187a2b['item']['parent']['parent']['getAttribute']('vid_start'),_0x53cd8e=_0x5c99c7['get'](_0x33e77c)||new Set();_0x53cd8e['add'](_0x5783a9['get'](_0x11330b)['userId']),_0x5c99c7['set'](_0x33e77c,_0x53cd8e);}}_0x131485=_0xc35a21['deletions'][_0x1167b2];for(const _0x226233 of _0x131485)if(_0x226233['item']['is']('element','tableCell')){const _0x118364=this['_getVidAttributeName'](_0x226233),_0x3d7ca7=_0x226233['item']['getAttribute'](_0x118364);if(_0x4609c1['has'](_0x3d7ca7)){const _0x4b5cc6=_0x226233['item']['parent']['parent']['getAttribute']('vid_start'),_0x6015e0=_0x5c99c7['get'](_0x4b5cc6)||new Set();_0x6015e0['add'](_0x4609c1['get'](_0x3d7ca7)['userId']),_0x5c99c7['set'](_0x4b5cc6,_0x6015e0);}}for(const _0x37f99d of _0x5c99c7['keys']())(_0x5783a9['has'](_0x37f99d)||_0x4609c1['has'](_0x37f99d))&&_0x5c99c7['delete'](_0x37f99d);}for(const _0x3bda8f of _0x31dfb1){const _0xb5884f=_0xc35a21['insertions'][_0x3bda8f];let _0x10ae47=null,_0x35dbc5=null;for(const _0x55c355 of _0xb5884f){const _0x4d593a=this['_getVidAttributeName'](_0x55c355),_0x266e1e=_0x55c355['item']['getAttribute'](_0x4d593a),_0x46e5c5=_0x5c99c7['get'](_0x266e1e);_0x46e5c5&&'elementStart'==_0x55c355['type']&&(_0x10ae47=Array['from'](_0x46e5c5)[0x0],_0x35dbc5=_0x55c355['item']['getAttribute']('vid_end')),_0x10ae47&&(_0x4609c1['set'](_0x266e1e,{'userId':_0x10ae47}),_0x5783a9['set'](_0x266e1e,{'userId':_0x10ae47})),_0x266e1e==_0x35dbc5&&(_0x10ae47=null,_0x35dbc5=null);}}const _0x19a5e0={},_0x2ca8c3=new Set();for(const _0x50f03 of _0x31dfb1){const _0x546fa0=_0x5cfd6e['deletions'][_0x50f03],_0x537c3c=_0x5cfd6e['insertions'][_0x50f03];for(const {userId:_0x58f0eb}of this['_touchedMarkers']['values']())null!==_0x58f0eb&&_0x2ca8c3['add'](_0x58f0eb);for(const {userId:_0x411813}of this['_touchedRoots']['values']())null!==_0x411813&&_0x2ca8c3['add'](_0x411813);this['_markChanges'](_0x537c3c,_0xc35a21['insertions'][_0x50f03],_0x5783a9,'insertion',_0x2ca8c3),this['_markChanges'](_0x546fa0,_0xc35a21['deletions'][_0x50f03],_0x4609c1,'deletion',_0x2ca8c3),_0x19a5e0[_0x50f03]={'insertions':this['_prepareViewToSave'](_0x537c3c),'deletions':this['_prepareViewToSave'](_0x546fa0),'attachChange':this['_touchedRoots']['get'](_0x50f03)||null,'attributesBefore':kr(this['_baseRootsAttributes']['get'](_0x50f03))||{},'attributesAfter':kr(this['_diffRootsAttributes']['get'](_0x50f03)),'rootElementName':_0x251706['get'](_0x50f03)};}return{'diffData':_0x19a5e0,'authorsIds':Array['from'](_0x2ca8c3)};}['_processRootBeforeSave'](_0x10f449){for(const [,_0x21c210]of _0x10f449['markers']){const _0x4db936=_0x21c210['start']['getAncestors']()['filter'](_0x3e5e11=>'tableCell'==_0x3e5e11['name']);for(const _0x59a37a of _0x4db936)0x1==_0x59a37a['childCount']&&_0x59a37a['getChild'](0x0)['is']('element','paragraph')&&_0x59a37a['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x567d13){this['_processRootBeforeSave'](_0x567d13);const _0x53b0f3=this['editor']['data']['toView'](_0x567d13,{}),_0x516f92=Array['from'](_0x53b0f3['getChildren']())['map'](_0x27359b=>this['_getViewJson'](_0x27359b));return JSON['stringify'](_0x516f92);}['_getViewJson'](_0x50be99){if(_0x50be99['is']('$text'))return _0x50be99['data'];{const _0x5b3472=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x1586e5=_0x50be99,_0x1ee0a9=this['editor']['data']['htmlProcessor']['domConverter'],_0x554bdc={'type':_0x5b3472['_getTypeCharForViewElement'](_0x1586e5),'name':_0x1586e5['name'],'attributes':Array['from'](_0x1586e5['getAttributes']()),'children':Array['from'](_0x1586e5['getChildren']())['map'](_0x30311e=>this['_getViewJson'](_0x30311e))};if(_0x50be99['is']('uiElement')&&'$comment'!=_0x50be99['name']){const _0x1a9380=_0x50be99['render'](_0x1ee0a9['domDocument'],_0x1ee0a9);_0x554bdc['children']['push'](_0x1a9380['outerHTML']);}else{if(_0x50be99['is']('rawElement')){const _0x2f7356=_0x1ee0a9['domDocument']['createElement'](_0x1586e5['name']);_0x50be99['render'](_0x2f7356,_0x1ee0a9),_0x554bdc['children']['push'](_0x2f7356['innerHTML']);}}const _0x58c21b=Array['from'](_0x1586e5['getCustomProperties']());_0x58c21b['length']>0x0&&(_0x554bdc['customProperties']=_0x58c21b);const _0xdf399f=_0x1586e5['getFillerOffset']();return null!==_0xdf399f&&(_0x554bdc['fillerOffset']=_0xdf399f),_0x554bdc;}}['_markChanges'](_0x439d00,_0x284388,_0xc283e6,_0x41cc7e,_0x3a8f0d){let _0x8f3b8f=null,_0x1bff08=null,_0x460f25=0x0;const _0xf5d946=this['editor']['model'];for(let _0x3603b6=0x0;_0x3603b6<_0x284388['length'];_0x3603b6++){const _0x410285=this['_getVidAttributeName'](_0x284388[_0x3603b6]),_0x5cdbb8=_0x284388[_0x3603b6]['item']['getAttribute'](_0x410285),_0x1fb08b=_0xc283e6['get'](_0x5cdbb8),_0x20cada=_0x3603b6==_0x284388['length']-0x1;(!_0x8f3b8f&&_0x1fb08b&&(_0x8f3b8f=_0x1fb08b,_0x1bff08=_0x284388[_0x3603b6]),_0x8f3b8f&&(!_0x1fb08b||_0x1fb08b['userId']!=_0x8f3b8f['userId']))&&(_0xb3080e(_0x1fb08b,Mv(_0x1bff08,_0x439d00,_0xf5d946),Mv(_0x284388[_0x3603b6],_0x439d00,_0xf5d946)),_0x8f3b8f=_0x1fb08b||null,_0x1bff08=_0x1fb08b?_0x284388[_0x3603b6]:null),_0x8f3b8f&&_0x20cada&&_0xb3080e(_0x1fb08b,Mv(_0x1bff08,_0x439d00,_0xf5d946),Nv(_0x284388[_0x3603b6],_0x439d00,_0xf5d946));}function _0xb3080e(_0x4d0b25,_0x57b355,_0x141581){const _0x583225=_0x8f3b8f['userId'],_0x3a5ecb='revision:'+_0x41cc7e+':'+_0x583225+':'+_0x460f25++,_0x56c028=_0xf5d946['createRange'](_0x57b355,_0x141581);_0x439d00['markers']['set'](_0x3a5ecb,_0x56c028),null!==_0x583225&&_0x3a8f0d['add'](_0x583225);}}['_getVidAttributeName'](_0x15d01b){switch(_0x15d01b['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x12cb20,_0x351413){_0x12cb20['baseVersion']=null;for(const _0x46ac5c in _0x12cb20){const _0x433dcc=_0x12cb20[_0x46ac5c];if(_0x433dcc instanceof _0x1845da){const _0x400e98=_0x351413['get'](_0x433dcc['root']['rootName']);_0x12cb20[_0x46ac5c]=this['_fixPosition'](_0x433dcc,_0x400e98);}if(_0x433dcc instanceof _0x2b1886){const _0x2571d5=_0x351413['get'](_0x433dcc['root']['rootName']);_0x12cb20[_0x46ac5c]=this['_fixRange'](_0x433dcc,_0x2571d5);}'root'===_0x46ac5c&&(_0x12cb20['root']=_0x351413['get'](_0x12cb20['root']['rootName']));}}['_fixRange'](_0x2af257,_0x236cff){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2af257['start'],_0x236cff),this['_fixPosition'](_0x2af257['end'],_0x236cff));}['_fixPosition'](_0x32989d,_0x4a6bc8){return this['editor']['model']['createPositionFromPath'](_0x4a6bc8,_0x32989d['path'],_0x32989d['stickiness']);}['_handleInsertOperation'](_0x40a239){const _0x414743=this['_idsRoots']['get'](_0x40a239['position']['root']['rootName']),_0x14160d=this['_fixPosition'](_0x40a239['position'],_0x414743),_0x5183b5=null===_0x40a239['_authorId']?null:_0x40a239['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x257d86=_0x14160d['parent'],_0x4c2589=this['_revisionId'],_0x21d4a3=[];for(const _0x104242 of _0x40a239['nodes'])if(_0x104242['is']('element'))_0x21d4a3['push'](this['_makeIdsRoot'](_0x104242));else{for(let _0x500014=0x0;_0x500014<_0x104242['offsetSize'];_0x500014++)_0x21d4a3['push'](new _0x48588f('$text',{'vid':this['_revisionId']++}));}const _0x411c91=this['_revisionId'];for(let _0x58bdb8=_0x4c2589;_0x58bdb8<_0x411c91;_0x58bdb8++)this['_touched']['set'](_0x58bdb8,{'userId':_0x5183b5});_0x257d86['_insertChild'](_0x14160d['offset'],_0x21d4a3);}['_handleMoveOperation'](_0x3497fc){(_0x3497fc=this['_cloneOperation'](_0x3497fc,this['_idsRoots']))['_execute']();const _0x297b0b=null===_0x3497fc['_authorId']?null:_0x3497fc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x199b04=_0x3497fc['getMovedRangeStart'](),_0x1bbd95=_0x199b04['parent'],_0x5dcf32=_0x199b04['offset'];!function _0x314d6d(_0x17fa35,_0x236d65,_0x376fe6,_0x45a539){for(let _0x226ae7=_0x376fe6;_0x226ae7<_0x45a539;_0x226ae7++){const _0x32200d=_0x236d65['getChild'](_0x226ae7);_0x32200d['is']('element','$text')?_0x17fa35['set'](_0x32200d['getAttribute']('vid'),{'userId':_0x297b0b}):(_0x17fa35['set'](_0x32200d['getAttribute']('vid_start'),{'userId':_0x297b0b}),_0x314d6d(_0x17fa35,_0x32200d,0x0,_0x32200d['childCount']),_0x17fa35['set'](_0x32200d['getAttribute']('vid_end'),{'userId':_0x297b0b}));}}(this['_touched'],_0x1bbd95,_0x5dcf32,_0x5dcf32+_0x3497fc['howMany']);}['_handleMergeOperation'](_0x38dec0){const _0x2a7b4e=null===(_0x38dec0=this['_cloneOperation'](_0x38dec0,this['_idsRoots']))['_authorId']?null:_0x38dec0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f1ace=_0x38dec0['targetPosition']['parent'],_0x121309=_0x38dec0['sourcePosition']['parent'],_0x374d84=_0x4f1ace['getAttribute']('vid_end'),_0xf17ff0=_0x121309['getAttribute']('vid_start');_0x4f1ace['_setAttribute']('vid_end',_0x121309['getAttribute']('vid_end')),_0x121309['_setAttribute']('vid_end',_0x374d84),this['_touched']['set'](_0xf17ff0,{'userId':_0x2a7b4e}),this['_touched']['set'](_0x374d84,{'userId':_0x2a7b4e}),_0x38dec0['_execute']();}['_handleSplitOperation'](_0x4dd25c){const _0x3c5dbc=null===(_0x4dd25c=this['_cloneOperation'](_0x4dd25c,this['_idsRoots']))['_authorId']?null:_0x4dd25c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2cac66=_0x4dd25c['graveyardPosition'],_0x2adb7d=_0x4dd25c['splitPosition']['parent'];_0x4dd25c['_execute']();const _0x3c59e1=_0x2adb7d['getAttribute']('vid_end'),_0x562b52=_0x4dd25c['insertionPosition']['nodeAfter'];if(_0x2cac66){const _0x14f5d2=_0x562b52['getAttribute']('vid_end'),_0xf63751=_0x2adb7d['getAttribute']('vid_end');_0x2adb7d['_setAttribute']('vid_end',_0x14f5d2),_0x562b52['_setAttribute']('vid_end',_0xf63751),this['_touched']['set'](_0x2adb7d['getAttribute']('vid_end'),{'userId':_0x3c5dbc}),this['_touched']['set'](_0x562b52['getAttribute']('vid_start'),{'userId':_0x3c5dbc});}else{const _0x2dcb41=this['_revisionId']++,_0x51e91e=this['_revisionId']++;_0x2adb7d['_setAttribute']('vid_end',_0x2dcb41),_0x562b52['_setAttribute']('vid_start',_0x51e91e),_0x562b52['_setAttribute']('vid_end',_0x3c59e1),this['_touched']['set'](_0x2dcb41,{'userId':_0x3c5dbc}),this['_touched']['set'](_0x51e91e,{'userId':_0x3c5dbc});}}['_handleMarkerOperation'](_0x14c801){if(!_0x14c801['affectsData'])return;const _0x1fa52a=(_0x14c801=this['_cloneOperation'](_0x14c801,this['_diffRoots']))['oldRange']?_0x14c801['oldRange']['root']:null,_0x1033f3=_0x14c801['newRange']?_0x14c801['newRange']['root']:null;_0x1fa52a&&this['_markers']['delete'](_0x14c801['name']),_0x1033f3&&this['_markers']['set'](_0x14c801['name'],_0x14c801['newRange']['clone']());const _0x5690f9=null===_0x14c801['_authorId']?null:_0x14c801['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4149d9=_0x14c801['name'];if(!this['_touchedMarkers']['has'](_0x4149d9))return void this['_touchedMarkers']['set'](_0x4149d9,{'range':_0x14c801['oldRange'],'userId':_0x5690f9});const _0x56bcb2=this['_touchedMarkers']['get'](_0x4149d9),_0x3aae5d=_0x56bcb2['range'],_0x1ce7d2=_0x14c801['newRange'];null==_0x3aae5d&&null==_0x1ce7d2||_0x3aae5d&&_0x1ce7d2&&_0x3aae5d['isEqual'](_0x1ce7d2)?this['_touchedMarkers']['delete'](_0x14c801['name']):_0x56bcb2['userId']=_0x5690f9;}['_handleRootOperation'](_0x2cd63b,_0x50cd10){this['_diffRoots']['has'](_0x2cd63b['rootName'])?this['_diffRoots']['get'](_0x2cd63b['rootName'])['_isAttached']=_0x2cd63b['isAdd']:(this['_diffRoots']['set'](_0x2cd63b['rootName'],Pv(_0x2cd63b['rootName'],_0x2cd63b['elementName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2cd63b['rootName'],{}),_0x50cd10&&this['_idsRoots']['set'](_0x2cd63b['rootName'],Pv(_0x2cd63b['rootName'],_0x2cd63b['elementName'],!0x0)));const _0x20a9c6=null===_0x2cd63b['_authorId']?null:_0x2cd63b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1bb7dd=this['_touchedRoots']['get'](_0x2cd63b['rootName']);_0x1bb7dd&&_0x1bb7dd['userId']===_0x20a9c6?this['_touchedRoots']['delete'](_0x2cd63b['rootName']):this['_touchedRoots']['set'](_0x2cd63b['rootName'],{'userId':_0x20a9c6,'isAttached':_0x2cd63b['isAdd']});}['_handleRootAttributeOperation'](_0x585337){const _0x578e2f=this['_diffRootsAttributes']['get'](_0x585337['root']['rootName']);null===_0x585337['newValue']?delete _0x578e2f[_0x585337['key']]:_0x578e2f[_0x585337['key']]=_0x585337['newValue'];}}function Rv(_0x39e856){const _0x3f399d=Pv(_0x39e856['rootName'],_0x39e856['name'],_0x39e856['isAttached']());for(const _0x1a48cf of _0x39e856['getChildren']()){const _0x145bb8=_0x1a48cf['_clone'](!0x0);_0x3f399d['_appendChild'](_0x145bb8);}return _0x3f399d;}function Pv(_0x30caed,_0x39e4c3,_0x1ddc33=!0x0){const _0x52e3e4=new _0x50f751();return _0x52e3e4['rootName']=_0x30caed,_0x52e3e4['name']=_0x39e4c3,_0x52e3e4['_isAttached']=_0x1ddc33,_0x52e3e4['isAttached']=()=>_0x52e3e4['_isAttached'],_0x52e3e4;}function Mv(_0xc87b1e,_0x30dd2b,_0x5153d9){const _0x1fa7dd='elementEnd'==_0xc87b1e['type']?_0x5153d9['createPositionAt'](_0xc87b1e['item'],'end'):_0x5153d9['createPositionBefore'](_0xc87b1e['item']);return _0x5153d9['createPositionFromPath'](_0x30dd2b,_0x1fa7dd['path'],_0x1fa7dd['stickiness']);}function Nv(_0x230d1d,_0x401435,_0x2cca57){const _0x50c65f='elementStart'==_0x230d1d['type']?_0x2cca57['createPositionAt'](_0x230d1d['item'],0x0):_0x2cca57['createPositionAfter'](_0x230d1d['item']);return _0x2cca57['createPositionFromPath'](_0x401435,_0x50c65f['path'],_0x50c65f['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
Wt(_0xa34d16){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0xc30cd6,_0x4ba866){super(_0xc30cd6),this['focusTracker']=new _0xafcb0e(),this['keystrokes']=new _0x2ae5e6(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4ba866),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'](),wt({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3cd2fa=_0x46d0da=>_0x46d0da['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3cd2fa),this['keystrokes']['set']('arrowleft',_0x3cd2fa),this['keystrokes']['set']('arrowup',_0x3cd2fa),this['keystrokes']['set']('arrowdown',_0x3cd2fa);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x35313b){this['revisionNameInputView']['fieldView']['element']['value']=_0x35313b['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x114c7a){const _0x41277c=new bt(this['locale'],yt),_0x1f22a7=_0x41277c['fieldView'];_0x1f22a7['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x359a5a=xv(this['locale'],'Name\x20of\x20the\x20revision');return!_0x114c7a&&(_0x359a5a+='\x20('+xv(this['locale'],'optional')+')'),(_0x41277c['label']=_0x359a5a,_0x1f22a7['on']('input',()=>{this['revisionNameInputValue']=_0x1f22a7['element']['value']['trim']();}),_0x41277c);}}class RevisionHistoryUI extends _0x151d85{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker];}['_saveRevisionFormView'];['init'](){const _0x1269f5=this['editor'],_0x36e85e=_0x1269f5['plugins']['get']('RevisionTracker');_0x1269f5['ui']['componentFactory']['add']('revisionHistory',_0x41b251=>{const _0x6dfb35=nt(_0x41b251),_0x53285a=_0x6dfb35['panelView']['children'],_0x4b2267=new _0x1688f4(_0x41b251),_0x2fd4dd=new _0xcc051a(_0x41b251),_0x352c63=this['_createSaveRevisionButton'](_0x4c508c),_0x1b6bb9=new _0xcc051a(_0x41b251),_0x5292df=this['_createOpenRevisionButton'](_0x4c508c);return _0x6dfb35['bind']('isEnabled')['to'](_0x36e85e,'isReady',_0x36e85e,'isEnabled',_0x1269f5,'isReadOnly',(_0x3dcdbc,_0x200889,_0x3a1a38)=>_0x3dcdbc&&_0x200889&&!_0x3a1a38),_0x6dfb35['buttonView']['set']({'icon':_0x1be39e,'label':xv(_0x41b251,'Revision\x20history'),'tooltip':!0x0}),_0x352c63['set']({'withText':!0x0,'role':'menuitem'}),_0x5292df['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x5292df,'execute',()=>{_0x6dfb35['isOpen']=!0x1,_0x1269f5['editing']['view']['focus']();},{'priority':'low'}),_0x2fd4dd['children']['add'](_0x352c63),_0x1b6bb9['children']['add'](_0x5292df),_0x4b2267['role']='menu',_0x4b2267['items']['addMany']([_0x2fd4dd,_0x1b6bb9]),_0x53285a['add'](_0x4b2267),_0x6dfb35;}),_0x1269f5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x145258=this['editor'],_0x1d4811=_0x145258['locale'],_0x59b055=_0x145258['plugins']['get']('RevisionTracker'),_0x8425f1=new ot(_0x1d4811),_0x3cc5c0=new lt(_0x1d4811);_0x8425f1['bind']('isEnabled')['to'](_0x59b055,'isReady',_0x59b055,'isEnabled',_0x145258,'isReadOnly',(_0x3f4a59,_0x1c92ff,_0xff87f4)=>_0x3f4a59&&_0x1c92ff&&!_0xff87f4),_0x8425f1['buttonView']['set']({'icon':_0x1be39e,'label':xv(_0x1d4811,'Revision\x20history')});const _0x46ee1a=new ht(_0x1d4811,_0x8425f1),_0x24b268=this['_createSaveRevisionButton'](at);_0x24b268['delegate']('execute')['to'](_0x8425f1),_0x46ee1a['children']['add'](_0x24b268),_0x3cc5c0['items']['add'](_0x46ee1a);const _0xc8ae9=new ht(_0x1d4811,_0x8425f1),_0x5d7039=this['_createOpenRevisionButton'](at);return _0x5d7039['delegate']('execute')['to'](_0x8425f1),_0xc8ae9['children']['add'](_0x5d7039),_0x3cc5c0['items']['add'](_0xc8ae9),_0x8425f1['panelView']['children']['add'](_0x3cc5c0),_0x8425f1;}['_createSaveRevisionButton'](_0x52560d){const _0x3845f1=this['editor'],_0x12311a=_0x3845f1['plugins']['get']('RevisionTracker'),_0x59e935=new _0x52560d(_0x3845f1['locale']);return _0x59e935['set']({'label':xv(_0x3845f1['locale'],'Save\x20current\x20revision')}),_0x59e935['bind']('isEnabled')['to'](_0x12311a,'isReady',_0x12311a,'isEnabled',_0x3845f1,'isReadOnly',(_0x23c32a,_0x552582,_0x38ccd3)=>_0x23c32a&&_0x552582&&!_0x38ccd3),this['listenTo'](_0x59e935,'execute',()=>{this['_showDialog']();}),_0x59e935;}['_createOpenRevisionButton'](_0x48c523){const _0x3b67c1=this['editor'],_0x40c10a=_0x3b67c1['plugins']['get']('RevisionTracker'),_0x2f639e=new _0x48c523(_0x3b67c1['locale']);return _0x2f639e['set']({'label':xv(_0x3b67c1['locale'],'Open\x20revision\x20history')}),_0x2f639e['bind']('isEnabled')['to'](_0x40c10a,'isReady',_0x3b67c1,'isReadOnly',(_0x1d1dfa,_0x14f4e3)=>_0x1d1dfa&&!_0x14f4e3),this['listenTo'](_0x2f639e,'execute',()=>{_0x3b67c1['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2f639e;}['_showDialog'](){const _0x2a6f11=this['editor'],_0x1756da=_0x2a6f11['locale'],_0x442a6e=_0x2a6f11['plugins']['get']('Dialog'),_0x573feb=_0x2a6f11['plugins']['get']('RevisionTracker');function _0x4e8613(_0x194daf){_0x2a6f11['config']['get']('revisionHistory.requireRevisionName')&&''===_0x194daf['revisionName']?_0x194daf['revisionNameInputView']['errorText']=xv(_0x1756da,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2a6f11['plugins']['get'](RevisionTracker)['saveRevision']({'name':_0x194daf['revisionName']}),_0x442a6e['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4e8613(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x442a6e['show']({'id':'revisionSave','title':xv(_0x1756da,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':xv(_0x2a6f11['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x442a6e['hide']()},{'label':xv(_0x2a6f11['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x502eeb){_0x502eeb['bind']('isEnabled')['to'](_0x573feb,'isReady',_0x573feb,'isEnabled',_0x2a6f11,'isReadOnly',(_0x3b81a0,_0x121adb,_0x1ab2ac)=>_0x3b81a0&&_0x121adb&&!_0x1ab2ac);},'onExecute':()=>_0x4e8613(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5d834d=this['editor'],_0xb1a150=_0x5d834d['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0xb1a150,_0x5d834d['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends _0xa34d16{['changeId'];['_model'];constructor(_0x4c6cf7,_0x12fed5){super(_0x4c6cf7),this['_model']=_0x12fed5,this['changeId']=_0x12fed5['id'];const _0x39a4eb=this['bindTemplate'],_0x4149ba=xv(_0x4c6cf7,_0x12fed5['data']['isSuggestion']?'Suggested\x20by':'add'==_0x12fed5['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x12fed5['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x39a4eb['to']('type',_0x507431=>'ck-revision-change__'+_0x507431)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4149ba}]},{'text':'\x20'+_0x12fed5['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x140e4c){super(),this['id']=_0x140e4c['id']||_0x3eda13(),this['author']=_0x140e4c['author'],this['type']=_0x140e4c['type'],this['data']=_0x140e4c['data']||{},this['rootName']=_0x140e4c['rootName'],this['set']('createdAt',_0x140e4c['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class RevisionDiff{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x8a1a60,_0x397d63){this['newRevisionId']=_0x8a1a60,this['oldRevisionId']=_0x397d63,this['changes']=new _0x47a54f();}['_setChanges'](_0x356119){for(const _0x22e5be of _0x356119)this['changes']['add'](_0x22e5be);}}class RevisionViewer extends _0x151d85{['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[Users,Dt,RevisionsRepository,RevisionHistoryUtils];}constructor(_0xd2b8d){super(_0xd2b8d),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',(_0x21dcf8,_0x1a15f6,_0x3b8117)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4aec77=>{for(const _0x335bde of this['editor']['editing']['view']['document']['roots'])_0x3b8117?_0x4aec77['removeClass']('ck-editor__editable__overlay',_0x335bde):_0x4aec77['addClass']('ck-editor__editable__overlay',_0x335bde);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x39291b=>null!==_0x39291b),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5637e7,_0xd35170,_0x37ea27)=>_0x5637e7&&_0x37ea27?_0xd35170['changes']['getIndex'](_0x37ea27):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x36e682,_0x46fc1c)=>_0x36e682?_0x46fc1c['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](Dt);}['init'](){const _0x2e46d1=this['editor'],_0x55cecb=new ShowChangeCommand(_0x2e46d1,{'direction':'backward'}),_0x187938=new ShowChangeCommand(_0x2e46d1,{'direction':'forward'});(_0x2e46d1['commands']['add']('showPreviousChange',_0x55cecb),_0x2e46d1['commands']['add']('showNextChange',_0x187938),_0x2e46d1['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x2e46d1)),this['on']('change:numberOfChanges',()=>{_0x55cecb['refresh'](),_0x187938['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2e46d1['enableReadOnlyMode']('revision-viewer'),_0x2e46d1['plugins']['has']('WidgetToolbarRepository'))&&_0x2e46d1['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x5b3b39){return await this['_utils']['loadRevisionData'](_0x5b3b39,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x5b3b39);}async['getRevisionRootsAttributes'](_0x46358e){return await this['_utils']['loadRevisionData'](_0x46358e,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x46358e);}async['compare'](_0x257020,_0x18397d,_0x5c0142=!0x1){if(!this['isEnabled'])return;const _0x93ecb3=this['diff'],_0xdd19da=this['repository'],_0x3c6b20='string'==typeof _0x257020?_0xdd19da['getRevision'](_0x257020):_0x257020,_0x3b1ae3='string'==typeof _0x18397d?_0xdd19da['getRevision'](_0x18397d):_0x18397d,_0xbe4d2c=_0x3c6b20['id'],_0x27d755=_0x3b1ae3?_0x3b1ae3['id']:null;if(!_0x5c0142&&this['diff']&&this['diff']['newRevisionId']===_0xbe4d2c&&this['diff']['oldRevisionId']===_0x27d755)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new RevisionDiff(_0xbe4d2c,_0x27d755);const _0x1f9c2b=this['_getRevisionsRange'](_0x3c6b20,_0x3b1ae3,!0x0)['map'](_0x59a1b2=>this['_utils']['loadRevisionData'](_0x59a1b2,this['adapter']));return _0x1f9c2b['push'](new Promise(_0x542fad=>{setTimeout(_0x542fad,0x14);})),Promise['all'](_0x1f9c2b)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4b31bd=this['_getDiff'](_0xbe4d2c,_0x27d755);for(const _0x38614c of _0x4b31bd['changes'])this['_changeIdToChange']['set'](_0x38614c['id'],_0x38614c);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x12a309=>{for(const _0x65de2a of this['editor']['model']['document']['getRootNames']())_0x12a309['detachRoot'](_0x65de2a);for(const _0x3d688a of Object['keys'](_0x4b31bd['model'])){const _0x74c9d2=_0x4b31bd['model'][_0x3d688a]['name'],_0x364d7a=_0x12a309['addRoot'](_0x3d688a,_0x74c9d2);for(const _0x40743f of Object['keys'](_0x4b31bd['attributes'][_0x3d688a]))_0x12a309['setAttribute'](_0x40743f,_0x4b31bd['attributes'][_0x3d688a][_0x40743f],_0x364d7a);_0x12a309['insert'](_0x4b31bd['model'][_0x3d688a],_0x364d7a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4b31bd['changes'])),this['isReady']=!0x0;})['catch'](_0x1dcd28=>{console['error'](_0x1dcd28),this['_cleanUp'](),_0x93ecb3&&(this['diff']=_0x93ecb3),this['isReady']=!0x0;});}['addRevisionData'](_0x1f3148,_0x1e5d6f){const _0x5d403a=this['repository']['createRevision'](_0x1f3148);return _0x5d403a['on']('_update',(_0x210a23,_0x116cc3,_0x44290b)=>_0x1e5d6f(_0x116cc3,_0x44290b,_0x5d403a)),this['repository']['addRevision'](_0x5d403a),_0x5d403a;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x57c8b=>{for(const _0x42e5a5 of this['editor']['model']['document']['getRootNames']())_0x57c8b['detachRoot'](_0x42e5a5);});}['_sortAndFilterDiffChanges'](_0x57c080){const _0xf722b7=[],_0x57e0f4=new Map();for(const _0x14b385 of this['editor']['model']['document']['getRootNames']()){const _0x5c5fb8=this['editor']['editing']['view']['getDomRoot'](_0x14b385);if(!_0x5c5fb8)continue;const _0x359c14=_0x5c5fb8['getClientRects']()['item'](0x0);_0x359c14&&(_0xf722b7['push'](_0x14b385),_0x57e0f4['set'](_0x14b385,_0x359c14));}return _0xf722b7['sort']((_0x3c3855,_0x457925)=>{const _0x3760d2=_0x57e0f4['get'](_0x3c3855),_0x267649=_0x57e0f4['get'](_0x457925);return _0x3760d2['y']-_0x267649['y']||_0x3760d2['x']-_0x267649['x'];}),(_0x57c080=_0x57c080['filter'](_0x45c8b8=>_0xf722b7['includes'](_0x45c8b8['rootName'])))['sort']((_0x27db1f,_0x34d868)=>_0xf722b7['indexOf'](_0x27db1f['rootName'])-_0xf722b7['indexOf'](_0x34d868['rootName'])),_0x57c080;}['_makeTape'](_0x235c91){const _0x2acf7a=Array['from'](_0x235c91['markers'])['filter'](([_0x555e20,_0x1df6fd])=>_0x555e20['startsWith']('revision:')&&!_0x1df6fd['isCollapsed']),_0x4bb3f9=Array['from'](this['editor']['model']['createRangeIn'](_0x235c91)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2acf7a['length'])for(const _0x658d7a of _0x4bb3f9){const [_0x2a05ed,_0x2b248c]=_0x2acf7a[0x0],[,_0x454094,_0x23a7f0]=_0x2a05ed['split'](':');if(_0x2b248c['end']['isEqual'](_0x658d7a['nextPosition'])&&_0x2acf7a['shift'](),(_0x658d7a['previousPosition']['isEqual'](_0x2b248c['start'])||_0x658d7a['previousPosition']['isAfter'](_0x2b248c['start']))&&('insertion'==_0x454094?_0x658d7a['isAdded']={'userId':_0x23a7f0}:'deletion'==_0x454094&&(_0x658d7a['isRemoved']={'userId':_0x23a7f0})),0x0==_0x2acf7a['length'])break;}return _0x4bb3f9;}['_refreshStartEndIndex'](_0x3198b5){const _0x110a90=new Map();for(let _0x2cf749=0x0;_0x2cf749<_0x3198b5['length'];_0x2cf749++)'text'===_0x3198b5[_0x2cf749]['type']?(_0x3198b5[_0x2cf749]['item']['startIndex']=_0x2cf749,_0x3198b5[_0x2cf749]['item']['endIndex']=_0x2cf749):('elementStart'===_0x3198b5[_0x2cf749]['type']?_0x3198b5[_0x2cf749]['item']['startIndex']=_0x2cf749:'elementEnd'===_0x3198b5[_0x2cf749]['type']&&(_0x3198b5[_0x2cf749]['item']['endIndex']=_0x2cf749),_0x110a90['set'](_0x3198b5[_0x2cf749]['id'],_0x2cf749));for(const _0x1838e9 of _0x110a90['values']())'elementStart'===_0x3198b5[_0x1838e9]['type']?_0x3198b5[_0x1838e9]['item']['endIndex']=_0x110a90['get'](_0x3198b5[_0x1838e9]['pairId']):'elementEnd'===_0x3198b5[_0x1838e9]['type']&&(_0x3198b5[_0x1838e9]['item']['startIndex']=_0x110a90['get'](_0x3198b5[_0x1838e9]['pairId']));}['_processTape'](_0x2fb5db){for(let _0x470574=0x0;_0x470574<_0x2fb5db['length'];_0x470574++){if('elementStart'===_0x2fb5db[_0x470574]['type'])_0x2fb5db[_0x470574]['item']['startIndex']=_0x470574;else{if('elementEnd'===_0x2fb5db[_0x470574]['type']){_0x2fb5db[_0x470574]['item']['endIndex']=_0x470574;const _0x2bd714=_0x2fb5db[_0x470574]['item']['startIndex'];_0x2fb5db[_0x2bd714]['pairId']=_0x2fb5db[_0x470574]['id'],_0x2fb5db[_0x470574]['pairId']=_0x2fb5db[_0x2bd714]['id'];}else _0x2fb5db[_0x470574]['item']['startIndex']=_0x470574,_0x2fb5db[_0x470574]['item']['endIndex']=_0x470574,_0x2fb5db[_0x470574]['pairId']=null;}_0x2fb5db[_0x470574]['markersStart']||(_0x2fb5db[_0x470574]['markersStart']=[],_0x2fb5db[_0x470574]['markersEnd']=[]);}}['_markInsertions'](_0x4c68df,_0xfd1c7e){const _0x3d8053=_0x4c68df['filter'](_0x548870=>!_0x548870['isAdded']);for(let _0x2e1fc5=0x0;_0x2e1fc5<_0xfd1c7e['length'];_0x2e1fc5++)_0xfd1c7e[_0x2e1fc5]['isAdded']&&(_0x3d8053[_0x2e1fc5]['isAdded']=_0xfd1c7e[_0x2e1fc5]['isAdded']);}['_getDiff'](_0x52a750,_0x380099=null){const _0x5e1d74=this['repository']['getRevision'](_0x52a750),_0x55a094=_0x380099?this['repository']['getRevision'](_0x380099):null,_0x487ad9=this['_getRevisionsRange'](_0x5e1d74,_0x55a094),_0x2ffdc5=_0x487ad9[_0x487ad9['length']-0x1],_0x522ad6=new Map(),_0x1db849={'model':{},'attributes':{},'changes':[]},_0xc585b3=new Set(),_0x55391a=new Map();for(let _0x35ea27=_0x487ad9['length']-0x1;_0x35ea27>=0x0;_0x35ea27--){const _0x2d757e=_0x487ad9[_0x35ea27];for(const _0x5201aa of Object['keys'](_0x2d757e['diffData']))if(_0x2d757e['diffData'][_0x5201aa]['attachChange']){const _0x1b3cca=_0x2d757e['diffData'][_0x5201aa]['attachChange'];_0x1b3cca['isAttached']?(_0xc585b3['add'](_0x5201aa),_0x55391a['has'](_0x5201aa)&&_0x55391a['get'](_0x5201aa)['userId']==_0x1b3cca['userId']?_0x55391a['delete'](_0x5201aa):_0x55391a['set'](_0x5201aa,_0x1b3cca)):_0x55391a['has'](_0x5201aa)?(_0xc585b3['delete'](_0x5201aa),_0x55391a['delete'](_0x5201aa)):(_0xc585b3['add'](_0x5201aa),_0x55391a['set'](_0x5201aa,_0x1b3cca));}else _0xc585b3['add'](_0x5201aa);}for(const _0x1626ad of _0xc585b3){const _0x3750ef=_0x55391a['has'](_0x1626ad)&&!_0x55391a['get'](_0x1626ad)['isAttached'];let _0x3f92fc=_0x3750ef?_0x487ad9['length']-0x1:0x0;const _0x32218e=_0x3750ef?-0x1:0x1;for(;_0x487ad9[_0x3f92fc];){const _0x2da4d1=_0x487ad9[_0x3f92fc];if(_0x2da4d1['diffData'][_0x1626ad]){const _0xb55e2c=_0x3750ef?_0x2da4d1['diffData'][_0x1626ad]['attributesBefore']:_0x2da4d1['diffData'][_0x1626ad]['attributesAfter'];_0x1db849['attributes'][_0x1626ad]=_0xb55e2c?kr(_0xb55e2c):{};break;}_0x3f92fc+=_0x32218e;}}for(const _0x2f692d of _0x487ad9){_0x2f692d['model']={};for(const _0x31cfcd of _0x2f692d['authors'])_0x522ad6['set'](_0x31cfcd['id'],_0x31cfcd);for(const _0x3fa96b of _0xc585b3){const _0x1c9fe5=_0x2f692d['diffData'][_0x3fa96b]?_0x2f692d['diffData'][_0x3fa96b]['insertions']:'[]',_0x24a3e3=_0x2f692d['diffData'][_0x3fa96b]?_0x2f692d['diffData'][_0x3fa96b]['deletions']:'[]',_0x11e713=_0x2f692d['diffData'][_0x3fa96b]?.['rootElementName']||'$root';_0x2f692d['model'][_0x3fa96b]={'insertions':this['_utils']['_makeModelFromViewString'](_0x1c9fe5,_0x11e713),'deletions':this['_utils']['_makeModelFromViewString'](_0x24a3e3,_0x11e713)};}}for(const _0x38a012 of _0xc585b3){let _0x2c4704=null,_0x4cc6f1=0x0;const _0x3c9b0b=_0x487ad9['map'](_0x4506cc=>_0x4506cc['diffData'][_0x38a012]?.['rootElementName'])['find'](_0x52c0e3=>void 0x0!==_0x52c0e3)||'$root',_0x388955=new Map(Array['from'](_0x5e1d74['model'][_0x38a012]['insertions']['markers'])['filter'](([_0x328b87])=>!_0x328b87['startsWith']('revision:')));let _0x560c5=0x0;for(const _0x24ecdd of _0x487ad9){const _0x504c10=this['_makeTape'](_0x24ecdd['model'][_0x38a012]['insertions']);_0x24ecdd==_0x5e1d74?(_0x2c4704=_0x504c10,_0x4cc6f1=_0x2c4704['length'],_0x2c4704['forEach'](_0x2cc97a=>{_0x2cc97a['id']=_0x560c5++;}),this['_processTape'](_0x2c4704)):this['_markInsertions'](_0x2c4704,_0x504c10);const _0x25952c=_0x2c4704['filter'](_0x453f3a=>!_0x453f3a['isAdded'])['map'](_0x522e44=>_0x522e44['id']);let _0x37683d=0x0;const _0x1df2c1=this['_makeTape'](_0x24ecdd['model'][_0x38a012]['deletions']);_0x1df2c1['forEach'](_0xfe6e8b=>{_0xfe6e8b['isRemoved']?_0xfe6e8b['id']=_0x4cc6f1++:_0xfe6e8b['id']=_0x25952c[_0x37683d++];}),this['_processTape'](_0x1df2c1),this['_setDistance'](_0x2c4704,'isAdded'),this['_setDistance'](_0x1df2c1,'isRemoved'),_0x24ecdd==_0x5e1d74&&this['_markMarkers'](_0x2c4704,_0x388955),_0x2c4704=this['_joinTapes'](_0x2c4704,_0x1df2c1),this['_refreshStartEndIndex'](_0x2c4704),this['_setDistance'](_0x2c4704,'isRemoved');}_0x2c4704=_0x2c4704['filter'](_0x3dbbe7=>!(_0x3dbbe7['isAdded']&&_0x3dbbe7['isRemoved']));const _0xc7b3a7=new Map(_0x2ffdc5['model'][_0x38a012]['deletions']['markers']),_0x20fd82=new Set(_0x388955['keys']());for(const _0x5009e0 of _0xc7b3a7['keys']())_0x20fd82['delete'](_0x5009e0);this['_markSuggestions'](_0x2c4704,_0x20fd82),this['_fixObsoleteTags'](_0x2c4704),_0x2c4704=this['_removeMissingPairs'](_0x2c4704),_0x2c4704=this['_markMismatchedRemovedTags'](_0x2c4704),_0x2c4704=this['_removeUnsupportedChanges'](_0x2c4704);const {root:_0x4fa4ed,changes:_0x5a7378}=this['_makeModelFromTape'](_0x2c4704,_0x522ad6,_0x38a012,_0x3c9b0b);_0x1db849['model'][_0x38a012]=_0x4fa4ed;const _0x14c069=_0x55391a['get'](_0x38a012);if(_0x14c069){const _0x12a0aa=_0x522ad6['get'](_0x14c069['userId']),_0x12dcd4=new ChangeItem({'author':_0x12a0aa,'type':_0x14c069['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x38a012});_0x5a7378['unshift'](_0x12dcd4),_0x1db849['attributes'][_0x38a012]['revisionHistoryAttachChange']=_0x12dcd4['id'];}_0x1db849['changes']=_0x1db849['changes']['concat'](_0x5a7378);}return _0x1db849;}['_markMarkers'](_0x3765f4,_0x74100e){for(let _0xde7b8e=0x0;_0xde7b8e<_0x3765f4['length'];_0xde7b8e++)for(const [_0x55cba2,_0x330c77]of _0x74100e)!_0x330c77['isCollapsed']&&_0x330c77['start']['isEqual'](_0x3765f4[_0xde7b8e]['previousPosition'])&&_0x3765f4[_0xde7b8e]['markersStart']['push'](_0x55cba2),_0x330c77['end']['isEqual'](_0x3765f4[_0xde7b8e]['nextPosition'])&&_0x3765f4[_0xde7b8e]['markersEnd']['push'](_0x55cba2);}['_joinTapes'](_0x2dbac7,_0x43cb71){let _0x562ade=[],_0x2147c4=0x0,_0x3d18c8=0x0;for(;_0x2147c4<_0x2dbac7['length']||_0x3d18c8<_0x43cb71['length'];){const _0x314ec4=_0x2dbac7[_0x2147c4]||{},_0x107232=_0x43cb71[_0x3d18c8]||{};if(_0x314ec4['id']==_0x107232['id'])_0x2147c4++,_0x3d18c8++,_0x562ade['push'](_0x314ec4);else{if(_0x107232['isRemoved']&&_0x314ec4['isAdded']){const {commonTape:_0x43e13b,iEnd:_0x528202,jEnd:_0x4d2bd8}=this['_threeWayMerge'](_0x2dbac7,_0x2147c4,_0x43cb71,_0x3d18c8);_0x562ade=_0x562ade['concat'](_0x43e13b),_0x2147c4=_0x528202,_0x3d18c8=_0x4d2bd8;}else _0x107232['isRemoved']?(_0x3d18c8++,_0x562ade['push'](_0x107232)):(_0x2147c4++,_0x562ade['push'](_0x314ec4));}}return _0x562ade;}['_markSuggestions'](_0x27f2a8,_0x1e91f7){const _0x38bea4=[];for(let _0x1d847e=0x0;_0x1d847e<_0x27f2a8['length'];_0x1d847e++){for(let _0x575fc3=0x0;_0x575fc3<_0x27f2a8[_0x1d847e]['markersStart']['length'];_0x575fc3++){const _0x4fb2de=_0x27f2a8[_0x1d847e]['markersStart'][_0x575fc3];if(!_0x1e91f7['has'](_0x4fb2de))continue;const {group:_0x1ff8b8,type:_0x2a4450,authorId:_0x3be05c}=_0x34af05(_0x4fb2de);'revision-suggestion'!=_0x1ff8b8||'insertion'!=_0x2a4450&&'deletion'!=_0x2a4450||(_0x38bea4['unshift']({'type':_0x2a4450,'name':_0x4fb2de,'userId':_0x3be05c}),_0x27f2a8[_0x1d847e]['markersStart']['splice'](_0x575fc3,0x1),_0x575fc3--);}_0x26859d(_0x27f2a8[_0x1d847e]);for(let _0x3e35bc=0x0;_0x3e35bc<_0x27f2a8[_0x1d847e]['markersEnd']['length'];_0x3e35bc++){const _0x4fbd90=_0x27f2a8[_0x1d847e]['markersEnd'][_0x3e35bc];if(!_0x1e91f7['has'](_0x4fbd90))continue;const {group:_0x5665ef,type:_0x62493d}=_0x34af05(_0x4fbd90);if('revision-suggestion'!=_0x5665ef||'insertion'!=_0x62493d&&'deletion'!=_0x62493d)continue;_0x27f2a8[_0x1d847e]['markersEnd']['splice'](_0x3e35bc,0x1),_0x3e35bc--;const _0xc00903=_0x38bea4['findIndex'](_0x237b7d=>_0x237b7d['name']==_0x4fbd90);_0xc00903>-0x1&&_0x38bea4['splice'](_0xc00903,0x1);}}function _0x34af05(_0x1b1b4a){const _0x4e0360=_0x1b1b4a['split'](':');return{'group':_0x4e0360[0x0],'type':_0x4e0360[0x1],'subType':_0x4e0360['length']>=0x5?_0x4e0360[0x2]:null,'id':_0x4e0360['length']<0x5?_0x4e0360[0x2]:_0x4e0360[0x3],'authorId':_0x4e0360['length']<0x5?_0x4e0360[0x3]:_0x4e0360[0x4],'markerCount':0x6==_0x4e0360['length']?_0x4e0360[0x5]:null};}function _0x26859d(_0x20e4a2){for(let _0x15c686=0x0;_0x15c686<_0x38bea4['length'];_0x15c686++){if(_0x20e4a2['isAdded']&&'insertion'==_0x38bea4[_0x15c686]['type']&&_0x20e4a2['isAdded']['userId']==_0x38bea4[_0x15c686]['userId'])return _0x20e4a2['isAddSuggestion']=_0x38bea4[_0x15c686],void delete _0x20e4a2['isAdded'];if(!_0x20e4a2['isAdded']&&!_0x20e4a2['isRemoved']&&'deletion'==_0x38bea4[_0x15c686]['type'])return void(_0x20e4a2['isRemoveSuggestion']=_0x38bea4[_0x15c686]);}}}['_setDistance'](_0xc98e6e,_0xaf6acf){let _0x4a84f9=0x0,_0x1fe1f9=!0x1;const _0x418b55=new Map();for(const _0x4e5d28 of _0xc98e6e)_0x4e5d28[_0xaf6acf]?_0x1fe1f9&&(_0x4a84f9++,_0x1fe1f9=!0x1):(_0x4a84f9++,_0x1fe1f9=!0x0),_0x418b55['set'](_0x4e5d28['id'],_0x4a84f9);for(let _0xf2fb48=0x0;_0xf2fb48<_0xc98e6e['length'];_0xf2fb48++){if('isRemoved'==_0xaf6acf&&_0xc98e6e[_0xf2fb48]['isAdded']||'isAdded'==_0xaf6acf&&_0xc98e6e[_0xf2fb48]['isRemoved'])continue;if('text'==_0xc98e6e[_0xf2fb48]['type']){_0xc98e6e[_0xf2fb48]['distance']=0x0;continue;}const _0x59dc73=_0x418b55['get'](_0xc98e6e[_0xf2fb48]['pairId']),_0x363844=_0x418b55['get'](_0xc98e6e[_0xf2fb48]['id']);_0xc98e6e[_0xf2fb48]['distance']=_0x59dc73-_0x363844;}}['_getRevisionsRange'](_0x2b916a,_0x90e214,_0x7126d8=!0x1){const _0x4c176b=[];let _0x2d7a51=this['repository']['getIndex'](_0x2b916a),_0xc2fde8=this['repository']['getIndex'](_0x90e214);for(-0x1==_0xc2fde8&&(_0xc2fde8=this['repository']['_revisions']['length'],_0x7126d8=!0x1);_0x2d7a51<_0xc2fde8;)_0x4c176b['push'](this['repository']['getRevision'](_0x2d7a51)),_0x2d7a51++;return _0x7126d8&&_0x4c176b['push'](this['repository']['getRevision'](_0x2d7a51)),_0x4c176b;}['_threeWayMerge'](_0x488b65,_0x3cf4c8,_0x27b73b,_0x4f0dfb){const _0x2bb09f=this['editor']['model']['schema'];let _0x5da62f=_0x3cf4c8;for(;_0x488b65[_0x5da62f]&&_0x488b65[_0x5da62f]['isAdded'];)_0x5da62f++;let _0x22b4a9=_0x4f0dfb;for(;_0x27b73b[_0x22b4a9]&&_0x27b73b[_0x22b4a9]['isRemoved'];)_0x22b4a9++;_0x1d8d23(_0x488b65,_0x3cf4c8,_0x5da62f),_0x1d8d23(_0x27b73b,_0x4f0dfb,_0x22b4a9);const _0x5a40ef=_0x27b73b['slice'](_0x4f0dfb,_0x22b4a9)['concat'](_0x488b65['slice'](_0x3cf4c8,_0x5da62f));return _0x5a40ef['sort']((_0x58da9d,_0x58bbfd)=>_0x58da9d['side']!=_0x58bbfd['side']?_0x58da9d['side']-_0x58bbfd['side']:_0x58da9d['level']!=_0x58bbfd['level']?_0x58da9d['level']-_0x58bbfd['level']:_0x58da9d['distance']!=_0x58bbfd['distance']?_0x58bbfd['distance']-_0x58da9d['distance']:!!_0x58da9d['isAdded']!=!!_0x58bbfd['isAdded']?-0x1==_0x58da9d['side']||0x0==_0x58da9d['side']?_0x58da9d['isAdded']?-0x1:0x1:_0x58da9d['isAdded']?0x1:-0x1:_0x58da9d['index']-_0x58bbfd['index']),{'commonTape':_0x5a40ef,'iEnd':_0x5da62f,'jEnd':_0x22b4a9};function _0x1d8d23(_0x483228,_0x3cd571,_0x4a765f){let _0xb17946=-0x1,_0x2bf5d6=Number['POSITIVE_INFINITY'],_0x484442=!0x0;for(let _0x32d50a=_0x3cd571;_0x32d50a<_0x4a765f;_0x32d50a++)if(_0x2bb09f['isInline'](_0x483228[_0x32d50a]['item'])||(_0x484442=!0x1),_0x483228[_0x32d50a]['item']['startIndex']<_0x3cd571&&(_0xb17946=_0x32d50a),_0x483228[_0x32d50a]['item']['endIndex']>=_0x4a765f){_0x2bf5d6=_0x32d50a;break;}_0x484442&&(_0xb17946=_0x4a765f-0x1);for(let _0x4ed5a6=_0x3cd571;_0x4ed5a6<_0x4a765f;_0x4ed5a6++)_0x483228[_0x4ed5a6]['side']=_0x4ed5a6<=_0xb17946?-0x1:_0x4ed5a6<_0x2bf5d6?0x0:0x1,_0x483228[_0x4ed5a6]['index']=_0x4ed5a6;let _0x5196d4=0x0;for(let _0x8d68a6=_0x3cd571;_0x8d68a6<=_0xb17946;_0x8d68a6++)0x0==_0x483228[_0x8d68a6]['distance']?_0x483228[_0x8d68a6]['level']=_0x5196d4:(_0x5196d4++,_0x483228[_0x8d68a6]['level']=_0x5196d4,_0x5196d4++);for(let _0x41d7c6=_0x3cd571;_0x41d7c6<_0x4a765f;_0x41d7c6++)0x0==_0x483228[_0x41d7c6]['side']&&(_0x483228[_0x41d7c6]['level']=_0x5196d4);_0x5196d4=0x0;for(let _0x16ee1c=_0x4a765f-0x1;_0x16ee1c>=_0x2bf5d6;_0x16ee1c--)0x0==_0x483228[_0x16ee1c]['distance']?_0x483228[_0x16ee1c]['level']=_0x5196d4:(_0x5196d4--,_0x483228[_0x16ee1c]['level']=_0x5196d4,_0x5196d4--);}}['_fixObsoleteTags'](_0x52e084){const _0x5db429=new Map(),_0x2e940b=this['editor']['model']['schema'];for(let _0x27116a=0x1;_0x27116a<_0x52e084['length'];_0x27116a++){let _0x59d573,_0x141b31,_0x25e640;const _0x802c62=_0x52e084[_0x27116a],_0x36f659=_0x52e084[_0x27116a-0x1];if('text'==_0x802c62['type'])continue;if(_0x802c62['type']!=_0x36f659['type'])continue;if(!_0x2e940b['isBlock'](_0x36f659['item'])||_0x2e940b['isLimit'](_0x36f659['item']))continue;if(!_0x2e940b['isBlock'](_0x802c62['item'])||_0x2e940b['isLimit'](_0x802c62['item']))continue;if((_0x52e084[_0x27116a]['isAdded']||_0x52e084[_0x27116a]['isAddSuggestion'])&&_0x52e084[_0x27116a-0x1]['isRemoved'])_0x59d573=_0x52e084[_0x27116a],_0x141b31=_0x52e084[_0x27116a-0x1],_0x25e640=_0x27116a-0x1;else{if(!_0x52e084[_0x27116a]['isRemoved']||!_0x52e084[_0x27116a-0x1]['isAdded']&&!_0x52e084[_0x27116a-0x1]['isAddSuggestion'])continue;_0x59d573=_0x52e084[_0x27116a-0x1],_0x141b31=_0x52e084[_0x27116a],_0x25e640=_0x27116a;}const _0x297b74=_0x59d573['level']==_0x141b31['level'],_0x2374ba=Math['abs'](_0x59d573['level'])<Math['abs'](_0x141b31['level'])&&0x0==_0x141b31['distance'];(_0x297b74||_0x2374ba)&&(_0x5db429['set'](_0x141b31['id'],_0x59d573['id']),_0x52e084['splice'](_0x25e640,0x1),_0x27116a--,_0x59d573['isAdded']=!0x1);}for(let _0x424019=0x0;_0x424019<_0x52e084['length'];_0x424019++)_0x5db429['has'](_0x52e084[_0x424019]['pairId'])&&(_0x52e084[_0x424019]['pairId']=_0x5db429['get'](_0x52e084[_0x424019]['pairId']));}['_removeMissingPairs'](_0xfd0d5e){const _0x492fb9=new Set(_0xfd0d5e['map'](_0x3facf6=>_0x3facf6['id']));for(let _0x303c3e=0x0;_0x303c3e<_0xfd0d5e['length'];_0x303c3e++)_0x492fb9['has'](_0xfd0d5e[_0x303c3e]['pairId'])||0x0==_0xfd0d5e[_0x303c3e]['distance']||(_0xfd0d5e[_0x303c3e]['isIncorrect']=!0x0);return _0xfd0d5e['filter'](_0x4589ac=>!_0x4589ac['isIncorrect']);}['_markMismatchedRemovedTags'](_0x44ba83){const _0x16e3ea=new Set();for(let _0x29c6cd=0x0;_0x29c6cd<_0x44ba83['length'];_0x29c6cd++){if(_0x16e3ea['has'](_0x44ba83[_0x29c6cd]['id'])&&_0x44ba83[_0x29c6cd]['isRemoved']&&(_0x44ba83[_0x29c6cd]['isIncorrect']=!0x0),_0x44ba83[_0x29c6cd]['isIncorrect'])continue;if(0x0==_0x44ba83[_0x29c6cd]['distance'])continue;if('elementStart'!=_0x44ba83[_0x29c6cd]['type'])continue;if(null==_0x44ba83[_0x29c6cd]['pairId'])continue;let _0x94b00c=_0x29c6cd+0x1,_0x4b2b7a=0x0;for(;_0x44ba83[_0x94b00c]['id']!=_0x44ba83[_0x29c6cd]['pairId'];)'elementStart'==_0x44ba83[_0x94b00c]['type']?_0x4b2b7a++:'elementEnd'==_0x44ba83[_0x94b00c]['type']&&_0x4b2b7a--,_0x94b00c++;if(0x0!=_0x4b2b7a){if(_0x44ba83[_0x29c6cd]['isRemoved'])_0x44ba83[_0x29c6cd]['isIncorrect']=!0x0;else{for(;_0x94b00c!=_0x29c6cd;)_0x44ba83[_0x94b00c]['isRemoved']&&0x0!=_0x44ba83[_0x94b00c]['distance']&&(_0x44ba83[_0x94b00c]['isIncorrect']=!0x0,_0x16e3ea['add'](_0x44ba83[_0x94b00c]['pairId'])),_0x94b00c--;}}}return _0x44ba83['filter'](_0x547b9e=>!_0x547b9e['isIncorrect']);}['_removeUnsupportedChanges'](_0x1037c5){const _0x359951=this['editor']['model']['schema'];for(let _0xe99e7=0x0;_0xe99e7<_0x1037c5['length'];_0xe99e7++){if(!(_0x1037c5[_0xe99e7]['isAdded']||_0x1037c5[_0xe99e7]['isAddSuggestion']||_0x1037c5[_0xe99e7]['isRemoved']||_0x1037c5[_0xe99e7]['isRemoveSuggestion']))continue;if(0x0==_0x1037c5[_0xe99e7]['distance'])continue;const _0x531b6c=_0x1037c5[_0xe99e7]['item'];_0x359951['isBlock'](_0x531b6c)||_0x359951['isLimit'](_0x531b6c)||(_0x1037c5[_0xe99e7]['isAdded']&&delete _0x1037c5[_0xe99e7]['isAdded'],_0x1037c5[_0xe99e7]['isAddSuggestion']&&delete _0x1037c5[_0xe99e7]['isAddSuggestion'],_0x1037c5[_0xe99e7]['isRemoveSuggestion']&&delete _0x1037c5[_0xe99e7]['isRemoveSuggestion'],_0x1037c5[_0xe99e7]['isRemoved']&&(_0x1037c5[_0xe99e7]['isIncorrect']=!0x0));}return _0x1037c5['filter'](_0x1d47a4=>!_0x1d47a4['isIncorrect']);}['_makeModelFromTape'](_0x4d3049,_0x592c21,_0x51e7eb,_0x28313d){const _0x7add01=new _0x50f751(),_0x268e2c=[],_0x53b7f1=new Map(),_0x4c2007=this['editor']['model'],_0x56a4ac=_0x4c2007['schema'],_0x3a397c=[_0x7add01],_0x5b7afe={},_0x248d4e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};_0x7add01['name']=_0x28313d;let _0xe6cd64=null;const _0x5d3a61=[0x0];for(let _0x1f686a=0x0;_0x1f686a<_0x4d3049['length'];_0x1f686a++)if('elementStart'===_0x4d3049[_0x1f686a]['type']){_0x4d3049[_0x1f686a]['previousPosition']=_0x4c2007['createPositionFromPath'](_0x7add01,_0x5d3a61);const _0x286838=new _0x48588f(_0x4d3049[_0x1f686a]['item']['name'],_0x4d3049[_0x1f686a]['item']['getAttributes']());_0x3a397c[0x0]['_appendChild'](_0x286838),_0x5d3a61['push'](0x0),_0x3a397c['unshift'](_0x286838),_0x4d3049[_0x1f686a]['nextPosition']=_0x4c2007['createPositionFromPath'](_0x7add01,_0x5d3a61);}else'elementEnd'===_0x4d3049[_0x1f686a]['type']?(_0x3a397c['shift'](),_0x4d3049[_0x1f686a]['previousPosition']=_0x4c2007['createPositionFromPath'](_0x7add01,_0x5d3a61),_0x5d3a61['pop'](),_0x5d3a61[_0x5d3a61['length']-0x1]++,_0x4d3049[_0x1f686a]['nextPosition']=_0x4c2007['createPositionFromPath'](_0x7add01,_0x5d3a61)):(_0x4d3049[_0x1f686a]['previousPosition']=_0x4c2007['createPositionFromPath'](_0x7add01,_0x5d3a61),_0xe6cd64?_0xe6cd64['_data']+=_0x4d3049[_0x1f686a]['item']['data']:_0xe6cd64=new _0x3b4df1(_0x4d3049[_0x1f686a]['item']['data'],_0x4d3049[_0x1f686a]['item']['getAttributes']()),_0x4d3049[_0x1f686a+0x1]&&'text'===_0x4d3049[_0x1f686a+0x1]['type']&&_0x5acb14(_0xe6cd64,_0x4d3049[_0x1f686a+0x1]['item'])||(_0x3a397c[0x0]['_appendChild'](_0xe6cd64),_0xe6cd64=null),_0x5d3a61[_0x5d3a61['length']-0x1]+=_0x4d3049[_0x1f686a]['item']['offsetSize'],_0x4d3049[_0x1f686a]['nextPosition']=_0x4c2007['createPositionFromPath'](_0x7add01,_0x5d3a61));for(let _0x3d4b1f=0x0;_0x3d4b1f<_0x4d3049['length'];_0x3d4b1f++){const _0xc06f80=_0x4d3049[_0x3d4b1f]['previousPosition'],_0x5aaefd=_0x4d3049[_0x3d4b1f]['nextPosition'];for(const _0x2ad950 of _0x4d3049[_0x3d4b1f]['markersStart'])_0x53b7f1['set'](_0x2ad950,{'start':_0xc06f80,'end':null});_0x5e198d('isRemoveSuggestion',_0x3d4b1f,_0xc06f80,_0x5aaefd),_0x5e198d('isAddSuggestion',_0x3d4b1f,_0xc06f80,_0x5aaefd),_0x5e198d('isRemoved',_0x3d4b1f,_0xc06f80,_0x5aaefd),_0x5e198d('isAdded',_0x3d4b1f,_0xc06f80,_0x5aaefd);for(const _0x1fa6c3 of _0x4d3049[_0x3d4b1f]['markersEnd']){const _0x563609=_0x53b7f1['get'](_0x1fa6c3);_0x563609?_0x563609['end']=_0x5aaefd:_0x53b7f1['set'](_0x1fa6c3,{'start':_0x5aaefd,'end':_0x5aaefd});}}for(const [_0x7524bf,_0xe12666]of _0x53b7f1){const _0x5bf5f9=this['editor']['model']['createRange'](_0xe12666['start'],_0xe12666['end']);_0x7add01['markers']['set'](_0x7524bf,_0x5bf5f9);}return _0x268e2c['sort']((_0x24fde8,_0x533f7e)=>{const _0x45bbb7=_0x7add01['markers']['get']('revision:'+_0x24fde8['id']),_0x1cb736=_0x7add01['markers']['get']('revision:'+_0x533f7e['id']);return _0x45bbb7['start']['isBefore'](_0x1cb736['start'])?-0x1:_0x45bbb7['start']['isAfter'](_0x1cb736['start'])?0x1:_0x45bbb7['end']['isBefore'](_0x1cb736['end'])?-0x1:_0x45bbb7['end']['isAfter'](_0x1cb736['end'])?0x1:'add'===_0x24fde8['type']?-0x1:0x1;}),{'root':_0x7add01,'changes':_0x268e2c};function _0x5e198d(_0x198a3d,_0x8e07a9,_0x3f9bd2,_0x78ca28){const _0x1d5b21=!!_0x4d3049[_0x8e07a9][_0x198a3d],_0x197dbc=_0x1d5b21?_0x4d3049[_0x8e07a9][_0x198a3d]['userId']:null,_0x9bffac=_0x8e07a9===_0x4d3049['length']-0x1,_0x28d269=_0x248d4e[_0x198a3d][0x0],_0x551483=_0x56a4ac['isObject'](_0x4d3049[_0x8e07a9]['item']);!_0x5b7afe[_0x198a3d]&&_0x1d5b21?_0x5b7afe[_0x198a3d]={'start':_0x3f9bd2,'tapeItem':_0x4d3049[_0x8e07a9],'userId':_0x197dbc,'type':_0x198a3d}:_0x5b7afe[_0x198a3d]&&!_0x1d5b21?(_0x5b7afe[_0x198a3d]['end']=_0x3f9bd2,_0x599ea8(_0x5b7afe[_0x198a3d]),_0x5b7afe[_0x198a3d]=null):_0x5b7afe[_0x198a3d]&&_0x1d5b21&&_0x5b7afe[_0x198a3d]['userId']!==_0x197dbc&&(_0x5b7afe[_0x198a3d]['end']=_0x3f9bd2,_0x28d269&&_0x28d269['userId']===_0x5b7afe[_0x198a3d]['userId']||_0x599ea8(_0x5b7afe[_0x198a3d]),_0x5b7afe[_0x198a3d]={'start':_0x3f9bd2,'tapeItem':_0x4d3049[_0x8e07a9],'userId':_0x197dbc,'type':_0x198a3d}),_0x5b7afe[_0x198a3d]&&_0x551483&&('elementStart'!==_0x4d3049[_0x8e07a9]['type']||_0x28d269&&_0x28d269['userId']===_0x197dbc||_0x248d4e[_0x198a3d]['unshift']({'userId':_0x197dbc,'object':_0x4d3049[_0x8e07a9]['item'],'change':_0x5b7afe[_0x198a3d]}),'elementEnd'===_0x4d3049[_0x8e07a9]['type']&&_0x28d269&&_0x28d269['object']===_0x4d3049[_0x8e07a9]['item']&&(_0x248d4e[_0x198a3d]['shift'](),_0x5b7afe[_0x198a3d]=_0x28d269['change'])),_0x5b7afe[_0x198a3d]&&_0x9bffac&&(_0x5b7afe[_0x198a3d]['end']=_0x78ca28,_0x599ea8(_0x5b7afe[_0x198a3d]),_0x5b7afe[_0x198a3d]=null);}function _0x599ea8({start:_0x415a38,end:_0x3699df,tapeItem:_0x246504,userId:_0x35b1a5,type:_0x2cdfec}){const _0x6efa3c=_0x246504['item'],_0x3057c9=_0x4c2007['schema']['isBlock'](_0x6efa3c)&&!_0x4c2007['schema']['isLimit'](_0x6efa3c),_0x5cadd7=_0x415a38['nodeAfter']==_0x3699df['parent']&&_0x3699df['isAtStart'];if(_0x3057c9&&_0x5cadd7)return;const _0xc215ac=_0x4c2007['createRange'](_0x415a38,_0x3699df),_0x2c4030=_0x592c21['get'](_0x35b1a5),_0x1c36dc=new ChangeItem({'author':_0x2c4030,'type':'isAdded'==_0x2cdfec||'isAddSuggestion'==_0x2cdfec?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2cdfec||'isRemoveSuggestion'==_0x2cdfec},'createdAt':new Date(),'rootName':_0x51e7eb});_0x268e2c['push'](_0x1c36dc),_0x7add01['markers']['set']('revision:'+_0x1c36dc['id'],_0xc215ac);}function _0x5acb14(_0x20ae50,_0x9ef5a0){const _0xe541d7=_0x20ae50['getAttributes'](),_0x3961a9=_0x9ef5a0['getAttributes']();for(const _0x1511ca of _0xe541d7){if(_0x1511ca[0x1]!==_0x9ef5a0['getAttribute'](_0x1511ca[0x0]))return!0x1;_0x3961a9['next']();}return _0x3961a9['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x35568b=>{const _0x3750db=_0x35568b['markerName']['split'](':')[0x1],_0x498c23=this['_getChangeFromId'](_0x3750db);if(!_0x498c23)return null;const _0x38a841='add'==_0x498c23['type']?'insertion':'deletion',_0x5d0d16=['ck-suggestion-marker','ck-suggestion-marker-'+_0x38a841];return _0x498c23['data']['isSuggestion']&&_0x5d0d16['push']('ck-suggestion-marker-'+_0x38a841+'-new'),this['activeChange']==_0x498c23&&_0x5d0d16['push']('ck-suggestion-marker--active'),{'classes':_0x5d0d16,'attributes':{'data-change-id':_0x3750db}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1883b8=>{_0x1883b8['on']('element:pre',(_0x54ef38,_0x360004,_0x5b8cc4)=>{const _0x1285d0=_0x360004['viewItem']['getChild'](0x0);if(!_0x1285d0||!_0x1285d0['is']('element','code'))return;if(!_0x5b8cc4['consumable']['consume'](_0x1285d0,{'attributes':['vid_start','vid_end']}))return;const _0x288f17=_0x360004['modelRange']['start']['nodeAfter'];_0x5b8cc4['writer']['setAttribute']('vid_start',_0x1285d0['getAttribute']('vid_start'),_0x288f17),_0x5b8cc4['writer']['setAttribute']('vid_end',_0x1285d0['getAttribute']('vid_end'),_0x288f17);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3f81df=>{_0x3f81df['on']('element',(_0x3df4d0,_0x3ad61b,_0x43e714)=>{if(!_0x43e714['consumable']['consume'](_0x3ad61b['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3ad61b['modelRange']['isCollapsed'])return;const _0x15195f=_0x3ad61b['modelRange']['start']['nodeAfter'];_0x15195f['hasAttribute']('vid_start')||_0x15195f['hasAttribute']('vid')||(_0x43e714['writer']['setAttribute']('vid_start',_0x3ad61b['viewItem']['getAttribute']('vid_start'),_0x15195f),_0x43e714['writer']['setAttribute']('vid_end',_0x3ad61b['viewItem']['getAttribute']('vid_end'),_0x15195f));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x42bca7=>_0x42bca7['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x584a49,[,_0x41ea0b])=>{['vid_start','vid_end','vid']['includes'](_0x41ea0b)&&(_0x584a49['return']=!0x0,_0x584a49['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x498dde=>{_0x498dde['on']('attribute:vid',(_0x2f523f,_0x212818,_0x27edae)=>{if('\x20'!=_0x212818['item']['data']||_0x212818['item']['parent']['maxOffset']>0x1)return;if(!_0x27edae['consumable']['consume'](_0x212818['item'],_0x2f523f['name']))return;const _0x5e77a3=_0x27edae['writer'],_0x5a27a3=_0x27edae['mapper']['toViewRange'](_0x212818['range']);_0x5e77a3['wrap'](_0x5a27a3,_0x5e77a3['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x58b15e){const _0x310e3c=_0x58b15e['plugins']['get']('RevisionViewer');return(_0x547e35,_0xdc6109,_0x366149)=>{const _0x260183=_0xdc6109['markerName']['split'](':')[0x1],_0x331185=_0x310e3c['_getChangeFromId'](_0x260183);if(!_0x331185)return null;const _0x5270c3='add'==_0x331185['type']?'split':'merge';if(!_0x366149['consumable']['test'](_0xdc6109['markerRange'],_0x547e35['name']))return;const _0x4968bf=_0xdc6109['markerRange']['getWalker'](),_0x4c26f8=_0xdc6109['markerRange']['start'],_0x21ee77=_0x58b15e['model']['schema'];let _0x1b121b=null,_0x4eb837=null,_0x29efc0=!0x1,_0x154336=!0x1;for(const _0x26f10d of _0x4968bf){const _0x2e8507=_0x26f10d['item'];_0x29efc0=_0x29efc0||_0x21ee77['isContent'](_0x2e8507);const _0x411c92=_0x366149['mapper']['toViewElement'](_0x2e8507);if(_0x411c92&&_0x411c92['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x26f10d['type']&&(_0x21ee77['isBlock'](_0x2e8507)&&!_0x21ee77['isLimit'](_0x2e8507)&&(_0x2e8507['nextSibling']||_0x4c26f8['isAtEnd']?_0x1b121b&&_0x1b121b['parent']==_0x2e8507||(_0x1b121b=_0x2e8507,_0x57157f(_0x26f10d['previousPosition']),_0x154336=!0x0):_0x4eb837=_0x4eb837||_0x26f10d['previousPosition']));}function _0x57157f(_0x259f30){const _0x45a1f2=_0x366149['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5270c3}),_0x68f7fc=_0x366149['mapper']['toViewPosition'](_0x259f30);_0x331185['data']['isSuggestion']&&_0x366149['writer']['addClass']('ck-suggestion-marker-'+_0x5270c3+'-new',_0x45a1f2),_0x310e3c['activeChange']==_0x331185&&_0x366149['writer']['addClass']('ck-suggestion-marker--active',_0x45a1f2),_0x366149['writer']['insert'](_0x68f7fc,_0x45a1f2),_0x366149['mapper']['bindElementToMarker'](_0x45a1f2,_0xdc6109['markerName']);}_0x29efc0||_0x154336||!_0x4eb837||_0x57157f(_0x4eb837);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5368e7,_0x229505,_0x5dde79)=>{const _0x8b7e8a=_0x5dde79['mapper']['markerNameToElements'](_0x229505['markerName']);if(_0x8b7e8a){for(const _0x3c9c45 of _0x8b7e8a)(_0x3c9c45['hasClass']('ck-suggestion-marker-split')||_0x3c9c45['hasClass']('ck-suggestion-marker-merge'))&&(_0x5dde79['mapper']['unbindElementFromMarkerName'](_0x3c9c45,_0x229505['markerName']),_0x5dde79['writer']['remove'](_0x3c9c45));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4dd54b,_0x4b7654,_0x3e9fc8)=>{const _0x571e41=_0x4b7654['markerName']['split'](':')[0x1],_0x2943f1=this['_getChangeFromId'](_0x571e41);if(!_0x2943f1)return null;const _0x42c541='add'==_0x2943f1['type']?'split':'merge';if(_0x3e9fc8['consumable']['test'](_0x4b7654['markerRange'],_0x4dd54b['name']))for(const _0x2b9974 of _0x4b7654['markerRange']['getItems']()){if(!_0x2b9974['is']('element','softBreak'))continue;const _0x2dc657=_0x3e9fc8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x42c541}),_0x123516=_0x3e9fc8['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2b9974));_0x2943f1['data']['isSuggestion']&&_0x3e9fc8['writer']['addClass']('ck-suggestion-marker-'+_0x42c541+'-new',_0x2dc657),this['activeChange']==_0x2943f1&&_0x3e9fc8['writer']['addClass']('ck-suggestion-marker--active',_0x2dc657),_0x3e9fc8['writer']['insert'](_0x123516,_0x2dc657),_0x3e9fc8['mapper']['bindElementToMarker'](_0x2dc657,_0x4b7654['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xec32e2=>{for(const _0x210489 of this['editor']['model']['document']['getRootNames']()){const _0x5681ae=this['editor']['model']['document']['getRoot'](_0x210489),_0x1503a5=this['editor']['editing']['view']['document']['getRoot'](_0x210489);if(_0x1503a5){const _0x29c77e=_0x5681ae['getAttribute']('revisionHistoryAttachChange');if(_0xec32e2['removeAttribute']('data-change-id',_0x1503a5),_0xec32e2['removeClass']('ck-revision-history-root-add',_0x1503a5),_0xec32e2['removeClass']('ck-revision-history-root-remove',_0x1503a5),_0xec32e2['removeClass']('ck-revision-history-root--active',_0x1503a5),_0x29c77e){const _0x5a8e69=this['_getChangeFromId'](_0x29c77e);if(!_0x5a8e69)return null;_0xec32e2['setAttribute']('data-change-id',_0x29c77e,_0x1503a5),_0xec32e2['addClass']('ck-revision-history-root-'+_0x5a8e69['type'],_0x1503a5),this['activeChange']==_0x5a8e69&&_0xec32e2['addClass']('ck-revision-history-root--active',_0x1503a5);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x30b06b=>'revision-comment:'+_0x30b06b,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1b0aff=>'revision-suggestion:'+_0x1b0aff,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3f18e2=>({'name':'suggestion:'+_0x3f18e2,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3bbee5=>{const _0x21f33b=_0x3bbee5['markerName']['split'](':')[0x1];return'insertion'!=_0x21f33b&&'deletion'!=_0x21f33b?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x21f33b]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',Lv(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',Lv(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x199d41,_0x537c77,_0x627148)=>{const _0x4b13f2=_0x627148['mapper']['markerNameToElements'](_0x537c77['markerName']);if(_0x4b13f2){for(const _0x1a230f of _0x4b13f2)_0x1a230f['is']('uiElement')&&(_0x627148['mapper']['unbindElementFromMarkerName'](_0x1a230f,_0x537c77['markerName']),_0x627148['writer']['remove'](_0x1a230f));}},{'priority':'high'});}['_getChangeFromId'](_0x46af4e){return this['_changeIdToChange']['get'](_0x46af4e);}['_getViewForChange'](_0x2a6655){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x2a6655),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2ebf6a,_0x21e1ed,_0x7f1329,_0x328f72)=>{_0x328f72&&this['_balloon']['remove'](_0x328f72),_0x7f1329&&(this['_balloon']['add']({'view':_0x7f1329,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xeaeb27=this['editor']['editing'],_0x5381c7=this['_getChangeFromId'](_0x7f1329['changeId']);let _0xe0929a;if(_0x5381c7['data']['isOnRoot']){const _0x5b63f7=_0xeaeb27['view']['getDomRoot'](_0x5381c7['rootName']);_0xe0929a=Array['from'](_0x5b63f7['getClientRects']());}else{const _0x6896c0=this['editor']['model']['markers']['get']('revision:'+_0x7f1329['changeId']);_0xe0929a=Array['from'](_0xeaeb27['mapper']['markerNameToElements'](_0x6896c0['name']))['map'](_0x5f2a2b=>_0xeaeb27['view']['domConverter']['mapViewToDom'](_0x5f2a2b))['map'](_0x59464c=>Array['from'](_0x59464c['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xe0929a[0x0];return _0xe0929a['find'](_0x49a37f=>_0x49a37f['top']-0x3<=this['_activeViewTarget']['y']&&_0x49a37f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x49a37f['left']-0x3<=this['_activeViewTarget']['x']&&_0x49a37f['right']+0x3>=this['_activeViewTarget']['x'])||_0xe0929a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2d8b9c,_0x107880,_0x50c0be,_0x1f49b0)=>{this['activeView']=_0x50c0be?this['_getViewForChange'](_0x50c0be):null,this['editor']['model']['change'](()=>{const _0x1552e7=this['editor']['editing'];_0x1f49b0&&(_0x1f49b0['data']['isOnRoot']?_0x1552e7['view']['change'](_0x4343f8=>{_0x4343f8['removeClass']('ck-revision-history-root--active',_0x1552e7['view']['document']['getRoot'](_0x1f49b0['rootName']));}):_0x1552e7['reconvertMarker']('revision:'+_0x1f49b0['id'])),_0x50c0be&&(_0x50c0be['data']['isOnRoot']?_0x1552e7['view']['change'](_0x4b6c19=>{_0x4b6c19['addClass']('ck-revision-history-root--active',_0x1552e7['view']['document']['getRoot'](_0x50c0be['rootName']));}):_0x1552e7['reconvertMarker']('revision:'+_0x50c0be['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x19b0fb,_0x205bf3)=>{if(this['activeChange'])return;const _0x43fd5a=this['_findChangeIdFromDomTarget'](_0x205bf3['target']),_0x37cf8a=this['_changeIdToChange']['get'](_0x43fd5a);_0x37cf8a?(this['_activeViewTarget']={'x':_0x205bf3['domEvent']['x'],'y':_0x205bf3['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x37cf8a)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4b9904,_0x1a8daf)=>{const _0x3478e0=this['_findChangeIdFromDomTarget'](_0x1a8daf['target']),_0x22d9df=this['_changeIdToChange']['get'](_0x3478e0);_0x22d9df?(this['_activeViewTarget']={'x':_0x1a8daf['domEvent']['x'],'y':_0x1a8daf['domEvent']['y']},_0x22d9df===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x22d9df):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x558f21){do{const _0x27978e=_0x558f21['getAttribute']('data-change-id');if(_0x27978e)return _0x27978e;_0x558f21=_0x558f21['parent'];}while(_0x558f21);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x437d90=>{for(const _0x91d9a8 of this['editor']['model']['markers'])_0x437d90['removeMarker'](_0x91d9a8);});}}function Lv(_0x2d739d,_0x272ca2){return(_0x1b7e59,_0x57790d,_0x33bdf3)=>{if(!_0x33bdf3['consumable']['test'](_0x57790d['markerRange'],_0x1b7e59['name']))return;const _0x4bddc0=_0x57790d['markerRange']['getWalker'](),_0x4de37e=_0x57790d['markerRange']['start'],_0x4cddea=_0x2d739d['model']['schema'];let _0x17360f=null,_0x17bc15=null,_0x475c46=!0x1,_0x4b4c7b=!0x1;for(const _0x1f66e9 of _0x4bddc0){const _0x26b5f8=_0x1f66e9['item'];_0x475c46=_0x475c46||_0x4cddea['isContent'](_0x26b5f8);const _0xb78290=_0x33bdf3['mapper']['toViewElement'](_0x26b5f8);if(_0xb78290&&_0xb78290['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1f66e9['type']&&(_0x4cddea['isBlock'](_0x26b5f8)&&!_0x4cddea['isLimit'](_0x26b5f8)&&(_0x26b5f8['nextSibling']||_0x4de37e['isAtEnd']?_0x17360f&&_0x17360f['parent']==_0x26b5f8||(_0x17360f=_0x26b5f8,_0x147431(_0x1f66e9['previousPosition']),_0x4b4c7b=!0x0):_0x17bc15=_0x17bc15||_0x1f66e9['previousPosition']));}function _0x147431(_0x111618){const _0xeff9aa=_0x33bdf3['mapper']['toViewPosition'](_0x111618),_0x707d13=_0x33bdf3['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x272ca2});_0x33bdf3['writer']['insert'](_0xeff9aa,_0x707d13),_0x33bdf3['mapper']['bindElementToMarker'](_0x707d13,_0x57790d['markerName']);}_0x475c46||_0x4b4c7b||!_0x17bc15||_0x147431(_0x17bc15);};}class RestoreRevisionCommand extends _0x208eac{constructor(_0xd1f64c){super(_0xd1f64c);const _0x31b133=_0xd1f64c['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['listenTo'](_0x31b133,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x31b133,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3802a7=this['editor'],_0x312e6a=_0x3802a7['plugins']['get'](RevisionViewer),_0xc8734a=_0x312e6a['isReady']?_0x312e6a['diff']['newRevisionId']:null;_0x3802a7['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc8734a);}['refresh'](){const {isReady:_0x360a19,isEnabled:_0x1537bd,repository:_0x4959fe,diff:_0x2e13a5}=this['editor']['plugins']['get'](RevisionViewer),_0xc53466=_0x2e13a5&&_0x4959fe['getLaterVisibleRevision'](_0x2e13a5['newRevisionId']);this['isEnabled']=_0x360a19&&_0x1537bd&&Boolean(_0xc53466);}}class ShowChangeCommand extends _0x208eac{['_step'];constructor(_0x468972,{direction:_0x41d7fe}){super(_0x468972);const _0x390699=_0x468972['plugins']['get'](RevisionViewer);this['affectsData']=!0x1,this['_step']='forward'===_0x41d7fe?0x1:-0x1,this['listenTo'](_0x390699,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x390699,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x390699,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x4ec43f=this['editor'],_0x160a2e=_0x4ec43f['plugins']['get'](RevisionViewer),{isNavigationMode:_0x2ffac2,currentChangeNumber:_0x319fc1}=_0x160a2e;let _0x342d41;if(_0x160a2e['activeChange']=_0x2ffac2?_0x160a2e['diff']['changes']['get'](_0x319fc1+this['_step']):_0x160a2e['diff']['changes']['first'],_0x160a2e['activeChange']['data']['isOnRoot'])_0x342d41=_0x4ec43f['editing']['view']['getDomRoot'](_0x160a2e['activeChange']['rootName']);else{const _0x357d21=_0x4ec43f['model']['markers']['get']('revision:'+_0x160a2e['activeChange']['id']);_0x342d41=Pd(_0x4ec43f['editing'],_0x357d21);}_0x4e25b4({'target':_0x342d41,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2bf662,currentChangeNumber:_0x4fa129,numberOfChanges:_0x4b4275,isReady:_0x572f1f,isEnabled:_0x2079d0}=this['editor']['plugins']['get'](RevisionViewer);this['isEnabled']=!!(_0x2079d0&&_0x572f1f&&_0x4b4275)&&(!_0x2bf662||(0x1===this['_step']?_0x4fa129<_0x4b4275-0x1:_0x4fa129>0x0));}}class ChangesNavigationView extends _0xa34d16{constructor(_0x11e047){super(_0x11e047);const _0x2746eb=this['bindTemplate'],_0x5f15b1=new _0x4c508c(_0x11e047),_0x362f54=new _0x4c508c(_0x11e047);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',(_0x4f2e8d,_0x3c93e9)=>_0x4f2e8d&&_0x3c93e9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3b0002,_0x1b7347,_0x5a0952,_0x312588)=>{if(!_0x3b0002)return xv(_0x11e047,'Loading...');if(!_0x5a0952)return xv(_0x11e047,'No\x20changes');const _0x5d3ca1=xv(_0x11e047,'NUMBER_OF_CHANGES',_0x5a0952);return _0x312588?xv(_0x11e047,'X_OF_Y_CHANGES',[_0x1b7347+0x1,_0x5a0952]):_0x5d3ca1;}),_0x5f15b1['set']({'label':xv(_0x11e047,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x3505fc}),_0x362f54['set']({'label':xv(_0x11e047,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x40df9d}),_0x5f15b1['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x362f54['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5f15b1['on']('execute',()=>this['fire']('execute','backward')),_0x362f54['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',_0x2746eb['if']('_isStatusLabelVisible','ck-hidden',_0x536a58=>!_0x536a58)]},'children':[{'text':_0x2746eb['to']('isNavigationMode',_0x38a707=>_0x38a707?xv(_0x11e047,'EDIT_X_OF_Y_REVISIONS')+':\x20':xv(_0x11e047,'Total')+':\x20')}]},{'text':_0x2746eb['to']('_statusText')}]},new zt(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5f15b1,_0x362f54]}]});}}const $v='ck-editor__editable__loading-overlay';class RevisionViewerLoadingOverlay extends _0x151d85{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x4801d5=this['editor']['editing']['view'];_0x4801d5['change'](_0x5d0eb7=>{for(const _0xa66746 of _0x4801d5['document']['roots'])_0x5d0eb7['addClass']($v,_0xa66746);});}['hide'](){const _0xa9035e=this['editor']['editing']['view'];_0xa9035e['change'](_0x503ff9=>{for(const _0x35cda5 of _0xa9035e['document']['roots'])_0x503ff9['removeClass']($v,_0x35cda5);});}}class RevisionViewerUI extends _0x151d85{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer,RevisionViewerLoadingOverlay];}['init'](){const _0x30c73b=this['editor'],_0x4f69ee=_0x30c73b['plugins']['get'](RevisionViewer),_0x292270=_0x30c73b['plugins']['get'](RevisionViewerLoadingOverlay);_0x30c73b['ui']['componentFactory']['add']('exitToEditing',_0x2870e7=>{const _0x563819=new _0x4c508c(_0x2870e7);return _0x563819['set']({'label':xv(_0x2870e7,'Back\x20to\x20editing'),'icon':_0x4464d3,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x563819,'execute',()=>{_0x30c73b['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x563819;}),_0x30c73b['ui']['componentFactory']['add']('restoreRevision',_0x5e112d=>{const _0x24a898=new _0x4c508c(_0x5e112d);return _0x24a898['set']({'label':xv(_0x5e112d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x24a898['bind']('isEnabled')['to'](_0x30c73b['commands']['get']('restoreRevision')),this['listenTo'](_0x24a898,'execute',()=>_0x30c73b['execute']('restoreRevision')),_0x24a898;}),_0x30c73b['ui']['componentFactory']['add']('changesNavigation',_0x115d3c=>{const _0x162a09=new ChangesNavigationView(_0x115d3c),_0x144572=_0x30c73b['commands']['get']('showPreviousChange'),_0x34dedc=_0x30c73b['commands']['get']('showNextChange');return _0x162a09['bind']('isBackwardNavigationEnabled')['to'](_0x144572,'isEnabled'),_0x162a09['bind']('isForwardNavigationEnabled')['to'](_0x34dedc,'isEnabled'),_0x162a09['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4f69ee),this['listenTo'](_0x162a09,'execute',(_0x90f50d,_0x1fc308)=>{_0x30c73b['execute']('forward'===_0x1fc308?'showNextChange':'showPreviousChange');}),_0x162a09;}),_0x292270['show'](),_0x4f69ee['on']('change:isReady',(_0x5840bb,_0x2852ed,_0x114e15)=>{_0x114e15?_0x292270['hide']():_0x292270['show']();});}}class RevisionNameView extends bt{['_resizeObserver']=null;constructor(_0x5ceb6d,_0x3d253d){super(_0x5ceb6d,_0x3d253d);const _0x1db79c=this['bindTemplate'];this['set']({'label':xv(_0x5ceb6d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=xv(_0x5ceb6d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1db79c['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x4ebf8b(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x53a259=this['fieldView']['element'];this['_tooltipString']=_0x53a259['scrollWidth']>_0x53a259['clientWidth']&&_0x53a259['value']||'';}}class RevisionAuthorView extends _0xa34d16{constructor(_0x4c944e,_0x1b0beb,_0x5938b4){super(_0x4c944e);const _0x19f135=new _0x468811();_0x19f135['set']({'content':_0x40d2ec,'viewBox':'0\x200\x2011\x2010'});const _0x515436=['ck','ck-revision-history-sidebar__revision-author'];_0x5938b4&&_0x515436['push']('ck-revision-history-sidebar__revision-author_creator');const _0x14c1df=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':xv(_0x4c944e,_0x5938b4?'Revision\x20creator':'Revision\x20author')},'children':[_0x19f135,_0x1b0beb['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x515436},'children':_0x14c1df});}}function Dv(_0x672e00,_0x2e9e3e){const _0x1a591a=_0x672e00['bindTemplate'],_0x1f9f73=_0x672e00['locale'],_0x9031d2=nt(_0x1f9f73);_0x9031d2['panelPosition']='sw';const _0x44d045=function(_0x144ec7,_0x2fd91f){const _0x5c1dbe=function(_0x124d7d,_0x16d41e){const _0x190183=_0x124d7d['locale'],_0x4d9d53={'Compare\x20against\x20selected':xv(_0x190183,'Compare\x20against\x20selected'),'Name\x20this\x20revision':xv(_0x190183,'Name\x20this\x20revision'),'Restore\x20this\x20revision':xv(_0x190183,'Restore\x20this\x20revision')};return _0x16d41e['map'](_0x253a2a=>{const _0x128211=_0x4d9d53[_0x253a2a['name']];return _0x128211&&_0x128211!==_0x253a2a['name']&&(_0x253a2a['name']=_0x128211),_0x253a2a;});}(_0x144ec7,_0x2fd91f),_0x1af005=new _0x47a54f();for(const _0x4a56f1 of _0x5c1dbe){const _0x129341={'type':'button','model':new Ot({'label':_0x4a56f1['name'],'class':_0x4a56f1['class'],'withText':!0x0,'role':'menuitem','_action':_0x4a56f1['action']})};_0x129341['model']['bind']('isEnabled')['to'](_0x144ec7,'isActionsDropdownOpen',_0x410c49=>'function'!=typeof _0x4a56f1['isEnabled']||(!_0x410c49||_0x4a56f1['isEnabled'](_0x144ec7))),_0x1af005['add'](_0x129341);}return _0x1af005;}(_0x672e00,_0x2e9e3e);return _0x672e00['bind']('isActionsDropdownOpen')['to'](_0x9031d2,'isOpen'),_0x9031d2['buttonView']['set']({'label':xv(_0x1f9f73,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1fb390}),_0x9031d2['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1a591a['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1a591a['to'](_0x28ca93=>_0x28ca93['stopPropagation']())}}),_0x9031d2['on']('execute',_0xcd71a3=>{_0x672e00['isReady']&&'function'==typeof _0xcd71a3['source']['_action']&&_0xcd71a3['source']['_action'](_0x672e00);}),pt(_0x9031d2,_0x44d045,{'role':'menu'}),_0x9031d2['listenTo'](_0x672e00,'change:isActionsDropdownOpen',(_0x299993,_0x1cc893,_0x27637c)=>{if(_0x27637c)for(const _0x4b3f2b of _0x9031d2['listView']['items']){const _0x7ac113=_0x4b3f2b['children']['first'],_0x20f673=_0x2e9e3e['find'](_0x348b59=>_0x348b59['action']===_0x7ac113['_action'])['isVisible'];_0x4b3f2b['isVisible']=void 0x0===_0x20f673||_0x20f673(_0x672e00);}}),_0x9031d2;}class RevisionView extends/* #__PURE__ -- @preserve */
$d(_0xa34d16){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1d6e79,_0x11d091,_0x25de89,_0x225372){super(_0x1d6e79);const _0x3c62bb=this['bindTemplate'],_0x54e76a=function(_0x54ac59,_0x3858c1){const _0x3e84e1=Array['from'](_0x3858c1['authors'])['filter'](_0x1c6415=>_0x1c6415!=_0x3858c1['creator']);return _0x3858c1['creator']&&_0x3e84e1['unshift'](_0x3858c1['creator']),_0x3e84e1['map'](_0x25c968=>new RevisionAuthorView(_0x54ac59,_0x25c968,_0x25c968==_0x3858c1['creator']));}(_0x1d6e79,_0x11d091);this['id']=_0x11d091['id'],this['_revision']=_0x11d091,this['_requireRevisionName']=_0x225372,this['bind']('name','createdAt')['to'](_0x11d091),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x586c5b=>{return _0x98e220=_0x1d6e79['uiLanguage'],(_0x426f50=_0x586c5b)['toLocaleDateString'](_0x98e220,{'month':'long','day':'numeric'})+',\x20'+_0x426f50['toLocaleTimeString'](_0x98e220,{'hour':'numeric','minute':'numeric'});var _0x98e220,_0x426f50;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new RevisionNameView(_0x1d6e79,yt),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x28cf11=>_0x28cf11||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x391a2b,_0x449bd6)=>_0x391a2b&&_0x449bd6),this['revisionActionsView']=_0x25de89&&_0x25de89['length']?Dv(this,_0x25de89):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3c62bb['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3c62bb['if']('isEnabled','ck-disabled',_0x4edec4=>!_0x4edec4),_0x3c62bb['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3c62bb['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3c62bb['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':_0x3c62bb['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':_0x54e76a}]},this['revisionActionsView']],'on':{'click':_0x3c62bb['to'](_0x2bf9f1=>{_0x2bf9f1['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2718c6=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2718c6,'change',()=>{this['_requireRevisionName']&&!_0x2718c6['value']||this['fire']('setName',{'id':this['id'],'name':_0x2718c6['value']}),_0x2718c6['value']||(_0x2718c6['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function Qv(_0x2cbc79,_0x394c0e){const _0x420aaf=DateTime['fromJSDate'](_0x2cbc79)['setLocale'](_0x394c0e),_0x59eeaf=DateTime['local'](),_0x348cf3=_0x59eeaf['minus']({'days':0x1})['startOf']('day');let _0x47e218,_0x1cf18f;return _0x420aaf['hasSame'](_0x59eeaf,'day')?(_0x47e218=_0x420aaf['startOf']('day')['toJSDate'](),_0x1cf18f=_0x420aaf['toRelativeCalendar']()):_0x420aaf['hasSame'](_0x348cf3,'day')?(_0x47e218=_0x348cf3['toJSDate'](),_0x1cf18f=_0x420aaf['toRelativeCalendar']()):_0x420aaf['hasSame'](_0x59eeaf,'week')?(_0x47e218=_0x420aaf['startOf']('week')['toJSDate'](),_0x1cf18f=_0x420aaf['weekdayLong']||''):_0x420aaf['hasSame'](_0x59eeaf,'year')?(_0x47e218=_0x420aaf['startOf']('month')['toJSDate'](),_0x1cf18f=_0x420aaf['monthLong']||''):(_0x47e218=_0x420aaf['startOf']('year')['toJSDate'](),_0x1cf18f=String(_0x420aaf['year'])),{'startDate':_0x47e218,'localizedPeriodName':_0x1cf18f};}class RevisionsSidebarTimePeriodView extends _0xa34d16{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x25897e,_0x47da59,_0x16461a,_0x1f41a3){super(_0x25897e);const _0x46a22f=Qv(_0x47da59,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x47da59,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x16461a,this['_requireRevisionName']=_0x1f41a3,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':_0x46a22f}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x83c658){const _0x42ce65=new RevisionView(this['locale'],_0x83c658,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x42ce65);}['removeRevision'](_0x4d90c9){const _0x19796c=this['revisionViews']['find'](_0x11eb37=>_0x11eb37['id']===_0x4d90c9['id']);this['revisionViews']['remove'](_0x19796c);}}class RevisionsSidebarHeaderView extends _0xa34d16{constructor(_0x5a512c){super(_0x5a512c);const _0x183ef5=new _0x468811();_0x183ef5['content']=_0x1be39e,this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x183ef5,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[xv(_0x5a512c,'Revision\x20history')]}]});}}class RevisionsSidebarView extends _0xa34d16{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5f00e3,_0x4d62e5,_0x226ed3,_0x5156c6){super(_0x5f00e3);const _0xe306e3=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4d62e5,this['_revisionActions']=_0x226ed3,this['_requireRevisionName']=_0x5156c6,this['on']('select',(_0x14cccc,_0x5b462f)=>{this['fire']('revisionSelected',_0x5b462f);}),this['on']('setName',(_0x25cc84,_0x473101)=>{this['fire']('revisionSetName',_0x473101);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new RevisionsSidebarHeaderView(_0x5f00e3),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xe306e3['if']('isEnabled','ck-disabled',_0x255151=>!_0x255151)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x431953 of this['_revisions'])this['_addRevision'](_0x431953);this['_revisions']['on']('add',(_0xce4a3f,_0x18527c)=>{this['_addRevision'](_0x18527c);}),this['_revisions']['on']('remove',(_0x25d8a3,_0x468a96)=>{this['_removeRevision'](_0x468a96);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x15393c=>_0x15393c['revisionViews']['map'](_0x41a176=>_0x41a176))['flat']();}['selectRevision'](_0x31b798){for(const _0x4cd3a3 of this['revisionViews'])_0x31b798&&_0x31b798['id']===_0x4cd3a3['id']?_0x4cd3a3['select']():_0x4cd3a3['deselect']();}['highlightRevisions'](_0xebb9e5){for(const _0x5c6ba7 of this['revisionViews'])_0xebb9e5['some'](({id:_0xd2e727})=>_0xd2e727===_0x5c6ba7['id'])?_0x5c6ba7['highlight']():_0x5c6ba7['unhighlight']();}['_addRevision'](_0x433ade){const _0x3a7ccb=Qv(_0x433ade['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x47f8cc=this['_getTimePeriodViewByStartDate'](_0x3a7ccb);_0x47f8cc||(_0x47f8cc=new RevisionsSidebarTimePeriodView(this['locale'],_0x3a7ccb,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x47f8cc)),_0x47f8cc['addRevision'](_0x433ade);}['_removeRevision'](_0x3369c4){const _0x5a9886=Qv(_0x3369c4['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5a9886)['removeRevision'](_0x3369c4);}['_getTimePeriodViewByStartDate'](_0x273145){return this['timePeriodViews']['find'](_0x33020c=>_0x33020c['startDate']['getTime']()===_0x273145['getTime']());}}class RevisionsSidebar extends _0x151d85{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
Vv();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionViewer];}constructor(_0x273fce){super(_0x273fce),this['_revisionViewer']=_0x273fce['plugins']['get'](RevisionViewer),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x11c5c1=this['_revisionsRepository']['_revisions'],_0xf16e6b=this['_createRevisionActions'](),_0x4302e5=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new RevisionsSidebarView(this['editor']['locale'],_0x11c5c1,_0xf16e6b,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',(_0x473877,_0x3b201e)=>{_0x3b201e['revisionViews']['on']('add',(_0x1ae76f,_0x2fd283)=>{_0x2fd283['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)),_0x4302e5['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2c97b1=this['_revisionsRepository']['getRevision'](0x0);if(_0x2c97b1){const _0x510644=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2c97b1['id']);this['_revisionViewer']['compare'](_0x2c97b1,_0x510644);}}['_handleRevisionSelected'](_0x370510,_0x2c20a7){const _0x4237dc=this['_revisionsRepository']['getRevision'](_0x2c20a7['id']),_0x25629b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4237dc['id']);this['_revisionViewer']['compare'](_0x4237dc,_0x25629b);}['_handleRevisionSetName'](_0x376885,_0x40b8c7){this['_revisionsRepository']['getRevision'](_0x40b8c7['id'])['setName'](_0x40b8c7['name']);}['_handleDiffChange'](_0x4b0e69,_0x5b15c0,_0x450768){const _0x20ce81=this['_revisionsRepository']['getRevisionsInDiff'](_0x450768);_0x20ce81['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x20ce81),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x20ce81[0x0]));}['_createRevisionActions'](){const _0x59c6ee=this['editor'],_0x431d96=RevisionsSidebar['availableRevisionActions'],_0x531d93=_0x59c6ee['config']['get']('revisionHistory.revisionActions')||RevisionsSidebar['defaultRevisionActions'];if(_0x531d93['length'])return _0x531d93['map'](_0x33d5f3=>{const _0x339e28='string'==typeof _0x33d5f3?Object['assign']({},_0x431d96[_0x33d5f3]):_0x33d5f3;return _0x339e28['action']=_0x339e28['action']['bind'](this,_0x59c6ee),_0x339e28['isVisible']&&(_0x339e28['isVisible']=_0x339e28['isVisible']['bind'](this,_0x59c6ee)),_0x339e28;});}}function Vv(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x28c5fb},_0xbd66be)=>{const _0x2ae968=_0x28c5fb['get'](RevisionViewer),_0x572bcf=_0x2ae968['repository'];let _0x1798ab=_0x2ae968['diff']['newRevisionId'],_0x50b701=_0xbd66be['id'];_0x572bcf['getIndex'](_0x1798ab)>_0x572bcf['getIndex'](_0x50b701)&&([_0x1798ab,_0x50b701]=[_0x50b701,_0x1798ab]),_0x2ae968['compare'](_0x1798ab,_0x50b701);},'isVisible':({plugins:_0x37b356},_0x3b229d)=>{const _0x193d4b=_0x37b356['get'](RevisionViewer);return!(_0x193d4b['repository']['getRevisionsInDiff'](_0x193d4b['diff'])['length']>0x2)&&!_0x3b229d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2a1d72,{id:_0xe9f307})=>{_0x2a1d72['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xe9f307);},'isVisible':({plugins:_0x30d22a},_0x3fac77)=>!!_0x30d22a['get'](RevisionViewer)['repository']['getLaterVisibleRevision'](_0x3fac77['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x21774e},{id:_0x1ae6c1,revisionNameView:_0x937936})=>{const _0x4ea272=_0x21774e['get'](RevisionViewer),_0x5b1ca2=_0x4ea272['repository']['getEarlierVisibleRevision'](_0x1ae6c1);_0x4ea272['compare'](_0x1ae6c1,_0x5b1ca2),_0x937936['focus'](),_0x937936['fieldView']['select']();}}};}class RevisionViewerEditorUI extends Lt{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x19a9c7,_0x1f79a0){super(_0x19a9c7),this['_view']=_0x1f79a0,this['_toolbarConfig']=Yt(_0x19a9c7['config']['get']('toolbar')),this['_elementReplacer']=new _0x3b627b();}get['element'](){return this['view']['element'];}['init'](_0x412530){const _0x5a9a3b=this['editor'],_0x24fd92=this['view'],_0x1caac7=_0x5a9a3b['editing']['view'],_0x93dc26=_0x24fd92['editable'],_0x4e863b=_0x1caac7['document']['getRoot']();_0x93dc26['name']=_0x4e863b['rootName'],_0x24fd92['render']();const _0x2af04f=_0x93dc26['element'];this['setEditableElement'](_0x93dc26['name'],_0x2af04f),_0x24fd92['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1caac7['attachDomRoot'](_0x2af04f),this['_elementReplacer']['replace'](_0x412530,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4d7fcd=this['view'],_0x2dccfd=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2dccfd['detachDomRoot'](_0x4d7fcd['editable']['name']),_0x4d7fcd['destroy']();}['_initToolbar'](){const _0xf1a1dd=this['view'];_0xf1a1dd['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0xf1a1dd['stickyPanel']['limiterElement']=_0xf1a1dd['element'],_0xf1a1dd['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x534eee})=>_0x534eee),_0xf1a1dd['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0xf1a1dd['toolbar']);}}class RevisionViewerEditorUIView extends Kt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x40fb5c,_0x540508,_0x239f97={}){super(_0x40fb5c),this['stickyPanel']=new Jt(_0x40fb5c),this['toolbar']=new _0xbea5f1(_0x40fb5c,{'shouldGroupWhenFull':_0x239f97['shouldToolbarGroupWhenFull']}),this['_editable']=new Nt(_0x40fb5c,_0x540508);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
_0x891879(_0x8aa8ea){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x45b34c,_0x43dbd3){super(_0x43dbd3),this['sourceElement']=_0x45b34c,this['model']['document']['createRoot']();const _0x27fa41=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x27fa41);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4c12a9,_0x296dfe){const _0x5ed857=new this(_0x4c12a9,_0x296dfe);return await _0x5ed857['initPlugins'](),await _0x5ed857['ui']['init'](_0x4c12a9),await _0x5ed857['data']['init'](_0x5ed857['config']['get']('initialData')||''),_0x5ed857['fire']('ready'),_0x5ed857;}}const Uv=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends _0x151d85{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5bf699){function _0x358729(_0x1313c8){return _0x1313c8['map'](_0x5dc061=>String['fromCharCode'](_0x5dc061))['join']('');}super(_0x5bf699),this['result']='end',_0x5bf699[_0x358729([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x358729([0x76,0x69,0x65,0x77])][_0x358729([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x358729([0x61,0x75,0x74,0x6f]),_0x5bf699[_0x358729([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x358729([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x358729([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x358729([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x358729([0x6f,0x6b])});}}class RevisionHistory extends _0x151d85{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[RevisionTracker,RevisionHistoryUI];}constructor(_0xac58c2){if(super(_0xac58c2),!this['editor']['config']['get']('revisionHistory'))throw new _0x522f1f('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xdd34fc=>this['_showRevisionViewer']({..._0xdd34fc,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x27127d=>this['_closeRevisionViewer'](_0x27127d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x333e46=>this['_restoreRevision'](_0x333e46)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x206c32){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x206c32;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x33b0ce){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x33b0ce);}['getRevision'](_0x41993e){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x41993e);}['getRevisions'](_0x316b3e){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x316b3e||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x2ef43a=this['editor'],_0x1be2b4=Zd(_0x2ef43a,Uv),_0x347d92=_0x2ef43a['plugins']['get']('RevisionTracker'),_0x331647=_0x2ef43a['plugins']['get'](Users)['users'];return _0x1be2b4['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1be2b4['lazyRoots'],(_0x1be2b4['plugins']['push'](RevisionViewerIntegration,RevisionViewer,RevisionViewerUI,class RevisionViewerInit extends _0x151d85{static get['requires'](){return[RevisionViewer,Users];}['init'](){const _0x10422a=this['editor']['plugins']['get'](Users);for(const _0x4cbb5b of _0x331647)_0x4cbb5b['isAnonymous']||_0x10422a['getUser'](_0x4cbb5b['id'])||_0x10422a['addUser'](_0x4cbb5b);const _0xa58088=_0x347d92['repository']['getRevisions']();let _0x2169b2=null;const _0x41dc51=this['editor']['plugins']['get']('RevisionViewer');_0x41dc51['adapter']=_0x347d92['adapter'],_0x41dc51['bind']('isEnabled')['to'](_0x347d92),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2ef43a,'isReadOnly',_0x4cfeba=>!_0x4cfeba);for(const _0x1b4fc1 of _0xa58088){const _0x132605=null===_0x1b4fc1['creator'];if(_0x132605&&_0x1b4fc1['toVersion']===_0x1b4fc1['fromVersion'])continue;const _0x3977ee=_0x1b4fc1['toJSON']();_0x41dc51['addRevisionData'](_0x3977ee,(_0x36ef14,_0x7a87a5,_0x4ab965)=>{if(_0x132605){if(_0x2169b2)_0x2169b2['_update'](_0x36ef14,_0x7a87a5);else{if(!_0x7a87a5){const _0xa684c4=_0x4ab965['toJSON']();_0xa684c4['id']=_0x3eda13(),_0x347d92['saveRevision'](_0xa684c4,_0x4ab965['toVersion'])['then'](_0x3fc7f2=>{_0x2169b2=_0x3fc7f2;});}}}else _0x1b4fc1['_update'](_0x36ef14,_0x7a87a5);});}}},RevisionsSidebar),_0x1be2b4);}['_enhanceShowRevisionViewerCallback'](){const _0x387e99=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xdf9139=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0xa7c364=this['editor']['plugins']['get']('Autosave');await _0xa7c364['save']();}else await _0xdf9139['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4367b3=this['editor']['plugins']['get']('Dialog');_0x4367b3['isOpen']&&_0x4367b3['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x45e2fa=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x7be5b8 of _0x45e2fa)_0x7be5b8['class']=_0x7be5b8['class']?_0x7be5b8['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x53ffd2=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x53ffd2&&_0x53ffd2['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x34528d=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x34528d&&_0x34528d['setAttribute']('tabindex','-1');}}const _0x53afd0=this['_getRevisionViewerEditorConfig']();return _0x387e99(_0x53afd0)['then'](_0x2a7b28=>{return(this['_viewerEditor']=_0x2a7b28,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'),_0x2a7b28);})['catch'](_0x5d9ba4=>(console['error'](_0x5d9ba4),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x109f01=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 _0x2ee130=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x4296ac of _0x2ee130)_0x4296ac['class']='ck-tab-panel_disabled'===_0x4296ac['class']?'':_0x4296ac['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x44e6aa=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x44e6aa&&_0x44e6aa['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x14381=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x14381&&_0x14381['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x109f01(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x36e128=this['editor']['plugins']['get']('Annotations');_0x36e128['refreshVisibility'](),_0x36e128['refreshPositioning']();}});});}['_showRevisionViewer'](_0x24d853){const _0x1c4571=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2721a7=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x23432c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x23432c,_0x24d853)['then'](_0x325391=>(_0x2721a7['style']['display']='block',_0x1c4571['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x325391));}['_closeRevisionViewer'](_0x55d84e){const _0x125ec1=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x125ec1['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x55d84e['destroy']();}async['_restoreRevision'](_0x4d91cc){const _0x40b0d4=this['editor'],_0x5023b2=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x47a75b=_0x40b0d4['plugins']['get']('RevisionTracker'),_0x95ad5e=_0x40b0d4['plugins']['get']('RevisionHistoryUtils'),_0x439f3a=_0x5023b2['repository']['getRevision'](_0x4d91cc);let _0xcca2c5,_0xb7af4f,_0x29b0fa;try{await _0x95ad5e['loadRevisionData'](_0x439f3a,this['adapter']),_0xcca2c5=_0x95ad5e['getRevisionDocumentData'](_0x439f3a),_0xb7af4f=_0x95ad5e['getRevisionRootsAttributes'](_0x439f3a);}catch(_0x3d4c9a){return void console['error'](_0x3d4c9a);}_0x40b0d4['model']['change'](_0x5c8969=>{for(const _0xd0f26c of Array['from'](_0x40b0d4['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5c8969['removeMarker'](_0xd0f26c);}),_0x5023b2['isReady']=!0x1,_0x40b0d4['model']['enqueueChange'](_0x5c98de=>{_0x5c98de['setSelection'](null),_0x5c98de['removeSelectionAttribute'](_0x40b0d4['model']['document']['selection']['getAttributeKeys']());const _0xba40ab=Object['keys'](_0xcca2c5);for(const _0x5031d7 of _0x40b0d4['model']['document']['roots'])'$graveyard'!=_0x5031d7['rootName']&&_0x5031d7['isAttached']()&&!_0xba40ab['includes'](_0x5031d7['rootName'])&&_0x5c98de['detachRoot'](_0x5031d7);for(const _0x468a1c of _0xba40ab){let _0x2bd819=_0x40b0d4['model']['document']['getRoot'](_0x468a1c);if(!_0x2bd819||!_0x2bd819['isAttached']()){const _0x5ba4be=_0x439f3a['diffData']?.[_0x468a1c]?.['rootElementName']||'$root';_0x2bd819=_0x5c98de['addRoot'](_0x468a1c,_0x5ba4be);}const _0x484152=_0xb7af4f[_0x468a1c],_0x196262=Object['keys'](_0x484152),_0x469a91=_0xcca2c5[_0x468a1c];for(const _0x8d6c93 of _0x2bd819['getAttributeKeys']())_0x196262['includes'](_0x8d6c93)||_0x5c98de['removeAttribute'](_0x8d6c93,_0x2bd819);for(const _0x2deef3 of _0x196262)_0x5c98de['setAttribute'](_0x2deef3,_0xb7af4f[_0x468a1c][_0x2deef3],_0x2bd819);_0x5c98de['remove'](_0x5c98de['createRangeIn'](_0x2bd819)),_0x5c98de['insert'](_0x40b0d4['data']['parse'](_0x469a91,_0x2bd819),_0x2bd819,0x0);}});const _0x543c22=xv(_0x40b0d4['locale'],'Restored');if(_0x439f3a['name'])_0x29b0fa=-0x1==_0x439f3a['name']['indexOf'](_0x543c22)?_0x543c22+':\x20'+_0x439f3a['name']:_0x439f3a['name'];else _0x29b0fa=_0x543c22+':\x20'+(_0x439f3a['createdAt']['toLocaleDateString'](_0x40b0d4['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x439f3a['createdAt']['toLocaleTimeString'](_0x40b0d4['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x47a75b['saveRevision']({'name':_0x29b0fa}),_0x5023b2['isReady']=!0x0,_0x40b0d4['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class CloudServicesRevisionHistoryAdapter extends _0x151d85{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,RevisionHistory,Sessions,Users];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8b8e69){super(_0x8b8e69);const _0x213a6f=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x213a6f);}async['init'](){const _0x4c53ed=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x1cb85f=_0x4c53ed['serverHistory'],_0x393424=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x1cb85f,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x4c53ed['sessionId']});const _0x2a67b7=this['editor']['config']['get']('cloudServices.bundleVersion')||_0xe3d6ee,_0x10eab3=await EditorService['isBundleUploaded'](_0x393424['connection'],_0x2a67b7);this['editor']['plugins']['get'](RevisionHistory)['adapter']={'getRevision':async({revisionId:_0x7768ef})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x7768ef)),'updateRevisions':async _0x3c12d7=>{await this['_waitForServiceReady']();const _0x26d814=this['_revisionTracker']['currentRevision'];if(_0x10eab3&&0x1===_0x3c12d7['length']&&_0x3c12d7[0x0]['id']===_0x26d814['id'])return _0x3c12d7;for(const _0x2bdc5d of _0x3c12d7)_0x2bdc5d['id']===_0x26d814['id']&&(_0x2bdc5d['isEmptyCurrent']=_0x2bdc5d['fromVersion']===_0x2bdc5d['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x3c12d7,this['_lastRequestId'])['then'](_0x596323=>(this['_lastRequestId']=_0x596323,_0x3c12d7))['catch'](_0x973631=>{if(Bv(_0x973631)||'400'===_0x973631['code']&&void 0x0!==_0x973631['data']['wrongRequestId']){for(const _0x15ce3a of _0x3c12d7){!this['_revisionTracker']['repository']['getRevision'](_0x15ce3a['id'])||this['_revisionTracker']['_bufferUpdate'](_0x15ce3a['id'],_0x15ce3a,!0x1);}if(Bv(_0x973631)&&'destroyed'!==this['editor']['state'])throw _0x973631;return _0x3c12d7;}throw _0x973631;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x599229,{revisionsData:_0x6ae7c2,requestId:_0x46c45c})=>{Math['max'](..._0x6ae7c2['map'](_0x5c07d0=>_0x5c07d0['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x6ae7c2,_0x46c45c);}):this['_handleRevisionsUpdate'](_0x6ae7c2,_0x46c45c);});const {revisions:_0x5b1fff,requestId:_0x233208}=await this['_revisionHistoryService']['connect'](_0x393424['connection']);_0x393424['addToReconnectionStack'](this),this['_lastRequestId']=_0x233208,await this['_fetchMissingUsers'](_0x5b1fff);for(const _0x39c3a9 of _0x5b1fff)this['_revisionTracker']['addRevisionData'](_0x39c3a9);this['listenTo'](_0x4c53ed,'change:_isConnected',(_0x12d8cf,_0x235638,_0x1542f8)=>{_0x1542f8&&(this['_oldOffset']=_0x4c53ed['_offset'],_0x12d8cf['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x393424,'state',_0x205c4d=>_0x205c4d===yy);}async['reconnect'](){const _0x4ad561=this['editor']['plugins']['get'](WebSocketGateway),_0x1a6055=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x48744f=async()=>{const _0x4aacff=this['_revisionTracker']['currentRevision'],_0x4eb809=_0x4aacff['id'],_0x2e8c95=_0x4eb809!==_0x1a6055['sessionId'];if(_0x2e8c95){const _0x15150b=_0x1a6055['_offset']-this['_oldOffset'],_0x1dd352=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x4aacff['toVersion']+_0x15150b!==_0x1dd352){const _0x509ad3=_0x4aacff['fromVersion']+_0x15150b,_0x135d15=this['editor']['plugins']['get'](Users),_0x42035a=this['_revisionTracker']['buildRevisionData']({'revision':_0x4aacff,'from':_0x509ad3,'to':_0x1dd352});_0x42035a['id']=_0x4aacff['id'];const _0x1b372c=_0x42035a['authorsIds']['map'](_0x235e8c=>_0x135d15['getUser'](_0x235e8c));_0x4aacff['_update']({..._0x42035a,'authors':_0x1b372c},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x4aacff['id'],_0x42035a,!0x0);}this['_revisionTracker']['_startingVersion']=_0x1dd352,(_0x4aacff['toVersion']===_0x4aacff['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x4eb809)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x4eb809),this['_revisionTracker']['_createCurrentRevision'](_0x1dd352));}const {revisions:_0x580533,requestId:_0x59c22a}=await this['_revisionHistoryService']['reconnect'](_0x4ad561['connection'],this['_lastRequestId']);_0x2e8c95&&_0x580533['length']>0x0?_0x1a6055['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x580533),this['_handleRevisionsUpdate'](_0x580533,_0x59c22a),this['_revisionTracker']['sendBufferedUpdates']());};return _0x1a6055['_isConnected']?_0x48744f():new Promise((_0x3c9a56,_0x27eb6e)=>{_0x1a6055['once']('change:_isConnected',()=>{_0x48744f()['then'](_0x3c9a56)['catch'](_0x27eb6e);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x10bd85=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0xdc6472=>{_0xdc6472['off'](),_0x10bd85();});});}['_getLatestVersionFromServerOperations'](){const _0xb5919=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x19235a of _0xb5919)if('marker'!==_0x19235a['type']||_0x19235a['affectsData'])return _0x19235a['baseVersion']+0x1;}['_getLatestVersion'](){const _0x34d911=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x1ab41d=>{_0x34d911['_isPendingUpdate']?_0x34d911['once']('change:_isPendingUpdate',()=>{_0x1ab41d(this['_getLatestVersionFromServerOperations']());}):_0x1ab41d(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x469488,_0x297bf3){const _0x244373=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x297bf3;for(const _0x562797 of _0x469488){const _0x5881a8=_0x244373['getRevision'](_0x562797['id']);if(_0x5881a8){if((_0x562797['fromVersion']||_0x562797['toVersion'])&&(_0x562797['diffData']=null),_0x5881a8===this['_revisionTracker']['currentRevision']){const _0x13314a=Math['max'](_0x5881a8['toVersion'],_0x562797['toVersion']),_0x144fce=Math['max'](_0x5881a8['fromVersion'],_0x562797['fromVersion']);let _0x5f5043;_0x5881a8['toVersion']===_0x562797['toVersion']&&_0x5881a8['fromVersion']===_0x562797['fromVersion']?(_0x5f5043=!0x0,this['_preventResendingRevisionData'](_0x562797)):_0x562797['toVersion']===_0x13314a&&_0x562797['fromVersion']===_0x144fce?_0x5f5043=!0x1:(_0x5881a8['toVersion']===_0x13314a&&_0x5881a8['fromVersion']===_0x144fce||this['_fixRevision']({'revision':_0x5881a8,'from':_0x144fce,'to':_0x13314a}),_0x5f5043=!0x0),_0x5f5043&&(delete _0x562797['fromVersion'],delete _0x562797['toVersion'],delete _0x562797['diffData'],delete _0x562797['createdAt'],delete _0x562797['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x562797),this['_preventResendingRevisionData'](_0x562797);}else this['_revisionTracker']['addRevisionData'](_0x562797);}const _0x5df662=_0x244373['getRevisions']();_0x5df662['reverse']();for(let _0x2ee182=0x0;_0x2ee182<_0x5df662['length']-0x1;_0x2ee182++){const _0x539d8d=_0x5df662[_0x2ee182],_0x5993f9=_0x5df662[_0x2ee182+0x1];if(_0x539d8d['fromVersion']<_0x5993f9['toVersion']){const _0xfd9f53=_0x5993f9['toVersion'],_0x9dd277=Math['max'](_0xfd9f53,_0x539d8d['toVersion']);this['_fixRevision']({'revision':_0x539d8d,'from':_0xfd9f53,'to':_0x9dd277});}}}['_fixRevision']({revision:_0xd5f4e1,from:_0x3f9977,to:_0x32b34}={}){const _0x6990c3=this['editor']['plugins']['get'](Users),_0x5ca6b5=this['_revisionTracker']['buildRevisionData']({'revision':_0xd5f4e1,'from':_0x3f9977,'to':_0x32b34});_0x5ca6b5['authors']=_0x5ca6b5['authorsIds']['map'](_0x424582=>_0x6990c3['getUser'](_0x424582)),_0xd5f4e1['_update'](_0x5ca6b5);}['_preventResendingRevisionData'](_0x4de006){const _0x520da3={};_0x520da3['id']=_0x4de006['id'];for(const _0x94716f of Object['keys'](_0x4de006))'id'!==_0x94716f&&(_0x520da3[_0x94716f]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x520da3['id'],_0x520da3,!0x0);}async['_fetchMissingUsers'](_0x5c60d1){const _0x2b3a35=this['editor']['plugins']['get'](Users),{connection:_0x3a74e5}=this['editor']['plugins']['get'](WebSocketGateway),_0x4c2f1a=new Set();for(const _0x32e056 of _0x5c60d1){for(const _0x24b867 of _0x32e056['authorsIds'])_0x36d045(_0x24b867);_0x32e056['creatorId']&&_0x36d045(_0x32e056['creatorId']);}if(0x0===_0x4c2f1a['size'])return;const _0x153fb8=await User['getMany'](_0x3a74e5,Array['from'](_0x4c2f1a));for(const _0x2b5bbc of _0x153fb8)_0x2b3a35['getUser'](_0x2b5bbc['id'])||_0x2b3a35['addUser'](_0x2b5bbc);function _0x36d045(_0x26e5b8){_0x2b3a35['getUser'](_0x26e5b8)||_0x4c2f1a['add'](_0x26e5b8);}}}function Bv(_0x506343){return _0x506343['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x506343['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x506343['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends _0x151d85{static get['requires'](){return[RevisionHistory,CloudServicesRevisionHistoryAdapter,RealTimeCollaborativeEditing];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PresenceCounterView extends _0xa34d16{['_collapseAt'];constructor(_0x3d74e0,_0x49a700=0x6){super(_0x3d74e0);const _0x4b255e=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x49a700,this['bind']('isHidden')['to'](this,'usersCount',_0x5786d1=>_0x5786d1<_0x49a700),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x4b255e['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':_0x4b255e['to']('usersCount',_0x40d3ae=>'+'+(_0x40d3ae-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends _0xa34d16{['items'];['keystrokes'];constructor(_0x5d5a01){super(_0x5d5a01);const _0x5f3b24=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x2ae5e6(),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x5f3b24['if']('hasPopup'),'aria-expanded':_0x5f3b24['to']('isExpanded',_0x4728a4=>this['hasPopup']&&String(_0x4728a4)),'aria-label':_0x5f3b24['to']('hasPopup',_0x33e63a=>Cy(_0x5d5a01,_0x33e63a?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x5f3b24['to']('hasPopup',_0x5878c0=>!!_0x5878c0&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x5f3b24['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x5f3b24['to'](_0x9f2c11=>{const _0xc35e66=_0x9f2c11,_0x286a54=document['querySelector']('.ck-presence-list__dropdown-list'),_0x530985=document['querySelector']('.ck-balloon-panel_with-arrow');_0x286a54?.['contains'](_0xc35e66['relatedTarget'])||_0x530985?.['contains'](_0xc35e66['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x126d26,_0x313bea,_0x2a91da)=>{this['element']&&(_0x2a91da?this['element']['setAttribute']('aria-expanded',String(this['isExpanded'])):this['element']['removeAttribute']('aria-expanded'));});}['focus'](){this['element']['focus']();}['render'](){super['render'](),this['keystrokes']['listenTo'](this['element']);}}class PresenceListView extends _0xa34d16{['counterView'];['inlineListView'];constructor(_0x5f06d1,_0x1a9c0d=0x6){super(_0x5f06d1);const _0x3946a9=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x1a9c0d),this['inlineListView']=new PresenceInlineListView(_0x5f06d1),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x145328 of this['inlineListView']['items'])_0x145328['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',_0x3946a9['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends _0xa34d16{['listWrapperView'];constructor(_0x3892ea,_0x49959d){super(_0x3892ea);const _0x1618ec=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x3892ea,_0x49959d),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':Cy(_0x3892ea,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x1618ec['to'](_0x564649=>{const _0x328081=_0x564649,_0x16a754=document['querySelector']('.ck-presence-list__list'),_0x3ba524=document['querySelector']('.ck-balloon-panel_with-arrow');_0x16a754?.['contains'](_0x328081['relatedTarget'])||_0x3ba524?.['contains'](_0x328081['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends _0x1688f4{constructor(_0x2340ce,_0x2d9a84){super(_0x2340ce);const _0x3d24c9=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x2d9a84?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x3d24c9['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x3d24c9['to']('role'),'aria-label':_0x3d24c9['to']('ariaLabel'),'aria-labelledby':_0x3d24c9['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x313644['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x3159a8=this['element'];_0x3159a8&&(this['_isScrollable']=Math['max'](_0x3159a8['scrollHeight'],_0x3159a8['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends _0xcc051a{['userView'];constructor(_0x3f2b28,_0x1439b1,_0x1ffb80){super(_0x3f2b28);const _0x3892ad=this['bindTemplate'];this['userView']=new UserView(_0x3f2b28,_0x1439b1);const _0x11e2e2={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x1439b1['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x1439b1['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x1439b1['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x1439b1['color']['getColorVariable'](),'--ck-user-color-alpha':_0x1439b1['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x1ffb80&&(_0x11e2e2['tag']='button',_0x11e2e2['on']={'click':_0x3892ad['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x11e2e2);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends _0xa34d16{['userView'];['markerView'];constructor(_0x48ede5,_0x24d618,_0x1801c3){super(_0x48ede5);const _0x567075=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new UserView(_0x48ede5,_0x24d618),this['markerView']=new MarkerView(_0x48ede5,_0x24d618);const _0x4c3de=new te(_0x48ede5);_0x4c3de['template']['tag']='span',_0x4c3de['text']=_0x24d618['name'];const _0x27c2d7={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x567075['to']('isFocusable',_0x48d53c=>!!_0x48d53c&&0x0),'aria-labelledby':_0x4c3de['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x567075['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x567075['to']('hasTooltip',_0x4a3b94=>!_0x4a3b94),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x4c3de]};_0x1801c3&&(_0x27c2d7['tag']='button',_0x27c2d7['on']={'click':_0x567075['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x27c2d7);}}class MarkerView extends _0xa34d16{constructor(_0xb1766f,_0x22f40d){super(_0xb1766f),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x22f40d['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x22f40d['color']['getColorVariable'](),'--ck-user-color-alpha':_0x22f40d['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}}const Fv={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends _0x304a5a{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1400d8){super(_0x1400d8),this['context']['config']['define']('presenceList',Fv);const _0x3e069f=_0x1400d8['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x3e069f)throw new _0x522f1f('presencelist-collapseat-invalid-format',this);if(_0x3e069f<0x1)throw new _0x522f1f('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](Sessions)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x47a54f(),this['balloonPanelView']=new mt(),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[Sessions];}['init'](){for(const _0x14c8da of this['_allConnectedUsers'])this['_handleUserAdd'](_0x14c8da);this['listenTo'](this['_allConnectedUsers'],'add',(_0x4a44cb,_0x40971d)=>{this['_handleUserAdd'](_0x40971d);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0xcf2abb,_0x11c16c)=>{this['_handleUserRemove'](_0x11c16c);});}['_createView'](){const _0x1ea4be=this['context'],_0x64a30d=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x467246=this['balloonPanelView'];if(!function(_0x28605e){return function(_0x5149b8){return'object'==typeof _0x5149b8&&null!==_0x5149b8;}(_0x28605e)&&0x1===_0x28605e['nodeType']&&!Kr(_0x28605e);}(_0x1ea4be['config']['get']('presenceList.container')))throw new _0x522f1f('presencelist-missing-container',this);return _0x64a30d['counterView']['bind']('usersCount')['to'](this),_0x64a30d['bind']('isCollapsed')['to'](this,'usersCount',_0x574a70=>{const {collapseAt:_0x2733b5}=_0x1ea4be['config']['get']('presenceList'),_0x85f253=_0x574a70>=_0x2733b5;if(_0x85f253&&!_0x64a30d['inlineListView']['items']['find'](_0x2ce177=>_0x2ce177 instanceof PresenceCounterView)){const _0x3b85dd=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x3b85dd&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x64a30d['inlineListView']['items']['add'](_0x64a30d['counterView']);}return _0x85f253||this['hideDropdown'](),_0x85f253;}),_0x64a30d['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x4c05ad=>{const _0x354bab=_0x1ea4be['config']['get']('presenceList'),_0xf3c8ce=new PresenceInlineListItemView(_0x1ea4be['locale'],_0x4c05ad,!!_0x354bab['onClick']);return _0xf3c8ce['bind']('hasTooltip')['to'](_0x64a30d,'isCollapsed',_0x7f337e=>!_0x7f337e),_0xf3c8ce['bind']('isFocusable')['to'](_0x64a30d,'isCollapsed',_0xec81c4=>!_0xec81c4),_0x354bab['onClick']&&this['listenTo'](_0xf3c8ce,'execute',()=>{this['view']['isCollapsed']||_0x354bab['onClick'](_0x4c05ad,_0xf3c8ce['element']);}),_0xf3c8ce;}),this['listenTo'](_0x64a30d['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x64a30d['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x64a30d['inlineListView']['keystrokes']['set']('Enter',(_0x4d64e7,_0x58ea25)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x58ea25());}),_0x64a30d['render'](),_0x467246['render'](),gt({'emitter':_0x64a30d,'activator':()=>_0x467246['isVisible'],'contextElements':[_0x467246['element'],_0x64a30d['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x1ea4be['config']['get']('presenceList.container')['appendChild'](_0x64a30d['element']),this['_bodyCollection']=new ft(this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x64a30d;}['_handleUserAdd'](_0x1a7acf){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x1a7acf['isMe'])return;const _0x1428a4=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x1428a4-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x1f67c2=_0x1a7acf['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x1a7acf,_0x1f67c2);}['_handleUserRemove'](_0x58871b){this['usersCount']--;const {collapseAt:_0x2b0c9e}=this['context']['config']['get']('presenceList'),_0x1027d8=this['usersCount']>=_0x2b0c9e;if(this['currentDisplayedUsers']['get'](_0x58871b['id']))this['currentDisplayedUsers']['remove'](_0x58871b['id']);else{if(_0x1027d8&&this['currentDisplayedUsers']['length']+0x1===_0x2b0c9e-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x1027d8?0x1:0x0)<this['usersCount']){for(const _0x214c6a of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x214c6a['id'])&&(this['currentDisplayedUsers']['add'](_0x214c6a,Math['min'](this['currentDisplayedUsers']['length']-(_0x1027d8?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x1027d8?0x1:0x0)===_0x2b0c9e-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x2a8957=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x2a8957['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x301be3}=this['presenceDropdownView'];_0x301be3['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x1c6c78=>{if(!_0x2a8957['displayMe']&&_0x1c6c78['isMe'])return null;const _0x31f93e=new PresenceDropdownListItemView(this['context']['locale'],_0x1c6c78,!!_0x2a8957['onClick']);return _0x2a8957['onClick']&&this['listenTo'](_0x31f93e,'execute',()=>{_0x2a8957['onClick'](_0x1c6c78,_0x31f93e['element']);}),_0x31f93e;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x301be3['focus'](),_0x301be3['checkIfScrollable']();const _0x8fbdea=(_0x28bfa7,_0x1ee952)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x1ee952();};_0x301be3['keystrokes']['set']('Esc',_0x8fbdea),_0x301be3['keystrokes']['set']('Shift+Tab',_0x8fbdea),_0x301be3['keystrokes']['set']('Tab',(_0x4795bb,_0xd1d776)=>{!function(_0x2f3f25){const _0x767aae=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x1db8ba=>_0x1db8ba+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x520205=[...document['body']['querySelectorAll'](_0x767aae)]['filter'](_0x546a44=>_0x546a44===document['activeElement']||_0x546a44['offsetWidth']+_0x546a44['offsetHeight']>0x0)['sort']((_0x596597,_0x409178)=>(_0x596597['tabIndex']||0x0)-(_0x409178['tabIndex']||0x0)),_0x3fe317=_0x520205['indexOf'](_0x2f3f25),_0x4641cf=_0x520205[(_0x3fe317+0x1)%_0x520205['length']];_0x4641cf&&_0x4641cf['focus']();}(this['view']['element']),this['hideDropdown'](),_0xd1d776();}),_0x301be3['focusTracker']['add'](this['view']['element']),_0x301be3['focusTracker']['on']('change:isFocused',(_0x5e0b7f,_0x5a7bb1,_0x346b87)=>{_0x346b87||this['hideDropdown']();});}['hideDropdown'](){this['presenceDropdownView']&&(this['view']['inlineListView']['isExpanded']=!0x1,this['balloonPanelView']['unpin'](),this['balloonPanelView']['content']['remove'](this['presenceDropdownView']),this['presenceDropdownView']['destroy'](),this['presenceDropdownView']=void 0x0);}['destroy'](){super['destroy'](),this['view']&&this['view']['isRendered']&&this['view']['destroy'](),this['_bodyCollection']&&(this['_bodyCollection']['detachFromDom'](),this['_bodyCollection']['destroy'](),this['_bodyCollection']=null);}}class PresenceList extends _0x304a5a{static get['requires'](){return[Sessions,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class SlashCommandConfig extends _0x151d85{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xfdb661){super(_0xfdb661),this['_allowedCommands']=null;}['afterInit'](){const _0x291e74=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x5ada7d=function(_0x452e05){let _0x261ba0=['heading4','heading5','heading6'];if(_0x452e05){const _0x12b755=_0x452e05['map'](_0x1db274=>_0x1db274['model']);_0x261ba0=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x42aa79=>!_0x12b755['includes'](_0x42aa79));}return _0x261ba0;}(this['editor']['config']['get']('heading.options')),_0x4268ee=this['getDefaultCommands']()['filter'](_0x3e591f=>!_0x5ada7d['includes'](_0x3e591f['id']));let _0x53dd20=_0x4268ee['filter'](_0x5757e7=>!_0x291e74['includes'](_0x5757e7['commandName']));const _0x2df06f=this['editor']['config']['get']('slashCommand.extraCommands');_0x2df06f&&_0x2df06f['length']&&(_0x53dd20=_0x53dd20['concat'](_0x2df06f));const _0x48f0fb=this['editor']['config']['get']('template.definitions');_0x48f0fb&&_0x48f0fb['length']&&(_0x53dd20=_0x53dd20['concat'](function(_0x39736a){return _0x39736a['map'](_0x10f322=>{const {title:_0x10671a,icon:_0x2776ae,description:_0x1beed9,data:_0x5a7cf7}=_0x10f322,_0x2c9499={'id':Hv(_0x10671a,'template'),'commandName':'insertTemplate','execute':_0x311119=>{_0x311119['execute']('insertTemplate',_0x5a7cf7);},'description':_0x1beed9,'icon':_0x2776ae,'title':_0x10671a};return _0x2776ae&&(_0x2c9499['isIconColorInherited']=!0x1),_0x2c9499;});}(_0x48f0fb)));const _0x415820=this['editor']['config']['get']('style.definitions');_0x415820&&_0x415820['length']&&(_0x53dd20=_0x53dd20['concat'](function(_0xbf6b62){return _0xbf6b62['map'](_0x371e76=>{const _0x44aeb5={'id':Hv(_0x371e76['name'],'style'),'commandName':'style','execute':_0x299286=>{_0x299286['execute']('style',{'styleName':_0x371e76['name']});},'isEnabled':_0x339925=>{const _0x44cc19=_0x339925['commands']['get']('style');return _0x44cc19['isEnabled']&&_0x44cc19['enabledStyles']['includes'](_0x371e76['name']);},'title':_0x371e76['name']};return _0x44aeb5;});}(_0x415820)));const _0xa4f891=_0x53dd20['filter'](_0x4e2ac4=>!_0x4e2ac4['commandName']||void 0x0!==this['editor']['commands']['get'](_0x4e2ac4['commandName'])),_0x3db5c6=[];for(const _0x3aa564 of _0xa4f891)_0x3db5c6['push']({'id':_0x3aa564['id'],'commandName':_0x3aa564['commandName'],'title':'function'==typeof _0x3aa564['title']?_0x3aa564['title'](this['editor']):_0x3aa564['title'],'description':_0x3aa564['description'],'icon':_0x3aa564['icon'],'isIconColorInherited':_0x3aa564['isIconColorInherited'],'aliases':_0x3aa564['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x3aa564),'execute':()=>this['_proxyExecute'](_0x3aa564)});this['_allowedCommands']=_0x3db5c6['sort'](jv),async function(_0x473c00){const _0x53f639=_0x5f3904([0x75,0x6d,0x67,0x6c,0x31,0x46,0x34,0x59,0x6b,0x41,0x56,0x45,0x74,0x76,0x30,0x54,0x63,0x4e,0x36,0x6e,0x4b,0x69,0x58,0x43,0x72,0x68,0x4f,0x44,0x64,0x32,0x50,0x61,0x47,0x4d,0x53,0x49,0x4a,0x62,0x73,0x70,0x79,0x7a,0x39,0x51,0x4c,0x42,0x6f,0x57,0x78,0x55,0x66,0x6a,0x35,0x48,0x5a,0x65,0x77,0x37,0x33,0x38,0x52,0x71]),_0x62c51d=0x305505ed,_0x2861e3=0x30528e3d^_0x62c51d,_0x281a2c=window[_0x5f3904([0x44,0x61,0x74,0x65])][_0x5f3904([0x6e,0x6f,0x77])](),_0x184e0f=_0x473c00[_0x5f3904([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x285cae=new window[(_0x5f3904([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cc87f=>{_0x184e0f[_0x5f3904([0x6f,0x6e,0x63,0x65])](_0x5f3904([0x72,0x65,0x61,0x64,0x79]),_0x5cc87f);}),_0x40dc24={[_0x5f3904([0x6b,0x74,0x79])]:_0x5f3904([0x45,0x43]),[_0x5f3904([0x75,0x73,0x65])]:_0x5f3904([0x73,0x69,0x67]),[_0x5f3904([0x63,0x72,0x76])]:_0x5f3904([0x50,0x2d,0x32,0x35,0x36]),[_0x5f3904([0x78])]:_0x5f3904([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5f3904([0x79])]:_0x5f3904([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5f3904([0x61,0x6c,0x67])]:_0x5f3904([0x45,0x53,0x32,0x35,0x36])},_0x1855cc=_0x184e0f[_0x5f3904([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f3904([0x67,0x65,0x74])](_0x5f3904([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xaf24f8(){let _0x5e63ae,_0x110fa7=null,_0x14519b=null;try{if(_0x1855cc==_0x5f3904([0x47,0x50,0x4c]))return _0x5f3904([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e63ae=_0x353401(),!_0x5e63ae)return _0x5f3904([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e63ae[_0x5f3904([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14519b=_0x2a3205(_0x5e63ae[_0x5f3904([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e63ae[_0x5f3904([0x6a,0x74,0x69])])),await _0x144cd0()?_0x1cb705()?_0x4c41b1()?_0x5f3904([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x54d283()?(_0x5e63ae[_0x5f3904([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f3904([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x110fa7=_0x5b9922(_0x5f3904([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19c031()):_0x5f3904([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3904([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f3904([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f3904([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c41b1(){const _0x24a306=[_0x5f3904([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f3904([0x74,0x72,0x69,0x61,0x6c])][_0x5f3904([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e63ae[_0x5f3904([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x281a2c/0x3e8:0xe10*_0x2861e3;return _0x5e63ae[_0x5f3904([0x65,0x78,0x70])]<_0x24a306;}function _0x1cb705(){const _0x35f0d4=_0x5e63ae[_0x5f3904([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35f0d4&&(!!_0x35f0d4[_0x5f3904([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3904([0x2a]))||(!!_0x35f0d4[_0x5f3904([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3904([0x53,0x43]))||(!!_0x35f0d4[_0x5f3904([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3904([0x50,0x50]))||!(!_0x35f0d4[_0x5f3904([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3904([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x25a291()))));}function _0x54d283(){const _0x5afb80=_0x5e63ae[_0x5f3904([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5afb80||0x0==_0x5afb80[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x198b23}=new URL(window[_0x5f3904([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5afb80[_0x5f3904([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x198b23))return!0x0;const _0x337259=_0x198b23[_0x5f3904([0x73,0x70,0x6c,0x69,0x74])](_0x5f3904([0x2e]));return _0x5afb80[_0x5f3904([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30304f=>_0x30304f[_0x5f3904([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f3904([0x2a])))[_0x5f3904([0x6d,0x61,0x70])](_0x395faa=>_0x395faa[_0x5f3904([0x73,0x70,0x6c,0x69,0x74])](_0x5f3904([0x2e])))[_0x5f3904([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17e8e9=>_0x17e8e9[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x337259[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3904([0x6d,0x61,0x70])](_0x212a14=>Array(_0x337259[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x212a14[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f3904([0x66,0x69,0x6c,0x6c])](_0x212a14[0x0]===_0x5f3904([0x2a])?_0x5f3904([0x2a]):'')[_0x5f3904([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x212a14))[_0x5f3904([0x73,0x6f,0x6d,0x65])](_0x272b77=>_0x337259[_0x5f3904([0x65,0x76,0x65,0x72,0x79])]((_0x193340,_0x413154)=>_0x272b77[_0x413154]===_0x193340||_0x272b77[_0x413154]===_0x5f3904([0x2a])));}function _0x19c031(){return _0x110fa7&&_0x14519b?new window[(_0x5f3904([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1849a1,_0x18000)=>{_0x110fa7[_0x5f3904([0x74,0x68,0x65,0x6e])](_0x1849a1,_0x18000),_0x14519b[_0x5f3904([0x74,0x68,0x65,0x6e])](_0x361a15=>{_0x361a15!=_0x5f3904([0x56,0x61,0x6c,0x69,0x64])&&_0x1849a1(_0x361a15);},_0x18000);}):_0x110fa7||_0x14519b||_0x5f3904([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a3205(_0x385d7d,_0x3c77a6){return new window[(_0x5f3904([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b48bb=>{if(_0x565d9d())return _0x3b48bb(_0x5f3904([0x56,0x61,0x6c,0x69,0x64]));_0x696f7(),_0x184e0f[_0x5f3904([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f3904([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5580c5=!0x1;const _0xbb5859=_0x3eda13();function _0x446233(_0x1ee748){return!!_0x1ee748&&(typeof _0x1ee748===_0x5f3904([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ee748===_0x5f3904([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ee748[_0x5f3904([0x74,0x68,0x65,0x6e])]===_0x5f3904([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ee748[_0x5f3904([0x63,0x61,0x74,0x63,0x68])]===_0x5f3904([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5a5c2c(_0x5122fa){_0x4cfd83(_0x5122fa)[_0x5f3904([0x74,0x68,0x65,0x6e])](_0x47d48d=>{if(!_0x47d48d||_0x47d48d[_0x5f3904([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f3904([0x6f,0x6b]))return _0x5f3904([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1188b1(_0x578f47(_0xbb5859+_0x3c77a6))!=_0x47d48d[_0x5f3904([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f3904([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f3904([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3904([0x74,0x68,0x65,0x6e])](_0x3ca6ae=>(_0x3202ca(),_0x3ca6ae),()=>{const _0x16fb06=_0x311008();return null==_0x16fb06?(_0x3202ca(),_0x5f3904([0x56,0x61,0x6c,0x69,0x64])):_0x5f3904(_0x281a2c-_0x16fb06>(0x145981ed^_0x62c51d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f3904([0x74,0x68,0x65,0x6e])](_0x3b48bb)[_0x5f3904([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b48bb(_0x5f3904([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x507eb5=0x3063eb6d^_0x62c51d;function _0x3202ca(){const _0x51f08b=_0x5f3904([0x6c,0x6c,0x63,0x74,0x2d])+_0x1188b1(_0x578f47(_0x385d7d)),_0x279365=_0x5cd0aa(_0x1188b1(window[_0x5f3904([0x4d,0x61,0x74,0x68])][_0x5f3904([0x63,0x65,0x69,0x6c])](_0x281a2c/_0x507eb5)));window[_0x5f3904([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3904([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x51f08b,_0x279365);}function _0x311008(){const _0x42293e=_0x5f3904([0x6c,0x6c,0x63,0x74,0x2d])+_0x1188b1(_0x578f47(_0x385d7d)),_0x5428ac=window[_0x5f3904([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f3904([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42293e);return _0x5428ac?window[_0x5f3904([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cd0aa(_0x5428ac),0x10)*_0x507eb5:null;}function _0x4cfd83(_0xf8bbe){return new window[(_0x5f3904([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31df41,_0x22199b)=>{_0xf8bbe[_0x5f3904([0x74,0x68,0x65,0x6e])](_0x31df41,_0x22199b),window[_0x5f3904([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22199b,0x3054d12d^_0x62c51d);});}}_0x184e0f[_0x5f3904([0x6f,0x6e])](_0x5f3904([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17069a,_0x28dadd)=>{if(_0x28dadd[0x0]!=_0x385d7d)return _0x3b48bb(_0x5f3904([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28dadd[0x1]={..._0x28dadd[0x1],[_0x5f3904([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xbb5859};},{[_0x5f3904([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3904([0x68,0x69,0x67,0x68])}),_0x184e0f[_0x5f3904([0x6f,0x6e])](_0x5f3904([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cf755=>{_0x446233(_0x2cf755[_0x5f3904([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5580c5=!0x0,_0x5a5c2c(_0x2cf755[_0x5f3904([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f3904([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f3904([0x6c,0x6f,0x77])}),_0x285cae[_0x5f3904([0x74,0x68,0x65,0x6e])](()=>{_0x5580c5||_0x3b48bb(_0x5f3904([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x565d9d(){return _0x184e0f[_0x5f3904([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3904([0x76,0x69,0x65,0x77])][_0x5f3904([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f3904([0x61,0x75,0x74,0x6f]);}function _0x696f7(){_0x184e0f[_0x5f3904([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f3904([0x76,0x69,0x65,0x77])][_0x5f3904([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f3904([0x61,0x75,0x74,0x6f]);}}function _0x5b9922(_0x4098bd){const _0x25764f=[new window[(_0x5f3904([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12057d=>setTimeout(_0x12057d,0x305c3b21^_0x62c51d)),_0x285cae[_0x5f3904([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f3904([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ab58=>{let _0x17d45e=0x0;_0x184e0f[_0x5f3904([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3904([0x6f,0x6e])](_0x5f3904([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49d80a,_0x4642d2)=>{_0x4642d2[0x0][_0x5f3904([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17d45e++,_0x17d45e==(0x30550005^_0x62c51d)&&(_0x19ab58(),_0x49d80a[_0x5f3904([0x6f,0x66,0x66])]());});}))];return window[_0x5f3904([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f3904([0x72,0x61,0x63,0x65])](_0x25764f)[_0x5f3904([0x74,0x68,0x65,0x6e])](()=>_0x4098bd);}async function _0x32c56b(){await _0x285cae,_0x184e0f[_0x5f3904([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3904([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6ae5c0,_0x184e0f[_0x5f3904([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f3904([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6ae5c0,_0x184e0f[_0x5f3904([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f3904([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25a291(){return window[_0x5f3904([0x67,0x6c,0x6f,0x62])]&&window[_0x5f3904([0x67,0x6c,0x6f,0x62])][_0x5f3904([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xf7be5b(_0x534cd6){const _0x1f4166=_0x2f110b();_0x184e0f[_0x1f4166]=_0x5f3904([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x534cd6,_0x534cd6!=_0x5f3904([0x56,0x61,0x6c,0x69,0x64])&&_0x32c56b();}function _0x2f110b(){const _0x59d4d5=window[_0x5f3904([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f3904([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f3904([0x6e,0x6f,0x77])]())[_0x5f3904([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f3904([0x2e]),'');let _0x51e5d0=_0x5f3904([0x75]);for(let _0xb70e26=0x0;_0xb70e26<_0x59d4d5[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb70e26+=0x2){let _0x39391b=window[_0x5f3904([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59d4d5[_0x5f3904([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb70e26,_0xb70e26+0x2));_0x39391b>=_0x53f639[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39391b-=_0x53f639[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51e5d0+=_0x53f639[_0x39391b];}return _0x51e5d0;}function _0x353401(){const _0x11e128=_0x1855cc[_0x5f3904([0x73,0x70,0x6c,0x69,0x74])](_0x5f3904([0x2e]));if(0x3!=_0x11e128[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2287a3(_0x11e128[0x1]);function _0x2287a3(_0x17c559){const _0x5add3c=_0x4ad824(_0x17c559);return _0x5add3c&&_0x2cc6d1()?_0x5add3c:null;function _0x2cc6d1(){const _0x12316a=_0x5add3c[_0x5f3904([0x6a,0x74,0x69])],_0x3fde02=window[_0x5f3904([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12316a[_0x5f3904([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12316a[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3fd669={..._0x5add3c,[_0x5f3904([0x6a,0x74,0x69])]:_0x12316a[_0x5f3904([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12316a[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3fd669[_0x5f3904([0x76,0x63])],_0x578f47(_0x3fd669)==_0x3fde02;}}}async function _0x144cd0(){let _0x43382f=!0x0;try{const _0x1a9c75=_0x1855cc[_0x5f3904([0x73,0x70,0x6c,0x69,0x74])](_0x5f3904([0x2e])),[_0x461825,_0xadb482,_0x33d2a0]=_0x1a9c75;return _0x33c10f(_0x461825),await _0x3770c7(_0x461825,_0xadb482,_0x33d2a0),_0x43382f;}catch{return!0x1;}function _0x33c10f(_0x2358e3){const _0x31618e=_0x4ad824(_0x2358e3);_0x31618e&&_0x31618e[_0x5f3904([0x61,0x6c,0x67])]==_0x5f3904([0x45,0x53,0x32,0x35,0x36])||(_0x43382f=!0x1);}async function _0x3770c7(_0x31602b,_0x50796e,_0x3d9f1b){const _0x29450a=window[_0x5f3904([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f3904([0x66,0x72,0x6f,0x6d])](_0x343f80(_0x3d9f1b),_0x862dc0=>_0x862dc0[_0x5f3904([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37fd55=new window[(_0x5f3904([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f3904([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31602b+_0x5f3904([0x2e])+_0x50796e),_0x58fa01=window[_0x5f3904([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f3904([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x58fa01)return;const _0x56becd=await _0x58fa01[_0x5f3904([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f3904([0x6a,0x77,0x6b]),_0x40dc24,{[_0x5f3904([0x6e,0x61,0x6d,0x65])]:_0x5f3904([0x45,0x43,0x44,0x53,0x41]),[_0x5f3904([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f3904([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f3904([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x58fa01[_0x5f3904([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f3904([0x6e,0x61,0x6d,0x65])]:_0x5f3904([0x45,0x43,0x44,0x53,0x41]),[_0x5f3904([0x68,0x61,0x73,0x68])]:{[_0x5f3904([0x6e,0x61,0x6d,0x65])]:_0x5f3904([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x56becd,_0x29450a,_0x37fd55)||(_0x43382f=!0x1);}}function _0x4ad824(_0x3101fd){return _0x3101fd[_0x5f3904([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f3904([0x65,0x79]))?JSON[_0x5f3904([0x70,0x61,0x72,0x73,0x65])](_0x343f80(_0x3101fd)):null;}function _0x343f80(_0xaa5ea7){return window[_0x5f3904([0x61,0x74,0x6f,0x62])](_0xaa5ea7[_0x5f3904([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f3904([0x2b]))[_0x5f3904([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f3904([0x2f])));}function _0x578f47(_0x1932c4){let _0x858887=0x1505;function _0x26f8a1(_0x4ce286){for(let _0x487283=0x0;_0x487283<_0x4ce286[_0x5f3904([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x487283++){const _0x3859d5=_0x4ce286[_0x5f3904([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x487283);_0x858887=(_0x858887<<0x5)+_0x858887+_0x3859d5,_0x858887&=_0x858887;}}function _0x192932(_0x304cd3){Array[_0x5f3904([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x304cd3)?_0x304cd3[_0x5f3904([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x192932):_0x304cd3&&typeof _0x304cd3==_0x5f3904([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f3904([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x304cd3)[_0x5f3904([0x73,0x6f,0x72,0x74])]()[_0x5f3904([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36cc9b,_0x3a6f2b])=>{_0x26f8a1(_0x36cc9b),_0x192932(_0x3a6f2b);}):_0x26f8a1(window[_0x5f3904([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x304cd3));}return _0x192932(_0x1932c4),_0x858887>>>0x0;}function _0x1188b1(_0x1fe29b){return _0x1fe29b[_0x5f3904([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f3904([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f3904([0x30]));}function _0x5cd0aa(_0x1bd729){return _0x1bd729[_0x5f3904([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f3904([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f3904([0x6a,0x6f,0x69,0x6e])]('');}function _0x6ae5c0(){}function _0x5f3904(_0x1bf6f1){return _0x1bf6f1['map'](_0x35f281=>String['fromCharCode'](_0x35f281))['join']('');}_0xf7be5b(await _0xaf24f8());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x56d384=_0x3f9a63=>function(_0x214942,_0x308c75){const t=_0x214942['t'],_0x118afd=_0x214942['t'];switch(_0x308c75){case'AI\x20Assistant':return _0x118afd('AI\x20Assistant');case'Block\x20quote':return _0x118afd('Block\x20quote');case'Bulleted\x20List':return _0x118afd('Bulleted\x20List');case'Insert\x20code\x20block':return _0x118afd('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x118afd('Open\x20file\x20manager');case'Insert\x20image':return _0x118afd('Insert\x20image');case'Heading\x201':return _0x118afd('Heading\x201');case'Heading\x202':return _0x118afd('Heading\x202');case'Heading\x203':return _0x118afd('Heading\x203');case'Heading\x204':return _0x118afd('Heading\x204');case'Heading\x205':return _0x118afd('Heading\x205');case'Heading\x206':return _0x118afd('Heading\x206');case'Horizontal\x20line':return _0x118afd('Horizontal\x20line');case'Insert\x20HTML':return _0x118afd('Insert\x20HTML');case'Increase\x20indent':return _0x118afd('Increase\x20indent');case'Insert\x20table':return _0x118afd('Insert\x20table');case'Table\x20of\x20contents':return _0x118afd('Table\x20of\x20contents');case'Numbered\x20List':return _0x118afd('Numbered\x20List');case'Decrease\x20indent':return _0x118afd('Decrease\x20indent');case'Paragraph':return _0x118afd('Paragraph');case'To-do\x20List':return _0x118afd('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 _0x308c75;}}(this['editor']['locale'],_0x3f9a63);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x1ebc09,'title':_0x56d384('AI\x20Assistant'),'description':_0x56d384('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0xd215d6=>{setTimeout(()=>_0xd215d6['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x3ebf76,'title':_0x56d384('Block\x20quote'),'description':_0x56d384('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x27747b,'title':_0x56d384('Bulleted\x20List'),'description':_0x56d384('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x3b250e,'title':_0x56d384('Insert\x20code\x20block'),'description':_0x56d384('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x3d11a9,'title':_0x56d384('Open\x20file\x20manager'),'description':_0x56d384('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x3d11a9,'title':_0x56d384('Insert\x20image'),'description':_0x56d384('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x16298e,'title':_0x56d384('Emoji'),'description':_0x56d384('Insert\x20an\x20emoji'),'execute':_0x9333c6=>{setTimeout(()=>_0x9333c6['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x2a98c4,'title':_0x56d384('Heading\x201'),'description':_0x56d384('Create\x20a\x20heading\x20level\x201'),'execute':_0xd7e405=>{_0xd7e405['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x20f8e9,'title':_0x56d384('Heading\x202'),'description':_0x56d384('Create\x20a\x20heading\x20level\x202'),'execute':_0x18f03d=>{_0x18f03d['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x33f235,'title':_0x56d384('Heading\x203'),'description':_0x56d384('Create\x20a\x20heading\x20level\x203'),'execute':_0x15d661=>{_0x15d661['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x3e2345,'title':_0x56d384('Heading\x204'),'description':_0x56d384('Create\x20a\x20heading\x20level\x204'),'execute':_0x24eb63=>{_0x24eb63['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x4009ab,'title':_0x56d384('Heading\x205'),'description':_0x56d384('Create\x20a\x20heading\x20level\x205'),'execute':_0x22f2dd=>{_0x22f2dd['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x4c7f0c,'title':_0x56d384('Heading\x206'),'description':_0x56d384('Create\x20a\x20heading\x20level\x206'),'execute':_0x14ac95=>{_0x14ac95['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0xcd4e5f,'title':_0x56d384('Horizontal\x20line'),'description':_0x56d384('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x57ff1c,'title':_0x56d384('Insert\x20HTML'),'description':_0x56d384('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x37af09,'title':_0x56d384('Increase\x20indent'),'description':_0x56d384('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x56d384('Insert\x20Mermaid\x20diagram'),'description':_0x56d384('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x1364bf,'title':_0x56d384('Insert\x20table'),'description':_0x56d384('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x1fcdf2,'title':_0x56d384('Table\x20of\x20contents'),'description':_0x56d384('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x3ca3b3,'title':_0x56d384('Numbered\x20List'),'description':_0x56d384('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x3f95a0,'title':_0x56d384('Decrease\x20indent'),'description':_0x56d384('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x2f4764,'title':_0x56d384('Paragraph'),'description':_0x56d384('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x2d7755,'title':_0x56d384('To-do\x20List'),'description':_0x56d384('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x345316,'title':_0x56d384('Footnote'),'description':_0x56d384('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x3cc86f){return _0x3cc86f['isEnabled']?_0x3cc86f['isEnabled'](this['editor']):!_0x3cc86f['commandName']||this['editor']['commands']['get'](_0x3cc86f['commandName'])['isEnabled'];}['_proxyExecute'](_0x2674da){if(_0x2674da['execute'])_0x2674da['execute'](this['editor']);else{if(!_0x2674da['commandName'])throw new _0x522f1f('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x2674da});this['editor']['execute'](_0x2674da['commandName']);}}}function jv(_0x22c65e,_0x2fb148){return _0x22c65e['title']<_0x2fb148['title']?-0x1:_0x22c65e['title']>_0x2fb148['title']?0x1:0x0;}function Hv(_0x2ed502,_0x21f27d){return _0x21f27d+'-'+_0x2ed502['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0x151d85{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SlashCommandConfig];}['getMatchingCommands'](_0x910ca9){const _0x3f0330=_0x910ca9&&_0x910ca9['toLowerCase']();let _0x173d1f=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x173d1f=_0x173d1f['filter'](_0x4c4b28=>_0x4c4b28['isEnabled']()),_0x3f0330){const _0x566f58=[],_0x347821=[],_0x9f6eeb=[],_0x2c8916=[];for(const _0x45bfe6 of _0x173d1f)_0x45bfe6['id']['toLowerCase']()['includes'](_0x3f0330)?_0x566f58['push'](_0x45bfe6):_0x45bfe6['title']['toLowerCase']()['includes'](_0x3f0330)?_0x347821['push'](_0x45bfe6):_0x45bfe6['aliases']&&_0x45bfe6['aliases']['some'](_0x3c7ec6=>_0x3c7ec6['toLowerCase']()['includes'](_0x3f0330))?_0x9f6eeb['push'](_0x45bfe6):_0x45bfe6['description']&&_0x45bfe6['description']['toLowerCase']()['includes'](_0x3f0330)&&_0x2c8916['push'](_0x45bfe6);_0x173d1f=_0x566f58['concat'](_0x347821,_0x9f6eeb,_0x2c8916);}return _0x173d1f;}}class SlashCommandButtonView extends _0x4c508c{constructor(_0x152207,_0x128cea){super(_0x152207),this['textPartView']=this['_createTextPartView'](_0x152207,_0x128cea),void 0x0!==_0x128cea['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x128cea['isIconColorInherited']),this['set']({'icon':_0x128cea['icon']||_0x3617a0,'withText':!0x0,'label':_0x128cea['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0xdc9c7e,_0x4549ce){const _0x13219b=new _0xa34d16(_0xdc9c7e);return _0x13219b['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x4549ce['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x4549ce['description']}]}]:[this['labelView']]}),_0x13219b;}}class SlashCommandUI extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x33df65){super(_0x33df65),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4248ce=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x767f81;for(const _0x5874e3 in _0x4248ce){const _0xbf3bc4=_0x5874e3,_0x5f0836=_0x4248ce[_0xbf3bc4];if('slashCommandLicenseKeyValid'==_0x5f0836||'slashCommandLicenseKeyInvalid'==_0x5f0836||'slashCommandLicenseKeyExpired'==_0x5f0836||'slashCommandLicenseKeyDomainLimit'==_0x5f0836||'slashCommandLicenseKeyNotAllowed'==_0x5f0836||'slashCommandLicenseKeyEvaluationLimit'==_0x5f0836||'slashCommandLicenseKeyUsageLimit'==_0x5f0836){delete _0x4248ce[_0xbf3bc4],_0x767f81=_0x5f0836,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x767f81&&_0x4248ce['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x767f81&&_0x4248ce['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x767f81&&_0x4248ce['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x767f81&&_0x4248ce['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x767f81&&_0x4248ce['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x767f81&&_0x4248ce['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x524327=this['editor'],_0x44c23e=this['editor']['plugins']['get']('SlashCommandEditing'),_0x5615b7=_0x524327['config']['get']('mention.feeds');_0x5615b7['push']({'marker':'/','feed':_0x5227ec=>_0x44c23e['getMatchingCommands'](_0x5227ec),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x524327['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x524327['config']['set']('mention.feeds',_0x5615b7);}['_overrideMentionExecuteListener'](){const _0x49a0bd=this['editor'];_0x49a0bd['commands']['get']('mention')['on']('execute',(_0x1100d9,_0x181c15)=>{const _0xe6be8=_0x181c15[0x0],_0x3f26b3=_0x49a0bd['model'];'/'===_0xe6be8['marker']&&_0x3f26b3['change'](_0x19c976=>{_0x19c976['remove'](_0xe6be8['range']),_0xe6be8['mention']['execute'](),_0x1100d9['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x24d35b){const _0x3a4c0f=this['editor']['locale'],_0x9ef11=new SlashCommandButtonView(_0x3a4c0f,_0x24d35b);return _0x9ef11['render'](),_0x9ef11['element'];}}class SlashCommand extends _0x151d85{static get['requires'](){return[_0x54efb5,SlashCommandEditing,SlashCommandUI];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function Gv(_0x1ee8c3,_0x8f085b){const t=_0x1ee8c3['t'];switch(_0x8f085b){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 _0x8f085b;}}function Zv(_0x408a9f){const _0x3ec3d3=_0x408a9f['editing']['view']['document']['roots'],_0x2b52c4=_0x3ec3d3['length'];if(0x0===_0x2b52c4)throw new _0x522f1f('source-editing-enhanced-editor-no-root',_0x408a9f);if(0x1===_0x2b52c4)return _0x3ec3d3['first']['rootName'];return Array['from'](_0x408a9f['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function Xv(_0x5a314a){return qv(_0x5a314a['replace'](/^[\n\s]*/g,''))?_0x5a314a['replace'](/\s+/g,''):_0x5a314a;}function qv(_0x5f3580){return _0x5f3580['startsWith']('<');}let Wv=[],zv=[];function Yv(_0x568e4b){if(_0x568e4b<0x300)return!0x1;for(let _0x590218=0x0,_0xe6c873=Wv['length'];;){let _0x1da07c=_0x590218+_0xe6c873>>0x1;if(_0x568e4b<Wv[_0x1da07c])_0xe6c873=_0x1da07c;else{if(!(_0x568e4b>=zv[_0x1da07c]))return!0x0;_0x590218=_0x1da07c+0x1;}if(_0x590218==_0xe6c873)return!0x1;}}function Kv(_0x2e35b5){return _0x2e35b5>=0x1f1e6&&_0x2e35b5<=0x1f1ff;}((()=>{let _0xaca2b0='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'](_0x2af45c=>_0x2af45c?parseInt(_0x2af45c,0x24):0x1);for(let _0x5450c8=0x0,_0x190a97=0x0;_0x5450c8<_0xaca2b0['length'];_0x5450c8++)(_0x5450c8%0x2?zv:Wv)['push'](_0x190a97+=_0xaca2b0[_0x5450c8]);})());function Jv(_0x5a6cae,_0x68fff0,_0x3233f9=!0x0,_0x1526f0=!0x0){return(_0x3233f9?t_:e_)(_0x5a6cae,_0x68fff0,_0x1526f0);}function t_(_0x4fd195,_0x7a7b3b,_0x38332d){if(_0x7a7b3b==_0x4fd195['length'])return _0x7a7b3b;_0x7a7b3b&&s_(_0x4fd195['charCodeAt'](_0x7a7b3b))&&n_(_0x4fd195['charCodeAt'](_0x7a7b3b-0x1))&&_0x7a7b3b--;let _0x435b49=i_(_0x4fd195,_0x7a7b3b);for(_0x7a7b3b+=r_(_0x435b49);_0x7a7b3b<_0x4fd195['length'];){let _0x5562a0=i_(_0x4fd195,_0x7a7b3b);if(0x200d==_0x435b49||0x200d==_0x5562a0||_0x38332d&&Yv(_0x5562a0))_0x7a7b3b+=r_(_0x5562a0),_0x435b49=_0x5562a0;else{if(!Kv(_0x5562a0))break;{let _0x202d3f=0x0,_0x1a0ab3=_0x7a7b3b-0x2;for(;_0x1a0ab3>=0x0&&Kv(i_(_0x4fd195,_0x1a0ab3));)_0x202d3f++,_0x1a0ab3-=0x2;if(_0x202d3f%0x2==0x0)break;_0x7a7b3b+=0x2;}}}return _0x7a7b3b;}function e_(_0xe026f4,_0x2bef25,_0x496913){for(;_0x2bef25>0x0;){let _0x221a24=t_(_0xe026f4,_0x2bef25-0x2,_0x496913);if(_0x221a24<_0x2bef25)return _0x221a24;_0x2bef25--;}return 0x0;}function i_(_0x4751e3,_0x1ad9f9){let _0x4b56e1=_0x4751e3['charCodeAt'](_0x1ad9f9);if(!n_(_0x4b56e1)||_0x1ad9f9+0x1==_0x4751e3['length'])return _0x4b56e1;let _0x7869b9=_0x4751e3['charCodeAt'](_0x1ad9f9+0x1);return s_(_0x7869b9)?_0x7869b9-0xdc00+(_0x4b56e1-0xd800<<0xa)+0x10000:_0x4b56e1;}function s_(_0x3a1899){return _0x3a1899>=0xdc00&&_0x3a1899<0xe000;}function n_(_0x57fcda){return _0x57fcda>=0xd800&&_0x57fcda<0xdc00;}function r_(_0x53b5ff){return _0x53b5ff<0x10000?0x1:0x2;}let o_=class Text{['lineAt'](_0xfdc92c){if(_0xfdc92c<0x0||_0xfdc92c>this['length'])throw new RangeError('Invalid\x20position\x20'+_0xfdc92c+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0xfdc92c,!0x1,0x1,0x0);}['line'](_0x5bc0ab){if(_0x5bc0ab<0x1||_0x5bc0ab>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x5bc0ab+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x5bc0ab,!0x0,0x1,0x0);}['replace'](_0x16c739,_0x4f57cf,_0x122676){[_0x16c739,_0x4f57cf]=h_(this,_0x16c739,_0x4f57cf);let _0x1dde7f=[];return this['decompose'](0x0,_0x16c739,_0x1dde7f,0x2),_0x122676['length']&&_0x122676['decompose'](0x0,_0x122676['length'],_0x1dde7f,0x3),this['decompose'](_0x4f57cf,this['length'],_0x1dde7f,0x1),TextNode['from'](_0x1dde7f,this['length']-(_0x4f57cf-_0x16c739)+_0x122676['length']);}['append'](_0x53a8dd){return this['replace'](this['length'],this['length'],_0x53a8dd);}['slice'](_0x2e7550,_0x41c3ba=this['length']){[_0x2e7550,_0x41c3ba]=h_(this,_0x2e7550,_0x41c3ba);let _0x4a2583=[];return this['decompose'](_0x2e7550,_0x41c3ba,_0x4a2583,0x0),TextNode['from'](_0x4a2583,_0x41c3ba-_0x2e7550);}['eq'](_0x23fb7e){if(_0x23fb7e==this)return!0x0;if(_0x23fb7e['length']!=this['length']||_0x23fb7e['lines']!=this['lines'])return!0x1;let _0x48c190=this['scanIdentical'](_0x23fb7e,0x1),_0x5e63bf=this['length']-this['scanIdentical'](_0x23fb7e,-0x1),_0x75b00f=new RawTextCursor(this),_0x230a3e=new RawTextCursor(_0x23fb7e);for(let _0x4a81cf=_0x48c190,_0x21ea62=_0x48c190;;){if(_0x75b00f['next'](_0x4a81cf),_0x230a3e['next'](_0x4a81cf),_0x4a81cf=0x0,_0x75b00f['lineBreak']!=_0x230a3e['lineBreak']||_0x75b00f['done']!=_0x230a3e['done']||_0x75b00f['value']!=_0x230a3e['value'])return!0x1;if(_0x21ea62+=_0x75b00f['value']['length'],_0x75b00f['done']||_0x21ea62>=_0x5e63bf)return!0x0;}}['iter'](_0x51da78=0x1){return new RawTextCursor(this,_0x51da78);}['iterRange'](_0x3d031c,_0x55ba70=this['length']){return new PartialTextCursor(this,_0x3d031c,_0x55ba70);}['iterLines'](_0x530be3,_0x45a12e){let _0x6b2459;if(null==_0x530be3)_0x6b2459=this['iter']();else{null==_0x45a12e&&(_0x45a12e=this['lines']+0x1);let _0x31a9b3=this['line'](_0x530be3)['from'];_0x6b2459=this['iterRange'](_0x31a9b3,Math['max'](_0x31a9b3,_0x45a12e==this['lines']+0x1?this['length']:_0x45a12e<=0x1?0x0:this['line'](_0x45a12e-0x1)['to']));}return new LineCursor(_0x6b2459);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x2dced2=[];return this['flatten'](_0x2dced2),_0x2dced2;}constructor(){}static['of'](_0x418eea){if(0x0==_0x418eea['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x418eea['length']||_0x418eea[0x0]?_0x418eea['length']<=0x20?new TextLeaf(_0x418eea):TextNode['from'](TextLeaf['split'](_0x418eea,[])):Text['empty'];}};class TextLeaf extends o_{constructor(_0x598950,_0x1f2f85=function(_0x57ecd5){let _0x3b162b=-0x1;for(let _0x2a9d2c of _0x57ecd5)_0x3b162b+=_0x2a9d2c['length']+0x1;return _0x3b162b;}(_0x598950)){super(),this['text']=_0x598950,this['length']=_0x1f2f85;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x191805,_0x5234f7,_0x1d7305,_0x106c02){for(let _0x1c79e1=0x0;;_0x1c79e1++){let _0x187686=this['text'][_0x1c79e1],_0xd8d0c=_0x106c02+_0x187686['length'];if((_0x5234f7?_0x1d7305:_0xd8d0c)>=_0x191805)return new l_(_0x106c02,_0xd8d0c,_0x1d7305,_0x187686);_0x106c02=_0xd8d0c+0x1,_0x1d7305++;}}['decompose'](_0x1431ef,_0x1ca11d,_0xa63398,_0x104a4a){let _0x4d6d53=_0x1431ef<=0x0&&_0x1ca11d>=this['length']?this:new TextLeaf(c_(this['text'],_0x1431ef,_0x1ca11d),Math['min'](_0x1ca11d,this['length'])-Math['max'](0x0,_0x1431ef));if(0x1&_0x104a4a){let _0x17cf43=_0xa63398['pop'](),_0x3908a8=a_(_0x4d6d53['text'],_0x17cf43['text']['slice'](),0x0,_0x4d6d53['length']);if(_0x3908a8['length']<=0x20)_0xa63398['push'](new TextLeaf(_0x3908a8,_0x17cf43['length']+_0x4d6d53['length']));else{let _0x2013b8=_0x3908a8['length']>>0x1;_0xa63398['push'](new TextLeaf(_0x3908a8['slice'](0x0,_0x2013b8)),new TextLeaf(_0x3908a8['slice'](_0x2013b8)));}}else _0xa63398['push'](_0x4d6d53);}['replace'](_0x470456,_0x3856d3,_0x40285d){if(!(_0x40285d instanceof TextLeaf))return super['replace'](_0x470456,_0x3856d3,_0x40285d);[_0x470456,_0x3856d3]=h_(this,_0x470456,_0x3856d3);let _0x23b916=a_(this['text'],a_(_0x40285d['text'],c_(this['text'],0x0,_0x470456)),_0x3856d3),_0xc8716e=this['length']+_0x40285d['length']-(_0x3856d3-_0x470456);return _0x23b916['length']<=0x20?new TextLeaf(_0x23b916,_0xc8716e):TextNode['from'](TextLeaf['split'](_0x23b916,[]),_0xc8716e);}['sliceString'](_0x6da0fa,_0x40ce58=this['length'],_0x340f73='\x0a'){[_0x6da0fa,_0x40ce58]=h_(this,_0x6da0fa,_0x40ce58);let _0x55a3a1='';for(let _0x10e140=0x0,_0x4cc046=0x0;_0x10e140<=_0x40ce58&&_0x4cc046<this['text']['length'];_0x4cc046++){let _0x1ae3c3=this['text'][_0x4cc046],_0x297426=_0x10e140+_0x1ae3c3['length'];_0x10e140>_0x6da0fa&&_0x4cc046&&(_0x55a3a1+=_0x340f73),_0x6da0fa<_0x297426&&_0x40ce58>_0x10e140&&(_0x55a3a1+=_0x1ae3c3['slice'](Math['max'](0x0,_0x6da0fa-_0x10e140),_0x40ce58-_0x10e140)),_0x10e140=_0x297426+0x1;}return _0x55a3a1;}['flatten'](_0x461bb9){for(let _0x2e9425 of this['text'])_0x461bb9['push'](_0x2e9425);}['scanIdentical'](){return 0x0;}static['split'](_0x4470e8,_0x3cec18){let _0x72b0dd=[],_0x123b78=-0x1;for(let _0x256a7a of _0x4470e8)_0x72b0dd['push'](_0x256a7a),_0x123b78+=_0x256a7a['length']+0x1,0x20==_0x72b0dd['length']&&(_0x3cec18['push'](new TextLeaf(_0x72b0dd,_0x123b78)),_0x72b0dd=[],_0x123b78=-0x1);return _0x123b78>-0x1&&_0x3cec18['push'](new TextLeaf(_0x72b0dd,_0x123b78)),_0x3cec18;}}class TextNode extends o_{constructor(_0x5e8a2c,_0x5e7985){super(),this['children']=_0x5e8a2c,this['length']=_0x5e7985,this['lines']=0x0;for(let _0x11938f of _0x5e8a2c)this['lines']+=_0x11938f['lines'];}['lineInner'](_0x4af11c,_0x219cb9,_0x29bfd1,_0x3b6231){for(let _0x4c8735=0x0;;_0x4c8735++){let _0x17ad4f=this['children'][_0x4c8735],_0x3a4b35=_0x3b6231+_0x17ad4f['length'],_0x24383c=_0x29bfd1+_0x17ad4f['lines']-0x1;if((_0x219cb9?_0x24383c:_0x3a4b35)>=_0x4af11c)return _0x17ad4f['lineInner'](_0x4af11c,_0x219cb9,_0x29bfd1,_0x3b6231);_0x3b6231=_0x3a4b35+0x1,_0x29bfd1=_0x24383c+0x1;}}['decompose'](_0x29ea05,_0x277ba5,_0xfed569,_0x6048a3){for(let _0x2984d3=0x0,_0x9d796d=0x0;_0x9d796d<=_0x277ba5&&_0x2984d3<this['children']['length'];_0x2984d3++){let _0x381a7e=this['children'][_0x2984d3],_0x465371=_0x9d796d+_0x381a7e['length'];if(_0x29ea05<=_0x465371&&_0x277ba5>=_0x9d796d){let _0x528cf3=_0x6048a3&((_0x9d796d<=_0x29ea05?0x1:0x0)|(_0x465371>=_0x277ba5?0x2:0x0));_0x9d796d>=_0x29ea05&&_0x465371<=_0x277ba5&&!_0x528cf3?_0xfed569['push'](_0x381a7e):_0x381a7e['decompose'](_0x29ea05-_0x9d796d,_0x277ba5-_0x9d796d,_0xfed569,_0x528cf3);}_0x9d796d=_0x465371+0x1;}}['replace'](_0x284da9,_0x5a7af9,_0x5e6192){if([_0x284da9,_0x5a7af9]=h_(this,_0x284da9,_0x5a7af9),_0x5e6192['lines']<this['lines'])for(let _0x34261e=0x0,_0x50a505=0x0;_0x34261e<this['children']['length'];_0x34261e++){let _0x319d9d=this['children'][_0x34261e],_0x228ce3=_0x50a505+_0x319d9d['length'];if(_0x284da9>=_0x50a505&&_0x5a7af9<=_0x228ce3){let _0x255f6a=_0x319d9d['replace'](_0x284da9-_0x50a505,_0x5a7af9-_0x50a505,_0x5e6192),_0x509f8a=this['lines']-_0x319d9d['lines']+_0x255f6a['lines'];if(_0x255f6a['lines']<_0x509f8a>>0x4&&_0x255f6a['lines']>_0x509f8a>>0x6){let _0x451bc2=this['children']['slice']();return _0x451bc2[_0x34261e]=_0x255f6a,new TextNode(_0x451bc2,this['length']-(_0x5a7af9-_0x284da9)+_0x5e6192['length']);}return super['replace'](_0x50a505,_0x228ce3,_0x255f6a);}_0x50a505=_0x228ce3+0x1;}return super['replace'](_0x284da9,_0x5a7af9,_0x5e6192);}['sliceString'](_0x498a64,_0x1461d8=this['length'],_0x230e01='\x0a'){[_0x498a64,_0x1461d8]=h_(this,_0x498a64,_0x1461d8);let _0x811714='';for(let _0x4e5d7b=0x0,_0x69d217=0x0;_0x4e5d7b<this['children']['length']&&_0x69d217<=_0x1461d8;_0x4e5d7b++){let _0x211b83=this['children'][_0x4e5d7b],_0x41c85a=_0x69d217+_0x211b83['length'];_0x69d217>_0x498a64&&_0x4e5d7b&&(_0x811714+=_0x230e01),_0x498a64<_0x41c85a&&_0x1461d8>_0x69d217&&(_0x811714+=_0x211b83['sliceString'](_0x498a64-_0x69d217,_0x1461d8-_0x69d217,_0x230e01)),_0x69d217=_0x41c85a+0x1;}return _0x811714;}['flatten'](_0x24527f){for(let _0x546aa4 of this['children'])_0x546aa4['flatten'](_0x24527f);}['scanIdentical'](_0xfabcb3,_0x485000){if(!(_0xfabcb3 instanceof TextNode))return 0x0;let _0x2970f2=0x0,[_0x5d29a2,_0x5991c4,_0x3f3555,_0x13b5e4]=_0x485000>0x0?[0x0,0x0,this['children']['length'],_0xfabcb3['children']['length']]:[this['children']['length']-0x1,_0xfabcb3['children']['length']-0x1,-0x1,-0x1];for(;;_0x5d29a2+=_0x485000,_0x5991c4+=_0x485000){if(_0x5d29a2==_0x3f3555||_0x5991c4==_0x13b5e4)return _0x2970f2;let _0x2b52f0=this['children'][_0x5d29a2],_0x294611=_0xfabcb3['children'][_0x5991c4];if(_0x2b52f0!=_0x294611)return _0x2970f2+_0x2b52f0['scanIdentical'](_0x294611,_0x485000);_0x2970f2+=_0x2b52f0['length']+0x1;}}static['from'](_0x3d49dc,_0x5c3d03=_0x3d49dc['reduce']((_0x548828,_0x1ac6d4)=>_0x548828+_0x1ac6d4['length']+0x1,-0x1)){let _0x5def18=0x0;for(let _0xca59a1 of _0x3d49dc)_0x5def18+=_0xca59a1['lines'];if(_0x5def18<0x20){let _0x44f3ed=[];for(let _0x3cadce of _0x3d49dc)_0x3cadce['flatten'](_0x44f3ed);return new TextLeaf(_0x44f3ed,_0x5c3d03);}let _0x5e61ba=Math['max'](0x20,_0x5def18>>0x5),_0x5735fd=_0x5e61ba<<0x1,_0x4c28bb=_0x5e61ba>>0x1,_0x48b56d=[],_0x1c1c71=0x0,_0x6d29e=-0x1,_0x34e160=[];function _0x879948(_0x212180){let _0x11dd66;if(_0x212180['lines']>_0x5735fd&&_0x212180 instanceof TextNode){for(let _0x319ef7 of _0x212180['children'])_0x879948(_0x319ef7);}else _0x212180['lines']>_0x4c28bb&&(_0x1c1c71>_0x4c28bb||!_0x1c1c71)?(_0x371572(),_0x48b56d['push'](_0x212180)):_0x212180 instanceof TextLeaf&&_0x1c1c71&&(_0x11dd66=_0x34e160[_0x34e160['length']-0x1])instanceof TextLeaf&&_0x212180['lines']+_0x11dd66['lines']<=0x20?(_0x1c1c71+=_0x212180['lines'],_0x6d29e+=_0x212180['length']+0x1,_0x34e160[_0x34e160['length']-0x1]=new TextLeaf(_0x11dd66['text']['concat'](_0x212180['text']),_0x11dd66['length']+0x1+_0x212180['length'])):(_0x1c1c71+_0x212180['lines']>_0x5e61ba&&_0x371572(),_0x1c1c71+=_0x212180['lines'],_0x6d29e+=_0x212180['length']+0x1,_0x34e160['push'](_0x212180));}function _0x371572(){0x0!=_0x1c1c71&&(_0x48b56d['push'](0x1==_0x34e160['length']?_0x34e160[0x0]:TextNode['from'](_0x34e160,_0x6d29e)),_0x6d29e=-0x1,_0x1c1c71=_0x34e160['length']=0x0);}for(let _0x19dcf3 of _0x3d49dc)_0x879948(_0x19dcf3);return _0x371572(),0x1==_0x48b56d['length']?_0x48b56d[0x0]:new TextNode(_0x48b56d,_0x5c3d03);}}function a_(_0x1aff45,_0x137c8c,_0x2bc5e2=0x0,_0x2f6af0=0x3b9aca00){for(let _0x27775a=0x0,_0x408e7e=0x0,_0x5ecbaf=!0x0;_0x408e7e<_0x1aff45['length']&&_0x27775a<=_0x2f6af0;_0x408e7e++){let _0x25e3cc=_0x1aff45[_0x408e7e],_0x191c25=_0x27775a+_0x25e3cc['length'];_0x191c25>=_0x2bc5e2&&(_0x191c25>_0x2f6af0&&(_0x25e3cc=_0x25e3cc['slice'](0x0,_0x2f6af0-_0x27775a)),_0x27775a<_0x2bc5e2&&(_0x25e3cc=_0x25e3cc['slice'](_0x2bc5e2-_0x27775a)),_0x5ecbaf?(_0x137c8c[_0x137c8c['length']-0x1]+=_0x25e3cc,_0x5ecbaf=!0x1):_0x137c8c['push'](_0x25e3cc)),_0x27775a=_0x191c25+0x1;}return _0x137c8c;}function c_(_0x426ead,_0x2ca93c,_0x54ce40){return a_(_0x426ead,[''],_0x2ca93c,_0x54ce40);}o_['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x4731ca,_0x54d328=0x1){this['dir']=_0x54d328,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x4731ca],this['offsets']=[_0x54d328>0x0?0x1:(_0x4731ca instanceof TextLeaf?_0x4731ca['text']['length']:_0x4731ca['children']['length'])<<0x1];}['nextInner'](_0x207481,_0x162856){for(this['done']=this['lineBreak']=!0x1;;){let _0x324c54=this['nodes']['length']-0x1,_0x170929=this['nodes'][_0x324c54],_0x26ba6a=this['offsets'][_0x324c54],_0x2f71f3=_0x26ba6a>>0x1,_0x433ff2=_0x170929 instanceof TextLeaf?_0x170929['text']['length']:_0x170929['children']['length'];if(_0x2f71f3==(_0x162856>0x0?_0x433ff2:0x0)){if(0x0==_0x324c54)return this['done']=!0x0,this['value']='',this;_0x162856>0x0&&this['offsets'][_0x324c54-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x26ba6a)==(_0x162856>0x0?0x0:0x1)){if(this['offsets'][_0x324c54]+=_0x162856,0x0==_0x207481)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x207481--;}else{if(_0x170929 instanceof TextLeaf){let _0x4d5e6b=_0x170929['text'][_0x2f71f3+(_0x162856<0x0?-0x1:0x0)];if(this['offsets'][_0x324c54]+=_0x162856,_0x4d5e6b['length']>Math['max'](0x0,_0x207481))return this['value']=0x0==_0x207481?_0x4d5e6b:_0x162856>0x0?_0x4d5e6b['slice'](_0x207481):_0x4d5e6b['slice'](0x0,_0x4d5e6b['length']-_0x207481),this;_0x207481-=_0x4d5e6b['length'];}else{let _0x408d88=_0x170929['children'][_0x2f71f3+(_0x162856<0x0?-0x1:0x0)];_0x207481>_0x408d88['length']?(_0x207481-=_0x408d88['length'],this['offsets'][_0x324c54]+=_0x162856):(_0x162856<0x0&&this['offsets'][_0x324c54]--,this['nodes']['push'](_0x408d88),this['offsets']['push'](_0x162856>0x0?0x1:(_0x408d88 instanceof TextLeaf?_0x408d88['text']['length']:_0x408d88['children']['length'])<<0x1));}}}}}['next'](_0x462732=0x0){return _0x462732<0x0&&(this['nextInner'](-_0x462732,-this['dir']),_0x462732=this['value']['length']),this['nextInner'](_0x462732,this['dir']);}}class PartialTextCursor{constructor(_0x494f5c,_0x10ef3c,_0x237bec){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x494f5c,_0x10ef3c>_0x237bec?-0x1:0x1),this['pos']=_0x10ef3c>_0x237bec?_0x494f5c['length']:0x0,this['from']=Math['min'](_0x10ef3c,_0x237bec),this['to']=Math['max'](_0x10ef3c,_0x237bec);}['nextInner'](_0x1b5192,_0xc366ad){if(_0xc366ad<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x1b5192+=Math['max'](0x0,_0xc366ad<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x1b5c10=_0xc366ad<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x1b5192>_0x1b5c10&&(_0x1b5192=_0x1b5c10),_0x1b5c10-=_0x1b5192;let {value:_0x10227b}=this['cursor']['next'](_0x1b5192);return this['pos']+=(_0x10227b['length']+_0x1b5192)*_0xc366ad,this['value']=_0x10227b['length']<=_0x1b5c10?_0x10227b:_0xc366ad<0x0?_0x10227b['slice'](_0x10227b['length']-_0x1b5c10):_0x10227b['slice'](0x0,_0x1b5c10),this['done']=!this['value'],this;}['next'](_0x4fbc27=0x0){return _0x4fbc27<0x0?_0x4fbc27=Math['max'](_0x4fbc27,this['from']-this['pos']):_0x4fbc27>0x0&&(_0x4fbc27=Math['min'](_0x4fbc27,this['to']-this['pos'])),this['nextInner'](_0x4fbc27,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class LineCursor{constructor(_0x3b5f50){this['inner']=_0x3b5f50,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x36e93b=0x0){let {done:_0x48ff9d,lineBreak:_0x2594dd,value:_0x10baf5}=this['inner']['next'](_0x36e93b);return _0x48ff9d&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x48ff9d?(this['done']=!0x0,this['value']=''):_0x2594dd?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x10baf5,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(o_['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=LineCursor['prototype'][Symbol['iterator']]=function(){return this;});let l_=class Line{constructor(_0x50c136,_0x1b45dc,_0x177a1e,_0x471693){this['from']=_0x50c136,this['to']=_0x1b45dc,this['number']=_0x177a1e,this['text']=_0x471693;}get['length'](){return this['to']-this['from'];}};function h_(_0x4b721d,_0x7567b2,_0x356603){return[_0x7567b2=Math['max'](0x0,Math['min'](_0x4b721d['length'],_0x7567b2)),Math['max'](_0x7567b2,Math['min'](_0x4b721d['length'],_0x356603))];}function u_(_0x3f86df,_0x1b6972,_0x16fa48=!0x0,_0x2e758a=!0x0){return Jv(_0x3f86df,_0x1b6972,_0x16fa48,_0x2e758a);}function d_(_0x39bf23,_0xf6a8c3){let _0x367a1c=_0x39bf23['charCodeAt'](_0xf6a8c3);if(!(_0x212569=_0x367a1c,_0x212569>=0xd800&&_0x212569<0xdc00&&_0xf6a8c3+0x1!=_0x39bf23['length']))return _0x367a1c;var _0x212569;let _0x355e10=_0x39bf23['charCodeAt'](_0xf6a8c3+0x1);return function(_0x4c878a){return _0x4c878a>=0xdc00&&_0x4c878a<0xe000;}(_0x355e10)?_0x355e10-0xdc00+(_0x367a1c-0xd800<<0xa)+0x10000:_0x367a1c;}function f_(_0x1c1e5f){return _0x1c1e5f<=0xffff?String['fromCharCode'](_0x1c1e5f):(_0x1c1e5f-=0x10000,String['fromCharCode'](0xd800+(_0x1c1e5f>>0xa),0xdc00+(0x3ff&_0x1c1e5f)));}function m_(_0xf37a0e){return _0xf37a0e<0x10000?0x1:0x2;}const g_=/\r\n?|\n/;var p_=function(_0x46009d){return _0x46009d[_0x46009d['Simple']=0x0]='Simple',_0x46009d[_0x46009d['TrackDel']=0x1]='TrackDel',_0x46009d[_0x46009d['TrackBefore']=0x2]='TrackBefore',_0x46009d[_0x46009d['TrackAfter']=0x3]='TrackAfter',_0x46009d;}(p_||(p_={}));class ChangeDesc{constructor(_0x2031e8){this['sections']=_0x2031e8;}get['length'](){let _0x54f488=0x0;for(let _0x5e9950=0x0;_0x5e9950<this['sections']['length'];_0x5e9950+=0x2)_0x54f488+=this['sections'][_0x5e9950];return _0x54f488;}get['newLength'](){let _0x270530=0x0;for(let _0x3c77e7=0x0;_0x3c77e7<this['sections']['length'];_0x3c77e7+=0x2){let _0x5cfc9d=this['sections'][_0x3c77e7+0x1];_0x270530+=_0x5cfc9d<0x0?this['sections'][_0x3c77e7]:_0x5cfc9d;}return _0x270530;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x4605a4){for(let _0x2865b9=0x0,_0x2b394c=0x0,_0x7a2b33=0x0;_0x2865b9<this['sections']['length'];){let _0x404d1c=this['sections'][_0x2865b9++],_0x11ce9b=this['sections'][_0x2865b9++];_0x11ce9b<0x0?(_0x4605a4(_0x2b394c,_0x7a2b33,_0x404d1c),_0x7a2b33+=_0x404d1c):_0x7a2b33+=_0x11ce9b,_0x2b394c+=_0x404d1c;}}['iterChangedRanges'](_0x4aef23,_0x5d608c=!0x1){b_(this,_0x4aef23,_0x5d608c);}get['invertedDesc'](){let _0x3f5c9a=[];for(let _0xc9bbb=0x0;_0xc9bbb<this['sections']['length'];){let _0x5d3c2c=this['sections'][_0xc9bbb++],_0x4718a5=this['sections'][_0xc9bbb++];_0x4718a5<0x0?_0x3f5c9a['push'](_0x5d3c2c,_0x4718a5):_0x3f5c9a['push'](_0x4718a5,_0x5d3c2c);}return new ChangeDesc(_0x3f5c9a);}['composeDesc'](_0x5e41d6){return this['empty']?_0x5e41d6:_0x5e41d6['empty']?this:v_(this,_0x5e41d6);}['mapDesc'](_0x5206db,_0x5a8df6=!0x1){return _0x5206db['empty']?this:y_(this,_0x5206db,_0x5a8df6);}['mapPos'](_0x1f9e7e,_0x3bfb64=-0x1,_0x186d07=p_['Simple']){let _0x165496=0x0,_0x2c6927=0x0;for(let _0x2e142b=0x0;_0x2e142b<this['sections']['length'];){let _0xa6a19b=this['sections'][_0x2e142b++],_0x55a5c9=this['sections'][_0x2e142b++],_0x5ac211=_0x165496+_0xa6a19b;if(_0x55a5c9<0x0){if(_0x5ac211>_0x1f9e7e)return _0x2c6927+(_0x1f9e7e-_0x165496);_0x2c6927+=_0xa6a19b;}else{if(_0x186d07!=p_['Simple']&&_0x5ac211>=_0x1f9e7e&&(_0x186d07==p_['TrackDel']&&_0x165496<_0x1f9e7e&&_0x5ac211>_0x1f9e7e||_0x186d07==p_['TrackBefore']&&_0x165496<_0x1f9e7e||_0x186d07==p_['TrackAfter']&&_0x5ac211>_0x1f9e7e))return null;if(_0x5ac211>_0x1f9e7e||_0x5ac211==_0x1f9e7e&&_0x3bfb64<0x0&&!_0xa6a19b)return _0x1f9e7e==_0x165496||_0x3bfb64<0x0?_0x2c6927:_0x2c6927+_0x55a5c9;_0x2c6927+=_0x55a5c9;}_0x165496=_0x5ac211;}if(_0x1f9e7e>_0x165496)throw new RangeError('Position\x20'+_0x1f9e7e+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x165496);return _0x2c6927;}['touchesRange'](_0x3534cf,_0x4959ce=_0x3534cf){for(let _0x1a260e=0x0,_0x16f652=0x0;_0x1a260e<this['sections']['length']&&_0x16f652<=_0x4959ce;){let _0x16ab45=_0x16f652+this['sections'][_0x1a260e++];if(this['sections'][_0x1a260e++]>=0x0&&_0x16f652<=_0x4959ce&&_0x16ab45>=_0x3534cf)return!(_0x16f652<_0x3534cf&&_0x16ab45>_0x4959ce)||'cover';_0x16f652=_0x16ab45;}return!0x1;}['toString'](){let _0x31dea7='';for(let _0x15250c=0x0;_0x15250c<this['sections']['length'];){let _0x140284=this['sections'][_0x15250c++],_0x388958=this['sections'][_0x15250c++];_0x31dea7+=(_0x31dea7?'\x20':'')+_0x140284+(_0x388958>=0x0?':'+_0x388958:'');}return _0x31dea7;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x5deb8d){if(!Array['isArray'](_0x5deb8d)||_0x5deb8d['length']%0x2||_0x5deb8d['some'](_0x1eaea9=>'number'!=typeof _0x1eaea9))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new ChangeDesc(_0x5deb8d);}static['create'](_0x56d0d9){return new ChangeDesc(_0x56d0d9);}}class ChangeSet extends ChangeDesc{constructor(_0x55140c,_0x512e28){super(_0x55140c),this['inserted']=_0x512e28;}['apply'](_0x362dfe){if(this['length']!=_0x362dfe['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return b_(this,(_0x1ee147,_0x428f3c,_0x242fa7,_0x14d12e,_0xba4a55)=>_0x362dfe=_0x362dfe['replace'](_0x242fa7,_0x242fa7+(_0x428f3c-_0x1ee147),_0xba4a55),!0x1),_0x362dfe;}['mapDesc'](_0x267bb6,_0x25e7e8=!0x1){return y_(this,_0x267bb6,_0x25e7e8,!0x0);}['invert'](_0x4daa77){let _0x583cdd=this['sections']['slice'](),_0x56e295=[];for(let _0x4cf44c=0x0,_0x384f2c=0x0;_0x4cf44c<_0x583cdd['length'];_0x4cf44c+=0x2){let _0x6e2fe7=_0x583cdd[_0x4cf44c],_0x3f6f69=_0x583cdd[_0x4cf44c+0x1];if(_0x3f6f69>=0x0){_0x583cdd[_0x4cf44c]=_0x3f6f69,_0x583cdd[_0x4cf44c+0x1]=_0x6e2fe7;let _0x197d40=_0x4cf44c>>0x1;for(;_0x56e295['length']<_0x197d40;)_0x56e295['push'](o_['empty']);_0x56e295['push'](_0x6e2fe7?_0x4daa77['slice'](_0x384f2c,_0x384f2c+_0x6e2fe7):o_['empty']);}_0x384f2c+=_0x6e2fe7;}return new ChangeSet(_0x583cdd,_0x56e295);}['compose'](_0x375303){return this['empty']?_0x375303:_0x375303['empty']?this:v_(this,_0x375303,!0x0);}['map'](_0x1ca521,_0x1602d1=!0x1){return _0x1ca521['empty']?this:y_(this,_0x1ca521,_0x1602d1,!0x0);}['iterChanges'](_0x58369b,_0x8fc5b6=!0x1){b_(this,_0x58369b,_0x8fc5b6);}get['desc'](){return ChangeDesc['create'](this['sections']);}['filter'](_0x3d305b){let _0x1d7709=[],_0x452911=[],_0x4d6bad=[],_0x17eac3=new SectionIter(this);t:for(let _0x1447ab=0x0,_0x13c14b=0x0;;){let _0x1d4686=_0x1447ab==_0x3d305b['length']?0x3b9aca00:_0x3d305b[_0x1447ab++];for(;_0x13c14b<_0x1d4686||_0x13c14b==_0x1d4686&&0x0==_0x17eac3['len'];){if(_0x17eac3['done'])break t;let _0x22df86=Math['min'](_0x17eac3['len'],_0x1d4686-_0x13c14b);O_(_0x4d6bad,_0x22df86,-0x1);let _0x34dfa4=-0x1==_0x17eac3['ins']?-0x1:0x0==_0x17eac3['off']?_0x17eac3['ins']:0x0;O_(_0x1d7709,_0x22df86,_0x34dfa4),_0x34dfa4>0x0&&w_(_0x452911,_0x1d7709,_0x17eac3['text']),_0x17eac3['forward'](_0x22df86),_0x13c14b+=_0x22df86;}let _0x1871ee=_0x3d305b[_0x1447ab++];for(;_0x13c14b<_0x1871ee;){if(_0x17eac3['done'])break t;let _0x38bac8=Math['min'](_0x17eac3['len'],_0x1871ee-_0x13c14b);O_(_0x1d7709,_0x38bac8,-0x1),O_(_0x4d6bad,_0x38bac8,-0x1==_0x17eac3['ins']?-0x1:0x0==_0x17eac3['off']?_0x17eac3['ins']:0x0),_0x17eac3['forward'](_0x38bac8),_0x13c14b+=_0x38bac8;}}return{'changes':new ChangeSet(_0x1d7709,_0x452911),'filtered':ChangeDesc['create'](_0x4d6bad)};}['toJSON'](){let _0x38e0bf=[];for(let _0x691a5e=0x0;_0x691a5e<this['sections']['length'];_0x691a5e+=0x2){let _0x397b9a=this['sections'][_0x691a5e],_0x581a19=this['sections'][_0x691a5e+0x1];_0x581a19<0x0?_0x38e0bf['push'](_0x397b9a):0x0==_0x581a19?_0x38e0bf['push']([_0x397b9a]):_0x38e0bf['push']([_0x397b9a]['concat'](this['inserted'][_0x691a5e>>0x1]['toJSON']()));}return _0x38e0bf;}static['of'](_0x4f673b,_0xbecdf0,_0x599ef4){let _0x32ae53=[],_0x1e20d2=[],_0x42b691=0x0,_0x505919=null;function _0x249173(_0x2de975=!0x1){if(!_0x2de975&&!_0x32ae53['length'])return;_0x42b691<_0xbecdf0&&O_(_0x32ae53,_0xbecdf0-_0x42b691,-0x1);let _0x1e4b40=new ChangeSet(_0x32ae53,_0x1e20d2);_0x505919=_0x505919?_0x505919['compose'](_0x1e4b40['map'](_0x505919)):_0x1e4b40,_0x32ae53=[],_0x1e20d2=[],_0x42b691=0x0;}return function _0x4200fc(_0x447f7e){if(Array['isArray'](_0x447f7e)){for(let _0x542589 of _0x447f7e)_0x4200fc(_0x542589);}else{if(_0x447f7e instanceof ChangeSet){if(_0x447f7e['length']!=_0xbecdf0)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x447f7e['length']+',\x20expected\x20'+_0xbecdf0+')');_0x249173(),_0x505919=_0x505919?_0x505919['compose'](_0x447f7e['map'](_0x505919)):_0x447f7e;}else{let {from:_0x388fcc,to:_0x4e6fa4=_0x388fcc,insert:_0x2a2f8e}=_0x447f7e;if(_0x388fcc>_0x4e6fa4||_0x388fcc<0x0||_0x4e6fa4>_0xbecdf0)throw new RangeError('Invalid\x20change\x20range\x20'+_0x388fcc+'\x20to\x20'+_0x4e6fa4+'\x20(in\x20doc\x20of\x20length\x20'+_0xbecdf0+')');let _0x7ec4b2=_0x2a2f8e?'string'==typeof _0x2a2f8e?o_['of'](_0x2a2f8e['split'](_0x599ef4||g_)):_0x2a2f8e:o_['empty'],_0x4fbd88=_0x7ec4b2['length'];if(_0x388fcc==_0x4e6fa4&&0x0==_0x4fbd88)return;_0x388fcc<_0x42b691&&_0x249173(),_0x388fcc>_0x42b691&&O_(_0x32ae53,_0x388fcc-_0x42b691,-0x1),O_(_0x32ae53,_0x4e6fa4-_0x388fcc,_0x4fbd88),w_(_0x1e20d2,_0x32ae53,_0x7ec4b2),_0x42b691=_0x4e6fa4;}}}(_0x4f673b),_0x249173(!_0x505919),_0x505919;}static['empty'](_0x406406){return new ChangeSet(_0x406406?[_0x406406,-0x1]:[],[]);}static['fromJSON'](_0x4d8a43){if(!Array['isArray'](_0x4d8a43))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x3225f6=[],_0x544614=[];for(let _0x59a03f=0x0;_0x59a03f<_0x4d8a43['length'];_0x59a03f++){let _0x3bec8b=_0x4d8a43[_0x59a03f];if('number'==typeof _0x3bec8b)_0x3225f6['push'](_0x3bec8b,-0x1);else{if(!Array['isArray'](_0x3bec8b)||'number'!=typeof _0x3bec8b[0x0]||_0x3bec8b['some']((_0x115313,_0x3463a9)=>_0x3463a9&&'string'!=typeof _0x115313))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x3bec8b['length'])_0x3225f6['push'](_0x3bec8b[0x0],0x0);else{for(;_0x544614['length']<_0x59a03f;)_0x544614['push'](o_['empty']);_0x544614[_0x59a03f]=o_['of'](_0x3bec8b['slice'](0x1)),_0x3225f6['push'](_0x3bec8b[0x0],_0x544614[_0x59a03f]['length']);}}}return new ChangeSet(_0x3225f6,_0x544614);}static['createSet'](_0xbe63c3,_0x27809a){return new ChangeSet(_0xbe63c3,_0x27809a);}}function O_(_0x1efa40,_0x58ecb0,_0x5a48a3,_0x57638b=!0x1){if(0x0==_0x58ecb0&&_0x5a48a3<=0x0)return;let _0x417a03=_0x1efa40['length']-0x2;_0x417a03>=0x0&&_0x5a48a3<=0x0&&_0x5a48a3==_0x1efa40[_0x417a03+0x1]?_0x1efa40[_0x417a03]+=_0x58ecb0:_0x417a03>=0x0&&0x0==_0x58ecb0&&0x0==_0x1efa40[_0x417a03]?_0x1efa40[_0x417a03+0x1]+=_0x5a48a3:_0x57638b?(_0x1efa40[_0x417a03]+=_0x58ecb0,_0x1efa40[_0x417a03+0x1]+=_0x5a48a3):_0x1efa40['push'](_0x58ecb0,_0x5a48a3);}function w_(_0x13279e,_0x532c04,_0x3d795d){if(0x0==_0x3d795d['length'])return;let _0x678c62=_0x532c04['length']-0x2>>0x1;if(_0x678c62<_0x13279e['length'])_0x13279e[_0x13279e['length']-0x1]=_0x13279e[_0x13279e['length']-0x1]['append'](_0x3d795d);else{for(;_0x13279e['length']<_0x678c62;)_0x13279e['push'](o_['empty']);_0x13279e['push'](_0x3d795d);}}function b_(_0x8816e9,_0xb300f1,_0xcc3aa7){let _0x1337e2=_0x8816e9['inserted'];for(let _0x251881=0x0,_0x1b8b8c=0x0,_0xfc5718=0x0;_0xfc5718<_0x8816e9['sections']['length'];){let _0x1f6f43=_0x8816e9['sections'][_0xfc5718++],_0x261346=_0x8816e9['sections'][_0xfc5718++];if(_0x261346<0x0)_0x251881+=_0x1f6f43,_0x1b8b8c+=_0x1f6f43;else{let _0x181b9f=_0x251881,_0x30b65e=_0x1b8b8c,_0x4ae7d1=o_['empty'];for(;_0x181b9f+=_0x1f6f43,_0x30b65e+=_0x261346,_0x261346&&_0x1337e2&&(_0x4ae7d1=_0x4ae7d1['append'](_0x1337e2[_0xfc5718-0x2>>0x1])),!(_0xcc3aa7||_0xfc5718==_0x8816e9['sections']['length']||_0x8816e9['sections'][_0xfc5718+0x1]<0x0);)_0x1f6f43=_0x8816e9['sections'][_0xfc5718++],_0x261346=_0x8816e9['sections'][_0xfc5718++];_0xb300f1(_0x251881,_0x181b9f,_0x1b8b8c,_0x30b65e,_0x4ae7d1),_0x251881=_0x181b9f,_0x1b8b8c=_0x30b65e;}}}function y_(_0x195a87,_0x50d8bd,_0x20978c,_0x1b69e1=!0x1){let _0x187636=[],_0xfcb18e=_0x1b69e1?[]:null,_0x46814d=new SectionIter(_0x195a87),_0x1bde2e=new SectionIter(_0x50d8bd);for(let _0x20b0cc=-0x1;;){if(_0x46814d['done']&&_0x1bde2e['len']||_0x1bde2e['done']&&_0x46814d['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x46814d['ins']&&-0x1==_0x1bde2e['ins']){let _0x1bfa5d=Math['min'](_0x46814d['len'],_0x1bde2e['len']);O_(_0x187636,_0x1bfa5d,-0x1),_0x46814d['forward'](_0x1bfa5d),_0x1bde2e['forward'](_0x1bfa5d);}else{if(_0x1bde2e['ins']>=0x0&&(_0x46814d['ins']<0x0||_0x20b0cc==_0x46814d['i']||0x0==_0x46814d['off']&&(_0x1bde2e['len']<_0x46814d['len']||_0x1bde2e['len']==_0x46814d['len']&&!_0x20978c))){let _0x13ec13=_0x1bde2e['len'];for(O_(_0x187636,_0x1bde2e['ins'],-0x1);_0x13ec13;){let _0x372b1c=Math['min'](_0x46814d['len'],_0x13ec13);_0x46814d['ins']>=0x0&&_0x20b0cc<_0x46814d['i']&&_0x46814d['len']<=_0x372b1c&&(O_(_0x187636,0x0,_0x46814d['ins']),_0xfcb18e&&w_(_0xfcb18e,_0x187636,_0x46814d['text']),_0x20b0cc=_0x46814d['i']),_0x46814d['forward'](_0x372b1c),_0x13ec13-=_0x372b1c;}_0x1bde2e['next']();}else{if(!(_0x46814d['ins']>=0x0)){if(_0x46814d['done']&&_0x1bde2e['done'])return _0xfcb18e?ChangeSet['createSet'](_0x187636,_0xfcb18e):ChangeDesc['create'](_0x187636);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x2d8e46=0x0,_0x46e58f=_0x46814d['len'];for(;_0x46e58f;)if(-0x1==_0x1bde2e['ins']){let _0x28c130=Math['min'](_0x46e58f,_0x1bde2e['len']);_0x2d8e46+=_0x28c130,_0x46e58f-=_0x28c130,_0x1bde2e['forward'](_0x28c130);}else{if(!(0x0==_0x1bde2e['ins']&&_0x1bde2e['len']<_0x46e58f))break;_0x46e58f-=_0x1bde2e['len'],_0x1bde2e['next']();}O_(_0x187636,_0x2d8e46,_0x20b0cc<_0x46814d['i']?_0x46814d['ins']:0x0),_0xfcb18e&&_0x20b0cc<_0x46814d['i']&&w_(_0xfcb18e,_0x187636,_0x46814d['text']),_0x20b0cc=_0x46814d['i'],_0x46814d['forward'](_0x46814d['len']-_0x46e58f);}}}}}function v_(_0x1c9c1e,_0x4493aa,_0x1b833e=!0x1){let _0x548ad=[],_0x1cd851=_0x1b833e?[]:null,_0x5c69c3=new SectionIter(_0x1c9c1e),_0x23db84=new SectionIter(_0x4493aa);for(let _0x652238=!0x1;;){if(_0x5c69c3['done']&&_0x23db84['done'])return _0x1cd851?ChangeSet['createSet'](_0x548ad,_0x1cd851):ChangeDesc['create'](_0x548ad);if(0x0==_0x5c69c3['ins'])O_(_0x548ad,_0x5c69c3['len'],0x0,_0x652238),_0x5c69c3['next']();else{if(0x0!=_0x23db84['len']||_0x23db84['done']){if(_0x5c69c3['done']||_0x23db84['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x4a8e8f=Math['min'](_0x5c69c3['len2'],_0x23db84['len']),_0x4def80=_0x548ad['length'];if(-0x1==_0x5c69c3['ins']){let _0xf320b8=-0x1==_0x23db84['ins']?-0x1:_0x23db84['off']?0x0:_0x23db84['ins'];O_(_0x548ad,_0x4a8e8f,_0xf320b8,_0x652238),_0x1cd851&&_0xf320b8&&w_(_0x1cd851,_0x548ad,_0x23db84['text']);}else-0x1==_0x23db84['ins']?(O_(_0x548ad,_0x5c69c3['off']?0x0:_0x5c69c3['len'],_0x4a8e8f,_0x652238),_0x1cd851&&w_(_0x1cd851,_0x548ad,_0x5c69c3['textBit'](_0x4a8e8f))):(O_(_0x548ad,_0x5c69c3['off']?0x0:_0x5c69c3['len'],_0x23db84['off']?0x0:_0x23db84['ins'],_0x652238),_0x1cd851&&!_0x23db84['off']&&w_(_0x1cd851,_0x548ad,_0x23db84['text']));_0x652238=(_0x5c69c3['ins']>_0x4a8e8f||_0x23db84['ins']>=0x0&&_0x23db84['len']>_0x4a8e8f)&&(_0x652238||_0x548ad['length']>_0x4def80),_0x5c69c3['forward2'](_0x4a8e8f),_0x23db84['forward'](_0x4a8e8f);}}else O_(_0x548ad,0x0,_0x23db84['ins'],_0x652238),_0x1cd851&&w_(_0x1cd851,_0x548ad,_0x23db84['text']),_0x23db84['next']();}}}class SectionIter{constructor(_0x31f2cd){this['set']=_0x31f2cd,this['i']=0x0,this['next']();}['next'](){let {sections:_0x4749bd}=this['set'];this['i']<_0x4749bd['length']?(this['len']=_0x4749bd[this['i']++],this['ins']=_0x4749bd[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:_0xbf36a3}=this['set'],_0x1e5b77=this['i']-0x2>>0x1;return _0x1e5b77>=_0xbf36a3['length']?o_['empty']:_0xbf36a3[_0x1e5b77];}['textBit'](_0x2c4769){let {inserted:_0x4e0335}=this['set'],_0x246330=this['i']-0x2>>0x1;return _0x246330>=_0x4e0335['length']&&!_0x2c4769?o_['empty']:_0x4e0335[_0x246330]['slice'](this['off'],null==_0x2c4769?void 0x0:this['off']+_0x2c4769);}['forward'](_0x4a2917){_0x4a2917==this['len']?this['next']():(this['len']-=_0x4a2917,this['off']+=_0x4a2917);}['forward2'](_0xa9a625){-0x1==this['ins']?this['forward'](_0xa9a625):_0xa9a625==this['ins']?this['next']():(this['ins']-=_0xa9a625,this['off']+=_0xa9a625);}}class SelectionRange{constructor(_0xde5d42,_0x5f2129,_0x327208){this['from']=_0xde5d42,this['to']=_0x5f2129,this['flags']=_0x327208;}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 _0x5cd225=0x7&this['flags'];return 0x7==_0x5cd225?null:_0x5cd225;}get['goalColumn'](){let _0x5dddf8=this['flags']>>0x6;return 0xffffff==_0x5dddf8?void 0x0:_0x5dddf8;}['map'](_0x2f9ca7,_0x4fea21=-0x1){let _0x3e9aee,_0x1d1e08;return this['empty']?_0x3e9aee=_0x1d1e08=_0x2f9ca7['mapPos'](this['from'],_0x4fea21):(_0x3e9aee=_0x2f9ca7['mapPos'](this['from'],0x1),_0x1d1e08=_0x2f9ca7['mapPos'](this['to'],-0x1)),_0x3e9aee==this['from']&&_0x1d1e08==this['to']?this:new SelectionRange(_0x3e9aee,_0x1d1e08,this['flags']);}['extend'](_0x5712bd,_0x2bb741=_0x5712bd){if(_0x5712bd<=this['anchor']&&_0x2bb741>=this['anchor'])return EditorSelection['range'](_0x5712bd,_0x2bb741);let _0x469dd7=Math['abs'](_0x5712bd-this['anchor'])>Math['abs'](_0x2bb741-this['anchor'])?_0x5712bd:_0x2bb741;return EditorSelection['range'](this['anchor'],_0x469dd7);}['eq'](_0x5ac468,_0x3b3f12=!0x1){return!(this['anchor']!=_0x5ac468['anchor']||this['head']!=_0x5ac468['head']||_0x3b3f12&&this['empty']&&this['assoc']!=_0x5ac468['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x7891d2){if(!_0x7891d2||'number'!=typeof _0x7891d2['anchor']||'number'!=typeof _0x7891d2['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x7891d2['anchor'],_0x7891d2['head']);}static['create'](_0x1a993d,_0x2f88d3,_0x3b0470){return new SelectionRange(_0x1a993d,_0x2f88d3,_0x3b0470);}}class EditorSelection{constructor(_0x1852ed,_0x3c6b43){this['ranges']=_0x1852ed,this['mainIndex']=_0x3c6b43;}['map'](_0x1de7e4,_0x1abf8a=-0x1){return _0x1de7e4['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x2f4694=>_0x2f4694['map'](_0x1de7e4,_0x1abf8a)),this['mainIndex']);}['eq'](_0x12cbfc,_0x501b3f=!0x1){if(this['ranges']['length']!=_0x12cbfc['ranges']['length']||this['mainIndex']!=_0x12cbfc['mainIndex'])return!0x1;for(let _0x48f200=0x0;_0x48f200<this['ranges']['length'];_0x48f200++)if(!this['ranges'][_0x48f200]['eq'](_0x12cbfc['ranges'][_0x48f200],_0x501b3f))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x3255ad,_0x4becbf=!0x0){return EditorSelection['create']([_0x3255ad]['concat'](this['ranges']),_0x4becbf?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x17d665,_0x6d815c=this['mainIndex']){let _0x44f7ac=this['ranges']['slice']();return _0x44f7ac[_0x6d815c]=_0x17d665,EditorSelection['create'](_0x44f7ac,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0xf4d305=>_0xf4d305['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x1ee015){if(!_0x1ee015||!Array['isArray'](_0x1ee015['ranges'])||'number'!=typeof _0x1ee015['main']||_0x1ee015['main']>=_0x1ee015['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x1ee015['ranges']['map'](_0x5e049c=>SelectionRange['fromJSON'](_0x5e049c)),_0x1ee015['main']);}static['single'](_0xe54d3,_0x10d134=_0xe54d3){return new EditorSelection([EditorSelection['range'](_0xe54d3,_0x10d134)],0x0);}static['create'](_0xf642ba,_0x3f3281=0x0){if(0x0==_0xf642ba['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x290e82=0x0,_0xcf4885=0x0;_0xcf4885<_0xf642ba['length'];_0xcf4885++){let _0x1701ab=_0xf642ba[_0xcf4885];if(_0x1701ab['empty']?_0x1701ab['from']<=_0x290e82:_0x1701ab['from']<_0x290e82)return EditorSelection['normalized'](_0xf642ba['slice'](),_0x3f3281);_0x290e82=_0x1701ab['to'];}return new EditorSelection(_0xf642ba,_0x3f3281);}static['cursor'](_0x3ae44a,_0x25ead5=0x0,_0x33c1d7,_0x32a190){return SelectionRange['create'](_0x3ae44a,_0x3ae44a,(0x0==_0x25ead5?0x0:_0x25ead5<0x0?0x8:0x10)|(null==_0x33c1d7?0x7:Math['min'](0x6,_0x33c1d7))|(null!=_0x32a190?_0x32a190:0xffffff)<<0x6);}static['range'](_0x21f914,_0x44a70a,_0x313c90,_0x210b67){let _0x2cec88=(null!=_0x313c90?_0x313c90:0xffffff)<<0x6|(null==_0x210b67?0x7:Math['min'](0x6,_0x210b67));return _0x44a70a<_0x21f914?SelectionRange['create'](_0x44a70a,_0x21f914,0x30|_0x2cec88):SelectionRange['create'](_0x21f914,_0x44a70a,(_0x44a70a>_0x21f914?0x8:0x0)|_0x2cec88);}static['normalized'](_0x41f4f3,_0x4f8318=0x0){let _0x41cd1e=_0x41f4f3[_0x4f8318];_0x41f4f3['sort']((_0x163feb,_0x52e44e)=>_0x163feb['from']-_0x52e44e['from']),_0x4f8318=_0x41f4f3['indexOf'](_0x41cd1e);for(let _0x413075=0x1;_0x413075<_0x41f4f3['length'];_0x413075++){let _0xb422f6=_0x41f4f3[_0x413075],_0x574817=_0x41f4f3[_0x413075-0x1];if(_0xb422f6['empty']?_0xb422f6['from']<=_0x574817['to']:_0xb422f6['from']<_0x574817['to']){let _0x3fd6a2=_0x574817['from'],_0x3b1c89=Math['max'](_0xb422f6['to'],_0x574817['to']);_0x413075<=_0x4f8318&&_0x4f8318--,_0x41f4f3['splice'](--_0x413075,0x2,_0xb422f6['anchor']>_0xb422f6['head']?EditorSelection['range'](_0x3b1c89,_0x3fd6a2):EditorSelection['range'](_0x3fd6a2,_0x3b1c89));}}return new EditorSelection(_0x41f4f3,_0x4f8318);}}function __(_0xd15acc,_0x3d0146){for(let _0x23e225 of _0xd15acc['ranges'])if(_0x23e225['to']>_0x3d0146)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let E_=0x0;class Facet{constructor(_0x321f2c,_0xb67cd,_0x185586,_0x1ebb7f,_0xaaddd3){this['combine']=_0x321f2c,this['compareInput']=_0xb67cd,this['compare']=_0x185586,this['isStatic']=_0x1ebb7f,this['id']=E_++,this['default']=_0x321f2c([]),this['extensions']='function'==typeof _0xaaddd3?_0xaaddd3(this):_0xaaddd3;}get['reader'](){return this;}static['define'](_0x96ae56={}){return new Facet(_0x96ae56['combine']||(_0x32efd8=>_0x32efd8),_0x96ae56['compareInput']||((_0x525cef,_0x4794ca)=>_0x525cef===_0x4794ca),_0x96ae56['compare']||(_0x96ae56['combine']?(_0xe7909a,_0x5198a5)=>_0xe7909a===_0x5198a5:T_),!!_0x96ae56['static'],_0x96ae56['enables']);}['of'](_0x21f2d4){return new FacetProvider([],this,0x0,_0x21f2d4);}['compute'](_0x519bd4,_0x59bc1d){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x519bd4,this,0x1,_0x59bc1d);}['computeN'](_0x2d00d2,_0x2f9b88){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x2d00d2,this,0x2,_0x2f9b88);}['from'](_0xbf4129,_0x3fde10){return _0x3fde10||(_0x3fde10=_0x7b9845=>_0x7b9845),this['compute']([_0xbf4129],_0x50eb9b=>_0x3fde10(_0x50eb9b['field'](_0xbf4129)));}}function T_(_0x181655,_0x16dc7f){return _0x181655==_0x16dc7f||_0x181655['length']==_0x16dc7f['length']&&_0x181655['every']((_0x1b64d6,_0x5d4f8c)=>_0x1b64d6===_0x16dc7f[_0x5d4f8c]);}class FacetProvider{constructor(_0x169753,_0x1fc521,_0x48c93a,_0x23983b){this['dependencies']=_0x169753,this['facet']=_0x1fc521,this['type']=_0x48c93a,this['value']=_0x23983b,this['id']=E_++;}['dynamicSlot'](_0x464cf8){var _0x5b24f1;let _0xbc1008=this['value'],_0x458775=this['facet']['compareInput'],_0xd7cd6a=this['id'],_0x1a4185=_0x464cf8[_0xd7cd6a]>>0x1,_0x3cd29f=0x2==this['type'],_0x329fd0=!0x1,_0x58c692=!0x1,_0x178188=[];for(let _0xf72c5a of this['dependencies'])'doc'==_0xf72c5a?_0x329fd0=!0x0:'selection'==_0xf72c5a?_0x58c692=!0x0:0x1&(null!==(_0x5b24f1=_0x464cf8[_0xf72c5a['id']])&&void 0x0!==_0x5b24f1?_0x5b24f1:0x1)||_0x178188['push'](_0x464cf8[_0xf72c5a['id']]);return{'create':_0xcd4870=>(_0xcd4870['values'][_0x1a4185]=_0xbc1008(_0xcd4870),0x1),'update'(_0x185908,_0x3cabd7){if(_0x329fd0&&_0x3cabd7['docChanged']||_0x58c692&&(_0x3cabd7['docChanged']||_0x3cabd7['selection'])||I_(_0x185908,_0x178188)){let _0x5e361a=_0xbc1008(_0x185908);if(_0x3cd29f?!A_(_0x5e361a,_0x185908['values'][_0x1a4185],_0x458775):!_0x458775(_0x5e361a,_0x185908['values'][_0x1a4185]))return _0x185908['values'][_0x1a4185]=_0x5e361a,0x1;}return 0x0;},'reconfigure':(_0x14a954,_0x47bbd1)=>{let _0x1f1876,_0x211af6=_0x47bbd1['config']['address'][_0xd7cd6a];if(null!=_0x211af6){let _0x44b6a8=$_(_0x47bbd1,_0x211af6);if(this['dependencies']['every'](_0x439875=>_0x439875 instanceof Facet?_0x47bbd1['facet'](_0x439875)===_0x14a954['facet'](_0x439875):!(_0x439875 instanceof StateField)||_0x47bbd1['field'](_0x439875,!0x1)==_0x14a954['field'](_0x439875,!0x1))||(_0x3cd29f?A_(_0x1f1876=_0xbc1008(_0x14a954),_0x44b6a8,_0x458775):_0x458775(_0x1f1876=_0xbc1008(_0x14a954),_0x44b6a8)))return _0x14a954['values'][_0x1a4185]=_0x44b6a8,0x0;}else _0x1f1876=_0xbc1008(_0x14a954);return _0x14a954['values'][_0x1a4185]=_0x1f1876,0x1;}};}}function A_(_0x43171f,_0x70c2ad,_0x3118bb){if(_0x43171f['length']!=_0x70c2ad['length'])return!0x1;for(let _0x52058e=0x0;_0x52058e<_0x43171f['length'];_0x52058e++)if(!_0x3118bb(_0x43171f[_0x52058e],_0x70c2ad[_0x52058e]))return!0x1;return!0x0;}function I_(_0x31c8fe,_0x2915df){let _0x1e3f38=!0x1;for(let _0x383bca of _0x2915df)0x1&L_(_0x31c8fe,_0x383bca)&&(_0x1e3f38=!0x0);return _0x1e3f38;}function S_(_0x8a48e4,_0x3485d9,_0x10b931){let _0x50c42a=_0x10b931['map'](_0x52ed68=>_0x8a48e4[_0x52ed68['id']]),_0x1defc0=_0x10b931['map'](_0xabe4d6=>_0xabe4d6['type']),_0x385be6=_0x50c42a['filter'](_0x32c5e1=>!(0x1&_0x32c5e1)),_0x22063f=_0x8a48e4[_0x3485d9['id']]>>0x1;function _0x46c2f6(_0x43223b){let _0x1c0568=[];for(let _0x251053=0x0;_0x251053<_0x50c42a['length'];_0x251053++){let _0x537e3c=$_(_0x43223b,_0x50c42a[_0x251053]);if(0x2==_0x1defc0[_0x251053]){for(let _0x243795 of _0x537e3c)_0x1c0568['push'](_0x243795);}else _0x1c0568['push'](_0x537e3c);}return _0x3485d9['combine'](_0x1c0568);}return{'create'(_0x38352f){for(let _0x4e9976 of _0x50c42a)L_(_0x38352f,_0x4e9976);return _0x38352f['values'][_0x22063f]=_0x46c2f6(_0x38352f),0x1;},'update'(_0x14a92c,_0x1ec628){if(!I_(_0x14a92c,_0x385be6))return 0x0;let _0xd8ee4c=_0x46c2f6(_0x14a92c);return _0x3485d9['compare'](_0xd8ee4c,_0x14a92c['values'][_0x22063f])?0x0:(_0x14a92c['values'][_0x22063f]=_0xd8ee4c,0x1);},'reconfigure'(_0x4fefa1,_0x83bea){let _0xaeb57e=I_(_0x4fefa1,_0x50c42a),_0x355fcf=_0x83bea['config']['facets'][_0x3485d9['id']],_0x548f60=_0x83bea['facet'](_0x3485d9);if(_0x355fcf&&!_0xaeb57e&&T_(_0x10b931,_0x355fcf))return _0x4fefa1['values'][_0x22063f]=_0x548f60,0x0;let _0x469be1=_0x46c2f6(_0x4fefa1);return _0x3485d9['compare'](_0x469be1,_0x548f60)?(_0x4fefa1['values'][_0x22063f]=_0x548f60,0x0):(_0x4fefa1['values'][_0x22063f]=_0x469be1,0x1);}};}const C_=Facet['define']({'static':!0x0});class StateField{constructor(_0x5ef0a6,_0x22019f,_0x47d6b0,_0x30f2ec,_0x49139f){this['id']=_0x5ef0a6,this['createF']=_0x22019f,this['updateF']=_0x47d6b0,this['compareF']=_0x30f2ec,this['spec']=_0x49139f,this['provides']=void 0x0;}static['define'](_0x54a38c){let _0x16e405=new StateField(E_++,_0x54a38c['create'],_0x54a38c['update'],_0x54a38c['compare']||((_0x88963f,_0xf6a9c0)=>_0x88963f===_0xf6a9c0),_0x54a38c);return _0x54a38c['provide']&&(_0x16e405['provides']=_0x54a38c['provide'](_0x16e405)),_0x16e405;}['create'](_0x5ec913){let _0x5c105a=_0x5ec913['facet'](C_)['find'](_0x1d26f4=>_0x1d26f4['field']==this);return((null==_0x5c105a?void 0x0:_0x5c105a['create'])||this['createF'])(_0x5ec913);}['slot'](_0x47bca5){let _0x2b0ceb=_0x47bca5[this['id']]>>0x1;return{'create':_0xacb742=>(_0xacb742['values'][_0x2b0ceb]=this['create'](_0xacb742),0x1),'update':(_0x2bf078,_0x3e08e7)=>{let _0xe15cab=_0x2bf078['values'][_0x2b0ceb],_0x476aaa=this['updateF'](_0xe15cab,_0x3e08e7);return this['compareF'](_0xe15cab,_0x476aaa)?0x0:(_0x2bf078['values'][_0x2b0ceb]=_0x476aaa,0x1);},'reconfigure':(_0x3e1045,_0x515c3f)=>{let _0x3ad406,_0x4025a2=_0x3e1045['facet'](C_),_0x2c417f=_0x515c3f['facet'](C_);return(_0x3ad406=_0x4025a2['find'](_0x516e92=>_0x516e92['field']==this))&&_0x3ad406!=_0x2c417f['find'](_0xa28601=>_0xa28601['field']==this)?(_0x3e1045['values'][_0x2b0ceb]=_0x3ad406['create'](_0x3e1045),0x1):null!=_0x515c3f['config']['address'][this['id']]?(_0x3e1045['values'][_0x2b0ceb]=_0x515c3f['field'](this),0x0):(_0x3e1045['values'][_0x2b0ceb]=this['create'](_0x3e1045),0x1);}};}['init'](_0x3371c1){return[this,C_['of']({'field':this,'create':_0x3371c1})];}get['extension'](){return this;}}const k_=0x4,x_=0x3,R_=0x2,P_=0x1;function M_(_0x12d683){return _0x20afe6=>new PrecExtension(_0x20afe6,_0x12d683);}const N_={'highest':M_(0x0),'high':M_(P_),'default':M_(R_),'low':M_(x_),'lowest':M_(k_)};class PrecExtension{constructor(_0x181d23,_0x21bdab){this['inner']=_0x181d23,this['prec']=_0x21bdab;}}class Compartment{['of'](_0x53d6e2){return new CompartmentInstance(this,_0x53d6e2);}['reconfigure'](_0x35bbbf){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x35bbbf});}['get'](_0x32f2a1){return _0x32f2a1['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x5be9f4,_0x3e109e){this['compartment']=_0x5be9f4,this['inner']=_0x3e109e;}}class Configuration{constructor(_0x1697a7,_0x18aa6d,_0x35b0ab,_0xcb21d3,_0xfdf7cd,_0x15e1a5){for(this['base']=_0x1697a7,this['compartments']=_0x18aa6d,this['dynamicSlots']=_0x35b0ab,this['address']=_0xcb21d3,this['staticValues']=_0xfdf7cd,this['facets']=_0x15e1a5,this['statusTemplate']=[];this['statusTemplate']['length']<_0x35b0ab['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x4e5416){let _0x2e2ade=this['address'][_0x4e5416['id']];return null==_0x2e2ade?_0x4e5416['default']:this['staticValues'][_0x2e2ade>>0x1];}static['resolve'](_0x6e6d56,_0x46cc35,_0x21b41d){let _0x4dd39e=[],_0x183390=Object['create'](null),_0xf2dac1=new Map();for(let _0x15b38b of function(_0x54e83a,_0xda7abb,_0x22f44e){let _0xa4772=[[],[],[],[],[]],_0x579b4f=new Map();function _0x1bfca8(_0x515cff,_0xa60541){let _0x5c2899=_0x579b4f['get'](_0x515cff);if(null!=_0x5c2899){if(_0x5c2899<=_0xa60541)return;let _0x139228=_0xa4772[_0x5c2899]['indexOf'](_0x515cff);_0x139228>-0x1&&_0xa4772[_0x5c2899]['splice'](_0x139228,0x1),_0x515cff instanceof CompartmentInstance&&_0x22f44e['delete'](_0x515cff['compartment']);}if(_0x579b4f['set'](_0x515cff,_0xa60541),Array['isArray'](_0x515cff)){for(let _0x24ab2f of _0x515cff)_0x1bfca8(_0x24ab2f,_0xa60541);}else{if(_0x515cff instanceof CompartmentInstance){if(_0x22f44e['has'](_0x515cff['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x137cdd=_0xda7abb['get'](_0x515cff['compartment'])||_0x515cff['inner'];_0x22f44e['set'](_0x515cff['compartment'],_0x137cdd),_0x1bfca8(_0x137cdd,_0xa60541);}else{if(_0x515cff instanceof PrecExtension)_0x1bfca8(_0x515cff['inner'],_0x515cff['prec']);else{if(_0x515cff instanceof StateField)_0xa4772[_0xa60541]['push'](_0x515cff),_0x515cff['provides']&&_0x1bfca8(_0x515cff['provides'],_0xa60541);else{if(_0x515cff instanceof FacetProvider)_0xa4772[_0xa60541]['push'](_0x515cff),_0x515cff['facet']['extensions']&&_0x1bfca8(_0x515cff['facet']['extensions'],R_);else{let _0x268026=_0x515cff['extension'];if(!_0x268026)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x515cff+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x1bfca8(_0x268026,_0xa60541);}}}}}}return _0x1bfca8(_0x54e83a,R_),_0xa4772['reduce']((_0x222e2e,_0x19803d)=>_0x222e2e['concat'](_0x19803d));}(_0x6e6d56,_0x46cc35,_0xf2dac1))_0x15b38b instanceof StateField?_0x4dd39e['push'](_0x15b38b):(_0x183390[_0x15b38b['facet']['id']]||(_0x183390[_0x15b38b['facet']['id']]=[]))['push'](_0x15b38b);let _0x4db3ba=Object['create'](null),_0x3e44fa=[],_0x5564b9=[];for(let _0x55a1eb of _0x4dd39e)_0x4db3ba[_0x55a1eb['id']]=_0x5564b9['length']<<0x1,_0x5564b9['push'](_0x5ddc8b=>_0x55a1eb['slot'](_0x5ddc8b));let _0x4f7c5b=null==_0x21b41d?void 0x0:_0x21b41d['config']['facets'];for(let _0x41d5ce in _0x183390){let _0x186fae=_0x183390[_0x41d5ce],_0x567ef5=_0x186fae[0x0]['facet'],_0x966770=_0x4f7c5b&&_0x4f7c5b[_0x41d5ce]||[];if(_0x186fae['every'](_0x283969=>0x0==_0x283969['type'])){if(_0x4db3ba[_0x567ef5['id']]=_0x3e44fa['length']<<0x1|0x1,T_(_0x966770,_0x186fae))_0x3e44fa['push'](_0x21b41d['facet'](_0x567ef5));else{let _0x7be8b5=_0x567ef5['combine'](_0x186fae['map'](_0x546d80=>_0x546d80['value']));_0x3e44fa['push'](_0x21b41d&&_0x567ef5['compare'](_0x7be8b5,_0x21b41d['facet'](_0x567ef5))?_0x21b41d['facet'](_0x567ef5):_0x7be8b5);}}else{for(let _0x5205c3 of _0x186fae)0x0==_0x5205c3['type']?(_0x4db3ba[_0x5205c3['id']]=_0x3e44fa['length']<<0x1|0x1,_0x3e44fa['push'](_0x5205c3['value'])):(_0x4db3ba[_0x5205c3['id']]=_0x5564b9['length']<<0x1,_0x5564b9['push'](_0x477274=>_0x5205c3['dynamicSlot'](_0x477274)));_0x4db3ba[_0x567ef5['id']]=_0x5564b9['length']<<0x1,_0x5564b9['push'](_0x125cfd=>S_(_0x125cfd,_0x567ef5,_0x186fae));}}let _0x3b49dd=_0x5564b9['map'](_0x1048e5=>_0x1048e5(_0x4db3ba));return new Configuration(_0x6e6d56,_0xf2dac1,_0x3b49dd,_0x4db3ba,_0x3e44fa,_0x183390);}}function L_(_0xa16e2b,_0x17d2a0){if(0x1&_0x17d2a0)return 0x2;let _0x46cbf5=_0x17d2a0>>0x1,_0x558d4a=_0xa16e2b['status'][_0x46cbf5];if(0x4==_0x558d4a)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x558d4a)return _0x558d4a;_0xa16e2b['status'][_0x46cbf5]=0x4;let _0x5c4ab0=_0xa16e2b['computeSlot'](_0xa16e2b,_0xa16e2b['config']['dynamicSlots'][_0x46cbf5]);return _0xa16e2b['status'][_0x46cbf5]=0x2|_0x5c4ab0;}function $_(_0x170542,_0x46a758){return 0x1&_0x46a758?_0x170542['config']['staticValues'][_0x46a758>>0x1]:_0x170542['values'][_0x46a758>>0x1];}const D_=Facet['define'](),Q_=Facet['define']({'combine':_0x5d890c=>_0x5d890c['some'](_0x43af07=>_0x43af07),'static':!0x0}),V_=Facet['define']({'combine':_0x3f4f70=>_0x3f4f70['length']?_0x3f4f70[0x0]:void 0x0,'static':!0x0}),U_=Facet['define'](),B_=Facet['define'](),F_=Facet['define'](),j_=Facet['define']({'combine':_0x1d8aa4=>!!_0x1d8aa4['length']&&_0x1d8aa4[0x0]});class Annotation{constructor(_0x56ab80,_0x5a7069){this['type']=_0x56ab80,this['value']=_0x5a7069;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x2a27d8){return new Annotation(this,_0x2a27d8);}}class StateEffectType{constructor(_0x1f445e){this['map']=_0x1f445e;}['of'](_0x143778){return new StateEffect(this,_0x143778);}}class StateEffect{constructor(_0x109f78,_0x4abcd9){this['type']=_0x109f78,this['value']=_0x4abcd9;}['map'](_0x3ea34b){let _0x175b16=this['type']['map'](this['value'],_0x3ea34b);return void 0x0===_0x175b16?void 0x0:_0x175b16==this['value']?this:new StateEffect(this['type'],_0x175b16);}['is'](_0x5d9885){return this['type']==_0x5d9885;}static['define'](_0x5ef106={}){return new StateEffectType(_0x5ef106['map']||(_0x1df187=>_0x1df187));}static['mapEffects'](_0x3f3312,_0x37200f){if(!_0x3f3312['length'])return _0x3f3312;let _0x30862c=[];for(let _0x43ce31 of _0x3f3312){let _0x540162=_0x43ce31['map'](_0x37200f);_0x540162&&_0x30862c['push'](_0x540162);}return _0x30862c;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x3baf92,_0x290c0b,_0x5decc0,_0x4b7301,_0x157282,_0x323603){this['startState']=_0x3baf92,this['changes']=_0x290c0b,this['selection']=_0x5decc0,this['effects']=_0x4b7301,this['annotations']=_0x157282,this['scrollIntoView']=_0x323603,this['_doc']=null,this['_state']=null,_0x5decc0&&__(_0x5decc0,_0x290c0b['newLength']),_0x157282['some'](_0x924eff=>_0x924eff['type']==Transaction['time'])||(this['annotations']=_0x157282['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x45605c,_0x47d27b,_0x5abdde,_0x44ef6a,_0x5a0736,_0x5bf059){return new Transaction(_0x45605c,_0x47d27b,_0x5abdde,_0x44ef6a,_0x5a0736,_0x5bf059);}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'](_0x14a46d){for(let _0x4a4d4d of this['annotations'])if(_0x4a4d4d['type']==_0x14a46d)return _0x4a4d4d['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x77ad1b){let _0x3dd300=this['annotation'](Transaction['userEvent']);return!(!_0x3dd300||!(_0x3dd300==_0x77ad1b||_0x3dd300['length']>_0x77ad1b['length']&&_0x3dd300['slice'](0x0,_0x77ad1b['length'])==_0x77ad1b&&'.'==_0x3dd300[_0x77ad1b['length']]));}}function H_(_0x254358,_0x5a4d34){let _0x1f82a1=[];for(let _0x54411d=0x0,_0x3a4348=0x0;;){let _0x4ed541,_0x2071d1;if(_0x54411d<_0x254358['length']&&(_0x3a4348==_0x5a4d34['length']||_0x5a4d34[_0x3a4348]>=_0x254358[_0x54411d]))_0x4ed541=_0x254358[_0x54411d++],_0x2071d1=_0x254358[_0x54411d++];else{if(!(_0x3a4348<_0x5a4d34['length']))return _0x1f82a1;_0x4ed541=_0x5a4d34[_0x3a4348++],_0x2071d1=_0x5a4d34[_0x3a4348++];}!_0x1f82a1['length']||_0x1f82a1[_0x1f82a1['length']-0x1]<_0x4ed541?_0x1f82a1['push'](_0x4ed541,_0x2071d1):_0x1f82a1[_0x1f82a1['length']-0x1]<_0x2071d1&&(_0x1f82a1[_0x1f82a1['length']-0x1]=_0x2071d1);}}function G_(_0x52d08d,_0x11ff9e,_0x372cbb){var _0x27b041;let _0x46b256,_0x23c95a,_0x1244e0;return _0x372cbb?(_0x46b256=_0x11ff9e['changes'],_0x23c95a=ChangeSet['empty'](_0x11ff9e['changes']['length']),_0x1244e0=_0x52d08d['changes']['compose'](_0x11ff9e['changes'])):(_0x46b256=_0x11ff9e['changes']['map'](_0x52d08d['changes']),_0x23c95a=_0x52d08d['changes']['mapDesc'](_0x11ff9e['changes'],!0x0),_0x1244e0=_0x52d08d['changes']['compose'](_0x46b256)),{'changes':_0x1244e0,'selection':_0x11ff9e['selection']?_0x11ff9e['selection']['map'](_0x23c95a):null===(_0x27b041=_0x52d08d['selection'])||void 0x0===_0x27b041?void 0x0:_0x27b041['map'](_0x46b256),'effects':StateEffect['mapEffects'](_0x52d08d['effects'],_0x46b256)['concat'](StateEffect['mapEffects'](_0x11ff9e['effects'],_0x23c95a)),'annotations':_0x52d08d['annotations']['length']?_0x52d08d['annotations']['concat'](_0x11ff9e['annotations']):_0x11ff9e['annotations'],'scrollIntoView':_0x52d08d['scrollIntoView']||_0x11ff9e['scrollIntoView']};}function Z_(_0xb8d4f,_0x3fb799,_0x25b80c){let _0x3e9fb7=_0x3fb799['selection'],_0x5c53a3=W_(_0x3fb799['annotations']);return _0x3fb799['userEvent']&&(_0x5c53a3=_0x5c53a3['concat'](Transaction['userEvent']['of'](_0x3fb799['userEvent']))),{'changes':_0x3fb799['changes']instanceof ChangeSet?_0x3fb799['changes']:ChangeSet['of'](_0x3fb799['changes']||[],_0x25b80c,_0xb8d4f['facet'](V_)),'selection':_0x3e9fb7&&(_0x3e9fb7 instanceof EditorSelection?_0x3e9fb7:EditorSelection['single'](_0x3e9fb7['anchor'],_0x3e9fb7['head'])),'effects':W_(_0x3fb799['effects']),'annotations':_0x5c53a3,'scrollIntoView':!!_0x3fb799['scrollIntoView']};}function X_(_0x1337df,_0x4fce5c,_0x11c771){let _0x5ee682=Z_(_0x1337df,_0x4fce5c['length']?_0x4fce5c[0x0]:{},_0x1337df['doc']['length']);_0x4fce5c['length']&&!0x1===_0x4fce5c[0x0]['filter']&&(_0x11c771=!0x1);for(let _0x6e6524=0x1;_0x6e6524<_0x4fce5c['length'];_0x6e6524++){!0x1===_0x4fce5c[_0x6e6524]['filter']&&(_0x11c771=!0x1);let _0x49533f=!!_0x4fce5c[_0x6e6524]['sequential'];_0x5ee682=G_(_0x5ee682,Z_(_0x1337df,_0x4fce5c[_0x6e6524],_0x49533f?_0x5ee682['changes']['newLength']:_0x1337df['doc']['length']),_0x49533f);}let _0x5485ac=Transaction['create'](_0x1337df,_0x5ee682['changes'],_0x5ee682['selection'],_0x5ee682['effects'],_0x5ee682['annotations'],_0x5ee682['scrollIntoView']);return function(_0x24d8b1){let _0x17eb00=_0x24d8b1['startState'],_0x13edcc=_0x17eb00['facet'](F_),_0x8379cd=_0x24d8b1;for(let _0x397c69=_0x13edcc['length']-0x1;_0x397c69>=0x0;_0x397c69--){let _0x34c839=_0x13edcc[_0x397c69](_0x24d8b1);_0x34c839&&Object['keys'](_0x34c839)['length']&&(_0x8379cd=G_(_0x8379cd,Z_(_0x17eb00,_0x34c839,_0x24d8b1['changes']['newLength']),!0x0));}return _0x8379cd==_0x24d8b1?_0x24d8b1:Transaction['create'](_0x17eb00,_0x24d8b1['changes'],_0x24d8b1['selection'],_0x8379cd['effects'],_0x8379cd['annotations'],_0x8379cd['scrollIntoView']);}(_0x11c771?function(_0x5f19c3){let _0x23d507=_0x5f19c3['startState'],_0x172fd1=!0x0;for(let _0x23f636 of _0x23d507['facet'](U_)){let _0x4bb68e=_0x23f636(_0x5f19c3);if(!0x1===_0x4bb68e){_0x172fd1=!0x1;break;}Array['isArray'](_0x4bb68e)&&(_0x172fd1=!0x0===_0x172fd1?_0x4bb68e:H_(_0x172fd1,_0x4bb68e));}if(!0x0!==_0x172fd1){let _0x87cdd1,_0x3e3efc;if(!0x1===_0x172fd1)_0x3e3efc=_0x5f19c3['changes']['invertedDesc'],_0x87cdd1=ChangeSet['empty'](_0x23d507['doc']['length']);else{let _0x24b99f=_0x5f19c3['changes']['filter'](_0x172fd1);_0x87cdd1=_0x24b99f['changes'],_0x3e3efc=_0x24b99f['filtered']['mapDesc'](_0x24b99f['changes'])['invertedDesc'];}_0x5f19c3=Transaction['create'](_0x23d507,_0x87cdd1,_0x5f19c3['selection']&&_0x5f19c3['selection']['map'](_0x3e3efc),StateEffect['mapEffects'](_0x5f19c3['effects'],_0x3e3efc),_0x5f19c3['annotations'],_0x5f19c3['scrollIntoView']);}let _0x45ef5c=_0x23d507['facet'](B_);for(let _0x4e5865=_0x45ef5c['length']-0x1;_0x4e5865>=0x0;_0x4e5865--){let _0x1095bc=_0x45ef5c[_0x4e5865](_0x5f19c3);_0x5f19c3=_0x1095bc instanceof Transaction?_0x1095bc:Array['isArray'](_0x1095bc)&&0x1==_0x1095bc['length']&&_0x1095bc[0x0]instanceof Transaction?_0x1095bc[0x0]:X_(_0x23d507,W_(_0x1095bc),!0x1);}return _0x5f19c3;}(_0x5485ac):_0x5485ac);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const q_=[];function W_(_0x33cdee){return null==_0x33cdee?q_:Array['isArray'](_0x33cdee)?_0x33cdee:[_0x33cdee];}var z_=function(_0x21043a){return _0x21043a[_0x21043a['Word']=0x0]='Word',_0x21043a[_0x21043a['Space']=0x1]='Space',_0x21043a[_0x21043a['Other']=0x2]='Other',_0x21043a;}(z_||(z_={}));const Y_=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let K_;try{K_=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x4a23b7){}function J_(_0x42acae){return _0x41dde2=>{if(!/\S/['test'](_0x41dde2))return z_['Space'];if(function(_0x299d0f){if(K_)return K_['test'](_0x299d0f);for(let _0x3d5ea6=0x0;_0x3d5ea6<_0x299d0f['length'];_0x3d5ea6++){let _0x2f309f=_0x299d0f[_0x3d5ea6];if(/\w/['test'](_0x2f309f)||_0x2f309f>'\u0080'&&(_0x2f309f['toUpperCase']()!=_0x2f309f['toLowerCase']()||Y_['test'](_0x2f309f)))return!0x0;}return!0x1;}(_0x41dde2))return z_['Word'];for(let _0x3551c6=0x0;_0x3551c6<_0x42acae['length'];_0x3551c6++)if(_0x41dde2['indexOf'](_0x42acae[_0x3551c6])>-0x1)return z_['Word'];return z_['Other'];};}class EditorState{constructor(_0x4ec912,_0x308015,_0x1f9d7c,_0x319ddd,_0x19d0df,_0x568010){this['config']=_0x4ec912,this['doc']=_0x308015,this['selection']=_0x1f9d7c,this['values']=_0x319ddd,this['status']=_0x4ec912['statusTemplate']['slice'](),this['computeSlot']=_0x19d0df,_0x568010&&(_0x568010['_state']=this);for(let _0x4e4c8e=0x0;_0x4e4c8e<this['config']['dynamicSlots']['length'];_0x4e4c8e++)L_(this,_0x4e4c8e<<0x1);this['computeSlot']=null;}['field'](_0x5b8f5b,_0x3ac2fb=!0x0){let _0x254ccc=this['config']['address'][_0x5b8f5b['id']];if(null!=_0x254ccc)return L_(this,_0x254ccc),$_(this,_0x254ccc);if(_0x3ac2fb)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x58a20f){return X_(this,_0x58a20f,!0x0);}['applyTransaction'](_0x3b0177){let _0x5c8e25,_0x5daf25=this['config'],{base:_0x457d95,compartments:_0xd9cbb2}=_0x5daf25;for(let _0x4f7e8b of _0x3b0177['effects'])_0x4f7e8b['is'](Compartment['reconfigure'])?(_0x5daf25&&(_0xd9cbb2=new Map(),_0x5daf25['compartments']['forEach']((_0x4edff1,_0x279f14)=>_0xd9cbb2['set'](_0x279f14,_0x4edff1)),_0x5daf25=null),_0xd9cbb2['set'](_0x4f7e8b['value']['compartment'],_0x4f7e8b['value']['extension'])):_0x4f7e8b['is'](StateEffect['reconfigure'])?(_0x5daf25=null,_0x457d95=_0x4f7e8b['value']):_0x4f7e8b['is'](StateEffect['appendConfig'])&&(_0x5daf25=null,_0x457d95=W_(_0x457d95)['concat'](_0x4f7e8b['value']));if(_0x5daf25)_0x5c8e25=_0x3b0177['startState']['values']['slice']();else _0x5daf25=Configuration['resolve'](_0x457d95,_0xd9cbb2,this),_0x5c8e25=new EditorState(_0x5daf25,this['doc'],this['selection'],_0x5daf25['dynamicSlots']['map'](()=>null),(_0x32d403,_0x35217b)=>_0x35217b['reconfigure'](_0x32d403,this),null)['values'];let _0x1a74b7=_0x3b0177['startState']['facet'](Q_)?_0x3b0177['newSelection']:_0x3b0177['newSelection']['asSingle']();new EditorState(_0x5daf25,_0x3b0177['newDoc'],_0x1a74b7,_0x5c8e25,(_0x3e6d5d,_0x1a121a)=>_0x1a121a['update'](_0x3e6d5d,_0x3b0177),_0x3b0177);}['replaceSelection'](_0x4b50fc){return'string'==typeof _0x4b50fc&&(_0x4b50fc=this['toText'](_0x4b50fc)),this['changeByRange'](_0x57d426=>({'changes':{'from':_0x57d426['from'],'to':_0x57d426['to'],'insert':_0x4b50fc},'range':EditorSelection['cursor'](_0x57d426['from']+_0x4b50fc['length'])}));}['changeByRange'](_0x56e228){let _0x34ba56=this['selection'],_0x5d5afc=_0x56e228(_0x34ba56['ranges'][0x0]),_0x379a78=this['changes'](_0x5d5afc['changes']),_0x2e8b86=[_0x5d5afc['range']],_0x3e7530=W_(_0x5d5afc['effects']);for(let _0x1d03a2=0x1;_0x1d03a2<_0x34ba56['ranges']['length'];_0x1d03a2++){let _0x56678c=_0x56e228(_0x34ba56['ranges'][_0x1d03a2]),_0x546ec3=this['changes'](_0x56678c['changes']),_0x2258f6=_0x546ec3['map'](_0x379a78);for(let _0x299593=0x0;_0x299593<_0x1d03a2;_0x299593++)_0x2e8b86[_0x299593]=_0x2e8b86[_0x299593]['map'](_0x2258f6);let _0x11984d=_0x379a78['mapDesc'](_0x546ec3,!0x0);_0x2e8b86['push'](_0x56678c['range']['map'](_0x11984d)),_0x379a78=_0x379a78['compose'](_0x2258f6),_0x3e7530=StateEffect['mapEffects'](_0x3e7530,_0x2258f6)['concat'](StateEffect['mapEffects'](W_(_0x56678c['effects']),_0x11984d));}return{'changes':_0x379a78,'selection':EditorSelection['create'](_0x2e8b86,_0x34ba56['mainIndex']),'effects':_0x3e7530};}['changes'](_0x1c6842=[]){return _0x1c6842 instanceof ChangeSet?_0x1c6842:ChangeSet['of'](_0x1c6842,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x395d50){return o_['of'](_0x395d50['split'](this['facet'](EditorState['lineSeparator'])||g_));}['sliceDoc'](_0x4ffc06=0x0,_0x344fe8=this['doc']['length']){return this['doc']['sliceString'](_0x4ffc06,_0x344fe8,this['lineBreak']);}['facet'](_0x215b40){let _0x4b5ff9=this['config']['address'][_0x215b40['id']];return null==_0x4b5ff9?_0x215b40['default']:(L_(this,_0x4b5ff9),$_(this,_0x4b5ff9));}['toJSON'](_0x39a2a3){let _0x502f15={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x39a2a3)for(let _0x41f304 in _0x39a2a3){let _0x2e2308=_0x39a2a3[_0x41f304];_0x2e2308 instanceof StateField&&null!=this['config']['address'][_0x2e2308['id']]&&(_0x502f15[_0x41f304]=_0x2e2308['spec']['toJSON'](this['field'](_0x39a2a3[_0x41f304]),this));}return _0x502f15;}static['fromJSON'](_0x2bfcfe,_0x5365d4={},_0x495031){if(!_0x2bfcfe||'string'!=typeof _0x2bfcfe['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x29b3ba=[];if(_0x495031){for(let _0x427640 in _0x495031)if(Object['prototype']['hasOwnProperty']['call'](_0x2bfcfe,_0x427640)){let _0x2863e5=_0x495031[_0x427640],_0x389856=_0x2bfcfe[_0x427640];_0x29b3ba['push'](_0x2863e5['init'](_0xdbcac8=>_0x2863e5['spec']['fromJSON'](_0x389856,_0xdbcac8)));}}return EditorState['create']({'doc':_0x2bfcfe['doc'],'selection':EditorSelection['fromJSON'](_0x2bfcfe['selection']),'extensions':_0x5365d4['extensions']?_0x29b3ba['concat']([_0x5365d4['extensions']]):_0x29b3ba});}static['create'](_0x2a6765={}){let _0x5cae2a=Configuration['resolve'](_0x2a6765['extensions']||[],new Map()),_0x484a14=_0x2a6765['doc']instanceof o_?_0x2a6765['doc']:o_['of']((_0x2a6765['doc']||'')['split'](_0x5cae2a['staticFacet'](EditorState['lineSeparator'])||g_)),_0x4802b9=_0x2a6765['selection']?_0x2a6765['selection']instanceof EditorSelection?_0x2a6765['selection']:EditorSelection['single'](_0x2a6765['selection']['anchor'],_0x2a6765['selection']['head']):EditorSelection['single'](0x0);return __(_0x4802b9,_0x484a14['length']),_0x5cae2a['staticFacet'](Q_)||(_0x4802b9=_0x4802b9['asSingle']()),new EditorState(_0x5cae2a,_0x484a14,_0x4802b9,_0x5cae2a['dynamicSlots']['map'](()=>null),(_0x221c1e,_0x3f7545)=>_0x3f7545['create'](_0x221c1e),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](j_);}['phrase'](_0x587d7d,..._0x185c39){for(let _0x56df58 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x56df58,_0x587d7d)){_0x587d7d=_0x56df58[_0x587d7d];break;}return _0x185c39['length']&&(_0x587d7d=_0x587d7d['replace'](/\$(\$|\d*)/g,(_0xdff337,_0x47b3cc)=>{if('$'==_0x47b3cc)return'$';let _0x54cc77=+(_0x47b3cc||0x1);return!_0x54cc77||_0x54cc77>_0x185c39['length']?_0xdff337:_0x185c39[_0x54cc77-0x1];})),_0x587d7d;}['languageDataAt'](_0x41cdce,_0x32c308,_0x3c20aa=-0x1){let _0x2fb16e=[];for(let _0x257fc5 of this['facet'](D_))for(let _0x3a5e7a of _0x257fc5(this,_0x32c308,_0x3c20aa))Object['prototype']['hasOwnProperty']['call'](_0x3a5e7a,_0x41cdce)&&_0x2fb16e['push'](_0x3a5e7a[_0x41cdce]);return _0x2fb16e;}['charCategorizer'](_0x1aef4f){return J_(this['languageDataAt']('wordChars',_0x1aef4f)['join'](''));}['wordAt'](_0x59913a){let {text:_0xd2080d,from:_0x3ea5e7,length:_0x2c96a1}=this['doc']['lineAt'](_0x59913a),_0x1093f0=this['charCategorizer'](_0x59913a),_0x4d265f=_0x59913a-_0x3ea5e7,_0x4d378c=_0x59913a-_0x3ea5e7;for(;_0x4d265f>0x0;){let _0x2bf7e4=u_(_0xd2080d,_0x4d265f,!0x1);if(_0x1093f0(_0xd2080d['slice'](_0x2bf7e4,_0x4d265f))!=z_['Word'])break;_0x4d265f=_0x2bf7e4;}for(;_0x4d378c<_0x2c96a1;){let _0x2ce3dc=u_(_0xd2080d,_0x4d378c);if(_0x1093f0(_0xd2080d['slice'](_0x4d378c,_0x2ce3dc))!=z_['Word'])break;_0x4d378c=_0x2ce3dc;}return _0x4d265f==_0x4d378c?null:EditorSelection['range'](_0x4d265f+_0x3ea5e7,_0x4d378c+_0x3ea5e7);}}function tE(_0x58118c,_0x18f73f,_0x1e0c63={}){let _0x54be71={};for(let _0x115a48 of _0x58118c)for(let _0x209f0b of Object['keys'](_0x115a48)){let _0x5037b6=_0x115a48[_0x209f0b],_0x440293=_0x54be71[_0x209f0b];if(void 0x0===_0x440293)_0x54be71[_0x209f0b]=_0x5037b6;else{if(_0x440293===_0x5037b6||void 0x0===_0x5037b6);else{if(!Object['hasOwnProperty']['call'](_0x1e0c63,_0x209f0b))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x209f0b);_0x54be71[_0x209f0b]=_0x1e0c63[_0x209f0b](_0x440293,_0x5037b6);}}}for(let _0x2a148c in _0x18f73f)void 0x0===_0x54be71[_0x2a148c]&&(_0x54be71[_0x2a148c]=_0x18f73f[_0x2a148c]);return _0x54be71;}EditorState['allowMultipleSelections']=Q_,EditorState['tabSize']=Facet['define']({'combine':_0x372c37=>_0x372c37['length']?_0x372c37[0x0]:0x4}),EditorState['lineSeparator']=V_,EditorState['readOnly']=j_,EditorState['phrases']=Facet['define']({'compare'(_0x47d422,_0x5ab827){let _0x1596cb=Object['keys'](_0x47d422),_0x5e323c=Object['keys'](_0x5ab827);return _0x1596cb['length']==_0x5e323c['length']&&_0x1596cb['every'](_0x44d1c2=>_0x47d422[_0x44d1c2]==_0x5ab827[_0x44d1c2]);}}),EditorState['languageData']=D_,EditorState['changeFilter']=U_,EditorState['transactionFilter']=B_,EditorState['transactionExtender']=F_,Compartment['reconfigure']=StateEffect['define']();class RangeValue{['eq'](_0x58f98d){return this==_0x58f98d;}['range'](_0x3e69e6,_0x3f0cc9=_0x3e69e6){return eE['create'](_0x3e69e6,_0x3f0cc9,this);}}RangeValue['prototype']['startSide']=RangeValue['prototype']['endSide']=0x0,RangeValue['prototype']['point']=!0x1,RangeValue['prototype']['mapMode']=p_['TrackDel'];let eE=class Range{constructor(_0x4ff913,_0x571dac,_0x564313){this['from']=_0x4ff913,this['to']=_0x571dac,this['value']=_0x564313;}static['create'](_0xb68201,_0x3388d6,_0x47b767){return new Range(_0xb68201,_0x3388d6,_0x47b767);}};function iE(_0x3bc1a8,_0x3a9cf6){return _0x3bc1a8['from']-_0x3a9cf6['from']||_0x3bc1a8['value']['startSide']-_0x3a9cf6['value']['startSide'];}class Chunk{constructor(_0x39df8e,_0x39fc51,_0x173bdf,_0xd3c8af){this['from']=_0x39df8e,this['to']=_0x39fc51,this['value']=_0x173bdf,this['maxPoint']=_0xd3c8af;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x1990d1,_0x1fa3aa,_0x36d230,_0x59bc70=0x0){let _0x1e5e41=_0x36d230?this['to']:this['from'];for(let _0xf40c76=_0x59bc70,_0x5f4a46=_0x1e5e41['length'];;){if(_0xf40c76==_0x5f4a46)return _0xf40c76;let _0x5eb5ae=_0xf40c76+_0x5f4a46>>0x1,_0x2d7768=_0x1e5e41[_0x5eb5ae]-_0x1990d1||(_0x36d230?this['value'][_0x5eb5ae]['endSide']:this['value'][_0x5eb5ae]['startSide'])-_0x1fa3aa;if(_0x5eb5ae==_0xf40c76)return _0x2d7768>=0x0?_0xf40c76:_0x5f4a46;_0x2d7768>=0x0?_0x5f4a46=_0x5eb5ae:_0xf40c76=_0x5eb5ae+0x1;}}['between'](_0x42ec27,_0x46c67c,_0x1f9638,_0x3578fc){for(let _0x9eec2d=this['findIndex'](_0x46c67c,-0x3b9aca00,!0x0),_0x49d3b2=this['findIndex'](_0x1f9638,0x3b9aca00,!0x1,_0x9eec2d);_0x9eec2d<_0x49d3b2;_0x9eec2d++)if(!0x1===_0x3578fc(this['from'][_0x9eec2d]+_0x42ec27,this['to'][_0x9eec2d]+_0x42ec27,this['value'][_0x9eec2d]))return!0x1;}['map'](_0x2f2416,_0x468b5e){let _0x29617b=[],_0x3bdc92=[],_0x277e85=[],_0x5edb33=-0x1,_0x30bc5f=-0x1;for(let _0x19a9a4=0x0;_0x19a9a4<this['value']['length'];_0x19a9a4++){let _0x400068,_0x375dd3,_0x613460=this['value'][_0x19a9a4],_0x25e967=this['from'][_0x19a9a4]+_0x2f2416,_0x2b91f0=this['to'][_0x19a9a4]+_0x2f2416;if(_0x25e967==_0x2b91f0){let _0x50b449=_0x468b5e['mapPos'](_0x25e967,_0x613460['startSide'],_0x613460['mapMode']);if(null==_0x50b449)continue;if(_0x400068=_0x375dd3=_0x50b449,_0x613460['startSide']!=_0x613460['endSide']&&(_0x375dd3=_0x468b5e['mapPos'](_0x25e967,_0x613460['endSide']),_0x375dd3<_0x400068))continue;}else{if(_0x400068=_0x468b5e['mapPos'](_0x25e967,_0x613460['startSide']),_0x375dd3=_0x468b5e['mapPos'](_0x2b91f0,_0x613460['endSide']),_0x400068>_0x375dd3||_0x400068==_0x375dd3&&_0x613460['startSide']>0x0&&_0x613460['endSide']<=0x0)continue;}(_0x375dd3-_0x400068||_0x613460['endSide']-_0x613460['startSide'])<0x0||(_0x5edb33<0x0&&(_0x5edb33=_0x400068),_0x613460['point']&&(_0x30bc5f=Math['max'](_0x30bc5f,_0x375dd3-_0x400068)),_0x29617b['push'](_0x613460),_0x3bdc92['push'](_0x400068-_0x5edb33),_0x277e85['push'](_0x375dd3-_0x5edb33));}return{'mapped':_0x29617b['length']?new Chunk(_0x3bdc92,_0x277e85,_0x29617b,_0x30bc5f):null,'pos':_0x5edb33};}}class RangeSet{constructor(_0x1973a3,_0x5be3db,_0x2eb322,_0x5b671d){this['chunkPos']=_0x1973a3,this['chunk']=_0x5be3db,this['nextLayer']=_0x2eb322,this['maxPoint']=_0x5b671d;}static['create'](_0x604524,_0xa8b329,_0x24a6e9,_0x965f13){return new RangeSet(_0x604524,_0xa8b329,_0x24a6e9,_0x965f13);}get['length'](){let _0x4ffcca=this['chunk']['length']-0x1;return _0x4ffcca<0x0?0x0:Math['max'](this['chunkEnd'](_0x4ffcca),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x11fcff=this['nextLayer']['size'];for(let _0x2db1d3 of this['chunk'])_0x11fcff+=_0x2db1d3['value']['length'];return _0x11fcff;}['chunkEnd'](_0x3e1c48){return this['chunkPos'][_0x3e1c48]+this['chunk'][_0x3e1c48]['length'];}['update'](_0x51b13e){let {add:_0x2c7e99=[],sort:_0xd7ca7b=!0x1,filterFrom:_0x37db89=0x0,filterTo:_0x542d4f=this['length']}=_0x51b13e,_0x4a764b=_0x51b13e['filter'];if(0x0==_0x2c7e99['length']&&!_0x4a764b)return this;if(_0xd7ca7b&&(_0x2c7e99=_0x2c7e99['slice']()['sort'](iE)),this['isEmpty'])return _0x2c7e99['length']?RangeSet['of'](_0x2c7e99):this;let _0x4739d7=new LayerCursor(this,null,-0x1)['goto'](0x0),_0x500742=0x0,_0x25f791=[],_0x5c73e6=new RangeSetBuilder();for(;_0x4739d7['value']||_0x500742<_0x2c7e99['length'];)if(_0x500742<_0x2c7e99['length']&&(_0x4739d7['from']-_0x2c7e99[_0x500742]['from']||_0x4739d7['startSide']-_0x2c7e99[_0x500742]['value']['startSide'])>=0x0){let _0x409112=_0x2c7e99[_0x500742++];_0x5c73e6['addInner'](_0x409112['from'],_0x409112['to'],_0x409112['value'])||_0x25f791['push'](_0x409112);}else 0x1==_0x4739d7['rangeIndex']&&_0x4739d7['chunkIndex']<this['chunk']['length']&&(_0x500742==_0x2c7e99['length']||this['chunkEnd'](_0x4739d7['chunkIndex'])<_0x2c7e99[_0x500742]['from'])&&(!_0x4a764b||_0x37db89>this['chunkEnd'](_0x4739d7['chunkIndex'])||_0x542d4f<this['chunkPos'][_0x4739d7['chunkIndex']])&&_0x5c73e6['addChunk'](this['chunkPos'][_0x4739d7['chunkIndex']],this['chunk'][_0x4739d7['chunkIndex']])?_0x4739d7['nextChunk']():((!_0x4a764b||_0x37db89>_0x4739d7['to']||_0x542d4f<_0x4739d7['from']||_0x4a764b(_0x4739d7['from'],_0x4739d7['to'],_0x4739d7['value']))&&(_0x5c73e6['addInner'](_0x4739d7['from'],_0x4739d7['to'],_0x4739d7['value'])||_0x25f791['push'](eE['create'](_0x4739d7['from'],_0x4739d7['to'],_0x4739d7['value']))),_0x4739d7['next']());return _0x5c73e6['finishInner'](this['nextLayer']['isEmpty']&&!_0x25f791['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x25f791,'filter':_0x4a764b,'filterFrom':_0x37db89,'filterTo':_0x542d4f}));}['map'](_0x5a2c7e){if(_0x5a2c7e['empty']||this['isEmpty'])return this;let _0x10ea62=[],_0x2ac6b4=[],_0x485cbf=-0x1;for(let _0x2d1b1e=0x0;_0x2d1b1e<this['chunk']['length'];_0x2d1b1e++){let _0x281e27=this['chunkPos'][_0x2d1b1e],_0x3ff728=this['chunk'][_0x2d1b1e],_0x5c4a08=_0x5a2c7e['touchesRange'](_0x281e27,_0x281e27+_0x3ff728['length']);if(!0x1===_0x5c4a08)_0x485cbf=Math['max'](_0x485cbf,_0x3ff728['maxPoint']),_0x10ea62['push'](_0x3ff728),_0x2ac6b4['push'](_0x5a2c7e['mapPos'](_0x281e27));else{if(!0x0===_0x5c4a08){let {mapped:_0x140604,pos:_0x30027e}=_0x3ff728['map'](_0x281e27,_0x5a2c7e);_0x140604&&(_0x485cbf=Math['max'](_0x485cbf,_0x140604['maxPoint']),_0x10ea62['push'](_0x140604),_0x2ac6b4['push'](_0x30027e));}}}let _0x21bf64=this['nextLayer']['map'](_0x5a2c7e);return 0x0==_0x10ea62['length']?_0x21bf64:new RangeSet(_0x2ac6b4,_0x10ea62,_0x21bf64||RangeSet['empty'],_0x485cbf);}['between'](_0x23b596,_0x2d6ce5,_0x5a183f){if(!this['isEmpty']){for(let _0x15483a=0x0;_0x15483a<this['chunk']['length'];_0x15483a++){let _0x3370c2=this['chunkPos'][_0x15483a],_0x29ab2d=this['chunk'][_0x15483a];if(_0x2d6ce5>=_0x3370c2&&_0x23b596<=_0x3370c2+_0x29ab2d['length']&&!0x1===_0x29ab2d['between'](_0x3370c2,_0x23b596-_0x3370c2,_0x2d6ce5-_0x3370c2,_0x5a183f))return;}this['nextLayer']['between'](_0x23b596,_0x2d6ce5,_0x5a183f);}}['iter'](_0x5d732c=0x0){return HeapCursor['from']([this])['goto'](_0x5d732c);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x5177c6,_0xb9b2e1=0x0){return HeapCursor['from'](_0x5177c6)['goto'](_0xb9b2e1);}static['compare'](_0x2f22c1,_0x4105aa,_0x931921,_0x27c24f,_0x30f4a9=-0x1){let _0x419ec8=_0x2f22c1['filter'](_0x98773f=>_0x98773f['maxPoint']>0x0||!_0x98773f['isEmpty']&&_0x98773f['maxPoint']>=_0x30f4a9),_0x1d4dcd=_0x4105aa['filter'](_0x1b660e=>_0x1b660e['maxPoint']>0x0||!_0x1b660e['isEmpty']&&_0x1b660e['maxPoint']>=_0x30f4a9),_0x54867e=sE(_0x419ec8,_0x1d4dcd,_0x931921),_0x52487=new SpanCursor(_0x419ec8,_0x54867e,_0x30f4a9),_0x2f3d6a=new SpanCursor(_0x1d4dcd,_0x54867e,_0x30f4a9);_0x931921['iterGaps']((_0x45241d,_0x2eec0f,_0x35cf3e)=>rE(_0x52487,_0x45241d,_0x2f3d6a,_0x2eec0f,_0x35cf3e,_0x27c24f)),_0x931921['empty']&&0x0==_0x931921['length']&&rE(_0x52487,0x0,_0x2f3d6a,0x0,0x0,_0x27c24f);}static['eq'](_0x12fe9a,_0x920475,_0x106e7d=0x0,_0x5dbbf0){null==_0x5dbbf0&&(_0x5dbbf0=0x3b9ac9ff);let _0x40f571=_0x12fe9a['filter'](_0x3abf39=>!_0x3abf39['isEmpty']&&_0x920475['indexOf'](_0x3abf39)<0x0),_0x1ede96=_0x920475['filter'](_0x45d1ae=>!_0x45d1ae['isEmpty']&&_0x12fe9a['indexOf'](_0x45d1ae)<0x0);if(_0x40f571['length']!=_0x1ede96['length'])return!0x1;if(!_0x40f571['length'])return!0x0;let _0x3d2f00=sE(_0x40f571,_0x1ede96),_0x254eff=new SpanCursor(_0x40f571,_0x3d2f00,0x0)['goto'](_0x106e7d),_0x8b24de=new SpanCursor(_0x1ede96,_0x3d2f00,0x0)['goto'](_0x106e7d);for(;;){if(_0x254eff['to']!=_0x8b24de['to']||!oE(_0x254eff['active'],_0x8b24de['active'])||_0x254eff['point']&&(!_0x8b24de['point']||!_0x254eff['point']['eq'](_0x8b24de['point'])))return!0x1;if(_0x254eff['to']>_0x5dbbf0)return!0x0;_0x254eff['next'](),_0x8b24de['next']();}}static['spans'](_0x337e08,_0x10df13,_0x1b2ff2,_0x570197,_0x2bdcf1=-0x1){let _0x268a0b=new SpanCursor(_0x337e08,null,_0x2bdcf1)['goto'](_0x10df13),_0x4ac03d=_0x10df13,_0x4cfff2=_0x268a0b['openStart'];for(;;){let _0x3eea53=Math['min'](_0x268a0b['to'],_0x1b2ff2);if(_0x268a0b['point']){let _0x3dc8d2=_0x268a0b['activeForPoint'](_0x268a0b['to']),_0x533d0c=_0x268a0b['pointFrom']<_0x10df13?_0x3dc8d2['length']+0x1:_0x268a0b['point']['startSide']<0x0?_0x3dc8d2['length']:Math['min'](_0x3dc8d2['length'],_0x4cfff2);_0x570197['point'](_0x4ac03d,_0x3eea53,_0x268a0b['point'],_0x3dc8d2,_0x533d0c,_0x268a0b['pointRank']),_0x4cfff2=Math['min'](_0x268a0b['openEnd'](_0x3eea53),_0x3dc8d2['length']);}else _0x3eea53>_0x4ac03d&&(_0x570197['span'](_0x4ac03d,_0x3eea53,_0x268a0b['active'],_0x4cfff2),_0x4cfff2=_0x268a0b['openEnd'](_0x3eea53));if(_0x268a0b['to']>_0x1b2ff2)return _0x4cfff2+(_0x268a0b['point']&&_0x268a0b['to']>_0x1b2ff2?0x1:0x0);_0x4ac03d=_0x268a0b['to'],_0x268a0b['next']();}}static['of'](_0x5dfa84,_0x1ade9c=!0x1){let _0x8121e9=new RangeSetBuilder();for(let _0x3c8586 of _0x5dfa84 instanceof eE?[_0x5dfa84]:_0x1ade9c?function(_0x257b8e){if(_0x257b8e['length']>0x1)for(let _0x2d2f10=_0x257b8e[0x0],_0xa487cb=0x1;_0xa487cb<_0x257b8e['length'];_0xa487cb++){let _0x2a9ddf=_0x257b8e[_0xa487cb];if(iE(_0x2d2f10,_0x2a9ddf)>0x0)return _0x257b8e['slice']()['sort'](iE);_0x2d2f10=_0x2a9ddf;}return _0x257b8e;}(_0x5dfa84):_0x5dfa84)_0x8121e9['add'](_0x3c8586['from'],_0x3c8586['to'],_0x3c8586['value']);return _0x8121e9['finish']();}static['join'](_0xffcb6c){if(!_0xffcb6c['length'])return RangeSet['empty'];let _0x436117=_0xffcb6c[_0xffcb6c['length']-0x1];for(let _0x1efde2=_0xffcb6c['length']-0x2;_0x1efde2>=0x0;_0x1efde2--)for(let _0x26e308=_0xffcb6c[_0x1efde2];_0x26e308!=RangeSet['empty'];_0x26e308=_0x26e308['nextLayer'])_0x436117=new RangeSet(_0x26e308['chunkPos'],_0x26e308['chunk'],_0x436117,Math['max'](_0x26e308['maxPoint'],_0x436117['maxPoint']));return _0x436117;}}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x6df8a4){this['chunks']['push'](new Chunk(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,_0x6df8a4&&(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'](_0x212473,_0x2975e6,_0x137fe8){this['addInner'](_0x212473,_0x2975e6,_0x137fe8)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x212473,_0x2975e6,_0x137fe8);}['addInner'](_0x48855b,_0x233168,_0x253c33){let _0x3fa318=_0x48855b-this['lastTo']||_0x253c33['startSide']-this['last']['endSide'];if(_0x3fa318<=0x0&&(_0x48855b-this['lastFrom']||_0x253c33['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x3fa318<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x48855b),this['from']['push'](_0x48855b-this['chunkStart']),this['to']['push'](_0x233168-this['chunkStart']),this['last']=_0x253c33,this['lastFrom']=_0x48855b,this['lastTo']=_0x233168,this['value']['push'](_0x253c33),_0x253c33['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x233168-_0x48855b)),!0x0);}['addChunk'](_0xcb956c,_0x5ee97d){if((_0xcb956c-this['lastTo']||_0x5ee97d['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x5ee97d['maxPoint']),this['chunks']['push'](_0x5ee97d),this['chunkPos']['push'](_0xcb956c);let _0x3b5be3=_0x5ee97d['value']['length']-0x1;return this['last']=_0x5ee97d['value'][_0x3b5be3],this['lastFrom']=_0x5ee97d['from'][_0x3b5be3]+_0xcb956c,this['lastTo']=_0x5ee97d['to'][_0x3b5be3]+_0xcb956c,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x13b923){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x13b923;let _0x1d5c4e=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x13b923):_0x13b923,this['setMaxPoint']);return this['from']=null,_0x1d5c4e;}}function sE(_0xec5bd7,_0x4798f2,_0xb9e4ca){let _0x377d01=new Map();for(let _0x42be36 of _0xec5bd7)for(let _0x2eb6bd=0x0;_0x2eb6bd<_0x42be36['chunk']['length'];_0x2eb6bd++)_0x42be36['chunk'][_0x2eb6bd]['maxPoint']<=0x0&&_0x377d01['set'](_0x42be36['chunk'][_0x2eb6bd],_0x42be36['chunkPos'][_0x2eb6bd]);let _0xd50e8f=new Set();for(let _0xa865ea of _0x4798f2)for(let _0x9f1e2b=0x0;_0x9f1e2b<_0xa865ea['chunk']['length'];_0x9f1e2b++){let _0x20d7ff=_0x377d01['get'](_0xa865ea['chunk'][_0x9f1e2b]);null==_0x20d7ff||(_0xb9e4ca?_0xb9e4ca['mapPos'](_0x20d7ff):_0x20d7ff)!=_0xa865ea['chunkPos'][_0x9f1e2b]||(null==_0xb9e4ca?void 0x0:_0xb9e4ca['touchesRange'](_0x20d7ff,_0x20d7ff+_0xa865ea['chunk'][_0x9f1e2b]['length']))||_0xd50e8f['add'](_0xa865ea['chunk'][_0x9f1e2b]);}return _0xd50e8f;}class LayerCursor{constructor(_0x278684,_0x433568,_0x4ee9ef,_0x294c35=0x0){this['layer']=_0x278684,this['skip']=_0x433568,this['minPoint']=_0x4ee9ef,this['rank']=_0x294c35;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x14b7d0,_0x24dfcb=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x14b7d0,_0x24dfcb,!0x1),this;}['gotoInner'](_0x1602c,_0x41deb1,_0x415784){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x4269c7=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x4269c7)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x1602c||_0x4269c7['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x415784=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x11d8f4=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x1602c-this['layer']['chunkPos'][this['chunkIndex']],_0x41deb1,!0x0);(!_0x415784||this['rangeIndex']<_0x11d8f4)&&this['setRangeIndex'](_0x11d8f4);}this['next']();}['forward'](_0x3baa94,_0x2776d3){(this['to']-_0x3baa94||this['endSide']-_0x2776d3)<0x0&&this['gotoInner'](_0x3baa94,_0x2776d3,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x2f0072=this['layer']['chunkPos'][this['chunkIndex']],_0x4eba1f=this['layer']['chunk'][this['chunkIndex']],_0x1daa8f=_0x2f0072+_0x4eba1f['from'][this['rangeIndex']];if(this['from']=_0x1daa8f,this['to']=_0x2f0072+_0x4eba1f['to'][this['rangeIndex']],this['value']=_0x4eba1f['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x4c2b95){if(_0x4c2b95==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']=_0x4c2b95;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x374387){return this['from']-_0x374387['from']||this['startSide']-_0x374387['startSide']||this['rank']-_0x374387['rank']||this['to']-_0x374387['to']||this['endSide']-_0x374387['endSide'];}}class HeapCursor{constructor(_0x4f28ab){this['heap']=_0x4f28ab;}static['from'](_0x44c716,_0x495993=null,_0x1ff41b=-0x1){let _0x32cbfe=[];for(let _0x520830=0x0;_0x520830<_0x44c716['length'];_0x520830++)for(let _0x10f5c9=_0x44c716[_0x520830];!_0x10f5c9['isEmpty'];_0x10f5c9=_0x10f5c9['nextLayer'])_0x10f5c9['maxPoint']>=_0x1ff41b&&_0x32cbfe['push'](new LayerCursor(_0x10f5c9,_0x495993,_0x1ff41b,_0x520830));return 0x1==_0x32cbfe['length']?_0x32cbfe[0x0]:new HeapCursor(_0x32cbfe);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x10fcb8,_0x64c43=-0x3b9aca00){for(let _0x8b723c of this['heap'])_0x8b723c['goto'](_0x10fcb8,_0x64c43);for(let _0x3ff1e5=this['heap']['length']>>0x1;_0x3ff1e5>=0x0;_0x3ff1e5--)nE(this['heap'],_0x3ff1e5);return this['next'](),this;}['forward'](_0x4f52cd,_0x473e8a){for(let _0x3ac54a of this['heap'])_0x3ac54a['forward'](_0x4f52cd,_0x473e8a);for(let _0x1f616b=this['heap']['length']>>0x1;_0x1f616b>=0x0;_0x1f616b--)nE(this['heap'],_0x1f616b);(this['to']-_0x4f52cd||this['value']['endSide']-_0x473e8a)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x281f0b=this['heap'][0x0];this['from']=_0x281f0b['from'],this['to']=_0x281f0b['to'],this['value']=_0x281f0b['value'],this['rank']=_0x281f0b['rank'],_0x281f0b['value']&&_0x281f0b['next'](),nE(this['heap'],0x0);}}}function nE(_0x3d3168,_0x116117){for(let _0x1a3429=_0x3d3168[_0x116117];;){let _0x5812e2=0x1+(_0x116117<<0x1);if(_0x5812e2>=_0x3d3168['length'])break;let _0x152fc8=_0x3d3168[_0x5812e2];if(_0x5812e2+0x1<_0x3d3168['length']&&_0x152fc8['compare'](_0x3d3168[_0x5812e2+0x1])>=0x0&&(_0x152fc8=_0x3d3168[_0x5812e2+0x1],_0x5812e2++),_0x1a3429['compare'](_0x152fc8)<0x0)break;_0x3d3168[_0x5812e2]=_0x1a3429,_0x3d3168[_0x116117]=_0x152fc8,_0x116117=_0x5812e2;}}class SpanCursor{constructor(_0x5a60c2,_0x3afe20,_0x1196d2){this['minPoint']=_0x1196d2,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']=HeapCursor['from'](_0x5a60c2,_0x3afe20,_0x1196d2);}['goto'](_0xfd6c4c,_0x509279=-0x3b9aca00){return this['cursor']['goto'](_0xfd6c4c,_0x509279),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0xfd6c4c,this['endSide']=_0x509279,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x3f8c9f,_0x26dda7){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x3f8c9f||this['active'][this['minActive']]['endSide']-_0x26dda7)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x3f8c9f,_0x26dda7);}['removeActive'](_0x5a06a5){aE(this['active'],_0x5a06a5),aE(this['activeTo'],_0x5a06a5),aE(this['activeRank'],_0x5a06a5),this['minActive']=lE(this['active'],this['activeTo']);}['addActive'](_0x5308c1){let _0x5b393f=0x0,{value:_0x517848,to:_0x20b3dd,rank:_0x3d6693}=this['cursor'];for(;_0x5b393f<this['activeRank']['length']&&(_0x3d6693-this['activeRank'][_0x5b393f]||_0x20b3dd-this['activeTo'][_0x5b393f])>0x0;)_0x5b393f++;cE(this['active'],_0x5b393f,_0x517848),cE(this['activeTo'],_0x5b393f,_0x20b3dd),cE(this['activeRank'],_0x5b393f,_0x3d6693),_0x5308c1&&cE(_0x5308c1,_0x5b393f,this['cursor']['from']),this['minActive']=lE(this['active'],this['activeTo']);}['next'](){let _0x39a223=this['to'],_0x4ed468=this['point'];this['point']=null;let _0x4b8b22=this['openStart']<0x0?[]:null;for(;;){let _0x29941c=this['minActive'];if(_0x29941c>-0x1&&(this['activeTo'][_0x29941c]-this['cursor']['from']||this['active'][_0x29941c]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x29941c]>_0x39a223){this['to']=this['activeTo'][_0x29941c],this['endSide']=this['active'][_0x29941c]['endSide'];break;}this['removeActive'](_0x29941c),_0x4b8b22&&aE(_0x4b8b22,_0x29941c);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x39a223){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x188c61=this['cursor']['value'];if(_0x188c61['point']){if(!(_0x4ed468&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x188c61,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x188c61['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x4b8b22),this['cursor']['next']();}}}if(_0x4b8b22){this['openStart']=0x0;for(let _0x48de21=_0x4b8b22['length']-0x1;_0x48de21>=0x0&&_0x4b8b22[_0x48de21]<_0x39a223;_0x48de21--)this['openStart']++;}}['activeForPoint'](_0x4de591){if(!this['active']['length'])return this['active'];let _0x424ddc=[];for(let _0x2aa5cc=this['active']['length']-0x1;_0x2aa5cc>=0x0&&!(this['activeRank'][_0x2aa5cc]<this['pointRank']);_0x2aa5cc--)(this['activeTo'][_0x2aa5cc]>_0x4de591||this['activeTo'][_0x2aa5cc]==_0x4de591&&this['active'][_0x2aa5cc]['endSide']>=this['point']['endSide'])&&_0x424ddc['push'](this['active'][_0x2aa5cc]);return _0x424ddc['reverse']();}['openEnd'](_0xcfc660){let _0x350a98=0x0;for(let _0x4bb294=this['activeTo']['length']-0x1;_0x4bb294>=0x0&&this['activeTo'][_0x4bb294]>_0xcfc660;_0x4bb294--)_0x350a98++;return _0x350a98;}}function rE(_0x3dae03,_0x13e9ca,_0x716632,_0xf8faa5,_0x16cf49,_0x5bc6a5){_0x3dae03['goto'](_0x13e9ca),_0x716632['goto'](_0xf8faa5);let _0xdf17c0=_0xf8faa5+_0x16cf49,_0x57f969=_0xf8faa5,_0x4ac3fa=_0xf8faa5-_0x13e9ca;for(;;){let _0xcd9974=_0x3dae03['to']+_0x4ac3fa-_0x716632['to'],_0x278fb5=_0xcd9974||_0x3dae03['endSide']-_0x716632['endSide'],_0x4e4244=_0x278fb5<0x0?_0x3dae03['to']+_0x4ac3fa:_0x716632['to'],_0x12cef1=Math['min'](_0x4e4244,_0xdf17c0);if(_0x3dae03['point']||_0x716632['point']?_0x3dae03['point']&&_0x716632['point']&&(_0x3dae03['point']==_0x716632['point']||_0x3dae03['point']['eq'](_0x716632['point']))&&oE(_0x3dae03['activeForPoint'](_0x3dae03['to']),_0x716632['activeForPoint'](_0x716632['to']))||_0x5bc6a5['comparePoint'](_0x57f969,_0x12cef1,_0x3dae03['point'],_0x716632['point']):_0x12cef1>_0x57f969&&!oE(_0x3dae03['active'],_0x716632['active'])&&_0x5bc6a5['compareRange'](_0x57f969,_0x12cef1,_0x3dae03['active'],_0x716632['active']),_0x4e4244>_0xdf17c0)break;(_0xcd9974||_0x3dae03['openEnd']!=_0x716632['openEnd'])&&_0x5bc6a5['boundChange']&&_0x5bc6a5['boundChange'](_0x4e4244),_0x57f969=_0x4e4244,_0x278fb5<=0x0&&_0x3dae03['next'](),_0x278fb5>=0x0&&_0x716632['next']();}}function oE(_0x25b1c2,_0x4afa72){if(_0x25b1c2['length']!=_0x4afa72['length'])return!0x1;for(let _0x29cfce=0x0;_0x29cfce<_0x25b1c2['length'];_0x29cfce++)if(_0x25b1c2[_0x29cfce]!=_0x4afa72[_0x29cfce]&&!_0x25b1c2[_0x29cfce]['eq'](_0x4afa72[_0x29cfce]))return!0x1;return!0x0;}function aE(_0x32b930,_0x4b83a5){for(let _0x5d7b92=_0x4b83a5,_0xee1e77=_0x32b930['length']-0x1;_0x5d7b92<_0xee1e77;_0x5d7b92++)_0x32b930[_0x5d7b92]=_0x32b930[_0x5d7b92+0x1];_0x32b930['pop']();}function cE(_0x242832,_0x564dcf,_0x15dee5){for(let _0x14a383=_0x242832['length']-0x1;_0x14a383>=_0x564dcf;_0x14a383--)_0x242832[_0x14a383+0x1]=_0x242832[_0x14a383];_0x242832[_0x564dcf]=_0x15dee5;}function lE(_0x1d5f80,_0x5f3163){let _0xf8cf70=-0x1,_0x1d5f5d=0x3b9aca00;for(let _0x1142f4=0x0;_0x1142f4<_0x5f3163['length'];_0x1142f4++)(_0x5f3163[_0x1142f4]-_0x1d5f5d||_0x1d5f80[_0x1142f4]['endSide']-_0x1d5f80[_0xf8cf70]['endSide'])<0x0&&(_0xf8cf70=_0x1142f4,_0x1d5f5d=_0x5f3163[_0x1142f4]);return _0xf8cf70;}function hE(_0x486a19,_0x1767f1,_0x1bed34=_0x486a19['length']){let _0x1e3b11=0x0;for(let _0x1b5459=0x0;_0x1b5459<_0x1bed34&&_0x1b5459<_0x486a19['length'];)0x9==_0x486a19['charCodeAt'](_0x1b5459)?(_0x1e3b11+=_0x1767f1-_0x1e3b11%_0x1767f1,_0x1b5459++):(_0x1e3b11++,_0x1b5459=u_(_0x486a19,_0x1b5459));return _0x1e3b11;}function uE(_0x4427a6,_0x3f936c,_0x267998,_0x212e2d){for(let _0x25637c=0x0,_0x33c9d3=0x0;;){if(_0x33c9d3>=_0x3f936c)return _0x25637c;if(_0x25637c==_0x4427a6['length'])break;_0x33c9d3+=0x9==_0x4427a6['charCodeAt'](_0x25637c)?_0x267998-_0x33c9d3%_0x267998:0x1,_0x25637c=u_(_0x4427a6,_0x25637c);}return!0x0===_0x212e2d?-0x1:_0x4427a6['length'];}const dE='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),fE='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),mE='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x3796be,_0x2d36b6){this['rules']=[];let {finish:_0x128d2b}=_0x2d36b6||{};function _0x56c4ca(_0x118127){return/^@/['test'](_0x118127)?[_0x118127]:_0x118127['split'](/,\s*/);}function _0x3ac623(_0x1c1f2b,_0x56d03f,_0x47c882,_0x500f00){let _0x1a4d95=[],_0x43ce5e=/^@(\w+)\b/['exec'](_0x1c1f2b[0x0]),_0x160f8b=_0x43ce5e&&'keyframes'==_0x43ce5e[0x1];if(_0x43ce5e&&null==_0x56d03f)return _0x47c882['push'](_0x1c1f2b[0x0]+';');for(let _0x285f6b in _0x56d03f){let _0x2134f2=_0x56d03f[_0x285f6b];if(/&/['test'](_0x285f6b))_0x3ac623(_0x285f6b['split'](/,\s*/)['map'](_0x1d2f5f=>_0x1c1f2b['map'](_0x27c6d6=>_0x1d2f5f['replace'](/&/,_0x27c6d6)))['reduce']((_0x812fa4,_0x123334)=>_0x812fa4['concat'](_0x123334)),_0x2134f2,_0x47c882);else{if(_0x2134f2&&'object'==typeof _0x2134f2){if(!_0x43ce5e)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x285f6b+')\x20should\x20be\x20a\x20primitive\x20value.');_0x3ac623(_0x56c4ca(_0x285f6b),_0x2134f2,_0x1a4d95,_0x160f8b);}else null!=_0x2134f2&&_0x1a4d95['push'](_0x285f6b['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x408377=>'-'+_0x408377['toLowerCase']())+':\x20'+_0x2134f2+';');}}(_0x1a4d95['length']||_0x160f8b)&&_0x47c882['push']((!_0x128d2b||_0x43ce5e||_0x500f00?_0x1c1f2b:_0x1c1f2b['map'](_0x128d2b))['join'](',\x20')+'\x20{'+_0x1a4d95['join']('\x20')+'}');}for(let _0x4503cf in _0x3796be)_0x3ac623(_0x56c4ca(_0x4503cf),_0x3796be[_0x4503cf],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x52c0b1=mE[dE]||0x1;return mE[dE]=_0x52c0b1+0x1,'ͼ'+_0x52c0b1['toString'](0x24);}static['mount'](_0x192a89,_0x8187ca,_0x543d36){let _0xe164f6=_0x192a89[fE],_0x126abc=_0x543d36&&_0x543d36['nonce'];_0xe164f6?_0x126abc&&_0xe164f6['setNonce'](_0x126abc):_0xe164f6=new StyleSet(_0x192a89,_0x126abc),_0xe164f6['mount'](Array['isArray'](_0x8187ca)?_0x8187ca:[_0x8187ca],_0x192a89);}}let gE=new Map();class StyleSet{constructor(_0x45e181,_0x1827ee){let _0x2f997d=_0x45e181['ownerDocument']||_0x45e181,_0x57e584=_0x2f997d['defaultView'];if(!_0x45e181['head']&&_0x45e181['adoptedStyleSheets']&&_0x57e584['CSSStyleSheet']){let _0x520085=gE['get'](_0x2f997d);if(_0x520085)return _0x45e181[fE]=_0x520085;this['sheet']=new _0x57e584['CSSStyleSheet'](),gE['set'](_0x2f997d,this);}else this['styleTag']=_0x2f997d['createElement']('style'),_0x1827ee&&this['styleTag']['setAttribute']('nonce',_0x1827ee);this['modules']=[],_0x45e181[fE]=this;}['mount'](_0x57ee49,_0x5d3713){let _0x58e810=this['sheet'],_0x3330f1=0x0,_0x201c14=0x0;for(let _0x37e97e=0x0;_0x37e97e<_0x57ee49['length'];_0x37e97e++){let _0x11f562=_0x57ee49[_0x37e97e],_0x5ed660=this['modules']['indexOf'](_0x11f562);if(_0x5ed660<_0x201c14&&_0x5ed660>-0x1&&(this['modules']['splice'](_0x5ed660,0x1),_0x201c14--,_0x5ed660=-0x1),-0x1==_0x5ed660){if(this['modules']['splice'](_0x201c14++,0x0,_0x11f562),_0x58e810){for(let _0x53a4aa=0x0;_0x53a4aa<_0x11f562['rules']['length'];_0x53a4aa++)_0x58e810['insertRule'](_0x11f562['rules'][_0x53a4aa],_0x3330f1++);}}else{for(;_0x201c14<_0x5ed660;)_0x3330f1+=this['modules'][_0x201c14++]['rules']['length'];_0x3330f1+=_0x11f562['rules']['length'],_0x201c14++;}}if(_0x58e810)_0x5d3713['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x5d3713['adoptedStyleSheets']=[this['sheet'],..._0x5d3713['adoptedStyleSheets']]);else{let _0x1f1811='';for(let _0x56ef7b=0x0;_0x56ef7b<this['modules']['length'];_0x56ef7b++)_0x1f1811+=this['modules'][_0x56ef7b]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x1f1811;let _0x3c7ec2=_0x5d3713['head']||_0x5d3713;this['styleTag']['parentNode']!=_0x3c7ec2&&_0x3c7ec2['insertBefore'](this['styleTag'],_0x3c7ec2['firstChild']);}}['setNonce'](_0x52274f){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x52274f&&this['styleTag']['setAttribute']('nonce',_0x52274f);}}for(var pE={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'},OE={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'},wE='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),bE='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),yE=0x0;yE<0xa;yE++)pE[0x30+yE]=pE[0x60+yE]=String(yE);for(yE=0x1;yE<=0x18;yE++)pE[yE+0x6f]='F'+yE;for(yE=0x41;yE<=0x5a;yE++)pE[yE]=String['fromCharCode'](yE+0x20),OE[yE]=String['fromCharCode'](yE);for(var vE in pE)OE['hasOwnProperty'](vE)||(OE[vE]=pE[vE]);let _E='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},EE='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const TE=/Edge\/(\d+)/['exec'](_E['userAgent']),AE=/MSIE \d/['test'](_E['userAgent']),IE=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_E['userAgent']),SE=!!(AE||IE||TE),CE=!SE&&/gecko\/(\d+)/i['test'](_E['userAgent']),kE=!SE&&/Chrome\/(\d+)/['exec'](_E['userAgent']),xE='webkitFontSmoothing'in EE['documentElement']['style'],RE=!SE&&/Apple Computer/['test'](_E['vendor']),PE=RE&&(/Mobile\/\w+/['test'](_E['userAgent'])||_E['maxTouchPoints']>0x2);var ME={'mac':PE||/Mac/['test'](_E['platform']),'windows':/Win/['test'](_E['platform']),'linux':/Linux|X11/['test'](_E['platform']),'ie':SE,'ie_version':AE?EE['documentMode']||0x6:IE?+IE[0x1]:TE?+TE[0x1]:0x0,'gecko':CE,'gecko_version':CE?+(/Firefox\/(\d+)/['exec'](_E['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!kE,'chrome_version':kE?+kE[0x1]:0x0,'ios':PE,'android':/Android\b/['test'](_E['userAgent']),'webkit_version':xE?+(/\bAppleWebKit\/(\d+)/['exec'](_E['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':RE,'safari_version':RE?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_E['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=EE['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function NE(_0x2514c9){let _0x1a3187;return _0x1a3187=0xb==_0x2514c9['nodeType']?_0x2514c9['getSelection']?_0x2514c9:_0x2514c9['ownerDocument']:_0x2514c9,_0x1a3187['getSelection']();}function LE(_0x30a741,_0x4b4270){return!!_0x4b4270&&(_0x30a741==_0x4b4270||_0x30a741['contains'](0x1!=_0x4b4270['nodeType']?_0x4b4270['parentNode']:_0x4b4270));}function $E(_0x3681cd,_0x184844){if(!_0x184844['anchorNode'])return!0x1;try{return LE(_0x3681cd,_0x184844['anchorNode']);}catch(_0xdc740c){return!0x1;}}function DE(_0x4048d0){return 0x3==_0x4048d0['nodeType']?WE(_0x4048d0,0x0,_0x4048d0['nodeValue']['length'])['getClientRects']():0x1==_0x4048d0['nodeType']?_0x4048d0['getClientRects']():[];}function QE(_0x1781ac,_0x51860e,_0x3a2bd9,_0x1dabd5){return!!_0x3a2bd9&&(BE(_0x1781ac,_0x51860e,_0x3a2bd9,_0x1dabd5,-0x1)||BE(_0x1781ac,_0x51860e,_0x3a2bd9,_0x1dabd5,0x1));}function VE(_0x13e959){for(var _0x4fd050=0x0;;_0x4fd050++)if(!(_0x13e959=_0x13e959['previousSibling']))return _0x4fd050;}function UE(_0x172db4){return 0x1==_0x172db4['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x172db4['nodeName']);}function BE(_0x589bb9,_0x4bc1c5,_0x5ae533,_0x5625b9,_0x207a10){for(;;){if(_0x589bb9==_0x5ae533&&_0x4bc1c5==_0x5625b9)return!0x0;if(_0x4bc1c5==(_0x207a10<0x0?0x0:FE(_0x589bb9))){if('DIV'==_0x589bb9['nodeName'])return!0x1;let _0x339a63=_0x589bb9['parentNode'];if(!_0x339a63||0x1!=_0x339a63['nodeType'])return!0x1;_0x4bc1c5=VE(_0x589bb9)+(_0x207a10<0x0?0x0:0x1),_0x589bb9=_0x339a63;}else{if(0x1!=_0x589bb9['nodeType'])return!0x1;if(0x1==(_0x589bb9=_0x589bb9['childNodes'][_0x4bc1c5+(_0x207a10<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x589bb9['contentEditable'])return!0x1;_0x4bc1c5=_0x207a10<0x0?FE(_0x589bb9):0x0;}}}function FE(_0x50f5d7){return 0x3==_0x50f5d7['nodeType']?_0x50f5d7['nodeValue']['length']:_0x50f5d7['childNodes']['length'];}function jE(_0x35d058,_0x2e1e4a){let _0x35a08d=_0x2e1e4a?_0x35d058['left']:_0x35d058['right'];return{'left':_0x35a08d,'right':_0x35a08d,'top':_0x35d058['top'],'bottom':_0x35d058['bottom']};}function HE(_0x292cb4){let _0x636d3b=_0x292cb4['visualViewport'];return _0x636d3b?{'left':0x0,'right':_0x636d3b['width'],'top':0x0,'bottom':_0x636d3b['height']}:{'left':0x0,'right':_0x292cb4['innerWidth'],'top':0x0,'bottom':_0x292cb4['innerHeight']};}function GE(_0x2897f7,_0x59e537){let _0x19da67=_0x59e537['width']/_0x2897f7['offsetWidth'],_0x436a50=_0x59e537['height']/_0x2897f7['offsetHeight'];return(_0x19da67>0.995&&_0x19da67<1.005||!isFinite(_0x19da67)||Math['abs'](_0x59e537['width']-_0x2897f7['offsetWidth'])<0x1)&&(_0x19da67=0x1),(_0x436a50>0.995&&_0x436a50<1.005||!isFinite(_0x436a50)||Math['abs'](_0x59e537['height']-_0x2897f7['offsetHeight'])<0x1)&&(_0x436a50=0x1),{'scaleX':_0x19da67,'scaleY':_0x436a50};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x48a131){return this['anchorNode']==_0x48a131['anchorNode']&&this['anchorOffset']==_0x48a131['anchorOffset']&&this['focusNode']==_0x48a131['focusNode']&&this['focusOffset']==_0x48a131['focusOffset'];}['setRange'](_0x238eb9){let {anchorNode:_0xb17596,focusNode:_0x4556fd}=_0x238eb9;this['set'](_0xb17596,Math['min'](_0x238eb9['anchorOffset'],_0xb17596?FE(_0xb17596):0x0),_0x4556fd,Math['min'](_0x238eb9['focusOffset'],_0x4556fd?FE(_0x4556fd):0x0));}['set'](_0x1adfc8,_0x58c4db,_0x1cc1cb,_0x428193){this['anchorNode']=_0x1adfc8,this['anchorOffset']=_0x58c4db,this['focusNode']=_0x1cc1cb,this['focusOffset']=_0x428193;}}let ZE,XE=null;function qE(_0x596892){if(_0x596892['setActive'])return _0x596892['setActive']();if(XE)return _0x596892['focus'](XE);let _0x32a9e9=[];for(let _0x473fe0=_0x596892;_0x473fe0&&(_0x32a9e9['push'](_0x473fe0,_0x473fe0['scrollTop'],_0x473fe0['scrollLeft']),_0x473fe0!=_0x473fe0['ownerDocument']);_0x473fe0=_0x473fe0['parentNode']);if(_0x596892['focus'](null==XE?{get 'preventScroll'(){return XE={'preventScroll':!0x0},!0x0;}}:void 0x0),!XE){XE=!0x1;for(let _0x336dc0=0x0;_0x336dc0<_0x32a9e9['length'];){let _0x186947=_0x32a9e9[_0x336dc0++],_0x467b8b=_0x32a9e9[_0x336dc0++],_0x5b7bf3=_0x32a9e9[_0x336dc0++];_0x186947['scrollTop']!=_0x467b8b&&(_0x186947['scrollTop']=_0x467b8b),_0x186947['scrollLeft']!=_0x5b7bf3&&(_0x186947['scrollLeft']=_0x5b7bf3);}}}function WE(_0x4c4061,_0x1a5e0f,_0xeb264c=_0x1a5e0f){let _0xfea2ae=ZE||(ZE=document['createRange']());return _0xfea2ae['setEnd'](_0x4c4061,_0xeb264c),_0xfea2ae['setStart'](_0x4c4061,_0x1a5e0f),_0xfea2ae;}function zE(_0x23ec7b,_0x56df84,_0x56f070,_0x48ad51){let _0x220970={'key':_0x56df84,'code':_0x56df84,'keyCode':_0x56f070,'which':_0x56f070,'cancelable':!0x0};_0x48ad51&&({altKey:_0x220970['altKey'],ctrlKey:_0x220970['ctrlKey'],shiftKey:_0x220970['shiftKey'],metaKey:_0x220970['metaKey']}=_0x48ad51);let _0x5277ed=new KeyboardEvent('keydown',_0x220970);_0x5277ed['synthetic']=!0x0,_0x23ec7b['dispatchEvent'](_0x5277ed);let _0x28d4b3=new KeyboardEvent('keyup',_0x220970);return _0x28d4b3['synthetic']=!0x0,_0x23ec7b['dispatchEvent'](_0x28d4b3),_0x5277ed['defaultPrevented']||_0x28d4b3['defaultPrevented'];}function YE(_0x35e396){for(;_0x35e396['attributes']['length'];)_0x35e396['removeAttributeNode'](_0x35e396['attributes'][0x0]);}function KE(_0x3460a6){return _0x3460a6['scrollTop']>Math['max'](0x1,_0x3460a6['scrollHeight']-_0x3460a6['clientHeight']-0x4);}function JE(_0x3168d1,_0x5bace4){for(let _0x1350a6=_0x3168d1,_0x593a2b=_0x5bace4;;){if(0x3==_0x1350a6['nodeType']&&_0x593a2b>0x0)return{'node':_0x1350a6,'offset':_0x593a2b};if(0x1==_0x1350a6['nodeType']&&_0x593a2b>0x0){if('false'==_0x1350a6['contentEditable'])return null;_0x1350a6=_0x1350a6['childNodes'][_0x593a2b-0x1],_0x593a2b=FE(_0x1350a6);}else{if(!_0x1350a6['parentNode']||UE(_0x1350a6))return null;_0x593a2b=VE(_0x1350a6),_0x1350a6=_0x1350a6['parentNode'];}}}function tT(_0x569e2f,_0x2d6404){for(let _0x269205=_0x569e2f,_0x3875b7=_0x2d6404;;){if(0x3==_0x269205['nodeType']&&_0x3875b7<_0x269205['nodeValue']['length'])return{'node':_0x269205,'offset':_0x3875b7};if(0x1==_0x269205['nodeType']&&_0x3875b7<_0x269205['childNodes']['length']){if('false'==_0x269205['contentEditable'])return null;_0x269205=_0x269205['childNodes'][_0x3875b7],_0x3875b7=0x0;}else{if(!_0x269205['parentNode']||UE(_0x269205))return null;_0x3875b7=VE(_0x269205)+0x1,_0x269205=_0x269205['parentNode'];}}}ME['safari']&&ME['safari_version']>=0x1a&&(XE=!0x1);class DOMPos{constructor(_0xc39ef4,_0x4b5339,_0x14b922=!0x0){this['node']=_0xc39ef4,this['offset']=_0x4b5339,this['precise']=_0x14b922;}static['before'](_0x11a288,_0x2c9458){return new DOMPos(_0x11a288['parentNode'],VE(_0x11a288),_0x2c9458);}static['after'](_0xb58e66,_0xc9f194){return new DOMPos(_0xb58e66['parentNode'],VE(_0xb58e66)+0x1,_0xc9f194);}}const eT=[];class ContentView{constructor(){this['parent']=null,this['dom']=null,this['flags']=0x2;}get['overrideDOMText'](){return null;}get['posAtStart'](){return this['parent']?this['parent']['posBefore'](this):0x0;}get['posAtEnd'](){return this['posAtStart']+this['length'];}['posBefore'](_0x3729d8){let _0x19227f=this['posAtStart'];for(let _0xa604c0 of this['children']){if(_0xa604c0==_0x3729d8)return _0x19227f;_0x19227f+=_0xa604c0['length']+_0xa604c0['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x51f3e4){return this['posBefore'](_0x51f3e4)+_0x51f3e4['length'];}['sync'](_0x2de72e,_0x3e952a){if(0x2&this['flags']){let _0x12fcb0,_0x4673f6=this['dom'],_0x29a45e=null;for(let _0x71df94 of this['children']){if(0x7&_0x71df94['flags']){if(!_0x71df94['dom']&&(_0x12fcb0=_0x29a45e?_0x29a45e['nextSibling']:_0x4673f6['firstChild'])){let _0x5a59d5=ContentView['get'](_0x12fcb0);(!_0x5a59d5||!_0x5a59d5['parent']&&_0x5a59d5['canReuseDOM'](_0x71df94))&&_0x71df94['reuseDOM'](_0x12fcb0);}_0x71df94['sync'](_0x2de72e,_0x3e952a),_0x71df94['flags']&=-0x8;}if(_0x12fcb0=_0x29a45e?_0x29a45e['nextSibling']:_0x4673f6['firstChild'],_0x3e952a&&!_0x3e952a['written']&&_0x3e952a['node']==_0x4673f6&&_0x12fcb0!=_0x71df94['dom']&&(_0x3e952a['written']=!0x0),_0x71df94['dom']['parentNode']==_0x4673f6){for(;_0x12fcb0&&_0x12fcb0!=_0x71df94['dom'];)_0x12fcb0=iT(_0x12fcb0);}else _0x4673f6['insertBefore'](_0x71df94['dom'],_0x12fcb0);_0x29a45e=_0x71df94['dom'];}for(_0x12fcb0=_0x29a45e?_0x29a45e['nextSibling']:_0x4673f6['firstChild'],_0x12fcb0&&_0x3e952a&&_0x3e952a['node']==_0x4673f6&&(_0x3e952a['written']=!0x0);_0x12fcb0;)_0x12fcb0=iT(_0x12fcb0);}else{if(0x1&this['flags']){for(let _0x228da6 of this['children'])0x7&_0x228da6['flags']&&(_0x228da6['sync'](_0x2de72e,_0x3e952a),_0x228da6['flags']&=-0x8);}}}['reuseDOM'](_0x386b25){}['localPosFromDOM'](_0x4986c2,_0x17f64f){let _0x25f99c;if(_0x4986c2==this['dom'])_0x25f99c=this['dom']['childNodes'][_0x17f64f];else{let _0x532d0a=0x0==FE(_0x4986c2)?0x0:0x0==_0x17f64f?-0x1:0x1;for(;;){let _0x2d1aa4=_0x4986c2['parentNode'];if(_0x2d1aa4==this['dom'])break;0x0==_0x532d0a&&_0x2d1aa4['firstChild']!=_0x2d1aa4['lastChild']&&(_0x532d0a=_0x4986c2==_0x2d1aa4['firstChild']?-0x1:0x1),_0x4986c2=_0x2d1aa4;}_0x25f99c=_0x532d0a<0x0?_0x4986c2:_0x4986c2['nextSibling'];}if(_0x25f99c==this['dom']['firstChild'])return 0x0;for(;_0x25f99c&&!ContentView['get'](_0x25f99c);)_0x25f99c=_0x25f99c['nextSibling'];if(!_0x25f99c)return this['length'];for(let _0x5e423a=0x0,_0x106353=0x0;;_0x5e423a++){let _0x17901f=this['children'][_0x5e423a];if(_0x17901f['dom']==_0x25f99c)return _0x106353;_0x106353+=_0x17901f['length']+_0x17901f['breakAfter'];}}['domBoundsAround'](_0x98418e,_0x3da684,_0x41e6e2=0x0){let _0xa54837=-0x1,_0x210a62=-0x1,_0x4e7dfe=-0x1,_0x22d354=-0x1;for(let _0x22b26f=0x0,_0x36dc93=_0x41e6e2,_0x5edac0=_0x41e6e2;_0x22b26f<this['children']['length'];_0x22b26f++){let _0x58e857=this['children'][_0x22b26f],_0x1c81b3=_0x36dc93+_0x58e857['length'];if(_0x36dc93<_0x98418e&&_0x1c81b3>_0x3da684)return _0x58e857['domBoundsAround'](_0x98418e,_0x3da684,_0x36dc93);if(_0x1c81b3>=_0x98418e&&-0x1==_0xa54837&&(_0xa54837=_0x22b26f,_0x210a62=_0x36dc93),_0x36dc93>_0x3da684&&_0x58e857['dom']['parentNode']==this['dom']){_0x4e7dfe=_0x22b26f,_0x22d354=_0x5edac0;break;}_0x5edac0=_0x1c81b3,_0x36dc93=_0x1c81b3+_0x58e857['breakAfter'];}return{'from':_0x210a62,'to':_0x22d354<0x0?_0x41e6e2+this['length']:_0x22d354,'startDOM':(_0xa54837?this['children'][_0xa54837-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x4e7dfe<this['children']['length']&&_0x4e7dfe>=0x0?this['children'][_0x4e7dfe]['dom']:null};}['markDirty'](_0x57e76c=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x57e76c);}['markParentsDirty'](_0x2c165c){for(let _0x5dd2f1=this['parent'];_0x5dd2f1;_0x5dd2f1=_0x5dd2f1['parent']){if(_0x2c165c&&(_0x5dd2f1['flags']|=0x2),0x1&_0x5dd2f1['flags'])return;_0x5dd2f1['flags']|=0x1,_0x2c165c=!0x1;}}['setParent'](_0x482146){this['parent']!=_0x482146&&(this['parent']=_0x482146,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x21ca04){this['dom']!=_0x21ca04&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x21ca04,_0x21ca04['cmView']=this);}get['rootView'](){for(let _0x564b77=this;;){let _0x45848e=_0x564b77['parent'];if(!_0x45848e)return _0x564b77;_0x564b77=_0x45848e;}}['replaceChildren'](_0x421251,_0x31f395,_0x2a20fb=eT){this['markDirty']();for(let _0x26ca56=_0x421251;_0x26ca56<_0x31f395;_0x26ca56++){let _0xcca5b=this['children'][_0x26ca56];_0xcca5b['parent']==this&&_0x2a20fb['indexOf'](_0xcca5b)<0x0&&_0xcca5b['destroy']();}_0x2a20fb['length']<0xfa?this['children']['splice'](_0x421251,_0x31f395-_0x421251,..._0x2a20fb):this['children']=[]['concat'](this['children']['slice'](0x0,_0x421251),_0x2a20fb,this['children']['slice'](_0x31f395));for(let _0x25d634=0x0;_0x25d634<_0x2a20fb['length'];_0x25d634++)_0x2a20fb[_0x25d634]['setParent'](this);}['ignoreMutation'](_0x15d632){return!0x1;}['ignoreEvent'](_0x19f7a7){return!0x1;}['childCursor'](_0x17ba3b=this['length']){return new ChildCursor(this['children'],_0x17ba3b,this['children']['length']);}['childPos'](_0x582f85,_0x37227d=0x1){return this['childCursor']()['findPos'](_0x582f85,_0x37227d);}['toString'](){let _0x7fdf1=this['constructor']['name']['replace']('View','');return _0x7fdf1+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x7fdf1?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0xa7a375){return _0xa7a375['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0xb5318a,_0x5ac252,_0x2051bb,_0x13a8fc,_0x1946c6,_0x28f9b6){return!0x1;}['become'](_0x434252){return!0x1;}['canReuseDOM'](_0x43177d){return _0x43177d['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x43177d['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x4f4aaf of this['children'])_0x4f4aaf['parent']==this&&_0x4f4aaf['destroy']();this['parent']=null;}}function iT(_0x53303d){let _0x2bdafb=_0x53303d['nextSibling'];return _0x53303d['parentNode']['removeChild'](_0x53303d),_0x2bdafb;}ContentView['prototype']['breakAfter']=0x0;class ChildCursor{constructor(_0x11e201,_0x5dc20b,_0x4a97e3){this['children']=_0x11e201,this['pos']=_0x5dc20b,this['i']=_0x4a97e3,this['off']=0x0;}['findPos'](_0x2054dc,_0x4375e0=0x1){for(;;){if(_0x2054dc>this['pos']||_0x2054dc==this['pos']&&(_0x4375e0>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x2054dc-this['pos'],this;let _0x5f49a0=this['children'][--this['i']];this['pos']-=_0x5f49a0['length']+_0x5f49a0['breakAfter'];}}}function sT(_0x13bf12,_0x434098,_0x2ec51d,_0x16abd5,_0x1ad1f9,_0x731d99,_0xbc16a7,_0x2b41b7,_0x1cee9d){let {children:_0x42be54}=_0x13bf12,_0x588596=_0x42be54['length']?_0x42be54[_0x434098]:null,_0x4dd2a7=_0x731d99['length']?_0x731d99[_0x731d99['length']-0x1]:null,_0x2e052b=_0x4dd2a7?_0x4dd2a7['breakAfter']:_0xbc16a7;if(!(_0x434098==_0x16abd5&&_0x588596&&!_0xbc16a7&&!_0x2e052b&&_0x731d99['length']<0x2&&_0x588596['merge'](_0x2ec51d,_0x1ad1f9,_0x731d99['length']?_0x4dd2a7:null,0x0==_0x2ec51d,_0x2b41b7,_0x1cee9d))){if(_0x16abd5<_0x42be54['length']){let _0x2c9bd3=_0x42be54[_0x16abd5];_0x2c9bd3&&(_0x1ad1f9<_0x2c9bd3['length']||_0x2c9bd3['breakAfter']&&(null==_0x4dd2a7?void 0x0:_0x4dd2a7['breakAfter']))?(_0x434098==_0x16abd5&&(_0x2c9bd3=_0x2c9bd3['split'](_0x1ad1f9),_0x1ad1f9=0x0),!_0x2e052b&&_0x4dd2a7&&_0x2c9bd3['merge'](0x0,_0x1ad1f9,_0x4dd2a7,!0x0,0x0,_0x1cee9d)?_0x731d99[_0x731d99['length']-0x1]=_0x2c9bd3:((_0x1ad1f9||_0x2c9bd3['children']['length']&&!_0x2c9bd3['children'][0x0]['length'])&&_0x2c9bd3['merge'](0x0,_0x1ad1f9,null,!0x1,0x0,_0x1cee9d),_0x731d99['push'](_0x2c9bd3))):(null==_0x2c9bd3?void 0x0:_0x2c9bd3['breakAfter'])&&(_0x4dd2a7?_0x4dd2a7['breakAfter']=0x1:_0xbc16a7=0x1),_0x16abd5++;}for(_0x588596&&(_0x588596['breakAfter']=_0xbc16a7,_0x2ec51d>0x0&&(!_0xbc16a7&&_0x731d99['length']&&_0x588596['merge'](_0x2ec51d,_0x588596['length'],_0x731d99[0x0],!0x1,_0x2b41b7,0x0)?_0x588596['breakAfter']=_0x731d99['shift']()['breakAfter']:(_0x2ec51d<_0x588596['length']||_0x588596['children']['length']&&0x0==_0x588596['children'][_0x588596['children']['length']-0x1]['length'])&&_0x588596['merge'](_0x2ec51d,_0x588596['length'],null,!0x1,_0x2b41b7,0x0),_0x434098++));_0x434098<_0x16abd5&&_0x731d99['length'];)if(_0x42be54[_0x16abd5-0x1]['become'](_0x731d99[_0x731d99['length']-0x1]))_0x16abd5--,_0x731d99['pop'](),_0x1cee9d=_0x731d99['length']?0x0:_0x2b41b7;else{if(!_0x42be54[_0x434098]['become'](_0x731d99[0x0]))break;_0x434098++,_0x731d99['shift'](),_0x2b41b7=_0x731d99['length']?0x0:_0x1cee9d;}!_0x731d99['length']&&_0x434098&&_0x16abd5<_0x42be54['length']&&!_0x42be54[_0x434098-0x1]['breakAfter']&&_0x42be54[_0x16abd5]['merge'](0x0,0x0,_0x42be54[_0x434098-0x1],!0x1,_0x2b41b7,_0x1cee9d)&&_0x434098--,(_0x434098<_0x16abd5||_0x731d99['length'])&&_0x13bf12['replaceChildren'](_0x434098,_0x16abd5,_0x731d99);}}function nT(_0x34bf9b,_0x32d4be,_0x220b90,_0x8affac,_0x4e7010,_0xc2ebb0){let _0x536eda=_0x34bf9b['childCursor'](),{i:_0x5ca516,off:_0x5af70d}=_0x536eda['findPos'](_0x220b90,0x1),{i:_0x2bf07a,off:_0x7c59b5}=_0x536eda['findPos'](_0x32d4be,-0x1),_0x257e94=_0x32d4be-_0x220b90;for(let _0x22508d of _0x8affac)_0x257e94+=_0x22508d['length'];_0x34bf9b['length']+=_0x257e94,sT(_0x34bf9b,_0x2bf07a,_0x7c59b5,_0x5ca516,_0x5af70d,_0x8affac,0x0,_0x4e7010,_0xc2ebb0);}class TextView extends ContentView{constructor(_0x4a9835){super(),this['text']=_0x4a9835;}get['length'](){return this['text']['length'];}['createDOM'](_0x5bc8fa){this['setDOM'](_0x5bc8fa||document['createTextNode'](this['text']));}['sync'](_0x37bbab,_0x121e2c){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x121e2c&&_0x121e2c['node']==this['dom']&&(_0x121e2c['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x4a0bb2){0x3==_0x4a0bb2['nodeType']&&this['createDOM'](_0x4a0bb2);}['merge'](_0x1128dc,_0x4e692b,_0x1829a6){return!(0x8&this['flags']||_0x1829a6&&(!(_0x1829a6 instanceof TextView)||this['length']-(_0x4e692b-_0x1128dc)+_0x1829a6['length']>0x100||0x8&_0x1829a6['flags']))&&(this['text']=this['text']['slice'](0x0,_0x1128dc)+(_0x1829a6?_0x1829a6['text']:'')+this['text']['slice'](_0x4e692b),this['markDirty'](),!0x0);}['split'](_0x26cd26){let _0x31c697=new TextView(this['text']['slice'](_0x26cd26));return this['text']=this['text']['slice'](0x0,_0x26cd26),this['markDirty'](),_0x31c697['flags']|=0x8&this['flags'],_0x31c697;}['localPosFromDOM'](_0x2f6b72,_0x411bab){return _0x2f6b72==this['dom']?_0x411bab:_0x411bab?this['text']['length']:0x0;}['domAtPos'](_0x30c3f9){return new DOMPos(this['dom'],_0x30c3f9);}['domBoundsAround'](_0x9b355a,_0x2ce37b,_0x35127a){return{'from':_0x35127a,'to':_0x35127a+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x2a8137,_0x246452){return function(_0x4d1ef9,_0x389b05,_0x3aad76){let _0x4a6f34=_0x4d1ef9['nodeValue']['length'];_0x389b05>_0x4a6f34&&(_0x389b05=_0x4a6f34);let _0x30a0c9=_0x389b05,_0x5b998d=_0x389b05,_0x3f252b=0x0;0x0==_0x389b05&&_0x3aad76<0x0||_0x389b05==_0x4a6f34&&_0x3aad76>=0x0?ME['chrome']||ME['gecko']||(_0x389b05?(_0x30a0c9--,_0x3f252b=0x1):_0x5b998d<_0x4a6f34&&(_0x5b998d++,_0x3f252b=-0x1)):_0x3aad76<0x0?_0x30a0c9--:_0x5b998d<_0x4a6f34&&_0x5b998d++;let _0xd02fca=WE(_0x4d1ef9,_0x30a0c9,_0x5b998d)['getClientRects']();if(!_0xd02fca['length'])return null;let _0xfe39ac=_0xd02fca[(_0x3f252b?_0x3f252b<0x0:_0x3aad76>=0x0)?0x0:_0xd02fca['length']-0x1];return ME['safari']&&!_0x3f252b&&0x0==_0xfe39ac['width']&&(_0xfe39ac=Array['prototype']['find']['call'](_0xd02fca,_0x2cace4=>_0x2cace4['width'])||_0xfe39ac),_0x3f252b?jE(_0xfe39ac,_0x3f252b<0x0):_0xfe39ac||null;}(this['dom'],_0x2a8137,_0x246452);}}class MarkView extends ContentView{constructor(_0x5925e2,_0x415f46=[],_0x4562bd=0x0){super(),this['mark']=_0x5925e2,this['children']=_0x415f46,this['length']=_0x4562bd;for(let _0x9a5783 of _0x415f46)_0x9a5783['setParent'](this);}['setAttrs'](_0x1bcf12){if(YE(_0x1bcf12),this['mark']['class']&&(_0x1bcf12['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x4878a6 in this['mark']['attrs'])_0x1bcf12['setAttribute'](_0x4878a6,this['mark']['attrs'][_0x4878a6]);}return _0x1bcf12;}['canReuseDOM'](_0x50b125){return super['canReuseDOM'](_0x50b125)&&!(0x8&(this['flags']|_0x50b125['flags']));}['reuseDOM'](_0x67574b){_0x67574b['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x67574b),this['flags']|=0x6);}['sync'](_0x55137d,_0x1ececa){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x55137d,_0x1ececa);}['merge'](_0xe9efce,_0x2127c6,_0x1741ea,_0x5704e1,_0x3649e0,_0x270d2c){return(!_0x1741ea||!(!(_0x1741ea instanceof MarkView&&_0x1741ea['mark']['eq'](this['mark']))||_0xe9efce&&_0x3649e0<=0x0||_0x2127c6<this['length']&&_0x270d2c<=0x0))&&(nT(this,_0xe9efce,_0x2127c6,_0x1741ea?_0x1741ea['children']['slice']():[],_0x3649e0-0x1,_0x270d2c-0x1),this['markDirty'](),!0x0);}['split'](_0x10f5fe){let _0x296ab2=[],_0x4d4494=0x0,_0x157051=-0x1,_0x2eb14e=0x0;for(let _0x4d9ec8 of this['children']){let _0x13f3e8=_0x4d4494+_0x4d9ec8['length'];_0x13f3e8>_0x10f5fe&&_0x296ab2['push'](_0x4d4494<_0x10f5fe?_0x4d9ec8['split'](_0x10f5fe-_0x4d4494):_0x4d9ec8),_0x157051<0x0&&_0x4d4494>=_0x10f5fe&&(_0x157051=_0x2eb14e),_0x4d4494=_0x13f3e8,_0x2eb14e++;}let _0x22bc6e=this['length']-_0x10f5fe;return this['length']=_0x10f5fe,_0x157051>-0x1&&(this['children']['length']=_0x157051,this['markDirty']()),new MarkView(this['mark'],_0x296ab2,_0x22bc6e);}['domAtPos'](_0x22a7e0){return rT(this,_0x22a7e0);}['coordsAt'](_0x57fc95,_0x3c465a){return aT(this,_0x57fc95,_0x3c465a);}}class WidgetView extends ContentView{static['create'](_0x5e9946,_0x7c529c,_0x146537){return new WidgetView(_0x5e9946,_0x7c529c,_0x146537);}constructor(_0x1b6ab4,_0x6238d7,_0x5573bd){super(),this['widget']=_0x1b6ab4,this['length']=_0x6238d7,this['side']=_0x5573bd,this['prevWidget']=null;}['split'](_0x6e141e){let _0x33e4d1=WidgetView['create'](this['widget'],this['length']-_0x6e141e,this['side']);return this['length']-=_0x6e141e,_0x33e4d1;}['sync'](_0x35c2db){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x35c2db)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x35c2db)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x299ca5,_0x2aa841,_0x1bc43f,_0x320318,_0x34ad94,_0x3c81e2){return!(_0x1bc43f&&(!(_0x1bc43f instanceof WidgetView&&this['widget']['compare'](_0x1bc43f['widget']))||_0x299ca5>0x0&&_0x34ad94<=0x0||_0x2aa841<this['length']&&_0x3c81e2<=0x0))&&(this['length']=_0x299ca5+(_0x1bc43f?_0x1bc43f['length']:0x0)+(this['length']-_0x2aa841),!0x0);}['become'](_0x37f258){return _0x37f258 instanceof WidgetView&&_0x37f258['side']==this['side']&&this['widget']['constructor']==_0x37f258['widget']['constructor']&&(this['widget']['compare'](_0x37f258['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x37f258['widget'],this['length']=_0x37f258['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x5cf7ff){return this['widget']['ignoreEvent'](_0x5cf7ff);}get['overrideDOMText'](){if(0x0==this['length'])return o_['empty'];let _0x17fedb=this;for(;_0x17fedb['parent'];)_0x17fedb=_0x17fedb['parent'];let {view:_0x3307ba}=_0x17fedb,_0x249c22=_0x3307ba&&_0x3307ba['state']['doc'],_0x164f55=this['posAtStart'];return _0x249c22?_0x249c22['slice'](_0x164f55,_0x164f55+this['length']):o_['empty'];}['domAtPos'](_0x29a0de){return(this['length']?0x0==_0x29a0de:this['side']>0x0)?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x29a0de==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x18436e,_0x2179d1){let _0x498800=this['widget']['coordsAt'](this['dom'],_0x18436e,_0x2179d1);if(_0x498800)return _0x498800;let _0x414bf9=this['dom']['getClientRects'](),_0x3dfb84=null;if(!_0x414bf9['length'])return null;let _0x3497e2=this['side']?this['side']<0x0:_0x18436e>0x0;for(let _0x5ea973=_0x3497e2?_0x414bf9['length']-0x1:0x0;_0x3dfb84=_0x414bf9[_0x5ea973],!(_0x18436e>0x0?0x0==_0x5ea973:_0x5ea973==_0x414bf9['length']-0x1||_0x3dfb84['top']<_0x3dfb84['bottom']);_0x5ea973+=_0x3497e2?-0x1:0x1);return jE(_0x3dfb84,!_0x3497e2);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}}class WidgetBufferView extends ContentView{constructor(_0x197515){super(),this['side']=_0x197515;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x4ddf5f){return _0x4ddf5f instanceof WidgetBufferView&&_0x4ddf5f['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x5b3837=document['createElement']('img');_0x5b3837['className']='cm-widgetBuffer',_0x5b3837['setAttribute']('aria-hidden','true'),this['setDOM'](_0x5b3837);}}['getSide'](){return this['side'];}['domAtPos'](_0x297e79){return this['side']>0x0?DOMPos['before'](this['dom']):DOMPos['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x1d2695){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return o_['empty'];}get['isHidden'](){return!0x0;}}function rT(_0x59bf5b,_0x31c154){let _0x2d7364=_0x59bf5b['dom'],{children:_0x2bf903}=_0x59bf5b,_0x2e5609=0x0;for(let _0x25b894=0x0;_0x2e5609<_0x2bf903['length'];_0x2e5609++){let _0x2d6867=_0x2bf903[_0x2e5609],_0x470202=_0x25b894+_0x2d6867['length'];if(!(_0x470202==_0x25b894&&_0x2d6867['getSide']()<=0x0)){if(_0x31c154>_0x25b894&&_0x31c154<_0x470202&&_0x2d6867['dom']['parentNode']==_0x2d7364)return _0x2d6867['domAtPos'](_0x31c154-_0x25b894);if(_0x31c154<=_0x25b894)break;_0x25b894=_0x470202;}}for(let _0x326480=_0x2e5609;_0x326480>0x0;_0x326480--){let _0x4ffc5a=_0x2bf903[_0x326480-0x1];if(_0x4ffc5a['dom']['parentNode']==_0x2d7364)return _0x4ffc5a['domAtPos'](_0x4ffc5a['length']);}for(let _0x8023af=_0x2e5609;_0x8023af<_0x2bf903['length'];_0x8023af++){let _0x6b4372=_0x2bf903[_0x8023af];if(_0x6b4372['dom']['parentNode']==_0x2d7364)return _0x6b4372['domAtPos'](0x0);}return new DOMPos(_0x2d7364,0x0);}function oT(_0x3d7e7e,_0x540e1b,_0x50ecdd){let _0x1fea4f,{children:_0x390d30}=_0x3d7e7e;_0x50ecdd>0x0&&_0x540e1b instanceof MarkView&&_0x390d30['length']&&(_0x1fea4f=_0x390d30[_0x390d30['length']-0x1])instanceof MarkView&&_0x1fea4f['mark']['eq'](_0x540e1b['mark'])?oT(_0x1fea4f,_0x540e1b['children'][0x0],_0x50ecdd-0x1):(_0x390d30['push'](_0x540e1b),_0x540e1b['setParent'](_0x3d7e7e)),_0x3d7e7e['length']+=_0x540e1b['length'];}function aT(_0x3e68d9,_0x55c2b2,_0x50e14e){let _0x4ee082=null,_0x5714a1=-0x1,_0x2616b8=null,_0x482d16=-0x1;!function _0xb3b942(_0x9154a4,_0x3eb848){for(let _0x2f02be=0x0,_0x150d5c=0x0;_0x2f02be<_0x9154a4['children']['length']&&_0x150d5c<=_0x3eb848;_0x2f02be++){let _0x1b2559=_0x9154a4['children'][_0x2f02be],_0x3a4ecf=_0x150d5c+_0x1b2559['length'];_0x3a4ecf>=_0x3eb848&&(_0x1b2559['children']['length']?_0xb3b942(_0x1b2559,_0x3eb848-_0x150d5c):(!_0x2616b8||_0x2616b8['isHidden']&&(_0x50e14e>0x0||cT(_0x2616b8,_0x1b2559)))&&(_0x3a4ecf>_0x3eb848||_0x150d5c==_0x3a4ecf&&_0x1b2559['getSide']()>0x0)?(_0x2616b8=_0x1b2559,_0x482d16=_0x3eb848-_0x150d5c):(_0x150d5c<_0x3eb848||_0x150d5c==_0x3a4ecf&&_0x1b2559['getSide']()<0x0&&!_0x1b2559['isHidden'])&&(_0x4ee082=_0x1b2559,_0x5714a1=_0x3eb848-_0x150d5c)),_0x150d5c=_0x3a4ecf;}}(_0x3e68d9,_0x55c2b2);let _0x12cc4d=(_0x50e14e<0x0?_0x4ee082:_0x2616b8)||_0x4ee082||_0x2616b8;return _0x12cc4d?_0x12cc4d['coordsAt'](Math['max'](0x0,_0x12cc4d==_0x4ee082?_0x5714a1:_0x482d16),_0x50e14e):function(_0x597abf){let _0x4a2c53=_0x597abf['dom']['lastChild'];if(!_0x4a2c53)return _0x597abf['dom']['getBoundingClientRect']();let _0x217afd=DE(_0x4a2c53);return _0x217afd[_0x217afd['length']-0x1]||null;}(_0x3e68d9);}function cT(_0x382523,_0x4d5480){let _0x42f088=_0x382523['coordsAt'](0x0,0x1),_0x52d1b3=_0x4d5480['coordsAt'](0x0,0x1);return _0x42f088&&_0x52d1b3&&_0x52d1b3['top']<_0x42f088['bottom'];}function lT(_0x275e9e,_0x3e75ab){for(let _0x4c0a7a in _0x275e9e)'class'==_0x4c0a7a&&_0x3e75ab['class']?_0x3e75ab['class']+='\x20'+_0x275e9e['class']:'style'==_0x4c0a7a&&_0x3e75ab['style']?_0x3e75ab['style']+=';'+_0x275e9e['style']:_0x3e75ab[_0x4c0a7a]=_0x275e9e[_0x4c0a7a];return _0x3e75ab;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=eT;const hT=Object['create'](null);function uT(_0x4ef006,_0x289de3,_0x528e7c){if(_0x4ef006==_0x289de3)return!0x0;_0x4ef006||(_0x4ef006=hT),_0x289de3||(_0x289de3=hT);let _0x22222f=Object['keys'](_0x4ef006),_0xa7a6e7=Object['keys'](_0x289de3);if(_0x22222f['length']-(_0x528e7c&&_0x22222f['indexOf'](_0x528e7c)>-0x1?0x1:0x0)!=_0xa7a6e7['length']-(_0x528e7c&&_0xa7a6e7['indexOf'](_0x528e7c)>-0x1?0x1:0x0))return!0x1;for(let _0x9633d8 of _0x22222f)if(_0x9633d8!=_0x528e7c&&(-0x1==_0xa7a6e7['indexOf'](_0x9633d8)||_0x4ef006[_0x9633d8]!==_0x289de3[_0x9633d8]))return!0x1;return!0x0;}function dT(_0x3091a5,_0x18c6df,_0x274644){let _0x37953a=!0x1;if(_0x18c6df){for(let _0x8cc9e0 in _0x18c6df)_0x274644&&_0x8cc9e0 in _0x274644||(_0x37953a=!0x0,'style'==_0x8cc9e0?_0x3091a5['style']['cssText']='':_0x3091a5['removeAttribute'](_0x8cc9e0));}if(_0x274644){for(let _0x3d3f85 in _0x274644)_0x18c6df&&_0x18c6df[_0x3d3f85]==_0x274644[_0x3d3f85]||(_0x37953a=!0x0,'style'==_0x3d3f85?_0x3091a5['style']['cssText']=_0x274644[_0x3d3f85]:_0x3091a5['setAttribute'](_0x3d3f85,_0x274644[_0x3d3f85]));}return _0x37953a;}function fT(_0x4caaea){let _0x4790c4=Object['create'](null);for(let _0x1468f1=0x0;_0x1468f1<_0x4caaea['attributes']['length'];_0x1468f1++){let _0x2b7bf6=_0x4caaea['attributes'][_0x1468f1];_0x4790c4[_0x2b7bf6['name']]=_0x2b7bf6['value'];}return _0x4790c4;}class WidgetType{['eq'](_0x9d718f){return!0x1;}['updateDOM'](_0xb04191,_0x527817){return!0x1;}['compare'](_0x2fc558){return this==_0x2fc558||this['constructor']==_0x2fc558['constructor']&&this['eq'](_0x2fc558);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x4668ad){return!0x0;}['coordsAt'](_0x33d2e4,_0x52a535,_0x5ae59e){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x543a92){}}var mT=function(_0x5a473a){return _0x5a473a[_0x5a473a['Text']=0x0]='Text',_0x5a473a[_0x5a473a['WidgetBefore']=0x1]='WidgetBefore',_0x5a473a[_0x5a473a['WidgetAfter']=0x2]='WidgetAfter',_0x5a473a[_0x5a473a['WidgetRange']=0x3]='WidgetRange',_0x5a473a;}(mT||(mT={}));class Decoration extends RangeValue{constructor(_0x197814,_0x168e96,_0x455b77,_0x35b757){super(),this['startSide']=_0x197814,this['endSide']=_0x168e96,this['widget']=_0x455b77,this['spec']=_0x35b757;}get['heightRelevant'](){return!0x1;}static['mark'](_0x33a241){return new MarkDecoration(_0x33a241);}static['widget'](_0x29fdbc){let _0x11e78a=Math['max'](-0x2710,Math['min'](0x2710,_0x29fdbc['side']||0x0)),_0x157db9=!!_0x29fdbc['block'];return _0x11e78a+=_0x157db9&&!_0x29fdbc['inlineOrder']?_0x11e78a>0x0?0x11e1a300:-0x17d78400:_0x11e78a>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x29fdbc,_0x11e78a,_0x11e78a,_0x157db9,_0x29fdbc['widget']||null,!0x1);}static['replace'](_0x4784c4){let _0x25908b,_0x4ac9d9,_0x3321fe=!!_0x4784c4['block'];if(_0x4784c4['isBlockGap'])_0x25908b=-0x1dcd6500,_0x4ac9d9=0x17d78400;else{let {start:_0x4bfd37,end:_0x4f7de6}=gT(_0x4784c4,_0x3321fe);_0x25908b=(_0x4bfd37?_0x3321fe?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x4ac9d9=0x1+(_0x4f7de6?_0x3321fe?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x4784c4,_0x25908b,_0x4ac9d9,_0x3321fe,_0x4784c4['widget']||null,!0x0);}static['line'](_0x1b6b17){return new LineDecoration(_0x1b6b17);}static['set'](_0x25cc4b,_0x32a9f7=!0x1){return RangeSet['of'](_0x25cc4b,_0x32a9f7);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0xd6b1ff){let {start:_0x1d6251,end:_0x29bcb7}=gT(_0xd6b1ff);super(_0x1d6251?-0x1:0x1dcd6500,_0x29bcb7?0x1:-0x23c34600,null,_0xd6b1ff),this['tagName']=_0xd6b1ff['tagName']||'span',this['class']=_0xd6b1ff['class']||'',this['attrs']=_0xd6b1ff['attributes']||null;}['eq'](_0x24e4b5){var _0x4919d8,_0x54f0c6;return this==_0x24e4b5||_0x24e4b5 instanceof MarkDecoration&&this['tagName']==_0x24e4b5['tagName']&&(this['class']||(null===(_0x4919d8=this['attrs'])||void 0x0===_0x4919d8?void 0x0:_0x4919d8['class']))==(_0x24e4b5['class']||(null===(_0x54f0c6=_0x24e4b5['attrs'])||void 0x0===_0x54f0c6?void 0x0:_0x54f0c6['class']))&&uT(this['attrs'],_0x24e4b5['attrs'],'class');}['range'](_0x2efcbe,_0x4fcd91=_0x2efcbe){if(_0x2efcbe>=_0x4fcd91)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x2efcbe,_0x4fcd91);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x470675){super(-0xbebc200,-0xbebc200,null,_0x470675);}['eq'](_0x13327d){return _0x13327d instanceof LineDecoration&&this['spec']['class']==_0x13327d['spec']['class']&&uT(this['spec']['attributes'],_0x13327d['spec']['attributes']);}['range'](_0xd2c9e9,_0x46de90=_0xd2c9e9){if(_0x46de90!=_0xd2c9e9)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0xd2c9e9,_0x46de90);}}LineDecoration['prototype']['mapMode']=p_['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x108a12,_0x18a891,_0x4badc8,_0x38a58e,_0x4dfd6f,_0x50ca9c){super(_0x18a891,_0x4badc8,_0x4dfd6f,_0x108a12),this['block']=_0x38a58e,this['isReplace']=_0x50ca9c,this['mapMode']=_0x38a58e?_0x18a891<=0x0?p_['TrackBefore']:p_['TrackAfter']:p_['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?mT['WidgetRange']:this['startSide']<=0x0?mT['WidgetBefore']:mT['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x2a743d){return _0x2a743d instanceof PointDecoration&&(_0x57d222=this['widget'],_0x125517=_0x2a743d['widget'],_0x57d222==_0x125517||!!(_0x57d222&&_0x125517&&_0x57d222['compare'](_0x125517)))&&this['block']==_0x2a743d['block']&&this['startSide']==_0x2a743d['startSide']&&this['endSide']==_0x2a743d['endSide'];var _0x57d222,_0x125517;}['range'](_0x14eef3,_0x46e7aa=_0x14eef3){if(this['isReplace']&&(_0x14eef3>_0x46e7aa||_0x14eef3==_0x46e7aa&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x46e7aa!=_0x14eef3)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x14eef3,_0x46e7aa);}}function gT(_0xa9e872,_0x301b2b=!0x1){let {inclusiveStart:_0x48debd,inclusiveEnd:_0x39c955}=_0xa9e872;return null==_0x48debd&&(_0x48debd=_0xa9e872['inclusive']),null==_0x39c955&&(_0x39c955=_0xa9e872['inclusive']),{'start':null!=_0x48debd?_0x48debd:_0x301b2b,'end':null!=_0x39c955?_0x39c955:_0x301b2b};}function pT(_0x3b63d1,_0x3f468a,_0x64d1d0,_0x94d1f9=0x0){let _0x1731db=_0x64d1d0['length']-0x1;_0x1731db>=0x0&&_0x64d1d0[_0x1731db]+_0x94d1f9>=_0x3b63d1?_0x64d1d0[_0x1731db]=Math['max'](_0x64d1d0[_0x1731db],_0x3f468a):_0x64d1d0['push'](_0x3b63d1,_0x3f468a);}PointDecoration['prototype']['point']=!0x0;class LineView extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x5ea7c9,_0x306a9f,_0x4c59c2,_0x56b2f1,_0x209b03,_0x2fbbf3){if(_0x4c59c2){if(!(_0x4c59c2 instanceof LineView))return!0x1;this['dom']||_0x4c59c2['transferDOM'](this);}return _0x56b2f1&&this['setDeco'](_0x4c59c2?_0x4c59c2['attrs']:null),nT(this,_0x5ea7c9,_0x306a9f,_0x4c59c2?_0x4c59c2['children']['slice']():[],_0x209b03,_0x2fbbf3),!0x0;}['split'](_0x1daf22){let _0x76b633=new LineView();if(_0x76b633['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x76b633;let {i:_0x47f9fe,off:_0x47712b}=this['childPos'](_0x1daf22);_0x47712b&&(_0x76b633['append'](this['children'][_0x47f9fe]['split'](_0x47712b),0x0),this['children'][_0x47f9fe]['merge'](_0x47712b,this['children'][_0x47f9fe]['length'],null,!0x1,0x0,0x0),_0x47f9fe++);for(let _0x3e9261=_0x47f9fe;_0x3e9261<this['children']['length'];_0x3e9261++)_0x76b633['append'](this['children'][_0x3e9261],0x0);for(;_0x47f9fe>0x0&&0x0==this['children'][_0x47f9fe-0x1]['length'];)this['children'][--_0x47f9fe]['destroy']();return this['children']['length']=_0x47f9fe,this['markDirty'](),this['length']=_0x1daf22,_0x76b633;}['transferDOM'](_0x12a9ba){this['dom']&&(this['markDirty'](),_0x12a9ba['setDOM'](this['dom']),_0x12a9ba['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x130f09){uT(this['attrs'],_0x130f09)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x130f09);}['append'](_0x42739b,_0x1cf178){oT(this,_0x42739b,_0x1cf178);}['addLineDeco'](_0x260b9d){let _0x29cd5b=_0x260b9d['spec']['attributes'],_0x4ad8de=_0x260b9d['spec']['class'];_0x29cd5b&&(this['attrs']=lT(_0x29cd5b,this['attrs']||{})),_0x4ad8de&&(this['attrs']=lT({'class':_0x4ad8de},this['attrs']||{}));}['domAtPos'](_0x55d619){return rT(this,_0x55d619);}['reuseDOM'](_0x133413){'DIV'==_0x133413['nodeName']&&(this['setDOM'](_0x133413),this['flags']|=0x6);}['sync'](_0xa7f51,_0xb557e3){var _0x6af7e5;this['dom']?0x4&this['flags']&&(YE(this['dom']),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0):(this['setDOM'](document['createElement']('div')),this['dom']['className']='cm-line',this['prevAttrs']=this['attrs']?null:void 0x0),void 0x0!==this['prevAttrs']&&(dT(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0xa7f51,_0xb557e3);let _0xaca77e=this['dom']['lastChild'];for(;_0xaca77e&&ContentView['get'](_0xaca77e)instanceof MarkView;)_0xaca77e=_0xaca77e['lastChild'];if(!(_0xaca77e&&this['length']&&('BR'==_0xaca77e['nodeName']||0x0!=(null===(_0x6af7e5=ContentView['get'](_0xaca77e))||void 0x0===_0x6af7e5?void 0x0:_0x6af7e5['isEditable'])||ME['ios']&&this['children']['some'](_0x13210d=>_0x13210d instanceof TextView)))){let _0x3d64e9=document['createElement']('BR');_0x3d64e9['cmIgnore']=!0x0,this['dom']['appendChild'](_0x3d64e9);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x187d52,_0x3ba335=0x0;for(let _0x36a2c5 of this['children']){if(!(_0x36a2c5 instanceof TextView)||/[^ -~]/['test'](_0x36a2c5['text']))return null;let _0x65e953=DE(_0x36a2c5['dom']);if(0x1!=_0x65e953['length'])return null;_0x3ba335+=_0x65e953[0x0]['width'],_0x187d52=_0x65e953[0x0]['height'];}return _0x3ba335?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x3ba335/this['length'],'textHeight':_0x187d52}:null;}['coordsAt'](_0x40daa4,_0x5cb345){let _0x2e0b70=aT(this,_0x40daa4,_0x5cb345);if(!this['children']['length']&&_0x2e0b70&&this['parent']){let {heightOracle:_0x44b9d3}=this['parent']['view']['viewState'],_0x4057ca=_0x2e0b70['bottom']-_0x2e0b70['top'];if(Math['abs'](_0x4057ca-_0x44b9d3['lineHeight'])<0x2&&_0x44b9d3['textHeight']<_0x4057ca){let _0x56c0df=(_0x4057ca-_0x44b9d3['textHeight'])/0x2;return{'top':_0x2e0b70['top']+_0x56c0df,'bottom':_0x2e0b70['bottom']-_0x56c0df,'left':_0x2e0b70['left'],'right':_0x2e0b70['left']};}}return _0x2e0b70;}['become'](_0x45493e){return _0x45493e instanceof LineView&&0x0==this['children']['length']&&0x0==_0x45493e['children']['length']&&uT(this['attrs'],_0x45493e['attrs'])&&this['breakAfter']==_0x45493e['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x250ce8,_0x45cddb){for(let _0x5699cb=0x0,_0x5ed5b5=0x0;_0x5699cb<_0x250ce8['children']['length'];_0x5699cb++){let _0x4d3d28=_0x250ce8['children'][_0x5699cb],_0x1af2e7=_0x5ed5b5+_0x4d3d28['length'];if(_0x1af2e7>=_0x45cddb){if(_0x4d3d28 instanceof LineView)return _0x4d3d28;if(_0x1af2e7>_0x45cddb)break;}_0x5ed5b5=_0x1af2e7+_0x4d3d28['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x4fe84c,_0x23f80b,_0x58e813){super(),this['widget']=_0x4fe84c,this['length']=_0x23f80b,this['deco']=_0x58e813,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x5b9d3c,_0xf34b33,_0x3433cb,_0x33c133,_0x4d431e,_0x15a89e){return!(_0x3433cb&&(!(_0x3433cb instanceof BlockWidgetView&&this['widget']['compare'](_0x3433cb['widget']))||_0x5b9d3c>0x0&&_0x4d431e<=0x0||_0xf34b33<this['length']&&_0x15a89e<=0x0))&&(this['length']=_0x5b9d3c+(_0x3433cb?_0x3433cb['length']:0x0)+(this['length']-_0xf34b33),!0x0);}['domAtPos'](_0x55a042){return 0x0==_0x55a042?DOMPos['before'](this['dom']):DOMPos['after'](this['dom'],_0x55a042==this['length']);}['split'](_0x23f8bd){let _0xa309a9=this['length']-_0x23f8bd;this['length']=_0x23f8bd;let _0x29f74e=new BlockWidgetView(this['widget'],_0xa309a9,this['deco']);return _0x29f74e['breakAfter']=this['breakAfter'],_0x29f74e;}get['children'](){return eT;}['sync'](_0x501e9a){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x501e9a)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x501e9a)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):o_['empty'];}['domBoundsAround'](){return null;}['become'](_0xab4b78){return _0xab4b78 instanceof BlockWidgetView&&_0xab4b78['widget']['constructor']==this['widget']['constructor']&&(_0xab4b78['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0xab4b78['widget'],this['length']=_0xab4b78['length'],this['deco']=_0xab4b78['deco'],this['breakAfter']=_0xab4b78['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x251296){return this['widget']['ignoreEvent'](_0x251296);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x2d4cca,_0x512169){let _0x1861dc=this['widget']['coordsAt'](this['dom'],_0x2d4cca,_0x512169);return _0x1861dc||(this['widget']instanceof BlockGapWidget?null:jE(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x2d4cca:_0x512169<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x17e494){let {startSide:_0x5f536c,endSide:_0x1a5e58}=this['deco'];return _0x5f536c!=_0x1a5e58&&(_0x17e494<0x0?_0x5f536c<0x0:_0x1a5e58>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x560fb3){super(),this['height']=_0x560fb3;}['toDOM'](){let _0x2a4f4c=document['createElement']('div');return _0x2a4f4c['className']='cm-gap',this['updateDOM'](_0x2a4f4c),_0x2a4f4c;}['eq'](_0x6268b7){return _0x6268b7['height']==this['height'];}['updateDOM'](_0x4aaeb1){return _0x4aaeb1['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x307b0f,_0x510da6,_0x48cbf9,_0x29feac){this['doc']=_0x307b0f,this['pos']=_0x510da6,this['end']=_0x48cbf9,this['disallowBlockEffectsFor']=_0x29feac,this['content']=[],this['curLine']=null,this['breakAtStart']=0x0,this['pendingBuffer']=0x0,this['bufferMarks']=[],this['atCursorPos']=!0x0,this['openStart']=-0x1,this['openEnd']=-0x1,this['text']='',this['textOff']=0x0,this['cursor']=_0x307b0f['iter'](),this['skip']=_0x510da6;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x31058f=this['content'][this['content']['length']-0x1];return!(_0x31058f['breakAfter']||_0x31058f instanceof BlockWidgetView&&_0x31058f['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new LineView()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x1429b8=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](OT(new WidgetBufferView(-0x1),_0x1429b8),_0x1429b8['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x5c284c){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x5c284c);}['finish'](_0x17f9b9){this['pendingBuffer']&&_0x17f9b9<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x17f9b9&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x51183d,_0x2ef6ef,_0x34357e){for(;_0x51183d>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x5b3f42,lineBreak:_0x18b1df,done:_0x359126}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x359126)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x18b1df){this['posCovered']()||this['getLine'](),this['content']['length']?this['content'][this['content']['length']-0x1]['breakAfter']=0x1:this['breakAtStart']=0x1,this['flushBuffer'](),this['curLine']=null,this['atCursorPos']=!0x0,_0x51183d--;continue;}this['text']=_0x5b3f42,this['textOff']=0x0;}let _0x44b89e=Math['min'](this['text']['length']-this['textOff'],_0x51183d),_0x3adbaa=Math['min'](_0x44b89e,0x200);this['flushBuffer'](_0x2ef6ef['slice'](_0x2ef6ef['length']-_0x34357e)),this['getLine']()['append'](OT(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x3adbaa)),_0x2ef6ef),_0x34357e),this['atCursorPos']=!0x0,this['textOff']+=_0x3adbaa,_0x51183d-=_0x3adbaa,_0x34357e=_0x44b89e<=_0x3adbaa?0x0:_0x2ef6ef['length'];}}['span'](_0x4bc6d8,_0x53e506,_0xbc8573,_0x2eefba){this['buildText'](_0x53e506-_0x4bc6d8,_0xbc8573,_0x2eefba),this['pos']=_0x53e506,this['openStart']<0x0&&(this['openStart']=_0x2eefba);}['point'](_0x37882c,_0x14a9ca,_0x1faddd,_0x3b0809,_0x3a9646,_0x331b7c){if(this['disallowBlockEffectsFor'][_0x331b7c]&&_0x1faddd instanceof PointDecoration){if(_0x1faddd['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x14a9ca>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x293507=_0x14a9ca-_0x37882c;if(_0x1faddd instanceof PointDecoration){if(_0x1faddd['block'])_0x1faddd['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x1faddd['widget']||NullWidget['block'],_0x293507,_0x1faddd));else{let _0x14fb42=WidgetView['create'](_0x1faddd['widget']||NullWidget['inline'],_0x293507,_0x293507?0x0:_0x1faddd['startSide']),_0x10ceb1=this['atCursorPos']&&!_0x14fb42['isEditable']&&_0x3a9646<=_0x3b0809['length']&&(_0x37882c<_0x14a9ca||_0x1faddd['startSide']>0x0),_0x4afcb9=!_0x14fb42['isEditable']&&(_0x37882c<_0x14a9ca||_0x3a9646>_0x3b0809['length']||_0x1faddd['startSide']<=0x0),_0x1aea04=this['getLine']();0x2!=this['pendingBuffer']||_0x10ceb1||_0x14fb42['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x3b0809),_0x10ceb1&&(_0x1aea04['append'](OT(new WidgetBufferView(0x1),_0x3b0809),_0x3a9646),_0x3a9646=_0x3b0809['length']+Math['max'](0x0,_0x3a9646-_0x3b0809['length'])),_0x1aea04['append'](OT(_0x14fb42,_0x3b0809),_0x3a9646),this['atCursorPos']=_0x4afcb9,this['pendingBuffer']=_0x4afcb9?_0x37882c<_0x14a9ca||_0x3a9646>_0x3b0809['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x3b0809['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x1faddd);_0x293507&&(this['textOff']+_0x293507<=this['text']['length']?this['textOff']+=_0x293507:(this['skip']+=_0x293507-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x14a9ca),this['openStart']<0x0&&(this['openStart']=_0x3a9646);}static['build'](_0x112a07,_0x290cc6,_0x5b4891,_0x158d4c,_0x3f40d4){let _0x2d6649=new ContentBuilder(_0x112a07,_0x290cc6,_0x5b4891,_0x3f40d4);return _0x2d6649['openEnd']=RangeSet['spans'](_0x158d4c,_0x290cc6,_0x5b4891,_0x2d6649),_0x2d6649['openStart']<0x0&&(_0x2d6649['openStart']=_0x2d6649['openEnd']),_0x2d6649['finish'](_0x2d6649['openEnd']),_0x2d6649;}}function OT(_0x1ebe20,_0x1545ea){for(let _0x46b023 of _0x1545ea)_0x1ebe20=new MarkView(_0x46b023,[_0x1ebe20],_0x1ebe20['length']);return _0x1ebe20;}class NullWidget extends WidgetType{constructor(_0x429eda){super(),this['tag']=_0x429eda;}['eq'](_0x47de14){return _0x47de14['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x1af0a9){return _0x1af0a9['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var wT=function(_0xb574ca){return _0xb574ca[_0xb574ca['LTR']=0x0]='LTR',_0xb574ca[_0xb574ca['RTL']=0x1]='RTL',_0xb574ca;}(wT||(wT={}));const bT=wT['LTR'],yT=wT['RTL'];function vT(_0x400b75){let _0x151eb9=[];for(let _0x1c3b5c=0x0;_0x1c3b5c<_0x400b75['length'];_0x1c3b5c++)_0x151eb9['push'](0x1<<+_0x400b75[_0x1c3b5c]);return _0x151eb9;}const _T=vT('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),ET=vT('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),TT=Object['create'](null),AT=[];for(let e of['()','[]','{}']){let s=e['charCodeAt'](0x0),n=e['charCodeAt'](0x1);TT[s]=n,TT[n]=-s;}function IT(_0x1c330a){return _0x1c330a<=0xf7?_T[_0x1c330a]:0x590<=_0x1c330a&&_0x1c330a<=0x5f4?0x2:0x600<=_0x1c330a&&_0x1c330a<=0x6f9?ET[_0x1c330a-0x600]:0x6ee<=_0x1c330a&&_0x1c330a<=0x8ac?0x4:0x2000<=_0x1c330a&&_0x1c330a<=0x200c?0x100:0xfb50<=_0x1c330a&&_0x1c330a<=0xfdff?0x4:0x1;}const ST=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class BidiSpan{get['dir'](){return this['level']%0x2?yT:bT;}constructor(_0x20aea1,_0x35afbb,_0x3c8595){this['from']=_0x20aea1,this['to']=_0x35afbb,this['level']=_0x3c8595;}['side'](_0x2424fa,_0xcd26c5){return this['dir']==_0xcd26c5==_0x2424fa?this['to']:this['from'];}['forward'](_0x373fb4,_0x5f05e8){return _0x373fb4==(this['dir']==_0x5f05e8);}static['find'](_0x91c2a3,_0x43cef9,_0xce318e,_0x4ab9f5){let _0x5b3aa8=-0x1;for(let _0x30157c=0x0;_0x30157c<_0x91c2a3['length'];_0x30157c++){let _0x25cf3e=_0x91c2a3[_0x30157c];if(_0x25cf3e['from']<=_0x43cef9&&_0x25cf3e['to']>=_0x43cef9){if(_0x25cf3e['level']==_0xce318e)return _0x30157c;(_0x5b3aa8<0x0||(0x0!=_0x4ab9f5?_0x4ab9f5<0x0?_0x25cf3e['from']<_0x43cef9:_0x25cf3e['to']>_0x43cef9:_0x91c2a3[_0x5b3aa8]['level']>_0x25cf3e['level']))&&(_0x5b3aa8=_0x30157c);}}if(_0x5b3aa8<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x5b3aa8;}}function CT(_0x3162bc,_0x3ff644){if(_0x3162bc['length']!=_0x3ff644['length'])return!0x1;for(let _0x21eacc=0x0;_0x21eacc<_0x3162bc['length'];_0x21eacc++){let _0x2372a6=_0x3162bc[_0x21eacc],_0x3b2756=_0x3ff644[_0x21eacc];if(_0x2372a6['from']!=_0x3b2756['from']||_0x2372a6['to']!=_0x3b2756['to']||_0x2372a6['direction']!=_0x3b2756['direction']||!CT(_0x2372a6['inner'],_0x3b2756['inner']))return!0x1;}return!0x0;}const kT=[];function xT(_0x444ab4,_0x5b1678,_0x2c141f,_0x866583,_0x3801ea,_0x44fc5e,_0x14d456){let _0x113a18=_0x866583%0x2?0x2:0x1;if(_0x866583%0x2==_0x3801ea%0x2)for(let _0x13c283=_0x5b1678,_0x2c5200=0x0;_0x13c283<_0x2c141f;){let _0x37194b=!0x0,_0x2b00c6=!0x1;if(_0x2c5200==_0x44fc5e['length']||_0x13c283<_0x44fc5e[_0x2c5200]['from']){let _0x4d78ca=kT[_0x13c283];_0x4d78ca!=_0x113a18&&(_0x37194b=!0x1,_0x2b00c6=0x10==_0x4d78ca);}let _0x3af8b3=_0x37194b||0x1!=_0x113a18?null:[],_0x46fbb7=_0x37194b?_0x866583:_0x866583+0x1,_0x36fa34=_0x13c283;t:for(;;)if(_0x2c5200<_0x44fc5e['length']&&_0x36fa34==_0x44fc5e[_0x2c5200]['from']){if(_0x2b00c6)break t;let _0x36d627=_0x44fc5e[_0x2c5200];if(!_0x37194b)for(let _0xaeeac9=_0x36d627['to'],_0x5b0f23=_0x2c5200+0x1;;){if(_0xaeeac9==_0x2c141f)break t;if(!(_0x5b0f23<_0x44fc5e['length']&&_0x44fc5e[_0x5b0f23]['from']==_0xaeeac9)){if(kT[_0xaeeac9]==_0x113a18)break t;break;}_0xaeeac9=_0x44fc5e[_0x5b0f23++]['to'];}if(_0x2c5200++,_0x3af8b3)_0x3af8b3['push'](_0x36d627);else _0x36d627['from']>_0x13c283&&_0x14d456['push'](new BidiSpan(_0x13c283,_0x36d627['from'],_0x46fbb7)),RT(_0x444ab4,_0x36d627['direction']==bT!=!(_0x46fbb7%0x2)?_0x866583+0x1:_0x866583,_0x3801ea,_0x36d627['inner'],_0x36d627['from'],_0x36d627['to'],_0x14d456),_0x13c283=_0x36d627['to'];_0x36fa34=_0x36d627['to'];}else{if(_0x36fa34==_0x2c141f||(_0x37194b?kT[_0x36fa34]!=_0x113a18:kT[_0x36fa34]==_0x113a18))break;_0x36fa34++;}_0x3af8b3?xT(_0x444ab4,_0x13c283,_0x36fa34,_0x866583+0x1,_0x3801ea,_0x3af8b3,_0x14d456):_0x13c283<_0x36fa34&&_0x14d456['push'](new BidiSpan(_0x13c283,_0x36fa34,_0x46fbb7)),_0x13c283=_0x36fa34;}else for(let _0xe0556f=_0x2c141f,_0x4814d0=_0x44fc5e['length'];_0xe0556f>_0x5b1678;){let _0x52765b=!0x0,_0x3488b7=!0x1;if(!_0x4814d0||_0xe0556f>_0x44fc5e[_0x4814d0-0x1]['to']){let _0x23e6e6=kT[_0xe0556f-0x1];_0x23e6e6!=_0x113a18&&(_0x52765b=!0x1,_0x3488b7=0x10==_0x23e6e6);}let _0x288acd=_0x52765b||0x1!=_0x113a18?null:[],_0x48c35f=_0x52765b?_0x866583:_0x866583+0x1,_0x203ff1=_0xe0556f;t:for(;;)if(_0x4814d0&&_0x203ff1==_0x44fc5e[_0x4814d0-0x1]['to']){if(_0x3488b7)break t;let _0x1350db=_0x44fc5e[--_0x4814d0];if(!_0x52765b)for(let _0x51682e=_0x1350db['from'],_0x5a7524=_0x4814d0;;){if(_0x51682e==_0x5b1678)break t;if(!_0x5a7524||_0x44fc5e[_0x5a7524-0x1]['to']!=_0x51682e){if(kT[_0x51682e-0x1]==_0x113a18)break t;break;}_0x51682e=_0x44fc5e[--_0x5a7524]['from'];}if(_0x288acd)_0x288acd['push'](_0x1350db);else _0x1350db['to']<_0xe0556f&&_0x14d456['push'](new BidiSpan(_0x1350db['to'],_0xe0556f,_0x48c35f)),RT(_0x444ab4,_0x1350db['direction']==bT!=!(_0x48c35f%0x2)?_0x866583+0x1:_0x866583,_0x3801ea,_0x1350db['inner'],_0x1350db['from'],_0x1350db['to'],_0x14d456),_0xe0556f=_0x1350db['from'];_0x203ff1=_0x1350db['from'];}else{if(_0x203ff1==_0x5b1678||(_0x52765b?kT[_0x203ff1-0x1]!=_0x113a18:kT[_0x203ff1-0x1]==_0x113a18))break;_0x203ff1--;}_0x288acd?xT(_0x444ab4,_0x203ff1,_0xe0556f,_0x866583+0x1,_0x3801ea,_0x288acd,_0x14d456):_0x203ff1<_0xe0556f&&_0x14d456['push'](new BidiSpan(_0x203ff1,_0xe0556f,_0x48c35f)),_0xe0556f=_0x203ff1;}}function RT(_0xc7351,_0x12218c,_0x52a9bd,_0xd9eedd,_0x19dfd6,_0x142890,_0x3fa949){let _0x2767bd=_0x12218c%0x2?0x2:0x1;!function(_0x10d92c,_0x1bb9de,_0x2d460e,_0x8e3edb,_0x1700d7){for(let _0x12e578=0x0;_0x12e578<=_0x8e3edb['length'];_0x12e578++){let _0x4be3b4=_0x12e578?_0x8e3edb[_0x12e578-0x1]['to']:_0x1bb9de,_0xadcb27=_0x12e578<_0x8e3edb['length']?_0x8e3edb[_0x12e578]['from']:_0x2d460e,_0x544e5b=_0x12e578?0x100:_0x1700d7;for(let _0x15ad74=_0x4be3b4,_0x1e10df=_0x544e5b,_0x42aaca=_0x544e5b;_0x15ad74<_0xadcb27;_0x15ad74++){let _0x2a6047=IT(_0x10d92c['charCodeAt'](_0x15ad74));0x200==_0x2a6047?_0x2a6047=_0x1e10df:0x8==_0x2a6047&&0x4==_0x42aaca&&(_0x2a6047=0x10),kT[_0x15ad74]=0x4==_0x2a6047?0x2:_0x2a6047,0x7&_0x2a6047&&(_0x42aaca=_0x2a6047),_0x1e10df=_0x2a6047;}for(let _0x893e8e=_0x4be3b4,_0x1902c8=_0x544e5b,_0x33e1f4=_0x544e5b;_0x893e8e<_0xadcb27;_0x893e8e++){let _0x451b3d=kT[_0x893e8e];if(0x80==_0x451b3d)_0x893e8e<_0xadcb27-0x1&&_0x1902c8==kT[_0x893e8e+0x1]&&0x18&_0x1902c8?_0x451b3d=kT[_0x893e8e]=_0x1902c8:kT[_0x893e8e]=0x100;else{if(0x40==_0x451b3d){let _0x52745a=_0x893e8e+0x1;for(;_0x52745a<_0xadcb27&&0x40==kT[_0x52745a];)_0x52745a++;let _0x468e5d=_0x893e8e&&0x8==_0x1902c8||_0x52745a<_0x2d460e&&0x8==kT[_0x52745a]?0x1==_0x33e1f4?0x1:0x8:0x100;for(let _0x1267d1=_0x893e8e;_0x1267d1<_0x52745a;_0x1267d1++)kT[_0x1267d1]=_0x468e5d;_0x893e8e=_0x52745a-0x1;}else 0x8==_0x451b3d&&0x1==_0x33e1f4&&(kT[_0x893e8e]=0x1);}_0x1902c8=_0x451b3d,0x7&_0x451b3d&&(_0x33e1f4=_0x451b3d);}}}(_0xc7351,_0x19dfd6,_0x142890,_0xd9eedd,_0x2767bd),function(_0x2fb25a,_0x1a9061,_0x11d378,_0x267a96,_0x2801e7){let _0x5b9d39=0x1==_0x2801e7?0x2:0x1;for(let _0x5a92ec=0x0,_0x333e65=0x0,_0x4dee07=0x0;_0x5a92ec<=_0x267a96['length'];_0x5a92ec++){let _0x29dbc4=_0x5a92ec?_0x267a96[_0x5a92ec-0x1]['to']:_0x1a9061,_0x3d72e1=_0x5a92ec<_0x267a96['length']?_0x267a96[_0x5a92ec]['from']:_0x11d378;for(let _0x159cb7,_0x3808d1,_0x263c9b,_0xa15b60=_0x29dbc4;_0xa15b60<_0x3d72e1;_0xa15b60++)if(_0x3808d1=TT[_0x159cb7=_0x2fb25a['charCodeAt'](_0xa15b60)]){if(_0x3808d1<0x0){for(let _0x509a12=_0x333e65-0x3;_0x509a12>=0x0;_0x509a12-=0x3)if(AT[_0x509a12+0x1]==-_0x3808d1){let _0x4a2aa5=AT[_0x509a12+0x2],_0x208d17=0x2&_0x4a2aa5?_0x2801e7:0x4&_0x4a2aa5?0x1&_0x4a2aa5?_0x5b9d39:_0x2801e7:0x0;_0x208d17&&(kT[_0xa15b60]=kT[AT[_0x509a12]]=_0x208d17),_0x333e65=_0x509a12;break;}}else{if(0xbd==AT['length'])break;AT[_0x333e65++]=_0xa15b60,AT[_0x333e65++]=_0x159cb7,AT[_0x333e65++]=_0x4dee07;}}else{if(0x2==(_0x263c9b=kT[_0xa15b60])||0x1==_0x263c9b){let _0x39d27e=_0x263c9b==_0x2801e7;_0x4dee07=_0x39d27e?0x0:0x1;for(let _0x148703=_0x333e65-0x3;_0x148703>=0x0;_0x148703-=0x3){let _0x147c16=AT[_0x148703+0x2];if(0x2&_0x147c16)break;if(_0x39d27e)AT[_0x148703+0x2]|=0x2;else{if(0x4&_0x147c16)break;AT[_0x148703+0x2]|=0x4;}}}}}}(_0xc7351,_0x19dfd6,_0x142890,_0xd9eedd,_0x2767bd),function(_0x3bc191,_0x37efdb,_0x3a6cbe,_0x26c2fa){for(let _0x4cafd7=0x0,_0x422fba=_0x26c2fa;_0x4cafd7<=_0x3a6cbe['length'];_0x4cafd7++){let _0x3fee22=_0x4cafd7?_0x3a6cbe[_0x4cafd7-0x1]['to']:_0x3bc191,_0x14d377=_0x4cafd7<_0x3a6cbe['length']?_0x3a6cbe[_0x4cafd7]['from']:_0x37efdb;for(let _0x3c30da=_0x3fee22;_0x3c30da<_0x14d377;){let _0x266685=kT[_0x3c30da];if(0x100==_0x266685){let _0x2607b5=_0x3c30da+0x1;for(;;)if(_0x2607b5==_0x14d377){if(_0x4cafd7==_0x3a6cbe['length'])break;_0x2607b5=_0x3a6cbe[_0x4cafd7++]['to'],_0x14d377=_0x4cafd7<_0x3a6cbe['length']?_0x3a6cbe[_0x4cafd7]['from']:_0x37efdb;}else{if(0x100!=kT[_0x2607b5])break;_0x2607b5++;}let _0x32e0ff=0x1==_0x422fba,_0x561dd3=_0x32e0ff==(0x1==(_0x2607b5<_0x37efdb?kT[_0x2607b5]:_0x26c2fa))?_0x32e0ff?0x1:0x2:_0x26c2fa;for(let _0x499896=_0x2607b5,_0x4f571c=_0x4cafd7,_0x3dbe03=_0x4f571c?_0x3a6cbe[_0x4f571c-0x1]['to']:_0x3bc191;_0x499896>_0x3c30da;)_0x499896==_0x3dbe03&&(_0x499896=_0x3a6cbe[--_0x4f571c]['from'],_0x3dbe03=_0x4f571c?_0x3a6cbe[_0x4f571c-0x1]['to']:_0x3bc191),kT[--_0x499896]=_0x561dd3;_0x3c30da=_0x2607b5;}else _0x422fba=_0x266685,_0x3c30da++;}}}(_0x19dfd6,_0x142890,_0xd9eedd,_0x2767bd),xT(_0xc7351,_0x19dfd6,_0x142890,_0x12218c,_0x52a9bd,_0xd9eedd,_0x3fa949);}function PT(_0x41ea39){return[new BidiSpan(0x0,_0x41ea39,0x0)];}let MT='';function NT(_0x4726bb,_0x1670ea,_0x407923,_0x2d5484,_0x3b5f74){var _0x343236;let _0x28cff4=_0x2d5484['head']-_0x4726bb['from'],_0x4aa621=BidiSpan['find'](_0x1670ea,_0x28cff4,null!==(_0x343236=_0x2d5484['bidiLevel'])&&void 0x0!==_0x343236?_0x343236:-0x1,_0x2d5484['assoc']),_0x5bdc9f=_0x1670ea[_0x4aa621],_0x2cf09c=_0x5bdc9f['side'](_0x3b5f74,_0x407923);if(_0x28cff4==_0x2cf09c){let _0x4de460=_0x4aa621+=_0x3b5f74?0x1:-0x1;if(_0x4de460<0x0||_0x4de460>=_0x1670ea['length'])return null;_0x5bdc9f=_0x1670ea[_0x4aa621=_0x4de460],_0x28cff4=_0x5bdc9f['side'](!_0x3b5f74,_0x407923),_0x2cf09c=_0x5bdc9f['side'](_0x3b5f74,_0x407923);}let _0x33139a=u_(_0x4726bb['text'],_0x28cff4,_0x5bdc9f['forward'](_0x3b5f74,_0x407923));(_0x33139a<_0x5bdc9f['from']||_0x33139a>_0x5bdc9f['to'])&&(_0x33139a=_0x2cf09c),MT=_0x4726bb['text']['slice'](Math['min'](_0x28cff4,_0x33139a),Math['max'](_0x28cff4,_0x33139a));let _0x81cbef=_0x4aa621==(_0x3b5f74?_0x1670ea['length']-0x1:0x0)?null:_0x1670ea[_0x4aa621+(_0x3b5f74?0x1:-0x1)];return _0x81cbef&&_0x33139a==_0x2cf09c&&_0x81cbef['level']+(_0x3b5f74?0x0:0x1)<_0x5bdc9f['level']?EditorSelection['cursor'](_0x81cbef['side'](!_0x3b5f74,_0x407923)+_0x4726bb['from'],_0x81cbef['forward'](_0x3b5f74,_0x407923)?0x1:-0x1,_0x81cbef['level']):EditorSelection['cursor'](_0x33139a+_0x4726bb['from'],_0x5bdc9f['forward'](_0x3b5f74,_0x407923)?-0x1:0x1,_0x5bdc9f['level']);}function LT(_0x3525f9,_0x432bc1,_0x5be296){for(let _0x4580ee=_0x432bc1;_0x4580ee<_0x5be296;_0x4580ee++){let _0x317091=IT(_0x3525f9['charCodeAt'](_0x4580ee));if(0x1==_0x317091)return bT;if(0x2==_0x317091||0x4==_0x317091)return yT;}return bT;}const $T=Facet['define'](),DT=Facet['define'](),QT=Facet['define'](),VT=Facet['define'](),UT=Facet['define'](),BT=Facet['define'](),FT=Facet['define'](),jT=Facet['define'](),HT=Facet['define'](),GT=Facet['define']({'combine':_0x29d5a4=>_0x29d5a4['some'](_0x22e129=>_0x22e129)}),ZT=Facet['define']({'combine':_0x53b4e7=>_0x53b4e7['some'](_0x3e660a=>_0x3e660a)}),XT=Facet['define']();class ScrollTarget{constructor(_0x11851f,_0x284f55='nearest',_0x5e1140='nearest',_0x295084=0x5,_0x135364=0x5,_0x14367f=!0x1){this['range']=_0x11851f,this['y']=_0x284f55,this['x']=_0x5e1140,this['yMargin']=_0x295084,this['xMargin']=_0x135364,this['isSnapshot']=_0x14367f;}['map'](_0x10757d){return _0x10757d['empty']?this:new ScrollTarget(this['range']['map'](_0x10757d),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x56de5c){return this['range']['to']<=_0x56de5c['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x56de5c['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const qT=StateEffect['define']({'map':(t,_0xb4c947)=>t['map'](_0xb4c947)}),zT=StateEffect['define']();function YT(_0x149bf8,_0x39a2fd,_0x592536){let _0x512c51=_0x149bf8['facet'](VT);_0x512c51['length']?_0x512c51[0x0](_0x39a2fd):window['onerror']&&window['onerror'](String(_0x39a2fd),_0x592536,void 0x0,void 0x0,_0x39a2fd)||(_0x592536?console['error'](_0x592536+':',_0x39a2fd):console['error'](_0x39a2fd));}const KT=Facet['define']({'combine':_0x1d7330=>!_0x1d7330['length']||_0x1d7330[0x0]});let JT=0x0;const tA=Facet['define']({'combine':_0x37f9b3=>_0x37f9b3['filter']((_0x179940,_0x4b76bb)=>{for(let _0x182e38=0x0;_0x182e38<_0x4b76bb;_0x182e38++)if(_0x37f9b3[_0x182e38]['plugin']==_0x179940['plugin'])return!0x1;return!0x0;})});class ViewPlugin{constructor(_0x352053,_0x59c012,_0x5dcdab,_0x38170f,_0x2867c8){this['id']=_0x352053,this['create']=_0x59c012,this['domEventHandlers']=_0x5dcdab,this['domEventObservers']=_0x38170f,this['baseExtensions']=_0x2867c8(this),this['extension']=this['baseExtensions']['concat'](tA['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x1e9cdc){return this['baseExtensions']['concat'](tA['of']({'plugin':this,'arg':_0x1e9cdc}));}static['define'](_0x54c0a1,_0x2f85de){const {eventHandlers:_0x2ec5c6,eventObservers:_0x561933,provide:_0xb707d7,decorations:_0x1306df}=_0x2f85de||{};return new ViewPlugin(JT++,_0x54c0a1,_0x2ec5c6,_0x561933,_0x5047c6=>{let _0x4c3987=[];return _0x1306df&&_0x4c3987['push'](sA['of'](_0x453ead=>{let _0x5d6dbb=_0x453ead['plugin'](_0x5047c6);return _0x5d6dbb?_0x1306df(_0x5d6dbb):Decoration['none'];})),_0xb707d7&&_0x4c3987['push'](_0xb707d7(_0x5047c6)),_0x4c3987;});}static['fromClass'](_0xe79943,_0x434e21){return ViewPlugin['define']((_0x2613c8,_0x434c73)=>new _0xe79943(_0x2613c8,_0x434c73),_0x434e21);}}class PluginInstance{constructor(_0x1418d2){this['spec']=_0x1418d2,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x329f9e){if(this['value']){if(this['mustUpdate']){let _0x5e524d=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x5e524d);}catch(_0x4a9fe8){if(YT(_0x5e524d['state'],_0x4a9fe8,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x376b3d){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x329f9e,this['spec']['arg']);}catch(_0x5e5980){YT(_0x329f9e['state'],_0x5e5980,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0xd80bcd){var _0x58cdde;if(null===(_0x58cdde=this['value'])||void 0x0===_0x58cdde?void 0x0:_0x58cdde['destroy'])try{this['value']['destroy']();}catch(_0x1128bd){YT(_0xd80bcd['state'],_0x1128bd,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const eA=Facet['define'](),iA=Facet['define'](),sA=Facet['define'](),nA=Facet['define'](),rA=Facet['define'](),oA=Facet['define']();function aA(_0x1fec28,_0x3c989b){let _0x36daac=_0x1fec28['state']['facet'](oA);if(!_0x36daac['length'])return _0x36daac;let _0x127af5=_0x36daac['map'](_0x42e379=>_0x42e379 instanceof Function?_0x42e379(_0x1fec28):_0x42e379),_0x590f74=[];return RangeSet['spans'](_0x127af5,_0x3c989b['from'],_0x3c989b['to'],{'point'(){},'span'(_0x2e3191,_0x53a9ef,_0x3fa725,_0x56688b){let _0x1a6a46=_0x2e3191-_0x3c989b['from'],_0x3fb20b=_0x53a9ef-_0x3c989b['from'],_0x1f187d=_0x590f74;for(let _0x5412ce=_0x3fa725['length']-0x1;_0x5412ce>=0x0;_0x5412ce--,_0x56688b--){let _0x420a30,_0xe4a582=_0x3fa725[_0x5412ce]['spec']['bidiIsolate'];if(null==_0xe4a582&&(_0xe4a582=LT(_0x3c989b['text'],_0x1a6a46,_0x3fb20b)),_0x56688b>0x0&&_0x1f187d['length']&&(_0x420a30=_0x1f187d[_0x1f187d['length']-0x1])['to']==_0x1a6a46&&_0x420a30['direction']==_0xe4a582)_0x420a30['to']=_0x3fb20b,_0x1f187d=_0x420a30['inner'];else{let _0x20e9d0={'from':_0x1a6a46,'to':_0x3fb20b,'direction':_0xe4a582,'inner':[]};_0x1f187d['push'](_0x20e9d0),_0x1f187d=_0x20e9d0['inner'];}}}}),_0x590f74;}const cA=Facet['define']();function lA(_0xc034e4){let _0x8dd194=0x0,_0x345d6e=0x0,_0x2575b5=0x0,_0x295ec=0x0;for(let _0x39ebc3 of _0xc034e4['state']['facet'](cA)){let _0x27b95a=_0x39ebc3(_0xc034e4);_0x27b95a&&(null!=_0x27b95a['left']&&(_0x8dd194=Math['max'](_0x8dd194,_0x27b95a['left'])),null!=_0x27b95a['right']&&(_0x345d6e=Math['max'](_0x345d6e,_0x27b95a['right'])),null!=_0x27b95a['top']&&(_0x2575b5=Math['max'](_0x2575b5,_0x27b95a['top'])),null!=_0x27b95a['bottom']&&(_0x295ec=Math['max'](_0x295ec,_0x27b95a['bottom'])));}return{'left':_0x8dd194,'right':_0x345d6e,'top':_0x2575b5,'bottom':_0x295ec};}const hA=Facet['define']();class ChangedRange{constructor(_0x44df95,_0x32dc8a,_0x11e216,_0x34bac0){this['fromA']=_0x44df95,this['toA']=_0x32dc8a,this['fromB']=_0x11e216,this['toB']=_0x34bac0;}['join'](_0x854f26){return new ChangedRange(Math['min'](this['fromA'],_0x854f26['fromA']),Math['max'](this['toA'],_0x854f26['toA']),Math['min'](this['fromB'],_0x854f26['fromB']),Math['max'](this['toB'],_0x854f26['toB']));}['addToSet'](_0x2ef3f3){let _0x3b778e=_0x2ef3f3['length'],_0x35781f=this;for(;_0x3b778e>0x0;_0x3b778e--){let _0x3b10f9=_0x2ef3f3[_0x3b778e-0x1];if(!(_0x3b10f9['fromA']>_0x35781f['toA'])){if(_0x3b10f9['toA']<_0x35781f['fromA'])break;_0x35781f=_0x35781f['join'](_0x3b10f9),_0x2ef3f3['splice'](_0x3b778e-0x1,0x1);}}return _0x2ef3f3['splice'](_0x3b778e,0x0,_0x35781f),_0x2ef3f3;}static['extendWithRanges'](_0x5c6bf9,_0x2a3a87){if(0x0==_0x2a3a87['length'])return _0x5c6bf9;let _0x36e989=[];for(let _0x5e829c=0x0,_0x2db71f=0x0,_0x515ff2=0x0,_0x499b17=0x0;;_0x5e829c++){let _0x4bec69=_0x5e829c==_0x5c6bf9['length']?null:_0x5c6bf9[_0x5e829c],_0x58b028=_0x515ff2-_0x499b17,_0x4db7d8=_0x4bec69?_0x4bec69['fromB']:0x3b9aca00;for(;_0x2db71f<_0x2a3a87['length']&&_0x2a3a87[_0x2db71f]<_0x4db7d8;){let _0x53e11c=_0x2a3a87[_0x2db71f],_0x19bd50=_0x2a3a87[_0x2db71f+0x1],_0x203ddd=Math['max'](_0x499b17,_0x53e11c),_0x266246=Math['min'](_0x4db7d8,_0x19bd50);if(_0x203ddd<=_0x266246&&new ChangedRange(_0x203ddd+_0x58b028,_0x266246+_0x58b028,_0x203ddd,_0x266246)['addToSet'](_0x36e989),_0x19bd50>_0x4db7d8)break;_0x2db71f+=0x2;}if(!_0x4bec69)return _0x36e989;new ChangedRange(_0x4bec69['fromA'],_0x4bec69['toA'],_0x4bec69['fromB'],_0x4bec69['toB'])['addToSet'](_0x36e989),_0x515ff2=_0x4bec69['toA'],_0x499b17=_0x4bec69['toB'];}}}class ViewUpdate{constructor(_0x19acdd,_0x4ec175,_0x492e6c){this['view']=_0x19acdd,this['state']=_0x4ec175,this['transactions']=_0x492e6c,this['flags']=0x0,this['startState']=_0x19acdd['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x3d9d8b of _0x492e6c)this['changes']=this['changes']['compose'](_0x3d9d8b['changes']);let _0x48d840=[];this['changes']['iterChangedRanges']((_0x2875a1,_0x84209b,_0xa79034,_0x205fc8)=>_0x48d840['push'](new ChangedRange(_0x2875a1,_0x84209b,_0xa79034,_0x205fc8))),this['changedRanges']=_0x48d840;}static['create'](_0x2f6215,_0x2b5440,_0x4cda97){return new ViewUpdate(_0x2f6215,_0x2b5440,_0x4cda97);}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'](_0x31484e=>_0x31484e['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class DocView extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x47aba1){super(),this['view']=_0x47aba1,this['decorations']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['markedForComposition']=new Set(),this['editContextFormatting']=Decoration['none'],this['lastCompositionAfterCursor']=!0x1,this['minWidth']=0x0,this['minWidthFrom']=0x0,this['minWidthTo']=0x0,this['impreciseAnchor']=null,this['impreciseHead']=null,this['forceSelection']=!0x1,this['lastUpdate']=Date['now'](),this['setDOM'](_0x47aba1['contentDOM']),this['children']=[new LineView()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new ChangedRange(0x0,0x0,0x0,_0x47aba1['state']['doc']['length'])],0x0,null);}['update'](_0x1b1e06){var _0x1132ec;let _0x178403=_0x1b1e06['changedRanges'];this['minWidth']>0x0&&_0x178403['length']&&(_0x178403['every'](({fromA:_0x142d8f,toA:_0x46c9d2})=>_0x46c9d2<this['minWidthFrom']||_0x142d8f>this['minWidthTo'])?(this['minWidthFrom']=_0x1b1e06['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x1b1e06['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x1b1e06);let _0xcda785=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x1132ec=this['domChanged'])||void 0x0===_0x1132ec?void 0x0:_0x1132ec['newSel'])?_0xcda785=this['domChanged']['newSel']['head']:function(_0x1cfe5b,_0x310bb5){let _0x5d2fb3=!0x1;return _0x310bb5&&_0x1cfe5b['iterChangedRanges']((_0x36ad2a,_0x43848b)=>{_0x36ad2a<_0x310bb5['to']&&_0x43848b>_0x310bb5['from']&&(_0x5d2fb3=!0x0);}),_0x5d2fb3;}(_0x1b1e06['changes'],this['hasComposition'])||_0x1b1e06['selectionSet']||(_0xcda785=_0x1b1e06['state']['selection']['main']['head']));let _0x3c4beb=_0xcda785>-0x1?function(_0xa78f6e,_0x20fa25,_0x245c3f){let _0x57d91c=uA(_0xa78f6e,_0x245c3f);if(!_0x57d91c)return null;let {node:_0x5de3ce,from:_0x2281dc,to:_0x231399}=_0x57d91c,_0xe62fcc=_0x5de3ce['nodeValue'];if(/[\n\r]/['test'](_0xe62fcc))return null;if(_0xa78f6e['state']['doc']['sliceString'](_0x57d91c['from'],_0x57d91c['to'])!=_0xe62fcc)return null;let _0x5996a8=_0x20fa25['invertedDesc'],_0x17e8e6=new ChangedRange(_0x5996a8['mapPos'](_0x2281dc),_0x5996a8['mapPos'](_0x231399),_0x2281dc,_0x231399),_0x1f443f=[];for(let _0x35e1ae=_0x5de3ce['parentNode'];;_0x35e1ae=_0x35e1ae['parentNode']){let _0x10261d=ContentView['get'](_0x35e1ae);if(_0x10261d instanceof MarkView)_0x1f443f['push']({'node':_0x35e1ae,'deco':_0x10261d['mark']});else{if(_0x10261d instanceof LineView||'DIV'==_0x35e1ae['nodeName']&&_0x35e1ae['parentNode']==_0xa78f6e['contentDOM'])return{'range':_0x17e8e6,'text':_0x5de3ce,'marks':_0x1f443f,'line':_0x35e1ae};if(_0x35e1ae==_0xa78f6e['contentDOM'])return null;_0x1f443f['push']({'node':_0x35e1ae,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':fT(_0x35e1ae),'tagName':_0x35e1ae['tagName']['toLowerCase']()})});}}}(this['view'],_0x1b1e06['changes'],_0xcda785):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x3ff138,to:_0x2622f8}=this['hasComposition'];_0x178403=new ChangedRange(_0x3ff138,_0x2622f8,_0x1b1e06['changes']['mapPos'](_0x3ff138,-0x1),_0x1b1e06['changes']['mapPos'](_0x2622f8,0x1))['addToSet'](_0x178403['slice']());}this['hasComposition']=_0x3c4beb?{'from':_0x3c4beb['range']['fromB'],'to':_0x3c4beb['range']['toB']}:null,(ME['ie']||ME['chrome'])&&!_0x3c4beb&&_0x1b1e06&&_0x1b1e06['state']['doc']['lines']!=_0x1b1e06['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x3c7831=function(_0x111853,_0x2e6504,_0x455a9a){let _0x4fb2fa=new dA();return RangeSet['compare'](_0x111853,_0x2e6504,_0x455a9a,_0x4fb2fa),_0x4fb2fa['changes'];}(this['decorations'],this['updateDeco'](),_0x1b1e06['changes']);return _0x178403=ChangedRange['extendWithRanges'](_0x178403,_0x3c7831),!!(0x7&this['flags']||0x0!=_0x178403['length'])&&(this['updateInner'](_0x178403,_0x1b1e06['startState']['doc']['length'],_0x3c4beb),_0x1b1e06['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x579d08,_0x25d0ac,_0x2cede6){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x579d08,_0x25d0ac,_0x2cede6);let {observer:_0x5f19ce}=this['view'];_0x5f19ce['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x4dd141=ME['chrome']||ME['ios']?{'node':_0x5f19ce['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x4dd141),this['flags']&=-0x8,_0x4dd141&&(_0x4dd141['written']||_0x5f19ce['selectionRange']['focusNode']!=_0x4dd141['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x2cc3cd=>_0x2cc3cd['flags']&=-0x9);let _0x2a2f65=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0xcef2ef of this['children'])_0xcef2ef instanceof BlockWidgetView&&_0xcef2ef['widget']instanceof BlockGapWidget&&_0x2a2f65['push'](_0xcef2ef['dom']);}_0x5f19ce['updateGaps'](_0x2a2f65);}['updateChildren'](_0xd0214c,_0xf3ead4,_0x3564e2){let _0x122dc9=_0x3564e2?_0x3564e2['range']['addToSet'](_0xd0214c['slice']()):_0xd0214c,_0x33aa47=this['childCursor'](_0xf3ead4);for(let _0x3482ee=_0x122dc9['length']-0x1;;_0x3482ee--){let _0x529284=_0x3482ee>=0x0?_0x122dc9[_0x3482ee]:null;if(!_0x529284)break;let _0xc65941,_0x567197,_0x399c63,_0x144122,{fromA:_0x5735f4,toA:_0x25b504,fromB:_0x5672aa,toB:_0x2d7947}=_0x529284;if(_0x3564e2&&_0x3564e2['range']['fromB']<_0x2d7947&&_0x3564e2['range']['toB']>_0x5672aa){let _0x55d251=ContentBuilder['build'](this['view']['state']['doc'],_0x5672aa,_0x3564e2['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x5dd4f1=ContentBuilder['build'](this['view']['state']['doc'],_0x3564e2['range']['toB'],_0x2d7947,this['decorations'],this['dynamicDecorationMap']);_0x567197=_0x55d251['breakAtStart'],_0x399c63=_0x55d251['openStart'],_0x144122=_0x5dd4f1['openEnd'];let _0x262922=this['compositionView'](_0x3564e2);_0x5dd4f1['breakAtStart']?_0x262922['breakAfter']=0x1:_0x5dd4f1['content']['length']&&_0x262922['merge'](_0x262922['length'],_0x262922['length'],_0x5dd4f1['content'][0x0],!0x1,_0x5dd4f1['openStart'],0x0)&&(_0x262922['breakAfter']=_0x5dd4f1['content'][0x0]['breakAfter'],_0x5dd4f1['content']['shift']()),_0x55d251['content']['length']&&_0x262922['merge'](0x0,0x0,_0x55d251['content'][_0x55d251['content']['length']-0x1],!0x0,0x0,_0x55d251['openEnd'])&&_0x55d251['content']['pop'](),_0xc65941=_0x55d251['content']['concat'](_0x262922)['concat'](_0x5dd4f1['content']);}else({content:_0xc65941,breakAtStart:_0x567197,openStart:_0x399c63,openEnd:_0x144122}=ContentBuilder['build'](this['view']['state']['doc'],_0x5672aa,_0x2d7947,this['decorations'],this['dynamicDecorationMap']));let {i:_0x2f1073,off:_0x2fe242}=_0x33aa47['findPos'](_0x25b504,0x1),{i:_0x5d355a,off:_0x4c4309}=_0x33aa47['findPos'](_0x5735f4,-0x1);sT(this,_0x5d355a,_0x4c4309,_0x2f1073,_0x2fe242,_0xc65941,_0x567197,_0x399c63,_0x144122);}_0x3564e2&&this['fixCompositionDOM'](_0x3564e2);}['updateEditContextFormatting'](_0x433f9a){this['editContextFormatting']=this['editContextFormatting']['map'](_0x433f9a['changes']);for(let _0x1cc1f5 of _0x433f9a['transactions'])for(let _0x4c62c7 of _0x1cc1f5['effects'])_0x4c62c7['is'](zT)&&(this['editContextFormatting']=_0x4c62c7['value']);}['compositionView'](_0x1b9fea){let _0x1428ea=new TextView(_0x1b9fea['text']['nodeValue']);_0x1428ea['flags']|=0x8;for(let {deco:_0x1f3c00}of _0x1b9fea['marks'])_0x1428ea=new MarkView(_0x1f3c00,[_0x1428ea],_0x1428ea['length']);let _0x57131d=new LineView();return _0x57131d['append'](_0x1428ea,0x0),_0x57131d;}['fixCompositionDOM'](_0xec4ac0){let _0xd75570=(_0x21a6b9,_0xbb9eee)=>{_0xbb9eee['flags']|=0x8|(_0xbb9eee['children']['some'](_0x5b6d61=>0x7&_0x5b6d61['flags'])?0x1:0x0),this['markedForComposition']['add'](_0xbb9eee);let _0x287cb0=ContentView['get'](_0x21a6b9);_0x287cb0&&_0x287cb0!=_0xbb9eee&&(_0x287cb0['dom']=null),_0xbb9eee['setDOM'](_0x21a6b9);},_0x465c48=this['childPos'](_0xec4ac0['range']['fromB'],0x1),_0x547f3a=this['children'][_0x465c48['i']];_0xd75570(_0xec4ac0['line'],_0x547f3a);for(let _0x326cfa=_0xec4ac0['marks']['length']-0x1;_0x326cfa>=-0x1;_0x326cfa--)_0x465c48=_0x547f3a['childPos'](_0x465c48['off'],0x1),_0x547f3a=_0x547f3a['children'][_0x465c48['i']],_0xd75570(_0x326cfa>=0x0?_0xec4ac0['marks'][_0x326cfa]['node']:_0xec4ac0['text'],_0x547f3a);}['updateSelection'](_0x32175f=!0x1,_0x3a53aa=!0x1){!_0x32175f&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x4fe77b=this['view']['root']['activeElement'],_0x4039b8=_0x4fe77b==this['dom'],_0x3bb0aa=!_0x4039b8&&!(this['view']['state']['facet'](KT)||this['dom']['tabIndex']>-0x1)&&$E(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x4fe77b&&this['dom']['contains'](_0x4fe77b));if(!(_0x4039b8||_0x3a53aa||_0x3bb0aa))return;let _0x4b9e2a=this['forceSelection'];this['forceSelection']=!0x1;let _0x1eefa5=this['view']['state']['selection']['main'],_0x509fc2=this['moveToLine'](this['domAtPos'](_0x1eefa5['anchor'])),_0x528187=_0x1eefa5['empty']?_0x509fc2:this['moveToLine'](this['domAtPos'](_0x1eefa5['head']));if(ME['gecko']&&_0x1eefa5['empty']&&!this['hasComposition']&&(0x1==(_0x44b90e=_0x509fc2)['node']['nodeType']&&_0x44b90e['node']['firstChild']&&(0x0==_0x44b90e['offset']||'false'==_0x44b90e['node']['childNodes'][_0x44b90e['offset']-0x1]['contentEditable'])&&(_0x44b90e['offset']==_0x44b90e['node']['childNodes']['length']||'false'==_0x44b90e['node']['childNodes'][_0x44b90e['offset']]['contentEditable']))){let _0x2cc6b3=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x509fc2['node']['insertBefore'](_0x2cc6b3,_0x509fc2['node']['childNodes'][_0x509fc2['offset']]||null)),_0x509fc2=_0x528187=new DOMPos(_0x2cc6b3,0x0),_0x4b9e2a=!0x0;}var _0x44b90e;let _0xbbf9fd=this['view']['observer']['selectionRange'];!_0x4b9e2a&&_0xbbf9fd['focusNode']&&(QE(_0x509fc2['node'],_0x509fc2['offset'],_0xbbf9fd['anchorNode'],_0xbbf9fd['anchorOffset'])&&QE(_0x528187['node'],_0x528187['offset'],_0xbbf9fd['focusNode'],_0xbbf9fd['focusOffset'])||this['suppressWidgetCursorChange'](_0xbbf9fd,_0x1eefa5))||(this['view']['observer']['ignore'](()=>{ME['android']&&ME['chrome']&&this['dom']['contains'](_0xbbf9fd['focusNode'])&&function(_0x4c72f6,_0x3e2fc8){for(let _0x57dd0c=_0x4c72f6;_0x57dd0c&&_0x57dd0c!=_0x3e2fc8;_0x57dd0c=_0x57dd0c['assignedSlot']||_0x57dd0c['parentNode'])if(0x1==_0x57dd0c['nodeType']&&'false'==_0x57dd0c['contentEditable'])return!0x0;return!0x1;}(_0xbbf9fd['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x77be49=NE(this['view']['root']);if(_0x77be49){if(_0x1eefa5['empty']){if(ME['gecko']){let _0x41c5df=function(_0x23e375,_0x4eb182){return 0x1!=_0x23e375['nodeType']?0x0:(_0x4eb182&&'false'==_0x23e375['childNodes'][_0x4eb182-0x1]['contentEditable']?0x1:0x0)|(_0x4eb182<_0x23e375['childNodes']['length']&&'false'==_0x23e375['childNodes'][_0x4eb182]['contentEditable']?0x2:0x0);}(_0x509fc2['node'],_0x509fc2['offset']);if(_0x41c5df&&0x3!=_0x41c5df){let _0x5501b2=(0x1==_0x41c5df?JE:tT)(_0x509fc2['node'],_0x509fc2['offset']);_0x5501b2&&(_0x509fc2=new DOMPos(_0x5501b2['node'],_0x5501b2['offset']));}}_0x77be49['collapse'](_0x509fc2['node'],_0x509fc2['offset']),null!=_0x1eefa5['bidiLevel']&&void 0x0!==_0x77be49['caretBidiLevel']&&(_0x77be49['caretBidiLevel']=_0x1eefa5['bidiLevel']);}else{if(_0x77be49['extend']){_0x77be49['collapse'](_0x509fc2['node'],_0x509fc2['offset']);try{_0x77be49['extend'](_0x528187['node'],_0x528187['offset']);}catch(_0x40bde7){}}else{let _0x62bec2=document['createRange']();_0x1eefa5['anchor']>_0x1eefa5['head']&&([_0x509fc2,_0x528187]=[_0x528187,_0x509fc2]),_0x62bec2['setEnd'](_0x528187['node'],_0x528187['offset']),_0x62bec2['setStart'](_0x509fc2['node'],_0x509fc2['offset']),_0x77be49['removeAllRanges'](),_0x77be49['addRange'](_0x62bec2);}}}else;_0x3bb0aa&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x4fe77b&&_0x4fe77b['focus']());}),this['view']['observer']['setSelectionRange'](_0x509fc2,_0x528187)),this['impreciseAnchor']=_0x509fc2['precise']?null:new DOMPos(_0xbbf9fd['anchorNode'],_0xbbf9fd['anchorOffset']),this['impreciseHead']=_0x528187['precise']?null:new DOMPos(_0xbbf9fd['focusNode'],_0xbbf9fd['focusOffset']);}['suppressWidgetCursorChange'](_0x474416,_0x2fd1f6){return this['hasComposition']&&_0x2fd1f6['empty']&&QE(_0x474416['focusNode'],_0x474416['focusOffset'],_0x474416['anchorNode'],_0x474416['anchorOffset'])&&this['posFromDOM'](_0x474416['focusNode'],_0x474416['focusOffset'])==_0x2fd1f6['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x12521c}=this,_0x2229f8=_0x12521c['state']['selection']['main'],_0x46808e=NE(_0x12521c['root']),{anchorNode:_0x1e9f3f,anchorOffset:_0x23d624}=_0x12521c['observer']['selectionRange'];if(!(_0x46808e&&_0x2229f8['empty']&&_0x2229f8['assoc']&&_0x46808e['modify']))return;let _0x419674=LineView['find'](this,_0x2229f8['head']);if(!_0x419674)return;let _0x5e386f=_0x419674['posAtStart'];if(_0x2229f8['head']==_0x5e386f||_0x2229f8['head']==_0x5e386f+_0x419674['length'])return;let _0x3abcca=this['coordsAt'](_0x2229f8['head'],-0x1),_0x1201d3=this['coordsAt'](_0x2229f8['head'],0x1);if(!_0x3abcca||!_0x1201d3||_0x3abcca['bottom']>_0x1201d3['top'])return;let _0x15108f=this['domAtPos'](_0x2229f8['head']+_0x2229f8['assoc']);_0x46808e['collapse'](_0x15108f['node'],_0x15108f['offset']),_0x46808e['modify']('move',_0x2229f8['assoc']<0x0?'forward':'backward','lineboundary'),_0x12521c['observer']['readSelectionRange']();let _0xb3771c=_0x12521c['observer']['selectionRange'];_0x12521c['docView']['posFromDOM'](_0xb3771c['anchorNode'],_0xb3771c['anchorOffset'])!=_0x2229f8['from']&&_0x46808e['collapse'](_0x1e9f3f,_0x23d624);}['moveToLine'](_0x380539){let _0x2070ad,_0x5791f0=this['dom'];if(_0x380539['node']!=_0x5791f0)return _0x380539;for(let _0x1b5ec1=_0x380539['offset'];!_0x2070ad&&_0x1b5ec1<_0x5791f0['childNodes']['length'];_0x1b5ec1++){let _0x8c1a89=ContentView['get'](_0x5791f0['childNodes'][_0x1b5ec1]);_0x8c1a89 instanceof LineView&&(_0x2070ad=_0x8c1a89['domAtPos'](0x0));}for(let _0x3eff15=_0x380539['offset']-0x1;!_0x2070ad&&_0x3eff15>=0x0;_0x3eff15--){let _0x4701df=ContentView['get'](_0x5791f0['childNodes'][_0x3eff15]);_0x4701df instanceof LineView&&(_0x2070ad=_0x4701df['domAtPos'](_0x4701df['length']));}return _0x2070ad?new DOMPos(_0x2070ad['node'],_0x2070ad['offset'],!0x0):_0x380539;}['nearest'](_0x252a5e){for(let _0x674089=_0x252a5e;_0x674089;){let _0x49d674=ContentView['get'](_0x674089);if(_0x49d674&&_0x49d674['rootView']==this)return _0x49d674;_0x674089=_0x674089['parentNode'];}return null;}['posFromDOM'](_0x590412,_0x3d0949){let _0x35489f=this['nearest'](_0x590412);if(!_0x35489f)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x35489f['localPosFromDOM'](_0x590412,_0x3d0949)+_0x35489f['posAtStart'];}['domAtPos'](_0x865914){let {i:_0x373f85,off:_0x5902ca}=this['childCursor']()['findPos'](_0x865914,-0x1);for(;_0x373f85<this['children']['length']-0x1;){let _0x58259e=this['children'][_0x373f85];if(_0x5902ca<_0x58259e['length']||_0x58259e instanceof LineView)break;_0x373f85++,_0x5902ca=0x0;}return this['children'][_0x373f85]['domAtPos'](_0x5902ca);}['coordsAt'](_0x3951a2,_0x33d84e){let _0x175db8=null,_0x46da26=0x0;for(let _0x12bbd9=this['length'],_0x1bea57=this['children']['length']-0x1;_0x1bea57>=0x0;_0x1bea57--){let _0x3de69b=this['children'][_0x1bea57],_0x4e8dfa=_0x12bbd9-_0x3de69b['breakAfter'],_0x297d8b=_0x4e8dfa-_0x3de69b['length'];if(_0x4e8dfa<_0x3951a2)break;if(_0x297d8b<=_0x3951a2&&(_0x297d8b<_0x3951a2||_0x3de69b['covers'](-0x1))&&(_0x4e8dfa>_0x3951a2||_0x3de69b['covers'](0x1))&&(!_0x175db8||_0x3de69b instanceof LineView&&!(_0x175db8 instanceof LineView&&_0x33d84e>=0x0)))_0x175db8=_0x3de69b,_0x46da26=_0x297d8b;else{if(_0x175db8&&_0x297d8b==_0x3951a2&&_0x4e8dfa==_0x3951a2&&_0x3de69b instanceof BlockWidgetView&&Math['abs'](_0x33d84e)<0x2){if(_0x3de69b['deco']['startSide']<0x0)break;_0x1bea57&&(_0x175db8=null);}}_0x12bbd9=_0x297d8b;}return _0x175db8?_0x175db8['coordsAt'](_0x3951a2-_0x46da26,_0x33d84e):null;}['coordsForChar'](_0x37af91){let {i:_0x40b72b,off:_0x287a02}=this['childPos'](_0x37af91,0x1),_0x28a9b5=this['children'][_0x40b72b];if(!(_0x28a9b5 instanceof LineView))return null;for(;_0x28a9b5['children']['length'];){let {i:_0x15dcbc,off:_0x39f600}=_0x28a9b5['childPos'](_0x287a02,0x1);for(;;_0x15dcbc++){if(_0x15dcbc==_0x28a9b5['children']['length'])return null;if((_0x28a9b5=_0x28a9b5['children'][_0x15dcbc])['length'])break;}_0x287a02=_0x39f600;}if(!(_0x28a9b5 instanceof TextView))return null;let _0x1874f7=u_(_0x28a9b5['text'],_0x287a02);if(_0x1874f7==_0x287a02)return null;let _0x513cd2=WE(_0x28a9b5['dom'],_0x287a02,_0x1874f7)['getClientRects']();for(let _0x490304=0x0;_0x490304<_0x513cd2['length'];_0x490304++){let _0x2061a8=_0x513cd2[_0x490304];if(_0x490304==_0x513cd2['length']-0x1||_0x2061a8['top']<_0x2061a8['bottom']&&_0x2061a8['left']<_0x2061a8['right'])return _0x2061a8;}return null;}['measureVisibleLineHeights'](_0x3d004f){let _0x2c5742=[],{from:_0x276924,to:_0x45e99b}=_0x3d004f,_0x1d06aa=this['view']['contentDOM']['clientWidth'],_0x15a39e=_0x1d06aa>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x4241b6=-0x1,_0x500be7=this['view']['textDirection']==wT['LTR'];for(let _0x55e75a=0x0,_0x3de26a=0x0;_0x3de26a<this['children']['length'];_0x3de26a++){let _0x5b50c5=this['children'][_0x3de26a],_0x67bcc=_0x55e75a+_0x5b50c5['length'];if(_0x67bcc>_0x45e99b)break;if(_0x55e75a>=_0x276924){let _0x1de4ad=_0x5b50c5['dom']['getBoundingClientRect']();if(_0x2c5742['push'](_0x1de4ad['height']),_0x15a39e){let _0x15ece7=_0x5b50c5['dom']['lastChild'],_0x47b172=_0x15ece7?DE(_0x15ece7):[];if(_0x47b172['length']){let _0x4547b2=_0x47b172[_0x47b172['length']-0x1],_0x1abe8b=_0x500be7?_0x4547b2['right']-_0x1de4ad['left']:_0x1de4ad['right']-_0x4547b2['left'];_0x1abe8b>_0x4241b6&&(_0x4241b6=_0x1abe8b,this['minWidth']=_0x1d06aa,this['minWidthFrom']=_0x55e75a,this['minWidthTo']=_0x67bcc);}}}_0x55e75a=_0x67bcc+_0x5b50c5['breakAfter'];}return _0x2c5742;}['textDirectionAt'](_0x122c7d){let {i:_0x32f754}=this['childPos'](_0x122c7d,0x1);return'rtl'==getComputedStyle(this['children'][_0x32f754]['dom'])['direction']?wT['RTL']:wT['LTR'];}['measureTextSize'](){for(let _0x1b5eb6 of this['children'])if(_0x1b5eb6 instanceof LineView){let _0x2773d8=_0x1b5eb6['measureTextSize']();if(_0x2773d8)return _0x2773d8;}let _0x116d8e,_0x2b1aee,_0x34eb98,_0x4206d8=document['createElement']('div');return _0x4206d8['className']='cm-line',_0x4206d8['style']['width']='99999px',_0x4206d8['style']['position']='absolute',_0x4206d8['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x4206d8);let _0x542c33=DE(_0x4206d8['firstChild'])[0x0];_0x116d8e=_0x4206d8['getBoundingClientRect']()['height'],_0x2b1aee=_0x542c33?_0x542c33['width']/0x1b:0x7,_0x34eb98=_0x542c33?_0x542c33['height']:_0x116d8e,_0x4206d8['remove']();}),{'lineHeight':_0x116d8e,'charWidth':_0x2b1aee,'textHeight':_0x34eb98};}['childCursor'](_0x247371=this['length']){let _0x54fd43=this['children']['length'];return _0x54fd43&&(_0x247371-=this['children'][--_0x54fd43]['length']),new ChildCursor(this['children'],_0x247371,_0x54fd43);}['computeBlockGapDeco'](){let _0x366b7b=[],_0x371a54=this['view']['viewState'];for(let _0x1d0954=0x0,_0xfb8267=0x0;;_0xfb8267++){let _0x16d5f7=_0xfb8267==_0x371a54['viewports']['length']?null:_0x371a54['viewports'][_0xfb8267],_0x68f934=_0x16d5f7?_0x16d5f7['from']-0x1:this['length'];if(_0x68f934>_0x1d0954){let _0x3686dc=(_0x371a54['lineBlockAt'](_0x68f934)['bottom']-_0x371a54['lineBlockAt'](_0x1d0954)['top'])/this['view']['scaleY'];_0x366b7b['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x3686dc),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x1d0954,_0x68f934));}if(!_0x16d5f7)break;_0x1d0954=_0x16d5f7['to']+0x1;}return Decoration['set'](_0x366b7b);}['updateDeco'](){let _0x37d332=0x1,_0x4ecd13=this['view']['state']['facet'](sA)['map'](_0x54247e=>(this['dynamicDecorationMap'][_0x37d332++]='function'==typeof _0x54247e)?_0x54247e(this['view']):_0x54247e),_0xc1db67=!0x1,_0x16825a=this['view']['state']['facet'](nA)['map']((_0x1481b9,_0x432712)=>{let _0x19b430='function'==typeof _0x1481b9;return _0x19b430&&(_0xc1db67=!0x0),_0x19b430?_0x1481b9(this['view']):_0x1481b9;});for(_0x16825a['length']&&(this['dynamicDecorationMap'][_0x37d332++]=_0xc1db67,_0x4ecd13['push'](RangeSet['join'](_0x16825a))),this['decorations']=[this['editContextFormatting'],..._0x4ecd13,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x37d332<this['decorations']['length'];)this['dynamicDecorationMap'][_0x37d332++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x3cf0ec){if(_0x3cf0ec['isSnapshot']){let _0x55428b=this['view']['viewState']['lineBlockAt'](_0x3cf0ec['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x55428b['top']-_0x3cf0ec['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x3cf0ec['xMargin']);}for(let _0x526c5d of this['view']['state']['facet'](XT))try{if(_0x526c5d(this['view'],_0x3cf0ec['range'],_0x3cf0ec))return!0x0;}catch(_0x1dedaf){YT(this['view']['state'],_0x1dedaf,'scroll\x20handler');}let _0xd03783,{range:_0x31f2d4}=_0x3cf0ec,_0x34d80b=this['coordsAt'](_0x31f2d4['head'],_0x31f2d4['empty']?_0x31f2d4['assoc']:_0x31f2d4['head']>_0x31f2d4['anchor']?-0x1:0x1);if(!_0x34d80b)return;!_0x31f2d4['empty']&&(_0xd03783=this['coordsAt'](_0x31f2d4['anchor'],_0x31f2d4['anchor']>_0x31f2d4['head']?-0x1:0x1))&&(_0x34d80b={'left':Math['min'](_0x34d80b['left'],_0xd03783['left']),'top':Math['min'](_0x34d80b['top'],_0xd03783['top']),'right':Math['max'](_0x34d80b['right'],_0xd03783['right']),'bottom':Math['max'](_0x34d80b['bottom'],_0xd03783['bottom'])});let _0x5e7146=lA(this['view']),_0x22e6f1={'left':_0x34d80b['left']-_0x5e7146['left'],'top':_0x34d80b['top']-_0x5e7146['top'],'right':_0x34d80b['right']+_0x5e7146['right'],'bottom':_0x34d80b['bottom']+_0x5e7146['bottom']},{offsetWidth:_0x145956,offsetHeight:_0x34d743}=this['view']['scrollDOM'];!function(_0x92ef3f,_0x208bdc,_0x30040b,_0xa24482,_0x46b3f4,_0x2eeb58,_0x30b79b,_0xb0f6c5){let _0x536112=_0x92ef3f['ownerDocument'],_0x1082d7=_0x536112['defaultView']||window;for(let _0x1c7c3b=_0x92ef3f,_0x1c196d=!0x1;_0x1c7c3b&&!_0x1c196d;)if(0x1==_0x1c7c3b['nodeType']){let _0x4a6e5f,_0x22ce41=_0x1c7c3b==_0x536112['body'],_0xc6155b=0x1,_0xed54d3=0x1;if(_0x22ce41)_0x4a6e5f=HE(_0x1082d7);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x1c7c3b)['position'])&&(_0x1c196d=!0x0),_0x1c7c3b['scrollHeight']<=_0x1c7c3b['clientHeight']&&_0x1c7c3b['scrollWidth']<=_0x1c7c3b['clientWidth']){_0x1c7c3b=_0x1c7c3b['assignedSlot']||_0x1c7c3b['parentNode'];continue;}let _0x4db11a=_0x1c7c3b['getBoundingClientRect']();({scaleX:_0xc6155b,scaleY:_0xed54d3}=GE(_0x1c7c3b,_0x4db11a),_0x4a6e5f={'left':_0x4db11a['left'],'right':_0x4db11a['left']+_0x1c7c3b['clientWidth']*_0xc6155b,'top':_0x4db11a['top'],'bottom':_0x4db11a['top']+_0x1c7c3b['clientHeight']*_0xed54d3});}let _0x4780f7=0x0,_0x21b492=0x0;if('nearest'==_0x46b3f4)_0x208bdc['top']<_0x4a6e5f['top']?(_0x21b492=_0x208bdc['top']-(_0x4a6e5f['top']+_0x30b79b),_0x30040b>0x0&&_0x208bdc['bottom']>_0x4a6e5f['bottom']+_0x21b492&&(_0x21b492=_0x208bdc['bottom']-_0x4a6e5f['bottom']+_0x30b79b)):_0x208bdc['bottom']>_0x4a6e5f['bottom']&&(_0x21b492=_0x208bdc['bottom']-_0x4a6e5f['bottom']+_0x30b79b,_0x30040b<0x0&&_0x208bdc['top']-_0x21b492<_0x4a6e5f['top']&&(_0x21b492=_0x208bdc['top']-(_0x4a6e5f['top']+_0x30b79b)));else{let _0x1d2eef=_0x208bdc['bottom']-_0x208bdc['top'],_0x303de3=_0x4a6e5f['bottom']-_0x4a6e5f['top'];_0x21b492=('center'==_0x46b3f4&&_0x1d2eef<=_0x303de3?_0x208bdc['top']+_0x1d2eef/0x2-_0x303de3/0x2:'start'==_0x46b3f4||'center'==_0x46b3f4&&_0x30040b<0x0?_0x208bdc['top']-_0x30b79b:_0x208bdc['bottom']-_0x303de3+_0x30b79b)-_0x4a6e5f['top'];}if('nearest'==_0xa24482?_0x208bdc['left']<_0x4a6e5f['left']?(_0x4780f7=_0x208bdc['left']-(_0x4a6e5f['left']+_0x2eeb58),_0x30040b>0x0&&_0x208bdc['right']>_0x4a6e5f['right']+_0x4780f7&&(_0x4780f7=_0x208bdc['right']-_0x4a6e5f['right']+_0x2eeb58)):_0x208bdc['right']>_0x4a6e5f['right']&&(_0x4780f7=_0x208bdc['right']-_0x4a6e5f['right']+_0x2eeb58,_0x30040b<0x0&&_0x208bdc['left']<_0x4a6e5f['left']+_0x4780f7&&(_0x4780f7=_0x208bdc['left']-(_0x4a6e5f['left']+_0x2eeb58))):_0x4780f7=('center'==_0xa24482?_0x208bdc['left']+(_0x208bdc['right']-_0x208bdc['left'])/0x2-(_0x4a6e5f['right']-_0x4a6e5f['left'])/0x2:'start'==_0xa24482==_0xb0f6c5?_0x208bdc['left']-_0x2eeb58:_0x208bdc['right']-(_0x4a6e5f['right']-_0x4a6e5f['left'])+_0x2eeb58)-_0x4a6e5f['left'],_0x4780f7||_0x21b492){if(_0x22ce41)_0x1082d7['scrollBy'](_0x4780f7,_0x21b492);else{let _0x4b10ac=0x0,_0x498480=0x0;if(_0x21b492){let _0x3841a6=_0x1c7c3b['scrollTop'];_0x1c7c3b['scrollTop']+=_0x21b492/_0xed54d3,_0x498480=(_0x1c7c3b['scrollTop']-_0x3841a6)*_0xed54d3;}if(_0x4780f7){let _0x160d05=_0x1c7c3b['scrollLeft'];_0x1c7c3b['scrollLeft']+=_0x4780f7/_0xc6155b,_0x4b10ac=(_0x1c7c3b['scrollLeft']-_0x160d05)*_0xc6155b;}_0x208bdc={'left':_0x208bdc['left']-_0x4b10ac,'top':_0x208bdc['top']-_0x498480,'right':_0x208bdc['right']-_0x4b10ac,'bottom':_0x208bdc['bottom']-_0x498480},_0x4b10ac&&Math['abs'](_0x4b10ac-_0x4780f7)<0x1&&(_0xa24482='nearest'),_0x498480&&Math['abs'](_0x498480-_0x21b492)<0x1&&(_0x46b3f4='nearest');}}if(_0x22ce41)break;(_0x208bdc['top']<_0x4a6e5f['top']||_0x208bdc['bottom']>_0x4a6e5f['bottom']||_0x208bdc['left']<_0x4a6e5f['left']||_0x208bdc['right']>_0x4a6e5f['right'])&&(_0x208bdc={'left':Math['max'](_0x208bdc['left'],_0x4a6e5f['left']),'right':Math['min'](_0x208bdc['right'],_0x4a6e5f['right']),'top':Math['max'](_0x208bdc['top'],_0x4a6e5f['top']),'bottom':Math['min'](_0x208bdc['bottom'],_0x4a6e5f['bottom'])}),_0x1c7c3b=_0x1c7c3b['assignedSlot']||_0x1c7c3b['parentNode'];}else{if(0xb!=_0x1c7c3b['nodeType'])break;_0x1c7c3b=_0x1c7c3b['host'];}}(this['view']['scrollDOM'],_0x22e6f1,_0x31f2d4['head']<_0x31f2d4['anchor']?-0x1:0x1,_0x3cf0ec['x'],_0x3cf0ec['y'],Math['max'](Math['min'](_0x3cf0ec['xMargin'],_0x145956),-_0x145956),Math['max'](Math['min'](_0x3cf0ec['yMargin'],_0x34d743),-_0x34d743),this['view']['textDirection']==wT['LTR']);}}function uA(_0x3995b1,_0x50b40a){let _0x5ddb55=_0x3995b1['observer']['selectionRange'];if(!_0x5ddb55['focusNode'])return null;let _0x531dfa=JE(_0x5ddb55['focusNode'],_0x5ddb55['focusOffset']),_0x4745c1=tT(_0x5ddb55['focusNode'],_0x5ddb55['focusOffset']),_0x5c3d74=_0x531dfa||_0x4745c1;if(_0x4745c1&&_0x531dfa&&_0x4745c1['node']!=_0x531dfa['node']){let _0x21f087=ContentView['get'](_0x4745c1['node']);if(!_0x21f087||_0x21f087 instanceof TextView&&_0x21f087['text']!=_0x4745c1['node']['nodeValue'])_0x5c3d74=_0x4745c1;else{if(_0x3995b1['docView']['lastCompositionAfterCursor']){let _0x57e17e=ContentView['get'](_0x531dfa['node']);!_0x57e17e||_0x57e17e instanceof TextView&&_0x57e17e['text']!=_0x531dfa['node']['nodeValue']||(_0x5c3d74=_0x4745c1);}}}if(_0x3995b1['docView']['lastCompositionAfterCursor']=_0x5c3d74!=_0x531dfa,!_0x5c3d74)return null;let _0x486b19=_0x50b40a-_0x5c3d74['offset'];return{'from':_0x486b19,'to':_0x486b19+_0x5c3d74['node']['nodeValue']['length'],'node':_0x5c3d74['node']};}let dA=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x3bb8fe,_0x9f608f){pT(_0x3bb8fe,_0x9f608f,this['changes']);}['comparePoint'](_0x17afaa,_0x6cf922){pT(_0x17afaa,_0x6cf922,this['changes']);}['boundChange'](_0xadc1f8){pT(_0xadc1f8,_0xadc1f8,this['changes']);}};function fA(_0x14abbb,_0x59c14a){return _0x59c14a['left']>_0x14abbb?_0x59c14a['left']-_0x14abbb:Math['max'](0x0,_0x14abbb-_0x59c14a['right']);}function mA(_0x170521,_0x2b2caf){return _0x2b2caf['top']>_0x170521?_0x2b2caf['top']-_0x170521:Math['max'](0x0,_0x170521-_0x2b2caf['bottom']);}function gA(_0x2a2e90,_0x3fa548){return _0x2a2e90['top']<_0x3fa548['bottom']-0x1&&_0x2a2e90['bottom']>_0x3fa548['top']+0x1;}function pA(_0x478212,_0x470c27){return _0x470c27<_0x478212['top']?{'top':_0x470c27,'left':_0x478212['left'],'right':_0x478212['right'],'bottom':_0x478212['bottom']}:_0x478212;}function OA(_0x321875,_0x9cf1de){return _0x9cf1de>_0x321875['bottom']?{'top':_0x321875['top'],'left':_0x321875['left'],'right':_0x321875['right'],'bottom':_0x9cf1de}:_0x321875;}function wA(_0x1145fe,_0x4ce565,_0x36db41){let _0x3cd0b8,_0x105bfe,_0x503fb1,_0x28b88b,_0x3833c8,_0x34fdf6,_0xfad560,_0x587487,_0x4df988=!0x1;for(let _0x418cd6=_0x1145fe['firstChild'];_0x418cd6;_0x418cd6=_0x418cd6['nextSibling']){let _0x17ad83=DE(_0x418cd6);for(let _0x2e48fe=0x0;_0x2e48fe<_0x17ad83['length'];_0x2e48fe++){let _0x60745f=_0x17ad83[_0x2e48fe];_0x105bfe&&gA(_0x105bfe,_0x60745f)&&(_0x60745f=pA(OA(_0x60745f,_0x105bfe['bottom']),_0x105bfe['top']));let _0x5561bc=fA(_0x4ce565,_0x60745f),_0x3714b6=mA(_0x36db41,_0x60745f);if(0x0==_0x5561bc&&0x0==_0x3714b6)return 0x3==_0x418cd6['nodeType']?bA(_0x418cd6,_0x4ce565,_0x36db41):wA(_0x418cd6,_0x4ce565,_0x36db41);(!_0x3cd0b8||_0x28b88b>_0x3714b6||_0x28b88b==_0x3714b6&&_0x503fb1>_0x5561bc)&&(_0x3cd0b8=_0x418cd6,_0x105bfe=_0x60745f,_0x503fb1=_0x5561bc,_0x28b88b=_0x3714b6,_0x4df988=!_0x5561bc||(_0x4ce565<_0x60745f['left']?_0x2e48fe>0x0:_0x2e48fe<_0x17ad83['length']-0x1)),0x0==_0x5561bc?_0x36db41>_0x60745f['bottom']&&(!_0xfad560||_0xfad560['bottom']<_0x60745f['bottom'])?(_0x3833c8=_0x418cd6,_0xfad560=_0x60745f):_0x36db41<_0x60745f['top']&&(!_0x587487||_0x587487['top']>_0x60745f['top'])&&(_0x34fdf6=_0x418cd6,_0x587487=_0x60745f):_0xfad560&&gA(_0xfad560,_0x60745f)?_0xfad560=OA(_0xfad560,_0x60745f['bottom']):_0x587487&&gA(_0x587487,_0x60745f)&&(_0x587487=pA(_0x587487,_0x60745f['top']));}}if(_0xfad560&&_0xfad560['bottom']>=_0x36db41?(_0x3cd0b8=_0x3833c8,_0x105bfe=_0xfad560):_0x587487&&_0x587487['top']<=_0x36db41&&(_0x3cd0b8=_0x34fdf6,_0x105bfe=_0x587487),!_0x3cd0b8)return{'node':_0x1145fe,'offset':0x0};let _0x51a970=Math['max'](_0x105bfe['left'],Math['min'](_0x105bfe['right'],_0x4ce565));return 0x3==_0x3cd0b8['nodeType']?bA(_0x3cd0b8,_0x51a970,_0x36db41):_0x4df988&&'false'!=_0x3cd0b8['contentEditable']?wA(_0x3cd0b8,_0x51a970,_0x36db41):{'node':_0x1145fe,'offset':Array['prototype']['indexOf']['call'](_0x1145fe['childNodes'],_0x3cd0b8)+(_0x4ce565>=(_0x105bfe['left']+_0x105bfe['right'])/0x2?0x1:0x0)};}function bA(_0x596691,_0x465d28,_0xdf79c5){let _0x31d592=_0x596691['nodeValue']['length'],_0x4b2786=-0x1,_0x36f1d2=0x3b9aca00,_0x22e3fc=0x0;for(let _0xb109d0=0x0;_0xb109d0<_0x31d592;_0xb109d0++){let _0x3111fa=WE(_0x596691,_0xb109d0,_0xb109d0+0x1)['getClientRects']();for(let _0x2babd3=0x0;_0x2babd3<_0x3111fa['length'];_0x2babd3++){let _0x509061=_0x3111fa[_0x2babd3];if(_0x509061['top']==_0x509061['bottom'])continue;_0x22e3fc||(_0x22e3fc=_0x465d28-_0x509061['left']);let _0x48f053=(_0x509061['top']>_0xdf79c5?_0x509061['top']-_0xdf79c5:_0xdf79c5-_0x509061['bottom'])-0x1;if(_0x509061['left']-0x1<=_0x465d28&&_0x509061['right']+0x1>=_0x465d28&&_0x48f053<_0x36f1d2){let _0x31b25e=_0x465d28>=(_0x509061['left']+_0x509061['right'])/0x2,_0x4e2ff3=_0x31b25e;(ME['chrome']||ME['gecko'])&&(WE(_0x596691,_0xb109d0)['getBoundingClientRect']()['left']==_0x509061['right']&&(_0x4e2ff3=!_0x31b25e));if(_0x48f053<=0x0)return{'node':_0x596691,'offset':_0xb109d0+(_0x4e2ff3?0x1:0x0)};_0x4b2786=_0xb109d0+(_0x4e2ff3?0x1:0x0),_0x36f1d2=_0x48f053;}}}return{'node':_0x596691,'offset':_0x4b2786>-0x1?_0x4b2786:_0x22e3fc>0x0?_0x596691['nodeValue']['length']:0x0};}function yA(_0x17840b,_0x2e530c,_0x3c9b5b,_0x2710da=-0x1){var _0x3074e9,_0x2c4ff8;let _0x1de520,_0x176315=_0x17840b['contentDOM']['getBoundingClientRect'](),_0x580746=_0x176315['top']+_0x17840b['viewState']['paddingTop'],{docHeight:_0x17e7aa}=_0x17840b['viewState'],{x:_0x142e6a,y:_0x582806}=_0x2e530c,_0x3f0822=_0x582806-_0x580746;if(_0x3f0822<0x0)return 0x0;if(_0x3f0822>_0x17e7aa)return _0x17840b['state']['doc']['length'];for(let _0x49fe6f=_0x17840b['viewState']['heightOracle']['textHeight']/0x2,_0x104c4e=!0x1;_0x1de520=_0x17840b['elementAtHeight'](_0x3f0822),_0x1de520['type']!=mT['Text'];)for(;_0x3f0822=_0x2710da>0x0?_0x1de520['bottom']+_0x49fe6f:_0x1de520['top']-_0x49fe6f,!(_0x3f0822>=0x0&&_0x3f0822<=_0x17e7aa);){if(_0x104c4e)return _0x3c9b5b?null:0x0;_0x104c4e=!0x0,_0x2710da=-_0x2710da;}_0x582806=_0x580746+_0x3f0822;let _0x486172=_0x1de520['from'];if(_0x486172<_0x17840b['viewport']['from'])return 0x0==_0x17840b['viewport']['from']?0x0:_0x3c9b5b?null:vA(_0x17840b,_0x176315,_0x1de520,_0x142e6a,_0x582806);if(_0x486172>_0x17840b['viewport']['to'])return _0x17840b['viewport']['to']==_0x17840b['state']['doc']['length']?_0x17840b['state']['doc']['length']:_0x3c9b5b?null:vA(_0x17840b,_0x176315,_0x1de520,_0x142e6a,_0x582806);let _0x3e9d4a=_0x17840b['dom']['ownerDocument'],_0x107d2f=_0x17840b['root']['elementFromPoint']?_0x17840b['root']:_0x3e9d4a,_0x29c75e=_0x107d2f['elementFromPoint'](_0x142e6a,_0x582806);_0x29c75e&&!_0x17840b['contentDOM']['contains'](_0x29c75e)&&(_0x29c75e=null),_0x29c75e||(_0x142e6a=Math['max'](_0x176315['left']+0x1,Math['min'](_0x176315['right']-0x1,_0x142e6a)),_0x29c75e=_0x107d2f['elementFromPoint'](_0x142e6a,_0x582806),_0x29c75e&&!_0x17840b['contentDOM']['contains'](_0x29c75e)&&(_0x29c75e=null));let _0x534fd4,_0x43da05=-0x1;if(_0x29c75e&&0x0!=(null===(_0x3074e9=_0x17840b['docView']['nearest'](_0x29c75e))||void 0x0===_0x3074e9?void 0x0:_0x3074e9['isEditable'])){if(_0x3e9d4a['caretPositionFromPoint']){let _0xfec808=_0x3e9d4a['caretPositionFromPoint'](_0x142e6a,_0x582806);_0xfec808&&({offsetNode:_0x534fd4,offset:_0x43da05}=_0xfec808);}else{if(_0x3e9d4a['caretRangeFromPoint']){let _0x2ec8d7=_0x3e9d4a['caretRangeFromPoint'](_0x142e6a,_0x582806);_0x2ec8d7&&({startContainer:_0x534fd4,startOffset:_0x43da05}=_0x2ec8d7);}}_0x534fd4&&(!_0x17840b['contentDOM']['contains'](_0x534fd4)||ME['safari']&&function(_0x55404f,_0x4bd6aa,_0x75f173){return _A(_0x55404f,_0x4bd6aa,_0x75f173);}(_0x534fd4,_0x43da05,_0x142e6a)||ME['chrome']&&function(_0x25bc33,_0x39afd1,_0x5d9c8e){if(0x0!=_0x39afd1)return _A(_0x25bc33,_0x39afd1,_0x5d9c8e);for(let _0x1ce077=_0x25bc33;;){let _0x28c8f0=_0x1ce077['parentNode'];if(!_0x28c8f0||0x1!=_0x28c8f0['nodeType']||_0x28c8f0['firstChild']!=_0x1ce077)return!0x1;if(_0x28c8f0['classList']['contains']('cm-line'))break;_0x1ce077=_0x28c8f0;}let _0xb72dc0=0x1==_0x25bc33['nodeType']?_0x25bc33['getBoundingClientRect']():WE(_0x25bc33,0x0,Math['max'](_0x25bc33['nodeValue']['length'],0x1))['getBoundingClientRect']();return _0x5d9c8e-_0xb72dc0['left']>0x5;}(_0x534fd4,_0x43da05,_0x142e6a))&&(_0x534fd4=void 0x0),_0x534fd4&&(_0x43da05=Math['min'](FE(_0x534fd4),_0x43da05));}if(!_0x534fd4||!_0x17840b['docView']['dom']['contains'](_0x534fd4)){let _0x3a92fe=LineView['find'](_0x17840b['docView'],_0x486172);if(!_0x3a92fe)return _0x3f0822>_0x1de520['top']+_0x1de520['height']/0x2?_0x1de520['to']:_0x1de520['from'];({node:_0x534fd4,offset:_0x43da05}=wA(_0x3a92fe['dom'],_0x142e6a,_0x582806));}let _0x5e3b7d=_0x17840b['docView']['nearest'](_0x534fd4);if(!_0x5e3b7d)return null;if(_0x5e3b7d['isWidget']&&0x1==(null===(_0x2c4ff8=_0x5e3b7d['dom'])||void 0x0===_0x2c4ff8?void 0x0:_0x2c4ff8['nodeType'])){let _0x158097=_0x5e3b7d['dom']['getBoundingClientRect']();return _0x2e530c['y']<_0x158097['top']||_0x2e530c['y']<=_0x158097['bottom']&&_0x2e530c['x']<=(_0x158097['left']+_0x158097['right'])/0x2?_0x5e3b7d['posAtStart']:_0x5e3b7d['posAtEnd'];}return _0x5e3b7d['localPosFromDOM'](_0x534fd4,_0x43da05)+_0x5e3b7d['posAtStart'];}function vA(_0x1449bc,_0x4fe116,_0x3fb94c,_0x145c0a,_0x23f52b){let _0x23c6f9=Math['round']((_0x145c0a-_0x4fe116['left'])*_0x1449bc['defaultCharacterWidth']);if(_0x1449bc['lineWrapping']&&_0x3fb94c['height']>1.5*_0x1449bc['defaultLineHeight']){let _0x41d858=_0x1449bc['viewState']['heightOracle']['textHeight'];_0x23c6f9+=Math['floor']((_0x23f52b-_0x3fb94c['top']-0.5*(_0x1449bc['defaultLineHeight']-_0x41d858))/_0x41d858)*_0x1449bc['viewState']['heightOracle']['lineLength'];}let _0x2a3d56=_0x1449bc['state']['sliceDoc'](_0x3fb94c['from'],_0x3fb94c['to']);return _0x3fb94c['from']+uE(_0x2a3d56,_0x23c6f9,_0x1449bc['state']['tabSize']);}function _A(_0x312bce,_0x12eb06,_0x1e2036){let _0x17c832,_0x5a6593=_0x312bce;if(0x3!=_0x312bce['nodeType']||_0x12eb06!=(_0x17c832=_0x312bce['nodeValue']['length']))return!0x1;for(;;){let _0x5e17d5=_0x5a6593['nextSibling'];if(_0x5e17d5){if('BR'==_0x5e17d5['nodeName'])break;return!0x1;}{let _0x52142a=_0x5a6593['parentNode'];if(!_0x52142a||'DIV'==_0x52142a['nodeName'])break;_0x5a6593=_0x52142a;}}return WE(_0x312bce,_0x17c832-0x1,_0x17c832)['getBoundingClientRect']()['right']>_0x1e2036;}function EA(_0x1db9ea,_0x454db0,_0x2c440a){let _0x5634cc=_0x1db9ea['lineBlockAt'](_0x454db0);if(Array['isArray'](_0x5634cc['type'])){let _0x573422;for(let _0xf7a87a of _0x5634cc['type']){if(_0xf7a87a['from']>_0x454db0)break;if(!(_0xf7a87a['to']<_0x454db0)){if(_0xf7a87a['from']<_0x454db0&&_0xf7a87a['to']>_0x454db0)return _0xf7a87a;_0x573422&&(_0xf7a87a['type']!=mT['Text']||_0x573422['type']==_0xf7a87a['type']&&!(_0x2c440a<0x0?_0xf7a87a['from']<_0x454db0:_0xf7a87a['to']>_0x454db0))||(_0x573422=_0xf7a87a);}}return _0x573422||_0x5634cc;}return _0x5634cc;}function TA(_0x15cfae,_0x357b29,_0x4ab726,_0x3df558){let _0x440db0=_0x15cfae['state']['doc']['lineAt'](_0x357b29['head']),_0x1f9903=_0x15cfae['bidiSpans'](_0x440db0),_0x2d1091=_0x15cfae['textDirectionAt'](_0x440db0['from']);for(let _0x28da88=_0x357b29,_0x2abe8c=null;;){let _0x455c38=NT(_0x440db0,_0x1f9903,_0x2d1091,_0x28da88,_0x4ab726),_0x301470=MT;if(!_0x455c38){if(_0x440db0['number']==(_0x4ab726?_0x15cfae['state']['doc']['lines']:0x1))return _0x28da88;_0x301470='\x0a',_0x440db0=_0x15cfae['state']['doc']['line'](_0x440db0['number']+(_0x4ab726?0x1:-0x1)),_0x1f9903=_0x15cfae['bidiSpans'](_0x440db0),_0x455c38=_0x15cfae['visualLineSide'](_0x440db0,!_0x4ab726);}if(_0x2abe8c){if(!_0x2abe8c(_0x301470))return _0x28da88;}else{if(!_0x3df558)return _0x455c38;_0x2abe8c=_0x3df558(_0x301470);}_0x28da88=_0x455c38;}}function AA(_0xfda335,_0x1b18a2,_0x20e0d9){for(;;){let _0x902719=0x0;for(let _0xdda1aa of _0xfda335)_0xdda1aa['between'](_0x1b18a2-0x1,_0x1b18a2+0x1,(_0x4fa76c,_0x256015,_0x3ee02d)=>{if(_0x1b18a2>_0x4fa76c&&_0x1b18a2<_0x256015){let _0x31072b=_0x902719||_0x20e0d9||(_0x1b18a2-_0x4fa76c<_0x256015-_0x1b18a2?-0x1:0x1);_0x1b18a2=_0x31072b<0x0?_0x4fa76c:_0x256015,_0x902719=_0x31072b;}});if(!_0x902719)return _0x1b18a2;}}function IA(_0x17961e,_0x3f64eb){let _0x4b6cd8=null;for(let _0x4ffd04=0x0;_0x4ffd04<_0x3f64eb['ranges']['length'];_0x4ffd04++){let _0x4dbe1b=_0x3f64eb['ranges'][_0x4ffd04],_0x309405=null;if(_0x4dbe1b['empty']){let _0x53b0c8=AA(_0x17961e,_0x4dbe1b['from'],0x0);_0x53b0c8!=_0x4dbe1b['from']&&(_0x309405=EditorSelection['cursor'](_0x53b0c8,-0x1));}else{let _0x20cedc=AA(_0x17961e,_0x4dbe1b['from'],-0x1),_0x19a4ee=AA(_0x17961e,_0x4dbe1b['to'],0x1);_0x20cedc==_0x4dbe1b['from']&&_0x19a4ee==_0x4dbe1b['to']||(_0x309405=EditorSelection['range'](_0x4dbe1b['from']==_0x4dbe1b['anchor']?_0x20cedc:_0x19a4ee,_0x4dbe1b['from']==_0x4dbe1b['head']?_0x20cedc:_0x19a4ee));}_0x309405&&(_0x4b6cd8||(_0x4b6cd8=_0x3f64eb['ranges']['slice']()),_0x4b6cd8[_0x4ffd04]=_0x309405);}return _0x4b6cd8?EditorSelection['create'](_0x4b6cd8,_0x3f64eb['mainIndex']):_0x3f64eb;}function SA(_0x2df1a3,_0x34c7f6,_0x4108e1){let _0x12a0d8=AA(_0x2df1a3['state']['facet'](rA)['map'](_0x54fcb0=>_0x54fcb0(_0x2df1a3)),_0x4108e1['from'],_0x34c7f6['head']>_0x4108e1['from']?-0x1:0x1);return _0x12a0d8==_0x4108e1['from']?_0x4108e1:EditorSelection['cursor'](_0x12a0d8,_0x12a0d8<_0x4108e1['from']?0x1:-0x1);}const CA='';class DOMReader{constructor(_0x62fb75,_0x30dd65){this['points']=_0x62fb75,this['text']='',this['lineSeparator']=_0x30dd65['facet'](EditorState['lineSeparator']);}['append'](_0x24a33d){this['text']+=_0x24a33d;}['lineBreak'](){this['text']+=CA;}['readRange'](_0x2707d1,_0x20dcf5){if(!_0x2707d1)return this;let _0xb67a6f=_0x2707d1['parentNode'];for(let _0x86d9ee=_0x2707d1;;){this['findPointBefore'](_0xb67a6f,_0x86d9ee);let _0x1cc772=this['text']['length'];this['readNode'](_0x86d9ee);let _0x3c6fa1=_0x86d9ee['nextSibling'];if(_0x3c6fa1==_0x20dcf5)break;let _0x51436d=ContentView['get'](_0x86d9ee),_0x680817=ContentView['get'](_0x3c6fa1);(_0x51436d&&_0x680817?_0x51436d['breakAfter']:(_0x51436d?_0x51436d['breakAfter']:UE(_0x86d9ee))||UE(_0x3c6fa1)&&('BR'!=_0x86d9ee['nodeName']||_0x86d9ee['cmIgnore'])&&this['text']['length']>_0x1cc772)&&!xA(_0x3c6fa1,_0x20dcf5)&&this['lineBreak'](),_0x86d9ee=_0x3c6fa1;}return this['findPointBefore'](_0xb67a6f,_0x20dcf5),this;}['readTextNode'](_0xe8b5d1){let _0x2c53c3=_0xe8b5d1['nodeValue'];for(let _0x5b8555 of this['points'])_0x5b8555['node']==_0xe8b5d1&&(_0x5b8555['pos']=this['text']['length']+Math['min'](_0x5b8555['offset'],_0x2c53c3['length']));for(let _0xb6239c=0x0,_0x16163b=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x107409,_0x17588b=-0x1,_0x81ed0c=0x1;if(this['lineSeparator']?(_0x17588b=_0x2c53c3['indexOf'](this['lineSeparator'],_0xb6239c),_0x81ed0c=this['lineSeparator']['length']):(_0x107409=_0x16163b['exec'](_0x2c53c3))&&(_0x17588b=_0x107409['index'],_0x81ed0c=_0x107409[0x0]['length']),this['append'](_0x2c53c3['slice'](_0xb6239c,_0x17588b<0x0?_0x2c53c3['length']:_0x17588b)),_0x17588b<0x0)break;if(this['lineBreak'](),_0x81ed0c>0x1){for(let _0x34c5a3 of this['points'])_0x34c5a3['node']==_0xe8b5d1&&_0x34c5a3['pos']>this['text']['length']&&(_0x34c5a3['pos']-=_0x81ed0c-0x1);}_0xb6239c=_0x17588b+_0x81ed0c;}}['readNode'](_0x21fcf6){if(_0x21fcf6['cmIgnore'])return;let _0xe8695a=ContentView['get'](_0x21fcf6),_0x14b575=_0xe8695a&&_0xe8695a['overrideDOMText'];if(null!=_0x14b575){this['findPointInside'](_0x21fcf6,_0x14b575['length']);for(let _0x2d48b9=_0x14b575['iter']();!_0x2d48b9['next']()['done'];)_0x2d48b9['lineBreak']?this['lineBreak']():this['append'](_0x2d48b9['value']);}else 0x3==_0x21fcf6['nodeType']?this['readTextNode'](_0x21fcf6):'BR'==_0x21fcf6['nodeName']?_0x21fcf6['nextSibling']&&this['lineBreak']():0x1==_0x21fcf6['nodeType']&&this['readRange'](_0x21fcf6['firstChild'],null);}['findPointBefore'](_0x3e3da0,_0x53db7f){for(let _0x11b559 of this['points'])_0x11b559['node']==_0x3e3da0&&_0x3e3da0['childNodes'][_0x11b559['offset']]==_0x53db7f&&(_0x11b559['pos']=this['text']['length']);}['findPointInside'](_0x461c45,_0x295cd7){for(let _0x337c96 of this['points'])(0x3==_0x461c45['nodeType']?_0x337c96['node']==_0x461c45:_0x461c45['contains'](_0x337c96['node']))&&(_0x337c96['pos']=this['text']['length']+(kA(_0x461c45,_0x337c96['node'],_0x337c96['offset'])?_0x295cd7:0x0));}}function kA(_0x28eb0c,_0x29343a,_0x42c6ae){for(;;){if(!_0x29343a||_0x42c6ae<FE(_0x29343a))return!0x1;if(_0x29343a==_0x28eb0c)return!0x0;_0x42c6ae=VE(_0x29343a)+0x1,_0x29343a=_0x29343a['parentNode'];}}function xA(_0x213e3d,_0xbf91e6){let _0x42e59c;for(;_0x213e3d!=_0xbf91e6&&_0x213e3d;_0x213e3d=_0x213e3d['nextSibling']){let _0x3348c5=ContentView['get'](_0x213e3d);if(!(null==_0x3348c5?void 0x0:_0x3348c5['isWidget'])&&!_0x213e3d['cmIgnore'])return!0x1;_0x3348c5&&(_0x42e59c||(_0x42e59c=[]))['push'](_0x3348c5);}if(_0x42e59c)for(let _0x4a54ee of _0x42e59c){let _0x2178d1=_0x4a54ee['overrideDOMText'];if(null==_0x2178d1?void 0x0:_0x2178d1['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0xcfaf63,_0x45e6c4){this['node']=_0xcfaf63,this['offset']=_0x45e6c4,this['pos']=-0x1;}}class DOMChange{constructor(_0x2e06b8,_0x27b4d3,_0x166643,_0x4affa9){this['typeOver']=_0x4affa9,this['bounds']=null,this['text']='',this['domChanged']=_0x27b4d3>-0x1;let {impreciseHead:_0x56081a,impreciseAnchor:_0x1b9587}=_0x2e06b8['docView'];if(_0x2e06b8['state']['readOnly']&&_0x27b4d3>-0x1)this['newSel']=null;else{if(_0x27b4d3>-0x1&&(this['bounds']=_0x2e06b8['docView']['domBoundsAround'](_0x27b4d3,_0x166643,0x0))){let _0x4600cd=_0x56081a||_0x1b9587?[]:function(_0x2baab6){let _0x201a96=[];if(_0x2baab6['root']['activeElement']!=_0x2baab6['contentDOM'])return _0x201a96;let {anchorNode:_0x51aa13,anchorOffset:_0x2914c3,focusNode:_0x111d38,focusOffset:_0x32b8b6}=_0x2baab6['observer']['selectionRange'];return _0x51aa13&&(_0x201a96['push'](new DOMPoint(_0x51aa13,_0x2914c3)),_0x111d38==_0x51aa13&&_0x32b8b6==_0x2914c3||_0x201a96['push'](new DOMPoint(_0x111d38,_0x32b8b6))),_0x201a96;}(_0x2e06b8),_0x1d38a5=new DOMReader(_0x4600cd,_0x2e06b8['state']);_0x1d38a5['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x1d38a5['text'],this['newSel']=function(_0x4bebae,_0x1e92b7){if(0x0==_0x4bebae['length'])return null;let _0x39f3a2=_0x4bebae[0x0]['pos'],_0x1de4f6=0x2==_0x4bebae['length']?_0x4bebae[0x1]['pos']:_0x39f3a2;return _0x39f3a2>-0x1&&_0x1de4f6>-0x1?EditorSelection['single'](_0x39f3a2+_0x1e92b7,_0x1de4f6+_0x1e92b7):null;}(_0x4600cd,this['bounds']['from']);}else{let _0xca882f=_0x2e06b8['observer']['selectionRange'],_0x4d302d=_0x56081a&&_0x56081a['node']==_0xca882f['focusNode']&&_0x56081a['offset']==_0xca882f['focusOffset']||!LE(_0x2e06b8['contentDOM'],_0xca882f['focusNode'])?_0x2e06b8['state']['selection']['main']['head']:_0x2e06b8['docView']['posFromDOM'](_0xca882f['focusNode'],_0xca882f['focusOffset']),_0x41b3e5=_0x1b9587&&_0x1b9587['node']==_0xca882f['anchorNode']&&_0x1b9587['offset']==_0xca882f['anchorOffset']||!LE(_0x2e06b8['contentDOM'],_0xca882f['anchorNode'])?_0x2e06b8['state']['selection']['main']['anchor']:_0x2e06b8['docView']['posFromDOM'](_0xca882f['anchorNode'],_0xca882f['anchorOffset']),_0xa263f6=_0x2e06b8['viewport'];if((ME['ios']||ME['chrome'])&&_0x2e06b8['state']['selection']['main']['empty']&&_0x4d302d!=_0x41b3e5&&(_0xa263f6['from']>0x0||_0xa263f6['to']<_0x2e06b8['state']['doc']['length'])){let _0xea43de=Math['min'](_0x4d302d,_0x41b3e5),_0x12b8df=Math['max'](_0x4d302d,_0x41b3e5),_0x527bf1=_0xa263f6['from']-_0xea43de,_0x52540c=_0xa263f6['to']-_0x12b8df;0x0!=_0x527bf1&&0x1!=_0x527bf1&&0x0!=_0xea43de||0x0!=_0x52540c&&-0x1!=_0x52540c&&_0x12b8df!=_0x2e06b8['state']['doc']['length']||(_0x4d302d=0x0,_0x41b3e5=_0x2e06b8['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x41b3e5,_0x4d302d);}}}}function RA(_0x36b783,_0x3e8ad5){let _0x55164e,{newSel:_0x1299a9}=_0x3e8ad5,_0x1d71b0=_0x36b783['state']['selection']['main'],_0x565a44=_0x36b783['inputState']['lastKeyTime']>Date['now']()-0x64?_0x36b783['inputState']['lastKeyCode']:-0x1;if(_0x3e8ad5['bounds']){let {from:_0x2e1fb7,to:_0x24dae5}=_0x3e8ad5['bounds'],_0x5b9adb=_0x1d71b0['from'],_0xc73403=null;(0x8===_0x565a44||ME['android']&&_0x3e8ad5['text']['length']<_0x24dae5-_0x2e1fb7)&&(_0x5b9adb=_0x1d71b0['to'],_0xc73403='end');let _0x50bf25=MA(_0x36b783['state']['doc']['sliceString'](_0x2e1fb7,_0x24dae5,CA),_0x3e8ad5['text'],_0x5b9adb-_0x2e1fb7,_0xc73403);_0x50bf25&&(ME['chrome']&&0xd==_0x565a44&&_0x50bf25['toB']==_0x50bf25['from']+0x2&&_0x3e8ad5['text']['slice'](_0x50bf25['from'],_0x50bf25['toB'])==CA+CA&&_0x50bf25['toB']--,_0x55164e={'from':_0x2e1fb7+_0x50bf25['from'],'to':_0x2e1fb7+_0x50bf25['toA'],'insert':o_['of'](_0x3e8ad5['text']['slice'](_0x50bf25['from'],_0x50bf25['toB'])['split'](CA))});}else _0x1299a9&&(!_0x36b783['hasFocus']&&_0x36b783['state']['facet'](KT)||_0x1299a9['main']['eq'](_0x1d71b0))&&(_0x1299a9=null);if(!_0x55164e&&!_0x1299a9)return!0x1;if(!_0x55164e&&_0x3e8ad5['typeOver']&&!_0x1d71b0['empty']&&_0x1299a9&&_0x1299a9['main']['empty']?_0x55164e={'from':_0x1d71b0['from'],'to':_0x1d71b0['to'],'insert':_0x36b783['state']['doc']['slice'](_0x1d71b0['from'],_0x1d71b0['to'])}:(ME['mac']||ME['android'])&&_0x55164e&&_0x55164e['from']==_0x55164e['to']&&_0x55164e['from']==_0x1d71b0['head']-0x1&&/^\. ?$/['test'](_0x55164e['insert']['toString']())&&'off'==_0x36b783['contentDOM']['getAttribute']('autocorrect')?(_0x1299a9&&0x2==_0x55164e['insert']['length']&&(_0x1299a9=EditorSelection['single'](_0x1299a9['main']['anchor']-0x1,_0x1299a9['main']['head']-0x1)),_0x55164e={'from':_0x55164e['from'],'to':_0x55164e['to'],'insert':o_['of']([_0x55164e['insert']['toString']()['replace']('.','\x20')])}):_0x55164e&&_0x55164e['from']>=_0x1d71b0['from']&&_0x55164e['to']<=_0x1d71b0['to']&&(_0x55164e['from']!=_0x1d71b0['from']||_0x55164e['to']!=_0x1d71b0['to'])&&_0x1d71b0['to']-_0x1d71b0['from']-(_0x55164e['to']-_0x55164e['from'])<=0x4?_0x55164e={'from':_0x1d71b0['from'],'to':_0x1d71b0['to'],'insert':_0x36b783['state']['doc']['slice'](_0x1d71b0['from'],_0x55164e['from'])['append'](_0x55164e['insert'])['append'](_0x36b783['state']['doc']['slice'](_0x55164e['to'],_0x1d71b0['to']))}:ME['chrome']&&_0x55164e&&_0x55164e['from']==_0x55164e['to']&&_0x55164e['from']==_0x1d71b0['head']&&'\x0a\x20'==_0x55164e['insert']['toString']()&&_0x36b783['lineWrapping']&&(_0x1299a9&&(_0x1299a9=EditorSelection['single'](_0x1299a9['main']['anchor']-0x1,_0x1299a9['main']['head']-0x1)),_0x55164e={'from':_0x1d71b0['from'],'to':_0x1d71b0['to'],'insert':o_['of'](['\x20'])}),_0x55164e)return PA(_0x36b783,_0x55164e,_0x1299a9,_0x565a44);if(_0x1299a9&&!_0x1299a9['main']['eq'](_0x1d71b0)){let _0x69a246=!0x1,_0x2d4ed0='select';return _0x36b783['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x36b783['inputState']['lastSelectionOrigin']&&(_0x69a246=!0x0),_0x2d4ed0=_0x36b783['inputState']['lastSelectionOrigin'],'select.pointer'==_0x2d4ed0&&(_0x1299a9=IA(_0x36b783['state']['facet'](rA)['map'](_0x2e4281=>_0x2e4281(_0x36b783)),_0x1299a9))),_0x36b783['dispatch']({'selection':_0x1299a9,'scrollIntoView':_0x69a246,'userEvent':_0x2d4ed0}),!0x0;}return!0x1;}function PA(_0x1fe098,_0x305862,_0x12e0bd,_0xb9b480=-0x1){if(ME['ios']&&_0x1fe098['inputState']['flushIOSKey'](_0x305862))return!0x0;let _0x197d64=_0x1fe098['state']['selection']['main'];if(ME['android']&&(_0x305862['to']==_0x197d64['to']&&(_0x305862['from']==_0x197d64['from']||_0x305862['from']==_0x197d64['from']-0x1&&'\x20'==_0x1fe098['state']['sliceDoc'](_0x305862['from'],_0x197d64['from']))&&0x1==_0x305862['insert']['length']&&0x2==_0x305862['insert']['lines']&&zE(_0x1fe098['contentDOM'],'Enter',0xd)||(_0x305862['from']==_0x197d64['from']-0x1&&_0x305862['to']==_0x197d64['to']&&0x0==_0x305862['insert']['length']||0x8==_0xb9b480&&_0x305862['insert']['length']<_0x305862['to']-_0x305862['from']&&_0x305862['to']>_0x197d64['head'])&&zE(_0x1fe098['contentDOM'],'Backspace',0x8)||_0x305862['from']==_0x197d64['from']&&_0x305862['to']==_0x197d64['to']+0x1&&0x0==_0x305862['insert']['length']&&zE(_0x1fe098['contentDOM'],'Delete',0x2e)))return!0x0;let _0x32b6e9,_0x4b1998=_0x305862['insert']['toString']();_0x1fe098['inputState']['composing']>=0x0&&_0x1fe098['inputState']['composing']++;let _0x3115e8=()=>_0x32b6e9||(_0x32b6e9=function(_0x280e91,_0x44c52f,_0x537a45){let _0x3b22af,_0x18edac=_0x280e91['state'],_0x52f336=_0x18edac['selection']['main'],_0x46f03e=-0x1;if(_0x44c52f['from']==_0x44c52f['to']&&_0x44c52f['from']<_0x52f336['from']||_0x44c52f['from']>_0x52f336['to']){let _0x4dbcae=_0x44c52f['from']<_0x52f336['from']?-0x1:0x1,_0x5e9c49=_0x4dbcae<0x0?_0x52f336['from']:_0x52f336['to'],_0x2baac1=AA(_0x18edac['facet'](rA)['map'](_0x1b7b2e=>_0x1b7b2e(_0x280e91)),_0x5e9c49,_0x4dbcae);_0x44c52f['from']==_0x2baac1&&(_0x46f03e=_0x2baac1);}if(_0x46f03e>-0x1)_0x3b22af={'changes':_0x44c52f,'selection':EditorSelection['cursor'](_0x44c52f['from']+_0x44c52f['insert']['length'],-0x1)};else{if(_0x44c52f['from']>=_0x52f336['from']&&_0x44c52f['to']<=_0x52f336['to']&&_0x44c52f['to']-_0x44c52f['from']>=(_0x52f336['to']-_0x52f336['from'])/0x3&&(!_0x537a45||_0x537a45['main']['empty']&&_0x537a45['main']['from']==_0x44c52f['from']+_0x44c52f['insert']['length'])&&_0x280e91['inputState']['composing']<0x0){let _0x7a0904=_0x52f336['from']<_0x44c52f['from']?_0x18edac['sliceDoc'](_0x52f336['from'],_0x44c52f['from']):'',_0x1fce9b=_0x52f336['to']>_0x44c52f['to']?_0x18edac['sliceDoc'](_0x44c52f['to'],_0x52f336['to']):'';_0x3b22af=_0x18edac['replaceSelection'](_0x280e91['state']['toText'](_0x7a0904+_0x44c52f['insert']['sliceString'](0x0,void 0x0,_0x280e91['state']['lineBreak'])+_0x1fce9b));}else{let _0x307037=_0x18edac['changes'](_0x44c52f),_0x5cea71=_0x537a45&&_0x537a45['main']['to']<=_0x307037['newLength']?_0x537a45['main']:void 0x0;if(_0x18edac['selection']['ranges']['length']>0x1&&_0x280e91['inputState']['composing']>=0x0&&_0x44c52f['to']<=_0x52f336['to']&&_0x44c52f['to']>=_0x52f336['to']-0xa){let _0x115af6,_0x2c6c72=_0x280e91['state']['sliceDoc'](_0x44c52f['from'],_0x44c52f['to']),_0xacdb4d=_0x537a45&&uA(_0x280e91,_0x537a45['main']['head']);if(_0xacdb4d){let _0x19cf4d=_0x44c52f['insert']['length']-(_0x44c52f['to']-_0x44c52f['from']);_0x115af6={'from':_0xacdb4d['from'],'to':_0xacdb4d['to']-_0x19cf4d};}else _0x115af6=_0x280e91['state']['doc']['lineAt'](_0x52f336['head']);let _0x1a3914=_0x52f336['to']-_0x44c52f['to'],_0x1ce169=_0x52f336['to']-_0x52f336['from'];_0x3b22af=_0x18edac['changeByRange'](_0x44f96c=>{if(_0x44f96c['from']==_0x52f336['from']&&_0x44f96c['to']==_0x52f336['to'])return{'changes':_0x307037,'range':_0x5cea71||_0x44f96c['map'](_0x307037)};let _0x1ec857=_0x44f96c['to']-_0x1a3914,_0x521fb0=_0x1ec857-_0x2c6c72['length'];if(_0x44f96c['to']-_0x44f96c['from']!=_0x1ce169||_0x280e91['state']['sliceDoc'](_0x521fb0,_0x1ec857)!=_0x2c6c72||_0x44f96c['to']>=_0x115af6['from']&&_0x44f96c['from']<=_0x115af6['to'])return{'range':_0x44f96c};let _0x293a8d=_0x18edac['changes']({'from':_0x521fb0,'to':_0x1ec857,'insert':_0x44c52f['insert']}),_0x560489=_0x44f96c['to']-_0x52f336['to'];return{'changes':_0x293a8d,'range':_0x5cea71?EditorSelection['range'](Math['max'](0x0,_0x5cea71['anchor']+_0x560489),Math['max'](0x0,_0x5cea71['head']+_0x560489)):_0x44f96c['map'](_0x293a8d)};});}else _0x3b22af={'changes':_0x307037,'selection':_0x5cea71&&_0x18edac['selection']['replaceRange'](_0x5cea71)};}}let _0x260e8d='input.type';return(_0x280e91['composing']||_0x280e91['inputState']['compositionPendingChange']&&_0x280e91['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x280e91['inputState']['compositionPendingChange']=!0x1,_0x260e8d+='.compose',_0x280e91['inputState']['compositionFirstChange']&&(_0x260e8d+='.start',_0x280e91['inputState']['compositionFirstChange']=!0x1)),_0x18edac['update'](_0x3b22af,{'userEvent':_0x260e8d,'scrollIntoView':!0x0});}(_0x1fe098,_0x305862,_0x12e0bd));return _0x1fe098['state']['facet'](BT)['some'](_0x45eaa4=>_0x45eaa4(_0x1fe098,_0x305862['from'],_0x305862['to'],_0x4b1998,_0x3115e8))||_0x1fe098['dispatch'](_0x3115e8()),!0x0;}function MA(_0x40623d,_0x82b9f,_0x2eb2b1,_0xad0f38){let _0x220f03=Math['min'](_0x40623d['length'],_0x82b9f['length']),_0x333550=0x0;for(;_0x333550<_0x220f03&&_0x40623d['charCodeAt'](_0x333550)==_0x82b9f['charCodeAt'](_0x333550);)_0x333550++;if(_0x333550==_0x220f03&&_0x40623d['length']==_0x82b9f['length'])return null;let _0x34af61=_0x40623d['length'],_0x7787ef=_0x82b9f['length'];for(;_0x34af61>0x0&&_0x7787ef>0x0&&_0x40623d['charCodeAt'](_0x34af61-0x1)==_0x82b9f['charCodeAt'](_0x7787ef-0x1);)_0x34af61--,_0x7787ef--;'end'==_0xad0f38&&(_0x2eb2b1-=_0x34af61+Math['max'](0x0,_0x333550-Math['min'](_0x34af61,_0x7787ef))-_0x333550);if(_0x34af61<_0x333550&&_0x40623d['length']<_0x82b9f['length'])_0x333550-=_0x2eb2b1<=_0x333550&&_0x2eb2b1>=_0x34af61?_0x333550-_0x2eb2b1:0x0,_0x7787ef=_0x333550+(_0x7787ef-_0x34af61),_0x34af61=_0x333550;else _0x7787ef<_0x333550&&(_0x333550-=_0x2eb2b1<=_0x333550&&_0x2eb2b1>=_0x7787ef?_0x333550-_0x2eb2b1:0x0,_0x34af61=_0x333550+(_0x34af61-_0x7787ef),_0x7787ef=_0x333550);return{'from':_0x333550,'toA':_0x34af61,'toB':_0x7787ef};}class InputState{['setSelectionOrigin'](_0x2684a7){this['lastSelectionOrigin']=_0x2684a7,this['lastSelectionTime']=Date['now']();}constructor(_0x5953c3){this['view']=_0x5953c3,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=0x0,this['pendingIOSKey']=void 0x0,this['tabFocusMode']=-0x1,this['lastSelectionOrigin']=null,this['lastSelectionTime']=0x0,this['lastContextMenu']=0x0,this['scrollHandlers']=[],this['handlers']=Object['create'](null),this['composing']=-0x1,this['compositionFirstChange']=null,this['compositionEndedAt']=0x0,this['compositionPendingKey']=!0x1,this['compositionPendingChange']=!0x1,this['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x5953c3['hasFocus'],ME['safari']&&_0x5953c3['contentDOM']['addEventListener']('input',()=>null),ME['gecko']&&function(_0x428a56){rI['has'](_0x428a56)||(rI['add'](_0x428a56),_0x428a56['addEventListener']('copy',()=>{}),_0x428a56['addEventListener']('cut',()=>{}));}(_0x5953c3['contentDOM']['ownerDocument']);}['handleEvent'](_0x2050db){(function(_0x748ba6,_0x339832){if(!_0x339832['bubbles'])return!0x0;if(_0x339832['defaultPrevented'])return!0x1;for(let _0x273cb4,_0x5c38e0=_0x339832['target'];_0x5c38e0!=_0x748ba6['contentDOM'];_0x5c38e0=_0x5c38e0['parentNode'])if(!_0x5c38e0||0xb==_0x5c38e0['nodeType']||(_0x273cb4=ContentView['get'](_0x5c38e0))&&_0x273cb4['ignoreEvent'](_0x339832))return!0x1;return!0x0;}(this['view'],_0x2050db)&&!this['ignoreDuringComposition'](_0x2050db)&&('keydown'==_0x2050db['type']&&this['keydown'](_0x2050db)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x2050db['type'],_0x2050db)):this['runHandlers'](_0x2050db['type'],_0x2050db))));}['runHandlers'](_0x2e4401,_0x3fffa1){let _0x1938c9=this['handlers'][_0x2e4401];if(_0x1938c9){for(let _0x534f79 of _0x1938c9['observers'])_0x534f79(this['view'],_0x3fffa1);for(let _0x350110 of _0x1938c9['handlers']){if(_0x3fffa1['defaultPrevented'])break;if(_0x350110(this['view'],_0x3fffa1)){_0x3fffa1['preventDefault']();break;}}}}['ensureHandlers'](_0x11e37a){let _0x420047=LA(_0x11e37a),_0x321ad7=this['handlers'],_0x3f7e3a=this['view']['contentDOM'];for(let _0x1ca0b0 in _0x420047)if('scroll'!=_0x1ca0b0){let _0x2f18c3=!_0x420047[_0x1ca0b0]['handlers']['length'],_0x58aaaa=_0x321ad7[_0x1ca0b0];_0x58aaaa&&_0x2f18c3!=!_0x58aaaa['handlers']['length']&&(_0x3f7e3a['removeEventListener'](_0x1ca0b0,this['handleEvent']),_0x58aaaa=null),_0x58aaaa||_0x3f7e3a['addEventListener'](_0x1ca0b0,this['handleEvent'],{'passive':_0x2f18c3});}for(let _0x371b26 in _0x321ad7)'scroll'==_0x371b26||_0x420047[_0x371b26]||_0x3f7e3a['removeEventListener'](_0x371b26,this['handleEvent']);this['handlers']=_0x420047;}['keydown'](_0x4f29a4){if(this['lastKeyCode']=_0x4f29a4['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x4f29a4['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x4f29a4['keyCode']&&QA['indexOf'](_0x4f29a4['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),ME['android']&&ME['chrome']&&!_0x4f29a4['synthetic']&&(0xd==_0x4f29a4['keyCode']||0x8==_0x4f29a4['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x4f29a4['key'],_0x4f29a4['keyCode']),!0x0;let _0x205a1d;return!ME['ios']||_0x4f29a4['synthetic']||_0x4f29a4['altKey']||_0x4f29a4['metaKey']||!((_0x205a1d=$A['find'](_0x36e975=>_0x36e975['keyCode']==_0x4f29a4['keyCode']))&&!_0x4f29a4['ctrlKey']||DA['indexOf'](_0x4f29a4['key'])>-0x1&&_0x4f29a4['ctrlKey']&&!_0x4f29a4['shiftKey'])?(0xe5!=_0x4f29a4['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x205a1d||_0x4f29a4,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x5d4c20){let _0x3c43e6=this['pendingIOSKey'];return!!_0x3c43e6&&(!('Enter'==_0x3c43e6['key']&&_0x5d4c20&&_0x5d4c20['from']<_0x5d4c20['to']&&/^\S+$/['test'](_0x5d4c20['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,zE(this['view']['contentDOM'],_0x3c43e6['key'],_0x3c43e6['keyCode'],_0x3c43e6 instanceof KeyboardEvent?_0x3c43e6:void 0x0)));}['ignoreDuringComposition'](_0x3cd335){return!(!/^key/['test'](_0x3cd335['type'])||_0x3cd335['synthetic'])&&(this['composing']>0x0||!!(ME['safari']&&!ME['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x580cd2){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x580cd2;}['update'](_0x121e69){this['view']['observer']['update'](_0x121e69),this['mouseSelection']&&this['mouseSelection']['update'](_0x121e69),this['draggedContent']&&_0x121e69['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x121e69['changes'])),_0x121e69['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function NA(_0x59cc2f,_0x155831){return(_0x4e3708,_0x402f40)=>{try{return _0x155831['call'](_0x59cc2f,_0x402f40,_0x4e3708);}catch(_0x32477d){YT(_0x4e3708['state'],_0x32477d);}};}function LA(_0xf4b279){let _0x146d92=Object['create'](null);function _0x5c1349(_0x168640){return _0x146d92[_0x168640]||(_0x146d92[_0x168640]={'observers':[],'handlers':[]});}for(let _0x2b7049 of _0xf4b279){let _0x3e6f86=_0x2b7049['spec'],_0x496c4f=_0x3e6f86&&_0x3e6f86['plugin']['domEventHandlers'],_0x18fa23=_0x3e6f86&&_0x3e6f86['plugin']['domEventObservers'];if(_0x496c4f)for(let _0x4f5a72 in _0x496c4f){let _0x378d43=_0x496c4f[_0x4f5a72];_0x378d43&&_0x5c1349(_0x4f5a72)['handlers']['push'](NA(_0x2b7049['value'],_0x378d43));}if(_0x18fa23)for(let _0x146957 in _0x18fa23){let _0x5cdfbe=_0x18fa23[_0x146957];_0x5cdfbe&&_0x5c1349(_0x146957)['observers']['push'](NA(_0x2b7049['value'],_0x5cdfbe));}}for(let _0x5dadfa in UA)_0x5c1349(_0x5dadfa)['handlers']['push'](UA[_0x5dadfa]);for(let _0x407c11 in BA)_0x5c1349(_0x407c11)['observers']['push'](BA[_0x407c11]);return _0x146d92;}const $A=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],DA='dthko',QA=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function VA(_0x273882){return 0.7*Math['max'](0x0,_0x273882)+0x8;}class MouseSelection{constructor(_0x3565d2,_0x45927b,_0x1ad4e4,_0x1b245c){this['view']=_0x3565d2,this['startEvent']=_0x45927b,this['style']=_0x1ad4e4,this['mustSelect']=_0x1b245c,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x45927b,this['scrollParents']=function(_0x367bab){let _0x3a9739,_0x25c660,_0x40c9b0=_0x367bab['ownerDocument'];for(let _0x36cdb9=_0x367bab['parentNode'];_0x36cdb9&&!(_0x36cdb9==_0x40c9b0['body']||_0x3a9739&&_0x25c660);)if(0x1==_0x36cdb9['nodeType'])!_0x25c660&&_0x36cdb9['scrollHeight']>_0x36cdb9['clientHeight']&&(_0x25c660=_0x36cdb9),!_0x3a9739&&_0x36cdb9['scrollWidth']>_0x36cdb9['clientWidth']&&(_0x3a9739=_0x36cdb9),_0x36cdb9=_0x36cdb9['assignedSlot']||_0x36cdb9['parentNode'];else{if(0xb!=_0x36cdb9['nodeType'])break;_0x36cdb9=_0x36cdb9['host'];}return{'x':_0x3a9739,'y':_0x25c660};}(_0x3565d2['contentDOM']),this['atoms']=_0x3565d2['state']['facet'](rA)['map'](_0x4d6fe5=>_0x4d6fe5(_0x3565d2));let _0x3c3923=_0x3565d2['contentDOM']['ownerDocument'];_0x3c3923['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x3c3923['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x45927b['shiftKey'],this['multiple']=_0x3565d2['state']['facet'](EditorState['allowMultipleSelections'])&&function(_0x24c0eb,_0x14263f){let _0x4d1b85=_0x24c0eb['state']['facet']($T);return _0x4d1b85['length']?_0x4d1b85[0x0](_0x14263f):ME['mac']?_0x14263f['metaKey']:_0x14263f['ctrlKey'];}(_0x3565d2,_0x45927b),this['dragging']=!(!function(_0x59b55d,_0x31212c){let {main:_0x2bd503}=_0x59b55d['state']['selection'];if(_0x2bd503['empty'])return!0x1;let _0xb37fd3=NE(_0x59b55d['root']);if(!_0xb37fd3||0x0==_0xb37fd3['rangeCount'])return!0x0;let _0x104b81=_0xb37fd3['getRangeAt'](0x0)['getClientRects']();for(let _0x2f835d=0x0;_0x2f835d<_0x104b81['length'];_0x2f835d++){let _0x301092=_0x104b81[_0x2f835d];if(_0x301092['left']<=_0x31212c['clientX']&&_0x301092['right']>=_0x31212c['clientX']&&_0x301092['top']<=_0x31212c['clientY']&&_0x301092['bottom']>=_0x31212c['clientY'])return!0x0;}return!0x1;}(_0x3565d2,_0x45927b)||0x1!=JA(_0x45927b))&&null;}['start'](_0x5c9738){!0x1===this['dragging']&&this['select'](_0x5c9738);}['move'](_0x27bd54){if(0x0==_0x27bd54['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&(_0x8d559c=this['startEvent'],_0x41afaa=_0x27bd54,Math['max'](Math['abs'](_0x8d559c['clientX']-_0x41afaa['clientX']),Math['abs'](_0x8d559c['clientY']-_0x41afaa['clientY']))<0xa))return;var _0x8d559c,_0x41afaa;this['select'](this['lastEvent']=_0x27bd54);let _0x171f2b=0x0,_0x4fdfd6=0x0,_0x1cff1c=0x0,_0x40a00e=0x0,_0x39aaaa=this['view']['win']['innerWidth'],_0x3f0375=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x1cff1c,right:_0x39aaaa}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x40a00e,bottom:_0x3f0375}=this['scrollParents']['y']['getBoundingClientRect']());let _0x36fe25=lA(this['view']);_0x27bd54['clientX']-_0x36fe25['left']<=_0x1cff1c+0x6?_0x171f2b=-VA(_0x1cff1c-_0x27bd54['clientX']):_0x27bd54['clientX']+_0x36fe25['right']>=_0x39aaaa-0x6&&(_0x171f2b=VA(_0x27bd54['clientX']-_0x39aaaa)),_0x27bd54['clientY']-_0x36fe25['top']<=_0x40a00e+0x6?_0x4fdfd6=-VA(_0x40a00e-_0x27bd54['clientY']):_0x27bd54['clientY']+_0x36fe25['bottom']>=_0x3f0375-0x6&&(_0x4fdfd6=VA(_0x27bd54['clientY']-_0x3f0375)),this['setScrollSpeed'](_0x171f2b,_0x4fdfd6);}['up'](_0x3f2aad){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x3f2aad['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0xc7b63b=this['view']['contentDOM']['ownerDocument'];_0xc7b63b['removeEventListener']('mousemove',this['move']),_0xc7b63b['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x27eb7c,_0x323f6e){this['scrollSpeed']={'x':_0x27eb7c,'y':_0x323f6e},_0x27eb7c||_0x323f6e?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x4221b4,y:_0x43afdc}=this['scrollSpeed'];_0x4221b4&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x4221b4,_0x4221b4=0x0),_0x43afdc&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x43afdc,_0x43afdc=0x0),(_0x4221b4||_0x43afdc)&&this['view']['win']['scrollBy'](_0x4221b4,_0x43afdc),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x37b3f5){let {view:_0xe5db17}=this,_0x25c542=IA(this['atoms'],this['style']['get'](_0x37b3f5,this['extend'],this['multiple']));!this['mustSelect']&&_0x25c542['eq'](_0xe5db17['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x25c542,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x40fc54){_0x40fc54['transactions']['some'](_0x277f00=>_0x277f00['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x40fc54)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}const UA=Object['create'](null),BA=Object['create'](null),FA=ME['ie']&&ME['ie_version']<0xf||ME['ios']&&ME['webkit_version']<0x25c;function jA(_0x50ff61,_0x444c43,_0x1cdcfe){for(let _0xa6f00b of _0x50ff61['facet'](_0x444c43))_0x1cdcfe=_0xa6f00b(_0x1cdcfe,_0x50ff61);return _0x1cdcfe;}function HA(_0x591451,_0x48c313){_0x48c313=jA(_0x591451['state'],jT,_0x48c313);let _0x3a94de,{state:_0x16643d}=_0x591451,_0x5045a9=0x1,_0x16bb57=_0x16643d['toText'](_0x48c313),_0x2ab3b2=_0x16bb57['lines']==_0x16643d['selection']['ranges']['length'];if(null!=eI&&_0x16643d['selection']['ranges']['every'](_0x4fae92=>_0x4fae92['empty'])&&eI==_0x16bb57['toString']()){let _0x2d9695=-0x1;_0x3a94de=_0x16643d['changeByRange'](_0x315ad4=>{let _0x27f801=_0x16643d['doc']['lineAt'](_0x315ad4['from']);if(_0x27f801['from']==_0x2d9695)return{'range':_0x315ad4};_0x2d9695=_0x27f801['from'];let _0x40250c=_0x16643d['toText']((_0x2ab3b2?_0x16bb57['line'](_0x5045a9++)['text']:_0x48c313)+_0x16643d['lineBreak']);return{'changes':{'from':_0x27f801['from'],'insert':_0x40250c},'range':EditorSelection['cursor'](_0x315ad4['from']+_0x40250c['length'])};});}else _0x3a94de=_0x2ab3b2?_0x16643d['changeByRange'](_0x8a14e1=>{let _0x7dd795=_0x16bb57['line'](_0x5045a9++);return{'changes':{'from':_0x8a14e1['from'],'to':_0x8a14e1['to'],'insert':_0x7dd795['text']},'range':EditorSelection['cursor'](_0x8a14e1['from']+_0x7dd795['length'])};}):_0x16643d['replaceSelection'](_0x16bb57);_0x591451['dispatch'](_0x3a94de,{'userEvent':'input.paste','scrollIntoView':!0x0});}function GA(_0x2512c9,_0x51106d,_0x26d47f,_0x14435f){if(0x1==_0x14435f)return EditorSelection['cursor'](_0x51106d,_0x26d47f);if(0x2==_0x14435f)return function(_0x115132,_0x31be55,_0x540568=0x1){let _0x39db40=_0x115132['charCategorizer'](_0x31be55),_0x57dadc=_0x115132['doc']['lineAt'](_0x31be55),_0xca4b62=_0x31be55-_0x57dadc['from'];if(0x0==_0x57dadc['length'])return EditorSelection['cursor'](_0x31be55);0x0==_0xca4b62?_0x540568=0x1:_0xca4b62==_0x57dadc['length']&&(_0x540568=-0x1);let _0x2f0379=_0xca4b62,_0x97eb04=_0xca4b62;_0x540568<0x0?_0x2f0379=u_(_0x57dadc['text'],_0xca4b62,!0x1):_0x97eb04=u_(_0x57dadc['text'],_0xca4b62);let _0x20aa51=_0x39db40(_0x57dadc['text']['slice'](_0x2f0379,_0x97eb04));for(;_0x2f0379>0x0;){let _0x202913=u_(_0x57dadc['text'],_0x2f0379,!0x1);if(_0x39db40(_0x57dadc['text']['slice'](_0x202913,_0x2f0379))!=_0x20aa51)break;_0x2f0379=_0x202913;}for(;_0x97eb04<_0x57dadc['length'];){let _0x117687=u_(_0x57dadc['text'],_0x97eb04);if(_0x39db40(_0x57dadc['text']['slice'](_0x97eb04,_0x117687))!=_0x20aa51)break;_0x97eb04=_0x117687;}return EditorSelection['range'](_0x2f0379+_0x57dadc['from'],_0x97eb04+_0x57dadc['from']);}(_0x2512c9['state'],_0x51106d,_0x26d47f);{let _0x49fa72=LineView['find'](_0x2512c9['docView'],_0x51106d),_0x3e4b01=_0x2512c9['state']['doc']['lineAt'](_0x49fa72?_0x49fa72['posAtEnd']:_0x51106d),_0x355fb7=_0x49fa72?_0x49fa72['posAtStart']:_0x3e4b01['from'],_0x22e4b5=_0x49fa72?_0x49fa72['posAtEnd']:_0x3e4b01['to'];return _0x22e4b5<_0x2512c9['state']['doc']['length']&&_0x22e4b5==_0x3e4b01['to']&&_0x22e4b5++,EditorSelection['range'](_0x355fb7,_0x22e4b5);}}BA['scroll']=_0x5003f4=>{_0x5003f4['inputState']['lastScrollTop']=_0x5003f4['scrollDOM']['scrollTop'],_0x5003f4['inputState']['lastScrollLeft']=_0x5003f4['scrollDOM']['scrollLeft'];},UA['keydown']=(_0x5acc5a,_0x39aed9)=>(_0x5acc5a['inputState']['setSelectionOrigin']('select'),0x1b==_0x39aed9['keyCode']&&0x0!=_0x5acc5a['inputState']['tabFocusMode']&&(_0x5acc5a['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),BA['touchstart']=(_0x4418b5,_0x4f41fc)=>{_0x4418b5['inputState']['lastTouchTime']=Date['now'](),_0x4418b5['inputState']['setSelectionOrigin']('select.pointer');},BA['touchmove']=_0x564c83=>{_0x564c83['inputState']['setSelectionOrigin']('select.pointer');},UA['mousedown']=(_0x5543b8,_0x57c3dc)=>{if(_0x5543b8['observer']['flush'](),_0x5543b8['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0xc8d9e5=null;for(let _0x22bffa of _0x5543b8['state']['facet'](QT))if(_0xc8d9e5=_0x22bffa(_0x5543b8,_0x57c3dc),_0xc8d9e5)break;if(_0xc8d9e5||0x0!=_0x57c3dc['button']||(_0xc8d9e5=function(_0x80db76,_0x5a8a38){let _0x44061b=qA(_0x80db76,_0x5a8a38),_0x1197de=JA(_0x5a8a38),_0x10e97d=_0x80db76['state']['selection'];return{'update'(_0x1bcd3d){_0x1bcd3d['docChanged']&&(_0x44061b['pos']=_0x1bcd3d['changes']['mapPos'](_0x44061b['pos']),_0x10e97d=_0x10e97d['map'](_0x1bcd3d['changes']));},'get'(_0x3a5533,_0x5ccfb2,_0x26df4d){let _0x46a8a2,_0x4b3aac=qA(_0x80db76,_0x3a5533),_0x2e4eff=GA(_0x80db76,_0x4b3aac['pos'],_0x4b3aac['bias'],_0x1197de);if(_0x44061b['pos']!=_0x4b3aac['pos']&&!_0x5ccfb2){let _0x4310d9=GA(_0x80db76,_0x44061b['pos'],_0x44061b['bias'],_0x1197de),_0x12f0ba=Math['min'](_0x4310d9['from'],_0x2e4eff['from']),_0x3c4644=Math['max'](_0x4310d9['to'],_0x2e4eff['to']);_0x2e4eff=_0x12f0ba<_0x2e4eff['from']?EditorSelection['range'](_0x12f0ba,_0x3c4644):EditorSelection['range'](_0x3c4644,_0x12f0ba);}return _0x5ccfb2?_0x10e97d['replaceRange'](_0x10e97d['main']['extend'](_0x2e4eff['from'],_0x2e4eff['to'])):_0x26df4d&&0x1==_0x1197de&&_0x10e97d['ranges']['length']>0x1&&(_0x46a8a2=function(_0x232af5,_0x57711d){for(let _0x5c9665=0x0;_0x5c9665<_0x232af5['ranges']['length'];_0x5c9665++){let {from:_0x4aacee,to:_0x360df1}=_0x232af5['ranges'][_0x5c9665];if(_0x4aacee<=_0x57711d&&_0x360df1>=_0x57711d)return EditorSelection['create'](_0x232af5['ranges']['slice'](0x0,_0x5c9665)['concat'](_0x232af5['ranges']['slice'](_0x5c9665+0x1)),_0x232af5['mainIndex']==_0x5c9665?0x0:_0x232af5['mainIndex']-(_0x232af5['mainIndex']>_0x5c9665?0x1:0x0));}return null;}(_0x10e97d,_0x4b3aac['pos']))?_0x46a8a2:_0x26df4d?_0x10e97d['addRange'](_0x2e4eff):EditorSelection['create']([_0x2e4eff]);}};}(_0x5543b8,_0x57c3dc)),_0xc8d9e5){let _0x1636e9=!_0x5543b8['hasFocus'];_0x5543b8['inputState']['startMouseSelection'](new MouseSelection(_0x5543b8,_0x57c3dc,_0xc8d9e5,_0x1636e9)),_0x1636e9&&_0x5543b8['observer']['ignore'](()=>{qE(_0x5543b8['contentDOM']);let _0x1432e2=_0x5543b8['root']['activeElement'];_0x1432e2&&!_0x1432e2['contains'](_0x5543b8['contentDOM'])&&_0x1432e2['blur']();});let _0xfdbd98=_0x5543b8['inputState']['mouseSelection'];if(_0xfdbd98)return _0xfdbd98['start'](_0x57c3dc),!0x1===_0xfdbd98['dragging'];}else _0x5543b8['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let ZA=(_0x2743b5,_0x5b86c3,_0x55a2f4)=>_0x5b86c3>=_0x55a2f4['top']&&_0x5b86c3<=_0x55a2f4['bottom']&&_0x2743b5>=_0x55a2f4['left']&&_0x2743b5<=_0x55a2f4['right'];function XA(_0x429023,_0xec95d3,_0x48c090,_0xbecfee){let _0x1fdd2c=LineView['find'](_0x429023['docView'],_0xec95d3);if(!_0x1fdd2c)return 0x1;let _0x3e0b4c=_0xec95d3-_0x1fdd2c['posAtStart'];if(0x0==_0x3e0b4c)return 0x1;if(_0x3e0b4c==_0x1fdd2c['length'])return-0x1;let _0x58207a=_0x1fdd2c['coordsAt'](_0x3e0b4c,-0x1);if(_0x58207a&&ZA(_0x48c090,_0xbecfee,_0x58207a))return-0x1;let _0x3275d8=_0x1fdd2c['coordsAt'](_0x3e0b4c,0x1);return _0x3275d8&&ZA(_0x48c090,_0xbecfee,_0x3275d8)?0x1:_0x58207a&&_0x58207a['bottom']>=_0xbecfee?-0x1:0x1;}function qA(_0x13d520,_0x45c107){let _0x1ab8e9=_0x13d520['posAtCoords']({'x':_0x45c107['clientX'],'y':_0x45c107['clientY']},!0x1);return{'pos':_0x1ab8e9,'bias':XA(_0x13d520,_0x1ab8e9,_0x45c107['clientX'],_0x45c107['clientY'])};}const WA=ME['ie']&&ME['ie_version']<=0xb;let zA=null,YA=0x0,KA=0x0;function JA(_0x4ca4eb){if(!WA)return _0x4ca4eb['detail'];let _0x2205fb=zA,_0x3251b2=KA;return zA=_0x4ca4eb,KA=Date['now'](),YA=!_0x2205fb||_0x3251b2>Date['now']()-0x190&&Math['abs'](_0x2205fb['clientX']-_0x4ca4eb['clientX'])<0x2&&Math['abs'](_0x2205fb['clientY']-_0x4ca4eb['clientY'])<0x2?(YA+0x1)%0x3:0x1;}function tI(_0x4f0e87,_0x4b523e,_0x23cabb,_0xebe991){if(!(_0x23cabb=jA(_0x4f0e87['state'],jT,_0x23cabb)))return;let _0x22c345=_0x4f0e87['posAtCoords']({'x':_0x4b523e['clientX'],'y':_0x4b523e['clientY']},!0x1),{draggedContent:_0x4fa8aa}=_0x4f0e87['inputState'],_0x35fe26=_0xebe991&&_0x4fa8aa&&function(_0x4f468a,_0x49b460){let _0x37f589=_0x4f468a['state']['facet'](DT);return _0x37f589['length']?_0x37f589[0x0](_0x49b460):ME['mac']?!_0x49b460['altKey']:!_0x49b460['ctrlKey'];}(_0x4f0e87,_0x4b523e)?{'from':_0x4fa8aa['from'],'to':_0x4fa8aa['to']}:null,_0x5b6643={'from':_0x22c345,'insert':_0x23cabb},_0x206e72=_0x4f0e87['state']['changes'](_0x35fe26?[_0x35fe26,_0x5b6643]:_0x5b6643);_0x4f0e87['focus'](),_0x4f0e87['dispatch']({'changes':_0x206e72,'selection':{'anchor':_0x206e72['mapPos'](_0x22c345,-0x1),'head':_0x206e72['mapPos'](_0x22c345,0x1)},'userEvent':_0x35fe26?'move.drop':'input.drop'}),_0x4f0e87['inputState']['draggedContent']=null;}UA['dragstart']=(_0x37cae8,_0x4f8964)=>{let {selection:{main:_0x3607ee}}=_0x37cae8['state'];if(_0x4f8964['target']['draggable']){let _0x529446=_0x37cae8['docView']['nearest'](_0x4f8964['target']);if(_0x529446&&_0x529446['isWidget']){let _0x10c86c=_0x529446['posAtStart'],_0x7e03dc=_0x10c86c+_0x529446['length'];(_0x10c86c>=_0x3607ee['to']||_0x7e03dc<=_0x3607ee['from'])&&(_0x3607ee=EditorSelection['range'](_0x10c86c,_0x7e03dc));}}let {inputState:_0x54f415}=_0x37cae8;return _0x54f415['mouseSelection']&&(_0x54f415['mouseSelection']['dragging']=!0x0),_0x54f415['draggedContent']=_0x3607ee,_0x4f8964['dataTransfer']&&(_0x4f8964['dataTransfer']['setData']('Text',jA(_0x37cae8['state'],HT,_0x37cae8['state']['sliceDoc'](_0x3607ee['from'],_0x3607ee['to']))),_0x4f8964['dataTransfer']['effectAllowed']='copyMove'),!0x1;},UA['dragend']=_0x9d9c92=>(_0x9d9c92['inputState']['draggedContent']=null,!0x1),UA['drop']=(_0x334d15,_0x30f4d8)=>{if(!_0x30f4d8['dataTransfer'])return!0x1;if(_0x334d15['state']['readOnly'])return!0x0;let _0x2b7f19=_0x30f4d8['dataTransfer']['files'];if(_0x2b7f19&&_0x2b7f19['length']){let _0xa71f38=Array(_0x2b7f19['length']),_0x52efc6=0x0,_0x170d8a=()=>{++_0x52efc6==_0x2b7f19['length']&&tI(_0x334d15,_0x30f4d8,_0xa71f38['filter'](_0x493301=>null!=_0x493301)['join'](_0x334d15['state']['lineBreak']),!0x1);};for(let _0x5d3d79=0x0;_0x5d3d79<_0x2b7f19['length'];_0x5d3d79++){let _0xb4567e=new FileReader();_0xb4567e['onerror']=_0x170d8a,_0xb4567e['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0xb4567e['result'])||(_0xa71f38[_0x5d3d79]=_0xb4567e['result']),_0x170d8a();},_0xb4567e['readAsText'](_0x2b7f19[_0x5d3d79]);}return!0x0;}{let _0x407ef5=_0x30f4d8['dataTransfer']['getData']('Text');if(_0x407ef5)return tI(_0x334d15,_0x30f4d8,_0x407ef5,!0x0),!0x0;}return!0x1;},UA['paste']=(_0x2e4c16,_0x161e54)=>{if(_0x2e4c16['state']['readOnly'])return!0x0;_0x2e4c16['observer']['flush']();let _0xf832fa=FA?null:_0x161e54['clipboardData'];return _0xf832fa?(HA(_0x2e4c16,_0xf832fa['getData']('text/plain')||_0xf832fa['getData']('text/uri-list')),!0x0):(function(_0x502dde){let _0x499d76=_0x502dde['dom']['parentNode'];if(!_0x499d76)return;let _0x5c8a0f=_0x499d76['appendChild'](document['createElement']('textarea'));_0x5c8a0f['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x5c8a0f['focus'](),setTimeout(()=>{_0x502dde['focus'](),_0x5c8a0f['remove'](),HA(_0x502dde,_0x5c8a0f['value']);},0x32);}(_0x2e4c16),!0x1);};let eI=null;UA['copy']=UA['cut']=(_0x14b5a8,_0x295deb)=>{let {text:_0xa20bce,ranges:_0x512286,linewise:_0x245f33}=function(_0x7017c){let _0x544d3a=[],_0x5660ab=[],_0x5e097d=!0x1;for(let _0x151cd9 of _0x7017c['selection']['ranges'])_0x151cd9['empty']||(_0x544d3a['push'](_0x7017c['sliceDoc'](_0x151cd9['from'],_0x151cd9['to'])),_0x5660ab['push'](_0x151cd9));if(!_0x544d3a['length']){let _0x483f4c=-0x1;for(let {from:_0x833eb3}of _0x7017c['selection']['ranges']){let _0x195e92=_0x7017c['doc']['lineAt'](_0x833eb3);_0x195e92['number']>_0x483f4c&&(_0x544d3a['push'](_0x195e92['text']),_0x5660ab['push']({'from':_0x195e92['from'],'to':Math['min'](_0x7017c['doc']['length'],_0x195e92['to']+0x1)})),_0x483f4c=_0x195e92['number'];}_0x5e097d=!0x0;}return{'text':jA(_0x7017c,HT,_0x544d3a['join'](_0x7017c['lineBreak'])),'ranges':_0x5660ab,'linewise':_0x5e097d};}(_0x14b5a8['state']);if(!_0xa20bce&&!_0x245f33)return!0x1;eI=_0x245f33?_0xa20bce:null,'cut'!=_0x295deb['type']||_0x14b5a8['state']['readOnly']||_0x14b5a8['dispatch']({'changes':_0x512286,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x4390fd=FA?null:_0x295deb['clipboardData'];return _0x4390fd?(_0x4390fd['clearData'](),_0x4390fd['setData']('text/plain',_0xa20bce),!0x0):(function(_0x37012a,_0x3eb438){let _0x41c3d7=_0x37012a['dom']['parentNode'];if(!_0x41c3d7)return;let _0x50a5f6=_0x41c3d7['appendChild'](document['createElement']('textarea'));_0x50a5f6['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x50a5f6['value']=_0x3eb438,_0x50a5f6['focus'](),_0x50a5f6['selectionEnd']=_0x3eb438['length'],_0x50a5f6['selectionStart']=0x0,setTimeout(()=>{_0x50a5f6['remove'](),_0x37012a['focus']();},0x32);}(_0x14b5a8,_0xa20bce),!0x1);};const iI=Annotation['define']();function sI(_0x253702,_0x3d5ae4){let _0x146a79=[];for(let _0x283a94 of _0x253702['facet'](FT)){let _0x36ac3a=_0x283a94(_0x253702,_0x3d5ae4);_0x36ac3a&&_0x146a79['push'](_0x36ac3a);}return _0x146a79['length']?_0x253702['update']({'effects':_0x146a79,'annotations':iI['of'](!0x0)}):null;}function nI(_0xa434c2){setTimeout(()=>{let _0x37b867=_0xa434c2['hasFocus'];if(_0x37b867!=_0xa434c2['inputState']['notifiedFocused']){let _0x50056f=sI(_0xa434c2['state'],_0x37b867);_0x50056f?_0xa434c2['dispatch'](_0x50056f):_0xa434c2['update']([]);}},0xa);}BA['focus']=_0x52997=>{_0x52997['inputState']['lastFocusTime']=Date['now'](),_0x52997['scrollDOM']['scrollTop']||!_0x52997['inputState']['lastScrollTop']&&!_0x52997['inputState']['lastScrollLeft']||(_0x52997['scrollDOM']['scrollTop']=_0x52997['inputState']['lastScrollTop'],_0x52997['scrollDOM']['scrollLeft']=_0x52997['inputState']['lastScrollLeft']),nI(_0x52997);},BA['blur']=_0x102d2f=>{_0x102d2f['observer']['clearSelectionRange'](),nI(_0x102d2f);},BA['compositionstart']=BA['compositionupdate']=_0x33e4c6=>{_0x33e4c6['observer']['editContext']||(null==_0x33e4c6['inputState']['compositionFirstChange']&&(_0x33e4c6['inputState']['compositionFirstChange']=!0x0),_0x33e4c6['inputState']['composing']<0x0&&(_0x33e4c6['inputState']['composing']=0x0));},BA['compositionend']=_0x2240c3=>{_0x2240c3['observer']['editContext']||(_0x2240c3['inputState']['composing']=-0x1,_0x2240c3['inputState']['compositionEndedAt']=Date['now'](),_0x2240c3['inputState']['compositionPendingKey']=!0x0,_0x2240c3['inputState']['compositionPendingChange']=_0x2240c3['observer']['pendingRecords']()['length']>0x0,_0x2240c3['inputState']['compositionFirstChange']=null,ME['chrome']&&ME['android']?_0x2240c3['observer']['flushSoon']():_0x2240c3['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x2240c3['observer']['flush']()):setTimeout(()=>{_0x2240c3['inputState']['composing']<0x0&&_0x2240c3['docView']['hasComposition']&&_0x2240c3['update']([]);},0x32));},BA['contextmenu']=_0x161fd2=>{_0x161fd2['inputState']['lastContextMenu']=Date['now']();},UA['beforeinput']=(_0x264d94,_0x364ce1)=>{var _0x531a82,_0x521200;if('insertReplacementText'==_0x364ce1['inputType']&&_0x264d94['observer']['editContext']){let _0x31d3d2=null===(_0x531a82=_0x364ce1['dataTransfer'])||void 0x0===_0x531a82?void 0x0:_0x531a82['getData']('text/plain'),_0xb85db9=_0x364ce1['getTargetRanges']();if(_0x31d3d2&&_0xb85db9['length']){let _0x44d9db=_0xb85db9[0x0],_0x5e5119=_0x264d94['posAtDOM'](_0x44d9db['startContainer'],_0x44d9db['startOffset']),_0x5badd9=_0x264d94['posAtDOM'](_0x44d9db['endContainer'],_0x44d9db['endOffset']);return PA(_0x264d94,{'from':_0x5e5119,'to':_0x5badd9,'insert':_0x264d94['state']['toText'](_0x31d3d2)},null),!0x0;}}let _0x13170b;if(ME['chrome']&&ME['android']&&(_0x13170b=$A['find'](_0x4d379b=>_0x4d379b['inputType']==_0x364ce1['inputType']))&&(_0x264d94['observer']['delayAndroidKey'](_0x13170b['key'],_0x13170b['keyCode']),'Backspace'==_0x13170b['key']||'Delete'==_0x13170b['key'])){let _0x5a5d03=(null===(_0x521200=window['visualViewport'])||void 0x0===_0x521200?void 0x0:_0x521200['height'])||0x0;setTimeout(()=>{var _0x16d07e;((null===(_0x16d07e=window['visualViewport'])||void 0x0===_0x16d07e?void 0x0:_0x16d07e['height'])||0x0)>_0x5a5d03+0xa&&_0x264d94['hasFocus']&&(_0x264d94['contentDOM']['blur'](),_0x264d94['focus']());},0x64);}return ME['ios']&&'deleteContentForward'==_0x364ce1['inputType']&&_0x264d94['observer']['flushSoon'](),ME['safari']&&'insertText'==_0x364ce1['inputType']&&_0x264d94['inputState']['composing']>=0x0&&setTimeout(()=>BA['compositionend'](_0x264d94,_0x364ce1),0x14),!0x1;};const rI=new Set(),oI=['pre-wrap','normal','pre-line','break-spaces'];let aI=!0x1;function cI(){aI=!0x1;}class HeightOracle{constructor(_0x1e9384){this['lineWrapping']=_0x1e9384,this['doc']=o_['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x2b641b,_0x163d6c){let _0x1b87fd=this['doc']['lineAt'](_0x163d6c)['number']-this['doc']['lineAt'](_0x2b641b)['number']+0x1;return this['lineWrapping']&&(_0x1b87fd+=Math['max'](0x0,Math['ceil']((_0x163d6c-_0x2b641b-_0x1b87fd*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x1b87fd;}['heightForLine'](_0x1f0077){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x1f0077-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x46a4dc){return this['doc']=_0x46a4dc,this;}['mustRefreshForWrapping'](_0x19845b){return oI['indexOf'](_0x19845b)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x5cf225){let _0x41c708=!0x1;for(let _0x24103f=0x0;_0x24103f<_0x5cf225['length'];_0x24103f++){let _0x227872=_0x5cf225[_0x24103f];_0x227872<0x0?_0x24103f++:this['heightSamples'][Math['floor'](0xa*_0x227872)]||(_0x41c708=!0x0,this['heightSamples'][Math['floor'](0xa*_0x227872)]=!0x0);}return _0x41c708;}['refresh'](_0x5f2855,_0x120b90,_0x4dea62,_0x40f3fc,_0x44605d,_0x40a048){let _0x12faf8=oI['indexOf'](_0x5f2855)>-0x1,_0x16171e=Math['round'](_0x120b90)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x12faf8;if(this['lineWrapping']=_0x12faf8,this['lineHeight']=_0x120b90,this['charWidth']=_0x4dea62,this['textHeight']=_0x40f3fc,this['lineLength']=_0x44605d,_0x16171e){this['heightSamples']={};for(let _0x1b46bb=0x0;_0x1b46bb<_0x40a048['length'];_0x1b46bb++){let _0x1c656e=_0x40a048[_0x1b46bb];_0x1c656e<0x0?_0x1b46bb++:this['heightSamples'][Math['floor'](0xa*_0x1c656e)]=!0x0;}}return _0x16171e;}}class MeasuredHeights{constructor(_0x5d8190,_0x4a26f5){this['from']=_0x5d8190,this['heights']=_0x4a26f5,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class BlockInfo{constructor(_0x3a9598,_0x4697fb,_0x3abe85,_0x3d071d,_0x54c010){this['from']=_0x3a9598,this['length']=_0x4697fb,this['top']=_0x3abe85,this['height']=_0x3d071d,this['_content']=_0x54c010;}get['type'](){return'number'==typeof this['_content']?mT['Text']:Array['isArray'](this['_content'])?this['_content']:this['_content']['type'];}get['to'](){return this['from']+this['length'];}get['bottom'](){return this['top']+this['height'];}get['widget'](){return this['_content']instanceof PointDecoration?this['_content']['widget']:null;}get['widgetLineBreaks'](){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x396f5a){let _0x4cdf94=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x396f5a['_content'])?_0x396f5a['_content']:[_0x396f5a]);return new BlockInfo(this['from'],this['length']+_0x396f5a['length'],this['top'],this['height']+_0x396f5a['height'],_0x4cdf94);}}var lI=function(_0x3dcb63){return _0x3dcb63[_0x3dcb63['ByPos']=0x0]='ByPos',_0x3dcb63[_0x3dcb63['ByHeight']=0x1]='ByHeight',_0x3dcb63[_0x3dcb63['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x3dcb63;}(lI||(lI={}));const hI=0.001;class HeightMap{constructor(_0x599a34,_0xd8a65,_0x565c6b=0x2){this['length']=_0x599a34,this['height']=_0xd8a65,this['flags']=_0x565c6b;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0xff9667){this['flags']=(_0xff9667?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x3e6782){this['height']!=_0x3e6782&&(Math['abs'](this['height']-_0x3e6782)>hI&&(aI=!0x0),this['height']=_0x3e6782);}['replace'](_0x50f4c9,_0x2bd7e5,_0x2c27f1){return HeightMap['of'](_0x2c27f1);}['decomposeLeft'](_0x1a5056,_0x44b191){_0x44b191['push'](this);}['decomposeRight'](_0x1e1aff,_0x440c39){_0x440c39['push'](this);}['applyChanges'](_0xea142d,_0x37cbad,_0x36c1de,_0x14398d){let _0x441f83=this,_0x1a7dbb=_0x36c1de['doc'];for(let _0x239d30=_0x14398d['length']-0x1;_0x239d30>=0x0;_0x239d30--){let {fromA:_0x2a8267,toA:_0x3e0770,fromB:_0x55c8e1,toB:_0x406ee0}=_0x14398d[_0x239d30],_0x2293c5=_0x441f83['lineAt'](_0x2a8267,lI['ByPosNoHeight'],_0x36c1de['setDoc'](_0x37cbad),0x0,0x0),_0x306c48=_0x2293c5['to']>=_0x3e0770?_0x2293c5:_0x441f83['lineAt'](_0x3e0770,lI['ByPosNoHeight'],_0x36c1de,0x0,0x0);for(_0x406ee0+=_0x306c48['to']-_0x3e0770,_0x3e0770=_0x306c48['to'];_0x239d30>0x0&&_0x2293c5['from']<=_0x14398d[_0x239d30-0x1]['toA'];)_0x2a8267=_0x14398d[_0x239d30-0x1]['fromA'],_0x55c8e1=_0x14398d[_0x239d30-0x1]['fromB'],_0x239d30--,_0x2a8267<_0x2293c5['from']&&(_0x2293c5=_0x441f83['lineAt'](_0x2a8267,lI['ByPosNoHeight'],_0x36c1de,0x0,0x0));_0x55c8e1+=_0x2293c5['from']-_0x2a8267,_0x2a8267=_0x2293c5['from'];let _0x2313f2=NodeBuilder['build'](_0x36c1de['setDoc'](_0x1a7dbb),_0xea142d,_0x55c8e1,_0x406ee0);_0x441f83=uI(_0x441f83,_0x441f83['replace'](_0x2a8267,_0x3e0770,_0x2313f2));}return _0x441f83['updateHeight'](_0x36c1de,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x47b0df){if(0x1==_0x47b0df['length'])return _0x47b0df[0x0];let _0x11013c=0x0,_0x2228ee=_0x47b0df['length'],_0x4c67ad=0x0,_0x419209=0x0;for(;;)if(_0x11013c==_0x2228ee){if(_0x4c67ad>0x2*_0x419209){let _0x570ae5=_0x47b0df[_0x11013c-0x1];_0x570ae5['break']?_0x47b0df['splice'](--_0x11013c,0x1,_0x570ae5['left'],null,_0x570ae5['right']):_0x47b0df['splice'](--_0x11013c,0x1,_0x570ae5['left'],_0x570ae5['right']),_0x2228ee+=0x1+_0x570ae5['break'],_0x4c67ad-=_0x570ae5['size'];}else{if(!(_0x419209>0x2*_0x4c67ad))break;{let _0x17e305=_0x47b0df[_0x2228ee];_0x17e305['break']?_0x47b0df['splice'](_0x2228ee,0x1,_0x17e305['left'],null,_0x17e305['right']):_0x47b0df['splice'](_0x2228ee,0x1,_0x17e305['left'],_0x17e305['right']),_0x2228ee+=0x2+_0x17e305['break'],_0x419209-=_0x17e305['size'];}}}else{if(_0x4c67ad<_0x419209){let _0x165b17=_0x47b0df[_0x11013c++];_0x165b17&&(_0x4c67ad+=_0x165b17['size']);}else{let _0x1de2f0=_0x47b0df[--_0x2228ee];_0x1de2f0&&(_0x419209+=_0x1de2f0['size']);}}let _0x53766d=0x0;return null==_0x47b0df[_0x11013c-0x1]?(_0x53766d=0x1,_0x11013c--):null==_0x47b0df[_0x11013c]&&(_0x53766d=0x1,_0x2228ee++),new HeightMapBranch(HeightMap['of'](_0x47b0df['slice'](0x0,_0x11013c)),_0x53766d,HeightMap['of'](_0x47b0df['slice'](_0x2228ee)));}}function uI(_0x25c095,_0xb94a95){return _0x25c095==_0xb94a95?_0x25c095:(_0x25c095['constructor']!=_0xb94a95['constructor']&&(aI=!0x0),_0xb94a95);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x4c0a2d,_0x3422fa,_0x5a2f1b){super(_0x4c0a2d,_0x3422fa),this['deco']=_0x5a2f1b;}['blockAt'](_0x4bc773,_0x132764,_0x226bab,_0x254566){return new BlockInfo(_0x254566,this['length'],_0x226bab,this['height'],this['deco']||0x0);}['lineAt'](_0x39f173,_0x55bc05,_0x2f901c,_0x349a74,_0x59b801){return this['blockAt'](0x0,_0x2f901c,_0x349a74,_0x59b801);}['forEachLine'](_0x2776e8,_0x23f4dc,_0x1e8619,_0x5c6eb0,_0x9f5ea1,_0x11be23){_0x2776e8<=_0x9f5ea1+this['length']&&_0x23f4dc>=_0x9f5ea1&&_0x11be23(this['blockAt'](0x0,_0x1e8619,_0x5c6eb0,_0x9f5ea1));}['updateHeight'](_0x22cd12,_0x5a914e=0x0,_0x19af4c=!0x1,_0x221607){return _0x221607&&_0x221607['from']<=_0x5a914e&&_0x221607['more']&&this['setHeight'](_0x221607['heights'][_0x221607['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x31b77a,_0x31e3aa){super(_0x31b77a,_0x31e3aa,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x14fe2a,_0x5df9a3,_0x4759b3,_0xaf6722){return new BlockInfo(_0xaf6722,this['length'],_0x4759b3,this['height'],this['breaks']);}['replace'](_0x351edb,_0x58ef5e,_0x49b5d8){let _0x5055b0=_0x49b5d8[0x0];return 0x1==_0x49b5d8['length']&&(_0x5055b0 instanceof HeightMapText||_0x5055b0 instanceof HeightMapGap&&0x4&_0x5055b0['flags'])&&Math['abs'](this['length']-_0x5055b0['length'])<0xa?(_0x5055b0 instanceof HeightMapGap?_0x5055b0=new HeightMapText(_0x5055b0['length'],this['height']):_0x5055b0['height']=this['height'],this['outdated']||(_0x5055b0['outdated']=!0x1),_0x5055b0):HeightMap['of'](_0x49b5d8);}['updateHeight'](_0x543c58,_0xa27379=0x0,_0x22be86=!0x1,_0x3a5151){return _0x3a5151&&_0x3a5151['from']<=_0xa27379&&_0x3a5151['more']?this['setHeight'](_0x3a5151['heights'][_0x3a5151['index']++]):(_0x22be86||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x543c58['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x543c58['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x56a8fd){super(_0x56a8fd,0x0);}['heightMetrics'](_0x2d19b1,_0xcc3205){let _0x2cb156,_0x428f23=_0x2d19b1['doc']['lineAt'](_0xcc3205)['number'],_0x566680=_0x2d19b1['doc']['lineAt'](_0xcc3205+this['length'])['number'],_0xa47fca=_0x566680-_0x428f23+0x1,_0x2ea083=0x0;if(_0x2d19b1['lineWrapping']){let _0x2eced0=Math['min'](this['height'],_0x2d19b1['lineHeight']*_0xa47fca);_0x2cb156=_0x2eced0/_0xa47fca,this['length']>_0xa47fca+0x1&&(_0x2ea083=(this['height']-_0x2eced0)/(this['length']-_0xa47fca-0x1));}else _0x2cb156=this['height']/_0xa47fca;return{'firstLine':_0x428f23,'lastLine':_0x566680,'perLine':_0x2cb156,'perChar':_0x2ea083};}['blockAt'](_0x3c7101,_0x5cf049,_0x5656e1,_0x9f8fd8){let {firstLine:_0x24606e,lastLine:_0xe161ed,perLine:_0x423688,perChar:_0x239b4d}=this['heightMetrics'](_0x5cf049,_0x9f8fd8);if(_0x5cf049['lineWrapping']){let _0x2437bd=_0x9f8fd8+(_0x3c7101<_0x5cf049['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x3c7101-_0x5656e1)/this['height']))*this['length'])),_0x5928b6=_0x5cf049['doc']['lineAt'](_0x2437bd),_0x347e23=_0x423688+_0x5928b6['length']*_0x239b4d,_0x3fa5ad=Math['max'](_0x5656e1,_0x3c7101-_0x347e23/0x2);return new BlockInfo(_0x5928b6['from'],_0x5928b6['length'],_0x3fa5ad,_0x347e23,0x0);}{let _0x4b82e9=Math['max'](0x0,Math['min'](_0xe161ed-_0x24606e,Math['floor']((_0x3c7101-_0x5656e1)/_0x423688))),{from:_0x216d49,length:_0x2dd988}=_0x5cf049['doc']['line'](_0x24606e+_0x4b82e9);return new BlockInfo(_0x216d49,_0x2dd988,_0x5656e1+_0x423688*_0x4b82e9,_0x423688,0x0);}}['lineAt'](_0x440344,_0x11ff06,_0x4167cf,_0x501d67,_0x3ab759){if(_0x11ff06==lI['ByHeight'])return this['blockAt'](_0x440344,_0x4167cf,_0x501d67,_0x3ab759);if(_0x11ff06==lI['ByPosNoHeight']){let {from:_0x23cffa,to:_0x49e9e8}=_0x4167cf['doc']['lineAt'](_0x440344);return new BlockInfo(_0x23cffa,_0x49e9e8-_0x23cffa,0x0,0x0,0x0);}let {firstLine:_0x1a0f35,perLine:_0x266961,perChar:_0x998e49}=this['heightMetrics'](_0x4167cf,_0x3ab759),_0x37faf4=_0x4167cf['doc']['lineAt'](_0x440344),_0x910a60=_0x266961+_0x37faf4['length']*_0x998e49,_0xe8a055=_0x37faf4['number']-_0x1a0f35,_0x4db1a2=_0x501d67+_0x266961*_0xe8a055+_0x998e49*(_0x37faf4['from']-_0x3ab759-_0xe8a055);return new BlockInfo(_0x37faf4['from'],_0x37faf4['length'],Math['max'](_0x501d67,Math['min'](_0x4db1a2,_0x501d67+this['height']-_0x910a60)),_0x910a60,0x0);}['forEachLine'](_0x168e4e,_0x49f7f7,_0x24c526,_0x30e52a,_0x481be0,_0x2045a1){_0x168e4e=Math['max'](_0x168e4e,_0x481be0),_0x49f7f7=Math['min'](_0x49f7f7,_0x481be0+this['length']);let {firstLine:_0xd20e1f,perLine:_0x8273b4,perChar:_0x29e161}=this['heightMetrics'](_0x24c526,_0x481be0);for(let _0x32397a=_0x168e4e,_0x3a1f50=_0x30e52a;_0x32397a<=_0x49f7f7;){let _0x398a4f=_0x24c526['doc']['lineAt'](_0x32397a);if(_0x32397a==_0x168e4e){let _0xe6c0e3=_0x398a4f['number']-_0xd20e1f;_0x3a1f50+=_0x8273b4*_0xe6c0e3+_0x29e161*(_0x168e4e-_0x481be0-_0xe6c0e3);}let _0x1c32fd=_0x8273b4+_0x29e161*_0x398a4f['length'];_0x2045a1(new BlockInfo(_0x398a4f['from'],_0x398a4f['length'],_0x3a1f50,_0x1c32fd,0x0)),_0x3a1f50+=_0x1c32fd,_0x32397a=_0x398a4f['to']+0x1;}}['replace'](_0x2bbda5,_0x2c90a8,_0x51e78d){let _0x223c8c=this['length']-_0x2c90a8;if(_0x223c8c>0x0){let _0x4bee3d=_0x51e78d[_0x51e78d['length']-0x1];_0x4bee3d instanceof HeightMapGap?_0x51e78d[_0x51e78d['length']-0x1]=new HeightMapGap(_0x4bee3d['length']+_0x223c8c):_0x51e78d['push'](null,new HeightMapGap(_0x223c8c-0x1));}if(_0x2bbda5>0x0){let _0xe6754f=_0x51e78d[0x0];_0xe6754f instanceof HeightMapGap?_0x51e78d[0x0]=new HeightMapGap(_0x2bbda5+_0xe6754f['length']):_0x51e78d['unshift'](new HeightMapGap(_0x2bbda5-0x1),null);}return HeightMap['of'](_0x51e78d);}['decomposeLeft'](_0x36e628,_0x166e40){_0x166e40['push'](new HeightMapGap(_0x36e628-0x1),null);}['decomposeRight'](_0x42d57c,_0x7ad94b){_0x7ad94b['push'](null,new HeightMapGap(this['length']-_0x42d57c-0x1));}['updateHeight'](_0x4a1e,_0xe109e7=0x0,_0x231cd3=!0x1,_0x304650){let _0x8fbdeb=_0xe109e7+this['length'];if(_0x304650&&_0x304650['from']<=_0xe109e7+this['length']&&_0x304650['more']){let _0x492d9e=[],_0x51be5a=Math['max'](_0xe109e7,_0x304650['from']),_0x2096a8=-0x1;for(_0x304650['from']>_0xe109e7&&_0x492d9e['push'](new HeightMapGap(_0x304650['from']-_0xe109e7-0x1)['updateHeight'](_0x4a1e,_0xe109e7));_0x51be5a<=_0x8fbdeb&&_0x304650['more'];){let _0x458256=_0x4a1e['doc']['lineAt'](_0x51be5a)['length'];_0x492d9e['length']&&_0x492d9e['push'](null);let _0xd2cc2e=_0x304650['heights'][_0x304650['index']++];-0x1==_0x2096a8?_0x2096a8=_0xd2cc2e:Math['abs'](_0xd2cc2e-_0x2096a8)>=hI&&(_0x2096a8=-0x2);let _0x23c333=new HeightMapText(_0x458256,_0xd2cc2e);_0x23c333['outdated']=!0x1,_0x492d9e['push'](_0x23c333),_0x51be5a+=_0x458256+0x1;}_0x51be5a<=_0x8fbdeb&&_0x492d9e['push'](null,new HeightMapGap(_0x8fbdeb-_0x51be5a)['updateHeight'](_0x4a1e,_0x51be5a));let _0x5e029b=HeightMap['of'](_0x492d9e);return(_0x2096a8<0x0||Math['abs'](_0x5e029b['height']-this['height'])>=hI||Math['abs'](_0x2096a8-this['heightMetrics'](_0x4a1e,_0xe109e7)['perLine'])>=hI)&&(aI=!0x0),uI(this,_0x5e029b);}return(_0x231cd3||this['outdated'])&&(this['setHeight'](_0x4a1e['heightForGap'](_0xe109e7,_0xe109e7+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x3d19cb,_0xc4e296,_0x52701d){super(_0x3d19cb['length']+_0xc4e296+_0x52701d['length'],_0x3d19cb['height']+_0x52701d['height'],_0xc4e296|(_0x3d19cb['outdated']||_0x52701d['outdated']?0x2:0x0)),this['left']=_0x3d19cb,this['right']=_0x52701d,this['size']=_0x3d19cb['size']+_0x52701d['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x33b438,_0xe1547c,_0x4353b9,_0x5c6a53){let _0x20a720=_0x4353b9+this['left']['height'];return _0x33b438<_0x20a720?this['left']['blockAt'](_0x33b438,_0xe1547c,_0x4353b9,_0x5c6a53):this['right']['blockAt'](_0x33b438,_0xe1547c,_0x20a720,_0x5c6a53+this['left']['length']+this['break']);}['lineAt'](_0x1ebf01,_0x4c6e64,_0x4e5073,_0x4cd2c3,_0x10f17d){let _0x6064a7=_0x4cd2c3+this['left']['height'],_0x50ea1e=_0x10f17d+this['left']['length']+this['break'],_0x3a8ff5=_0x4c6e64==lI['ByHeight']?_0x1ebf01<_0x6064a7:_0x1ebf01<_0x50ea1e,_0x3169be=_0x3a8ff5?this['left']['lineAt'](_0x1ebf01,_0x4c6e64,_0x4e5073,_0x4cd2c3,_0x10f17d):this['right']['lineAt'](_0x1ebf01,_0x4c6e64,_0x4e5073,_0x6064a7,_0x50ea1e);if(this['break']||(_0x3a8ff5?_0x3169be['to']<_0x50ea1e:_0x3169be['from']>_0x50ea1e))return _0x3169be;let _0x33cf91=_0x4c6e64==lI['ByPosNoHeight']?lI['ByPosNoHeight']:lI['ByPos'];return _0x3a8ff5?_0x3169be['join'](this['right']['lineAt'](_0x50ea1e,_0x33cf91,_0x4e5073,_0x6064a7,_0x50ea1e)):this['left']['lineAt'](_0x50ea1e,_0x33cf91,_0x4e5073,_0x4cd2c3,_0x10f17d)['join'](_0x3169be);}['forEachLine'](_0xd9cb1,_0x261ace,_0x54797d,_0x402c0b,_0x52c84c,_0x14f129){let _0x1927da=_0x402c0b+this['left']['height'],_0x44a5ae=_0x52c84c+this['left']['length']+this['break'];if(this['break'])_0xd9cb1<_0x44a5ae&&this['left']['forEachLine'](_0xd9cb1,_0x261ace,_0x54797d,_0x402c0b,_0x52c84c,_0x14f129),_0x261ace>=_0x44a5ae&&this['right']['forEachLine'](_0xd9cb1,_0x261ace,_0x54797d,_0x1927da,_0x44a5ae,_0x14f129);else{let _0x54e2ea=this['lineAt'](_0x44a5ae,lI['ByPos'],_0x54797d,_0x402c0b,_0x52c84c);_0xd9cb1<_0x54e2ea['from']&&this['left']['forEachLine'](_0xd9cb1,_0x54e2ea['from']-0x1,_0x54797d,_0x402c0b,_0x52c84c,_0x14f129),_0x54e2ea['to']>=_0xd9cb1&&_0x54e2ea['from']<=_0x261ace&&_0x14f129(_0x54e2ea),_0x261ace>_0x54e2ea['to']&&this['right']['forEachLine'](_0x54e2ea['to']+0x1,_0x261ace,_0x54797d,_0x1927da,_0x44a5ae,_0x14f129);}}['replace'](_0xa3d37f,_0x227a63,_0x4210fc){let _0x334f61=this['left']['length']+this['break'];if(_0x227a63<_0x334f61)return this['balanced'](this['left']['replace'](_0xa3d37f,_0x227a63,_0x4210fc),this['right']);if(_0xa3d37f>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0xa3d37f-_0x334f61,_0x227a63-_0x334f61,_0x4210fc));let _0x5383d8=[];_0xa3d37f>0x0&&this['decomposeLeft'](_0xa3d37f,_0x5383d8);let _0x57c6c9=_0x5383d8['length'];for(let _0xa46adc of _0x4210fc)_0x5383d8['push'](_0xa46adc);if(_0xa3d37f>0x0&&dI(_0x5383d8,_0x57c6c9-0x1),_0x227a63<this['length']){let _0xbb65bc=_0x5383d8['length'];this['decomposeRight'](_0x227a63,_0x5383d8),dI(_0x5383d8,_0xbb65bc);}return HeightMap['of'](_0x5383d8);}['decomposeLeft'](_0x59d389,_0xcdc263){let _0x2f6102=this['left']['length'];if(_0x59d389<=_0x2f6102)return this['left']['decomposeLeft'](_0x59d389,_0xcdc263);_0xcdc263['push'](this['left']),this['break']&&(_0x2f6102++,_0x59d389>=_0x2f6102&&_0xcdc263['push'](null)),_0x59d389>_0x2f6102&&this['right']['decomposeLeft'](_0x59d389-_0x2f6102,_0xcdc263);}['decomposeRight'](_0x44bc67,_0x5109ac){let _0x115740=this['left']['length'],_0x2e8e08=_0x115740+this['break'];if(_0x44bc67>=_0x2e8e08)return this['right']['decomposeRight'](_0x44bc67-_0x2e8e08,_0x5109ac);_0x44bc67<_0x115740&&this['left']['decomposeRight'](_0x44bc67,_0x5109ac),this['break']&&_0x44bc67<_0x2e8e08&&_0x5109ac['push'](null),_0x5109ac['push'](this['right']);}['balanced'](_0x2fcbfd,_0x6f7ce8){return _0x2fcbfd['size']>0x2*_0x6f7ce8['size']||_0x6f7ce8['size']>0x2*_0x2fcbfd['size']?HeightMap['of'](this['break']?[_0x2fcbfd,null,_0x6f7ce8]:[_0x2fcbfd,_0x6f7ce8]):(this['left']=uI(this['left'],_0x2fcbfd),this['right']=uI(this['right'],_0x6f7ce8),this['setHeight'](_0x2fcbfd['height']+_0x6f7ce8['height']),this['outdated']=_0x2fcbfd['outdated']||_0x6f7ce8['outdated'],this['size']=_0x2fcbfd['size']+_0x6f7ce8['size'],this['length']=_0x2fcbfd['length']+this['break']+_0x6f7ce8['length'],this);}['updateHeight'](_0x88b40,_0x5ea4ca=0x0,_0x18a118=!0x1,_0x2b1bd3){let {left:_0x85ee6b,right:_0x2343ee}=this,_0x1e7f11=_0x5ea4ca+_0x85ee6b['length']+this['break'],_0x4a607d=null;return _0x2b1bd3&&_0x2b1bd3['from']<=_0x5ea4ca+_0x85ee6b['length']&&_0x2b1bd3['more']?_0x4a607d=_0x85ee6b=_0x85ee6b['updateHeight'](_0x88b40,_0x5ea4ca,_0x18a118,_0x2b1bd3):_0x85ee6b['updateHeight'](_0x88b40,_0x5ea4ca,_0x18a118),_0x2b1bd3&&_0x2b1bd3['from']<=_0x1e7f11+_0x2343ee['length']&&_0x2b1bd3['more']?_0x4a607d=_0x2343ee=_0x2343ee['updateHeight'](_0x88b40,_0x1e7f11,_0x18a118,_0x2b1bd3):_0x2343ee['updateHeight'](_0x88b40,_0x1e7f11,_0x18a118),_0x4a607d?this['balanced'](_0x85ee6b,_0x2343ee):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function dI(_0x2fc508,_0x1db598){let _0x52e876,_0x2f1fa9;null==_0x2fc508[_0x1db598]&&(_0x52e876=_0x2fc508[_0x1db598-0x1])instanceof HeightMapGap&&(_0x2f1fa9=_0x2fc508[_0x1db598+0x1])instanceof HeightMapGap&&_0x2fc508['splice'](_0x1db598-0x1,0x3,new HeightMapGap(_0x52e876['length']+0x1+_0x2f1fa9['length']));}class NodeBuilder{constructor(_0x57edb4,_0x36e6af){this['pos']=_0x57edb4,this['oracle']=_0x36e6af,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x57edb4;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0xe8f83c,_0x399af7){if(this['lineStart']>-0x1){let _0x2ad2c7=Math['min'](_0x399af7,this['lineEnd']),_0x422ced=this['nodes'][this['nodes']['length']-0x1];_0x422ced instanceof HeightMapText?_0x422ced['length']+=_0x2ad2c7-this['pos']:(_0x2ad2c7>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x2ad2c7-this['pos'],-0x1)),this['writtenTo']=_0x2ad2c7,_0x399af7>_0x2ad2c7&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x399af7;}['point'](_0x5c9adb,_0x4dd44f,_0x2edf73){if(_0x5c9adb<_0x4dd44f||_0x2edf73['heightRelevant']){let _0x32e904=_0x2edf73['widget']?_0x2edf73['widget']['estimatedHeight']:0x0,_0x6f1590=_0x2edf73['widget']?_0x2edf73['widget']['lineBreaks']:0x0;_0x32e904<0x0&&(_0x32e904=this['oracle']['lineHeight']);let _0x38b4a7=_0x4dd44f-_0x5c9adb;_0x2edf73['block']?this['addBlock'](new HeightMapBlock(_0x38b4a7,_0x32e904,_0x2edf73)):(_0x38b4a7||_0x6f1590||_0x32e904>=0x5)&&this['addLineDeco'](_0x32e904,_0x6f1590,_0x38b4a7);}else _0x4dd44f>_0x5c9adb&&this['span'](_0x5c9adb,_0x4dd44f);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x23bcb1,to:_0x2dc846}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x23bcb1,this['lineEnd']=_0x2dc846,this['writtenTo']<_0x23bcb1&&((this['writtenTo']<_0x23bcb1-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x23bcb1-0x1)),this['nodes']['push'](null)),this['pos']>_0x23bcb1&&this['nodes']['push'](new HeightMapText(this['pos']-_0x23bcb1,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x7bd160,_0x3d425c){let _0x31a740=new HeightMapGap(_0x3d425c-_0x7bd160);return this['oracle']['doc']['lineAt'](_0x7bd160)['to']==_0x3d425c&&(_0x31a740['flags']|=0x4),_0x31a740;}['ensureLine'](){this['enterLine']();let _0x1f3a80=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x1f3a80 instanceof HeightMapText)return _0x1f3a80;let _0x1cf5e1=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x1cf5e1),_0x1cf5e1;}['addBlock'](_0xeec25){this['enterLine']();let _0x4286c8=_0xeec25['deco'];_0x4286c8&&_0x4286c8['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0xeec25),this['writtenTo']=this['pos']=this['pos']+_0xeec25['length'],_0x4286c8&&_0x4286c8['endSide']>0x0&&(this['covering']=_0xeec25);}['addLineDeco'](_0x4dfceb,_0xcfd22f,_0x4dc73b){let _0x599c31=this['ensureLine']();_0x599c31['length']+=_0x4dc73b,_0x599c31['collapsed']+=_0x4dc73b,_0x599c31['widgetHeight']=Math['max'](_0x599c31['widgetHeight'],_0x4dfceb),_0x599c31['breaks']+=_0xcfd22f,this['writtenTo']=this['pos']=this['pos']+_0x4dc73b;}['finish'](_0x6dd647){let _0x4dcc38=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x4dcc38 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x4dcc38)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x5ed54e=_0x6dd647;for(let _0x280e22 of this['nodes'])_0x280e22 instanceof HeightMapText&&_0x280e22['updateHeight'](this['oracle'],_0x5ed54e),_0x5ed54e+=_0x280e22?_0x280e22['length']:0x1;return this['nodes'];}static['build'](_0x15bf25,_0x42fc37,_0x5a1a0f,_0x5b02a2){let _0xedc6bf=new NodeBuilder(_0x5a1a0f,_0x15bf25);return RangeSet['spans'](_0x42fc37,_0x5a1a0f,_0x5b02a2,_0xedc6bf,0x0),_0xedc6bf['finish'](_0x5a1a0f);}}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x3db2d0,_0x432526,_0x3f80e4,_0x43cc11){(_0x3db2d0<_0x432526||_0x3f80e4&&_0x3f80e4['heightRelevant']||_0x43cc11&&_0x43cc11['heightRelevant'])&&pT(_0x3db2d0,_0x432526,this['changes'],0x5);}}function fI(_0x1e4167,_0x2413a8){let _0x503fe9=_0x1e4167['getBoundingClientRect'](),_0x5bb36d=_0x1e4167['ownerDocument'],_0x5a523b=_0x5bb36d['defaultView']||window,_0x377404=Math['max'](0x0,_0x503fe9['left']),_0x5b2d73=Math['min'](_0x5a523b['innerWidth'],_0x503fe9['right']),_0x14867f=Math['max'](0x0,_0x503fe9['top']),_0x363ad0=Math['min'](_0x5a523b['innerHeight'],_0x503fe9['bottom']);for(let _0x336d3f=_0x1e4167['parentNode'];_0x336d3f&&_0x336d3f!=_0x5bb36d['body'];)if(0x1==_0x336d3f['nodeType']){let _0x48f554=_0x336d3f,_0x353f78=window['getComputedStyle'](_0x48f554);if((_0x48f554['scrollHeight']>_0x48f554['clientHeight']||_0x48f554['scrollWidth']>_0x48f554['clientWidth'])&&'visible'!=_0x353f78['overflow']){let _0xeac9ba=_0x48f554['getBoundingClientRect']();_0x377404=Math['max'](_0x377404,_0xeac9ba['left']),_0x5b2d73=Math['min'](_0x5b2d73,_0xeac9ba['right']),_0x14867f=Math['max'](_0x14867f,_0xeac9ba['top']),_0x363ad0=Math['min'](_0x336d3f==_0x1e4167['parentNode']?_0x5a523b['innerHeight']:_0x363ad0,_0xeac9ba['bottom']);}_0x336d3f='absolute'==_0x353f78['position']||'fixed'==_0x353f78['position']?_0x48f554['offsetParent']:_0x48f554['parentNode'];}else{if(0xb!=_0x336d3f['nodeType'])break;_0x336d3f=_0x336d3f['host'];}return{'left':_0x377404-_0x503fe9['left'],'right':Math['max'](_0x377404,_0x5b2d73)-_0x503fe9['left'],'top':_0x14867f-(_0x503fe9['top']+_0x2413a8),'bottom':Math['max'](_0x14867f,_0x363ad0)-(_0x503fe9['top']+_0x2413a8)};}function mI(_0x1ce748,_0x27bbe4){let _0x34b13f=_0x1ce748['getBoundingClientRect']();return{'left':0x0,'right':_0x34b13f['right']-_0x34b13f['left'],'top':_0x27bbe4,'bottom':_0x34b13f['bottom']-(_0x34b13f['top']+_0x27bbe4)};}class LineGap{constructor(_0x52298c,_0x3b81c6,_0x54c5b2,_0x3b1841){this['from']=_0x52298c,this['to']=_0x3b81c6,this['size']=_0x54c5b2,this['displaySize']=_0x3b1841;}static['same'](_0x534c59,_0x283a75){if(_0x534c59['length']!=_0x283a75['length'])return!0x1;for(let _0x4cf75b=0x0;_0x4cf75b<_0x534c59['length'];_0x4cf75b++){let _0x1023a1=_0x534c59[_0x4cf75b],_0x4df497=_0x283a75[_0x4cf75b];if(_0x1023a1['from']!=_0x4df497['from']||_0x1023a1['to']!=_0x4df497['to']||_0x1023a1['size']!=_0x4df497['size'])return!0x1;}return!0x0;}['draw'](_0x458021,_0x1c45e4){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x1c45e4?_0x458021['scaleY']:_0x458021['scaleX']),_0x1c45e4)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x44ff77,_0x101c72){super(),this['size']=_0x44ff77,this['vertical']=_0x101c72;}['eq'](_0x46f136){return _0x46f136['size']==this['size']&&_0x46f136['vertical']==this['vertical'];}['toDOM'](){let _0x18b951=document['createElement']('div');return this['vertical']?_0x18b951['style']['height']=this['size']+'px':(_0x18b951['style']['width']=this['size']+'px',_0x18b951['style']['height']='2px',_0x18b951['style']['display']='inline-block'),_0x18b951;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x3e6ec1){this['state']=_0x3e6ec1,this['pixelViewport']={'left':0x0,'right':window['innerWidth'],'top':0x0,'bottom':0x0},this['inView']=!0x0,this['paddingTop']=0x0,this['paddingBottom']=0x0,this['contentDOMWidth']=0x0,this['contentDOMHeight']=0x0,this['editorHeight']=0x0,this['editorWidth']=0x0,this['scrollTop']=0x0,this['scrolledToBottom']=!0x1,this['scaleX']=0x1,this['scaleY']=0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=OI,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=wT['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0xbb98bb=_0x3e6ec1['facet'](iA)['some'](_0x295ae8=>'function'!=typeof _0x295ae8&&'cm-lineWrapping'==_0x295ae8['class']);this['heightOracle']=new HeightOracle(_0xbb98bb),this['stateDeco']=_0x3e6ec1['facet'](sA)['filter'](_0x48486a=>'function'!=typeof _0x48486a),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],o_['empty'],this['heightOracle']['setDoc'](_0x3e6ec1['doc']),[new ChangedRange(0x0,0x0,0x0,_0x3e6ec1['doc']['length'])]);for(let _0x30d302=0x0;_0x30d302<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x30d302++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x2d5813=>_0x2d5813['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x27e1c0=[this['viewport']],{main:_0x202dc4}=this['state']['selection'];for(let _0x49272c=0x0;_0x49272c<=0x1;_0x49272c++){let _0x111f0b=_0x49272c?_0x202dc4['head']:_0x202dc4['anchor'];if(!_0x27e1c0['some'](({from:_0x36ed22,to:_0x372d39})=>_0x111f0b>=_0x36ed22&&_0x111f0b<=_0x372d39)){let {from:_0x53e154,to:_0x2ed7a9}=this['lineBlockAt'](_0x111f0b);_0x27e1c0['push'](new Viewport(_0x53e154,_0x2ed7a9));}}return this['viewports']=_0x27e1c0['sort']((_0x1b16d0,_0x1ed6d7)=>_0x1b16d0['from']-_0x1ed6d7['from']),this['updateScaler']();}['updateScaler'](){let _0x9ea9fc=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?OI:new BigScaler(this['heightOracle'],this['heightMap'],this['viewports']),_0x9ea9fc['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,_0x58741b=>{this['viewportLines']['push'](wI(_0x58741b,this['scaler']));});}['update'](_0x21f15b,_0x283059=null){this['state']=_0x21f15b['state'];let _0x211135=this['stateDeco'];this['stateDeco']=this['state']['facet'](sA)['filter'](_0x35ac59=>'function'!=typeof _0x35ac59);let _0x2a04b9=_0x21f15b['changedRanges'],_0x518270=ChangedRange['extendWithRanges'](_0x2a04b9,function(_0xa657b9,_0x488b9c,_0x528f6f){let _0x396c45=new DecorationComparator();return RangeSet['compare'](_0xa657b9,_0x488b9c,_0x528f6f,_0x396c45,0x0),_0x396c45['changes'];}(_0x211135,this['stateDeco'],_0x21f15b?_0x21f15b['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x36f13c=this['heightMap']['height'],_0x4d491d=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);cI(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x21f15b['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x518270),(this['heightMap']['height']!=_0x36f13c||aI)&&(_0x21f15b['flags']|=0x2),_0x4d491d?(this['scrollAnchorPos']=_0x21f15b['changes']['mapPos'](_0x4d491d['from'],-0x1),this['scrollAnchorHeight']=_0x4d491d['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x36f13c);let _0x545641=_0x518270['length']?this['mapViewport'](this['viewport'],_0x21f15b['changes']):this['viewport'];(_0x283059&&(_0x283059['range']['head']<_0x545641['from']||_0x283059['range']['head']>_0x545641['to'])||!this['viewportIsAppropriate'](_0x545641))&&(_0x545641=this['getViewport'](0x0,_0x283059));let _0x662bc9=_0x545641['from']!=this['viewport']['from']||_0x545641['to']!=this['viewport']['to'];this['viewport']=_0x545641,_0x21f15b['flags']|=this['updateForViewport'](),(_0x662bc9||!_0x21f15b['changes']['empty']||0x2&_0x21f15b['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x21f15b['changes']))),_0x21f15b['flags']|=this['computeVisibleRanges'](_0x21f15b['changes']),_0x283059&&(this['scrollTarget']=_0x283059),!this['mustEnforceCursorAssoc']&&_0x21f15b['selectionSet']&&_0x21f15b['view']['lineWrapping']&&_0x21f15b['state']['selection']['main']['empty']&&_0x21f15b['state']['selection']['main']['assoc']&&!_0x21f15b['state']['facet'](ZT)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x4b37ca){let _0x1f2020=_0x4b37ca['contentDOM'],_0x463e71=window['getComputedStyle'](_0x1f2020),_0x4e3761=this['heightOracle'],_0x1b3a21=_0x463e71['whiteSpace'];this['defaultTextDirection']='rtl'==_0x463e71['direction']?wT['RTL']:wT['LTR'];let _0x2d5586=this['heightOracle']['mustRefreshForWrapping'](_0x1b3a21),_0xe44be1=_0x1f2020['getBoundingClientRect'](),_0xaccb09=_0x2d5586||this['mustMeasureContent']||this['contentDOMHeight']!=_0xe44be1['height'];this['contentDOMHeight']=_0xe44be1['height'],this['mustMeasureContent']=!0x1;let _0x1ff7eb=0x0,_0x57e9b8=0x0;if(_0xe44be1['width']&&_0xe44be1['height']){let {scaleX:_0x26493e,scaleY:_0x57038c}=GE(_0x1f2020,_0xe44be1);(_0x26493e>0.005&&Math['abs'](this['scaleX']-_0x26493e)>0.005||_0x57038c>0.005&&Math['abs'](this['scaleY']-_0x57038c)>0.005)&&(this['scaleX']=_0x26493e,this['scaleY']=_0x57038c,_0x1ff7eb|=0x10,_0x2d5586=_0xaccb09=!0x0);}let _0x46990e=(parseInt(_0x463e71['paddingTop'])||0x0)*this['scaleY'],_0x579e7d=(parseInt(_0x463e71['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x46990e&&this['paddingBottom']==_0x579e7d||(this['paddingTop']=_0x46990e,this['paddingBottom']=_0x579e7d,_0x1ff7eb|=0x12),this['editorWidth']!=_0x4b37ca['scrollDOM']['clientWidth']&&(_0x4e3761['lineWrapping']&&(_0xaccb09=!0x0),this['editorWidth']=_0x4b37ca['scrollDOM']['clientWidth'],_0x1ff7eb|=0x10);let _0x2da966=_0x4b37ca['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x2da966&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x2da966),this['scrolledToBottom']=KE(_0x4b37ca['scrollDOM']);let _0x1b35ad=(this['printing']?mI:fI)(_0x1f2020,this['paddingTop']),_0x296ff3=_0x1b35ad['top']-this['pixelViewport']['top'],_0x450d6e=_0x1b35ad['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x1b35ad;let _0x1661ad=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x1661ad!=this['inView']&&(this['inView']=_0x1661ad,_0x1661ad&&(_0xaccb09=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x101c48){let _0xdfce2b=_0x101c48['getBoundingClientRect'](),_0x4aab20=_0x101c48['ownerDocument']['defaultView']||window;return _0xdfce2b['left']<_0x4aab20['innerWidth']&&_0xdfce2b['right']>0x0&&_0xdfce2b['top']<_0x4aab20['innerHeight']&&_0xdfce2b['bottom']>0x0;}(_0x4b37ca['dom']))return 0x0;let _0x1ca261=_0xe44be1['width'];if(this['contentDOMWidth']==_0x1ca261&&this['editorHeight']==_0x4b37ca['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0xe44be1['width'],this['editorHeight']=_0x4b37ca['scrollDOM']['clientHeight'],_0x1ff7eb|=0x10),_0xaccb09){let _0x91bd50=_0x4b37ca['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x4e3761['mustRefreshForHeights'](_0x91bd50)&&(_0x2d5586=!0x0),_0x2d5586||_0x4e3761['lineWrapping']&&Math['abs'](_0x1ca261-this['contentDOMWidth'])>_0x4e3761['charWidth']){let {lineHeight:_0x22cc5e,charWidth:_0x31a07b,textHeight:_0x4b7854}=_0x4b37ca['docView']['measureTextSize']();_0x2d5586=_0x22cc5e>0x0&&_0x4e3761['refresh'](_0x1b3a21,_0x22cc5e,_0x31a07b,_0x4b7854,Math['max'](0x5,_0x1ca261/_0x31a07b),_0x91bd50),_0x2d5586&&(_0x4b37ca['docView']['minWidth']=0x0,_0x1ff7eb|=0x10);}_0x296ff3>0x0&&_0x450d6e>0x0?_0x57e9b8=Math['max'](_0x296ff3,_0x450d6e):_0x296ff3<0x0&&_0x450d6e<0x0&&(_0x57e9b8=Math['min'](_0x296ff3,_0x450d6e)),cI();for(let _0x4229d1 of this['viewports']){let _0x25b2f3=_0x4229d1['from']==this['viewport']['from']?_0x91bd50:_0x4b37ca['docView']['measureVisibleLineHeights'](_0x4229d1);this['heightMap']=(_0x2d5586?HeightMap['empty']()['applyChanges'](this['stateDeco'],o_['empty'],this['heightOracle'],[new ChangedRange(0x0,0x0,0x0,_0x4b37ca['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x4e3761,0x0,_0x2d5586,new MeasuredHeights(_0x4229d1['from'],_0x25b2f3));}aI&&(_0x1ff7eb|=0x2);}let _0x34d6b5=!this['viewportIsAppropriate'](this['viewport'],_0x57e9b8)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x34d6b5&&(0x2&_0x1ff7eb&&(_0x1ff7eb|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x57e9b8,this['scrollTarget']),_0x1ff7eb|=this['updateForViewport']()),(0x2&_0x1ff7eb||_0x34d6b5)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x2d5586?[]:this['lineGaps'],_0x4b37ca)),_0x1ff7eb|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x4b37ca['docView']['enforceCursorAssoc']()),_0x1ff7eb;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x57aae,_0x37f811){let _0x3a1f76=0.5-Math['max'](-0.5,Math['min'](0.5,_0x57aae/0x3e8/0x2)),_0x8d871=this['heightMap'],_0x47c48a=this['heightOracle'],{visibleTop:_0x2ee385,visibleBottom:_0x5ef2c8}=this,_0xf11daf=new Viewport(_0x8d871['lineAt'](_0x2ee385-0x3e8*_0x3a1f76,lI['ByHeight'],_0x47c48a,0x0,0x0)['from'],_0x8d871['lineAt'](_0x5ef2c8+0x3e8*(0x1-_0x3a1f76),lI['ByHeight'],_0x47c48a,0x0,0x0)['to']);if(_0x37f811){let {head:_0x105654}=_0x37f811['range'];if(_0x105654<_0xf11daf['from']||_0x105654>_0xf11daf['to']){let _0x52159a,_0x5a5dc7=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x41d872=_0x8d871['lineAt'](_0x105654,lI['ByPos'],_0x47c48a,0x0,0x0);_0x52159a='center'==_0x37f811['y']?(_0x41d872['top']+_0x41d872['bottom'])/0x2-_0x5a5dc7/0x2:'start'==_0x37f811['y']||'nearest'==_0x37f811['y']&&_0x105654<_0xf11daf['from']?_0x41d872['top']:_0x41d872['bottom']-_0x5a5dc7,_0xf11daf=new Viewport(_0x8d871['lineAt'](_0x52159a-0x1f4,lI['ByHeight'],_0x47c48a,0x0,0x0)['from'],_0x8d871['lineAt'](_0x52159a+_0x5a5dc7+0x1f4,lI['ByHeight'],_0x47c48a,0x0,0x0)['to']);}}return _0xf11daf;}['mapViewport'](_0x305ae7,_0x48f745){let _0x54d7c5=_0x48f745['mapPos'](_0x305ae7['from'],-0x1),_0x24690a=_0x48f745['mapPos'](_0x305ae7['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x54d7c5,lI['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x24690a,lI['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x19939a,to:_0x15107a},_0x9c70ef=0x0){if(!this['inView'])return!0x0;let {top:_0x45e09e}=this['heightMap']['lineAt'](_0x19939a,lI['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x465c84}=this['heightMap']['lineAt'](_0x15107a,lI['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x3438b5,visibleBottom:_0x1fff95}=this;return(0x0==_0x19939a||_0x45e09e<=_0x3438b5-Math['max'](0xa,Math['min'](-_0x9c70ef,0xfa)))&&(_0x15107a==this['state']['doc']['length']||_0x465c84>=_0x1fff95+Math['max'](0xa,Math['min'](_0x9c70ef,0xfa)))&&_0x45e09e>_0x3438b5-0x7d0&&_0x465c84<_0x1fff95+0x7d0;}['mapLineGaps'](_0x2e230b,_0x171b13){if(!_0x2e230b['length']||_0x171b13['empty'])return _0x2e230b;let _0x3f7425=[];for(let _0x29fbed of _0x2e230b)_0x171b13['touchesRange'](_0x29fbed['from'],_0x29fbed['to'])||_0x3f7425['push'](new LineGap(_0x171b13['mapPos'](_0x29fbed['from']),_0x171b13['mapPos'](_0x29fbed['to']),_0x29fbed['size'],_0x29fbed['displaySize']));return _0x3f7425;}['ensureLineGaps'](_0x5f36d2,_0x26e5e5){let _0x4433b9=this['heightOracle']['lineWrapping'],_0x399b53=_0x4433b9?0x2710:0x7d0,_0x122f8f=_0x399b53>>0x1,_0x33b3e0=_0x399b53<<0x1;if(this['defaultTextDirection']!=wT['LTR']&&!_0x4433b9)return[];let _0x245235=[],_0x3556fa=(_0x2afdba,_0x29656d,_0x133fc3,_0x987d4e)=>{if(_0x29656d-_0x2afdba<_0x122f8f)return;let _0x1920f0=this['state']['selection']['main'],_0x44ebb2=[_0x1920f0['from']];_0x1920f0['empty']||_0x44ebb2['push'](_0x1920f0['to']);for(let _0x1efb66 of _0x44ebb2)if(_0x1efb66>_0x2afdba&&_0x1efb66<_0x29656d)return _0x3556fa(_0x2afdba,_0x1efb66-0xa,_0x133fc3,_0x987d4e),void _0x3556fa(_0x1efb66+0xa,_0x29656d,_0x133fc3,_0x987d4e);let _0x4f61b9=function(_0x3443c9,_0x275fc3){for(let _0x526325 of _0x3443c9)if(_0x275fc3(_0x526325))return _0x526325;return;}(_0x5f36d2,_0x5b3611=>_0x5b3611['from']>=_0x133fc3['from']&&_0x5b3611['to']<=_0x133fc3['to']&&Math['abs'](_0x5b3611['from']-_0x2afdba)<_0x122f8f&&Math['abs'](_0x5b3611['to']-_0x29656d)<_0x122f8f&&!_0x44ebb2['some'](_0x21c139=>_0x5b3611['from']<_0x21c139&&_0x5b3611['to']>_0x21c139));if(!_0x4f61b9){if(_0x29656d<_0x133fc3['to']&&_0x26e5e5&&_0x4433b9&&_0x26e5e5['visibleRanges']['some'](_0x39bfcc=>_0x39bfcc['from']<=_0x29656d&&_0x39bfcc['to']>=_0x29656d)){let _0x2b609b=_0x26e5e5['moveToLineBoundary'](EditorSelection['cursor'](_0x29656d),!0x1,!0x0)['head'];_0x2b609b>_0x2afdba&&(_0x29656d=_0x2b609b);}let _0x2b3218=this['gapSize'](_0x133fc3,_0x2afdba,_0x29656d,_0x987d4e);_0x4f61b9=new LineGap(_0x2afdba,_0x29656d,_0x2b3218,_0x4433b9||_0x2b3218<0x1e8480?_0x2b3218:0x1e8480);}_0x245235['push'](_0x4f61b9);},_0x224d9b=_0x24c20a=>{if(_0x24c20a['length']<_0x33b3e0||_0x24c20a['type']!=mT['Text'])return;let _0x469e7e=function(_0x354bbb,_0x2b42d5,_0x35b3a3){let _0x2397dd=[],_0x3dbf79=_0x354bbb,_0x9a3b31=0x0;return RangeSet['spans'](_0x35b3a3,_0x354bbb,_0x2b42d5,{'span'(){},'point'(_0x5df490,_0xc601e6){_0x5df490>_0x3dbf79&&(_0x2397dd['push']({'from':_0x3dbf79,'to':_0x5df490}),_0x9a3b31+=_0x5df490-_0x3dbf79),_0x3dbf79=_0xc601e6;}},0x14),_0x3dbf79<_0x2b42d5&&(_0x2397dd['push']({'from':_0x3dbf79,'to':_0x2b42d5}),_0x9a3b31+=_0x2b42d5-_0x3dbf79),{'total':_0x9a3b31,'ranges':_0x2397dd};}(_0x24c20a['from'],_0x24c20a['to'],this['stateDeco']);if(_0x469e7e['total']<_0x33b3e0)return;let _0x2fb619,_0x5930a2,_0x1cf281=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x4433b9){let _0x8cd504,_0x4c58bf,_0x331fb8=_0x399b53/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x1cf281){let _0x3903ae=pI(_0x469e7e,_0x1cf281),_0x40acd5=((this['visibleBottom']-this['visibleTop'])/0x2+_0x331fb8)/_0x24c20a['height'];_0x8cd504=_0x3903ae-_0x40acd5,_0x4c58bf=_0x3903ae+_0x40acd5;}else _0x8cd504=(this['visibleTop']-_0x24c20a['top']-_0x331fb8)/_0x24c20a['height'],_0x4c58bf=(this['visibleBottom']-_0x24c20a['top']+_0x331fb8)/_0x24c20a['height'];_0x2fb619=gI(_0x469e7e,_0x8cd504),_0x5930a2=gI(_0x469e7e,_0x4c58bf);}else{let _0x1ad7e9=_0x469e7e['total']*this['heightOracle']['charWidth'],_0x32cfcc=_0x399b53*this['heightOracle']['charWidth'],_0x2dc336=0x0;if(_0x1ad7e9>0x1e8480){for(let _0x29d24 of _0x5f36d2)_0x29d24['from']>=_0x24c20a['from']&&_0x29d24['from']<_0x24c20a['to']&&_0x29d24['size']!=_0x29d24['displaySize']&&_0x29d24['from']*this['heightOracle']['charWidth']+_0x2dc336<this['pixelViewport']['left']&&(_0x2dc336=_0x29d24['size']-_0x29d24['displaySize']);}let _0x1d5dfd,_0x100c7a,_0x5b50a6=this['pixelViewport']['left']+_0x2dc336,_0x127f67=this['pixelViewport']['right']+_0x2dc336;if(null!=_0x1cf281){let _0x4952f1=pI(_0x469e7e,_0x1cf281),_0x3407fe=((_0x127f67-_0x5b50a6)/0x2+_0x32cfcc)/_0x1ad7e9;_0x1d5dfd=_0x4952f1-_0x3407fe,_0x100c7a=_0x4952f1+_0x3407fe;}else _0x1d5dfd=(_0x5b50a6-_0x32cfcc)/_0x1ad7e9,_0x100c7a=(_0x127f67+_0x32cfcc)/_0x1ad7e9;_0x2fb619=gI(_0x469e7e,_0x1d5dfd),_0x5930a2=gI(_0x469e7e,_0x100c7a);}_0x2fb619>_0x24c20a['from']&&_0x3556fa(_0x24c20a['from'],_0x2fb619,_0x24c20a,_0x469e7e),_0x5930a2<_0x24c20a['to']&&_0x3556fa(_0x5930a2,_0x24c20a['to'],_0x24c20a,_0x469e7e);};for(let _0x2ebf18 of this['viewportLines'])Array['isArray'](_0x2ebf18['type'])?_0x2ebf18['type']['forEach'](_0x224d9b):_0x224d9b(_0x2ebf18);return _0x245235;}['gapSize'](_0x4e838b,_0x56b04f,_0x19becf,_0x21df4c){let _0x1e4e16=pI(_0x21df4c,_0x19becf)-pI(_0x21df4c,_0x56b04f);return this['heightOracle']['lineWrapping']?_0x4e838b['height']*_0x1e4e16:_0x21df4c['total']*this['heightOracle']['charWidth']*_0x1e4e16;}['updateLineGaps'](_0x43cc50){LineGap['same'](_0x43cc50,this['lineGaps'])||(this['lineGaps']=_0x43cc50,this['lineGapDeco']=Decoration['set'](_0x43cc50['map'](_0x2ea3d4=>_0x2ea3d4['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x3805e6){let _0x294905=this['stateDeco'];this['lineGaps']['length']&&(_0x294905=_0x294905['concat'](this['lineGapDeco']));let _0x44e105=[];RangeSet['spans'](_0x294905,this['viewport']['from'],this['viewport']['to'],{'span'(_0x1a5455,_0x46d19d){_0x44e105['push']({'from':_0x1a5455,'to':_0x46d19d});},'point'(){}},0x14);let _0x10cf83=0x0;if(_0x44e105['length']!=this['visibleRanges']['length'])_0x10cf83=0xc;else for(let _0x2b5b6c=0x0;_0x2b5b6c<_0x44e105['length']&&!(0x8&_0x10cf83);_0x2b5b6c++){let _0x1142dc=this['visibleRanges'][_0x2b5b6c],_0xfadbbf=_0x44e105[_0x2b5b6c];_0x1142dc['from']==_0xfadbbf['from']&&_0x1142dc['to']==_0xfadbbf['to']||(_0x10cf83|=0x4,_0x3805e6&&_0x3805e6['mapPos'](_0x1142dc['from'],-0x1)==_0xfadbbf['from']&&_0x3805e6['mapPos'](_0x1142dc['to'],0x1)==_0xfadbbf['to']||(_0x10cf83|=0x8));}return this['visibleRanges']=_0x44e105,_0x10cf83;}['lineBlockAt'](_0x4be2e9){return _0x4be2e9>=this['viewport']['from']&&_0x4be2e9<=this['viewport']['to']&&this['viewportLines']['find'](_0x700a2d=>_0x700a2d['from']<=_0x4be2e9&&_0x700a2d['to']>=_0x4be2e9)||wI(this['heightMap']['lineAt'](_0x4be2e9,lI['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x4c02e2){return _0x4c02e2>=this['viewportLines'][0x0]['top']&&_0x4c02e2<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x412d78=>_0x412d78['top']<=_0x4c02e2&&_0x412d78['bottom']>=_0x4c02e2)||wI(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x4c02e2),lI['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x4562dd){let _0x4b6f5f=this['lineBlockAtHeight'](_0x4562dd+0x8);return _0x4b6f5f['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x4562dd>0xc8?_0x4b6f5f:this['viewportLines'][0x0];}['elementAtHeight'](_0x31a02){return wI(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x31a02),this['heightOracle'],0x0,0x0),this['scaler']);}get['docHeight'](){return this['scaler']['toDOM'](this['heightMap']['height']);}get['contentHeight'](){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}}class Viewport{constructor(_0x43a67e,_0x46d222){this['from']=_0x43a67e,this['to']=_0x46d222;}}function gI({total:_0x4720eb,ranges:_0x395b79},_0x1dfab3){if(_0x1dfab3<=0x0)return _0x395b79[0x0]['from'];if(_0x1dfab3>=0x1)return _0x395b79[_0x395b79['length']-0x1]['to'];let _0x18b713=Math['floor'](_0x4720eb*_0x1dfab3);for(let _0x46fb1b=0x0;;_0x46fb1b++){let {from:_0x563a48,to:_0x1c0077}=_0x395b79[_0x46fb1b],_0x47485c=_0x1c0077-_0x563a48;if(_0x18b713<=_0x47485c)return _0x563a48+_0x18b713;_0x18b713-=_0x47485c;}}function pI(_0x19c184,_0x25cb30){let _0x2b14a8=0x0;for(let {from:_0x27b984,to:_0xf3c3d9}of _0x19c184['ranges']){if(_0x25cb30<=_0xf3c3d9){_0x2b14a8+=_0x25cb30-_0x27b984;break;}_0x2b14a8+=_0xf3c3d9-_0x27b984;}return _0x2b14a8/_0x19c184['total'];}const OI={'toDOM':_0x194630=>_0x194630,'fromDOM':_0x1e8c2c=>_0x1e8c2c,'scale':0x1,'eq'(_0x1a90c9){return _0x1a90c9==this;}};class BigScaler{constructor(_0x16c53a,_0x3d2daa,_0x4f7aac){let _0x545c9e=0x0,_0x13163e=0x0,_0x530437=0x0;this['viewports']=_0x4f7aac['map'](({from:_0x5bc53b,to:_0x5a4b5a})=>{let _0x433aa3=_0x3d2daa['lineAt'](_0x5bc53b,lI['ByPos'],_0x16c53a,0x0,0x0)['top'],_0x3d63ca=_0x3d2daa['lineAt'](_0x5a4b5a,lI['ByPos'],_0x16c53a,0x0,0x0)['bottom'];return _0x545c9e+=_0x3d63ca-_0x433aa3,{'from':_0x5bc53b,'to':_0x5a4b5a,'top':_0x433aa3,'bottom':_0x3d63ca,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x545c9e)/(_0x3d2daa['height']-_0x545c9e);for(let _0x5c0169 of this['viewports'])_0x5c0169['domTop']=_0x530437+(_0x5c0169['top']-_0x13163e)*this['scale'],_0x530437=_0x5c0169['domBottom']=_0x5c0169['domTop']+(_0x5c0169['bottom']-_0x5c0169['top']),_0x13163e=_0x5c0169['bottom'];}['toDOM'](_0x1b81a1){for(let _0x10ec8b=0x0,_0x5ff289=0x0,_0xcf442f=0x0;;_0x10ec8b++){let _0x3503de=_0x10ec8b<this['viewports']['length']?this['viewports'][_0x10ec8b]:null;if(!_0x3503de||_0x1b81a1<_0x3503de['top'])return _0xcf442f+(_0x1b81a1-_0x5ff289)*this['scale'];if(_0x1b81a1<=_0x3503de['bottom'])return _0x3503de['domTop']+(_0x1b81a1-_0x3503de['top']);_0x5ff289=_0x3503de['bottom'],_0xcf442f=_0x3503de['domBottom'];}}['fromDOM'](_0x170d0b){for(let _0x6086e4=0x0,_0x4152ed=0x0,_0x5ec0d9=0x0;;_0x6086e4++){let _0xba5279=_0x6086e4<this['viewports']['length']?this['viewports'][_0x6086e4]:null;if(!_0xba5279||_0x170d0b<_0xba5279['domTop'])return _0x4152ed+(_0x170d0b-_0x5ec0d9)/this['scale'];if(_0x170d0b<=_0xba5279['domBottom'])return _0xba5279['top']+(_0x170d0b-_0xba5279['domTop']);_0x4152ed=_0xba5279['bottom'],_0x5ec0d9=_0xba5279['domBottom'];}}['eq'](_0x47da8a){return _0x47da8a instanceof BigScaler&&(this['scale']==_0x47da8a['scale']&&this['viewports']['length']==_0x47da8a['viewports']['length']&&this['viewports']['every']((_0x5df9aa,_0x313ae4)=>_0x5df9aa['from']==_0x47da8a['viewports'][_0x313ae4]['from']&&_0x5df9aa['to']==_0x47da8a['viewports'][_0x313ae4]['to']));}}function wI(_0x1db023,_0x125478){if(0x1==_0x125478['scale'])return _0x1db023;let _0x28e17a=_0x125478['toDOM'](_0x1db023['top']),_0x51ffa2=_0x125478['toDOM'](_0x1db023['bottom']);return new BlockInfo(_0x1db023['from'],_0x1db023['length'],_0x28e17a,_0x51ffa2-_0x28e17a,Array['isArray'](_0x1db023['_content'])?_0x1db023['_content']['map'](_0x3201bf=>wI(_0x3201bf,_0x125478)):_0x1db023['_content']);}const bI=Facet['define']({'combine':_0x4ade0c=>_0x4ade0c['join']('\x20')}),yI=Facet['define']({'combine':_0x5f1948=>_0x5f1948['indexOf'](!0x0)>-0x1}),vI=StyleModule['newName'](),_I=StyleModule['newName'](),EI=StyleModule['newName'](),TI={'&light':'.'+_I,'&dark':'.'+EI};function AI(_0x58bad2,_0x457b70,_0x30cee7){return new StyleModule(_0x457b70,{'finish':_0x386613=>/&/['test'](_0x386613)?_0x386613['replace'](/&\w*/,_0x326d5e=>{if('&'==_0x326d5e)return _0x58bad2;if(!_0x30cee7||!_0x30cee7[_0x326d5e])throw new RangeError('Unsupported\x20selector:\x20'+_0x326d5e);return _0x30cee7[_0x326d5e];}):_0x58bad2+'\x20'+_0x386613});}const II=AI('.'+vI,{'&':{'position':'relative\x20!important','boxSizing':'border-box','&.cm-focused':{'outline':'1px\x20dotted\x20#212121'},'display':'flex\x20!important','flexDirection':'column'},'.cm-scroller':{'display':'flex\x20!important','alignItems':'flex-start\x20!important','fontFamily':'monospace','lineHeight':1.4,'height':'100%','overflowX':'auto','position':'relative','zIndex':0x0,'overflowAnchor':'none'},'.cm-content':{'margin':0x0,'flexGrow':0x2,'flexShrink':0x0,'display':'block','whiteSpace':'pre','wordWrap':'normal','boxSizing':'border-box','minHeight':'100%','padding':'4px\x200','outline':'none','&[contenteditable=true]':{'WebkitUserModify':'read-write-plaintext-only'}},'.cm-lineWrapping':{'whiteSpace_fallback':'pre-wrap','whiteSpace':'break-spaces','wordBreak':'break-word','overflowWrap':'anywhere','flexShrink':0x1},'&light\x20.cm-content':{'caretColor':'black'},'&dark\x20.cm-content':{'caretColor':'white'},'.cm-line':{'display':'block','padding':'0\x202px\x200\x206px'},'.cm-layer':{'position':'absolute','left':0x0,'top':0x0,'contain':'size\x20style','&\x20>\x20*':{'position':'absolute'}},'&light\x20.cm-selectionBackground':{'background':'#d9d9d9'},'&dark\x20.cm-selectionBackground':{'background':'#222'},'&light.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#d7d4f0'},'&dark.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground':{'background':'#233'},'.cm-cursorLayer':{'pointerEvents':'none'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer':{'animation':'steps(1)\x20cm-blink\x201.2s\x20infinite'},'@keyframes\x20cm-blink':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'@keyframes\x20cm-blink2':{'0%':{},'50%':{'opacity':0x0},'100%':{}},'.cm-cursor,\x20.cm-dropCursor':{'borderLeft':'1.2px\x20solid\x20black','marginLeft':'-0.6px','pointerEvents':'none'},'.cm-cursor':{'display':'none'},'&dark\x20.cm-cursor':{'borderLeftColor':'#ddd'},'.cm-dropCursor':{'position':'absolute'},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-cursorLayer\x20.cm-cursor':{'display':'block'},'.cm-iso':{'unicodeBidi':'isolate'},'.cm-announced':{'position':'fixed','top':'-10000px'},'@media\x20print':{'.cm-announced':{'display':'none'}},'&light\x20.cm-activeLine':{'backgroundColor':'#cceeff44'},'&dark\x20.cm-activeLine':{'backgroundColor':'#99eeff33'},'&light\x20.cm-specialChar':{'color':'red'},'&dark\x20.cm-specialChar':{'color':'#f78'},'.cm-gutters':{'flexShrink':0x0,'display':'flex','height':'100%','boxSizing':'border-box','zIndex':0xc8},'.cm-gutters-before':{'insetInlineStart':0x0},'.cm-gutters-after':{'insetInlineEnd':0x0},'&light\x20.cm-gutters':{'backgroundColor':'#f5f5f5','color':'#6c6c6c','border':'0px\x20solid\x20#ddd','&.cm-gutters-before':{'borderRightWidth':'1px'},'&.cm-gutters-after':{'borderLeftWidth':'1px'}},'&dark\x20.cm-gutters':{'backgroundColor':'#333338','color':'#ccc'},'.cm-gutter':{'display':'flex\x20!important','flexDirection':'column','flexShrink':0x0,'boxSizing':'border-box','minHeight':'100%','overflow':'hidden'},'.cm-gutterElement':{'boxSizing':'border-box'},'.cm-lineNumbers\x20.cm-gutterElement':{'padding':'0\x203px\x200\x205px','minWidth':'20px','textAlign':'right','whiteSpace':'nowrap'},'&light\x20.cm-activeLineGutter':{'backgroundColor':'#e2f2ff'},'&dark\x20.cm-activeLineGutter':{'backgroundColor':'#222227'},'.cm-panels':{'boxSizing':'border-box','position':'sticky','left':0x0,'right':0x0,'zIndex':0x12c},'&light\x20.cm-panels':{'backgroundColor':'#f5f5f5','color':'black'},'&light\x20.cm-panels-top':{'borderBottom':'1px\x20solid\x20#ddd'},'&light\x20.cm-panels-bottom':{'borderTop':'1px\x20solid\x20#ddd'},'&dark\x20.cm-panels':{'backgroundColor':'#333338','color':'white'},'.cm-dialog':{'padding':'2px\x2019px\x204px\x206px','position':'relative','&\x20label':{'fontSize':'80%'}},'.cm-dialog-close':{'position':'absolute','top':'3px','right':'4px','backgroundColor':'inherit','border':'none','font':'inherit','fontSize':'14px','padding':'0'},'.cm-tab':{'display':'inline-block','overflow':'hidden','verticalAlign':'bottom'},'.cm-widgetBuffer':{'verticalAlign':'text-top','height':'1em','width':0x0,'display':'inline'},'.cm-placeholder':{'color':'#888','display':'inline-block','verticalAlign':'top','userSelect':'none'},'.cm-highlightSpace':{'backgroundImage':'radial-gradient(circle\x20at\x2050%\x2055%,\x20#aaa\x2020%,\x20transparent\x205%)','backgroundPosition':'center'},'.cm-highlightTab':{'backgroundImage':'url(\x27data:image/svg+xml,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x22200\x22\x20height=\x2220\x22><path\x20stroke=\x22%23888\x22\x20stroke-width=\x221\x22\x20fill=\x22none\x22\x20d=\x22M1\x2010H196L190\x205M190\x2015L196\x2010M197\x204L197\x2016\x22/></svg>\x27)','backgroundSize':'auto\x20100%','backgroundPosition':'right\x2090%','backgroundRepeat':'no-repeat'},'.cm-trailingSpace':{'backgroundColor':'#ff332255'},'.cm-button':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','padding':'.2em\x201em','borderRadius':'1px'},'&light\x20.cm-button':{'backgroundImage':'linear-gradient(#eff1f5,\x20#d9d9df)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#b4b4b4,\x20#d0d3d6)'}},'&dark\x20.cm-button':{'backgroundImage':'linear-gradient(#393939,\x20#111)','border':'1px\x20solid\x20#888','&:active':{'backgroundImage':'linear-gradient(#111,\x20#333)'}},'.cm-textfield':{'verticalAlign':'middle','color':'inherit','fontSize':'70%','border':'1px\x20solid\x20silver','padding':'.2em\x20.5em'},'&light\x20.cm-textfield':{'backgroundColor':'white'},'&dark\x20.cm-textfield':{'border':'1px\x20solid\x20#555','backgroundColor':'inherit'}},TI),SI={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},CI=ME['ie']&&ME['ie_version']<=0xb;class DOMObserver{constructor(_0x5ab57a){this['view']=_0x5ab57a,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new DOMSelectionState(),this['selectionChanged']=!0x1,this['delayedFlush']=-0x1,this['resizeTimeout']=-0x1,this['queue']=[],this['delayedAndroidKey']=null,this['flushingAndroidKey']=-0x1,this['lastChange']=0x0,this['scrollTargets']=[],this['intersection']=null,this['resizeScroll']=null,this['intersecting']=!0x1,this['gapIntersection']=null,this['gaps']=[],this['printQuery']=null,this['parentCheck']=-0x1,this['dom']=_0x5ab57a['contentDOM'],this['observer']=new MutationObserver(_0x21286d=>{for(let _0x2a4997 of _0x21286d)this['queue']['push'](_0x2a4997);(ME['ie']&&ME['ie_version']<=0xb||ME['ios']&&_0x5ab57a['composing'])&&_0x21286d['some'](_0x225c38=>'childList'==_0x225c38['type']&&_0x225c38['removedNodes']['length']||'characterData'==_0x225c38['type']&&_0x225c38['oldValue']['length']>_0x225c38['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!ME['android']||!0x1===_0x5ab57a['constructor']['EDIT_CONTEXT']||ME['chrome']&&ME['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0x5ab57a),_0x5ab57a['state']['facet'](KT)&&(_0x5ab57a['contentDOM']['editContext']=this['editContext']['editContext'])),CI&&(this['onCharData']=_0x1c8827=>{this['queue']['push']({'target':_0x1c8827['target'],'type':'characterData','oldValue':_0x1c8827['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 _0x5149ca;(null===(_0x5149ca=this['view']['docView'])||void 0x0===_0x5149ca?void 0x0:_0x5149ca['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x5ab57a['scrollDOM'])),this['addWindowListeners'](this['win']=_0x5ab57a['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x10a25a=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x10a25a['length']>0x0&&_0x10a25a[_0x10a25a['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(_0x562822=>{_0x562822['length']>0x0&&_0x562822[_0x562822['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x52b487){this['view']['inputState']['runHandlers']('scroll',_0x52b487),this['intersecting']&&this['view']['measure']();}['onScroll'](_0xd13cd3){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0xd13cd3);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x2341a9){('change'!=_0x2341a9['type']&&_0x2341a9['type']||_0x2341a9['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x48aa3d){if(this['gapIntersection']&&(_0x48aa3d['length']!=this['gaps']['length']||this['gaps']['some']((_0x534b67,_0x48d501)=>_0x534b67!=_0x48aa3d[_0x48d501]))){this['gapIntersection']['disconnect']();for(let _0x5e70b6 of _0x48aa3d)this['gapIntersection']['observe'](_0x5e70b6);this['gaps']=_0x48aa3d;}}['onSelectionChange'](_0x5415b7){let _0x3bd518=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x196d7c}=this,_0x5cc9ce=this['selectionRange'];if(_0x196d7c['state']['facet'](KT)?_0x196d7c['root']['activeElement']!=this['dom']:!$E(this['dom'],_0x5cc9ce))return;let _0x5304fe=_0x5cc9ce['anchorNode']&&_0x196d7c['docView']['nearest'](_0x5cc9ce['anchorNode']);_0x5304fe&&_0x5304fe['ignoreEvent'](_0x5415b7)?_0x3bd518||(this['selectionChanged']=!0x1):(ME['ie']&&ME['ie_version']<=0xb||ME['android']&&ME['chrome'])&&!_0x196d7c['state']['selection']['main']['empty']&&_0x5cc9ce['focusNode']&&QE(_0x5cc9ce['focusNode'],_0x5cc9ce['focusOffset'],_0x5cc9ce['anchorNode'],_0x5cc9ce['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x159f7f}=this,_0x474df8=NE(_0x159f7f['root']);if(!_0x474df8)return!0x1;let _0x4047ef=ME['safari']&&0xb==_0x159f7f['root']['nodeType']&&_0x159f7f['root']['activeElement']==this['dom']&&function(_0x38aa6d,_0xbd1129){if(_0xbd1129['getComposedRanges']){let _0x1544be=_0xbd1129['getComposedRanges'](_0x38aa6d['root'])[0x0];if(_0x1544be)return xI(_0x38aa6d,_0x1544be);}let _0x5a890a=null;function _0x2e9f13(_0x5aeaf3){_0x5aeaf3['preventDefault'](),_0x5aeaf3['stopImmediatePropagation'](),_0x5a890a=_0x5aeaf3['getTargetRanges']()[0x0];}return _0x38aa6d['contentDOM']['addEventListener']('beforeinput',_0x2e9f13,!0x0),_0x38aa6d['dom']['ownerDocument']['execCommand']('indent'),_0x38aa6d['contentDOM']['removeEventListener']('beforeinput',_0x2e9f13,!0x0),_0x5a890a?xI(_0x38aa6d,_0x5a890a):null;}(this['view'],_0x474df8)||_0x474df8;if(!_0x4047ef||this['selectionRange']['eq'](_0x4047ef))return!0x1;let _0x462bc4=$E(this['dom'],_0x4047ef);return _0x462bc4&&!this['selectionChanged']&&_0x159f7f['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x159f7f['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0x152fab,_0x5880f9){let _0xe95bac=_0x5880f9['focusNode'],_0x220781=_0x5880f9['focusOffset'];if(!_0xe95bac||_0x5880f9['anchorNode']!=_0xe95bac||_0x5880f9['anchorOffset']!=_0x220781)return!0x1;for(_0x220781=Math['min'](_0x220781,FE(_0xe95bac));;)if(_0x220781){if(0x1!=_0xe95bac['nodeType'])return!0x1;let _0x15ca68=_0xe95bac['childNodes'][_0x220781-0x1];'false'==_0x15ca68['contentEditable']?_0x220781--:(_0xe95bac=_0x15ca68,_0x220781=FE(_0xe95bac));}else{if(_0xe95bac==_0x152fab)return!0x0;_0x220781=VE(_0xe95bac),_0xe95bac=_0xe95bac['parentNode'];}}(this['dom'],_0x4047ef)?(this['view']['inputState']['lastFocusTime']=0x0,_0x159f7f['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x4047ef),_0x462bc4&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x341589,_0x4d895b){this['selectionRange']['set'](_0x341589['node'],_0x341589['offset'],_0x4d895b['node'],_0x4d895b['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x5c7d90=0x0,_0x5a8222=null;for(let _0x57fe28=this['dom'];_0x57fe28;)if(0x1==_0x57fe28['nodeType'])!_0x5a8222&&_0x5c7d90<this['scrollTargets']['length']&&this['scrollTargets'][_0x5c7d90]==_0x57fe28?_0x5c7d90++:_0x5a8222||(_0x5a8222=this['scrollTargets']['slice'](0x0,_0x5c7d90)),_0x5a8222&&_0x5a8222['push'](_0x57fe28),_0x57fe28=_0x57fe28['assignedSlot']||_0x57fe28['parentNode'];else{if(0xb!=_0x57fe28['nodeType'])break;_0x57fe28=_0x57fe28['host'];}if(_0x5c7d90<this['scrollTargets']['length']&&!_0x5a8222&&(_0x5a8222=this['scrollTargets']['slice'](0x0,_0x5c7d90)),_0x5a8222){for(let _0x49d533 of this['scrollTargets'])_0x49d533['removeEventListener']('scroll',this['onScroll']);for(let _0xcf2bc1 of this['scrollTargets']=_0x5a8222)_0xcf2bc1['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x4f0eb7){if(!this['active'])return _0x4f0eb7();try{return this['stop'](),_0x4f0eb7();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],SI),CI&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),CI&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x5641b6,_0x1251c3){var _0x41c8d8;if(!this['delayedAndroidKey']){let _0x102afb=()=>{let _0x513a48=this['delayedAndroidKey'];_0x513a48&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x513a48['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x513a48['force']&&zE(this['dom'],_0x513a48['key'],_0x513a48['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x102afb);}this['delayedAndroidKey']&&'Enter'!=_0x5641b6||(this['delayedAndroidKey']={'key':_0x5641b6,'keyCode':_0x1251c3,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x41c8d8=this['delayedAndroidKey'])||void 0x0===_0x41c8d8?void 0x0:_0x41c8d8['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 _0x55456c of this['observer']['takeRecords']())this['queue']['push'](_0x55456c);return this['queue'];}['processRecords'](){let _0x27220c=this['pendingRecords']();_0x27220c['length']&&(this['queue']=[]);let _0x26593e=-0x1,_0x2de136=-0x1,_0x36e720=!0x1;for(let _0x154a73 of _0x27220c){let _0x198177=this['readMutation'](_0x154a73);_0x198177&&(_0x198177['typeOver']&&(_0x36e720=!0x0),-0x1==_0x26593e?{from:_0x26593e,to:_0x2de136}=_0x198177:(_0x26593e=Math['min'](_0x198177['from'],_0x26593e),_0x2de136=Math['max'](_0x198177['to'],_0x2de136)));}return{'from':_0x26593e,'to':_0x2de136,'typeOver':_0x36e720};}['readChange'](){let {from:_0x13835f,to:_0x1273ce,typeOver:_0x11ac7d}=this['processRecords'](),_0x32c7d0=this['selectionChanged']&&$E(this['dom'],this['selectionRange']);if(_0x13835f<0x0&&!_0x32c7d0)return null;_0x13835f>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x48224f=new DOMChange(this['view'],_0x13835f,_0x1273ce,_0x11ac7d);return this['view']['docView']['domChanged']={'newSel':_0x48224f['newSel']?_0x48224f['newSel']['main']:null},_0x48224f;}['flush'](_0x1767c2=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x1767c2&&this['readSelectionRange']();let _0xfc14c9=this['readChange']();if(!_0xfc14c9)return this['view']['requestMeasure'](),!0x1;let _0x3e50d2=this['view']['state'],_0x4f43bb=RA(this['view'],_0xfc14c9);return this['view']['state']==_0x3e50d2&&(_0xfc14c9['domChanged']||_0xfc14c9['newSel']&&!_0xfc14c9['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x4f43bb;}['readMutation'](_0x27125d){let _0x1e9161=this['view']['docView']['nearest'](_0x27125d['target']);if(!_0x1e9161||_0x1e9161['ignoreMutation'](_0x27125d))return null;if(_0x1e9161['markDirty']('attributes'==_0x27125d['type']),'attributes'==_0x27125d['type']&&(_0x1e9161['flags']|=0x4),'childList'==_0x27125d['type']){let _0x2b3e68=kI(_0x1e9161,_0x27125d['previousSibling']||_0x27125d['target']['previousSibling'],-0x1),_0x100b3b=kI(_0x1e9161,_0x27125d['nextSibling']||_0x27125d['target']['nextSibling'],0x1);return{'from':_0x2b3e68?_0x1e9161['posAfter'](_0x2b3e68):_0x1e9161['posAtStart'],'to':_0x100b3b?_0x1e9161['posBefore'](_0x100b3b):_0x1e9161['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x27125d['type']?{'from':_0x1e9161['posAtStart'],'to':_0x1e9161['posAtEnd'],'typeOver':_0x27125d['target']['nodeValue']==_0x27125d['oldValue']}:null;}['setWindow'](_0x4ef2c5){_0x4ef2c5!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x4ef2c5,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x354686){_0x354686['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x354686['addEventListener']('beforeprint',this['onPrint']),_0x354686['addEventListener']('scroll',this['onScroll']),_0x354686['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x48a9de){_0x48a9de['removeEventListener']('scroll',this['onScroll']),_0x48a9de['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x48a9de['removeEventListener']('beforeprint',this['onPrint']),_0x48a9de['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x3ad1f8){this['editContext']&&(this['editContext']['update'](_0x3ad1f8),_0x3ad1f8['startState']['facet'](KT)!=_0x3ad1f8['state']['facet'](KT)&&(_0x3ad1f8['view']['contentDOM']['editContext']=_0x3ad1f8['state']['facet'](KT)?this['editContext']['editContext']:null));}['destroy'](){var _0x5dbb11,_0x26ab3d,_0x485eb4;this['stop'](),null===(_0x5dbb11=this['intersection'])||void 0x0===_0x5dbb11||_0x5dbb11['disconnect'](),null===(_0x26ab3d=this['gapIntersection'])||void 0x0===_0x26ab3d||_0x26ab3d['disconnect'](),null===(_0x485eb4=this['resizeScroll'])||void 0x0===_0x485eb4||_0x485eb4['disconnect']();for(let _0x480302 of this['scrollTargets'])_0x480302['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 kI(_0x7966fb,_0x6358a1,_0xe8ae4){for(;_0x6358a1;){let _0x563d37=ContentView['get'](_0x6358a1);if(_0x563d37&&_0x563d37['parent']==_0x7966fb)return _0x563d37;let _0xc42616=_0x6358a1['parentNode'];_0x6358a1=_0xc42616!=_0x7966fb['dom']?_0xc42616:_0xe8ae4>0x0?_0x6358a1['nextSibling']:_0x6358a1['previousSibling'];}return null;}function xI(_0x4549e6,_0x18281f){let _0x4cf920=_0x18281f['startContainer'],_0x5e0fcf=_0x18281f['startOffset'],_0x43cd0d=_0x18281f['endContainer'],_0xa506d7=_0x18281f['endOffset'],_0x57ec4d=_0x4549e6['docView']['domAtPos'](_0x4549e6['state']['selection']['main']['anchor']);return QE(_0x57ec4d['node'],_0x57ec4d['offset'],_0x43cd0d,_0xa506d7)&&([_0x4cf920,_0x5e0fcf,_0x43cd0d,_0xa506d7]=[_0x43cd0d,_0xa506d7,_0x4cf920,_0x5e0fcf]),{'anchorNode':_0x4cf920,'anchorOffset':_0x5e0fcf,'focusNode':_0x43cd0d,'focusOffset':_0xa506d7};}class EditContextManager{constructor(_0x461bea){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x461bea['state']);let _0x1ba655=this['editContext']=new window['EditContext']({'text':_0x461bea['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x461bea['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x461bea['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x4498c4=>{let _0x385aa8=_0x461bea['state']['selection']['main'],{anchor:_0x2ae8dd,head:_0x33d4b6}=_0x385aa8,_0x492f0d=this['toEditorPos'](_0x4498c4['updateRangeStart']),_0x5bef04=this['toEditorPos'](_0x4498c4['updateRangeEnd']);_0x461bea['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x4498c4['updateRangeStart'],'editorBase':_0x492f0d,'drifted':!0x1});let _0x448fe9=_0x5bef04-_0x492f0d>_0x4498c4['text']['length'];_0x492f0d==this['from']&&_0x2ae8dd<this['from']?_0x492f0d=_0x2ae8dd:_0x5bef04==this['to']&&_0x2ae8dd>this['to']&&(_0x5bef04=_0x2ae8dd);let _0x33ab5a=MA(_0x461bea['state']['sliceDoc'](_0x492f0d,_0x5bef04),_0x4498c4['text'],(_0x448fe9?_0x385aa8['from']:_0x385aa8['to'])-_0x492f0d,_0x448fe9?'end':null);if(!_0x33ab5a){let _0x314aa5=EditorSelection['single'](this['toEditorPos'](_0x4498c4['selectionStart']),this['toEditorPos'](_0x4498c4['selectionEnd']));return void(_0x314aa5['main']['eq'](_0x385aa8)||_0x461bea['dispatch']({'selection':_0x314aa5,'userEvent':'select'}));}let _0x21bab3={'from':_0x33ab5a['from']+_0x492f0d,'to':_0x33ab5a['toA']+_0x492f0d,'insert':o_['of'](_0x4498c4['text']['slice'](_0x33ab5a['from'],_0x33ab5a['toB'])['split']('\x0a'))};if((ME['mac']||ME['android'])&&_0x21bab3['from']==_0x33d4b6-0x1&&/^\. ?$/['test'](_0x4498c4['text'])&&'off'==_0x461bea['contentDOM']['getAttribute']('autocorrect')&&(_0x21bab3={'from':_0x492f0d,'to':_0x5bef04,'insert':o_['of']([_0x4498c4['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x21bab3,!_0x461bea['state']['readOnly']){let _0x200677=this['to']-this['from']+(_0x21bab3['to']-_0x21bab3['from']+_0x21bab3['insert']['length']);PA(_0x461bea,_0x21bab3,EditorSelection['single'](this['toEditorPos'](_0x4498c4['selectionStart'],_0x200677),this['toEditorPos'](_0x4498c4['selectionEnd'],_0x200677)));}this['pendingContextChange']&&(this['revertPending'](_0x461bea['state']),this['setSelection'](_0x461bea['state'])),_0x21bab3['from']<_0x21bab3['to']&&!_0x21bab3['insert']['length']&&_0x461bea['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x1ba655['text']['slice'](Math['max'](0x0,_0x4498c4['updateRangeStart']-0x1),Math['min'](_0x1ba655['text']['length'],_0x4498c4['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x4498c4);},this['handlers']['characterboundsupdate']=_0x104cba=>{let _0x3e2fc9=[],_0xa0766d=null;for(let _0x41c9b9=this['toEditorPos'](_0x104cba['rangeStart']),_0x3360cf=this['toEditorPos'](_0x104cba['rangeEnd']);_0x41c9b9<_0x3360cf;_0x41c9b9++){let _0xa863ff=_0x461bea['coordsForChar'](_0x41c9b9);_0xa0766d=_0xa863ff&&new DOMRect(_0xa863ff['left'],_0xa863ff['top'],_0xa863ff['right']-_0xa863ff['left'],_0xa863ff['bottom']-_0xa863ff['top'])||_0xa0766d||new DOMRect(),_0x3e2fc9['push'](_0xa0766d);}_0x1ba655['updateCharacterBounds'](_0x104cba['rangeStart'],_0x3e2fc9);},this['handlers']['textformatupdate']=_0x1e40cb=>{let _0x2ba635=[];for(let _0x2f435e of _0x1e40cb['getTextFormats']()){let _0x2c278a=_0x2f435e['underlineStyle'],_0x35d3f9=_0x2f435e['underlineThickness'];if(!/none/i['test'](_0x2c278a)&&!/none/i['test'](_0x35d3f9)){let _0x36b315=this['toEditorPos'](_0x2f435e['rangeStart']),_0x4865cc=this['toEditorPos'](_0x2f435e['rangeEnd']);if(_0x36b315<_0x4865cc){let _0x43ae5a='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x2c278a)?_0x2c278a+'\x20':'Dashed'==_0x2c278a?'dashed\x20':'Squiggle'==_0x2c278a?'wavy\x20':'')+(/thin/i['test'](_0x35d3f9)?0x1:0x2)+'px';_0x2ba635['push'](Decoration['mark']({'attributes':{'style':_0x43ae5a}})['range'](_0x36b315,_0x4865cc));}}}_0x461bea['dispatch']({'effects':zT['of'](Decoration['set'](_0x2ba635))});},this['handlers']['compositionstart']=()=>{_0x461bea['inputState']['composing']<0x0&&(_0x461bea['inputState']['composing']=0x0,_0x461bea['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x461bea['inputState']['composing']=-0x1,_0x461bea['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x121ca5}=this['composing'];this['composing']=null,_0x121ca5&&this['reset'](_0x461bea['state']);}};for(let _0x24be85 in this['handlers'])_0x1ba655['addEventListener'](_0x24be85,this['handlers'][_0x24be85]);this['measureReq']={'read':_0x492fe4=>{this['editContext']['updateControlBounds'](_0x492fe4['contentDOM']['getBoundingClientRect']());let _0x3a0f62=NE(_0x492fe4['root']);_0x3a0f62&&_0x3a0f62['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x3a0f62['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x50ddb9){let _0x33c908=0x0,_0x5dde61=!0x1,_0x3f78c9=this['pendingContextChange'];return _0x50ddb9['changes']['iterChanges']((_0x351cb1,_0x56a3ff,_0x4f6c55,_0x57d2b5,_0x1afd68)=>{if(_0x5dde61)return;let _0x1192a7=_0x1afd68['length']-(_0x56a3ff-_0x351cb1);if(_0x3f78c9&&_0x56a3ff>=_0x3f78c9['to']){if(_0x3f78c9['from']==_0x351cb1&&_0x3f78c9['to']==_0x56a3ff&&_0x3f78c9['insert']['eq'](_0x1afd68))return _0x3f78c9=this['pendingContextChange']=null,_0x33c908+=_0x1192a7,void(this['to']+=_0x1192a7);_0x3f78c9=null,this['revertPending'](_0x50ddb9['state']);}if(_0x351cb1+=_0x33c908,(_0x56a3ff+=_0x33c908)<=this['from'])this['from']+=_0x1192a7,this['to']+=_0x1192a7;else{if(_0x351cb1<this['to']){if(_0x351cb1<this['from']||_0x56a3ff>this['to']||this['to']-this['from']+_0x1afd68['length']>0x7530)return void(_0x5dde61=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x351cb1),this['toContextPos'](_0x56a3ff),_0x1afd68['toString']()),this['to']+=_0x1192a7;}}_0x33c908+=_0x1192a7;}),_0x3f78c9&&!_0x5dde61&&this['revertPending'](_0x50ddb9['state']),!_0x5dde61;}['update'](_0xc04943){let _0x4fa7f6=this['pendingContextChange'],_0x2c7367=_0xc04943['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0xc04943['changes']['touchesRange'](_0x2c7367['from'],_0x2c7367['to'])&&_0xc04943['transactions']['some'](_0x33d533=>!_0x33d533['isUserEvent']('input.type')&&_0x33d533['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0xc04943['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0xc04943)&&this['rangeIsValid'](_0xc04943['state'])?(_0xc04943['docChanged']||_0xc04943['selectionSet']||_0x4fa7f6)&&this['setSelection'](_0xc04943['state']):(this['pendingContextChange']=null,this['reset'](_0xc04943['state'])),(_0xc04943['geometryChanged']||_0xc04943['docChanged']||_0xc04943['selectionSet'])&&_0xc04943['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x4eaee){let {head:_0x8c7a5e}=_0x4eaee['selection']['main'];this['from']=Math['max'](0x0,_0x8c7a5e-0x2710),this['to']=Math['min'](_0x4eaee['doc']['length'],_0x8c7a5e+0x2710);}['reset'](_0x1c42da){this['resetRange'](_0x1c42da),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x1c42da['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x1c42da);}['revertPending'](_0x2d2aba){let _0x2af142=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x2af142['from']),this['toContextPos'](_0x2af142['from']+_0x2af142['insert']['length']),_0x2d2aba['doc']['sliceString'](_0x2af142['from'],_0x2af142['to']));}['setSelection'](_0x1396bf){let {main:_0x6c8b24}=_0x1396bf['selection'],_0x34c0d7=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x6c8b24['anchor']))),_0x3751b1=this['toContextPos'](_0x6c8b24['head']);this['editContext']['selectionStart']==_0x34c0d7&&this['editContext']['selectionEnd']==_0x3751b1||this['editContext']['updateSelection'](_0x34c0d7,_0x3751b1);}['rangeIsValid'](_0xf383cf){let {head:_0x3779dd}=_0xf383cf['selection']['main'];return!(this['from']>0x0&&_0x3779dd-this['from']<0x1f4||this['to']<_0xf383cf['doc']['length']&&this['to']-_0x3779dd<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x488e0f,_0x3452e7=this['to']-this['from']){_0x488e0f=Math['min'](_0x488e0f,_0x3452e7);let _0x26c3f9=this['composing'];return _0x26c3f9&&_0x26c3f9['drifted']?_0x26c3f9['editorBase']+(_0x488e0f-_0x26c3f9['contextBase']):_0x488e0f+this['from'];}['toContextPos'](_0x58c669){let _0x3ddc00=this['composing'];return _0x3ddc00&&_0x3ddc00['drifted']?_0x3ddc00['contextBase']+(_0x58c669-_0x3ddc00['editorBase']):_0x58c669-this['from'];}['destroy'](){for(let _0x4930c4 in this['handlers'])this['editContext']['removeEventListener'](_0x4930c4,this['handlers'][_0x4930c4]);}}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(_0x2a89df={}){var _0x55e4df;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']),_0x2a89df['parent']&&_0x2a89df['parent']['appendChild'](this['dom']);let {dispatch:_0x241696}=_0x2a89df;this['dispatchTransactions']=_0x2a89df['dispatchTransactions']||_0x241696&&(_0x5a311b=>_0x5a311b['forEach'](_0x79c9f0=>_0x241696(_0x79c9f0,this)))||(_0x25e378=>this['update'](_0x25e378)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x2a89df['root']||function(_0x3f668b){for(;_0x3f668b;){if(_0x3f668b&&(0x9==_0x3f668b['nodeType']||0xb==_0x3f668b['nodeType']&&_0x3f668b['host']))return _0x3f668b;_0x3f668b=_0x3f668b['assignedSlot']||_0x3f668b['parentNode'];}return null;}(_0x2a89df['parent'])||document,this['viewState']=new ViewState(_0x2a89df['state']||EditorState['create'](_0x2a89df)),_0x2a89df['scrollTo']&&_0x2a89df['scrollTo']['is'](qT)&&(this['viewState']['scrollTarget']=_0x2a89df['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](tA)['map'](_0x3e49bd=>new PluginInstance(_0x3e49bd));for(let _0x4606a2 of this['plugins'])_0x4606a2['update'](this);this['observer']=new DOMObserver(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new DocView(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x55e4df=document['fonts'])||void 0x0===_0x55e4df?void 0x0:_0x55e4df['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x5500b0){let _0x526d47=0x1==_0x5500b0['length']&&_0x5500b0[0x0]instanceof Transaction?_0x5500b0:0x1==_0x5500b0['length']&&Array['isArray'](_0x5500b0[0x0])?_0x5500b0[0x0]:[this['state']['update'](..._0x5500b0)];this['dispatchTransactions'](_0x526d47,this);}['update'](_0x36e433){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x32109c,_0x370fe8=!0x1,_0x27c2f0=!0x1,_0xca3d6=this['state'];for(let _0x4a259f of _0x36e433){if(_0x4a259f['startState']!=_0xca3d6)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0xca3d6=_0x4a259f['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0xca3d6);let _0x4cd240=this['hasFocus'],_0x22f017=0x0,_0x19b101=null;_0x36e433['some'](_0x3aa20f=>_0x3aa20f['annotation'](iI))?(this['inputState']['notifiedFocused']=_0x4cd240,_0x22f017=0x1):_0x4cd240!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x4cd240,_0x19b101=sI(_0xca3d6,_0x4cd240),_0x19b101||(_0x22f017=0x1));let _0xc6adb3=this['observer']['delayedAndroidKey'],_0x46beb5=null;if(_0xc6adb3?(this['observer']['clearDelayedAndroidKey'](),_0x46beb5=this['observer']['readChange'](),(_0x46beb5&&!this['state']['doc']['eq'](_0xca3d6['doc'])||!this['state']['selection']['eq'](_0xca3d6['selection']))&&(_0x46beb5=null)):this['observer']['clear'](),_0xca3d6['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0xca3d6);_0x32109c=ViewUpdate['create'](this,_0xca3d6,_0x36e433),_0x32109c['flags']|=_0x22f017;let _0x1ae56c=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x4c575b of _0x36e433){if(_0x1ae56c&&(_0x1ae56c=_0x1ae56c['map'](_0x4c575b['changes'])),_0x4c575b['scrollIntoView']){let {main:_0x2fde60}=_0x4c575b['state']['selection'];_0x1ae56c=new ScrollTarget(_0x2fde60['empty']?_0x2fde60:EditorSelection['cursor'](_0x2fde60['head'],_0x2fde60['head']>_0x2fde60['anchor']?-0x1:0x1));}for(let _0x5550c8 of _0x4c575b['effects'])_0x5550c8['is'](qT)&&(_0x1ae56c=_0x5550c8['value']['clip'](this['state']));}this['viewState']['update'](_0x32109c,_0x1ae56c),this['bidiCache']=CachedOrder['update'](this['bidiCache'],_0x32109c['changes']),_0x32109c['empty']||(this['updatePlugins'](_0x32109c),this['inputState']['update'](_0x32109c)),_0x370fe8=this['docView']['update'](_0x32109c),this['state']['facet'](hA)!=this['styleModules']&&this['mountStyles'](),_0x27c2f0=this['updateAttrs'](),this['showAnnouncements'](_0x36e433),this['docView']['updateSelection'](_0x370fe8,_0x36e433['some'](_0xec54e=>_0xec54e['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x32109c['startState']['facet'](bI)!=_0x32109c['state']['facet'](bI)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x370fe8||_0x27c2f0||_0x1ae56c||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x370fe8&&this['docViewUpdate'](),!_0x32109c['empty']){for(let _0x299261 of this['state']['facet'](UT))try{_0x299261(_0x32109c);}catch(_0x3eaa1f){YT(this['state'],_0x3eaa1f,'update\x20listener');}}(_0x19b101||_0x46beb5)&&Promise['resolve']()['then'](()=>{_0x19b101&&this['state']==_0x19b101['startState']&&this['dispatch'](_0x19b101),_0x46beb5&&!RA(this,_0x46beb5)&&_0xc6adb3['force']&&zE(this['contentDOM'],_0xc6adb3['key'],_0xc6adb3['keyCode']);});}['setState'](_0x1a6ff4){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']=_0x1a6ff4);this['updateState']=0x2;let _0x303dd3=this['hasFocus'];try{for(let _0x471a4a of this['plugins'])_0x471a4a['destroy'](this);this['viewState']=new ViewState(_0x1a6ff4),this['plugins']=_0x1a6ff4['facet'](tA)['map'](_0x4ac403=>new PluginInstance(_0x4ac403)),this['pluginMap']['clear']();for(let _0x366509 of this['plugins'])_0x366509['update'](this);this['docView']['destroy'](),this['docView']=new DocView(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x303dd3&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x15fa8f){let _0x4c2c5c=_0x15fa8f['startState']['facet'](tA),_0x331d97=_0x15fa8f['state']['facet'](tA);if(_0x4c2c5c!=_0x331d97){let _0x327c66=[];for(let _0x42c9ff of _0x331d97){let _0xac95df=_0x4c2c5c['indexOf'](_0x42c9ff);if(_0xac95df<0x0)_0x327c66['push'](new PluginInstance(_0x42c9ff));else{let _0xebde3a=this['plugins'][_0xac95df];_0xebde3a['mustUpdate']=_0x15fa8f,_0x327c66['push'](_0xebde3a);}}for(let _0x1b4336 of this['plugins'])_0x1b4336['mustUpdate']!=_0x15fa8f&&_0x1b4336['destroy'](this);this['plugins']=_0x327c66,this['pluginMap']['clear']();}else{for(let _0x257d6e of this['plugins'])_0x257d6e['mustUpdate']=_0x15fa8f;}for(let _0x33e4a1=0x0;_0x33e4a1<this['plugins']['length'];_0x33e4a1++)this['plugins'][_0x33e4a1]['update'](this);_0x4c2c5c!=_0x331d97&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x3d7c4f of this['plugins']){let _0x434b8a=_0x3d7c4f['value'];if(_0x434b8a&&_0x434b8a['docViewUpdate'])try{_0x434b8a['docViewUpdate'](this);}catch(_0x2f6759){YT(this['state'],_0x2f6759,'doc\x20view\x20update\x20listener');}}}['measure'](_0x34d44a=!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,_0x34d44a&&this['observer']['forceFlush']();let _0xaf0200=null,_0x31b7d0=this['scrollDOM'],_0x93a92b=_0x31b7d0['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x4eae97,scrollAnchorHeight:_0xdec0c}=this['viewState'];Math['abs'](_0x93a92b-this['viewState']['scrollTop'])>0x1&&(_0xdec0c=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x46695c=0x0;;_0x46695c++){if(_0xdec0c<0x0){if(KE(_0x31b7d0))_0x4eae97=-0x1,_0xdec0c=this['viewState']['heightMap']['height'];else{let _0x316d86=this['viewState']['scrollAnchorAt'](_0x93a92b);_0x4eae97=_0x316d86['from'],_0xdec0c=_0x316d86['top'];}}this['updateState']=0x1;let _0x569a36=this['viewState']['measure'](this);if(!_0x569a36&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x46695c>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x4a7edf=[];0x4&_0x569a36||([this['measureRequests'],_0x4a7edf]=[_0x4a7edf,this['measureRequests']]);let _0x4c4e9c=_0x4a7edf['map'](_0x478946=>{try{return _0x478946['read'](this);}catch(_0x346a9b){return YT(this['state'],_0x346a9b),PI;}}),_0x36fc51=ViewUpdate['create'](this,this['state'],[]),_0x653dc9=!0x1;_0x36fc51['flags']|=_0x569a36,_0xaf0200?_0xaf0200['flags']|=_0x569a36:_0xaf0200=_0x36fc51,this['updateState']=0x2,_0x36fc51['empty']||(this['updatePlugins'](_0x36fc51),this['inputState']['update'](_0x36fc51),this['updateAttrs'](),_0x653dc9=this['docView']['update'](_0x36fc51),_0x653dc9&&this['docViewUpdate']());for(let _0x14638d=0x0;_0x14638d<_0x4a7edf['length'];_0x14638d++)if(_0x4c4e9c[_0x14638d]!=PI)try{let _0x2608d9=_0x4a7edf[_0x14638d];_0x2608d9['write']&&_0x2608d9['write'](_0x4c4e9c[_0x14638d],this);}catch(_0x5544f6){YT(this['state'],_0x5544f6);}if(_0x653dc9&&this['docView']['updateSelection'](!0x0),!_0x36fc51['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0xdec0c=-0x1;continue;}{let _0x330270=(_0x4eae97<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x4eae97)['top'])-_0xdec0c;if(_0x330270>0x1||_0x330270<-0x1){_0x93a92b+=_0x330270,_0x31b7d0['scrollTop']=_0x93a92b/this['scaleY'],_0xdec0c=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0xaf0200&&!_0xaf0200['empty']){for(let _0x15d28f of this['state']['facet'](UT))_0x15d28f(_0xaf0200);}}get['themeClasses'](){return vI+'\x20'+(this['state']['facet'](yI)?EI:_I)+'\x20'+this['state']['facet'](bI);}['updateAttrs'](){let _0x161054=MI(this,eA,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x104ef5={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](KT)?'true':'false','class':'cm-content','style':ME['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x104ef5['aria-readonly']='true'),MI(this,iA,_0x104ef5);let _0x3eb7e4=this['observer']['ignore'](()=>{let _0x399dc4=dT(this['contentDOM'],this['contentAttrs'],_0x104ef5),_0x385c6b=dT(this['dom'],this['editorAttrs'],_0x161054);return _0x399dc4||_0x385c6b;});return this['editorAttrs']=_0x161054,this['contentAttrs']=_0x104ef5,_0x3eb7e4;}['showAnnouncements'](_0x300a92){let _0x13fab9=!0x0;for(let _0x3c05b8 of _0x300a92)for(let _0x4251d3 of _0x3c05b8['effects'])_0x4251d3['is'](EditorView['announce'])&&(_0x13fab9&&(this['announceDOM']['textContent']=''),_0x13fab9=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x4251d3['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](hA);let _0xf13b37=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](II)['reverse'](),_0xf13b37?{'nonce':_0xf13b37}: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'](_0x59de2d){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x59de2d){if(this['measureRequests']['indexOf'](_0x59de2d)>-0x1)return;if(null!=_0x59de2d['key']){for(let _0xaf6173=0x0;_0xaf6173<this['measureRequests']['length'];_0xaf6173++)if(this['measureRequests'][_0xaf6173]['key']===_0x59de2d['key'])return void(this['measureRequests'][_0xaf6173]=_0x59de2d);}this['measureRequests']['push'](_0x59de2d);}}['plugin'](_0x15904d){let _0x4341d7=this['pluginMap']['get'](_0x15904d);return(void 0x0===_0x4341d7||_0x4341d7&&_0x4341d7['plugin']!=_0x15904d)&&this['pluginMap']['set'](_0x15904d,_0x4341d7=this['plugins']['find'](_0x4ca2ae=>_0x4ca2ae['plugin']==_0x15904d)||null),_0x4341d7&&_0x4341d7['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'](_0xea1f5b){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0xea1f5b);}['lineBlockAtHeight'](_0x1551e3){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x1551e3);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0xa1aa5a){return this['viewState']['lineBlockAt'](_0xa1aa5a);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x263452,_0xc42b2d,_0x12f5cd){return SA(this,_0x263452,TA(this,_0x263452,_0xc42b2d,_0x12f5cd));}['moveByGroup'](_0x14e98c,_0x5e6418){return SA(this,_0x14e98c,TA(this,_0x14e98c,_0x5e6418,_0x14c299=>function(_0x130818,_0x3ac748,_0x239d0b){let _0x5cc733=_0x130818['state']['charCategorizer'](_0x3ac748),_0xcfbd9f=_0x5cc733(_0x239d0b);return _0x59891a=>{let _0x249d28=_0x5cc733(_0x59891a);return _0xcfbd9f==z_['Space']&&(_0xcfbd9f=_0x249d28),_0xcfbd9f==_0x249d28;};}(this,_0x14e98c['head'],_0x14c299)));}['visualLineSide'](_0x246b85,_0x283fc9){let _0x3b363e=this['bidiSpans'](_0x246b85),_0x185abe=this['textDirectionAt'](_0x246b85['from']),_0x2b0f7a=_0x3b363e[_0x283fc9?_0x3b363e['length']-0x1:0x0];return EditorSelection['cursor'](_0x2b0f7a['side'](_0x283fc9,_0x185abe)+_0x246b85['from'],_0x2b0f7a['forward'](!_0x283fc9,_0x185abe)?0x1:-0x1);}['moveToLineBoundary'](_0xe4851b,_0x11e0a3,_0x52b14c=!0x0){return function(_0x117701,_0x141d49,_0x42d5f0,_0x4d635c){let _0x1ebd43=EA(_0x117701,_0x141d49['head'],_0x141d49['assoc']||-0x1),_0x4693b0=_0x4d635c&&_0x1ebd43['type']==mT['Text']&&(_0x117701['lineWrapping']||_0x1ebd43['widgetLineBreaks'])?_0x117701['coordsAtPos'](_0x141d49['assoc']<0x0&&_0x141d49['head']>_0x1ebd43['from']?_0x141d49['head']-0x1:_0x141d49['head']):null;if(_0x4693b0){let _0x43b65a=_0x117701['dom']['getBoundingClientRect'](),_0x32691c=_0x117701['textDirectionAt'](_0x1ebd43['from']),_0x39bf92=_0x117701['posAtCoords']({'x':_0x42d5f0==(_0x32691c==wT['LTR'])?_0x43b65a['right']-0x1:_0x43b65a['left']+0x1,'y':(_0x4693b0['top']+_0x4693b0['bottom'])/0x2});if(null!=_0x39bf92)return EditorSelection['cursor'](_0x39bf92,_0x42d5f0?-0x1:0x1);}return EditorSelection['cursor'](_0x42d5f0?_0x1ebd43['to']:_0x1ebd43['from'],_0x42d5f0?-0x1:0x1);}(this,_0xe4851b,_0x11e0a3,_0x52b14c);}['moveVertically'](_0x106411,_0xd268ee,_0x3d0db4){return SA(this,_0x106411,function(_0x314403,_0x12834c,_0x5da12b,_0x2fd7ea){let _0x9876bf=_0x12834c['head'],_0x297a0b=_0x5da12b?0x1:-0x1;if(_0x9876bf==(_0x5da12b?_0x314403['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x9876bf,_0x12834c['assoc']);let _0xf37041,_0x3ae0fa=_0x12834c['goalColumn'],_0x12dd9a=_0x314403['contentDOM']['getBoundingClientRect'](),_0x59b745=_0x314403['coordsAtPos'](_0x9876bf,_0x12834c['assoc']||-0x1),_0x1b9758=_0x314403['documentTop'];if(_0x59b745)null==_0x3ae0fa&&(_0x3ae0fa=_0x59b745['left']-_0x12dd9a['left']),_0xf37041=_0x297a0b<0x0?_0x59b745['top']:_0x59b745['bottom'];else{let _0x1bf2cc=_0x314403['viewState']['lineBlockAt'](_0x9876bf);null==_0x3ae0fa&&(_0x3ae0fa=Math['min'](_0x12dd9a['right']-_0x12dd9a['left'],_0x314403['defaultCharacterWidth']*(_0x9876bf-_0x1bf2cc['from']))),_0xf37041=(_0x297a0b<0x0?_0x1bf2cc['top']:_0x1bf2cc['bottom'])+_0x1b9758;}let _0xa0dfb7=_0x12dd9a['left']+_0x3ae0fa,_0x27d50e=null!=_0x2fd7ea?_0x2fd7ea:_0x314403['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x879d2f=0x0;;_0x879d2f+=0xa){let _0x293e7e=_0xf37041+(_0x27d50e+_0x879d2f)*_0x297a0b,_0x554a2d=yA(_0x314403,{'x':_0xa0dfb7,'y':_0x293e7e},!0x1,_0x297a0b);if(_0x293e7e<_0x12dd9a['top']||_0x293e7e>_0x12dd9a['bottom']||(_0x297a0b<0x0?_0x554a2d<_0x9876bf:_0x554a2d>_0x9876bf)){let _0x4b8ed3=_0x314403['docView']['coordsForChar'](_0x554a2d),_0x50fc2c=!_0x4b8ed3||_0x293e7e<_0x4b8ed3['top']?-0x1:0x1;return EditorSelection['cursor'](_0x554a2d,_0x50fc2c,void 0x0,_0x3ae0fa);}}}(this,_0x106411,_0xd268ee,_0x3d0db4));}['domAtPos'](_0x5ac283){return this['docView']['domAtPos'](_0x5ac283);}['posAtDOM'](_0x4ef84f,_0x13cfbb=0x0){return this['docView']['posFromDOM'](_0x4ef84f,_0x13cfbb);}['posAtCoords'](_0x30002e,_0x305a13=!0x0){return this['readMeasured'](),yA(this,_0x30002e,_0x305a13);}['coordsAtPos'](_0x1b05a4,_0x485283=0x1){this['readMeasured']();let _0x3b5332=this['docView']['coordsAt'](_0x1b05a4,_0x485283);if(!_0x3b5332||_0x3b5332['left']==_0x3b5332['right'])return _0x3b5332;let _0x5ab960=this['state']['doc']['lineAt'](_0x1b05a4),_0x4ef98a=this['bidiSpans'](_0x5ab960);return jE(_0x3b5332,_0x4ef98a[BidiSpan['find'](_0x4ef98a,_0x1b05a4-_0x5ab960['from'],-0x1,_0x485283)]['dir']==wT['LTR']==_0x485283>0x0);}['coordsForChar'](_0x3c4ad2){return this['readMeasured'](),this['docView']['coordsForChar'](_0x3c4ad2);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0xcbd341){return!this['state']['facet'](GT)||_0xcbd341<this['viewport']['from']||_0xcbd341>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0xcbd341));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x4cfc01){if(_0x4cfc01['length']>RI)return PT(_0x4cfc01['length']);let _0x1c2d26,_0x2dbd8c=this['textDirectionAt'](_0x4cfc01['from']);for(let _0x2c7893 of this['bidiCache'])if(_0x2c7893['from']==_0x4cfc01['from']&&_0x2c7893['dir']==_0x2dbd8c&&(_0x2c7893['fresh']||CT(_0x2c7893['isolates'],_0x1c2d26=aA(this,_0x4cfc01))))return _0x2c7893['order'];_0x1c2d26||(_0x1c2d26=aA(this,_0x4cfc01));let _0x568a13=function(_0x416d2c,_0x2d95ec,_0xa5e380){if(!_0x416d2c)return[new BidiSpan(0x0,0x0,_0x2d95ec==yT?0x1:0x0)];if(_0x2d95ec==bT&&!_0xa5e380['length']&&!ST['test'](_0x416d2c))return PT(_0x416d2c['length']);if(_0xa5e380['length']){for(;_0x416d2c['length']>kT['length'];)kT[kT['length']]=0x100;}let _0x133e05=[],_0x1c28b3=_0x2d95ec==bT?0x0:0x1;return RT(_0x416d2c,_0x1c28b3,_0x1c28b3,_0xa5e380,0x0,_0x416d2c['length'],_0x133e05),_0x133e05;}(_0x4cfc01['text'],_0x2dbd8c,_0x1c2d26);return this['bidiCache']['push'](new CachedOrder(_0x4cfc01['from'],_0x4cfc01['to'],_0x2dbd8c,_0x1c2d26,!0x0,_0x568a13)),_0x568a13;}get['hasFocus'](){var _0x45c7e6;return(this['dom']['ownerDocument']['hasFocus']()||ME['safari']&&(null===(_0x45c7e6=this['inputState'])||void 0x0===_0x45c7e6?void 0x0:_0x45c7e6['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{qE(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x128700){this['_root']!=_0x128700&&(this['_root']=_0x128700,this['observer']['setWindow']((0x9==_0x128700['nodeType']?_0x128700:_0x128700['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x5f103e of this['plugins'])_0x5f103e['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'](_0x1fde69,_0x39abbe={}){return qT['of'](new ScrollTarget('number'==typeof _0x1fde69?EditorSelection['cursor'](_0x1fde69):_0x1fde69,_0x39abbe['y'],_0x39abbe['x'],_0x39abbe['yMargin'],_0x39abbe['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0xd56986,scrollLeft:_0x37fa2e}=this['scrollDOM'],_0x48e64a=this['viewState']['scrollAnchorAt'](_0xd56986);return qT['of'](new ScrollTarget(EditorSelection['cursor'](_0x48e64a['from']),'start','start',_0x48e64a['top']-_0xd56986,_0x37fa2e,!0x0));}['setTabFocusMode'](_0x3d89bc){null==_0x3d89bc?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x3d89bc?this['inputState']['tabFocusMode']=_0x3d89bc?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x3d89bc);}static['domEventHandlers'](_0x5975c6){return ViewPlugin['define'](()=>({}),{'eventHandlers':_0x5975c6});}static['domEventObservers'](_0xd12ca4){return ViewPlugin['define'](()=>({}),{'eventObservers':_0xd12ca4});}static['theme'](_0x4d916e,_0x17afa6){let _0x7ba653=StyleModule['newName'](),_0x1461a7=[bI['of'](_0x7ba653),hA['of'](AI('.'+_0x7ba653,_0x4d916e))];return _0x17afa6&&_0x17afa6['dark']&&_0x1461a7['push'](yI['of'](!0x0)),_0x1461a7;}static['baseTheme'](_0x22ff5a){return N_['lowest'](hA['of'](AI('.'+vI,_0x22ff5a,TI)));}static['findFromDOM'](_0xda4988){var _0xafa0ba;let _0x187236=_0xda4988['querySelector']('.cm-content'),_0x5db7c7=_0x187236&&ContentView['get'](_0x187236)||ContentView['get'](_0xda4988);return(null===(_0xafa0ba=null==_0x5db7c7?void 0x0:_0x5db7c7['rootView'])||void 0x0===_0xafa0ba?void 0x0:_0xafa0ba['view'])||null;}}EditorView['styleModule']=hA,EditorView['inputHandler']=BT,EditorView['clipboardInputFilter']=jT,EditorView['clipboardOutputFilter']=HT,EditorView['scrollHandler']=XT,EditorView['focusChangeEffect']=FT,EditorView['perLineTextDirection']=GT,EditorView['exceptionSink']=VT,EditorView['updateListener']=UT,EditorView['editable']=KT,EditorView['mouseSelectionStyle']=QT,EditorView['dragMovesSelection']=DT,EditorView['clickAddsSelectionRange']=$T,EditorView['decorations']=sA,EditorView['outerDecorations']=nA,EditorView['atomicRanges']=rA,EditorView['bidiIsolatedRanges']=oA,EditorView['scrollMargins']=cA,EditorView['darkTheme']=yI,EditorView['cspNonce']=Facet['define']({'combine':_0xc3788d=>_0xc3788d['length']?_0xc3788d[0x0]:''}),EditorView['contentAttributes']=iA,EditorView['editorAttributes']=eA,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const RI=0x1000,PI={};class CachedOrder{constructor(_0x1d62f7,_0x42a30e,_0x32460a,_0x46043f,_0xf884de,_0x1e1f90){this['from']=_0x1d62f7,this['to']=_0x42a30e,this['dir']=_0x32460a,this['isolates']=_0x46043f,this['fresh']=_0xf884de,this['order']=_0x1e1f90;}static['update'](_0x39e521,_0x5f221e){if(_0x5f221e['empty']&&!_0x39e521['some'](_0x3b25b6=>_0x3b25b6['fresh']))return _0x39e521;let _0x4357f2=[],_0x13de49=_0x39e521['length']?_0x39e521[_0x39e521['length']-0x1]['dir']:wT['LTR'];for(let _0x371186=Math['max'](0x0,_0x39e521['length']-0xa);_0x371186<_0x39e521['length'];_0x371186++){let _0x4284f8=_0x39e521[_0x371186];_0x4284f8['dir']!=_0x13de49||_0x5f221e['touchesRange'](_0x4284f8['from'],_0x4284f8['to'])||_0x4357f2['push'](new CachedOrder(_0x5f221e['mapPos'](_0x4284f8['from'],0x1),_0x5f221e['mapPos'](_0x4284f8['to'],-0x1),_0x4284f8['dir'],_0x4284f8['isolates'],!0x1,_0x4284f8['order']));}return _0x4357f2;}}function MI(_0xebfaec,_0x59d561,_0x3047e6){for(let _0x130eae=_0xebfaec['state']['facet'](_0x59d561),_0x2d0fef=_0x130eae['length']-0x1;_0x2d0fef>=0x0;_0x2d0fef--){let _0x3c36fb=_0x130eae[_0x2d0fef],_0x398b29='function'==typeof _0x3c36fb?_0x3c36fb(_0xebfaec):_0x3c36fb;_0x398b29&&lT(_0x398b29,_0x3047e6);}return _0x3047e6;}const NI=ME['mac']?'mac':ME['windows']?'win':ME['linux']?'linux':'key';function LI(_0x6b00ac,_0x24a5a7,_0x4a3780){return _0x24a5a7['altKey']&&(_0x6b00ac='Alt-'+_0x6b00ac),_0x24a5a7['ctrlKey']&&(_0x6b00ac='Ctrl-'+_0x6b00ac),_0x24a5a7['metaKey']&&(_0x6b00ac='Meta-'+_0x6b00ac),!0x1!==_0x4a3780&&_0x24a5a7['shiftKey']&&(_0x6b00ac='Shift-'+_0x6b00ac),_0x6b00ac;}const $I=N_['default'](EditorView['domEventHandlers']({'keydown':(_0x5c6d7d,_0x5ebae3)=>function(_0x1f2994,_0x4f50ed,_0x21834c,_0x48d703){BI=_0x4f50ed;let _0x4ba9e9=function(_0x270377){var _0x332bb4=!(wE&&_0x270377['metaKey']&&_0x270377['shiftKey']&&!_0x270377['ctrlKey']&&!_0x270377['altKey']||bE&&_0x270377['shiftKey']&&_0x270377['key']&&0x1==_0x270377['key']['length']||'Unidentified'==_0x270377['key'])&&_0x270377['key']||(_0x270377['shiftKey']?OE:pE)[_0x270377['keyCode']]||_0x270377['key']||'Unidentified';return'Esc'==_0x332bb4&&(_0x332bb4='Escape'),'Del'==_0x332bb4&&(_0x332bb4='Delete'),'Left'==_0x332bb4&&(_0x332bb4='ArrowLeft'),'Up'==_0x332bb4&&(_0x332bb4='ArrowUp'),'Right'==_0x332bb4&&(_0x332bb4='ArrowRight'),'Down'==_0x332bb4&&(_0x332bb4='ArrowDown'),_0x332bb4;}(_0x4f50ed),_0x36deb6=d_(_0x4ba9e9,0x0),_0x324991=m_(_0x36deb6)==_0x4ba9e9['length']&&'\x20'!=_0x4ba9e9,_0x54ea67='',_0x4e3870=!0x1,_0x4d28e7=!0x1,_0x38ed51=!0x1;VI&&VI['view']==_0x21834c&&VI['scope']==_0x48d703&&(_0x54ea67=VI['prefix']+'\x20',QA['indexOf'](_0x4f50ed['keyCode'])<0x0&&(_0x4d28e7=!0x0,VI=null));let _0x27104c,_0x3178ee,_0xb408f4=new Set(),_0x192427=_0x5b3453=>{if(_0x5b3453){for(let _0x5c1567 of _0x5b3453['run'])if(!_0xb408f4['has'](_0x5c1567)&&(_0xb408f4['add'](_0x5c1567),_0x5c1567(_0x21834c)))return _0x5b3453['stopPropagation']&&(_0x38ed51=!0x0),!0x0;_0x5b3453['preventDefault']&&(_0x5b3453['stopPropagation']&&(_0x38ed51=!0x0),_0x4d28e7=!0x0);}return!0x1;},_0x9fd833=_0x1f2994[_0x48d703];return _0x9fd833&&(_0x192427(_0x9fd833[_0x54ea67+LI(_0x4ba9e9,_0x4f50ed,!_0x324991)])?_0x4e3870=!0x0:!_0x324991||!(_0x4f50ed['altKey']||_0x4f50ed['metaKey']||_0x4f50ed['ctrlKey'])||ME['windows']&&_0x4f50ed['ctrlKey']&&_0x4f50ed['altKey']||ME['mac']&&_0x4f50ed['altKey']&&!_0x4f50ed['ctrlKey']&&!_0x4f50ed['metaKey']||!(_0x27104c=pE[_0x4f50ed['keyCode']])||_0x27104c==_0x4ba9e9?_0x324991&&_0x4f50ed['shiftKey']&&_0x192427(_0x9fd833[_0x54ea67+LI(_0x4ba9e9,_0x4f50ed,!0x0)])&&(_0x4e3870=!0x0):(_0x192427(_0x9fd833[_0x54ea67+LI(_0x27104c,_0x4f50ed,!0x0)])||_0x4f50ed['shiftKey']&&(_0x3178ee=OE[_0x4f50ed['keyCode']])!=_0x4ba9e9&&_0x3178ee!=_0x27104c&&_0x192427(_0x9fd833[_0x54ea67+LI(_0x3178ee,_0x4f50ed,!0x1)]))&&(_0x4e3870=!0x0),!_0x4e3870&&_0x192427(_0x9fd833['_any'])&&(_0x4e3870=!0x0)),_0x4d28e7&&(_0x4e3870=!0x0),_0x4e3870&&_0x38ed51&&_0x4f50ed['stopPropagation'](),(BI=null,_0x4e3870);}(function(_0x3cecc6){let _0x24aa66=_0x3cecc6['facet'](DI),_0x2f8d07=QI['get'](_0x24aa66);return _0x2f8d07||QI['set'](_0x24aa66,_0x2f8d07=function(_0x5502e3,_0x2656c9=NI){let _0x1e62cb=Object['create'](null),_0x287d97=Object['create'](null),_0x54ca31=(_0xca2f75,_0xf917d5)=>{let _0x3f8a9b=_0x287d97[_0xca2f75];if(null==_0x3f8a9b)_0x287d97[_0xca2f75]=_0xf917d5;else{if(_0x3f8a9b!=_0xf917d5)throw new Error('Key\x20binding\x20'+_0xca2f75+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x3f5dde=(_0x35929b,_0x233ec0,_0x28035f,_0x34d2c3,_0x58f263)=>{var _0x1a9b7e,_0x277722;let _0x463ae0=_0x1e62cb[_0x35929b]||(_0x1e62cb[_0x35929b]=Object['create'](null)),_0x9e117a=_0x233ec0['split'](/ (?!$)/)['map'](_0x24638c=>function(_0x20675a,_0x512204){const _0x1d85ca=_0x20675a['split'](/-(?!$)/);let _0x1d47b9,_0x44b752,_0x9185bf,_0x11569c,_0x3cddb5=_0x1d85ca[_0x1d85ca['length']-0x1];'Space'==_0x3cddb5&&(_0x3cddb5='\x20');for(let _0x159b60=0x0;_0x159b60<_0x1d85ca['length']-0x1;++_0x159b60){const _0x5a6919=_0x1d85ca[_0x159b60];if(/^(cmd|meta|m)$/i['test'](_0x5a6919))_0x11569c=!0x0;else{if(/^a(lt)?$/i['test'](_0x5a6919))_0x1d47b9=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x5a6919))_0x44b752=!0x0;else{if(/^s(hift)?$/i['test'](_0x5a6919))_0x9185bf=!0x0;else{if(!/^mod$/i['test'](_0x5a6919))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x5a6919);'mac'==_0x512204?_0x11569c=!0x0:_0x44b752=!0x0;}}}}}return _0x1d47b9&&(_0x3cddb5='Alt-'+_0x3cddb5),_0x44b752&&(_0x3cddb5='Ctrl-'+_0x3cddb5),_0x11569c&&(_0x3cddb5='Meta-'+_0x3cddb5),_0x9185bf&&(_0x3cddb5='Shift-'+_0x3cddb5),_0x3cddb5;}(_0x24638c,_0x2656c9));for(let _0x448cab=0x1;_0x448cab<_0x9e117a['length'];_0x448cab++){let _0x228808=_0x9e117a['slice'](0x0,_0x448cab)['join']('\x20');_0x54ca31(_0x228808,!0x0),_0x463ae0[_0x228808]||(_0x463ae0[_0x228808]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x4ab5dd=>{let _0x5324b8=VI={'view':_0x4ab5dd,'prefix':_0x228808,'scope':_0x35929b};return setTimeout(()=>{VI==_0x5324b8&&(VI=null);},UI),!0x0;}]});}let _0x103a07=_0x9e117a['join']('\x20');_0x54ca31(_0x103a07,!0x1);let _0x888022=_0x463ae0[_0x103a07]||(_0x463ae0[_0x103a07]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x277722=null===(_0x1a9b7e=_0x463ae0['_any'])||void 0x0===_0x1a9b7e?void 0x0:_0x1a9b7e['run'])||void 0x0===_0x277722?void 0x0:_0x277722['slice']())||[]});_0x28035f&&_0x888022['run']['push'](_0x28035f),_0x34d2c3&&(_0x888022['preventDefault']=!0x0),_0x58f263&&(_0x888022['stopPropagation']=!0x0);};for(let _0x1f051c of _0x5502e3){let _0x55ec80=_0x1f051c['scope']?_0x1f051c['scope']['split']('\x20'):['editor'];if(_0x1f051c['any'])for(let _0x1d4bc7 of _0x55ec80){let _0x382371=_0x1e62cb[_0x1d4bc7]||(_0x1e62cb[_0x1d4bc7]=Object['create'](null));_0x382371['_any']||(_0x382371['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x496ef5}=_0x1f051c;for(let _0x5a356f in _0x382371)_0x382371[_0x5a356f]['run']['push'](_0x521ec=>_0x496ef5(_0x521ec,BI));}let _0x2b6bc9=_0x1f051c[_0x2656c9]||_0x1f051c['key'];if(_0x2b6bc9){for(let _0x2c1024 of _0x55ec80)_0x3f5dde(_0x2c1024,_0x2b6bc9,_0x1f051c['run'],_0x1f051c['preventDefault'],_0x1f051c['stopPropagation']),_0x1f051c['shift']&&_0x3f5dde(_0x2c1024,'Shift-'+_0x2b6bc9,_0x1f051c['shift'],_0x1f051c['preventDefault'],_0x1f051c['stopPropagation']);}}return _0x1e62cb;}(_0x24aa66['reduce']((_0x43cd67,_0x1a8833)=>_0x43cd67['concat'](_0x1a8833),[]))),_0x2f8d07;}(_0x5ebae3['state']),_0x5c6d7d,_0x5ebae3,'editor')})),DI=Facet['define']({'enables':$I}),QI=new WeakMap();let VI=null;const UI=0xfa0;let BI=null;class RectangleMarker{constructor(_0x4855c3,_0x2fc0cc,_0x5575a1,_0x593228,_0xd179d9){this['className']=_0x4855c3,this['left']=_0x2fc0cc,this['top']=_0x5575a1,this['width']=_0x593228,this['height']=_0xd179d9;}['draw'](){let _0x46b9ca=document['createElement']('div');return _0x46b9ca['className']=this['className'],this['adjust'](_0x46b9ca),_0x46b9ca;}['update'](_0x3ae037,_0x20c999){return _0x20c999['className']==this['className']&&(this['adjust'](_0x3ae037),!0x0);}['adjust'](_0x1489fe){_0x1489fe['style']['left']=this['left']+'px',_0x1489fe['style']['top']=this['top']+'px',null!=this['width']&&(_0x1489fe['style']['width']=this['width']+'px'),_0x1489fe['style']['height']=this['height']+'px';}['eq'](_0x2caac1){return this['left']==_0x2caac1['left']&&this['top']==_0x2caac1['top']&&this['width']==_0x2caac1['width']&&this['height']==_0x2caac1['height']&&this['className']==_0x2caac1['className'];}static['forRange'](_0x23b76e,_0x3bd576,_0x1173a0){if(_0x1173a0['empty']){let _0x427f88=_0x23b76e['coordsAtPos'](_0x1173a0['head'],_0x1173a0['assoc']||0x1);if(!_0x427f88)return[];let _0x19b75a=FI(_0x23b76e);return[new RectangleMarker(_0x3bd576,_0x427f88['left']-_0x19b75a['left'],_0x427f88['top']-_0x19b75a['top'],null,_0x427f88['bottom']-_0x427f88['top'])];}return function(_0x37947f,_0x102f32,_0x213ca){if(_0x213ca['to']<=_0x37947f['viewport']['from']||_0x213ca['from']>=_0x37947f['viewport']['to'])return[];let _0x5a3b74=Math['max'](_0x213ca['from'],_0x37947f['viewport']['from']),_0x59d375=Math['min'](_0x213ca['to'],_0x37947f['viewport']['to']),_0x19cab5=_0x37947f['textDirection']==wT['LTR'],_0x3b7a5e=_0x37947f['contentDOM'],_0x3f0588=_0x3b7a5e['getBoundingClientRect'](),_0x3d804b=FI(_0x37947f),_0x5e18d1=_0x3b7a5e['querySelector']('.cm-line'),_0x2732d4=_0x5e18d1&&window['getComputedStyle'](_0x5e18d1),_0x675f71=_0x3f0588['left']+(_0x2732d4?parseInt(_0x2732d4['paddingLeft'])+Math['min'](0x0,parseInt(_0x2732d4['textIndent'])):0x0),_0x54cf11=_0x3f0588['right']-(_0x2732d4?parseInt(_0x2732d4['paddingRight']):0x0),_0x47b42f=EA(_0x37947f,_0x5a3b74,0x1),_0x2a6e12=EA(_0x37947f,_0x59d375,-0x1),_0x1d2707=_0x47b42f['type']==mT['Text']?_0x47b42f:null,_0x3ccb09=_0x2a6e12['type']==mT['Text']?_0x2a6e12:null;_0x1d2707&&(_0x37947f['lineWrapping']||_0x47b42f['widgetLineBreaks'])&&(_0x1d2707=jI(_0x37947f,_0x5a3b74,0x1,_0x1d2707)),_0x3ccb09&&(_0x37947f['lineWrapping']||_0x2a6e12['widgetLineBreaks'])&&(_0x3ccb09=jI(_0x37947f,_0x59d375,-0x1,_0x3ccb09));if(_0x1d2707&&_0x3ccb09&&_0x1d2707['from']==_0x3ccb09['from']&&_0x1d2707['to']==_0x3ccb09['to'])return _0x4b842b(_0x3632fa(_0x213ca['from'],_0x213ca['to'],_0x1d2707));{let _0x591320=_0x1d2707?_0x3632fa(_0x213ca['from'],null,_0x1d2707):_0xac1c88(_0x47b42f,!0x1),_0x295f5b=_0x3ccb09?_0x3632fa(null,_0x213ca['to'],_0x3ccb09):_0xac1c88(_0x2a6e12,!0x0),_0x44bae2=[];return(_0x1d2707||_0x47b42f)['to']<(_0x3ccb09||_0x2a6e12)['from']-(_0x1d2707&&_0x3ccb09?0x1:0x0)||_0x47b42f['widgetLineBreaks']>0x1&&_0x591320['bottom']+_0x37947f['defaultLineHeight']/0x2<_0x295f5b['top']?_0x44bae2['push'](_0x2e9868(_0x675f71,_0x591320['bottom'],_0x54cf11,_0x295f5b['top'])):_0x591320['bottom']<_0x295f5b['top']&&_0x37947f['elementAtHeight']((_0x591320['bottom']+_0x295f5b['top'])/0x2)['type']==mT['Text']&&(_0x591320['bottom']=_0x295f5b['top']=(_0x591320['bottom']+_0x295f5b['top'])/0x2),_0x4b842b(_0x591320)['concat'](_0x44bae2)['concat'](_0x4b842b(_0x295f5b));}function _0x2e9868(_0x3ea20a,_0x345221,_0x31ccd3,_0x2b123d){return new RectangleMarker(_0x102f32,_0x3ea20a-_0x3d804b['left'],_0x345221-_0x3d804b['top'],_0x31ccd3-_0x3ea20a,_0x2b123d-_0x345221);}function _0x4b842b({top:_0x26e0db,bottom:_0x251a75,horizontal:_0x2a98cf}){let _0x3c3544=[];for(let _0x385578=0x0;_0x385578<_0x2a98cf['length'];_0x385578+=0x2)_0x3c3544['push'](_0x2e9868(_0x2a98cf[_0x385578],_0x26e0db,_0x2a98cf[_0x385578+0x1],_0x251a75));return _0x3c3544;}function _0x3632fa(_0x593930,_0x236656,_0x240da8){let _0x10bedc=0x3b9aca00,_0x1d99f5=-0x3b9aca00,_0x514723=[];function _0x1971a6(_0x3744ce,_0x374a29,_0x2e47f5,_0x4c2cd7,_0x262177){let _0xa30ead=_0x37947f['coordsAtPos'](_0x3744ce,_0x3744ce==_0x240da8['to']?-0x2:0x2),_0x592dd7=_0x37947f['coordsAtPos'](_0x2e47f5,_0x2e47f5==_0x240da8['from']?0x2:-0x2);_0xa30ead&&_0x592dd7&&(_0x10bedc=Math['min'](_0xa30ead['top'],_0x592dd7['top'],_0x10bedc),_0x1d99f5=Math['max'](_0xa30ead['bottom'],_0x592dd7['bottom'],_0x1d99f5),_0x262177==wT['LTR']?_0x514723['push'](_0x19cab5&&_0x374a29?_0x675f71:_0xa30ead['left'],_0x19cab5&&_0x4c2cd7?_0x54cf11:_0x592dd7['right']):_0x514723['push'](!_0x19cab5&&_0x4c2cd7?_0x675f71:_0x592dd7['left'],!_0x19cab5&&_0x374a29?_0x54cf11:_0xa30ead['right']));}let _0x47055c=null!=_0x593930?_0x593930:_0x240da8['from'],_0x547cfc=null!=_0x236656?_0x236656:_0x240da8['to'];for(let _0x50f9b5 of _0x37947f['visibleRanges'])if(_0x50f9b5['to']>_0x47055c&&_0x50f9b5['from']<_0x547cfc)for(let _0x1ba053=Math['max'](_0x50f9b5['from'],_0x47055c),_0x2d9ce4=Math['min'](_0x50f9b5['to'],_0x547cfc);;){let _0x51a927=_0x37947f['state']['doc']['lineAt'](_0x1ba053);for(let _0x4e1f1a of _0x37947f['bidiSpans'](_0x51a927)){let _0x4e7408=_0x4e1f1a['from']+_0x51a927['from'],_0x42ec2b=_0x4e1f1a['to']+_0x51a927['from'];if(_0x4e7408>=_0x2d9ce4)break;_0x42ec2b>_0x1ba053&&_0x1971a6(Math['max'](_0x4e7408,_0x1ba053),null==_0x593930&&_0x4e7408<=_0x47055c,Math['min'](_0x42ec2b,_0x2d9ce4),null==_0x236656&&_0x42ec2b>=_0x547cfc,_0x4e1f1a['dir']);}if(_0x1ba053=_0x51a927['to']+0x1,_0x1ba053>=_0x2d9ce4)break;}return 0x0==_0x514723['length']&&_0x1971a6(_0x47055c,null==_0x593930,_0x547cfc,null==_0x236656,_0x37947f['textDirection']),{'top':_0x10bedc,'bottom':_0x1d99f5,'horizontal':_0x514723};}function _0xac1c88(_0x2c551f,_0x3338c2){let _0x4e595c=_0x3f0588['top']+(_0x3338c2?_0x2c551f['top']:_0x2c551f['bottom']);return{'top':_0x4e595c,'bottom':_0x4e595c,'horizontal':[]};}}(_0x23b76e,_0x3bd576,_0x1173a0);}}function FI(_0x2cff4e){let _0x3d50a0=_0x2cff4e['scrollDOM']['getBoundingClientRect']();return{'left':(_0x2cff4e['textDirection']==wT['LTR']?_0x3d50a0['left']:_0x3d50a0['right']-_0x2cff4e['scrollDOM']['clientWidth']*_0x2cff4e['scaleX'])-_0x2cff4e['scrollDOM']['scrollLeft']*_0x2cff4e['scaleX'],'top':_0x3d50a0['top']-_0x2cff4e['scrollDOM']['scrollTop']*_0x2cff4e['scaleY']};}function jI(_0x215aab,_0x11ab86,_0x33aa15,_0x3e06d9){let _0x1d9226=_0x215aab['coordsAtPos'](_0x11ab86,0x2*_0x33aa15);if(!_0x1d9226)return _0x3e06d9;let _0x192ab7=_0x215aab['dom']['getBoundingClientRect'](),_0x45dd34=(_0x1d9226['top']+_0x1d9226['bottom'])/0x2,_0xc35b0b=_0x215aab['posAtCoords']({'x':_0x192ab7['left']+0x1,'y':_0x45dd34}),_0x2546dd=_0x215aab['posAtCoords']({'x':_0x192ab7['right']-0x1,'y':_0x45dd34});return null==_0xc35b0b||null==_0x2546dd?_0x3e06d9:{'from':Math['max'](_0x3e06d9['from'],Math['min'](_0xc35b0b,_0x2546dd)),'to':Math['min'](_0x3e06d9['to'],Math['max'](_0xc35b0b,_0x2546dd))};}class LayerView{constructor(_0xcfb831,_0x206c08){this['view']=_0xcfb831,this['layer']=_0x206c08,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0xcfb831['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x206c08['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x206c08['class']&&this['dom']['classList']['add'](_0x206c08['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0xcfb831['state']),_0xcfb831['requestMeasure'](this['measureReq']),_0x206c08['mount']&&_0x206c08['mount'](this['dom'],_0xcfb831);}['update'](_0x426181){_0x426181['startState']['facet'](HI)!=_0x426181['state']['facet'](HI)&&this['setOrder'](_0x426181['state']),(this['layer']['update'](_0x426181,this['dom'])||_0x426181['geometryChanged'])&&(this['scale'](),_0x426181['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x2b8296){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x2b8296['requestMeasure'](this['measureReq']);}['setOrder'](_0x5517ae){let _0x3165e6=0x0,_0x3dd8be=_0x5517ae['facet'](HI);for(;_0x3165e6<_0x3dd8be['length']&&_0x3dd8be[_0x3165e6]!=this['layer'];)_0x3165e6++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x3165e6);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x5d3bfb,scaleY:_0x857c56}=this['view'];_0x5d3bfb==this['scaleX']&&_0x857c56==this['scaleY']||(this['scaleX']=_0x5d3bfb,this['scaleY']=_0x857c56,this['dom']['style']['transform']='scale('+0x1/_0x5d3bfb+',\x20'+0x1/_0x857c56+')');}['draw'](_0xb69c7b){if(_0xb69c7b['length']!=this['drawn']['length']||_0xb69c7b['some']((_0x467548,_0x40a05a)=>{return _0x284e09=_0x467548,_0x8bc612=this['drawn'][_0x40a05a],!(_0x284e09['constructor']==_0x8bc612['constructor']&&_0x284e09['eq'](_0x8bc612));var _0x284e09,_0x8bc612;})){let _0x404c21=this['dom']['firstChild'],_0x5d9a23=0x0;for(let _0x5ae4b3 of _0xb69c7b)_0x5ae4b3['update']&&_0x404c21&&_0x5ae4b3['constructor']&&this['drawn'][_0x5d9a23]['constructor']&&_0x5ae4b3['update'](_0x404c21,this['drawn'][_0x5d9a23])?(_0x404c21=_0x404c21['nextSibling'],_0x5d9a23++):this['dom']['insertBefore'](_0x5ae4b3['draw'](),_0x404c21);for(;_0x404c21;){let _0x23d4bf=_0x404c21['nextSibling'];_0x404c21['remove'](),_0x404c21=_0x23d4bf;}this['drawn']=_0xb69c7b,ME['safari']&&ME['safari_version']>=0x1a&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}}const HI=Facet['define']();function GI(_0x5c7f04){return[ViewPlugin['define'](_0x1b4ba3=>new LayerView(_0x1b4ba3,_0x5c7f04)),HI['of'](_0x5c7f04)];}const ZI=Facet['define']({'combine':_0x30a3f9=>tE(_0x30a3f9,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x38a428,_0x3ee4b9)=>Math['min'](_0x38a428,_0x3ee4b9),'drawRangeCursor':(_0x2c2575,_0x3a10d2)=>_0x2c2575||_0x3a10d2})});function XI(_0x192584={}){return[ZI['of'](_0x192584),WI,YI,KI,ZT['of'](!0x0)];}function qI(_0xe3adf2){return _0xe3adf2['startState']['facet'](ZI)!=_0xe3adf2['state']['facet'](ZI);}const WI=GI({'above':!0x0,'markers'(_0x521c06){let {state:_0x101a87}=_0x521c06,_0x312a0f=_0x101a87['facet'](ZI),_0xf496c9=[];for(let _0x4e8ca8 of _0x101a87['selection']['ranges']){let _0x224575=_0x4e8ca8==_0x101a87['selection']['main'];if(_0x4e8ca8['empty']||_0x312a0f['drawRangeCursor']){let _0x443fed=_0x224575?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x37f38a=_0x4e8ca8['empty']?_0x4e8ca8:EditorSelection['cursor'](_0x4e8ca8['head'],_0x4e8ca8['head']>_0x4e8ca8['anchor']?-0x1:0x1);for(let _0x52fee8 of RectangleMarker['forRange'](_0x521c06,_0x443fed,_0x37f38a))_0xf496c9['push'](_0x52fee8);}}return _0xf496c9;},'update'(_0x5e43ae,_0x410b60){_0x5e43ae['transactions']['some'](_0x4669a0=>_0x4669a0['selection'])&&(_0x410b60['style']['animationName']='cm-blink'==_0x410b60['style']['animationName']?'cm-blink2':'cm-blink');let _0x1f9614=qI(_0x5e43ae);return _0x1f9614&&zI(_0x5e43ae['state'],_0x410b60),_0x5e43ae['docChanged']||_0x5e43ae['selectionSet']||_0x1f9614;},'mount'(_0x3d9b87,_0x28f205){zI(_0x28f205['state'],_0x3d9b87);},'class':'cm-cursorLayer'});function zI(_0x3d389b,_0x56eb48){_0x56eb48['style']['animationDuration']=_0x3d389b['facet'](ZI)['cursorBlinkRate']+'ms';}const YI=GI({'above':!0x1,'markers':_0x15dbea=>_0x15dbea['state']['selection']['ranges']['map'](_0x566a94=>_0x566a94['empty']?[]:RectangleMarker['forRange'](_0x15dbea,'cm-selectionBackground',_0x566a94))['reduce']((_0x319bbc,_0x1647c9)=>_0x319bbc['concat'](_0x1647c9)),'update':(_0x2532b0,_0x241cc6)=>_0x2532b0['docChanged']||_0x2532b0['selectionSet']||_0x2532b0['viewportChanged']||qI(_0x2532b0),'class':'cm-selectionLayer'}),KI=N_['highest'](EditorView['theme']({'.cm-line':{'&\x20::selection,\x20&::selection':{'backgroundColor':'transparent\x20!important'},'caretColor':'transparent\x20!important'},'.cm-content':{'caretColor':'transparent\x20!important','&\x20:focus':{'caretColor':'initial\x20!important','&::selection,\x20&\x20::selection':{'backgroundColor':'Highlight\x20!important'}}}})),JI=StateEffect['define']({'map':(_0x3159d0,_0x513ddf)=>null==_0x3159d0?null:_0x513ddf['mapPos'](_0x3159d0)}),tS=StateField['define']({'create':()=>null,'update':(_0x224688,_0x1451ed)=>(null!=_0x224688&&(_0x224688=_0x1451ed['changes']['mapPos'](_0x224688)),_0x1451ed['effects']['reduce']((_0xbcaef6,_0x275a82)=>_0x275a82['is'](JI)?_0x275a82['value']:_0xbcaef6,_0x224688))}),eS=ViewPlugin['fromClass'](class{constructor(_0x4b67c5){this['view']=_0x4b67c5,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x2f202b){var _0x53711a;let _0x40b848=_0x2f202b['state']['field'](tS);null==_0x40b848?null!=this['cursor']&&(null===(_0x53711a=this['cursor'])||void 0x0===_0x53711a||_0x53711a['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x2f202b['startState']['field'](tS)!=_0x40b848||_0x2f202b['docChanged']||_0x2f202b['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x57b740}=this,_0x2ad721=_0x57b740['state']['field'](tS),_0x1c51ad=null!=_0x2ad721&&_0x57b740['coordsAtPos'](_0x2ad721);if(!_0x1c51ad)return null;let _0x326ec5=_0x57b740['scrollDOM']['getBoundingClientRect']();return{'left':_0x1c51ad['left']-_0x326ec5['left']+_0x57b740['scrollDOM']['scrollLeft']*_0x57b740['scaleX'],'top':_0x1c51ad['top']-_0x326ec5['top']+_0x57b740['scrollDOM']['scrollTop']*_0x57b740['scaleY'],'height':_0x1c51ad['bottom']-_0x1c51ad['top']};}['drawCursor'](_0x414936){if(this['cursor']){let {scaleX:_0x49b20d,scaleY:_0x56d6e0}=this['view'];_0x414936?(this['cursor']['style']['left']=_0x414936['left']/_0x49b20d+'px',this['cursor']['style']['top']=_0x414936['top']/_0x56d6e0+'px',this['cursor']['style']['height']=_0x414936['height']/_0x56d6e0+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x29ab51){this['view']['state']['field'](tS)!=_0x29ab51&&this['view']['dispatch']({'effects':JI['of'](_0x29ab51)});}},{'eventObservers':{'dragover'(_0xf44a0b){this['setDropPos'](this['view']['posAtCoords']({'x':_0xf44a0b['clientX'],'y':_0xf44a0b['clientY']}));},'dragleave'(_0x536558){_0x536558['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x536558['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function iS(){return[tS,eS];}function sS(_0x5b9642,_0x47cbe9,_0x4835ef,_0x3b3415,_0x5ea509){_0x47cbe9['lastIndex']=0x0;for(let _0x1d1f16,_0x51592e=_0x5b9642['iterRange'](_0x4835ef,_0x3b3415),_0x12b757=_0x4835ef;!_0x51592e['next']()['done'];_0x12b757+=_0x51592e['value']['length'])if(!_0x51592e['lineBreak']){for(;_0x1d1f16=_0x47cbe9['exec'](_0x51592e['value']);)_0x5ea509(_0x12b757+_0x1d1f16['index'],_0x1d1f16);}}class MatchDecorator{constructor(_0x3fae67){const {regexp:_0x28e659,decoration:_0x4872fd,decorate:_0x1124c7,boundary:_0x23350c,maxLength:_0x300299=0x3e8}=_0x3fae67;if(!_0x28e659['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x28e659,_0x1124c7)this['addMatch']=(_0x3c4dfa,_0x4eeb1a,_0x1ceef0,_0x66017e)=>_0x1124c7(_0x66017e,_0x1ceef0,_0x1ceef0+_0x3c4dfa[0x0]['length'],_0x3c4dfa,_0x4eeb1a);else{if('function'==typeof _0x4872fd)this['addMatch']=(_0x3cd7c9,_0x2fc894,_0x12d9da,_0x3806ad)=>{let _0x4d2a6f=_0x4872fd(_0x3cd7c9,_0x2fc894,_0x12d9da);_0x4d2a6f&&_0x3806ad(_0x12d9da,_0x12d9da+_0x3cd7c9[0x0]['length'],_0x4d2a6f);};else{if(!_0x4872fd)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x2680a5,_0x5523a6,_0x5e6e86,_0x21dcc3)=>_0x21dcc3(_0x5e6e86,_0x5e6e86+_0x2680a5[0x0]['length'],_0x4872fd);}}this['boundary']=_0x23350c,this['maxLength']=_0x300299;}['createDeco'](_0x5b2ddc){let _0x2313c8=new RangeSetBuilder(),_0x1f81dd=_0x2313c8['add']['bind'](_0x2313c8);for(let {from:_0x1df069,to:_0x173d31}of function(_0x45ad66,_0x30205c){let _0x4e8ac8=_0x45ad66['visibleRanges'];if(0x1==_0x4e8ac8['length']&&_0x4e8ac8[0x0]['from']==_0x45ad66['viewport']['from']&&_0x4e8ac8[0x0]['to']==_0x45ad66['viewport']['to'])return _0x4e8ac8;let _0x2ba935=[];for(let {from:_0x5ac8e5,to:_0x38acac}of _0x4e8ac8)_0x5ac8e5=Math['max'](_0x45ad66['state']['doc']['lineAt'](_0x5ac8e5)['from'],_0x5ac8e5-_0x30205c),_0x38acac=Math['min'](_0x45ad66['state']['doc']['lineAt'](_0x38acac)['to'],_0x38acac+_0x30205c),_0x2ba935['length']&&_0x2ba935[_0x2ba935['length']-0x1]['to']>=_0x5ac8e5?_0x2ba935[_0x2ba935['length']-0x1]['to']=_0x38acac:_0x2ba935['push']({'from':_0x5ac8e5,'to':_0x38acac});return _0x2ba935;}(_0x5b2ddc,this['maxLength']))sS(_0x5b2ddc['state']['doc'],this['regexp'],_0x1df069,_0x173d31,(_0x251140,_0x5f5962)=>this['addMatch'](_0x5f5962,_0x5b2ddc,_0x251140,_0x1f81dd));return _0x2313c8['finish']();}['updateDeco'](_0xe69ed8,_0x574c3f){let _0x514f50=0x3b9aca00,_0x555bee=-0x1;return _0xe69ed8['docChanged']&&_0xe69ed8['changes']['iterChanges']((_0x284766,_0x1818df,_0x397103,_0x3814c5)=>{_0x3814c5>=_0xe69ed8['view']['viewport']['from']&&_0x397103<=_0xe69ed8['view']['viewport']['to']&&(_0x514f50=Math['min'](_0x397103,_0x514f50),_0x555bee=Math['max'](_0x3814c5,_0x555bee));}),_0xe69ed8['viewportMoved']||_0x555bee-_0x514f50>0x3e8?this['createDeco'](_0xe69ed8['view']):_0x555bee>-0x1?this['updateRange'](_0xe69ed8['view'],_0x574c3f['map'](_0xe69ed8['changes']),_0x514f50,_0x555bee):_0x574c3f;}['updateRange'](_0xfbd27c,_0x4fe3ba,_0x42199d,_0x59771f){for(let _0x383bb of _0xfbd27c['visibleRanges']){let _0x3c7a2f=Math['max'](_0x383bb['from'],_0x42199d),_0x365961=Math['min'](_0x383bb['to'],_0x59771f);if(_0x365961>=_0x3c7a2f){let _0x59ece5=_0xfbd27c['state']['doc']['lineAt'](_0x3c7a2f),_0x187325=_0x59ece5['to']<_0x365961?_0xfbd27c['state']['doc']['lineAt'](_0x365961):_0x59ece5,_0x10b425=Math['max'](_0x383bb['from'],_0x59ece5['from']),_0x6f5e75=Math['min'](_0x383bb['to'],_0x187325['to']);if(this['boundary']){for(;_0x3c7a2f>_0x59ece5['from'];_0x3c7a2f--)if(this['boundary']['test'](_0x59ece5['text'][_0x3c7a2f-0x1-_0x59ece5['from']])){_0x10b425=_0x3c7a2f;break;}for(;_0x365961<_0x187325['to'];_0x365961++)if(this['boundary']['test'](_0x187325['text'][_0x365961-_0x187325['from']])){_0x6f5e75=_0x365961;break;}}let _0x4fdcdc,_0x2d83f6=[],_0x5bd92c=(_0x5b7157,_0x10b6d7,_0x1a48e3)=>_0x2d83f6['push'](_0x1a48e3['range'](_0x5b7157,_0x10b6d7));if(_0x59ece5==_0x187325){for(this['regexp']['lastIndex']=_0x10b425-_0x59ece5['from'];(_0x4fdcdc=this['regexp']['exec'](_0x59ece5['text']))&&_0x4fdcdc['index']<_0x6f5e75-_0x59ece5['from'];)this['addMatch'](_0x4fdcdc,_0xfbd27c,_0x4fdcdc['index']+_0x59ece5['from'],_0x5bd92c);}else sS(_0xfbd27c['state']['doc'],this['regexp'],_0x10b425,_0x6f5e75,(_0x469500,_0x518d14)=>this['addMatch'](_0x518d14,_0xfbd27c,_0x469500,_0x5bd92c));_0x4fe3ba=_0x4fe3ba['update']({'filterFrom':_0x10b425,'filterTo':_0x6f5e75,'filter':(_0x29f962,_0x36d380)=>_0x29f962<_0x10b425||_0x36d380>_0x6f5e75,'add':_0x2d83f6});}}return _0x4fe3ba;}}const nS=null!=/x/['unicode']?'gu':'g',rS=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',nS),oS={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 aS=null;const cS=Facet['define']({'combine'(_0x5d4d23){let _0x28794f=tE(_0x5d4d23,{'render':null,'specialChars':rS,'addSpecialChars':null});return(_0x28794f['replaceTabs']=!(function(){var _0x5b089d;if(null==aS&&'undefined'!=typeof document&&document['body']){let _0x1d3441=document['body']['style'];aS=null!=(null!==(_0x5b089d=_0x1d3441['tabSize'])&&void 0x0!==_0x5b089d?_0x5b089d:_0x1d3441['MozTabSize']);}return aS||!0x1;}()))&&(_0x28794f['specialChars']=new RegExp('\x09|'+_0x28794f['specialChars']['source'],nS)),_0x28794f['addSpecialChars']&&(_0x28794f['specialChars']=new RegExp(_0x28794f['specialChars']['source']+'|'+_0x28794f['addSpecialChars']['source'],nS)),_0x28794f;}});function lS(_0x5a0ad8={}){return[cS['of'](_0x5a0ad8),hS||(hS=ViewPlugin['fromClass'](class{constructor(_0x5a4d98){this['view']=_0x5a4d98,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x5a4d98['state']['facet'](cS)),this['decorations']=this['decorator']['createDeco'](_0x5a4d98);}['makeDecorator'](_0x4046fe){return new MatchDecorator({'regexp':_0x4046fe['specialChars'],'decoration':(_0x3b1a0d,_0x15eb84,_0x3e721d)=>{let {doc:_0x1d82e5}=_0x15eb84['state'],_0x484154=d_(_0x3b1a0d[0x0],0x0);if(0x9==_0x484154){let _0xbf9c28=_0x1d82e5['lineAt'](_0x3e721d),_0x1db1a6=_0x15eb84['state']['tabSize'],_0x5d5f4d=hE(_0xbf9c28['text'],_0x1db1a6,_0x3e721d-_0xbf9c28['from']);return Decoration['replace']({'widget':new TabWidget((_0x1db1a6-_0x5d5f4d%_0x1db1a6)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x484154]||(this['decorationCache'][_0x484154]=Decoration['replace']({'widget':new SpecialCharWidget(_0x4046fe,_0x484154)}));},'boundary':_0x4046fe['replaceTabs']?void 0x0:/[^]/});}['update'](_0x26c300){let _0x2eb8a6=_0x26c300['state']['facet'](cS);_0x26c300['startState']['facet'](cS)!=_0x2eb8a6?(this['decorator']=this['makeDecorator'](_0x2eb8a6),this['decorations']=this['decorator']['createDeco'](_0x26c300['view'])):this['decorations']=this['decorator']['updateDeco'](_0x26c300,this['decorations']);}},{'decorations':_0x303f9e=>_0x303f9e['decorations']}))];}let hS=null;class SpecialCharWidget extends WidgetType{constructor(_0x55305b,_0x5ef0d9){super(),this['options']=_0x55305b,this['code']=_0x5ef0d9;}['eq'](_0x13c955){return _0x13c955['code']==this['code'];}['toDOM'](_0x51ed30){let _0x4c6d4b=function(_0x20254d){return _0x20254d>=0x20?'•':0xa==_0x20254d?'␤':String['fromCharCode'](0x2400+_0x20254d);}(this['code']),_0x18fbf3=_0x51ed30['state']['phrase']('Control\x20character')+'\x20'+(oS[this['code']]||'0x'+this['code']['toString'](0x10)),_0x33bcbf=this['options']['render']&&this['options']['render'](this['code'],_0x18fbf3,_0x4c6d4b);if(_0x33bcbf)return _0x33bcbf;let _0x2e9275=document['createElement']('span');return _0x2e9275['textContent']=_0x4c6d4b,_0x2e9275['title']=_0x18fbf3,_0x2e9275['setAttribute']('aria-label',_0x18fbf3),_0x2e9275['className']='cm-specialChar',_0x2e9275;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x20f118){super(),this['width']=_0x20f118;}['eq'](_0x2ab982){return _0x2ab982['width']==this['width'];}['toDOM'](){let _0x1b5b55=document['createElement']('span');return _0x1b5b55['textContent']='\x09',_0x1b5b55['className']='cm-tab',_0x1b5b55['style']['width']=this['width']+'px',_0x1b5b55;}['ignoreEvent'](){return!0x1;}}function uS(){return fS;}const dS=Decoration['line']({'class':'cm-activeLine'}),fS=ViewPlugin['fromClass'](class{constructor(_0x530bc8){this['decorations']=this['getDeco'](_0x530bc8);}['update'](_0x2f571c){(_0x2f571c['docChanged']||_0x2f571c['selectionSet'])&&(this['decorations']=this['getDeco'](_0x2f571c['view']));}['getDeco'](_0x20ad78){let _0x53d17d=-0x1,_0xa17deb=[];for(let _0x5340ba of _0x20ad78['state']['selection']['ranges']){let _0x553fdc=_0x20ad78['lineBlockAt'](_0x5340ba['head']);_0x553fdc['from']>_0x53d17d&&(_0xa17deb['push'](dS['range'](_0x553fdc['from'])),_0x53d17d=_0x553fdc['from']);}return Decoration['set'](_0xa17deb);}},{'decorations':_0x3d6074=>_0x3d6074['decorations']}),mS=0x7d0;function gS(_0x528644,_0x1fad00){let _0x35eeaa=_0x528644['posAtCoords']({'x':_0x1fad00['clientX'],'y':_0x1fad00['clientY']},!0x1),_0x1130e8=_0x528644['state']['doc']['lineAt'](_0x35eeaa),_0x5ee726=_0x35eeaa-_0x1130e8['from'],_0x62539c=_0x5ee726>mS?-0x1:_0x5ee726==_0x1130e8['length']?function(_0x1342db,_0x4a538c){let _0x5c5e67=_0x1342db['coordsAtPos'](_0x1342db['viewport']['from']);return _0x5c5e67?Math['round'](Math['abs']((_0x5c5e67['left']-_0x4a538c)/_0x1342db['defaultCharacterWidth'])):-0x1;}(_0x528644,_0x1fad00['clientX']):hE(_0x1130e8['text'],_0x528644['state']['tabSize'],_0x35eeaa-_0x1130e8['from']);return{'line':_0x1130e8['number'],'col':_0x62539c,'off':_0x5ee726};}function pS(_0x428e54,_0x565a24){let _0x4819a2=gS(_0x428e54,_0x565a24),_0x5386c7=_0x428e54['state']['selection'];return _0x4819a2?{'update'(_0x12cc6b){if(_0x12cc6b['docChanged']){let _0x56bcec=_0x12cc6b['changes']['mapPos'](_0x12cc6b['startState']['doc']['line'](_0x4819a2['line'])['from']),_0x42a6bc=_0x12cc6b['state']['doc']['lineAt'](_0x56bcec);_0x4819a2={'line':_0x42a6bc['number'],'col':_0x4819a2['col'],'off':Math['min'](_0x4819a2['off'],_0x42a6bc['length'])},_0x5386c7=_0x5386c7['map'](_0x12cc6b['changes']);}},'get'(_0x3c7a17,_0x44df5c,_0x50ce9b){let _0x5287b2=gS(_0x428e54,_0x3c7a17);if(!_0x5287b2)return _0x5386c7;let _0x1a552b=function(_0x2080ff,_0x451c66,_0x5a4be8){let _0x511ca5=Math['min'](_0x451c66['line'],_0x5a4be8['line']),_0x26f35e=Math['max'](_0x451c66['line'],_0x5a4be8['line']),_0x38d85d=[];if(_0x451c66['off']>mS||_0x5a4be8['off']>mS||_0x451c66['col']<0x0||_0x5a4be8['col']<0x0){let _0x3a9ffc=Math['min'](_0x451c66['off'],_0x5a4be8['off']),_0x5b8491=Math['max'](_0x451c66['off'],_0x5a4be8['off']);for(let _0x346e74=_0x511ca5;_0x346e74<=_0x26f35e;_0x346e74++){let _0xe77cec=_0x2080ff['doc']['line'](_0x346e74);_0xe77cec['length']<=_0x5b8491&&_0x38d85d['push'](EditorSelection['range'](_0xe77cec['from']+_0x3a9ffc,_0xe77cec['to']+_0x5b8491));}}else{let _0x1081f9=Math['min'](_0x451c66['col'],_0x5a4be8['col']),_0x13c644=Math['max'](_0x451c66['col'],_0x5a4be8['col']);for(let _0xec835c=_0x511ca5;_0xec835c<=_0x26f35e;_0xec835c++){let _0x567d66=_0x2080ff['doc']['line'](_0xec835c),_0x5835d7=uE(_0x567d66['text'],_0x1081f9,_0x2080ff['tabSize'],!0x0);if(_0x5835d7<0x0)_0x38d85d['push'](EditorSelection['cursor'](_0x567d66['to']));else{let _0x19f865=uE(_0x567d66['text'],_0x13c644,_0x2080ff['tabSize']);_0x38d85d['push'](EditorSelection['range'](_0x567d66['from']+_0x5835d7,_0x567d66['from']+_0x19f865));}}}return _0x38d85d;}(_0x428e54['state'],_0x4819a2,_0x5287b2);return _0x1a552b['length']?_0x50ce9b?EditorSelection['create'](_0x1a552b['concat'](_0x5386c7['ranges'])):EditorSelection['create'](_0x1a552b):_0x5386c7;}}:null;}function OS(_0x234695){return EditorView['mouseSelectionStyle']['of']((_0x4f714a,_0x1f1ec3)=>{return(_0x5be491=_0x1f1ec3)['altKey']&&0x0==_0x5be491['button']?pS(_0x4f714a,_0x1f1ec3):null;var _0x5be491;});}const wS={'Alt':[0x12,_0x5aa39b=>!!_0x5aa39b['altKey']],'Control':[0x11,_0x1291c6=>!!_0x1291c6['ctrlKey']],'Shift':[0x10,_0x3c8b07=>!!_0x3c8b07['shiftKey']],'Meta':[0x5b,_0x46d30a=>!!_0x46d30a['metaKey']]},bS={'style':'cursor:\x20crosshair'};function yS(_0x31c5d0={}){let [_0x374712,_0x41a476]=wS[_0x31c5d0['key']||'Alt'],_0x125595=ViewPlugin['fromClass'](class{constructor(_0x2d0973){this['view']=_0x2d0973,this['isDown']=!0x1;}['set'](_0xb94bda){this['isDown']!=_0xb94bda&&(this['isDown']=_0xb94bda,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x1a45e3){this['set'](_0x1a45e3['keyCode']==_0x374712||_0x41a476(_0x1a45e3));},'keyup'(_0x323cd6){_0x323cd6['keyCode']!=_0x374712&&_0x41a476(_0x323cd6)||this['set'](!0x1);},'mousemove'(_0xb6c357){this['set'](_0x41a476(_0xb6c357));}}});return[_0x125595,EditorView['contentAttributes']['of'](_0x26ee8a=>{var _0x3491f3;return(null===(_0x3491f3=_0x26ee8a['plugin'](_0x125595))||void 0x0===_0x3491f3?void 0x0:_0x3491f3['isDown'])?bS:null;})];}const vS='-10000px';class TooltipViewManager{constructor(_0xfe9ef9,_0x8b4417,_0x32bc4f,_0x2fd48c){this['facet']=_0x8b4417,this['createTooltipView']=_0x32bc4f,this['removeTooltipView']=_0x2fd48c,this['input']=_0xfe9ef9['state']['facet'](_0x8b4417),this['tooltips']=this['input']['filter'](t=>t);let _0x33dd52=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x33dd52=_0x32bc4f(t,_0x33dd52));}['update'](_0x189ba6,_0x44a0cd){var _0x31813b;let _0x9dd62e=_0x189ba6['state']['facet'](this['facet']),_0x164b06=_0x9dd62e['filter'](_0xbe4879=>_0xbe4879);if(_0x9dd62e===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x189ba6);return!0x1;}let _0x5e2b7c=[],_0x4861b7=_0x44a0cd?[]:null;for(let _0x1643dc=0x0;_0x1643dc<_0x164b06['length'];_0x1643dc++){let _0xf149e4=_0x164b06[_0x1643dc],_0xa1d573=-0x1;if(_0xf149e4){for(let _0x34c11d=0x0;_0x34c11d<this['tooltips']['length'];_0x34c11d++){let _0x16cdf4=this['tooltips'][_0x34c11d];_0x16cdf4&&_0x16cdf4['create']==_0xf149e4['create']&&(_0xa1d573=_0x34c11d);}if(_0xa1d573<0x0)_0x5e2b7c[_0x1643dc]=this['createTooltipView'](_0xf149e4,_0x1643dc?_0x5e2b7c[_0x1643dc-0x1]:null),_0x4861b7&&(_0x4861b7[_0x1643dc]=!!_0xf149e4['above']);else{let _0x552060=_0x5e2b7c[_0x1643dc]=this['tooltipViews'][_0xa1d573];_0x4861b7&&(_0x4861b7[_0x1643dc]=_0x44a0cd[_0xa1d573]),_0x552060['update']&&_0x552060['update'](_0x189ba6);}}}for(let t of this['tooltipViews'])_0x5e2b7c['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x31813b=t['destroy'])||void 0x0===_0x31813b||_0x31813b['call'](t));return _0x44a0cd&&(_0x4861b7['forEach']((_0x18e97a,_0x199109)=>_0x44a0cd[_0x199109]=_0x18e97a),_0x44a0cd['length']=_0x4861b7['length']),this['input']=_0x9dd62e,this['tooltips']=_0x164b06,this['tooltipViews']=_0x5e2b7c,!0x0;}}function _S(_0x5a39b5){let _0x82c72c=_0x5a39b5['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x82c72c['clientHeight'],'right':_0x82c72c['clientWidth']};}const ES=Facet['define']({'combine':_0x2fc81f=>{var _0x404ffc,_0x3d7a75,_0x2f5d25;return{'position':ME['ios']?'absolute':(null===(_0x404ffc=_0x2fc81f['find'](_0x251802=>_0x251802['position']))||void 0x0===_0x404ffc?void 0x0:_0x404ffc['position'])||'fixed','parent':(null===(_0x3d7a75=_0x2fc81f['find'](_0x1353d8=>_0x1353d8['parent']))||void 0x0===_0x3d7a75?void 0x0:_0x3d7a75['parent'])||null,'tooltipSpace':(null===(_0x2f5d25=_0x2fc81f['find'](_0x4fd657=>_0x4fd657['tooltipSpace']))||void 0x0===_0x2f5d25?void 0x0:_0x2f5d25['tooltipSpace'])||_S};}}),TS=new WeakMap(),AS=ViewPlugin['fromClass'](class{constructor(_0x43cb05){this['view']=_0x43cb05,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0xab6527=_0x43cb05['state']['facet'](ES);this['position']=_0xab6527['position'],this['parent']=_0xab6527['parent'],this['classes']=_0x43cb05['themeClasses'],this['createContainer'](),this['measureReq']={'read':this['readMeasure']['bind'](this),'write':this['writeMeasure']['bind'](this),'key':this},this['resizeObserver']='function'==typeof ResizeObserver?new ResizeObserver(()=>this['measureSoon']()):null,this['manager']=new TooltipViewManager(_0x43cb05,kS,(t,_0x5dcb07)=>this['createTooltip'](t,_0x5dcb07),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(_0x3f29f6=>{Date['now']()>this['lastTransaction']-0x32&&_0x3f29f6['length']>0x0&&_0x3f29f6[_0x3f29f6['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x43cb05['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 _0x1da8fb of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x1da8fb['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x5aa298){_0x5aa298['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0xe9026=this['manager']['update'](_0x5aa298,this['above']);_0xe9026&&this['observeIntersection']();let _0x30824a=_0xe9026||_0x5aa298['geometryChanged'],_0x34e113=_0x5aa298['state']['facet'](ES);if(_0x34e113['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x34e113['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x30824a=!0x0;}if(_0x34e113['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x34e113['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x30824a=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x30824a&&this['maybeMeasure']();}['createTooltip'](_0x10562c,_0x42479b){let _0xb5cc7a=_0x10562c['create'](this['view']),_0xd5ff07=_0x42479b?_0x42479b['dom']:null;if(_0xb5cc7a['dom']['classList']['add']('cm-tooltip'),_0x10562c['arrow']&&!_0xb5cc7a['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x544c0a=document['createElement']('div');_0x544c0a['className']='cm-tooltip-arrow',_0xb5cc7a['dom']['appendChild'](_0x544c0a);}return _0xb5cc7a['dom']['style']['position']=this['position'],_0xb5cc7a['dom']['style']['top']=vS,_0xb5cc7a['dom']['style']['left']='0px',this['container']['insertBefore'](_0xb5cc7a['dom'],_0xd5ff07),_0xb5cc7a['mount']&&_0xb5cc7a['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0xb5cc7a['dom']),_0xb5cc7a;}['destroy'](){var _0x5e01fd,_0x1df78d,_0x2cbf15;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x38abb0 of this['manager']['tooltipViews'])_0x38abb0['dom']['remove'](),null===(_0x5e01fd=_0x38abb0['destroy'])||void 0x0===_0x5e01fd||_0x5e01fd['call'](_0x38abb0);this['parent']&&this['container']['remove'](),null===(_0x1df78d=this['resizeObserver'])||void 0x0===_0x1df78d||_0x1df78d['disconnect'](),null===(_0x2cbf15=this['intersectionObserver'])||void 0x0===_0x2cbf15||_0x2cbf15['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x4a7d26=0x1,_0x26477c=0x1,_0x1422b2=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x227293}=this['manager']['tooltipViews'][0x0];if(ME['gecko'])_0x1422b2=_0x227293['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x227293['style']['top']==vS&&'0px'==_0x227293['style']['left']){let _0x1f9b98=_0x227293['getBoundingClientRect']();_0x1422b2=Math['abs'](_0x1f9b98['top']+0x2710)>0x1||Math['abs'](_0x1f9b98['left'])>0x1;}}}if(_0x1422b2||'absolute'==this['position']){if(this['parent']){let _0x5dbbeb=this['parent']['getBoundingClientRect']();_0x5dbbeb['width']&&_0x5dbbeb['height']&&(_0x4a7d26=_0x5dbbeb['width']/this['parent']['offsetWidth'],_0x26477c=_0x5dbbeb['height']/this['parent']['offsetHeight']);}else({scaleX:_0x4a7d26,scaleY:_0x26477c}=this['view']['viewState']);}let _0x21772d=this['view']['scrollDOM']['getBoundingClientRect'](),_0x4f0805=lA(this['view']);return{'visible':{'left':_0x21772d['left']+_0x4f0805['left'],'top':_0x21772d['top']+_0x4f0805['top'],'right':_0x21772d['right']-_0x4f0805['right'],'bottom':_0x21772d['bottom']-_0x4f0805['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x479845)=>{let _0x58e413=this['manager']['tooltipViews'][_0x479845];return _0x58e413['getCoords']?_0x58e413['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x68821})=>_0x68821['getBoundingClientRect']()),'space':this['view']['state']['facet'](ES)['tooltipSpace'](this['view']),'scaleX':_0x4a7d26,'scaleY':_0x26477c,'makeAbsolute':_0x1422b2};}['writeMeasure'](_0x436f24){var _0x5424a4;if(_0x436f24['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x50e27c,space:_0x50ca38,scaleX:_0x53b016,scaleY:_0x69cf97}=_0x436f24,_0x288ad2=[];for(let _0x1ab4c0=0x0;_0x1ab4c0<this['manager']['tooltips']['length'];_0x1ab4c0++){let _0x2d6c79=this['manager']['tooltips'][_0x1ab4c0],_0x2d99fd=this['manager']['tooltipViews'][_0x1ab4c0],{dom:_0x58078e}=_0x2d99fd,_0x234593=_0x436f24['pos'][_0x1ab4c0],_0x8d967=_0x436f24['size'][_0x1ab4c0];if(!_0x234593||!0x1!==_0x2d6c79['clip']&&(_0x234593['bottom']<=Math['max'](_0x50e27c['top'],_0x50ca38['top'])||_0x234593['top']>=Math['min'](_0x50e27c['bottom'],_0x50ca38['bottom'])||_0x234593['right']<Math['max'](_0x50e27c['left'],_0x50ca38['left'])-0.1||_0x234593['left']>Math['min'](_0x50e27c['right'],_0x50ca38['right'])+0.1)){_0x58078e['style']['top']=vS;continue;}let _0x20cc31=_0x2d6c79['arrow']?_0x2d99fd['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x11f8b9=_0x20cc31?0x7:0x0,_0x11d155=_0x8d967['right']-_0x8d967['left'],_0x4a76df=null!==(_0x5424a4=TS['get'](_0x2d99fd))&&void 0x0!==_0x5424a4?_0x5424a4:_0x8d967['bottom']-_0x8d967['top'],_0x52c76e=_0x2d99fd['offset']||CS,_0x2bb7e7=this['view']['textDirection']==wT['LTR'],_0x4ebe07=_0x8d967['width']>_0x50ca38['right']-_0x50ca38['left']?_0x2bb7e7?_0x50ca38['left']:_0x50ca38['right']-_0x8d967['width']:_0x2bb7e7?Math['max'](_0x50ca38['left'],Math['min'](_0x234593['left']-(_0x20cc31?0xe:0x0)+_0x52c76e['x'],_0x50ca38['right']-_0x11d155)):Math['min'](Math['max'](_0x50ca38['left'],_0x234593['left']-_0x11d155+(_0x20cc31?0xe:0x0)-_0x52c76e['x']),_0x50ca38['right']-_0x11d155),_0x501a56=this['above'][_0x1ab4c0];!_0x2d6c79['strictSide']&&(_0x501a56?_0x234593['top']-_0x4a76df-_0x11f8b9-_0x52c76e['y']<_0x50ca38['top']:_0x234593['bottom']+_0x4a76df+_0x11f8b9+_0x52c76e['y']>_0x50ca38['bottom'])&&_0x501a56==_0x50ca38['bottom']-_0x234593['bottom']>_0x234593['top']-_0x50ca38['top']&&(_0x501a56=this['above'][_0x1ab4c0]=!_0x501a56);let _0x551493=(_0x501a56?_0x234593['top']-_0x50ca38['top']:_0x50ca38['bottom']-_0x234593['bottom'])-_0x11f8b9;if(_0x551493<_0x4a76df&&!0x1!==_0x2d99fd['resize']){if(_0x551493<this['view']['defaultLineHeight']){_0x58078e['style']['top']=vS;continue;}TS['set'](_0x2d99fd,_0x4a76df),_0x58078e['style']['height']=(_0x4a76df=_0x551493)/_0x69cf97+'px';}else _0x58078e['style']['height']&&(_0x58078e['style']['height']='');let _0xb1631=_0x501a56?_0x234593['top']-_0x4a76df-_0x11f8b9-_0x52c76e['y']:_0x234593['bottom']+_0x11f8b9+_0x52c76e['y'],_0x5585c2=_0x4ebe07+_0x11d155;if(!0x0!==_0x2d99fd['overlap']){for(let _0x4311f7 of _0x288ad2)_0x4311f7['left']<_0x5585c2&&_0x4311f7['right']>_0x4ebe07&&_0x4311f7['top']<_0xb1631+_0x4a76df&&_0x4311f7['bottom']>_0xb1631&&(_0xb1631=_0x501a56?_0x4311f7['top']-_0x4a76df-0x2-_0x11f8b9:_0x4311f7['bottom']+_0x11f8b9+0x2);}if('absolute'==this['position']?(_0x58078e['style']['top']=(_0xb1631-_0x436f24['parent']['top'])/_0x69cf97+'px',IS(_0x58078e,(_0x4ebe07-_0x436f24['parent']['left'])/_0x53b016)):(_0x58078e['style']['top']=_0xb1631/_0x69cf97+'px',IS(_0x58078e,_0x4ebe07/_0x53b016)),_0x20cc31){let _0x395265=_0x234593['left']+(_0x2bb7e7?_0x52c76e['x']:-_0x52c76e['x'])-(_0x4ebe07+0xe-0x7);_0x20cc31['style']['left']=_0x395265/_0x53b016+'px';}!0x0!==_0x2d99fd['overlap']&&_0x288ad2['push']({'left':_0x4ebe07,'top':_0xb1631,'right':_0x5585c2,'bottom':_0xb1631+_0x4a76df}),_0x58078e['classList']['toggle']('cm-tooltip-above',_0x501a56),_0x58078e['classList']['toggle']('cm-tooltip-below',!_0x501a56),_0x2d99fd['positioned']&&_0x2d99fd['positioned'](_0x436f24['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 _0x2327fc of this['manager']['tooltipViews'])_0x2327fc['dom']['style']['top']=vS;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function IS(_0x1210ed,_0x4a4703){let _0x39ed3f=parseInt(_0x1210ed['style']['left'],0xa);(isNaN(_0x39ed3f)||Math['abs'](_0x4a4703-_0x39ed3f)>0x1)&&(_0x1210ed['style']['left']=_0x4a4703+'px');}const SS=EditorView['baseTheme']({'.cm-tooltip':{'zIndex':0x1f4,'boxSizing':'border-box'},'&light\x20.cm-tooltip':{'border':'1px\x20solid\x20#bbb','backgroundColor':'#f5f5f5'},'&light\x20.cm-tooltip-section:not(:first-child)':{'borderTop':'1px\x20solid\x20#bbb'},'&dark\x20.cm-tooltip':{'backgroundColor':'#333338','color':'white'},'.cm-tooltip-arrow':{'height':'7px','width':'14px','position':'absolute','zIndex':-0x1,'overflow':'hidden','&:before,\x20&:after':{'content':'\x27\x27','position':'absolute','width':0x0,'height':0x0,'borderLeft':'7px\x20solid\x20transparent','borderRight':'7px\x20solid\x20transparent'},'.cm-tooltip-above\x20&':{'bottom':'-7px','&:before':{'borderTop':'7px\x20solid\x20#bbb'},'&:after':{'borderTop':'7px\x20solid\x20#f5f5f5','bottom':'1px'}},'.cm-tooltip-below\x20&':{'top':'-7px','&:before':{'borderBottom':'7px\x20solid\x20#bbb'},'&:after':{'borderBottom':'7px\x20solid\x20#f5f5f5','top':'1px'}}},'&dark\x20.cm-tooltip\x20.cm-tooltip-arrow':{'&:before':{'borderTopColor':'#333338','borderBottomColor':'#333338'},'&:after':{'borderTopColor':'transparent','borderBottomColor':'transparent'}}}),CS={'x':0x0,'y':0x0},kS=Facet['define']({'enables':[AS,SS]});function xS(_0x3eaa14,_0x42a6bd){let _0xc875a8=_0x3eaa14['plugin'](AS);if(!_0xc875a8)return null;let _0x22185c=_0xc875a8['manager']['tooltips']['indexOf'](_0x42a6bd);return _0x22185c<0x0?null:_0xc875a8['manager']['tooltipViews'][_0x22185c];}class GutterMarker extends RangeValue{['compare'](_0x110d24){return this==_0x110d24||this['constructor']==_0x110d24['constructor']&&this['eq'](_0x110d24);}['eq'](_0x3f66f0){return!0x1;}['destroy'](_0x219789){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=p_['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const RS=Facet['define'](),PS=Facet['define'](),MS={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},NS=Facet['define']();function LS(_0x2401a8){return[DS(),NS['of']({...MS,..._0x2401a8})];}const $S=Facet['define']({'combine':_0x39678b=>_0x39678b['some'](_0x3ca93d=>_0x3ca93d)});function DS(_0x3a322d){return[QS];}const QS=ViewPlugin['fromClass'](class{constructor(_0x32bbc6){this['view']=_0x32bbc6,this['domAfter']=null,this['prevViewport']=_0x32bbc6['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']=_0x32bbc6['state']['facet'](NS)['map'](_0x29e105=>new SingleGutterView(_0x32bbc6,_0x29e105)),this['fixed']=!_0x32bbc6['state']['facet']($S);for(let _0x2daf73 of this['gutters'])'after'==_0x2daf73['config']['side']?this['getDOMAfter']()['appendChild'](_0x2daf73['dom']):this['dom']['appendChild'](_0x2daf73['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x32bbc6['scrollDOM']['insertBefore'](this['dom'],_0x32bbc6['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'](_0x536a4e){if(this['updateGutters'](_0x536a4e)){let _0x192cff=this['prevViewport'],_0x1e720f=_0x536a4e['view']['viewport'],_0x435561=Math['min'](_0x192cff['to'],_0x1e720f['to'])-Math['max'](_0x192cff['from'],_0x1e720f['from']);this['syncGutters'](_0x435561<0.8*(_0x1e720f['to']-_0x1e720f['from']));}if(_0x536a4e['geometryChanged']){let _0x585592=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x585592,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x585592);}this['view']['state']['facet']($S)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x536a4e['view']['viewport'];}['syncGutters'](_0x2ed7ca){let _0x166b13=this['dom']['nextSibling'];_0x2ed7ca&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x51057a=RangeSet['iter'](this['view']['state']['facet'](RS),this['view']['viewport']['from']),_0x173db9=[],_0x35f90b=this['gutters']['map'](_0x640898=>new UpdateContext(_0x640898,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x4c3715 of this['view']['viewportLineBlocks'])if(_0x173db9['length']&&(_0x173db9=[]),Array['isArray'](_0x4c3715['type'])){let _0x59654b=!0x0;for(let _0xeafd6 of _0x4c3715['type'])if(_0xeafd6['type']==mT['Text']&&_0x59654b){US(_0x51057a,_0x173db9,_0xeafd6['from']);for(let _0x2166c6 of _0x35f90b)_0x2166c6['line'](this['view'],_0xeafd6,_0x173db9);_0x59654b=!0x1;}else{if(_0xeafd6['widget']){for(let _0x3ebde0 of _0x35f90b)_0x3ebde0['widget'](this['view'],_0xeafd6);}}}else{if(_0x4c3715['type']==mT['Text']){US(_0x51057a,_0x173db9,_0x4c3715['from']);for(let _0x2bd0f1 of _0x35f90b)_0x2bd0f1['line'](this['view'],_0x4c3715,_0x173db9);}else{if(_0x4c3715['widget']){for(let _0x41e950 of _0x35f90b)_0x41e950['widget'](this['view'],_0x4c3715);}}}for(let _0x56ef59 of _0x35f90b)_0x56ef59['finish']();_0x2ed7ca&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x166b13),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x3cda69){let _0x459616=_0x3cda69['startState']['facet'](NS),_0x24426a=_0x3cda69['state']['facet'](NS),_0xbac0c2=_0x3cda69['docChanged']||_0x3cda69['heightChanged']||_0x3cda69['viewportChanged']||!RangeSet['eq'](_0x3cda69['startState']['facet'](RS),_0x3cda69['state']['facet'](RS),_0x3cda69['view']['viewport']['from'],_0x3cda69['view']['viewport']['to']);if(_0x459616==_0x24426a){for(let _0x4a324d of this['gutters'])_0x4a324d['update'](_0x3cda69)&&(_0xbac0c2=!0x0);}else{_0xbac0c2=!0x0;let _0x1ef338=[];for(let _0x403eea of _0x24426a){let _0x33776d=_0x459616['indexOf'](_0x403eea);_0x33776d<0x0?_0x1ef338['push'](new SingleGutterView(this['view'],_0x403eea)):(this['gutters'][_0x33776d]['update'](_0x3cda69),_0x1ef338['push'](this['gutters'][_0x33776d]));}for(let _0x1f6758 of this['gutters'])_0x1f6758['dom']['remove'](),_0x1ef338['indexOf'](_0x1f6758)<0x0&&_0x1f6758['destroy']();for(let _0x24850b of _0x1ef338)'after'==_0x24850b['config']['side']?this['getDOMAfter']()['appendChild'](_0x24850b['dom']):this['dom']['appendChild'](_0x24850b['dom']);this['gutters']=_0x1ef338;}return _0xbac0c2;}['destroy'](){for(let _0x409635 of this['gutters'])_0x409635['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x4e26e7=>EditorView['scrollMargins']['of'](_0x325f4a=>{let _0x422cd3=_0x325f4a['plugin'](_0x4e26e7);if(!_0x422cd3||0x0==_0x422cd3['gutters']['length']||!_0x422cd3['fixed'])return null;let _0x59fcee=_0x422cd3['dom']['offsetWidth']*_0x325f4a['scaleX'],_0x106bcf=_0x422cd3['domAfter']?_0x422cd3['domAfter']['offsetWidth']*_0x325f4a['scaleX']:0x0;return _0x325f4a['textDirection']==wT['LTR']?{'left':_0x59fcee,'right':_0x106bcf}:{'right':_0x59fcee,'left':_0x106bcf};})});function VS(_0x432d34){return Array['isArray'](_0x432d34)?_0x432d34:[_0x432d34];}function US(_0x70dc77,_0x2cd0d3,_0x297b53){for(;_0x70dc77['value']&&_0x70dc77['from']<=_0x297b53;)_0x70dc77['from']==_0x297b53&&_0x2cd0d3['push'](_0x70dc77['value']),_0x70dc77['next']();}class UpdateContext{constructor(_0xacb52f,_0x7f66c5,_0x1bdcac){this['gutter']=_0xacb52f,this['height']=_0x1bdcac,this['i']=0x0,this['cursor']=RangeSet['iter'](_0xacb52f['markers'],_0x7f66c5['from']);}['addElement'](_0x457358,_0x4da248,_0x3a2210){let {gutter:_0x18ff00}=this,_0x279e4c=(_0x4da248['top']-this['height'])/_0x457358['scaleY'],_0x9ff54b=_0x4da248['height']/_0x457358['scaleY'];if(this['i']==_0x18ff00['elements']['length']){let _0x46073d=new GutterElement(_0x457358,_0x9ff54b,_0x279e4c,_0x3a2210);_0x18ff00['elements']['push'](_0x46073d),_0x18ff00['dom']['appendChild'](_0x46073d['dom']);}else _0x18ff00['elements'][this['i']]['update'](_0x457358,_0x9ff54b,_0x279e4c,_0x3a2210);this['height']=_0x4da248['bottom'],this['i']++;}['line'](_0x50e739,_0x39eec1,_0x5af879){let _0x2a1abf=[];US(this['cursor'],_0x2a1abf,_0x39eec1['from']),_0x5af879['length']&&(_0x2a1abf=_0x2a1abf['concat'](_0x5af879));let _0x466908=this['gutter']['config']['lineMarker'](_0x50e739,_0x39eec1,_0x2a1abf);_0x466908&&_0x2a1abf['unshift'](_0x466908);let _0x2a1c59=this['gutter'];(0x0!=_0x2a1abf['length']||_0x2a1c59['config']['renderEmptyElements'])&&this['addElement'](_0x50e739,_0x39eec1,_0x2a1abf);}['widget'](_0x5a35fe,_0x2498da){let _0xa2743a=this['gutter']['config']['widgetMarker'](_0x5a35fe,_0x2498da['widget'],_0x2498da),_0xcb1a47=_0xa2743a?[_0xa2743a]:null;for(let _0x4b4b00 of _0x5a35fe['state']['facet'](PS)){let _0x2fcaba=_0x4b4b00(_0x5a35fe,_0x2498da['widget'],_0x2498da);_0x2fcaba&&(_0xcb1a47||(_0xcb1a47=[]))['push'](_0x2fcaba);}_0xcb1a47&&this['addElement'](_0x5a35fe,_0x2498da,_0xcb1a47);}['finish'](){let _0xbbcdf1=this['gutter'];for(;_0xbbcdf1['elements']['length']>this['i'];){let _0x47bb75=_0xbbcdf1['elements']['pop']();_0xbbcdf1['dom']['removeChild'](_0x47bb75['dom']),_0x47bb75['destroy']();}}}class SingleGutterView{constructor(_0x4d11bb,_0x170bdf){this['view']=_0x4d11bb,this['config']=_0x170bdf,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x599236 in _0x170bdf['domEventHandlers'])this['dom']['addEventListener'](_0x599236,_0x14f380=>{let _0x14aa79,_0x1a79e3=_0x14f380['target'];if(_0x1a79e3!=this['dom']&&this['dom']['contains'](_0x1a79e3)){for(;_0x1a79e3['parentNode']!=this['dom'];)_0x1a79e3=_0x1a79e3['parentNode'];let _0x2fd12c=_0x1a79e3['getBoundingClientRect']();_0x14aa79=(_0x2fd12c['top']+_0x2fd12c['bottom'])/0x2;}else _0x14aa79=_0x14f380['clientY'];let _0x231c2a=_0x4d11bb['lineBlockAtHeight'](_0x14aa79-_0x4d11bb['documentTop']);_0x170bdf['domEventHandlers'][_0x599236](_0x4d11bb,_0x231c2a,_0x14f380)&&_0x14f380['preventDefault']();});this['markers']=VS(_0x170bdf['markers'](_0x4d11bb)),_0x170bdf['initialSpacer']&&(this['spacer']=new GutterElement(_0x4d11bb,0x0,0x0,[_0x170bdf['initialSpacer'](_0x4d11bb)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x15fe24){let _0x350dcd=this['markers'];if(this['markers']=VS(this['config']['markers'](_0x15fe24['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x4b62f3=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x15fe24);_0x4b62f3!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x15fe24['view'],0x0,0x0,[_0x4b62f3]);}let _0x113017=_0x15fe24['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x350dcd,_0x113017['from'],_0x113017['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x15fe24);}['destroy'](){for(let _0x4986c9 of this['elements'])_0x4986c9['destroy']();}}class GutterElement{constructor(_0x4cabed,_0x35c2bc,_0x39d8ed,_0x7931){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x4cabed,_0x35c2bc,_0x39d8ed,_0x7931);}['update'](_0x20f077,_0x1e2de0,_0x119d00,_0x2d7bc9){this['height']!=_0x1e2de0&&(this['height']=_0x1e2de0,this['dom']['style']['height']=_0x1e2de0+'px'),this['above']!=_0x119d00&&(this['dom']['style']['marginTop']=(this['above']=_0x119d00)?_0x119d00+'px':''),function(_0x516bfb,_0x90d531){if(_0x516bfb['length']!=_0x90d531['length'])return!0x1;for(let _0x4fba14=0x0;_0x4fba14<_0x516bfb['length'];_0x4fba14++)if(!_0x516bfb[_0x4fba14]['compare'](_0x90d531[_0x4fba14]))return!0x1;return!0x0;}(this['markers'],_0x2d7bc9)||this['setMarkers'](_0x20f077,_0x2d7bc9);}['setMarkers'](_0x5cbc6b,_0x49c48b){let _0x5ad1d6='cm-gutterElement',_0x354218=this['dom']['firstChild'];for(let _0x3f854e=0x0,_0xf73ea1=0x0;;){let _0x5257c9=_0xf73ea1,_0x13f85b=_0x3f854e<_0x49c48b['length']?_0x49c48b[_0x3f854e++]:null,_0x16b409=!0x1;if(_0x13f85b){let _0x244695=_0x13f85b['elementClass'];_0x244695&&(_0x5ad1d6+='\x20'+_0x244695);for(let _0x926535=_0xf73ea1;_0x926535<this['markers']['length'];_0x926535++)if(this['markers'][_0x926535]['compare'](_0x13f85b)){_0x5257c9=_0x926535,_0x16b409=!0x0;break;}}else _0x5257c9=this['markers']['length'];for(;_0xf73ea1<_0x5257c9;){let _0x2751b3=this['markers'][_0xf73ea1++];if(_0x2751b3['toDOM']){_0x2751b3['destroy'](_0x354218);let _0x4ad48e=_0x354218['nextSibling'];_0x354218['remove'](),_0x354218=_0x4ad48e;}}if(!_0x13f85b)break;_0x13f85b['toDOM']&&(_0x16b409?_0x354218=_0x354218['nextSibling']:this['dom']['insertBefore'](_0x13f85b['toDOM'](_0x5cbc6b),_0x354218)),_0x16b409&&_0xf73ea1++;}this['dom']['className']=_0x5ad1d6,this['markers']=_0x49c48b;}['destroy'](){this['setMarkers'](null,[]);}}const BS=Facet['define'](),FS=Facet['define'](),jS=Facet['define']({'combine':_0x19fe83=>tE(_0x19fe83,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x3f2656,_0x2906d2){let _0x33a512=Object['assign']({},_0x3f2656);for(let _0x28ed36 in _0x2906d2){let _0x31265e=_0x33a512[_0x28ed36],_0x23b756=_0x2906d2[_0x28ed36];_0x33a512[_0x28ed36]=_0x31265e?(_0x459480,_0x3781e1,_0x3bb390)=>_0x31265e(_0x459480,_0x3781e1,_0x3bb390)||_0x23b756(_0x459480,_0x3781e1,_0x3bb390):_0x23b756;}return _0x33a512;}})});class NumberMarker extends GutterMarker{constructor(_0x59b9d7){super(),this['number']=_0x59b9d7;}['eq'](_0x2184ec){return this['number']==_0x2184ec['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function HS(_0x52244d,_0x1acd39){return _0x52244d['state']['facet'](jS)['formatNumber'](_0x1acd39,_0x52244d['state']);}const GS=NS['compute']([jS],_0x480d0d=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x16a47d=>_0x16a47d['state']['facet'](BS),'lineMarker':(_0x3688e3,_0x39c944,_0x145b57)=>_0x145b57['some'](_0x3ead10=>_0x3ead10['toDOM'])?null:new NumberMarker(HS(_0x3688e3,_0x3688e3['state']['doc']['lineAt'](_0x39c944['from'])['number'])),'widgetMarker':(_0x358164,_0x5da63b,_0x138cd4)=>{for(let _0x3de19f of _0x358164['state']['facet'](FS)){let _0x46cd92=_0x3de19f(_0x358164,_0x5da63b,_0x138cd4);if(_0x46cd92)return _0x46cd92;}return null;},'lineMarkerChange':_0x4e2dc1=>_0x4e2dc1['startState']['facet'](jS)!=_0x4e2dc1['state']['facet'](jS),'initialSpacer':_0x373228=>new NumberMarker(HS(_0x373228,XS(_0x373228['state']['doc']['lines']))),'updateSpacer'(_0x31c591,_0x5ae621){let _0x5b726d=HS(_0x5ae621['view'],XS(_0x5ae621['view']['state']['doc']['lines']));return _0x5b726d==_0x31c591['number']?_0x31c591:new NumberMarker(_0x5b726d);},'domEventHandlers':_0x480d0d['facet'](jS)['domEventHandlers'],'side':'before'}));function ZS(_0x1588bf={}){return[jS['of'](_0x1588bf),DS(),GS];}function XS(_0x2d353d){let _0x13553c=0x9;for(;_0x13553c<_0x2d353d;)_0x13553c=0xa*_0x13553c+0x9;return _0x13553c;}const qS=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),zS=RS['compute'](['selection'],_0x654ff1=>{let _0x16862f=[],_0x22d002=-0x1;for(let _0x484611 of _0x654ff1['selection']['ranges']){let _0x426645=_0x654ff1['doc']['lineAt'](_0x484611['head'])['from'];_0x426645>_0x22d002&&(_0x22d002=_0x426645,_0x16862f['push'](qS['range'](_0x426645)));}return RangeSet['of'](_0x16862f);});function YS(){return zS;}const KS=0x400;let JS=0x0;class Range{constructor(_0x42810c,_0x5c150c){this['from']=_0x42810c,this['to']=_0x5c150c;}}class NodeProp{constructor(_0x2e24c6={}){this['id']=JS++,this['perNode']=!!_0x2e24c6['perNode'],this['deserialize']=_0x2e24c6['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x2e24c6['combine']||null;}['add'](_0x4ed056){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x4ed056&&(_0x4ed056=NodeType['match'](_0x4ed056)),_0x3ac3c8=>{let _0x12bc93=_0x4ed056(_0x3ac3c8);return void 0x0===_0x12bc93?null:[this,_0x12bc93];};}}NodeProp['closedBy']=new NodeProp({'deserialize':_0x579b66=>_0x579b66['split']('\x20')}),NodeProp['openedBy']=new NodeProp({'deserialize':_0x4e7fdf=>_0x4e7fdf['split']('\x20')}),NodeProp['group']=new NodeProp({'deserialize':_0x13a1ee=>_0x13a1ee['split']('\x20')}),NodeProp['isolate']=new NodeProp({'deserialize':_0x2ce297=>{if(_0x2ce297&&'rtl'!=_0x2ce297&&'ltr'!=_0x2ce297&&'auto'!=_0x2ce297)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x2ce297);return _0x2ce297||'auto';}}),NodeProp['contextHash']=new NodeProp({'perNode':!0x0}),NodeProp['lookAhead']=new NodeProp({'perNode':!0x0}),NodeProp['mounted']=new NodeProp({'perNode':!0x0});class MountedTree{constructor(_0x1786af,_0x512ab8,_0x32eeb1){this['tree']=_0x1786af,this['overlay']=_0x512ab8,this['parser']=_0x32eeb1;}static['get'](_0x1a88dd){return _0x1a88dd&&_0x1a88dd['props']&&_0x1a88dd['props'][NodeProp['mounted']['id']];}}const tC=Object['create'](null);class NodeType{constructor(_0x2eaf67,_0x358cdc,_0x83085d,_0x34458a=0x0){this['name']=_0x2eaf67,this['props']=_0x358cdc,this['id']=_0x83085d,this['flags']=_0x34458a;}static['define'](_0x295454){let _0xabf3ed=_0x295454['props']&&_0x295454['props']['length']?Object['create'](null):tC,_0x495e9b=(_0x295454['top']?0x1:0x0)|(_0x295454['skipped']?0x2:0x0)|(_0x295454['error']?0x4:0x0)|(null==_0x295454['name']?0x8:0x0),_0x468765=new NodeType(_0x295454['name']||'',_0xabf3ed,_0x295454['id'],_0x495e9b);if(_0x295454['props']){for(let _0x1d5f59 of _0x295454['props'])if(Array['isArray'](_0x1d5f59)||(_0x1d5f59=_0x1d5f59(_0x468765)),_0x1d5f59){if(_0x1d5f59[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0xabf3ed[_0x1d5f59[0x0]['id']]=_0x1d5f59[0x1];}}return _0x468765;}['prop'](_0x3548db){return this['props'][_0x3548db['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'](_0x4699ab){if('string'==typeof _0x4699ab){if(this['name']==_0x4699ab)return!0x0;let _0x4d4436=this['prop'](NodeProp['group']);return!!_0x4d4436&&_0x4d4436['indexOf'](_0x4699ab)>-0x1;}return this['id']==_0x4699ab;}static['match'](_0x3665dd){let _0x5f23e7=Object['create'](null);for(let _0x382d22 in _0x3665dd)for(let _0x4b8d7f of _0x382d22['split']('\x20'))_0x5f23e7[_0x4b8d7f]=_0x3665dd[_0x382d22];return _0x33a7db=>{for(let _0x10209f=_0x33a7db['prop'](NodeProp['group']),_0x30100c=-0x1;_0x30100c<(_0x10209f?_0x10209f['length']:0x0);_0x30100c++){let _0x16ec27=_0x5f23e7[_0x30100c<0x0?_0x33a7db['name']:_0x10209f[_0x30100c]];if(_0x16ec27)return _0x16ec27;}};}}NodeType['none']=new NodeType('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x306369){this['types']=_0x306369;for(let _0x4871a9=0x0;_0x4871a9<_0x306369['length'];_0x4871a9++)if(_0x306369[_0x4871a9]['id']!=_0x4871a9)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x12aa15){let _0x2daf61=[];for(let _0x56b3be of this['types']){let _0x138144=null;for(let _0x56c1ea of _0x12aa15){let _0x15ded0=_0x56c1ea(_0x56b3be);if(_0x15ded0){_0x138144||(_0x138144=Object['assign']({},_0x56b3be['props']));let _0x372521=_0x15ded0[0x1],_0x111c16=_0x15ded0[0x0];_0x111c16['combine']&&_0x111c16['id']in _0x138144&&(_0x372521=_0x111c16['combine'](_0x138144[_0x111c16['id']],_0x372521)),_0x138144[_0x111c16['id']]=_0x372521;}}_0x2daf61['push'](_0x138144?new NodeType(_0x56b3be['name'],_0x138144,_0x56b3be['id'],_0x56b3be['flags']):_0x56b3be);}return new NodeSet(_0x2daf61);}}const eC=new WeakMap(),iC=new WeakMap();var sC;!function(_0x134e42){_0x134e42[_0x134e42['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x134e42[_0x134e42['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x134e42[_0x134e42['IgnoreMounts']=0x4]='IgnoreMounts',_0x134e42[_0x134e42['IgnoreOverlays']=0x8]='IgnoreOverlays';}(sC||(sC={}));class Tree{constructor(_0x14eeea,_0x847c4,_0x13df5c,_0x2fe40c,_0x38d65e){if(this['type']=_0x14eeea,this['children']=_0x847c4,this['positions']=_0x13df5c,this['length']=_0x2fe40c,this['props']=null,_0x38d65e&&_0x38d65e['length']){this['props']=Object['create'](null);for(let [_0x53b5f9,_0x83ca89]of _0x38d65e)this['props']['number'==typeof _0x53b5f9?_0x53b5f9:_0x53b5f9['id']]=_0x83ca89;}}['toString'](){let _0x3b80d6=MountedTree['get'](this);if(_0x3b80d6&&!_0x3b80d6['overlay'])return _0x3b80d6['tree']['toString']();let _0x50539c='';for(let _0x43d5b2 of this['children']){let _0x26ea34=_0x43d5b2['toString']();_0x26ea34&&(_0x50539c&&(_0x50539c+=','),_0x50539c+=_0x26ea34);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x50539c['length']?'('+_0x50539c+')':''):_0x50539c;}['cursor'](_0x2fa653=0x0){return new TreeCursor(this['topNode'],_0x2fa653);}['cursorAt'](_0x59a18e,_0xd0a765=0x0,_0x4f33b4=0x0){let _0x2585db=eC['get'](this)||this['topNode'],_0x5ba1aa=new TreeCursor(_0x2585db);return _0x5ba1aa['moveTo'](_0x59a18e,_0xd0a765),eC['set'](this,_0x5ba1aa['_tree']),_0x5ba1aa;}get['topNode'](){return new TreeNode(this,0x0,0x0,null);}['resolve'](_0x5dcc88,_0xcb0135=0x0){let _0x37a603=rC(eC['get'](this)||this['topNode'],_0x5dcc88,_0xcb0135,!0x1);return eC['set'](this,_0x37a603),_0x37a603;}['resolveInner'](_0x29ddb1,_0x21d216=0x0){let _0x5d79d7=rC(iC['get'](this)||this['topNode'],_0x29ddb1,_0x21d216,!0x0);return iC['set'](this,_0x5d79d7),_0x5d79d7;}['resolveStack'](_0x30fd3c,_0xeb7bcb=0x0){return function(_0x1a428c,_0x45b5e1,_0x1439d1){let _0x25c125=_0x1a428c['resolveInner'](_0x45b5e1,_0x1439d1),_0x11e15a=null;for(let _0x771ff8=_0x25c125 instanceof TreeNode?_0x25c125:_0x25c125['context']['parent'];_0x771ff8;_0x771ff8=_0x771ff8['parent'])if(_0x771ff8['index']<0x0){let _0x42eac5=_0x771ff8['parent'];(_0x11e15a||(_0x11e15a=[_0x25c125]))['push'](_0x42eac5['resolve'](_0x45b5e1,_0x1439d1)),_0x771ff8=_0x42eac5;}else{let _0x262b7a=MountedTree['get'](_0x771ff8['tree']);if(_0x262b7a&&_0x262b7a['overlay']&&_0x262b7a['overlay'][0x0]['from']<=_0x45b5e1&&_0x262b7a['overlay'][_0x262b7a['overlay']['length']-0x1]['to']>=_0x45b5e1){let _0x4cd2e7=new TreeNode(_0x262b7a['tree'],_0x262b7a['overlay'][0x0]['from']+_0x771ff8['from'],-0x1,_0x771ff8);(_0x11e15a||(_0x11e15a=[_0x25c125]))['push'](rC(_0x4cd2e7,_0x45b5e1,_0x1439d1,!0x1));}}return _0x11e15a?cC(_0x11e15a):_0x25c125;}(this,_0x30fd3c,_0xeb7bcb);}['iterate'](_0x466703){let {enter:_0x313455,leave:_0x1775a4,from:_0x40c446=0x0,to:_0x16e40d=this['length']}=_0x466703,_0x284c43=_0x466703['mode']||0x0,_0x3363ab=(_0x284c43&sC['IncludeAnonymous'])>0x0;for(let _0x215b9d=this['cursor'](_0x284c43|sC['IncludeAnonymous']);;){let _0x259f92=!0x1;if(_0x215b9d['from']<=_0x16e40d&&_0x215b9d['to']>=_0x40c446&&(!_0x3363ab&&_0x215b9d['type']['isAnonymous']||!0x1!==_0x313455(_0x215b9d))){if(_0x215b9d['firstChild']())continue;_0x259f92=!0x0;}for(;_0x259f92&&_0x1775a4&&(_0x3363ab||!_0x215b9d['type']['isAnonymous'])&&_0x1775a4(_0x215b9d),!_0x215b9d['nextSibling']();){if(!_0x215b9d['parent']())return;_0x259f92=!0x0;}}}['prop'](_0x2009ae){return _0x2009ae['perNode']?this['props']?this['props'][_0x2009ae['id']]:void 0x0:this['type']['prop'](_0x2009ae);}get['propValues'](){let _0x696aef=[];if(this['props']){for(let _0x537bab in this['props'])_0x696aef['push']([+_0x537bab,this['props'][_0x537bab]]);}return _0x696aef;}['balance'](_0x266a30={}){return this['children']['length']<=0x8?this:dC(NodeType['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x285af1,_0x1b745f,_0x1c4428)=>new Tree(this['type'],_0x285af1,_0x1b745f,_0x1c4428,this['propValues']),_0x266a30['makeTree']||((_0x31b523,_0x1711a8,_0x59eb71)=>new Tree(NodeType['none'],_0x31b523,_0x1711a8,_0x59eb71)));}static['build'](_0x360caf){return function(_0x3dba3a){var _0x589a31;let {buffer:_0x254bf4,nodeSet:_0x2e2ca9,maxBufferLength:_0x48d957=KS,reused:_0xceb556=[],minRepeatType:_0x3763d4=_0x2e2ca9['types']['length']}=_0x3dba3a,_0x3fe597=Array['isArray'](_0x254bf4)?new FlatBufferCursor(_0x254bf4,_0x254bf4['length']):_0x254bf4,_0x21cc42=_0x2e2ca9['types'],_0x5b9bd2=0x0,_0x333a9a=0x0;function _0xae8433(_0x6bcc6c,_0x3259fe,_0x13d9a2,_0x322a81,_0x1c436f,_0x2ad221){let {id:_0x135a67,start:_0x4d5738,end:_0x3135b6,size:_0x2c1340}=_0x3fe597,_0x1c5c4b=_0x333a9a,_0x65ae1e=_0x5b9bd2;if(_0x2c1340<0x0){if(_0x3fe597['next'](),-0x1==_0x2c1340){let _0x5206ef=_0xceb556[_0x135a67];return _0x13d9a2['push'](_0x5206ef),void _0x322a81['push'](_0x4d5738-_0x6bcc6c);}if(-0x3==_0x2c1340)return void(_0x5b9bd2=_0x135a67);if(-0x4==_0x2c1340)return void(_0x333a9a=_0x135a67);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x2c1340);}let _0x588fed,_0x22c4e8,_0x376e41=_0x21cc42[_0x135a67],_0x3a7705=_0x4d5738-_0x6bcc6c;if(_0x3135b6-_0x4d5738<=_0x48d957&&(_0x22c4e8=_0x55c126(_0x3fe597['pos']-_0x3259fe,_0x1c436f))){let _0xa8e21c=new Uint16Array(_0x22c4e8['size']-_0x22c4e8['skip']),_0x28b524=_0x3fe597['pos']-_0x22c4e8['size'],_0x254098=_0xa8e21c['length'];for(;_0x3fe597['pos']>_0x28b524;)_0x254098=_0x3dfaf2(_0x22c4e8['start'],_0xa8e21c,_0x254098);_0x588fed=new TreeBuffer(_0xa8e21c,_0x3135b6-_0x22c4e8['start'],_0x2e2ca9),_0x3a7705=_0x22c4e8['start']-_0x6bcc6c;}else{let _0xbc972f=_0x3fe597['pos']-_0x2c1340;_0x3fe597['next']();let _0xfdcf43=[],_0x565621=[],_0x52c7a8=_0x135a67>=_0x3763d4?_0x135a67:-0x1,_0xfbac80=0x0,_0x5ba710=_0x3135b6;for(;_0x3fe597['pos']>_0xbc972f;)_0x52c7a8>=0x0&&_0x3fe597['id']==_0x52c7a8&&_0x3fe597['size']>=0x0?(_0x3fe597['end']<=_0x5ba710-_0x48d957&&(_0x560a6b(_0xfdcf43,_0x565621,_0x4d5738,_0xfbac80,_0x3fe597['end'],_0x5ba710,_0x52c7a8,_0x1c5c4b,_0x65ae1e),_0xfbac80=_0xfdcf43['length'],_0x5ba710=_0x3fe597['end']),_0x3fe597['next']()):_0x2ad221>0x9c4?_0x2fe7b7(_0x4d5738,_0xbc972f,_0xfdcf43,_0x565621):_0xae8433(_0x4d5738,_0xbc972f,_0xfdcf43,_0x565621,_0x52c7a8,_0x2ad221+0x1);if(_0x52c7a8>=0x0&&_0xfbac80>0x0&&_0xfbac80<_0xfdcf43['length']&&_0x560a6b(_0xfdcf43,_0x565621,_0x4d5738,_0xfbac80,_0x4d5738,_0x5ba710,_0x52c7a8,_0x1c5c4b,_0x65ae1e),_0xfdcf43['reverse'](),_0x565621['reverse'](),_0x52c7a8>-0x1&&_0xfbac80>0x0){let _0x488711=_0x3024b2(_0x376e41,_0x65ae1e);_0x588fed=dC(_0x376e41,_0xfdcf43,_0x565621,0x0,_0xfdcf43['length'],0x0,_0x3135b6-_0x4d5738,_0x488711,_0x488711);}else _0x588fed=_0x3da5a6(_0x376e41,_0xfdcf43,_0x565621,_0x3135b6-_0x4d5738,_0x1c5c4b-_0x3135b6,_0x65ae1e);}_0x13d9a2['push'](_0x588fed),_0x322a81['push'](_0x3a7705);}function _0x2fe7b7(_0x1da0d7,_0x1ce612,_0x38c3d0,_0x1e6283){let _0xc7db20=[],_0x596a51=0x0,_0x1aec64=-0x1;for(;_0x3fe597['pos']>_0x1ce612;){let {id:_0x39eeb0,start:_0xcb320,end:_0x13fcda,size:_0x3d863b}=_0x3fe597;if(_0x3d863b>0x4)_0x3fe597['next']();else{if(_0x1aec64>-0x1&&_0xcb320<_0x1aec64)break;_0x1aec64<0x0&&(_0x1aec64=_0x13fcda-_0x48d957),_0xc7db20['push'](_0x39eeb0,_0xcb320,_0x13fcda),_0x596a51++,_0x3fe597['next']();}}if(_0x596a51){let _0x186c06=new Uint16Array(0x4*_0x596a51),_0x378082=_0xc7db20[_0xc7db20['length']-0x2];for(let _0x23493a=_0xc7db20['length']-0x3,_0x3ccacb=0x0;_0x23493a>=0x0;_0x23493a-=0x3)_0x186c06[_0x3ccacb++]=_0xc7db20[_0x23493a],_0x186c06[_0x3ccacb++]=_0xc7db20[_0x23493a+0x1]-_0x378082,_0x186c06[_0x3ccacb++]=_0xc7db20[_0x23493a+0x2]-_0x378082,_0x186c06[_0x3ccacb++]=_0x3ccacb;_0x38c3d0['push'](new TreeBuffer(_0x186c06,_0xc7db20[0x2]-_0x378082,_0x2e2ca9)),_0x1e6283['push'](_0x378082-_0x1da0d7);}}function _0x3024b2(_0x2babd0,_0x433e58){return(_0xb2b8e2,_0x9a2f3b,_0x596982)=>{let _0x223564,_0x14ab53,_0x564a3b=0x0,_0x3041d2=_0xb2b8e2['length']-0x1;if(_0x3041d2>=0x0&&(_0x223564=_0xb2b8e2[_0x3041d2])instanceof Tree){if(!_0x3041d2&&_0x223564['type']==_0x2babd0&&_0x223564['length']==_0x596982)return _0x223564;(_0x14ab53=_0x223564['prop'](NodeProp['lookAhead']))&&(_0x564a3b=_0x9a2f3b[_0x3041d2]+_0x223564['length']+_0x14ab53);}return _0x3da5a6(_0x2babd0,_0xb2b8e2,_0x9a2f3b,_0x596982,_0x564a3b,_0x433e58);};}function _0x560a6b(_0x3c0c51,_0x8d8660,_0x4a5cc0,_0x5827e2,_0x245aca,_0x4935f7,_0x214d01,_0x4b54bf,_0x3c6fbe){let _0xe8feff=[],_0x265c86=[];for(;_0x3c0c51['length']>_0x5827e2;)_0xe8feff['push'](_0x3c0c51['pop']()),_0x265c86['push'](_0x8d8660['pop']()+_0x4a5cc0-_0x245aca);_0x3c0c51['push'](_0x3da5a6(_0x2e2ca9['types'][_0x214d01],_0xe8feff,_0x265c86,_0x4935f7-_0x245aca,_0x4b54bf-_0x4935f7,_0x3c6fbe)),_0x8d8660['push'](_0x245aca-_0x4a5cc0);}function _0x3da5a6(_0x3a3cc2,_0x3d7e82,_0x55d7e3,_0x5060df,_0x518788,_0x660268,_0x313edc){if(_0x660268){let _0x4ebf5a=[NodeProp['contextHash'],_0x660268];_0x313edc=_0x313edc?[_0x4ebf5a]['concat'](_0x313edc):[_0x4ebf5a];}if(_0x518788>0x19){let _0x3ba0e3=[NodeProp['lookAhead'],_0x518788];_0x313edc=_0x313edc?[_0x3ba0e3]['concat'](_0x313edc):[_0x3ba0e3];}return new Tree(_0x3a3cc2,_0x3d7e82,_0x55d7e3,_0x5060df,_0x313edc);}function _0x55c126(_0x35f46d,_0x12dc57){let _0x1d3c64=_0x3fe597['fork'](),_0x27ca92=0x0,_0x188ab2=0x0,_0x30ca61=0x0,_0x52df9c=_0x1d3c64['end']-_0x48d957,_0x2ff186={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x222d9c=_0x1d3c64['pos']-_0x35f46d;_0x1d3c64['pos']>_0x222d9c;){let _0x31b627=_0x1d3c64['size'];if(_0x1d3c64['id']==_0x12dc57&&_0x31b627>=0x0){_0x2ff186['size']=_0x27ca92,_0x2ff186['start']=_0x188ab2,_0x2ff186['skip']=_0x30ca61,_0x30ca61+=0x4,_0x27ca92+=0x4,_0x1d3c64['next']();continue;}let _0xe8725e=_0x1d3c64['pos']-_0x31b627;if(_0x31b627<0x0||_0xe8725e<_0x222d9c||_0x1d3c64['start']<_0x52df9c)break;let _0x3d2ce0=_0x1d3c64['id']>=_0x3763d4?0x4:0x0,_0x34ae63=_0x1d3c64['start'];for(_0x1d3c64['next']();_0x1d3c64['pos']>_0xe8725e;){if(_0x1d3c64['size']<0x0){if(-0x3!=_0x1d3c64['size'])break t;_0x3d2ce0+=0x4;}else _0x1d3c64['id']>=_0x3763d4&&(_0x3d2ce0+=0x4);_0x1d3c64['next']();}_0x188ab2=_0x34ae63,_0x27ca92+=_0x31b627,_0x30ca61+=_0x3d2ce0;}return(_0x12dc57<0x0||_0x27ca92==_0x35f46d)&&(_0x2ff186['size']=_0x27ca92,_0x2ff186['start']=_0x188ab2,_0x2ff186['skip']=_0x30ca61),_0x2ff186['size']>0x4?_0x2ff186:void 0x0;}function _0x3dfaf2(_0x4bace3,_0x2acd95,_0x4505d1){let {id:_0x54323a,start:_0x1d3cdb,end:_0x479bbf,size:_0x2b2f53}=_0x3fe597;if(_0x3fe597['next'](),_0x2b2f53>=0x0&&_0x54323a<_0x3763d4){let _0x92a43=_0x4505d1;if(_0x2b2f53>0x4){let _0x373b66=_0x3fe597['pos']-(_0x2b2f53-0x4);for(;_0x3fe597['pos']>_0x373b66;)_0x4505d1=_0x3dfaf2(_0x4bace3,_0x2acd95,_0x4505d1);}_0x2acd95[--_0x4505d1]=_0x92a43,_0x2acd95[--_0x4505d1]=_0x479bbf-_0x4bace3,_0x2acd95[--_0x4505d1]=_0x1d3cdb-_0x4bace3,_0x2acd95[--_0x4505d1]=_0x54323a;}else-0x3==_0x2b2f53?_0x5b9bd2=_0x54323a:-0x4==_0x2b2f53&&(_0x333a9a=_0x54323a);return _0x4505d1;}let _0x7cc84e=[],_0x4f1fbc=[];for(;_0x3fe597['pos']>0x0;)_0xae8433(_0x3dba3a['start']||0x0,_0x3dba3a['bufferStart']||0x0,_0x7cc84e,_0x4f1fbc,-0x1,0x0);let _0x29054d=null!==(_0x589a31=_0x3dba3a['length'])&&void 0x0!==_0x589a31?_0x589a31:_0x7cc84e['length']?_0x4f1fbc[0x0]+_0x7cc84e[0x0]['length']:0x0;return new Tree(_0x21cc42[_0x3dba3a['topID']],_0x7cc84e['reverse'](),_0x4f1fbc['reverse'](),_0x29054d);}(_0x360caf);}}Tree['empty']=new Tree(NodeType['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x189b22,_0x4bb5ed){this['buffer']=_0x189b22,this['index']=_0x4bb5ed;}get['id'](){return this['buffer'][this['index']-0x4];}get['start'](){return this['buffer'][this['index']-0x3];}get['end'](){return this['buffer'][this['index']-0x2];}get['size'](){return this['buffer'][this['index']-0x1];}get['pos'](){return this['index'];}['next'](){this['index']-=0x4;}['fork'](){return new FlatBufferCursor(this['buffer'],this['index']);}}class TreeBuffer{constructor(_0x490921,_0x6c1d15,_0x59af06){this['buffer']=_0x490921,this['length']=_0x6c1d15,this['set']=_0x59af06;}get['type'](){return NodeType['none'];}['toString'](){let _0x866b43=[];for(let _0x11b953=0x0;_0x11b953<this['buffer']['length'];)_0x866b43['push'](this['childString'](_0x11b953)),_0x11b953=this['buffer'][_0x11b953+0x3];return _0x866b43['join'](',');}['childString'](_0x1442c3){let _0x51c030=this['buffer'][_0x1442c3],_0xe2be8e=this['buffer'][_0x1442c3+0x3],_0x3b70f8=this['set']['types'][_0x51c030],_0x23adb3=_0x3b70f8['name'];if(/\W/['test'](_0x23adb3)&&!_0x3b70f8['isError']&&(_0x23adb3=JSON['stringify'](_0x23adb3)),_0xe2be8e==(_0x1442c3+=0x4))return _0x23adb3;let _0x328304=[];for(;_0x1442c3<_0xe2be8e;)_0x328304['push'](this['childString'](_0x1442c3)),_0x1442c3=this['buffer'][_0x1442c3+0x3];return _0x23adb3+'('+_0x328304['join'](',')+')';}['findChild'](_0x4ae081,_0x2bf279,_0x528d22,_0x4ebdd6,_0x171c59){let {buffer:_0x161324}=this,_0x33cfaf=-0x1;for(let _0x29e97f=_0x4ae081;_0x29e97f!=_0x2bf279&&!(nC(_0x171c59,_0x4ebdd6,_0x161324[_0x29e97f+0x1],_0x161324[_0x29e97f+0x2])&&(_0x33cfaf=_0x29e97f,_0x528d22>0x0));_0x29e97f=_0x161324[_0x29e97f+0x3]);return _0x33cfaf;}['slice'](_0x31f227,_0x2cd895,_0x55e624){let _0x178945=this['buffer'],_0x4ea829=new Uint16Array(_0x2cd895-_0x31f227),_0x4a70b4=0x0;for(let _0xd5d7b=_0x31f227,_0x5eb0a5=0x0;_0xd5d7b<_0x2cd895;){_0x4ea829[_0x5eb0a5++]=_0x178945[_0xd5d7b++],_0x4ea829[_0x5eb0a5++]=_0x178945[_0xd5d7b++]-_0x55e624;let _0x18be21=_0x4ea829[_0x5eb0a5++]=_0x178945[_0xd5d7b++]-_0x55e624;_0x4ea829[_0x5eb0a5++]=_0x178945[_0xd5d7b++]-_0x31f227,_0x4a70b4=Math['max'](_0x4a70b4,_0x18be21);}return new TreeBuffer(_0x4ea829,_0x4a70b4,this['set']);}}function nC(_0x54a2a1,_0xd3333d,_0x57a58a,_0x2362f3){switch(_0x54a2a1){case-0x2:return _0x57a58a<_0xd3333d;case-0x1:return _0x2362f3>=_0xd3333d&&_0x57a58a<_0xd3333d;case 0x0:return _0x57a58a<_0xd3333d&&_0x2362f3>_0xd3333d;case 0x1:return _0x57a58a<=_0xd3333d&&_0x2362f3>_0xd3333d;case 0x2:return _0x2362f3>_0xd3333d;case 0x4:return!0x0;}}function rC(_0xd1152a,_0x559c54,_0xc46c8,_0x1e1150){for(var _0x9d4c40;_0xd1152a['from']==_0xd1152a['to']||(_0xc46c8<0x1?_0xd1152a['from']>=_0x559c54:_0xd1152a['from']>_0x559c54)||(_0xc46c8>-0x1?_0xd1152a['to']<=_0x559c54:_0xd1152a['to']<_0x559c54);){let _0xdc25ca=!_0x1e1150&&_0xd1152a instanceof TreeNode&&_0xd1152a['index']<0x0?null:_0xd1152a['parent'];if(!_0xdc25ca)return _0xd1152a;_0xd1152a=_0xdc25ca;}let _0x493599=_0x1e1150?0x0:sC['IgnoreOverlays'];if(_0x1e1150){for(let _0x91bbc8=_0xd1152a,_0x20e0c3=_0x91bbc8['parent'];_0x20e0c3;_0x91bbc8=_0x20e0c3,_0x20e0c3=_0x91bbc8['parent'])_0x91bbc8 instanceof TreeNode&&_0x91bbc8['index']<0x0&&(null===(_0x9d4c40=_0x20e0c3['enter'](_0x559c54,_0xc46c8,_0x493599))||void 0x0===_0x9d4c40?void 0x0:_0x9d4c40['from'])!=_0x91bbc8['from']&&(_0xd1152a=_0x20e0c3);}for(;;){let _0xe09a96=_0xd1152a['enter'](_0x559c54,_0xc46c8,_0x493599);if(!_0xe09a96)return _0xd1152a;_0xd1152a=_0xe09a96;}}class BaseNode{['cursor'](_0x4d3db2=0x0){return new TreeCursor(this,_0x4d3db2);}['getChild'](_0x42bd1d,_0x5ae455=null,_0xd99d45=null){let _0x16ca0c=oC(this,_0x42bd1d,_0x5ae455,_0xd99d45);return _0x16ca0c['length']?_0x16ca0c[0x0]:null;}['getChildren'](_0x45cc63,_0x4faafa=null,_0x179a37=null){return oC(this,_0x45cc63,_0x4faafa,_0x179a37);}['resolve'](_0x377f63,_0x20efe9=0x0){return rC(this,_0x377f63,_0x20efe9,!0x1);}['resolveInner'](_0x4f46ef,_0x1585a3=0x0){return rC(this,_0x4f46ef,_0x1585a3,!0x0);}['matchContext'](_0x26c5cc){return aC(this['parent'],_0x26c5cc);}['enterUnfinishedNodesBefore'](_0x2ec226){let _0x1d0853=this['childBefore'](_0x2ec226),_0x33b477=this;for(;_0x1d0853;){let _0x583e12=_0x1d0853['lastChild'];if(!_0x583e12||_0x583e12['to']!=_0x1d0853['to'])break;_0x583e12['type']['isError']&&_0x583e12['from']==_0x583e12['to']?(_0x33b477=_0x1d0853,_0x1d0853=_0x583e12['prevSibling']):_0x1d0853=_0x583e12;}return _0x33b477;}get['node'](){return this;}get['next'](){return this['parent'];}}class TreeNode extends BaseNode{constructor(_0x4e7d8e,_0x5e86e1,_0x2198d3,_0x472930){super(),this['_tree']=_0x4e7d8e,this['from']=_0x5e86e1,this['index']=_0x2198d3,this['_parent']=_0x472930;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x1262e4,_0x4a42c1,_0xf2afae,_0x30071f,_0x41b82c=0x0){for(let _0x4c3518=this;;){for(let {children:_0x1ca48f,positions:_0x4d7bda}=_0x4c3518['_tree'],_0x402cae=_0x4a42c1>0x0?_0x1ca48f['length']:-0x1;_0x1262e4!=_0x402cae;_0x1262e4+=_0x4a42c1){let _0x5135f2=_0x1ca48f[_0x1262e4],_0x1fb81d=_0x4d7bda[_0x1262e4]+_0x4c3518['from'];if(nC(_0x30071f,_0xf2afae,_0x1fb81d,_0x1fb81d+_0x5135f2['length'])){if(_0x5135f2 instanceof TreeBuffer){if(_0x41b82c&sC['ExcludeBuffers'])continue;let _0x53e7ac=_0x5135f2['findChild'](0x0,_0x5135f2['buffer']['length'],_0x4a42c1,_0xf2afae-_0x1fb81d,_0x30071f);if(_0x53e7ac>-0x1)return new BufferNode(new BufferContext(_0x4c3518,_0x5135f2,_0x1262e4,_0x1fb81d),null,_0x53e7ac);}else{if(_0x41b82c&sC['IncludeAnonymous']||!_0x5135f2['type']['isAnonymous']||lC(_0x5135f2)){let _0x2360e6;if(!(_0x41b82c&sC['IgnoreMounts'])&&(_0x2360e6=MountedTree['get'](_0x5135f2))&&!_0x2360e6['overlay'])return new TreeNode(_0x2360e6['tree'],_0x1fb81d,_0x1262e4,_0x4c3518);let _0x3dbe3a=new TreeNode(_0x5135f2,_0x1fb81d,_0x1262e4,_0x4c3518);return _0x41b82c&sC['IncludeAnonymous']||!_0x3dbe3a['type']['isAnonymous']?_0x3dbe3a:_0x3dbe3a['nextChild'](_0x4a42c1<0x0?_0x5135f2['children']['length']-0x1:0x0,_0x4a42c1,_0xf2afae,_0x30071f);}}}}if(_0x41b82c&sC['IncludeAnonymous']||!_0x4c3518['type']['isAnonymous'])return null;if(_0x1262e4=_0x4c3518['index']>=0x0?_0x4c3518['index']+_0x4a42c1:_0x4a42c1<0x0?-0x1:_0x4c3518['_parent']['_tree']['children']['length'],_0x4c3518=_0x4c3518['_parent'],!_0x4c3518)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'](_0x1209fe){return this['nextChild'](0x0,0x1,_0x1209fe,0x2);}['childBefore'](_0x4dfad6){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x4dfad6,-0x2);}['enter'](_0x3a116a,_0x37672d,_0x28ebf2=0x0){let _0xe5c0df;if(!(_0x28ebf2&sC['IgnoreOverlays'])&&(_0xe5c0df=MountedTree['get'](this['_tree']))&&_0xe5c0df['overlay']){let _0x28797b=_0x3a116a-this['from'];for(let {from:_0x4b7cb6,to:_0x355344}of _0xe5c0df['overlay'])if((_0x37672d>0x0?_0x4b7cb6<=_0x28797b:_0x4b7cb6<_0x28797b)&&(_0x37672d<0x0?_0x355344>=_0x28797b:_0x355344>_0x28797b))return new TreeNode(_0xe5c0df['tree'],_0xe5c0df['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x3a116a,_0x37672d,_0x28ebf2);}['nextSignificantParent'](){let _0xd94a4=this;for(;_0xd94a4['type']['isAnonymous']&&_0xd94a4['_parent'];)_0xd94a4=_0xd94a4['_parent'];return _0xd94a4;}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 oC(_0x2c037a,_0x41bb0c,_0x39a672,_0x1f9d4b){let _0x1507cd=_0x2c037a['cursor'](),_0x149672=[];if(!_0x1507cd['firstChild']())return _0x149672;if(null!=_0x39a672){for(let _0x363a90=!0x1;!_0x363a90;)if(_0x363a90=_0x1507cd['type']['is'](_0x39a672),!_0x1507cd['nextSibling']())return _0x149672;}for(;;){if(null!=_0x1f9d4b&&_0x1507cd['type']['is'](_0x1f9d4b))return _0x149672;if(_0x1507cd['type']['is'](_0x41bb0c)&&_0x149672['push'](_0x1507cd['node']),!_0x1507cd['nextSibling']())return null==_0x1f9d4b?_0x149672:[];}}function aC(_0x94f500,_0x8acbd8,_0x4b2864=_0x8acbd8['length']-0x1){for(let _0x6de05e=_0x94f500;_0x4b2864>=0x0;_0x6de05e=_0x6de05e['parent']){if(!_0x6de05e)return!0x1;if(!_0x6de05e['type']['isAnonymous']){if(_0x8acbd8[_0x4b2864]&&_0x8acbd8[_0x4b2864]!=_0x6de05e['name'])return!0x1;_0x4b2864--;}}return!0x0;}class BufferContext{constructor(_0x5e6f37,_0x1e7b78,_0x91c7db,_0x980716){this['parent']=_0x5e6f37,this['buffer']=_0x1e7b78,this['index']=_0x91c7db,this['start']=_0x980716;}}class BufferNode extends BaseNode{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(_0xf6db28,_0x4dd6f2,_0x201801){super(),this['context']=_0xf6db28,this['_parent']=_0x4dd6f2,this['index']=_0x201801,this['type']=_0xf6db28['buffer']['set']['types'][_0xf6db28['buffer']['buffer'][_0x201801]];}['child'](_0x5b56c3,_0x302da8,_0x5247ec){let {buffer:_0x2f4781}=this['context'],_0x20a8b3=_0x2f4781['findChild'](this['index']+0x4,_0x2f4781['buffer'][this['index']+0x3],_0x5b56c3,_0x302da8-this['context']['start'],_0x5247ec);return _0x20a8b3<0x0?null:new BufferNode(this['context'],this,_0x20a8b3);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x292d22){return this['child'](0x1,_0x292d22,0x2);}['childBefore'](_0x3ec037){return this['child'](-0x1,_0x3ec037,-0x2);}['enter'](_0x375668,_0x4cb5d1,_0x57a4b4=0x0){if(_0x57a4b4&sC['ExcludeBuffers'])return null;let {buffer:_0x2ad2c9}=this['context'],_0x2994cf=_0x2ad2c9['findChild'](this['index']+0x4,_0x2ad2c9['buffer'][this['index']+0x3],_0x4cb5d1>0x0?0x1:-0x1,_0x375668-this['context']['start'],_0x4cb5d1);return _0x2994cf<0x0?null:new BufferNode(this['context'],this,_0x2994cf);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x263f5f){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x263f5f,_0x263f5f,0x0,0x4);}get['nextSibling'](){let {buffer:_0x4aaed7}=this['context'],_0x1bbc04=_0x4aaed7['buffer'][this['index']+0x3];return _0x1bbc04<(this['_parent']?_0x4aaed7['buffer'][this['_parent']['index']+0x3]:_0x4aaed7['buffer']['length'])?new BufferNode(this['context'],this['_parent'],_0x1bbc04):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x420dc1}=this['context'],_0x2c25db=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x2c25db?this['externalSibling'](-0x1):new BufferNode(this['context'],this['_parent'],_0x420dc1['findChild'](_0x2c25db,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x136648=[],_0x32c0a7=[],{buffer:_0x5df2a2}=this['context'],_0x320eb6=this['index']+0x4,_0x25926f=_0x5df2a2['buffer'][this['index']+0x3];if(_0x25926f>_0x320eb6){let _0x5b9371=_0x5df2a2['buffer'][this['index']+0x1];_0x136648['push'](_0x5df2a2['slice'](_0x320eb6,_0x25926f,_0x5b9371)),_0x32c0a7['push'](0x0);}return new Tree(this['type'],_0x136648,_0x32c0a7,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function cC(_0x568178){if(!_0x568178['length'])return null;let _0x3eb35e=0x0,_0x52d4b3=_0x568178[0x0];for(let _0x37e615=0x1;_0x37e615<_0x568178['length'];_0x37e615++){let _0x2f1076=_0x568178[_0x37e615];(_0x2f1076['from']>_0x52d4b3['from']||_0x2f1076['to']<_0x52d4b3['to'])&&(_0x52d4b3=_0x2f1076,_0x3eb35e=_0x37e615);}let _0x1610a7=_0x52d4b3 instanceof TreeNode&&_0x52d4b3['index']<0x0?null:_0x52d4b3['parent'],_0x11c5e6=_0x568178['slice']();return _0x1610a7?_0x11c5e6[_0x3eb35e]=_0x1610a7:_0x11c5e6['splice'](_0x3eb35e,0x1),new StackIterator(_0x11c5e6,_0x52d4b3);}class StackIterator{constructor(_0x4dbd5d,_0xe37975){this['heads']=_0x4dbd5d,this['node']=_0xe37975;}get['next'](){return cC(this['heads']);}}class TreeCursor{get['name'](){return this['type']['name'];}constructor(_0x2947c7,_0x3fbd88=0x0){if(this['mode']=_0x3fbd88,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x2947c7 instanceof TreeNode)this['yieldNode'](_0x2947c7);else{this['_tree']=_0x2947c7['context']['parent'],this['buffer']=_0x2947c7['context'];for(let _0x295912=_0x2947c7['_parent'];_0x295912;_0x295912=_0x295912['_parent'])this['stack']['unshift'](_0x295912['index']);this['bufferNode']=_0x2947c7,this['yieldBuf'](_0x2947c7['index']);}}['yieldNode'](_0x10e8fe){return!!_0x10e8fe&&(this['_tree']=_0x10e8fe,this['type']=_0x10e8fe['type'],this['from']=_0x10e8fe['from'],this['to']=_0x10e8fe['to'],!0x0);}['yieldBuf'](_0x1108f5,_0x5f47b0){this['index']=_0x1108f5;let {start:_0x5c75a5,buffer:_0x140207}=this['buffer'];return this['type']=_0x5f47b0||_0x140207['set']['types'][_0x140207['buffer'][_0x1108f5]],this['from']=_0x5c75a5+_0x140207['buffer'][_0x1108f5+0x1],this['to']=_0x5c75a5+_0x140207['buffer'][_0x1108f5+0x2],!0x0;}['yield'](_0x5ba24e){return!!_0x5ba24e&&(_0x5ba24e instanceof TreeNode?(this['buffer']=null,this['yieldNode'](_0x5ba24e)):(this['buffer']=_0x5ba24e['context'],this['yieldBuf'](_0x5ba24e['index'],_0x5ba24e['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x173982,_0x5defd2,_0xc77307){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x173982<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x173982,_0x5defd2,_0xc77307,this['mode']));let {buffer:_0x1ae781}=this['buffer'],_0x2ca562=_0x1ae781['findChild'](this['index']+0x4,_0x1ae781['buffer'][this['index']+0x3],_0x173982,_0x5defd2-this['buffer']['start'],_0xc77307);return!(_0x2ca562<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x2ca562));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x524a40){return this['enterChild'](0x1,_0x524a40,0x2);}['childBefore'](_0x175608){return this['enterChild'](-0x1,_0x175608,-0x2);}['enter'](_0x458a5c,_0x21dfef,_0x16f371=this['mode']){return this['buffer']?!(_0x16f371&sC['ExcludeBuffers'])&&this['enterChild'](0x1,_0x458a5c,_0x21dfef):this['yield'](this['_tree']['enter'](_0x458a5c,_0x21dfef,_0x16f371));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&sC['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x52922d=this['mode']&sC['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x52922d);}['sibling'](_0x7d91a3){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x7d91a3,_0x7d91a3,0x0,0x4,this['mode']));let {buffer:_0x419804}=this['buffer'],_0x480bc0=this['stack']['length']-0x1;if(_0x7d91a3<0x0){let _0x3421e7=_0x480bc0<0x0?0x0:this['stack'][_0x480bc0]+0x4;if(this['index']!=_0x3421e7)return this['yieldBuf'](_0x419804['findChild'](_0x3421e7,this['index'],-0x1,0x0,0x4));}else{let _0x2b6883=_0x419804['buffer'][this['index']+0x3];if(_0x2b6883<(_0x480bc0<0x0?_0x419804['buffer']['length']:_0x419804['buffer'][this['stack'][_0x480bc0]+0x3]))return this['yieldBuf'](_0x2b6883);}return _0x480bc0<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x7d91a3,_0x7d91a3,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x57665d){let _0x24f45b,_0xd295e6,{buffer:_0x27ab1a}=this;if(_0x27ab1a){if(_0x57665d>0x0){if(this['index']<_0x27ab1a['buffer']['buffer']['length'])return!0x1;}else{for(let _0x307c8e=0x0;_0x307c8e<this['index'];_0x307c8e++)if(_0x27ab1a['buffer']['buffer'][_0x307c8e+0x3]<this['index'])return!0x1;}({index:_0x24f45b,parent:_0xd295e6}=_0x27ab1a);}else({index:_0x24f45b,_parent:_0xd295e6}=this['_tree']);for(;_0xd295e6;{index:_0x24f45b,_parent:_0xd295e6}=_0xd295e6)if(_0x24f45b>-0x1)for(let _0x5b4640=_0x24f45b+_0x57665d,_0x286319=_0x57665d<0x0?-0x1:_0xd295e6['_tree']['children']['length'];_0x5b4640!=_0x286319;_0x5b4640+=_0x57665d){let _0x1885da=_0xd295e6['_tree']['children'][_0x5b4640];if(this['mode']&sC['IncludeAnonymous']||_0x1885da instanceof TreeBuffer||!_0x1885da['type']['isAnonymous']||lC(_0x1885da))return!0x1;}return!0x0;}['move'](_0xc06bf5,_0x96e107){if(_0x96e107&&this['enterChild'](_0xc06bf5,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0xc06bf5))return!0x0;if(this['atLastNode'](_0xc06bf5)||!this['parent']())return!0x1;}}['next'](_0x17acdd=!0x0){return this['move'](0x1,_0x17acdd);}['prev'](_0x3b80cd=!0x0){return this['move'](-0x1,_0x3b80cd);}['moveTo'](_0x13d210,_0x2ab694=0x0){for(;(this['from']==this['to']||(_0x2ab694<0x1?this['from']>=_0x13d210:this['from']>_0x13d210)||(_0x2ab694>-0x1?this['to']<=_0x13d210:this['to']<_0x13d210))&&this['parent'](););for(;this['enterChild'](0x1,_0x13d210,_0x2ab694););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x3a065b=this['bufferNode'],_0x419013=null,_0x50d08c=0x0;if(_0x3a065b&&_0x3a065b['context']==this['buffer']){t:for(let _0x438941=this['index'],_0x39a031=this['stack']['length'];_0x39a031>=0x0;){for(let _0x25bd14=_0x3a065b;_0x25bd14;_0x25bd14=_0x25bd14['_parent'])if(_0x25bd14['index']==_0x438941){if(_0x438941==this['index'])return _0x25bd14;_0x419013=_0x25bd14,_0x50d08c=_0x39a031+0x1;break t;}_0x438941=this['stack'][--_0x39a031];}}for(let _0x140ee6=_0x50d08c;_0x140ee6<this['stack']['length'];_0x140ee6++)_0x419013=new BufferNode(this['buffer'],_0x419013,this['stack'][_0x140ee6]);return this['bufferNode']=new BufferNode(this['buffer'],_0x419013,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x4e01af,_0x40e36a){for(let _0x3d5509=0x0;;){let _0x498a90=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x4e01af(this)){if(this['firstChild']()){_0x3d5509++;continue;}this['type']['isAnonymous']||(_0x498a90=!0x0);}for(;;){if(_0x498a90&&_0x40e36a&&_0x40e36a(this),_0x498a90=this['type']['isAnonymous'],!_0x3d5509)return;if(this['nextSibling']())break;this['parent'](),_0x3d5509--,_0x498a90=!0x0;}}}['matchContext'](_0x241244){if(!this['buffer'])return aC(this['node']['parent'],_0x241244);let {buffer:_0x281530}=this['buffer'],{types:_0x561742}=_0x281530['set'];for(let _0x4f2972=_0x241244['length']-0x1,_0x37da57=this['stack']['length']-0x1;_0x4f2972>=0x0;_0x37da57--){if(_0x37da57<0x0)return aC(this['_tree'],_0x241244,_0x4f2972);let _0x4bbb33=_0x561742[_0x281530['buffer'][this['stack'][_0x37da57]]];if(!_0x4bbb33['isAnonymous']){if(_0x241244[_0x4f2972]&&_0x241244[_0x4f2972]!=_0x4bbb33['name'])return!0x1;_0x4f2972--;}}return!0x0;}}function lC(_0x33f0f7){return _0x33f0f7['children']['some'](_0x20abac=>_0x20abac instanceof TreeBuffer||!_0x20abac['type']['isAnonymous']||lC(_0x20abac));}const hC=new WeakMap();function uC(_0x240453,_0x2adb3a){if(!_0x240453['isAnonymous']||_0x2adb3a instanceof TreeBuffer||_0x2adb3a['type']!=_0x240453)return 0x1;let _0x143c7b=hC['get'](_0x2adb3a);if(null==_0x143c7b){_0x143c7b=0x1;for(let _0x12eda5 of _0x2adb3a['children']){if(_0x12eda5['type']!=_0x240453||!(_0x12eda5 instanceof Tree)){_0x143c7b=0x1;break;}_0x143c7b+=uC(_0x240453,_0x12eda5);}hC['set'](_0x2adb3a,_0x143c7b);}return _0x143c7b;}function dC(_0x246fc4,_0x4746b1,_0x409912,_0x280aae,_0x2af1d8,_0x5e1b62,_0x598175,_0x84f206,_0x2713ff){let _0x1f07f6=0x0;for(let _0x296fdc=_0x280aae;_0x296fdc<_0x2af1d8;_0x296fdc++)_0x1f07f6+=uC(_0x246fc4,_0x4746b1[_0x296fdc]);let _0x474c32=Math['ceil'](1.5*_0x1f07f6/0x8),_0x1e3626=[],_0x321d42=[];return function _0x5cfdc5(_0x400fa6,_0x5d8818,_0x1611f5,_0x31dcc5,_0x4ecf63){for(let _0x25d422=_0x1611f5;_0x25d422<_0x31dcc5;){let _0x3f51de=_0x25d422,_0x404dbd=_0x5d8818[_0x25d422],_0x9e55=uC(_0x246fc4,_0x400fa6[_0x25d422]);for(_0x25d422++;_0x25d422<_0x31dcc5;_0x25d422++){let _0x585978=uC(_0x246fc4,_0x400fa6[_0x25d422]);if(_0x9e55+_0x585978>=_0x474c32)break;_0x9e55+=_0x585978;}if(_0x25d422==_0x3f51de+0x1){if(_0x9e55>_0x474c32){let _0x27b7f7=_0x400fa6[_0x3f51de];_0x5cfdc5(_0x27b7f7['children'],_0x27b7f7['positions'],0x0,_0x27b7f7['children']['length'],_0x5d8818[_0x3f51de]+_0x4ecf63);continue;}_0x1e3626['push'](_0x400fa6[_0x3f51de]);}else{let _0x6e357c=_0x5d8818[_0x25d422-0x1]+_0x400fa6[_0x25d422-0x1]['length']-_0x404dbd;_0x1e3626['push'](dC(_0x246fc4,_0x400fa6,_0x5d8818,_0x3f51de,_0x25d422,_0x404dbd,_0x6e357c,null,_0x2713ff));}_0x321d42['push'](_0x404dbd+_0x4ecf63-_0x5e1b62);}}(_0x4746b1,_0x409912,_0x280aae,_0x2af1d8,0x0),(_0x84f206||_0x2713ff)(_0x1e3626,_0x321d42,_0x598175);}class NodeWeakMap{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x5062ed,_0x715a2b,_0x56e7a5){let _0x522f89=this['map']['get'](_0x5062ed);_0x522f89||this['map']['set'](_0x5062ed,_0x522f89=new Map()),_0x522f89['set'](_0x715a2b,_0x56e7a5);}['getBuffer'](_0x39b140,_0x363a1c){let _0x431195=this['map']['get'](_0x39b140);return _0x431195&&_0x431195['get'](_0x363a1c);}['set'](_0x3fb94a,_0x21c497){_0x3fb94a instanceof BufferNode?this['setBuffer'](_0x3fb94a['context']['buffer'],_0x3fb94a['index'],_0x21c497):_0x3fb94a instanceof TreeNode&&this['map']['set'](_0x3fb94a['tree'],_0x21c497);}['get'](_0x522de6){return _0x522de6 instanceof BufferNode?this['getBuffer'](_0x522de6['context']['buffer'],_0x522de6['index']):_0x522de6 instanceof TreeNode?this['map']['get'](_0x522de6['tree']):void 0x0;}['cursorSet'](_0x234d3,_0x48a462){_0x234d3['buffer']?this['setBuffer'](_0x234d3['buffer']['buffer'],_0x234d3['index'],_0x48a462):this['map']['set'](_0x234d3['tree'],_0x48a462);}['cursorGet'](_0x565b67){return _0x565b67['buffer']?this['getBuffer'](_0x565b67['buffer']['buffer'],_0x565b67['index']):this['map']['get'](_0x565b67['tree']);}}class TreeFragment{constructor(_0x1afed0,_0x219f66,_0x28f639,_0x3476af,_0x46d873=!0x1,_0x310195=!0x1){this['from']=_0x1afed0,this['to']=_0x219f66,this['tree']=_0x28f639,this['offset']=_0x3476af,this['open']=(_0x46d873?0x1:0x0)|(_0x310195?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x51692e,_0x1df462=[],_0x10e7be=!0x1){let _0x275aa8=[new TreeFragment(0x0,_0x51692e['length'],_0x51692e,0x0,!0x1,_0x10e7be)];for(let _0x26dd0c of _0x1df462)_0x26dd0c['to']>_0x51692e['length']&&_0x275aa8['push'](_0x26dd0c);return _0x275aa8;}static['applyChanges'](_0x276f17,_0x109a09,_0x4c2de2=0x80){if(!_0x109a09['length'])return _0x276f17;let _0x3cfe79=[],_0x4b095d=0x1,_0x65c76a=_0x276f17['length']?_0x276f17[0x0]:null;for(let _0x189ebb=0x0,_0x10d221=0x0,_0x355cc0=0x0;;_0x189ebb++){let _0x5b7bb9=_0x189ebb<_0x109a09['length']?_0x109a09[_0x189ebb]:null,_0x106ab0=_0x5b7bb9?_0x5b7bb9['fromA']:0x3b9aca00;if(_0x106ab0-_0x10d221>=_0x4c2de2)for(;_0x65c76a&&_0x65c76a['from']<_0x106ab0;){let _0x55daa5=_0x65c76a;if(_0x10d221>=_0x55daa5['from']||_0x106ab0<=_0x55daa5['to']||_0x355cc0){let _0x51e2ac=Math['max'](_0x55daa5['from'],_0x10d221)-_0x355cc0,_0x52191c=Math['min'](_0x55daa5['to'],_0x106ab0)-_0x355cc0;_0x55daa5=_0x51e2ac>=_0x52191c?null:new TreeFragment(_0x51e2ac,_0x52191c,_0x55daa5['tree'],_0x55daa5['offset']+_0x355cc0,_0x189ebb>0x0,!!_0x5b7bb9);}if(_0x55daa5&&_0x3cfe79['push'](_0x55daa5),_0x65c76a['to']>_0x106ab0)break;_0x65c76a=_0x4b095d<_0x276f17['length']?_0x276f17[_0x4b095d++]:null;}if(!_0x5b7bb9)break;_0x10d221=_0x5b7bb9['toA'],_0x355cc0=_0x5b7bb9['toA']-_0x5b7bb9['toB'];}return _0x3cfe79;}}class Parser{['startParse'](_0xe67a01,_0x3f6211,_0x511a06){return'string'==typeof _0xe67a01&&(_0xe67a01=new StringInput(_0xe67a01)),_0x511a06=_0x511a06?_0x511a06['length']?_0x511a06['map'](_0x360d90=>new Range(_0x360d90['from'],_0x360d90['to'])):[new Range(0x0,0x0)]:[new Range(0x0,_0xe67a01['length'])],this['createParse'](_0xe67a01,_0x3f6211||[],_0x511a06);}['parse'](_0x148b48,_0x1505c9,_0xb1e31a){let _0x5d9d36=this['startParse'](_0x148b48,_0x1505c9,_0xb1e31a);for(;;){let _0x32b9f1=_0x5d9d36['advance']();if(_0x32b9f1)return _0x32b9f1;}}}class StringInput{constructor(_0x1dd85f){this['string']=_0x1dd85f;}get['length'](){return this['string']['length'];}['chunk'](_0x32c1fc){return this['string']['slice'](_0x32c1fc);}get['lineChunks'](){return!0x1;}['read'](_0x4f9538,_0x5a82f6){return this['string']['slice'](_0x4f9538,_0x5a82f6);}}function fC(_0x3aa35b){return(_0x208b06,_0x432b00,_0x10b0b7,_0x290cb5)=>new MixedParse(_0x208b06,_0x3aa35b,_0x432b00,_0x10b0b7,_0x290cb5);}class InnerParse{constructor(_0x29fb87,_0x2701f5,_0x1e14d5,_0x123b90,_0x251ed5){this['parser']=_0x29fb87,this['parse']=_0x2701f5,this['overlay']=_0x1e14d5,this['target']=_0x123b90,this['from']=_0x251ed5;}}function mC(_0x3f9e8c){if(!_0x3f9e8c['length']||_0x3f9e8c['some'](_0x4d42fa=>_0x4d42fa['from']>=_0x4d42fa['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x3f9e8c));}class ActiveOverlay{constructor(_0x575b14,_0x22525a,_0x3d4c2a,_0x5c1b96,_0xf9769f,_0x2f62a3,_0x230445){this['parser']=_0x575b14,this['predicate']=_0x22525a,this['mounts']=_0x3d4c2a,this['index']=_0x5c1b96,this['start']=_0xf9769f,this['target']=_0x2f62a3,this['prev']=_0x230445,this['depth']=0x0,this['ranges']=[];}}const gC=new NodeProp({'perNode':!0x0});class MixedParse{constructor(_0x5aa85a,_0x22ad0e,_0x241225,_0x4b8ebe,_0x58eab1){this['nest']=_0x22ad0e,this['input']=_0x241225,this['fragments']=_0x4b8ebe,this['ranges']=_0x58eab1,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x5aa85a;}['advance'](){if(this['baseParse']){let _0x37cbf6=this['baseParse']['advance']();if(!_0x37cbf6)return null;if(this['baseParse']=null,this['baseTree']=_0x37cbf6,this['startInner'](),null!=this['stoppedAt']){for(let _0x5536e1 of this['inner'])_0x5536e1['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x42a2fe=this['baseTree'];return null!=this['stoppedAt']&&(_0x42a2fe=new Tree(_0x42a2fe['type'],_0x42a2fe['children'],_0x42a2fe['positions'],_0x42a2fe['length'],_0x42a2fe['propValues']['concat']([[gC,this['stoppedAt']]]))),_0x42a2fe;}let _0x333c98=this['inner'][this['innerDone']],_0x584e08=_0x333c98['parse']['advance']();if(_0x584e08){this['innerDone']++;let _0xf09976=Object['assign'](Object['create'](null),_0x333c98['target']['props']);_0xf09976[NodeProp['mounted']['id']]=new MountedTree(_0x584e08,_0x333c98['overlay'],_0x333c98['parser']),_0x333c98['target']['props']=_0xf09976;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x146873=this['input']['length'];for(let _0x1db4ce=this['innerDone'];_0x1db4ce<this['inner']['length'];_0x1db4ce++)this['inner'][_0x1db4ce]['from']<_0x146873&&(_0x146873=Math['min'](_0x146873,this['inner'][_0x1db4ce]['parse']['parsedPos']));return _0x146873;}['stopAt'](_0x156702){if(this['stoppedAt']=_0x156702,this['baseParse'])this['baseParse']['stopAt'](_0x156702);else{for(let _0x566b6c=this['innerDone'];_0x566b6c<this['inner']['length'];_0x566b6c++)this['inner'][_0x566b6c]['parse']['stopAt'](_0x156702);}}['startInner'](){let _0x260ba8=new bC(this['fragments']),_0x4572e6=null,_0x5ddc04=null,_0x387383=new TreeCursor(new TreeNode(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),sC['IncludeAnonymous']|sC['IgnoreMounts']);t:for(let _0x2f21d5,_0x50c0f0;;){let _0x18ae2d,_0x14351f=!0x0;if(null!=this['stoppedAt']&&_0x387383['from']>=this['stoppedAt'])_0x14351f=!0x1;else{if(_0x260ba8['hasNode'](_0x387383)){if(_0x4572e6){let _0x342d93=_0x4572e6['mounts']['find'](_0x556a82=>_0x556a82['frag']['from']<=_0x387383['from']&&_0x556a82['frag']['to']>=_0x387383['to']&&_0x556a82['mount']['overlay']);if(_0x342d93)for(let _0x366265 of _0x342d93['mount']['overlay']){let _0x5bab4d=_0x366265['from']+_0x342d93['pos'],_0xe70c05=_0x366265['to']+_0x342d93['pos'];_0x5bab4d>=_0x387383['from']&&_0xe70c05<=_0x387383['to']&&!_0x4572e6['ranges']['some'](_0x2794bc=>_0x2794bc['from']<_0xe70c05&&_0x2794bc['to']>_0x5bab4d)&&_0x4572e6['ranges']['push']({'from':_0x5bab4d,'to':_0xe70c05});}}_0x14351f=!0x1;}else{if(_0x5ddc04&&(_0x50c0f0=pC(_0x5ddc04['ranges'],_0x387383['from'],_0x387383['to'])))_0x14351f=0x2!=_0x50c0f0;else{if(!_0x387383['type']['isAnonymous']&&(_0x2f21d5=this['nest'](_0x387383,this['input']))&&(_0x387383['from']<_0x387383['to']||!_0x2f21d5['overlay'])){_0x387383['tree']||(wC(_0x387383),_0x4572e6&&_0x4572e6['depth']++,_0x5ddc04&&_0x5ddc04['depth']++);let _0x5a781b=_0x260ba8['findMounts'](_0x387383['from'],_0x2f21d5['parser']);if('function'==typeof _0x2f21d5['overlay'])_0x4572e6=new ActiveOverlay(_0x2f21d5['parser'],_0x2f21d5['overlay'],_0x5a781b,this['inner']['length'],_0x387383['from'],_0x387383['tree'],_0x4572e6);else{let _0x37eaa2=yC(this['ranges'],_0x2f21d5['overlay']||(_0x387383['from']<_0x387383['to']?[new Range(_0x387383['from'],_0x387383['to'])]:[]));_0x37eaa2['length']&&mC(_0x37eaa2),!_0x37eaa2['length']&&_0x2f21d5['overlay']||this['inner']['push'](new InnerParse(_0x2f21d5['parser'],_0x37eaa2['length']?_0x2f21d5['parser']['startParse'](this['input'],_C(_0x5a781b,_0x37eaa2),_0x37eaa2):_0x2f21d5['parser']['startParse'](''),_0x2f21d5['overlay']?_0x2f21d5['overlay']['map'](_0x1a1c73=>new Range(_0x1a1c73['from']-_0x387383['from'],_0x1a1c73['to']-_0x387383['from'])):null,_0x387383['tree'],_0x37eaa2['length']?_0x37eaa2[0x0]['from']:_0x387383['from'])),_0x2f21d5['overlay']?_0x37eaa2['length']&&(_0x5ddc04={'ranges':_0x37eaa2,'depth':0x0,'prev':_0x5ddc04}):_0x14351f=!0x1;}}else{if(_0x4572e6&&(_0x18ae2d=_0x4572e6['predicate'](_0x387383))&&(!0x0===_0x18ae2d&&(_0x18ae2d=new Range(_0x387383['from'],_0x387383['to'])),_0x18ae2d['from']<_0x18ae2d['to'])){let _0x34c808=_0x4572e6['ranges']['length']-0x1;_0x34c808>=0x0&&_0x4572e6['ranges'][_0x34c808]['to']==_0x18ae2d['from']?_0x4572e6['ranges'][_0x34c808]={'from':_0x4572e6['ranges'][_0x34c808]['from'],'to':_0x18ae2d['to']}:_0x4572e6['ranges']['push'](_0x18ae2d);}}}}}if(_0x14351f&&_0x387383['firstChild']())_0x4572e6&&_0x4572e6['depth']++,_0x5ddc04&&_0x5ddc04['depth']++;else for(;!_0x387383['nextSibling']();){if(!_0x387383['parent']())break t;if(_0x4572e6&&!--_0x4572e6['depth']){let _0x885ef2=yC(this['ranges'],_0x4572e6['ranges']);_0x885ef2['length']&&(mC(_0x885ef2),this['inner']['splice'](_0x4572e6['index'],0x0,new InnerParse(_0x4572e6['parser'],_0x4572e6['parser']['startParse'](this['input'],_C(_0x4572e6['mounts'],_0x885ef2),_0x885ef2),_0x4572e6['ranges']['map'](_0x49b01d=>new Range(_0x49b01d['from']-_0x4572e6['start'],_0x49b01d['to']-_0x4572e6['start'])),_0x4572e6['target'],_0x885ef2[0x0]['from']))),_0x4572e6=_0x4572e6['prev'];}_0x5ddc04&&!--_0x5ddc04['depth']&&(_0x5ddc04=_0x5ddc04['prev']);}}}}function pC(_0x3f2ac3,_0x4e3959,_0x4af8c){for(let _0x425dc7 of _0x3f2ac3){if(_0x425dc7['from']>=_0x4af8c)break;if(_0x425dc7['to']>_0x4e3959)return _0x425dc7['from']<=_0x4e3959&&_0x425dc7['to']>=_0x4af8c?0x2:0x1;}return 0x0;}function OC(_0x2f4612,_0x1f190d,_0x3ed739,_0x81346c,_0x524d6a,_0x4709ce){if(_0x1f190d<_0x3ed739){let _0x35f3ee=_0x2f4612['buffer'][_0x1f190d+0x1];_0x81346c['push'](_0x2f4612['slice'](_0x1f190d,_0x3ed739,_0x35f3ee)),_0x524d6a['push'](_0x35f3ee-_0x4709ce);}}function wC(_0xcfac90){let {node:_0x50e334}=_0xcfac90,_0x5d15de=[],_0x31be9c=_0x50e334['context']['buffer'];do{_0x5d15de['push'](_0xcfac90['index']),_0xcfac90['parent']();}while(!_0xcfac90['tree']);let _0x41c7da=_0xcfac90['tree'],_0x197242=_0x41c7da['children']['indexOf'](_0x31be9c),_0x2404d6=_0x41c7da['children'][_0x197242],_0x58f293=_0x2404d6['buffer'],_0x551cc3=[_0x197242];_0x41c7da['children'][_0x197242]=function _0x228271(_0x225d09,_0x177b10,_0x2b48c2,_0x5a9503,_0x1ceb61,_0x3842bb){let _0x23e750=_0x5d15de[_0x3842bb],_0x180763=[],_0x5ab29c=[];OC(_0x2404d6,_0x225d09,_0x23e750,_0x180763,_0x5ab29c,_0x5a9503);let _0x5b6c5e=_0x58f293[_0x23e750+0x1],_0x2b587a=_0x58f293[_0x23e750+0x2];_0x551cc3['push'](_0x180763['length']);let _0x10c406=_0x3842bb?_0x228271(_0x23e750+0x4,_0x58f293[_0x23e750+0x3],_0x2404d6['set']['types'][_0x58f293[_0x23e750]],_0x5b6c5e,_0x2b587a-_0x5b6c5e,_0x3842bb-0x1):_0x50e334['toTree']();return _0x180763['push'](_0x10c406),_0x5ab29c['push'](_0x5b6c5e-_0x5a9503),OC(_0x2404d6,_0x58f293[_0x23e750+0x3],_0x177b10,_0x180763,_0x5ab29c,_0x5a9503),new Tree(_0x2b48c2,_0x180763,_0x5ab29c,_0x1ceb61);}(0x0,_0x58f293['length'],NodeType['none'],0x0,_0x2404d6['length'],_0x5d15de['length']-0x1);for(let _0x3baf82 of _0x551cc3){let _0x38a816=_0xcfac90['tree']['children'][_0x3baf82],_0x2cb4e6=_0xcfac90['tree']['positions'][_0x3baf82];_0xcfac90['yield'](new TreeNode(_0x38a816,_0x2cb4e6+_0xcfac90['from'],_0x3baf82,_0xcfac90['_tree']));}}class StructureCursor{constructor(_0x317065,_0x49ebc2){this['offset']=_0x49ebc2,this['done']=!0x1,this['cursor']=_0x317065['cursor'](sC['IncludeAnonymous']|sC['IgnoreMounts']);}['moveTo'](_0x3c896e){let {cursor:_0x4134fe}=this,_0x6f61db=_0x3c896e-this['offset'];for(;!this['done']&&_0x4134fe['from']<_0x6f61db;)_0x4134fe['to']>=_0x3c896e&&_0x4134fe['enter'](_0x6f61db,0x1,sC['IgnoreOverlays']|sC['ExcludeBuffers'])||_0x4134fe['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x105e86){if(this['moveTo'](_0x105e86['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x105e86['from']&&this['cursor']['tree'])for(let _0x6baaf3=this['cursor']['tree'];;){if(_0x6baaf3==_0x105e86['tree'])return!0x0;if(!(_0x6baaf3['children']['length']&&0x0==_0x6baaf3['positions'][0x0]&&_0x6baaf3['children'][0x0]instanceof Tree))break;_0x6baaf3=_0x6baaf3['children'][0x0];}return!0x1;}}let bC=class FragmentCursor{constructor(_0x3f22d8){var _0x4db8d5;if(this['fragments']=_0x3f22d8,this['curTo']=0x0,this['fragI']=0x0,_0x3f22d8['length']){let _0x20c68f=this['curFrag']=_0x3f22d8[0x0];this['curTo']=null!==(_0x4db8d5=_0x20c68f['tree']['prop'](gC))&&void 0x0!==_0x4db8d5?_0x4db8d5:_0x20c68f['to'],this['inner']=new StructureCursor(_0x20c68f['tree'],-_0x20c68f['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x337808){for(;this['curFrag']&&_0x337808['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x337808['from']&&this['curTo']>=_0x337808['to']&&this['inner']['hasNode'](_0x337808);}['nextFrag'](){var _0x51ac21;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x2c6aad=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x51ac21=_0x2c6aad['tree']['prop'](gC))&&void 0x0!==_0x51ac21?_0x51ac21:_0x2c6aad['to'],this['inner']=new StructureCursor(_0x2c6aad['tree'],-_0x2c6aad['offset']);}}['findMounts'](_0x189979,_0x366942){var _0x8517d6;let _0xbd3e=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x189979,0x1);for(let _0x2c5d5c=this['inner']['cursor']['node'];_0x2c5d5c;_0x2c5d5c=_0x2c5d5c['parent']){let _0x4b46b2=null===(_0x8517d6=_0x2c5d5c['tree'])||void 0x0===_0x8517d6?void 0x0:_0x8517d6['prop'](NodeProp['mounted']);if(_0x4b46b2&&_0x4b46b2['parser']==_0x366942)for(let _0x34d3b7=this['fragI'];_0x34d3b7<this['fragments']['length'];_0x34d3b7++){let _0x40d26b=this['fragments'][_0x34d3b7];if(_0x40d26b['from']>=_0x2c5d5c['to'])break;_0x40d26b['tree']==this['curFrag']['tree']&&_0xbd3e['push']({'frag':_0x40d26b,'pos':_0x2c5d5c['from']-_0x40d26b['offset'],'mount':_0x4b46b2});}}}return _0xbd3e;}};function yC(_0x2bce33,_0x371427){let _0x2bb221=null,_0x49c66d=_0x371427;for(let _0xb72b6e=0x1,_0x3a2ad2=0x0;_0xb72b6e<_0x2bce33['length'];_0xb72b6e++){let _0xc99712=_0x2bce33[_0xb72b6e-0x1]['to'],_0x5231be=_0x2bce33[_0xb72b6e]['from'];for(;_0x3a2ad2<_0x49c66d['length'];_0x3a2ad2++){let _0x4c7491=_0x49c66d[_0x3a2ad2];if(_0x4c7491['from']>=_0x5231be)break;_0x4c7491['to']<=_0xc99712||(_0x2bb221||(_0x49c66d=_0x2bb221=_0x371427['slice']()),_0x4c7491['from']<_0xc99712?(_0x2bb221[_0x3a2ad2]=new Range(_0x4c7491['from'],_0xc99712),_0x4c7491['to']>_0x5231be&&_0x2bb221['splice'](_0x3a2ad2+0x1,0x0,new Range(_0x5231be,_0x4c7491['to']))):_0x4c7491['to']>_0x5231be?_0x2bb221[_0x3a2ad2--]=new Range(_0x5231be,_0x4c7491['to']):_0x2bb221['splice'](_0x3a2ad2--,0x1));}}return _0x49c66d;}function vC(_0x2eeefb,_0x1bfe62,_0x5d38db,_0x3d6e35){let _0x559dbc=0x0,_0x573a56=0x0,_0x1b7c5a=!0x1,_0x1ab619=!0x1,_0x53d52a=-0x3b9aca00,_0x1f3b8a=[];for(;;){let _0x5433b2=_0x559dbc==_0x2eeefb['length']?0x3b9aca00:_0x1b7c5a?_0x2eeefb[_0x559dbc]['to']:_0x2eeefb[_0x559dbc]['from'],_0x6514b7=_0x573a56==_0x1bfe62['length']?0x3b9aca00:_0x1ab619?_0x1bfe62[_0x573a56]['to']:_0x1bfe62[_0x573a56]['from'];if(_0x1b7c5a!=_0x1ab619){let _0x1cbb6e=Math['max'](_0x53d52a,_0x5d38db),_0x30f28e=Math['min'](_0x5433b2,_0x6514b7,_0x3d6e35);_0x1cbb6e<_0x30f28e&&_0x1f3b8a['push'](new Range(_0x1cbb6e,_0x30f28e));}if(_0x53d52a=Math['min'](_0x5433b2,_0x6514b7),0x3b9aca00==_0x53d52a)break;_0x5433b2==_0x53d52a&&(_0x1b7c5a?(_0x1b7c5a=!0x1,_0x559dbc++):_0x1b7c5a=!0x0),_0x6514b7==_0x53d52a&&(_0x1ab619?(_0x1ab619=!0x1,_0x573a56++):_0x1ab619=!0x0);}return _0x1f3b8a;}function _C(_0x129eff,_0x101dda){let _0x19816e=[];for(let {pos:_0x52b37d,mount:_0x5dd531,frag:_0x3b02a5}of _0x129eff){let _0x4d9fca=_0x52b37d+(_0x5dd531['overlay']?_0x5dd531['overlay'][0x0]['from']:0x0),_0x20bf7d=_0x4d9fca+_0x5dd531['tree']['length'],_0x509a7c=Math['max'](_0x3b02a5['from'],_0x4d9fca),_0x1aa6df=Math['min'](_0x3b02a5['to'],_0x20bf7d);if(_0x5dd531['overlay']){let _0x1d8199=vC(_0x101dda,_0x5dd531['overlay']['map'](_0x35054c=>new Range(_0x35054c['from']+_0x52b37d,_0x35054c['to']+_0x52b37d)),_0x509a7c,_0x1aa6df);for(let _0x3ca131=0x0,_0x1036a6=_0x509a7c;;_0x3ca131++){let _0x43808a=_0x3ca131==_0x1d8199['length'],_0x35713b=_0x43808a?_0x1aa6df:_0x1d8199[_0x3ca131]['from'];if(_0x35713b>_0x1036a6&&_0x19816e['push'](new TreeFragment(_0x1036a6,_0x35713b,_0x5dd531['tree'],-_0x4d9fca,_0x3b02a5['from']>=_0x1036a6||_0x3b02a5['openStart'],_0x3b02a5['to']<=_0x35713b||_0x3b02a5['openEnd'])),_0x43808a)break;_0x1036a6=_0x1d8199[_0x3ca131]['to'];}}else _0x19816e['push'](new TreeFragment(_0x509a7c,_0x1aa6df,_0x5dd531['tree'],-_0x4d9fca,_0x3b02a5['from']>=_0x4d9fca||_0x3b02a5['openStart'],_0x3b02a5['to']<=_0x20bf7d||_0x3b02a5['openEnd']));}return _0x19816e;}let EC=0x0;class Tag{constructor(_0x4e4c13,_0x5f4ea5,_0x571e90,_0x293db1){this['name']=_0x4e4c13,this['set']=_0x5f4ea5,this['base']=_0x571e90,this['modified']=_0x293db1,this['id']=EC++;}['toString'](){let {name:_0x381d54}=this;for(let _0x5c0b03 of this['modified'])_0x5c0b03['name']&&(_0x381d54=_0x5c0b03['name']+'('+_0x381d54+')');return _0x381d54;}static['define'](_0x347533,_0x313c11){let _0x3a4934='string'==typeof _0x347533?_0x347533:'?';if(_0x347533 instanceof Tag&&(_0x313c11=_0x347533),null==_0x313c11?void 0x0:_0x313c11['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x3572b0=new Tag(_0x3a4934,[],null,[]);if(_0x3572b0['set']['push'](_0x3572b0),_0x313c11){for(let t of _0x313c11['set'])_0x3572b0['set']['push'](t);}return _0x3572b0;}static['defineModifier'](_0x2776c3){let _0x51d86b=new Modifier(_0x2776c3);return _0x1c84d1=>_0x1c84d1['modified']['indexOf'](_0x51d86b)>-0x1?_0x1c84d1:Modifier['get'](_0x1c84d1['base']||_0x1c84d1,_0x1c84d1['modified']['concat'](_0x51d86b)['sort']((_0x2d14ea,_0x59c266)=>_0x2d14ea['id']-_0x59c266['id']));}}let TC=0x0;class Modifier{constructor(_0x551340){this['name']=_0x551340,this['instances']=[],this['id']=TC++;}static['get'](_0xa50d6e,_0x412813){if(!_0x412813['length'])return _0xa50d6e;let _0x2c2262=_0x412813[0x0]['instances']['find'](t=>{return t['base']==_0xa50d6e&&(_0xdbdf8a=_0x412813,_0x2b4a70=t['modified'],_0xdbdf8a['length']==_0x2b4a70['length']&&_0xdbdf8a['every']((_0x5223ae,_0x1ec499)=>_0x5223ae==_0x2b4a70[_0x1ec499]));var _0xdbdf8a,_0x2b4a70;});if(_0x2c2262)return _0x2c2262;let _0x23a50e=[],_0xe577a2=new Tag(_0xa50d6e['name'],_0x23a50e,_0xa50d6e,_0x412813);for(let _0x159120 of _0x412813)_0x159120['instances']['push'](_0xe577a2);let _0x54362d=function(_0xb5d472){let _0x34f9ec=[[]];for(let _0x5b0055=0x0;_0x5b0055<_0xb5d472['length'];_0x5b0055++)for(let _0x9dd346=0x0,_0x45a2d9=_0x34f9ec['length'];_0x9dd346<_0x45a2d9;_0x9dd346++)_0x34f9ec['push'](_0x34f9ec[_0x9dd346]['concat'](_0xb5d472[_0x5b0055]));return _0x34f9ec['sort']((_0x37dc3d,_0x23e03e)=>_0x23e03e['length']-_0x37dc3d['length']);}(_0x412813);for(let _0x4ff66b of _0xa50d6e['set'])if(!_0x4ff66b['modified']['length']){for(let _0x4e90e6 of _0x54362d)_0x23a50e['push'](Modifier['get'](_0x4ff66b,_0x4e90e6));}return _0xe577a2;}}function AC(_0x85a3d5){let _0x11348e=Object['create'](null);for(let _0x24abe5 in _0x85a3d5){let _0x4f63c2=_0x85a3d5[_0x24abe5];Array['isArray'](_0x4f63c2)||(_0x4f63c2=[_0x4f63c2]);for(let _0x19860f of _0x24abe5['split']('\x20'))if(_0x19860f){let _0x31a559=[],_0x283923=0x2,_0x4368b5=_0x19860f;for(let _0x42d323=0x0;;){if('...'==_0x4368b5&&_0x42d323>0x0&&_0x42d323+0x3==_0x19860f['length']){_0x283923=0x1;break;}let _0x44bbc4=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x4368b5);if(!_0x44bbc4)throw new RangeError('Invalid\x20path:\x20'+_0x19860f);if(_0x31a559['push']('*'==_0x44bbc4[0x0]?'':'\x22'==_0x44bbc4[0x0][0x0]?JSON['parse'](_0x44bbc4[0x0]):_0x44bbc4[0x0]),_0x42d323+=_0x44bbc4[0x0]['length'],_0x42d323==_0x19860f['length'])break;let _0x511577=_0x19860f[_0x42d323++];if(_0x42d323==_0x19860f['length']&&'!'==_0x511577){_0x283923=0x0;break;}if('/'!=_0x511577)throw new RangeError('Invalid\x20path:\x20'+_0x19860f);_0x4368b5=_0x19860f['slice'](_0x42d323);}let _0x11d1d5=_0x31a559['length']-0x1,_0x5f3a63=_0x31a559[_0x11d1d5];if(!_0x5f3a63)throw new RangeError('Invalid\x20path:\x20'+_0x19860f);let _0x224c83=new Rule(_0x4f63c2,_0x283923,_0x11d1d5>0x0?_0x31a559['slice'](0x0,_0x11d1d5):null);_0x11348e[_0x5f3a63]=_0x224c83['sort'](_0x11348e[_0x5f3a63]);}}return IC['add'](_0x11348e);}const IC=new NodeProp({'combine'(_0x31adb7,_0x2b1b59){let _0x2f1cf9,_0x466b5d,_0x4e7034;for(;_0x31adb7||_0x2b1b59;){if(!_0x31adb7||_0x2b1b59&&_0x31adb7['depth']>=_0x2b1b59['depth']?(_0x4e7034=_0x2b1b59,_0x2b1b59=_0x2b1b59['next']):(_0x4e7034=_0x31adb7,_0x31adb7=_0x31adb7['next']),_0x2f1cf9&&_0x2f1cf9['mode']==_0x4e7034['mode']&&!_0x4e7034['context']&&!_0x2f1cf9['context'])continue;let _0x38e784=new Rule(_0x4e7034['tags'],_0x4e7034['mode'],_0x4e7034['context']);_0x2f1cf9?_0x2f1cf9['next']=_0x38e784:_0x466b5d=_0x38e784,_0x2f1cf9=_0x38e784;}return _0x466b5d;}});class Rule{constructor(_0x11e616,_0x249db8,_0x423516,_0x92de11){this['tags']=_0x11e616,this['mode']=_0x249db8,this['context']=_0x423516,this['next']=_0x92de11;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x13dbd1){return!_0x13dbd1||_0x13dbd1['depth']<this['depth']?(this['next']=_0x13dbd1,this):(_0x13dbd1['next']=this['sort'](_0x13dbd1['next']),_0x13dbd1);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function SC(_0x42d2e8,_0x19b7f9){let _0x4fac48=Object['create'](null);for(let _0x494340 of _0x42d2e8)if(Array['isArray'](_0x494340['tag'])){for(let _0x1b4aa2 of _0x494340['tag'])_0x4fac48[_0x1b4aa2['id']]=_0x494340['class'];}else _0x4fac48[_0x494340['tag']['id']]=_0x494340['class'];let {scope:_0x2ad450,all:_0x51d79e=null}=_0x19b7f9||{};return{'style':_0x89b9b9=>{let _0x300880=_0x51d79e;for(let _0x2482f0 of _0x89b9b9)for(let _0x5b6072 of _0x2482f0['set']){let _0x59520f=_0x4fac48[_0x5b6072['id']];if(_0x59520f){_0x300880=_0x300880?_0x300880+'\x20'+_0x59520f:_0x59520f;break;}}return _0x300880;},'scope':_0x2ad450};}function CC(_0x56e8e9,_0x2fb47a,_0x19d453,_0x399658=0x0,_0x478161=_0x56e8e9['length']){let _0x28bd89=new HighlightBuilder(_0x399658,Array['isArray'](_0x2fb47a)?_0x2fb47a:[_0x2fb47a],_0x19d453);_0x28bd89['highlightRange'](_0x56e8e9['cursor'](),_0x399658,_0x478161,'',_0x28bd89['highlighters']),_0x28bd89['flush'](_0x478161);}Rule['empty']=new Rule([],0x2,null);class HighlightBuilder{constructor(_0x1dcb9c,_0x1aef2c,_0x24ae75){this['at']=_0x1dcb9c,this['highlighters']=_0x1aef2c,this['span']=_0x24ae75,this['class']='';}['startSpan'](_0x327560,_0x4a8ae3){_0x4a8ae3!=this['class']&&(this['flush'](_0x327560),_0x327560>this['at']&&(this['at']=_0x327560),this['class']=_0x4a8ae3);}['flush'](_0x366957){_0x366957>this['at']&&this['class']&&this['span'](this['at'],_0x366957,this['class']);}['highlightRange'](_0x3ce6b2,_0x335f36,_0x3d07a7,_0x4721c8,_0x3b64c7){let {type:_0x3fb3b9,from:_0x513bd4,to:_0x38d6e1}=_0x3ce6b2;if(_0x513bd4>=_0x3d07a7||_0x38d6e1<=_0x335f36)return;_0x3fb3b9['isTop']&&(_0x3b64c7=this['highlighters']['filter'](_0x593564=>!_0x593564['scope']||_0x593564['scope'](_0x3fb3b9)));let _0x415cc6=_0x4721c8,_0x3d2119=function(_0x6a39c2){let _0x5607ed=_0x6a39c2['type']['prop'](IC);for(;_0x5607ed&&_0x5607ed['context']&&!_0x6a39c2['matchContext'](_0x5607ed['context']);)_0x5607ed=_0x5607ed['next'];return _0x5607ed||null;}(_0x3ce6b2)||Rule['empty'],_0x5756fe=function(_0x2b2a52,_0x18f2e7){let _0x19fda6=null;for(let _0x763f47 of _0x2b2a52){let _0x4c65eb=_0x763f47['style'](_0x18f2e7);_0x4c65eb&&(_0x19fda6=_0x19fda6?_0x19fda6+'\x20'+_0x4c65eb:_0x4c65eb);}return _0x19fda6;}(_0x3b64c7,_0x3d2119['tags']);if(_0x5756fe&&(_0x415cc6&&(_0x415cc6+='\x20'),_0x415cc6+=_0x5756fe,0x1==_0x3d2119['mode']&&(_0x4721c8+=(_0x4721c8?'\x20':'')+_0x5756fe)),this['startSpan'](Math['max'](_0x335f36,_0x513bd4),_0x415cc6),_0x3d2119['opaque'])return;let _0x10f445=_0x3ce6b2['tree']&&_0x3ce6b2['tree']['prop'](NodeProp['mounted']);if(_0x10f445&&_0x10f445['overlay']){let _0xc36f63=_0x3ce6b2['node']['enter'](_0x10f445['overlay'][0x0]['from']+_0x513bd4,0x1),_0x22e0a=this['highlighters']['filter'](_0x48cfb3=>!_0x48cfb3['scope']||_0x48cfb3['scope'](_0x10f445['tree']['type'])),_0x3db904=_0x3ce6b2['firstChild']();for(let _0x1f748a=0x0,_0x5e5884=_0x513bd4;;_0x1f748a++){let _0x50d0b8=_0x1f748a<_0x10f445['overlay']['length']?_0x10f445['overlay'][_0x1f748a]:null,_0x1c4cfc=_0x50d0b8?_0x50d0b8['from']+_0x513bd4:_0x38d6e1,_0x432dbd=Math['max'](_0x335f36,_0x5e5884),_0x297df6=Math['min'](_0x3d07a7,_0x1c4cfc);if(_0x432dbd<_0x297df6&&_0x3db904){for(;_0x3ce6b2['from']<_0x297df6&&(this['highlightRange'](_0x3ce6b2,_0x432dbd,_0x297df6,_0x4721c8,_0x3b64c7),this['startSpan'](Math['min'](_0x297df6,_0x3ce6b2['to']),_0x415cc6),!(_0x3ce6b2['to']>=_0x1c4cfc)&&_0x3ce6b2['nextSibling']()););}if(!_0x50d0b8||_0x1c4cfc>_0x3d07a7)break;_0x5e5884=_0x50d0b8['to']+_0x513bd4,_0x5e5884>_0x335f36&&(this['highlightRange'](_0xc36f63['cursor'](),Math['max'](_0x335f36,_0x50d0b8['from']+_0x513bd4),Math['min'](_0x3d07a7,_0x5e5884),'',_0x22e0a),this['startSpan'](Math['min'](_0x3d07a7,_0x5e5884),_0x415cc6));}_0x3db904&&_0x3ce6b2['parent']();}else{if(_0x3ce6b2['firstChild']()){_0x10f445&&(_0x4721c8='');do{if(!(_0x3ce6b2['to']<=_0x335f36)){if(_0x3ce6b2['from']>=_0x3d07a7)break;this['highlightRange'](_0x3ce6b2,_0x335f36,_0x3d07a7,_0x4721c8,_0x3b64c7),this['startSpan'](Math['min'](_0x3d07a7,_0x3ce6b2['to']),_0x415cc6);}}while(_0x3ce6b2['nextSibling']());_0x3ce6b2['parent']();}}}}const t=Tag['define'],kC=t(),xC=t(),RC=t(xC),PC=t(xC),MC=t(),NC=t(MC),LC=t(MC),$C=t(),DC=t($C),QC=t(),VC=t(),UC=t(),BC=t(UC),FC=t(),jC={'comment':kC,'lineComment':t(kC),'blockComment':t(kC),'docComment':t(kC),'name':xC,'variableName':t(xC),'typeName':RC,'tagName':t(RC),'propertyName':PC,'attributeName':t(PC),'className':t(xC),'labelName':t(xC),'namespace':t(xC),'macroName':t(xC),'literal':MC,'string':NC,'docString':t(NC),'character':t(NC),'attributeValue':t(NC),'number':LC,'integer':t(LC),'float':t(LC),'bool':t(MC),'regexp':t(MC),'escape':t(MC),'color':t(MC),'url':t(MC),'keyword':QC,'self':t(QC),'null':t(QC),'atom':t(QC),'unit':t(QC),'modifier':t(QC),'operatorKeyword':t(QC),'controlKeyword':t(QC),'definitionKeyword':t(QC),'moduleKeyword':t(QC),'operator':VC,'derefOperator':t(VC),'arithmeticOperator':t(VC),'logicOperator':t(VC),'bitwiseOperator':t(VC),'compareOperator':t(VC),'updateOperator':t(VC),'definitionOperator':t(VC),'typeOperator':t(VC),'controlOperator':t(VC),'punctuation':UC,'separator':t(UC),'bracket':BC,'angleBracket':t(BC),'squareBracket':t(BC),'paren':t(BC),'brace':t(BC),'content':$C,'heading':DC,'heading1':t(DC),'heading2':t(DC),'heading3':t(DC),'heading4':t(DC),'heading5':t(DC),'heading6':t(DC),'contentSeparator':t($C),'list':t($C),'quote':t($C),'emphasis':t($C),'strong':t($C),'link':t($C),'monospace':t($C),'strikethrough':t($C),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':FC,'documentMeta':t(FC),'annotation':t(FC),'processingInstruction':t(FC),'definition':Tag['defineModifier']('definition'),'constant':Tag['defineModifier']('constant'),'function':Tag['defineModifier']('function'),'standard':Tag['defineModifier']('standard'),'local':Tag['defineModifier']('local'),'special':Tag['defineModifier']('special')};for(let e in jC){let s=jC[e];s instanceof Tag&&(s['name']=e);}var HC;SC([{'tag':jC['link'],'class':'tok-link'},{'tag':jC['heading'],'class':'tok-heading'},{'tag':jC['emphasis'],'class':'tok-emphasis'},{'tag':jC['strong'],'class':'tok-strong'},{'tag':jC['keyword'],'class':'tok-keyword'},{'tag':jC['atom'],'class':'tok-atom'},{'tag':jC['bool'],'class':'tok-bool'},{'tag':jC['url'],'class':'tok-url'},{'tag':jC['labelName'],'class':'tok-labelName'},{'tag':jC['inserted'],'class':'tok-inserted'},{'tag':jC['deleted'],'class':'tok-deleted'},{'tag':jC['literal'],'class':'tok-literal'},{'tag':jC['string'],'class':'tok-string'},{'tag':jC['number'],'class':'tok-number'},{'tag':[jC['regexp'],jC['escape'],jC['special'](jC['string'])],'class':'tok-string2'},{'tag':jC['variableName'],'class':'tok-variableName'},{'tag':jC['local'](jC['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':jC['definition'](jC['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':jC['special'](jC['variableName']),'class':'tok-variableName2'},{'tag':jC['definition'](jC['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':jC['typeName'],'class':'tok-typeName'},{'tag':jC['namespace'],'class':'tok-namespace'},{'tag':jC['className'],'class':'tok-className'},{'tag':jC['macroName'],'class':'tok-macroName'},{'tag':jC['propertyName'],'class':'tok-propertyName'},{'tag':jC['operator'],'class':'tok-operator'},{'tag':jC['comment'],'class':'tok-comment'},{'tag':jC['meta'],'class':'tok-meta'},{'tag':jC['invalid'],'class':'tok-invalid'},{'tag':jC['punctuation'],'class':'tok-punctuation'}]);const GC=new NodeProp();function ZC(_0x4ee91e){return Facet['define']({'combine':_0x4ee91e?_0x3cadb2=>_0x3cadb2['concat'](_0x4ee91e):void 0x0});}const XC=new NodeProp();class Language{constructor(_0x37f108,_0x2eb905,_0x101214=[],_0x4a8f29=''){this['data']=_0x37f108,this['name']=_0x4a8f29,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return WC(this);}}),this['parser']=_0x2eb905,this['extension']=[ek['of'](this),EditorState['languageData']['of']((_0x45ce84,_0x4b8d13,_0x13c897)=>{let _0x3bd800=qC(_0x45ce84,_0x4b8d13,_0x13c897),_0x3317a1=_0x3bd800['type']['prop'](GC);if(!_0x3317a1)return[];let _0x43e84c=_0x45ce84['facet'](_0x3317a1),_0x2be99c=_0x3bd800['type']['prop'](XC);if(_0x2be99c){let _0x24bbc5=_0x3bd800['resolve'](_0x4b8d13-_0x3bd800['from'],_0x13c897);for(let _0x6dccd of _0x2be99c)if(_0x6dccd['test'](_0x24bbc5,_0x45ce84)){let _0x557ea1=_0x45ce84['facet'](_0x6dccd['facet']);return'replace'==_0x6dccd['type']?_0x557ea1:_0x557ea1['concat'](_0x43e84c);}}return _0x43e84c;})]['concat'](_0x101214);}['isActiveAt'](_0x532a71,_0x5ea410,_0x3cfeba=-0x1){return qC(_0x532a71,_0x5ea410,_0x3cfeba)['type']['prop'](GC)==this['data'];}['findRegions'](_0x26f6ee){let _0x171ff6=_0x26f6ee['facet'](ek);if((null==_0x171ff6?void 0x0:_0x171ff6['data'])==this['data'])return[{'from':0x0,'to':_0x26f6ee['doc']['length']}];if(!_0x171ff6||!_0x171ff6['allowsNesting'])return[];let _0x583248=[],_0x26d5bc=(_0x36788d,_0x129b27)=>{if(_0x36788d['prop'](GC)==this['data'])return void _0x583248['push']({'from':_0x129b27,'to':_0x129b27+_0x36788d['length']});let _0x39a544=_0x36788d['prop'](NodeProp['mounted']);if(_0x39a544){if(_0x39a544['tree']['prop'](GC)==this['data']){if(_0x39a544['overlay']){for(let _0x18f8a1 of _0x39a544['overlay'])_0x583248['push']({'from':_0x18f8a1['from']+_0x129b27,'to':_0x18f8a1['to']+_0x129b27});}else _0x583248['push']({'from':_0x129b27,'to':_0x129b27+_0x36788d['length']});return;}if(_0x39a544['overlay']){let _0x1a5e2a=_0x583248['length'];if(_0x26d5bc(_0x39a544['tree'],_0x39a544['overlay'][0x0]['from']+_0x129b27),_0x583248['length']>_0x1a5e2a)return;}}for(let _0x243372=0x0;_0x243372<_0x36788d['children']['length'];_0x243372++){let _0x21fb92=_0x36788d['children'][_0x243372];_0x21fb92 instanceof Tree&&_0x26d5bc(_0x21fb92,_0x36788d['positions'][_0x243372]+_0x129b27);}};return _0x26d5bc(WC(_0x26f6ee),0x0),_0x583248;}get['allowsNesting'](){return!0x0;}}function qC(_0x359cf9,_0x1ebb16,_0x579b25){let _0x555f75=_0x359cf9['facet'](ek),_0x400a9a=WC(_0x359cf9)['topNode'];if(!_0x555f75||_0x555f75['allowsNesting']){for(let _0x2f6633=_0x400a9a;_0x2f6633;_0x2f6633=_0x2f6633['enter'](_0x1ebb16,_0x579b25,sC['ExcludeBuffers']))_0x2f6633['type']['isTop']&&(_0x400a9a=_0x2f6633);}return _0x400a9a;}Language['setState']=StateEffect['define']();class LRLanguage extends Language{constructor(_0x41c46c,_0xc787bb,_0x56c80c){super(_0x41c46c,_0xc787bb,[],_0x56c80c),this['parser']=_0xc787bb;}static['define'](_0x4248e3){let _0x2a9c5d=ZC(_0x4248e3['languageData']);return new LRLanguage(_0x2a9c5d,_0x4248e3['parser']['configure']({'props':[GC['add'](_0x26215d=>_0x26215d['isTop']?_0x2a9c5d:void 0x0)]}),_0x4248e3['name']);}['configure'](_0x2d056a,_0x1c5cdd){return new LRLanguage(this['data'],this['parser']['configure'](_0x2d056a),_0x1c5cdd||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function WC(_0x1067b0){let _0x1c16e4=_0x1067b0['field'](Language['state'],!0x1);return _0x1c16e4?_0x1c16e4['tree']:Tree['empty'];}class DocInput{constructor(_0x433656){this['doc']=_0x433656,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x433656['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x4619f4){return this['string']=this['cursor']['next'](_0x4619f4-this['cursorPos'])['value'],this['cursorPos']=_0x4619f4+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x327f46){return this['syncTo'](_0x327f46),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x58cea0,_0x47353d){let _0x54c475=this['cursorPos']-this['string']['length'];return _0x58cea0<_0x54c475||_0x47353d>=this['cursorPos']?this['doc']['sliceString'](_0x58cea0,_0x47353d):this['string']['slice'](_0x58cea0-_0x54c475,_0x47353d-_0x54c475);}}let zC=null;class ParseContext{constructor(_0x448d24,_0x3e9ea1,_0x4e04a8=[],_0xa9f3d2,_0x48fba4,_0x16f071,_0x58e762,_0x55e9d6){this['parser']=_0x448d24,this['state']=_0x3e9ea1,this['fragments']=_0x4e04a8,this['tree']=_0xa9f3d2,this['treeLen']=_0x48fba4,this['viewport']=_0x16f071,this['skipped']=_0x58e762,this['scheduleOn']=_0x55e9d6,this['parse']=null,this['tempSkipped']=[];}static['create'](_0xba1c4f,_0x30c5c3,_0x2ad34c){return new ParseContext(_0xba1c4f,_0x30c5c3,[],Tree['empty'],0x0,_0x2ad34c,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x546b65,_0x197541){return null!=_0x197541&&_0x197541>=this['state']['doc']['length']&&(_0x197541=void 0x0),this['tree']!=Tree['empty']&&this['isDone'](null!=_0x197541?_0x197541:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x1eb32b;if('number'==typeof _0x546b65){let _0xc0a925=Date['now']()+_0x546b65;_0x546b65=()=>Date['now']()>_0xc0a925;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x197541&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x197541)&&_0x197541<this['state']['doc']['length']&&this['parse']['stopAt'](_0x197541);;){let _0x474a66=this['parse']['advance']();if(_0x474a66){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x474a66,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x1eb32b=this['parse']['stoppedAt'])&&void 0x0!==_0x1eb32b?_0x1eb32b:this['state']['doc']['length'],this['tree']=_0x474a66,this['parse']=null,!(this['treeLen']<(null!=_0x197541?_0x197541:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x546b65())return!0x1;}});}['takeTree'](){let _0x5d30d9,_0x5b8908;this['parse']&&(_0x5d30d9=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x5d30d9)&&this['parse']['stopAt'](_0x5d30d9),this['withContext'](()=>{for(;!(_0x5b8908=this['parse']['advance']()););}),this['treeLen']=_0x5d30d9,this['tree']=_0x5b8908,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0xfe9705){let _0x57d376=zC;zC=this;try{return _0xfe9705();}finally{zC=_0x57d376;}}['withoutTempSkipped'](_0x35917c){for(let _0x8bc3a8;_0x8bc3a8=this['tempSkipped']['pop']();)_0x35917c=YC(_0x35917c,_0x8bc3a8['from'],_0x8bc3a8['to']);return _0x35917c;}['changes'](_0x3aa52d,_0x4d7528){let {fragments:_0x5d61d6,tree:_0x206ac4,treeLen:_0x42dd1b,viewport:_0x520658,skipped:_0x28cb1b}=this;if(this['takeTree'](),!_0x3aa52d['empty']){let _0x41ac26=[];if(_0x3aa52d['iterChangedRanges']((_0x99fa25,_0x1df6d4,_0x5e671a,_0xcbf30c)=>_0x41ac26['push']({'fromA':_0x99fa25,'toA':_0x1df6d4,'fromB':_0x5e671a,'toB':_0xcbf30c})),_0x5d61d6=TreeFragment['applyChanges'](_0x5d61d6,_0x41ac26),_0x206ac4=Tree['empty'],_0x42dd1b=0x0,_0x520658={'from':_0x3aa52d['mapPos'](_0x520658['from'],-0x1),'to':_0x3aa52d['mapPos'](_0x520658['to'],0x1)},this['skipped']['length']){_0x28cb1b=[];for(let _0x4ec7c8 of this['skipped']){let _0x1598ca=_0x3aa52d['mapPos'](_0x4ec7c8['from'],0x1),_0x1b0143=_0x3aa52d['mapPos'](_0x4ec7c8['to'],-0x1);_0x1598ca<_0x1b0143&&_0x28cb1b['push']({'from':_0x1598ca,'to':_0x1b0143});}}}return new ParseContext(this['parser'],_0x4d7528,_0x5d61d6,_0x206ac4,_0x42dd1b,_0x520658,_0x28cb1b,this['scheduleOn']);}['updateViewport'](_0x3433da){if(this['viewport']['from']==_0x3433da['from']&&this['viewport']['to']==_0x3433da['to'])return!0x1;this['viewport']=_0x3433da;let _0x781654=this['skipped']['length'];for(let _0x5572a1=0x0;_0x5572a1<this['skipped']['length'];_0x5572a1++){let {from:_0x402e5a,to:_0x107b18}=this['skipped'][_0x5572a1];_0x402e5a<_0x3433da['to']&&_0x107b18>_0x3433da['from']&&(this['fragments']=YC(this['fragments'],_0x402e5a,_0x107b18),this['skipped']['splice'](_0x5572a1--,0x1));}return!(this['skipped']['length']>=_0x781654)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x40a3cf,_0x5b1052){this['skipped']['push']({'from':_0x40a3cf,'to':_0x5b1052});}static['getSkippingParser'](_0x30defa){return new class extends Parser{['createParse'](_0x17ef3a,_0x345345,_0x5797be){let _0x2fe3b3=_0x5797be[0x0]['from'],_0x2dd4fe=_0x5797be[_0x5797be['length']-0x1]['to'];return{'parsedPos':_0x2fe3b3,'advance'(){let _0x5eb1f7=zC;if(_0x5eb1f7){for(let _0x24d2de of _0x5797be)_0x5eb1f7['tempSkipped']['push'](_0x24d2de);_0x30defa&&(_0x5eb1f7['scheduleOn']=_0x5eb1f7['scheduleOn']?Promise['all']([_0x5eb1f7['scheduleOn'],_0x30defa]):_0x30defa);}return this['parsedPos']=_0x2dd4fe,new Tree(NodeType['none'],[],[],_0x2dd4fe-_0x2fe3b3);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x377d19){_0x377d19=Math['min'](_0x377d19,this['state']['doc']['length']);let _0x301de0=this['fragments'];return this['treeLen']>=_0x377d19&&_0x301de0['length']&&0x0==_0x301de0[0x0]['from']&&_0x301de0[0x0]['to']>=_0x377d19;}static['get'](){return zC;}}function YC(_0x171983,_0x34fc9a,_0x3862cc){return TreeFragment['applyChanges'](_0x171983,[{'fromA':_0x34fc9a,'toA':_0x3862cc,'fromB':_0x34fc9a,'toB':_0x3862cc}]);}class LanguageState{constructor(_0x497888){this['context']=_0x497888,this['tree']=_0x497888['tree'];}['apply'](_0x56a6e1){if(!_0x56a6e1['docChanged']&&this['tree']==this['context']['tree'])return this;let _0xcf2291=this['context']['changes'](_0x56a6e1['changes'],_0x56a6e1['state']),_0x4916b2=this['context']['treeLen']==_0x56a6e1['startState']['doc']['length']?void 0x0:Math['max'](_0x56a6e1['changes']['mapPos'](this['context']['treeLen']),_0xcf2291['viewport']['to']);return _0xcf2291['work'](0x14,_0x4916b2)||_0xcf2291['takeTree'](),new LanguageState(_0xcf2291);}static['init'](_0x353b71){let _0x4072a5=Math['min'](0xbb8,_0x353b71['doc']['length']),_0x106bc3=ParseContext['create'](_0x353b71['facet'](ek)['parser'],_0x353b71,{'from':0x0,'to':_0x4072a5});return _0x106bc3['work'](0x14,_0x4072a5)||_0x106bc3['takeTree'](),new LanguageState(_0x106bc3);}}Language['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x57fbb4,_0x137b8b){for(let _0x2f099e of _0x137b8b['effects'])if(_0x2f099e['is'](Language['setState']))return _0x2f099e['value'];return _0x137b8b['startState']['facet'](ek)!=_0x137b8b['state']['facet'](ek)?LanguageState['init'](_0x137b8b['state']):_0x57fbb4['apply'](_0x137b8b);}});let KC=_0x2858fc=>{let _0x5cabb3=setTimeout(()=>_0x2858fc(),0x1f4);return()=>clearTimeout(_0x5cabb3);};'undefined'!=typeof requestIdleCallback&&(KC=_0x17d9cd=>{let _0x3b0a73=-0x1,_0x2faf30=setTimeout(()=>{_0x3b0a73=requestIdleCallback(_0x17d9cd,{'timeout':0x190});},0x64);return()=>_0x3b0a73<0x0?clearTimeout(_0x2faf30):cancelIdleCallback(_0x3b0a73);});const JC='undefined'!=typeof navigator&&(null===(HC=navigator['scheduling'])||void 0x0===HC?void 0x0:HC['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,tk=ViewPlugin['fromClass'](class ParseWorker{constructor(_0x41fd29){this['view']=_0x41fd29,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x2d3d21){let _0x10d849=this['view']['state']['field'](Language['state'])['context'];(_0x10d849['updateViewport'](_0x2d3d21['view']['viewport'])||this['view']['viewport']['to']>_0x10d849['treeLen'])&&this['scheduleWork'](),(_0x2d3d21['docChanged']||_0x2d3d21['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x10d849);}['scheduleWork'](){if(this['working'])return;let {state:_0x481823}=this['view'],_0x3e5578=_0x481823['field'](Language['state']);_0x3e5578['tree']==_0x3e5578['context']['tree']&&_0x3e5578['context']['isDone'](_0x481823['doc']['length'])||(this['working']=KC(this['work']));}['work'](_0x48a68a){this['working']=null;let _0x5c8892=Date['now']();if(this['chunkEnd']<_0x5c8892&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x5c8892+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x349dde,viewport:{to:_0x3c73f2}}=this['view'],_0x46b5fb=_0x349dde['field'](Language['state']);if(_0x46b5fb['tree']==_0x46b5fb['context']['tree']&&_0x46b5fb['context']['isDone'](_0x3c73f2+0x186a0))return;let _0x17a9e6=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x48a68a&&!JC?Math['max'](0x19,_0x48a68a['timeRemaining']()-0x5):0x3b9aca00),_0x18a068=_0x46b5fb['context']['treeLen']<_0x3c73f2&&_0x349dde['doc']['length']>_0x3c73f2+0x3e8,_0x37d67c=_0x46b5fb['context']['work'](()=>JC&&JC()||Date['now']()>_0x17a9e6,_0x3c73f2+(_0x18a068?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x5c8892,(_0x37d67c||this['chunkBudget']<=0x0)&&(_0x46b5fb['context']['takeTree'](),this['view']['dispatch']({'effects':Language['setState']['of'](new LanguageState(_0x46b5fb['context']))})),this['chunkBudget']>0x0&&(!_0x37d67c||_0x18a068)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x46b5fb['context']);}['checkAsyncSchedule'](_0x2a72af){_0x2a72af['scheduleOn']&&(this['workScheduled']++,_0x2a72af['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0xd53e23=>YT(this['view']['state'],_0xd53e23))['then'](()=>this['workScheduled']--),_0x2a72af['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),ek=Facet['define']({'combine':_0x2016eb=>_0x2016eb['length']?_0x2016eb[0x0]:null,'enables':_0x527bfd=>[Language['state'],tk,EditorView['contentAttributes']['compute']([_0x527bfd],_0x19c555=>{let _0x5a719f=_0x19c555['facet'](_0x527bfd);return _0x5a719f&&_0x5a719f['name']?{'data-language':_0x5a719f['name']}:{};})]});class LanguageSupport{constructor(_0x2e4564,_0x322b0e=[]){this['language']=_0x2e4564,this['support']=_0x322b0e,this['extension']=[_0x2e4564,_0x322b0e];}}class LanguageDescription{constructor(_0x1967ba,_0x3b6015,_0x55df72,_0x513bf4,_0x5ec7fe,_0x1ad813=void 0x0){this['name']=_0x1967ba,this['alias']=_0x3b6015,this['extensions']=_0x55df72,this['filename']=_0x513bf4,this['loadFunc']=_0x5ec7fe,this['support']=_0x1ad813,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x517982=>this['support']=_0x517982,_0x491b5e=>{throw this['loading']=null,_0x491b5e;}));}static['of'](_0x88d619){let {load:_0x4b1e1b,support:_0x423ca0}=_0x88d619;if(!_0x4b1e1b){if(!_0x423ca0)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x4b1e1b=()=>Promise['resolve'](_0x423ca0);}return new LanguageDescription(_0x88d619['name'],(_0x88d619['alias']||[])['concat'](_0x88d619['name'])['map'](_0xb11da7=>_0xb11da7['toLowerCase']()),_0x88d619['extensions']||[],_0x88d619['filename'],_0x4b1e1b,_0x423ca0);}static['matchFilename'](_0x39fc6c,_0x1958a8){for(let _0x5ddb1e of _0x39fc6c)if(_0x5ddb1e['filename']&&_0x5ddb1e['filename']['test'](_0x1958a8))return _0x5ddb1e;let _0x43ebe1=/\.([^.]+)$/['exec'](_0x1958a8);if(_0x43ebe1){for(let _0x463fa1 of _0x39fc6c)if(_0x463fa1['extensions']['indexOf'](_0x43ebe1[0x1])>-0x1)return _0x463fa1;}return null;}static['matchLanguageName'](_0x5b15c5,_0xf1e8c5,_0x20e6f4=!0x0){_0xf1e8c5=_0xf1e8c5['toLowerCase']();for(let _0x32b8b5 of _0x5b15c5)if(_0x32b8b5['alias']['some'](_0x53f403=>_0x53f403==_0xf1e8c5))return _0x32b8b5;if(_0x20e6f4){for(let _0x815c2b of _0x5b15c5)for(let _0x31661e of _0x815c2b['alias']){let _0x3b50fd=_0xf1e8c5['indexOf'](_0x31661e);if(_0x3b50fd>-0x1&&(_0x31661e['length']>0x2||!/\w/['test'](_0xf1e8c5[_0x3b50fd-0x1])&&!/\w/['test'](_0xf1e8c5[_0x3b50fd+_0x31661e['length']])))return _0x815c2b;}}return null;}}const ik=Facet['define'](),sk=Facet['define']({'combine':_0x5a4971=>{if(!_0x5a4971['length'])return'\x20\x20';let _0x5bdd95=_0x5a4971[0x0];if(!_0x5bdd95||/\S/['test'](_0x5bdd95)||Array['from'](_0x5bdd95)['some'](_0x463274=>_0x463274!=_0x5bdd95[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x5a4971[0x0]));return _0x5bdd95;}});function nk(_0x4a3f5c){let _0x219919=_0x4a3f5c['facet'](sk);return 0x9==_0x219919['charCodeAt'](0x0)?_0x4a3f5c['tabSize']*_0x219919['length']:_0x219919['length'];}function rk(_0x37927f,_0x4a1744){let _0x5c4e07='',_0x4afad6=_0x37927f['tabSize'],_0x4e7e3e=_0x37927f['facet'](sk)[0x0];if('\x09'==_0x4e7e3e){for(;_0x4a1744>=_0x4afad6;)_0x5c4e07+='\x09',_0x4a1744-=_0x4afad6;_0x4e7e3e='\x20';}for(let _0x2ecfa4=0x0;_0x2ecfa4<_0x4a1744;_0x2ecfa4++)_0x5c4e07+=_0x4e7e3e;return _0x5c4e07;}function ok(_0x1f0996,_0x3b898c){_0x1f0996 instanceof EditorState&&(_0x1f0996=new IndentContext(_0x1f0996));for(let _0x35edb0 of _0x1f0996['state']['facet'](ik)){let _0x301f0d=_0x35edb0(_0x1f0996,_0x3b898c);if(void 0x0!==_0x301f0d)return _0x301f0d;}let _0x368d2a=WC(_0x1f0996['state']);return _0x368d2a['length']>=_0x3b898c?function(_0x38baf9,_0x5f325,_0x404b3d){let _0x343016=_0x5f325['resolveStack'](_0x404b3d),_0x351188=_0x5f325['resolveInner'](_0x404b3d,-0x1)['resolve'](_0x404b3d,0x0)['enterUnfinishedNodesBefore'](_0x404b3d);if(_0x351188!=_0x343016['node']){let _0x3d0228=[];for(let _0x4b5af6=_0x351188;_0x4b5af6&&!(_0x4b5af6['from']<_0x343016['node']['from']||_0x4b5af6['to']>_0x343016['node']['to']||_0x4b5af6['from']==_0x343016['node']['from']&&_0x4b5af6['type']==_0x343016['node']['type']);_0x4b5af6=_0x4b5af6['parent'])_0x3d0228['push'](_0x4b5af6);for(let _0x5290c1=_0x3d0228['length']-0x1;_0x5290c1>=0x0;_0x5290c1--)_0x343016={'node':_0x3d0228[_0x5290c1],'next':_0x343016};}return ck(_0x343016,_0x38baf9,_0x404b3d);}(_0x1f0996,_0x368d2a,_0x3b898c):null;}class IndentContext{constructor(_0x3e6f28,_0x186615={}){this['state']=_0x3e6f28,this['options']=_0x186615,this['unit']=nk(_0x3e6f28);}['lineAt'](_0x61ec43,_0x12bbb7=0x1){let _0x4c63d0=this['state']['doc']['lineAt'](_0x61ec43),{simulateBreak:_0x3e6368,simulateDoubleBreak:_0x40bcca}=this['options'];return null!=_0x3e6368&&_0x3e6368>=_0x4c63d0['from']&&_0x3e6368<=_0x4c63d0['to']?_0x40bcca&&_0x3e6368==_0x61ec43?{'text':'','from':_0x61ec43}:(_0x12bbb7<0x0?_0x3e6368<_0x61ec43:_0x3e6368<=_0x61ec43)?{'text':_0x4c63d0['text']['slice'](_0x3e6368-_0x4c63d0['from']),'from':_0x3e6368}:{'text':_0x4c63d0['text']['slice'](0x0,_0x3e6368-_0x4c63d0['from']),'from':_0x4c63d0['from']}:_0x4c63d0;}['textAfterPos'](_0x565050,_0x1b7dbf=0x1){if(this['options']['simulateDoubleBreak']&&_0x565050==this['options']['simulateBreak'])return'';let {text:_0xa855b7,from:_0x1f35f5}=this['lineAt'](_0x565050,_0x1b7dbf);return _0xa855b7['slice'](_0x565050-_0x1f35f5,Math['min'](_0xa855b7['length'],_0x565050+0x64-_0x1f35f5));}['column'](_0x4b729a,_0xf9a10a=0x1){let {text:_0xbc782e,from:_0x5414b0}=this['lineAt'](_0x4b729a,_0xf9a10a),_0x18fa61=this['countColumn'](_0xbc782e,_0x4b729a-_0x5414b0),_0x207d20=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x5414b0):-0x1;return _0x207d20>-0x1&&(_0x18fa61+=_0x207d20-this['countColumn'](_0xbc782e,_0xbc782e['search'](/\S|$/))),_0x18fa61;}['countColumn'](_0x13324c,_0x3b8ea0=_0x13324c['length']){return hE(_0x13324c,this['state']['tabSize'],_0x3b8ea0);}['lineIndent'](_0x41a923,_0x5d21b4=0x1){let {text:_0xada2f2,from:_0x3a2306}=this['lineAt'](_0x41a923,_0x5d21b4),_0x4d4ef4=this['options']['overrideIndentation'];if(_0x4d4ef4){let _0x310c2f=_0x4d4ef4(_0x3a2306);if(_0x310c2f>-0x1)return _0x310c2f;}return this['countColumn'](_0xada2f2,_0xada2f2['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const ak=new NodeProp();function ck(_0x689170,_0x2353ce,_0x1a3db7){for(let _0xd87bf5=_0x689170;_0xd87bf5;_0xd87bf5=_0xd87bf5['next']){let _0x2ca037=lk(_0xd87bf5['node']);if(_0x2ca037)return _0x2ca037(TreeIndentContext['create'](_0x2353ce,_0x1a3db7,_0xd87bf5));}return 0x0;}function lk(_0x25a1d2){let _0x3a8121=_0x25a1d2['type']['prop'](ak);if(_0x3a8121)return _0x3a8121;let _0x4fa379,_0x5d0a00=_0x25a1d2['firstChild'];if(_0x5d0a00&&(_0x4fa379=_0x5d0a00['type']['prop'](NodeProp['closedBy']))){let _0x2e0e95=_0x25a1d2['lastChild'],_0x3e0f2c=_0x2e0e95&&_0x4fa379['indexOf'](_0x2e0e95['name'])>-0x1;return _0x3311a7=>fk(_0x3311a7,!0x0,0x1,void 0x0,_0x3e0f2c&&!function(_0x3a8a3f){return _0x3a8a3f['pos']==_0x3a8a3f['options']['simulateBreak']&&_0x3a8a3f['options']['simulateDoubleBreak'];}(_0x3311a7)?_0x2e0e95['from']:void 0x0);}return null==_0x25a1d2['parent']?hk:null;}function hk(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x13bbb9,_0x5e0a3b,_0x118a9a){super(_0x13bbb9['state'],_0x13bbb9['options']),this['base']=_0x13bbb9,this['pos']=_0x5e0a3b,this['context']=_0x118a9a;}get['node'](){return this['context']['node'];}static['create'](_0x1a0298,_0x4db561,_0x5e106d){return new TreeIndentContext(_0x1a0298,_0x4db561,_0x5e106d);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0xba6b62){let _0x237d41=this['state']['doc']['lineAt'](_0xba6b62['from']);for(;;){let _0x4b3d2d=_0xba6b62['resolve'](_0x237d41['from']);for(;_0x4b3d2d['parent']&&_0x4b3d2d['parent']['from']==_0x4b3d2d['from'];)_0x4b3d2d=_0x4b3d2d['parent'];if(uk(_0x4b3d2d,_0xba6b62))break;_0x237d41=this['state']['doc']['lineAt'](_0x4b3d2d['from']);}return this['lineIndent'](_0x237d41['from']);}['continue'](){return ck(this['context']['next'],this['base'],this['pos']);}}function uk(_0x34f769,_0x3395a2){for(let _0x4306cd=_0x3395a2;_0x4306cd;_0x4306cd=_0x4306cd['parent'])if(_0x34f769==_0x4306cd)return!0x0;return!0x1;}function dk({closing:_0x33c048,align:_0x165ef8=!0x0,units:_0x154b38=0x1}){return _0x3a8513=>fk(_0x3a8513,_0x165ef8,_0x154b38,_0x33c048);}function fk(_0x15fdaa,_0x15f01b,_0x5d4ad2,_0x2e7e2d,_0x16de11){let _0x1e457d=_0x15fdaa['textAfter'],_0x3688a2=_0x1e457d['match'](/^\s*/)[0x0]['length'],_0x548002=_0x2e7e2d&&_0x1e457d['slice'](_0x3688a2,_0x3688a2+_0x2e7e2d['length'])==_0x2e7e2d||_0x16de11==_0x15fdaa['pos']+_0x3688a2,_0x4b96c3=_0x15f01b?function(_0x400de8){let _0x259cda=_0x400de8['node'],_0x2cde88=_0x259cda['childAfter'](_0x259cda['from']),_0x495fbd=_0x259cda['lastChild'];if(!_0x2cde88)return null;let _0x570d15=_0x400de8['options']['simulateBreak'],_0x51a22e=_0x400de8['state']['doc']['lineAt'](_0x2cde88['from']),_0x398218=null==_0x570d15||_0x570d15<=_0x51a22e['from']?_0x51a22e['to']:Math['min'](_0x51a22e['to'],_0x570d15);for(let _0x235413=_0x2cde88['to'];;){let _0x2db778=_0x259cda['childAfter'](_0x235413);if(!_0x2db778||_0x2db778==_0x495fbd)return null;if(!_0x2db778['type']['isSkipped']){if(_0x2db778['from']>=_0x398218)return null;let _0x310a0a=/^ */['exec'](_0x51a22e['text']['slice'](_0x2cde88['to']-_0x51a22e['from']))[0x0]['length'];return{'from':_0x2cde88['from'],'to':_0x2cde88['to']+_0x310a0a};}_0x235413=_0x2db778['to'];}}(_0x15fdaa):null;return _0x4b96c3?_0x548002?_0x15fdaa['column'](_0x4b96c3['from']):_0x15fdaa['column'](_0x4b96c3['to']):_0x15fdaa['baseIndent']+(_0x548002?0x0:_0x15fdaa['unit']*_0x5d4ad2);}function mk({except:_0x470a7c,units:_0xea1ebf=0x1}={}){return _0x1bd680=>{let _0x530127=_0x470a7c&&_0x470a7c['test'](_0x1bd680['textAfter']);return _0x1bd680['baseIndent']+(_0x530127?0x0:_0xea1ebf*_0x1bd680['unit']);};}function gk(){return EditorState['transactionFilter']['of'](_0xdbf55=>{if(!_0xdbf55['docChanged']||!_0xdbf55['isUserEvent']('input.type')&&!_0xdbf55['isUserEvent']('input.complete'))return _0xdbf55;let _0xe8e19b=_0xdbf55['startState']['languageDataAt']('indentOnInput',_0xdbf55['startState']['selection']['main']['head']);if(!_0xe8e19b['length'])return _0xdbf55;let _0x4adf19=_0xdbf55['newDoc'],{head:_0x583bf4}=_0xdbf55['newSelection']['main'],_0x143960=_0x4adf19['lineAt'](_0x583bf4);if(_0x583bf4>_0x143960['from']+0xc8)return _0xdbf55;let _0x1ce9a7=_0x4adf19['sliceString'](_0x143960['from'],_0x583bf4);if(!_0xe8e19b['some'](_0x595a1c=>_0x595a1c['test'](_0x1ce9a7)))return _0xdbf55;let {state:_0x4bff}=_0xdbf55,_0x4d8134=-0x1,_0x1cf1da=[];for(let {head:_0x54e2a2}of _0x4bff['selection']['ranges']){let _0x535ae8=_0x4bff['doc']['lineAt'](_0x54e2a2);if(_0x535ae8['from']==_0x4d8134)continue;_0x4d8134=_0x535ae8['from'];let _0x54e156=ok(_0x4bff,_0x535ae8['from']);if(null==_0x54e156)continue;let _0x196fc1=/^\s*/['exec'](_0x535ae8['text'])[0x0],_0x24b904=rk(_0x4bff,_0x54e156);_0x196fc1!=_0x24b904&&_0x1cf1da['push']({'from':_0x535ae8['from'],'to':_0x535ae8['from']+_0x196fc1['length'],'insert':_0x24b904});}return _0x1cf1da['length']?[_0xdbf55,{'changes':_0x1cf1da,'sequential':!0x0}]:_0xdbf55;});}const pk=Facet['define'](),Ok=new NodeProp();function wk(_0xf2df3d){let _0x2da87e=_0xf2df3d['firstChild'],_0x4acc91=_0xf2df3d['lastChild'];return _0x2da87e&&_0x2da87e['to']<_0x4acc91['from']?{'from':_0x2da87e['to'],'to':_0x4acc91['type']['isError']?_0xf2df3d['to']:_0x4acc91['from']}:null;}function bk(_0x34b07c){let _0x5d11e7=_0x34b07c['lastChild'];return _0x5d11e7&&_0x5d11e7['to']==_0x34b07c['to']&&_0x5d11e7['type']['isError'];}function yk(_0xff5811,_0x36eef7,_0x423d1d){for(let _0x2da4a3 of _0xff5811['facet'](pk)){let _0x14d172=_0x2da4a3(_0xff5811,_0x36eef7,_0x423d1d);if(_0x14d172)return _0x14d172;}return function(_0x21d7f4,_0x736f13,_0x49515c){let _0x2778c9=WC(_0x21d7f4);if(_0x2778c9['length']<_0x49515c)return null;let _0x3ff222=null;for(let _0x293714=_0x2778c9['resolveStack'](_0x49515c,0x1);_0x293714;_0x293714=_0x293714['next']){let _0x4fa46d=_0x293714['node'];if(_0x4fa46d['to']<=_0x49515c||_0x4fa46d['from']>_0x49515c)continue;if(_0x3ff222&&_0x4fa46d['from']<_0x736f13)break;let _0x4840dc=_0x4fa46d['type']['prop'](Ok);if(_0x4840dc&&(_0x4fa46d['to']<_0x2778c9['length']-0x32||_0x2778c9['length']==_0x21d7f4['doc']['length']||!bk(_0x4fa46d))){let _0x155b7b=_0x4840dc(_0x4fa46d,_0x21d7f4);_0x155b7b&&_0x155b7b['from']<=_0x49515c&&_0x155b7b['from']>=_0x736f13&&_0x155b7b['to']>_0x49515c&&(_0x3ff222=_0x155b7b);}}return _0x3ff222;}(_0xff5811,_0x36eef7,_0x423d1d);}function vk(_0x2d7c9f,_0x833bcf){let _0x2f3152=_0x833bcf['mapPos'](_0x2d7c9f['from'],0x1),_0x2317e5=_0x833bcf['mapPos'](_0x2d7c9f['to'],-0x1);return _0x2f3152>=_0x2317e5?void 0x0:{'from':_0x2f3152,'to':_0x2317e5};}const _k=StateEffect['define']({'map':vk}),Ek=StateEffect['define']({'map':vk});function Tk(_0x5e0de9){let _0x464fa0=[];for(let {head:_0xc69b38}of _0x5e0de9['state']['selection']['ranges'])_0x464fa0['some'](_0x428194=>_0x428194['from']<=_0xc69b38&&_0x428194['to']>=_0xc69b38)||_0x464fa0['push'](_0x5e0de9['lineBlockAt'](_0xc69b38));return _0x464fa0;}const Ak=StateField['define']({'create':()=>Decoration['none'],'update'(_0x5028a1,_0x3c0bb6){_0x3c0bb6['isUserEvent']('delete')&&_0x3c0bb6['changes']['iterChangedRanges']((_0x4e89d7,_0x3f07d6)=>_0x5028a1=Ik(_0x5028a1,_0x4e89d7,_0x3f07d6)),_0x5028a1=_0x5028a1['map'](_0x3c0bb6['changes']);for(let _0x2351f3 of _0x3c0bb6['effects'])if(_0x2351f3['is'](_k)&&!Ck(_0x5028a1,_0x2351f3['value']['from'],_0x2351f3['value']['to'])){let {preparePlaceholder:_0x3b2d0e}=_0x3c0bb6['state']['facet'](Mk),_0x82ae8d=_0x3b2d0e?Decoration['replace']({'widget':new PreparedFoldWidget(_0x3b2d0e(_0x3c0bb6['state'],_0x2351f3['value']))}):$k;_0x5028a1=_0x5028a1['update']({'add':[_0x82ae8d['range'](_0x2351f3['value']['from'],_0x2351f3['value']['to'])]});}else _0x2351f3['is'](Ek)&&(_0x5028a1=_0x5028a1['update']({'filter':(_0x539b60,_0x10e87c)=>_0x2351f3['value']['from']!=_0x539b60||_0x2351f3['value']['to']!=_0x10e87c,'filterFrom':_0x2351f3['value']['from'],'filterTo':_0x2351f3['value']['to']}));return _0x3c0bb6['selection']&&(_0x5028a1=Ik(_0x5028a1,_0x3c0bb6['selection']['main']['head'])),_0x5028a1;},'provide':_0x24369c=>EditorView['decorations']['from'](_0x24369c),'toJSON'(_0x45059a,_0x10ea41){let _0xf75774=[];return _0x45059a['between'](0x0,_0x10ea41['doc']['length'],(_0x5c147f,_0x5274ee)=>{_0xf75774['push'](_0x5c147f,_0x5274ee);}),_0xf75774;},'fromJSON'(_0x47f41c){if(!Array['isArray'](_0x47f41c)||_0x47f41c['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x396390=[];for(let _0x30af51=0x0;_0x30af51<_0x47f41c['length'];){let _0x6290f5=_0x47f41c[_0x30af51++],_0x1cf2f7=_0x47f41c[_0x30af51++];if('number'!=typeof _0x6290f5||'number'!=typeof _0x1cf2f7)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x396390['push']($k['range'](_0x6290f5,_0x1cf2f7));}return Decoration['set'](_0x396390,!0x0);}});function Ik(_0x4f7324,_0x33b772,_0x14e614=_0x33b772){let _0x332510=!0x1;return _0x4f7324['between'](_0x33b772,_0x14e614,(_0x26b573,_0x4478a6)=>{_0x26b573<_0x14e614&&_0x4478a6>_0x33b772&&(_0x332510=!0x0);}),_0x332510?_0x4f7324['update']({'filterFrom':_0x33b772,'filterTo':_0x14e614,'filter':(_0x3a1753,_0x1863bc)=>_0x3a1753>=_0x14e614||_0x1863bc<=_0x33b772}):_0x4f7324;}function Sk(_0x4ab835,_0x4f1d40,_0x4d7a70){var _0x105c60;let _0x375a91=null;return null===(_0x105c60=_0x4ab835['field'](Ak,!0x1))||void 0x0===_0x105c60||_0x105c60['between'](_0x4f1d40,_0x4d7a70,(_0x16d6cf,_0x1049e3)=>{(!_0x375a91||_0x375a91['from']>_0x16d6cf)&&(_0x375a91={'from':_0x16d6cf,'to':_0x1049e3});}),_0x375a91;}function Ck(_0x3dc7cf,_0xa05104,_0x26eda7){let _0x3aa945=!0x1;return _0x3dc7cf['between'](_0xa05104,_0xa05104,(_0x1d1871,_0x38bcc8)=>{_0x1d1871==_0xa05104&&_0x38bcc8==_0x26eda7&&(_0x3aa945=!0x0);}),_0x3aa945;}function kk(_0x5817d8,_0x4d24e3){return _0x5817d8['field'](Ak,!0x1)?_0x4d24e3:_0x4d24e3['concat'](StateEffect['appendConfig']['of'](Nk()));}function xk(_0x10ca4a,_0x20402d,_0x55611f=!0x0){let _0x5c0fa8=_0x10ca4a['state']['doc']['lineAt'](_0x20402d['from'])['number'],_0x3844c6=_0x10ca4a['state']['doc']['lineAt'](_0x20402d['to'])['number'];return EditorView['announce']['of'](_0x10ca4a['state']['phrase'](_0x55611f?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x5c0fa8+'\x20'+_0x10ca4a['state']['phrase']('to')+'\x20'+_0x3844c6+'.');}const Rk=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x3e0402=>{for(let _0x5aa9e8 of Tk(_0x3e0402)){let _0x1939d1=yk(_0x3e0402['state'],_0x5aa9e8['from'],_0x5aa9e8['to']);if(_0x1939d1)return _0x3e0402['dispatch']({'effects':kk(_0x3e0402['state'],[_k['of'](_0x1939d1),xk(_0x3e0402,_0x1939d1)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x163d92=>{if(!_0x163d92['state']['field'](Ak,!0x1))return!0x1;let _0x113448=[];for(let _0x275cdc of Tk(_0x163d92)){let _0x384f06=Sk(_0x163d92['state'],_0x275cdc['from'],_0x275cdc['to']);_0x384f06&&_0x113448['push'](Ek['of'](_0x384f06),xk(_0x163d92,_0x384f06,!0x1));}return _0x113448['length']&&_0x163d92['dispatch']({'effects':_0x113448}),_0x113448['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x16fa81=>{let {state:_0x10981f}=_0x16fa81,_0x3564d4=[];for(let _0x32bf60=0x0;_0x32bf60<_0x10981f['doc']['length'];){let _0x2f95aa=_0x16fa81['lineBlockAt'](_0x32bf60),_0x40bdf0=yk(_0x10981f,_0x2f95aa['from'],_0x2f95aa['to']);_0x40bdf0&&_0x3564d4['push'](_k['of'](_0x40bdf0)),_0x32bf60=(_0x40bdf0?_0x16fa81['lineBlockAt'](_0x40bdf0['to']):_0x2f95aa)['to']+0x1;}return _0x3564d4['length']&&_0x16fa81['dispatch']({'effects':kk(_0x16fa81['state'],_0x3564d4)}),!!_0x3564d4['length'];}},{'key':'Ctrl-Alt-]','run':_0x50ed31=>{let _0x53986c=_0x50ed31['state']['field'](Ak,!0x1);if(!_0x53986c||!_0x53986c['size'])return!0x1;let _0x5b5e87=[];return _0x53986c['between'](0x0,_0x50ed31['state']['doc']['length'],(_0x388909,_0x16f16d)=>{_0x5b5e87['push'](Ek['of']({'from':_0x388909,'to':_0x16f16d}));}),_0x50ed31['dispatch']({'effects':_0x5b5e87}),!0x0;}}],Pk={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},Mk=Facet['define']({'combine':_0x68ab1a=>tE(_0x68ab1a,Pk)});function Nk(_0x24afbe){return[Ak,Vk];}function Lk(_0x5c9141,_0x2684ec){let {state:_0x46929a}=_0x5c9141,_0x351783=_0x46929a['facet'](Mk),_0x25776d=_0x2f9d8f=>{let _0x350574=_0x5c9141['lineBlockAt'](_0x5c9141['posAtDOM'](_0x2f9d8f['target'])),_0x534274=Sk(_0x5c9141['state'],_0x350574['from'],_0x350574['to']);_0x534274&&_0x5c9141['dispatch']({'effects':Ek['of'](_0x534274)}),_0x2f9d8f['preventDefault']();};if(_0x351783['placeholderDOM'])return _0x351783['placeholderDOM'](_0x5c9141,_0x25776d,_0x2684ec);let _0x17cdf5=document['createElement']('span');return _0x17cdf5['textContent']=_0x351783['placeholderText'],_0x17cdf5['setAttribute']('aria-label',_0x46929a['phrase']('folded\x20code')),_0x17cdf5['title']=_0x46929a['phrase']('unfold'),_0x17cdf5['className']='cm-foldPlaceholder',_0x17cdf5['onclick']=_0x25776d,_0x17cdf5;}const $k=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x1d99c0){return Lk(_0x1d99c0,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x1098c9){super(),this['value']=_0x1098c9;}['eq'](_0x4f736a){return this['value']==_0x4f736a['value'];}['toDOM'](_0x2094ba){return Lk(_0x2094ba,this['value']);}}const Dk={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class FoldMarker extends GutterMarker{constructor(_0x272395,_0x1b35e1){super(),this['config']=_0x272395,this['open']=_0x1b35e1;}['eq'](_0xf9b2db){return this['config']==_0xf9b2db['config']&&this['open']==_0xf9b2db['open'];}['toDOM'](_0x3f0f8b){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x47ecdb=document['createElement']('span');return _0x47ecdb['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x47ecdb['title']=_0x3f0f8b['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x47ecdb;}}function Qk(_0x2cfbb0={}){let _0x1c8aba={...Dk,..._0x2cfbb0},_0xddfca3=new FoldMarker(_0x1c8aba,!0x0),_0xac60d6=new FoldMarker(_0x1c8aba,!0x1),_0x49bf84=ViewPlugin['fromClass'](class{constructor(_0x484d9f){this['from']=_0x484d9f['viewport']['from'],this['markers']=this['buildMarkers'](_0x484d9f);}['update'](_0x48e9eb){(_0x48e9eb['docChanged']||_0x48e9eb['viewportChanged']||_0x48e9eb['startState']['facet'](ek)!=_0x48e9eb['state']['facet'](ek)||_0x48e9eb['startState']['field'](Ak,!0x1)!=_0x48e9eb['state']['field'](Ak,!0x1)||WC(_0x48e9eb['startState'])!=WC(_0x48e9eb['state'])||_0x1c8aba['foldingChanged'](_0x48e9eb))&&(this['markers']=this['buildMarkers'](_0x48e9eb['view']));}['buildMarkers'](_0x4feda9){let _0x1441f3=new RangeSetBuilder();for(let _0x5b57b7 of _0x4feda9['viewportLineBlocks']){let _0x402b61=Sk(_0x4feda9['state'],_0x5b57b7['from'],_0x5b57b7['to'])?_0xac60d6:yk(_0x4feda9['state'],_0x5b57b7['from'],_0x5b57b7['to'])?_0xddfca3:null;_0x402b61&&_0x1441f3['add'](_0x5b57b7['from'],_0x5b57b7['from'],_0x402b61);}return _0x1441f3['finish']();}}),{domEventHandlers:_0x24ddc8}=_0x1c8aba;return[_0x49bf84,LS({'class':'cm-foldGutter','markers'(_0x282888){var _0x460e51;return(null===(_0x460e51=_0x282888['plugin'](_0x49bf84))||void 0x0===_0x460e51?void 0x0:_0x460e51['markers'])||RangeSet['empty'];},'initialSpacer':()=>new FoldMarker(_0x1c8aba,!0x1),'domEventHandlers':{..._0x24ddc8,'click':(_0x4ff33f,_0x3ca930,_0x4c39ea)=>{if(_0x24ddc8['click']&&_0x24ddc8['click'](_0x4ff33f,_0x3ca930,_0x4c39ea))return!0x0;let _0x44e50f=Sk(_0x4ff33f['state'],_0x3ca930['from'],_0x3ca930['to']);if(_0x44e50f)return _0x4ff33f['dispatch']({'effects':Ek['of'](_0x44e50f)}),!0x0;let _0x26e610=yk(_0x4ff33f['state'],_0x3ca930['from'],_0x3ca930['to']);return!!_0x26e610&&(_0x4ff33f['dispatch']({'effects':_k['of'](_0x26e610)}),!0x0);}}}),Nk()];}const Vk=EditorView['baseTheme']({'.cm-foldPlaceholder':{'backgroundColor':'#eee','border':'1px\x20solid\x20#ddd','color':'#888','borderRadius':'.2em','margin':'0\x201px','padding':'0\x201px','cursor':'pointer'},'.cm-foldGutter\x20span':{'padding':'0\x201px','cursor':'pointer'}});class HighlightStyle{constructor(_0x3e9b66,_0x540324){let _0x46562d;function _0x167561(_0x454098){let _0x12aed4=StyleModule['newName']();return(_0x46562d||(_0x46562d=Object['create'](null)))['.'+_0x12aed4]=_0x454098,_0x12aed4;}this['specs']=_0x3e9b66;const _0x413f1c='string'==typeof _0x540324['all']?_0x540324['all']:_0x540324['all']?_0x167561(_0x540324['all']):void 0x0,_0x32d32e=_0x540324['scope'];this['scope']=_0x32d32e instanceof Language?_0x20d08f=>_0x20d08f['prop'](GC)==_0x32d32e['data']:_0x32d32e?_0x2eaeb7=>_0x2eaeb7==_0x32d32e:void 0x0,this['style']=SC(_0x3e9b66['map'](_0xf760d9=>({'tag':_0xf760d9['tag'],'class':_0xf760d9['class']||_0x167561(Object['assign']({},_0xf760d9,{'tag':null}))})),{'all':_0x413f1c})['style'],this['module']=_0x46562d?new StyleModule(_0x46562d):null,this['themeType']=_0x540324['themeType'];}static['define'](_0x36ce32,_0x22edae){return new HighlightStyle(_0x36ce32,_0x22edae||{});}}const Uk=Facet['define'](),Bk=Facet['define']({'combine':_0x3d4a71=>_0x3d4a71['length']?[_0x3d4a71[0x0]]:null});function Fk(_0x2d893f){let _0x152cb4=_0x2d893f['facet'](Uk);return _0x152cb4['length']?_0x152cb4:_0x2d893f['facet'](Bk);}function jk(_0x20fefb,_0x4c74f7){let _0x3a6e1d,_0x17adc4=[Hk];return _0x20fefb instanceof HighlightStyle&&(_0x20fefb['module']&&_0x17adc4['push'](EditorView['styleModule']['of'](_0x20fefb['module'])),_0x3a6e1d=_0x20fefb['themeType']),(null==_0x4c74f7?void 0x0:_0x4c74f7['fallback'])?_0x17adc4['push'](Bk['of'](_0x20fefb)):_0x3a6e1d?_0x17adc4['push'](Uk['computeN']([EditorView['darkTheme']],_0xc2c91d=>_0xc2c91d['facet'](EditorView['darkTheme'])==('dark'==_0x3a6e1d)?[_0x20fefb]:[])):_0x17adc4['push'](Uk['of'](_0x20fefb)),_0x17adc4;}class TreeHighlighter{constructor(_0x49734f){this['markCache']=Object['create'](null),this['tree']=WC(_0x49734f['state']),this['decorations']=this['buildDeco'](_0x49734f,Fk(_0x49734f['state'])),this['decoratedTo']=_0x49734f['viewport']['to'];}['update'](_0x418310){let _0x21e0b4=WC(_0x418310['state']),_0x51ba1b=Fk(_0x418310['state']),_0x57653e=_0x51ba1b!=Fk(_0x418310['startState']),{viewport:_0x43ab38}=_0x418310['view'],_0x186b0c=_0x418310['changes']['mapPos'](this['decoratedTo'],0x1);_0x21e0b4['length']<_0x43ab38['to']&&!_0x57653e&&_0x21e0b4['type']==this['tree']['type']&&_0x186b0c>=_0x43ab38['to']?(this['decorations']=this['decorations']['map'](_0x418310['changes']),this['decoratedTo']=_0x186b0c):(_0x21e0b4!=this['tree']||_0x418310['viewportChanged']||_0x57653e)&&(this['tree']=_0x21e0b4,this['decorations']=this['buildDeco'](_0x418310['view'],_0x51ba1b),this['decoratedTo']=_0x43ab38['to']);}['buildDeco'](_0x21860f,_0x11a0ed){if(!_0x11a0ed||!this['tree']['length'])return Decoration['none'];let _0x328798=new RangeSetBuilder();for(let {from:_0x2fca42,to:_0x41cb05}of _0x21860f['visibleRanges'])CC(this['tree'],_0x11a0ed,(_0x33d785,_0x2b8823,_0x53ca58)=>{_0x328798['add'](_0x33d785,_0x2b8823,this['markCache'][_0x53ca58]||(this['markCache'][_0x53ca58]=Decoration['mark']({'class':_0x53ca58})));},_0x2fca42,_0x41cb05);return _0x328798['finish']();}}const Hk=N_['high'](ViewPlugin['fromClass'](TreeHighlighter,{'decorations':_0x563970=>_0x563970['decorations']})),Gk=HighlightStyle['define']([{'tag':jC['meta'],'color':'#404740'},{'tag':jC['link'],'textDecoration':'underline'},{'tag':jC['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':jC['emphasis'],'fontStyle':'italic'},{'tag':jC['strong'],'fontWeight':'bold'},{'tag':jC['strikethrough'],'textDecoration':'line-through'},{'tag':jC['keyword'],'color':'#708'},{'tag':[jC['atom'],jC['bool'],jC['url'],jC['contentSeparator'],jC['labelName']],'color':'#219'},{'tag':[jC['literal'],jC['inserted']],'color':'#164'},{'tag':[jC['string'],jC['deleted']],'color':'#a11'},{'tag':[jC['regexp'],jC['escape'],jC['special'](jC['string'])],'color':'#e40'},{'tag':jC['definition'](jC['variableName']),'color':'#00f'},{'tag':jC['local'](jC['variableName']),'color':'#30a'},{'tag':[jC['typeName'],jC['namespace']],'color':'#085'},{'tag':jC['className'],'color':'#167'},{'tag':[jC['special'](jC['variableName']),jC['macroName']],'color':'#256'},{'tag':jC['definition'](jC['propertyName']),'color':'#00c'},{'tag':jC['comment'],'color':'#940'},{'tag':jC['invalid'],'color':'#f00'}]),Zk=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),Xk='()[]{}',qk=Facet['define']({'combine':_0x3db2ff=>tE(_0x3db2ff,{'afterCursor':!0x0,'brackets':Xk,'maxScanDistance':0x2710,'renderMatch':Yk})}),Wk=Decoration['mark']({'class':'cm-matchingBracket'}),zk=Decoration['mark']({'class':'cm-nonmatchingBracket'});function Yk(_0x498eb3){let _0x214036=[],_0x280687=_0x498eb3['matched']?Wk:zk;return _0x214036['push'](_0x280687['range'](_0x498eb3['start']['from'],_0x498eb3['start']['to'])),_0x498eb3['end']&&_0x214036['push'](_0x280687['range'](_0x498eb3['end']['from'],_0x498eb3['end']['to'])),_0x214036;}const Kk=StateField['define']({'create':()=>Decoration['none'],'update'(_0x51ba8c,_0x29784f){if(!_0x29784f['docChanged']&&!_0x29784f['selection'])return _0x51ba8c;let _0x156b1e=[],_0x434f8b=_0x29784f['state']['facet'](qk);for(let _0x3559ae of _0x29784f['state']['selection']['ranges']){if(!_0x3559ae['empty'])continue;let _0x122568=nx(_0x29784f['state'],_0x3559ae['head'],-0x1,_0x434f8b)||_0x3559ae['head']>0x0&&nx(_0x29784f['state'],_0x3559ae['head']-0x1,0x1,_0x434f8b)||_0x434f8b['afterCursor']&&(nx(_0x29784f['state'],_0x3559ae['head'],0x1,_0x434f8b)||_0x3559ae['head']<_0x29784f['state']['doc']['length']&&nx(_0x29784f['state'],_0x3559ae['head']+0x1,-0x1,_0x434f8b));_0x122568&&(_0x156b1e=_0x156b1e['concat'](_0x434f8b['renderMatch'](_0x122568,_0x29784f['state'])));}return Decoration['set'](_0x156b1e,!0x0);},'provide':_0x4577b7=>EditorView['decorations']['from'](_0x4577b7)}),Jk=[Kk,Zk];function tx(_0x347c8c={}){return[qk['of'](_0x347c8c),Jk];}const ex=new NodeProp();function ix(_0x5c5551,_0x4eebb9,_0x508098){let _0x2d06ee=_0x5c5551['prop'](_0x4eebb9<0x0?NodeProp['openedBy']:NodeProp['closedBy']);if(_0x2d06ee)return _0x2d06ee;if(0x1==_0x5c5551['name']['length']){let _0x19e230=_0x508098['indexOf'](_0x5c5551['name']);if(_0x19e230>-0x1&&_0x19e230%0x2==(_0x4eebb9<0x0?0x1:0x0))return[_0x508098[_0x19e230+_0x4eebb9]];}return null;}function sx(_0x9b4cb0){let _0x2fef73=_0x9b4cb0['type']['prop'](ex);return _0x2fef73?_0x2fef73(_0x9b4cb0['node']):_0x9b4cb0;}function nx(_0x53b3eb,_0x39e2a2,_0x86528c,_0x28fc49={}){let _0xa1ebf0=_0x28fc49['maxScanDistance']||0x2710,_0x773aff=_0x28fc49['brackets']||Xk,_0x521445=WC(_0x53b3eb),_0x2dd6c0=_0x521445['resolveInner'](_0x39e2a2,_0x86528c);for(let _0x1865cd=_0x2dd6c0;_0x1865cd;_0x1865cd=_0x1865cd['parent']){let _0x1aa1e5=ix(_0x1865cd['type'],_0x86528c,_0x773aff);if(_0x1aa1e5&&_0x1865cd['from']<_0x1865cd['to']){let _0x41d117=sx(_0x1865cd);if(_0x41d117&&(_0x86528c>0x0?_0x39e2a2>=_0x41d117['from']&&_0x39e2a2<_0x41d117['to']:_0x39e2a2>_0x41d117['from']&&_0x39e2a2<=_0x41d117['to']))return rx(_0x53b3eb,_0x39e2a2,_0x86528c,_0x1865cd,_0x41d117,_0x1aa1e5,_0x773aff);}}return function(_0x220362,_0x352de0,_0xed8cc6,_0x51489a,_0x28c32c,_0x7459a,_0x562d7d){let _0xbd6581=_0xed8cc6<0x0?_0x220362['sliceDoc'](_0x352de0-0x1,_0x352de0):_0x220362['sliceDoc'](_0x352de0,_0x352de0+0x1),_0xb1289d=_0x562d7d['indexOf'](_0xbd6581);if(_0xb1289d<0x0||_0xb1289d%0x2==0x0!=_0xed8cc6>0x0)return null;let _0x567c24={'from':_0xed8cc6<0x0?_0x352de0-0x1:_0x352de0,'to':_0xed8cc6>0x0?_0x352de0+0x1:_0x352de0},_0x5b4bf7=_0x220362['doc']['iterRange'](_0x352de0,_0xed8cc6>0x0?_0x220362['doc']['length']:0x0),_0x338767=0x0;for(let _0x234244=0x0;!_0x5b4bf7['next']()['done']&&_0x234244<=_0x7459a;){let _0xcbb1fc=_0x5b4bf7['value'];_0xed8cc6<0x0&&(_0x234244+=_0xcbb1fc['length']);let _0x214b47=_0x352de0+_0x234244*_0xed8cc6;for(let _0x2c721a=_0xed8cc6>0x0?0x0:_0xcbb1fc['length']-0x1,_0x207fae=_0xed8cc6>0x0?_0xcbb1fc['length']:-0x1;_0x2c721a!=_0x207fae;_0x2c721a+=_0xed8cc6){let _0x113d1e=_0x562d7d['indexOf'](_0xcbb1fc[_0x2c721a]);if(!(_0x113d1e<0x0||_0x51489a['resolveInner'](_0x214b47+_0x2c721a,0x1)['type']!=_0x28c32c)){if(_0x113d1e%0x2==0x0==_0xed8cc6>0x0)_0x338767++;else{if(0x1==_0x338767)return{'start':_0x567c24,'end':{'from':_0x214b47+_0x2c721a,'to':_0x214b47+_0x2c721a+0x1},'matched':_0x113d1e>>0x1==_0xb1289d>>0x1};_0x338767--;}}}_0xed8cc6>0x0&&(_0x234244+=_0xcbb1fc['length']);}return _0x5b4bf7['done']?{'start':_0x567c24,'matched':!0x1}:null;}(_0x53b3eb,_0x39e2a2,_0x86528c,_0x521445,_0x2dd6c0['type'],_0xa1ebf0,_0x773aff);}function rx(_0x5d1a34,_0x447232,_0x552315,_0x4360eb,_0x33e0a6,_0x287b02,_0x4dbeaa){let _0x11d309=_0x4360eb['parent'],_0x14ce82={'from':_0x33e0a6['from'],'to':_0x33e0a6['to']},_0x41d085=0x0,_0x38aeb4=null==_0x11d309?void 0x0:_0x11d309['cursor']();if(_0x38aeb4&&(_0x552315<0x0?_0x38aeb4['childBefore'](_0x4360eb['from']):_0x38aeb4['childAfter'](_0x4360eb['to'])))do{if(_0x552315<0x0?_0x38aeb4['to']<=_0x4360eb['from']:_0x38aeb4['from']>=_0x4360eb['to']){if(0x0==_0x41d085&&_0x287b02['indexOf'](_0x38aeb4['type']['name'])>-0x1&&_0x38aeb4['from']<_0x38aeb4['to']){let _0x4c8f30=sx(_0x38aeb4);return{'start':_0x14ce82,'end':_0x4c8f30?{'from':_0x4c8f30['from'],'to':_0x4c8f30['to']}:void 0x0,'matched':!0x0};}if(ix(_0x38aeb4['type'],_0x552315,_0x4dbeaa))_0x41d085++;else{if(ix(_0x38aeb4['type'],-_0x552315,_0x4dbeaa)){if(0x0==_0x41d085){let _0x108dcf=sx(_0x38aeb4);return{'start':_0x14ce82,'end':_0x108dcf&&_0x108dcf['from']<_0x108dcf['to']?{'from':_0x108dcf['from'],'to':_0x108dcf['to']}:void 0x0,'matched':!0x1};}_0x41d085--;}}}}while(_0x552315<0x0?_0x38aeb4['prevSibling']():_0x38aeb4['nextSibling']());return{'start':_0x14ce82,'matched':!0x1};}const ox=Object['create'](null),ax=[NodeType['none']],cx=[],lx=Object['create'](null),hx=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']])hx[e]=dx(ox,s);function ux(_0x4294bb,_0x535270){cx['indexOf'](_0x4294bb)>-0x1||(cx['push'](_0x4294bb),console['warn'](_0x535270));}function dx(_0x5f14ba,_0x45c64d){let _0x468328=[];for(let _0xd52fba of _0x45c64d['split']('\x20')){let _0x53992a=[];for(let _0x14bdad of _0xd52fba['split']('.')){let _0x15929d=_0x5f14ba[_0x14bdad]||jC[_0x14bdad];_0x15929d?'function'==typeof _0x15929d?_0x53992a['length']?_0x53992a=_0x53992a['map'](_0x15929d):ux(_0x14bdad,'Modifier\x20'+_0x14bdad+'\x20used\x20at\x20start\x20of\x20tag'):_0x53992a['length']?ux(_0x14bdad,'Tag\x20'+_0x14bdad+'\x20used\x20as\x20modifier'):_0x53992a=Array['isArray'](_0x15929d)?_0x15929d:[_0x15929d]:ux(_0x14bdad,'Unknown\x20highlighting\x20tag\x20'+_0x14bdad);}for(let _0x338756 of _0x53992a)_0x468328['push'](_0x338756);}if(!_0x468328['length'])return 0x0;let _0x599901=_0x45c64d['replace'](/ /g,'_'),_0x30039d=_0x599901+'\x20'+_0x468328['map'](t=>t['id']),_0x1f7e78=lx[_0x30039d];if(_0x1f7e78)return _0x1f7e78['id'];let _0x5c4031=lx[_0x30039d]=NodeType['define']({'id':ax['length'],'name':_0x599901,'props':[AC({[_0x599901]:_0x468328})]});return ax['push'](_0x5c4031),_0x5c4031['id'];}wT['RTL'],wT['LTR'];function fx(_0x2d2c31,_0x16619a){return({state:_0x81d556,dispatch:_0x1f027d})=>{if(_0x81d556['readOnly'])return!0x1;let _0x1d799b=_0x2d2c31(_0x16619a,_0x81d556);return!!_0x1d799b&&(_0x1f027d(_0x81d556['update'](_0x1d799b)),!0x0);};}const mx=fx(yx,0x0),gx=fx(bx,0x0),px=fx((_0x3049bb,_0x6a73ea)=>bx(_0x3049bb,_0x6a73ea,function(_0x2a8563){let _0x1730af=[];for(let _0x264439 of _0x2a8563['selection']['ranges']){let _0x288665=_0x2a8563['doc']['lineAt'](_0x264439['from']),_0x3e7020=_0x264439['to']<=_0x288665['to']?_0x288665:_0x2a8563['doc']['lineAt'](_0x264439['to']);_0x3e7020['from']>_0x288665['from']&&_0x3e7020['from']==_0x264439['to']&&(_0x3e7020=_0x264439['to']==_0x288665['to']+0x1?_0x288665:_0x2a8563['doc']['lineAt'](_0x264439['to']-0x1));let _0x20cdd0=_0x1730af['length']-0x1;_0x20cdd0>=0x0&&_0x1730af[_0x20cdd0]['to']>_0x288665['from']?_0x1730af[_0x20cdd0]['to']=_0x3e7020['to']:_0x1730af['push']({'from':_0x288665['from']+/^\s*/['exec'](_0x288665['text'])[0x0]['length'],'to':_0x3e7020['to']});}return _0x1730af;}(_0x6a73ea)),0x0);function Ox(_0x6ae260,_0x2fb39a){let _0xfdcd02=_0x6ae260['languageDataAt']('commentTokens',_0x2fb39a,0x1);return _0xfdcd02['length']?_0xfdcd02[0x0]:{};}const wx=0x32;function bx(_0x16fba3,_0xc41f38,_0xdf2a58=_0xc41f38['selection']['ranges']){let _0x46eca1=_0xdf2a58['map'](_0x531482=>Ox(_0xc41f38,_0x531482['from'])['block']);if(!_0x46eca1['every'](_0xb10935=>_0xb10935))return null;let _0x489873=_0xdf2a58['map']((_0x32bcf4,_0x2e62d7)=>function(_0xdbfc,{open:_0x3fae3f,close:_0x4221d8},_0x5c0be6,_0x477105){let _0x38c7d0,_0x34ff89,_0x4b254c=_0xdbfc['sliceDoc'](_0x5c0be6-wx,_0x5c0be6),_0x32ab70=_0xdbfc['sliceDoc'](_0x477105,_0x477105+wx),_0x5d69fc=/\s*$/['exec'](_0x4b254c)[0x0]['length'],_0x36dc91=/^\s*/['exec'](_0x32ab70)[0x0]['length'],_0xd2d361=_0x4b254c['length']-_0x5d69fc;if(_0x4b254c['slice'](_0xd2d361-_0x3fae3f['length'],_0xd2d361)==_0x3fae3f&&_0x32ab70['slice'](_0x36dc91,_0x36dc91+_0x4221d8['length'])==_0x4221d8)return{'open':{'pos':_0x5c0be6-_0x5d69fc,'margin':_0x5d69fc&&0x1},'close':{'pos':_0x477105+_0x36dc91,'margin':_0x36dc91&&0x1}};_0x477105-_0x5c0be6<=0x2*wx?_0x38c7d0=_0x34ff89=_0xdbfc['sliceDoc'](_0x5c0be6,_0x477105):(_0x38c7d0=_0xdbfc['sliceDoc'](_0x5c0be6,_0x5c0be6+wx),_0x34ff89=_0xdbfc['sliceDoc'](_0x477105-wx,_0x477105));let _0x23ad97=/^\s*/['exec'](_0x38c7d0)[0x0]['length'],_0x45232f=/\s*$/['exec'](_0x34ff89)[0x0]['length'],_0x43d01b=_0x34ff89['length']-_0x45232f-_0x4221d8['length'];return _0x38c7d0['slice'](_0x23ad97,_0x23ad97+_0x3fae3f['length'])==_0x3fae3f&&_0x34ff89['slice'](_0x43d01b,_0x43d01b+_0x4221d8['length'])==_0x4221d8?{'open':{'pos':_0x5c0be6+_0x23ad97+_0x3fae3f['length'],'margin':/\s/['test'](_0x38c7d0['charAt'](_0x23ad97+_0x3fae3f['length']))?0x1:0x0},'close':{'pos':_0x477105-_0x45232f-_0x4221d8['length'],'margin':/\s/['test'](_0x34ff89['charAt'](_0x43d01b-0x1))?0x1:0x0}}:null;}(_0xc41f38,_0x46eca1[_0x2e62d7],_0x32bcf4['from'],_0x32bcf4['to']));if(0x2!=_0x16fba3&&!_0x489873['every'](_0x152881=>_0x152881))return{'changes':_0xc41f38['changes'](_0xdf2a58['map']((_0x273767,_0x581253)=>_0x489873[_0x581253]?[]:[{'from':_0x273767['from'],'insert':_0x46eca1[_0x581253]['open']+'\x20'},{'from':_0x273767['to'],'insert':'\x20'+_0x46eca1[_0x581253]['close']}]))};if(0x1!=_0x16fba3&&_0x489873['some'](_0x42ee90=>_0x42ee90)){let _0x27e4c2=[];for(let _0x52be19,_0x37426d=0x0;_0x37426d<_0x489873['length'];_0x37426d++)if(_0x52be19=_0x489873[_0x37426d]){let _0x43b0ef=_0x46eca1[_0x37426d],{open:_0x39b5b1,close:_0x2fa127}=_0x52be19;_0x27e4c2['push']({'from':_0x39b5b1['pos']-_0x43b0ef['open']['length'],'to':_0x39b5b1['pos']+_0x39b5b1['margin']},{'from':_0x2fa127['pos']-_0x2fa127['margin'],'to':_0x2fa127['pos']+_0x43b0ef['close']['length']});}return{'changes':_0x27e4c2};}return null;}function yx(_0x2e47f1,_0x308e32,_0xc647a0=_0x308e32['selection']['ranges']){let _0x21da27=[],_0x313f6b=-0x1;for(let {from:_0x4c613e,to:_0x2a4159}of _0xc647a0){let _0x23b858=_0x21da27['length'],_0x1af24b=0x3b9aca00,_0x536454=Ox(_0x308e32,_0x4c613e)['line'];if(_0x536454){for(let _0x391d05=_0x4c613e;_0x391d05<=_0x2a4159;){let _0x1acbce=_0x308e32['doc']['lineAt'](_0x391d05);if(_0x1acbce['from']>_0x313f6b&&(_0x4c613e==_0x2a4159||_0x2a4159>_0x1acbce['from'])){_0x313f6b=_0x1acbce['from'];let _0x89540f=/^\s*/['exec'](_0x1acbce['text'])[0x0]['length'],_0x44d53=_0x89540f==_0x1acbce['length'],_0x4cc0a0=_0x1acbce['text']['slice'](_0x89540f,_0x89540f+_0x536454['length'])==_0x536454?_0x89540f:-0x1;_0x89540f<_0x1acbce['text']['length']&&_0x89540f<_0x1af24b&&(_0x1af24b=_0x89540f),_0x21da27['push']({'line':_0x1acbce,'comment':_0x4cc0a0,'token':_0x536454,'indent':_0x89540f,'empty':_0x44d53,'single':!0x1});}_0x391d05=_0x1acbce['to']+0x1;}if(_0x1af24b<0x3b9aca00){for(let _0x31fd88=_0x23b858;_0x31fd88<_0x21da27['length'];_0x31fd88++)_0x21da27[_0x31fd88]['indent']<_0x21da27[_0x31fd88]['line']['text']['length']&&(_0x21da27[_0x31fd88]['indent']=_0x1af24b);}_0x21da27['length']==_0x23b858+0x1&&(_0x21da27[_0x23b858]['single']=!0x0);}}if(0x2!=_0x2e47f1&&_0x21da27['some'](_0x4e8fa0=>_0x4e8fa0['comment']<0x0&&(!_0x4e8fa0['empty']||_0x4e8fa0['single']))){let _0x51ab47=[];for(let {line:_0x4a12c8,token:_0x292709,indent:_0x124bfc,empty:_0x24e6b5,single:_0x4aa971}of _0x21da27)!_0x4aa971&&_0x24e6b5||_0x51ab47['push']({'from':_0x4a12c8['from']+_0x124bfc,'insert':_0x292709+'\x20'});let _0x88c1e9=_0x308e32['changes'](_0x51ab47);return{'changes':_0x88c1e9,'selection':_0x308e32['selection']['map'](_0x88c1e9,0x1)};}if(0x1!=_0x2e47f1&&_0x21da27['some'](_0x1a268c=>_0x1a268c['comment']>=0x0)){let _0x3068f6=[];for(let {line:_0x3463df,comment:_0x39bfc8,token:_0x160a10}of _0x21da27)if(_0x39bfc8>=0x0){let _0x371c15=_0x3463df['from']+_0x39bfc8,_0x40a36c=_0x371c15+_0x160a10['length'];'\x20'==_0x3463df['text'][_0x40a36c-_0x3463df['from']]&&_0x40a36c++,_0x3068f6['push']({'from':_0x371c15,'to':_0x40a36c});}return{'changes':_0x3068f6};}return null;}const vx=Annotation['define'](),_x=Annotation['define'](),Ex=Facet['define'](),Tx=Facet['define']({'combine':_0x254b53=>tE(_0x254b53,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x451874,_0xa79481)=>_0xa79481},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x12d24a,_0x19e34c)=>(_0x1c50e8,_0x1ede9d)=>_0x12d24a(_0x1c50e8,_0x1ede9d)||_0x19e34c(_0x1c50e8,_0x1ede9d)})}),Ax=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x2dd174,_0x2bdc9a){let _0x58c06d=_0x2bdc9a['state']['facet'](Tx),_0x52a9bf=_0x2bdc9a['annotation'](vx);if(_0x52a9bf){let _0x20cc3d=HistEvent['fromTransaction'](_0x2bdc9a,_0x52a9bf['selection']),_0x3224d1=_0x52a9bf['side'],_0x579e5e=0x0==_0x3224d1?_0x2dd174['undone']:_0x2dd174['done'];return _0x579e5e=_0x20cc3d?Px(_0x579e5e,_0x579e5e['length'],_0x58c06d['minDepth'],_0x20cc3d):$x(_0x579e5e,_0x2bdc9a['startState']['selection']),new HistoryState(0x0==_0x3224d1?_0x52a9bf['rest']:_0x579e5e,0x0==_0x3224d1?_0x579e5e:_0x52a9bf['rest']);}let _0x3c8c8d=_0x2bdc9a['annotation'](_x);if('full'!=_0x3c8c8d&&'before'!=_0x3c8c8d||(_0x2dd174=_0x2dd174['isolate']()),!0x1===_0x2bdc9a['annotation'](Transaction['addToHistory']))return _0x2bdc9a['changes']['empty']?_0x2dd174:_0x2dd174['addMapping'](_0x2bdc9a['changes']['desc']);let _0x1d7f08=HistEvent['fromTransaction'](_0x2bdc9a),_0x2c4fe8=_0x2bdc9a['annotation'](Transaction['time']),_0xb07fe2=_0x2bdc9a['annotation'](Transaction['userEvent']);return _0x1d7f08?_0x2dd174=_0x2dd174['addChanges'](_0x1d7f08,_0x2c4fe8,_0xb07fe2,_0x58c06d,_0x2bdc9a):_0x2bdc9a['selection']&&(_0x2dd174=_0x2dd174['addSelection'](_0x2bdc9a['startState']['selection'],_0x2c4fe8,_0xb07fe2,_0x58c06d['newGroupDelay'])),'full'!=_0x3c8c8d&&'after'!=_0x3c8c8d||(_0x2dd174=_0x2dd174['isolate']()),_0x2dd174;},'toJSON':_0x2629af=>({'done':_0x2629af['done']['map'](_0x58f6d2=>_0x58f6d2['toJSON']()),'undone':_0x2629af['undone']['map'](_0x32872b=>_0x32872b['toJSON']())}),'fromJSON':_0x5cc454=>new HistoryState(_0x5cc454['done']['map'](HistEvent['fromJSON']),_0x5cc454['undone']['map'](HistEvent['fromJSON']))});function Ix(_0xcaa407={}){return[Ax,Tx['of'](_0xcaa407),EditorView['domEventHandlers']({'beforeinput'(_0x19f5f3,_0x5c2c93){let _0x350d82='historyUndo'==_0x19f5f3['inputType']?Cx:'historyRedo'==_0x19f5f3['inputType']?kx:null;return!!_0x350d82&&(_0x19f5f3['preventDefault'](),_0x350d82(_0x5c2c93));}})];}function Sx(_0x53f008,_0x17d101){return function({state:_0x33b962,dispatch:_0x36cffa}){if(!_0x17d101&&_0x33b962['readOnly'])return!0x1;let _0x74c1d9=_0x33b962['field'](Ax,!0x1);if(!_0x74c1d9)return!0x1;let _0x341ec6=_0x74c1d9['pop'](_0x53f008,_0x33b962,_0x17d101);return!!_0x341ec6&&(_0x36cffa(_0x341ec6),!0x0);};}const Cx=Sx(0x0,!0x1),kx=Sx(0x1,!0x1),xx=Sx(0x0,!0x0),Rx=Sx(0x1,!0x0);class HistEvent{constructor(_0x4e6a16,_0x158b65,_0x71ad73,_0x506ba0,_0x22a45e){this['changes']=_0x4e6a16,this['effects']=_0x158b65,this['mapped']=_0x71ad73,this['startSelection']=_0x506ba0,this['selectionsAfter']=_0x22a45e;}['setSelAfter'](_0x4db0a5){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x4db0a5);}['toJSON'](){var _0x521607,_0x2eb54e,_0xffa837;return{'changes':null===(_0x521607=this['changes'])||void 0x0===_0x521607?void 0x0:_0x521607['toJSON'](),'mapped':null===(_0x2eb54e=this['mapped'])||void 0x0===_0x2eb54e?void 0x0:_0x2eb54e['toJSON'](),'startSelection':null===(_0xffa837=this['startSelection'])||void 0x0===_0xffa837?void 0x0:_0xffa837['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0xad81d5=>_0xad81d5['toJSON']())};}static['fromJSON'](_0x507b64){return new HistEvent(_0x507b64['changes']&&ChangeSet['fromJSON'](_0x507b64['changes']),[],_0x507b64['mapped']&&ChangeDesc['fromJSON'](_0x507b64['mapped']),_0x507b64['startSelection']&&EditorSelection['fromJSON'](_0x507b64['startSelection']),_0x507b64['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x16947d,_0xa60c43){let _0x2a97d4=Nx;for(let _0xd2dc82 of _0x16947d['startState']['facet'](Ex)){let _0x2fbedb=_0xd2dc82(_0x16947d);_0x2fbedb['length']&&(_0x2a97d4=_0x2a97d4['concat'](_0x2fbedb));}return!_0x2a97d4['length']&&_0x16947d['changes']['empty']?null:new HistEvent(_0x16947d['changes']['invert'](_0x16947d['startState']['doc']),_0x2a97d4,void 0x0,_0xa60c43||_0x16947d['startState']['selection'],Nx);}static['selection'](_0x439c48){return new HistEvent(void 0x0,Nx,void 0x0,void 0x0,_0x439c48);}}function Px(_0x548b16,_0x395798,_0x4a5ca7,_0x1f9cf4){let _0x16b0cd=_0x395798+0x1>_0x4a5ca7+0x14?_0x395798-_0x4a5ca7-0x1:0x0,_0x376975=_0x548b16['slice'](_0x16b0cd,_0x395798);return _0x376975['push'](_0x1f9cf4),_0x376975;}function Mx(_0x36b80e,_0x8307){return _0x36b80e['length']?_0x8307['length']?_0x36b80e['concat'](_0x8307):_0x36b80e:_0x8307;}const Nx=[],Lx=0xc8;function $x(_0x4dc8e0,_0x4282b5){if(_0x4dc8e0['length']){let _0x22a149=_0x4dc8e0[_0x4dc8e0['length']-0x1],_0x345407=_0x22a149['selectionsAfter']['slice'](Math['max'](0x0,_0x22a149['selectionsAfter']['length']-Lx));return _0x345407['length']&&_0x345407[_0x345407['length']-0x1]['eq'](_0x4282b5)?_0x4dc8e0:(_0x345407['push'](_0x4282b5),Px(_0x4dc8e0,_0x4dc8e0['length']-0x1,0x3b9aca00,_0x22a149['setSelAfter'](_0x345407)));}return[HistEvent['selection']([_0x4282b5])];}function Dx(_0x1cb0a7){let _0xfc67fb=_0x1cb0a7[_0x1cb0a7['length']-0x1],_0x5e1bb1=_0x1cb0a7['slice']();return _0x5e1bb1[_0x1cb0a7['length']-0x1]=_0xfc67fb['setSelAfter'](_0xfc67fb['selectionsAfter']['slice'](0x0,_0xfc67fb['selectionsAfter']['length']-0x1)),_0x5e1bb1;}function Qx(_0x5bef83,_0x471c31){if(!_0x5bef83['length'])return _0x5bef83;let _0x38f231=_0x5bef83['length'],_0x28abdb=Nx;for(;_0x38f231;){let _0x3e6355=Vx(_0x5bef83[_0x38f231-0x1],_0x471c31,_0x28abdb);if(_0x3e6355['changes']&&!_0x3e6355['changes']['empty']||_0x3e6355['effects']['length']){let _0x592eb4=_0x5bef83['slice'](0x0,_0x38f231);return _0x592eb4[_0x38f231-0x1]=_0x3e6355,_0x592eb4;}_0x471c31=_0x3e6355['mapped'],_0x38f231--,_0x28abdb=_0x3e6355['selectionsAfter'];}return _0x28abdb['length']?[HistEvent['selection'](_0x28abdb)]:Nx;}function Vx(_0x4f6a5d,_0x913378,_0x54d50f){let _0x421f97=Mx(_0x4f6a5d['selectionsAfter']['length']?_0x4f6a5d['selectionsAfter']['map'](_0x414e2f=>_0x414e2f['map'](_0x913378)):Nx,_0x54d50f);if(!_0x4f6a5d['changes'])return HistEvent['selection'](_0x421f97);let _0x1d3795=_0x4f6a5d['changes']['map'](_0x913378),_0x933a6e=_0x913378['mapDesc'](_0x4f6a5d['changes'],!0x0),_0x78f643=_0x4f6a5d['mapped']?_0x4f6a5d['mapped']['composeDesc'](_0x933a6e):_0x933a6e;return new HistEvent(_0x1d3795,StateEffect['mapEffects'](_0x4f6a5d['effects'],_0x913378),_0x78f643,_0x4f6a5d['startSelection']['map'](_0x933a6e),_0x421f97);}const Ux=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x1f7225,_0x47c143,_0x32ef64=0x0,_0x2280fd=void 0x0){this['done']=_0x1f7225,this['undone']=_0x47c143,this['prevTime']=_0x32ef64,this['prevUserEvent']=_0x2280fd;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x4489b9,_0x17e754,_0x5945e8,_0xc89866,_0x3669ee){let _0x56238f=this['done'],_0x25dba6=_0x56238f[_0x56238f['length']-0x1];return _0x56238f=_0x25dba6&&_0x25dba6['changes']&&!_0x25dba6['changes']['empty']&&_0x4489b9['changes']&&(!_0x5945e8||Ux['test'](_0x5945e8))&&(!_0x25dba6['selectionsAfter']['length']&&_0x17e754-this['prevTime']<_0xc89866['newGroupDelay']&&_0xc89866['joinToEvent'](_0x3669ee,function(_0x59e6db,_0x202897){let _0xb01443=[],_0x6e581d=!0x1;return _0x59e6db['iterChangedRanges']((_0x7362ca,t)=>_0xb01443['push'](_0x7362ca,t)),_0x202897['iterChangedRanges']((_0xb0b3d9,_0x5857d5,_0x1505e1,t)=>{for(let _0x3e7190=0x0;_0x3e7190<_0xb01443['length'];){let _0xdbb359=_0xb01443[_0x3e7190++],_0x4aedf9=_0xb01443[_0x3e7190++];t>=_0xdbb359&&_0x1505e1<=_0x4aedf9&&(_0x6e581d=!0x0);}}),_0x6e581d;}(_0x25dba6['changes'],_0x4489b9['changes']))||'input.type.compose'==_0x5945e8)?Px(_0x56238f,_0x56238f['length']-0x1,_0xc89866['minDepth'],new HistEvent(_0x4489b9['changes']['compose'](_0x25dba6['changes']),Mx(StateEffect['mapEffects'](_0x4489b9['effects'],_0x25dba6['changes']),_0x25dba6['effects']),_0x25dba6['mapped'],_0x25dba6['startSelection'],Nx)):Px(_0x56238f,_0x56238f['length'],_0xc89866['minDepth'],_0x4489b9),new HistoryState(_0x56238f,Nx,_0x17e754,_0x5945e8);}['addSelection'](_0x212a9a,_0x24f8a7,_0x3248f7,_0x2d534b){let _0x142a2f=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:Nx;return _0x142a2f['length']>0x0&&_0x24f8a7-this['prevTime']<_0x2d534b&&_0x3248f7==this['prevUserEvent']&&_0x3248f7&&/^select($|\.)/['test'](_0x3248f7)&&(_0x184352=_0x142a2f[_0x142a2f['length']-0x1],_0x3d6868=_0x212a9a,_0x184352['ranges']['length']==_0x3d6868['ranges']['length']&&0x0===_0x184352['ranges']['filter']((_0x2ba86d,_0x2d5e29)=>_0x2ba86d['empty']!=_0x3d6868['ranges'][_0x2d5e29]['empty'])['length'])?this:new HistoryState($x(this['done'],_0x212a9a),this['undone'],_0x24f8a7,_0x3248f7);var _0x184352,_0x3d6868;}['addMapping'](_0x10f077){return new HistoryState(Qx(this['done'],_0x10f077),Qx(this['undone'],_0x10f077),this['prevTime'],this['prevUserEvent']);}['pop'](_0x4fe4d4,_0x127cde,_0x2d233b){let _0x4677f8=0x0==_0x4fe4d4?this['done']:this['undone'];if(0x0==_0x4677f8['length'])return null;let _0x4c7e44=_0x4677f8[_0x4677f8['length']-0x1],_0x2d5a47=_0x4c7e44['selectionsAfter'][0x0]||_0x127cde['selection'];if(_0x2d233b&&_0x4c7e44['selectionsAfter']['length'])return _0x127cde['update']({'selection':_0x4c7e44['selectionsAfter'][_0x4c7e44['selectionsAfter']['length']-0x1],'annotations':vx['of']({'side':_0x4fe4d4,'rest':Dx(_0x4677f8),'selection':_0x2d5a47}),'userEvent':0x0==_0x4fe4d4?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x4c7e44['changes']){let _0x3c1a20=0x1==_0x4677f8['length']?Nx:_0x4677f8['slice'](0x0,_0x4677f8['length']-0x1);return _0x4c7e44['mapped']&&(_0x3c1a20=Qx(_0x3c1a20,_0x4c7e44['mapped'])),_0x127cde['update']({'changes':_0x4c7e44['changes'],'selection':_0x4c7e44['startSelection'],'effects':_0x4c7e44['effects'],'annotations':vx['of']({'side':_0x4fe4d4,'rest':_0x3c1a20,'selection':_0x2d5a47}),'filter':!0x1,'userEvent':0x0==_0x4fe4d4?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(Nx,Nx);const Bx=[{'key':'Mod-z','run':Cx,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':kx,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':kx,'preventDefault':!0x0},{'key':'Mod-u','run':xx,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':Rx,'preventDefault':!0x0}];function Fx(_0x18eeef,_0xc3cf47){return EditorSelection['create'](_0x18eeef['ranges']['map'](_0xc3cf47),_0x18eeef['mainIndex']);}function jx(_0x12c0d5,_0xd1522b){return _0x12c0d5['update']({'selection':_0xd1522b,'scrollIntoView':!0x0,'userEvent':'select'});}function Hx({state:_0x501b60,dispatch:_0x34b407},_0x312d73){let _0x58e76e=Fx(_0x501b60['selection'],_0x312d73);return!_0x58e76e['eq'](_0x501b60['selection'],!0x0)&&(_0x34b407(jx(_0x501b60,_0x58e76e)),!0x0);}function Gx(_0x276bd9,_0x384d20){return EditorSelection['cursor'](_0x384d20?_0x276bd9['to']:_0x276bd9['from']);}function Zx(_0x13dd45,_0x2c7c80){return Hx(_0x13dd45,_0x55c376=>_0x55c376['empty']?_0x13dd45['moveByChar'](_0x55c376,_0x2c7c80):Gx(_0x55c376,_0x2c7c80));}function Xx(_0x2c3eab){return _0x2c3eab['textDirectionAt'](_0x2c3eab['state']['selection']['main']['head'])==wT['LTR'];}const qx=_0x4b8943=>Zx(_0x4b8943,!Xx(_0x4b8943)),Wx=_0x4982bb=>Zx(_0x4982bb,Xx(_0x4982bb));function zx(_0x5e2c2c,_0x1299ee){return Hx(_0x5e2c2c,_0x41a7d2=>_0x41a7d2['empty']?_0x5e2c2c['moveByGroup'](_0x41a7d2,_0x1299ee):Gx(_0x41a7d2,_0x1299ee));}function Yx(_0x42e10a,_0xecddd8,_0x26096f){if(_0xecddd8['type']['prop'](_0x26096f))return!0x0;let _0xfe708b=_0xecddd8['to']-_0xecddd8['from'];return _0xfe708b&&(_0xfe708b>0x2||/[^\s,.;:]/['test'](_0x42e10a['sliceDoc'](_0xecddd8['from'],_0xecddd8['to'])))||_0xecddd8['firstChild'];}function Kx(_0x23345c,_0x3de7dc,_0x442e7c){let _0x25ce4d,_0x5a6f0b,_0x5322bb=WC(_0x23345c)['resolveInner'](_0x3de7dc['head']),_0x20a40f=_0x442e7c?NodeProp['closedBy']:NodeProp['openedBy'];for(let _0x1b4ba1=_0x3de7dc['head'];;){let _0x66993d=_0x442e7c?_0x5322bb['childAfter'](_0x1b4ba1):_0x5322bb['childBefore'](_0x1b4ba1);if(!_0x66993d)break;Yx(_0x23345c,_0x66993d,_0x20a40f)?_0x5322bb=_0x66993d:_0x1b4ba1=_0x442e7c?_0x66993d['to']:_0x66993d['from'];}return _0x5a6f0b=_0x5322bb['type']['prop'](_0x20a40f)&&(_0x25ce4d=_0x442e7c?nx(_0x23345c,_0x5322bb['from'],0x1):nx(_0x23345c,_0x5322bb['to'],-0x1))&&_0x25ce4d['matched']?_0x442e7c?_0x25ce4d['end']['to']:_0x25ce4d['end']['from']:_0x442e7c?_0x5322bb['to']:_0x5322bb['from'],EditorSelection['cursor'](_0x5a6f0b,_0x442e7c?-0x1:0x1);}function Jx(_0x1c72c9,_0x1eb8d0){return Hx(_0x1c72c9,_0x4d42d2=>{if(!_0x4d42d2['empty'])return Gx(_0x4d42d2,_0x1eb8d0);let _0x24adf4=_0x1c72c9['moveVertically'](_0x4d42d2,_0x1eb8d0);return _0x24adf4['head']!=_0x4d42d2['head']?_0x24adf4:_0x1c72c9['moveToLineBoundary'](_0x4d42d2,_0x1eb8d0);});}const tR=_0x2d6269=>Jx(_0x2d6269,!0x1),eR=_0x330bb9=>Jx(_0x330bb9,!0x0);function iR(_0x5102e3){let _0x15007,_0x2fda9c=_0x5102e3['scrollDOM']['clientHeight']<_0x5102e3['scrollDOM']['scrollHeight']-0x2,_0xf807a2=0x0,_0x3cf4ec=0x0;if(_0x2fda9c){for(let _0x368645 of _0x5102e3['state']['facet'](EditorView['scrollMargins'])){let _0xb43b3a=_0x368645(_0x5102e3);(null==_0xb43b3a?void 0x0:_0xb43b3a['top'])&&(_0xf807a2=Math['max'](null==_0xb43b3a?void 0x0:_0xb43b3a['top'],_0xf807a2)),(null==_0xb43b3a?void 0x0:_0xb43b3a['bottom'])&&(_0x3cf4ec=Math['max'](null==_0xb43b3a?void 0x0:_0xb43b3a['bottom'],_0x3cf4ec));}_0x15007=_0x5102e3['scrollDOM']['clientHeight']-_0xf807a2-_0x3cf4ec;}else _0x15007=(_0x5102e3['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0xf807a2,'marginBottom':_0x3cf4ec,'selfScroll':_0x2fda9c,'height':Math['max'](_0x5102e3['defaultLineHeight'],_0x15007-0x5)};}function sR(_0x2ae8fc,_0x133a3f){let _0x21b1e5,_0x59e088=iR(_0x2ae8fc),{state:_0x2027a2}=_0x2ae8fc,_0x2d2c41=Fx(_0x2027a2['selection'],_0x412207=>_0x412207['empty']?_0x2ae8fc['moveVertically'](_0x412207,_0x133a3f,_0x59e088['height']):Gx(_0x412207,_0x133a3f));if(_0x2d2c41['eq'](_0x2027a2['selection']))return!0x1;if(_0x59e088['selfScroll']){let _0x542761=_0x2ae8fc['coordsAtPos'](_0x2027a2['selection']['main']['head']),_0x238d5c=_0x2ae8fc['scrollDOM']['getBoundingClientRect'](),_0x2e0159=_0x238d5c['top']+_0x59e088['marginTop'],_0x3cdb2c=_0x238d5c['bottom']-_0x59e088['marginBottom'];_0x542761&&_0x542761['top']>_0x2e0159&&_0x542761['bottom']<_0x3cdb2c&&(_0x21b1e5=EditorView['scrollIntoView'](_0x2d2c41['main']['head'],{'y':'start','yMargin':_0x542761['top']-_0x2e0159}));}return _0x2ae8fc['dispatch'](jx(_0x2027a2,_0x2d2c41),{'effects':_0x21b1e5}),!0x0;}const nR=_0x8d31f7=>sR(_0x8d31f7,!0x1),rR=_0x580a07=>sR(_0x580a07,!0x0);function oR(_0x16c188,_0x143307,_0x29a446){let _0x2918c8=_0x16c188['lineBlockAt'](_0x143307['head']),_0x5936e5=_0x16c188['moveToLineBoundary'](_0x143307,_0x29a446);if(_0x5936e5['head']==_0x143307['head']&&_0x5936e5['head']!=(_0x29a446?_0x2918c8['to']:_0x2918c8['from'])&&(_0x5936e5=_0x16c188['moveToLineBoundary'](_0x143307,_0x29a446,!0x1)),!_0x29a446&&_0x5936e5['head']==_0x2918c8['from']&&_0x2918c8['length']){let _0x124c92=/^\s*/['exec'](_0x16c188['state']['sliceDoc'](_0x2918c8['from'],Math['min'](_0x2918c8['from']+0x64,_0x2918c8['to'])))[0x0]['length'];_0x124c92&&_0x143307['head']!=_0x2918c8['from']+_0x124c92&&(_0x5936e5=EditorSelection['cursor'](_0x2918c8['from']+_0x124c92));}return _0x5936e5;}function aR(_0x47ea4f,_0x14accf){let _0x18d51b=Fx(_0x47ea4f['state']['selection'],_0x45386b=>{let _0x42c062=_0x14accf(_0x45386b);return EditorSelection['range'](_0x45386b['anchor'],_0x42c062['head'],_0x42c062['goalColumn'],_0x42c062['bidiLevel']||void 0x0);});return!_0x18d51b['eq'](_0x47ea4f['state']['selection'])&&(_0x47ea4f['dispatch'](jx(_0x47ea4f['state'],_0x18d51b)),!0x0);}function cR(_0x2dbbf3,_0x418e53){return aR(_0x2dbbf3,_0x4651cc=>_0x2dbbf3['moveByChar'](_0x4651cc,_0x418e53));}const lR=_0x3d1c91=>cR(_0x3d1c91,!Xx(_0x3d1c91)),hR=_0x348c4c=>cR(_0x348c4c,Xx(_0x348c4c));function uR(_0xe033f8,_0x24a824){return aR(_0xe033f8,_0x371a6d=>_0xe033f8['moveByGroup'](_0x371a6d,_0x24a824));}function dR(_0x2a2553,_0x2e96f0){return aR(_0x2a2553,_0x354609=>_0x2a2553['moveVertically'](_0x354609,_0x2e96f0));}const fR=_0x4c1eef=>dR(_0x4c1eef,!0x1),mR=_0x8467da=>dR(_0x8467da,!0x0);function gR(_0x5d41a5,_0xe94dc5){return aR(_0x5d41a5,_0x3576e5=>_0x5d41a5['moveVertically'](_0x3576e5,_0xe94dc5,iR(_0x5d41a5)['height']));}const pR=_0x478974=>gR(_0x478974,!0x1),OR=_0x593d37=>gR(_0x593d37,!0x0),wR=({state:_0x290310,dispatch:_0x15cb69})=>(_0x15cb69(jx(_0x290310,{'anchor':0x0})),!0x0),bR=({state:_0x5eaa5f,dispatch:_0x30821b})=>(_0x30821b(jx(_0x5eaa5f,{'anchor':_0x5eaa5f['doc']['length']})),!0x0),yR=({state:_0xcfafd7,dispatch:_0x420211})=>(_0x420211(jx(_0xcfafd7,{'anchor':_0xcfafd7['selection']['main']['anchor'],'head':0x0})),!0x0),vR=({state:_0x595932,dispatch:_0x59bd41})=>(_0x59bd41(jx(_0x595932,{'anchor':_0x595932['selection']['main']['anchor'],'head':_0x595932['doc']['length']})),!0x0);function _R(_0xff8ca7,_0x8924f8){if(_0xff8ca7['state']['readOnly'])return!0x1;let _0x397f37='delete.selection',{state:_0x62ad9e}=_0xff8ca7,_0x13838f=_0x62ad9e['changeByRange'](_0x1c8f80=>{let {from:_0x189729,to:_0x56c9cc}=_0x1c8f80;if(_0x189729==_0x56c9cc){let _0x18ba44=_0x8924f8(_0x1c8f80);_0x18ba44<_0x189729?(_0x397f37='delete.backward',_0x18ba44=ER(_0xff8ca7,_0x18ba44,!0x1)):_0x18ba44>_0x189729&&(_0x397f37='delete.forward',_0x18ba44=ER(_0xff8ca7,_0x18ba44,!0x0)),_0x189729=Math['min'](_0x189729,_0x18ba44),_0x56c9cc=Math['max'](_0x56c9cc,_0x18ba44);}else _0x189729=ER(_0xff8ca7,_0x189729,!0x1),_0x56c9cc=ER(_0xff8ca7,_0x56c9cc,!0x0);return _0x189729==_0x56c9cc?{'range':_0x1c8f80}:{'changes':{'from':_0x189729,'to':_0x56c9cc},'range':EditorSelection['cursor'](_0x189729,_0x189729<_0x1c8f80['head']?-0x1:0x1)};});return!_0x13838f['changes']['empty']&&(_0xff8ca7['dispatch'](_0x62ad9e['update'](_0x13838f,{'scrollIntoView':!0x0,'userEvent':_0x397f37,'effects':'delete.selection'==_0x397f37?EditorView['announce']['of'](_0x62ad9e['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function ER(_0x4068a5,_0x130871,_0x2f473a){if(_0x4068a5 instanceof EditorView){for(let _0x5b6aba of _0x4068a5['state']['facet'](EditorView['atomicRanges'])['map'](_0x387e94=>_0x387e94(_0x4068a5)))_0x5b6aba['between'](_0x130871,_0x130871,(_0x48c067,_0x1d4f48)=>{_0x48c067<_0x130871&&_0x1d4f48>_0x130871&&(_0x130871=_0x2f473a?_0x1d4f48:_0x48c067);});}return _0x130871;}const TR=(_0x57c4db,_0x20dc53,_0x151c24)=>_R(_0x57c4db,_0x1537aa=>{let _0x376545,_0x3d66e2,_0x39ac21=_0x1537aa['from'],{state:_0x4eaa90}=_0x57c4db,_0x5afa15=_0x4eaa90['doc']['lineAt'](_0x39ac21);if(_0x151c24&&!_0x20dc53&&_0x39ac21>_0x5afa15['from']&&_0x39ac21<_0x5afa15['from']+0xc8&&!/[^ \t]/['test'](_0x376545=_0x5afa15['text']['slice'](0x0,_0x39ac21-_0x5afa15['from']))){if('\x09'==_0x376545[_0x376545['length']-0x1])return _0x39ac21-0x1;let _0x2f92bd=hE(_0x376545,_0x4eaa90['tabSize'])%nk(_0x4eaa90)||nk(_0x4eaa90);for(let _0xdaa61c=0x0;_0xdaa61c<_0x2f92bd&&'\x20'==_0x376545[_0x376545['length']-0x1-_0xdaa61c];_0xdaa61c++)_0x39ac21--;_0x3d66e2=_0x39ac21;}else _0x3d66e2=u_(_0x5afa15['text'],_0x39ac21-_0x5afa15['from'],_0x20dc53,_0x20dc53)+_0x5afa15['from'],_0x3d66e2==_0x39ac21&&_0x5afa15['number']!=(_0x20dc53?_0x4eaa90['doc']['lines']:0x1)?_0x3d66e2+=_0x20dc53?0x1:-0x1:!_0x20dc53&&/[\ufe00-\ufe0f]/['test'](_0x5afa15['text']['slice'](_0x3d66e2-_0x5afa15['from'],_0x39ac21-_0x5afa15['from']))&&(_0x3d66e2=u_(_0x5afa15['text'],_0x3d66e2-_0x5afa15['from'],!0x1,!0x1)+_0x5afa15['from']);return _0x3d66e2;}),AR=_0x47f34b=>TR(_0x47f34b,!0x1,!0x0),IR=_0x5f094a=>TR(_0x5f094a,!0x0,!0x1),SR=(_0x3e1c85,_0x1cb5a8)=>_R(_0x3e1c85,_0x47748b=>{let _0x4f8ec2=_0x47748b['head'],{state:_0x3d52fb}=_0x3e1c85,_0x215e7e=_0x3d52fb['doc']['lineAt'](_0x4f8ec2),_0x4999a3=_0x3d52fb['charCategorizer'](_0x4f8ec2);for(let _0xdc7524=null;;){if(_0x4f8ec2==(_0x1cb5a8?_0x215e7e['to']:_0x215e7e['from'])){_0x4f8ec2==_0x47748b['head']&&_0x215e7e['number']!=(_0x1cb5a8?_0x3d52fb['doc']['lines']:0x1)&&(_0x4f8ec2+=_0x1cb5a8?0x1:-0x1);break;}let _0x21915e=u_(_0x215e7e['text'],_0x4f8ec2-_0x215e7e['from'],_0x1cb5a8)+_0x215e7e['from'],_0x46fefb=_0x215e7e['text']['slice'](Math['min'](_0x4f8ec2,_0x21915e)-_0x215e7e['from'],Math['max'](_0x4f8ec2,_0x21915e)-_0x215e7e['from']),_0x306e95=_0x4999a3(_0x46fefb);if(null!=_0xdc7524&&_0x306e95!=_0xdc7524)break;'\x20'==_0x46fefb&&_0x4f8ec2==_0x47748b['head']||(_0xdc7524=_0x306e95),_0x4f8ec2=_0x21915e;}return _0x4f8ec2;}),CR=_0xaa3fcf=>SR(_0xaa3fcf,!0x1);function kR(_0xd6df90){let _0x6b012f=[],_0x796ace=-0x1;for(let _0x3c6858 of _0xd6df90['selection']['ranges']){let _0x5e1f5c=_0xd6df90['doc']['lineAt'](_0x3c6858['from']),_0x66d8e7=_0xd6df90['doc']['lineAt'](_0x3c6858['to']);if(_0x3c6858['empty']||_0x3c6858['to']!=_0x66d8e7['from']||(_0x66d8e7=_0xd6df90['doc']['lineAt'](_0x3c6858['to']-0x1)),_0x796ace>=_0x5e1f5c['number']){let _0x437124=_0x6b012f[_0x6b012f['length']-0x1];_0x437124['to']=_0x66d8e7['to'],_0x437124['ranges']['push'](_0x3c6858);}else _0x6b012f['push']({'from':_0x5e1f5c['from'],'to':_0x66d8e7['to'],'ranges':[_0x3c6858]});_0x796ace=_0x66d8e7['number']+0x1;}return _0x6b012f;}function xR(_0xb18da4,_0x32fe79,_0x421db7){if(_0xb18da4['readOnly'])return!0x1;let _0x2a1b64=[],_0x36553f=[];for(let _0x2589ad of kR(_0xb18da4)){if(_0x421db7?_0x2589ad['to']==_0xb18da4['doc']['length']:0x0==_0x2589ad['from'])continue;let _0x4e7bf2=_0xb18da4['doc']['lineAt'](_0x421db7?_0x2589ad['to']+0x1:_0x2589ad['from']-0x1),_0x57dd3=_0x4e7bf2['length']+0x1;if(_0x421db7){_0x2a1b64['push']({'from':_0x2589ad['to'],'to':_0x4e7bf2['to']},{'from':_0x2589ad['from'],'insert':_0x4e7bf2['text']+_0xb18da4['lineBreak']});for(let _0x8b1850 of _0x2589ad['ranges'])_0x36553f['push'](EditorSelection['range'](Math['min'](_0xb18da4['doc']['length'],_0x8b1850['anchor']+_0x57dd3),Math['min'](_0xb18da4['doc']['length'],_0x8b1850['head']+_0x57dd3)));}else{_0x2a1b64['push']({'from':_0x4e7bf2['from'],'to':_0x2589ad['from']},{'from':_0x2589ad['to'],'insert':_0xb18da4['lineBreak']+_0x4e7bf2['text']});for(let _0x44a662 of _0x2589ad['ranges'])_0x36553f['push'](EditorSelection['range'](_0x44a662['anchor']-_0x57dd3,_0x44a662['head']-_0x57dd3));}}return!!_0x2a1b64['length']&&(_0x32fe79(_0xb18da4['update']({'changes':_0x2a1b64,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x36553f,_0xb18da4['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function RR(_0x134876,_0x354fb1,_0x44af62){if(_0x134876['readOnly'])return!0x1;let _0x50fbc3=[];for(let _0x383bef of kR(_0x134876))_0x44af62?_0x50fbc3['push']({'from':_0x383bef['from'],'insert':_0x134876['doc']['slice'](_0x383bef['from'],_0x383bef['to'])+_0x134876['lineBreak']}):_0x50fbc3['push']({'from':_0x383bef['to'],'insert':_0x134876['lineBreak']+_0x134876['doc']['slice'](_0x383bef['from'],_0x383bef['to'])});return _0x354fb1(_0x134876['update']({'changes':_0x50fbc3,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const PR=NR(!0x1),MR=NR(!0x0);function NR(_0x489ab0){return({state:_0x5b54f1,dispatch:_0x7816cb})=>{if(_0x5b54f1['readOnly'])return!0x1;let _0x40c73e=_0x5b54f1['changeByRange'](_0x55ded=>{let {from:_0x4849c6,to:_0x504a20}=_0x55ded,_0x5c4020=_0x5b54f1['doc']['lineAt'](_0x4849c6),_0x3b919c=!_0x489ab0&&_0x4849c6==_0x504a20&&function(_0x20ca79,_0x501f49){if(/\(\)|\[\]|\{\}/['test'](_0x20ca79['sliceDoc'](_0x501f49-0x1,_0x501f49+0x1)))return{'from':_0x501f49,'to':_0x501f49};let _0x2ba637,_0x344471=WC(_0x20ca79)['resolveInner'](_0x501f49),_0x109a46=_0x344471['childBefore'](_0x501f49),_0x520b3c=_0x344471['childAfter'](_0x501f49);return _0x109a46&&_0x520b3c&&_0x109a46['to']<=_0x501f49&&_0x520b3c['from']>=_0x501f49&&(_0x2ba637=_0x109a46['type']['prop'](NodeProp['closedBy']))&&_0x2ba637['indexOf'](_0x520b3c['name'])>-0x1&&_0x20ca79['doc']['lineAt'](_0x109a46['to'])['from']==_0x20ca79['doc']['lineAt'](_0x520b3c['from'])['from']&&!/\S/['test'](_0x20ca79['sliceDoc'](_0x109a46['to'],_0x520b3c['from']))?{'from':_0x109a46['to'],'to':_0x520b3c['from']}:null;}(_0x5b54f1,_0x4849c6);_0x489ab0&&(_0x4849c6=_0x504a20=(_0x504a20<=_0x5c4020['to']?_0x5c4020:_0x5b54f1['doc']['lineAt'](_0x504a20))['to']);let _0x228d8a=new IndentContext(_0x5b54f1,{'simulateBreak':_0x4849c6,'simulateDoubleBreak':!!_0x3b919c}),_0x3d2cf1=ok(_0x228d8a,_0x4849c6);for(null==_0x3d2cf1&&(_0x3d2cf1=hE(/^\s*/['exec'](_0x5b54f1['doc']['lineAt'](_0x4849c6)['text'])[0x0],_0x5b54f1['tabSize']));_0x504a20<_0x5c4020['to']&&/\s/['test'](_0x5c4020['text'][_0x504a20-_0x5c4020['from']]);)_0x504a20++;_0x3b919c?{from:_0x4849c6,to:_0x504a20}=_0x3b919c:_0x4849c6>_0x5c4020['from']&&_0x4849c6<_0x5c4020['from']+0x64&&!/\S/['test'](_0x5c4020['text']['slice'](0x0,_0x4849c6))&&(_0x4849c6=_0x5c4020['from']);let _0x41f74f=['',rk(_0x5b54f1,_0x3d2cf1)];return _0x3b919c&&_0x41f74f['push'](rk(_0x5b54f1,_0x228d8a['lineIndent'](_0x5c4020['from'],-0x1))),{'changes':{'from':_0x4849c6,'to':_0x504a20,'insert':o_['of'](_0x41f74f)},'range':EditorSelection['cursor'](_0x4849c6+0x1+_0x41f74f[0x1]['length'])};});return _0x7816cb(_0x5b54f1['update'](_0x40c73e,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function LR(_0x175e81,_0x5f3487){let _0x523dbe=-0x1;return _0x175e81['changeByRange'](_0x173de8=>{let _0x531425=[];for(let _0x564a7f=_0x173de8['from'];_0x564a7f<=_0x173de8['to'];){let _0x4a6509=_0x175e81['doc']['lineAt'](_0x564a7f);_0x4a6509['number']>_0x523dbe&&(_0x173de8['empty']||_0x173de8['to']>_0x4a6509['from'])&&(_0x5f3487(_0x4a6509,_0x531425,_0x173de8),_0x523dbe=_0x4a6509['number']),_0x564a7f=_0x4a6509['to']+0x1;}let _0x1ff941=_0x175e81['changes'](_0x531425);return{'changes':_0x531425,'range':EditorSelection['range'](_0x1ff941['mapPos'](_0x173de8['anchor'],0x1),_0x1ff941['mapPos'](_0x173de8['head'],0x1))};});}const $R=({state:_0x55f909,dispatch:_0x3c44fb})=>!_0x55f909['readOnly']&&(_0x3c44fb(_0x55f909['update'](LR(_0x55f909,(_0x35597c,_0x4806ea)=>{_0x4806ea['push']({'from':_0x35597c['from'],'insert':_0x55f909['facet'](sk)});}),{'userEvent':'input.indent'})),!0x0),DR=({state:_0x2e1c98,dispatch:_0x7c62ab})=>!_0x2e1c98['readOnly']&&(_0x7c62ab(_0x2e1c98['update'](LR(_0x2e1c98,(_0x40372d,_0x547c8f)=>{let _0x2a2b75=/^\s*/['exec'](_0x40372d['text'])[0x0];if(!_0x2a2b75)return;let _0x45d506=hE(_0x2a2b75,_0x2e1c98['tabSize']),_0x437a40=0x0,_0x3f0424=rk(_0x2e1c98,Math['max'](0x0,_0x45d506-nk(_0x2e1c98)));for(;_0x437a40<_0x2a2b75['length']&&_0x437a40<_0x3f0424['length']&&_0x2a2b75['charCodeAt'](_0x437a40)==_0x3f0424['charCodeAt'](_0x437a40);)_0x437a40++;_0x547c8f['push']({'from':_0x40372d['from']+_0x437a40,'to':_0x40372d['from']+_0x2a2b75['length'],'insert':_0x3f0424['slice'](_0x437a40)});}),{'userEvent':'delete.dedent'})),!0x0),QR=_0x23638f=>(_0x23638f['setTabFocusMode'](),!0x0),VR=[{'key':'Ctrl-b','run':qx,'shift':lR,'preventDefault':!0x0},{'key':'Ctrl-f','run':Wx,'shift':hR},{'key':'Ctrl-p','run':tR,'shift':fR},{'key':'Ctrl-n','run':eR,'shift':mR},{'key':'Ctrl-a','run':_0x4016bb=>Hx(_0x4016bb,_0x2cc0aa=>EditorSelection['cursor'](_0x4016bb['lineBlockAt'](_0x2cc0aa['head'])['from'],0x1)),'shift':_0x4bf0db=>aR(_0x4bf0db,_0x1947c2=>EditorSelection['cursor'](_0x4bf0db['lineBlockAt'](_0x1947c2['head'])['from']))},{'key':'Ctrl-e','run':_0x2a4162=>Hx(_0x2a4162,_0x2c8ce8=>EditorSelection['cursor'](_0x2a4162['lineBlockAt'](_0x2c8ce8['head'])['to'],-0x1)),'shift':_0xee9df6=>aR(_0xee9df6,_0x5eeef6=>EditorSelection['cursor'](_0xee9df6['lineBlockAt'](_0x5eeef6['head'])['to']))},{'key':'Ctrl-d','run':IR},{'key':'Ctrl-h','run':AR},{'key':'Ctrl-k','run':_0x1def7c=>_R(_0x1def7c,_0x464a72=>{let _0x1f83d8=_0x1def7c['lineBlockAt'](_0x464a72['head'])['to'];return _0x464a72['head']<_0x1f83d8?_0x1f83d8:Math['min'](_0x1def7c['state']['doc']['length'],_0x464a72['head']+0x1);})},{'key':'Ctrl-Alt-h','run':CR},{'key':'Ctrl-o','run':({state:_0x27f7fd,dispatch:_0x28d284})=>{if(_0x27f7fd['readOnly'])return!0x1;let _0x9d5689=_0x27f7fd['changeByRange'](_0x2dfe19=>({'changes':{'from':_0x2dfe19['from'],'to':_0x2dfe19['to'],'insert':o_['of'](['',''])},'range':EditorSelection['cursor'](_0x2dfe19['from'])}));return _0x28d284(_0x27f7fd['update'](_0x9d5689,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x5e0912,dispatch:_0x4ad716})=>{if(_0x5e0912['readOnly'])return!0x1;let _0x1ab8f0=_0x5e0912['changeByRange'](_0x3f7fc3=>{if(!_0x3f7fc3['empty']||0x0==_0x3f7fc3['from']||_0x3f7fc3['from']==_0x5e0912['doc']['length'])return{'range':_0x3f7fc3};let _0x6b4542=_0x3f7fc3['from'],_0x37c8d9=_0x5e0912['doc']['lineAt'](_0x6b4542),_0x10dcc7=_0x6b4542==_0x37c8d9['from']?_0x6b4542-0x1:u_(_0x37c8d9['text'],_0x6b4542-_0x37c8d9['from'],!0x1)+_0x37c8d9['from'],_0x421b14=_0x6b4542==_0x37c8d9['to']?_0x6b4542+0x1:u_(_0x37c8d9['text'],_0x6b4542-_0x37c8d9['from'],!0x0)+_0x37c8d9['from'];return{'changes':{'from':_0x10dcc7,'to':_0x421b14,'insert':_0x5e0912['doc']['slice'](_0x6b4542,_0x421b14)['append'](_0x5e0912['doc']['slice'](_0x10dcc7,_0x6b4542))},'range':EditorSelection['cursor'](_0x421b14)};});return!_0x1ab8f0['changes']['empty']&&(_0x4ad716(_0x5e0912['update'](_0x1ab8f0,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':rR}],UR=[{'key':'ArrowLeft','run':qx,'shift':lR,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0xd21b54=>zx(_0xd21b54,!Xx(_0xd21b54)),'shift':_0x3acf96=>uR(_0x3acf96,!Xx(_0x3acf96)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x1d7977=>Hx(_0x1d7977,_0x4ca7d2=>oR(_0x1d7977,_0x4ca7d2,!Xx(_0x1d7977))),'shift':_0x3b36a9=>aR(_0x3b36a9,_0x5da535=>oR(_0x3b36a9,_0x5da535,!Xx(_0x3b36a9))),'preventDefault':!0x0},{'key':'ArrowRight','run':Wx,'shift':hR,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x4d2d81=>zx(_0x4d2d81,Xx(_0x4d2d81)),'shift':_0x49e86e=>uR(_0x49e86e,Xx(_0x49e86e)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x11031e=>Hx(_0x11031e,_0x32f263=>oR(_0x11031e,_0x32f263,Xx(_0x11031e))),'shift':_0x47ebec=>aR(_0x47ebec,_0x2aaa11=>oR(_0x47ebec,_0x2aaa11,Xx(_0x47ebec))),'preventDefault':!0x0},{'key':'ArrowUp','run':tR,'shift':fR,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':wR,'shift':yR},{'mac':'Ctrl-ArrowUp','run':nR,'shift':pR},{'key':'ArrowDown','run':eR,'shift':mR,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':bR,'shift':vR},{'mac':'Ctrl-ArrowDown','run':rR,'shift':OR},{'key':'PageUp','run':nR,'shift':pR},{'key':'PageDown','run':rR,'shift':OR},{'key':'Home','run':_0x273c1c=>Hx(_0x273c1c,_0x47c59e=>oR(_0x273c1c,_0x47c59e,!0x1)),'shift':_0x52274c=>aR(_0x52274c,_0x10cd59=>oR(_0x52274c,_0x10cd59,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':wR,'shift':yR},{'key':'End','run':_0x3452e6=>Hx(_0x3452e6,_0x50d8e4=>oR(_0x3452e6,_0x50d8e4,!0x0)),'shift':_0x4c93a2=>aR(_0x4c93a2,_0x5b4354=>oR(_0x4c93a2,_0x5b4354,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':bR,'shift':vR},{'key':'Enter','run':PR,'shift':PR},{'key':'Mod-a','run':({state:_0x26b967,dispatch:_0x70c38b})=>(_0x70c38b(_0x26b967['update']({'selection':{'anchor':0x0,'head':_0x26b967['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':AR,'shift':AR},{'key':'Delete','run':IR},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':CR},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x3d13d3=>SR(_0x3d13d3,!0x0)},{'mac':'Mod-Backspace','run':_0x3eb106=>_R(_0x3eb106,_0x4bf407=>{let _0x6c05b1=_0x3eb106['moveToLineBoundary'](_0x4bf407,!0x1)['head'];return _0x4bf407['head']>_0x6c05b1?_0x6c05b1:Math['max'](0x0,_0x4bf407['head']-0x1);})},{'mac':'Mod-Delete','run':_0x3f42cf=>_R(_0x3f42cf,_0xa50415=>{let _0x1d2a48=_0x3f42cf['moveToLineBoundary'](_0xa50415,!0x0)['head'];return _0xa50415['head']<_0x1d2a48?_0x1d2a48:Math['min'](_0x3f42cf['state']['doc']['length'],_0xa50415['head']+0x1);})}]['concat'](VR['map'](_0x4a0b1d=>({'mac':_0x4a0b1d['key'],'run':_0x4a0b1d['run'],'shift':_0x4a0b1d['shift']}))),BR=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x1eeb71=>Hx(_0x1eeb71,_0xea9147=>Kx(_0x1eeb71['state'],_0xea9147,!Xx(_0x1eeb71))),'shift':_0x45c2cf=>aR(_0x45c2cf,_0x390085=>Kx(_0x45c2cf['state'],_0x390085,!Xx(_0x45c2cf)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x51c523=>Hx(_0x51c523,_0x5d783c=>Kx(_0x51c523['state'],_0x5d783c,Xx(_0x51c523))),'shift':_0x1edd54=>aR(_0x1edd54,_0x158857=>Kx(_0x1edd54['state'],_0x158857,Xx(_0x1edd54)))},{'key':'Alt-ArrowUp','run':({state:_0x1ddd51,dispatch:_0x121c20})=>xR(_0x1ddd51,_0x121c20,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x5b643d,dispatch:_0xa2fe37})=>RR(_0x5b643d,_0xa2fe37,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x1dbb1e,dispatch:_0x5d37a7})=>xR(_0x1dbb1e,_0x5d37a7,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x428bf1,dispatch:_0x2e600c})=>RR(_0x428bf1,_0x2e600c,!0x0)},{'key':'Escape','run':({state:_0x55edfc,dispatch:_0xd8ce5c})=>{let _0x1b8928=_0x55edfc['selection'],_0x5c5b21=null;return _0x1b8928['ranges']['length']>0x1?_0x5c5b21=EditorSelection['create']([_0x1b8928['main']]):_0x1b8928['main']['empty']||(_0x5c5b21=EditorSelection['create']([EditorSelection['cursor'](_0x1b8928['main']['head'])])),!!_0x5c5b21&&(_0xd8ce5c(jx(_0x55edfc,_0x5c5b21)),!0x0);}},{'key':'Mod-Enter','run':MR},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x4b77ac,dispatch:_0x3c48b9})=>{let _0x39dc95=kR(_0x4b77ac)['map'](({from:_0x22815a,to:_0x4fadbb})=>EditorSelection['range'](_0x22815a,Math['min'](_0x4fadbb+0x1,_0x4b77ac['doc']['length'])));return _0x3c48b9(_0x4b77ac['update']({'selection':EditorSelection['create'](_0x39dc95),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0x25e38f,dispatch:_0x1c1f03})=>{let _0x288206=Fx(_0x25e38f['selection'],_0x7864d0=>{let _0x14b57e=WC(_0x25e38f),_0x23f198=_0x14b57e['resolveStack'](_0x7864d0['from'],0x1);if(_0x7864d0['empty']){let _0x5607ab=_0x14b57e['resolveStack'](_0x7864d0['from'],-0x1);_0x5607ab['node']['from']>=_0x23f198['node']['from']&&_0x5607ab['node']['to']<=_0x23f198['node']['to']&&(_0x23f198=_0x5607ab);}for(let _0x3f050b=_0x23f198;_0x3f050b;_0x3f050b=_0x3f050b['next']){let {node:_0xef1f85}=_0x3f050b;if((_0xef1f85['from']<_0x7864d0['from']&&_0xef1f85['to']>=_0x7864d0['to']||_0xef1f85['to']>_0x7864d0['to']&&_0xef1f85['from']<=_0x7864d0['from'])&&_0x3f050b['next'])return EditorSelection['range'](_0xef1f85['to'],_0xef1f85['from']);}return _0x7864d0;});return!_0x288206['eq'](_0x25e38f['selection'])&&(_0x1c1f03(jx(_0x25e38f,_0x288206)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':DR},{'key':'Mod-]','run':$R},{'key':'Mod-Alt-\x5c','run':({state:_0xf5ca66,dispatch:_0x558319})=>{if(_0xf5ca66['readOnly'])return!0x1;let _0x78098c=Object['create'](null),_0x25f924=new IndentContext(_0xf5ca66,{'overrideIndentation':_0x25da0c=>{let _0x57faa7=_0x78098c[_0x25da0c];return null==_0x57faa7?-0x1:_0x57faa7;}}),_0x232b7a=LR(_0xf5ca66,(_0x14b88a,_0x3b4590,_0x3433e2)=>{let _0x18aa68=ok(_0x25f924,_0x14b88a['from']);if(null==_0x18aa68)return;/\S/['test'](_0x14b88a['text'])||(_0x18aa68=0x0);let _0x44a980=/^\s*/['exec'](_0x14b88a['text'])[0x0],_0x4d634e=rk(_0xf5ca66,_0x18aa68);(_0x44a980!=_0x4d634e||_0x3433e2['from']<_0x14b88a['from']+_0x44a980['length'])&&(_0x78098c[_0x14b88a['from']]=_0x18aa68,_0x3b4590['push']({'from':_0x14b88a['from'],'to':_0x14b88a['from']+_0x44a980['length'],'insert':_0x4d634e}));});return _0x232b7a['changes']['empty']||_0x558319(_0xf5ca66['update'](_0x232b7a,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x5aff2a=>{if(_0x5aff2a['state']['readOnly'])return!0x1;let {state:_0x1aa7d5}=_0x5aff2a,_0x494315=_0x1aa7d5['changes'](kR(_0x1aa7d5)['map'](({from:_0x62712b,to:_0xc2725a})=>(_0x62712b>0x0?_0x62712b--:_0xc2725a<_0x1aa7d5['doc']['length']&&_0xc2725a++,{'from':_0x62712b,'to':_0xc2725a}))),_0x1a6e5a=Fx(_0x1aa7d5['selection'],_0x4eb3a4=>{let _0x4d7ff2;if(_0x5aff2a['lineWrapping']){let _0x1eed30=_0x5aff2a['lineBlockAt'](_0x4eb3a4['head']),_0x358979=_0x5aff2a['coordsAtPos'](_0x4eb3a4['head'],_0x4eb3a4['assoc']||0x1);_0x358979&&(_0x4d7ff2=_0x1eed30['bottom']+_0x5aff2a['documentTop']-_0x358979['bottom']+_0x5aff2a['defaultLineHeight']/0x2);}return _0x5aff2a['moveVertically'](_0x4eb3a4,!0x0,_0x4d7ff2);})['map'](_0x494315);return _0x5aff2a['dispatch']({'changes':_0x494315,'selection':_0x1a6e5a,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x203e1d,dispatch:_0x4ffa55})=>function(_0x38f54a,_0x560fe7){let _0x2b5509=!0x1,_0x53c115=Fx(_0x38f54a['selection'],_0x1d3c83=>{let _0x5ef3a0=nx(_0x38f54a,_0x1d3c83['head'],-0x1)||nx(_0x38f54a,_0x1d3c83['head'],0x1)||_0x1d3c83['head']>0x0&&nx(_0x38f54a,_0x1d3c83['head']-0x1,0x1)||_0x1d3c83['head']<_0x38f54a['doc']['length']&&nx(_0x38f54a,_0x1d3c83['head']+0x1,-0x1);if(!_0x5ef3a0||!_0x5ef3a0['end'])return _0x1d3c83;_0x2b5509=!0x0;let _0x541596=_0x5ef3a0['start']['from']==_0x1d3c83['head']?_0x5ef3a0['end']['to']:_0x5ef3a0['end']['from'];return EditorSelection['cursor'](_0x541596);});return!!_0x2b5509&&(_0x560fe7(jx(_0x38f54a,_0x53c115)),!0x0);}(_0x203e1d,_0x4ffa55)},{'key':'Mod-/','run':_0x2a90b6=>{let {state:_0x730bfd}=_0x2a90b6,_0x3ed1b9=_0x730bfd['doc']['lineAt'](_0x730bfd['selection']['main']['from']),_0x66ae9e=Ox(_0x2a90b6['state'],_0x3ed1b9['from']);return _0x66ae9e['line']?mx(_0x2a90b6):!!_0x66ae9e['block']&&px(_0x2a90b6);}},{'key':'Alt-A','run':gx},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':QR}]['concat'](UR);class CompletionContext{constructor(_0x436a09,_0x1e67d0,_0x19ec06,_0x303503){this['state']=_0x436a09,this['pos']=_0x1e67d0,this['explicit']=_0x19ec06,this['view']=_0x303503,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x97b31c){let _0x2ac97a=WC(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x2ac97a&&_0x97b31c['indexOf'](_0x2ac97a['name'])<0x0;)_0x2ac97a=_0x2ac97a['parent'];return _0x2ac97a?{'from':_0x2ac97a['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x2ac97a['from'],this['pos']),'type':_0x2ac97a['type']}:null;}['matchBefore'](_0x4f20fb){let _0x27b1fd=this['state']['doc']['lineAt'](this['pos']),_0x5b5c19=Math['max'](_0x27b1fd['from'],this['pos']-0xfa),_0x3cdeeb=_0x27b1fd['text']['slice'](_0x5b5c19-_0x27b1fd['from'],this['pos']-_0x27b1fd['from']),_0x2e6385=_0x3cdeeb['search'](GR(_0x4f20fb,!0x1));return _0x2e6385<0x0?null:{'from':_0x5b5c19+_0x2e6385,'to':this['pos'],'text':_0x3cdeeb['slice'](_0x2e6385)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x57a19c,_0xdf2f55,_0xdac9e6){'abort'==_0x57a19c&&this['abortListeners']&&(this['abortListeners']['push'](_0xdf2f55),_0xdac9e6&&_0xdac9e6['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function FR(_0x57b352){let _0x14a823=Object['keys'](_0x57b352)['join'](''),_0x30ae51=/\w/['test'](_0x14a823);return _0x30ae51&&(_0x14a823=_0x14a823['replace'](/\w/g,'')),'['+(_0x30ae51?'\x5cw':'')+_0x14a823['replace'](/[^\w\s]/g,'\x5c$&')+']';}function jR(_0x12e16f){let _0x44fb33=_0x12e16f['map'](_0x4dfaef=>'string'==typeof _0x4dfaef?{'label':_0x4dfaef}:_0x4dfaef),[_0x5e9270,_0x2bc366]=_0x44fb33['every'](_0x141987=>/^\w+$/['test'](_0x141987['label']))?[/\w*$/,/\w+$/]:function(_0x467252){let _0x1fe8ac=Object['create'](null),_0x38ab9a=Object['create'](null);for(let {label:_0x4760b0}of _0x467252){_0x1fe8ac[_0x4760b0[0x0]]=!0x0;for(let _0x29ffb3=0x1;_0x29ffb3<_0x4760b0['length'];_0x29ffb3++)_0x38ab9a[_0x4760b0[_0x29ffb3]]=!0x0;}let _0x18f9b2=FR(_0x1fe8ac)+FR(_0x38ab9a)+'*$';return[new RegExp('^'+_0x18f9b2),new RegExp(_0x18f9b2)];}(_0x44fb33);return _0x459087=>{let _0x42d5a2=_0x459087['matchBefore'](_0x2bc366);return _0x42d5a2||_0x459087['explicit']?{'from':_0x42d5a2?_0x42d5a2['from']:_0x459087['pos'],'options':_0x44fb33,'validFor':_0x5e9270}:null;};}class Option{constructor(_0x479ff8,_0x53e4e7,_0x294e2f,_0x52f5d2){this['completion']=_0x479ff8,this['source']=_0x53e4e7,this['match']=_0x294e2f,this['score']=_0x52f5d2;}}function HR(_0x31e6ef){return _0x31e6ef['selection']['main']['from'];}function GR(_0x34575c,_0x7db554){var _0x21384d;let {source:_0x3d591b}=_0x34575c,_0x2d7ac4=_0x7db554&&'^'!=_0x3d591b[0x0],_0x17aeed='$'!=_0x3d591b[_0x3d591b['length']-0x1];return _0x2d7ac4||_0x17aeed?new RegExp((_0x2d7ac4?'^':'')+'(?:'+_0x3d591b+')'+(_0x17aeed?'$':''),null!==(_0x21384d=_0x34575c['flags'])&&void 0x0!==_0x21384d?_0x21384d:_0x34575c['ignoreCase']?'i':''):_0x34575c;}const ZR=Annotation['define']();function XR(_0x1556d2,_0x2ffe66,_0x5aa06f,_0x5cf258){let {main:_0x2f4e99}=_0x1556d2['selection'],_0x291702=_0x5aa06f-_0x2f4e99['from'],_0x2e118a=_0x5cf258-_0x2f4e99['from'];return{..._0x1556d2['changeByRange'](_0x514fe8=>{if(_0x514fe8!=_0x2f4e99&&_0x5aa06f!=_0x5cf258&&_0x1556d2['sliceDoc'](_0x514fe8['from']+_0x291702,_0x514fe8['from']+_0x2e118a)!=_0x1556d2['sliceDoc'](_0x5aa06f,_0x5cf258))return{'range':_0x514fe8};let _0x11e864=_0x1556d2['toText'](_0x2ffe66);return{'changes':{'from':_0x514fe8['from']+_0x291702,'to':_0x5cf258==_0x2f4e99['from']?_0x514fe8['to']:_0x514fe8['from']+_0x2e118a,'insert':_0x11e864},'range':EditorSelection['cursor'](_0x514fe8['from']+_0x291702+_0x11e864['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const qR=new WeakMap();function WR(_0x2bb2d6){if(!Array['isArray'](_0x2bb2d6))return _0x2bb2d6;let _0x12ce72=qR['get'](_0x2bb2d6);return _0x12ce72||qR['set'](_0x2bb2d6,_0x12ce72=jR(_0x2bb2d6)),_0x12ce72;}const zR=StateEffect['define'](),YR=StateEffect['define']();class FuzzyMatcher{constructor(_0x3a5ba0){this['pattern']=_0x3a5ba0,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x5e8d52=0x0;_0x5e8d52<_0x3a5ba0['length'];){let _0x4e3415=d_(_0x3a5ba0,_0x5e8d52),_0x14526c=m_(_0x4e3415);this['chars']['push'](_0x4e3415);let _0x1cda86=_0x3a5ba0['slice'](_0x5e8d52,_0x5e8d52+_0x14526c),_0x33fd11=_0x1cda86['toUpperCase']();this['folded']['push'](d_(_0x33fd11==_0x1cda86?_0x1cda86['toLowerCase']():_0x33fd11,0x0)),_0x5e8d52+=_0x14526c;}this['astral']=_0x3a5ba0['length']!=this['chars']['length'];}['ret'](_0x201200,_0x2ff0b0){return this['score']=_0x201200,this['matched']=_0x2ff0b0,this;}['match'](_0x15e72a){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x15e72a['length']<this['pattern']['length'])return null;let {chars:_0x342cc9,folded:_0x417e85,any:_0xd252eb,precise:_0x618a6,byWord:_0x8f65a8}=this;if(0x1==_0x342cc9['length']){let _0x32113e=d_(_0x15e72a,0x0),_0x3a8903=m_(_0x32113e),_0x340786=_0x3a8903==_0x15e72a['length']?0x0:-0x64;if(_0x32113e==_0x342cc9[0x0]);else{if(_0x32113e!=_0x417e85[0x0])return null;_0x340786+=-0xc8;}return this['ret'](_0x340786,[0x0,_0x3a8903]);}let _0x273458=_0x15e72a['indexOf'](this['pattern']);if(0x0==_0x273458)return this['ret'](_0x15e72a['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x10ef92=_0x342cc9['length'],_0x5116ad=0x0;if(_0x273458<0x0){for(let _0x2925f8=0x0,_0x5a18e7=Math['min'](_0x15e72a['length'],0xc8);_0x2925f8<_0x5a18e7&&_0x5116ad<_0x10ef92;){let _0xdd5007=d_(_0x15e72a,_0x2925f8);_0xdd5007!=_0x342cc9[_0x5116ad]&&_0xdd5007!=_0x417e85[_0x5116ad]||(_0xd252eb[_0x5116ad++]=_0x2925f8),_0x2925f8+=m_(_0xdd5007);}if(_0x5116ad<_0x10ef92)return null;}let _0x2e1b8a=0x0,_0xc3d03d=0x0,_0x1b4a42=!0x1,_0x35bf83=0x0,_0x3bd61e=-0x1,_0x10f717=-0x1,_0x5e6d74=/[a-z]/['test'](_0x15e72a),_0x6b6861=!0x0;for(let _0x3ef3a8=0x0,_0x5390d7=Math['min'](_0x15e72a['length'],0xc8),_0x1c0803=0x0;_0x3ef3a8<_0x5390d7&&_0xc3d03d<_0x10ef92;){let _0x7013fc=d_(_0x15e72a,_0x3ef3a8);_0x273458<0x0&&(_0x2e1b8a<_0x10ef92&&_0x7013fc==_0x342cc9[_0x2e1b8a]&&(_0x618a6[_0x2e1b8a++]=_0x3ef3a8),_0x35bf83<_0x10ef92&&(_0x7013fc==_0x342cc9[_0x35bf83]||_0x7013fc==_0x417e85[_0x35bf83]?(0x0==_0x35bf83&&(_0x3bd61e=_0x3ef3a8),_0x10f717=_0x3ef3a8+0x1,_0x35bf83++):_0x35bf83=0x0));let _0x148ac2,_0x54ae4=_0x7013fc<0xff?_0x7013fc>=0x30&&_0x7013fc<=0x39||_0x7013fc>=0x61&&_0x7013fc<=0x7a?0x2:_0x7013fc>=0x41&&_0x7013fc<=0x5a?0x1:0x0:(_0x148ac2=f_(_0x7013fc))!=_0x148ac2['toLowerCase']()?0x1:_0x148ac2!=_0x148ac2['toUpperCase']()?0x2:0x0;(!_0x3ef3a8||0x1==_0x54ae4&&_0x5e6d74||0x0==_0x1c0803&&0x0!=_0x54ae4)&&(_0x342cc9[_0xc3d03d]==_0x7013fc||_0x417e85[_0xc3d03d]==_0x7013fc&&(_0x1b4a42=!0x0)?_0x8f65a8[_0xc3d03d++]=_0x3ef3a8:_0x8f65a8['length']&&(_0x6b6861=!0x1)),_0x1c0803=_0x54ae4,_0x3ef3a8+=m_(_0x7013fc);}return _0xc3d03d==_0x10ef92&&0x0==_0x8f65a8[0x0]&&_0x6b6861?this['result']((_0x1b4a42?-0xc8:0x0)-0x64,_0x8f65a8,_0x15e72a):_0x35bf83==_0x10ef92&&0x0==_0x3bd61e?this['ret'](-0xc8-_0x15e72a['length']+(_0x10f717==_0x15e72a['length']?0x0:-0x64),[0x0,_0x10f717]):_0x273458>-0x1?this['ret'](-0x2bc-_0x15e72a['length'],[_0x273458,_0x273458+this['pattern']['length']]):_0x35bf83==_0x10ef92?this['ret'](-0x384-_0x15e72a['length'],[_0x3bd61e,_0x10f717]):_0xc3d03d==_0x10ef92?this['result']((_0x1b4a42?-0xc8:0x0)-0x64-0x2bc+(_0x6b6861?0x0:-0x44c),_0x8f65a8,_0x15e72a):0x2==_0x342cc9['length']?null:this['result']((_0xd252eb[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0xd252eb,_0x15e72a);}['result'](_0x52581d,_0x4edceb,_0x1431b6){let _0x5b4675=[],_0xcb40eb=0x0;for(let _0x3f49e5 of _0x4edceb){let _0x39006c=_0x3f49e5+(this['astral']?m_(d_(_0x1431b6,_0x3f49e5)):0x1);_0xcb40eb&&_0x5b4675[_0xcb40eb-0x1]==_0x3f49e5?_0x5b4675[_0xcb40eb-0x1]=_0x39006c:(_0x5b4675[_0xcb40eb++]=_0x3f49e5,_0x5b4675[_0xcb40eb++]=_0x39006c);}return this['ret'](_0x52581d-_0x1431b6['length'],_0x5b4675);}}class StrictMatcher{constructor(_0x2adfec){this['pattern']=_0x2adfec,this['matched']=[],this['score']=0x0,this['folded']=_0x2adfec['toLowerCase']();}['match'](_0x34ff42){if(_0x34ff42['length']<this['pattern']['length'])return null;let _0x3f83bb=_0x34ff42['slice'](0x0,this['pattern']['length']),_0x4303b6=_0x3f83bb==this['pattern']?0x0:_0x3f83bb['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x4303b6?null:(this['matched']=[0x0,_0x3f83bb['length']],this['score']=_0x4303b6+(_0x34ff42['length']==this['pattern']['length']?0x0:-0x64),this);}}const KR=Facet['define']({'combine':_0x5a2d61=>tE(_0x5a2d61,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':tP,'filterStrict':!0x1,'compareCompletions':(_0x35011e,_0x3061d5)=>_0x35011e['label']['localeCompare'](_0x3061d5['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x58b312,_0xde4700)=>_0x58b312&&_0xde4700,'closeOnBlur':(_0x21461e,_0x3a8889)=>_0x21461e&&_0x3a8889,'icons':(_0x10fa60,_0x312bdc)=>_0x10fa60&&_0x312bdc,'tooltipClass':(_0x16852f,_0x653010)=>_0x546cd6=>JR(_0x16852f(_0x546cd6),_0x653010(_0x546cd6)),'optionClass':(_0xdf7898,_0x133c93)=>_0x570c88=>JR(_0xdf7898(_0x570c88),_0x133c93(_0x570c88)),'addToOptions':(_0x1f8d47,_0x120dcd)=>_0x1f8d47['concat'](_0x120dcd),'filterStrict':(_0x253dc8,_0x3772d0)=>_0x253dc8||_0x3772d0})});function JR(_0x38ce29,_0x426bec){return _0x38ce29?_0x426bec?_0x38ce29+'\x20'+_0x426bec:_0x38ce29:_0x426bec;}function tP(_0xe320d,_0x367109,_0x804c33,_0x175e84,_0x38f1f9,_0x3e2465){let _0x436207,_0x52b704,_0x356f8c=_0xe320d['textDirection']==wT['RTL'],_0x5ad542=_0x356f8c,_0x78377d=!0x1,_0x5d6eeb='top',_0x5431ca=_0x367109['left']-_0x38f1f9['left'],_0x71968d=_0x38f1f9['right']-_0x367109['right'],_0x401490=_0x175e84['right']-_0x175e84['left'],_0x130dc8=_0x175e84['bottom']-_0x175e84['top'];if(_0x5ad542&&_0x5431ca<Math['min'](_0x401490,_0x71968d)?_0x5ad542=!0x1:!_0x5ad542&&_0x71968d<Math['min'](_0x401490,_0x5431ca)&&(_0x5ad542=!0x0),_0x401490<=(_0x5ad542?_0x5431ca:_0x71968d))_0x436207=Math['max'](_0x38f1f9['top'],Math['min'](_0x804c33['top'],_0x38f1f9['bottom']-_0x130dc8))-_0x367109['top'],_0x52b704=Math['min'](0x190,_0x5ad542?_0x5431ca:_0x71968d);else{_0x78377d=!0x0,_0x52b704=Math['min'](0x190,(_0x356f8c?_0x367109['right']:_0x38f1f9['right']-_0x367109['left'])-0x1e);let _0x325b09=_0x38f1f9['bottom']-_0x367109['bottom'];_0x325b09>=_0x130dc8||_0x325b09>_0x367109['top']?_0x436207=_0x804c33['bottom']-_0x367109['top']:(_0x5d6eeb='bottom',_0x436207=_0x367109['bottom']-_0x804c33['top']);}return{'style':_0x5d6eeb+':\x20'+_0x436207/((_0x367109['bottom']-_0x367109['top'])/_0x3e2465['offsetHeight'])+'px;\x20max-width:\x20'+_0x52b704/((_0x367109['right']-_0x367109['left'])/_0x3e2465['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x78377d?_0x356f8c?'left-narrow':'right-narrow':_0x5ad542?'left':'right')};}function eP(_0x4c5977,_0x1a57aa,_0x3a6932){if(_0x4c5977<=_0x3a6932)return{'from':0x0,'to':_0x4c5977};if(_0x1a57aa<0x0&&(_0x1a57aa=0x0),_0x1a57aa<=_0x4c5977>>0x1){let _0x3d9b40=Math['floor'](_0x1a57aa/_0x3a6932);return{'from':_0x3d9b40*_0x3a6932,'to':(_0x3d9b40+0x1)*_0x3a6932};}let _0xa5241c=Math['floor']((_0x4c5977-_0x1a57aa)/_0x3a6932);return{'from':_0x4c5977-(_0xa5241c+0x1)*_0x3a6932,'to':_0x4c5977-_0xa5241c*_0x3a6932};}class CompletionTooltip{constructor(_0x398a14,_0x260809,_0x2accbf){this['view']=_0x398a14,this['stateField']=_0x260809,this['applyCompletion']=_0x2accbf,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x7b6909=>this['placeInfo'](_0x7b6909),'key':this},this['space']=null,this['currentClass']='';let _0x1dc555=_0x398a14['state']['field'](_0x260809),{options:_0xb68bb,selected:_0x1273a4}=_0x1dc555['open'],_0x2b7e40=_0x398a14['state']['facet'](KR);this['optionContent']=function(_0x18cb6a){let _0x5247a8=_0x18cb6a['addToOptions']['slice']();return _0x18cb6a['icons']&&_0x5247a8['push']({'render'(_0x518d0b){let _0x307f7f=document['createElement']('div');return _0x307f7f['classList']['add']('cm-completionIcon'),_0x518d0b['type']&&_0x307f7f['classList']['add'](..._0x518d0b['type']['split'](/\s+/g)['map'](_0x5322af=>'cm-completionIcon-'+_0x5322af)),_0x307f7f['setAttribute']('aria-hidden','true'),_0x307f7f;},'position':0x14}),_0x5247a8['push']({'render'(_0x34cb8a,_0x1088ab,_0x2c4c59,_0xa89cb6){let _0x351981=document['createElement']('span');_0x351981['className']='cm-completionLabel';let _0x443fb5=_0x34cb8a['displayLabel']||_0x34cb8a['label'],_0x4f9bc3=0x0;for(let _0x342e40=0x0;_0x342e40<_0xa89cb6['length'];){let _0x4602ad=_0xa89cb6[_0x342e40++],_0x1c115f=_0xa89cb6[_0x342e40++];_0x4602ad>_0x4f9bc3&&_0x351981['appendChild'](document['createTextNode'](_0x443fb5['slice'](_0x4f9bc3,_0x4602ad)));let _0x472966=_0x351981['appendChild'](document['createElement']('span'));_0x472966['appendChild'](document['createTextNode'](_0x443fb5['slice'](_0x4602ad,_0x1c115f))),_0x472966['className']='cm-completionMatchedText',_0x4f9bc3=_0x1c115f;}return _0x4f9bc3<_0x443fb5['length']&&_0x351981['appendChild'](document['createTextNode'](_0x443fb5['slice'](_0x4f9bc3))),_0x351981;},'position':0x32},{'render'(_0x5e0073){if(!_0x5e0073['detail'])return null;let _0x34c0ee=document['createElement']('span');return _0x34c0ee['className']='cm-completionDetail',_0x34c0ee['textContent']=_0x5e0073['detail'],_0x34c0ee;},'position':0x50}),_0x5247a8['sort']((_0x103b3b,_0x156675)=>_0x103b3b['position']-_0x156675['position'])['map'](_0x442664=>_0x442664['render']);}(_0x2b7e40),this['optionClass']=_0x2b7e40['optionClass'],this['tooltipClass']=_0x2b7e40['tooltipClass'],this['range']=eP(_0xb68bb['length'],_0x1273a4,_0x2b7e40['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x398a14['state']),this['dom']['addEventListener']('mousedown',_0x591fdb=>{let {options:_0x4c63a2}=_0x398a14['state']['field'](_0x260809)['open'];for(let _0x2d1e4d,_0x4d09c6=_0x591fdb['target'];_0x4d09c6&&_0x4d09c6!=this['dom'];_0x4d09c6=_0x4d09c6['parentNode'])if('LI'==_0x4d09c6['nodeName']&&(_0x2d1e4d=/-(\d+)$/['exec'](_0x4d09c6['id']))&&+_0x2d1e4d[0x1]<_0x4c63a2['length'])return this['applyCompletion'](_0x398a14,_0x4c63a2[+_0x2d1e4d[0x1]]),void _0x591fdb['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x3ffe5a=>{let _0x1e8d63=_0x398a14['state']['field'](this['stateField'],!0x1);_0x1e8d63&&_0x1e8d63['tooltip']&&_0x398a14['state']['facet'](KR)['closeOnBlur']&&_0x3ffe5a['relatedTarget']!=_0x398a14['contentDOM']&&_0x398a14['dispatch']({'effects':YR['of'](null)});}),this['showOptions'](_0xb68bb,_0x1dc555['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x4bbd29,_0x5c19a0){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x4bbd29,_0x5c19a0,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x4f4ec7){var _0x87109a;let _0x43a61d=_0x4f4ec7['state']['field'](this['stateField']),_0x4408fb=_0x4f4ec7['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x4f4ec7['state']),_0x43a61d!=_0x4408fb){let {options:_0x4124cd,selected:_0x3bcd6f,disabled:_0x18aff4}=_0x43a61d['open'];_0x4408fb['open']&&_0x4408fb['open']['options']==_0x4124cd||(this['range']=eP(_0x4124cd['length'],_0x3bcd6f,_0x4f4ec7['state']['facet'](KR)['maxRenderedOptions']),this['showOptions'](_0x4124cd,_0x43a61d['id'])),this['updateSel'](),_0x18aff4!=(null===(_0x87109a=_0x4408fb['open'])||void 0x0===_0x87109a?void 0x0:_0x87109a['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x18aff4);}}['updateTooltipClass'](_0x553232){let _0x241fda=this['tooltipClass'](_0x553232);if(_0x241fda!=this['currentClass']){for(let _0x3620ac of this['currentClass']['split']('\x20'))_0x3620ac&&this['dom']['classList']['remove'](_0x3620ac);for(let _0x443e69 of _0x241fda['split']('\x20'))_0x443e69&&this['dom']['classList']['add'](_0x443e69);this['currentClass']=_0x241fda;}}['positioned'](_0x2d04c2){this['space']=_0x2d04c2,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0xab23ac=this['view']['state']['field'](this['stateField']),_0x26393f=_0xab23ac['open'];(_0x26393f['selected']>-0x1&&_0x26393f['selected']<this['range']['from']||_0x26393f['selected']>=this['range']['to'])&&(this['range']=eP(_0x26393f['options']['length'],_0x26393f['selected'],this['view']['state']['facet'](KR)['maxRenderedOptions']),this['showOptions'](_0x26393f['options'],_0xab23ac['id']));let _0x2d0060=this['updateSelectedOption'](_0x26393f['selected']);if(_0x2d0060){this['destroyInfo']();let {completion:_0x269416}=_0x26393f['options'][_0x26393f['selected']],{info:_0x16fb5c}=_0x269416;if(!_0x16fb5c)return;let _0x31a0c2='string'==typeof _0x16fb5c?document['createTextNode'](_0x16fb5c):_0x16fb5c(_0x269416);if(!_0x31a0c2)return;'then'in _0x31a0c2?_0x31a0c2['then'](_0x51ff75=>{_0x51ff75&&this['view']['state']['field'](this['stateField'],!0x1)==_0xab23ac&&this['addInfoPane'](_0x51ff75,_0x269416);})['catch'](_0x3c6673=>YT(this['view']['state'],_0x3c6673,'completion\x20info')):(this['addInfoPane'](_0x31a0c2,_0x269416),_0x2d0060['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x2e76a4,_0x324e71){this['destroyInfo']();let _0x14d171=this['info']=document['createElement']('div');if(_0x14d171['className']='cm-tooltip\x20cm-completionInfo',_0x14d171['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x2e76a4['nodeType'])_0x14d171['appendChild'](_0x2e76a4),this['infoDestroy']=null;else{let {dom:_0x170703,destroy:_0x1d7425}=_0x2e76a4;_0x14d171['appendChild'](_0x170703),this['infoDestroy']=_0x1d7425||null;}this['dom']['appendChild'](_0x14d171),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x25cb40){let _0xa2704=null;for(let _0x41ed30=this['list']['firstChild'],_0x2cdafa=this['range']['from'];_0x41ed30;_0x41ed30=_0x41ed30['nextSibling'],_0x2cdafa++)'LI'==_0x41ed30['nodeName']&&_0x41ed30['id']?_0x2cdafa==_0x25cb40?_0x41ed30['hasAttribute']('aria-selected')||(_0x41ed30['setAttribute']('aria-selected','true'),_0xa2704=_0x41ed30):_0x41ed30['hasAttribute']('aria-selected')&&(_0x41ed30['removeAttribute']('aria-selected'),_0x41ed30['removeAttribute']('aria-describedby')):_0x2cdafa--;return _0xa2704&&function(_0x2795cf,_0x3b567d){let _0x29da2c=_0x2795cf['getBoundingClientRect'](),_0x287d14=_0x3b567d['getBoundingClientRect'](),_0x14ad26=_0x29da2c['height']/_0x2795cf['offsetHeight'];_0x287d14['top']<_0x29da2c['top']?_0x2795cf['scrollTop']-=(_0x29da2c['top']-_0x287d14['top'])/_0x14ad26:_0x287d14['bottom']>_0x29da2c['bottom']&&(_0x2795cf['scrollTop']+=(_0x287d14['bottom']-_0x29da2c['bottom'])/_0x14ad26);}(this['list'],_0xa2704),_0xa2704;}['measureInfo'](){let _0x18fe87=this['dom']['querySelector']('[aria-selected]');if(!_0x18fe87||!this['info'])return null;let _0x3391fc=this['dom']['getBoundingClientRect'](),_0x31dc1f=this['info']['getBoundingClientRect'](),_0x540498=_0x18fe87['getBoundingClientRect'](),_0x4cbd42=this['space'];if(!_0x4cbd42){let _0x197f53=this['dom']['ownerDocument']['documentElement'];_0x4cbd42={'left':0x0,'top':0x0,'right':_0x197f53['clientWidth'],'bottom':_0x197f53['clientHeight']};}return _0x540498['top']>Math['min'](_0x4cbd42['bottom'],_0x3391fc['bottom'])-0xa||_0x540498['bottom']<Math['max'](_0x4cbd42['top'],_0x3391fc['top'])+0xa?null:this['view']['state']['facet'](KR)['positionInfo'](this['view'],_0x3391fc,_0x540498,_0x31dc1f,_0x4cbd42,this['dom']);}['placeInfo'](_0x4734f6){this['info']&&(_0x4734f6?(_0x4734f6['style']&&(this['info']['style']['cssText']=_0x4734f6['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x4734f6['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x28aa4e,_0x481d0f,_0x28c2a0){const _0x12ab96=document['createElement']('ul');_0x12ab96['id']=_0x481d0f,_0x12ab96['setAttribute']('role','listbox'),_0x12ab96['setAttribute']('aria-expanded','true'),_0x12ab96['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x12ab96['addEventListener']('mousedown',_0x17ae0a=>{_0x17ae0a['target']==_0x12ab96&&_0x17ae0a['preventDefault']();});let _0x43f9c9=null;for(let _0x39832e=_0x28c2a0['from'];_0x39832e<_0x28c2a0['to'];_0x39832e++){let {completion:_0x2a9ce0,match:_0x5ca492}=_0x28aa4e[_0x39832e],{section:_0xce8eb5}=_0x2a9ce0;if(_0xce8eb5){let _0x4e0ae7='string'==typeof _0xce8eb5?_0xce8eb5:_0xce8eb5['name'];if(_0x4e0ae7!=_0x43f9c9&&(_0x39832e>_0x28c2a0['from']||0x0==_0x28c2a0['from'])){if(_0x43f9c9=_0x4e0ae7,'string'!=typeof _0xce8eb5&&_0xce8eb5['header'])_0x12ab96['appendChild'](_0xce8eb5['header'](_0xce8eb5));else _0x12ab96['appendChild'](document['createElement']('completion-section'))['textContent']=_0x4e0ae7;}}const _0x11976e=_0x12ab96['appendChild'](document['createElement']('li'));_0x11976e['id']=_0x481d0f+'-'+_0x39832e,_0x11976e['setAttribute']('role','option');let _0xf99d0f=this['optionClass'](_0x2a9ce0);_0xf99d0f&&(_0x11976e['className']=_0xf99d0f);for(let _0x5c6e3b of this['optionContent']){let _0x41b082=_0x5c6e3b(_0x2a9ce0,this['view']['state'],this['view'],_0x5ca492);_0x41b082&&_0x11976e['appendChild'](_0x41b082);}}return _0x28c2a0['from']&&_0x12ab96['classList']['add']('cm-completionListIncompleteTop'),_0x28c2a0['to']<_0x28aa4e['length']&&_0x12ab96['classList']['add']('cm-completionListIncompleteBottom'),_0x12ab96;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function iP(_0x370591,_0x558871){return _0x5d7695=>new CompletionTooltip(_0x5d7695,_0x370591,_0x558871);}function sP(_0x267ea5){return 0x64*(_0x267ea5['boost']||0x0)+(_0x267ea5['apply']?0xa:0x0)+(_0x267ea5['info']?0x5:0x0)+(_0x267ea5['type']?0x1:0x0);}class CompletionDialog{constructor(_0x1f4334,_0x25e3c1,_0x144b68,_0x37e125,_0x3f8d84,_0x152f57){this['options']=_0x1f4334,this['attrs']=_0x25e3c1,this['tooltip']=_0x144b68,this['timestamp']=_0x37e125,this['selected']=_0x3f8d84,this['disabled']=_0x152f57;}['setSelected'](_0x5f3d2d,_0x37b8e3){return _0x5f3d2d==this['selected']||_0x5f3d2d>=this['options']['length']?this:new CompletionDialog(this['options'],oP(_0x37b8e3,_0x5f3d2d),this['tooltip'],this['timestamp'],_0x5f3d2d,this['disabled']);}static['build'](_0x8f7410,_0x48ef4,_0x40ed4b,_0xff254a,_0x1b919d,_0x432c7a){if(_0xff254a&&!_0x432c7a&&_0x8f7410['some'](_0xd5061b=>_0xd5061b['isPending']))return _0xff254a['setDisabled']();let _0x1e9da4=function(_0x4b7d03,_0x1fa668){let _0x31f4f0=[],_0x3723ef=null,_0x5e3114=null,_0x33132a=_0x45cb52=>{_0x31f4f0['push'](_0x45cb52);let {section:_0x39275e}=_0x45cb52['completion'];if(_0x39275e){_0x3723ef||(_0x3723ef=[]);let _0x1b2040='string'==typeof _0x39275e?_0x39275e:_0x39275e['name'];_0x3723ef['some'](_0xf49279=>_0xf49279['name']==_0x1b2040)||_0x3723ef['push']('string'==typeof _0x39275e?{'name':_0x1b2040}:_0x39275e);}},_0x5e2828=_0x1fa668['facet'](KR);for(let _0x3ca026 of _0x4b7d03)if(_0x3ca026['hasResult']()){let _0x17afb2=_0x3ca026['result']['getMatch'];if(!0x1===_0x3ca026['result']['filter']){for(let _0x3ae6e1 of _0x3ca026['result']['options'])_0x33132a(new Option(_0x3ae6e1,_0x3ca026['source'],_0x17afb2?_0x17afb2(_0x3ae6e1):[],0x3b9aca00-_0x31f4f0['length']));}else{let _0x53fc3c,_0x29f98e=_0x1fa668['sliceDoc'](_0x3ca026['from'],_0x3ca026['to']),_0x180fd5=_0x5e2828['filterStrict']?new StrictMatcher(_0x29f98e):new FuzzyMatcher(_0x29f98e);for(let _0x27d4cd of _0x3ca026['result']['options'])if(_0x53fc3c=_0x180fd5['match'](_0x27d4cd['label'])){let _0x1884b8=_0x27d4cd['displayLabel']?_0x17afb2?_0x17afb2(_0x27d4cd,_0x53fc3c['matched']):[]:_0x53fc3c['matched'],_0x55fd3f=_0x53fc3c['score']+(_0x27d4cd['boost']||0x0);if(_0x33132a(new Option(_0x27d4cd,_0x3ca026['source'],_0x1884b8,_0x55fd3f)),'object'==typeof _0x27d4cd['section']&&'dynamic'===_0x27d4cd['section']['rank']){let {name:_0x370783}=_0x27d4cd['section'];_0x5e3114||(_0x5e3114=Object['create'](null)),_0x5e3114[_0x370783]=Math['max'](_0x55fd3f,_0x5e3114[_0x370783]||-0x3b9aca00);}}}}if(_0x3723ef){let _0x30d170=Object['create'](null),_0x57c9f1=0x0,_0x419733=(_0x52b978,_0x32eb73)=>('dynamic'===_0x52b978['rank']&&'dynamic'===_0x32eb73['rank']?_0x5e3114[_0x32eb73['name']]-_0x5e3114[_0x52b978['name']]:0x0)||('number'==typeof _0x52b978['rank']?_0x52b978['rank']:0x3b9aca00)-('number'==typeof _0x32eb73['rank']?_0x32eb73['rank']:0x3b9aca00)||(_0x52b978['name']<_0x32eb73['name']?-0x1:0x1);for(let _0x47ac35 of _0x3723ef['sort'](_0x419733))_0x57c9f1-=0x186a0,_0x30d170[_0x47ac35['name']]=_0x57c9f1;for(let _0xb75a58 of _0x31f4f0){let {section:_0x3d1216}=_0xb75a58['completion'];_0x3d1216&&(_0xb75a58['score']+=_0x30d170['string'==typeof _0x3d1216?_0x3d1216:_0x3d1216['name']]);}}let _0x27cd94=[],_0x1f2e4f=null,_0x4647ff=_0x5e2828['compareCompletions'];for(let _0x1d9d06 of _0x31f4f0['sort']((_0x32911a,_0x17919b)=>_0x17919b['score']-_0x32911a['score']||_0x4647ff(_0x32911a['completion'],_0x17919b['completion']))){let _0x43b105=_0x1d9d06['completion'];!_0x1f2e4f||_0x1f2e4f['label']!=_0x43b105['label']||_0x1f2e4f['detail']!=_0x43b105['detail']||null!=_0x1f2e4f['type']&&null!=_0x43b105['type']&&_0x1f2e4f['type']!=_0x43b105['type']||_0x1f2e4f['apply']!=_0x43b105['apply']||_0x1f2e4f['boost']!=_0x43b105['boost']?_0x27cd94['push'](_0x1d9d06):sP(_0x1d9d06['completion'])>sP(_0x1f2e4f)&&(_0x27cd94[_0x27cd94['length']-0x1]=_0x1d9d06),_0x1f2e4f=_0x1d9d06['completion'];}return _0x27cd94;}(_0x8f7410,_0x48ef4);if(!_0x1e9da4['length'])return _0xff254a&&_0x8f7410['some'](_0x316706=>_0x316706['isPending'])?_0xff254a['setDisabled']():null;let _0x240bee=_0x48ef4['facet'](KR)['selectOnOpen']?0x0:-0x1;if(_0xff254a&&_0xff254a['selected']!=_0x240bee&&-0x1!=_0xff254a['selected']){let _0x5cd128=_0xff254a['options'][_0xff254a['selected']]['completion'];for(let _0x69d6e8=0x0;_0x69d6e8<_0x1e9da4['length'];_0x69d6e8++)if(_0x1e9da4[_0x69d6e8]['completion']==_0x5cd128){_0x240bee=_0x69d6e8;break;}}return new CompletionDialog(_0x1e9da4,oP(_0x40ed4b,_0x240bee),{'pos':_0x8f7410['reduce']((_0xd7c61,_0x486d2f)=>_0x486d2f['hasResult']()?Math['min'](_0xd7c61,_0x486d2f['from']):_0xd7c61,0x5f5e100),'create':fP,'above':_0x1b919d['aboveCursor']},_0xff254a?_0xff254a['timestamp']:Date['now'](),_0x240bee,!0x1);}['map'](_0x2cfafd){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x2cfafd['mapPos'](this['tooltip']['pos'])},this['timestamp'],this['selected'],this['disabled']);}['setDisabled'](){return new CompletionDialog(this['options'],this['attrs'],this['tooltip'],this['timestamp'],this['selected'],!0x0);}}class CompletionState{constructor(_0x15f49f,_0x36935f,_0xeec4b3){this['active']=_0x15f49f,this['id']=_0x36935f,this['open']=_0xeec4b3;}static['start'](){return new CompletionState(aP,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0xdf0d0){let {state:_0x28ebd7}=_0xdf0d0,_0x468e2e=_0x28ebd7['facet'](KR),_0x2b3180=(_0x468e2e['override']||_0x28ebd7['languageDataAt']('autocomplete',HR(_0x28ebd7))['map'](WR))['map'](_0x3a3f2e=>{let _0x1ae19d=this['active']['find'](_0x4da44a=>_0x4da44a['source']==_0x3a3f2e)||new ActiveSource(_0x3a3f2e,this['active']['some'](_0xd8c8cf=>0x0!=_0xd8c8cf['state'])?0x1:0x0);return _0x1ae19d['update'](_0xdf0d0,_0x468e2e);});_0x2b3180['length']==this['active']['length']&&_0x2b3180['every']((_0x332ff7,_0x3daedd)=>_0x332ff7==this['active'][_0x3daedd])&&(_0x2b3180=this['active']);let _0x340946=this['open'],_0xaafde1=_0xdf0d0['effects']['some'](_0x29ef2a=>_0x29ef2a['is'](lP));_0x340946&&_0xdf0d0['docChanged']&&(_0x340946=_0x340946['map'](_0xdf0d0['changes'])),_0xdf0d0['selection']||_0x2b3180['some'](_0x1e5c28=>_0x1e5c28['hasResult']()&&_0xdf0d0['changes']['touchesRange'](_0x1e5c28['from'],_0x1e5c28['to']))||!function(_0x4297bf,_0x12fb15){if(_0x4297bf==_0x12fb15)return!0x0;for(let _0x570ea4=0x0,_0x566e48=0x0;;){for(;_0x570ea4<_0x4297bf['length']&&!_0x4297bf[_0x570ea4]['hasResult']();)_0x570ea4++;for(;_0x566e48<_0x12fb15['length']&&!_0x12fb15[_0x566e48]['hasResult']();)_0x566e48++;let _0x10f6e7=_0x570ea4==_0x4297bf['length'],_0xc22f49=_0x566e48==_0x12fb15['length'];if(_0x10f6e7||_0xc22f49)return _0x10f6e7==_0xc22f49;if(_0x4297bf[_0x570ea4++]['result']!=_0x12fb15[_0x566e48++]['result'])return!0x1;}}(_0x2b3180,this['active'])||_0xaafde1?_0x340946=CompletionDialog['build'](_0x2b3180,_0x28ebd7,this['id'],_0x340946,_0x468e2e,_0xaafde1):_0x340946&&_0x340946['disabled']&&!_0x2b3180['some'](_0x2211f8=>_0x2211f8['isPending'])&&(_0x340946=null),!_0x340946&&_0x2b3180['every'](_0x2649fd=>!_0x2649fd['isPending'])&&_0x2b3180['some'](_0x2d6863=>_0x2d6863['hasResult']())&&(_0x2b3180=_0x2b3180['map'](_0x525fde=>_0x525fde['hasResult']()?new ActiveSource(_0x525fde['source'],0x0):_0x525fde));for(let _0x31c4d1 of _0xdf0d0['effects'])_0x31c4d1['is'](hP)&&(_0x340946=_0x340946&&_0x340946['setSelected'](_0x31c4d1['value'],this['id']));return _0x2b3180==this['active']&&_0x340946==this['open']?this:new CompletionState(_0x2b3180,this['id'],_0x340946);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?nP:rP;}}const nP={'aria-autocomplete':'list'},rP={};function oP(_0x400035,_0x4938ab){let _0x3a4ed1={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x400035};return _0x4938ab>-0x1&&(_0x3a4ed1['aria-activedescendant']=_0x400035+'-'+_0x4938ab),_0x3a4ed1;}const aP=[];function cP(_0x420e10,_0x2c46f3){if(_0x420e10['isUserEvent']('input.complete')){let _0x262e09=_0x420e10['annotation'](ZR);if(_0x262e09&&_0x2c46f3['activateOnCompletion'](_0x262e09))return 0xc;}let _0x159db6=_0x420e10['isUserEvent']('input.type');return _0x159db6&&_0x2c46f3['activateOnTyping']?0x5:_0x159db6?0x1:_0x420e10['isUserEvent']('delete.backward')?0x2:_0x420e10['selection']?0x8:_0x420e10['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x20b37d,_0x5770d6,_0x49bed6=!0x1){this['source']=_0x20b37d,this['state']=_0x5770d6,this['explicit']=_0x49bed6;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x176ec5,_0xdeb960){let _0x49360a=cP(_0x176ec5,_0xdeb960),_0x3ecee0=this;(0x8&_0x49360a||0x10&_0x49360a&&this['touches'](_0x176ec5))&&(_0x3ecee0=new ActiveSource(_0x3ecee0['source'],0x0)),0x4&_0x49360a&&0x0==_0x3ecee0['state']&&(_0x3ecee0=new ActiveSource(this['source'],0x1)),_0x3ecee0=_0x3ecee0['updateFor'](_0x176ec5,_0x49360a);for(let _0x29452e of _0x176ec5['effects'])if(_0x29452e['is'](zR))_0x3ecee0=new ActiveSource(_0x3ecee0['source'],0x1,_0x29452e['value']);else{if(_0x29452e['is'](YR))_0x3ecee0=new ActiveSource(_0x3ecee0['source'],0x0);else{if(_0x29452e['is'](lP)){for(let _0x58b70a of _0x29452e['value'])_0x58b70a['source']==_0x3ecee0['source']&&(_0x3ecee0=_0x58b70a);}}}return _0x3ecee0;}['updateFor'](_0x278dd0,_0x5b8c42){return this['map'](_0x278dd0['changes']);}['map'](_0x2aff25){return this;}['touches'](_0x32ff56){return _0x32ff56['changes']['touchesRange'](HR(_0x32ff56['state']));}}class ActiveResult extends ActiveSource{constructor(_0x33d282,_0x2b19e9,_0x348aa1,_0x138370,_0x49a77f,_0xfe3b2f){super(_0x33d282,0x3,_0x2b19e9),this['limit']=_0x348aa1,this['result']=_0x138370,this['from']=_0x49a77f,this['to']=_0xfe3b2f;}['hasResult'](){return!0x0;}['updateFor'](_0x526a69,_0x3ee233){var _0x4b85e8;if(!(0x3&_0x3ee233))return this['map'](_0x526a69['changes']);let _0xbe353a=this['result'];_0xbe353a['map']&&!_0x526a69['changes']['empty']&&(_0xbe353a=_0xbe353a['map'](_0xbe353a,_0x526a69['changes']));let _0x1edbab=_0x526a69['changes']['mapPos'](this['from']),_0x47d142=_0x526a69['changes']['mapPos'](this['to'],0x1),_0x32c9d3=HR(_0x526a69['state']);if(_0x32c9d3>_0x47d142||!_0xbe353a||0x2&_0x3ee233&&(HR(_0x526a69['startState'])==this['from']||_0x32c9d3<this['limit']))return new ActiveSource(this['source'],0x4&_0x3ee233?0x1:0x0);let _0x37d690=_0x526a69['changes']['mapPos'](this['limit']);return function(_0x5b6bbe,_0x143981,_0x356a23,_0x435c29){if(!_0x5b6bbe)return!0x1;let _0x2d7654=_0x143981['sliceDoc'](_0x356a23,_0x435c29);return'function'==typeof _0x5b6bbe?_0x5b6bbe(_0x2d7654,_0x356a23,_0x435c29,_0x143981):GR(_0x5b6bbe,!0x0)['test'](_0x2d7654);}(_0xbe353a['validFor'],_0x526a69['state'],_0x1edbab,_0x47d142)?new ActiveResult(this['source'],this['explicit'],_0x37d690,_0xbe353a,_0x1edbab,_0x47d142):_0xbe353a['update']&&(_0xbe353a=_0xbe353a['update'](_0xbe353a,_0x1edbab,_0x47d142,new CompletionContext(_0x526a69['state'],_0x32c9d3,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x37d690,_0xbe353a,_0xbe353a['from'],null!==(_0x4b85e8=_0xbe353a['to'])&&void 0x0!==_0x4b85e8?_0x4b85e8:HR(_0x526a69['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x33f8fb){if(_0x33f8fb['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x33f8fb):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x33f8fb['mapPos'](this['limit']),this['result'],_0x33f8fb['mapPos'](this['from']),_0x33f8fb['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x2e8b0f){return _0x2e8b0f['changes']['touchesRange'](this['from'],this['to']);}}const lP=StateEffect['define']({'map':(_0x2e95ac,_0x12366e)=>_0x2e95ac['map'](_0x4f3ab2=>_0x4f3ab2['map'](_0x12366e))}),hP=StateEffect['define'](),uP=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x19a11d,_0x214e25)=>_0x19a11d['update'](_0x214e25),'provide':_0x461299=>[kS['from'](_0x461299,_0x4dca65=>_0x4dca65['tooltip']),EditorView['contentAttributes']['from'](_0x461299,_0x245d1e=>_0x245d1e['attrs'])]});function dP(_0x55275b,_0x3bd297){const _0x50d0c5=_0x3bd297['completion']['apply']||_0x3bd297['completion']['label'];let _0x271ad0=_0x55275b['state']['field'](uP)['active']['find'](_0x54edbb=>_0x54edbb['source']==_0x3bd297['source']);return _0x271ad0 instanceof ActiveResult&&('string'==typeof _0x50d0c5?_0x55275b['dispatch']({...XR(_0x55275b['state'],_0x50d0c5,_0x271ad0['from'],_0x271ad0['to']),'annotations':ZR['of'](_0x3bd297['completion'])}):_0x50d0c5(_0x55275b,_0x3bd297['completion'],_0x271ad0['from'],_0x271ad0['to']),!0x0);}const fP=iP(uP,dP);function mP(_0x4a1ba9,_0x124264='option'){return _0x419aaf=>{let _0x13376b=_0x419aaf['state']['field'](uP,!0x1);if(!_0x13376b||!_0x13376b['open']||_0x13376b['open']['disabled']||Date['now']()-_0x13376b['open']['timestamp']<_0x419aaf['state']['facet'](KR)['interactionDelay'])return!0x1;let _0x43317e,_0x28d017=0x1;'page'==_0x124264&&(_0x43317e=xS(_0x419aaf,_0x13376b['open']['tooltip']))&&(_0x28d017=Math['max'](0x2,Math['floor'](_0x43317e['dom']['offsetHeight']/_0x43317e['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x31797b}=_0x13376b['open']['options'],_0x4e875f=_0x13376b['open']['selected']>-0x1?_0x13376b['open']['selected']+_0x28d017*(_0x4a1ba9?0x1:-0x1):_0x4a1ba9?0x0:_0x31797b-0x1;return _0x4e875f<0x0?_0x4e875f='page'==_0x124264?0x0:_0x31797b-0x1:_0x4e875f>=_0x31797b&&(_0x4e875f='page'==_0x124264?_0x31797b-0x1:0x0),_0x419aaf['dispatch']({'effects':hP['of'](_0x4e875f)}),!0x0;};}const gP=_0x3fdba8=>!!_0x3fdba8['state']['field'](uP,!0x1)&&(_0x3fdba8['dispatch']({'effects':zR['of'](!0x0)}),!0x0);class RunningQuery{constructor(_0x5f5c3d,_0xf4fcdf){this['active']=_0x5f5c3d,this['context']=_0xf4fcdf,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const pP=ViewPlugin['fromClass'](class{constructor(_0x4cd597){this['view']=_0x4cd597,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x51af60 of _0x4cd597['state']['field'](uP)['active'])_0x51af60['isPending']&&this['startQuery'](_0x51af60);}['update'](_0x518094){let _0x341a58=_0x518094['state']['field'](uP),_0x5816bf=_0x518094['state']['facet'](KR);if(!_0x518094['selectionSet']&&!_0x518094['docChanged']&&_0x518094['startState']['field'](uP)==_0x341a58)return;let _0x2d4fa5=_0x518094['transactions']['some'](_0x3f358e=>{let _0x54b652=cP(_0x3f358e,_0x5816bf);return 0x8&_0x54b652||(_0x3f358e['selection']||_0x3f358e['docChanged'])&&!(0x3&_0x54b652);});for(let _0x473203=0x0;_0x473203<this['running']['length'];_0x473203++){let _0x3134e2=this['running'][_0x473203];if(_0x2d4fa5||_0x3134e2['context']['abortOnDocChange']&&_0x518094['docChanged']||_0x3134e2['updates']['length']+_0x518094['transactions']['length']>0x32&&Date['now']()-_0x3134e2['time']>0x3e8){for(let _0x4da5f0 of _0x3134e2['context']['abortListeners'])try{_0x4da5f0();}catch(_0x4a38af){YT(this['view']['state'],_0x4a38af);}_0x3134e2['context']['abortListeners']=null,this['running']['splice'](_0x473203--,0x1);}else _0x3134e2['updates']['push'](..._0x518094['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x518094['transactions']['some'](_0x4b2b82=>_0x4b2b82['effects']['some'](_0x4c23fd=>_0x4c23fd['is'](zR)))&&(this['pendingStart']=!0x0);let _0x5e2d77=this['pendingStart']?0x32:_0x5816bf['activateOnTypingDelay'];if(this['debounceUpdate']=_0x341a58['active']['some'](_0x44c828=>_0x44c828['isPending']&&!this['running']['some'](_0x5e3ab7=>_0x5e3ab7['active']['source']==_0x44c828['source']))?setTimeout(()=>this['startUpdate'](),_0x5e2d77):-0x1,0x0!=this['composing']){for(let _0x10d224 of _0x518094['transactions'])_0x10d224['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x10d224['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x53ab13}=this['view'],_0x15f81d=_0x53ab13['field'](uP);for(let _0x17636a of _0x15f81d['active'])_0x17636a['isPending']&&!this['running']['some'](_0x5a1fbe=>_0x5a1fbe['active']['source']==_0x17636a['source'])&&this['startQuery'](_0x17636a);this['running']['length']&&_0x15f81d['open']&&_0x15f81d['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](KR)['updateSyncTime']));}['startQuery'](_0x349df1){let {state:_0x301818}=this['view'],_0x2b3cea=HR(_0x301818),_0x2a30c9=new CompletionContext(_0x301818,_0x2b3cea,_0x349df1['explicit'],this['view']),_0x30c227=new RunningQuery(_0x349df1,_0x2a30c9);this['running']['push'](_0x30c227),Promise['resolve'](_0x349df1['source'](_0x2a30c9))['then'](_0x3e57c7=>{_0x30c227['context']['aborted']||(_0x30c227['done']=_0x3e57c7||null,this['scheduleAccept']());},_0x4e3649=>{this['view']['dispatch']({'effects':YR['of'](null)}),YT(this['view']['state'],_0x4e3649);});}['scheduleAccept'](){this['running']['every'](_0x588cba=>void 0x0!==_0x588cba['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](KR)['updateSyncTime']));}['accept'](){var _0x37ace3;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x5f2215=[],_0x5254c7=this['view']['state']['facet'](KR),_0x26bc57=this['view']['state']['field'](uP);for(let _0x5f1712=0x0;_0x5f1712<this['running']['length'];_0x5f1712++){let _0x284921=this['running'][_0x5f1712];if(void 0x0===_0x284921['done'])continue;if(this['running']['splice'](_0x5f1712--,0x1),_0x284921['done']){let _0x1847a2=HR(_0x284921['updates']['length']?_0x284921['updates'][0x0]['startState']:this['view']['state']),_0x18af58=Math['min'](_0x1847a2,_0x284921['done']['from']+(_0x284921['active']['explicit']?0x0:0x1)),_0xdf8588=new ActiveResult(_0x284921['active']['source'],_0x284921['active']['explicit'],_0x18af58,_0x284921['done'],_0x284921['done']['from'],null!==(_0x37ace3=_0x284921['done']['to'])&&void 0x0!==_0x37ace3?_0x37ace3:_0x1847a2);for(let _0x218a2c of _0x284921['updates'])_0xdf8588=_0xdf8588['update'](_0x218a2c,_0x5254c7);if(_0xdf8588['hasResult']()){_0x5f2215['push'](_0xdf8588);continue;}}let _0x18d5a4=_0x26bc57['active']['find'](_0x58f8cf=>_0x58f8cf['source']==_0x284921['active']['source']);if(_0x18d5a4&&_0x18d5a4['isPending']){if(null==_0x284921['done']){let _0x1514ca=new ActiveSource(_0x284921['active']['source'],0x0);for(let _0x4a8684 of _0x284921['updates'])_0x1514ca=_0x1514ca['update'](_0x4a8684,_0x5254c7);_0x1514ca['isPending']||_0x5f2215['push'](_0x1514ca);}else this['startQuery'](_0x18d5a4);}}(_0x5f2215['length']||_0x26bc57['open']&&_0x26bc57['open']['disabled'])&&this['view']['dispatch']({'effects':lP['of'](_0x5f2215)});}},{'eventHandlers':{'blur'(_0x1ce664){let _0x3d4c32=this['view']['state']['field'](uP,!0x1);if(_0x3d4c32&&_0x3d4c32['tooltip']&&this['view']['state']['facet'](KR)['closeOnBlur']){let _0x34f309=_0x3d4c32['open']&&xS(this['view'],_0x3d4c32['open']['tooltip']);_0x34f309&&_0x34f309['dom']['contains'](_0x1ce664['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':YR['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':zR['of'](!0x1)}),0x14),this['composing']=0x0;}}}),OP='object'==typeof navigator&&/Win/['test'](navigator['platform']),wP=N_['highest'](EditorView['domEventHandlers']({'keydown'(_0x1eafe0,_0x389461){let _0x306834=_0x389461['state']['field'](uP,!0x1);if(!_0x306834||!_0x306834['open']||_0x306834['open']['disabled']||_0x306834['open']['selected']<0x0||_0x1eafe0['key']['length']>0x1||_0x1eafe0['ctrlKey']&&(!OP||!_0x1eafe0['altKey'])||_0x1eafe0['metaKey'])return!0x1;let _0x3870ed=_0x306834['open']['options'][_0x306834['open']['selected']],_0x2933bc=_0x306834['active']['find'](_0x569205=>_0x569205['source']==_0x3870ed['source']),_0x32120c=_0x3870ed['completion']['commitCharacters']||_0x2933bc['result']['commitCharacters'];return _0x32120c&&_0x32120c['indexOf'](_0x1eafe0['key'])>-0x1&&dP(_0x389461,_0x3870ed),!0x1;}})),bP=EditorView['baseTheme']({'.cm-tooltip.cm-tooltip-autocomplete':{'&\x20>\x20ul':{'fontFamily':'monospace','whiteSpace':'nowrap','overflow':'hidden\x20auto','maxWidth_fallback':'700px','maxWidth':'min(700px,\x2095vw)','minWidth':'250px','maxHeight':'10em','height':'100%','listStyle':'none','margin':0x0,'padding':0x0,'&\x20>\x20li,\x20&\x20>\x20completion-section':{'padding':'1px\x203px','lineHeight':1.2},'&\x20>\x20li':{'overflowX':'hidden','textOverflow':'ellipsis','cursor':'pointer'},'&\x20>\x20completion-section':{'display':'list-item','borderBottom':'1px\x20solid\x20silver','paddingLeft':'0.5em','opacity':0.7}}},'&light\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#17c','color':'white'},'&light\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#777'},'&dark\x20.cm-tooltip-autocomplete\x20ul\x20li[aria-selected]':{'background':'#347','color':'white'},'&dark\x20.cm-tooltip-autocomplete-disabled\x20ul\x20li[aria-selected]':{'background':'#444'},'.cm-completionListIncompleteTop:before,\x20.cm-completionListIncompleteBottom:after':{'content':'\x22···\x22','opacity':0.5,'display':'block','textAlign':'center'},'.cm-tooltip.cm-completionInfo':{'position':'absolute','padding':'3px\x209px','width':'max-content','maxWidth':'400px','boxSizing':'border-box','whiteSpace':'pre-line'},'.cm-completionInfo.cm-completionInfo-left':{'right':'100%'},'.cm-completionInfo.cm-completionInfo-right':{'left':'100%'},'.cm-completionInfo.cm-completionInfo-left-narrow':{'right':'30px'},'.cm-completionInfo.cm-completionInfo-right-narrow':{'left':'30px'},'&light\x20.cm-snippetField':{'backgroundColor':'#00000022'},'&dark\x20.cm-snippetField':{'backgroundColor':'#ffffff22'},'.cm-snippetFieldPosition':{'verticalAlign':'text-top','width':0x0,'height':'1.15em','display':'inline-block','margin':'0\x20-0.7px\x20-.7em','borderLeft':'1.4px\x20dotted\x20#888'},'.cm-completionMatchedText':{'textDecoration':'underline'},'.cm-completionDetail':{'marginLeft':'0.5em','fontStyle':'italic'},'.cm-completionIcon':{'fontSize':'90%','width':'.8em','display':'inline-block','textAlign':'center','paddingRight':'.6em','opacity':'0.6','boxSizing':'content-box'},'.cm-completionIcon-function,\x20.cm-completionIcon-method':{'&:after':{'content':'\x27ƒ\x27'}},'.cm-completionIcon-class':{'&:after':{'content':'\x27○\x27'}},'.cm-completionIcon-interface':{'&:after':{'content':'\x27◌\x27'}},'.cm-completionIcon-variable':{'&:after':{'content':'\x27𝑥\x27'}},'.cm-completionIcon-constant':{'&:after':{'content':'\x27𝐶\x27'}},'.cm-completionIcon-type':{'&:after':{'content':'\x27𝑡\x27'}},'.cm-completionIcon-enum':{'&:after':{'content':'\x27∪\x27'}},'.cm-completionIcon-property':{'&:after':{'content':'\x27□\x27'}},'.cm-completionIcon-keyword':{'&:after':{'content':'\x27🔑︎\x27'}},'.cm-completionIcon-namespace':{'&:after':{'content':'\x27▢\x27'}},'.cm-completionIcon-text':{'&:after':{'content':'\x27abc\x27','fontSize':'50%','verticalAlign':'middle'}}});class FieldPos{constructor(_0x360a4c,_0xc23f45,_0x8bf27f,_0x2c7f20){this['field']=_0x360a4c,this['line']=_0xc23f45,this['from']=_0x8bf27f,this['to']=_0x2c7f20;}}class FieldRange{constructor(_0x5b0c30,_0x15c0bb,_0x28ae5a){this['field']=_0x5b0c30,this['from']=_0x15c0bb,this['to']=_0x28ae5a;}['map'](_0xbd698f){let _0x40947b=_0xbd698f['mapPos'](this['from'],-0x1,p_['TrackDel']),_0x424ba4=_0xbd698f['mapPos'](this['to'],0x1,p_['TrackDel']);return null==_0x40947b||null==_0x424ba4?null:new FieldRange(this['field'],_0x40947b,_0x424ba4);}}class Snippet{constructor(_0x28172b,_0x4e6d68){this['lines']=_0x28172b,this['fieldPositions']=_0x4e6d68;}['instantiate'](_0x12e39a,_0x1b8995){let _0x6d3c1c=[],_0x14e745=[_0x1b8995],_0x2b9410=_0x12e39a['doc']['lineAt'](_0x1b8995),_0x4768fe=/^\s*/['exec'](_0x2b9410['text'])[0x0];for(let _0x408161 of this['lines']){if(_0x6d3c1c['length']){let _0x425225=_0x4768fe,_0x39ca=/^\t*/['exec'](_0x408161)[0x0]['length'];for(let _0x1279af=0x0;_0x1279af<_0x39ca;_0x1279af++)_0x425225+=_0x12e39a['facet'](sk);_0x14e745['push'](_0x1b8995+_0x425225['length']-_0x39ca),_0x408161=_0x425225+_0x408161['slice'](_0x39ca);}_0x6d3c1c['push'](_0x408161),_0x1b8995+=_0x408161['length']+0x1;}let _0x2fb62e=this['fieldPositions']['map'](_0x3d9bff=>new FieldRange(_0x3d9bff['field'],_0x14e745[_0x3d9bff['line']]+_0x3d9bff['from'],_0x14e745[_0x3d9bff['line']]+_0x3d9bff['to']));return{'text':_0x6d3c1c,'ranges':_0x2fb62e};}static['parse'](_0x267aad){let _0x31cea7,_0x4a0a53=[],_0x1b9d5e=[],_0x42cd86=[];for(let _0x156d12 of _0x267aad['split'](/\r\n?|\n/)){for(;_0x31cea7=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x156d12);){let _0x2ed7be=_0x31cea7[0x1]?+_0x31cea7[0x1]:null,_0x38e168=_0x31cea7[0x2]||_0x31cea7[0x3]||'',_0x58063e=-0x1,_0x45eeab=_0x38e168['replace'](/\\[{}]/g,_0x532119=>_0x532119[0x1]);for(let _0x52b7aa=0x0;_0x52b7aa<_0x4a0a53['length'];_0x52b7aa++)(null!=_0x2ed7be?_0x4a0a53[_0x52b7aa]['seq']==_0x2ed7be:_0x45eeab&&_0x4a0a53[_0x52b7aa]['name']==_0x45eeab)&&(_0x58063e=_0x52b7aa);if(_0x58063e<0x0){let _0x44a81e=0x0;for(;_0x44a81e<_0x4a0a53['length']&&(null==_0x2ed7be||null!=_0x4a0a53[_0x44a81e]['seq']&&_0x4a0a53[_0x44a81e]['seq']<_0x2ed7be);)_0x44a81e++;_0x4a0a53['splice'](_0x44a81e,0x0,{'seq':_0x2ed7be,'name':_0x45eeab}),_0x58063e=_0x44a81e;for(let _0x41a3e4 of _0x42cd86)_0x41a3e4['field']>=_0x58063e&&_0x41a3e4['field']++;}for(let _0x37a286 of _0x42cd86)if(_0x37a286['line']==_0x1b9d5e['length']&&_0x37a286['from']>_0x31cea7['index']){let _0x2a12d9=_0x31cea7[0x2]?0x3+(_0x31cea7[0x1]||'')['length']:0x2;_0x37a286['from']-=_0x2a12d9,_0x37a286['to']-=_0x2a12d9;}_0x42cd86['push'](new FieldPos(_0x58063e,_0x1b9d5e['length'],_0x31cea7['index'],_0x31cea7['index']+_0x45eeab['length'])),_0x156d12=_0x156d12['slice'](0x0,_0x31cea7['index'])+_0x38e168+_0x156d12['slice'](_0x31cea7['index']+_0x31cea7[0x0]['length']);}_0x156d12=_0x156d12['replace'](/\\([{}])/g,(_0x18c497,_0x275605,_0x5b6fda)=>{for(let _0x4f6fe2 of _0x42cd86)_0x4f6fe2['line']==_0x1b9d5e['length']&&_0x4f6fe2['from']>_0x5b6fda&&(_0x4f6fe2['from']--,_0x4f6fe2['to']--);return _0x275605;}),_0x1b9d5e['push'](_0x156d12);}return new Snippet(_0x1b9d5e,_0x42cd86);}}let yP=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x971950=document['createElement']('span');return _0x971950['className']='cm-snippetFieldPosition',_0x971950;}['ignoreEvent'](){return!0x1;}}()}),vP=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x5ef16e,_0x194525){this['ranges']=_0x5ef16e,this['active']=_0x194525,this['deco']=Decoration['set'](_0x5ef16e['map'](_0x246a1d=>(_0x246a1d['from']==_0x246a1d['to']?yP:vP)['range'](_0x246a1d['from'],_0x246a1d['to'])),!0x0);}['map'](_0x243247){let _0x22a282=[];for(let _0x58e048 of this['ranges']){let _0x2c2623=_0x58e048['map'](_0x243247);if(!_0x2c2623)return null;_0x22a282['push'](_0x2c2623);}return new ActiveSnippet(_0x22a282,this['active']);}['selectionInsideField'](_0x37d2d9){return _0x37d2d9['ranges']['every'](_0x23ed7f=>this['ranges']['some'](_0x54c3af=>_0x54c3af['field']==this['active']&&_0x54c3af['from']<=_0x23ed7f['from']&&_0x54c3af['to']>=_0x23ed7f['to']));}}const _P=StateEffect['define']({'map':(_0x4b9b30,_0x50ee83)=>_0x4b9b30&&_0x4b9b30['map'](_0x50ee83)}),EP=StateEffect['define'](),TP=StateField['define']({'create':()=>null,'update'(_0x51bbac,_0x46f57f){for(let _0x37ca8c of _0x46f57f['effects']){if(_0x37ca8c['is'](_P))return _0x37ca8c['value'];if(_0x37ca8c['is'](EP)&&_0x51bbac)return new ActiveSnippet(_0x51bbac['ranges'],_0x37ca8c['value']);}return _0x51bbac&&_0x46f57f['docChanged']&&(_0x51bbac=_0x51bbac['map'](_0x46f57f['changes'])),_0x51bbac&&_0x46f57f['selection']&&!_0x51bbac['selectionInsideField'](_0x46f57f['selection'])&&(_0x51bbac=null),_0x51bbac;},'provide':_0x599538=>EditorView['decorations']['from'](_0x599538,_0x3f09c6=>_0x3f09c6?_0x3f09c6['deco']:Decoration['none'])});function AP(_0x105ec,_0x2c97aa){return EditorSelection['create'](_0x105ec['filter'](_0x12a8bb=>_0x12a8bb['field']==_0x2c97aa)['map'](_0x5d44fa=>EditorSelection['range'](_0x5d44fa['from'],_0x5d44fa['to'])));}function IP(_0x17580){let _0x3100b7=Snippet['parse'](_0x17580);return(_0x55b3c2,_0xc91efe,_0x48bc13,_0x1784c1)=>{let {text:_0x1d116f,ranges:_0x42413d}=_0x3100b7['instantiate'](_0x55b3c2['state'],_0x48bc13),{main:_0x142dc2}=_0x55b3c2['state']['selection'],_0x1f3823={'changes':{'from':_0x48bc13,'to':_0x1784c1==_0x142dc2['from']?_0x142dc2['to']:_0x1784c1,'insert':o_['of'](_0x1d116f)},'scrollIntoView':!0x0,'annotations':_0xc91efe?[ZR['of'](_0xc91efe),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x42413d['length']&&(_0x1f3823['selection']=AP(_0x42413d,0x0)),_0x42413d['some'](_0x12f488=>_0x12f488['field']>0x0)){let _0x49d71c=new ActiveSnippet(_0x42413d,0x0),_0x4972f9=_0x1f3823['effects']=[_P['of'](_0x49d71c)];void 0x0===_0x55b3c2['state']['field'](TP,!0x1)&&_0x4972f9['push'](StateEffect['appendConfig']['of']([TP,xP,PP,bP]));}_0x55b3c2['dispatch'](_0x55b3c2['state']['update'](_0x1f3823));};}function SP(_0x489948){return({state:_0x5e7594,dispatch:_0x5d7cff})=>{let _0x2adcfc=_0x5e7594['field'](TP,!0x1);if(!_0x2adcfc||_0x489948<0x0&&0x0==_0x2adcfc['active'])return!0x1;let _0x182921=_0x2adcfc['active']+_0x489948,_0x253a04=_0x489948>0x0&&!_0x2adcfc['ranges']['some'](_0x8038a3=>_0x8038a3['field']==_0x182921+_0x489948);return _0x5d7cff(_0x5e7594['update']({'selection':AP(_0x2adcfc['ranges'],_0x182921),'effects':_P['of'](_0x253a04?null:new ActiveSnippet(_0x2adcfc['ranges'],_0x182921)),'scrollIntoView':!0x0})),!0x0;};}const CP=[{'key':'Tab','run':SP(0x1),'shift':SP(-0x1)},{'key':'Escape','run':({state:_0x14600a,dispatch:_0x54eaf4})=>!!_0x14600a['field'](TP,!0x1)&&(_0x54eaf4(_0x14600a['update']({'effects':_P['of'](null)})),!0x0)}],kP=Facet['define']({'combine':_0x2afe3f=>_0x2afe3f['length']?_0x2afe3f[0x0]:CP}),xP=N_['highest'](DI['compute']([kP],_0x3824fa=>_0x3824fa['facet'](kP)));function RP(_0x4383ef,_0x299dbb){return{..._0x299dbb,'apply':IP(_0x4383ef)};}const PP=EditorView['domEventHandlers']({'mousedown'(_0xe3a068,_0x36a5a5){let _0x300c11,_0x285d1f=_0x36a5a5['state']['field'](TP,!0x1);if(!_0x285d1f||null==(_0x300c11=_0x36a5a5['posAtCoords']({'x':_0xe3a068['clientX'],'y':_0xe3a068['clientY']})))return!0x1;let _0x336c16=_0x285d1f['ranges']['find'](_0x4dab34=>_0x4dab34['from']<=_0x300c11&&_0x4dab34['to']>=_0x300c11);return!(!_0x336c16||_0x336c16['field']==_0x285d1f['active'])&&(_0x36a5a5['dispatch']({'selection':AP(_0x285d1f['ranges'],_0x336c16['field']),'effects':_P['of'](_0x285d1f['ranges']['some'](_0xa4167d=>_0xa4167d['field']>_0x336c16['field'])?new ActiveSnippet(_0x285d1f['ranges'],_0x336c16['field']):null),'scrollIntoView':!0x0}),!0x0);}}),MP={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},NP=StateEffect['define']({'map'(_0x2c9df1,_0x27a571){let _0x969e06=_0x27a571['mapPos'](_0x2c9df1,-0x1,p_['TrackAfter']);return null==_0x969e06?void 0x0:_0x969e06;}}),LP=new class extends RangeValue{}();LP['startSide']=0x1,LP['endSide']=-0x1;const $P=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x51789f,_0x3eddac){if(_0x51789f=_0x51789f['map'](_0x3eddac['changes']),_0x3eddac['selection']){let _0x227277=_0x3eddac['state']['doc']['lineAt'](_0x3eddac['selection']['main']['head']);_0x51789f=_0x51789f['update']({'filter':_0x27581d=>_0x27581d>=_0x227277['from']&&_0x27581d<=_0x227277['to']});}for(let _0x253a61 of _0x3eddac['effects'])_0x253a61['is'](NP)&&(_0x51789f=_0x51789f['update']({'add':[LP['range'](_0x253a61['value'],_0x253a61['value']+0x1)]}));return _0x51789f;}});function DP(){return[FP,$P];}const QP='()[]{}<>«»»«［］｛｝';function VP(_0x21bc3b){for(let _0x36d375=0x0;_0x36d375<0x10;_0x36d375+=0x2)if(QP['charCodeAt'](_0x36d375)==_0x21bc3b)return QP['charAt'](_0x36d375+0x1);return f_(_0x21bc3b<0x80?_0x21bc3b:_0x21bc3b+0x1);}function UP(_0x559093,_0x5bf363){return _0x559093['languageDataAt']('closeBrackets',_0x5bf363)[0x0]||MP;}const BP='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),FP=EditorView['inputHandler']['of']((_0x82bc4f,_0x45b847,_0x3df493,_0x5e5e3c)=>{if((BP?_0x82bc4f['composing']:_0x82bc4f['compositionStarted'])||_0x82bc4f['state']['readOnly'])return!0x1;let _0x18437e=_0x82bc4f['state']['selection']['main'];if(_0x5e5e3c['length']>0x2||0x2==_0x5e5e3c['length']&&0x1==m_(d_(_0x5e5e3c,0x0))||_0x45b847!=_0x18437e['from']||_0x3df493!=_0x18437e['to'])return!0x1;let _0x3d669d=function(_0x48fcc8,_0x4b89e8){let _0x50653c=UP(_0x48fcc8,_0x48fcc8['selection']['main']['head']),_0x4ef3fb=_0x50653c['brackets']||MP['brackets'];for(let _0x29d2df of _0x4ef3fb){let _0xbd6206=VP(d_(_0x29d2df,0x0));if(_0x4b89e8==_0x29d2df)return _0xbd6206==_0x29d2df?qP(_0x48fcc8,_0x29d2df,_0x4ef3fb['indexOf'](_0x29d2df+_0x29d2df+_0x29d2df)>-0x1,_0x50653c):ZP(_0x48fcc8,_0x29d2df,_0xbd6206,_0x50653c['before']||MP['before']);if(_0x4b89e8==_0xbd6206&&HP(_0x48fcc8,_0x48fcc8['selection']['main']['from']))return XP(_0x48fcc8,_0x29d2df,_0xbd6206);}return null;}(_0x82bc4f['state'],_0x5e5e3c);return!!_0x3d669d&&(_0x82bc4f['dispatch'](_0x3d669d),!0x0);}),jP=[{'key':'Backspace','run':({state:_0xeecadd,dispatch:_0xa84ffb})=>{if(_0xeecadd['readOnly'])return!0x1;let _0x594e6f=UP(_0xeecadd,_0xeecadd['selection']['main']['head'])['brackets']||MP['brackets'],_0x59617b=null,_0x2834ba=_0xeecadd['changeByRange'](_0x30601d=>{if(_0x30601d['empty']){let _0x5ddcc6=function(_0x3366e9,_0x1fd308){let _0x30dc21=_0x3366e9['sliceString'](_0x1fd308-0x2,_0x1fd308);return m_(d_(_0x30dc21,0x0))==_0x30dc21['length']?_0x30dc21:_0x30dc21['slice'](0x1);}(_0xeecadd['doc'],_0x30601d['head']);for(let _0x2de2db of _0x594e6f)if(_0x2de2db==_0x5ddcc6&&GP(_0xeecadd['doc'],_0x30601d['head'])==VP(d_(_0x2de2db,0x0)))return{'changes':{'from':_0x30601d['head']-_0x2de2db['length'],'to':_0x30601d['head']+_0x2de2db['length']},'range':EditorSelection['cursor'](_0x30601d['head']-_0x2de2db['length'])};}return{'range':_0x59617b=_0x30601d};});return _0x59617b||_0xa84ffb(_0xeecadd['update'](_0x2834ba,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x59617b;}}];function HP(_0xa40315,_0x4dc6b0){let _0x40f971=!0x1;return _0xa40315['field']($P)['between'](0x0,_0xa40315['doc']['length'],_0x79c3c2=>{_0x79c3c2==_0x4dc6b0&&(_0x40f971=!0x0);}),_0x40f971;}function GP(_0x355118,_0x5690e4){let _0x59d9a2=_0x355118['sliceString'](_0x5690e4,_0x5690e4+0x2);return _0x59d9a2['slice'](0x0,m_(d_(_0x59d9a2,0x0)));}function ZP(_0x41082f,_0x146e89,_0x230f77,_0x32468b){let _0x274d96=null,_0x504a6b=_0x41082f['changeByRange'](_0x5353cd=>{if(!_0x5353cd['empty'])return{'changes':[{'insert':_0x146e89,'from':_0x5353cd['from']},{'insert':_0x230f77,'from':_0x5353cd['to']}],'effects':NP['of'](_0x5353cd['to']+_0x146e89['length']),'range':EditorSelection['range'](_0x5353cd['anchor']+_0x146e89['length'],_0x5353cd['head']+_0x146e89['length'])};let _0x5e8c09=GP(_0x41082f['doc'],_0x5353cd['head']);return!_0x5e8c09||/\s/['test'](_0x5e8c09)||_0x32468b['indexOf'](_0x5e8c09)>-0x1?{'changes':{'insert':_0x146e89+_0x230f77,'from':_0x5353cd['head']},'effects':NP['of'](_0x5353cd['head']+_0x146e89['length']),'range':EditorSelection['cursor'](_0x5353cd['head']+_0x146e89['length'])}:{'range':_0x274d96=_0x5353cd};});return _0x274d96?null:_0x41082f['update'](_0x504a6b,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function XP(_0x3f4acf,_0x475376,_0x334246){let _0x41db6b=null,_0x78a31f=_0x3f4acf['changeByRange'](_0xf55b05=>_0xf55b05['empty']&&GP(_0x3f4acf['doc'],_0xf55b05['head'])==_0x334246?{'changes':{'from':_0xf55b05['head'],'to':_0xf55b05['head']+_0x334246['length'],'insert':_0x334246},'range':EditorSelection['cursor'](_0xf55b05['head']+_0x334246['length'])}:_0x41db6b={'range':_0xf55b05});return _0x41db6b?null:_0x3f4acf['update'](_0x78a31f,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function qP(_0x23afe6,_0x45e8ae,_0x611434,_0x5d4fc9){let _0x197af1=_0x5d4fc9['stringPrefixes']||MP['stringPrefixes'],_0x539330=null,_0x89bfb8=_0x23afe6['changeByRange'](_0x1e2399=>{if(!_0x1e2399['empty'])return{'changes':[{'insert':_0x45e8ae,'from':_0x1e2399['from']},{'insert':_0x45e8ae,'from':_0x1e2399['to']}],'effects':NP['of'](_0x1e2399['to']+_0x45e8ae['length']),'range':EditorSelection['range'](_0x1e2399['anchor']+_0x45e8ae['length'],_0x1e2399['head']+_0x45e8ae['length'])};let _0xe2f04b,_0x37aa23=_0x1e2399['head'],_0x1ad8ab=GP(_0x23afe6['doc'],_0x37aa23);if(_0x1ad8ab==_0x45e8ae){if(WP(_0x23afe6,_0x37aa23))return{'changes':{'insert':_0x45e8ae+_0x45e8ae,'from':_0x37aa23},'effects':NP['of'](_0x37aa23+_0x45e8ae['length']),'range':EditorSelection['cursor'](_0x37aa23+_0x45e8ae['length'])};if(HP(_0x23afe6,_0x37aa23)){let _0x126ca6=_0x611434&&_0x23afe6['sliceDoc'](_0x37aa23,_0x37aa23+0x3*_0x45e8ae['length'])==_0x45e8ae+_0x45e8ae+_0x45e8ae?_0x45e8ae+_0x45e8ae+_0x45e8ae:_0x45e8ae;return{'changes':{'from':_0x37aa23,'to':_0x37aa23+_0x126ca6['length'],'insert':_0x126ca6},'range':EditorSelection['cursor'](_0x37aa23+_0x126ca6['length'])};}}else{if(_0x611434&&_0x23afe6['sliceDoc'](_0x37aa23-0x2*_0x45e8ae['length'],_0x37aa23)==_0x45e8ae+_0x45e8ae&&(_0xe2f04b=zP(_0x23afe6,_0x37aa23-0x2*_0x45e8ae['length'],_0x197af1))>-0x1&&WP(_0x23afe6,_0xe2f04b))return{'changes':{'insert':_0x45e8ae+_0x45e8ae+_0x45e8ae+_0x45e8ae,'from':_0x37aa23},'effects':NP['of'](_0x37aa23+_0x45e8ae['length']),'range':EditorSelection['cursor'](_0x37aa23+_0x45e8ae['length'])};if(_0x23afe6['charCategorizer'](_0x37aa23)(_0x1ad8ab)!=z_['Word']&&zP(_0x23afe6,_0x37aa23,_0x197af1)>-0x1&&!function(_0xae8258,_0x2db130,_0x157f9f,_0x305be6){let _0x1ef783=WC(_0xae8258)['resolveInner'](_0x2db130,-0x1),_0x32cd7c=_0x305be6['reduce']((_0x597365,_0x2b8ffc)=>Math['max'](_0x597365,_0x2b8ffc['length']),0x0);for(let _0x2ebb28=0x0;_0x2ebb28<0x5;_0x2ebb28++){let _0x4be61=_0xae8258['sliceDoc'](_0x1ef783['from'],Math['min'](_0x1ef783['to'],_0x1ef783['from']+_0x157f9f['length']+_0x32cd7c)),_0x4708ad=_0x4be61['indexOf'](_0x157f9f);if(!_0x4708ad||_0x4708ad>-0x1&&_0x305be6['indexOf'](_0x4be61['slice'](0x0,_0x4708ad))>-0x1){let _0x454e9d=_0x1ef783['firstChild'];for(;_0x454e9d&&_0x454e9d['from']==_0x1ef783['from']&&_0x454e9d['to']-_0x454e9d['from']>_0x157f9f['length']+_0x4708ad;){if(_0xae8258['sliceDoc'](_0x454e9d['to']-_0x157f9f['length'],_0x454e9d['to'])==_0x157f9f)return!0x1;_0x454e9d=_0x454e9d['firstChild'];}return!0x0;}let _0x132ec9=_0x1ef783['to']==_0x2db130&&_0x1ef783['parent'];if(!_0x132ec9)break;_0x1ef783=_0x132ec9;}return!0x1;}(_0x23afe6,_0x37aa23,_0x45e8ae,_0x197af1))return{'changes':{'insert':_0x45e8ae+_0x45e8ae,'from':_0x37aa23},'effects':NP['of'](_0x37aa23+_0x45e8ae['length']),'range':EditorSelection['cursor'](_0x37aa23+_0x45e8ae['length'])};}return{'range':_0x539330=_0x1e2399};});return _0x539330?null:_0x23afe6['update'](_0x89bfb8,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function WP(_0x2b7bd7,_0x525324){let _0x2e9c8d=WC(_0x2b7bd7)['resolveInner'](_0x525324+0x1);return _0x2e9c8d['parent']&&_0x2e9c8d['from']==_0x525324;}function zP(_0x3d7242,_0xe28dca,_0x3466ac){let _0x15273c=_0x3d7242['charCategorizer'](_0xe28dca);if(_0x15273c(_0x3d7242['sliceDoc'](_0xe28dca-0x1,_0xe28dca))!=z_['Word'])return _0xe28dca;for(let _0x564766 of _0x3466ac){let _0x158a1e=_0xe28dca-_0x564766['length'];if(_0x3d7242['sliceDoc'](_0x158a1e,_0xe28dca)==_0x564766&&_0x15273c(_0x3d7242['sliceDoc'](_0x158a1e-0x1,_0x158a1e))!=z_['Word'])return _0x158a1e;}return-0x1;}function YP(_0x39f908={}){return[wP,uP,KR['of'](_0x39f908),pP,JP,bP];}const KP=[{'key':'Ctrl-Space','run':gP},{'mac':'Alt-`','run':gP},{'mac':'Alt-i','run':gP},{'key':'Escape','run':_0x2bce87=>{let _0x2a61d0=_0x2bce87['state']['field'](uP,!0x1);return!(!_0x2a61d0||!_0x2a61d0['active']['some'](_0x5ce2df=>0x0!=_0x5ce2df['state']))&&(_0x2bce87['dispatch']({'effects':YR['of'](null)}),!0x0);}},{'key':'ArrowDown','run':mP(!0x0)},{'key':'ArrowUp','run':mP(!0x1)},{'key':'PageDown','run':mP(!0x0,'page')},{'key':'PageUp','run':mP(!0x1,'page')},{'key':'Enter','run':_0xc4dcf3=>{let _0x2cdc64=_0xc4dcf3['state']['field'](uP,!0x1);return!(_0xc4dcf3['state']['readOnly']||!_0x2cdc64||!_0x2cdc64['open']||_0x2cdc64['open']['selected']<0x0||_0x2cdc64['open']['disabled']||Date['now']()-_0x2cdc64['open']['timestamp']<_0xc4dcf3['state']['facet'](KR)['interactionDelay'])&&dP(_0xc4dcf3,_0x2cdc64['open']['options'][_0x2cdc64['open']['selected']]);}}],JP=N_['highest'](DI['computeN']([KR],_0x42bdba=>_0x42bdba['facet'](KR)['defaultKeymap']?[KP]:[]));class Stack{constructor(_0x85d0e,_0x5986bd,_0x95b875,_0x3f4469,_0x21f991,_0x46c7a8,_0x49e57a,_0xa76df0,_0x2ed06,_0x339fb7=0x0,_0x219263){this['p']=_0x85d0e,this['stack']=_0x5986bd,this['state']=_0x95b875,this['reducePos']=_0x3f4469,this['pos']=_0x21f991,this['score']=_0x46c7a8,this['buffer']=_0x49e57a,this['bufferBase']=_0xa76df0,this['curContext']=_0x2ed06,this['lookAhead']=_0x339fb7,this['parent']=_0x219263;}['toString'](){return'['+this['stack']['filter']((_0xdb0f65,_0x567a28)=>_0x567a28%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x53600e,_0x5d2d51,_0x37c137=0x0){let _0x155b95=_0x53600e['parser']['context'];return new Stack(_0x53600e,[],_0x5d2d51,_0x37c137,_0x37c137,0x0,[],0x0,_0x155b95?new StackContext(_0x155b95,_0x155b95['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x54c5d7,_0x2d11a1){this['stack']['push'](this['state'],_0x2d11a1,this['bufferBase']+this['buffer']['length']),this['state']=_0x54c5d7;}['reduce'](_0x2b1253){var _0x4dc921;let _0xd7a74=_0x2b1253>>0x13,_0x4a38e4=0xffff&_0x2b1253,{parser:_0x159533}=this['p'],_0x21dcb4=this['reducePos']<this['pos']-0x19;_0x21dcb4&&this['setLookAhead'](this['pos']);let _0x57c763=_0x159533['dynamicPrecedence'](_0x4a38e4);if(_0x57c763&&(this['score']+=_0x57c763),0x0==_0xd7a74)return this['pushState'](_0x159533['getGoto'](this['state'],_0x4a38e4,!0x0),this['reducePos']),_0x4a38e4<_0x159533['minRepeatTerm']&&this['storeNode'](_0x4a38e4,this['reducePos'],this['reducePos'],_0x21dcb4?0x8:0x4,!0x0),void this['reduceContext'](_0x4a38e4,this['reducePos']);let _0x322d95=this['stack']['length']-0x3*(_0xd7a74-0x1)-(0x40000&_0x2b1253?0x6:0x0),_0x214089=_0x322d95?this['stack'][_0x322d95-0x2]:this['p']['ranges'][0x0]['from'],_0x182c95=this['reducePos']-_0x214089;_0x182c95>=0x7d0&&!(null===(_0x4dc921=this['p']['parser']['nodeSet']['types'][_0x4a38e4])||void 0x0===_0x4dc921?void 0x0:_0x4dc921['isAnonymous'])&&(_0x214089==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x182c95):this['p']['lastBigReductionSize']<_0x182c95&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x214089,this['p']['lastBigReductionSize']=_0x182c95));let _0x1584b5=_0x322d95?this['stack'][_0x322d95-0x1]:0x0,_0x3f6723=this['bufferBase']+this['buffer']['length']-_0x1584b5;if(_0x4a38e4<_0x159533['minRepeatTerm']||0x20000&_0x2b1253){let _0x14851c=_0x159533['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x4a38e4,_0x214089,_0x14851c,_0x3f6723+0x4,!0x0);}if(0x40000&_0x2b1253)this['state']=this['stack'][_0x322d95];else{let _0x3f2113=this['stack'][_0x322d95-0x3];this['state']=_0x159533['getGoto'](_0x3f2113,_0x4a38e4,!0x0);}for(;this['stack']['length']>_0x322d95;)this['stack']['pop']();this['reduceContext'](_0x4a38e4,_0x214089);}['storeNode'](_0x1bc3bb,_0x3e58cd,_0x1de1a5,_0x177ac6=0x4,_0x210017=!0x1){if(0x0==_0x1bc3bb&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x398c06=this,_0x13df7b=this['buffer']['length'];if(0x0==_0x13df7b&&_0x398c06['parent']&&(_0x13df7b=_0x398c06['bufferBase']-_0x398c06['parent']['bufferBase'],_0x398c06=_0x398c06['parent']),_0x13df7b>0x0&&0x0==_0x398c06['buffer'][_0x13df7b-0x4]&&_0x398c06['buffer'][_0x13df7b-0x1]>-0x1){if(_0x3e58cd==_0x1de1a5)return;if(_0x398c06['buffer'][_0x13df7b-0x2]>=_0x3e58cd)return void(_0x398c06['buffer'][_0x13df7b-0x2]=_0x1de1a5);}}if(_0x210017&&this['pos']!=_0x1de1a5){let _0x4b77df=this['buffer']['length'];if(_0x4b77df>0x0&&(0x0!=this['buffer'][_0x4b77df-0x4]||this['buffer'][_0x4b77df-0x1]<0x0)){let _0x4a5d73=!0x1;for(let _0x4c496b=_0x4b77df;_0x4c496b>0x0&&this['buffer'][_0x4c496b-0x2]>_0x1de1a5;_0x4c496b-=0x4)if(this['buffer'][_0x4c496b-0x1]>=0x0){_0x4a5d73=!0x0;break;}if(_0x4a5d73){for(;_0x4b77df>0x0&&this['buffer'][_0x4b77df-0x2]>_0x1de1a5;)this['buffer'][_0x4b77df]=this['buffer'][_0x4b77df-0x4],this['buffer'][_0x4b77df+0x1]=this['buffer'][_0x4b77df-0x3],this['buffer'][_0x4b77df+0x2]=this['buffer'][_0x4b77df-0x2],this['buffer'][_0x4b77df+0x3]=this['buffer'][_0x4b77df-0x1],_0x4b77df-=0x4,_0x177ac6>0x4&&(_0x177ac6-=0x4);}}this['buffer'][_0x4b77df]=_0x1bc3bb,this['buffer'][_0x4b77df+0x1]=_0x3e58cd,this['buffer'][_0x4b77df+0x2]=_0x1de1a5,this['buffer'][_0x4b77df+0x3]=_0x177ac6;}else this['buffer']['push'](_0x1bc3bb,_0x3e58cd,_0x1de1a5,_0x177ac6);}['shift'](_0x4e8f62,_0x241c72,_0x49546e,_0x2429d7){if(0x20000&_0x4e8f62)this['pushState'](0xffff&_0x4e8f62,this['pos']);else{if(0x40000&_0x4e8f62)this['pos']=_0x2429d7,this['shiftContext'](_0x241c72,_0x49546e),_0x241c72<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x241c72,_0x49546e,_0x2429d7,0x4);else{let _0x5ed1ba=_0x4e8f62,{parser:_0x5e45e8}=this['p'];(_0x2429d7>this['pos']||_0x241c72<=_0x5e45e8['maxNode'])&&(this['pos']=_0x2429d7,_0x5e45e8['stateFlag'](_0x5ed1ba,0x1)||(this['reducePos']=_0x2429d7)),this['pushState'](_0x5ed1ba,_0x49546e),this['shiftContext'](_0x241c72,_0x49546e),_0x241c72<=_0x5e45e8['maxNode']&&this['buffer']['push'](_0x241c72,_0x49546e,_0x2429d7,0x4);}}}['apply'](_0x503a9c,_0x1fde21,_0x1b3c07,_0x1def11){0x10000&_0x503a9c?this['reduce'](_0x503a9c):this['shift'](_0x503a9c,_0x1fde21,_0x1b3c07,_0x1def11);}['useNode'](_0x5cdd12,_0x167c6c){let _0x29dafa=this['p']['reused']['length']-0x1;(_0x29dafa<0x0||this['p']['reused'][_0x29dafa]!=_0x5cdd12)&&(this['p']['reused']['push'](_0x5cdd12),_0x29dafa++);let _0xa6f4b2=this['pos'];this['reducePos']=this['pos']=_0xa6f4b2+_0x5cdd12['length'],this['pushState'](_0x167c6c,_0xa6f4b2),this['buffer']['push'](_0x29dafa,_0xa6f4b2,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x5cdd12,this,this['p']['stream']['reset'](this['pos']-_0x5cdd12['length'])));}['split'](){let _0x111a7f=this,_0x53ece1=_0x111a7f['buffer']['length'];for(;_0x53ece1>0x0&&_0x111a7f['buffer'][_0x53ece1-0x2]>_0x111a7f['reducePos'];)_0x53ece1-=0x4;let _0x557742=_0x111a7f['buffer']['slice'](_0x53ece1),_0x14cd99=_0x111a7f['bufferBase']+_0x53ece1;for(;_0x111a7f&&_0x14cd99==_0x111a7f['bufferBase'];)_0x111a7f=_0x111a7f['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x557742,_0x14cd99,this['curContext'],this['lookAhead'],_0x111a7f);}['recoverByDelete'](_0x5dc472,_0x14d617){let _0x2e144b=_0x5dc472<=this['p']['parser']['maxNode'];_0x2e144b&&this['storeNode'](_0x5dc472,this['pos'],_0x14d617,0x4),this['storeNode'](0x0,this['pos'],_0x14d617,_0x2e144b?0x8:0x4),this['pos']=this['reducePos']=_0x14d617,this['score']-=0xbe;}['canShift'](_0x518665){for(let _0x53269e=new SimulatedStack(this);;){let _0x10a26d=this['p']['parser']['stateSlot'](_0x53269e['state'],0x4)||this['p']['parser']['hasAction'](_0x53269e['state'],_0x518665);if(0x0==_0x10a26d)return!0x1;if(!(0x10000&_0x10a26d))return!0x0;_0x53269e['reduce'](_0x10a26d);}}['recoverByInsert'](_0x2cbac1){if(this['stack']['length']>=0x12c)return[];let _0x344b8a=this['p']['parser']['nextStates'](this['state']);if(_0x344b8a['length']>0x8||this['stack']['length']>=0x78){let _0x24ba51=[];for(let _0xf6dff5,_0x1d98ce=0x0;_0x1d98ce<_0x344b8a['length'];_0x1d98ce+=0x2)(_0xf6dff5=_0x344b8a[_0x1d98ce+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0xf6dff5,_0x2cbac1)&&_0x24ba51['push'](_0x344b8a[_0x1d98ce],_0xf6dff5);if(this['stack']['length']<0x78)for(let _0x425dde=0x0;_0x24ba51['length']<0x8&&_0x425dde<_0x344b8a['length'];_0x425dde+=0x2){let _0x10093f=_0x344b8a[_0x425dde+0x1];_0x24ba51['some']((_0x4e4cc1,_0x228840)=>0x1&_0x228840&&_0x4e4cc1==_0x10093f)||_0x24ba51['push'](_0x344b8a[_0x425dde],_0x10093f);}_0x344b8a=_0x24ba51;}let _0x507fd2=[];for(let _0x3e0b1c=0x0;_0x3e0b1c<_0x344b8a['length']&&_0x507fd2['length']<0x4;_0x3e0b1c+=0x2){let _0x565617=_0x344b8a[_0x3e0b1c+0x1];if(_0x565617==this['state'])continue;let _0x5d224b=this['split']();_0x5d224b['pushState'](_0x565617,this['pos']),_0x5d224b['storeNode'](0x0,_0x5d224b['pos'],_0x5d224b['pos'],0x4,!0x0),_0x5d224b['shiftContext'](_0x344b8a[_0x3e0b1c],this['pos']),_0x5d224b['reducePos']=this['pos'],_0x5d224b['score']-=0xc8,_0x507fd2['push'](_0x5d224b);}return _0x507fd2;}['forceReduce'](){let {parser:_0x5e927f}=this['p'],_0x2f15bc=_0x5e927f['stateSlot'](this['state'],0x5);if(!(0x10000&_0x2f15bc))return!0x1;if(!_0x5e927f['validAction'](this['state'],_0x2f15bc)){let _0x4fd633=_0x2f15bc>>0x13,_0xda6afb=0xffff&_0x2f15bc,_0x1aedca=this['stack']['length']-0x3*_0x4fd633;if(_0x1aedca<0x0||_0x5e927f['getGoto'](this['stack'][_0x1aedca],_0xda6afb,!0x1)<0x0){let _0x5ccb0b=this['findForcedReduction']();if(null==_0x5ccb0b)return!0x1;_0x2f15bc=_0x5ccb0b;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x2f15bc),!0x0;}['findForcedReduction'](){let {parser:_0x134dda}=this['p'],_0x4a529b=[],_0x53fcfd=(_0x3f1a16,_0x200556)=>{if(!_0x4a529b['includes'](_0x3f1a16))return _0x4a529b['push'](_0x3f1a16),_0x134dda['allActions'](_0x3f1a16,_0x14cad4=>{if(0x60000&_0x14cad4);else{if(0x10000&_0x14cad4){let _0x3b47f7=(_0x14cad4>>0x13)-_0x200556;if(_0x3b47f7>0x1){let _0x8fad66=0xffff&_0x14cad4,_0x281d3d=this['stack']['length']-0x3*_0x3b47f7;if(_0x281d3d>=0x0&&_0x134dda['getGoto'](this['stack'][_0x281d3d],_0x8fad66,!0x1)>=0x0)return _0x3b47f7<<0x13|0x10000|_0x8fad66;}}else{let _0x1a1003=_0x53fcfd(_0x14cad4,_0x200556+0x1);if(null!=_0x1a1003)return _0x1a1003;}}});};return _0x53fcfd(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:_0x377278}=this['p'];return 0xffff==_0x377278['data'][_0x377278['stateSlot'](this['state'],0x1)]&&!_0x377278['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x354d38){if(this['state']!=_0x354d38['state']||this['stack']['length']!=_0x354d38['stack']['length'])return!0x1;for(let _0x1cc8df=0x0;_0x1cc8df<this['stack']['length'];_0x1cc8df+=0x3)if(this['stack'][_0x1cc8df]!=_0x354d38['stack'][_0x1cc8df])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x7870c5){return this['p']['parser']['dialect']['flags'][_0x7870c5];}['shiftContext'](_0x32d327,_0x53d750){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x32d327,this,this['p']['stream']['reset'](_0x53d750)));}['reduceContext'](_0x29a5f2,_0x5704e3){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x29a5f2,this,this['p']['stream']['reset'](_0x5704e3)));}['emitContext'](){let _0x3f0dc0=this['buffer']['length']-0x1;(_0x3f0dc0<0x0||-0x3!=this['buffer'][_0x3f0dc0])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x551986=this['buffer']['length']-0x1;(_0x551986<0x0||-0x4!=this['buffer'][_0x551986])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x35ac21){if(_0x35ac21!=this['curContext']['context']){let _0x38337f=new StackContext(this['curContext']['tracker'],_0x35ac21);_0x38337f['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x38337f;}}['setLookAhead'](_0x6d790c){_0x6d790c>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x6d790c);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x2f8522,_0x3f0700){this['tracker']=_0x2f8522,this['context']=_0x3f0700,this['hash']=_0x2f8522['strict']?_0x2f8522['hash'](_0x3f0700):0x0;}}class SimulatedStack{constructor(_0x2baa7d){this['start']=_0x2baa7d,this['state']=_0x2baa7d['state'],this['stack']=_0x2baa7d['stack'],this['base']=this['stack']['length'];}['reduce'](_0x33037b){let _0x35f397=0xffff&_0x33037b,_0x3a7de7=_0x33037b>>0x13;0x0==_0x3a7de7?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x3a7de7-0x1);let _0x1da586=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x35f397,!0x0);this['state']=_0x1da586;}}class StackBufferCursor{constructor(_0x4c02ca,_0x3f7fd1,_0x5ab268){this['stack']=_0x4c02ca,this['pos']=_0x3f7fd1,this['index']=_0x5ab268,this['buffer']=_0x4c02ca['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x3db70a,_0x490537=_0x3db70a['bufferBase']+_0x3db70a['buffer']['length']){return new StackBufferCursor(_0x3db70a,_0x490537,_0x490537-_0x3db70a['bufferBase']);}['maybeNext'](){let _0x337c4f=this['stack']['parent'];null!=_0x337c4f&&(this['index']=this['stack']['bufferBase']-_0x337c4f['bufferBase'],this['stack']=_0x337c4f,this['buffer']=_0x337c4f['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 tM(_0x1f5bce,_0x3ef883=Uint16Array){if('string'!=typeof _0x1f5bce)return _0x1f5bce;let _0x324996=null;for(let _0x1af3b4=0x0,_0x3c3e29=0x0;_0x1af3b4<_0x1f5bce['length'];){let _0x119b38=0x0;for(;;){let _0x3d4561=_0x1f5bce['charCodeAt'](_0x1af3b4++),_0x429edf=!0x1;if(0x7e==_0x3d4561){_0x119b38=0xffff;break;}_0x3d4561>=0x5c&&_0x3d4561--,_0x3d4561>=0x22&&_0x3d4561--;let _0x1c91fe=_0x3d4561-0x20;if(_0x1c91fe>=0x2e&&(_0x1c91fe-=0x2e,_0x429edf=!0x0),_0x119b38+=_0x1c91fe,_0x429edf)break;_0x119b38*=0x2e;}_0x324996?_0x324996[_0x3c3e29++]=_0x119b38:_0x324996=new _0x3ef883(_0x119b38);}return _0x324996;}class CachedToken{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const eM=new CachedToken();class InputStream{constructor(_0x3c81f0,_0x2bdcac){this['input']=_0x3c81f0,this['ranges']=_0x2bdcac,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=eM,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x2bdcac[0x0]['from'],this['range']=_0x2bdcac[0x0],this['end']=_0x2bdcac[_0x2bdcac['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x40090e,_0x177c77){let _0x13c9f1=this['range'],_0x4d278a=this['rangeIndex'],_0x583460=this['pos']+_0x40090e;for(;_0x583460<_0x13c9f1['from'];){if(!_0x4d278a)return null;let _0x527e44=this['ranges'][--_0x4d278a];_0x583460-=_0x13c9f1['from']-_0x527e44['to'],_0x13c9f1=_0x527e44;}for(;_0x177c77<0x0?_0x583460>_0x13c9f1['to']:_0x583460>=_0x13c9f1['to'];){if(_0x4d278a==this['ranges']['length']-0x1)return null;let _0x1bf08d=this['ranges'][++_0x4d278a];_0x583460+=_0x1bf08d['from']-_0x13c9f1['to'],_0x13c9f1=_0x1bf08d;}return _0x583460;}['clipPos'](_0x4a82e0){if(_0x4a82e0>=this['range']['from']&&_0x4a82e0<this['range']['to'])return _0x4a82e0;for(let _0x545cd4 of this['ranges'])if(_0x545cd4['to']>_0x4a82e0)return Math['max'](_0x4a82e0,_0x545cd4['from']);return this['end'];}['peek'](_0x38ae1c){let _0x61f062,_0x3c0ef4,_0x250f04=this['chunkOff']+_0x38ae1c;if(_0x250f04>=0x0&&_0x250f04<this['chunk']['length'])_0x61f062=this['pos']+_0x38ae1c,_0x3c0ef4=this['chunk']['charCodeAt'](_0x250f04);else{let _0x134626=this['resolveOffset'](_0x38ae1c,0x1);if(null==_0x134626)return-0x1;if(_0x61f062=_0x134626,_0x61f062>=this['chunk2Pos']&&_0x61f062<this['chunk2Pos']+this['chunk2']['length'])_0x3c0ef4=this['chunk2']['charCodeAt'](_0x61f062-this['chunk2Pos']);else{let _0x21b0c6=this['rangeIndex'],_0x378a65=this['range'];for(;_0x378a65['to']<=_0x61f062;)_0x378a65=this['ranges'][++_0x21b0c6];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x61f062),_0x61f062+this['chunk2']['length']>_0x378a65['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x378a65['to']-_0x61f062)),_0x3c0ef4=this['chunk2']['charCodeAt'](0x0);}}return _0x61f062>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x61f062+0x1),_0x3c0ef4;}['acceptToken'](_0x483a9e,_0x1fd5cf=0x0){let _0x42d97a=_0x1fd5cf?this['resolveOffset'](_0x1fd5cf,-0x1):this['pos'];if(null==_0x42d97a||_0x42d97a<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x483a9e,this['token']['end']=_0x42d97a;}['acceptTokenTo'](_0x5d3043,_0x5d387c){this['token']['value']=_0x5d3043,this['token']['end']=_0x5d387c;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x4dce97,chunkPos:_0x3c101d}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x4dce97,this['chunk2Pos']=_0x3c101d,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x8fc132=this['input']['chunk'](this['pos']),_0x1bf8e0=this['pos']+_0x8fc132['length'];this['chunk']=_0x1bf8e0>this['range']['to']?_0x8fc132['slice'](0x0,this['range']['to']-this['pos']):_0x8fc132,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'](_0x43fde4=0x1){for(this['chunkOff']+=_0x43fde4;this['pos']+_0x43fde4>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x43fde4-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x43fde4,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'](_0x2d28d8,_0x47a846){if(_0x47a846?(this['token']=_0x47a846,_0x47a846['start']=_0x2d28d8,_0x47a846['lookAhead']=_0x2d28d8+0x1,_0x47a846['value']=_0x47a846['extended']=-0x1):this['token']=eM,this['pos']!=_0x2d28d8){if(this['pos']=_0x2d28d8,_0x2d28d8==this['end'])return this['setDone'](),this;for(;_0x2d28d8<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x2d28d8>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x2d28d8>=this['chunkPos']&&_0x2d28d8<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x2d28d8-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x1f93a0,_0x55934e){if(_0x1f93a0>=this['chunkPos']&&_0x55934e<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x1f93a0-this['chunkPos'],_0x55934e-this['chunkPos']);if(_0x1f93a0>=this['chunk2Pos']&&_0x55934e<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x1f93a0-this['chunk2Pos'],_0x55934e-this['chunk2Pos']);if(_0x1f93a0>=this['range']['from']&&_0x55934e<=this['range']['to'])return this['input']['read'](_0x1f93a0,_0x55934e);let _0x2ce2f3='';for(let _0x273adf of this['ranges']){if(_0x273adf['from']>=_0x55934e)break;_0x273adf['to']>_0x1f93a0&&(_0x2ce2f3+=this['input']['read'](Math['max'](_0x273adf['from'],_0x1f93a0),Math['min'](_0x273adf['to'],_0x55934e)));}return _0x2ce2f3;}}class TokenGroup{constructor(_0x3bb89d,_0x234554){this['data']=_0x3bb89d,this['id']=_0x234554;}['token'](_0x137329,_0x55ca5a){let {parser:_0x23e3b6}=_0x55ca5a['p'];iM(this['data'],_0x137329,_0x55ca5a,this['id'],_0x23e3b6['data'],_0x23e3b6['tokenPrecTable']);}}TokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class LocalTokenGroup{constructor(_0x2a4a68,_0x42aaba,_0x337bde){this['precTable']=_0x42aaba,this['elseToken']=_0x337bde,this['data']='string'==typeof _0x2a4a68?tM(_0x2a4a68):_0x2a4a68;}['token'](_0xf6c0f3,_0x17cbb4){let _0x402a4f=_0xf6c0f3['pos'],_0x5bd760=0x0;for(;;){let _0x7c99f1=_0xf6c0f3['next']<0x0,_0xfb24b8=_0xf6c0f3['resolveOffset'](0x1,0x1);if(iM(this['data'],_0xf6c0f3,_0x17cbb4,0x0,this['data'],this['precTable']),_0xf6c0f3['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x7c99f1||_0x5bd760++,null==_0xfb24b8)break;_0xf6c0f3['reset'](_0xfb24b8,_0xf6c0f3['token']);}_0x5bd760&&(_0xf6c0f3['reset'](_0x402a4f,_0xf6c0f3['token']),_0xf6c0f3['acceptToken'](this['elseToken'],_0x5bd760));}}LocalTokenGroup['prototype']['contextual']=TokenGroup['prototype']['fallback']=TokenGroup['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x3c3de0,_0x2a719b={}){this['token']=_0x3c3de0,this['contextual']=!!_0x2a719b['contextual'],this['fallback']=!!_0x2a719b['fallback'],this['extend']=!!_0x2a719b['extend'];}}function iM(_0x1efdd5,_0x2a2a16,_0x3e4dd5,_0x2fa08f,_0x2dbdeb,_0x275ce8){let _0x116889=0x0,_0x1dbb25=0x1<<_0x2fa08f,{dialect:_0x40e7ee}=_0x3e4dd5['p']['parser'];t:for(;0x0!=(_0x1dbb25&_0x1efdd5[_0x116889]);){let _0x437512=_0x1efdd5[_0x116889+0x1];for(let _0x279689=_0x116889+0x3;_0x279689<_0x437512;_0x279689+=0x2)if((_0x1efdd5[_0x279689+0x1]&_0x1dbb25)>0x0){let _0x2dd13b=_0x1efdd5[_0x279689];if(_0x40e7ee['allows'](_0x2dd13b)&&(-0x1==_0x2a2a16['token']['value']||_0x2a2a16['token']['value']==_0x2dd13b||nM(_0x2dd13b,_0x2a2a16['token']['value'],_0x2dbdeb,_0x275ce8))){_0x2a2a16['acceptToken'](_0x2dd13b);break;}}let _0x17b2f8=_0x2a2a16['next'],_0x1f4a0e=0x0,_0x97d61=_0x1efdd5[_0x116889+0x2];if(!(_0x2a2a16['next']<0x0&&_0x97d61>_0x1f4a0e&&0xffff==_0x1efdd5[_0x437512+0x3*_0x97d61-0x3])){for(;_0x1f4a0e<_0x97d61;){let _0x336839=_0x1f4a0e+_0x97d61>>0x1,_0x243449=_0x437512+_0x336839+(_0x336839<<0x1),_0x2dfafc=_0x1efdd5[_0x243449],_0x3e008d=_0x1efdd5[_0x243449+0x1]||0x10000;if(_0x17b2f8<_0x2dfafc)_0x97d61=_0x336839;else{if(!(_0x17b2f8>=_0x3e008d)){_0x116889=_0x1efdd5[_0x243449+0x2],_0x2a2a16['advance']();continue t;}_0x1f4a0e=_0x336839+0x1;}}break;}_0x116889=_0x1efdd5[_0x437512+0x3*_0x97d61-0x1];}}function sM(_0x285412,_0x2d4254,_0x242a7c){for(let _0x45281b,_0x12ad95=_0x2d4254;0xffff!=(_0x45281b=_0x285412[_0x12ad95]);_0x12ad95++)if(_0x45281b==_0x242a7c)return _0x12ad95-_0x2d4254;return-0x1;}function nM(_0x17ba67,_0x1e62dc,_0x4fb890,_0x68751e){let _0x46e6ed=sM(_0x4fb890,_0x68751e,_0x1e62dc);return _0x46e6ed<0x0||sM(_0x4fb890,_0x68751e,_0x17ba67)<_0x46e6ed;}const rM='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let oM=null;function aM(_0x2b79c1,_0x1e5d51,_0x5a2517){let _0x244707=_0x2b79c1['cursor'](sC['IncludeAnonymous']);for(_0x244707['moveTo'](_0x1e5d51);;)if(!(_0x5a2517<0x0?_0x244707['childBefore'](_0x1e5d51):_0x244707['childAfter'](_0x1e5d51)))for(;;){if((_0x5a2517<0x0?_0x244707['to']<_0x1e5d51:_0x244707['from']>_0x1e5d51)&&!_0x244707['type']['isError'])return _0x5a2517<0x0?Math['max'](0x0,Math['min'](_0x244707['to']-0x1,_0x1e5d51-0x19)):Math['min'](_0x2b79c1['length'],Math['max'](_0x244707['from']+0x1,_0x1e5d51+0x19));if(_0x5a2517<0x0?_0x244707['prevSibling']():_0x244707['nextSibling']())break;if(!_0x244707['parent']())return _0x5a2517<0x0?0x0:_0x2b79c1['length'];}}let cM=class FragmentCursor{constructor(_0x28d1f6,_0x47b26c){this['fragments']=_0x28d1f6,this['nodeSet']=_0x47b26c,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0xbbd44e=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0xbbd44e){for(this['safeFrom']=_0xbbd44e['openStart']?aM(_0xbbd44e['tree'],_0xbbd44e['from']+_0xbbd44e['offset'],0x1)-_0xbbd44e['offset']:_0xbbd44e['from'],this['safeTo']=_0xbbd44e['openEnd']?aM(_0xbbd44e['tree'],_0xbbd44e['to']+_0xbbd44e['offset'],-0x1)-_0xbbd44e['offset']:_0xbbd44e['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0xbbd44e['tree']),this['start']['push'](-_0xbbd44e['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x543d07){if(_0x543d07<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x543d07;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x333cc8=this['trees']['length']-0x1;if(_0x333cc8<0x0)return this['nextFragment'](),null;let _0x52239b=this['trees'][_0x333cc8],_0x5d5094=this['index'][_0x333cc8];if(_0x5d5094==_0x52239b['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x2f5572=_0x52239b['children'][_0x5d5094],_0x6613f5=this['start'][_0x333cc8]+_0x52239b['positions'][_0x5d5094];if(_0x6613f5>_0x543d07)return this['nextStart']=_0x6613f5,null;if(_0x2f5572 instanceof Tree){if(_0x6613f5==_0x543d07){if(_0x6613f5<this['safeFrom'])return null;let _0x249e76=_0x6613f5+_0x2f5572['length'];if(_0x249e76<=this['safeTo']){let _0x110722=_0x2f5572['prop'](NodeProp['lookAhead']);if(!_0x110722||_0x249e76+_0x110722<this['fragment']['to'])return _0x2f5572;}}this['index'][_0x333cc8]++,_0x6613f5+_0x2f5572['length']>=Math['max'](this['safeFrom'],_0x543d07)&&(this['trees']['push'](_0x2f5572),this['start']['push'](_0x6613f5),this['index']['push'](0x0));}else this['index'][_0x333cc8]++,this['nextStart']=_0x6613f5+_0x2f5572['length'];}}};class TokenCache{constructor(_0x36d166,_0x3e8b85){this['stream']=_0x3e8b85,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x36d166['tokenizers']['map'](_0x55b334=>new CachedToken());}['getActions'](_0x71224d){let _0x46f7e6=0x0,_0x30ae00=null,{parser:_0x286cac}=_0x71224d['p'],{tokenizers:_0x4b58bb}=_0x286cac,_0x208a15=_0x286cac['stateSlot'](_0x71224d['state'],0x3),_0x240722=_0x71224d['curContext']?_0x71224d['curContext']['hash']:0x0,_0x2ff806=0x0;for(let _0xfebbff=0x0;_0xfebbff<_0x4b58bb['length'];_0xfebbff++){if(!(0x1<<_0xfebbff&_0x208a15))continue;let _0x2dea57=_0x4b58bb[_0xfebbff],_0x1e5874=this['tokens'][_0xfebbff];if((!_0x30ae00||_0x2dea57['fallback'])&&((_0x2dea57['contextual']||_0x1e5874['start']!=_0x71224d['pos']||_0x1e5874['mask']!=_0x208a15||_0x1e5874['context']!=_0x240722)&&(this['updateCachedToken'](_0x1e5874,_0x2dea57,_0x71224d),_0x1e5874['mask']=_0x208a15,_0x1e5874['context']=_0x240722),_0x1e5874['lookAhead']>_0x1e5874['end']+0x19&&(_0x2ff806=Math['max'](_0x1e5874['lookAhead'],_0x2ff806)),0x0!=_0x1e5874['value'])){let _0x4d2bf9=_0x46f7e6;if(_0x1e5874['extended']>-0x1&&(_0x46f7e6=this['addActions'](_0x71224d,_0x1e5874['extended'],_0x1e5874['end'],_0x46f7e6)),_0x46f7e6=this['addActions'](_0x71224d,_0x1e5874['value'],_0x1e5874['end'],_0x46f7e6),!_0x2dea57['extend']&&(_0x30ae00=_0x1e5874,_0x46f7e6>_0x4d2bf9))break;}}for(;this['actions']['length']>_0x46f7e6;)this['actions']['pop']();return _0x2ff806&&_0x71224d['setLookAhead'](_0x2ff806),_0x30ae00||_0x71224d['pos']!=this['stream']['end']||(_0x30ae00=new CachedToken(),_0x30ae00['value']=_0x71224d['p']['parser']['eofTerm'],_0x30ae00['start']=_0x30ae00['end']=_0x71224d['pos'],_0x46f7e6=this['addActions'](_0x71224d,_0x30ae00['value'],_0x30ae00['end'],_0x46f7e6)),this['mainToken']=_0x30ae00,this['actions'];}['getMainToken'](_0x5d7ebe){if(this['mainToken'])return this['mainToken'];let _0x100114=new CachedToken(),{pos:_0x3e059d,p:_0x93e0e4}=_0x5d7ebe;return _0x100114['start']=_0x3e059d,_0x100114['end']=Math['min'](_0x3e059d+0x1,_0x93e0e4['stream']['end']),_0x100114['value']=_0x3e059d==_0x93e0e4['stream']['end']?_0x93e0e4['parser']['eofTerm']:0x0,_0x100114;}['updateCachedToken'](_0x2aa596,_0xf9f1db,_0x4259e5){let _0x19a54e=this['stream']['clipPos'](_0x4259e5['pos']);if(_0xf9f1db['token'](this['stream']['reset'](_0x19a54e,_0x2aa596),_0x4259e5),_0x2aa596['value']>-0x1){let {parser:_0x1cd714}=_0x4259e5['p'];for(let _0x3883da=0x0;_0x3883da<_0x1cd714['specialized']['length'];_0x3883da++)if(_0x1cd714['specialized'][_0x3883da]==_0x2aa596['value']){let _0x118f25=_0x1cd714['specializers'][_0x3883da](this['stream']['read'](_0x2aa596['start'],_0x2aa596['end']),_0x4259e5);if(_0x118f25>=0x0&&_0x4259e5['p']['parser']['dialect']['allows'](_0x118f25>>0x1)){0x1&_0x118f25?_0x2aa596['extended']=_0x118f25>>0x1:_0x2aa596['value']=_0x118f25>>0x1;break;}}}else _0x2aa596['value']=0x0,_0x2aa596['end']=this['stream']['clipPos'](_0x19a54e+0x1);}['putAction'](_0x519a8e,_0x4393d7,_0x26cbbb,_0x7e2bf8){for(let _0x30ef8d=0x0;_0x30ef8d<_0x7e2bf8;_0x30ef8d+=0x3)if(this['actions'][_0x30ef8d]==_0x519a8e)return _0x7e2bf8;return this['actions'][_0x7e2bf8++]=_0x519a8e,this['actions'][_0x7e2bf8++]=_0x4393d7,this['actions'][_0x7e2bf8++]=_0x26cbbb,_0x7e2bf8;}['addActions'](_0x38724b,_0x436af2,_0x27b636,_0x573cc2){let {state:_0x3bc1ca}=_0x38724b,{parser:_0xfa77c}=_0x38724b['p'],{data:_0x1ee120}=_0xfa77c;for(let _0x16ebd3=0x0;_0x16ebd3<0x2;_0x16ebd3++)for(let _0x3cdb81=_0xfa77c['stateSlot'](_0x3bc1ca,_0x16ebd3?0x2:0x1);;_0x3cdb81+=0x3){if(0xffff==_0x1ee120[_0x3cdb81]){if(0x1!=_0x1ee120[_0x3cdb81+0x1]){0x0==_0x573cc2&&0x2==_0x1ee120[_0x3cdb81+0x1]&&(_0x573cc2=this['putAction'](uM(_0x1ee120,_0x3cdb81+0x2),_0x436af2,_0x27b636,_0x573cc2));break;}_0x3cdb81=uM(_0x1ee120,_0x3cdb81+0x2);}_0x1ee120[_0x3cdb81]==_0x436af2&&(_0x573cc2=this['putAction'](uM(_0x1ee120,_0x3cdb81+0x1),_0x436af2,_0x27b636,_0x573cc2));}return _0x573cc2;}}class Parse{constructor(_0x25d2c0,_0x14c1f5,_0xe03219,_0x1ee49f){this['parser']=_0x25d2c0,this['input']=_0x14c1f5,this['ranges']=_0x1ee49f,this['recovering']=0x0,this['nextStackID']=0x2654,this['minStackPos']=0x0,this['reused']=[],this['stoppedAt']=null,this['lastBigReductionStart']=-0x1,this['lastBigReductionSize']=0x0,this['bigReductionCount']=0x0,this['stream']=new InputStream(_0x14c1f5,_0x1ee49f),this['tokens']=new TokenCache(_0x25d2c0,this['stream']),this['topTerm']=_0x25d2c0['top'][0x1];let {from:_0x22675d}=_0x1ee49f[0x0];this['stacks']=[Stack['start'](this,_0x25d2c0['top'][0x0],_0x22675d)],this['fragments']=_0xe03219['length']&&this['stream']['end']-_0x22675d>0x4*_0x25d2c0['bufferLength']?new cM(_0xe03219,_0x25d2c0['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x35dcaf,_0x502f1d,_0x11702e=this['stacks'],_0x26ebd1=this['minStackPos'],_0x48afbc=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x11702e['length']){let [_0x13e016]=_0x11702e;for(;_0x13e016['forceReduce']()&&_0x13e016['stack']['length']&&_0x13e016['stack'][_0x13e016['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x4857f1=0x0;_0x4857f1<_0x11702e['length'];_0x4857f1++){let _0x3a5fbb=_0x11702e[_0x4857f1];for(;;){if(this['tokens']['mainToken']=null,_0x3a5fbb['pos']>_0x26ebd1)_0x48afbc['push'](_0x3a5fbb);else{if(this['advanceStack'](_0x3a5fbb,_0x48afbc,_0x11702e))continue;{_0x35dcaf||(_0x35dcaf=[],_0x502f1d=[]),_0x35dcaf['push'](_0x3a5fbb);let _0x59a83a=this['tokens']['getMainToken'](_0x3a5fbb);_0x502f1d['push'](_0x59a83a['value'],_0x59a83a['end']);}}break;}}if(!_0x48afbc['length']){let _0x57746e=_0x35dcaf&&function(_0x458d91){let _0x26e716=null;for(let _0x5821df of _0x458d91){let _0x38e0e4=_0x5821df['p']['stoppedAt'];(_0x5821df['pos']==_0x5821df['p']['stream']['end']||null!=_0x38e0e4&&_0x5821df['pos']>_0x38e0e4)&&_0x5821df['p']['parser']['stateFlag'](_0x5821df['state'],0x2)&&(!_0x26e716||_0x26e716['score']<_0x5821df['score'])&&(_0x26e716=_0x5821df);}return _0x26e716;}(_0x35dcaf);if(_0x57746e)return rM&&console['log']('Finish\x20with\x20'+this['stackID'](_0x57746e)),this['stackToTree'](_0x57746e);if(this['parser']['strict'])throw rM&&_0x35dcaf&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x26ebd1);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x35dcaf){let _0x2dee9d=null!=this['stoppedAt']&&_0x35dcaf[0x0]['pos']>this['stoppedAt']?_0x35dcaf[0x0]:this['runRecovery'](_0x35dcaf,_0x502f1d,_0x48afbc);if(_0x2dee9d)return rM&&console['log']('Force-finish\x20'+this['stackID'](_0x2dee9d)),this['stackToTree'](_0x2dee9d['forceAll']());}if(this['recovering']){let _0x1e5ba1=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x48afbc['length']>_0x1e5ba1){for(_0x48afbc['sort']((_0x51b0bc,_0x26ece2)=>_0x26ece2['score']-_0x51b0bc['score']);_0x48afbc['length']>_0x1e5ba1;)_0x48afbc['pop']();}_0x48afbc['some'](_0x1e1af1=>_0x1e1af1['reducePos']>_0x26ebd1)&&this['recovering']--;}else{if(_0x48afbc['length']>0x1){t:for(let _0x513975=0x0;_0x513975<_0x48afbc['length']-0x1;_0x513975++){let _0xc56443=_0x48afbc[_0x513975];for(let _0x309004=_0x513975+0x1;_0x309004<_0x48afbc['length'];_0x309004++){let _0x19af3c=_0x48afbc[_0x309004];if(_0xc56443['sameState'](_0x19af3c)||_0xc56443['buffer']['length']>0x1f4&&_0x19af3c['buffer']['length']>0x1f4){if(!((_0xc56443['score']-_0x19af3c['score']||_0xc56443['buffer']['length']-_0x19af3c['buffer']['length'])>0x0)){_0x48afbc['splice'](_0x513975--,0x1);continue t;}_0x48afbc['splice'](_0x309004--,0x1);}}}_0x48afbc['length']>0xc&&_0x48afbc['splice'](0xc,_0x48afbc['length']-0xc);}}this['minStackPos']=_0x48afbc[0x0]['pos'];for(let _0x4085ff=0x1;_0x4085ff<_0x48afbc['length'];_0x4085ff++)_0x48afbc[_0x4085ff]['pos']<this['minStackPos']&&(this['minStackPos']=_0x48afbc[_0x4085ff]['pos']);return null;}['stopAt'](_0x1a7811){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x1a7811)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x1a7811;}['advanceStack'](_0x3af733,_0x2af918,_0x45cf07){let _0x19500d=_0x3af733['pos'],{parser:_0x57a53a}=this,_0x55dc57=rM?this['stackID'](_0x3af733)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x19500d>this['stoppedAt'])return _0x3af733['forceReduce']()?_0x3af733:null;if(this['fragments']){let _0x4956a4=_0x3af733['curContext']&&_0x3af733['curContext']['tracker']['strict'],_0xd88847=_0x4956a4?_0x3af733['curContext']['hash']:0x0;for(let _0x112f9a=this['fragments']['nodeAt'](_0x19500d);_0x112f9a;){let _0x186e24=this['parser']['nodeSet']['types'][_0x112f9a['type']['id']]==_0x112f9a['type']?_0x57a53a['getGoto'](_0x3af733['state'],_0x112f9a['type']['id']):-0x1;if(_0x186e24>-0x1&&_0x112f9a['length']&&(!_0x4956a4||(_0x112f9a['prop'](NodeProp['contextHash'])||0x0)==_0xd88847))return _0x3af733['useNode'](_0x112f9a,_0x186e24),rM&&console['log'](_0x55dc57+this['stackID'](_0x3af733)+('\x20(via\x20reuse\x20of\x20'+_0x57a53a['getName'](_0x112f9a['type']['id'])+')')),!0x0;if(!(_0x112f9a instanceof Tree)||0x0==_0x112f9a['children']['length']||_0x112f9a['positions'][0x0]>0x0)break;let _0x279841=_0x112f9a['children'][0x0];if(!(_0x279841 instanceof Tree&&0x0==_0x112f9a['positions'][0x0]))break;_0x112f9a=_0x279841;}}let _0x460eda=_0x57a53a['stateSlot'](_0x3af733['state'],0x4);if(_0x460eda>0x0)return _0x3af733['reduce'](_0x460eda),rM&&console['log'](_0x55dc57+this['stackID'](_0x3af733)+('\x20(via\x20always-reduce\x20'+_0x57a53a['getName'](0xffff&_0x460eda)+')')),!0x0;if(_0x3af733['stack']['length']>=0x20d0){for(;_0x3af733['stack']['length']>0x1770&&_0x3af733['forceReduce'](););}let _0x1e8f0d=this['tokens']['getActions'](_0x3af733);for(let _0x25cf4d=0x0;_0x25cf4d<_0x1e8f0d['length'];){let _0x3c1f02=_0x1e8f0d[_0x25cf4d++],_0x559352=_0x1e8f0d[_0x25cf4d++],_0x5806cc=_0x1e8f0d[_0x25cf4d++],_0x304a2f=_0x25cf4d==_0x1e8f0d['length']||!_0x45cf07,_0x3b94ea=_0x304a2f?_0x3af733:_0x3af733['split'](),_0x1a6bb0=this['tokens']['mainToken'];if(_0x3b94ea['apply'](_0x3c1f02,_0x559352,_0x1a6bb0?_0x1a6bb0['start']:_0x3b94ea['pos'],_0x5806cc),rM&&console['log'](_0x55dc57+this['stackID'](_0x3b94ea)+('\x20(via\x20'+(0x10000&_0x3c1f02?'reduce\x20of\x20'+_0x57a53a['getName'](0xffff&_0x3c1f02):'shift')+'\x20for\x20'+_0x57a53a['getName'](_0x559352)+'\x20@\x20'+_0x19500d+(_0x3b94ea==_0x3af733?'':',\x20split')+')')),_0x304a2f)return!0x0;_0x3b94ea['pos']>_0x19500d?_0x2af918['push'](_0x3b94ea):_0x45cf07['push'](_0x3b94ea);}return!0x1;}['advanceFully'](_0x47dd9e,_0x5b413f){let _0x208ade=_0x47dd9e['pos'];for(;;){if(!this['advanceStack'](_0x47dd9e,null,null))return!0x1;if(_0x47dd9e['pos']>_0x208ade)return lM(_0x47dd9e,_0x5b413f),!0x0;}}['runRecovery'](_0x5ea23a,_0x27bfcd,_0x53aca6){let _0x1d3876=null,_0x5b5241=!0x1;for(let _0x59c084=0x0;_0x59c084<_0x5ea23a['length'];_0x59c084++){let _0x315bb1=_0x5ea23a[_0x59c084],_0x3cb78d=_0x27bfcd[_0x59c084<<0x1],_0x20d191=_0x27bfcd[0x1+(_0x59c084<<0x1)],_0x1a0446=rM?this['stackID'](_0x315bb1)+'\x20->\x20':'';if(_0x315bb1['deadEnd']){if(_0x5b5241)continue;if(_0x5b5241=!0x0,_0x315bb1['restart'](),rM&&console['log'](_0x1a0446+this['stackID'](_0x315bb1)+'\x20(restarted)'),this['advanceFully'](_0x315bb1,_0x53aca6))continue;}let _0x32ef3a=_0x315bb1['split'](),_0x493f40=_0x1a0446;for(let _0x445b16=0x0;_0x445b16<0xa&&_0x32ef3a['forceReduce']();_0x445b16++){if(rM&&console['log'](_0x493f40+this['stackID'](_0x32ef3a)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x32ef3a,_0x53aca6))break;rM&&(_0x493f40=this['stackID'](_0x32ef3a)+'\x20->\x20');}for(let _0x1319d1 of _0x315bb1['recoverByInsert'](_0x3cb78d))rM&&console['log'](_0x1a0446+this['stackID'](_0x1319d1)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x1319d1,_0x53aca6);this['stream']['end']>_0x315bb1['pos']?(_0x20d191==_0x315bb1['pos']&&(_0x20d191++,_0x3cb78d=0x0),_0x315bb1['recoverByDelete'](_0x3cb78d,_0x20d191),rM&&console['log'](_0x1a0446+this['stackID'](_0x315bb1)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x3cb78d)+')')),lM(_0x315bb1,_0x53aca6)):(!_0x1d3876||_0x1d3876['score']<_0x315bb1['score'])&&(_0x1d3876=_0x315bb1);}return _0x1d3876;}['stackToTree'](_0x3885f2){return _0x3885f2['close'](),Tree['build']({'buffer':StackBufferCursor['create'](_0x3885f2),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x3885f2['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x270714){let _0x1d72b3=(oM||(oM=new WeakMap()))['get'](_0x270714);return _0x1d72b3||oM['set'](_0x270714,_0x1d72b3=String['fromCodePoint'](this['nextStackID']++)),_0x1d72b3+_0x270714;}}function lM(_0x9eaf99,_0x2c439c){for(let _0x54fba7=0x0;_0x54fba7<_0x2c439c['length'];_0x54fba7++){let _0xd76716=_0x2c439c[_0x54fba7];if(_0xd76716['pos']==_0x9eaf99['pos']&&_0xd76716['sameState'](_0x9eaf99))return void(_0x2c439c[_0x54fba7]['score']<_0x9eaf99['score']&&(_0x2c439c[_0x54fba7]=_0x9eaf99));}_0x2c439c['push'](_0x9eaf99);}class Dialect{constructor(_0x32b97,_0xdb973f,_0x18453c){this['source']=_0x32b97,this['flags']=_0xdb973f,this['disabled']=_0x18453c;}['allows'](_0x394e3e){return!this['disabled']||0x0==this['disabled'][_0x394e3e];}}const hM=_0x70806d=>_0x70806d;class ContextTracker{constructor(_0x4c4f00){this['start']=_0x4c4f00['start'],this['shift']=_0x4c4f00['shift']||hM,this['reduce']=_0x4c4f00['reduce']||hM,this['reuse']=_0x4c4f00['reuse']||hM,this['hash']=_0x4c4f00['hash']||(()=>0x0),this['strict']=!0x1!==_0x4c4f00['strict'];}}class LRParser extends Parser{constructor(_0x4970f5){if(super(),this['wrappers']=[],0xe!=_0x4970f5['version'])throw new RangeError('Parser\x20version\x20('+_0x4970f5['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x554d4c=_0x4970f5['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x554d4c['length'];for(let _0x2df80f=0x0;_0x2df80f<_0x4970f5['repeatNodeCount'];_0x2df80f++)_0x554d4c['push']('');let _0x3d075e=Object['keys'](_0x4970f5['topRules'])['map'](_0x4277e0=>_0x4970f5['topRules'][_0x4277e0][0x1]),_0x3c5fc4=[];for(let _0x4e8342=0x0;_0x4e8342<_0x554d4c['length'];_0x4e8342++)_0x3c5fc4['push']([]);function _0x1446c8(_0x584568,_0x4cb484,_0xaabaab){_0x3c5fc4[_0x584568]['push']([_0x4cb484,_0x4cb484['deserialize'](String(_0xaabaab))]);}if(_0x4970f5['nodeProps'])for(let _0x4f517b of _0x4970f5['nodeProps']){let _0x2e8be9=_0x4f517b[0x0];'string'==typeof _0x2e8be9&&(_0x2e8be9=NodeProp[_0x2e8be9]);for(let _0xb76268=0x1;_0xb76268<_0x4f517b['length'];){let _0x56fdd1=_0x4f517b[_0xb76268++];if(_0x56fdd1>=0x0)_0x1446c8(_0x56fdd1,_0x2e8be9,_0x4f517b[_0xb76268++]);else{let _0x51618a=_0x4f517b[_0xb76268+-_0x56fdd1];for(let _0x3bfe3d=-_0x56fdd1;_0x3bfe3d>0x0;_0x3bfe3d--)_0x1446c8(_0x4f517b[_0xb76268++],_0x2e8be9,_0x51618a);_0xb76268++;}}}this['nodeSet']=new NodeSet(_0x554d4c['map']((_0x129dad,_0x5ead2b)=>NodeType['define']({'name':_0x5ead2b>=this['minRepeatTerm']?void 0x0:_0x129dad,'id':_0x5ead2b,'props':_0x3c5fc4[_0x5ead2b],'top':_0x3d075e['indexOf'](_0x5ead2b)>-0x1,'error':0x0==_0x5ead2b,'skipped':_0x4970f5['skippedNodes']&&_0x4970f5['skippedNodes']['indexOf'](_0x5ead2b)>-0x1}))),_0x4970f5['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x4970f5['propSources'])),this['strict']=!0x1,this['bufferLength']=KS;let _0x1938c0=tM(_0x4970f5['tokenData']);this['context']=_0x4970f5['context'],this['specializerSpecs']=_0x4970f5['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x1190cb=0x0;_0x1190cb<this['specializerSpecs']['length'];_0x1190cb++)this['specialized'][_0x1190cb]=this['specializerSpecs'][_0x1190cb]['term'];this['specializers']=this['specializerSpecs']['map'](dM),this['states']=tM(_0x4970f5['states'],Uint32Array),this['data']=tM(_0x4970f5['stateData']),this['goto']=tM(_0x4970f5['goto']),this['maxTerm']=_0x4970f5['maxTerm'],this['tokenizers']=_0x4970f5['tokenizers']['map'](_0x28c4a1=>'number'==typeof _0x28c4a1?new TokenGroup(_0x1938c0,_0x28c4a1):_0x28c4a1),this['topRules']=_0x4970f5['topRules'],this['dialects']=_0x4970f5['dialects']||{},this['dynamicPrecedences']=_0x4970f5['dynamicPrecedences']||null,this['tokenPrecTable']=_0x4970f5['tokenPrec'],this['termNames']=_0x4970f5['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x2950f7,_0x2143ce,_0x38b2aa){let _0x29efc4=new Parse(this,_0x2950f7,_0x2143ce,_0x38b2aa);for(let _0x23ad09 of this['wrappers'])_0x29efc4=_0x23ad09(_0x29efc4,_0x2950f7,_0x2143ce,_0x38b2aa);return _0x29efc4;}['getGoto'](_0x8114eb,_0x12c383,_0x2f778a=!0x1){let _0x57ffed=this['goto'];if(_0x12c383>=_0x57ffed[0x0])return-0x1;for(let _0x2e85f3=_0x57ffed[_0x12c383+0x1];;){let _0x19b018=_0x57ffed[_0x2e85f3++],_0x3d3bf6=0x1&_0x19b018,_0x2b4b7e=_0x57ffed[_0x2e85f3++];if(_0x3d3bf6&&_0x2f778a)return _0x2b4b7e;for(let _0x590c1c=_0x2e85f3+(_0x19b018>>0x1);_0x2e85f3<_0x590c1c;_0x2e85f3++)if(_0x57ffed[_0x2e85f3]==_0x8114eb)return _0x2b4b7e;if(_0x3d3bf6)return-0x1;}}['hasAction'](_0x2c93d9,_0x2dc51e){let _0x2609b9=this['data'];for(let _0xb98f31=0x0;_0xb98f31<0x2;_0xb98f31++)for(let _0x552f5e,_0x2d768e=this['stateSlot'](_0x2c93d9,_0xb98f31?0x2:0x1);;_0x2d768e+=0x3){if(0xffff==(_0x552f5e=_0x2609b9[_0x2d768e])){if(0x1!=_0x2609b9[_0x2d768e+0x1]){if(0x2==_0x2609b9[_0x2d768e+0x1])return uM(_0x2609b9,_0x2d768e+0x2);break;}_0x552f5e=_0x2609b9[_0x2d768e=uM(_0x2609b9,_0x2d768e+0x2)];}if(_0x552f5e==_0x2dc51e||0x0==_0x552f5e)return uM(_0x2609b9,_0x2d768e+0x1);}return 0x0;}['stateSlot'](_0x3755fd,_0x423214){return this['states'][0x6*_0x3755fd+_0x423214];}['stateFlag'](_0x41eb93,_0x14a306){return(this['stateSlot'](_0x41eb93,0x0)&_0x14a306)>0x0;}['validAction'](_0x57e512,_0x1e81e2){return!!this['allActions'](_0x57e512,_0x51dcf9=>_0x51dcf9==_0x1e81e2||null);}['allActions'](_0x4e2471,_0x30170e){let _0x4518b3=this['stateSlot'](_0x4e2471,0x4),_0x4d4597=_0x4518b3?_0x30170e(_0x4518b3):void 0x0;for(let _0xeacc98=this['stateSlot'](_0x4e2471,0x1);null==_0x4d4597;_0xeacc98+=0x3){if(0xffff==this['data'][_0xeacc98]){if(0x1!=this['data'][_0xeacc98+0x1])break;_0xeacc98=uM(this['data'],_0xeacc98+0x2);}_0x4d4597=_0x30170e(uM(this['data'],_0xeacc98+0x1));}return _0x4d4597;}['nextStates'](_0x1d89e1){let _0x432323=[];for(let _0x375579=this['stateSlot'](_0x1d89e1,0x1);;_0x375579+=0x3){if(0xffff==this['data'][_0x375579]){if(0x1!=this['data'][_0x375579+0x1])break;_0x375579=uM(this['data'],_0x375579+0x2);}if(!(0x1&this['data'][_0x375579+0x2])){let _0x1239f8=this['data'][_0x375579+0x1];_0x432323['some']((_0x5683dd,_0x6617a5)=>0x1&_0x6617a5&&_0x5683dd==_0x1239f8)||_0x432323['push'](this['data'][_0x375579],_0x1239f8);}}return _0x432323;}['configure'](_0x16afef){let _0x48dd96=Object['assign'](Object['create'](LRParser['prototype']),this);if(_0x16afef['props']&&(_0x48dd96['nodeSet']=this['nodeSet']['extend'](..._0x16afef['props'])),_0x16afef['top']){let _0x2d04e6=this['topRules'][_0x16afef['top']];if(!_0x2d04e6)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x16afef['top']);_0x48dd96['top']=_0x2d04e6;}return _0x16afef['tokenizers']&&(_0x48dd96['tokenizers']=this['tokenizers']['map'](t=>{let _0x60e851=_0x16afef['tokenizers']['find'](_0xb94184=>_0xb94184['from']==t);return _0x60e851?_0x60e851['to']:t;})),_0x16afef['specializers']&&(_0x48dd96['specializers']=this['specializers']['slice'](),_0x48dd96['specializerSpecs']=this['specializerSpecs']['map']((_0x3edff9,_0x37aeb1)=>{let _0x4a4790=_0x16afef['specializers']['find'](_0x23f279=>_0x23f279['from']==_0x3edff9['external']);if(!_0x4a4790)return _0x3edff9;let _0x3c2be0=Object['assign'](Object['assign']({},_0x3edff9),{'external':_0x4a4790['to']});return _0x48dd96['specializers'][_0x37aeb1]=dM(_0x3c2be0),_0x3c2be0;})),_0x16afef['contextTracker']&&(_0x48dd96['context']=_0x16afef['contextTracker']),_0x16afef['dialect']&&(_0x48dd96['dialect']=this['parseDialect'](_0x16afef['dialect'])),null!=_0x16afef['strict']&&(_0x48dd96['strict']=_0x16afef['strict']),_0x16afef['wrap']&&(_0x48dd96['wrappers']=_0x48dd96['wrappers']['concat'](_0x16afef['wrap'])),null!=_0x16afef['bufferLength']&&(_0x48dd96['bufferLength']=_0x16afef['bufferLength']),_0x48dd96;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x2141b7){return this['termNames']?this['termNames'][_0x2141b7]:String(_0x2141b7<=this['maxNode']&&this['nodeSet']['types'][_0x2141b7]['name']||_0x2141b7);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x579b01){let _0x535521=this['dynamicPrecedences'];return null==_0x535521?0x0:_0x535521[_0x579b01]||0x0;}['parseDialect'](_0xde69e6){let _0xf8a069=Object['keys'](this['dialects']),_0x645ff8=_0xf8a069['map'](()=>!0x1);if(_0xde69e6)for(let _0x3b89f7 of _0xde69e6['split']('\x20')){let _0x4b3265=_0xf8a069['indexOf'](_0x3b89f7);_0x4b3265>=0x0&&(_0x645ff8[_0x4b3265]=!0x0);}let _0x1ddca0=null;for(let _0x565e40=0x0;_0x565e40<_0xf8a069['length'];_0x565e40++)if(!_0x645ff8[_0x565e40]){for(let _0x44f596,_0x4c4db2=this['dialects'][_0xf8a069[_0x565e40]];0xffff!=(_0x44f596=this['data'][_0x4c4db2++]);)(_0x1ddca0||(_0x1ddca0=new Uint8Array(this['maxTerm']+0x1)))[_0x44f596]=0x1;}return new Dialect(_0xde69e6,_0x645ff8,_0x1ddca0);}static['deserialize'](_0x370d04){return new LRParser(_0x370d04);}}function uM(_0x19a38a,_0x41be16){return _0x19a38a[_0x41be16]|_0x19a38a[_0x41be16+0x1]<<0x10;}function dM(_0x396bfe){if(_0x396bfe['external']){let _0x50b751=_0x396bfe['extend']?0x1:0x0;return(_0x13f45d,_0x47f8c3)=>_0x396bfe['external'](_0x13f45d,_0x47f8c3)<<0x1|_0x50b751;}return _0x396bfe['get'];}const fM={'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},mM={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},gM={'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 pM(_0x2383ce){return 0x2d==_0x2383ce||0x2e==_0x2383ce||0x3a==_0x2383ce||_0x2383ce>=0x41&&_0x2383ce<=0x5a||0x5f==_0x2383ce||_0x2383ce>=0x61&&_0x2383ce<=0x7a||_0x2383ce>=0xa1;}let OM=null,wM=null,bM=0x0;function yM(_0x2022c1,_0x2687e1){let _0x3f6051=_0x2022c1['pos']+_0x2687e1;if(bM==_0x3f6051&&wM==_0x2022c1)return OM;let _0x2b4844=_0x2022c1['peek'](_0x2687e1),_0x4e3f8f='';for(;pM(_0x2b4844);)_0x4e3f8f+=String['fromCharCode'](_0x2b4844),_0x2b4844=_0x2022c1['peek'](++_0x2687e1);return wM=_0x2022c1,bM=_0x3f6051,OM=_0x4e3f8f?_0x4e3f8f['toLowerCase']():_0x2b4844==vM||_0x2b4844==_M?void 0x0:null;}const vM=0x3f,_M=0x21;function EM(_0x37b2ab,_0x647e55){this['name']=_0x37b2ab,this['parent']=_0x647e55;}const TM=[0x6,0xa,0x7,0x8,0x9],AM=new ContextTracker({'start':null,'shift':(_0x61a119,_0x453122,_0x331d1d,_0x455267)=>TM['indexOf'](_0x453122)>-0x1?new EM(yM(_0x455267,0x1)||'',_0x61a119):_0x61a119,'reduce':(_0x443b77,_0x3c6fec)=>0x15==_0x3c6fec&&_0x443b77?_0x443b77['parent']:_0x443b77,'reuse'(_0x100ce3,_0xe1a20d,_0x4df2ba,_0x18ba26){let _0x371f3c=_0xe1a20d['type']['id'];return 0x6==_0x371f3c||0x25==_0x371f3c?new EM(yM(_0x18ba26,0x1)||'',_0x100ce3):_0x100ce3;},'strict':!0x1}),IM=new ExternalTokenizer((_0x380344,_0x3ed798)=>{if(0x3c!=_0x380344['next'])return void(_0x380344['next']<0x0&&_0x3ed798['context']&&_0x380344['acceptToken'](0x3a));_0x380344['advance']();let _0x393139=0x2f==_0x380344['next'];_0x393139&&_0x380344['advance']();let _0x4381ad=yM(_0x380344,0x0);if(void 0x0===_0x4381ad)return;if(!_0x4381ad)return _0x380344['acceptToken'](_0x393139?0xf:0xe);let _0x4fc108=_0x3ed798['context']?_0x3ed798['context']['name']:null;if(_0x393139){if(_0x4381ad==_0x4fc108)return _0x380344['acceptToken'](0xb);if(_0x4fc108&&mM[_0x4fc108])return _0x380344['acceptToken'](0x3a,-0x2);if(_0x3ed798['dialectEnabled'](0x0))return _0x380344['acceptToken'](0xc);for(let _0x296af0=_0x3ed798['context'];_0x296af0;_0x296af0=_0x296af0['parent'])if(_0x296af0['name']==_0x4381ad)return;_0x380344['acceptToken'](0xd);}else{if('script'==_0x4381ad)return _0x380344['acceptToken'](0x7);if('style'==_0x4381ad)return _0x380344['acceptToken'](0x8);if('textarea'==_0x4381ad)return _0x380344['acceptToken'](0x9);if(fM['hasOwnProperty'](_0x4381ad))return _0x380344['acceptToken'](0xa);_0x4fc108&&gM[_0x4fc108]&&gM[_0x4fc108][_0x4381ad]?_0x380344['acceptToken'](0x3a,-0x1):_0x380344['acceptToken'](0x6);}},{'contextual':!0x0}),SM=new ExternalTokenizer(_0x3f4ec8=>{for(let _0x40fcf7=0x0,_0x25af36=0x0;;_0x25af36++){if(_0x3f4ec8['next']<0x0){_0x25af36&&_0x3f4ec8['acceptToken'](0x3b);break;}if(0x2d==_0x3f4ec8['next'])_0x40fcf7++;else{if(0x3e==_0x3f4ec8['next']&&_0x40fcf7>=0x2){_0x25af36>=0x3&&_0x3f4ec8['acceptToken'](0x3b,-0x2);break;}_0x40fcf7=0x0;}_0x3f4ec8['advance']();}}),CM=new ExternalTokenizer((_0x17a702,_0x22a448)=>{if(0x2f==_0x17a702['next']&&0x3e==_0x17a702['peek'](0x1)){let _0x36cd75=_0x22a448['dialectEnabled'](0x1)||function(_0x3e6b98){for(;_0x3e6b98;_0x3e6b98=_0x3e6b98['parent'])if('svg'==_0x3e6b98['name']||'math'==_0x3e6b98['name'])return!0x0;return!0x1;}(_0x22a448['context']);_0x17a702['acceptToken'](_0x36cd75?0x5:0x4,0x2);}else 0x3e==_0x17a702['next']&&_0x17a702['acceptToken'](0x4,0x1);});function kM(_0x2cf1bc,_0x4be940,_0x15b3ff){let _0x356391=0x2+_0x2cf1bc['length'];return new ExternalTokenizer(_0x4f286b=>{for(let _0xf11f51=0x0,_0x24968c=0x0,_0x1f706b=0x0;;_0x1f706b++){if(_0x4f286b['next']<0x0){_0x1f706b&&_0x4f286b['acceptToken'](_0x4be940);break;}if(0x0==_0xf11f51&&0x3c==_0x4f286b['next']||0x1==_0xf11f51&&0x2f==_0x4f286b['next']||_0xf11f51>=0x2&&_0xf11f51<_0x356391&&_0x4f286b['next']==_0x2cf1bc['charCodeAt'](_0xf11f51-0x2))_0xf11f51++,_0x24968c++;else{if(_0xf11f51==_0x356391&&0x3e==_0x4f286b['next']){_0x1f706b>_0x24968c?_0x4f286b['acceptToken'](_0x4be940,-_0x24968c):_0x4f286b['acceptToken'](_0x15b3ff,-(_0x24968c-0x2));break;}if((0xa==_0x4f286b['next']||0xd==_0x4f286b['next'])&&_0x1f706b){_0x4f286b['acceptToken'](_0x4be940,0x1);break;}_0xf11f51=_0x24968c=0x0;}_0x4f286b['advance']();}});}const xM=kM('script',0x37,0x1),RM=kM('style',0x38,0x2),PM=kM('textarea',0x39,0x3),MM=AC({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':jC['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':jC['angleBracket'],'TagName':jC['tagName'],'MismatchedCloseTag/TagName':[jC['tagName'],jC['invalid']],'AttributeName':jC['attributeName'],'AttributeValue\x20UnquotedAttributeValue':jC['attributeValue'],'Is':jC['definitionOperator'],'EntityReference\x20CharacterReference':jC['character'],'Comment':jC['blockComment'],'ProcessingInst':jC['processingInstruction'],'DoctypeDecl':jC['documentMeta']}),NM=LRParser['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':AM,'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':[MM],'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':[xM,RM,PM,CM,IM,SM,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function LM(_0x3ff177,_0x3fa9dc){let _0x241e27=Object['create'](null);for(let _0x305b35 of _0x3ff177['getChildren'](0x18)){let _0x2b6dee=_0x305b35['getChild'](0x19),_0x201e0f=_0x305b35['getChild'](0x1b)||_0x305b35['getChild'](0x1c);_0x2b6dee&&(_0x241e27[_0x3fa9dc['read'](_0x2b6dee['from'],_0x2b6dee['to'])]=_0x201e0f?0x1b==_0x201e0f['type']['id']?_0x3fa9dc['read'](_0x201e0f['from']+0x1,_0x201e0f['to']-0x1):_0x3fa9dc['read'](_0x201e0f['from'],_0x201e0f['to']):'');}return _0x241e27;}function $M(_0x1d2c5d,_0x493c77){let _0x52ce4a=_0x1d2c5d['getChild'](0x17);return _0x52ce4a?_0x493c77['read'](_0x52ce4a['from'],_0x52ce4a['to']):'\x20';}function DM(_0x76eba2,_0x1dbaf1,_0x400a9c){let _0x4ed060;for(let _0x57a34b of _0x400a9c)if(!_0x57a34b['attrs']||_0x57a34b['attrs'](_0x4ed060||(_0x4ed060=LM(_0x76eba2['node']['parent']['firstChild'],_0x1dbaf1))))return{'parser':_0x57a34b['parser']};return null;}function QM(_0x3bc626=[],_0x419e8d=[]){let _0x20813d=[],_0x1165e6=[],_0x420add=[],_0x1a0ef4=[];for(let _0x19813f of _0x3bc626){('script'==_0x19813f['tag']?_0x20813d:'style'==_0x19813f['tag']?_0x1165e6:'textarea'==_0x19813f['tag']?_0x420add:_0x1a0ef4)['push'](_0x19813f);}let _0x3bce6d=_0x419e8d['length']?Object['create'](null):null;for(let _0x1f673f of _0x419e8d)(_0x3bce6d[_0x1f673f['name']]||(_0x3bce6d[_0x1f673f['name']]=[]))['push'](_0x1f673f);return fC((_0xe3d45d,_0x230234)=>{let _0x4f5958=_0xe3d45d['type']['id'];if(0x1d==_0x4f5958)return DM(_0xe3d45d,_0x230234,_0x20813d);if(0x20==_0x4f5958)return DM(_0xe3d45d,_0x230234,_0x1165e6);if(0x23==_0x4f5958)return DM(_0xe3d45d,_0x230234,_0x420add);if(0x15==_0x4f5958&&_0x1a0ef4['length']){let _0x62d00e,_0x5a4527=_0xe3d45d['node'],_0x36a15d=_0x5a4527['firstChild'],_0x47a79b=_0x36a15d&&$M(_0x36a15d,_0x230234);if(_0x47a79b){for(let _0x15e8e4 of _0x1a0ef4)if(_0x15e8e4['tag']==_0x47a79b&&(!_0x15e8e4['attrs']||_0x15e8e4['attrs'](_0x62d00e||(_0x62d00e=LM(_0x36a15d,_0x230234))))){let _0x36fa5f=_0x5a4527['lastChild'],_0x25fdfd=0x26==_0x36fa5f['type']['id']?_0x36fa5f['from']:_0x5a4527['to'];if(_0x25fdfd>_0x36a15d['to'])return{'parser':_0x15e8e4['parser'],'overlay':[{'from':_0x36a15d['to'],'to':_0x25fdfd}]};}}}if(_0x3bce6d&&0x18==_0x4f5958){let _0x4c1eec,_0x1a6c9f=_0xe3d45d['node'];if(_0x4c1eec=_0x1a6c9f['firstChild']){let _0x1a5762=_0x3bce6d[_0x230234['read'](_0x4c1eec['from'],_0x4c1eec['to'])];if(_0x1a5762)for(let _0x4f9ebc of _0x1a5762){if(_0x4f9ebc['tagName']&&_0x4f9ebc['tagName']!=$M(_0x1a6c9f['parent'],_0x230234))continue;let _0x5907d4=_0x1a6c9f['lastChild'];if(0x1b==_0x5907d4['type']['id']){let _0x1429f5=_0x5907d4['from']+0x1,_0x420bcb=_0x5907d4['lastChild'],_0x1185ee=_0x5907d4['to']-(_0x420bcb&&_0x420bcb['isError']?0x0:0x1);if(_0x1185ee>_0x1429f5)return{'parser':_0x4f9ebc['parser'],'overlay':[{'from':_0x1429f5,'to':_0x1185ee}]};}else{if(0x1c==_0x5907d4['type']['id'])return{'parser':_0x4f9ebc['parser'],'overlay':[{'from':_0x5907d4['from'],'to':_0x5907d4['to']}]};}}}}return null;});}const VM=[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 UM(_0xe8a4d){return _0xe8a4d>=0x41&&_0xe8a4d<=0x5a||_0xe8a4d>=0x61&&_0xe8a4d<=0x7a||_0xe8a4d>=0xa1;}function BM(_0x3430f0){return _0x3430f0>=0x30&&_0x3430f0<=0x39;}function FM(_0x217820){return BM(_0x217820)||_0x217820>=0x61&&_0x217820<=0x66||_0x217820>=0x41&&_0x217820<=0x46;}const jM=(_0x573119,_0x5a9ba9,_0x89a738)=>(_0x106708,_0x24f00c)=>{for(let _0x49e1a8=!0x1,_0x48cfdf=0x0,_0x215d45=0x0;;_0x215d45++){let {next:_0x244ccf}=_0x106708;if(UM(_0x244ccf)||0x2d==_0x244ccf||0x5f==_0x244ccf||_0x49e1a8&&BM(_0x244ccf))!_0x49e1a8&&(0x2d!=_0x244ccf||_0x215d45>0x0)&&(_0x49e1a8=!0x0),_0x48cfdf===_0x215d45&&0x2d==_0x244ccf&&_0x48cfdf++,_0x106708['advance']();else{if(0x5c!=_0x244ccf||0xa==_0x106708['peek'](0x1)){_0x49e1a8&&_0x106708['acceptToken'](0x2==_0x48cfdf&&_0x24f00c['canShift'](0x2)?_0x5a9ba9:0x28==_0x244ccf?_0x89a738:_0x573119);break;}if(_0x106708['advance'](),FM(_0x106708['next'])){do{_0x106708['advance']();}while(FM(_0x106708['next']));0x20==_0x106708['next']&&_0x106708['advance']();}else _0x106708['next']>-0x1&&_0x106708['advance']();_0x49e1a8=!0x0;}}},HM=new ExternalTokenizer(jM(0x7b,0x2,0x7c)),GM=new ExternalTokenizer(jM(0x7d,0x3,0x4)),ZM=new ExternalTokenizer(_0xf139b4=>{if(VM['includes'](_0xf139b4['peek'](-0x1))){let {next:_0x4f965f}=_0xf139b4;(UM(_0x4f965f)||0x5f==_0x4f965f||0x23==_0x4f965f||0x2e==_0x4f965f||0x2a==_0x4f965f||0x5b==_0x4f965f||0x3a==_0x4f965f&&UM(_0xf139b4['peek'](0x1))||0x2d==_0x4f965f||0x26==_0x4f965f)&&_0xf139b4['acceptToken'](0x7a);}}),XM=new ExternalTokenizer(_0x1a4525=>{if(!VM['includes'](_0x1a4525['peek'](-0x1))){let {next:_0x1a299f}=_0x1a4525;if(0x25==_0x1a299f&&(_0x1a4525['advance'](),_0x1a4525['acceptToken'](0x1)),UM(_0x1a299f)){do{_0x1a4525['advance']();}while(UM(_0x1a4525['next'])||BM(_0x1a4525['next']));_0x1a4525['acceptToken'](0x1);}}}),qM=AC({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':jC['definitionKeyword'],'from\x20to\x20selector':jC['keyword'],'NamespaceName':jC['namespace'],'KeyframeName':jC['labelName'],'KeyframeRangeName':jC['operatorKeyword'],'TagName':jC['tagName'],'ClassName':jC['className'],'PseudoClassName':jC['constant'](jC['className']),'IdName':jC['labelName'],'FeatureName\x20PropertyName':jC['propertyName'],'AttributeName':jC['attributeName'],'NumberLiteral':jC['number'],'KeywordQuery':jC['keyword'],'UnaryQueryOp':jC['operatorKeyword'],'CallTag\x20ValueName':jC['atom'],'VariableName':jC['variableName'],'Callee':jC['operatorKeyword'],'Unit':jC['unit'],'UniversalSelector\x20NestingSelector':jC['definitionOperator'],'MatchOp\x20CompareOp':jC['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':jC['logicOperator'],'BinOp':jC['arithmeticOperator'],'Important':jC['modifier'],'Comment':jC['blockComment'],'ColorLiteral':jC['color'],'ParenthesizedContent\x20StringLiteral':jC['string'],':':jC['punctuation'],'PseudoOp\x20#':jC['derefOperator'],';\x20,':jC['separator'],'(\x20)':jC['paren'],'[\x20]':jC['squareBracket'],'{\x20}':jC['brace']}),WM={'__proto__':null,'lang':0x26,'nth-child':0x26,'nth-last-child':0x26,'nth-of-type':0x26,'nth-last-of-type':0x26,'dir':0x26,'host-context':0x26,'if':0x54,'url':0x7c,'url-prefix':0x7c,'domain':0x7c,'regexp':0x7c},zM={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},YM={'__proto__':null,'selector':0x70,'layer':0xa6},KM={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},JM={'__proto__':null,'to':0xcf},tN=LRParser['deserialize']({'version':0xe,'states':'EbQYQdOOO#qQdOOP#xO`OOOOQP\x27#Cf\x27#CfOOQP\x27#Ce\x27#CeO#}QdO\x27#ChO$nQaO\x27#CcO$xQdO\x27#CkO%TQdO\x27#DpO%YQdO\x27#DrO%_QdO\x27#DuO%_QdO\x27#DxOOQP\x27#FV\x27#FVO&eQhO\x27#EhOOQS\x27#FU\x27#FUOOQS\x27#Ek\x27#EkQYQdOOO&lQdO\x27#EOO&PQhO\x27#EUO&lQdO\x27#EWO\x27aQdO\x27#EYO\x27lQdO\x27#E]O\x27tQhO\x27#EcO(VQdO\x27#EeO(bQaO\x27#CfO)VQ`O\x27#D{O)[Q`O\x27#F`O)gQdO\x27#F`QOQ`OOP)qO&jO\x27#CaPOOO)C@t)C@tOOQP\x27#Cj\x27#CjOOQP,59S,59SO#}QdO,59SO)|QdO,59VO%TQdO,5:[O%YQdO,5:^O%_QdO,5:aO%_QdO,5:cO%_QdO,5:dO%_QdO\x27#ErO*XQ`O,58}O*aQdO\x27#DzOOQS,58},58}OOQP\x27#Cn\x27#CnOOQO\x27#Dn\x27#DnOOQP,59V,59VO*hQ`O,59VO*mQ`O,59VOOQP\x27#Dq\x27#DqOOQP,5:[,5:[OOQO\x27#Ds\x27#DsO*rQpO,5:^O+]QaO,5:aO+sQaO,5:dOOQW\x27#DZ\x27#DZO,ZQhO\x27#DdO,xQhO\x27#FaO\x27tQhO\x27#DbO-WQ`O\x27#DhOOQW\x27#F[\x27#F[O-]Q`O,5;SO-eQ`O\x27#DeOOQS-E8i-E8iOOQ[\x27#Cs\x27#CsO-jQdO\x27#CtO.QQdO\x27#CzO.hQdO\x27#C}O/OQ!pO\x27#DPO1RQ!jO,5:jOOQO\x27#DU\x27#DUO*mQ`O\x27#DTO1cQ!nO\x27#FXO3`Q`O\x27#DVO3eQ`O\x27#DkOOQ[\x27#FX\x27#FXO-`Q`O,5:pO3jQ!bO,5:rOOQS\x27#E[\x27#E[O3rQ`O,5:tO3wQdO,5:tOOQO\x27#E_\x27#E_O4PQ`O,5:wO4UQhO,5:}O%_QdO\x27#DgOOQS,5;P,5;PO-eQ`O,5;PO4^QdO,5;PO4fQdO,5:gO4vQdO\x27#EtO5TQ`O,5;zO5TQ`O,5;zPOOO\x27#Ej\x27#EjP5`O&jO,58{POOO,58{,58{OOQP1G.n1G.nOOQP1G.q1G.qO*hQ`O1G.qO*mQ`O1G.qOOQP1G/v1G/vO5kQpO1G/xO5sQaO1G/{O6ZQaO1G/}O6qQaO1G0OO7XQaO,5;^OOQO-E8p-E8pOOQS1G.i1G.iO7cQ`O,5:fO7hQdO\x27#DoO7oQdO\x27#CrOOQP1G/x1G/xO&lQdO1G/xO7vQ!jO\x27#DZO8UQ!bO,59vO8^QhO,5:OOOQO\x27#F]\x27#F]O8XQ!bO,59zO\x27tQhO,59xO8fQhO\x27#EvO8sQ`O,5;{O9OQhO,59|O9uQhO\x27#DiOOQW,5:S,5:SOOQS1G0n1G0nOOQW,5:P,5:PO9|Q!fO\x27#FYOOQS\x27#FY\x27#FYOOQS\x27#Em\x27#EmO;^QdO,59`OOQ[,59`,59`O;tQdO,59fOOQ[,59f,59fO<[QdO,59iOOQ[,59i,59iOOQ[,59k,59kO&lQdO,59mO<rQhO\x27#EQOOQW\x27#EQ\x27#EQO=WQ`O1G0UO1[QhO1G0UOOQ[,59o,59oO\x27tQhO\x27#DXOOQ[,59q,59qO=]Q#tO,5:VOOQS1G0[1G0[OOQS1G0^1G0^OOQS1G0`1G0`O=hQ`O1G0`O=mQdO\x27#E`OOQS1G0c1G0cOOQS1G0i1G0iO=xQaO,5:RO-`Q`O1G0kOOQS1G0k1G0kO-eQ`O1G0kO>PQ!fO1G0ROOQO1G0R1G0ROOQO,5;`,5;`O>gQdO,5;`OOQO-E8r-E8rO>tQ`O1G1fPOOO-E8h-E8hPOOO1G.g1G.gOOQP7+$]7+$]OOQP7+%d7+%dO&lQdO7+%dOOQS1G0Q1G0QO?PQaO\x27#F_O?ZQ`O,5:ZO?`Q!fO\x27#ElO@^QdO\x27#FWO@hQ`O,59^O@mQ!bO7+%dO&lQdO1G/bO@uQhO1G/fOOQW1G/j1G/jOOQW1G/d1G/dOAWQhO,5;bOOQO-E8t-E8tOAfQhO\x27#DZOAtQhO\x27#F^OBPQ`O\x27#F^OBUQ`O,5:TOOQS-E8k-E8kOOQ[1G.z1G.zOOQ[1G/Q1G/QOOQ[1G/T1G/TOOQ[1G/X1G/XOBZQdO,5:lOOQS7+%p7+%pOB`Q`O7+%pOBeQhO\x27#DYOBmQ`O,59sO\x27tQhO,59sOOQ[1G/q1G/qOBuQ`O1G/qOOQS7+%z7+%zOBzQbO\x27#DPOOQO\x27#Eb\x27#EbOCYQ`O\x27#EaOOQO\x27#Ea\x27#EaOCeQ`O\x27#EwOCmQdO,5:zOOQS,5:z,5:zOOQ[1G/m1G/mOOQS7+&V7+&VO-`Q`O7+&VOCxQ!fO\x27#EsO&lQdO\x27#EsOEPQdO7+%mOOQO7+%m7+%mOOQO1G0z1G0zOEdQ!bO<<IOOElQdO\x27#EqOEvQ`O,5;yOOQP1G/u1G/uOOQS-E8j-E8jOFOQdO\x27#EpOFYQ`O,5;rOOQ]1G.x1G.xOOQP<<IO<<IOOFbQdO7+$|OOQO\x27#D]\x27#D]OFiQ!bO7+%QOFqQhO\x27#EoOF{Q`O,5;xO&lQdO,5;xOOQW1G/o1G/oOOQO\x27#ES\x27#ESOGTQ`O1G0WOOQS<<I[<<I[O&lQdO,59tOGnQhO1G/_OOQ[1G/_1G/_OGuQ`O1G/_OOQW-E8l-E8lOOQ[7+%]7+%]OOQO,5:{,5:{O=pQdO\x27#ExOCeQ`O,5;cOOQS,5;c,5;cOOQS-E8u-E8uOOQS1G0f1G0fOOQS<<Iq<<IqOG}Q!fO,5;_OOQS-E8q-E8qOOQO<<IX<<IXOOQPAN>jAN>jOIUQaO,5;]OOQO-E8o-E8oOI`QdO,5;[OOQO-E8n-E8nOOQW<<Hh<<HhOOQW<<Hl<<HlOIjQhO<<HlOI{QhO,5;ZOJWQ`O,5;ZOOQO-E8m-E8mOJ]QdO1G1dOBZQdO\x27#EuOJgQ`O7+%rOOQW7+%r7+%rOJoQ!bO1G/`OOQ[7+$y7+$yOJzQhO7+$yPKRQ`O\x27#EnOOQO,5;d,5;dOOQO-E8v-E8vOOQS1G0}1G0}OKWQ`OAN>WO&lQdO1G0uOK]Q`O7+\x27OOOQO,5;a,5;aOOQO-E8s-E8sOOQW<<I^<<I^OOQ[<<He<<HePOQW,5;Y,5;YOOQWG23rG23rOKeQdO7+&a','stateData':'Kx~O#sOS#tQQ~OW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#oRO~OQiOW[OZ[O]TO`VOaVOi]OjWOmXO!jYO!mZO!saO!ybO!{cO!}dO#QeO#WfO#YgO#ohO~O#m$SP~P!dO#tmO~O#ooO~O]qO`rOarOjsOmtO!juO!mwO#nvO~OpzO!^xO~P$SOc!QO#o|O#p}O~O#o!RO~O#o!TO~OW[OZ[O]TO`VOaVOjWOmXO!jYO!mZO#oRO~OS!]Oe!YO!V![O!Y!`O#q!XOp$TP~Ok$TP~P&POQ!jOe!cOm!dOp!eOr!mOt!mOz!kO!`!lO#o!bO#p!hO#}!fO~Ot!qO!`!lO#o!pO~Ot!sO#o!sO~OS!]Oe!YO!V![O!Y!`O#q!XO~Oe!vOpzO#Z!xO~O]YX`YX`!pXaYXjYXmYXpYX!^YX!jYX!mYX#nYX~O`!zO~Ok!{O#m$SXo$SX~O#m$SXo$SX~P!dO#u#OO#v#OO#w#QO~Oc#UO#o|O#p}O~OpzO!^xO~Oo$SP~P!dOe#`O~Oe#aO~Ol#bO!h#cO~O]qO`rOarOjsOmtO~Op!ia!^!ia!j!ia!m!ia#n!iad!ia~P*zOp!la!^!la!j!la!m!la#n!lad!la~P*zOR#gOS!]Oe!YOr#gOt#gO!V![O!Y!`O#q#dO#}!fO~O!R#iO!^#jOk$TXp$TX~Oe#mO~Ok#oOpzO~Oe!vO~O]#rO`#rOd#uOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl#wO~P&lO]#rO`#rOi#rOj#rOk#rOo#yO~P&lOP#zOSsXesXksXvsX!VsX!YsX!usX!wsX#qsX!TsXQsX]sX`sXdsXisXjsXmsXpsXrsXtsXzsX!`sX#osX#psX#}sXlsXosX!^sX!qsX#msX~Ov#{O!u#|O!w#}Ok$TP~P\x27tOe#aOS#{Xk#{Xv#{X!V#{X!Y#{X!u#{X!w#{X#q#{XQ#{X]#{X`#{Xd#{Xi#{Xj#{Xm#{Xp#{Xr#{Xt#{Xz#{X!`#{X#o#{X#p#{X#}#{Xl#{Xo#{X!^#{X!q#{X#m#{X~Oe$RO~Oe$TO~Ok$VOv#{O~Ok$WO~Ot$XO!`!lO~Op$YO~OpzO!R#iO~OpzO#Z$`O~O!q$bOk!oa#m!oao!oa~P&lOk#hX#m#hXo#hX~P!dOk!{O#m$Sao$Sa~O#u#OO#v#OO#w$hO~Ol$jO!h$kO~Op!ii!^!ii!j!ii!m!ii#n!iid!ii~P*zOp!ki!^!ki!j!ki!m!ki#n!kid!ki~P*zOp!li!^!li!j!li!m!li#n!lid!li~P*zOp#fa!^#fa~P$SOo$lO~Od$RP~P%_Od#zP~P&lO`!PXd}X!R}X!T!PX~O`$sO!T$tO~Od$uO!R#iO~Ok#jXp#jX!^#jX~P\x27tO!^#jOk$Tap$Ta~O!R#iOk!Uap!Ua!^!Uad!Ua`!Ua~OS!]Oe!YO!V![O!Y!`O#q$yO~Od$QP~P9dOv#{OQ#|X]#|X`#|Xd#|Xe#|Xi#|Xj#|Xk#|Xm#|Xp#|Xr#|Xt#|Xz#|X!`#|X#o#|X#p#|X#}#|Xl#|Xo#|X~O]#rO`#rOd%OOi#rOj#rOk#rO~P&lO]#rO`#rOi#rOj#rOk#rOl%PO~P&lO]#rO`#rOi#rOj#rOk#rOo%QO~P&lOe%SOS!tXk!tX!V!tX!Y!tX#q!tX~Ok%TO~Od%YOt%ZO!a%ZO~Ok%[O~Oo%cO#o%^O#}%]O~Od%dO~P$SOv#{O!^%hO!q%jOk!oi#m!oio!oi~P&lOk#ha#m#hao#ha~P!dOk!{O#m$Sio$Si~O!^%mOd$RX~P$SOd%oO~Ov#{OQ#`Xd#`Xe#`Xm#`Xp#`Xr#`Xt#`Xz#`X!^#`X!`#`X#o#`X#p#`X#}#`X~O!^%qOd#zX~P&lOd%sO~Ol%tOv#{O~OR#gOr#gOt#gO#q%vO#}!fO~O!R#iOk#jap#ja!^#ja~O`!PXd}X!R}X!^}X~O!R#iO!^%xOd$QX~O`%zO~Od%{O~O#o%|O~Ok&OO~O`&PO!R#iO~Od&ROk&QO~Od&UO~OP#zOpsX!^sXdsX~O#}%]Op#TX!^#TX~OpzO!^&WO~Oo&[O#o%^O#}%]O~Ov#{OQ#gXe#gXk#gXm#gXp#gXr#gXt#gXz#gX!^#gX!`#gX!q#gX#m#gX#o#gX#p#gX#}#gXo#gX~O!^%hO!q&`Ok!oq#m!oqo!oq~P&lOl&aOv#{O~Od#eX!^#eX~P%_O!^%mOd$Ra~Od#dX!^#dX~P&lO!^%qOd#za~Od&fO~P&lOd&gO!T&hO~Od#cX!^#cX~P9dO!^%xOd$Qa~O]&mOd&oO~OS#bae#ba!V#ba!Y#ba#q#ba~Od&qO~PG]Od&qOk&rO~Ov#{OQ#gae#gak#gam#gap#gar#gat#gaz#ga!^#ga!`#ga!q#ga#m#ga#o#ga#p#ga#}#gao#ga~Od#ea!^#ea~P$SOd#da!^#da~P&lOR#gOr#gOt#gO#q%vO#}%]O~O!R#iOd#ca!^#ca~O`&xO~O!^%xOd$Qi~P&lO]&mOd&|O~Ov#{Od|ik|i~Od&}O~PG]Ok\x27OO~Od\x27PO~O!^%xOd$Qq~Od#cq!^#cq~P&lO#s!a#t#}]#}v!m~','goto':'2h$UPPPPP$VP$YP$c$uP$cP%X$cPP%_PPP%e%o%oPPPPP%oPP%oP&]P%oP%o\x27W%oP\x27t\x27w\x27}\x27}(^\x27}P\x27}P\x27}P\x27}\x27}P(m\x27}(yP(|PP)p)v$c)|$c*SP$cP$c$cP*Y*{+YP$YP+aP+dP$YP$YP$YP+j$YP+m+p+s+z$YP$YPP$YP,P,V,f,|-[-b-l-r-x.O.U.`.f.l.rPPPPPPPPPPP.x/R/w/z0|P1U1u2O2R2U2[RnQ_^OP`kz!{$dq[OPYZ`kuvwxz!v!{#`$d%mqSOPYZ`kuvwxz!v!{#`$d%mQpTR#RqQ!OVR#SrQ#S!QS$Q!i!jR$i#U!V!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27Q!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QU#g!Y$t&hU%`$Y%b&WR&V%_!V!iac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QR$S!kQ%W$RR&S%Xk!^]bf!Y![!g#i#j#m$P$R%X%xQ#e!YQ${#mQ%w$tQ&j%xR&w&hQ!ygQ#p!`Q$^!xR%f$`R#n!]!U!mac!c!d!e!z#a#c#t#v#x#{$a$k$p$s%h%i%q%u%z&P&d&l&x\x27QQ!qdR$X!rQ!PVR#TrQ#S!PR$i#TQ!SWR#VsQ!UXR#WtQ{UQ!wgQ#^yQ#o!_Q$U!nQ$[!uQ$_!yQ%e$^Q&Y%aQ&]%fR&v&XSjPzQ!}kQ$c!{R%k$dZiPkz!{$dR$P!gQ%}%SR&z&mR!rdR!teR$Z!tS%a$Y%bR&t&WV%_$Y%b&WQ#PmR$g#PQ`OSkPzU!a`k$dR$d!{Q$p#aY%p$p%u&d&l\x27QQ%u$sQ&d%qQ&l%zR\x27Q&xQ#t!cQ#v!dQ#x!eV$}#t#v#xQ%X$RR&T%XQ%y$zS&k%y&yR&y&lQ%r$pR&e%rQ%n$mR&c%nQyUR#]yQ%i$aR&_%iQ!|jS$e!|$fR$f!}Q&n%}R&{&nQ#k!ZR$x#kQ%b$YR&Z%bQ&X%aR&u&X__OP`kz!{$d^UOP`kz!{$dQ!VYQ!WZQ#XuQ#YvQ#ZwQ#[xQ$]!vQ$m#`R&b%mR$q#aQ!gaQ!oc[#q!c!d!e#t#v#xQ$a!zd$o#a$p$s%q%u%z&d&l&x\x27QQ$r#cQ%R#{S%g$a%iQ%l$kQ&^%hR&p&P]#s!c!d!e#t#v#xW!Z]b!g$PQ!ufQ#f!YQ#l![Q$v#iQ$w#jQ$z#mS%V$R%XR&i%xQ#h!YQ%w$tR&w&hR$|#mR$n#`QlPR#_zQ!_]Q!nbQ$O!gR%U$P','nodeNames':'⚠\x20Unit\x20VariableName\x20VariableName\x20QueryCallee\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\x20TagName\x20NestingSelector\x20ClassSelector\x20.\x20ClassName\x20PseudoClassSelector\x20:\x20::\x20PseudoClassName\x20PseudoClassName\x20)\x20(\x20ArgList\x20ValueName\x20ParenthesizedValue\x20AtKeyword\x20#\x20;\x20]\x20[\x20BracketedValue\x20}\x20{\x20BracedValue\x20ColorLiteral\x20NumberLiteral\x20StringLiteral\x20BinaryExpression\x20BinOp\x20CallExpression\x20Callee\x20IfExpression\x20if\x20ArgList\x20IfBranch\x20KeywordQuery\x20FeatureQuery\x20FeatureName\x20BinaryQuery\x20LogicOp\x20ComparisonQuery\x20CompareOp\x20UnaryQuery\x20UnaryQueryOp\x20ParenthesizedQuery\x20SelectorQuery\x20selector\x20ParenthesizedSelector\x20CallQuery\x20ArgList\x20,\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20PseudoClassName\x20ArgList\x20IdSelector\x20IdName\x20AttributeSelector\x20AttributeName\x20MatchOp\x20ChildSelector\x20ChildOp\x20DescendantSelector\x20SiblingSelector\x20SiblingOp\x20Block\x20Declaration\x20PropertyName\x20Important\x20ImportStatement\x20import\x20Layer\x20layer\x20LayerName\x20layer\x20MediaStatement\x20media\x20CharsetStatement\x20charset\x20NamespaceStatement\x20namespace\x20NamespaceName\x20KeyframesStatement\x20keyframes\x20KeyframeName\x20KeyframeList\x20KeyframeSelector\x20KeyframeRangeName\x20SupportsStatement\x20supports\x20ScopeStatement\x20scope\x20to\x20AtRule\x20Styles','maxTerm':0x8f,'nodeProps':[['isolate',-0x2,0x5,0x24,''],['openedBy',0x14,'(',0x1c,'[',0x1f,'{'],['closedBy',0x15,')',0x1d,']',0x20,'}']],'propSources':[qM],'skippedNodes':[0x0,0x5,0x6a],'repeatNodeCount':0xf,'tokenData':'JQ~R!YOX$qX^%i^p$qpq%iqr({rs-ust/itu6Wuv$qvw7Qwx7cxy9Qyz9cz{9h{|:R|}>t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#BZ%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;\x27S$q;\x27S;=`Iz<%lO$q`$tSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%VS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Q~\x27ah#s~!a`OX%QX^\x27Y^p%Qpq\x27Yqy%Qz#y%Q#y#z\x27Y#z$f%Q$f$g\x27Y$g#BY%Q#BY#BZ\x27Y#BZ$IS%Q$IS$I_\x27Y$I_$I|%Q$I|$JO\x27Y$JO$JT%Q$JT$JU\x27Y$JU$KV%Q$KV$KW\x27Y$KW&FU%Q&FU&FV\x27Y&FV;\x27S%Q;\x27S;=`%c<%lO%Qj)OUOy%Qz#]%Q#]#^)b#^;\x27S%Q;\x27S;=`%c<%lO%Qj)gU!a`Oy%Qz#a%Q#a#b)y#b;\x27S%Q;\x27S;=`%c<%lO%Qj*OU!a`Oy%Qz#d%Q#d#e*b#e;\x27S%Q;\x27S;=`%c<%lO%Qj*gU!a`Oy%Qz#c%Q#c#d*y#d;\x27S%Q;\x27S;=`%c<%lO%Qj+OU!a`Oy%Qz#f%Q#f#g+b#g;\x27S%Q;\x27S;=`%c<%lO%Qj+gU!a`Oy%Qz#h%Q#h#i+y#i;\x27S%Q;\x27S;=`%c<%lO%Qj,OU!a`Oy%Qz#T%Q#T#U,b#U;\x27S%Q;\x27S;=`%c<%lO%Qj,gU!a`Oy%Qz#b%Q#b#c,y#c;\x27S%Q;\x27S;=`%c<%lO%Qj-OU!a`Oy%Qz#h%Q#h#i-b#i;\x27S%Q;\x27S;=`%c<%lO%Qj-iS!qY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~-xWOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c<%lO-u~.gOt~~.jRO;\x27S-u;\x27S;=`.s;=`O-u~.vXOY-uZr-urs.bs#O-u#O#P.g#P;\x27S-u;\x27S;=`/c;=`<%l-u<%lO-u~/fP;=`<%l-uj/nYjYOy%Qz!Q%Q!Q![0^![!c%Q!c!i0^!i#T%Q#T#Z0^#Z;\x27S%Q;\x27S;=`%c<%lO%Qj0cY!a`Oy%Qz!Q%Q!Q![1R![!c%Q!c!i1R!i#T%Q#T#Z1R#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1WY!a`Oy%Qz!Q%Q!Q![1v![!c%Q!c!i1v!i#T%Q#T#Z1v#Z;\x27S%Q;\x27S;=`%c<%lO%Qj1}YrY!a`Oy%Qz!Q%Q!Q![2m![!c%Q!c!i2m!i#T%Q#T#Z2m#Z;\x27S%Q;\x27S;=`%c<%lO%Qj2tYrY!a`Oy%Qz!Q%Q!Q![3d![!c%Q!c!i3d!i#T%Q#T#Z3d#Z;\x27S%Q;\x27S;=`%c<%lO%Qj3iY!a`Oy%Qz!Q%Q!Q![4X![!c%Q!c!i4X!i#T%Q#T#Z4X#Z;\x27S%Q;\x27S;=`%c<%lO%Qj4`YrY!a`Oy%Qz!Q%Q!Q![5O![!c%Q!c!i5O!i#T%Q#T#Z5O#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5TY!a`Oy%Qz!Q%Q!Q![5s![!c%Q!c!i5s!i#T%Q#T#Z5s#Z;\x27S%Q;\x27S;=`%c<%lO%Qj5zSrY!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qd6ZUOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qd6tS!hS!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qb7VSZQOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~7fWOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z<%lO7c~8RRO;\x27S7c;\x27S;=`8[;=`O7c~8_XOY7cZw7cwx.bx#O7c#O#P8O#P;\x27S7c;\x27S;=`8z;=`<%l7c<%lO7c~8}P;=`<%l7cj9VSeYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Q~9hOd~n9oUWQvWOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Qj:YWvW!mQOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj:wU!a`Oy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Qj;bY!a`#}YOy%Qz!Q%Q!Q![;Z![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj<VY!a`Oy%Qz{%Q{|<u|}%Q}!O<u!O!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj<zU!a`Oy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj=eU!a`#}YOy%Qz!Q%Q!Q![=^![;\x27S%Q;\x27S;=`%c<%lO%Qj>O[!a`#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%Qj>yS!^YOy%Qz;\x27S%Q;\x27S;=`%c<%lO%Qj?[WvWOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;\x27S%Q;\x27S;=`%c<%lO%Qj?yU]YOy%Qz!Q%Q!Q![;Z![;\x27S%Q;\x27S;=`%c<%lO%Q~@bTvWOy%Qz{@q{;\x27S%Q;\x27S;=`%c<%lO%Q~@xS!a`#t~Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjAZ[#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!h<Q!h#X%Q#X#Y<Q#Y;\x27S%Q;\x27S;=`%c<%lO%QjBUU`YOy%Qz![%Q![!]Bh!];\x27S%Q;\x27S;=`%c<%lO%QbBoSaQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjCQSkYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QhCcU!TWOy%Qz!_%Q!_!`Cu!`;\x27S%Q;\x27S;=`%c<%lO%QhC|S!TW!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QlDaS!TW!hSOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjDtV!jQ!TWOy%Qz!_%Q!_!`Cu!`!aEZ!a;\x27S%Q;\x27S;=`%c<%lO%QbEbS!jQ!a`Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjEqYOy%Qz}%Q}!OFa!O!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjFfW!a`Oy%Qz!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjGV[iY!a`Oy%Qz}%Q}!OGO!O!Q%Q!Q![GO![!c%Q!c!}GO!}#T%Q#T#oGO#o;\x27S%Q;\x27S;=`%c<%lO%QjHQSmYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QnHcSl^Oy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjHtSpYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QjIVSoYOy%Qz;\x27S%Q;\x27S;=`%c<%lO%QfIhU!mQOy%Qz!_%Q!_!`6m!`;\x27S%Q;\x27S;=`%c<%lO%Q`I}P;=`<%l$q','tokenizers':[ZM,XM,HM,GM,0x1,0x2,0x3,0x4,new LocalTokenGroup('m~RRYZ[z{a~~g~aO#v~~dP!P!Qg~lO#w~~',0x1c,0x81)],'topRules':{'StyleSheet':[0x0,0x6],'Styles':[0x1,0x69]},'specialized':[{'term':0x7c,'get':_0x1cf68c=>WM[_0x1cf68c]||-0x1},{'term':0x7d,'get':_0x3deeca=>zM[_0x3deeca]||-0x1},{'term':0x4,'get':_0x2becf4=>YM[_0x2becf4]||-0x1},{'term':0x19,'get':_0x49ab9f=>KM[_0x49ab9f]||-0x1},{'term':0x7b,'get':_0x131724=>JM[_0x131724]||-0x1}],'tokenPrec':0x7ab});let eN=null;function iN(){if(!eN&&'object'==typeof document&&document['body']){let {style:_0x50f1a8}=document['body'],_0x32179c=[],_0x262f17=new Set();for(let _0x2bc3d4 in _0x50f1a8)'cssText'!=_0x2bc3d4&&'cssFloat'!=_0x2bc3d4&&'string'==typeof _0x50f1a8[_0x2bc3d4]&&(/[A-Z]/['test'](_0x2bc3d4)&&(_0x2bc3d4=_0x2bc3d4['replace'](/[A-Z]/g,_0x16d46a=>'-'+_0x16d46a['toLowerCase']())),_0x262f17['has'](_0x2bc3d4)||(_0x32179c['push'](_0x2bc3d4),_0x262f17['add'](_0x2bc3d4)));eN=_0x32179c['sort']()['map'](_0x335073=>({'type':'property','label':_0x335073,'apply':_0x335073+':\x20'}));}return eN||[];}const sN=['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'](_0x1124e1=>({'type':'class','label':_0x1124e1})),nN=['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'](_0x51bc2e=>({'type':'keyword','label':_0x51bc2e}))['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'](_0x4084b5=>({'type':'constant','label':_0x4084b5}))),rN=['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'](_0x2c1f8e=>({'type':'type','label':_0x2c1f8e})),oN=['@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'](_0x3b1182=>({'type':'keyword','label':_0x3b1182})),aN=/^(\w[\w-]*|-\w[\w-]*|)$/,cN=/^-(-[\w-]*)?$/,lN=new NodeWeakMap(),hN=['Declaration'];function uN(_0x135257){for(let _0x8533f3=_0x135257;;){if(_0x8533f3['type']['isTop'])return _0x8533f3;if(!(_0x8533f3=_0x8533f3['parent']))return _0x135257;}}function dN(_0x1577ab,_0x447c0b,_0x3ccffd){if(_0x447c0b['to']-_0x447c0b['from']>0x1000){let _0x394cb6=lN['get'](_0x447c0b);if(_0x394cb6)return _0x394cb6;let _0x3ed67c=[],_0x38d93a=new Set(),_0x3bb921=_0x447c0b['cursor'](sC['IncludeAnonymous']);if(_0x3bb921['firstChild']())do{for(let _0x520f73 of dN(_0x1577ab,_0x3bb921['node'],_0x3ccffd))_0x38d93a['has'](_0x520f73['label'])||(_0x38d93a['add'](_0x520f73['label']),_0x3ed67c['push'](_0x520f73));}while(_0x3bb921['nextSibling']());return lN['set'](_0x447c0b,_0x3ed67c),_0x3ed67c;}{let _0x4e6a13=[],_0x1b990e=new Set();return _0x447c0b['cursor']()['iterate'](_0x364211=>{var _0xa27ff7;if(_0x3ccffd(_0x364211)&&_0x364211['matchContext'](hN)&&':'==(null===(_0xa27ff7=_0x364211['node']['nextSibling'])||void 0x0===_0xa27ff7?void 0x0:_0xa27ff7['name'])){let _0x4cffaf=_0x1577ab['sliceString'](_0x364211['from'],_0x364211['to']);_0x1b990e['has'](_0x4cffaf)||(_0x1b990e['add'](_0x4cffaf),_0x4e6a13['push']({'label':_0x4cffaf,'type':'variable'}));}}),_0x4e6a13;}}const fN=_0x70fb66=>_0x391b72=>{let {state:_0x15edab,pos:_0x4f61da}=_0x391b72,_0x28bcab=WC(_0x15edab)['resolveInner'](_0x4f61da,-0x1),_0xff32d7=_0x28bcab['type']['isError']&&_0x28bcab['from']==_0x28bcab['to']-0x1&&'-'==_0x15edab['doc']['sliceString'](_0x28bcab['from'],_0x28bcab['to']);if('PropertyName'==_0x28bcab['name']||(_0xff32d7||'TagName'==_0x28bcab['name'])&&/^(Block|Styles)$/['test'](_0x28bcab['resolve'](_0x28bcab['to'])['name']))return{'from':_0x28bcab['from'],'options':iN(),'validFor':aN};if('ValueName'==_0x28bcab['name'])return{'from':_0x28bcab['from'],'options':nN,'validFor':aN};if('PseudoClassName'==_0x28bcab['name'])return{'from':_0x28bcab['from'],'options':sN,'validFor':aN};if(_0x70fb66(_0x28bcab)||(_0x391b72['explicit']||_0xff32d7)&&function(_0x48fcf4,_0x3a4286){var _0x499ee3;if(('('==_0x48fcf4['name']||_0x48fcf4['type']['isError'])&&(_0x48fcf4=_0x48fcf4['parent']||_0x48fcf4),'ArgList'!=_0x48fcf4['name'])return!0x1;let _0x259828=null===(_0x499ee3=_0x48fcf4['parent'])||void 0x0===_0x499ee3?void 0x0:_0x499ee3['firstChild'];return'Callee'==(null==_0x259828?void 0x0:_0x259828['name'])&&'var'==_0x3a4286['sliceString'](_0x259828['from'],_0x259828['to']);}(_0x28bcab,_0x15edab['doc']))return{'from':_0x70fb66(_0x28bcab)||_0xff32d7?_0x28bcab['from']:_0x4f61da,'options':dN(_0x15edab['doc'],uN(_0x28bcab),_0x70fb66),'validFor':cN};if('TagName'==_0x28bcab['name']){for(let {parent:_0x27c2bc}=_0x28bcab;_0x27c2bc;_0x27c2bc=_0x27c2bc['parent'])if('Block'==_0x27c2bc['name'])return{'from':_0x28bcab['from'],'options':iN(),'validFor':aN};return{'from':_0x28bcab['from'],'options':rN,'validFor':aN};}if('AtKeyword'==_0x28bcab['name'])return{'from':_0x28bcab['from'],'options':oN,'validFor':aN};if(!_0x391b72['explicit'])return null;let _0x2b48ad=_0x28bcab['resolve'](_0x4f61da),_0x41b291=_0x2b48ad['childBefore'](_0x4f61da);return _0x41b291&&':'==_0x41b291['name']&&'PseudoClassSelector'==_0x2b48ad['name']?{'from':_0x4f61da,'options':sN,'validFor':aN}:_0x41b291&&':'==_0x41b291['name']&&'Declaration'==_0x2b48ad['name']||'ArgList'==_0x2b48ad['name']?{'from':_0x4f61da,'options':nN,'validFor':aN}:'Block'==_0x2b48ad['name']||'Styles'==_0x2b48ad['name']?{'from':_0x4f61da,'options':iN(),'validFor':aN}:null;},mN=fN(_0x3268d3=>'VariableName'==_0x3268d3['name']),gN=LRLanguage['define']({'name':'css','parser':tN['configure']({'props':[ak['add']({'Declaration':mk()}),Ok['add']({'Block\x20KeyframeList':wk})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),pN=[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],ON=new ContextTracker({'start':!0x1,'shift':(_0x32d6c8,_0x1f652a)=>0x5==_0x1f652a||0x6==_0x1f652a||0x140==_0x1f652a?_0x32d6c8:0x141==_0x1f652a,'strict':!0x1}),wN=new ExternalTokenizer((_0x53633c,_0xe63fa4)=>{let {next:_0x41b593}=_0x53633c;(0x7d==_0x41b593||-0x1==_0x41b593||_0xe63fa4['context'])&&_0x53633c['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),bN=new ExternalTokenizer((_0x11c062,_0xc4d07e)=>{let _0x44c008,{next:_0x11e82e}=_0x11c062;pN['indexOf'](_0x11e82e)>-0x1||(0x2f!=_0x11e82e||0x2f!=(_0x44c008=_0x11c062['peek'](0x1))&&0x2a!=_0x44c008)&&(0x7d==_0x11e82e||0x3b==_0x11e82e||-0x1==_0x11e82e||_0xc4d07e['context']||_0x11c062['acceptToken'](0x13c));},{'contextual':!0x0}),yN=new ExternalTokenizer((_0x387a7b,_0x20f595)=>{0x5b!=_0x387a7b['next']||_0x20f595['context']||_0x387a7b['acceptToken'](0x13d);},{'contextual':!0x0}),vN=new ExternalTokenizer((_0x4decf5,_0x235303)=>{let {next:_0x4067f4}=_0x4decf5;if(0x2b==_0x4067f4||0x2d==_0x4067f4){if(_0x4decf5['advance'](),_0x4067f4==_0x4decf5['next']){_0x4decf5['advance']();let _0x32f072=!_0x235303['context']&&_0x235303['canShift'](0x1);_0x4decf5['acceptToken'](_0x32f072?0x1:0x2);}}else 0x3f==_0x4067f4&&0x2e==_0x4decf5['peek'](0x1)&&(_0x4decf5['advance'](),_0x4decf5['advance'](),(_0x4decf5['next']<0x30||_0x4decf5['next']>0x39)&&_0x4decf5['acceptToken'](0x3));},{'contextual':!0x0});function _N(_0x4becd5,_0x523a9e){return _0x4becd5>=0x41&&_0x4becd5<=0x5a||_0x4becd5>=0x61&&_0x4becd5<=0x7a||0x5f==_0x4becd5||_0x4becd5>=0xc0||!_0x523a9e&&_0x4becd5>=0x30&&_0x4becd5<=0x39;}const EN=new ExternalTokenizer((_0x30dadf,_0x20aed1)=>{if(0x3c!=_0x30dadf['next']||!_0x20aed1['dialectEnabled'](0x0))return;if(_0x30dadf['advance'](),0x2f==_0x30dadf['next'])return;let _0x36c9f9=0x0;for(;pN['indexOf'](_0x30dadf['next'])>-0x1;)_0x30dadf['advance'](),_0x36c9f9++;if(_N(_0x30dadf['next'],!0x0)){for(_0x30dadf['advance'](),_0x36c9f9++;_N(_0x30dadf['next'],!0x1);)_0x30dadf['advance'](),_0x36c9f9++;for(;pN['indexOf'](_0x30dadf['next'])>-0x1;)_0x30dadf['advance'](),_0x36c9f9++;if(0x2c==_0x30dadf['next'])return;for(let _0x150c50=0x0;;_0x150c50++){if(0x7==_0x150c50){if(!_N(_0x30dadf['next'],!0x0))return;break;}if(_0x30dadf['next']!='extends'['charCodeAt'](_0x150c50))break;_0x30dadf['advance'](),_0x36c9f9++;}}_0x30dadf['acceptToken'](0x4,-_0x36c9f9);}),TN=AC({'get\x20set\x20async\x20static':jC['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':jC['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':jC['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':jC['definitionKeyword'],'import\x20export\x20from':jC['moduleKeyword'],'with\x20debugger\x20new':jC['keyword'],'TemplateString':jC['special'](jC['string']),'super':jC['atom'],'BooleanLiteral':jC['bool'],'this':jC['self'],'null':jC['null'],'Star':jC['modifier'],'VariableName':jC['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':jC['function'](jC['variableName']),'VariableDefinition':jC['definition'](jC['variableName']),'Label':jC['labelName'],'PropertyName':jC['propertyName'],'PrivatePropertyName':jC['special'](jC['propertyName']),'CallExpression/MemberExpression/PropertyName':jC['function'](jC['propertyName']),'FunctionDeclaration/VariableDefinition':jC['function'](jC['definition'](jC['variableName'])),'ClassDeclaration/VariableDefinition':jC['definition'](jC['className']),'NewExpression/VariableName':jC['className'],'PropertyDefinition':jC['definition'](jC['propertyName']),'PrivatePropertyDefinition':jC['definition'](jC['special'](jC['propertyName'])),'UpdateOp':jC['updateOperator'],'LineComment\x20Hashbang':jC['lineComment'],'BlockComment':jC['blockComment'],'Number':jC['number'],'String':jC['string'],'Escape':jC['escape'],'ArithOp':jC['arithmeticOperator'],'LogicOp':jC['logicOperator'],'BitOp':jC['bitwiseOperator'],'CompareOp':jC['compareOperator'],'RegExp':jC['regexp'],'Equals':jC['definitionOperator'],'Arrow':jC['function'](jC['punctuation']),':\x20Spread':jC['punctuation'],'(\x20)':jC['paren'],'[\x20]':jC['squareBracket'],'{\x20}':jC['brace'],'InterpolationStart\x20InterpolationEnd':jC['special'](jC['brace']),'.':jC['derefOperator'],',\x20;':jC['separator'],'@':jC['meta'],'TypeName':jC['typeName'],'TypeDefinition':jC['definition'](jC['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':jC['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':jC['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':jC['operatorKeyword'],'JSXAttributeValue':jC['attributeValue'],'JSXText':jC['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':jC['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':jC['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':jC['attributeName'],'JSXBuiltin/JSXIdentifier':jC['standard'](jC['tagName'])}),AN={'__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},IN={'__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},SN={'__proto__':null,'<':0xc1},CN=LRParser['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':ON,'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':[TN],'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':[bN,yN,vN,EN,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,wN,new LocalTokenGroup('$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 LocalTokenGroup('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':_0x211f7c=>AN[_0x211f7c]||-0x1},{'term':0x157,'get':_0x2ab409=>IN[_0x2ab409]||-0x1},{'term':0x5f,'get':_0x2870f0=>SN[_0x2870f0]||-0x1}],'tokenPrec':0x3b61}),kN=[RP('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),RP('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),RP('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),RP('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),RP('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),RP('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),RP('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),RP('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),RP('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),RP('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),RP('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],xN=kN['concat']([RP('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),RP('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),RP('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),RN=new NodeWeakMap(),PN=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function MN(_0x564f9a){return(_0x12d0aa,_0x1b5aaf)=>{let _0x2702cc=_0x12d0aa['node']['getChild']('VariableDefinition');return _0x2702cc&&_0x1b5aaf(_0x2702cc,_0x564f9a),!0x0;};}const NN=['FunctionDeclaration'],LN={'FunctionDeclaration':MN('function'),'ClassDeclaration':MN('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':MN('constant'),'TypeAliasDeclaration':MN('type'),'NamespaceDeclaration':MN('namespace'),'VariableDefinition'(_0x1a769b,_0xc075aa){_0x1a769b['matchContext'](NN)||_0xc075aa(_0x1a769b,'variable');},'TypeDefinition'(_0x3aa29f,_0x4b562e){_0x4b562e(_0x3aa29f,'type');},'__proto__':null};function $N(_0x2bcb15,_0x7c7290){let _0x286161=RN['get'](_0x7c7290);if(_0x286161)return _0x286161;let _0xa281e4=[],_0x18d9c8=!0x0;function _0x3adcd5(_0x3bc12a,_0x41f252){let _0x385ed0=_0x2bcb15['sliceString'](_0x3bc12a['from'],_0x3bc12a['to']);_0xa281e4['push']({'label':_0x385ed0,'type':_0x41f252});}return _0x7c7290['cursor'](sC['IncludeAnonymous'])['iterate'](_0x3453d1=>{if(_0x18d9c8)_0x18d9c8=!0x1;else{if(_0x3453d1['name']){let _0x356df8=LN[_0x3453d1['name']];if(_0x356df8&&_0x356df8(_0x3453d1,_0x3adcd5)||PN['has'](_0x3453d1['name']))return!0x1;}else{if(_0x3453d1['to']-_0x3453d1['from']>0x2000){for(let _0x49fe9d of $N(_0x2bcb15,_0x3453d1['node']))_0xa281e4['push'](_0x49fe9d);return!0x1;}}}}),RN['set'](_0x7c7290,_0xa281e4),_0xa281e4;}const DN=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,QN=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function VN(_0x4458d5){let _0x247b80=WC(_0x4458d5['state'])['resolveInner'](_0x4458d5['pos'],-0x1);if(QN['indexOf'](_0x247b80['name'])>-0x1)return null;let _0x594f2e='VariableName'==_0x247b80['name']||_0x247b80['to']-_0x247b80['from']<0x14&&DN['test'](_0x4458d5['state']['sliceDoc'](_0x247b80['from'],_0x247b80['to']));if(!_0x594f2e&&!_0x4458d5['explicit'])return null;let _0x4d1488=[];for(let _0x13d9f9=_0x247b80;_0x13d9f9;_0x13d9f9=_0x13d9f9['parent'])PN['has'](_0x13d9f9['name'])&&(_0x4d1488=_0x4d1488['concat']($N(_0x4458d5['state']['doc'],_0x13d9f9)));return{'options':_0x4d1488,'from':_0x594f2e?_0x247b80['from']:_0x4458d5['pos'],'validFor':DN};}const UN=LRLanguage['define']({'name':'javascript','parser':CN['configure']({'props':[ak['add']({'IfStatement':mk({'except':/^\s*({|else\b)/}),'TryStatement':mk({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x3925ae=>_0x3925ae['baseIndent'],'SwitchBody':_0x22d8ee=>{let _0x8c0162=_0x22d8ee['textAfter'],_0x154db3=/^\s*\}/['test'](_0x8c0162),_0x508dcb=/^\s*(case|default)\b/['test'](_0x8c0162);return _0x22d8ee['baseIndent']+(_0x154db3?0x0:_0x508dcb?0x1:0x2)*_0x22d8ee['unit'];},'Block':dk({'closing':'}'}),'ArrowFunction':_0x25a56a=>_0x25a56a['baseIndent']+_0x25a56a['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':mk({'except':/^\s*{/}),'JSXElement'(_0x1c4cc5){let _0x5a838b=/^\s*<\//['test'](_0x1c4cc5['textAfter']);return _0x1c4cc5['lineIndent'](_0x1c4cc5['node']['from'])+(_0x5a838b?0x0:_0x1c4cc5['unit']);},'JSXEscape'(_0x5c3fc9){let _0x34ec0e=/\s*\}/['test'](_0x5c3fc9['textAfter']);return _0x5c3fc9['lineIndent'](_0x5c3fc9['node']['from'])+(_0x34ec0e?0x0:_0x5c3fc9['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x5efca6=>_0x5efca6['column'](_0x5efca6['node']['from'])+_0x5efca6['unit']}),Ok['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':wk,'BlockComment':_0x30f47e=>({'from':_0x30f47e['from']+0x2,'to':_0x30f47e['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),BN={'test':_0x31745b=>/^JSX/['test'](_0x31745b['name']),'facet':ZC({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},FN=UN['configure']({'dialect':'ts'},'typescript'),jN=UN['configure']({'dialect':'jsx','props':[XC['add'](_0x392881=>_0x392881['isTop']?[BN]:void 0x0)]}),HN=UN['configure']({'dialect':'jsx\x20ts','props':[XC['add'](_0xfb25f3=>_0xfb25f3['isTop']?[BN]:void 0x0)]},'typescript');let GN=_0x2ff795=>({'label':_0x2ff795,'type':'keyword'});const ZN='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'](GN),XN=ZN['concat'](['declare','implements','private','protected','public']['map'](GN));function qN(_0x3266e4={}){let _0x342afd=_0x3266e4['jsx']?_0x3266e4['typescript']?HN:jN:_0x3266e4['typescript']?FN:UN,_0x538e60=_0x3266e4['typescript']?xN['concat'](XN):kN['concat'](ZN);return new LanguageSupport(_0x342afd,[UN['data']['of']({'autocomplete':(_0xda0eb9=QN,_0x5635c5=jR(_0x538e60),_0xb72510=>{for(let _0x3839bb=WC(_0xb72510['state'])['resolveInner'](_0xb72510['pos'],-0x1);_0x3839bb;_0x3839bb=_0x3839bb['parent']){if(_0xda0eb9['indexOf'](_0x3839bb['name'])>-0x1)return null;if(_0x3839bb['type']['isTop'])break;}return _0x5635c5(_0xb72510);})}),UN['data']['of']({'autocomplete':VN}),_0x3266e4['jsx']?YN:[]]);var _0xda0eb9,_0x5635c5;}function WN(_0x5a44a6,_0x24e187,_0x25d1fa=_0x5a44a6['length']){for(let _0x10f294=null==_0x24e187?void 0x0:_0x24e187['firstChild'];_0x10f294;_0x10f294=_0x10f294['nextSibling'])if('JSXIdentifier'==_0x10f294['name']||'JSXBuiltin'==_0x10f294['name']||'JSXNamespacedName'==_0x10f294['name']||'JSXMemberExpression'==_0x10f294['name'])return _0x5a44a6['sliceString'](_0x10f294['from'],Math['min'](_0x10f294['to'],_0x25d1fa));return'';}const zN='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),YN=EditorView['inputHandler']['of']((_0x563e05,_0x9c7819,_0x48cea9,_0x17e400,_0x2a883e)=>{if((zN?_0x563e05['composing']:_0x563e05['compositionStarted'])||_0x563e05['state']['readOnly']||_0x9c7819!=_0x48cea9||'>'!=_0x17e400&&'/'!=_0x17e400||!UN['isActiveAt'](_0x563e05['state'],_0x9c7819,-0x1))return!0x1;let _0x529129=_0x2a883e(),{state:_0x5f4987}=_0x529129,_0xe30b4a=_0x5f4987['changeByRange'](_0x4d142d=>{var _0xa53354;let _0x2d1a20,{head:_0x4b1789}=_0x4d142d,_0x19fcaa=WC(_0x5f4987)['resolveInner'](_0x4b1789-0x1,-0x1);if('JSXStartTag'==_0x19fcaa['name']&&(_0x19fcaa=_0x19fcaa['parent']),_0x5f4987['doc']['sliceString'](_0x4b1789-0x1,_0x4b1789)!=_0x17e400||'JSXAttributeValue'==_0x19fcaa['name']&&_0x19fcaa['to']>_0x4b1789);else{if('>'==_0x17e400&&'JSXFragmentTag'==_0x19fcaa['name'])return{'range':_0x4d142d,'changes':{'from':_0x4b1789,'insert':'</>'}};if('/'==_0x17e400&&'JSXStartCloseTag'==_0x19fcaa['name']){let _0x4cd533=_0x19fcaa['parent'],_0x47324a=_0x4cd533['parent'];if(_0x47324a&&_0x4cd533['from']==_0x4b1789-0x2&&((_0x2d1a20=WN(_0x5f4987['doc'],_0x47324a['firstChild'],_0x4b1789))||'JSXFragmentTag'==(null===(_0xa53354=_0x47324a['firstChild'])||void 0x0===_0xa53354?void 0x0:_0xa53354['name']))){let _0x4632f3=_0x2d1a20+'>';return{'range':EditorSelection['cursor'](_0x4b1789+_0x4632f3['length'],-0x1),'changes':{'from':_0x4b1789,'insert':_0x4632f3}};}}else{if('>'==_0x17e400){let _0x59c21b=function(_0x203abc){for(;;){if('JSXOpenTag'==_0x203abc['name']||'JSXSelfClosingTag'==_0x203abc['name']||'JSXFragmentTag'==_0x203abc['name'])return _0x203abc;if('JSXEscape'==_0x203abc['name']||!_0x203abc['parent'])return null;_0x203abc=_0x203abc['parent'];}}(_0x19fcaa);if(_0x59c21b&&'JSXOpenTag'==_0x59c21b['name']&&!/^\/?>|^<\//['test'](_0x5f4987['doc']['sliceString'](_0x4b1789,_0x4b1789+0x2))&&(_0x2d1a20=WN(_0x5f4987['doc'],_0x59c21b,_0x4b1789)))return{'range':_0x4d142d,'changes':{'from':_0x4b1789,'insert':'</'+_0x2d1a20+'>'}};}}}return{'range':_0x4d142d};});return!_0xe30b4a['changes']['empty']&&(_0x563e05['dispatch']([_0x529129,_0x5f4987['update'](_0xe30b4a,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),KN=['_blank','_self','_top','_parent'],JN=['ascii','utf-8','utf-16','latin1','latin1'],tL=['get','post','put','delete'],eL=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],iL=['true','false'],sL={},nL={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':KN,'hreflang':null}},'abbr':sL,'address':sL,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':sL,'aside':sL,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':sL,'base':{'attrs':{'href':null,'target':KN}},'bdi':sL,'bdo':sL,'blockquote':{'attrs':{'cite':null}},'body':sL,'br':sL,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':eL,'formmethod':tL,'formnovalidate':['novalidate'],'formtarget':KN,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':sL,'center':sL,'cite':sL,'code':sL,'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':sL,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':sL,'div':sL,'dl':sL,'dt':sL,'em':sL,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':sL,'figure':sL,'footer':sL,'form':{'attrs':{'action':null,'name':null,'accept-charset':JN,'autocomplete':['on','off'],'enctype':eL,'method':tL,'novalidate':['novalidate'],'target':KN}},'h1':sL,'h2':sL,'h3':sL,'h4':sL,'h5':sL,'h6':sL,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':sL,'hgroup':sL,'hr':sL,'html':{'attrs':{'manifest':null}},'i':sL,'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':eL,'formmethod':tL,'formnovalidate':['novalidate'],'formtarget':KN,'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':sL,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':sL,'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':sL,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':JN,'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':sL,'noscript':sL,'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':sL,'param':{'attrs':{'name':null,'value':null}},'pre':sL,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':sL,'rt':sL,'ruby':sL,'samp':sL,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':JN}},'section':sL,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':sL,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':sL,'strong':sL,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':sL,'summary':sL,'sup':sL,'table':sL,'tbody':sL,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':sL,'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':sL,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':sL,'time':{'attrs':{'datetime':null}},'title':sL,'tr':sL,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':sL,'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':sL},rL={'accesskey':null,'class':null,'contenteditable':iL,'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':iL,'autocorrect':iL,'autocapitalize':iL,'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':iL,'aria-autocomplete':['inline','list','both','none'],'aria-busy':iL,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':iL,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':iL,'aria-hidden':iL,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':iL,'aria-multiselectable':iL,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':iL,'aria-relevant':null,'aria-required':iL,'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},oL='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'](_0x566d81=>'on'+_0x566d81);for(let e of oL)rL[e]=null;class Schema{constructor(_0x3da996,_0x62154a){this['tags']={...nL,..._0x3da996},this['globalAttrs']={...rL,..._0x62154a},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function aL(_0x4252fe,_0x394b58,_0x44ee6f=_0x4252fe['length']){if(!_0x394b58)return'';let _0x50b384=_0x394b58['firstChild'],_0x4e99e5=_0x50b384&&_0x50b384['getChild']('TagName');return _0x4e99e5?_0x4252fe['sliceString'](_0x4e99e5['from'],Math['min'](_0x4e99e5['to'],_0x44ee6f)):'';}function cL(_0x111a66,_0x168299=!0x1){for(;_0x111a66;_0x111a66=_0x111a66['parent'])if('Element'==_0x111a66['name']){if(!_0x168299)return _0x111a66;_0x168299=!0x1;}return null;}function lL(_0x10e195,_0x25aaac,_0x4fed76){let _0x1f6bec=_0x4fed76['tags'][aL(_0x10e195,cL(_0x25aaac))];return(null==_0x1f6bec?void 0x0:_0x1f6bec['children'])||_0x4fed76['allTags'];}function hL(_0x24e41b,_0x4a10cf){let _0x1f400f=[];for(let _0x5032b8=cL(_0x4a10cf);_0x5032b8&&!_0x5032b8['type']['isTop'];_0x5032b8=cL(_0x5032b8['parent'])){let _0x30480b=aL(_0x24e41b,_0x5032b8);if(_0x30480b&&'CloseTag'==_0x5032b8['lastChild']['name'])break;_0x30480b&&_0x1f400f['indexOf'](_0x30480b)<0x0&&('EndTag'==_0x4a10cf['name']||_0x4a10cf['from']>=_0x5032b8['firstChild']['to'])&&_0x1f400f['push'](_0x30480b);}return _0x1f400f;}Schema['default']=new Schema();const uL=/^[:\-\.\w\u00b7-\uffff]*$/;function dL(_0x44e527,_0x48f69f,_0x4b8b7f,_0x9b077b,_0x908de0){let _0x161343=/\s*>/['test'](_0x44e527['sliceDoc'](_0x908de0,_0x908de0+0x5))?'':'>',_0x2685b1=cL(_0x4b8b7f,'StartTag'==_0x4b8b7f['name']||'TagName'==_0x4b8b7f['name']);return{'from':_0x9b077b,'to':_0x908de0,'options':lL(_0x44e527['doc'],_0x2685b1,_0x48f69f)['map'](_0x5267ba=>({'label':_0x5267ba,'type':'type'}))['concat'](hL(_0x44e527['doc'],_0x4b8b7f)['map']((_0x3d01f5,_0x54155a)=>({'label':'/'+_0x3d01f5,'apply':'/'+_0x3d01f5+_0x161343,'type':'type','boost':0x63-_0x54155a}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function fL(_0x124087,_0x1db1df,_0x3bc12b,_0x2120d2){let _0x2bf9ec=/\s*>/['test'](_0x124087['sliceDoc'](_0x2120d2,_0x2120d2+0x5))?'':'>';return{'from':_0x3bc12b,'to':_0x2120d2,'options':hL(_0x124087['doc'],_0x1db1df)['map']((_0x1d870f,_0x327059)=>({'label':_0x1d870f,'apply':_0x1d870f+_0x2bf9ec,'type':'type','boost':0x63-_0x327059})),'validFor':uL};}function mL(_0xf5e65d,_0x4c98be){let {state:_0x14e4c7,pos:_0x2faa32}=_0x4c98be,_0x171633=WC(_0x14e4c7)['resolveInner'](_0x2faa32,-0x1),_0x9af10f=_0x171633['resolve'](_0x2faa32);for(let _0x5e94ef,_0x4a4e09=_0x2faa32;_0x9af10f==_0x171633&&(_0x5e94ef=_0x171633['childBefore'](_0x4a4e09));){let _0x51dbc1=_0x5e94ef['lastChild'];if(!_0x51dbc1||!_0x51dbc1['type']['isError']||_0x51dbc1['from']<_0x51dbc1['to'])break;_0x9af10f=_0x171633=_0x5e94ef,_0x4a4e09=_0x51dbc1['from'];}return'TagName'==_0x171633['name']?_0x171633['parent']&&/CloseTag$/['test'](_0x171633['parent']['name'])?fL(_0x14e4c7,_0x171633,_0x171633['from'],_0x2faa32):dL(_0x14e4c7,_0xf5e65d,_0x171633,_0x171633['from'],_0x2faa32):'StartTag'==_0x171633['name']||'IncompleteTag'==_0x171633['name']?dL(_0x14e4c7,_0xf5e65d,_0x171633,_0x2faa32,_0x2faa32):'StartCloseTag'==_0x171633['name']||'IncompleteCloseTag'==_0x171633['name']?fL(_0x14e4c7,_0x171633,_0x2faa32,_0x2faa32):'OpenTag'==_0x171633['name']||'SelfClosingTag'==_0x171633['name']||'AttributeName'==_0x171633['name']?function(_0x2203e7,_0x44fce2,_0x122ba0,_0x500f75,_0x55c1e3){let _0x4fd925=cL(_0x122ba0),_0x3b6c44=_0x4fd925?_0x44fce2['tags'][aL(_0x2203e7['doc'],_0x4fd925)]:null,_0x5684bb=_0x3b6c44&&_0x3b6c44['attrs']?Object['keys'](_0x3b6c44['attrs']):[];return{'from':_0x500f75,'to':_0x55c1e3,'options':(_0x3b6c44&&!0x1===_0x3b6c44['globalAttrs']?_0x5684bb:_0x5684bb['length']?_0x5684bb['concat'](_0x44fce2['globalAttrNames']):_0x44fce2['globalAttrNames'])['map'](_0x4e2315=>({'label':_0x4e2315,'type':'property'})),'validFor':uL};}(_0x14e4c7,_0xf5e65d,_0x171633,'AttributeName'==_0x171633['name']?_0x171633['from']:_0x2faa32,_0x2faa32):'Is'==_0x171633['name']||'AttributeValue'==_0x171633['name']||'UnquotedAttributeValue'==_0x171633['name']?function(_0x32115e,_0x278a57,_0x4de9bf,_0x46b14f,_0x26a29d){var _0x133dad;let _0x52c8ee,_0xec6104=null===(_0x133dad=_0x4de9bf['parent'])||void 0x0===_0x133dad?void 0x0:_0x133dad['getChild']('AttributeName'),_0x4ee7f0=[];if(_0xec6104){let _0x120e98=_0x32115e['sliceDoc'](_0xec6104['from'],_0xec6104['to']),_0x5560cb=_0x278a57['globalAttrs'][_0x120e98];if(!_0x5560cb){let _0x32ef2a=cL(_0x4de9bf),_0x5ee6f7=_0x32ef2a?_0x278a57['tags'][aL(_0x32115e['doc'],_0x32ef2a)]:null;_0x5560cb=(null==_0x5ee6f7?void 0x0:_0x5ee6f7['attrs'])&&_0x5ee6f7['attrs'][_0x120e98];}if(_0x5560cb){let _0x3e2d32=_0x32115e['sliceDoc'](_0x46b14f,_0x26a29d)['toLowerCase'](),_0x4051c7='\x22',_0x17ff92='\x22';/^['"]/['test'](_0x3e2d32)?(_0x52c8ee='\x22'==_0x3e2d32[0x0]?/^[^"]*$/:/^[^']*$/,_0x4051c7='',_0x17ff92=_0x32115e['sliceDoc'](_0x26a29d,_0x26a29d+0x1)==_0x3e2d32[0x0]?'':_0x3e2d32[0x0],_0x3e2d32=_0x3e2d32['slice'](0x1),_0x46b14f++):_0x52c8ee=/^[^\s<>='"]*$/;for(let _0xe8d2ce of _0x5560cb)_0x4ee7f0['push']({'label':_0xe8d2ce,'apply':_0x4051c7+_0xe8d2ce+_0x17ff92,'type':'constant'});}}return{'from':_0x46b14f,'to':_0x26a29d,'options':_0x4ee7f0,'validFor':_0x52c8ee};}(_0x14e4c7,_0xf5e65d,_0x171633,'Is'==_0x171633['name']?_0x2faa32:_0x171633['from'],_0x2faa32):!_0x4c98be['explicit']||'Element'!=_0x9af10f['name']&&'Text'!=_0x9af10f['name']&&'Document'!=_0x9af10f['name']?null:function(_0x5a85fb,_0x422a4e,_0x173912,_0x2230d1){let _0x3ea483=[],_0xfcb6b9=0x0;for(let _0x44ffdf of lL(_0x5a85fb['doc'],_0x173912,_0x422a4e))_0x3ea483['push']({'label':'<'+_0x44ffdf,'type':'type'});for(let _0x34a474 of hL(_0x5a85fb['doc'],_0x173912))_0x3ea483['push']({'label':'</'+_0x34a474+'>','type':'type','boost':0x63-_0xfcb6b9++});return{'from':_0x2230d1,'to':_0x2230d1,'options':_0x3ea483,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x14e4c7,_0xf5e65d,_0x171633,_0x2faa32);}function gL(_0x4d5d93){let {extraTags:_0x299919,extraGlobalAttributes:_0x2d8ae9}=_0x4d5d93,_0x56e70e=_0x2d8ae9||_0x299919?new Schema(_0x299919,_0x2d8ae9):Schema['default'];return _0x25c0ae=>mL(_0x56e70e,_0x25c0ae);}const pL=UN['parser']['configure']({'top':'SingleExpression'}),OL=[{'tag':'script','attrs':_0x256ad8=>'text/typescript'==_0x256ad8['type']||'ts'==_0x256ad8['lang'],'parser':FN['parser']},{'tag':'script','attrs':_0x2e29d8=>'text/babel'==_0x2e29d8['type']||'text/jsx'==_0x2e29d8['type'],'parser':jN['parser']},{'tag':'script','attrs':_0x5e1fb0=>'text/typescript-jsx'==_0x5e1fb0['type'],'parser':HN['parser']},{'tag':'script','attrs':_0x526684=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x526684['type']),'parser':pL},{'tag':'script','attrs':_0x4d36e6=>!_0x4d36e6['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x4d36e6['type']),'parser':UN['parser']},{'tag':'style','attrs':_0x413934=>(!_0x413934['lang']||'css'==_0x413934['lang'])&&(!_0x413934['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x413934['type'])),'parser':gN['parser']}],wL=[{'name':'style','parser':gN['parser']['configure']({'top':'Styles'})}]['concat'](oL['map'](_0x2edc59=>({'name':_0x2edc59,'parser':UN['parser']}))),bL=LRLanguage['define']({'name':'html','parser':NM['configure']({'props':[ak['add']({'Element'(_0x3046ed){let _0x98104d=/^(\s*)(<\/)?/['exec'](_0x3046ed['textAfter']);return _0x3046ed['node']['to']<=_0x3046ed['pos']+_0x98104d[0x0]['length']?_0x3046ed['continue']():_0x3046ed['lineIndent'](_0x3046ed['node']['from'])+(_0x98104d[0x2]?0x0:_0x3046ed['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x42423e=>_0x42423e['column'](_0x42423e['node']['from'])+_0x42423e['unit'],'Document'(_0x3a7a3f){if(_0x3a7a3f['pos']+/\s*/['exec'](_0x3a7a3f['textAfter'])[0x0]['length']<_0x3a7a3f['node']['to'])return _0x3a7a3f['continue']();let _0x5e504d,_0x4b6d0c=null;for(let _0xda28be=_0x3a7a3f['node'];;){let _0x5e95cb=_0xda28be['lastChild'];if(!_0x5e95cb||'Element'!=_0x5e95cb['name']||_0x5e95cb['to']!=_0xda28be['to'])break;_0x4b6d0c=_0xda28be=_0x5e95cb;}return _0x4b6d0c&&(!(_0x5e504d=_0x4b6d0c['lastChild'])||'CloseTag'!=_0x5e504d['name']&&'SelfClosingTag'!=_0x5e504d['name'])?_0x3a7a3f['lineIndent'](_0x4b6d0c['from'])+_0x3a7a3f['unit']:null;}}),Ok['add']({'Element'(_0x35a097){let _0x28d900=_0x35a097['firstChild'],_0x17dad1=_0x35a097['lastChild'];return _0x28d900&&'OpenTag'==_0x28d900['name']?{'from':_0x28d900['to'],'to':'CloseTag'==_0x17dad1['name']?_0x17dad1['from']:_0x35a097['to']}:null;}}),ex['add']({'OpenTag\x20CloseTag':_0x7072ab=>_0x7072ab['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),yL=bL['configure']({'wrap':QM(OL,wL)});function vL(_0x17ff1b={}){let _0x36a8a7,_0x25ca4a='';!0x1===_0x17ff1b['matchClosingTags']&&(_0x25ca4a='noMatch'),!0x0===_0x17ff1b['selfClosingTags']&&(_0x25ca4a=(_0x25ca4a?_0x25ca4a+'\x20':'')+'selfClosing'),(_0x17ff1b['nestedLanguages']&&_0x17ff1b['nestedLanguages']['length']||_0x17ff1b['nestedAttributes']&&_0x17ff1b['nestedAttributes']['length'])&&(_0x36a8a7=QM((_0x17ff1b['nestedLanguages']||[])['concat'](OL),(_0x17ff1b['nestedAttributes']||[])['concat'](wL)));let _0xac8471=_0x36a8a7?bL['configure']({'wrap':_0x36a8a7,'dialect':_0x25ca4a}):_0x25ca4a?yL['configure']({'dialect':_0x25ca4a}):yL;return new LanguageSupport(_0xac8471,[yL['data']['of']({'autocomplete':gL(_0x17ff1b)}),!0x1!==_0x17ff1b['autoCloseTags']?EL:[],qN()['support'],new LanguageSupport(gN,gN['data']['of']({'autocomplete':mN}))['support']]);}const _L=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),EL=EditorView['inputHandler']['of']((_0x6fa3a2,_0x1d70d4,_0x588820,_0x211acd,_0x366357)=>{if(_0x6fa3a2['composing']||_0x6fa3a2['state']['readOnly']||_0x1d70d4!=_0x588820||'>'!=_0x211acd&&'/'!=_0x211acd||!yL['isActiveAt'](_0x6fa3a2['state'],_0x1d70d4,-0x1))return!0x1;let _0x4c1ef5=_0x366357(),{state:_0x549b43}=_0x4c1ef5,_0x3c3d1e=_0x549b43['changeByRange'](_0x51fcd3=>{var _0x52244f,_0x4ee45d,_0x8ab218;let _0x4ad51b,_0x53a53d=_0x549b43['doc']['sliceString'](_0x51fcd3['from']-0x1,_0x51fcd3['to'])==_0x211acd,{head:_0xb595dd}=_0x51fcd3,_0x588360=WC(_0x549b43)['resolveInner'](_0xb595dd,-0x1);if(_0x53a53d&&'>'==_0x211acd&&'EndTag'==_0x588360['name']){let _0x22bc05=_0x588360['parent'];if('CloseTag'!=(null===(_0x4ee45d=null===(_0x52244f=_0x22bc05['parent'])||void 0x0===_0x52244f?void 0x0:_0x52244f['lastChild'])||void 0x0===_0x4ee45d?void 0x0:_0x4ee45d['name'])&&(_0x4ad51b=aL(_0x549b43['doc'],_0x22bc05['parent'],_0xb595dd))&&!_L['has'](_0x4ad51b))return{'range':_0x51fcd3,'changes':{'from':_0xb595dd,'to':_0xb595dd+('>'===_0x549b43['doc']['sliceString'](_0xb595dd,_0xb595dd+0x1)?0x1:0x0),'insert':'</'+_0x4ad51b+'>'}};}else{if(_0x53a53d&&'/'==_0x211acd&&'IncompleteCloseTag'==_0x588360['name']){let _0x526bf6=_0x588360['parent'];if(_0x588360['from']==_0xb595dd-0x2&&'CloseTag'!=(null===(_0x8ab218=_0x526bf6['lastChild'])||void 0x0===_0x8ab218?void 0x0:_0x8ab218['name'])&&(_0x4ad51b=aL(_0x549b43['doc'],_0x526bf6,_0xb595dd))&&!_L['has'](_0x4ad51b)){let _0x2df281=_0xb595dd+('>'===_0x549b43['doc']['sliceString'](_0xb595dd,_0xb595dd+0x1)?0x1:0x0),_0x20ad27=_0x4ad51b+'>';return{'range':EditorSelection['cursor'](_0xb595dd+_0x20ad27['length'],-0x1),'changes':{'from':_0xb595dd,'to':_0x2df281,'insert':_0x20ad27}};}}}return{'range':_0x51fcd3};});return!_0x3c3d1e['changes']['empty']&&(_0x6fa3a2['dispatch']([_0x4c1ef5,_0x549b43['update'](_0x3c3d1e,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0xb7e129,_0x55b1c0,_0x500969,_0x35f9eb,_0xe94057){return new CompositeBlock(_0xb7e129,_0x55b1c0,_0x500969,_0x35f9eb+(_0x35f9eb<<0x8)+_0xb7e129+(_0x55b1c0<<0x4)|0x0,_0xe94057,[],[]);}constructor(_0x5939ac,_0xc48532,_0x1a8644,_0x72813,_0x24be9f,_0x5498cd,_0x2456d2){this['type']=_0x5939ac,this['value']=_0xc48532,this['from']=_0x1a8644,this['hash']=_0x72813,this['end']=_0x24be9f,this['children']=_0x5498cd,this['positions']=_0x2456d2,this['hashProp']=[[NodeProp['contextHash'],_0x72813]];}['addChild'](_0xf43202,_0x242da9){_0xf43202['prop'](NodeProp['contextHash'])!=this['hash']&&(_0xf43202=new Tree(_0xf43202['type'],_0xf43202['children'],_0xf43202['positions'],_0xf43202['length'],this['hashProp'])),this['children']['push'](_0xf43202),this['positions']['push'](_0x242da9);}['toTree'](_0x14b8a7,_0x1f5e57=this['end']){let _0x352583=this['children']['length']-0x1;return _0x352583>=0x0&&(_0x1f5e57=Math['max'](_0x1f5e57,this['positions'][_0x352583]+this['children'][_0x352583]['length']+this['from'])),new Tree(_0x14b8a7['types'][this['type']],this['children'],this['positions'],_0x1f5e57-this['from'])['balance']({'makeTree':(_0x3b7b85,_0x3043d5,_0x434e9b)=>new Tree(NodeType['none'],_0x3b7b85,_0x3043d5,_0x434e9b,this['hashProp'])});}}var TL;!function(_0x1d6b94){_0x1d6b94[_0x1d6b94['Document']=0x1]='Document',_0x1d6b94[_0x1d6b94['CodeBlock']=0x2]='CodeBlock',_0x1d6b94[_0x1d6b94['FencedCode']=0x3]='FencedCode',_0x1d6b94[_0x1d6b94['Blockquote']=0x4]='Blockquote',_0x1d6b94[_0x1d6b94['HorizontalRule']=0x5]='HorizontalRule',_0x1d6b94[_0x1d6b94['BulletList']=0x6]='BulletList',_0x1d6b94[_0x1d6b94['OrderedList']=0x7]='OrderedList',_0x1d6b94[_0x1d6b94['ListItem']=0x8]='ListItem',_0x1d6b94[_0x1d6b94['ATXHeading1']=0x9]='ATXHeading1',_0x1d6b94[_0x1d6b94['ATXHeading2']=0xa]='ATXHeading2',_0x1d6b94[_0x1d6b94['ATXHeading3']=0xb]='ATXHeading3',_0x1d6b94[_0x1d6b94['ATXHeading4']=0xc]='ATXHeading4',_0x1d6b94[_0x1d6b94['ATXHeading5']=0xd]='ATXHeading5',_0x1d6b94[_0x1d6b94['ATXHeading6']=0xe]='ATXHeading6',_0x1d6b94[_0x1d6b94['SetextHeading1']=0xf]='SetextHeading1',_0x1d6b94[_0x1d6b94['SetextHeading2']=0x10]='SetextHeading2',_0x1d6b94[_0x1d6b94['HTMLBlock']=0x11]='HTMLBlock',_0x1d6b94[_0x1d6b94['LinkReference']=0x12]='LinkReference',_0x1d6b94[_0x1d6b94['Paragraph']=0x13]='Paragraph',_0x1d6b94[_0x1d6b94['CommentBlock']=0x14]='CommentBlock',_0x1d6b94[_0x1d6b94['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x1d6b94[_0x1d6b94['Escape']=0x16]='Escape',_0x1d6b94[_0x1d6b94['Entity']=0x17]='Entity',_0x1d6b94[_0x1d6b94['HardBreak']=0x18]='HardBreak',_0x1d6b94[_0x1d6b94['Emphasis']=0x19]='Emphasis',_0x1d6b94[_0x1d6b94['StrongEmphasis']=0x1a]='StrongEmphasis',_0x1d6b94[_0x1d6b94['Link']=0x1b]='Link',_0x1d6b94[_0x1d6b94['Image']=0x1c]='Image',_0x1d6b94[_0x1d6b94['InlineCode']=0x1d]='InlineCode',_0x1d6b94[_0x1d6b94['HTMLTag']=0x1e]='HTMLTag',_0x1d6b94[_0x1d6b94['Comment']=0x1f]='Comment',_0x1d6b94[_0x1d6b94['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x1d6b94[_0x1d6b94['Autolink']=0x21]='Autolink',_0x1d6b94[_0x1d6b94['HeaderMark']=0x22]='HeaderMark',_0x1d6b94[_0x1d6b94['QuoteMark']=0x23]='QuoteMark',_0x1d6b94[_0x1d6b94['ListMark']=0x24]='ListMark',_0x1d6b94[_0x1d6b94['LinkMark']=0x25]='LinkMark',_0x1d6b94[_0x1d6b94['EmphasisMark']=0x26]='EmphasisMark',_0x1d6b94[_0x1d6b94['CodeMark']=0x27]='CodeMark',_0x1d6b94[_0x1d6b94['CodeText']=0x28]='CodeText',_0x1d6b94[_0x1d6b94['CodeInfo']=0x29]='CodeInfo',_0x1d6b94[_0x1d6b94['LinkTitle']=0x2a]='LinkTitle',_0x1d6b94[_0x1d6b94['LinkLabel']=0x2b]='LinkLabel',_0x1d6b94[_0x1d6b94['URL']=0x2c]='URL';}(TL||(TL={}));class LeafBlock{constructor(_0x1ca01e,_0x4bf4d4){this['start']=_0x1ca01e,this['content']=_0x4bf4d4,this['marks']=[],this['parsers']=[];}}class Line{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 _0x33b8af=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x33b8af,this['pos'],this['indent']),this['pos']=_0x33b8af,this['next']=_0x33b8af==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x33b8af);}['skipSpace'](_0x107b72){return CL(this['text'],_0x107b72);}['reset'](_0x267ae3){for(this['text']=_0x267ae3,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0xeb4e6e){this['basePos']=_0xeb4e6e,this['baseIndent']=this['countIndent'](_0xeb4e6e,this['pos'],this['indent']);}['moveBaseColumn'](_0x5b59c5){this['baseIndent']=_0x5b59c5,this['basePos']=this['findColumn'](_0x5b59c5);}['addMarker'](_0x80ccd){this['markers']['push'](_0x80ccd);}['countIndent'](_0x4ebf0f,_0x497487=0x0,_0x59f30e=0x0){for(let _0x4eca64=_0x497487;_0x4eca64<_0x4ebf0f;_0x4eca64++)_0x59f30e+=0x9==this['text']['charCodeAt'](_0x4eca64)?0x4-_0x59f30e%0x4:0x1;return _0x59f30e;}['findColumn'](_0x1342b8){let _0x4dc509=0x0;for(let _0x571efa=0x0;_0x4dc509<this['text']['length']&&_0x571efa<_0x1342b8;_0x4dc509++)_0x571efa+=0x9==this['text']['charCodeAt'](_0x4dc509)?0x4-_0x571efa%0x4:0x1;return _0x4dc509;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x55286b='';for(let _0x306282=0x0;_0x306282<this['basePos'];_0x306282++)_0x55286b+='\x20';return _0x55286b+this['text']['slice'](this['basePos']);}}function AL(_0x90123c,_0x5aa3eb,_0xcc4b0d){if(_0xcc4b0d['pos']==_0xcc4b0d['text']['length']||_0x90123c!=_0x5aa3eb['block']&&_0xcc4b0d['indent']>=_0x5aa3eb['stack'][_0xcc4b0d['depth']+0x1]['value']+_0xcc4b0d['baseIndent'])return!0x0;if(_0xcc4b0d['indent']>=_0xcc4b0d['baseIndent']+0x4)return!0x1;let _0x5c7f22=(_0x90123c['type']==TL['OrderedList']?LL:NL)(_0xcc4b0d,_0x5aa3eb,!0x1);return _0x5c7f22>0x0&&(_0x90123c['type']!=TL['BulletList']||PL(_0xcc4b0d,_0x5aa3eb,!0x1)<0x0)&&_0xcc4b0d['text']['charCodeAt'](_0xcc4b0d['pos']+_0x5c7f22-0x1)==_0x90123c['value'];}const IL={[TL['Blockquote']]:(_0x2f72b5,_0x2a06f8,_0x5cde14)=>0x3e==_0x5cde14['next']&&(_0x5cde14['markers']['push'](n$(TL['QuoteMark'],_0x2a06f8['lineStart']+_0x5cde14['pos'],_0x2a06f8['lineStart']+_0x5cde14['pos']+0x1)),_0x5cde14['moveBase'](_0x5cde14['pos']+(SL(_0x5cde14['text']['charCodeAt'](_0x5cde14['pos']+0x1))?0x2:0x1)),_0x2f72b5['end']=_0x2a06f8['lineStart']+_0x5cde14['text']['length'],!0x0),[TL['ListItem']]:(_0x307d39,_0xa4cef4,_0x2c4b49)=>!(_0x2c4b49['indent']<_0x2c4b49['baseIndent']+_0x307d39['value']&&_0x2c4b49['next']>-0x1)&&(_0x2c4b49['moveBaseColumn'](_0x2c4b49['baseIndent']+_0x307d39['value']),!0x0),[TL['OrderedList']]:AL,[TL['BulletList']]:AL,[TL['Document']]:()=>!0x0};function SL(_0x583def){return 0x20==_0x583def||0x9==_0x583def||0xa==_0x583def||0xd==_0x583def;}function CL(_0xb2045a,_0x646d52=0x0){for(;_0x646d52<_0xb2045a['length']&&SL(_0xb2045a['charCodeAt'](_0x646d52));)_0x646d52++;return _0x646d52;}function kL(_0x5dee4c,_0xe09301,_0x56788b){for(;_0xe09301>_0x56788b&&SL(_0x5dee4c['charCodeAt'](_0xe09301-0x1));)_0xe09301--;return _0xe09301;}function xL(_0x39e54b){if(0x60!=_0x39e54b['next']&&0x7e!=_0x39e54b['next'])return-0x1;let _0x44e23e=_0x39e54b['pos']+0x1;for(;_0x44e23e<_0x39e54b['text']['length']&&_0x39e54b['text']['charCodeAt'](_0x44e23e)==_0x39e54b['next'];)_0x44e23e++;if(_0x44e23e<_0x39e54b['pos']+0x3)return-0x1;if(0x60==_0x39e54b['next']){for(let _0x871616=_0x44e23e;_0x871616<_0x39e54b['text']['length'];_0x871616++)if(0x60==_0x39e54b['text']['charCodeAt'](_0x871616))return-0x1;}return _0x44e23e;}function RL(_0x1a5a5f){return 0x3e!=_0x1a5a5f['next']?-0x1:0x20==_0x1a5a5f['text']['charCodeAt'](_0x1a5a5f['pos']+0x1)?0x2:0x1;}function PL(_0x14f4ab,_0x46702a,_0x26aecb){if(0x2a!=_0x14f4ab['next']&&0x2d!=_0x14f4ab['next']&&0x5f!=_0x14f4ab['next'])return-0x1;let _0x3a5881=0x1;for(let _0x2ca46f=_0x14f4ab['pos']+0x1;_0x2ca46f<_0x14f4ab['text']['length'];_0x2ca46f++){let _0x3d9857=_0x14f4ab['text']['charCodeAt'](_0x2ca46f);if(_0x3d9857==_0x14f4ab['next'])_0x3a5881++;else{if(!SL(_0x3d9857))return-0x1;}}return _0x26aecb&&0x2d==_0x14f4ab['next']&&DL(_0x14f4ab)>-0x1&&_0x14f4ab['depth']==_0x46702a['stack']['length']&&_0x46702a['parser']['leafBlockParsers']['indexOf'](XL['SetextHeading'])>-0x1||_0x3a5881<0x3?-0x1:0x1;}function ML(_0x5c28c0,_0x2e2c0d){for(let _0x1f7e8e=_0x5c28c0['stack']['length']-0x1;_0x1f7e8e>=0x0;_0x1f7e8e--)if(_0x5c28c0['stack'][_0x1f7e8e]['type']==_0x2e2c0d)return!0x0;return!0x1;}function NL(_0xc7c8e8,_0x2daabc,_0xc37d24){return 0x2d!=_0xc7c8e8['next']&&0x2b!=_0xc7c8e8['next']&&0x2a!=_0xc7c8e8['next']||_0xc7c8e8['pos']!=_0xc7c8e8['text']['length']-0x1&&!SL(_0xc7c8e8['text']['charCodeAt'](_0xc7c8e8['pos']+0x1))||!(!_0xc37d24||ML(_0x2daabc,TL['BulletList'])||_0xc7c8e8['skipSpace'](_0xc7c8e8['pos']+0x2)<_0xc7c8e8['text']['length'])?-0x1:0x1;}function LL(_0x5ab9a7,_0x2a33b0,_0x522fbd){let _0xd406d0=_0x5ab9a7['pos'],_0x2abf42=_0x5ab9a7['next'];for(;_0x2abf42>=0x30&&_0x2abf42<=0x39;){if(_0xd406d0++,_0xd406d0==_0x5ab9a7['text']['length'])return-0x1;_0x2abf42=_0x5ab9a7['text']['charCodeAt'](_0xd406d0);}return _0xd406d0==_0x5ab9a7['pos']||_0xd406d0>_0x5ab9a7['pos']+0x9||0x2e!=_0x2abf42&&0x29!=_0x2abf42||_0xd406d0<_0x5ab9a7['text']['length']-0x1&&!SL(_0x5ab9a7['text']['charCodeAt'](_0xd406d0+0x1))||_0x522fbd&&!ML(_0x2a33b0,TL['OrderedList'])&&(_0x5ab9a7['skipSpace'](_0xd406d0+0x1)==_0x5ab9a7['text']['length']||_0xd406d0>_0x5ab9a7['pos']+0x1||0x31!=_0x5ab9a7['next'])?-0x1:_0xd406d0+0x1-_0x5ab9a7['pos'];}function $L(_0x4a39c7){if(0x23!=_0x4a39c7['next'])return-0x1;let _0x5c03b2=_0x4a39c7['pos']+0x1;for(;_0x5c03b2<_0x4a39c7['text']['length']&&0x23==_0x4a39c7['text']['charCodeAt'](_0x5c03b2);)_0x5c03b2++;if(_0x5c03b2<_0x4a39c7['text']['length']&&0x20!=_0x4a39c7['text']['charCodeAt'](_0x5c03b2))return-0x1;let _0x1bb6ea=_0x5c03b2-_0x4a39c7['pos'];return _0x1bb6ea>0x6?-0x1:_0x1bb6ea;}function DL(_0x321dfe){if(0x2d!=_0x321dfe['next']&&0x3d!=_0x321dfe['next']||_0x321dfe['indent']>=_0x321dfe['baseIndent']+0x4)return-0x1;let _0x42c60a=_0x321dfe['pos']+0x1;for(;_0x42c60a<_0x321dfe['text']['length']&&_0x321dfe['text']['charCodeAt'](_0x42c60a)==_0x321dfe['next'];)_0x42c60a++;let _0x4c0f85=_0x42c60a;for(;_0x42c60a<_0x321dfe['text']['length']&&SL(_0x321dfe['text']['charCodeAt'](_0x42c60a));)_0x42c60a++;return _0x42c60a==_0x321dfe['text']['length']?_0x4c0f85:-0x1;}const QL=/^[ \t]*$/,VL=/-->/,UL=/\?>/,BL=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,VL],[/^\s*<\?/,UL],[/^\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,QL],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,QL]];function FL(_0x1040c1,_0x4ee180,_0x5f3e47){if(0x3c!=_0x1040c1['next'])return-0x1;let _0x5996b1=_0x1040c1['text']['slice'](_0x1040c1['pos']);for(let _0x16a853=0x0,_0x114c72=BL['length']-(_0x5f3e47?0x1:0x0);_0x16a853<_0x114c72;_0x16a853++)if(BL[_0x16a853][0x0]['test'](_0x5996b1))return _0x16a853;return-0x1;}function jL(_0x524090,_0x26582e){let _0x1dbf92=_0x524090['countIndent'](_0x26582e,_0x524090['pos'],_0x524090['indent']),_0x3f843c=_0x524090['countIndent'](_0x524090['skipSpace'](_0x26582e),_0x26582e,_0x1dbf92);return _0x3f843c>=_0x1dbf92+0x5?_0x1dbf92+0x1:_0x3f843c;}function HL(_0x4ce717,_0x5c7ca6,_0x1456be){let _0x16aa80=_0x4ce717['length']-0x1;_0x16aa80>=0x0&&_0x4ce717[_0x16aa80]['to']==_0x5c7ca6&&_0x4ce717[_0x16aa80]['type']==TL['CodeText']?_0x4ce717[_0x16aa80]['to']=_0x1456be:_0x4ce717['push'](n$(TL['CodeText'],_0x5c7ca6,_0x1456be));}const GL={'LinkReference':void 0x0,'IndentedCode'(_0x2da6ae,_0x2bc90d){let _0x74dbd5=_0x2bc90d['baseIndent']+0x4;if(_0x2bc90d['indent']<_0x74dbd5)return!0x1;let _0x562597=_0x2bc90d['findColumn'](_0x74dbd5),_0x3a7fd4=_0x2da6ae['lineStart']+_0x562597,_0x4a2a2e=_0x2da6ae['lineStart']+_0x2bc90d['text']['length'],_0x542925=[],_0x14a556=[];for(HL(_0x542925,_0x3a7fd4,_0x4a2a2e);_0x2da6ae['nextLine']()&&_0x2bc90d['depth']>=_0x2da6ae['stack']['length'];)if(_0x2bc90d['pos']==_0x2bc90d['text']['length']){HL(_0x14a556,_0x2da6ae['lineStart']-0x1,_0x2da6ae['lineStart']);for(let _0x12d85a of _0x2bc90d['markers'])_0x14a556['push'](_0x12d85a);}else{if(_0x2bc90d['indent']<_0x74dbd5)break;{if(_0x14a556['length']){for(let _0xba6265 of _0x14a556)_0xba6265['type']==TL['CodeText']?HL(_0x542925,_0xba6265['from'],_0xba6265['to']):_0x542925['push'](_0xba6265);_0x14a556=[];}HL(_0x542925,_0x2da6ae['lineStart']-0x1,_0x2da6ae['lineStart']);for(let _0x5c340e of _0x2bc90d['markers'])_0x542925['push'](_0x5c340e);_0x4a2a2e=_0x2da6ae['lineStart']+_0x2bc90d['text']['length'];let _0x25e8c1=_0x2da6ae['lineStart']+_0x2bc90d['findColumn'](_0x2bc90d['baseIndent']+0x4);_0x25e8c1<_0x4a2a2e&&HL(_0x542925,_0x25e8c1,_0x4a2a2e);}}return _0x14a556['length']&&(_0x14a556=_0x14a556['filter'](_0x5775d3=>_0x5775d3['type']!=TL['CodeText']),_0x14a556['length']&&(_0x2bc90d['markers']=_0x14a556['concat'](_0x2bc90d['markers']))),_0x2da6ae['addNode'](_0x2da6ae['buffer']['writeElements'](_0x542925,-_0x3a7fd4)['finish'](TL['CodeBlock'],_0x4a2a2e-_0x3a7fd4),_0x3a7fd4),!0x0;},'FencedCode'(_0x4fa7bb,_0x548bbd){let _0x245938=xL(_0x548bbd);if(_0x245938<0x0)return!0x1;let _0x243f50=_0x4fa7bb['lineStart']+_0x548bbd['pos'],_0x999748=_0x548bbd['next'],_0x4f8680=_0x245938-_0x548bbd['pos'],_0x311904=_0x548bbd['skipSpace'](_0x245938),_0x1c67c3=kL(_0x548bbd['text'],_0x548bbd['text']['length'],_0x311904),_0xbf209f=[n$(TL['CodeMark'],_0x243f50,_0x243f50+_0x4f8680)];_0x311904<_0x1c67c3&&_0xbf209f['push'](n$(TL['CodeInfo'],_0x4fa7bb['lineStart']+_0x311904,_0x4fa7bb['lineStart']+_0x1c67c3));for(let _0x4c7a0e=!0x0;_0x4fa7bb['nextLine']()&&_0x548bbd['depth']>=_0x4fa7bb['stack']['length'];_0x4c7a0e=!0x1){let _0x1595c0=_0x548bbd['pos'];if(_0x548bbd['indent']-_0x548bbd['baseIndent']<0x4){for(;_0x1595c0<_0x548bbd['text']['length']&&_0x548bbd['text']['charCodeAt'](_0x1595c0)==_0x999748;)_0x1595c0++;}if(_0x1595c0-_0x548bbd['pos']>=_0x4f8680&&_0x548bbd['skipSpace'](_0x1595c0)==_0x548bbd['text']['length']){for(let _0x1afd62 of _0x548bbd['markers'])_0xbf209f['push'](_0x1afd62);_0xbf209f['push'](n$(TL['CodeMark'],_0x4fa7bb['lineStart']+_0x548bbd['pos'],_0x4fa7bb['lineStart']+_0x1595c0)),_0x4fa7bb['nextLine']();break;}{_0x4c7a0e||HL(_0xbf209f,_0x4fa7bb['lineStart']-0x1,_0x4fa7bb['lineStart']);for(let _0x4f96d6 of _0x548bbd['markers'])_0xbf209f['push'](_0x4f96d6);let _0x22addf=_0x4fa7bb['lineStart']+_0x548bbd['basePos'],_0x32b82b=_0x4fa7bb['lineStart']+_0x548bbd['text']['length'];_0x22addf<_0x32b82b&&HL(_0xbf209f,_0x22addf,_0x32b82b);}}return _0x4fa7bb['addNode'](_0x4fa7bb['buffer']['writeElements'](_0xbf209f,-_0x243f50)['finish'](TL['FencedCode'],_0x4fa7bb['prevLineEnd']()-_0x243f50),_0x243f50),!0x0;},'Blockquote'(_0x1c5748,_0x35b52e){let _0xaf1dfd=RL(_0x35b52e);return!(_0xaf1dfd<0x0)&&(_0x1c5748['startContext'](TL['Blockquote'],_0x35b52e['pos']),_0x1c5748['addNode'](TL['QuoteMark'],_0x1c5748['lineStart']+_0x35b52e['pos'],_0x1c5748['lineStart']+_0x35b52e['pos']+0x1),_0x35b52e['moveBase'](_0x35b52e['pos']+_0xaf1dfd),null);},'HorizontalRule'(_0x311e58,_0xa51e24){if(PL(_0xa51e24,_0x311e58,!0x1)<0x0)return!0x1;let _0x543360=_0x311e58['lineStart']+_0xa51e24['pos'];return _0x311e58['nextLine'](),_0x311e58['addNode'](TL['HorizontalRule'],_0x543360),!0x0;},'BulletList'(_0x52901d,_0x5c3ba5){let _0x128299=NL(_0x5c3ba5,_0x52901d,!0x1);if(_0x128299<0x0)return!0x1;_0x52901d['block']['type']!=TL['BulletList']&&_0x52901d['startContext'](TL['BulletList'],_0x5c3ba5['basePos'],_0x5c3ba5['next']);let _0x49b130=jL(_0x5c3ba5,_0x5c3ba5['pos']+0x1);return _0x52901d['startContext'](TL['ListItem'],_0x5c3ba5['basePos'],_0x49b130-_0x5c3ba5['baseIndent']),_0x52901d['addNode'](TL['ListMark'],_0x52901d['lineStart']+_0x5c3ba5['pos'],_0x52901d['lineStart']+_0x5c3ba5['pos']+_0x128299),_0x5c3ba5['moveBaseColumn'](_0x49b130),null;},'OrderedList'(_0x5806e4,_0x2ff176){let _0x2f0c17=LL(_0x2ff176,_0x5806e4,!0x1);if(_0x2f0c17<0x0)return!0x1;_0x5806e4['block']['type']!=TL['OrderedList']&&_0x5806e4['startContext'](TL['OrderedList'],_0x2ff176['basePos'],_0x2ff176['text']['charCodeAt'](_0x2ff176['pos']+_0x2f0c17-0x1));let _0x3700f5=jL(_0x2ff176,_0x2ff176['pos']+_0x2f0c17);return _0x5806e4['startContext'](TL['ListItem'],_0x2ff176['basePos'],_0x3700f5-_0x2ff176['baseIndent']),_0x5806e4['addNode'](TL['ListMark'],_0x5806e4['lineStart']+_0x2ff176['pos'],_0x5806e4['lineStart']+_0x2ff176['pos']+_0x2f0c17),_0x2ff176['moveBaseColumn'](_0x3700f5),null;},'ATXHeading'(_0x27751d,_0x57066d){let _0x571839=$L(_0x57066d);if(_0x571839<0x0)return!0x1;let _0x111016=_0x57066d['pos'],_0x52e264=_0x27751d['lineStart']+_0x111016,_0x496d00=kL(_0x57066d['text'],_0x57066d['text']['length'],_0x111016),_0x4fcf07=_0x496d00;for(;_0x4fcf07>_0x111016&&_0x57066d['text']['charCodeAt'](_0x4fcf07-0x1)==_0x57066d['next'];)_0x4fcf07--;_0x4fcf07!=_0x496d00&&_0x4fcf07!=_0x111016&&SL(_0x57066d['text']['charCodeAt'](_0x4fcf07-0x1))||(_0x4fcf07=_0x57066d['text']['length']);let _0x1f4d90=_0x27751d['buffer']['write'](TL['HeaderMark'],0x0,_0x571839)['writeElements'](_0x27751d['parser']['parseInline'](_0x57066d['text']['slice'](_0x111016+_0x571839+0x1,_0x4fcf07),_0x52e264+_0x571839+0x1),-_0x52e264);_0x4fcf07<_0x57066d['text']['length']&&_0x1f4d90['write'](TL['HeaderMark'],_0x4fcf07-_0x111016,_0x496d00-_0x111016);let _0x12da30=_0x1f4d90['finish'](TL['ATXHeading1']-0x1+_0x571839,_0x57066d['text']['length']-_0x111016);return _0x27751d['nextLine'](),_0x27751d['addNode'](_0x12da30,_0x52e264),!0x0;},'HTMLBlock'(_0x46a490,_0x4cca47){let _0x1aeb17=FL(_0x4cca47,0x0,!0x1);if(_0x1aeb17<0x0)return!0x1;let _0x4b5097=_0x46a490['lineStart']+_0x4cca47['pos'],_0x141468=BL[_0x1aeb17][0x1],_0x406ed9=[],_0x47e7c5=_0x141468!=QL;for(;!_0x141468['test'](_0x4cca47['text'])&&_0x46a490['nextLine']();){if(_0x4cca47['depth']<_0x46a490['stack']['length']){_0x47e7c5=!0x1;break;}for(let _0xf2d0e3 of _0x4cca47['markers'])_0x406ed9['push'](_0xf2d0e3);}_0x47e7c5&&_0x46a490['nextLine']();let _0x1e7955=_0x141468==VL?TL['CommentBlock']:_0x141468==UL?TL['ProcessingInstructionBlock']:TL['HTMLBlock'],_0x1a31b4=_0x46a490['prevLineEnd']();return _0x46a490['addNode'](_0x46a490['buffer']['writeElements'](_0x406ed9,-_0x4b5097)['finish'](_0x1e7955,_0x1a31b4-_0x4b5097),_0x4b5097),!0x0;},'SetextHeading':void 0x0};class LinkReferenceParser{constructor(_0x2da3aa){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x2da3aa['start'],this['advance'](_0x2da3aa['content']);}['nextLine'](_0x338e4d,_0x29eeac,_0x4ebc02){if(-0x1==this['stage'])return!0x1;let _0x5b06de=_0x4ebc02['content']+'\x0a'+_0x29eeac['scrub'](),_0x16812d=this['advance'](_0x5b06de);return _0x16812d>-0x1&&_0x16812d<_0x5b06de['length']&&this['complete'](_0x338e4d,_0x4ebc02,_0x16812d);}['finish'](_0x48b5ea,_0x383bcb){return(0x2==this['stage']||0x3==this['stage'])&&CL(_0x383bcb['content'],this['pos'])==_0x383bcb['content']['length']&&this['complete'](_0x48b5ea,_0x383bcb,_0x383bcb['content']['length']);}['complete'](_0xd64b36,_0x4042d4,_0x4f59fe){return _0xd64b36['addLeafElement'](_0x4042d4,n$(TL['LinkReference'],this['start'],this['start']+_0x4f59fe,this['elts'])),!0x0;}['nextStage'](_0x346e7f){return _0x346e7f?(this['pos']=_0x346e7f['to']-this['start'],this['elts']['push'](_0x346e7f),this['stage']++,!0x0):(!0x1===_0x346e7f&&(this['stage']=-0x1),!0x1);}['advance'](_0x1a3d83){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](g$(_0x1a3d83,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x1a3d83['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](n$(TL['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x3e6309=CL(_0x1a3d83,this['pos']),_0x505614=0x0;if(_0x3e6309>this['pos']){let _0x3e0b15=m$(_0x1a3d83,_0x3e6309,this['start']);if(_0x3e0b15){let _0x453e05=ZL(_0x1a3d83,_0x3e0b15['to']-this['start']);_0x453e05>0x0&&(this['nextStage'](_0x3e0b15),_0x505614=_0x453e05);}}return _0x505614||(_0x505614=ZL(_0x1a3d83,this['pos'])),_0x505614>0x0&&_0x505614<_0x1a3d83['length']?_0x505614:-0x1;}return ZL(_0x1a3d83,this['pos']);}if(!this['nextStage'](f$(_0x1a3d83,CL(_0x1a3d83,this['pos']),this['start'])))return-0x1;}}}}function ZL(_0x456db5,_0x18a77a){for(;_0x18a77a<_0x456db5['length'];_0x18a77a++){let _0x15c237=_0x456db5['charCodeAt'](_0x18a77a);if(0xa==_0x15c237)break;if(!SL(_0x15c237))return-0x1;}return _0x18a77a;}class SetextHeadingParser{['nextLine'](_0x4516f2,_0x35d22,_0x46e3c4){let _0x1af0f5=_0x35d22['depth']<_0x4516f2['stack']['length']?-0x1:DL(_0x35d22),_0x3b162c=_0x35d22['next'];if(_0x1af0f5<0x0)return!0x1;let _0x1537ed=n$(TL['HeaderMark'],_0x4516f2['lineStart']+_0x35d22['pos'],_0x4516f2['lineStart']+_0x1af0f5);return _0x4516f2['nextLine'](),_0x4516f2['addLeafElement'](_0x46e3c4,n$(0x3d==_0x3b162c?TL['SetextHeading1']:TL['SetextHeading2'],_0x46e3c4['start'],_0x4516f2['prevLineEnd'](),[..._0x4516f2['parser']['parseInline'](_0x46e3c4['content'],_0x46e3c4['start']),_0x1537ed])),!0x0;}['finish'](){return!0x1;}}const XL={'LinkReference':(_0x2a7f73,_0x592ce1)=>0x5b==_0x592ce1['content']['charCodeAt'](0x0)?new LinkReferenceParser(_0x592ce1):null,'SetextHeading':()=>new SetextHeadingParser()},qL=[(_0x3f259c,_0x468a00)=>$L(_0x468a00)>=0x0,(_0x567612,_0x5d9e97)=>xL(_0x5d9e97)>=0x0,(_0x5f4b15,_0xa57c12)=>RL(_0xa57c12)>=0x0,(_0x3c6e90,_0x5ac349)=>NL(_0x5ac349,_0x3c6e90,!0x0)>=0x0,(_0x28a50a,_0xedb133)=>LL(_0xedb133,_0x28a50a,!0x0)>=0x0,(_0x444afe,_0xdb9c00)=>PL(_0xdb9c00,_0x444afe,!0x0)>=0x0,(_0x28dc1e,_0x444b11)=>FL(_0x444b11,0x0,!0x0)>=0x0],WL={'text':'','end':0x0};class BlockContext{constructor(_0x15a7f2,_0x206c5c,_0x352e1f,_0x99f682){this['parser']=_0x15a7f2,this['input']=_0x206c5c,this['ranges']=_0x99f682,this['line']=new Line(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x99f682[_0x99f682['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x99f682[0x0]['from'],this['block']=CompositeBlock['create'](TL['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x352e1f['length']?new FragmentCursor(_0x352e1f,_0x206c5c):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x5abac5}=this;for(;;){for(let _0x38787e=0x0;;){let _0x2de012=_0x5abac5['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x38787e<_0x5abac5['markers']['length']&&(!_0x2de012||_0x5abac5['markers'][_0x38787e]['from']<_0x2de012['end']);){let _0x575301=_0x5abac5['markers'][_0x38787e++];this['addNode'](_0x575301['type'],_0x575301['from'],_0x575301['to']);}if(!_0x2de012)break;this['finishContext']();}if(_0x5abac5['pos']<_0x5abac5['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x5abac5['basePos']))return null;t:for(;;){for(let _0x5901e0 of this['parser']['blockParsers'])if(_0x5901e0){let _0x1173eb=_0x5901e0(this,_0x5abac5);if(0x0!=_0x1173eb){if(0x1==_0x1173eb)return null;_0x5abac5['forward']();continue t;}}break;}let _0x5be89a=new LeafBlock(this['lineStart']+_0x5abac5['pos'],_0x5abac5['text']['slice'](_0x5abac5['pos']));for(let _0x2078da of this['parser']['leafBlockParsers'])if(_0x2078da){let _0x3b7e17=_0x2078da(this,_0x5be89a);_0x3b7e17&&_0x5be89a['parsers']['push'](_0x3b7e17);}t:for(;this['nextLine']()&&_0x5abac5['pos']!=_0x5abac5['text']['length'];){if(_0x5abac5['indent']<_0x5abac5['baseIndent']+0x4){for(let _0x2d31f6 of this['parser']['endLeafBlock'])if(_0x2d31f6(this,_0x5abac5,_0x5be89a))break t;}for(let _0x4c140c of _0x5be89a['parsers'])if(_0x4c140c['nextLine'](this,_0x5abac5,_0x5be89a))return null;_0x5be89a['content']+='\x0a'+_0x5abac5['scrub']();for(let _0x4a61d4 of _0x5abac5['markers'])_0x5be89a['marks']['push'](_0x4a61d4);}return this['finishLeaf'](_0x5be89a),null;}['stopAt'](_0x4ca927){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x4ca927)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x4ca927;}['reuseFragment'](_0x15615e){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x15615e,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x228d50=this['fragments']['takeNodes'](this);return!!_0x228d50&&(this['absoluteLineStart']+=_0x228d50,this['lineStart']=w$(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'](_0x55d371=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x55d371]['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'](_0x1b1c75){let _0x295292=WL;if(_0x295292['end']=_0x1b1c75,_0x1b1c75>=this['to'])_0x295292['text']='';else{if(_0x295292['text']=this['lineChunkAt'](_0x1b1c75),_0x295292['end']+=_0x295292['text']['length'],this['ranges']['length']>0x1){let _0x4742ae=this['absoluteLineStart'],_0x1f4a41=this['rangeI'];for(;this['ranges'][_0x1f4a41]['to']<_0x295292['end'];){_0x1f4a41++;let _0xfb7d7b=this['ranges'][_0x1f4a41]['from'],_0x317ecb=this['lineChunkAt'](_0xfb7d7b);_0x295292['end']=_0xfb7d7b+_0x317ecb['length'],_0x295292['text']=_0x295292['text']['slice'](0x0,this['ranges'][_0x1f4a41-0x1]['to']-_0x4742ae)+_0x317ecb,_0x4742ae=_0x295292['end']-_0x295292['text']['length'];}}}return _0x295292;}['readLine'](){let {line:_0x48d157}=this,{text:_0x44b411,end:_0x2cb30}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x2cb30,_0x48d157['reset'](_0x44b411);_0x48d157['depth']<this['stack']['length'];_0x48d157['depth']++){let _0x79a2a3=this['stack'][_0x48d157['depth']],_0x379fe5=this['parser']['skipContextMarkup'][_0x79a2a3['type']];if(!_0x379fe5)throw new Error('Unhandled\x20block\x20context\x20'+TL[_0x79a2a3['type']]);let _0x24616d=this['line']['markers']['length'];if(!_0x379fe5(_0x79a2a3,this,_0x48d157)){this['line']['markers']['length']>_0x24616d&&(_0x79a2a3['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x48d157['forward']();}}['lineChunkAt'](_0x51e925){let _0x359885,_0x37eec6=this['input']['chunk'](_0x51e925);if(this['input']['lineChunks'])_0x359885='\x0a'==_0x37eec6?'':_0x37eec6;else{let _0x34d939=_0x37eec6['indexOf']('\x0a');_0x359885=_0x34d939<0x0?_0x37eec6:_0x37eec6['slice'](0x0,_0x34d939);}return _0x51e925+_0x359885['length']>this['to']?_0x359885['slice'](0x0,this['to']-_0x51e925):_0x359885;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x3a73fb,_0x5e1a67,_0x2d1e01=0x0){this['block']=CompositeBlock['create'](_0x3a73fb,_0x2d1e01,this['lineStart']+_0x5e1a67,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x33ef3b,_0x1c1fb1,_0x4be32d=0x0){this['startContext'](this['parser']['getNodeType'](_0x33ef3b),_0x1c1fb1,_0x4be32d);}['addNode'](_0x5a982f,_0x598bf5,_0x34fe85){'number'==typeof _0x5a982f&&(_0x5a982f=new Tree(this['parser']['nodeSet']['types'][_0x5a982f],e$,e$,(null!=_0x34fe85?_0x34fe85:this['prevLineEnd']())-_0x598bf5)),this['block']['addChild'](_0x5a982f,_0x598bf5-this['block']['from']);}['addElement'](_0x3d4b0d){this['block']['addChild'](_0x3d4b0d['toTree'](this['parser']['nodeSet']),_0x3d4b0d['from']-this['block']['from']);}['addLeafElement'](_0x3d6887,_0xaae73){this['addNode'](this['buffer']['writeElements'](p$(_0xaae73['children'],_0x3d6887['marks']),-_0xaae73['from'])['finish'](_0xaae73['type'],_0xaae73['to']-_0xaae73['from']),_0xaae73['from']);}['finishContext'](){let _0x30b6a0=this['stack']['pop'](),_0x50ee21=this['stack'][this['stack']['length']-0x1];_0x50ee21['addChild'](_0x30b6a0['toTree'](this['parser']['nodeSet']),_0x30b6a0['from']-_0x50ee21['from']),this['block']=_0x50ee21;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0xc735bc){return this['ranges']['length']>0x1?zL(this['ranges'],0x0,_0xc735bc['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0xc735bc;}['finishLeaf'](_0x39b5db){for(let _0x4c04eb of _0x39b5db['parsers'])if(_0x4c04eb['finish'](this,_0x39b5db))return;let _0x2a5de1=p$(this['parser']['parseInline'](_0x39b5db['content'],_0x39b5db['start']),_0x39b5db['marks']);this['addNode'](this['buffer']['writeElements'](_0x2a5de1,-_0x39b5db['start'])['finish'](TL['Paragraph'],_0x39b5db['content']['length']),_0x39b5db['start']);}['elt'](_0x3610b2,_0x10238a,_0x52de22,_0x230208){return'string'==typeof _0x3610b2?n$(this['parser']['getNodeType'](_0x3610b2),_0x10238a,_0x52de22,_0x230208):new TreeElement(_0x3610b2,_0x10238a);}get['buffer'](){return new i$(this['parser']['nodeSet']);}}function zL(_0x128cf8,_0x2d32a9,_0x589141,_0xb9f714,_0x869072){let _0x96e156=_0x128cf8[_0x2d32a9]['to'],_0x1039a0=[],_0x2d3870=[],_0x553f27=_0x589141['from']+_0xb9f714;function _0x40dc27(_0x4f0683,_0x236e5c){for(;_0x236e5c?_0x4f0683>=_0x96e156:_0x4f0683>_0x96e156;){let _0x3c8ae5=_0x128cf8[_0x2d32a9+0x1]['from']-_0x96e156;_0xb9f714+=_0x3c8ae5,_0x4f0683+=_0x3c8ae5,_0x2d32a9++,_0x96e156=_0x128cf8[_0x2d32a9]['to'];}}for(let _0x425962=_0x589141['firstChild'];_0x425962;_0x425962=_0x425962['nextSibling']){_0x40dc27(_0x425962['from']+_0xb9f714,!0x0);let _0x3a260e,_0x5e455d=_0x425962['from']+_0xb9f714,_0x59c544=_0x869072['get'](_0x425962['tree']);_0x59c544?_0x3a260e=_0x59c544:_0x425962['to']+_0xb9f714>_0x96e156?(_0x3a260e=zL(_0x128cf8,_0x2d32a9,_0x425962,_0xb9f714,_0x869072),_0x40dc27(_0x425962['to']+_0xb9f714,!0x1)):_0x3a260e=_0x425962['toTree'](),_0x1039a0['push'](_0x3a260e),_0x2d3870['push'](_0x5e455d-_0x553f27);}return _0x40dc27(_0x589141['to']+_0xb9f714,!0x1),new Tree(_0x589141['type'],_0x1039a0,_0x2d3870,_0x589141['to']+_0xb9f714-_0x553f27,_0x589141['tree']?_0x589141['tree']['propValues']:void 0x0);}class MarkdownParser extends Parser{constructor(_0x40b0ef,_0x3cda76,_0x5291c2,_0x47120d,_0x5a30cc,_0x1d152c,_0x3d4bd7,_0x4d646e,_0x26cb7f){super(),this['nodeSet']=_0x40b0ef,this['blockParsers']=_0x3cda76,this['leafBlockParsers']=_0x5291c2,this['blockNames']=_0x47120d,this['endLeafBlock']=_0x5a30cc,this['skipContextMarkup']=_0x1d152c,this['inlineParsers']=_0x3d4bd7,this['inlineNames']=_0x4d646e,this['wrappers']=_0x26cb7f,this['nodeTypes']=Object['create'](null);for(let t of _0x40b0ef['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x5663f3,_0x14e19f,_0x26a4c4){let _0x5efed6=new BlockContext(this,_0x5663f3,_0x14e19f,_0x26a4c4);for(let _0x3ba3be of this['wrappers'])_0x5efed6=_0x3ba3be(_0x5efed6,_0x5663f3,_0x14e19f,_0x26a4c4);return _0x5efed6;}['configure'](_0x36dfd5){let _0x35fb80=KL(_0x36dfd5);if(!_0x35fb80)return this;let {nodeSet:_0x3d33f2,skipContextMarkup:_0xcf9403}=this,_0x4c7c14=this['blockParsers']['slice'](),_0x1b3165=this['leafBlockParsers']['slice'](),_0x525979=this['blockNames']['slice'](),_0x41e84d=this['inlineParsers']['slice'](),_0x53f857=this['inlineNames']['slice'](),_0x440313=this['endLeafBlock']['slice'](),_0x4e2f35=this['wrappers'];if(YL(_0x35fb80['defineNodes'])){_0xcf9403=Object['assign']({},_0xcf9403);let _0x5108fd,_0x1f60ff=_0x3d33f2['types']['slice']();for(let _0x1d35b1 of _0x35fb80['defineNodes']){let {name:_0x1bc92e,block:_0x4858f8,composite:_0xdaea68,style:_0x2fd692}='string'==typeof _0x1d35b1?{'name':_0x1d35b1}:_0x1d35b1;if(_0x1f60ff['some'](t=>t['name']==_0x1bc92e))continue;_0xdaea68&&(_0xcf9403[_0x1f60ff['length']]=(_0x4e50b1,_0x5985ed,_0x53b846)=>_0xdaea68(_0x5985ed,_0x53b846,_0x4e50b1['value']));let _0x145984=_0x1f60ff['length'],_0x595a8b=_0xdaea68?['Block','BlockContext']:_0x4858f8?_0x145984>=TL['ATXHeading1']&&_0x145984<=TL['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x1f60ff['push'](NodeType['define']({'id':_0x145984,'name':_0x1bc92e,'props':_0x595a8b&&[[NodeProp['group'],_0x595a8b]]})),_0x2fd692&&(_0x5108fd||(_0x5108fd={}),Array['isArray'](_0x2fd692)||_0x2fd692 instanceof Tag?_0x5108fd[_0x1bc92e]=_0x2fd692:Object['assign'](_0x5108fd,_0x2fd692));}_0x3d33f2=new NodeSet(_0x1f60ff),_0x5108fd&&(_0x3d33f2=_0x3d33f2['extend'](AC(_0x5108fd)));}if(YL(_0x35fb80['props'])&&(_0x3d33f2=_0x3d33f2['extend'](..._0x35fb80['props'])),YL(_0x35fb80['remove']))for(let _0x363d13 of _0x35fb80['remove']){let _0x2a979a=this['blockNames']['indexOf'](_0x363d13),_0x7973f4=this['inlineNames']['indexOf'](_0x363d13);_0x2a979a>-0x1&&(_0x4c7c14[_0x2a979a]=_0x1b3165[_0x2a979a]=void 0x0),_0x7973f4>-0x1&&(_0x41e84d[_0x7973f4]=void 0x0);}if(YL(_0x35fb80['parseBlock']))for(let _0x3f3b4 of _0x35fb80['parseBlock']){let _0x4db77a=_0x525979['indexOf'](_0x3f3b4['name']);if(_0x4db77a>-0x1)_0x4c7c14[_0x4db77a]=_0x3f3b4['parse'],_0x1b3165[_0x4db77a]=_0x3f3b4['leaf'];else{let _0x249aaa=_0x3f3b4['before']?JL(_0x525979,_0x3f3b4['before']):_0x3f3b4['after']?JL(_0x525979,_0x3f3b4['after'])+0x1:_0x525979['length']-0x1;_0x4c7c14['splice'](_0x249aaa,0x0,_0x3f3b4['parse']),_0x1b3165['splice'](_0x249aaa,0x0,_0x3f3b4['leaf']),_0x525979['splice'](_0x249aaa,0x0,_0x3f3b4['name']);}_0x3f3b4['endLeaf']&&_0x440313['push'](_0x3f3b4['endLeaf']);}if(YL(_0x35fb80['parseInline']))for(let _0x132b6f of _0x35fb80['parseInline']){let _0x7a1b68=_0x53f857['indexOf'](_0x132b6f['name']);if(_0x7a1b68>-0x1)_0x41e84d[_0x7a1b68]=_0x132b6f['parse'];else{let _0x57368e=_0x132b6f['before']?JL(_0x53f857,_0x132b6f['before']):_0x132b6f['after']?JL(_0x53f857,_0x132b6f['after'])+0x1:_0x53f857['length']-0x1;_0x41e84d['splice'](_0x57368e,0x0,_0x132b6f['parse']),_0x53f857['splice'](_0x57368e,0x0,_0x132b6f['name']);}}return _0x35fb80['wrap']&&(_0x4e2f35=_0x4e2f35['concat'](_0x35fb80['wrap'])),new MarkdownParser(_0x3d33f2,_0x4c7c14,_0x1b3165,_0x525979,_0x440313,_0xcf9403,_0x41e84d,_0x53f857,_0x4e2f35);}['getNodeType'](_0x488451){let _0x568248=this['nodeTypes'][_0x488451];if(null==_0x568248)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x488451+'\x27');return _0x568248;}['parseInline'](_0x4f12f7,_0x32d259){let _0x4d8b2a=new InlineContext(this,_0x4f12f7,_0x32d259);t:for(let _0x43c964=_0x32d259;_0x43c964<_0x4d8b2a['end'];){let _0x2ddf57=_0x4d8b2a['char'](_0x43c964);for(let _0x32f033 of this['inlineParsers'])if(_0x32f033){let _0x303888=_0x32f033(_0x4d8b2a,_0x2ddf57,_0x43c964);if(_0x303888>=0x0){_0x43c964=_0x303888;continue t;}}_0x43c964++;}return _0x4d8b2a['resolveMarkers'](0x0);}}function YL(_0x36e1b2){return null!=_0x36e1b2&&_0x36e1b2['length']>0x0;}function KL(_0xa95b44){if(!Array['isArray'](_0xa95b44))return _0xa95b44;if(0x0==_0xa95b44['length'])return null;let _0x41a9f6=KL(_0xa95b44[0x0]);if(0x1==_0xa95b44['length'])return _0x41a9f6;let _0x5a7119=KL(_0xa95b44['slice'](0x1));if(!_0x5a7119||!_0x41a9f6)return _0x41a9f6||_0x5a7119;let _0x2d2ef4=(_0x136fa0,_0x88b070)=>(_0x136fa0||e$)['concat'](_0x88b070||e$),_0x3eb306=_0x41a9f6['wrap'],_0x22052b=_0x5a7119['wrap'];return{'props':_0x2d2ef4(_0x41a9f6['props'],_0x5a7119['props']),'defineNodes':_0x2d2ef4(_0x41a9f6['defineNodes'],_0x5a7119['defineNodes']),'parseBlock':_0x2d2ef4(_0x41a9f6['parseBlock'],_0x5a7119['parseBlock']),'parseInline':_0x2d2ef4(_0x41a9f6['parseInline'],_0x5a7119['parseInline']),'remove':_0x2d2ef4(_0x41a9f6['remove'],_0x5a7119['remove']),'wrap':_0x3eb306?_0x22052b?(_0x42f05c,_0x16b43e,_0xe1f44a,_0x4f198d)=>_0x3eb306(_0x22052b(_0x42f05c,_0x16b43e,_0xe1f44a,_0x4f198d),_0x16b43e,_0xe1f44a,_0x4f198d):_0x3eb306:_0x22052b};}function JL(_0x34b4f5,_0x3a2e9f){let _0x16c244=_0x34b4f5['indexOf'](_0x3a2e9f);if(_0x16c244<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x3a2e9f);return _0x16c244;}let t$=[NodeType['none']];for(let e,s=0x1;e=TL[s];s++)t$[s]=NodeType['define']({'id':s,'name':e,'props':s>=TL['Escape']?[]:[[NodeProp['group'],s in IL?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==e});const e$=[];let i$=class Buffer{constructor(_0x1a9863){this['nodeSet']=_0x1a9863,this['content']=[],this['nodes']=[];}['write'](_0x27a321,_0x1c0fc6,_0xbe2d72,_0x20353c=0x0){return this['content']['push'](_0x27a321,_0x1c0fc6,_0xbe2d72,0x4+0x4*_0x20353c),this;}['writeElements'](_0x1765f6,_0x45f023=0x0){for(let _0x4c8b07 of _0x1765f6)_0x4c8b07['writeTo'](this,_0x45f023);return this;}['finish'](_0x499da7,_0x26f81b){return Tree['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x499da7,'length':_0x26f81b});}},s$=class Element{constructor(_0xb54e60,_0x40ab4d,_0x19e737,_0x969d20=e$){this['type']=_0xb54e60,this['from']=_0x40ab4d,this['to']=_0x19e737,this['children']=_0x969d20;}['writeTo'](_0x3b20fd,_0x5c0b76){let _0x5b8281=_0x3b20fd['content']['length'];_0x3b20fd['writeElements'](this['children'],_0x5c0b76),_0x3b20fd['content']['push'](this['type'],this['from']+_0x5c0b76,this['to']+_0x5c0b76,_0x3b20fd['content']['length']+0x4-_0x5b8281);}['toTree'](_0x3283fa){return new i$(_0x3283fa)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x2107f5,_0x5d1b7f){this['tree']=_0x2107f5,this['from']=_0x5d1b7f;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return e$;}['writeTo'](_0x4b0136,_0x4b0f7a){_0x4b0136['nodes']['push'](this['tree']),_0x4b0136['content']['push'](_0x4b0136['nodes']['length']-0x1,this['from']+_0x4b0f7a,this['to']+_0x4b0f7a,-0x1);}['toTree'](){return this['tree'];}}function n$(_0x10b3e2,_0x5b6d26,_0x25e5d5,_0x120073){return new s$(_0x10b3e2,_0x5b6d26,_0x25e5d5,_0x120073);}const r$={'resolve':'Emphasis','mark':'EmphasisMark'},o$={'resolve':'Emphasis','mark':'EmphasisMark'},a$={},c$={};class InlineDelimiter{constructor(_0x1a8aaa,_0x50ad8b,_0x56bb00,_0x392185){this['type']=_0x1a8aaa,this['from']=_0x50ad8b,this['to']=_0x56bb00,this['side']=_0x392185;}}const l$='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let h$=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{h$=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x5ad718){}const u$={'Escape'(_0x4a62e2,_0x1417d1,_0x12e4dd){if(0x5c!=_0x1417d1||_0x12e4dd==_0x4a62e2['end']-0x1)return-0x1;let _0xa05857=_0x4a62e2['char'](_0x12e4dd+0x1);for(let _0x3108fa=0x0;_0x3108fa<0x20;_0x3108fa++)if(l$['charCodeAt'](_0x3108fa)==_0xa05857)return _0x4a62e2['append'](n$(TL['Escape'],_0x12e4dd,_0x12e4dd+0x2));return-0x1;},'Entity'(_0x36ace0,_0x2139b5,_0x28b563){if(0x26!=_0x2139b5)return-0x1;let _0x237e98=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x36ace0['slice'](_0x28b563+0x1,_0x28b563+0x1f));return _0x237e98?_0x36ace0['append'](n$(TL['Entity'],_0x28b563,_0x28b563+0x1+_0x237e98[0x0]['length'])):-0x1;},'InlineCode'(_0x26f2e7,_0x46b37f,_0x9ed0ff){if(0x60!=_0x46b37f||_0x9ed0ff&&0x60==_0x26f2e7['char'](_0x9ed0ff-0x1))return-0x1;let _0x2e3085=_0x9ed0ff+0x1;for(;_0x2e3085<_0x26f2e7['end']&&0x60==_0x26f2e7['char'](_0x2e3085);)_0x2e3085++;let _0x48ca9f=_0x2e3085-_0x9ed0ff,_0x2e4544=0x0;for(;_0x2e3085<_0x26f2e7['end'];_0x2e3085++)if(0x60==_0x26f2e7['char'](_0x2e3085)){if(_0x2e4544++,_0x2e4544==_0x48ca9f&&0x60!=_0x26f2e7['char'](_0x2e3085+0x1))return _0x26f2e7['append'](n$(TL['InlineCode'],_0x9ed0ff,_0x2e3085+0x1,[n$(TL['CodeMark'],_0x9ed0ff,_0x9ed0ff+_0x48ca9f),n$(TL['CodeMark'],_0x2e3085+0x1-_0x48ca9f,_0x2e3085+0x1)]));}else _0x2e4544=0x0;return-0x1;},'HTMLTag'(_0xc8b026,_0x595e0b,_0x4faf17){if(0x3c!=_0x595e0b||_0x4faf17==_0xc8b026['end']-0x1)return-0x1;let _0x4f8708=_0xc8b026['slice'](_0x4faf17+0x1,_0xc8b026['end']),_0x4bc975=/^(?:[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'](_0x4f8708);if(_0x4bc975)return _0xc8b026['append'](n$(TL['Autolink'],_0x4faf17,_0x4faf17+0x1+_0x4bc975[0x0]['length'],[n$(TL['LinkMark'],_0x4faf17,_0x4faf17+0x1),n$(TL['URL'],_0x4faf17+0x1,_0x4faf17+_0x4bc975[0x0]['length']),n$(TL['LinkMark'],_0x4faf17+_0x4bc975[0x0]['length'],_0x4faf17+0x1+_0x4bc975[0x0]['length'])]));let _0x41728a=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x4f8708);if(_0x41728a)return _0xc8b026['append'](n$(TL['Comment'],_0x4faf17,_0x4faf17+0x1+_0x41728a[0x0]['length']));let _0x81f722=/^\?[^]*?\?>/['exec'](_0x4f8708);if(_0x81f722)return _0xc8b026['append'](n$(TL['ProcessingInstruction'],_0x4faf17,_0x4faf17+0x1+_0x81f722[0x0]['length']));let _0x1ef702=/^(?:![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'](_0x4f8708);return _0x1ef702?_0xc8b026['append'](n$(TL['HTMLTag'],_0x4faf17,_0x4faf17+0x1+_0x1ef702[0x0]['length'])):-0x1;},'Emphasis'(_0x538fee,_0x4065a4,_0x338df3){if(0x5f!=_0x4065a4&&0x2a!=_0x4065a4)return-0x1;let _0x2639a1=_0x338df3+0x1;for(;_0x538fee['char'](_0x2639a1)==_0x4065a4;)_0x2639a1++;let _0x44f1d2=_0x538fee['slice'](_0x338df3-0x1,_0x338df3),_0x216f4f=_0x538fee['slice'](_0x2639a1,_0x2639a1+0x1),_0x43b8ad=h$['test'](_0x44f1d2),_0x10a789=h$['test'](_0x216f4f),_0x57bbef=/\s|^$/['test'](_0x44f1d2),_0x1a4781=/\s|^$/['test'](_0x216f4f),_0x5f58d0=!_0x1a4781&&(!_0x10a789||_0x57bbef||_0x43b8ad),_0x504509=!_0x57bbef&&(!_0x43b8ad||_0x1a4781||_0x10a789),_0x2eda01=_0x5f58d0&&(0x2a==_0x4065a4||!_0x504509||_0x43b8ad),_0x384033=_0x504509&&(0x2a==_0x4065a4||!_0x5f58d0||_0x10a789);return _0x538fee['append'](new InlineDelimiter(0x5f==_0x4065a4?r$:o$,_0x338df3,_0x2639a1,(_0x2eda01?0x1:0x0)|(_0x384033?0x2:0x0)));},'HardBreak'(_0x14d072,_0x402ccc,_0x5f5386){if(0x5c==_0x402ccc&&0xa==_0x14d072['char'](_0x5f5386+0x1))return _0x14d072['append'](n$(TL['HardBreak'],_0x5f5386,_0x5f5386+0x2));if(0x20==_0x402ccc){let _0x114eb2=_0x5f5386+0x1;for(;0x20==_0x14d072['char'](_0x114eb2);)_0x114eb2++;if(0xa==_0x14d072['char'](_0x114eb2)&&_0x114eb2>=_0x5f5386+0x2)return _0x14d072['append'](n$(TL['HardBreak'],_0x5f5386,_0x114eb2+0x1));}return-0x1;},'Link':(_0x240da1,_0x25d4ce,_0x460078)=>0x5b==_0x25d4ce?_0x240da1['append'](new InlineDelimiter(a$,_0x460078,_0x460078+0x1,0x1)):-0x1,'Image':(_0x423da4,_0x4f52e3,_0x8b3fd1)=>0x21==_0x4f52e3&&0x5b==_0x423da4['char'](_0x8b3fd1+0x1)?_0x423da4['append'](new InlineDelimiter(c$,_0x8b3fd1,_0x8b3fd1+0x2,0x1)):-0x1,'LinkEnd'(_0x8c43ae,_0x18bde0,_0x56418e){if(0x5d!=_0x18bde0)return-0x1;for(let _0x9288ea=_0x8c43ae['parts']['length']-0x1;_0x9288ea>=0x0;_0x9288ea--){let _0x5e9793=_0x8c43ae['parts'][_0x9288ea];if(_0x5e9793 instanceof InlineDelimiter&&(_0x5e9793['type']==a$||_0x5e9793['type']==c$)){if(!_0x5e9793['side']||_0x8c43ae['skipSpace'](_0x5e9793['to'])==_0x56418e&&!/[(\[]/['test'](_0x8c43ae['slice'](_0x56418e+0x1,_0x56418e+0x2)))return _0x8c43ae['parts'][_0x9288ea]=null,-0x1;let _0x4da033=_0x8c43ae['takeContent'](_0x9288ea),_0xa6f2ce=_0x8c43ae['parts'][_0x9288ea]=d$(_0x8c43ae,_0x4da033,_0x5e9793['type']==a$?TL['Link']:TL['Image'],_0x5e9793['from'],_0x56418e+0x1);if(_0x5e9793['type']==a$)for(let _0x4ba598=0x0;_0x4ba598<_0x9288ea;_0x4ba598++){let _0xb2b45b=_0x8c43ae['parts'][_0x4ba598];_0xb2b45b instanceof InlineDelimiter&&_0xb2b45b['type']==a$&&(_0xb2b45b['side']=0x0);}return _0xa6f2ce['to'];}}return-0x1;}};function d$(_0x1d3f7c,_0x353907,_0xfa573a,_0x442d34,_0x3b3d86){let {text:_0x49b2c6}=_0x1d3f7c,_0x5a93dd=_0x1d3f7c['char'](_0x3b3d86),_0xf63225=_0x3b3d86;if(_0x353907['unshift'](n$(TL['LinkMark'],_0x442d34,_0x442d34+(_0xfa573a==TL['Image']?0x2:0x1))),_0x353907['push'](n$(TL['LinkMark'],_0x3b3d86-0x1,_0x3b3d86)),0x28==_0x5a93dd){let _0x3f8a2c,_0x5a3461=_0x1d3f7c['skipSpace'](_0x3b3d86+0x1),_0x217243=f$(_0x49b2c6,_0x5a3461-_0x1d3f7c['offset'],_0x1d3f7c['offset']);_0x217243&&(_0x5a3461=_0x1d3f7c['skipSpace'](_0x217243['to']),_0x5a3461!=_0x217243['to']&&(_0x3f8a2c=m$(_0x49b2c6,_0x5a3461-_0x1d3f7c['offset'],_0x1d3f7c['offset']),_0x3f8a2c&&(_0x5a3461=_0x1d3f7c['skipSpace'](_0x3f8a2c['to'])))),0x29==_0x1d3f7c['char'](_0x5a3461)&&(_0x353907['push'](n$(TL['LinkMark'],_0x3b3d86,_0x3b3d86+0x1)),_0xf63225=_0x5a3461+0x1,_0x217243&&_0x353907['push'](_0x217243),_0x3f8a2c&&_0x353907['push'](_0x3f8a2c),_0x353907['push'](n$(TL['LinkMark'],_0x5a3461,_0xf63225)));}else{if(0x5b==_0x5a93dd){let _0x5e7f4b=g$(_0x49b2c6,_0x3b3d86-_0x1d3f7c['offset'],_0x1d3f7c['offset'],!0x1);_0x5e7f4b&&(_0x353907['push'](_0x5e7f4b),_0xf63225=_0x5e7f4b['to']);}}return n$(_0xfa573a,_0x442d34,_0xf63225,_0x353907);}function f$(_0x1e4d0f,_0x4c7d21,_0x196b57){if(0x3c==_0x1e4d0f['charCodeAt'](_0x4c7d21)){for(let _0x4114e0=_0x4c7d21+0x1;_0x4114e0<_0x1e4d0f['length'];_0x4114e0++){let _0xc57adf=_0x1e4d0f['charCodeAt'](_0x4114e0);if(0x3e==_0xc57adf)return n$(TL['URL'],_0x4c7d21+_0x196b57,_0x4114e0+0x1+_0x196b57);if(0x3c==_0xc57adf||0xa==_0xc57adf)return!0x1;}return null;}{let _0x45bcb0=0x0,_0x21992d=_0x4c7d21;for(let _0x5c6bbe=!0x1;_0x21992d<_0x1e4d0f['length'];_0x21992d++){let _0xc879a1=_0x1e4d0f['charCodeAt'](_0x21992d);if(SL(_0xc879a1))break;if(_0x5c6bbe)_0x5c6bbe=!0x1;else{if(0x28==_0xc879a1)_0x45bcb0++;else{if(0x29==_0xc879a1){if(!_0x45bcb0)break;_0x45bcb0--;}else 0x5c==_0xc879a1&&(_0x5c6bbe=!0x0);}}}return _0x21992d>_0x4c7d21?n$(TL['URL'],_0x4c7d21+_0x196b57,_0x21992d+_0x196b57):_0x21992d==_0x1e4d0f['length']&&null;}}function m$(_0x4eea31,_0x3a9f3b,_0x103dd5){let _0xf6d601=_0x4eea31['charCodeAt'](_0x3a9f3b);if(0x27!=_0xf6d601&&0x22!=_0xf6d601&&0x28!=_0xf6d601)return!0x1;let _0x5626a6=0x28==_0xf6d601?0x29:_0xf6d601;for(let _0x2a3f94=_0x3a9f3b+0x1,_0x4ede2c=!0x1;_0x2a3f94<_0x4eea31['length'];_0x2a3f94++){let _0x4c1ae6=_0x4eea31['charCodeAt'](_0x2a3f94);if(_0x4ede2c)_0x4ede2c=!0x1;else{if(_0x4c1ae6==_0x5626a6)return n$(TL['LinkTitle'],_0x3a9f3b+_0x103dd5,_0x2a3f94+0x1+_0x103dd5);0x5c==_0x4c1ae6&&(_0x4ede2c=!0x0);}}return null;}function g$(_0x5e4cc5,_0x1acc09,_0x3ac910,_0x3fbc45){for(let _0x26f0ff=!0x1,_0x3ecb1f=_0x1acc09+0x1,_0x4e9131=Math['min'](_0x5e4cc5['length'],_0x3ecb1f+0x3e7);_0x3ecb1f<_0x4e9131;_0x3ecb1f++){let _0xea92cb=_0x5e4cc5['charCodeAt'](_0x3ecb1f);if(_0x26f0ff)_0x26f0ff=!0x1;else{if(0x5d==_0xea92cb)return!_0x3fbc45&&n$(TL['LinkLabel'],_0x1acc09+_0x3ac910,_0x3ecb1f+0x1+_0x3ac910);if(_0x3fbc45&&!SL(_0xea92cb)&&(_0x3fbc45=!0x1),0x5b==_0xea92cb)return!0x1;0x5c==_0xea92cb&&(_0x26f0ff=!0x0);}}return null;}class InlineContext{constructor(_0xa34f80,_0x1f90e3,_0x404853){this['parser']=_0xa34f80,this['text']=_0x1f90e3,this['offset']=_0x404853,this['parts']=[];}['char'](_0x3a3ea4){return _0x3a3ea4>=this['end']?-0x1:this['text']['charCodeAt'](_0x3a3ea4-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x13e8e6,_0x146e20){return this['text']['slice'](_0x13e8e6-this['offset'],_0x146e20-this['offset']);}['append'](_0x412d56){return this['parts']['push'](_0x412d56),_0x412d56['to'];}['addDelimiter'](_0x2175af,_0x41f579,_0xdd19ef,_0x3bbbdd,_0x150c0a){return this['append'](new InlineDelimiter(_0x2175af,_0x41f579,_0xdd19ef,(_0x3bbbdd?0x1:0x0)|(_0x150c0a?0x2:0x0)));}get['hasOpenLink'](){for(let _0x46aba6=this['parts']['length']-0x1;_0x46aba6>=0x0;_0x46aba6--){let _0x294ffc=this['parts'][_0x46aba6];if(_0x294ffc instanceof InlineDelimiter&&(_0x294ffc['type']==a$||_0x294ffc['type']==c$))return!0x0;}return!0x1;}['addElement'](_0x232660){return this['append'](_0x232660);}['resolveMarkers'](_0xe75ddd){for(let _0x166451=_0xe75ddd;_0x166451<this['parts']['length'];_0x166451++){let _0x45cf46=this['parts'][_0x166451];if(!(_0x45cf46 instanceof InlineDelimiter&&_0x45cf46['type']['resolve']&&0x2&_0x45cf46['side']))continue;let _0x41ff57,_0x46aeac=_0x45cf46['type']==r$||_0x45cf46['type']==o$,_0x4302fe=_0x45cf46['to']-_0x45cf46['from'],_0x38a6d0=_0x166451-0x1;for(;_0x38a6d0>=_0xe75ddd;_0x38a6d0--){let _0xdbfc23=this['parts'][_0x38a6d0];if(_0xdbfc23 instanceof InlineDelimiter&&0x1&_0xdbfc23['side']&&_0xdbfc23['type']==_0x45cf46['type']&&!(_0x46aeac&&(0x1&_0x45cf46['side']||0x2&_0xdbfc23['side'])&&(_0xdbfc23['to']-_0xdbfc23['from']+_0x4302fe)%0x3==0x0&&((_0xdbfc23['to']-_0xdbfc23['from'])%0x3||_0x4302fe%0x3))){_0x41ff57=_0xdbfc23;break;}}if(!_0x41ff57)continue;let _0x4ef611=_0x45cf46['type']['resolve'],_0x5e0200=[],_0x499a38=_0x41ff57['from'],_0x212c92=_0x45cf46['to'];if(_0x46aeac){let _0x11a394=Math['min'](0x2,_0x41ff57['to']-_0x41ff57['from'],_0x4302fe);_0x499a38=_0x41ff57['to']-_0x11a394,_0x212c92=_0x45cf46['from']+_0x11a394,_0x4ef611=0x1==_0x11a394?'Emphasis':'StrongEmphasis';}_0x41ff57['type']['mark']&&_0x5e0200['push'](this['elt'](_0x41ff57['type']['mark'],_0x499a38,_0x41ff57['to']));for(let _0x5596bf=_0x38a6d0+0x1;_0x5596bf<_0x166451;_0x5596bf++)this['parts'][_0x5596bf]instanceof s$&&_0x5e0200['push'](this['parts'][_0x5596bf]),this['parts'][_0x5596bf]=null;_0x45cf46['type']['mark']&&_0x5e0200['push'](this['elt'](_0x45cf46['type']['mark'],_0x45cf46['from'],_0x212c92));let _0x50ce5f=this['elt'](_0x4ef611,_0x499a38,_0x212c92,_0x5e0200);this['parts'][_0x38a6d0]=_0x46aeac&&_0x41ff57['from']!=_0x499a38?new InlineDelimiter(_0x41ff57['type'],_0x41ff57['from'],_0x499a38,_0x41ff57['side']):null,(this['parts'][_0x166451]=_0x46aeac&&_0x45cf46['to']!=_0x212c92?new InlineDelimiter(_0x45cf46['type'],_0x212c92,_0x45cf46['to'],_0x45cf46['side']):null)?this['parts']['splice'](_0x166451,0x0,_0x50ce5f):this['parts'][_0x166451]=_0x50ce5f;}let _0x475dd8=[];for(let _0xdba5df=_0xe75ddd;_0xdba5df<this['parts']['length'];_0xdba5df++){let _0x5e918e=this['parts'][_0xdba5df];_0x5e918e instanceof s$&&_0x475dd8['push'](_0x5e918e);}return _0x475dd8;}['findOpeningDelimiter'](_0x5b50fa){for(let _0x25c9fb=this['parts']['length']-0x1;_0x25c9fb>=0x0;_0x25c9fb--){let _0x23fdf6=this['parts'][_0x25c9fb];if(_0x23fdf6 instanceof InlineDelimiter&&_0x23fdf6['type']==_0x5b50fa&&0x1&_0x23fdf6['side'])return _0x25c9fb;}return null;}['takeContent'](_0x36de82){let _0x1f2386=this['resolveMarkers'](_0x36de82);return this['parts']['length']=_0x36de82,_0x1f2386;}['getDelimiterAt'](_0x17c35b){let _0x2e1fd5=this['parts'][_0x17c35b];return _0x2e1fd5 instanceof InlineDelimiter?_0x2e1fd5:null;}['skipSpace'](_0x41f21e){return CL(this['text'],_0x41f21e-this['offset'])+this['offset'];}['elt'](_0x4812a6,_0x507de4,_0x246c0a,_0x14e7e3){return'string'==typeof _0x4812a6?n$(this['parser']['getNodeType'](_0x4812a6),_0x507de4,_0x246c0a,_0x14e7e3):new TreeElement(_0x4812a6,_0x507de4);}}function p$(_0x1eea5f,_0x503ffe){if(!_0x503ffe['length'])return _0x1eea5f;if(!_0x1eea5f['length'])return _0x503ffe;let _0x1cae9c=_0x1eea5f['slice'](),_0x283fd2=0x0;for(let _0x50361c of _0x503ffe){for(;_0x283fd2<_0x1cae9c['length']&&_0x1cae9c[_0x283fd2]['to']<_0x50361c['to'];)_0x283fd2++;if(_0x283fd2<_0x1cae9c['length']&&_0x1cae9c[_0x283fd2]['from']<_0x50361c['from']){let _0x57c8df=_0x1cae9c[_0x283fd2];_0x57c8df instanceof s$&&(_0x1cae9c[_0x283fd2]=new s$(_0x57c8df['type'],_0x57c8df['from'],_0x57c8df['to'],p$(_0x57c8df['children'],[_0x50361c])));}else _0x1cae9c['splice'](_0x283fd2++,0x0,_0x50361c);}return _0x1cae9c;}InlineContext['linkStart']=a$,InlineContext['imageStart']=c$;const O$=[TL['CodeBlock'],TL['ListItem'],TL['OrderedList'],TL['BulletList']];class FragmentCursor{constructor(_0x4e20ab,_0xb771b1){this['fragments']=_0x4e20ab,this['input']=_0xb771b1,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x4e20ab['length']&&(this['fragment']=_0x4e20ab[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x20dfb2,_0x3a8932){for(;this['fragment']&&this['fragment']['to']<=_0x20dfb2;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x20dfb2?_0x20dfb2-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x584370=this['fragment']['to'];for(;_0x584370>0x0&&'\x0a'!=this['input']['read'](_0x584370-0x1,_0x584370);)_0x584370--;this['fragmentEnd']=_0x584370?_0x584370-0x1:0x0;}let _0x580ca7=this['cursor'];_0x580ca7||(_0x580ca7=this['cursor']=this['fragment']['tree']['cursor'](),_0x580ca7['firstChild']());let _0x1572d4=_0x20dfb2+this['fragment']['offset'];for(;_0x580ca7['to']<=_0x1572d4;)if(!_0x580ca7['parent']())return!0x1;for(;;){if(_0x580ca7['from']>=_0x1572d4)return this['fragment']['from']<=_0x3a8932;if(!_0x580ca7['childAfter'](_0x1572d4))return!0x1;}}['matches'](_0x42240a){let _0x1437f0=this['cursor']['tree'];return _0x1437f0&&_0x1437f0['prop'](NodeProp['contextHash'])==_0x42240a;}['takeNodes'](_0x45a92b){let _0x4f303c=this['cursor'],_0x2b8372=this['fragment']['offset'],_0x13b46c=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x50cb77=_0x45a92b['absoluteLineStart'],_0x41148c=_0x50cb77,_0x2a6324=_0x45a92b['block']['children']['length'],_0x1192b5=_0x41148c,_0x519c33=_0x2a6324;for(;;){if(_0x4f303c['to']-_0x2b8372>_0x13b46c){if(_0x4f303c['type']['isAnonymous']&&_0x4f303c['firstChild']())continue;break;}let _0x265ed6=w$(_0x4f303c['from']-_0x2b8372,_0x45a92b['ranges']);if(_0x4f303c['to']-_0x2b8372<=_0x45a92b['ranges'][_0x45a92b['rangeI']]['to'])_0x45a92b['addNode'](_0x4f303c['tree'],_0x265ed6);else{let _0x2b8c6c=new Tree(_0x45a92b['parser']['nodeSet']['types'][TL['Paragraph']],[],[],0x0,_0x45a92b['block']['hashProp']);_0x45a92b['reusePlaceholders']['set'](_0x2b8c6c,_0x4f303c['tree']),_0x45a92b['addNode'](_0x2b8c6c,_0x265ed6);}if(_0x4f303c['type']['is']('Block')&&(O$['indexOf'](_0x4f303c['type']['id'])<0x0?(_0x41148c=_0x4f303c['to']-_0x2b8372,_0x2a6324=_0x45a92b['block']['children']['length']):(_0x41148c=_0x1192b5,_0x2a6324=_0x519c33,_0x1192b5=_0x4f303c['to']-_0x2b8372,_0x519c33=_0x45a92b['block']['children']['length'])),!_0x4f303c['nextSibling']())break;}for(;_0x45a92b['block']['children']['length']>_0x2a6324;)_0x45a92b['block']['children']['pop'](),_0x45a92b['block']['positions']['pop']();return _0x41148c-_0x50cb77;}}function w$(_0x30d60f,_0x3be18d){let _0x3087e5=_0x30d60f;for(let _0x594383=0x1;_0x594383<_0x3be18d['length'];_0x594383++){let _0x3f1849=_0x3be18d[_0x594383-0x1]['to'],_0x4b940c=_0x3be18d[_0x594383]['from'];_0x3f1849<_0x30d60f&&(_0x3087e5-=_0x4b940c-_0x3f1849);}return _0x3087e5;}const b$=AC({'Blockquote/...':jC['quote'],'HorizontalRule':jC['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':jC['heading1'],'ATXHeading2/...\x20SetextHeading2/...':jC['heading2'],'ATXHeading3/...':jC['heading3'],'ATXHeading4/...':jC['heading4'],'ATXHeading5/...':jC['heading5'],'ATXHeading6/...':jC['heading6'],'Comment\x20CommentBlock':jC['comment'],'Escape':jC['escape'],'Entity':jC['character'],'Emphasis/...':jC['emphasis'],'StrongEmphasis/...':jC['strong'],'Link/...\x20Image/...':jC['link'],'OrderedList/...\x20BulletList/...':jC['list'],'BlockQuote/...':jC['quote'],'InlineCode\x20CodeText':jC['monospace'],'URL\x20Autolink':jC['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':jC['processingInstruction'],'CodeInfo\x20LinkLabel':jC['labelName'],'LinkTitle':jC['string'],'Paragraph':jC['content']}),y$=new MarkdownParser(new NodeSet(t$)['extend'](b$),Object['keys'](GL)['map'](_0x2f538d=>GL[_0x2f538d]),Object['keys'](GL)['map'](_0x9d9eac=>XL[_0x9d9eac]),Object['keys'](GL),qL,IL,Object['keys'](u$)['map'](_0x40d326=>u$[_0x40d326]),Object['keys'](u$),[]);function v$(_0x34b100,_0xacf0e8,_0x3826e6){let _0x4a955e=[];for(let _0x38e506=_0x34b100['firstChild'],_0x186f2a=_0xacf0e8;;_0x38e506=_0x38e506['nextSibling']){let _0x5b68c6=_0x38e506?_0x38e506['from']:_0x3826e6;if(_0x5b68c6>_0x186f2a&&_0x4a955e['push']({'from':_0x186f2a,'to':_0x5b68c6}),!_0x38e506)break;_0x186f2a=_0x38e506['to'];}return _0x4a955e;}const _$={'resolve':'Strikethrough','mark':'StrikethroughMark'},E$={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':jC['strikethrough']}},{'name':'StrikethroughMark','style':jC['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x38d941,_0x5930cb,_0x11f15c){if(0x7e!=_0x5930cb||0x7e!=_0x38d941['char'](_0x11f15c+0x1)||0x7e==_0x38d941['char'](_0x11f15c+0x2))return-0x1;let _0x21cf3d=_0x38d941['slice'](_0x11f15c-0x1,_0x11f15c),_0x1460db=_0x38d941['slice'](_0x11f15c+0x2,_0x11f15c+0x3),_0x203b0d=/\s|^$/['test'](_0x21cf3d),_0x132db8=/\s|^$/['test'](_0x1460db),_0x256378=h$['test'](_0x21cf3d),_0x44be58=h$['test'](_0x1460db);return _0x38d941['addDelimiter'](_$,_0x11f15c,_0x11f15c+0x2,!_0x132db8&&(!_0x44be58||_0x203b0d||_0x256378),!_0x203b0d&&(!_0x256378||_0x132db8||_0x44be58));},'after':'Emphasis'}]};function T$(_0x4a498f,_0x59dcac,_0x5f13a0=0x0,_0x231f58,_0x1c21c9=0x0){let _0x5a6770=0x0,_0x495610=!0x0,_0x5d55bb=-0x1,_0x52497f=-0x1,_0x40b561=!0x1,_0x3a95a4=()=>{_0x231f58['push'](_0x4a498f['elt']('TableCell',_0x1c21c9+_0x5d55bb,_0x1c21c9+_0x52497f,_0x4a498f['parser']['parseInline'](_0x59dcac['slice'](_0x5d55bb,_0x52497f),_0x1c21c9+_0x5d55bb)));};for(let _0x49de5c=_0x5f13a0;_0x49de5c<_0x59dcac['length'];_0x49de5c++){let _0x1def1e=_0x59dcac['charCodeAt'](_0x49de5c);0x7c!=_0x1def1e||_0x40b561?(_0x40b561||0x20!=_0x1def1e&&0x9!=_0x1def1e)&&(_0x5d55bb<0x0&&(_0x5d55bb=_0x49de5c),_0x52497f=_0x49de5c+0x1):((!_0x495610||_0x5d55bb>-0x1)&&_0x5a6770++,_0x495610=!0x1,_0x231f58&&(_0x5d55bb>-0x1&&_0x3a95a4(),_0x231f58['push'](_0x4a498f['elt']('TableDelimiter',_0x49de5c+_0x1c21c9,_0x49de5c+_0x1c21c9+0x1))),_0x5d55bb=_0x52497f=-0x1),_0x40b561=!_0x40b561&&0x5c==_0x1def1e;}return _0x5d55bb>-0x1&&(_0x5a6770++,_0x231f58&&_0x3a95a4()),_0x5a6770;}function A$(_0xb27766,_0x4a74e6){for(let _0x1db1bc=_0x4a74e6;_0x1db1bc<_0xb27766['length'];_0x1db1bc++){let _0x6402fd=_0xb27766['charCodeAt'](_0x1db1bc);if(0x7c==_0x6402fd)return!0x0;0x5c==_0x6402fd&&_0x1db1bc++;}return!0x1;}const I$=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class TableParser{constructor(){this['rows']=null;}['nextLine'](_0x20b75b,_0x135d43,_0x4a1841){if(null==this['rows']){let _0xb0f79e;if(this['rows']=!0x1,(0x2d==_0x135d43['next']||0x3a==_0x135d43['next']||0x7c==_0x135d43['next'])&&I$['test'](_0xb0f79e=_0x135d43['text']['slice'](_0x135d43['pos']))){let _0x580c4d=[];T$(_0x20b75b,_0x4a1841['content'],0x0,_0x580c4d,_0x4a1841['start'])==T$(_0x20b75b,_0xb0f79e,_0x135d43['pos'])&&(this['rows']=[_0x20b75b['elt']('TableHeader',_0x4a1841['start'],_0x4a1841['start']+_0x4a1841['content']['length'],_0x580c4d),_0x20b75b['elt']('TableDelimiter',_0x20b75b['lineStart']+_0x135d43['pos'],_0x20b75b['lineStart']+_0x135d43['text']['length'])]);}}else{if(this['rows']){let _0x2163f8=[];T$(_0x20b75b,_0x135d43['text'],_0x135d43['pos'],_0x2163f8,_0x20b75b['lineStart']),this['rows']['push'](_0x20b75b['elt']('TableRow',_0x20b75b['lineStart']+_0x135d43['pos'],_0x20b75b['lineStart']+_0x135d43['text']['length'],_0x2163f8));}}return!0x1;}['finish'](_0x2a68ca,_0x5872aa){return!!this['rows']&&(_0x2a68ca['addLeafElement'](_0x5872aa,_0x2a68ca['elt']('Table',_0x5872aa['start'],_0x5872aa['start']+_0x5872aa['content']['length'],this['rows'])),!0x0);}}const S$={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':jC['heading']}},'TableRow',{'name':'TableCell','style':jC['content']},{'name':'TableDelimiter','style':jC['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x5ec40f,_0x8437aa)=>A$(_0x8437aa['content'],0x0)?new TableParser():null,'endLeaf'(_0x30f5bd,_0x207eaf,_0x3155f2){if(_0x3155f2['parsers']['some'](_0x4e6c85=>_0x4e6c85 instanceof TableParser)||!A$(_0x207eaf['text'],_0x207eaf['basePos']))return!0x1;let _0x386d88=_0x30f5bd['peekLine']();return I$['test'](_0x386d88)&&T$(_0x30f5bd,_0x207eaf['text'],_0x207eaf['basePos'])==T$(_0x30f5bd,_0x386d88,_0x207eaf['basePos']);},'before':'SetextHeading'}]};class TaskParser{['nextLine'](){return!0x1;}['finish'](_0x2ef2c5,_0x4bc970){return _0x2ef2c5['addLeafElement'](_0x4bc970,_0x2ef2c5['elt']('Task',_0x4bc970['start'],_0x4bc970['start']+_0x4bc970['content']['length'],[_0x2ef2c5['elt']('TaskMarker',_0x4bc970['start'],_0x4bc970['start']+0x3),..._0x2ef2c5['parser']['parseInline'](_0x4bc970['content']['slice'](0x3),_0x4bc970['start']+0x3)])),!0x0;}}const C$={'defineNodes':[{'name':'Task','block':!0x0,'style':jC['list']},{'name':'TaskMarker','style':jC['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x1bae65,_0x3f2ec7)=>/^\[[ xX]\][ \t]/['test'](_0x3f2ec7['content'])&&'ListItem'==_0x1bae65['parentType']()['name']?new TaskParser():null,'after':'SetextHeading'}]},k$=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,x$=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,R$=/[\w-]+\.[\w-]+($|\/)/,P$=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,M$=/\/[a-zA-Z\d@.]+/gy;function N$(_0x2a533b,_0x39c0c8,_0x768945,_0x40bb75){let _0x3b8ac7=0x0;for(let _0x10541b=_0x39c0c8;_0x10541b<_0x768945;_0x10541b++)_0x2a533b[_0x10541b]==_0x40bb75&&_0x3b8ac7++;return _0x3b8ac7;}function L$(_0x5baf52,_0x1738e2){P$['lastIndex']=_0x1738e2;let _0x12f74a=P$['exec'](_0x5baf52);if(!_0x12f74a)return-0x1;let _0x12a9bb=_0x12f74a[0x0][_0x12f74a[0x0]['length']-0x1];return'_'==_0x12a9bb||'-'==_0x12a9bb?-0x1:_0x1738e2+_0x12f74a[0x0]['length']-('.'==_0x12a9bb?0x1:0x0);}const $$={'parseInline':[{'name':'Autolink','parse'(_0x229310,_0x4e5773,_0x5621f0){let _0x1b736f=_0x5621f0-_0x229310['offset'];if(_0x1b736f&&/\w/['test'](_0x229310['text'][_0x1b736f-0x1]))return-0x1;k$['lastIndex']=_0x1b736f;let _0x1d7a45=k$['exec'](_0x229310['text']),_0x54b71f=-0x1;if(!_0x1d7a45)return-0x1;if(_0x1d7a45[0x1]||_0x1d7a45[0x2])(_0x54b71f=function(_0x4b054c,_0x4f5a96){x$['lastIndex']=_0x4f5a96;let _0x1d4388=x$['exec'](_0x4b054c);if(!_0x1d4388||R$['exec'](_0x1d4388[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x3c3007=_0x4f5a96+_0x1d4388[0x0]['length'];for(;;){let _0x924d91,_0x228fe4=_0x4b054c[_0x3c3007-0x1];if(/[?!.,:*_~]/['test'](_0x228fe4)||')'==_0x228fe4&&N$(_0x4b054c,_0x4f5a96,_0x3c3007,')')>N$(_0x4b054c,_0x4f5a96,_0x3c3007,'('))_0x3c3007--;else{if(';'!=_0x228fe4||!(_0x924d91=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x4b054c['slice'](_0x4f5a96,_0x3c3007))))break;_0x3c3007=_0x4f5a96+_0x924d91['index'];}}return _0x3c3007;}(_0x229310['text'],_0x1b736f+_0x1d7a45[0x0]['length']),_0x54b71f>-0x1&&_0x229310['hasOpenLink'])&&(_0x54b71f=_0x1b736f+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x229310['text']['slice'](_0x1b736f,_0x54b71f))[0x0]['length']);else _0x1d7a45[0x3]?_0x54b71f=L$(_0x229310['text'],_0x1b736f):(_0x54b71f=L$(_0x229310['text'],_0x1b736f+_0x1d7a45[0x0]['length']),_0x54b71f>-0x1&&'xmpp:'==_0x1d7a45[0x0]&&(M$['lastIndex']=_0x54b71f,_0x1d7a45=M$['exec'](_0x229310['text']),_0x1d7a45&&(_0x54b71f=_0x1d7a45['index']+_0x1d7a45[0x0]['length'])));return _0x54b71f<0x0?-0x1:(_0x229310['addElement'](_0x229310['elt']('URL',_0x5621f0,_0x54b71f+_0x229310['offset'])),_0x54b71f+_0x229310['offset']);}}]},D$=[S$,C$,E$,$$];function Q$(_0x5b091c,_0x5584f5,_0x19ae9c){return(_0x232290,_0x5f4872,_0x18dd1f)=>{if(_0x5f4872!=_0x5b091c||_0x232290['char'](_0x18dd1f+0x1)==_0x5b091c)return-0x1;let _0x2f34a4=[_0x232290['elt'](_0x19ae9c,_0x18dd1f,_0x18dd1f+0x1)];for(let _0x526466=_0x18dd1f+0x1;_0x526466<_0x232290['end'];_0x526466++){let _0xfb82e2=_0x232290['char'](_0x526466);if(_0xfb82e2==_0x5b091c)return _0x232290['addElement'](_0x232290['elt'](_0x5584f5,_0x18dd1f,_0x526466+0x1,_0x2f34a4['concat'](_0x232290['elt'](_0x19ae9c,_0x526466,_0x526466+0x1))));if(0x5c==_0xfb82e2&&_0x2f34a4['push'](_0x232290['elt']('Escape',_0x526466,0x2+_0x526466++)),SL(_0xfb82e2))break;}return-0x1;};}const V$={'defineNodes':[{'name':'Superscript','style':jC['special'](jC['content'])},{'name':'SuperscriptMark','style':jC['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':Q$(0x5e,'Superscript','SuperscriptMark')}]},U$={'defineNodes':[{'name':'Subscript','style':jC['special'](jC['content'])},{'name':'SubscriptMark','style':jC['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':Q$(0x7e,'Subscript','SubscriptMark')}]},B$={'defineNodes':[{'name':'Emoji','style':jC['character']}],'parseInline':[{'name':'Emoji','parse'(_0x2d64a3,_0x21aae2,_0x234e76){let _0x10e4f2;return 0x3a==_0x21aae2&&(_0x10e4f2=/^[a-zA-Z_0-9]+:/['exec'](_0x2d64a3['slice'](_0x234e76+0x1,_0x2d64a3['end'])))?_0x2d64a3['addElement'](_0x2d64a3['elt']('Emoji',_0x234e76,_0x234e76+0x1+_0x10e4f2[0x0]['length'])):-0x1;}}]},F$=ZC({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),j$=new NodeProp(),H$=y$['configure']({'props':[Ok['add'](_0xa8cc56=>!_0xa8cc56['is']('Block')||_0xa8cc56['is']('Document')||null!=G$(_0xa8cc56)||function(_0x122daa){return'OrderedList'==_0x122daa['name']||'BulletList'==_0x122daa['name'];}(_0xa8cc56)?void 0x0:(_0x1569e3,_0xfd6bde)=>({'from':_0xfd6bde['doc']['lineAt'](_0x1569e3['from'])['to'],'to':_0x1569e3['to']})),j$['add'](G$),ak['add']({'Document':()=>null}),GC['add']({'Document':F$})]});function G$(_0xd0eefb){let _0x1f7e94=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0xd0eefb['name']);return _0x1f7e94?+_0x1f7e94[0x1]:void 0x0;}function Z$(_0x487bed,_0x45a4a4){let _0x1498de=_0x487bed;for(;;){let _0x285926,_0x1ea0b7=_0x1498de['nextSibling'];if(!_0x1ea0b7||null!=(_0x285926=G$(_0x1ea0b7['type']))&&_0x285926<=_0x45a4a4)break;_0x1498de=_0x1ea0b7;}return _0x1498de['to'];}const X$=pk['of']((_0x4f2037,_0x1cc5df,_0x46583b)=>{for(let _0x125d7c=WC(_0x4f2037)['resolveInner'](_0x46583b,-0x1);_0x125d7c&&!(_0x125d7c['from']<_0x1cc5df);_0x125d7c=_0x125d7c['parent']){let _0x1c8505=_0x125d7c['type']['prop'](j$);if(null==_0x1c8505)continue;let _0x34bbb4=Z$(_0x125d7c,_0x1c8505);if(_0x34bbb4>_0x46583b)return{'from':_0x46583b,'to':_0x34bbb4};}return null;});function q$(_0x2dcffd){return new Language(F$,_0x2dcffd,[X$],'markdown');}const W$=q$(H$),z$=q$(H$['configure']([D$,U$,V$,B$,{'props':[Ok['add']({'Table':(_0x13f36d,_0xd2db1a)=>({'from':_0xd2db1a['doc']['lineAt'](_0x13f36d['from'])['to'],'to':_0x13f36d['to']})})]}]));class Context{constructor(_0x573043,_0x2a0295,_0x29971a,_0x1ff8ee,_0x1663e9,_0x5b5fb5,_0x17a3f9){this['node']=_0x573043,this['from']=_0x2a0295,this['to']=_0x29971a,this['spaceBefore']=_0x1ff8ee,this['spaceAfter']=_0x1663e9,this['type']=_0x5b5fb5,this['item']=_0x17a3f9;}['blank'](_0x3b23b9,_0x1ada20=!0x0){let _0x2122bd=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x3b23b9){for(;_0x2122bd['length']<_0x3b23b9;)_0x2122bd+='\x20';return _0x2122bd;}for(let _0x5808fa=this['to']-this['from']-_0x2122bd['length']-this['spaceAfter']['length'];_0x5808fa>0x0;_0x5808fa--)_0x2122bd+='\x20';return _0x2122bd+(_0x1ada20?this['spaceAfter']:'');}['marker'](_0x13ee8e,_0x9ea84){let _0x4370a7='OrderedList'==this['node']['name']?String(+K$(this['item'],_0x13ee8e)[0x2]+_0x9ea84):'';return this['spaceBefore']+_0x4370a7+this['type']+this['spaceAfter'];}}function Y$(_0x1286fd,_0x2dfa06){let _0x3a1fb9=[],_0x1d9ed5=[];for(let _0x1e8578=_0x1286fd;_0x1e8578;_0x1e8578=_0x1e8578['parent']){if('FencedCode'==_0x1e8578['name'])return _0x1d9ed5;'ListItem'!=_0x1e8578['name']&&'Blockquote'!=_0x1e8578['name']||_0x3a1fb9['push'](_0x1e8578);}for(let _0x5ae472=_0x3a1fb9['length']-0x1;_0x5ae472>=0x0;_0x5ae472--){let _0x2c3e42,_0x1da479=_0x3a1fb9[_0x5ae472],_0x2fa186=_0x2dfa06['lineAt'](_0x1da479['from']),_0x42101e=_0x1da479['from']-_0x2fa186['from'];if('Blockquote'==_0x1da479['name']&&(_0x2c3e42=/^ *>( ?)/['exec'](_0x2fa186['text']['slice'](_0x42101e))))_0x1d9ed5['push'](new Context(_0x1da479,_0x42101e,_0x42101e+_0x2c3e42[0x0]['length'],'',_0x2c3e42[0x1],'>',null));else{if('ListItem'==_0x1da479['name']&&'OrderedList'==_0x1da479['parent']['name']&&(_0x2c3e42=/^( *)\d+([.)])( *)/['exec'](_0x2fa186['text']['slice'](_0x42101e)))){let _0x4baf69=_0x2c3e42[0x3],_0x55577d=_0x2c3e42[0x0]['length'];_0x4baf69['length']>=0x4&&(_0x4baf69=_0x4baf69['slice'](0x0,_0x4baf69['length']-0x4),_0x55577d-=0x4),_0x1d9ed5['push'](new Context(_0x1da479['parent'],_0x42101e,_0x42101e+_0x55577d,_0x2c3e42[0x1],_0x4baf69,_0x2c3e42[0x2],_0x1da479));}else{if('ListItem'==_0x1da479['name']&&'BulletList'==_0x1da479['parent']['name']&&(_0x2c3e42=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x2fa186['text']['slice'](_0x42101e)))){let _0x39149f=_0x2c3e42[0x4],_0x354af1=_0x2c3e42[0x0]['length'];_0x39149f['length']>0x4&&(_0x39149f=_0x39149f['slice'](0x0,_0x39149f['length']-0x4),_0x354af1-=0x4);let _0x47fdc1=_0x2c3e42[0x2];_0x2c3e42[0x3]&&(_0x47fdc1+=_0x2c3e42[0x3]['replace'](/[xX]/,'\x20')),_0x1d9ed5['push'](new Context(_0x1da479['parent'],_0x42101e,_0x42101e+_0x354af1,_0x2c3e42[0x1],_0x39149f,_0x47fdc1,_0x1da479));}}}}return _0x1d9ed5;}function K$(_0x1cc6df,_0x1905ea){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x1905ea['sliceString'](_0x1cc6df['from'],_0x1cc6df['from']+0xa));}function J$(_0x3b18b7,_0x263e82,_0x3ee1e6,_0x538137=0x0){for(let _0x55301b=-0x1,_0x2fce33=_0x3b18b7;;){if('ListItem'==_0x2fce33['name']){let _0x44ad76=K$(_0x2fce33,_0x263e82),_0x403049=+_0x44ad76[0x2];if(_0x55301b>=0x0){if(_0x403049!=_0x55301b+0x1)return;_0x3ee1e6['push']({'from':_0x2fce33['from']+_0x44ad76[0x1]['length'],'to':_0x2fce33['from']+_0x44ad76[0x0]['length'],'insert':String(_0x55301b+0x2+_0x538137)});}_0x55301b=_0x403049;}let _0x59bae1=_0x2fce33['nextSibling'];if(!_0x59bae1)break;_0x2fce33=_0x59bae1;}}function tD(_0x3a892a,_0x4a8fa5){let _0x5563cc=/^[ \t]*/['exec'](_0x3a892a)[0x0]['length'];if(!_0x5563cc||'\x09'!=_0x4a8fa5['facet'](sk))return _0x3a892a;let _0x579c1f='';for(let _0x270856=hE(_0x3a892a,0x4,_0x5563cc);_0x270856>0x0;)_0x270856>=0x4?(_0x579c1f+='\x09',_0x270856-=0x4):(_0x579c1f+='\x20',_0x270856--);return _0x579c1f+_0x3a892a['slice'](_0x5563cc);}function eD(_0x4117e8){return'QuoteMark'==_0x4117e8['name']||'ListMark'==_0x4117e8['name'];}function iD(_0x11a733,_0x3d98e5,_0x47e00f){let _0x22d336='';for(let _0xea6ec0=0x0,_0x5935da=_0x11a733['length']-0x2;_0xea6ec0<=_0x5935da;_0xea6ec0++)_0x22d336+=_0x11a733[_0xea6ec0]['blank'](_0xea6ec0<_0x5935da?hE(_0x47e00f['text'],0x4,Math['min'](_0x47e00f['text']['length'],_0x11a733[_0xea6ec0+0x1]['from']))-_0x22d336['length']:null,_0xea6ec0<_0x5935da);return tD(_0x22d336,_0x3d98e5);}const sD=[{'key':'Enter','run':({state:_0x872f67,dispatch:_0x309868})=>{let _0x2d5200=WC(_0x872f67),{doc:_0x1aed38}=_0x872f67,_0x19e434=null,_0x25a29c=_0x872f67['changeByRange'](_0xf8544b=>{if(!_0xf8544b['empty']||!z$['isActiveAt'](_0x872f67,_0xf8544b['from'],0x0))return _0x19e434={'range':_0xf8544b};let _0x1ce399=_0xf8544b['from'],_0x1255f3=_0x1aed38['lineAt'](_0x1ce399),_0x33a46f=Y$(_0x2d5200['resolveInner'](_0x1ce399,-0x1),_0x1aed38);for(;_0x33a46f['length']&&_0x33a46f[_0x33a46f['length']-0x1]['from']>_0x1ce399-_0x1255f3['from'];)_0x33a46f['pop']();if(!_0x33a46f['length'])return _0x19e434={'range':_0xf8544b};let _0x29001f=_0x33a46f[_0x33a46f['length']-0x1];if(_0x29001f['to']-_0x29001f['spaceAfter']['length']>_0x1ce399-_0x1255f3['from'])return _0x19e434={'range':_0xf8544b};let _0x5e0a2c=_0x1ce399>=_0x29001f['to']-_0x29001f['spaceAfter']['length']&&!/\S/['test'](_0x1255f3['text']['slice'](_0x29001f['to']));if(_0x29001f['item']&&_0x5e0a2c){let _0x404e16=_0x29001f['node']['firstChild'],_0x31820f=_0x29001f['node']['getChild']('ListItem','ListItem');if(_0x404e16['to']>=_0x1ce399||_0x31820f&&_0x31820f['to']<_0x1ce399||_0x1255f3['from']>0x0&&!/[^\s>]/['test'](_0x1aed38['lineAt'](_0x1255f3['from']-0x1)['text'])){let _0x3fcfdc,_0xc7ff04=_0x33a46f['length']>0x1?_0x33a46f[_0x33a46f['length']-0x2]:null,_0x4762f0='';_0xc7ff04&&_0xc7ff04['item']?(_0x3fcfdc=_0x1255f3['from']+_0xc7ff04['from'],_0x4762f0=_0xc7ff04['marker'](_0x1aed38,0x1)):_0x3fcfdc=_0x1255f3['from']+(_0xc7ff04?_0xc7ff04['to']:0x0);let _0x1c3901=[{'from':_0x3fcfdc,'to':_0x1ce399,'insert':_0x4762f0}];return'OrderedList'==_0x29001f['node']['name']&&J$(_0x29001f['item'],_0x1aed38,_0x1c3901,-0x2),_0xc7ff04&&'OrderedList'==_0xc7ff04['node']['name']&&J$(_0xc7ff04['item'],_0x1aed38,_0x1c3901),{'range':EditorSelection['cursor'](_0x3fcfdc+_0x4762f0['length']),'changes':_0x1c3901};}{let _0x288605=iD(_0x33a46f,_0x872f67,_0x1255f3);return{'range':EditorSelection['cursor'](_0x1ce399+_0x288605['length']+0x1),'changes':{'from':_0x1255f3['from'],'insert':_0x288605+_0x872f67['lineBreak']}};}}if('Blockquote'==_0x29001f['node']['name']&&_0x5e0a2c&&_0x1255f3['from']){let _0x488f76=_0x1aed38['lineAt'](_0x1255f3['from']-0x1),_0x3c3351=/>\s*$/['exec'](_0x488f76['text']);if(_0x3c3351&&_0x3c3351['index']==_0x29001f['from']){let _0x50f83a=_0x872f67['changes']([{'from':_0x488f76['from']+_0x3c3351['index'],'to':_0x488f76['to']},{'from':_0x1255f3['from']+_0x29001f['from'],'to':_0x1255f3['to']}]);return{'range':_0xf8544b['map'](_0x50f83a),'changes':_0x50f83a};}}let _0x2b05dc=[];'OrderedList'==_0x29001f['node']['name']&&J$(_0x29001f['item'],_0x1aed38,_0x2b05dc);let _0x49de89=_0x29001f['item']&&_0x29001f['item']['from']<_0x1255f3['from'],_0x4daa79='';if(!_0x49de89||/^[\s\d.)\-+*>]*/['exec'](_0x1255f3['text'])[0x0]['length']>=_0x29001f['to']){for(let _0x2d4a40=0x0,_0x349c3b=_0x33a46f['length']-0x1;_0x2d4a40<=_0x349c3b;_0x2d4a40++)_0x4daa79+=_0x2d4a40!=_0x349c3b||_0x49de89?_0x33a46f[_0x2d4a40]['blank'](_0x2d4a40<_0x349c3b?hE(_0x1255f3['text'],0x4,_0x33a46f[_0x2d4a40+0x1]['from'])-_0x4daa79['length']:null):_0x33a46f[_0x2d4a40]['marker'](_0x1aed38,0x1);}let _0x335748=_0x1ce399;for(;_0x335748>_0x1255f3['from']&&/\s/['test'](_0x1255f3['text']['charAt'](_0x335748-_0x1255f3['from']-0x1));)_0x335748--;return _0x4daa79=tD(_0x4daa79,_0x872f67),function(_0x3a30cc,_0xed414b){if('OrderedList'!=_0x3a30cc['name']&&'BulletList'!=_0x3a30cc['name'])return!0x1;let _0xbe7ef0=_0x3a30cc['firstChild'],_0x34f64b=_0x3a30cc['getChild']('ListItem','ListItem');if(!_0x34f64b)return!0x1;let _0x18b4e6=_0xed414b['lineAt'](_0xbe7ef0['to']),_0x51a86c=_0xed414b['lineAt'](_0x34f64b['from']),_0x300772=/^[\s>]*$/['test'](_0x18b4e6['text']);return _0x18b4e6['number']+(_0x300772?0x0:0x1)<_0x51a86c['number'];}(_0x29001f['node'],_0x872f67['doc'])&&(_0x4daa79=iD(_0x33a46f,_0x872f67,_0x1255f3)+_0x872f67['lineBreak']+_0x4daa79),_0x2b05dc['push']({'from':_0x335748,'to':_0x1ce399,'insert':_0x872f67['lineBreak']+_0x4daa79}),{'range':EditorSelection['cursor'](_0x335748+_0x4daa79['length']+0x1),'changes':_0x2b05dc};});return!_0x19e434&&(_0x309868(_0x872f67['update'](_0x25a29c,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x5c5227,dispatch:_0x1589d9})=>{let _0x3d8ff2=WC(_0x5c5227),_0xbf7390=null,_0x6e9b99=_0x5c5227['changeByRange'](_0x4d06f0=>{let _0x52b9fb=_0x4d06f0['from'],{doc:_0x13b73d}=_0x5c5227;if(_0x4d06f0['empty']&&z$['isActiveAt'](_0x5c5227,_0x4d06f0['from'])){let _0x3c0ae1=_0x13b73d['lineAt'](_0x52b9fb),_0x9ea23a=Y$(function(_0x4a2b07,_0x33a391){let _0x3ab24c=_0x4a2b07['resolveInner'](_0x33a391,-0x1),_0x2e09ca=_0x33a391;eD(_0x3ab24c)&&(_0x2e09ca=_0x3ab24c['from'],_0x3ab24c=_0x3ab24c['parent']);for(let _0x41b41a;_0x41b41a=_0x3ab24c['childBefore'](_0x2e09ca);)if(eD(_0x41b41a))_0x2e09ca=_0x41b41a['from'];else{if('OrderedList'!=_0x41b41a['name']&&'BulletList'!=_0x41b41a['name'])break;_0x3ab24c=_0x41b41a['lastChild'],_0x2e09ca=_0x3ab24c['to'];}return _0x3ab24c;}(_0x3d8ff2,_0x52b9fb),_0x13b73d);if(_0x9ea23a['length']){let _0x67a435=_0x9ea23a[_0x9ea23a['length']-0x1],_0xd2cb1c=_0x67a435['to']-_0x67a435['spaceAfter']['length']+(_0x67a435['spaceAfter']?0x1:0x0);if(_0x52b9fb-_0x3c0ae1['from']>_0xd2cb1c&&!/\S/['test'](_0x3c0ae1['text']['slice'](_0xd2cb1c,_0x52b9fb-_0x3c0ae1['from'])))return{'range':EditorSelection['cursor'](_0x3c0ae1['from']+_0xd2cb1c),'changes':{'from':_0x3c0ae1['from']+_0xd2cb1c,'to':_0x52b9fb}};if(_0x52b9fb-_0x3c0ae1['from']==_0xd2cb1c&&(!_0x67a435['item']||_0x3c0ae1['from']<=_0x67a435['item']['from']||!/\S/['test'](_0x3c0ae1['text']['slice'](0x0,_0x67a435['to'])))){let _0x143d86=_0x3c0ae1['from']+_0x67a435['from'];if(_0x67a435['item']&&_0x67a435['node']['from']<_0x67a435['item']['from']&&/\S/['test'](_0x3c0ae1['text']['slice'](_0x67a435['from'],_0x67a435['to']))){let _0x60ba23=_0x67a435['blank'](hE(_0x3c0ae1['text'],0x4,_0x67a435['to'])-hE(_0x3c0ae1['text'],0x4,_0x67a435['from']));return _0x143d86==_0x3c0ae1['from']&&(_0x60ba23=tD(_0x60ba23,_0x5c5227)),{'range':EditorSelection['cursor'](_0x143d86+_0x60ba23['length']),'changes':{'from':_0x143d86,'to':_0x3c0ae1['from']+_0x67a435['to'],'insert':_0x60ba23}};}if(_0x143d86<_0x52b9fb)return{'range':EditorSelection['cursor'](_0x143d86),'changes':{'from':_0x143d86,'to':_0x52b9fb}};}}}return _0xbf7390={'range':_0x4d06f0};});return!_0xbf7390&&(_0x1589d9(_0x5c5227['update'](_0x6e9b99,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],nD=vL({'matchClosingTags':!0x1});function rD(_0x350782={}){let {codeLanguages:_0x3d8580,defaultCodeLanguage:_0x3f6d5a,addKeymap:_0x55fb81=!0x0,base:{parser:_0x3f2347}=W$,completeHTMLTags:_0x1b65b2=!0x0,htmlTagLanguage:_0x3a39e4=nD}=_0x350782;if(!(_0x3f2347 instanceof MarkdownParser))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x4b6c57,_0xe52cf0=_0x350782['extensions']?[_0x350782['extensions']]:[],_0x29b137=[_0x3a39e4['support']];_0x3f6d5a instanceof LanguageSupport?(_0x29b137['push'](_0x3f6d5a['support']),_0x4b6c57=_0x3f6d5a['language']):_0x3f6d5a&&(_0x4b6c57=_0x3f6d5a);let _0x30db13=_0x3d8580||_0x4b6c57?(_0x5310b9=_0x3d8580,_0xc30be=_0x4b6c57,_0x5240a6=>{if(_0x5240a6&&_0x5310b9){let _0x31405d=null;if(_0x5240a6=/\S*/['exec'](_0x5240a6)[0x0],_0x31405d='function'==typeof _0x5310b9?_0x5310b9(_0x5240a6):LanguageDescription['matchLanguageName'](_0x5310b9,_0x5240a6,!0x0),_0x31405d instanceof LanguageDescription)return _0x31405d['support']?_0x31405d['support']['language']['parser']:ParseContext['getSkippingParser'](_0x31405d['load']());if(_0x31405d)return _0x31405d['parser'];}return _0xc30be?_0xc30be['parser']:null;}):void 0x0;var _0x5310b9,_0xc30be;_0xe52cf0['push'](function(_0x415139){let {codeParser:_0x388988,htmlParser:_0x1aa453}=_0x415139,_0x558332=fC((_0x3eb46c,_0x61d466)=>{let _0xcd6b0e=_0x3eb46c['type']['id'];if(!_0x388988||_0xcd6b0e!=TL['CodeBlock']&&_0xcd6b0e!=TL['FencedCode']){if(_0x1aa453&&(_0xcd6b0e==TL['HTMLBlock']||_0xcd6b0e==TL['HTMLTag']||_0xcd6b0e==TL['CommentBlock']))return{'parser':_0x1aa453,'overlay':v$(_0x3eb46c['node'],_0x3eb46c['from'],_0x3eb46c['to'])};}else{let _0x1d7165='';if(_0xcd6b0e==TL['FencedCode']){let _0x51f134=_0x3eb46c['node']['getChild'](TL['CodeInfo']);_0x51f134&&(_0x1d7165=_0x61d466['read'](_0x51f134['from'],_0x51f134['to']));}let _0x146f10=_0x388988(_0x1d7165);if(_0x146f10)return{'parser':_0x146f10,'overlay':_0x1e159d=>_0x1e159d['type']['id']==TL['CodeText']};}return null;});return{'wrap':_0x558332};}({'codeParser':_0x30db13,'htmlParser':_0x3a39e4['language']['parser']})),_0x55fb81&&_0x29b137['push'](N_['high'](DI['of'](sD)));let _0x1db4ac=q$(_0x3f2347['configure'](_0xe52cf0));return _0x1b65b2&&_0x29b137['push'](_0x1db4ac['data']['of']({'autocomplete':oD})),new LanguageSupport(_0x1db4ac,_0x29b137);}function oD(_0x230fe1){let {state:_0x2dda08,pos:_0x454740}=_0x230fe1,_0x4a33f8=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x2dda08['sliceDoc'](_0x454740-0x19,_0x454740));if(!_0x4a33f8)return null;let _0x289b3a=WC(_0x2dda08)['resolveInner'](_0x454740,-0x1);for(;_0x289b3a&&!_0x289b3a['type']['isTop'];){if('CodeBlock'==_0x289b3a['name']||'FencedCode'==_0x289b3a['name']||'ProcessingInstructionBlock'==_0x289b3a['name']||'CommentBlock'==_0x289b3a['name']||'Link'==_0x289b3a['name']||'Image'==_0x289b3a['name'])return null;_0x289b3a=_0x289b3a['parent'];}return{'from':_0x454740-_0x4a33f8[0x0]['length'],'to':_0x454740,'options':cD(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let aD=null;function cD(){if(aD)return aD;let _0x2576b6=(_0x8ef556=new CompletionContext(EditorState['create']({'extensions':nD}),0x0,!0x0),mL(Schema['default'],_0x8ef556));var _0x8ef556;return aD=_0x2576b6?_0x2576b6['options']:[];}const lD='#e06c75',hD='#abb2bf',uD='#7d8799',dD='#d19a66',fD='#2c313a',mD='#282c34',gD='#353a42',pD='#528bff',OD=[EditorView['theme']({'&':{'color':hD,'backgroundColor':mD},'.cm-content':{'caretColor':pD},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':pD},'&.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':hD},'.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':mD,'color':uD,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':fD},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':gD},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':gD,'borderBottomColor':gD},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':fD,'color':hD}}},{'dark':!0x0}),jk(HighlightStyle['define']([{'tag':jC['keyword'],'color':'#c678dd'},{'tag':[jC['name'],jC['deleted'],jC['character'],jC['propertyName'],jC['macroName']],'color':lD},{'tag':[jC['function'](jC['variableName']),jC['labelName']],'color':'#61afef'},{'tag':[jC['color'],jC['constant'](jC['name']),jC['standard'](jC['name'])],'color':dD},{'tag':[jC['definition'](jC['name']),jC['separator']],'color':hD},{'tag':[jC['typeName'],jC['className'],jC['number'],jC['changed'],jC['annotation'],jC['modifier'],jC['self'],jC['namespace']],'color':'#e5c07b'},{'tag':[jC['operator'],jC['operatorKeyword'],jC['url'],jC['escape'],jC['regexp'],jC['link'],jC['special'](jC['string'])],'color':'#56b6c2'},{'tag':[jC['meta'],jC['comment']],'color':uD},{'tag':jC['strong'],'fontWeight':'bold'},{'tag':jC['emphasis'],'fontStyle':'italic'},{'tag':jC['strikethrough'],'textDecoration':'line-through'},{'tag':jC['link'],'color':uD,'textDecoration':'underline'},{'tag':jC['heading'],'fontWeight':'bold','color':lD},{'tag':[jC['atom'],jC['bool'],jC['special'](jC['variableName'])],'color':dD},{'tag':[jC['processingInstruction'],jC['string'],jC['inserted']],'color':'#98c379'},{'tag':jC['invalid'],'color':'#ffffff'}]))];function wD(_0x490771){const _0x11cf21=[EditorView['lineWrapping'],YP(),tx(),DP(),yS(),XI(),iS(),ZS(),Qk(),uS(),YS(),lS(),Ix(),gk(),OS(),jk(Gk,{'fallback':!0x0})],_0x4c2518=new Compartment();_0x11cf21['push'](_0x4c2518['of'](EditorView['editable']['of'](!0x0))),'html'===_0x490771['syntaxLanguage']?_0x11cf21['push'](vL()):_0x11cf21['push'](rD());const _0x2577c6=function(_0x22bee2){if(_0x22bee2&&'default'!==_0x22bee2)return'dark'===_0x22bee2?OD:_0x22bee2;return null;}(_0x490771['theme']);_0x2577c6&&_0x11cf21['push'](_0x2577c6),_0x11cf21['push'](DI['of']([...jP,...BR,...Bx,...Rk,...KP,{'key':'Tab','run':$R,'shift':DR,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':kx,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':kx,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':Cx,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0xbc583d=new EditorView({'extensions':_0x11cf21,'parent':_0x490771['parent']});return QR(_0xbc583d),{'focus':()=>{_0xbc583d['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0xbc583d['focus']();},'getData':()=>_0xbc583d['state']['doc']['toString'](),'setData':_0x13f118=>{_0xbc583d['dispatch']({'changes':{'from':0x0,'to':_0xbc583d['state']['doc']['length'],'insert':_0x13f118},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0xc2fe34=>{_0xbc583d['dispatch']({'effects':[_0x4c2518['reconfigure'](EditorView['editable']['of'](!_0xc2fe34))]});},'destroy':()=>{_0xbc583d['destroy']();},'instance':_0xbc583d};}class CodeEditorView extends _0xa34d16{['_codeEditorApi']=null;['_options'];constructor(_0x233d52,_0x40890c){super(_0x233d52),this['_options']=_0x40890c,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']=wD({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x27ad57,_0x2d3fa9,_0x3178c4)=>{this['setReadOnly'](_0x3178c4);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x24a755){this['_codeEditorApi']['setData'](_0x24a755);}['setReadOnly'](_0x578315){this['_codeEditorApi']['setReadOnly'](_0x578315);}}const bD='SourceEditingEnhancedMode';class EditSourceCommand extends _0x208eac{constructor(_0x2c5488){super(_0x2c5488),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x1bb5aa)['on']('change:hasAny',(_0x8cadf8,_0xf51679,_0x308eff)=>{_0x308eff?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x128a94=this['editor'];for(const _0x1a7fc2 of _0x128a94['commands']['names']())['replaceSource','editSource']['includes'](_0x1a7fc2)||_0x128a94['commands']['get'](_0x1a7fc2)['forceDisabled'](bD);}['_enableCommands'](){const _0x454b73=this['editor'];for(const _0x37b21c of _0x454b73['commands']['commands']())_0x37b21c['clearForceDisabled'](bD);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0xb15a3d=this['editor'],_0x9f42d8=_0xb15a3d['locale'],_0x368f6b=_0xb15a3d['plugins']['get']('Dialog'),_0x188082=Zv(_0xb15a3d),_0x446254=_0xb15a3d['data']['get']({'rootName':_0x188082}),_0x438845=qv(_0x565d72=_0x446254)?_0xa51c36(_0x565d72):_0x565d72;var _0x565d72;const _0x4d0804=new CodeEditorView(_0x9f42d8,{'syntaxLanguage':_0xb15a3d['plugins']['has']('Markdown')?'markdown':'html','theme':_0xb15a3d['config']['get']('sourceEditingEnhanced.theme')});let _0x2cbe2b=!0x0;const _0x4432a2=_0x333009=>{if(!_0x2cbe2b)return;return Xv(_0x4d0804['getData']())!==Xv(_0x438845)?window['confirm'](Gv(_0x9f42d8,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x333009['stop']():void 0x0;};_0x368f6b['show']({'id':'sourceEditingEnhanced','title':Gv(_0x9f42d8,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x4d0804,'actionButtons':[{'label':Gv(_0x9f42d8,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x368f6b['hide']();}},{'label':Gv(_0x9f42d8,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x31ead3=Xv(_0x4d0804['getData']())!==Xv(_0x438845);(_0x31ead3&&_0xb15a3d['execute']('replaceSource',_0x4d0804['getData']()),_0x2cbe2b=!0x1,_0x368f6b['hide'](),_0x31ead3&&'editables'in _0xb15a3d['ui']['view'])&&_0xb15a3d['ui']['view']['editables'][_0x188082]['element']['focus']();},'onCreate':_0x5e85f3=>{_0x5e85f3['set']('isEnabled',!_0xb15a3d['isReadOnly']),_0x5e85f3['bind']('isEnabled')['to'](_0xb15a3d,'isReadOnly',this,'isEnabled',(_0x17c65d,_0x4314d0)=>!_0x17c65d&&_0x4314d0);}}],'onHide':()=>{this['_enableCommands'](),_0x368f6b['off']('hide',_0x4432a2),_0x4d0804['destroy']();},'onShow':()=>{_0x4d0804['bind']('isReadOnly')['to'](_0xb15a3d,'isReadOnly',this,'isEnabled',(_0x47d959,_0x3caaa3)=>_0x47d959||!_0x3caaa3),_0x4d0804['setData'](_0x438845),_0x4d0804['focus'](),_0x368f6b['on']('hide',_0x4432a2,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends _0x151d85{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x1bb5aa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2fbc61=this['editor'],_0x5dc80b=_0x2fbc61['locale'],_0xf5c45a=new EditSourceCommand(_0x2fbc61);_0x2fbc61['commands']['add']('editSource',_0xf5c45a),_0x2fbc61['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x227d61=this['_createButton'](_0x4c508c,_0xf5c45a);return _0x227d61['set']({'label':Gv(_0x5dc80b,'Source'),'icon':_0x5ac98b,'tooltip':Gv(_0x5dc80b,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x227d61;}),_0x2fbc61['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x1c202c=this['_createButton'](at,_0xf5c45a,!0x0);return _0x1c202c['set']({'label':Gv(_0x5dc80b,'Edit\x20source\x20modal\x20label'),'icon':_0x5ac98b,'role':'menuitemcheckbox'}),_0x1c202c;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x413cc1){const _0x6ffe00=_0x126e1f([0x4e,0x51,0x56,0x58,0x79,0x42,0x46,0x48,0x4a,0x7a,0x72,0x38,0x57,0x47,0x49,0x34,0x61,0x5a,0x6e,0x54,0x65,0x6f,0x55,0x78,0x36,0x70,0x39,0x6a,0x66,0x76,0x33,0x44,0x69,0x74,0x4c,0x77,0x75,0x63,0x6b,0x59,0x6c,0x68,0x64,0x4d,0x41,0x32,0x4b,0x35,0x53,0x37,0x6d,0x62,0x43,0x4f,0x50,0x45,0x73,0x31,0x71,0x67,0x52,0x30]),_0x34b731=0x5dba9314,_0x3df60d=0x5dbd18c4^_0x34b731,_0xe006af=window[_0x126e1f([0x44,0x61,0x74,0x65])][_0x126e1f([0x6e,0x6f,0x77])](),_0x20e23d=_0x413cc1[_0x126e1f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x297fb8=new window[(_0x126e1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53f636=>{_0x20e23d[_0x126e1f([0x6f,0x6e,0x63,0x65])](_0x126e1f([0x72,0x65,0x61,0x64,0x79]),_0x53f636);}),_0x1f9670={[_0x126e1f([0x6b,0x74,0x79])]:_0x126e1f([0x45,0x43]),[_0x126e1f([0x75,0x73,0x65])]:_0x126e1f([0x73,0x69,0x67]),[_0x126e1f([0x63,0x72,0x76])]:_0x126e1f([0x50,0x2d,0x32,0x35,0x36]),[_0x126e1f([0x78])]:_0x126e1f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x126e1f([0x79])]:_0x126e1f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x126e1f([0x61,0x6c,0x67])]:_0x126e1f([0x45,0x53,0x32,0x35,0x36])},_0x1c4ad4=_0x20e23d[_0x126e1f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x126e1f([0x67,0x65,0x74])](_0x126e1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd68165(){let _0xc80380,_0x29778f=null,_0x3b8cd7=null;try{if(_0x1c4ad4==_0x126e1f([0x47,0x50,0x4c]))return _0x126e1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xc80380=_0x389529(),!_0xc80380)return _0x126e1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xc80380[_0x126e1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3b8cd7=_0x1befa6(_0xc80380[_0x126e1f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xc80380[_0x126e1f([0x6a,0x74,0x69])])),await _0x1157f3()?_0x5ec1aa()?_0x5f580b()?_0x126e1f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x239d9e()?(_0xc80380[_0x126e1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x126e1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29778f=_0x37c577(_0x126e1f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e68d2()):_0x126e1f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x126e1f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x126e1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x126e1f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f580b(){const _0x32b667=[_0x126e1f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x126e1f([0x74,0x72,0x69,0x61,0x6c])][_0x126e1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80380[_0x126e1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xe006af/0x3e8:0xe10*_0x3df60d;return _0xc80380[_0x126e1f([0x65,0x78,0x70])]<_0x32b667;}function _0x5ec1aa(){const _0x4ccdba=_0xc80380[_0x126e1f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4ccdba&&(!!_0x4ccdba[_0x126e1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126e1f([0x2a]))||!!_0x4ccdba[_0x126e1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126e1f([0x53,0x45,0x45])));}function _0x239d9e(){const _0x23b381=_0xc80380[_0x126e1f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x23b381||0x0==_0x23b381[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x421d6b}=new URL(window[_0x126e1f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x23b381[_0x126e1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x421d6b))return!0x0;const _0x547091=_0x421d6b[_0x126e1f([0x73,0x70,0x6c,0x69,0x74])](_0x126e1f([0x2e]));return _0x23b381[_0x126e1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ba27a=>_0x1ba27a[_0x126e1f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x126e1f([0x2a])))[_0x126e1f([0x6d,0x61,0x70])](_0x5e19cc=>_0x5e19cc[_0x126e1f([0x73,0x70,0x6c,0x69,0x74])](_0x126e1f([0x2e])))[_0x126e1f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2352a8=>_0x2352a8[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x547091[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x126e1f([0x6d,0x61,0x70])](_0x4055f3=>Array(_0x547091[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4055f3[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x126e1f([0x66,0x69,0x6c,0x6c])](_0x4055f3[0x0]===_0x126e1f([0x2a])?_0x126e1f([0x2a]):'')[_0x126e1f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4055f3))[_0x126e1f([0x73,0x6f,0x6d,0x65])](_0x3a1662=>_0x547091[_0x126e1f([0x65,0x76,0x65,0x72,0x79])]((_0x22efa3,_0x2590a1)=>_0x3a1662[_0x2590a1]===_0x22efa3||_0x3a1662[_0x2590a1]===_0x126e1f([0x2a])));}function _0x5e68d2(){return _0x29778f&&_0x3b8cd7?new window[(_0x126e1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2590dd,_0x7cd76f)=>{_0x29778f[_0x126e1f([0x74,0x68,0x65,0x6e])](_0x2590dd,_0x7cd76f),_0x3b8cd7[_0x126e1f([0x74,0x68,0x65,0x6e])](_0x5aa369=>{_0x5aa369!=_0x126e1f([0x56,0x61,0x6c,0x69,0x64])&&_0x2590dd(_0x5aa369);},_0x7cd76f);}):_0x29778f||_0x3b8cd7||_0x126e1f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1befa6(_0xd8e32f,_0x154109){return new window[(_0x126e1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cbb3a=>{if(_0x3df843())return _0x1cbb3a(_0x126e1f([0x56,0x61,0x6c,0x69,0x64]));_0x4467f4(),_0x20e23d[_0x126e1f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x126e1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x199525=!0x1;const _0x590f7b=_0x3eda13();function _0x34ef11(_0x92c966){return!!_0x92c966&&(typeof _0x92c966===_0x126e1f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x92c966===_0x126e1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x92c966[_0x126e1f([0x74,0x68,0x65,0x6e])]===_0x126e1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x92c966[_0x126e1f([0x63,0x61,0x74,0x63,0x68])]===_0x126e1f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x327ed4(_0x25dba0){_0x55c337(_0x25dba0)[_0x126e1f([0x74,0x68,0x65,0x6e])](_0x16528d=>{if(!_0x16528d||_0x16528d[_0x126e1f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x126e1f([0x6f,0x6b]))return _0x126e1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb2f837(_0x4624bb(_0x590f7b+_0x154109))!=_0x16528d[_0x126e1f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x126e1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x126e1f([0x56,0x61,0x6c,0x69,0x64]);})[_0x126e1f([0x74,0x68,0x65,0x6e])](_0x3a4f2e=>(_0x212eeb(),_0x3a4f2e),()=>{const _0x420ba9=_0x535b88();return null==_0x420ba9?(_0x212eeb(),_0x126e1f([0x56,0x61,0x6c,0x69,0x64])):_0x126e1f(_0xe006af-_0x420ba9>(0x79b61714^_0x34b731)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x126e1f([0x74,0x68,0x65,0x6e])](_0x1cbb3a)[_0x126e1f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1cbb3a(_0x126e1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58bdb0=0x5d8c7d94^_0x34b731;function _0x212eeb(){const _0x11a08c=_0x126e1f([0x6c,0x6c,0x63,0x74,0x2d])+_0xb2f837(_0x4624bb(_0xd8e32f)),_0xce6356=_0x34f471(_0xb2f837(window[_0x126e1f([0x4d,0x61,0x74,0x68])][_0x126e1f([0x63,0x65,0x69,0x6c])](_0xe006af/_0x58bdb0)));window[_0x126e1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x126e1f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11a08c,_0xce6356);}function _0x535b88(){const _0x42dfda=_0x126e1f([0x6c,0x6c,0x63,0x74,0x2d])+_0xb2f837(_0x4624bb(_0xd8e32f)),_0x326038=window[_0x126e1f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x126e1f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42dfda);return _0x326038?window[_0x126e1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34f471(_0x326038),0x10)*_0x58bdb0:null;}function _0x55c337(_0x2c88de){return new window[(_0x126e1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x66009a,_0x2883db)=>{_0x2c88de[_0x126e1f([0x74,0x68,0x65,0x6e])](_0x66009a,_0x2883db),window[_0x126e1f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2883db,0x5dbb47d4^_0x34b731);});}}_0x20e23d[_0x126e1f([0x6f,0x6e])](_0x126e1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f76a9,_0x2631a7)=>{if(_0x2631a7[0x0]!=_0xd8e32f)return _0x1cbb3a(_0x126e1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2631a7[0x1]={..._0x2631a7[0x1],[_0x126e1f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x590f7b};},{[_0x126e1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x126e1f([0x68,0x69,0x67,0x68])}),_0x20e23d[_0x126e1f([0x6f,0x6e])](_0x126e1f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x435334=>{_0x34ef11(_0x435334[_0x126e1f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x199525=!0x0,_0x327ed4(_0x435334[_0x126e1f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x126e1f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x126e1f([0x6c,0x6f,0x77])}),_0x297fb8[_0x126e1f([0x74,0x68,0x65,0x6e])](()=>{_0x199525||_0x1cbb3a(_0x126e1f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3df843(){return _0x20e23d[_0x126e1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x126e1f([0x76,0x69,0x65,0x77])][_0x126e1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x126e1f([0x61,0x75,0x74,0x6f]);}function _0x4467f4(){_0x20e23d[_0x126e1f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x126e1f([0x76,0x69,0x65,0x77])][_0x126e1f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x126e1f([0x61,0x75,0x74,0x6f]);}}function _0x37c577(_0x431ebb){const _0x49b550=[new window[(_0x126e1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x282c46=>setTimeout(_0x282c46,0x5db3add8^_0x34b731)),_0x297fb8[_0x126e1f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x126e1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd41e09=>{let _0x18b837=0x0;_0x20e23d[_0x126e1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x126e1f([0x6f,0x6e])](_0x126e1f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d57d2,_0x835a40)=>{_0x835a40[0x0][_0x126e1f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18b837++,_0x18b837==(0x5dba96fc^_0x34b731)&&(_0xd41e09(),_0x2d57d2[_0x126e1f([0x6f,0x66,0x66])]());});}))];return window[_0x126e1f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x126e1f([0x72,0x61,0x63,0x65])](_0x49b550)[_0x126e1f([0x74,0x68,0x65,0x6e])](()=>_0x431ebb);}async function _0x287f04(){await _0x297fb8,_0x20e23d[_0x126e1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x126e1f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a9f22,_0x20e23d[_0x126e1f([0x6d,0x6f,0x64,0x65,0x6c])][_0x126e1f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a9f22,_0x20e23d[_0x126e1f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x126e1f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x46ec0d(_0x63bd2){const _0x58d809=_0x16f27d();_0x20e23d[_0x58d809]=_0x126e1f([0x73,0x6f,0x75,0x72,0x63,0x65,0x45,0x64,0x69,0x74,0x69,0x6e,0x67,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x63bd2,_0x63bd2!=_0x126e1f([0x56,0x61,0x6c,0x69,0x64])&&_0x287f04();}function _0x16f27d(){const _0x205147=window[_0x126e1f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x126e1f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x126e1f([0x6e,0x6f,0x77])]())[_0x126e1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x126e1f([0x2e]),'');let _0x178b47=_0x126e1f([0x4e]);for(let _0x332a29=0x0;_0x332a29<_0x205147[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x332a29+=0x2){let _0x423810=window[_0x126e1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x205147[_0x126e1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x332a29,_0x332a29+0x2));_0x423810>=_0x6ffe00[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x423810-=_0x6ffe00[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x178b47+=_0x6ffe00[_0x423810];}return _0x178b47;}function _0x389529(){const _0xd93788=_0x1c4ad4[_0x126e1f([0x73,0x70,0x6c,0x69,0x74])](_0x126e1f([0x2e]));if(0x3!=_0xd93788[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x42cfee(_0xd93788[0x1]);function _0x42cfee(_0x1e65ca){const _0x2eb9bb=_0x2d493e(_0x1e65ca);return _0x2eb9bb&&_0x3b44d1()?_0x2eb9bb:null;function _0x3b44d1(){const _0x258f42=_0x2eb9bb[_0x126e1f([0x6a,0x74,0x69])],_0x86c6a5=window[_0x126e1f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x258f42[_0x126e1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x258f42[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1789aa={..._0x2eb9bb,[_0x126e1f([0x6a,0x74,0x69])]:_0x258f42[_0x126e1f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x258f42[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1789aa[_0x126e1f([0x76,0x63])],_0x4624bb(_0x1789aa)==_0x86c6a5;}}}async function _0x1157f3(){let _0x55444f=!0x0;try{const _0x249f53=_0x1c4ad4[_0x126e1f([0x73,0x70,0x6c,0x69,0x74])](_0x126e1f([0x2e])),[_0x42ad80,_0x5e8da1,_0x4be3cb]=_0x249f53;return _0x19c159(_0x42ad80),await _0x30ced1(_0x42ad80,_0x5e8da1,_0x4be3cb),_0x55444f;}catch{return!0x1;}function _0x19c159(_0xd6342f){const _0x506086=_0x2d493e(_0xd6342f);_0x506086&&_0x506086[_0x126e1f([0x61,0x6c,0x67])]==_0x126e1f([0x45,0x53,0x32,0x35,0x36])||(_0x55444f=!0x1);}async function _0x30ced1(_0x319728,_0x8f4c52,_0x1f08a3){const _0x1214cd=window[_0x126e1f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x126e1f([0x66,0x72,0x6f,0x6d])](_0x30f8be(_0x1f08a3),_0xba8be2=>_0xba8be2[_0x126e1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x432045=new window[(_0x126e1f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x126e1f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x319728+_0x126e1f([0x2e])+_0x8f4c52),_0x4833e9=window[_0x126e1f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x126e1f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4833e9)return;const _0x27b3c7=await _0x4833e9[_0x126e1f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x126e1f([0x6a,0x77,0x6b]),_0x1f9670,{[_0x126e1f([0x6e,0x61,0x6d,0x65])]:_0x126e1f([0x45,0x43,0x44,0x53,0x41]),[_0x126e1f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x126e1f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x126e1f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4833e9[_0x126e1f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x126e1f([0x6e,0x61,0x6d,0x65])]:_0x126e1f([0x45,0x43,0x44,0x53,0x41]),[_0x126e1f([0x68,0x61,0x73,0x68])]:{[_0x126e1f([0x6e,0x61,0x6d,0x65])]:_0x126e1f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27b3c7,_0x1214cd,_0x432045)||(_0x55444f=!0x1);}}function _0x2d493e(_0x146efa){return _0x146efa[_0x126e1f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x126e1f([0x65,0x79]))?JSON[_0x126e1f([0x70,0x61,0x72,0x73,0x65])](_0x30f8be(_0x146efa)):null;}function _0x30f8be(_0x1a17d6){return window[_0x126e1f([0x61,0x74,0x6f,0x62])](_0x1a17d6[_0x126e1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x126e1f([0x2b]))[_0x126e1f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x126e1f([0x2f])));}function _0x4624bb(_0x13ed82){let _0x2711c1=0x1505;function _0x3ac29b(_0x264243){for(let _0x2371cd=0x0;_0x2371cd<_0x264243[_0x126e1f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2371cd++){const _0x671163=_0x264243[_0x126e1f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2371cd);_0x2711c1=(_0x2711c1<<0x5)+_0x2711c1+_0x671163,_0x2711c1&=_0x2711c1;}}function _0x5bec64(_0x331381){Array[_0x126e1f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x331381)?_0x331381[_0x126e1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bec64):_0x331381&&typeof _0x331381==_0x126e1f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x126e1f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x331381)[_0x126e1f([0x73,0x6f,0x72,0x74])]()[_0x126e1f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x384e9c,_0x370971])=>{_0x3ac29b(_0x384e9c),_0x5bec64(_0x370971);}):_0x3ac29b(window[_0x126e1f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x331381));}return _0x5bec64(_0x13ed82),_0x2711c1>>>0x0;}function _0xb2f837(_0x2ab84b){return _0x2ab84b[_0x126e1f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x126e1f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x126e1f([0x30]));}function _0x34f471(_0x53551e){return _0x53551e[_0x126e1f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x126e1f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x126e1f([0x6a,0x6f,0x69,0x6e])]('');}function _0x5a9f22(){}function _0x126e1f(_0x2ddfc7){return _0x2ddfc7['map'](_0x3c8aeb=>String['fromCharCode'](_0x3c8aeb))['join']('');}_0x46ec0d(await _0xd68165());}(this);}['_createButton'](_0x1e0129,_0x40fb7b,_0x5042c6=!0x1){const _0x397aa9=new _0x1e0129(this['editor']['locale']);return _0x397aa9['set']({'withText':_0x5042c6,'isToggleable':!0x1}),_0x397aa9['bind']('isEnabled')['to'](_0x40fb7b,'isEnabled'),this['listenTo'](_0x397aa9,'execute',()=>_0x40fb7b['execute']()),_0x397aa9;}['_registerKeybindings'](){const _0x58f307=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':Gv(_0x58f307,'Source\x20Editing\x20Enhanced')});const _0xb41893=_0x342f35['isMac']||_0x342f35['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':Gv(_0x58f307,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':Gv(_0x58f307,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':Gv(_0x58f307,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':Gv(_0x58f307,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':Gv(_0x58f307,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':Gv(_0x58f307,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':Gv(_0x58f307,'Fold\x20code\x20(current\x20level)'),'keystroke':_0xb41893?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':Gv(_0x58f307,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':Gv(_0x58f307,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':Gv(_0x58f307,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':Gv(_0x58f307,'Select\x20line'),'keystroke':_0xb41893?'Ctrl!+L':'Alt+L'},{'label':Gv(_0x58f307,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0xb41893?'Alt+Shift+M':'Ctrl+M'},{'label':Gv(_0x58f307,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':Gv(_0x58f307,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':Gv(_0x58f307,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':Gv(_0x58f307,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':Gv(_0x58f307,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0xb41893?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class ReplaceSourceCommand extends _0x208eac{constructor(_0x499ab1){super(_0x499ab1),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x2bcf19,_0x178774){const _0x365553=this['editor'],_0x390b8e=_0x178774?.['rootName']??Zv(_0x365553);_0x365553['data']['set']({[_0x390b8e]:_0x2bcf19},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x246d29){super(_0x246d29),_0x246d29['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new ReplaceSourceCommand(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xfeda1b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3affa6;for(const _0x51d433 in _0xfeda1b){const _0x4bd745=_0x51d433,_0x104feb=_0xfeda1b[_0x4bd745];if('sourceEditingEnhancedLicenseKeyValid'==_0x104feb||'sourceEditingEnhancedLicenseKeyInvalid'==_0x104feb||'sourceEditingEnhancedLicenseKeyExpired'==_0x104feb||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x104feb||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x104feb||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x104feb||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x104feb){delete _0xfeda1b[_0x4bd745],_0x3affa6=_0x104feb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x3affa6&&_0xfeda1b['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x3affa6&&_0xfeda1b['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x3affa6&&_0xfeda1b['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x3affa6&&_0xfeda1b['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x3affa6&&_0xfeda1b['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x3affa6&&_0xfeda1b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x368da4=this['editor'],_0x55db5f=_0x368da4['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x55db5f&&_0x368da4['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x522f1f('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x55db5f&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5cc770=>_0x368da4['plugins']['has'](_0x5cc770))&&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.'),_0x368da4['plugins']['has']('RestrictedEditingModeEditing')&&console['warn']('You\x20initialized\x20the\x20editor\x20with\x20the\x20source\x20editing\x20enhanced\x20feature\x20and\x20restricted\x20editing\x20feature.\x20Please\x20be\x20advised\x20that\x20the\x20source\x20editing\x20enhanced\x20feature\x20may\x20not\x20work,\x20and\x20be\x20careful\x20when\x20editing\x20document\x20source\x20that\x20contains\x20markers\x20created\x20by\x20the\x20restricted\x20editing\x20feature.');}}class TemplateCommand extends _0x208eac{['execute'](_0x5e39f0){const {model:_0x17b6aa}=this['editor'];let _0x370de1;switch(typeof _0x5e39f0){case'string':_0x370de1=_0x5e39f0;break;case'function':_0x370de1=_0x5e39f0();}'string'==typeof _0x370de1&&_0x17b6aa['change'](()=>{const _0x5bac5e=this['editor']['data']['htmlProcessor']['toView'](_0x370de1),_0x29551a=_0x17b6aa['document']['selection']['getFirstPosition']()['root'],_0x16c395=this['editor']['data']['toModel'](_0x5bac5e,_0x29551a);_0x17b6aa['insertContent'](_0x16c395);});}}class TemplateEditing extends _0x151d85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ff9ba}=this;_0x3ff9ba['commands']['add']('insertTemplate',new TemplateCommand(_0x3ff9ba)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x59f430=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x368261;for(const _0x392601 in _0x59f430){const _0x53497b=_0x392601,_0x27bbfb=_0x59f430[_0x53497b];if('templateLicenseKeyValid'==_0x27bbfb||'templateLicenseKeyInvalid'==_0x27bbfb||'templateLicenseKeyExpired'==_0x27bbfb||'templateLicenseKeyDomainLimit'==_0x27bbfb||'templateLicenseKeyNotAllowed'==_0x27bbfb||'templateLicenseKeyEvaluationLimit'==_0x27bbfb||'templateLicenseKeyUsageLimit'==_0x27bbfb){delete _0x59f430[_0x53497b],_0x368261=_0x27bbfb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x368261&&_0x59f430['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x368261&&_0x59f430['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x368261&&_0x59f430['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x368261&&_0x59f430['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x368261&&_0x59f430['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x368261&&_0x59f430['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0x1688f4{['filter'](_0x32a6ce){if(!_0x32a6ce)return this['_resetFiltering']();const _0x4cd8ed=new Map(),_0x35bffd=this['items']['map'](_0x56d245=>{const _0x2cd360=_0x56d245['buttonView']['isMatching'](_0x32a6ce);return _0x56d245['isVisible']=!!_0x2cd360,_0x56d245['buttonView']['highlightText'](_0x2cd360?_0x32a6ce:null),_0x2cd360&&_0x4cd8ed['set'](_0x56d245,_0x2cd360),_0x56d245;})['sort'](yD)['sort'](function(_0xc92d1e){return function(_0x389594,_0x4a84de){const _0x8e8962=_0xc92d1e['get'](_0x389594),_0x2717e2=_0xc92d1e['get'](_0x4a84de);return _0x8e8962&&!_0x2717e2?-0x1:_0x2717e2&&!_0x8e8962?0x1:_0x8e8962||_0x2717e2?_0x8e8962['title']&&!_0x2717e2['title']?-0x1:!_0x8e8962['title']&&_0x2717e2['title']?0x1:0x0:0x0;};}(_0x4cd8ed));return this['items']['clear'](),this['items']['addMany'](_0x35bffd),{'resultsCount':_0x4cd8ed['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1ade01=this['items']['map'](_0x17a1a1=>_0x17a1a1)['sort'](yD);return _0x1ade01['forEach'](_0x1e9048=>{_0x1e9048['isVisible']=!0x0,_0x1e9048['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1ade01),{'resultsCount':_0x1ade01['length'],'totalItemsCount':_0x1ade01['length']};}}function yD(_0x4881a6,_0x180bdb){return _0x4881a6['originalIndex']-_0x180bdb['originalIndex'];}class TemplateListItemView extends _0xcc051a{['originalIndex'];['buttonView'];constructor(_0x5ae19d,_0x17ef34){super(_0x5ae19d),this['originalIndex']=_0x17ef34,this['buttonView']=null;}}class TemplateListButtonView extends _0x4c508c{['templateDefinition'];['textPartView'];constructor(_0x1136e6,_0x3b9d81){super(_0x1136e6),this['templateDefinition']=_0x3b9d81,this['textPartView']=null;const {icon:_0x5150c4=ts}=_0x3b9d81;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x5150c4}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new TextPartView(this['locale'],this['templateDefinition'],this['labelView']['element']['id']),this['children']['remove'](this['labelView']),this['children']['add'](this['textPartView']);}['destroy'](){super['destroy'](),this['labelView']['destroy']();}['isMatching'](_0x12bbf0){const {title:_0x1603e,description:_0x36b613}=this['templateDefinition'],_0x407bc9=!!_0x1603e['match'](_0x12bbf0),_0x1bc801=!(!_0x36b613||!_0x36b613['match'](_0x12bbf0));return _0x407bc9||_0x1bc801?{'title':_0x407bc9,'description':_0x1bc801}:null;}['highlightText'](_0x43f319){this['textPartView']['highlightText'](_0x43f319);}}class TextPartView extends _0xa34d16{constructor(_0x1ea55c,_0x2d263a,_0x13948b){super(_0x1ea55c),this['title']=_0x2d263a['title'],this['description']=_0x2d263a['description'],this['titleView']=new _t(),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x13948b}});const _0x349ad3=[this['titleView']];this['description']&&(this['descriptionView']=new _t(),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x349ad3['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x349ad3});}['highlightText'](_0x4fad3a){this['titleView']['highlightText'](_0x4fad3a),this['description']&&this['descriptionView']['highlightText'](_0x4fad3a);}}function vD(_0x5070ed,_0x1ba65c,..._0x1c8e6f){const t=_0x5070ed['t'];switch(_0x1ba65c){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x1c8e6f);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',..._0x1c8e6f);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x1ba65c;}}class TemplateUI extends _0x151d85{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x181c44}=this,_0x2f9d38=_0x181c44['config']['get']('template.definitions')||[];_0x181c44['ui']['componentFactory']['add']('insertTemplate',_0x464fe6=>{const _0x317558=nt(_0x464fe6),_0x2cf6d4=this['_createTemplateListView'](_0x464fe6,_0x2f9d38),_0x13b1e5=new It(_0x464fe6,{'filteredView':_0x2cf6d4,'queryView':{'label':vD(_0x464fe6,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x399d3a=>vD(_0x464fe6,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x399d3a),'secondary':vD(_0x464fe6,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':vD(_0x464fe6,'No\x20templates\x20available.')}}}}),_0x53b9d4=_0x181c44['commands']['get']('insertTemplate');return _0x13b1e5['on']('search',(_0x2eef94,_0x29b6a1)=>{_0x29b6a1['query']&&_0x29b6a1['query']['length']&&_0x181c44['ui']['ariaLiveAnnouncer']['announce'](vD(_0x464fe6,'%0\x20templates\x20found',_0x29b6a1['resultsCount']));}),_0x317558['bind']('isEnabled')['to'](_0x53b9d4),_0x317558['panelView']['children']['add'](_0x13b1e5),_0x317558['buttonView']['set']({'label':vD(_0x464fe6,'Insert\x20template'),'icon':_0x1ec93d,'tooltip':!0x0}),_0x317558['on']('change:isOpen',(_0x20da9,_0x1f461b,_0x5b11ac)=>{_0x5b11ac||_0x13b1e5['reset']();}),_0x317558;}),_0x181c44['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x595311=>{const _0x23bf25=_0x181c44['commands']['get']('insertTemplate'),_0x154154=new ot(_0x595311);_0x154154['buttonView']['set']({'label':vD(_0x595311,'Template'),'icon':_0x1ec93d});const _0x5c13ca=new lt(_0x595311);if(!_0x2f9d38||!_0x2f9d38['length']){const _0x5b86de=new ht(_0x595311,_0x154154),_0x13a56a=new at(_0x595311);_0x13a56a['set']({'label':vD(_0x595311,'No\x20templates\x20available.')}),_0x13a56a['delegate']('execute')['to'](_0x154154),_0x13a56a['on']('execute',()=>{_0x181c44['editing']['view']['focus']();}),_0x5b86de['children']['add'](_0x13a56a),_0x5c13ca['items']['add'](_0x5b86de);}for(const _0x390722 of _0x2f9d38){const _0x3781bb=new ht(_0x595311,_0x154154),_0x3556dc=new at(_0x595311);_0x3556dc['set']({'class':'ck-template-button','label':_0x390722['title'],'icon':_0x390722['icon']||ts}),_0x3556dc['delegate']('execute')['to'](_0x154154),_0x3556dc['on']('execute',()=>{_0x181c44['execute']('insertTemplate',_0x390722['data']),_0x181c44['editing']['view']['focus']();}),_0x3781bb['children']['add'](_0x3556dc),_0x5c13ca['items']['add'](_0x3781bb);}return _0x154154['panelView']['children']['add'](_0x5c13ca),_0x154154['bind']('isEnabled')['to'](_0x23bf25,'isEnabled'),_0x154154;});}['afterInit'](){!async function(_0x19e40f){const _0xbcb3ba=_0x229b22([0x35,0x67,0x6f,0x4e,0x5a,0x52,0x78,0x48,0x7a,0x6d,0x42,0x66,0x72,0x6c,0x30,0x46,0x71,0x36,0x43,0x6b,0x73,0x31,0x61,0x68,0x44,0x47,0x53,0x32,0x4c,0x55,0x45,0x57,0x69,0x62,0x79,0x33,0x77,0x4b,0x76,0x75,0x34,0x49,0x56,0x50,0x64,0x65,0x54,0x38,0x6a,0x6e,0x39,0x4d,0x4f,0x51,0x4a,0x74,0x63,0x41,0x59,0x37,0x58,0x70]),_0x1f1f8c=0x6b0f5e6f,_0x35034d=0x6b08d5bf^_0x1f1f8c,_0x65076d=window[_0x229b22([0x44,0x61,0x74,0x65])][_0x229b22([0x6e,0x6f,0x77])](),_0x245e61=_0x19e40f[_0x229b22([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4328f5=new window[(_0x229b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e7e91=>{_0x245e61[_0x229b22([0x6f,0x6e,0x63,0x65])](_0x229b22([0x72,0x65,0x61,0x64,0x79]),_0x1e7e91);}),_0x1e66f1={[_0x229b22([0x6b,0x74,0x79])]:_0x229b22([0x45,0x43]),[_0x229b22([0x75,0x73,0x65])]:_0x229b22([0x73,0x69,0x67]),[_0x229b22([0x63,0x72,0x76])]:_0x229b22([0x50,0x2d,0x32,0x35,0x36]),[_0x229b22([0x78])]:_0x229b22([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x229b22([0x79])]:_0x229b22([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x229b22([0x61,0x6c,0x67])]:_0x229b22([0x45,0x53,0x32,0x35,0x36])},_0x135f12=_0x245e61[_0x229b22([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x229b22([0x67,0x65,0x74])](_0x229b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x593184(){let _0x1daa42,_0x483527=null,_0x41bd19=null;try{if(_0x135f12==_0x229b22([0x47,0x50,0x4c]))return _0x229b22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1daa42=_0x1d932a(),!_0x1daa42)return _0x229b22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1daa42[_0x229b22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41bd19=_0x4eb18b(_0x1daa42[_0x229b22([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1daa42[_0x229b22([0x6a,0x74,0x69])])),await _0x91ceb3()?_0x23ad47()?_0x4830f2()?_0x229b22([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ecad7()?(_0x1daa42[_0x229b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x229b22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x483527=_0xca3f41(_0x229b22([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39100e()):_0x229b22([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x229b22([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x229b22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x229b22([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4830f2(){const _0x3c923b=[_0x229b22([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x229b22([0x74,0x72,0x69,0x61,0x6c])][_0x229b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1daa42[_0x229b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x65076d/0x3e8:0xe10*_0x35034d;return _0x1daa42[_0x229b22([0x65,0x78,0x70])]<_0x3c923b;}function _0x23ad47(){const _0x5a7373=_0x1daa42[_0x229b22([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a7373&&(!!_0x5a7373[_0x229b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229b22([0x2a]))||(!!_0x5a7373[_0x229b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229b22([0x54,0x50,0x4c]))||(!!_0x5a7373[_0x229b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229b22([0x50,0x50]))||(!(!_0x5a7373[_0x229b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229b22([0x44,0x52,0x55,0x50]))||!_0x240542())||!(!_0x5a7373[_0x229b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229b22([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x5b24d7())))));}function _0x3ecad7(){const _0x169e03=_0x1daa42[_0x229b22([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x169e03||0x0==_0x169e03[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d2fcf}=new URL(window[_0x229b22([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x169e03[_0x229b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d2fcf))return!0x0;const _0x46e1d7=_0x4d2fcf[_0x229b22([0x73,0x70,0x6c,0x69,0x74])](_0x229b22([0x2e]));return _0x169e03[_0x229b22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21962a=>_0x21962a[_0x229b22([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x229b22([0x2a])))[_0x229b22([0x6d,0x61,0x70])](_0xc143fc=>_0xc143fc[_0x229b22([0x73,0x70,0x6c,0x69,0x74])](_0x229b22([0x2e])))[_0x229b22([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3005ee=>_0x3005ee[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x46e1d7[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x229b22([0x6d,0x61,0x70])](_0x4f7525=>Array(_0x46e1d7[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f7525[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x229b22([0x66,0x69,0x6c,0x6c])](_0x4f7525[0x0]===_0x229b22([0x2a])?_0x229b22([0x2a]):'')[_0x229b22([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f7525))[_0x229b22([0x73,0x6f,0x6d,0x65])](_0x34f2f7=>_0x46e1d7[_0x229b22([0x65,0x76,0x65,0x72,0x79])]((_0x2f054b,_0x2cce85)=>_0x34f2f7[_0x2cce85]===_0x2f054b||_0x34f2f7[_0x2cce85]===_0x229b22([0x2a])));}function _0x39100e(){return _0x483527&&_0x41bd19?new window[(_0x229b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdd4a78,_0x48eb49)=>{_0x483527[_0x229b22([0x74,0x68,0x65,0x6e])](_0xdd4a78,_0x48eb49),_0x41bd19[_0x229b22([0x74,0x68,0x65,0x6e])](_0x48abd3=>{_0x48abd3!=_0x229b22([0x56,0x61,0x6c,0x69,0x64])&&_0xdd4a78(_0x48abd3);},_0x48eb49);}):_0x483527||_0x41bd19||_0x229b22([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4eb18b(_0x4e412d,_0x1c5e08){return new window[(_0x229b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45c6ca=>{if(_0x4ee53d())return _0x45c6ca(_0x229b22([0x56,0x61,0x6c,0x69,0x64]));_0x543542(),_0x245e61[_0x229b22([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x229b22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c6c32=!0x1;const _0x262c04=_0x3eda13();function _0x4b298c(_0x43955a){return!!_0x43955a&&(typeof _0x43955a===_0x229b22([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43955a===_0x229b22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43955a[_0x229b22([0x74,0x68,0x65,0x6e])]===_0x229b22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43955a[_0x229b22([0x63,0x61,0x74,0x63,0x68])]===_0x229b22([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26679e(_0x4afeba){_0x331cc9(_0x4afeba)[_0x229b22([0x74,0x68,0x65,0x6e])](_0x146524=>{if(!_0x146524||_0x146524[_0x229b22([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x229b22([0x6f,0x6b]))return _0x229b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d3822(_0x206043(_0x262c04+_0x1c5e08))!=_0x146524[_0x229b22([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x229b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x229b22([0x56,0x61,0x6c,0x69,0x64]);})[_0x229b22([0x74,0x68,0x65,0x6e])](_0x213953=>(_0x2880f9(),_0x213953),()=>{const _0x12fec2=_0x2728bc();return null==_0x12fec2?(_0x2880f9(),_0x229b22([0x56,0x61,0x6c,0x69,0x64])):_0x229b22(_0x65076d-_0x12fec2>(0x4f03da6f^_0x1f1f8c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x229b22([0x74,0x68,0x65,0x6e])](_0x45c6ca)[_0x229b22([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45c6ca(_0x229b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a0546=0x6b39b0ef^_0x1f1f8c;function _0x2880f9(){const _0x5d4109=_0x229b22([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3822(_0x206043(_0x4e412d)),_0x393d87=_0x9f378(_0x5d3822(window[_0x229b22([0x4d,0x61,0x74,0x68])][_0x229b22([0x63,0x65,0x69,0x6c])](_0x65076d/_0x3a0546)));window[_0x229b22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x229b22([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d4109,_0x393d87);}function _0x2728bc(){const _0x58c42c=_0x229b22([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d3822(_0x206043(_0x4e412d)),_0x203dcf=window[_0x229b22([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x229b22([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58c42c);return _0x203dcf?window[_0x229b22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9f378(_0x203dcf),0x10)*_0x3a0546:null;}function _0x331cc9(_0x2493c0){return new window[(_0x229b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14c59c,_0x180630)=>{_0x2493c0[_0x229b22([0x74,0x68,0x65,0x6e])](_0x14c59c,_0x180630),window[_0x229b22([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x180630,0x6b0e8aaf^_0x1f1f8c);});}}_0x245e61[_0x229b22([0x6f,0x6e])](_0x229b22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x347f2c,_0x40b2ff)=>{if(_0x40b2ff[0x0]!=_0x4e412d)return _0x45c6ca(_0x229b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40b2ff[0x1]={..._0x40b2ff[0x1],[_0x229b22([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x262c04};},{[_0x229b22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x229b22([0x68,0x69,0x67,0x68])}),_0x245e61[_0x229b22([0x6f,0x6e])](_0x229b22([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x496f16=>{_0x4b298c(_0x496f16[_0x229b22([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c6c32=!0x0,_0x26679e(_0x496f16[_0x229b22([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x229b22([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x229b22([0x6c,0x6f,0x77])}),_0x4328f5[_0x229b22([0x74,0x68,0x65,0x6e])](()=>{_0x3c6c32||_0x45c6ca(_0x229b22([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ee53d(){return _0x245e61[_0x229b22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x229b22([0x76,0x69,0x65,0x77])][_0x229b22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x229b22([0x61,0x75,0x74,0x6f]);}function _0x543542(){_0x245e61[_0x229b22([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x229b22([0x76,0x69,0x65,0x77])][_0x229b22([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x229b22([0x61,0x75,0x74,0x6f]);}}function _0xca3f41(_0x9bb11c){const _0x597857=[new window[(_0x229b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x440579=>setTimeout(_0x440579,0x6b0660a3^_0x1f1f8c)),_0x4328f5[_0x229b22([0x74,0x68,0x65,0x6e])](()=>new window[(_0x229b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b48c7=>{let _0x554522=0x0;_0x245e61[_0x229b22([0x6d,0x6f,0x64,0x65,0x6c])][_0x229b22([0x6f,0x6e])](_0x229b22([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x499d4f,_0x35d57c)=>{_0x35d57c[0x0][_0x229b22([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x554522++,_0x554522==(0x6b0f5b87^_0x1f1f8c)&&(_0x4b48c7(),_0x499d4f[_0x229b22([0x6f,0x66,0x66])]());});}))];return window[_0x229b22([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x229b22([0x72,0x61,0x63,0x65])](_0x597857)[_0x229b22([0x74,0x68,0x65,0x6e])](()=>_0x9bb11c);}async function _0x34edbb(){await _0x4328f5,_0x245e61[_0x229b22([0x6d,0x6f,0x64,0x65,0x6c])][_0x229b22([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2da98d,_0x245e61[_0x229b22([0x6d,0x6f,0x64,0x65,0x6c])][_0x229b22([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2da98d,_0x245e61[_0x229b22([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x229b22([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x240542(){return window[_0x229b22([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x5b24d7(){return window[_0x229b22([0x67,0x6c,0x6f,0x62])]&&window[_0x229b22([0x67,0x6c,0x6f,0x62])][_0x229b22([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x18933e(_0x470db3){const _0x98cc62=_0x12dadb();_0x245e61[_0x98cc62]=_0x229b22([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x470db3,_0x470db3!=_0x229b22([0x56,0x61,0x6c,0x69,0x64])&&_0x34edbb();}function _0x12dadb(){const _0x10b091=window[_0x229b22([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x229b22([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x229b22([0x6e,0x6f,0x77])]())[_0x229b22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x229b22([0x2e]),'');let _0xea3d6d=_0x229b22([0x67]);for(let _0x2e2ef5=0x0;_0x2e2ef5<_0x10b091[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e2ef5+=0x2){let _0x3936c4=window[_0x229b22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10b091[_0x229b22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e2ef5,_0x2e2ef5+0x2));_0x3936c4>=_0xbcb3ba[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3936c4-=_0xbcb3ba[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xea3d6d+=_0xbcb3ba[_0x3936c4];}return _0xea3d6d;}function _0x1d932a(){const _0x4f833e=_0x135f12[_0x229b22([0x73,0x70,0x6c,0x69,0x74])](_0x229b22([0x2e]));if(0x3!=_0x4f833e[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20f6ec(_0x4f833e[0x1]);function _0x20f6ec(_0x5f59d5){const _0x531870=_0x33a954(_0x5f59d5);return _0x531870&&_0x50fde3()?_0x531870:null;function _0x50fde3(){const _0x1d9283=_0x531870[_0x229b22([0x6a,0x74,0x69])],_0x47c53a=window[_0x229b22([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d9283[_0x229b22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d9283[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5719f7={..._0x531870,[_0x229b22([0x6a,0x74,0x69])]:_0x1d9283[_0x229b22([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d9283[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5719f7[_0x229b22([0x76,0x63])],_0x206043(_0x5719f7)==_0x47c53a;}}}async function _0x91ceb3(){let _0x1e1059=!0x0;try{const _0x3dfcbc=_0x135f12[_0x229b22([0x73,0x70,0x6c,0x69,0x74])](_0x229b22([0x2e])),[_0x173dbf,_0x15ecec,_0x52bf62]=_0x3dfcbc;return _0x51ddf3(_0x173dbf),await _0x10798f(_0x173dbf,_0x15ecec,_0x52bf62),_0x1e1059;}catch{return!0x1;}function _0x51ddf3(_0x15810f){const _0x1ade84=_0x33a954(_0x15810f);_0x1ade84&&_0x1ade84[_0x229b22([0x61,0x6c,0x67])]==_0x229b22([0x45,0x53,0x32,0x35,0x36])||(_0x1e1059=!0x1);}async function _0x10798f(_0x2d2e5d,_0x5e2b58,_0x481ddd){const _0x510075=window[_0x229b22([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x229b22([0x66,0x72,0x6f,0x6d])](_0x33e203(_0x481ddd),_0x155df5=>_0x155df5[_0x229b22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f5c3f=new window[(_0x229b22([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x229b22([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2d2e5d+_0x229b22([0x2e])+_0x5e2b58),_0x598343=window[_0x229b22([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x229b22([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x598343)return;const _0xd06936=await _0x598343[_0x229b22([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x229b22([0x6a,0x77,0x6b]),_0x1e66f1,{[_0x229b22([0x6e,0x61,0x6d,0x65])]:_0x229b22([0x45,0x43,0x44,0x53,0x41]),[_0x229b22([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x229b22([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x229b22([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x598343[_0x229b22([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x229b22([0x6e,0x61,0x6d,0x65])]:_0x229b22([0x45,0x43,0x44,0x53,0x41]),[_0x229b22([0x68,0x61,0x73,0x68])]:{[_0x229b22([0x6e,0x61,0x6d,0x65])]:_0x229b22([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd06936,_0x510075,_0x2f5c3f)||(_0x1e1059=!0x1);}}function _0x33a954(_0x1a4237){return _0x1a4237[_0x229b22([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x229b22([0x65,0x79]))?JSON[_0x229b22([0x70,0x61,0x72,0x73,0x65])](_0x33e203(_0x1a4237)):null;}function _0x33e203(_0x5a8a99){return window[_0x229b22([0x61,0x74,0x6f,0x62])](_0x5a8a99[_0x229b22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x229b22([0x2b]))[_0x229b22([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x229b22([0x2f])));}function _0x206043(_0x145fbf){let _0x1933af=0x1505;function _0x520c9b(_0x12960d){for(let _0x4a412b=0x0;_0x4a412b<_0x12960d[_0x229b22([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a412b++){const _0x3e688f=_0x12960d[_0x229b22([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4a412b);_0x1933af=(_0x1933af<<0x5)+_0x1933af+_0x3e688f,_0x1933af&=_0x1933af;}}function _0x4d732f(_0x382207){Array[_0x229b22([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x382207)?_0x382207[_0x229b22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d732f):_0x382207&&typeof _0x382207==_0x229b22([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x229b22([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x382207)[_0x229b22([0x73,0x6f,0x72,0x74])]()[_0x229b22([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ae319,_0x4c2202])=>{_0x520c9b(_0x3ae319),_0x4d732f(_0x4c2202);}):_0x520c9b(window[_0x229b22([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x382207));}return _0x4d732f(_0x145fbf),_0x1933af>>>0x0;}function _0x5d3822(_0x24648c){return _0x24648c[_0x229b22([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x229b22([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x229b22([0x30]));}function _0x9f378(_0x1f9442){return _0x1f9442[_0x229b22([0x73,0x70,0x6c,0x69,0x74])]('')[_0x229b22([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x229b22([0x6a,0x6f,0x69,0x6e])]('');}function _0x2da98d(){}function _0x229b22(_0x52b3d7){return _0x52b3d7['map'](_0x4f251e=>String['fromCharCode'](_0x4f251e))['join']('');}_0x18933e(await _0x593184());}(this);}['_createTemplateListView'](_0x2ed9cb,_0x274e8a){const {editor:_0x2865d6}=this,_0x52d646=new TemplateListView(_0x2ed9cb);return _0x52d646['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x52d646['items']['addMany'](_0x274e8a['map']((_0xf4a2da,_0x444d4f)=>{const _0x393809=new TemplateListItemView(_0x2ed9cb,_0x444d4f),_0x163d41=new TemplateListButtonView(_0x2ed9cb,_0xf4a2da);return _0x393809['buttonView']=_0x163d41,_0x393809['children']['add'](_0x163d41),_0x393809['buttonView']['on']('execute',_0x1d4a32=>{_0x2865d6['execute']('insertTemplate',_0x1d4a32['source']['templateDefinition']['data']),_0x2865d6['editing']['view']['focus']();}),_0x393809;})),_0x52d646;}}class Template extends _0x151d85{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _D(_0x4e059c,_0x232519,_0x51e161){const t=_0x4e059c['t'],_0x7a6daa=_0x4e059c['t'];switch(_0x232519){case'local':return{'text':_0x7a6daa('Insert'===_0x51e161?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x7a6daa('From\x20computer')};case'url':return{'text':'Insert'===_0x51e161?_0x7a6daa('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x7a6daa('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x51e161?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x51e161?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x51e161?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x51e161?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x51e161?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x232519;}}class UploadcareUI extends _0x151d85{['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 _0x589531=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4ff257;for(const _0x464537 in _0x589531){const _0x52caa4=_0x464537,_0x39ed47=_0x589531[_0x52caa4];if('uploadcareLicenseKeyValid'==_0x39ed47||'uploadcareLicenseKeyInvalid'==_0x39ed47||'uploadcareLicenseKeyExpired'==_0x39ed47||'uploadcareLicenseKeyDomainLimit'==_0x39ed47||'uploadcareLicenseKeyNotAllowed'==_0x39ed47||'uploadcareLicenseKeyEvaluationLimit'==_0x39ed47||'uploadcareLicenseKeyUsageLimit'==_0x39ed47){delete _0x589531[_0x52caa4],_0x4ff257=_0x39ed47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x4ff257&&_0x589531['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x4ff257&&_0x589531['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x4ff257&&_0x589531['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x4ff257&&_0x589531['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x4ff257&&_0x589531['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x4ff257&&_0x589531['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x3a20cf}=this,_0x5246dd=_0x3a20cf['commands']['get']('uploadcare');if(!_0x5246dd)return;const _0x130f01=this['_normalizeConfigSourceList'](_0x3a20cf['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x3d7922,_0x8e6b2a)=>{const _0x41a32a=this['_getIntegrationKey'](_0x8e6b2a['type']);return _0x3d7922[_0x41a32a]||(_0x3d7922[_0x41a32a]=[]),_0x3d7922[_0x41a32a]['push'](_0x8e6b2a),_0x3d7922;},{});_0x3a20cf['plugins']['has']('ImageInsertUI')&&_0x3a20cf['commands']['get']('uploadcare')&&Object['entries'](_0x130f01)['forEach'](([_0x34e697,_0x27b705])=>{_0x3a20cf['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x34e697,'observable':()=>_0x5246dd,'buttonViewCreator':()=>this['_createToolbarButton'](_0x27b705),'formViewCreator':()=>this['_createDropdownButtons'](_0x27b705),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x27b705),'override':'assetManager'!==_0x34e697});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x15d8e7){const {locale:_0x4e0f6c}=this['editor'];return _0x15d8e7['map'](_0x337e18=>{const _0x161a00=_D(_0x4e0f6c,_0x337e18,'Insert');switch(_0x337e18){case'local':return{'icon':_0x50c5bb,'type':'local',..._0x161a00};case'url':return{'icon':_0x116d4c,'type':'url',..._0x161a00};case'dropbox':return{'icon':_0x4074a2,'type':'dropbox',..._0x161a00};case'facebook':return{'icon':_0x57e7d2,'type':'facebook',..._0x161a00};case'gdrive':return{'icon':_0x3edecb,'type':'gdrive',..._0x161a00};case'gphotos':return{'icon':_0x4b8d07,'type':'gphotos',..._0x161a00};case'onedrive':return{'icon':_0x452fd6,'type':'onedrive',..._0x161a00};}});}['_getIntegrationKey'](_0x1448b1){switch(_0x1448b1){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x30ed9a,_0x3bca3e){const _0x43d647=this['editor'],_0x2d1c23=new _0x30ed9a(_0x43d647['locale']),_0x5c0d40=_0x43d647['commands']['get']('uploadcare');return _0x2d1c23['bind']('isEnabled')['to'](_0x5c0d40),_0x2d1c23['on']('execute',()=>{_0x5c0d40['execute'](_0x3bca3e);}),_0x2d1c23;}['_createToolbarButton'](_0x239837){const {locale:_0x50d96a}=this['editor'],_0x41da20=this['editor']['plugins']['get']('ImageInsertUI'),_0x12f728=_0x239837[0x0],_0x3b5812=this['_createButton'](_0x4c508c,_0x12f728['type']);return _0x3b5812['icon']=_0x12f728['icon'],_0x3b5812['bind']('label')['to'](_0x41da20,'isImageSelected',_0x2245fa=>_D(_0x50d96a,_0x12f728['type'],_0x2245fa?'Replace':'Insert')['text']),_0x3b5812['tooltip']=!0x0,_0x3b5812;}['_createDropdownButtons'](_0x3d7211){const {locale:_0x4384a4}=this['editor'],_0xd63bd7=this['editor']['plugins']['get']('ImageInsertUI');return _0x3d7211['map'](_0x19bbfc=>{const _0x520851=this['_createButton'](_0x4c508c,_0x19bbfc['type']);return _0x520851['withText']=!0x0,_0x520851['icon']=_0x19bbfc['icon'],_0x520851['bind']('label')['to'](_0xd63bd7,'isImageSelected',_0x1cd189=>_D(_0x4384a4,_0x19bbfc['type'],_0x1cd189?'Replace':'Insert')['text']),_0x520851;});}['_createMenuBarButtons'](_0x2fd044){return _0x2fd044['map'](_0x5aa097=>{const _0x583b67=this['_createButton'](at,_0x5aa097['type']);return _0x583b67['icon']=_0x5aa097['icon'],_0x583b67['label']=_0x5aa097['shortText'],_0x583b67;});}}class DialogFocusManagerView extends _0xa34d16{['focusTracker'];['focusCycler'];constructor(_0x597eae){super(_0x597eae),this['focusTracker']=new _0xafcb0e(),this['focusCycler']=new et({'focusables':this['createCollection'](),'focusTracker':this['focusTracker']});}['getFocusableElement'](){return{'tag':'div','attributes':{'aria-hidden':'true','tabindex':'0'},'on':{'focus':this['bindTemplate']['to'](()=>{this['focusCycler']['fire']('forwardCycle');})}};}}class UploadcareFormView extends DialogFocusManagerView{constructor(_0x2936a7,_0x1ce6ae){super(_0x2936a7),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-'+_0x1ce6ae}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function ED(_0x1a2565,_0x5d90b8){const _0x118d54=_0x1a2565['replace'](/\/$/,'');return{'imageFallbackUrl':_0x1a2565,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x2550a7=>_0x2550a7<_0x5d90b8)['map'](_0x1ba50e=>_0x118d54+'/-/resize/'+_0x1ba50e+'x/\x20'+_0x1ba50e+'w'),_0x1a2565+'\x20'+_0x5d90b8+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x5d90b8+'px)\x20100vw,\x20'+_0x5d90b8+'px','type':'image/webp'}]};}function TD(_0x2c0431,_0x524f04,_0x4c9302){const _0x216321=_0x2c0431['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x216321?parseInt(_0x216321[0x1],0xa):_0x524f04,'height':_0x216321?parseInt(_0x216321[0x2],0xa):_0x4c9302};}function AD(_0x40eb99,_0x42f77f){const _0x26cee7=new(_0x3c72d0())(),_0x200fe3=_0x40eb99['plugins']['get']('ImageUtils'),_0x42ed98=_0x40eb99['editing']['mapper']['toViewElement'](_0x42f77f),_0x2d3e6d=_0x200fe3['findViewImgElement'](_0x42ed98),_0x43745c=_0x40eb99['editing']['view']['domConverter']['viewToDom'](_0x2d3e6d),_0x4df7db=_0x42f77f['getAttribute']('width'),_0x456ba0=_0x42f77f['getAttribute']('height'),_0x395d47='image-processing';_0x40eb99['editing']['view']['change'](_0x2c2342=>{_0x2c2342['addClass'](_0x395d47,_0x42ed98),_0x2c2342['setStyle']('aspect-ratio',_0x4df7db+'/'+_0x456ba0,_0x2d3e6d);}),_0x26cee7['listenTo'](_0x43745c,'load',()=>{_0x26cee7['stopListening'](_0x43745c,'load'),_0x40eb99['editing']['view']['change'](_0x1e1d6a=>{_0x1e1d6a['removeClass'](_0x395d47,_0x42ed98),_0x1e1d6a['removeStyle']('aspect-ratio',_0x2d3e6d);});});}function ID(_0x4060d0){if(Array['isArray'](_0x4060d0)){const _0x52b10e=_0x4060d0['map'](ID);return _0x2c6ce3=>_0x52b10e['some'](_0x2569bb=>_0x2569bb(_0x2c6ce3));}if('origin'==_0x4060d0){const _0xc8aef5=_0x313644['window']['location']['origin'];return _0x3bb963=>new URL(_0x3bb963,_0x313644['document']['baseURI'])['origin']==_0xc8aef5;}return'function'==typeof _0x4060d0?_0x4060d0:_0x4060d0 instanceof RegExp?_0x321e7b=>!(!_0x321e7b['match'](_0x4060d0)&&!_0x321e7b['replace'](/^https?:\/\//,'')['match'](_0x4060d0)):()=>!0x1;}function SD(_0x1d5d41,_0x4c41a2){return _0xfaa7f5(_0x1d5d41['target'])['includes'](_0x4c41a2);}class UploadcareController extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x317e3f,_0x4aad42,_0x4c4c52){super(),this['_editor']=_0x317e3f,this['_editing']=_0x4aad42,this['_dialog']=_0x317e3f['plugins']['get'](st),this['_api']=_0x4aad42['ctxElement']['getAPI'](),this['_type']=_0x4c4c52,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:_0x53e342,model:_0x1480f4}=this['_editor'],_0x22e7cc=_0x1480f4['document']['selection']['getSelectedElement'](),_0x4c2442=_0x22e7cc&&(_0x22e7cc['is']('element','imageBlock')||_0x22e7cc['is']('element','imageInline'));this['_formView']=new UploadcareFormView(_0x53e342,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x50c5bb,'title':_D(_0x53e342,this['_type'],_0x4c2442?'Replace':'Insert')['text'],'content':this['_formView'],'position':ct['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5d1a51=>!SD(_0x5d1a51,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xa2d6a7}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1991f3=>{const _0x2c3165=_0xa2d6a7['length'];for(const _0x2269e4 of _0xa2d6a7){const _0x1411da=_0x2269e4===_0xa2d6a7[_0x2c3165-0x1],{cdnUrl:_0x1574f4,fileInfo:_0x411774}=_0x2269e4;if(!_0x1574f4||!_0x411774)continue;const {width:_0x3aa4e7,height:_0x2ea7e4}=_0x411774['imageInfo'],_0x1f4e11=TD(_0x1574f4,_0x3aa4e7,_0x2ea7e4),_0x3c6366=ED(_0x1574f4,_0x1f4e11['width']),_0xa8d769={'id':_0x411774['uuid'],'type':'image','attributes':{'imageDimension':_0x1f4e11,..._0x3c6366}};this['_insertAsset'](_0xa8d769,_0x1411da,_0x1991f3);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x57aa47=>{'idle'===_0x57aa47['detail']['status']&&!_0x57aa47['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x11983f,_0x237997,_0xf39b40){const _0x511c06=this['_editor']['model']['document']['selection'],_0x5eb837=_0x511c06['getSelectedElement'](),_0x18e09b=!(!_0x5eb837||!_0x5eb837['is']('element','imageInline'));_0xf39b40['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x11983f,_0x18e09b),_0x237997||_0xf39b40['setSelection'](_0x511c06['getLastPosition']());}['_insertImage'](_0x5c295d,_0x4e6257){const _0x266380=this['_editor'],{imageDimension:_0x519182,imageFallbackUrl:_0x3e6e3b,imageSources:_0x4008ef}=_0x5c295d['attributes'];_0x266380['execute']('insertImage',{'imageType':_0x4e6257?'imageInline':null,'source':{'uploadcareImageId':_0x5c295d['id'],'src':_0x3e6e3b,'sources':_0x4008ef,..._0x519182}});}}class UploadcareCommand extends _0x208eac{['_editing'];['_controller']=null;static get['requires'](){return[st,UploadcareEditing];}constructor(_0x1a3f90){super(_0x1a3f90),this['_editing']=_0x1a3f90['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x7a205d){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x7a205d);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function CD(_0x2a15f8){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x2a15f8);}const kD=/\W|_/g;function xD(_0x37dc8f){return _0x37dc8f['split'](kD)['map']((_0x514393,_0xa79b8f)=>_0x514393['charAt'](0x0)[_0xa79b8f>0x0?'toUpperCase':'toLowerCase']()+_0x514393['slice'](0x1))['join']('');}function RD(_0x21cc1f,{ignoreKeys:_0x2814c4}={'ignoreKeys':[]}){return Array['isArray'](_0x21cc1f)?_0x21cc1f['map'](_0x276e68=>PD(_0x276e68,{'ignoreKeys':_0x2814c4})):_0x21cc1f;}function PD(_0xf77428,{ignoreKeys:_0x21f3d9}={'ignoreKeys':[]}){if(Array['isArray'](_0xf77428))return RD(_0xf77428,{'ignoreKeys':_0x21f3d9});if(!CD(_0xf77428))return _0xf77428;const _0x2d0410={};for(const _0x5d4a4f of Object['keys'](_0xf77428)){let _0xbad62b=_0xf77428[_0x5d4a4f];_0x21f3d9['includes'](_0x5d4a4f)?_0x2d0410[_0x5d4a4f]=_0xbad62b:(CD(_0xbad62b)?_0xbad62b=PD(_0xbad62b,{'ignoreKeys':_0x21f3d9}):Array['isArray'](_0xbad62b)&&(_0xbad62b=RD(_0xbad62b,{'ignoreKeys':_0x21f3d9})),_0x2d0410[xD(_0x5d4a4f)]=_0xbad62b);}return _0x2d0410;}const MD={'factor':0x2,'time':0x64};function ND(_0x2ebd80,_0xdfaf43=MD){let _0x51618c=0x0;return function _0x117b43(_0x36f91e){const _0x1d76d7=Math['round'](_0xdfaf43['time']*_0xdfaf43['factor']**_0x51618c);return _0x36f91e({'attempt':_0x51618c,'retry':_0x42e394=>(_0x25e08e=>new Promise(_0x3b355c=>setTimeout(_0x3b355c,_0x25e08e)))(_0x42e394??_0x1d76d7)['then'](()=>(_0x51618c+=0x1,_0x117b43(_0x36f91e)))});}(_0x2ebd80);}class UploadcareError extends Error{}class NetworkError extends UploadcareError{['originalProgressEvent'];constructor(_0x186c5d){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x186c5d;}}const LD=(_0x27a3f4,_0xbe3045)=>{_0x27a3f4&&(_0x27a3f4['aborted']?Promise['resolve']()['then'](_0xbe3045):_0x27a3f4['addEventListener']('abort',()=>_0xbe3045(),{'once':!0x0}));};class CancelError extends UploadcareError{['isCancel']=!0x0;constructor(_0x4b5235='Request\x20canceled'){super(_0x4b5235),this['name']='CancelError',Object['setPrototypeOf'](this,CancelError['prototype']);}}const $D=({check:_0x554ea4,interval:_0x5d1bc8=0x1f4,timeout:_0x361bd9,signal:_0x4c08ea})=>new Promise((_0xb1d9cb,_0x51487b)=>{let _0x34162b,_0x5b5909;LD(_0x4c08ea,()=>{_0x34162b&&clearTimeout(_0x34162b),_0x51487b(new CancelError('Poll\x20cancelled'));}),_0x361bd9&&(_0x5b5909=setTimeout(()=>{_0x34162b&&clearTimeout(_0x34162b),_0x51487b(new CancelError('Timed\x20out'));},_0x361bd9));const _0x4ac767=()=>{try{Promise['resolve'](_0x554ea4(_0x4c08ea))['then'](_0x50499c=>{_0x50499c?(_0x5b5909&&clearTimeout(_0x5b5909),_0xb1d9cb(_0x50499c)):_0x34162b=setTimeout(_0x4ac767,_0x5d1bc8);})['catch'](_0x1a8930=>{_0x5b5909&&clearTimeout(_0x5b5909),_0x51487b(_0x1a8930);});}catch(_0x468455){_0x5b5909&&clearTimeout(_0x5b5909),_0x51487b(_0x468455);}};_0x34162b=setTimeout(_0x4ac767,0x0);}),DD='https://ucarecdn.com',QD='https://upload.uploadcare.com',VD=0x1,UD=0x3,BD=0x1900000,FD=0x500000,jD=0x4,HD='79ae88bd931ea68464d9',GD='application/octet-stream',ZD='original',XD=({method:_0x555901,url:_0x254a56,data:_0x3bebc9,headers:_0x350b88={},signal:_0x5054a7,onProgress:_0x59093f})=>new Promise((_0x561dfa,_0x5569c5)=>{const _0x2db7ae=new XMLHttpRequest(),_0x12a07a=_0x555901?.['toUpperCase']()||'GET';let _0x3a9c45=!0x1;_0x2db7ae['open'](_0x12a07a,_0x254a56,!0x0),_0x350b88&&Object['entries'](_0x350b88)['forEach'](_0x341d60=>{const [_0x29c84b,_0x8366fc]=_0x341d60;void 0x0!==_0x8366fc&&!Array['isArray'](_0x8366fc)&&_0x2db7ae['setRequestHeader'](_0x29c84b,_0x8366fc);}),_0x2db7ae['responseType']='text',LD(_0x5054a7,()=>{_0x3a9c45=!0x0,_0x2db7ae['abort'](),_0x5569c5(new CancelError());}),_0x2db7ae['onload']=()=>{if(0xc8!=_0x2db7ae['status'])_0x5569c5(new Error('Error\x20'+_0x2db7ae['status']+':\x20'+_0x2db7ae['statusText']));else{const _0x3a2add={'method':_0x12a07a,'url':_0x254a56,'data':_0x3bebc9,'headers':_0x350b88||void 0x0,'signal':_0x5054a7,'onProgress':_0x59093f},_0xd556b2=_0x2db7ae['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x189b5e={};_0xd556b2['forEach'](function(_0x2dd700){const _0x2333fe=_0x2dd700['split'](':\x20'),_0x53d2d9=_0x2333fe['shift'](),_0x511945=_0x2333fe['join'](':\x20');_0x53d2d9&&void 0x0!==_0x53d2d9&&(_0x189b5e[_0x53d2d9]=_0x511945);});const _0x43d265=_0x2db7ae['response'],_0xe814eb=_0x2db7ae['status'];_0x561dfa({'request':_0x3a2add,'data':_0x43d265,'headers':_0x189b5e,'status':_0xe814eb});}},_0x2db7ae['onerror']=_0x42dc52=>{_0x3a9c45||_0x5569c5(new NetworkError(_0x42dc52));},_0x59093f&&'function'==typeof _0x59093f&&(_0x2db7ae['upload']['onprogress']=_0x12d53e=>{_0x12d53e['lengthComputable']?_0x59093f({'isComputable':!0x0,'value':_0x12d53e['loaded']/_0x12d53e['total']}):_0x59093f({'isComputable':!0x1});}),_0x3bebc9?_0x2db7ae['send'](_0x3bebc9):_0x2db7ae['send']();}),qD=function(_0x4d11cf,..._0x5c2074){return _0x4d11cf;},WD=_0x3519de=>'undefined'!=typeof Blob&&_0x3519de instanceof Blob,zD=_0x32ad44=>'undefined'!=typeof File&&_0x32ad44 instanceof File,YD=_0x2bdb31=>!!_0x2bdb31&&'object'==typeof _0x2bdb31&&!Array['isArray'](_0x2bdb31)&&'uri'in _0x2bdb31&&'string'==typeof _0x2bdb31['uri'],KD=_0xf0cae=>WD(_0xf0cae)||zD(_0xf0cae)||YD(_0xf0cae);function JD(_0x5c07f2,_0xda405d,_0x38f877){if(Array['isArray'](_0x38f877)){for(const _0x5ed94e of _0x38f877)JD(_0x5c07f2,_0xda405d+'[]',_0x5ed94e);}else{if((_0x442474=>!!_0x442474&&'object'==typeof _0x442474&&'data'in _0x442474&&KD(_0x442474['data']))(_0x38f877)){const {name:_0x4c39f1,contentType:_0x2a3eba}=_0x38f877,_0xdc2733=qD(_0x38f877['data'],_0x4c39f1,_0x2a3eba??GD),_0x98d708=(({name:_0x4a1538})=>_0x4a1538?[_0x4a1538]:[])({'name':_0x4c39f1});_0x5c07f2['push']([_0xda405d,_0xdc2733,..._0x98d708]);}else{if((_0x256a48=>!!_0x256a48&&'object'==typeof _0x256a48&&!Array['isArray'](_0x256a48))(_0x38f877)){for(const [_0x1c3799,_0x1e5b79]of Object['entries'](_0x38f877))void 0x0!==_0x1e5b79&&_0x5c07f2['push']([_0xda405d+'['+_0x1c3799+']',String(_0x1e5b79)]);}else(_0x252289=>'string'==typeof _0x252289||'number'==typeof _0x252289||void 0x0===_0x252289)(_0x38f877)&&_0x38f877&&_0x5c07f2['push']([_0xda405d,_0x38f877['toString']()]);}}}function tQ(_0x440605){const _0xf11895=new FormData(),_0x175f4f=function(_0x5b2dee){const _0x40b914=[];for(const [_0x3ce849,_0x2f072e]of Object['entries'](_0x5b2dee))JD(_0x40b914,_0x3ce849,_0x2f072e);return _0x40b914;}(_0x440605);for(const _0x33e9f0 of _0x175f4f){const [_0x1e7a37,_0x579fe8,..._0x5de7ab]=_0x33e9f0;_0xf11895['append'](_0x1e7a37,_0x579fe8,..._0x5de7ab);}return _0xf11895;}class UploadError extends UploadcareError{['code'];['request'];['response'];['headers'];constructor(_0xfec43c,_0x337b8a,_0x517c37,_0x12a37a,_0x552105){super(),this['name']='UploadError',this['message']=_0xfec43c,this['code']=_0x337b8a,this['request']=_0x517c37,this['response']=_0x12a37a,this['headers']=_0x552105,Object['setPrototypeOf'](this,UploadError['prototype']);}}const eQ=(_0x433bf8,_0x685a33,_0x429730)=>{const _0x279d44=new URL(_0x433bf8);return _0x279d44['pathname']=(_0x279d44['pathname']+_0x685a33)['replace']('//','/'),_0x429730&&(_0x279d44['search']=(_0x37a059=>{const _0x40fdaa=new URLSearchParams();for(const [_0x2ea9b2,_0x4f252b]of Object['entries'](_0x37a059))_0x4f252b&&'object'==typeof _0x4f252b&&!Array['isArray'](_0x4f252b)?Object['entries'](_0x4f252b)['filter'](_0x1cc9e5=>_0x1cc9e5[0x1]??!0x1)['forEach'](_0x3c9552=>_0x40fdaa['set'](_0x2ea9b2+'['+_0x3c9552[0x0]+']',String(_0x3c9552[0x1]))):Array['isArray'](_0x4f252b)?_0x4f252b['forEach'](_0x35adb7=>{_0x40fdaa['append'](_0x2ea9b2+'[]',_0x35adb7);}):'string'==typeof _0x4f252b&&_0x4f252b?_0x40fdaa['set'](_0x2ea9b2,_0x4f252b):'number'==typeof _0x4f252b&&_0x40fdaa['set'](_0x2ea9b2,_0x4f252b['toString']());return _0x40fdaa['toString']();})(_0x429730)),_0x279d44['toString']();};function iQ(_0x2ad356){return function({libraryName:_0xde2089,libraryVersion:_0x1a9426,userAgent:_0x254c46,publicKey:_0x339f20='',integration:_0x201f9f=''}){const _0x505401='JavaScript';return'string'==typeof _0x254c46?_0x254c46:'function'==typeof _0x254c46?_0x254c46({'publicKey':_0x339f20,'libraryName':_0xde2089,'libraryVersion':_0x1a9426,'languageName':_0x505401,'integration':_0x201f9f}):[_0xde2089,_0x1a9426,_0x339f20]['filter'](Boolean)['join']('/')+'\x20('+[_0x505401,_0x201f9f]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x2ad356});}function sQ(_0x33fbc4,_0xaa6b6d){const {retryThrottledRequestMaxTimes:_0x2f7217,retryNetworkErrorMaxTimes:_0x1142c1}=_0xaa6b6d;return ND(({attempt:_0x4a1f8b,retry:_0x104ff5})=>_0x33fbc4()['catch'](_0x5e018f=>{if('response'in _0x5e018f&&'RequestThrottledError'===_0x5e018f?.['code']&&_0x4a1f8b<_0x2f7217)return _0x104ff5(function(_0x328849){const {headers:_0x37cc25}=_0x328849||{};if(!_0x37cc25||'string'!=typeof _0x37cc25['retry-after'])return 0x3a98;const _0x31cbec=parseInt(_0x37cc25['retry-after'],0xa);return Number['isFinite'](_0x31cbec)?0x3e8*_0x31cbec:0x3a98;}(_0x5e018f));if(_0x5e018f instanceof NetworkError&&_0x4a1f8b<_0x1142c1)return _0x104ff5(0x3e8*(_0x4a1f8b+0x1));throw _0x5e018f;}));}const nQ=_0x4707c6=>{let _0x389c2c='';return(WD(_0x4707c6)||zD(_0x4707c6)||YD(_0x4707c6))&&(_0x389c2c=_0x4707c6['type']),_0x389c2c||GD;},rQ=_0x139751=>{let _0x22808f='';return zD(_0x139751)&&_0x139751['name']?_0x22808f=_0x139751['name']:WD(_0x139751)?_0x22808f='':YD(_0x139751)&&_0x139751['name']&&(_0x22808f=_0x139751['name']),_0x22808f||ZD;};function oQ(_0x7b83dd){return void 0x0===_0x7b83dd||'auto'===_0x7b83dd?'auto':_0x7b83dd?'1':'0';}var aQ,cQ;!function(_0x17961d){_0x17961d['Token']='token',_0x17961d['FileInfo']='file_info';}(aQ||(aQ={})),function(_0x482b60){_0x482b60['Unknown']='unknown',_0x482b60['Waiting']='waiting',_0x482b60['Progress']='progress',_0x482b60['Error']='error',_0x482b60['Success']='success';}(cQ||(cQ={}));function lQ(_0x435005,{publicKey:_0x2af551,baseURL:_0x6a8dae=QD,signal:_0x572c67,integration:_0x550998,userAgent:_0x508a82,retryThrottledRequestMaxTimes:_0x270e1a=VD,retryNetworkErrorMaxTimes:_0x1a919b=UD}={}){return sQ(()=>XD({'method':'GET','headers':_0x2af551?{'X-UC-User-Agent':iQ({'publicKey':_0x2af551,'integration':_0x550998,'userAgent':_0x508a82})}:void 0x0,'url':eQ(_0x6a8dae,'/from_url/status/',{'jsonerrors':0x1,'token':_0x435005}),'signal':_0x572c67})['then'](({data:_0x5cdf57,headers:_0x260302,request:_0x12d1d1})=>{const _0x2e44ff=PD(JSON['parse'](_0x5cdf57));if('error'in _0x2e44ff&&!(_0x32b634=>'status'in _0x32b634&&_0x32b634['status']===cQ['Error'])(_0x2e44ff))throw new UploadError(_0x2e44ff['error']['content'],_0x2e44ff['error']['errorCode'],_0x12d1d1,_0x2e44ff,_0x260302);return _0x2e44ff;}),{'retryNetworkErrorMaxTimes':_0x1a919b,'retryThrottledRequestMaxTimes':_0x270e1a});}function hQ(_0x5aa938,{publicKey:_0x3369cc,baseURL:_0x504fa4=QD,signal:_0x41dae1,source:_0x523f87,integration:_0x446c1b,userAgent:_0x33bf0d,retryThrottledRequestMaxTimes:_0x3b27ca=VD,retryNetworkErrorMaxTimes:_0x5bad5b=UD}){return sQ(()=>XD({'method':'GET','headers':{'X-UC-User-Agent':iQ({'publicKey':_0x3369cc,'integration':_0x446c1b,'userAgent':_0x33bf0d})},'url':eQ(_0x504fa4,'/info/',{'jsonerrors':0x1,'pub_key':_0x3369cc,'file_id':_0x5aa938,'source':_0x523f87}),'signal':_0x41dae1})['then'](({data:_0x8daa4b,headers:_0x723234,request:_0x56133d})=>{const _0x4c16ba=PD(JSON['parse'](_0x8daa4b));if('error'in _0x4c16ba)throw new UploadError(_0x4c16ba['error']['content'],_0x4c16ba['error']['errorCode'],_0x56133d,_0x4c16ba,_0x723234);return _0x4c16ba;}),{'retryThrottledRequestMaxTimes':_0x3b27ca,'retryNetworkErrorMaxTimes':_0x5bad5b});}function uQ(_0x21561d,{publicKey:_0x130da9,baseURL:_0x5079b8,source:_0x31b51b,integration:_0x193c05,userAgent:_0x57fb5f,retryThrottledRequestMaxTimes:_0x5dcd62,retryNetworkErrorMaxTimes:_0x2b41bc,signal:_0x13b70a,onProgress:_0x3987b5}){return $D({'check':_0x113685=>hQ(_0x21561d,{'publicKey':_0x130da9,'baseURL':_0x5079b8,'signal':_0x113685,'source':_0x31b51b,'integration':_0x193c05,'userAgent':_0x57fb5f,'retryThrottledRequestMaxTimes':_0x5dcd62,'retryNetworkErrorMaxTimes':_0x2b41bc})['then'](_0x26bb7b=>_0x26bb7b['isReady']?_0x26bb7b:(_0x3987b5&&_0x3987b5({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x13b70a});}class UploadcareFile{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x55775c,{baseCDN:_0x36fa49=DD,fileName:_0xa985bb}={}){const {uuid:_0x5b3abc,s3Bucket:_0x23c14f}=_0x55775c,_0xffd435=eQ(_0x36fa49,_0x5b3abc+'/'),_0x3ad16b=_0x23c14f?eQ('https://'+_0x23c14f+'.s3.amazonaws.com/',_0x5b3abc+'/'+_0x55775c['filename']):null;this['uuid']=_0x5b3abc,this['name']=_0xa985bb||_0x55775c['filename'],this['size']=_0x55775c['size'],this['isStored']=_0x55775c['isStored'],this['isImage']=_0x55775c['isImage'],this['mimeType']=_0x55775c['mimeType'],this['cdnUrl']=_0xffd435,this['originalFilename']=_0x55775c['originalFilename'],this['imageInfo']=_0x55775c['imageInfo'],this['videoInfo']=_0x55775c['videoInfo'],this['contentInfo']=_0x55775c['contentInfo'],this['metadata']=_0x55775c['metadata']||null,this['s3Bucket']=_0x23c14f||null,this['s3Url']=_0x3ad16b,function(_0x3e149d){return'defaultEffects'in _0x3e149d;}(_0x55775c)&&(this['defaultEffects']=_0x55775c['defaultEffects']);}}const dQ=(_0x16a7b4,{publicKey:_0x3a7c88,fileName:_0x5d4b5f,baseURL:_0x4e23ad,secureSignature:_0x1f7212,secureExpire:_0x646380,store:_0x48c66e,contentType:_0xafb91c,signal:_0x5e2dc7,onProgress:_0x5db60d,source:_0x8912b8,integration:_0x3e2ddf,userAgent:_0x1542ae,retryThrottledRequestMaxTimes:_0x4de4ee,retryNetworkErrorMaxTimes:_0x1a030e,baseCDN:_0x23310f,metadata:_0x4bc242})=>function(_0x48bac3,{publicKey:_0xae9a7b,fileName:_0x205419,contentType:_0x4b79ef,baseURL:_0x4f6de8=QD,secureSignature:_0x5214a4,secureExpire:_0x2f9ac7,store:_0x27f901,signal:_0x3a953b,onProgress:_0x488cd7,source:_0x280418='local',integration:_0x5416da,userAgent:_0x1c8c09,retryThrottledRequestMaxTimes:_0x1286a3=VD,retryNetworkErrorMaxTimes:_0x36859=UD,metadata:_0x2d2de1}){return sQ(()=>XD({'method':'POST','url':eQ(_0x4f6de8,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':iQ({'publicKey':_0xae9a7b,'integration':_0x5416da,'userAgent':_0x1c8c09})},'data':tQ({'file':{'data':_0x48bac3,'name':_0x205419||rQ(_0x48bac3),'contentType':_0x4b79ef||nQ(_0x48bac3)},'UPLOADCARE_PUB_KEY':_0xae9a7b,'UPLOADCARE_STORE':oQ(_0x27f901),'signature':_0x5214a4,'expire':_0x2f9ac7,'source':_0x280418,'metadata':_0x2d2de1}),'signal':_0x3a953b,'onProgress':_0x488cd7})['then'](({data:_0x1ca382,headers:_0xe7e70a,request:_0x486044})=>{const _0x43775b=PD(JSON['parse'](_0x1ca382));if('error'in _0x43775b)throw new UploadError(_0x43775b['error']['content'],_0x43775b['error']['errorCode'],_0x486044,_0x43775b,_0xe7e70a);return _0x43775b;}),{'retryNetworkErrorMaxTimes':_0x36859,'retryThrottledRequestMaxTimes':_0x1286a3});}(_0x16a7b4,{'publicKey':_0x3a7c88,'fileName':_0x5d4b5f,'contentType':_0xafb91c,'baseURL':_0x4e23ad,'secureSignature':_0x1f7212,'secureExpire':_0x646380,'store':_0x48c66e,'signal':_0x5e2dc7,'onProgress':_0x5db60d,'source':_0x8912b8,'integration':_0x3e2ddf,'userAgent':_0x1542ae,'retryThrottledRequestMaxTimes':_0x4de4ee,'retryNetworkErrorMaxTimes':_0x1a030e,'metadata':_0x4bc242})['then'](({file:_0x4c8b30})=>uQ(_0x4c8b30,{'publicKey':_0x3a7c88,'baseURL':_0x4e23ad,'source':_0x8912b8,'integration':_0x3e2ddf,'userAgent':_0x1542ae,'retryThrottledRequestMaxTimes':_0x4de4ee,'retryNetworkErrorMaxTimes':_0x1a030e,'onProgress':_0x5db60d,'signal':_0x5e2dc7}))['then'](_0x447d1b=>new UploadcareFile(_0x447d1b,{'baseCDN':_0x23310f})),fQ=(_0x12bbae,{signal:_0x49c36a}={})=>{let _0x5b1d0f=null,_0x44dceb=null;const _0x478adb=_0x12bbae['map'](()=>new AbortController());return LD(_0x49c36a,()=>{_0x478adb['forEach'](_0x48372d=>_0x48372d['abort']());}),Promise['all'](_0x12bbae['map']((_0x3f4815,_0x37e84c)=>{const _0xdbe657=(_0x1b05aa=>()=>{_0x44dceb=_0x1b05aa,_0x478adb['forEach']((_0x55669d,_0x33b30d)=>_0x33b30d!==_0x1b05aa&&_0x55669d['abort']());})(_0x37e84c);return Promise['resolve']()['then'](()=>_0x3f4815({'stopRace':_0xdbe657,'signal':_0x478adb[_0x37e84c]['signal']}))['then'](_0x3f1313=>(_0xdbe657(),_0x3f1313))['catch'](_0x283a8d=>(_0x5b1d0f=_0x283a8d,null));}))['then'](_0x2f4182=>{if(null===_0x44dceb)throw _0x5b1d0f;return _0x2f4182[_0x44dceb];});};var mQ=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x11a22b,_0x1202b1){this['events'][_0x11a22b]?.['forEach'](_0x30c241=>_0x30c241(_0x1202b1));}['on'](_0x23adc3,_0x948e52){this['events'][_0x23adc3]=this['events'][_0x23adc3]||[],this['events'][_0x23adc3]['push'](_0x948e52);}['off'](_0x15bd21,_0x2f5df6){this['events'][_0x15bd21]=_0x2f5df6?this['events'][_0x15bd21]['filter'](_0xc1385d=>_0xc1385d!==_0x2f5df6):[];}}class Pusher{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x563358,_0x18ed0d=0x7530){this['key']=_0x563358,this['disconnectTime']=_0x18ed0d;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x6e7555='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new mQ(_0x6e7555),this['ws']['addEventListener']('error',_0x44bdab=>{this['emmitter']['emit']('error',new Error(_0x44bdab['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x30b26c=>this['send'](_0x30b26c['event'],_0x30b26c['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x2d1f84=>{const _0x43a6e1=JSON['parse'](_0x2d1f84['data']['toString']());switch(_0x43a6e1['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'](_0x43a6e1['channel'],((_0x33304e,_0x54e341)=>'success'===_0x33304e?{'status':cQ['Success'],..._0x54e341}:'progress'===_0x33304e?{'status':cQ['Progress'],..._0x54e341}:{'status':cQ['Error'],..._0x54e341})(_0x43a6e1['event'],JSON['parse'](_0x43a6e1['data'])));}});}}['disconnect'](){const _0x475ab0=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x475ab0();},this['disconnectTime']):_0x475ab0();}['send'](_0x29d3fa,_0x40760d){const _0x7f575d=JSON['stringify']({'event':_0x29d3fa,'data':_0x40760d});this['ws']?.['send'](_0x7f575d);}['subscribe'](_0x3fff89,_0x5e6063){this['subscribers']+=0x1,this['connect']();const _0x54dcd0='task-status-'+_0x3fff89,_0xbc7d21={'event':'pusher:subscribe','data':{'channel':_0x54dcd0}};this['emmitter']['on'](_0x54dcd0,_0x5e6063),this['isConnected']?this['send'](_0xbc7d21['event'],_0xbc7d21['data']):this['queue']['push'](_0xbc7d21);}['unsubscribe'](_0x48cf54){this['subscribers']-=0x1;const _0x1e21f5='task-status-'+_0x48cf54,_0x583c58={'event':'pusher:unsubscribe','data':{'channel':_0x1e21f5}};this['emmitter']['off'](_0x1e21f5),this['isConnected']?this['send'](_0x583c58['event'],_0x583c58['data']):this['queue']=this['queue']['filter'](_0x8c8c3=>_0x8c8c3['data']['channel']!==_0x1e21f5),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x3fcd93){return this['emmitter']['on']('error',_0x3fcd93),()=>this['emmitter']['off']('error',_0x3fcd93);}}let gQ=null;const pQ=_0x32419b=>{if(!gQ){const _0x37e59f='undefined'==typeof window?0x0:0x7530;gQ=new Pusher(_0x32419b,_0x37e59f);}return gQ;},OQ=(_0x1dcc5d,{publicKey:_0x1c552d,fileName:_0xb0804a,baseURL:_0x5c2110,baseCDN:_0x246482,checkForUrlDuplicates:_0x5f4522,saveUrlForRecurrentUploads:_0x490608,secureSignature:_0x2444dd,secureExpire:_0x413533,store:_0x4c7dc4,signal:_0x1feb59,onProgress:_0x106bf2,source:_0x53ad0c,integration:_0x283e3b,userAgent:_0x492735,retryThrottledRequestMaxTimes:_0x418bd5,pusherKey:_0x3a68fc=HD,metadata:_0x1c6b57})=>{return Promise['resolve']((_0x395c85=_0x3a68fc,void pQ(_0x395c85)['connect']()))['then'](()=>function(_0x283ae9,{publicKey:_0x59efe6,baseURL:_0x1010ac=QD,store:_0x4affa4,fileName:_0x49e815,checkForUrlDuplicates:_0x3cff8c,saveUrlForRecurrentUploads:_0x75eefc,secureSignature:_0x53306e,secureExpire:_0x24892f,source:_0x908178='url',signal:_0xfb1c4e,integration:_0x5d65ee,userAgent:_0x467238,retryThrottledRequestMaxTimes:_0x5ca162=VD,retryNetworkErrorMaxTimes:_0x1498bc=UD,metadata:_0x5e7475}){return sQ(()=>XD({'method':'POST','headers':{'X-UC-User-Agent':iQ({'publicKey':_0x59efe6,'integration':_0x5d65ee,'userAgent':_0x467238})},'url':eQ(_0x1010ac,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x59efe6,'source_url':_0x283ae9,'store':oQ(_0x4affa4),'filename':_0x49e815,'check_URL_duplicates':_0x3cff8c?0x1:void 0x0,'save_URL_duplicates':_0x75eefc?0x1:void 0x0,'signature':_0x53306e,'expire':_0x24892f,'source':_0x908178,'metadata':_0x5e7475}),'signal':_0xfb1c4e})['then'](({data:_0x36e3bc,headers:_0x5a94a8,request:_0x1f0105})=>{const _0x288e1d=PD(JSON['parse'](_0x36e3bc));if('error'in _0x288e1d)throw new UploadError(_0x288e1d['error']['content'],_0x288e1d['error']['errorCode'],_0x1f0105,_0x288e1d,_0x5a94a8);return _0x288e1d;}),{'retryNetworkErrorMaxTimes':_0x1498bc,'retryThrottledRequestMaxTimes':_0x5ca162});}(_0x1dcc5d,{'publicKey':_0x1c552d,'fileName':_0xb0804a,'baseURL':_0x5c2110,'checkForUrlDuplicates':_0x5f4522,'saveUrlForRecurrentUploads':_0x490608,'secureSignature':_0x2444dd,'secureExpire':_0x413533,'store':_0x4c7dc4,'signal':_0x1feb59,'source':_0x53ad0c,'integration':_0x283e3b,'userAgent':_0x492735,'retryThrottledRequestMaxTimes':_0x418bd5,'metadata':_0x1c6b57}))['catch'](_0x584881=>{const _0x1f351c=pQ(_0x3a68fc);return _0x1f351c?.['disconnect'](),Promise['reject'](_0x584881);})['then'](_0x33ff77=>_0x33ff77['type']===aQ['FileInfo']?_0x33ff77:fQ([({signal:_0x10b226})=>function({token:_0x3b7480,publicKey:_0x47ec21,baseURL:_0x6bdbfa,integration:_0x271c5c,userAgent:_0x5eeebf,retryThrottledRequestMaxTimes:_0x2acd6f,retryNetworkErrorMaxTimes:_0xe67abb,onProgress:_0x4a81f0,signal:_0x1a9dd3}){return $D({'check':_0x5178fd=>lQ(_0x3b7480,{'publicKey':_0x47ec21,'baseURL':_0x6bdbfa,'integration':_0x271c5c,'userAgent':_0x5eeebf,'retryThrottledRequestMaxTimes':_0x2acd6f,'retryNetworkErrorMaxTimes':_0xe67abb,'signal':_0x5178fd})['then'](_0x579842=>{switch(_0x579842['status']){case cQ['Error']:return new UploadError(_0x579842['error'],_0x579842['errorCode']);case cQ['Waiting']:return!0x1;case cQ['Unknown']:return new UploadError('Token\x20\x22'+_0x3b7480+'\x22\x20was\x20not\x20found.');case cQ['Progress']:return _0x4a81f0&&('unknown'===_0x579842['total']?_0x4a81f0({'isComputable':!0x1}):_0x4a81f0({'isComputable':!0x0,'value':_0x579842['done']/_0x579842['total']})),!0x1;case cQ['Success']:return _0x4a81f0&&_0x4a81f0({'isComputable':!0x0,'value':_0x579842['done']/_0x579842['total']}),_0x579842;default:throw new Error('Unknown\x20status');}}),'signal':_0x1a9dd3});}({'token':_0x33ff77['token'],'publicKey':_0x1c552d,'baseURL':_0x5c2110,'integration':_0x283e3b,'userAgent':_0x492735,'retryThrottledRequestMaxTimes':_0x418bd5,'onProgress':_0x106bf2,'signal':_0x10b226}),({signal:_0x174d42})=>(({token:_0x2c08cc,pusherKey:_0x140c84,signal:_0x407ea6,onProgress:_0xe1c7a5})=>new Promise((_0xd9460d,_0x5a51a6)=>{const _0x507956=pQ(_0x140c84),_0x4501c6=_0x507956['onError'](_0x5a51a6),_0x40f22e=()=>{_0x4501c6(),_0x507956['unsubscribe'](_0x2c08cc);};LD(_0x407ea6,()=>{_0x40f22e(),_0x5a51a6(new CancelError('pusher\x20cancelled'));}),_0x507956['subscribe'](_0x2c08cc,_0x3d05c1=>{switch(_0x3d05c1['status']){case cQ['Progress']:_0xe1c7a5&&('unknown'===_0x3d05c1['total']?_0xe1c7a5({'isComputable':!0x1}):_0xe1c7a5({'isComputable':!0x0,'value':_0x3d05c1['done']/_0x3d05c1['total']}));break;case cQ['Success']:_0x40f22e(),_0xe1c7a5&&_0xe1c7a5({'isComputable':!0x0,'value':_0x3d05c1['done']/_0x3d05c1['total']}),_0xd9460d(_0x3d05c1);break;case cQ['Error']:_0x40f22e(),_0x5a51a6(new UploadError(_0x3d05c1['msg'],_0x3d05c1['error_code']));}});}))({'token':_0x33ff77['token'],'pusherKey':_0x3a68fc,'signal':_0x174d42,'onProgress':_0x106bf2})],{'signal':_0x1feb59}))['then'](_0x2436dc=>{if(_0x2436dc instanceof UploadError)throw _0x2436dc;return _0x2436dc;})['then'](_0x4604aa=>uQ(_0x4604aa['uuid'],{'publicKey':_0x1c552d,'baseURL':_0x5c2110,'integration':_0x283e3b,'userAgent':_0x492735,'retryThrottledRequestMaxTimes':_0x418bd5,'onProgress':_0x106bf2,'signal':_0x1feb59}))['then'](_0x55b672=>new UploadcareFile(_0x55b672,{'baseCDN':_0x246482}));var _0x395c85;},wQ=new WeakMap(),bQ=async _0x5bcc8e=>{if(zD(_0x5bcc8e)||WD(_0x5bcc8e))return _0x5bcc8e['size'];if(YD(_0x5bcc8e))return(await(async _0x3e6698=>{if(wQ['has'](_0x3e6698))return wQ['get'](_0x3e6698);const _0x5f039e=await fetch(_0x3e6698['uri'])['then'](_0x3770e6=>_0x3770e6['blob']());return wQ['set'](_0x3e6698,_0x5f039e),_0x5f039e;})(_0x5bcc8e))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},yQ=async(_0x3758b0,_0x4e1605,_0x22a79e)=>_0x401aa4=>((_0x2a207e,_0x542a04,_0x5378e2,_0x278fa4)=>{const _0x5e0577=_0x278fa4*_0x542a04,_0x55cd0f=Math['min'](_0x5e0577+_0x278fa4,_0x5378e2);return _0x2a207e['slice'](_0x5e0577,_0x55cd0f);})(_0x3758b0,_0x401aa4,_0x4e1605,_0x22a79e),vQ=(_0x4f9741,_0x3b6158,{publicKey:_0x445989,contentType:_0x53203f,onProgress:_0x2786f4,signal:_0x25a644,integration:_0x57a3fe,retryThrottledRequestMaxTimes:_0x931b7c,retryNetworkErrorMaxTimes:_0x389008})=>function(_0x465818,_0x25095b,{contentType:_0x2d5b03,signal:_0x2f039d,onProgress:_0x22ca3f,retryThrottledRequestMaxTimes:_0x2ed0f3=VD,retryNetworkErrorMaxTimes:_0x10b4d5=UD}){return sQ(()=>XD({'method':'PUT','url':_0x25095b,'data':_0x465818,'onProgress':_0x22ca3f,'signal':_0x2f039d,'headers':{'Content-Type':_0x2d5b03||GD}})['then'](_0x21270a=>(_0x22ca3f&&_0x22ca3f({'isComputable':!0x0,'value':0x1}),_0x21270a))['then'](({status:_0x28c0a3})=>({'code':_0x28c0a3})),{'retryThrottledRequestMaxTimes':_0x2ed0f3,'retryNetworkErrorMaxTimes':_0x10b4d5});}(_0x4f9741,_0x3b6158,{'contentType':_0x53203f,'onProgress':_0x2786f4,'signal':_0x25a644,'retryThrottledRequestMaxTimes':_0x931b7c,'retryNetworkErrorMaxTimes':_0x389008}),_Q=async(_0x476679,{publicKey:_0x9ab0b4,fileName:_0x22df54,fileSize:_0x23bf3b,baseURL:_0x19a7ed,secureSignature:_0x32e5cd,secureExpire:_0x30f88e,store:_0x521626,signal:_0xb17838,onProgress:_0x3c63a6,source:_0x1a6195,integration:_0x1fc5ec,userAgent:_0x3d62e7,retryThrottledRequestMaxTimes:_0x4b863d,retryNetworkErrorMaxTimes:_0x3ac38d,contentType:_0x3fe589,multipartChunkSize:_0x1ec244=FD,maxConcurrentRequests:_0xa11eac=jD,baseCDN:_0x1a24a1,metadata:_0x30ad8e})=>{const _0x39340a=_0x23bf3b??await bQ(_0x476679);let _0x3cf7ef;const _0x5398a1=(_0x315f3f,_0x414f7c)=>{if(!_0x3c63a6)return;_0x3cf7ef||(_0x3cf7ef=Array(_0x315f3f)['fill'](0x0));const _0x5ae2d9=_0x502b26=>_0x502b26['reduce']((_0x2580c2,_0x29bb6d)=>_0x2580c2+_0x29bb6d,0x0);return _0x3a358a=>{_0x3a358a['isComputable']&&(_0x3cf7ef[_0x414f7c]=_0x3a358a['value'],_0x3c63a6({'isComputable':!0x0,'value':_0x5ae2d9(_0x3cf7ef)/_0x315f3f}));};};return _0x3fe589||=nQ(_0x476679),function(_0x447648,{publicKey:_0x148726,contentType:_0x223ceb,fileName:_0x5544a0,multipartChunkSize:_0x9fc2c5=FD,baseURL:_0x577d1e='',secureSignature:_0x2f0fe0,secureExpire:_0x4c4aa8,store:_0x17214a,signal:_0x230015,source:_0x41fe93='local',integration:_0x4bfa4f,userAgent:_0x3e7508,retryThrottledRequestMaxTimes:_0x5bfae0=VD,retryNetworkErrorMaxTimes:_0xff8ee0=UD,metadata:_0x550870}){return sQ(()=>XD({'method':'POST','url':eQ(_0x577d1e,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':iQ({'publicKey':_0x148726,'integration':_0x4bfa4f,'userAgent':_0x3e7508})},'data':tQ({'filename':_0x5544a0||ZD,'size':_0x447648,'content_type':_0x223ceb||GD,'part_size':_0x9fc2c5,'UPLOADCARE_STORE':oQ(_0x17214a),'UPLOADCARE_PUB_KEY':_0x148726,'signature':_0x2f0fe0,'expire':_0x4c4aa8,'source':_0x41fe93,'metadata':_0x550870}),'signal':_0x230015})['then'](({data:_0x14a1a1,headers:_0x15f584,request:_0x350418})=>{const _0x4cd60b=PD(JSON['parse'](_0x14a1a1));if('error'in _0x4cd60b)throw new UploadError(_0x4cd60b['error']['content'],_0x4cd60b['error']['errorCode'],_0x350418,_0x4cd60b,_0x15f584);return _0x4cd60b['parts']=Object['keys'](_0x4cd60b['parts'])['map'](_0x21e677=>_0x4cd60b['parts'][Number(_0x21e677)]),_0x4cd60b;}),{'retryThrottledRequestMaxTimes':_0x5bfae0,'retryNetworkErrorMaxTimes':_0xff8ee0});}(_0x39340a,{'publicKey':_0x9ab0b4,'contentType':_0x3fe589,'fileName':_0x22df54||rQ(_0x476679),'baseURL':_0x19a7ed,'secureSignature':_0x32e5cd,'secureExpire':_0x30f88e,'store':_0x521626,'signal':_0xb17838,'source':_0x1a6195,'integration':_0x1fc5ec,'userAgent':_0x3d62e7,'retryThrottledRequestMaxTimes':_0x4b863d,'retryNetworkErrorMaxTimes':_0x3ac38d,'metadata':_0x30ad8e,'multipartChunkSize':_0x1ec244})['then'](async({uuid:_0x48bf9c,parts:_0x555379})=>{const _0x3b3dc9=await yQ(_0x476679,_0x39340a,_0x1ec244);return Promise['all']([_0x48bf9c,(_0x39097b=_0xa11eac,_0x37de61=_0x555379['map']((_0x582966,_0x5d5d28)=>()=>vQ(_0x3b3dc9(_0x5d5d28),_0x582966,{'publicKey':_0x9ab0b4,'contentType':_0x3fe589,'onProgress':_0x5398a1(_0x555379['length'],_0x5d5d28),'signal':_0xb17838,'integration':_0x1fc5ec,'retryThrottledRequestMaxTimes':_0x4b863d,'retryNetworkErrorMaxTimes':_0x3ac38d})),new Promise((_0x13c23f,_0xb572cf)=>{const _0xa500d9=[];let _0x101bbf=!0x1,_0x4fe38b=_0x37de61['length'];const _0x5f28db=[..._0x37de61],_0x9f23a3=()=>{const _0x59700d=_0x37de61['length']-_0x5f28db['length'],_0x2579fa=_0x5f28db['shift']();_0x2579fa&&_0x2579fa()['then'](_0x4e9072=>{_0x101bbf||(_0xa500d9[_0x59700d]=_0x4e9072,_0x4fe38b-=0x1,_0x4fe38b?_0x9f23a3():_0x13c23f(_0xa500d9));})['catch'](_0x47c975=>{_0x101bbf=!0x0,_0xb572cf(_0x47c975);});};for(let _0x5d172f=0x0;_0x5d172f<_0x39097b;_0x5d172f++)_0x9f23a3();}))]);var _0x39097b,_0x37de61;})['then'](([_0x12bcb4])=>function(_0x3c5ea8,{publicKey:_0x5ec8b7,baseURL:_0x104c49=QD,source:_0x365da1='local',signal:_0x47e107,integration:_0x4ed2ae,userAgent:_0x4337b7,retryThrottledRequestMaxTimes:_0x39d142=VD,retryNetworkErrorMaxTimes:_0x17d825=UD}){return sQ(()=>XD({'method':'POST','url':eQ(_0x104c49,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':iQ({'publicKey':_0x5ec8b7,'integration':_0x4ed2ae,'userAgent':_0x4337b7})},'data':tQ({'uuid':_0x3c5ea8,'UPLOADCARE_PUB_KEY':_0x5ec8b7,'source':_0x365da1}),'signal':_0x47e107})['then'](({data:_0x2e186f,headers:_0x12296e,request:_0x49cc67})=>{const _0x405d30=PD(JSON['parse'](_0x2e186f));if('error'in _0x405d30)throw new UploadError(_0x405d30['error']['content'],_0x405d30['error']['errorCode'],_0x49cc67,_0x405d30,_0x12296e);return _0x405d30;}),{'retryThrottledRequestMaxTimes':_0x39d142,'retryNetworkErrorMaxTimes':_0x17d825});}(_0x12bcb4,{'publicKey':_0x9ab0b4,'baseURL':_0x19a7ed,'source':_0x1a6195,'integration':_0x1fc5ec,'userAgent':_0x3d62e7,'retryThrottledRequestMaxTimes':_0x4b863d,'retryNetworkErrorMaxTimes':_0x3ac38d}))['then'](_0x579b0d=>_0x579b0d['isReady']?_0x579b0d:uQ(_0x579b0d['uuid'],{'publicKey':_0x9ab0b4,'baseURL':_0x19a7ed,'source':_0x1a6195,'integration':_0x1fc5ec,'userAgent':_0x3d62e7,'retryThrottledRequestMaxTimes':_0x4b863d,'retryNetworkErrorMaxTimes':_0x3ac38d,'onProgress':_0x3c63a6,'signal':_0xb17838}))['then'](_0x328d2c=>new UploadcareFile(_0x328d2c,{'baseCDN':_0x1a24a1}));};async function EQ(_0x206a4a,{publicKey:_0x248925,fileName:_0x344fce,baseURL:_0x2020bb=QD,secureSignature:_0x516e7c,secureExpire:_0x5b82b5,store:_0x2fc473,signal:_0x477bf9,onProgress:_0x25608e,source:_0x1d4e9c,integration:_0x475239,userAgent:_0xf8eaf3,retryThrottledRequestMaxTimes:_0x3edb7a,retryNetworkErrorMaxTimes:_0x3099a1,contentType:_0x830744,multipartMinFileSize:_0x4c13f5,multipartChunkSize:_0x54d9e1,maxConcurrentRequests:_0x82cf75,baseCDN:_0x563a6d=DD,checkForUrlDuplicates:_0x4bcca3,saveUrlForRecurrentUploads:_0x298b55,pusherKey:_0xa302f8,metadata:_0x1fc64f}){if(KD(_0x206a4a)){const _0x1a26e4=await bQ(_0x206a4a);return((_0x24b250,_0x3d14b3=BD)=>_0x24b250>=_0x3d14b3)(_0x1a26e4,_0x4c13f5)?_Q(_0x206a4a,{'publicKey':_0x248925,'contentType':_0x830744,'multipartChunkSize':_0x54d9e1,'fileSize':_0x1a26e4,'fileName':_0x344fce,'baseURL':_0x2020bb,'secureSignature':_0x516e7c,'secureExpire':_0x5b82b5,'store':_0x2fc473,'signal':_0x477bf9,'onProgress':_0x25608e,'source':_0x1d4e9c,'integration':_0x475239,'userAgent':_0xf8eaf3,'maxConcurrentRequests':_0x82cf75,'retryThrottledRequestMaxTimes':_0x3edb7a,'retryNetworkErrorMaxTimes':_0x3099a1,'baseCDN':_0x563a6d,'metadata':_0x1fc64f}):dQ(_0x206a4a,{'publicKey':_0x248925,'fileName':_0x344fce,'contentType':_0x830744,'baseURL':_0x2020bb,'secureSignature':_0x516e7c,'secureExpire':_0x5b82b5,'store':_0x2fc473,'signal':_0x477bf9,'onProgress':_0x25608e,'source':_0x1d4e9c,'integration':_0x475239,'userAgent':_0xf8eaf3,'retryThrottledRequestMaxTimes':_0x3edb7a,'retryNetworkErrorMaxTimes':_0x3099a1,'baseCDN':_0x563a6d,'metadata':_0x1fc64f});}if((_0x1b3cd4=>{const _0x25547f=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!KD(_0x1b3cd4)&&_0x25547f['test'](_0x1b3cd4);})(_0x206a4a))return OQ(_0x206a4a,{'publicKey':_0x248925,'fileName':_0x344fce,'baseURL':_0x2020bb,'baseCDN':_0x563a6d,'checkForUrlDuplicates':_0x4bcca3,'saveUrlForRecurrentUploads':_0x298b55,'secureSignature':_0x516e7c,'secureExpire':_0x5b82b5,'store':_0x2fc473,'signal':_0x477bf9,'onProgress':_0x25608e,'source':_0x1d4e9c,'integration':_0x475239,'userAgent':_0xf8eaf3,'retryThrottledRequestMaxTimes':_0x3edb7a,'pusherKey':_0xa302f8,'metadata':_0x1fc64f});if((_0x39e037=>{const _0x38c1c1=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!KD(_0x39e037)&&_0x38c1c1['test'](_0x39e037);})(_0x206a4a))return((_0x2c7f5e,{publicKey:_0x354dbc,fileName:_0x212ede,baseURL:_0x15f45c,signal:_0x202a8a,onProgress:_0x944476,source:_0x5df1da,integration:_0x34567b,userAgent:_0x4171c5,retryThrottledRequestMaxTimes:_0x49297b,retryNetworkErrorMaxTimes:_0x613b30,baseCDN:_0x24bc69})=>hQ(_0x2c7f5e,{'publicKey':_0x354dbc,'baseURL':_0x15f45c,'signal':_0x202a8a,'source':_0x5df1da,'integration':_0x34567b,'userAgent':_0x4171c5,'retryThrottledRequestMaxTimes':_0x49297b,'retryNetworkErrorMaxTimes':_0x613b30})['then'](_0x4a2c9e=>new UploadcareFile(_0x4a2c9e,{'baseCDN':_0x24bc69,'fileName':_0x212ede}))['then'](_0xb1c7df=>(_0x944476&&_0x944476({'isComputable':!0x0,'value':0x1}),_0xb1c7df)))(_0x206a4a,{'publicKey':_0x248925,'fileName':_0x344fce,'baseURL':_0x2020bb,'signal':_0x477bf9,'onProgress':_0x25608e,'source':_0x1d4e9c,'integration':_0x475239,'userAgent':_0xf8eaf3,'retryThrottledRequestMaxTimes':_0x3edb7a,'retryNetworkErrorMaxTimes':_0x3099a1,'baseCDN':_0x563a6d});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x206a4a+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x36d3fe,..._0x239962}){return EQ(_0x36d3fe,_0x239962);}static['getInfo'](_0x1a143d,_0x43cd8d){return hQ(_0x1a143d,_0x43cd8d);}}class UploadcareUploadAdapter extends _0x151d85{static get['requires'](){return[_0x11e849,_0x54dda1,_0x18a1ca,UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1ec4fd=this['editor'];if(!!!_0x1ec4fd['config']['get']('uploadcare'))return;_0x1ec4fd['plugins']['get'](_0x18a1ca)['createUploadAdapter']=_0x134c14=>new Adapter(_0x134c14,_0x1ec4fd),_0x1ec4fd['plugins']['get'](_0x11e849)['on']('uploadComplete',(_0x288751,{imageElement:_0x5be4b6,data:_0x4e6e54})=>{_0x1ec4fd['model']['change'](_0x4c3ba=>{_0x4c3ba['setAttribute']('uploadcareImageId',_0x4e6e54['uploadcareImageId'],_0x5be4b6);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x351366,_0xe39597){this['loader']=_0x351366,this['editor']=_0xe39597,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x274fc8=await this['loader']['file'];return UploadUtils['upload']({'file':_0x274fc8,'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':_0x31972b=>{_0x31972b&&_0x31972b['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x31972b['value']);}})['then'](async _0x18f9e2=>{const {imageFallbackUrl:_0x29d50b,imageSources:_0x5e6a25}=ED(_0x18f9e2['cdnUrl'],_0x18f9e2['imageInfo']['width']);return{'uploadcareImageId':_0x18f9e2['uuid'],'default':_0x29d50b,'sources':_0x5e6a25};})['catch'](()=>{const _0x16caf0=t('Cannot\x20upload\x20file:')+('\x20'+_0x274fc8['name']+'.');return Promise['reject'](_0x16caf0);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends _0x151d85{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x5c8053,UploadcareUploadAdapter,st];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x44f482){super(_0x44f482),this['ucContextId']=_0x3eda13();}['init'](){const _0x1b1f41=this['editor'];_0x1b1f41['commands']['add']('uploadcare',new UploadcareCommand(_0x1b1f41));}['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 _0x8c39bd=_0x313644['document']['querySelector']('input[uploadcare-file-input]');_0x8c39bd&&_0x8c39bd['remove']();}),async function(_0x5e30b0){const _0x5043cc=_0x15c0d9([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x563032=0x535f8c3a,_0x2c4a6d=0x535807ea^_0x563032,_0x31d9a8=window[_0x15c0d9([0x44,0x61,0x74,0x65])][_0x15c0d9([0x6e,0x6f,0x77])](),_0x49db4b=_0x5e30b0[_0x15c0d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2c6611=new window[(_0x15c0d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f9ec5=>{_0x49db4b[_0x15c0d9([0x6f,0x6e,0x63,0x65])](_0x15c0d9([0x72,0x65,0x61,0x64,0x79]),_0x4f9ec5);}),_0x356fec={[_0x15c0d9([0x6b,0x74,0x79])]:_0x15c0d9([0x45,0x43]),[_0x15c0d9([0x75,0x73,0x65])]:_0x15c0d9([0x73,0x69,0x67]),[_0x15c0d9([0x63,0x72,0x76])]:_0x15c0d9([0x50,0x2d,0x32,0x35,0x36]),[_0x15c0d9([0x78])]:_0x15c0d9([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x15c0d9([0x79])]:_0x15c0d9([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x15c0d9([0x61,0x6c,0x67])]:_0x15c0d9([0x45,0x53,0x32,0x35,0x36])},_0x5200d2=_0x49db4b[_0x15c0d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15c0d9([0x67,0x65,0x74])](_0x15c0d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a9f9a(){let _0x165211,_0x2a5f7f=null,_0x33cf64=null;try{if(_0x5200d2==_0x15c0d9([0x47,0x50,0x4c]))return _0x15c0d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x165211=_0x523ca4(),!_0x165211)return _0x15c0d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x165211[_0x15c0d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x33cf64=_0xf98223(_0x165211[_0x15c0d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x165211[_0x15c0d9([0x6a,0x74,0x69])])),await _0x45c3f8()?_0x207776()?_0x266337()?_0x15c0d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13d219()?(_0x165211[_0x15c0d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15c0d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2a5f7f=_0x3588c1(_0x15c0d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x35c252()):_0x15c0d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15c0d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15c0d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x15c0d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x266337(){const _0x3bf7fa=[_0x15c0d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15c0d9([0x74,0x72,0x69,0x61,0x6c])][_0x15c0d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165211[_0x15c0d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31d9a8/0x3e8:0xe10*_0x2c4a6d;return _0x165211[_0x15c0d9([0x65,0x78,0x70])]<_0x3bf7fa;}function _0x207776(){const _0x55af16=_0x165211[_0x15c0d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x55af16&&(!!_0x55af16[_0x15c0d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15c0d9([0x2a]))||!!_0x55af16[_0x15c0d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15c0d9([0x55,0x50,0x4c,0x43])));}function _0x13d219(){const _0x3392a0=_0x165211[_0x15c0d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3392a0||0x0==_0x3392a0[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31d2b1}=new URL(window[_0x15c0d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3392a0[_0x15c0d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31d2b1))return!0x0;const _0x543bf0=_0x31d2b1[_0x15c0d9([0x73,0x70,0x6c,0x69,0x74])](_0x15c0d9([0x2e]));return _0x3392a0[_0x15c0d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35f93b=>_0x35f93b[_0x15c0d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15c0d9([0x2a])))[_0x15c0d9([0x6d,0x61,0x70])](_0x49d388=>_0x49d388[_0x15c0d9([0x73,0x70,0x6c,0x69,0x74])](_0x15c0d9([0x2e])))[_0x15c0d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33adc3=>_0x33adc3[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x543bf0[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x15c0d9([0x6d,0x61,0x70])](_0x237f6c=>Array(_0x543bf0[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x237f6c[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x15c0d9([0x66,0x69,0x6c,0x6c])](_0x237f6c[0x0]===_0x15c0d9([0x2a])?_0x15c0d9([0x2a]):'')[_0x15c0d9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x237f6c))[_0x15c0d9([0x73,0x6f,0x6d,0x65])](_0x198010=>_0x543bf0[_0x15c0d9([0x65,0x76,0x65,0x72,0x79])]((_0x22ff01,_0x257c9d)=>_0x198010[_0x257c9d]===_0x22ff01||_0x198010[_0x257c9d]===_0x15c0d9([0x2a])));}function _0x35c252(){return _0x2a5f7f&&_0x33cf64?new window[(_0x15c0d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35433b,_0xf916f9)=>{_0x2a5f7f[_0x15c0d9([0x74,0x68,0x65,0x6e])](_0x35433b,_0xf916f9),_0x33cf64[_0x15c0d9([0x74,0x68,0x65,0x6e])](_0x33a678=>{_0x33a678!=_0x15c0d9([0x56,0x61,0x6c,0x69,0x64])&&_0x35433b(_0x33a678);},_0xf916f9);}):_0x2a5f7f||_0x33cf64||_0x15c0d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf98223(_0x55984d,_0x5ef42c){return new window[(_0x15c0d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2da27b=>{if(_0x1a2322())return _0x2da27b(_0x15c0d9([0x56,0x61,0x6c,0x69,0x64]));_0x4eda56(),_0x49db4b[_0x15c0d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15c0d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c66d6=!0x1;const _0x4e8b6b=_0x3eda13();function _0x17da5b(_0x42d7cf){return!!_0x42d7cf&&(typeof _0x42d7cf===_0x15c0d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x42d7cf===_0x15c0d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x42d7cf[_0x15c0d9([0x74,0x68,0x65,0x6e])]===_0x15c0d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x42d7cf[_0x15c0d9([0x63,0x61,0x74,0x63,0x68])]===_0x15c0d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4fd9e0(_0x6c4918){_0x2c8df1(_0x6c4918)[_0x15c0d9([0x74,0x68,0x65,0x6e])](_0x42db92=>{if(!_0x42db92||_0x42db92[_0x15c0d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15c0d9([0x6f,0x6b]))return _0x15c0d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5906b0(_0x38a16a(_0x4e8b6b+_0x5ef42c))!=_0x42db92[_0x15c0d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15c0d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15c0d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x15c0d9([0x74,0x68,0x65,0x6e])](_0x191d3d=>(_0x2ce77d(),_0x191d3d),()=>{const _0x3a760d=_0x6ff5d0();return null==_0x3a760d?(_0x2ce77d(),_0x15c0d9([0x56,0x61,0x6c,0x69,0x64])):_0x15c0d9(_0x31d9a8-_0x3a760d>(0x7753083a^_0x563032)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15c0d9([0x74,0x68,0x65,0x6e])](_0x2da27b)[_0x15c0d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2da27b(_0x15c0d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ed234=0x536962ba^_0x563032;function _0x2ce77d(){const _0x5581a0=_0x15c0d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5906b0(_0x38a16a(_0x55984d)),_0x1eec2e=_0x3eb1fa(_0x5906b0(window[_0x15c0d9([0x4d,0x61,0x74,0x68])][_0x15c0d9([0x63,0x65,0x69,0x6c])](_0x31d9a8/_0x1ed234)));window[_0x15c0d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15c0d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5581a0,_0x1eec2e);}function _0x6ff5d0(){const _0x2008af=_0x15c0d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x5906b0(_0x38a16a(_0x55984d)),_0x3fc794=window[_0x15c0d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15c0d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2008af);return _0x3fc794?window[_0x15c0d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3eb1fa(_0x3fc794),0x10)*_0x1ed234:null;}function _0x2c8df1(_0x5dea56){return new window[(_0x15c0d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x203dce,_0x2a5814)=>{_0x5dea56[_0x15c0d9([0x74,0x68,0x65,0x6e])](_0x203dce,_0x2a5814),window[_0x15c0d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a5814,0x535e58fa^_0x563032);});}}_0x49db4b[_0x15c0d9([0x6f,0x6e])](_0x15c0d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5985e8,_0x12e7ee)=>{if(_0x12e7ee[0x0]!=_0x55984d)return _0x2da27b(_0x15c0d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x12e7ee[0x1]={..._0x12e7ee[0x1],[_0x15c0d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e8b6b};},{[_0x15c0d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15c0d9([0x68,0x69,0x67,0x68])}),_0x49db4b[_0x15c0d9([0x6f,0x6e])](_0x15c0d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x540cf=>{_0x17da5b(_0x540cf[_0x15c0d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c66d6=!0x0,_0x4fd9e0(_0x540cf[_0x15c0d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15c0d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15c0d9([0x6c,0x6f,0x77])}),_0x2c6611[_0x15c0d9([0x74,0x68,0x65,0x6e])](()=>{_0x5c66d6||_0x2da27b(_0x15c0d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a2322(){return _0x49db4b[_0x15c0d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15c0d9([0x76,0x69,0x65,0x77])][_0x15c0d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15c0d9([0x61,0x75,0x74,0x6f]);}function _0x4eda56(){_0x49db4b[_0x15c0d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15c0d9([0x76,0x69,0x65,0x77])][_0x15c0d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15c0d9([0x61,0x75,0x74,0x6f]);}}function _0x3588c1(_0x406b08){const _0x373af6=[new window[(_0x15c0d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59a346=>setTimeout(_0x59a346,0x5356b2f6^_0x563032)),_0x2c6611[_0x15c0d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15c0d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d4c8e=>{let _0x34b6e0=0x0;_0x49db4b[_0x15c0d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x15c0d9([0x6f,0x6e])](_0x15c0d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3fa027,_0x4c7f44)=>{_0x4c7f44[0x0][_0x15c0d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34b6e0++,_0x34b6e0==(0x535f89d2^_0x563032)&&(_0x1d4c8e(),_0x3fa027[_0x15c0d9([0x6f,0x66,0x66])]());});}))];return window[_0x15c0d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15c0d9([0x72,0x61,0x63,0x65])](_0x373af6)[_0x15c0d9([0x74,0x68,0x65,0x6e])](()=>_0x406b08);}async function _0x5a08c4(){await _0x2c6611,_0x49db4b[_0x15c0d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x15c0d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c0a1b,_0x49db4b[_0x15c0d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x15c0d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c0a1b,_0x49db4b[_0x15c0d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15c0d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x322529(_0x198450){const _0x536412=_0x279b43();_0x49db4b[_0x536412]=_0x15c0d9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x198450,_0x198450!=_0x15c0d9([0x56,0x61,0x6c,0x69,0x64])&&_0x5a08c4();}function _0x279b43(){const _0x1bb505=window[_0x15c0d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15c0d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15c0d9([0x6e,0x6f,0x77])]())[_0x15c0d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15c0d9([0x2e]),'');let _0x2c6a9a=_0x15c0d9([0x68]);for(let _0x1c23e2=0x0;_0x1c23e2<_0x1bb505[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c23e2+=0x2){let _0x4c2437=window[_0x15c0d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bb505[_0x15c0d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1c23e2,_0x1c23e2+0x2));_0x4c2437>=_0x5043cc[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c2437-=_0x5043cc[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c6a9a+=_0x5043cc[_0x4c2437];}return _0x2c6a9a;}function _0x523ca4(){const _0x42d6df=_0x5200d2[_0x15c0d9([0x73,0x70,0x6c,0x69,0x74])](_0x15c0d9([0x2e]));if(0x3!=_0x42d6df[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31e639(_0x42d6df[0x1]);function _0x31e639(_0x37682e){const _0x213941=_0x2e66d2(_0x37682e);return _0x213941&&_0x4f830c()?_0x213941:null;function _0x4f830c(){const _0x5693c5=_0x213941[_0x15c0d9([0x6a,0x74,0x69])],_0x3d236f=window[_0x15c0d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5693c5[_0x15c0d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5693c5[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4778ea={..._0x213941,[_0x15c0d9([0x6a,0x74,0x69])]:_0x5693c5[_0x15c0d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5693c5[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4778ea[_0x15c0d9([0x76,0x63])],_0x38a16a(_0x4778ea)==_0x3d236f;}}}async function _0x45c3f8(){let _0x4081ab=!0x0;try{const _0x4c1482=_0x5200d2[_0x15c0d9([0x73,0x70,0x6c,0x69,0x74])](_0x15c0d9([0x2e])),[_0x22033e,_0x2293a6,_0x20f82f]=_0x4c1482;return _0x2faaba(_0x22033e),await _0x124913(_0x22033e,_0x2293a6,_0x20f82f),_0x4081ab;}catch{return!0x1;}function _0x2faaba(_0x5bc4af){const _0x1187e5=_0x2e66d2(_0x5bc4af);_0x1187e5&&_0x1187e5[_0x15c0d9([0x61,0x6c,0x67])]==_0x15c0d9([0x45,0x53,0x32,0x35,0x36])||(_0x4081ab=!0x1);}async function _0x124913(_0x46d3c4,_0x378d61,_0xdb803a){const _0x2e214f=window[_0x15c0d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15c0d9([0x66,0x72,0x6f,0x6d])](_0x19c28f(_0xdb803a),_0x25b17c=>_0x25b17c[_0x15c0d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1fd351=new window[(_0x15c0d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15c0d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46d3c4+_0x15c0d9([0x2e])+_0x378d61),_0x3ebfcd=window[_0x15c0d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15c0d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ebfcd)return;const _0x4f5054=await _0x3ebfcd[_0x15c0d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15c0d9([0x6a,0x77,0x6b]),_0x356fec,{[_0x15c0d9([0x6e,0x61,0x6d,0x65])]:_0x15c0d9([0x45,0x43,0x44,0x53,0x41]),[_0x15c0d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15c0d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15c0d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ebfcd[_0x15c0d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15c0d9([0x6e,0x61,0x6d,0x65])]:_0x15c0d9([0x45,0x43,0x44,0x53,0x41]),[_0x15c0d9([0x68,0x61,0x73,0x68])]:{[_0x15c0d9([0x6e,0x61,0x6d,0x65])]:_0x15c0d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f5054,_0x2e214f,_0x1fd351)||(_0x4081ab=!0x1);}}function _0x2e66d2(_0x404a6b){return _0x404a6b[_0x15c0d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15c0d9([0x65,0x79]))?JSON[_0x15c0d9([0x70,0x61,0x72,0x73,0x65])](_0x19c28f(_0x404a6b)):null;}function _0x19c28f(_0x3b1e0e){return window[_0x15c0d9([0x61,0x74,0x6f,0x62])](_0x3b1e0e[_0x15c0d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15c0d9([0x2b]))[_0x15c0d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15c0d9([0x2f])));}function _0x38a16a(_0x35408b){let _0x43e873=0x1505;function _0x349f19(_0x4120d8){for(let _0x2cfa59=0x0;_0x2cfa59<_0x4120d8[_0x15c0d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cfa59++){const _0x3942c4=_0x4120d8[_0x15c0d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2cfa59);_0x43e873=(_0x43e873<<0x5)+_0x43e873+_0x3942c4,_0x43e873&=_0x43e873;}}function _0x3202ce(_0x3111f5){Array[_0x15c0d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3111f5)?_0x3111f5[_0x15c0d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3202ce):_0x3111f5&&typeof _0x3111f5==_0x15c0d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15c0d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3111f5)[_0x15c0d9([0x73,0x6f,0x72,0x74])]()[_0x15c0d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x176867,_0x1bd836])=>{_0x349f19(_0x176867),_0x3202ce(_0x1bd836);}):_0x349f19(window[_0x15c0d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3111f5));}return _0x3202ce(_0x35408b),_0x43e873>>>0x0;}function _0x5906b0(_0x32f0ba){return _0x32f0ba[_0x15c0d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15c0d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15c0d9([0x30]));}function _0x3eb1fa(_0x163b36){return _0x163b36[_0x15c0d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15c0d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15c0d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c0a1b(){}function _0x15c0d9(_0x479fa8){return _0x479fa8['map'](_0x5ed5ed=>String['fromCharCode'](_0x5ed5ed))['join']('');}_0x322529(await _0x3a9f9a());}(this);}['_initSchema'](){const _0x276601=this['editor']['model']['schema'];_0x276601['isRegistered']('imageBlock')&&_0x276601['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x276601['isRegistered']('imageInline')&&_0x276601['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x5585d0=this['editor'];_0x5585d0['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x5585d0['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4a12df=>_0x4a12df['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2a4dd1=_0x5585d0['commands']['get']('replaceImageSource');_0x2a4dd1&&this['listenTo'](_0x2a4dd1,'cleanupImage',(_0x39d091,[_0x1bbe33,_0x20eed2])=>{_0x1bbe33['removeAttribute']('uploadcareImageId',_0x20eed2);});}['_initConfig'](){const _0x3362f8=this['editor']['config']['get']('uploadcare.uploader')||{},_0x2d5977=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x455380(_0x313644['document'],'uc-config',{..._0x3362f8,'pubkey':_0x2d5977,'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']=_0x254186=>{if('closeMax'==_0x254186)return'#uc-icon-arrow-down';},_0x313644['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x455380(_0x313644['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x313644['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x203df6=this['editor']['commands']['get']('insertImage');_0x203df6&&this['listenTo'](_0x203df6,'execute',()=>{const _0x2611ba=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2611ba&&_0x2611ba['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{AD(this['editor'],_0x2611ba);});});const _0x44cb41=this['editor']['commands']['get']('uploadcareImageReplace');_0x44cb41&&this['listenTo'](_0x44cb41,'execute',()=>{const _0x170516=this['editor']['model']['document']['selection']['getSelectedElement']();_0x170516&&_0x170516['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{AD(this['editor'],_0x170516);});});}}var TQ=Object['defineProperty'],AQ=Object['getOwnPropertyDescriptor'],IQ=(_0x9b91,_0x2cc935)=>{for(var t in _0x2cc935)TQ(_0x9b91,t,{'get':_0x2cc935[t],'enumerable':!0x0});},SQ=(_0x35d580,_0xaaeb28,t,_0x275e9d)=>{for(var _0x94fdd3,_0x23093f=_0x275e9d>0x1?void 0x0:_0x275e9d?AQ(_0xaaeb28,t):_0xaaeb28,_0xa2aeeb=_0x35d580['length']-0x1;_0xa2aeeb>=0x0;_0xa2aeeb--)(_0x94fdd3=_0x35d580[_0xa2aeeb])&&(_0x23093f=(_0x275e9d?_0x94fdd3(_0xaaeb28,t,_0x23093f):_0x94fdd3(_0x23093f))||_0x23093f);return _0x275e9d&&_0x23093f&&TQ(_0xaaeb28,t,_0x23093f),_0x23093f;},CQ=[],kQ=0x0;function xQ(_0x4e982f,_0x2dfc4e,t){let _0x47de8a=new Set(_0x2dfc4e)['add'](void 0x0);return _0x4e982f['listen']((_0x5c1acb,_0x175aa9,_0x21e50d)=>{_0x47de8a['has'](_0x21e50d)&&t(_0x5c1acb,_0x175aa9,_0x21e50d);});}function RQ(_0x1f5892,_0x9e3638,t){let _0x203efa=xQ(_0x1f5892,_0x9e3638,t);return t(_0x1f5892['value']),_0x203efa;}var PQ=(_0x153a7b={})=>{let _0x7c2771=(_0x45611c=>{let _0x45b29a=[],t={'get':()=>(t['lc']||t['listen'](()=>{})(),t['value']),'lc':0x0,'listen':_0x4e2354=>(t['lc']=_0x45b29a['push'](_0x4e2354),()=>{for(let _0x3f38b7=kQ+0x4;_0x3f38b7<CQ['length'];)CQ[_0x3f38b7]===_0x4e2354?CQ['splice'](_0x3f38b7,0x4):_0x3f38b7+=0x4;let _0xdea540=_0x45b29a['indexOf'](_0x4e2354);~_0xdea540&&(_0x45b29a['splice'](_0xdea540,0x1),--t['lc']||t['off']());}),'notify'(_0x3f414b,_0x514463){let _0x17a9b9=!CQ['length'];for(let _0x54244d of _0x45b29a)CQ['push'](_0x54244d,t['value'],_0x3f414b,_0x514463);if(_0x17a9b9){for(kQ=0x0;kQ<CQ['length'];kQ+=0x4)CQ[kQ](CQ[kQ+0x1],CQ[kQ+0x2],CQ[kQ+0x3]);CQ['length']=0x0;}},'off'(){},'set'(_0x53168b){let _0x52adeb=t['value'];_0x52adeb!==_0x53168b&&(t['value']=_0x53168b,t['notify'](_0x52adeb));},'subscribe'(_0x29a557){let _0x19a8c4=t['listen'](_0x29a557);return _0x29a557(t['value']),_0x19a8c4;},'value':_0x45611c};return t;})(_0x153a7b);return _0x7c2771['setKey']=function(t,_0x4c215e){let _0xdc4e51=_0x7c2771['value'];typeof _0x4c215e>'u'&&t in _0x7c2771['value']?(_0x7c2771['value']={..._0x7c2771['value']},delete _0x7c2771['value'][t],_0x7c2771['notify'](_0xdc4e51,t)):_0x7c2771['value'][t]!==_0x4c215e&&(_0x7c2771['value']={..._0x7c2771['value'],[t]:_0x4c215e},_0x7c2771['notify'](_0xdc4e51,t));},_0x7c2771;},MQ=class o{static{this['qt']=new Map();}constructor(_0x108bb9,t){this['J']=_0x108bb9,this['ae']=t;}get['id'](){return this['J'];}['pub'](_0x29b673,t){_0x29b673 in this['ae']['get']()||console['warn']('PubSub#pub:\x20Key\x20\x22'+String(_0x29b673)+'\x22\x20not\x20found'),this['ae']['setKey'](_0x29b673,t);}['sub'](_0x2c0b9d,t,_0x53637c=!0x0){return(_0x53637c?RQ:xQ)(this['ae'],[_0x2c0b9d],_0x1f3c25=>{t(_0x1f3c25[_0x2c0b9d]);});}['read'](_0x7bd71c){return _0x7bd71c in this['ae']['get']()||console['warn']('PubSub#read:\x20Key\x20\x22'+String(_0x7bd71c)+'\x22\x20not\x20found'),this['ae']['get']()[_0x7bd71c];}['add'](_0x355964,t,_0xda37a3=!0x1){(!(_0x355964 in this['ae']['get']())||_0xda37a3)&&this['ae']['setKey'](_0x355964,t);}['has'](_0x2c3193){return _0x2c3193 in this['ae']['get']();}get['store'](){return this['ae']['get']();}static['registerCtx'](_0x126784,t){if(o['qt']['has'](t))throw new Error('PubSub:\x20Context\x20with\x20id\x20\x22'+t+'\x22\x20already\x20exists');let _0x1f1340=PQ(_0x126784);return o['qt']['set'](t,_0x1f1340),new o(t,_0x1f1340);}static['deleteCtx'](_0x31fc2f){o['qt']['delete'](_0x31fc2f);}static['getCtx'](_0x33fb45){let t=o['qt']['get'](_0x33fb45);return t?new o(_0x33fb45,t):null;}static['hasCtx'](_0x4e8469){return o['qt']['has'](_0x4e8469);}},NQ=globalThis,LQ=NQ['ShadowRoot']&&(void 0x0===NQ['ShadyCSS']||NQ['ShadyCSS']['nativeShadow'])&&'adoptedStyleSheets'in Document['prototype']&&'replace'in CSSStyleSheet['prototype'],$Q=Symbol(),DQ=new WeakMap(),QQ=class{constructor(_0x4e3231,t,_0x132788){if(this['Cc']=!0x0,_0x132788!==$Q)throw Error('CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.');this['cssText']=_0x4e3231,this['t']=t;}get['styleSheet'](){let _0x43308e=this['o'],t=this['t'];if(LQ&&void 0x0===_0x43308e){let _0x2e4194=void 0x0!==t&&0x1===t['length'];_0x2e4194&&(_0x43308e=DQ['get'](t)),void 0x0===_0x43308e&&((this['o']=_0x43308e=new CSSStyleSheet())['replaceSync'](this['cssText']),_0x2e4194&&DQ['set'](t,_0x43308e));}return _0x43308e;}['toString'](){return this['cssText'];}},VQ=LQ?_0x4c33cd=>_0x4c33cd:_0x189e0a=>_0x189e0a instanceof CSSStyleSheet?(_0x43e062=>{let t='';for(let _0x660e44 of _0x43e062['cssRules'])t+=_0x660e44['cssText'];return(_0x33e20c=>new QQ('string'==typeof _0x33e20c?_0x33e20c:_0x33e20c+'',void 0x0,$Q))(t);})(_0x189e0a):_0x189e0a,{is:UQ,defineProperty:BQ,getOwnPropertyDescriptor:FQ,getOwnPropertyNames:jQ,getOwnPropertySymbols:HQ,getPrototypeOf:GQ}=Object,ZQ=globalThis,XQ=ZQ['trustedTypes'],qQ=XQ?XQ['emptyScript']:'',WQ=ZQ['reactiveElementPolyfillSupport'],zQ=(_0x23108d,_0x5db8ee)=>_0x23108d,YQ={'toAttribute'(_0x55a319,_0x3e3d91){switch(_0x3e3d91){case Boolean:_0x55a319=_0x55a319?qQ:null;break;case Object:case Array:_0x55a319=null==_0x55a319?_0x55a319:JSON['stringify'](_0x55a319);}return _0x55a319;},'fromAttribute'(_0x3d3b22,_0x4a046c){let t=_0x3d3b22;switch(_0x4a046c){case Boolean:t=null!==_0x3d3b22;break;case Number:t=null===_0x3d3b22?null:Number(_0x3d3b22);break;case Object:case Array:try{t=JSON['parse'](_0x3d3b22);}catch{t=null;}}return t;}},KQ=(_0x582363,_0x41ab41)=>!UQ(_0x582363,_0x41ab41),JQ={'attribute':!0x0,'type':String,'converter':YQ,'reflect':!0x1,'useDefault':!0x1,'hasChanged':KQ};Symbol['metadata']??=Symbol('metadata'),ZQ['litPropertyMetadata']??=new WeakMap();var tV=class extends HTMLElement{static['addInitializer'](_0x4beae8){this['Br'](),(this['l']??=[])['push'](_0x4beae8);}static get['observedAttributes'](){return this['finalize'](),this['Li']&&[...this['Li']['keys']()];}static['createProperty'](_0x3c6aaa,t=JQ){if(t['state']&&(t['attribute']=!0x1),this['Br'](),this['prototype']['hasOwnProperty'](_0x3c6aaa)&&((t=Object['create'](t))['wrapped']=!0x0),this['elementProperties']['set'](_0x3c6aaa,t),!t['noAccessor']){let _0x3a8e8c=Symbol(),_0x613b26=this['getPropertyDescriptor'](_0x3c6aaa,_0x3a8e8c,t);void 0x0!==_0x613b26&&BQ(this['prototype'],_0x3c6aaa,_0x613b26);}}static['getPropertyDescriptor'](_0x7e00fd,t,_0x4f02e4){let {get:_0x317cd2,set:_0x189967}=FQ(this['prototype'],_0x7e00fd)??{'get'(){return this[t];},'set'(_0x50718e){this[t]=_0x50718e;}};return{'get':_0x317cd2,'set'(_0x1e9dd3){let _0xf13e6b=_0x317cd2?.['call'](this);_0x189967?.['call'](this,_0x1e9dd3),this['requestUpdate'](_0x7e00fd,_0xf13e6b,_0x4f02e4);},'configurable':!0x0,'enumerable':!0x0};}static['getPropertyOptions'](_0x5210e8){return this['elementProperties']['get'](_0x5210e8)??JQ;}static['Br'](){if(this['hasOwnProperty'](zQ('elementProperties')))return;let _0x175658=GQ(this);_0x175658['finalize'](),void 0x0!==_0x175658['l']&&(this['l']=[..._0x175658['l']]),this['elementProperties']=new Map(_0x175658['elementProperties']);}static['finalize'](){if(this['hasOwnProperty'](zQ('finalized')))return;if(this['finalized']=!0x0,this['Br'](),this['hasOwnProperty'](zQ('properties'))){let t=this['properties'],_0x49be51=[...jQ(t),...HQ(t)];for(let _0x554bd1 of _0x49be51)this['createProperty'](_0x554bd1,t[_0x554bd1]);}let _0x1bcae3=this[Symbol['metadata']];if(null!==_0x1bcae3){let t=litPropertyMetadata['get'](_0x1bcae3);if(void 0x0!==t){for(let [_0x161853,_0x58bbdd]of t)this['elementProperties']['set'](_0x161853,_0x58bbdd);}}this['Li']=new Map();for(let [t,_0x52078d]of this['elementProperties']){let _0x4aa9b9=this['zr'](t,_0x52078d);void 0x0!==_0x4aa9b9&&this['Li']['set'](_0x4aa9b9,t);}this['elementStyles']=this['finalizeStyles'](this['styles']);}static['finalizeStyles'](_0xf1c38d){let t=[];if(Array['isArray'](_0xf1c38d)){let _0x41b8bf=new Set(_0xf1c38d['flat'](0x1/0x0)['reverse']());for(let _0x1ef004 of _0x41b8bf)t['unshift'](VQ(_0x1ef004));}else void 0x0!==_0xf1c38d&&t['push'](VQ(_0xf1c38d));return t;}static['zr'](_0x36b9c3,t){let _0xd878e1=t['attribute'];return!0x1===_0xd878e1?void 0x0:'string'==typeof _0xd878e1?_0xd878e1:'string'==typeof _0x36b9c3?_0x36b9c3['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(_0xa0046d=>this['enableUpdating']=_0xa0046d),this['Fe']=new Map(),this['Ac'](),this['requestUpdate'](),this['constructor']['l']?.['forEach'](_0x5bec19=>_0x5bec19(this));}['addController'](_0x2ba9a7){(this['Wt']??=new Set())['add'](_0x2ba9a7),void 0x0!==this['renderRoot']&&this['isConnected']&&_0x2ba9a7['hostConnected']?.();}['removeController'](_0x31a998){this['Wt']?.['delete'](_0x31a998);}['Ac'](){let _0x3368d6=new Map(),t=this['constructor']['elementProperties'];for(let _0x4f3cda of t['keys']())this['hasOwnProperty'](_0x4f3cda)&&(_0x3368d6['set'](_0x4f3cda,this[_0x4f3cda]),delete this[_0x4f3cda]);_0x3368d6['size']>0x0&&(this['Ri']=_0x3368d6);}['createRenderRoot'](){let _0x3efcd2=this['shadowRoot']??this['attachShadow'](this['constructor']['shadowRootOptions']);return((_0xd17c31,_0x2dcc39)=>{if(LQ)_0xd17c31['adoptedStyleSheets']=_0x2dcc39['map'](t=>t instanceof CSSStyleSheet?t:t['styleSheet']);else for(let t of _0x2dcc39){let _0x4317f0=document['createElement']('style'),_0x32f55a=NQ['litNonce'];void 0x0!==_0x32f55a&&_0x4317f0['setAttribute']('nonce',_0x32f55a),_0x4317f0['textContent']=t['cssText'],_0xd17c31['appendChild'](_0x4317f0);}})(_0x3efcd2,this['constructor']['elementStyles']),_0x3efcd2;}['connectedCallback'](){this['renderRoot']??=this['createRenderRoot'](),this['enableUpdating'](!0x0),this['Wt']?.['forEach'](_0x4f6d81=>_0x4f6d81['hostConnected']?.());}['enableUpdating'](_0x4e683f){}['disconnectedCallback'](){this['Wt']?.['forEach'](_0x25044e=>_0x25044e['hostDisconnected']?.());}['attributeChangedCallback'](_0x1c43a7,t,_0x310638){this['Kr'](_0x1c43a7,_0x310638);}['kc'](_0x5e4201,t){let _0x39f0e3=this['constructor']['elementProperties']['get'](_0x5e4201),_0x27ef87=this['constructor']['zr'](_0x5e4201,_0x39f0e3);if(void 0x0!==_0x27ef87&&!0x0===_0x39f0e3['reflect']){let _0x51ea1b=(void 0x0!==_0x39f0e3['converter']?.['toAttribute']?_0x39f0e3['converter']:YQ)['toAttribute'](t,_0x39f0e3['type']);this['vt']=_0x5e4201,null==_0x51ea1b?this['removeAttribute'](_0x27ef87):this['setAttribute'](_0x27ef87,_0x51ea1b),this['vt']=null;}}['Kr'](_0x22e861,t){let _0x48e37d=this['constructor'],_0x30fe23=_0x48e37d['Li']['get'](_0x22e861);if(void 0x0!==_0x30fe23&&this['vt']!==_0x30fe23){let _0x4b5e58=_0x48e37d['getPropertyOptions'](_0x30fe23),_0x246e80='function'==typeof _0x4b5e58['converter']?{'fromAttribute':_0x4b5e58['converter']}:void 0x0!==_0x4b5e58['converter']?.['fromAttribute']?_0x4b5e58['converter']:YQ;this['vt']=_0x30fe23;let _0x1df9a9=_0x246e80['fromAttribute'](t,_0x4b5e58['type']);this[_0x30fe23]=_0x1df9a9??this['jr']?.['get'](_0x30fe23)??_0x1df9a9,this['vt']=null;}}['requestUpdate'](_0x99123,t,_0x2bbde6,_0x46a0c7=!0x1,_0x3c4f2f){if(void 0x0!==_0x99123){let _0x2a6349=this['constructor'];if(!0x1===_0x46a0c7&&(_0x3c4f2f=this[_0x99123]),_0x2bbde6??=_0x2a6349['getPropertyOptions'](_0x99123),!((_0x2bbde6['hasChanged']??KQ)(_0x3c4f2f,t)||_0x2bbde6['useDefault']&&_0x2bbde6['reflect']&&_0x3c4f2f===this['jr']?.['get'](_0x99123)&&!this['hasAttribute'](_0x2a6349['zr'](_0x99123,_0x2bbde6))))return;this['C'](_0x99123,t,_0x2bbde6);}!0x1===this['isUpdatePending']&&(this['Hr']=this['Mc']());}['C'](_0x32192c,t,{useDefault:_0x4b19e1,reflect:_0x17e311,wrapped:_0x4ba560},_0x20d6af){_0x4b19e1&&!(this['jr']??=new Map())['has'](_0x32192c)&&(this['jr']['set'](_0x32192c,_0x20d6af??t??this[_0x32192c]),!0x0!==_0x4ba560||void 0x0!==_0x20d6af)||(this['Fe']['has'](_0x32192c)||(this['hasUpdated']||_0x4b19e1||(t=void 0x0),this['Fe']['set'](_0x32192c,t)),!0x0===_0x17e311&&this['vt']!==_0x32192c&&(this['Gs']??=new Set())['add'](_0x32192c));}async['Mc'](){this['isUpdatePending']=!0x0;try{await this['Hr'];}catch(_0x83ef06){Promise['reject'](_0x83ef06);}let _0x6dfb55=this['scheduleUpdate']();return null!=_0x6dfb55&&await _0x6dfb55,!this['isUpdatePending'];}['scheduleUpdate'](){return this['performUpdate']();}['performUpdate'](){if(!this['isUpdatePending'])return;if(!this['hasUpdated']){if(this['renderRoot']??=this['createRenderRoot'](),this['Ri']){for(let [_0x42063c,_0x1c2393]of this['Ri'])this[_0x42063c]=_0x1c2393;this['Ri']=void 0x0;}let _0x23ec0b=this['constructor']['elementProperties'];if(_0x23ec0b['size']>0x0)for(let [_0x2830ac,_0x1e8913]of _0x23ec0b){let {wrapped:_0x2342ef}=_0x1e8913,_0x3b8459=this[_0x2830ac];!0x0!==_0x2342ef||this['Fe']['has'](_0x2830ac)||void 0x0===_0x3b8459||this['C'](_0x2830ac,void 0x0,_0x1e8913,_0x3b8459);}}let _0x576358=!0x1,t=this['Fe'];try{_0x576358=this['shouldUpdate'](t),_0x576358?(this['willUpdate'](t),this['Wt']?.['forEach'](_0x5a0c53=>_0x5a0c53['hostUpdate']?.()),this['update'](t)):this['Gr']();}catch(_0x3352fe){throw _0x576358=!0x1,this['Gr'](),_0x3352fe;}_0x576358&&this['Oc'](t);}['willUpdate'](_0x3e13e1){}['Oc'](_0xd9200){this['Wt']?.['forEach'](t=>t['hostUpdated']?.()),this['hasUpdated']||(this['hasUpdated']=!0x0,this['firstUpdated'](_0xd9200)),this['updated'](_0xd9200);}['Gr'](){this['Fe']=new Map(),this['isUpdatePending']=!0x1;}get['updateComplete'](){return this['getUpdateComplete']();}['getUpdateComplete'](){return this['Hr'];}['shouldUpdate'](_0x24ad96){return!0x0;}['update'](_0x4dde00){this['Gs']&&=this['Gs']['forEach'](t=>this['kc'](t,this[t])),this['Gr']();}['updated'](_0x1cbc02){}['firstUpdated'](_0x4802a4){}};tV['elementStyles']=[],tV['shadowRootOptions']={'mode':'open'},tV[zQ('elementProperties')]=new Map(),tV[zQ('finalized')]=new Map(),WQ?.({'ReactiveElement':tV}),(ZQ['reactiveElementVersions']??=[])['push']('2.1.2');var eV,iV=globalThis,sV=_0x276d7b=>_0x276d7b,nV=iV['trustedTypes'],rV=nV?nV['createPolicy']('lit-html',{'createHTML':_0x51a0ec=>_0x51a0ec}):void 0x0,oV='$lit$',aV='lit$'+Math['random']()['toFixed'](0x9)['slice'](0x2)+'$',cV='?'+aV,lV='<'+cV+'>',hV=document,uV=()=>hV['createComment'](''),dV=_0x3c3d04=>null===_0x3c3d04||'object'!=typeof _0x3c3d04&&'function'!=typeof _0x3c3d04,fV=Array['isArray'],mV='[\x20\x0c\x0d]',gV=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pV=/-->/g,OV=/>/g,wV=RegExp('>|'+mV+'(?:([^\x5cs\x22\x27>=/]+)('+mV+'*='+mV+'*(?:[^\x20\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','g'),bV=/'/g,yV=/"/g,vV=/^(?:script|style|textarea|title)$/i,_V=(eV=0x1,(_0x593fa7,...t)=>({'Ne':eV,'strings':_0x593fa7,'values':t})),EV=Symbol['for']('lit-noChange'),TV=Symbol['for']('lit-nothing'),AV=new WeakMap(),IV=hV['createTreeWalker'](hV,0x81);function SV(_0x619711,_0x2c40df){if(!fV(_0x619711)||!_0x619711['hasOwnProperty']('raw'))throw Error('invalid\x20template\x20strings\x20array');return void 0x0!==rV?rV['createHTML'](_0x2c40df):_0x2c40df;}var CV=class o{constructor({strings:_0x4ee606,Ne:t},_0x1b5b85){let _0x5812b6;this['parts']=[];let _0x514a58=0x0,_0x3ab45f=0x0,_0x3b825c=_0x4ee606['length']-0x1,_0x31f64e=this['parts'],[_0x3b64d1,_0x3c64df]=((_0x1f58d7,_0x11e9a1)=>{let _0x2000c8,t=_0x1f58d7['length']-0x1,_0x53a4ad=[],_0x875303=0x2===_0x11e9a1?'<svg>':0x3===_0x11e9a1?'<math>':'',_0x48c1c=gV;for(let _0x6676e5=0x0;_0x6676e5<t;_0x6676e5++){let _0x45f65f,_0xf1ad77,_0x33eaa7=_0x1f58d7[_0x6676e5],_0x2c3d93=-0x1,_0x316bae=0x0;for(;_0x316bae<_0x33eaa7['length']&&(_0x48c1c['lastIndex']=_0x316bae,_0xf1ad77=_0x48c1c['exec'](_0x33eaa7),null!==_0xf1ad77);)_0x316bae=_0x48c1c['lastIndex'],_0x48c1c===gV?'!--'===_0xf1ad77[0x1]?_0x48c1c=pV:void 0x0!==_0xf1ad77[0x1]?_0x48c1c=OV:void 0x0!==_0xf1ad77[0x2]?(vV['test'](_0xf1ad77[0x2])&&(_0x2000c8=RegExp('</'+_0xf1ad77[0x2],'g')),_0x48c1c=wV):void 0x0!==_0xf1ad77[0x3]&&(_0x48c1c=wV):_0x48c1c===wV?'>'===_0xf1ad77[0x0]?(_0x48c1c=_0x2000c8??gV,_0x2c3d93=-0x1):void 0x0===_0xf1ad77[0x1]?_0x2c3d93=-0x2:(_0x2c3d93=_0x48c1c['lastIndex']-_0xf1ad77[0x2]['length'],_0x45f65f=_0xf1ad77[0x1],_0x48c1c=void 0x0===_0xf1ad77[0x3]?wV:'\x22'===_0xf1ad77[0x3]?yV:bV):_0x48c1c===yV||_0x48c1c===bV?_0x48c1c=wV:_0x48c1c===pV||_0x48c1c===OV?_0x48c1c=gV:(_0x48c1c=wV,_0x2000c8=void 0x0);let _0x2dd21e=_0x48c1c===wV&&_0x1f58d7[_0x6676e5+0x1]['startsWith']('/>')?'\x20':'';_0x875303+=_0x48c1c===gV?_0x33eaa7+lV:_0x2c3d93>=0x0?(_0x53a4ad['push'](_0x45f65f),_0x33eaa7['slice'](0x0,_0x2c3d93)+oV+_0x33eaa7['slice'](_0x2c3d93)+aV+_0x2dd21e):_0x33eaa7+aV+(-0x2===_0x2c3d93?_0x6676e5:_0x2dd21e);}return[SV(_0x1f58d7,_0x875303+(_0x1f58d7[t]||'<?>')+(0x2===_0x11e9a1?'</svg>':0x3===_0x11e9a1?'</math>':'')),_0x53a4ad];})(_0x4ee606,t);if(this['el']=o['createElement'](_0x3b64d1,_0x1b5b85),IV['currentNode']=this['el']['content'],0x2===t||0x3===t){let _0x55ee6a=this['el']['content']['firstChild'];_0x55ee6a['replaceWith'](..._0x55ee6a['childNodes']);}for(;null!==(_0x5812b6=IV['nextNode']())&&_0x31f64e['length']<_0x3b825c;){if(0x1===_0x5812b6['nodeType']){if(_0x5812b6['hasAttributes']()){for(let _0xa1fb98 of _0x5812b6['getAttributeNames']())if(_0xa1fb98['endsWith'](oV)){let _0x11d388=_0x3c64df[_0x3ab45f++],_0x392012=_0x5812b6['getAttribute'](_0xa1fb98)['split'](aV),_0x3de00c=/([.?@])?(.*)/['exec'](_0x11d388);_0x31f64e['push']({'type':0x1,'index':_0x514a58,'name':_0x3de00c[0x2],'strings':_0x392012,'ctor':'.'===_0x3de00c[0x1]?MV:'?'===_0x3de00c[0x1]?NV:'@'===_0x3de00c[0x1]?LV:PV}),_0x5812b6['removeAttribute'](_0xa1fb98);}else _0xa1fb98['startsWith'](aV)&&(_0x31f64e['push']({'type':0x6,'index':_0x514a58}),_0x5812b6['removeAttribute'](_0xa1fb98));}if(vV['test'](_0x5812b6['tagName'])){let _0x63217a=_0x5812b6['textContent']['split'](aV),_0x1038de=_0x63217a['length']-0x1;if(_0x1038de>0x0){_0x5812b6['textContent']=nV?nV['emptyScript']:'';for(let _0xa5ca4=0x0;_0xa5ca4<_0x1038de;_0xa5ca4++)_0x5812b6['append'](_0x63217a[_0xa5ca4],uV()),IV['nextNode'](),_0x31f64e['push']({'type':0x2,'index':++_0x514a58});_0x5812b6['append'](_0x63217a[_0x1038de],uV());}}}else{if(0x8===_0x5812b6['nodeType']){if(_0x5812b6['data']===cV)_0x31f64e['push']({'type':0x2,'index':_0x514a58});else{let _0x512098=-0x1;for(;-0x1!==(_0x512098=_0x5812b6['data']['indexOf'](aV,_0x512098+0x1));)_0x31f64e['push']({'type':0x7,'index':_0x514a58}),_0x512098+=aV['length']-0x1;}}}_0x514a58++;}}static['createElement'](_0x25b8f6,t){let _0x5f029b=hV['createElement']('template');return _0x5f029b['innerHTML']=_0x25b8f6,_0x5f029b;}};function kV(_0x23b5f6,_0x521096,t=_0x23b5f6,_0x2c4b07){if(_0x521096===EV)return _0x521096;let _0x26edf1=void 0x0!==_0x2c4b07?t['Ic']?.[_0x2c4b07]:t['Pc'],_0x3c959d=dV(_0x521096)?void 0x0:_0x521096['qr'];return _0x26edf1?.['constructor']!==_0x3c959d&&(_0x26edf1?.['qs']?.(!0x1),void 0x0===_0x3c959d?_0x26edf1=void 0x0:(_0x26edf1=new _0x3c959d(_0x23b5f6),_0x26edf1['Wr'](_0x23b5f6,t,_0x2c4b07)),void 0x0!==_0x2c4b07?(t['Ic']??=[])[_0x2c4b07]=_0x26edf1:t['Pc']=_0x26edf1),void 0x0!==_0x26edf1&&(_0x521096=kV(_0x23b5f6,_0x26edf1['Lc'](_0x23b5f6,_0x521096['values']),_0x26edf1,_0x2c4b07)),_0x521096;}var xV=class{constructor(_0x439961,t){this['Ws']=[],this['le']=void 0x0,this['Zs']=_0x439961,this['f']=t;}get['parentNode'](){return this['f']['parentNode'];}get['W'](){return this['f']['W'];}['u'](_0x393c14){let {el:{content:t},parts:_0x179c75}=this['Zs'],_0x27d0fe=(_0x393c14?.['creationScope']??hV)['importNode'](t,!0x0);IV['currentNode']=_0x27d0fe;let _0x5e79ef=IV['nextNode'](),_0x228963=0x0,_0x5330ec=0x0,_0x21b281=_0x179c75[0x0];for(;void 0x0!==_0x21b281;){if(_0x228963===_0x21b281['index']){let _0x3726a6;0x2===_0x21b281['type']?_0x3726a6=new RV(_0x5e79ef,_0x5e79ef['nextSibling'],this,_0x393c14):0x1===_0x21b281['type']?_0x3726a6=new _0x21b281['ctor'](_0x5e79ef,_0x21b281['name'],_0x21b281['strings'],this,_0x393c14):0x6===_0x21b281['type']&&(_0x3726a6=new $V(_0x5e79ef,this,_0x393c14)),this['Ws']['push'](_0x3726a6),_0x21b281=_0x179c75[++_0x5330ec];}_0x228963!==_0x21b281?.['index']&&(_0x5e79ef=IV['nextNode'](),_0x228963++);}return IV['currentNode']=hV,_0x27d0fe;}['p'](_0x16dbfb){let t=0x0;for(let _0x407fdd of this['Ws'])void 0x0!==_0x407fdd&&(void 0x0!==_0x407fdd['strings']?(_0x407fdd['ce'](_0x16dbfb,_0x407fdd,t),t+=_0x407fdd['strings']['length']-0x2):_0x407fdd['ce'](_0x16dbfb[t])),t++;}},RV=class o{get['W'](){return this['f']?.['W']??this['Ys'];}constructor(_0x4f29f9,t,_0x18d6a6,_0x578312){this['type']=0x2,this['r']=TV,this['le']=void 0x0,this['ve']=_0x4f29f9,this['yt']=t,this['f']=_0x18d6a6,this['options']=_0x578312,this['Ys']=_0x578312?.['isConnected']??!0x0;}get['parentNode'](){let _0x1b1a3d=this['ve']['parentNode'],t=this['f'];return void 0x0!==t&&0xb===_0x1b1a3d?.['nodeType']&&(_0x1b1a3d=t['parentNode']),_0x1b1a3d;}get['startNode'](){return this['ve'];}get['endNode'](){return this['yt'];}['ce'](_0x2e2a82,t=this){_0x2e2a82=kV(this,_0x2e2a82,t),dV(_0x2e2a82)?_0x2e2a82===TV||null==_0x2e2a82||''===_0x2e2a82?(this['r']!==TV&&this['bt'](),this['r']=TV):_0x2e2a82!==this['r']&&_0x2e2a82!==EV&&this['Xs'](_0x2e2a82):void 0x0!==_0x2e2a82['Ne']?this['$'](_0x2e2a82):void 0x0!==_0x2e2a82['nodeType']?this['T'](_0x2e2a82):(_0x2600c6=>fV(_0x2600c6)||'function'==typeof _0x2600c6?.[Symbol['iterator']])(_0x2e2a82)?this['k'](_0x2e2a82):this['Xs'](_0x2e2a82);}['O'](_0x387f59){return this['ve']['parentNode']['insertBefore'](_0x387f59,this['yt']);}['T'](_0x3e3e38){this['r']!==_0x3e3e38&&(this['bt'](),this['r']=this['O'](_0x3e3e38));}['Xs'](_0x1acbab){this['r']!==TV&&dV(this['r'])?this['ve']['nextSibling']['data']=_0x1acbab:this['T'](hV['createTextNode'](_0x1acbab)),this['r']=_0x1acbab;}['$'](_0x41c0e8){let {values:t,Ne:_0x72b904}=_0x41c0e8,_0x514b48='number'==typeof _0x72b904?this['Rc'](_0x41c0e8):(void 0x0===_0x72b904['el']&&(_0x72b904['el']=CV['createElement'](SV(_0x72b904['h'],_0x72b904['h'][0x0]),this['options'])),_0x72b904);if(this['r']?.['Zs']===_0x514b48)this['r']['p'](t);else{let _0x409807=new xV(_0x514b48,this),_0x1dde64=_0x409807['u'](this['options']);_0x409807['p'](t),this['T'](_0x1dde64),this['r']=_0x409807;}}['Rc'](_0x15991f){let t=AV['get'](_0x15991f['strings']);return void 0x0===t&&AV['set'](_0x15991f['strings'],t=new CV(_0x15991f)),t;}['k'](_0x42c58e){fV(this['r'])||(this['r']=[],this['bt']());let _0x23329f,t=this['r'],_0x55ce93=0x0;for(let _0x372137 of _0x42c58e)_0x55ce93===t['length']?t['push'](_0x23329f=new o(this['O'](uV()),this['O'](uV()),this,this['options'])):_0x23329f=t[_0x55ce93],_0x23329f['ce'](_0x372137),_0x55ce93++;_0x55ce93<t['length']&&(this['bt'](_0x23329f&&_0x23329f['yt']['nextSibling'],_0x55ce93),t['length']=_0x55ce93);}['bt'](_0x31be1e=this['ve']['nextSibling'],t){for(this['Ui']?.(!0x1,!0x0,t);_0x31be1e!==this['yt'];){let _0x3973ec=sV(_0x31be1e)['nextSibling'];sV(_0x31be1e)['remove'](),_0x31be1e=_0x3973ec;}}['setConnected'](_0xe25e55){void 0x0===this['f']&&(this['Ys']=_0xe25e55,this['Ui']?.(_0xe25e55));}},PV=class{get['tagName'](){return this['element']['tagName'];}get['W'](){return this['f']['W'];}constructor(_0xcd2807,t,_0x577595,_0x179cec,_0x4b84ae){this['type']=0x1,this['r']=TV,this['le']=void 0x0,this['element']=_0xcd2807,this['name']=t,this['f']=_0x179cec,this['options']=_0x4b84ae,_0x577595['length']>0x2||''!==_0x577595[0x0]||''!==_0x577595[0x1]?(this['r']=Array(_0x577595['length']-0x1)['fill'](new String()),this['strings']=_0x577595):this['r']=TV;}['ce'](_0x348781,t=this,_0x1d3d2a,_0x3e91b2){let _0xaa3494=this['strings'],_0x58bde2=!0x1;if(void 0x0===_0xaa3494)_0x348781=kV(this,_0x348781,t,0x0),_0x58bde2=!dV(_0x348781)||_0x348781!==this['r']&&_0x348781!==EV,_0x58bde2&&(this['r']=_0x348781);else{let _0x128b34,_0x267bce,_0x8a40ee=_0x348781;for(_0x348781=_0xaa3494[0x0],_0x128b34=0x0;_0x128b34<_0xaa3494['length']-0x1;_0x128b34++)_0x267bce=kV(this,_0x8a40ee[_0x1d3d2a+_0x128b34],t,_0x128b34),_0x267bce===EV&&(_0x267bce=this['r'][_0x128b34]),_0x58bde2||=!dV(_0x267bce)||_0x267bce!==this['r'][_0x128b34],_0x267bce===TV?_0x348781=TV:_0x348781!==TV&&(_0x348781+=(_0x267bce??'')+_0xaa3494[_0x128b34+0x1]),this['r'][_0x128b34]=_0x267bce;}_0x58bde2&&!_0x3e91b2&&this['j'](_0x348781);}['j'](_0x63fdb){_0x63fdb===TV?this['element']['removeAttribute'](this['name']):this['element']['setAttribute'](this['name'],_0x63fdb??'');}},MV=class extends PV{constructor(){super(...arguments),this['type']=0x3;}['j'](_0x2fab7e){this['element'][this['name']]=_0x2fab7e===TV?void 0x0:_0x2fab7e;}},NV=class extends PV{constructor(){super(...arguments),this['type']=0x4;}['j'](_0x48b63c){this['element']['toggleAttribute'](this['name'],!!_0x48b63c&&_0x48b63c!==TV);}},LV=class extends PV{constructor(_0x2acfbd,t,_0x589494,_0x1a3a24,_0x24f51f){super(_0x2acfbd,t,_0x589494,_0x1a3a24,_0x24f51f),this['type']=0x5;}['ce'](_0x4aecd1,t=this){if((_0x4aecd1=kV(this,_0x4aecd1,t,0x0)??TV)===EV)return;let _0x29fca1=this['r'],_0x5e3095=_0x4aecd1===TV&&_0x29fca1!==TV||_0x4aecd1['capture']!==_0x29fca1['capture']||_0x4aecd1['once']!==_0x29fca1['once']||_0x4aecd1['passive']!==_0x29fca1['passive'],_0x3dee6a=_0x4aecd1!==TV&&(_0x29fca1===TV||_0x5e3095);_0x5e3095&&this['element']['removeEventListener'](this['name'],this,_0x29fca1),_0x3dee6a&&this['element']['addEventListener'](this['name'],this,_0x4aecd1),this['r']=_0x4aecd1;}['handleEvent'](_0x83fbf8){'function'==typeof this['r']?this['r']['call'](this['options']?.['host']??this['element'],_0x83fbf8):this['r']['handleEvent'](_0x83fbf8);}},$V=class{constructor(_0x3bc5c8,t,_0x29a2eb){this['element']=_0x3bc5c8,this['type']=0x6,this['le']=void 0x0,this['f']=t,this['options']=_0x29a2eb;}get['W'](){return this['f']['W'];}['ce'](_0x438fd7){kV(this,_0x438fd7);}},DV={'I':RV},QV=iV['litHtmlPolyfillSupport'];QV?.(CV,RV),(iV['litHtmlVersions']??=[])['push']('3.3.2');var VV=globalThis,UV=class extends tV{constructor(){super(...arguments),this['renderOptions']={'host':this},this['Zr']=void 0x0;}['createRenderRoot'](){let _0x289e12=super['createRenderRoot']();return this['renderOptions']['renderBefore']??=_0x289e12['firstChild'],_0x289e12;}['update'](_0x161a71){let t=this['render']();this['hasUpdated']||(this['renderOptions']['isConnected']=this['isConnected']),super['update'](_0x161a71),this['Zr']=((_0x1bbc50,_0xe724cd,t)=>{let _0x4200bf=t?.['renderBefore']??_0xe724cd,_0xe28482=_0x4200bf['Uc'];if(void 0x0===_0xe28482){let _0x393b1f=t?.['renderBefore']??null;_0x4200bf['Uc']=_0xe28482=new RV(_0xe724cd['insertBefore'](uV(),_0x393b1f),_0x393b1f,void 0x0,t??{});}return _0xe28482['ce'](_0x1bbc50),_0xe28482;})(t,this['renderRoot'],this['renderOptions']);}['connectedCallback'](){super['connectedCallback'](),this['Zr']?.['setConnected'](!0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Zr']?.['setConnected'](!0x1);}['render'](){return EV;}};UV['jp']=!0x0,UV['finalized']=!0x0,VV['litElementHydrateSupport']?.({'LitElement':UV});var BV=VV['litElementPolyfillSupport'];BV?.({'LitElement':UV}),(VV['litElementVersions']??=[])['push']('4.2.2');var FV=/\\([0-9a-fA-F]{1,6} ?)/g;function jV(_0x518e5c){return class _0x496e67 extends _0x518e5c{constructor(){super(...arguments),this['Qs']=null,this['Yr']=null;}['getCssData'](_0x385837,_0x108262=!0x1){let _0x246319=this['Qs']??Object['create'](null);if(!Object['keys'](_0x246319)['includes'](_0x385837)||!_0x246319[_0x385837]){this['Yr']||(this['Yr']=window['getComputedStyle'](this));let _0x39100d=this['Yr']['getPropertyValue'](_0x385837)['trim']();try{_0x246319[_0x385837]=function(_0x2082ad){let _0xeb0f38=_0x2082ad;(function(_0x33006f){return!(_0x33006f['length']<0x2||'\x22'!==_0x33006f[0x0]&&'\x27'!==_0x33006f[0x0]||'\x22'!==_0x33006f[_0x33006f['length']-0x1]&&'\x27'!==_0x33006f[_0x33006f['length']-0x1]);}(_0x2082ad)&&(_0xeb0f38=function(_0x1cbb7a){let _0x6f9618=_0x1cbb7a;return('\x22'===_0x6f9618[0x0]||'\x27'===_0x6f9618[0x0])&&(_0x6f9618=_0x6f9618['slice'](0x1)),('\x22'===_0x6f9618[_0x6f9618['length']-0x1]||'\x27'===_0x6f9618[_0x6f9618['length']-0x1])&&(_0x6f9618=_0x6f9618['slice'](0x0,-0x1)),_0x6f9618;}(_0xeb0f38),_0xeb0f38=_0xeb0f38['replace'](FV,(t,_0x1328e9)=>String['fromCodePoint'](parseInt(_0x1328e9['trim'](),0x10))),_0xeb0f38=_0xeb0f38['replaceAll']('\x5c\x20','\x5cn'),_0xeb0f38=function(_0x5a8b07){let _0x5c9d7b='',t='';for(let _0x13385c=0x0;_0x13385c<_0x5a8b07['length'];_0x13385c++){let _0x2cdb55=_0x5a8b07[_0x13385c+0x1];'\x5c'===_0x5a8b07[_0x13385c]&&'\x22'===_0x2cdb55?(_0x5c9d7b+='\x5c\x22',_0x13385c++):'\x22'===_0x5a8b07[_0x13385c]&&'\x5c'!==t?_0x5c9d7b+='\x5c\x22':_0x5c9d7b+=_0x5a8b07[_0x13385c],t=_0x5a8b07[_0x13385c]??'';}return _0x5c9d7b;}(_0xeb0f38),_0xeb0f38='\x22'+_0xeb0f38+'\x22'));try{return JSON['parse'](_0xeb0f38);}catch{return;}}(_0x39100d);}catch(_0x287ba1){_0x108262||console['warn']('CSS\x20Data\x20error:\x20'+_0x385837,_0x287ba1),_0x246319[_0x385837]=null;}}return this['Qs']=_0x246319,_0x246319[_0x385837];}};}function HV(_0x15afb5){return class _0x3ac439 extends _0x15afb5{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 _0x5effa9=Array['from'](this['childNodes']),_0x318a02=_0x5effa9['length']?_0x5effa9:this['_e']??[];for(let _0x5cba7d of _0x318a02){let _0x34511d=this['Js'](_0x5cba7d),_0x4d6690=this['Ve'][_0x34511d]??[];_0x5cba7d instanceof Element&&(_0x5cba7d['removeAttribute']('slot'),_0x5cba7d['removeAttribute']('content-for')),_0x4d6690['push'](_0x5cba7d),this['Ve'][_0x34511d]=_0x4d6690;}this['_e']=null;}['Js'](_0x29ba93){return _0x29ba93 instanceof Comment&&_0x29ba93['nextSibling']instanceof Element?this['Js'](_0x29ba93['nextSibling']):'contentFor'in _0x29ba93?_0x29ba93['contentFor']||'':_0x29ba93 instanceof Element&&_0x29ba93['hasAttribute']('content-for')&&_0x29ba93['getAttribute']('content-for')||'';}['Dc'](_0x457b5f){return!_0x457b5f['textContent']||!_0x457b5f['textContent']['trim']();}['Fc'](_0x235adb){let _0x41f749=this['Ve'][_0x235adb];return!_0x41f749||_0x41f749['every'](_0xa33607=>_0xa33607 instanceof Comment||_0xa33607 instanceof Text&&this['Dc'](_0xa33607));}['update'](_0x22e23d){!this['hasUpdated']&&this['willYield']&&this['$c'](),super['update'](_0x22e23d);}['yield'](_0xc07452,_0x5093ed){if(''===_0xc07452&&!this['Ve'][_0xc07452]&&!this['$i']&&this['_e']?.['length']){let _0x1b53ea=[];for(let _0x3da771 of this['_e'])_0x3da771 instanceof Element&&(_0x3da771['removeAttribute']('slot'),_0x3da771['removeAttribute']('content-for')),_0x1b53ea['push'](_0x3da771);this['Ve'][_0xc07452]=_0x1b53ea,this['$i']=!0x0,this['_e']=null;}let _0x3db95f=this['Ve'][_0xc07452];return _V` ${_0x3db95f} ${this['Fc'](_0xc07452)?_0x5093ed:void 0x0} `;}};}function GV(_0x45f729){return class _0x2412c1 extends _0x45f729{static['reg'](_0x5c1771){let _0x2bc410=this,_0x4ade25=window['customElements']['get'](_0x5c1771);_0x4ade25?_0x4ade25!==_0x2bc410&&console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x5c1771+'\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'](_0x5c1771,_0x2bc410);}};}var ZV=class extends Event{constructor(_0xdc498d,t,_0x3b3e55,_0x3f203f){super('context-request',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0xdc498d,this['contextTarget']=t,this['callback']=_0x3b3e55,this['subscribe']=_0x3f203f??!0x1;}},XV=class{constructor(_0xad8f83,t,_0x161fb3,_0x35300b){if(this['subscribe']=!0x1,this['provided']=!0x1,this['value']=void 0x0,this['t']=(_0x27796a,_0x5488c0)=>{this['unsubscribe']&&(this['unsubscribe']!==_0x5488c0&&(this['provided']=!0x1,this['unsubscribe']()),this['subscribe']||this['unsubscribe']()),this['value']=_0x27796a,this['host']['requestUpdate'](),this['provided']&&!this['subscribe']||(this['provided']=!0x0,this['callback']&&this['callback'](_0x27796a,_0x5488c0)),this['unsubscribe']=_0x5488c0;},this['host']=_0xad8f83,void 0x0!==t['context']){let _0x41da50=t;this['context']=_0x41da50['context'],this['callback']=_0x41da50['callback'],this['subscribe']=_0x41da50['subscribe']??!0x1;}else this['context']=t,this['callback']=_0x161fb3,this['subscribe']=_0x35300b??!0x1;this['host']['addController'](this);}['hostConnected'](){this['dispatchRequest']();}['hostDisconnected'](){this['unsubscribe']&&(this['unsubscribe'](),this['unsubscribe']=void 0x0);}['dispatchRequest'](){this['host']['dispatchEvent'](new ZV(this['context'],this['host'],this['t'],this['subscribe']));}},qV=class{get['value'](){return this['o'];}set['value'](_0x2a3024){this['setValue'](_0x2a3024);}['setValue'](_0x14c2f7,t=!0x1){let _0x291d1d=t||!Object['is'](_0x14c2f7,this['o']);this['o']=_0x14c2f7,_0x291d1d&&this['updateObservers']();}constructor(_0x3903f9){this['subscriptions']=new Map(),this['updateObservers']=()=>{for(let [t,{disposer:_0x4bf1c6}]of this['subscriptions'])t(this['o'],_0x4bf1c6);},void 0x0!==_0x3903f9&&(this['value']=_0x3903f9);}['addCallback'](_0x154037,t,_0x284a85){if(!_0x284a85)return void _0x154037(this['value']);this['subscriptions']['has'](_0x154037)||this['subscriptions']['set'](_0x154037,{'disposer':()=>{this['subscriptions']['delete'](_0x154037);},'consumerHost':t});let {disposer:_0x6bc115}=this['subscriptions']['get'](_0x154037);_0x154037(this['value'],_0x6bc115);}['clearCallbacks'](){this['subscriptions']['clear']();}},WV=class extends Event{constructor(_0x165134,t){super('context-provider',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x165134,this['contextTarget']=t;}},zV=class extends qV{constructor(_0x8b9aea,t,_0x99b951){super(void 0x0!==t['context']?t['initialValue']:_0x99b951),this['onContextRequest']=_0x42124f=>{if(_0x42124f['context']!==this['context'])return;let _0x458217=_0x42124f['contextTarget']??_0x42124f['composedPath']()[0x0];_0x458217!==this['host']&&(_0x42124f['stopPropagation'](),this['addCallback'](_0x42124f['callback'],_0x458217,_0x42124f['subscribe']));},this['onProviderRequest']=_0x338103=>{if(_0x338103['context']!==this['context']||(_0x338103['contextTarget']??_0x338103['composedPath']()[0x0])===this['host'])return;let _0x3e91d2=new Set();for(let [_0x587a43,{consumerHost:_0x2547a3}]of this['subscriptions'])_0x3e91d2['has'](_0x587a43)||(_0x3e91d2['add'](_0x587a43),_0x2547a3['dispatchEvent'](new ZV(this['context'],_0x2547a3,_0x587a43,!0x0)));_0x338103['stopPropagation']();},this['host']=_0x8b9aea,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 WV(this['context'],this['host']));}},YV={'attribute':!0x0,'type':String,'converter':YQ,'reflect':!0x1,'hasChanged':KQ},KV=(_0x5005e6=YV,_0x40877f,t)=>{let {kind:_0x9a3677,metadata:_0x582393}=t,_0x4925df=globalThis['litPropertyMetadata']['get'](_0x582393);if(void 0x0===_0x4925df&&globalThis['litPropertyMetadata']['set'](_0x582393,_0x4925df=new Map()),'setter'===_0x9a3677&&((_0x5005e6=Object['create'](_0x5005e6))['wrapped']=!0x0),_0x4925df['set'](t['name'],_0x5005e6),'accessor'===_0x9a3677){let {name:_0x43219f}=t;return{'set'(_0x1e3eee){let _0xc8228e=_0x40877f['get']['call'](this);_0x40877f['set']['call'](this,_0x1e3eee),this['requestUpdate'](_0x43219f,_0xc8228e,_0x5005e6,!0x0,_0x1e3eee);},'init'(_0x2ad71a){return void 0x0!==_0x2ad71a&&this['C'](_0x43219f,void 0x0,_0x5005e6,_0x2ad71a),_0x2ad71a;}};}if('setter'===_0x9a3677){let {name:_0x372b6}=t;return function(_0x4c0a2a){let _0x2ebb26=this[_0x372b6];_0x40877f['call'](this,_0x4c0a2a),this['requestUpdate'](_0x372b6,_0x2ebb26,_0x5005e6,!0x0,_0x4c0a2a);};}throw Error('Unsupported\x20decorator\x20location:\x20'+_0x9a3677);};function JV(_0x5bf39c){return(_0xf9667,t)=>'object'==typeof t?KV(_0x5bf39c,_0xf9667,t):((_0x5c683b,_0x1b087a,_0x2ec537)=>{let _0x21588b=_0x1b087a['hasOwnProperty'](_0x2ec537);return _0x1b087a['constructor']['createProperty'](_0x2ec537,_0x5c683b),_0x21588b?Object['getOwnPropertyDescriptor'](_0x1b087a,_0x2ec537):void 0x0;})(_0x5bf39c,_0xf9667,t);}function tU(_0x5563c6){return JV({..._0x5563c6,'state':!0x0,'attribute':!0x1});}function eU(_0x1e6d12,_0x1d4a6b){let t,_0x15183d=(..._0x418b00)=>{t&&clearTimeout(t),t=setTimeout(()=>_0x1e6d12(..._0x418b00),_0x1d4a6b);};return _0x15183d['cancel']=()=>{t&&clearTimeout(t);},_0x15183d;}var iU='ctx-name-context';function sU(){return function(_0x1fa190){class _0x227706 extends _0x1fa190{constructor(..._0xe3be2a){super(..._0xe3be2a),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 XV(this,{'context':iU,'callback':_0x13b33c=>{_0x13b33c?(this['rn']=_0x13b33c,this['tn']()):console['error']('SymbioteMixin:\x20Received\x20invalid\x20ctx-name\x20from\x20context');},'subscribe':!0x0});}static set['template'](_0x3fab66){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'](_0x40b6f2){let _0x2064f5=_0x40b6f2??void 0x0;this['Di']!==_0x2064f5&&(this['Di']=_0x2064f5,this['tn']());}['shouldUpdate'](_0x3f1310){return!!this['ke']&&super['shouldUpdate'](_0x3f1310);}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'](_0x3cd718){super['willUpdate'](_0x3cd718),this['ctxName']=this['Ae'],this['ctxName']&&(this['Qr']?this['Qr']['setValue'](this['ctxName']):this['Qr']=new zV(this,{'context':iU,'initialValue':this['ctxName']}));}['sn'](){if(this['ee']&&0x0!==this['wt']['size']){for(let [_0x1c8a6d,{value:_0x1f60e9,rewrite:_0x189df6}]of this['wt'])this['ee']['add'](_0x1c8a6d,_0x1f60e9,_0x189df6);this['wt']['clear']();}}['nn'](){return!this['ee']&&this['Ae']&&this['eo'](),this['ee']&&this['sn'](),this['ee'];}['Ni'](){let _0x39543d=this['nn']();if(!_0x39543d)throw new Error('SymbioteMixin:\x20Shared\x20context\x20is\x20not\x20initialized.');return _0x39543d;}['eo'](){let _0x2ee237=this['init$'],_0xaf361=this['Ae'];if(_0xaf361){if(!this['ee']){this['ee']=MQ['getCtx'](_0xaf361)??MQ['registerCtx'](_0x2ee237,_0xaf361);for(let [_0xefb4ca,_0x27d019]of Object['entries'](this['init$']))this['ee']['add'](_0xefb4ca,_0x27d019,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':(_0x214124,_0x20d270)=>{if('string'==typeof _0x20d270)return this['ee']?.['read'](_0x20d270);},'set':(_0xc8c696,_0x41cd7f,_0x27537e)=>('string'!=typeof _0x41cd7f||this['ee']?.['pub'](_0x41cd7f,_0x27537e),!0x0)});}['sub'](_0x37c045,_0x49c018,_0x5a94d6=!0x0){let _0x200530=this['Ni']()['sub'](_0x37c045,_0x49c018,_0x5a94d6);if(!_0x200530||'function'!=typeof _0x200530)return()=>{};let _0x2f5f3b=_0x200530['bind'](_0x200530),_0x5c559a=!0x1,_0x317262=()=>{_0x5c559a||(_0x5c559a=!0x0,_0x2f5f3b(),this['Yt']['delete'](_0x317262));};return this['Yt']['add'](_0x317262),_0x317262;}['pub'](_0x5f50b7,_0x50ccfa){this['Ni']()['pub'](_0x5f50b7,_0x50ccfa);}['set$'](_0x4102e){for(let [_0x5d6e20,_0x15f2fc]of Object['entries'](_0x4102e))this['pub'](_0x5d6e20,_0x15f2fc);}get['sharedCtx'](){return this['Ni']();}['has'](_0x52c900){return this['ee']?.['has'](_0x52c900)??!0x1;}['add'](_0x58eeb7,_0x282391,_0x4c114b=!0x1){let _0x1e6417=this['nn']();if(_0x1e6417)this['wt']['delete'](_0x58eeb7),_0x1e6417['add'](_0x58eeb7,_0x282391,_0x4c114b);else{if(!_0x4c114b&&this['wt']['has'](_0x58eeb7))return;this['wt']['set'](_0x58eeb7,{'value':_0x282391,'rewrite':_0x4c114b});}}['add$'](_0x28f756,_0x2906d7=!0x1){for(let [_0x8d11ca,_0x20e08c]of Object['entries'](_0x28f756))this['add'](_0x8d11ca,_0x20e08c,_0x2906d7);}['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 _0x4d8eb8=this['init$'];if(Object['keys'](_0x4d8eb8)['length']>0x0){let _0x29c8af=this['Ni']();for(let [_0x5652a1,_0x3f6e69]of Object['entries'](_0x4d8eb8))void 0x0===_0x29c8af['read'](_0x5652a1)&&_0x29c8af['pub'](_0x5652a1,_0x3f6e69),this['sub'](_0x5652a1,eU(async()=>{this['isConnected']&&(await this['updateComplete'],this['requestUpdate']());},0x0),!0x1);}this['initCallback'](),this['ke']=!0x0,this['requestUpdate']();}['firstUpdated'](_0x1b9a59){super['firstUpdated'](_0x1b9a59);}['disconnectedCallback'](){this['Vc'](),super['disconnectedCallback'](),this['Zt']&&(this['Xr']=!0x0);}['Vc'](){if(0x0!==this['Yt']['size']){for(let _0x177ade of[...this['Yt']])_0x177ade();this['Yt']['clear']();}}['initCallback'](){}}return SQ([JV({'type':String,'attribute':'ctx-name','noAccessor':!0x0})],_0x227706['prototype'],'en',0x1),SQ([tU()],_0x227706['prototype'],'rn',0x2),SQ([tU()],_0x227706['prototype'],'ctxName',0x2),SQ([tU()],_0x227706['prototype'],'ke',0x2),_0x227706;};}var nU=class extends GV(sU()(jV(HV(UV)))){},rU=class o{static['generateFastUid'](){return'uid-'+Date['now']()['toString'](0x24)+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0xb);}static['generateRandomUUID'](){let _0x113886=globalThis['crypto'];return _0x113886&&'function'==typeof _0x113886['randomUUID']?_0x113886['randomUUID']():o['generateFastUid']();}},oU=['UploaderBlock','ActivityBlock','Block','SolutionBlock'];function aU(_0x284d44){for(let _0x3ad7a3 in _0x284d44){if(oU['includes'](_0x3ad7a3))continue;let t=[..._0x3ad7a3]['reduce']((_0x595b8f,_0x52cf2c)=>(_0x52cf2c['toUpperCase']()===_0x52cf2c&&(_0x52cf2c='-'+_0x52cf2c['toLowerCase']()),_0x595b8f+=_0x52cf2c),'');t['startsWith']('-')&&(t=t['replace']('-','')),t['startsWith']('uc-')||(t='uc-'+t),_0x284d44[_0x3ad7a3]['reg']&&_0x284d44[_0x3ad7a3]['reg'](t);}}var cU='UC',lU={'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'},hU=new Map(),uU=new Map(),dU=(_0xb0b642,_0x39186b)=>{hU['has'](_0xb0b642)&&console['log']('Locale\x20'+_0xb0b642+'\x20is\x20already\x20defined.\x20Overwriting...');let t={...lU,..._0x39186b};return hU['set'](_0xb0b642,t),t;},fU=(_0x3ed243,_0x16f6fe)=>{'function'==typeof _0x16f6fe?((_0x24e422,_0x40a39d)=>{uU['set'](_0x24e422,_0x40a39d);})(_0x3ed243,_0x16f6fe):dU(_0x3ed243,_0x16f6fe);};fU('en',lU);var mU=_0x2b37df=>'*cfg/'+_0x2b37df,gU=_0x29e5a4=>_0x29e5a4?_0x29e5a4['split'](',')['map'](_0x3f9dfd=>_0x3f9dfd['trim']())['filter'](Boolean):[],pU=_0x10c72c=>_0x10c72c['join'](','),OU=_0x1c2a4f=>{if('string'!=typeof _0x1c2a4f||!_0x1c2a4f)return'';let _0x1fc926=_0x1c2a4f['trim']();return _0x1fc926['startsWith']('-/')?_0x1fc926=_0x1fc926['slice'](0x2):_0x1fc926['startsWith']('/')&&(_0x1fc926=_0x1fc926['slice'](0x1)),_0x1fc926['endsWith']('/')&&(_0x1fc926=_0x1fc926['slice'](0x0,_0x1fc926['length']-0x1)),_0x1fc926;},wU=(..._0x97b370)=>_0x97b370['filter'](_0x50eb1d=>'string'==typeof _0x50eb1d&&!!_0x50eb1d)['map'](_0x36ea3b=>OU(_0x36ea3b))['join']('/-/'),bU=(..._0x5b7f9d)=>{let _0x39af01=wU(..._0x5b7f9d);return _0x39af01?'-/'+_0x39af01+'/':'';};function yU(_0x1d4b81){let _0x327d76=new URL(_0x1d4b81),t=_0x327d76['pathname']+_0x327d76['search']+_0x327d76['hash'],_0x4ca6ef=t['lastIndexOf']('http'),_0x40161e=t['lastIndexOf']('/'),_0x2dc66b='';return _0x4ca6ef>=0x0?_0x2dc66b=t['slice'](_0x4ca6ef):_0x40161e>=0x0&&(_0x2dc66b=t['slice'](_0x40161e+0x1)),_0x2dc66b;}function vU(_0x17da50){let _0x4010b1=new URL(_0x17da50),{pathname:t}=_0x4010b1,_0x50fad5=t['indexOf']('/'),_0x3b7574=t['indexOf']('/',_0x50fad5+0x1);return t['substring'](_0x50fad5+0x1,_0x3b7574);}function _U(_0x30e22e){let _0x10273f=TU(_0x30e22e),t=new URL(_0x10273f),_0x139b9c=t['pathname']['indexOf']('/-/');return-0x1===_0x139b9c?'':t['pathname']['substring'](_0x139b9c)['slice'](0x1);}function EU(_0x2a21f6){return _U(_0x2a21f6)['split']('/-/')['filter'](Boolean)['map'](t=>OU(t));}function TU(_0x289fb3){let _0x1e0189=new URL(_0x289fb3),t=yU(_0x289fb3),_0x4b9e6d=AU(t)?IU(t)['pathname']:t;return _0x1e0189['pathname']=_0x1e0189['pathname']['replace'](_0x4b9e6d,''),_0x1e0189['search']='',_0x1e0189['hash']='',_0x1e0189['toString']();}function AU(_0x15e330){return _0x15e330['startsWith']('http');}function IU(_0x334288){let _0x5a47d4=new URL(_0x334288);return{'pathname':''+_0x5a47d4['origin']+(_0x5a47d4['pathname']??''),'search':_0x5a47d4['search']??'','hash':_0x5a47d4['hash']??''};}var SU=(_0x47ec6d,_0x445700,t)=>{let _0x129f80=new URL(TU(_0x47ec6d)),_0x4f2090=t??yU(_0x47ec6d),_0x1c3468=_0x445700??'';if(_0x129f80['pathname']['startsWith']('//')&&(_0x129f80['pathname']=_0x129f80['pathname']['replace']('//','/')),_0x4f2090&&AU(_0x4f2090)){let _0x19681a=IU(_0x4f2090);_0x129f80['pathname']=''+_0x129f80['pathname']+_0x1c3468+(_0x19681a['pathname']||''),_0x129f80['search']=_0x19681a['search'],_0x129f80['hash']=_0x19681a['hash'];}else _0x129f80['pathname']=''+_0x129f80['pathname']+_0x1c3468+(_0x4f2090||'');return _0x129f80['toString']();},CU=(_0x59669f,_0x337b5f)=>{let t=new URL(_0x59669f);return t['pathname']=_0x337b5f+'/',t['toString']();},kU=(_0x457825,_0x4afd44=',')=>_0x457825['trim']()['split'](_0x4afd44)['map'](t=>t['trim']())['filter'](t=>t['length']>0x0),xU=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}),RU=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function PU(_0x3f08f2){return wU(...RU['filter'](_0xe76458=>typeof _0x3f08f2[_0xe76458]<'u'&&null!==_0x3f08f2[_0xe76458])['map'](_0x1be6d6=>function(_0xb57e83,_0x28eeb8){if('number'==typeof _0x28eeb8){let t=_0x28eeb8;return xU[_0xb57e83]!==t?_0xb57e83+'/'+t:'';}if('boolean'==typeof _0x28eeb8){let t=_0x28eeb8;return xU[_0xb57e83]!==t?''+_0xb57e83:'';}if('filter'===_0xb57e83&&_0x28eeb8){let {name:t,amount:_0x1c26d8}=_0x28eeb8;return xU['filter']===_0x1c26d8?'':_0xb57e83+'/'+t+'/'+_0x1c26d8;}if('crop'===_0xb57e83&&_0x28eeb8){let {dimensions:t,coords:_0x464be1}=_0x28eeb8;return _0xb57e83+'/'+t['join']('x')+'/'+_0x464be1['join'](',');}return'';}(_0x1be6d6,_0x3f08f2[_0x1be6d6]))['filter'](_0xf11779=>!!_0xf11779));}var MU=wU('format/auto','progressive/yes'),NU=([_0x482f95])=>typeof _0x482f95<'u'?Number(_0x482f95):void 0x0,LU=()=>!0x0,$U=Object['freeze']({'enhance':NU,'brightness':NU,'exposure':NU,'gamma':NU,'contrast':NU,'saturation':NU,'vibrance':NU,'warmth':NU,'filter':([_0xac0c4c,_0x1c643d])=>({'name':_0xac0c4c,'amount':typeof _0x1c643d<'u'?Number(_0x1c643d):0x64}),'mirror':LU,'flip':LU,'rotate':NU,'crop':_0x49e36e=>{let [_0x8e41f9,t]=_0x49e36e,{dimensions:_0x4122ac,coords:_0x48e5a3}=(([_0x7dc1d9,_0x6799ed])=>{if(!/\d+x\d+/['test'](_0x7dc1d9)||!/\d+,\d+/['test'](_0x6799ed))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':kU(_0x7dc1d9,'x')['map'](Number),'coords':kU(_0x6799ed)['map'](Number)};})([_0x8e41f9,t]);return{'dimensions':_0x4122ac,'coords':_0x48e5a3};}});function DU(_0x272df1){let _0x4e8bb5={};for(let t of _0x272df1){let [_0x3ea070,..._0x29d346]=t['split']('/');if(!_0x3ea070||!RU['includes'](_0x3ea070))continue;let _0x55987e=_0x3ea070,_0x133064=$U[_0x55987e];try{let _0x49a1a2=_0x133064(_0x29d346);_0x4e8bb5[_0x55987e]=_0x49a1a2;}catch(_0x4830d0){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+t+'\x22.\x20It\x20will\x20be\x20ignored.',_0x4830d0 instanceof Error?'Error\x20message:\x20\x22'+_0x4830d0['message']+'\x22':_0x4830d0,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x20'));}}return _0x4e8bb5;}var QU=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),VU=Object['freeze']([QU['CROP'],QU['TUNING'],QU['FILTERS']]),UU=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),BU=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']),FU=Object['freeze'](['rotate','mirror','flip']),jU=xU,HU=Object['freeze']({'brightness':{'zero':jU['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':jU['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':jU['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':jU['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':jU['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':jU['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':jU['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':jU['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':jU['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),GU='https://ucarecdn.com',ZU={'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':GU,'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':pU(VU),'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0,'pasteScope':'local','plugins':[]},XU=Object['freeze'](ZU),qU=(_0x6fcdd6,_0x191331)=>(...t)=>{let _0x39bdf8=_0x6fcdd6();if(!_0x39bdf8['read'](mU('debug')))return;let _0x10e2b1=t;'function'==typeof t?.[0x0]&&(_0x10e2b1=(0x0,t[0x0])());let _0x38d241=[_0x39bdf8['id'],_0x191331]['filter'](Boolean);console['log']('['+_0x38d241['join']('][')+']',..._0x10e2b1);},WU=class{constructor(_0x42b668){this['to']=new Set(),this['Be']=null,this['w']=qU(()=>this['i']['ctx'],this['constructor']['name']),this['i']=_0x42b668,this['e']=_0x42b668['ctx'];}['addSub'](_0x550e25){this['to']['add'](_0x550e25);}get['ze'](){if(!this['Be']){let _0x46a87f={};this['Be']=new Proxy(_0x46a87f,{'set':()=>{throw new Error('SharedInstance\x20cfg\x20proxy\x20is\x20read-only');},'get':(t,_0x11e513)=>{if('string'!=typeof _0x11e513)return;let _0x566b8e=mU(_0x11e513);return this['i']['ctx']['has'](_0x566b8e)?this['i']['ctx']['read'](_0x566b8e):XU[_0x11e513];}});}return this['Be'];}['destroy'](){for(let _0x2aa369 of this['to'])try{_0x2aa369();}catch{}this['to']['clear']();}},zU={'modalManager':'*modalManager','pluginManager':'*pluginManager','telemetryManager':'*telemetryManager','localeManager':'*localeManager','a11y':'*a11y','clipboard':'*clipboard','blocksRegistry':'*blocksRegistry','eventEmitter':'*eventEmitter','uploadCollection':'*uploadCollection','secureUploadsManager':'*secureUploadsManager','api':'*publicApi','validationManager':'*validationManager'},YU=(_0x4acbd2,_0x18deb,t=!0x0)=>{let _0x63f9bf=_0x4acbd2['has'](_0x18deb),_0x1d3953=_0x63f9bf?_0x4acbd2['read'](_0x18deb):null;if(_0x63f9bf&&_0x1d3953||!t)return _0x1d3953;throw new Error('Unexpected\x20error:\x20shared\x20instance\x20for\x20key\x20\x22'+String(_0x18deb)+'\x22\x20is\x20not\x20available');},KU=_0x174930=>({get 'ctx'(){return _0x174930();},get 'modalManager'(){return YU(_0x174930(),'*modalManager',!0x1);},get 'pluginManager'(){return YU(_0x174930(),'*pluginManager');},get 'telemetryManager'(){return YU(_0x174930(),'*telemetryManager');},get 'localeManager'(){return YU(_0x174930(),'*localeManager');},get 'a11y'(){return YU(_0x174930(),'*a11y');},get 'blocksRegistry'(){return YU(_0x174930(),'*blocksRegistry');},get 'eventEmitter'(){return YU(_0x174930(),'*eventEmitter');},get 'uploadCollection'(){return YU(_0x174930(),'*uploadCollection');},get 'secureUploadsManager'(){return YU(_0x174930(),'*secureUploadsManager',!0x1);},get 'api'(){return YU(_0x174930(),'*publicApi');},get 'validationManager'(){return YU(_0x174930(),'*validationManager');},'when'(_0x45c008,t){let _0x24ee86,_0x120f08=zU[_0x45c008],_0x3d889d=_0x174930(),_0x593bb=_0x3d889d['has'](_0x120f08)?_0x3d889d['read'](_0x120f08):void 0x0;return _0x593bb?(t(_0x593bb),()=>{}):(_0x24ee86=_0x3d889d['sub'](_0x120f08,_0x36a7da=>{_0x36a7da&&(t(_0x36a7da),_0x24ee86?.());}),_0x24ee86);},'wait'(_0x17e63d){return new Promise(t=>{let _0x2bff07;_0x2bff07=this['when'](_0x17e63d,_0x301649=>{t(_0x301649),_0x2bff07?.();});});}}),JU=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),tB=class extends WU{constructor(){super(...arguments),this['He']=new Map(),this['ue']=new Set(),this['c']=new Map();}['registerModal'](t,_0x531e4c){this['He']['set'](t,_0x531e4c),this['q'](JU['ADD'],{'id':t,'modal':_0x531e4c});}['deleteModal'](t){let _0x4dbb45=this['He']['get'](t);return!!_0x4dbb45&&(this['He']['delete'](t),this['ue']['delete'](t),this['q'](JU['DELETE'],{'id':t,'modal':_0x4dbb45}),!0x0);}['open'](t){let _0x49d7ed=this['He']['get'](t);return _0x49d7ed?(this['ue']['add'](t),this['q'](JU['OPEN'],{'modal':_0x49d7ed,'id':t}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}['close'](t){let _0x2b72a0=this['He']['get'](t);return _0x2b72a0&&this['ue']['has'](t)?(this['ue']['delete'](t),this['q'](JU['CLOSE'],{'id':t,'modal':_0x2b72a0}),!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'](JU['CLOSE_ALL'],{}),t;}['subscribe'](t,_0x5b7b7f){return this['c']['has'](t)||this['c']['set'](t,new Set()),this['c']['get'](t)?.['add'](_0x5b7b7f),()=>this['unsubscribe'](t,_0x5b7b7f);}['unsubscribe'](t,_0x376b2f){this['c']['has'](t)&&this['c']['get'](t)?.['delete'](_0x376b2f);}['q'](t,_0x3aec88){if(this['c']['has'](t)){for(let _0x580631 of this['c']['get'](t)??new Set())try{_0x580631(_0x3aec88);}catch(_0x2642e7){this['i']['telemetryManager']['sendEventError'](_0x2642e7,'modal\x20subscriber'),this['w']('Error\x20in\x20modal\x20subscriber:',_0x2642e7);}}}['destroy'](){super['destroy'](),this['closeAll'](),this['He']['clear'](),this['c']['clear'](),this['q'](JU['DESTROY'],{});}},eB=_0x49cf34=>_0x49cf34['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x4a7bf7=>_0x4a7bf7['toLowerCase']())['join']('-');function iB(_0x554f99){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x554f99);}var sB=/\W|_/g;function nB(_0x1783b1){return _0x1783b1['split'](sB)['map']((_0x1faeb3,t)=>_0x1faeb3['charAt'](0x0)[t>0x0?'toUpperCase':'toLowerCase']()+_0x1faeb3['slice'](0x1))['join']('');}function rB(_0x4aee6e,{ignoreKeys:_0xf6a652}={'ignoreKeys':[]}){return Array['isArray'](_0x4aee6e)?_0x4aee6e['map'](t=>oB(t,{'ignoreKeys':_0xf6a652})):_0x4aee6e;}function oB(_0x3f8b8d,{ignoreKeys:_0x2fe4d7}={'ignoreKeys':[]}){if(Array['isArray'](_0x3f8b8d))return rB(_0x3f8b8d,{'ignoreKeys':_0x2fe4d7});if(!iB(_0x3f8b8d))return _0x3f8b8d;let t={};for(let _0x359677 of Object['keys'](_0x3f8b8d)){let _0x189f5c=_0x3f8b8d[_0x359677];_0x2fe4d7['includes'](_0x359677)?t[_0x359677]=_0x189f5c:(iB(_0x189f5c)?_0x189f5c=oB(_0x189f5c,{'ignoreKeys':_0x2fe4d7}):Array['isArray'](_0x189f5c)&&(_0x189f5c=rB(_0x189f5c,{'ignoreKeys':_0x2fe4d7})),t[nB(_0x359677)]=_0x189f5c);}return t;}function aB({libraryName:_0x26c113,libraryVersion:_0x59534f,userAgent:t,publicKey:_0x144519='',integration:_0x3aa85e=''}){let _0x3ea5db='JavaScript';return'string'==typeof t?t:'function'==typeof t?t({'publicKey':_0x144519,'libraryName':_0x26c113,'libraryVersion':_0x59534f,'languageName':_0x3ea5db,'integration':_0x3aa85e}):[_0x26c113,_0x59534f,_0x144519]['filter'](Boolean)['join']('/')+'\x20('+[_0x3ea5db,_0x3aa85e]['filter'](Boolean)['join'](';\x20')+')';}var cB={'factor':0x2,'time':0x64};function lB(_0x40c5c0,_0x426307=cB){let t=0x0;return function _0x27682d(_0x28c91c){let _0x527859=Math['round'](_0x426307['time']*_0x426307['factor']**t);return _0x28c91c({'attempt':t,'retry':_0x35729f=>(_0xb4111b=>new Promise(_0x1fe0e8=>setTimeout(_0x1fe0e8,_0xb4111b)))(_0x35729f??_0x527859)['then'](()=>(t+=0x1,_0x27682d(_0x28c91c)))});}(_0x40c5c0);}var hB=class extends Error{},uB=class o extends hB{['originalProgressEvent'];constructor(_0x10817c){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,o['prototype']),this['originalProgressEvent']=_0x10817c;}},dB=(_0x42e626,_0x5d9bf2)=>{_0x42e626&&(_0x42e626['aborted']?Promise['resolve']()['then'](_0x5d9bf2):_0x42e626['addEventListener']('abort',()=>_0x5d9bf2(),{'once':!0x0}));},fB=class o extends hB{['isCancel']=!0x0;constructor(_0x3fcc90='Request\x20canceled'){super(_0x3fcc90),this['name']='CancelError',Object['setPrototypeOf'](this,o['prototype']);}},mB=({check:_0x33ff2d,interval:_0xb05bef=0x1f4,timeout:t,signal:_0x430bab})=>new Promise((_0x17f942,_0x2a1274)=>{let _0x522d66,_0x43d7c5;dB(_0x430bab,()=>{_0x522d66&&clearTimeout(_0x522d66),_0x2a1274(new fB('Poll\x20cancelled'));}),t&&(_0x43d7c5=setTimeout(()=>{_0x522d66&&clearTimeout(_0x522d66),_0x2a1274(new fB('Timed\x20out'));},t));let _0x372e85=()=>{try{Promise['resolve'](_0x33ff2d(_0x430bab))['then'](_0x53662b=>{_0x53662b?(_0x43d7c5&&clearTimeout(_0x43d7c5),_0x17f942(_0x53662b)):_0x522d66=setTimeout(_0x372e85,_0xb05bef);})['catch'](_0x4e144a=>{_0x43d7c5&&clearTimeout(_0x43d7c5),_0x2a1274(_0x4e144a);});}catch(_0x55c67b){_0x43d7c5&&clearTimeout(_0x43d7c5),_0x2a1274(_0x55c67b);}};_0x522d66=setTimeout(_0x372e85,0x0);}),gB='https://ucarecdn.com',pB='https://upload.uploadcare.com',OB=0x1,wB=0x3,bB=0x1900000,yB=0x500000,vB=0x4,_B='79ae88bd931ea68464d9',EB='application/octet-stream',TB=({method:_0x5f3c79,url:_0x43490d,data:t,headers:_0x364b7c={},signal:_0x429cc8,onProgress:_0x2053b1})=>new Promise((_0x40441d,_0x27023e)=>{let _0x1bc7e8=new XMLHttpRequest(),_0x1468c3=_0x5f3c79?.['toUpperCase']()||'GET',_0x3aab3b=!0x1;_0x1bc7e8['open'](_0x1468c3,_0x43490d,!0x0),_0x364b7c&&Object['entries'](_0x364b7c)['forEach'](_0x40c6f9=>{let [_0x35c5a4,_0x3c5261]=_0x40c6f9;typeof _0x3c5261<'u'&&!Array['isArray'](_0x3c5261)&&_0x1bc7e8['setRequestHeader'](_0x35c5a4,_0x3c5261);}),_0x1bc7e8['responseType']='text',dB(_0x429cc8,()=>{_0x3aab3b=!0x0,_0x1bc7e8['abort'](),_0x27023e(new fB());}),_0x1bc7e8['onload']=()=>{if(0xc8!=_0x1bc7e8['status'])_0x27023e(new Error('Error\x20'+_0x1bc7e8['status']+':\x20'+_0x1bc7e8['statusText']));else{let _0x3f5af5={'method':_0x1468c3,'url':_0x43490d,'data':t,'headers':_0x364b7c||void 0x0,'signal':_0x429cc8,'onProgress':_0x2053b1},_0x1303a9=_0x1bc7e8['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x363630={};_0x1303a9['forEach'](function(_0x31b48b){let _0x1c2ada=_0x31b48b['split'](':\x20'),_0x1b2e34=_0x1c2ada['shift'](),_0x13f8c9=_0x1c2ada['join'](':\x20');_0x1b2e34&&typeof _0x1b2e34<'u'&&(_0x363630[_0x1b2e34]=_0x13f8c9);});let _0x10444a=_0x1bc7e8['response'],_0x46aef0=_0x1bc7e8['status'];_0x40441d({'request':_0x3f5af5,'data':_0x10444a,'headers':_0x363630,'status':_0x46aef0});}},_0x1bc7e8['onerror']=_0x34e34d=>{_0x3aab3b||_0x27023e(new uB(_0x34e34d));},_0x2053b1&&'function'==typeof _0x2053b1&&(_0x1bc7e8['upload']['onprogress']=_0x507f73=>{_0x507f73['lengthComputable']?_0x2053b1({'isComputable':!0x0,'value':_0x507f73['loaded']/_0x507f73['total']}):_0x2053b1({'isComputable':!0x1});}),t?_0x1bc7e8['send'](t):_0x1bc7e8['send']();}),AB=function(_0x5d3904,..._0x21d6aa){return _0x5d3904;},IB=_0x12a793=>typeof Blob<'u'&&_0x12a793 instanceof Blob,SB=_0x32ce33=>typeof File<'u'&&_0x32ce33 instanceof File,CB=_0x50e88a=>!!_0x50e88a&&'object'==typeof _0x50e88a&&!Array['isArray'](_0x50e88a)&&'uri'in _0x50e88a&&'string'==typeof _0x50e88a['uri'],kB=_0x10cff4=>IB(_0x10cff4)||SB(_0x10cff4)||CB(_0x10cff4);function xB(_0x1d15d0,_0x28cd07,t){if(Array['isArray'](t)){for(let _0x21c96d of t)xB(_0x1d15d0,_0x28cd07+'[]',_0x21c96d);}else{if((_0x38d50e=>!!_0x38d50e&&'object'==typeof _0x38d50e&&'data'in _0x38d50e&&kB(_0x38d50e['data']))(t)){let {name:_0x23efbe,contentType:_0x1588f3}=t,_0x3a9815=AB(t['data'],_0x23efbe,_0x1588f3??EB),_0x4795f0=(({name:_0x4df696})=>_0x4df696?[_0x4df696]:[])({'name':_0x23efbe});_0x1d15d0['push']([_0x28cd07,_0x3a9815,..._0x4795f0]);}else{if((_0x426c9a=>!!_0x426c9a&&'object'==typeof _0x426c9a&&!Array['isArray'](_0x426c9a))(t)){for(let [_0x344bc4,_0x2d029d]of Object['entries'](t))typeof _0x2d029d<'u'&&_0x1d15d0['push']([_0x28cd07+'['+_0x344bc4+']',String(_0x2d029d)]);}else(_0x42a637=>'string'==typeof _0x42a637||'number'==typeof _0x42a637||typeof _0x42a637>'u')(t)&&t&&_0x1d15d0['push']([_0x28cd07,t['toString']()]);}}}function RB(_0x35f8b7){let _0x323d78=new FormData(),t=function(_0x5207b3){let _0x9e95e5=[];for(let [t,_0x35a410]of Object['entries'](_0x5207b3))xB(_0x9e95e5,t,_0x35a410);return _0x9e95e5;}(_0x35f8b7);for(let _0x56d6e4 of t){let [_0x175bc3,_0x2adc36,..._0x4c2b56]=_0x56d6e4;_0x323d78['append'](_0x175bc3,_0x2adc36,..._0x4c2b56);}return _0x323d78;}var PB=class o extends hB{['code'];['request'];['response'];['headers'];constructor(_0x18ea80,t,_0x3cc940,_0x51dc37,_0x5bc401){super(),this['name']='UploadError',this['message']=_0x18ea80,this['code']=t,this['request']=_0x3cc940,this['response']=_0x51dc37,this['headers']=_0x5bc401,Object['setPrototypeOf'](this,o['prototype']);}},MB=(_0x380555,_0x3274ec,t)=>{let _0x558cfb=new URL(_0x380555);return _0x558cfb['pathname']=(_0x558cfb['pathname']+_0x3274ec)['replace']('//','/'),t&&(_0x558cfb['search']=(_0x17c6ae=>{let _0x52752a=new URLSearchParams();for(let [t,_0x3b312f]of Object['entries'](_0x17c6ae))_0x3b312f&&'object'==typeof _0x3b312f&&!Array['isArray'](_0x3b312f)?Object['entries'](_0x3b312f)['filter'](_0x5adc73=>_0x5adc73[0x1]??!0x1)['forEach'](_0x1add28=>_0x52752a['set'](t+'['+_0x1add28[0x0]+']',String(_0x1add28[0x1]))):Array['isArray'](_0x3b312f)?_0x3b312f['forEach'](_0x4fd61c=>{_0x52752a['append'](t+'[]',_0x4fd61c);}):'string'==typeof _0x3b312f&&_0x3b312f?_0x52752a['set'](t,_0x3b312f):'number'==typeof _0x3b312f&&_0x52752a['set'](t,_0x3b312f['toString']());return _0x52752a['toString']();})(t)),_0x558cfb['toString']();};function NB(_0x373585){return aB({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.4',..._0x373585});}function LB(_0x38da46,_0x2f5f6e){let {retryThrottledRequestMaxTimes:t,retryNetworkErrorMaxTimes:_0x4ffb58}=_0x2f5f6e;return lB(({attempt:_0x4d321b,retry:_0x43c84f})=>_0x38da46()['catch'](_0x5870d7=>{if('response'in _0x5870d7&&'RequestThrottledError'===_0x5870d7?.['code']&&_0x4d321b<t)return _0x43c84f(function(_0x431d63){let {headers:_0x96c12}=_0x431d63||{};if(!_0x96c12||'string'!=typeof _0x96c12['retry-after'])return 0x3a98;let t=parseInt(_0x96c12['retry-after'],0xa);return Number['isFinite'](t)?0x3e8*t:0x3a98;}(_0x5870d7));if(_0x5870d7 instanceof uB&&_0x4d321b<_0x4ffb58)return _0x43c84f(0x3e8*(_0x4d321b+0x1));throw _0x5870d7;}));}var $B,DB,QB=_0x59e6d9=>{let _0x216475='';return(IB(_0x59e6d9)||SB(_0x59e6d9)||CB(_0x59e6d9))&&(_0x216475=_0x59e6d9['type']),_0x216475||EB;},VB=_0x52529b=>{let _0x568be6='';return SB(_0x52529b)&&_0x52529b['name']?_0x568be6=_0x52529b['name']:IB(_0x52529b)?_0x568be6='':CB(_0x52529b)&&_0x52529b['name']&&(_0x568be6=_0x52529b['name']),_0x568be6||'original';};function UB(_0xba05d9){return typeof _0xba05d9>'u'||'auto'===_0xba05d9?'auto':_0xba05d9?'1':'0';}!function(_0x225133){_0x225133['Token']='token',_0x225133['FileInfo']='file_info';}($B||($B={})),function(_0x1ade2d){_0x1ade2d['Unknown']='unknown',_0x1ade2d['Waiting']='waiting',_0x1ade2d['Progress']='progress',_0x1ade2d['Error']='error',_0x1ade2d['Success']='success';}(DB||(DB={}));function BB(_0x2faf0c,{publicKey:_0x5bcfd1,baseURL:t=pB,signal:_0xbf2c4f,integration:_0x4da01e,userAgent:_0x210968,retryThrottledRequestMaxTimes:_0x494d99=OB,retryNetworkErrorMaxTimes:_0x54686f=wB}={}){return LB(()=>TB({'method':'GET','headers':_0x5bcfd1?{'X-UC-User-Agent':NB({'publicKey':_0x5bcfd1,'integration':_0x4da01e,'userAgent':_0x210968})}:void 0x0,'url':MB(t,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2faf0c}),'signal':_0xbf2c4f})['then'](({data:_0x1956b5,headers:_0x391cbf,request:_0x5b2d44})=>{let _0x493f73=oB(JSON['parse'](_0x1956b5));if('error'in _0x493f73&&!(_0x22be50=>'status'in _0x22be50&&_0x22be50['status']===DB['Error'])(_0x493f73))throw new PB(_0x493f73['error']['content'],_0x493f73['error']['errorCode'],_0x5b2d44,_0x493f73,_0x391cbf);return _0x493f73;}),{'retryNetworkErrorMaxTimes':_0x54686f,'retryThrottledRequestMaxTimes':_0x494d99});}function FB(_0x354350,{publicKey:_0x44a2d2,baseURL:t=pB,signal:_0x87a9e5,source:_0x17c5d2,integration:_0x539409,userAgent:_0x2b3dcf,retryThrottledRequestMaxTimes:_0xcc3877=OB,retryNetworkErrorMaxTimes:_0x126488=wB}){return LB(()=>TB({'method':'GET','headers':{'X-UC-User-Agent':NB({'publicKey':_0x44a2d2,'integration':_0x539409,'userAgent':_0x2b3dcf})},'url':MB(t,'/info/',{'jsonerrors':0x1,'pub_key':_0x44a2d2,'file_id':_0x354350,'source':_0x17c5d2}),'signal':_0x87a9e5})['then'](({data:_0x13e33b,headers:_0x4b1b2a,request:_0x2ab0c9})=>{let _0x1322b7=oB(JSON['parse'](_0x13e33b));if('error'in _0x1322b7)throw new PB(_0x1322b7['error']['content'],_0x1322b7['error']['errorCode'],_0x2ab0c9,_0x1322b7,_0x4b1b2a);return _0x1322b7;}),{'retryThrottledRequestMaxTimes':_0xcc3877,'retryNetworkErrorMaxTimes':_0x126488});}function jB(_0x4bc033,{publicKey:_0x531452,baseURL:t,source:_0x573648,integration:_0x2a6561,userAgent:_0x24febd,retryThrottledRequestMaxTimes:_0x3484cc,retryNetworkErrorMaxTimes:_0x23dec6,signal:_0x2a3b9e,onProgress:_0x5892a6}){return mB({'check':_0xbbdbf1=>FB(_0x4bc033,{'publicKey':_0x531452,'baseURL':t,'signal':_0xbbdbf1,'source':_0x573648,'integration':_0x2a6561,'userAgent':_0x24febd,'retryThrottledRequestMaxTimes':_0x3484cc,'retryNetworkErrorMaxTimes':_0x23dec6})['then'](_0x5a852b=>_0x5a852b['isReady']?_0x5a852b:(_0x5892a6&&_0x5892a6({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x2a3b9e});}var HB=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x368fde,{baseCDN:t=gB,fileName:_0x84052a}={}){let {uuid:_0x2dba95,s3Bucket:_0x27eaa3}=_0x368fde,_0x11b109=MB(t,_0x2dba95+'/'),_0x1e2811=_0x27eaa3?MB('https://'+_0x27eaa3+'.s3.amazonaws.com/',_0x2dba95+'/'+_0x368fde['filename']):null;this['uuid']=_0x2dba95,this['name']=_0x84052a||_0x368fde['filename'],this['size']=_0x368fde['size'],this['isStored']=_0x368fde['isStored'],this['isImage']=_0x368fde['isImage'],this['mimeType']=_0x368fde['mimeType'],this['cdnUrl']=_0x11b109,this['originalFilename']=_0x368fde['originalFilename'],this['imageInfo']=_0x368fde['imageInfo'],this['videoInfo']=_0x368fde['videoInfo'],this['contentInfo']=_0x368fde['contentInfo'],this['metadata']=_0x368fde['metadata']||null,this['s3Bucket']=_0x27eaa3||null,this['s3Url']=_0x1e2811,function(_0x5c237e){return'defaultEffects'in _0x5c237e;}(_0x368fde)&&(this['defaultEffects']=_0x368fde['defaultEffects']);}},GB=(_0x22ce8a,{publicKey:_0xdeef27,fileName:t,baseURL:_0x3ebc9a,secureSignature:_0x1be0ba,secureExpire:_0x47f772,store:_0x3b5c47,contentType:_0x146a47,signal:_0x39adc0,onProgress:_0x1781e2,source:_0x2b2b3d,integration:_0x4d1b59,userAgent:_0x2655ad,retryThrottledRequestMaxTimes:_0x97c246,retryNetworkErrorMaxTimes:_0x44eb2b,baseCDN:_0x560b95,metadata:_0x285258})=>function(_0x5700aa,{publicKey:_0x47f0f5,fileName:t,contentType:_0x315822,baseURL:_0x5a59f2=pB,secureSignature:_0x24dd5e,secureExpire:_0x5d01ff,store:_0x1e2ec9,signal:_0x568e99,onProgress:_0x392eec,source:_0x5df2b8='local',integration:_0x3fb5d1,userAgent:_0x1d99d1,retryThrottledRequestMaxTimes:_0x7252ee=OB,retryNetworkErrorMaxTimes:_0x586143=wB,metadata:_0x27cda5}){return LB(()=>TB({'method':'POST','url':MB(_0x5a59f2,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':NB({'publicKey':_0x47f0f5,'integration':_0x3fb5d1,'userAgent':_0x1d99d1})},'data':RB({'file':{'data':_0x5700aa,'name':t||VB(_0x5700aa),'contentType':_0x315822||QB(_0x5700aa)},'UPLOADCARE_PUB_KEY':_0x47f0f5,'UPLOADCARE_STORE':UB(_0x1e2ec9),'signature':_0x24dd5e,'expire':_0x5d01ff,'source':_0x5df2b8,'metadata':_0x27cda5}),'signal':_0x568e99,'onProgress':_0x392eec})['then'](({data:_0x69a6a4,headers:_0x40305a,request:_0x4c87b9})=>{let _0x37991b=oB(JSON['parse'](_0x69a6a4));if('error'in _0x37991b)throw new PB(_0x37991b['error']['content'],_0x37991b['error']['errorCode'],_0x4c87b9,_0x37991b,_0x40305a);return _0x37991b;}),{'retryNetworkErrorMaxTimes':_0x586143,'retryThrottledRequestMaxTimes':_0x7252ee});}(_0x22ce8a,{'publicKey':_0xdeef27,'fileName':t,'contentType':_0x146a47,'baseURL':_0x3ebc9a,'secureSignature':_0x1be0ba,'secureExpire':_0x47f772,'store':_0x3b5c47,'signal':_0x39adc0,'onProgress':_0x1781e2,'source':_0x2b2b3d,'integration':_0x4d1b59,'userAgent':_0x2655ad,'retryThrottledRequestMaxTimes':_0x97c246,'retryNetworkErrorMaxTimes':_0x44eb2b,'metadata':_0x285258})['then'](({file:_0x4c711b})=>jB(_0x4c711b,{'publicKey':_0xdeef27,'baseURL':_0x3ebc9a,'source':_0x2b2b3d,'integration':_0x4d1b59,'userAgent':_0x2655ad,'retryThrottledRequestMaxTimes':_0x97c246,'retryNetworkErrorMaxTimes':_0x44eb2b,'onProgress':_0x1781e2,'signal':_0x39adc0}))['then'](_0x152d67=>new HB(_0x152d67,{'baseCDN':_0x560b95})),ZB=(_0x312f86,{signal:_0x844ffa}={})=>{let t=null,_0xb00365=null,_0x3a0fc6=_0x312f86['map'](()=>new AbortController());return dB(_0x844ffa,()=>{_0x3a0fc6['forEach'](_0x8854c2=>_0x8854c2['abort']());}),Promise['all'](_0x312f86['map']((_0x4f97ca,_0x17689e)=>{let _0x4bb8cf=(_0xe37647=>()=>{_0xb00365=_0xe37647,_0x3a0fc6['forEach']((_0x1aa3e1,_0xbb078)=>_0xbb078!==_0xe37647&&_0x1aa3e1['abort']());})(_0x17689e);return Promise['resolve']()['then'](()=>_0x4f97ca({'stopRace':_0x4bb8cf,'signal':_0x3a0fc6[_0x17689e]['signal']}))['then'](_0x3eeb64=>(_0x4bb8cf(),_0x3eeb64))['catch'](_0x2705fa=>(t=_0x2705fa,null));}))['then'](_0x6d5d0b=>{if(null===_0xb00365)throw t;return _0x6d5d0b[_0xb00365];});},XB=window['WebSocket'],qB=class{['events']=Object['create']({});['emit'](_0x470279,t){this['events'][_0x470279]?.['forEach'](_0xb4de66=>_0xb4de66(t));}['on'](_0x47bae1,t){this['events'][_0x47bae1]=this['events'][_0x47bae1]||[],this['events'][_0x47bae1]['push'](t);}['off'](_0x30e864,t){this['events'][_0x30e864]=t?this['events'][_0x30e864]['filter'](_0x18d483=>_0x18d483!==t):[];}},WB=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new qB();['disconnectTimeoutId']=null;constructor(_0xb0d5c5,t=0x7530){this['key']=_0xb0d5c5,this['disconnectTime']=t;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){let _0x3a3bc2='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new XB(_0x3a3bc2),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 _0x352ce0=JSON['parse'](t['data']['toString']());switch(_0x352ce0['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'](_0x352ce0['channel'],((_0x4bbda5,_0x20a35b)=>'success'===_0x4bbda5?{'status':DB['Success'],..._0x20a35b}:'progress'===_0x4bbda5?{'status':DB['Progress'],..._0x20a35b}:{'status':DB['Error'],..._0x20a35b})(_0x352ce0['event'],JSON['parse'](_0x352ce0['data'])));}});}}['disconnect'](){let _0x55b59a=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x55b59a();},this['disconnectTime']):_0x55b59a();}['send'](_0xe3f815,t){let _0x10c229=JSON['stringify']({'event':_0xe3f815,'data':t});this['ws']?.['send'](_0x10c229);}['subscribe'](_0x5dc017,t){this['subscribers']+=0x1,this['connect']();let _0x31c561='task-status-'+_0x5dc017,_0x8de986={'event':'pusher:subscribe','data':{'channel':_0x31c561}};this['emmitter']['on'](_0x31c561,t),this['isConnected']?this['send'](_0x8de986['event'],_0x8de986['data']):this['queue']['push'](_0x8de986);}['unsubscribe'](_0x16f195){this['subscribers']-=0x1;let t='task-status-'+_0x16f195,_0x230516={'event':'pusher:unsubscribe','data':{'channel':t}};this['emmitter']['off'](t),this['isConnected']?this['send'](_0x230516['event'],_0x230516['data']):this['queue']=this['queue']['filter'](_0x442ab3=>_0x442ab3['data']['channel']!==t),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x51b019){return this['emmitter']['on']('error',_0x51b019),()=>this['emmitter']['off']('error',_0x51b019);}},zB=null,YB=_0x3a8c62=>{if(!zB){let _0x2a9216=typeof window>'u'?0x0:0x7530;zB=new WB(_0x3a8c62,_0x2a9216);}return zB;},KB=(_0x1ae6e2,{publicKey:_0x2361a4,fileName:t,baseURL:_0x156061,baseCDN:_0x57f4dc,checkForUrlDuplicates:_0x250b8b,saveUrlForRecurrentUploads:_0x13c873,secureSignature:_0x3ad45e,secureExpire:_0xe56dce,store:_0x500b36,signal:_0x5e2d68,onProgress:_0x4f0bd1,source:_0x20ddfa,integration:_0x5c659a,userAgent:_0x5eea3e,retryThrottledRequestMaxTimes:_0x293f44,pusherKey:_0x20c29c=_B,metadata:_0x2a28e8})=>Promise['resolve']((_0x5c604f=>{YB(_0x5c604f)['connect']();})(_0x20c29c))['then'](()=>function(_0x202e08,{publicKey:_0x2b0d79,baseURL:t=pB,store:_0x5655b2,fileName:_0x502554,checkForUrlDuplicates:_0x377e55,saveUrlForRecurrentUploads:_0x41838c,secureSignature:_0x3a482c,secureExpire:_0x3298d2,source:_0x1f4884='url',signal:_0x31c0a6,integration:_0x4f6d5c,userAgent:_0x2cfd4b,retryThrottledRequestMaxTimes:_0x4bbc44=OB,retryNetworkErrorMaxTimes:_0x3dd5bb=wB,metadata:_0x22fb11}){return LB(()=>TB({'method':'POST','headers':{'X-UC-User-Agent':NB({'publicKey':_0x2b0d79,'integration':_0x4f6d5c,'userAgent':_0x2cfd4b})},'url':MB(t,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x2b0d79,'source_url':_0x202e08,'store':UB(_0x5655b2),'filename':_0x502554,'check_URL_duplicates':_0x377e55?0x1:void 0x0,'save_URL_duplicates':_0x41838c?0x1:void 0x0,'signature':_0x3a482c,'expire':_0x3298d2,'source':_0x1f4884,'metadata':_0x22fb11}),'signal':_0x31c0a6})['then'](({data:_0x4ccb51,headers:_0x4fa8ae,request:_0x35d7a4})=>{let _0x1bd14=oB(JSON['parse'](_0x4ccb51));if('error'in _0x1bd14)throw new PB(_0x1bd14['error']['content'],_0x1bd14['error']['errorCode'],_0x35d7a4,_0x1bd14,_0x4fa8ae);return _0x1bd14;}),{'retryNetworkErrorMaxTimes':_0x3dd5bb,'retryThrottledRequestMaxTimes':_0x4bbc44});}(_0x1ae6e2,{'publicKey':_0x2361a4,'fileName':t,'baseURL':_0x156061,'checkForUrlDuplicates':_0x250b8b,'saveUrlForRecurrentUploads':_0x13c873,'secureSignature':_0x3ad45e,'secureExpire':_0xe56dce,'store':_0x500b36,'signal':_0x5e2d68,'source':_0x20ddfa,'integration':_0x5c659a,'userAgent':_0x5eea3e,'retryThrottledRequestMaxTimes':_0x293f44,'metadata':_0x2a28e8}))['catch'](_0xc7173e=>(YB(_0x20c29c)?.['disconnect'](),Promise['reject'](_0xc7173e)))['then'](_0x5e9c67=>_0x5e9c67['type']===$B['FileInfo']?_0x5e9c67:ZB([({signal:_0x44da46})=>function({token:_0xfcef09,publicKey:_0x5a2fe0,baseURL:t,integration:_0x393dae,userAgent:_0x1a6e9f,retryThrottledRequestMaxTimes:_0x3bee22,retryNetworkErrorMaxTimes:_0x44cb94,onProgress:_0x3fb7a6,signal:_0x5286a7}){return mB({'check':_0x26caa3=>BB(_0xfcef09,{'publicKey':_0x5a2fe0,'baseURL':t,'integration':_0x393dae,'userAgent':_0x1a6e9f,'retryThrottledRequestMaxTimes':_0x3bee22,'retryNetworkErrorMaxTimes':_0x44cb94,'signal':_0x26caa3})['then'](_0x5911cd=>{switch(_0x5911cd['status']){case DB['Error']:return new PB(_0x5911cd['error'],_0x5911cd['errorCode']);case DB['Waiting']:return!0x1;case DB['Unknown']:return new PB('Token\x20\x22'+_0xfcef09+'\x22\x20was\x20not\x20found.');case DB['Progress']:return _0x3fb7a6&&('unknown'===_0x5911cd['total']?_0x3fb7a6({'isComputable':!0x1}):_0x3fb7a6({'isComputable':!0x0,'value':_0x5911cd['done']/_0x5911cd['total']})),!0x1;case DB['Success']:return _0x3fb7a6&&_0x3fb7a6({'isComputable':!0x0,'value':_0x5911cd['done']/_0x5911cd['total']}),_0x5911cd;default:throw new Error('Unknown\x20status');}}),'signal':_0x5286a7});}({'token':_0x5e9c67['token'],'publicKey':_0x2361a4,'baseURL':_0x156061,'integration':_0x5c659a,'userAgent':_0x5eea3e,'retryThrottledRequestMaxTimes':_0x293f44,'onProgress':_0x4f0bd1,'signal':_0x44da46}),({signal:_0x147669})=>(({token:_0x3c85a4,pusherKey:_0x49dcc4,signal:t,onProgress:_0x42d9b5})=>new Promise((_0x5373a0,_0x44dedb)=>{let _0x3ec6c5=YB(_0x49dcc4),_0x18d6f9=_0x3ec6c5['onError'](_0x44dedb),_0xba0968=()=>{_0x18d6f9(),_0x3ec6c5['unsubscribe'](_0x3c85a4);};dB(t,()=>{_0xba0968(),_0x44dedb(new fB('pusher\x20cancelled'));}),_0x3ec6c5['subscribe'](_0x3c85a4,_0x29615b=>{switch(_0x29615b['status']){case DB['Progress']:_0x42d9b5&&('unknown'===_0x29615b['total']?_0x42d9b5({'isComputable':!0x1}):_0x42d9b5({'isComputable':!0x0,'value':_0x29615b['done']/_0x29615b['total']}));break;case DB['Success']:_0xba0968(),_0x42d9b5&&_0x42d9b5({'isComputable':!0x0,'value':_0x29615b['done']/_0x29615b['total']}),_0x5373a0(_0x29615b);break;case DB['Error']:_0xba0968(),_0x44dedb(new PB(_0x29615b['msg'],_0x29615b['error_code']));}});}))({'token':_0x5e9c67['token'],'pusherKey':_0x20c29c,'signal':_0x147669,'onProgress':_0x4f0bd1})],{'signal':_0x5e2d68}))['then'](_0x38c5ee=>{if(_0x38c5ee instanceof PB)throw _0x38c5ee;return _0x38c5ee;})['then'](_0x4f330f=>jB(_0x4f330f['uuid'],{'publicKey':_0x2361a4,'baseURL':_0x156061,'integration':_0x5c659a,'userAgent':_0x5eea3e,'retryThrottledRequestMaxTimes':_0x293f44,'onProgress':_0x4f0bd1,'signal':_0x5e2d68}))['then'](_0x49b25b=>new HB(_0x49b25b,{'baseCDN':_0x57f4dc})),JB=new WeakMap(),tF=async _0x15df3d=>{if(SB(_0x15df3d)||IB(_0x15df3d))return _0x15df3d['size'];if(CB(_0x15df3d))return(await(async _0x3f89b1=>{if(JB['has'](_0x3f89b1))return JB['get'](_0x3f89b1);let _0x21ec5c=await fetch(_0x3f89b1['uri'])['then'](t=>t['blob']());return JB['set'](_0x3f89b1,_0x21ec5c),_0x21ec5c;})(_0x15df3d))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},eF=_0x2ab08c=>{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!kB(_0x2ab08c)&&t['test'](_0x2ab08c);},iF=_0x43750b=>{let t=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!kB(_0x43750b)&&t['test'](_0x43750b);},sF=(_0x3cf68c,_0x290f60)=>new Promise((t,_0x20ce31)=>{let _0x23d603=[],_0x92e28a=!0x1,_0x29c5cc=_0x290f60['length'],_0x39c223=[..._0x290f60],_0x8f43fc=()=>{let _0x181735=_0x290f60['length']-_0x39c223['length'],_0x54a3ab=_0x39c223['shift']();_0x54a3ab&&_0x54a3ab()['then'](_0xa7796b=>{_0x92e28a||(_0x23d603[_0x181735]=_0xa7796b,_0x29c5cc-=0x1,_0x29c5cc?_0x8f43fc():t(_0x23d603));})['catch'](_0x845d27=>{_0x92e28a=!0x0,_0x20ce31(_0x845d27);});};for(let _0x4974df=0x0;_0x4974df<_0x3cf68c;_0x4974df++)_0x8f43fc();}),nF=async(_0x578bc8,_0x26ea75,t)=>_0x2f16e3=>((_0x4ccd19,_0x2135ee,t,_0x4e98f1)=>{let _0x267fb9=_0x4e98f1*_0x2135ee,_0x491556=Math['min'](_0x267fb9+_0x4e98f1,t);return _0x4ccd19['slice'](_0x267fb9,_0x491556);})(_0x578bc8,_0x2f16e3,_0x26ea75,t),rF=(_0x19de7b,_0x2a2f1d,{publicKey:t,contentType:_0x2d9825,onProgress:_0x3807c6,signal:_0x4324f0,integration:_0x41ecc5,retryThrottledRequestMaxTimes:_0x254a6c,retryNetworkErrorMaxTimes:_0x36cdd1})=>function(_0x36ed33,_0x251b6e,{contentType:t,signal:_0x3459ad,onProgress:_0x12eb8e,retryThrottledRequestMaxTimes:_0x70d8cb=OB,retryNetworkErrorMaxTimes:_0x483fda=wB}){return LB(()=>TB({'method':'PUT','url':_0x251b6e,'data':_0x36ed33,'onProgress':_0x12eb8e,'signal':_0x3459ad,'headers':{'Content-Type':t||EB}})['then'](_0x2437fb=>(_0x12eb8e&&_0x12eb8e({'isComputable':!0x0,'value':0x1}),_0x2437fb))['then'](({status:_0x4fd6d6})=>({'code':_0x4fd6d6})),{'retryThrottledRequestMaxTimes':_0x70d8cb,'retryNetworkErrorMaxTimes':_0x483fda});}(_0x19de7b,_0x2a2f1d,{'contentType':_0x2d9825,'onProgress':_0x3807c6,'signal':_0x4324f0,'retryThrottledRequestMaxTimes':_0x254a6c,'retryNetworkErrorMaxTimes':_0x36cdd1}),oF=async(_0x8e9105,{publicKey:_0x52faea,fileName:t,fileSize:_0x4772a7,baseURL:_0x61001e,secureSignature:_0x560b13,secureExpire:_0x246c36,store:_0x232c7b,signal:_0x37dac8,onProgress:_0x3110d6,source:_0x524d22,integration:_0x4026c4,userAgent:_0x2155ee,retryThrottledRequestMaxTimes:_0x346fcb,retryNetworkErrorMaxTimes:_0x5337d1,contentType:_0x2cdb42,multipartChunkSize:_0x5017ae=yB,maxConcurrentRequests:_0x43aeec=vB,baseCDN:_0x38797d,metadata:_0x8eef52})=>{let _0x308967,_0x38703b=_0x4772a7??await tF(_0x8e9105),_0x189023=(_0x3d5c2a,_0x399842)=>{if(!_0x3110d6)return;_0x308967||(_0x308967=Array(_0x3d5c2a)['fill'](0x0));let _0x31f2d8=_0x38977c=>_0x38977c['reduce']((_0x5978ea,_0x56db7a)=>_0x5978ea+_0x56db7a,0x0);return _0x296ab9=>{_0x296ab9['isComputable']&&(_0x308967[_0x399842]=_0x296ab9['value'],_0x3110d6({'isComputable':!0x0,'value':_0x31f2d8(_0x308967)/_0x3d5c2a}));};};return _0x2cdb42||=QB(_0x8e9105),function(_0x4ba66d,{publicKey:_0x3c344d,contentType:t,fileName:_0x542a29,multipartChunkSize:_0x28f49c=yB,baseURL:_0x48ee2e='',secureSignature:_0xebca34,secureExpire:_0x57d714,store:_0x579ac7,signal:_0xaedc16,source:_0x2b87c1='local',integration:_0x59a597,userAgent:_0x76473c,retryThrottledRequestMaxTimes:_0x53cabd=OB,retryNetworkErrorMaxTimes:_0x5295d9=wB,metadata:_0x12f6cf}){return LB(()=>TB({'method':'POST','url':MB(_0x48ee2e,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':NB({'publicKey':_0x3c344d,'integration':_0x59a597,'userAgent':_0x76473c})},'data':RB({'filename':_0x542a29,'size':_0x4ba66d,'content_type':t||EB,'part_size':_0x28f49c,'UPLOADCARE_STORE':UB(_0x579ac7),'UPLOADCARE_PUB_KEY':_0x3c344d,'signature':_0xebca34,'expire':_0x57d714,'source':_0x2b87c1,'metadata':_0x12f6cf}),'signal':_0xaedc16})['then'](({data:_0x49c9fc,headers:_0x224369,request:_0x3e5e77})=>{let _0x534c5f=oB(JSON['parse'](_0x49c9fc));if('error'in _0x534c5f)throw new PB(_0x534c5f['error']['content'],_0x534c5f['error']['errorCode'],_0x3e5e77,_0x534c5f,_0x224369);return _0x534c5f['parts']=Object['keys'](_0x534c5f['parts'])['map'](_0x27e290=>_0x534c5f['parts'][Number(_0x27e290)]),_0x534c5f;}),{'retryThrottledRequestMaxTimes':_0x53cabd,'retryNetworkErrorMaxTimes':_0x5295d9});}(_0x38703b,{'publicKey':_0x52faea,'contentType':_0x2cdb42,'fileName':t||VB(_0x8e9105),'baseURL':_0x61001e,'secureSignature':_0x560b13,'secureExpire':_0x246c36,'store':_0x232c7b,'signal':_0x37dac8,'source':_0x524d22,'integration':_0x4026c4,'userAgent':_0x2155ee,'retryThrottledRequestMaxTimes':_0x346fcb,'retryNetworkErrorMaxTimes':_0x5337d1,'metadata':_0x8eef52,'multipartChunkSize':_0x5017ae})['then'](async({uuid:_0x4d64f0,parts:_0x2d14d6})=>{let _0x1b1494=await nF(_0x8e9105,_0x38703b,_0x5017ae);return Promise['all']([_0x4d64f0,sF(_0x43aeec,_0x2d14d6['map']((_0x542010,_0x33c35d)=>()=>rF(_0x1b1494(_0x33c35d),_0x542010,{'publicKey':_0x52faea,'contentType':_0x2cdb42,'onProgress':_0x189023(_0x2d14d6['length'],_0x33c35d),'signal':_0x37dac8,'integration':_0x4026c4,'retryThrottledRequestMaxTimes':_0x346fcb,'retryNetworkErrorMaxTimes':_0x5337d1})))]);})['then'](([_0x220635])=>function(_0xb5e1fb,{publicKey:_0x27b512,baseURL:t=pB,source:_0xff4744='local',signal:_0x2db07f,integration:_0x240209,userAgent:_0x314412,retryThrottledRequestMaxTimes:_0x47c526=OB,retryNetworkErrorMaxTimes:_0x40b043=wB}){return LB(()=>TB({'method':'POST','url':MB(t,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':NB({'publicKey':_0x27b512,'integration':_0x240209,'userAgent':_0x314412})},'data':RB({'uuid':_0xb5e1fb,'UPLOADCARE_PUB_KEY':_0x27b512,'source':_0xff4744}),'signal':_0x2db07f})['then'](({data:_0x41136d,headers:_0xcbf806,request:_0x46cca7})=>{let _0x55bcbf=oB(JSON['parse'](_0x41136d));if('error'in _0x55bcbf)throw new PB(_0x55bcbf['error']['content'],_0x55bcbf['error']['errorCode'],_0x46cca7,_0x55bcbf,_0xcbf806);return _0x55bcbf;}),{'retryThrottledRequestMaxTimes':_0x47c526,'retryNetworkErrorMaxTimes':_0x40b043});}(_0x220635,{'publicKey':_0x52faea,'baseURL':_0x61001e,'source':_0x524d22,'integration':_0x4026c4,'userAgent':_0x2155ee,'retryThrottledRequestMaxTimes':_0x346fcb,'retryNetworkErrorMaxTimes':_0x5337d1}))['then'](_0xa148fa=>_0xa148fa['isReady']?_0xa148fa:jB(_0xa148fa['uuid'],{'publicKey':_0x52faea,'baseURL':_0x61001e,'source':_0x524d22,'integration':_0x4026c4,'userAgent':_0x2155ee,'retryThrottledRequestMaxTimes':_0x346fcb,'retryNetworkErrorMaxTimes':_0x5337d1,'onProgress':_0x3110d6,'signal':_0x37dac8}))['then'](_0x3ea42d=>new HB(_0x3ea42d,{'baseCDN':_0x38797d}));};async function aF(_0x2713de,{publicKey:_0x5e2796,fileName:t,baseURL:_0x6ab02e=pB,secureSignature:_0x140dd3,secureExpire:_0x2c3af6,store:_0x4f34bc,signal:_0x4cc861,onProgress:_0x443f70,source:_0x2dba30,integration:_0xf76715,userAgent:_0x1d00fb,retryThrottledRequestMaxTimes:_0x1f2ffe,retryNetworkErrorMaxTimes:_0xe248d5,contentType:_0x390060,multipartMinFileSize:_0x32b184,multipartChunkSize:_0x3b86ab,maxConcurrentRequests:_0xe206cb,baseCDN:_0x2b7a32=gB,checkForUrlDuplicates:_0x1c080e,saveUrlForRecurrentUploads:_0x319ca5,pusherKey:_0x5a5625,metadata:_0x4f0b08}){if(kB(_0x2713de)){let _0x3814de=await tF(_0x2713de);return((_0x52df64,_0x3a9a41=bB)=>_0x52df64>=_0x3a9a41)(_0x3814de,_0x32b184)?oF(_0x2713de,{'publicKey':_0x5e2796,'contentType':_0x390060,'multipartChunkSize':_0x3b86ab,'fileSize':_0x3814de,'fileName':t,'baseURL':_0x6ab02e,'secureSignature':_0x140dd3,'secureExpire':_0x2c3af6,'store':_0x4f34bc,'signal':_0x4cc861,'onProgress':_0x443f70,'source':_0x2dba30,'integration':_0xf76715,'userAgent':_0x1d00fb,'maxConcurrentRequests':_0xe206cb,'retryThrottledRequestMaxTimes':_0x1f2ffe,'retryNetworkErrorMaxTimes':_0xe248d5,'baseCDN':_0x2b7a32,'metadata':_0x4f0b08}):GB(_0x2713de,{'publicKey':_0x5e2796,'fileName':t,'contentType':_0x390060,'baseURL':_0x6ab02e,'secureSignature':_0x140dd3,'secureExpire':_0x2c3af6,'store':_0x4f34bc,'signal':_0x4cc861,'onProgress':_0x443f70,'source':_0x2dba30,'integration':_0xf76715,'userAgent':_0x1d00fb,'retryThrottledRequestMaxTimes':_0x1f2ffe,'retryNetworkErrorMaxTimes':_0xe248d5,'baseCDN':_0x2b7a32,'metadata':_0x4f0b08});}if(iF(_0x2713de))return KB(_0x2713de,{'publicKey':_0x5e2796,'fileName':t,'baseURL':_0x6ab02e,'baseCDN':_0x2b7a32,'checkForUrlDuplicates':_0x1c080e,'saveUrlForRecurrentUploads':_0x319ca5,'secureSignature':_0x140dd3,'secureExpire':_0x2c3af6,'store':_0x4f34bc,'signal':_0x4cc861,'onProgress':_0x443f70,'source':_0x2dba30,'integration':_0xf76715,'userAgent':_0x1d00fb,'retryThrottledRequestMaxTimes':_0x1f2ffe,'pusherKey':_0x5a5625,'metadata':_0x4f0b08});if(eF(_0x2713de))return((_0xbec9d3,{publicKey:_0x47680b,fileName:t,baseURL:_0x31a771,signal:_0x54f058,onProgress:_0x20ede5,source:_0x443b56,integration:_0x4ae08c,userAgent:_0x2014a2,retryThrottledRequestMaxTimes:_0x5bbae9,retryNetworkErrorMaxTimes:_0x410200,baseCDN:_0x300db5})=>FB(_0xbec9d3,{'publicKey':_0x47680b,'baseURL':_0x31a771,'signal':_0x54f058,'source':_0x443b56,'integration':_0x4ae08c,'userAgent':_0x2014a2,'retryThrottledRequestMaxTimes':_0x5bbae9,'retryNetworkErrorMaxTimes':_0x410200})['then'](_0x4ba3ae=>new HB(_0x4ba3ae,{'baseCDN':_0x300db5,'fileName':t}))['then'](_0x41332f=>(_0x20ede5&&_0x20ede5({'isComputable':!0x0,'value':0x1}),_0x41332f)))(_0x2713de,{'publicKey':_0x5e2796,'fileName':t,'baseURL':_0x6ab02e,'signal':_0x4cc861,'onProgress':_0x443f70,'source':_0x2dba30,'integration':_0xf76715,'userAgent':_0x1d00fb,'retryThrottledRequestMaxTimes':_0x1f2ffe,'retryNetworkErrorMaxTimes':_0xe248d5,'baseCDN':_0x2b7a32});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2713de+'\x22\x20is\x20not\x20supported');}var cF=class{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x52f0f9,{baseCDN:t=gB}={}){this['uuid']=_0x52f0f9['id'],this['filesCount']=_0x52f0f9['filesCount'];let _0x460ba4=_0x52f0f9['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x460ba4)['reduce']((_0xbfad3c,_0x46853a)=>_0xbfad3c+_0x46853a['size'],0x0),this['isStored']=!!_0x52f0f9['datetimeStored'],this['isImage']=!!Object['values'](_0x460ba4)['filter'](_0x580338=>_0x580338['isImage'])['length'],this['cdnUrl']=((_0x20e1dd,_0x2c22a5)=>{try{let t=new URL(_0x20e1dd),_0x5327c8=new URL(_0x2c22a5);return t['protocol']=_0x5327c8['protocol'],t['hostname']=_0x5327c8['hostname'],t['port']=_0x5327c8['port'],t['toString']();}catch{return _0x20e1dd;}})(_0x52f0f9['cdnUrl'],t),this['files']=_0x460ba4['map'](_0x252d3e=>new HB(_0x252d3e,{'baseCDN':t})),this['createdAt']=_0x52f0f9['datetimeCreated'],this['storedAt']=_0x52f0f9['datetimeStored'];}};function lF(_0x1a2743,{publicKey:_0x5b44cf,fileName:t,baseURL:_0x4aa6c2=pB,secureSignature:_0x3783a3,secureExpire:_0x692da6,store:_0x58e52a,signal:_0x7ed6a,onProgress:_0xe8933f,source:_0x593918,integration:_0x430dac,userAgent:_0x18c679,retryThrottledRequestMaxTimes:_0x44137b,retryNetworkErrorMaxTimes:_0x3fd0af,contentType:_0x43a664,multipartChunkSize:_0x5f36ea=yB,baseCDN:_0x3b0d6a=gB,checkForUrlDuplicates:_0x772ffb,saveUrlForRecurrentUploads:_0x59a905,jsonpCallback:_0x18156c}){if(!(_0x470b95=>{for(let _0x1cd438 of _0x470b95)if(!kB(_0x1cd438))return!0x1;return!0x0;})(_0x1a2743)&&!(_0x2074d4=>{for(let _0x110c79 of _0x2074d4)if(!iF(_0x110c79))return!0x1;return!0x0;})(_0x1a2743)&&!(_0x5770ab=>{for(let _0x272d4a of _0x5770ab)if(!eF(_0x272d4a))return!0x1;return!0x0;})(_0x1a2743))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x1a2743+'\x22\x20is\x20not\x20supported');let _0x249443,_0x4427c7=!0x0,_0x27ecc7=_0x1a2743['length'],_0x3ae707=(_0x4f4c9b,_0x5b01b3)=>{if(!_0xe8933f)return;_0x249443||(_0x249443=Array(_0x4f4c9b)['fill'](0x0));let _0xdf3799=_0x167f53=>_0x167f53['reduce']((_0x3ec858,_0x3ea1c1)=>_0x3ec858+_0x3ea1c1)/_0x4f4c9b;return _0x10dae2=>{if(!_0x10dae2['isComputable']||!_0x4427c7)return _0x4427c7=!0x1,void _0xe8933f({'isComputable':!0x1});_0x249443[_0x5b01b3]=_0x10dae2['value'],_0xe8933f({'isComputable':!0x0,'value':_0xdf3799(_0x249443)});};};return Promise['all'](_0x1a2743['map']((_0xa60c74,_0x5b3427)=>kB(_0xa60c74)||iF(_0xa60c74)?aF(_0xa60c74,{'publicKey':_0x5b44cf,'fileName':t,'baseURL':_0x4aa6c2,'secureSignature':_0x3783a3,'secureExpire':_0x692da6,'store':_0x58e52a,'signal':_0x7ed6a,'onProgress':_0x3ae707(_0x27ecc7,_0x5b3427),'source':_0x593918,'integration':_0x430dac,'userAgent':_0x18c679,'retryThrottledRequestMaxTimes':_0x44137b,'retryNetworkErrorMaxTimes':_0x3fd0af,'contentType':_0x43a664,'multipartChunkSize':_0x5f36ea,'baseCDN':_0x3b0d6a,'checkForUrlDuplicates':_0x772ffb,'saveUrlForRecurrentUploads':_0x59a905})['then'](_0x47f0cc=>_0x47f0cc['uuid']):_0xa60c74))['then'](_0x55e12d=>function(_0x319a1b,{publicKey:_0x3020aa,baseURL:t=pB,jsonpCallback:_0x4201c9,secureSignature:_0x3839cd,secureExpire:_0x1dc947,signal:_0x3f40ff,source:_0x22dd4f,integration:_0xefc265,userAgent:_0x2f207a,retryThrottledRequestMaxTimes:_0x17ecb4=OB,retryNetworkErrorMaxTimes:_0x266aa9=wB}){return LB(()=>TB({'method':'POST','headers':{'X-UC-User-Agent':NB({'publicKey':_0x3020aa,'integration':_0xefc265,'userAgent':_0x2f207a})},'url':MB(t,'/group/',{'jsonerrors':0x1}),'data':RB({'files':_0x319a1b,'callback':_0x4201c9,'pub_key':_0x3020aa,'signature':_0x3839cd,'expire':_0x1dc947,'source':_0x22dd4f}),'signal':_0x3f40ff})['then'](({data:_0x487678,headers:_0x26358a,request:_0x56bef9})=>{let _0x5a3cfe=oB(JSON['parse'](_0x487678));if('error'in _0x5a3cfe)throw new PB(_0x5a3cfe['error']['content'],_0x5a3cfe['error']['errorCode'],_0x56bef9,_0x5a3cfe,_0x26358a);return _0x5a3cfe;}),{'retryNetworkErrorMaxTimes':_0x266aa9,'retryThrottledRequestMaxTimes':_0x17ecb4});}(_0x55e12d,{'publicKey':_0x5b44cf,'baseURL':_0x4aa6c2,'jsonpCallback':_0x18156c,'secureSignature':_0x3783a3,'secureExpire':_0x692da6,'signal':_0x7ed6a,'source':_0x593918,'integration':_0x430dac,'userAgent':_0x18c679,'retryThrottledRequestMaxTimes':_0x44137b,'retryNetworkErrorMaxTimes':_0x3fd0af})['then'](_0x964438=>new cF(_0x964438,{'baseCDN':_0x3b0d6a}))['then'](_0x4c7239=>(_0xe8933f&&_0xe8933f({'isComputable':!0x0,'value':0x1}),_0x4c7239)));}var hF=class{['Vi']=0x1;['io']=[];['_i']=0x0;['ro']=new Map();['oo']=new Map();constructor(_0x4f2532){this['Vi']=_0x4f2532;}['run'](){let _0x4a9c81=this['Vi']-this['_i'];for(let t=0x0;t<_0x4a9c81;t++){let _0x13b07b=this['io']['shift']();if(!_0x13b07b)return;let _0x29b190=this['ro']['get'](_0x13b07b),_0x3dfa0c=this['oo']['get'](_0x13b07b);if(!_0x29b190||!_0x3dfa0c)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_i']+=0x1,_0x13b07b()['finally'](()=>{this['ro']['delete'](_0x13b07b),this['oo']['delete'](_0x13b07b),this['_i']-=0x1,this['run']();})['then'](_0x35de49=>_0x29b190(_0x35de49))['catch'](_0x21b6f8=>_0x3dfa0c(_0x21b6f8));}}['add'](_0x32fbe2,{autoRun:t}={'autoRun':!0x0}){return new Promise((_0x40938c,_0x19dc0f)=>{this['ro']['set'](_0x32fbe2,_0x40938c),this['oo']['set'](_0x32fbe2,_0x19dc0f),this['io']['push'](_0x32fbe2),t&&this['run']();});}get['pending'](){return this['io']['length'];}get['running'](){return this['_i'];}set['concurrency'](_0x50228f){this['Vi']=_0x50228f,this['run']();}get['concurrency'](){return this['Vi'];}},uF=_0x3a0f9c=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x3a0f9c['modalManager']?.['close'](_0x3a0f9c['$']['*currentActivity']),_0x3a0f9c['pub']('*currentActivity',null);}}),dF=_0x1ae88b=>({...uF(_0x1ae88b),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new hF(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set()}),fF=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'}),mF=class extends WU{constructor(t){super(t),this['scopes']=new Set(),this['listener']=this['_c']['bind'](this),window['addEventListener']('paste',this['listener']);}['openUploadList'](){this['i']['api']['setCurrentActivity'](fF['UPLOAD_LIST']),this['i']['api']['setModalState'](!0x0);}async['_c'](t){if(t['clipboardData']){for(let _0x27dc42 of this['scopes'])if(_0x27dc42['isConnected'])switch(this['ze']['pasteScope']){case'global':await this['handlePaste'](t);break;case'local':if(!_0x27dc42['contains'](t['target']))continue;await this['handlePaste'](t);break;default:continue;}}}async['handlePaste'](t){if(!t['clipboardData'])return;let _0x232aee=Array['from'](t['clipboardData']['items']),_0x561a55=_0x232aee['map'](_0x44dc13=>_0x44dc13['getAsFile']())['filter'](_0x5a47ee=>null!==_0x5a47ee),_0x276905=_0x232aee['filter'](_0x7292ea=>'string'===_0x7292ea['kind']&&'text/plain'===_0x7292ea['type'])['map'](_0x347a91=>new Promise(_0x471c2d=>{_0x347a91['getAsString'](_0x519fc3=>{_0x471c2d(_0x519fc3);});}));_0x561a55['length']>0x0&&(_0x561a55['forEach'](_0x577b52=>{this['i']['api']['addFileFromObject'](_0x577b52,{'source':'clipboard'});}),this['openUploadList']()),_0x276905['length']>0x0&&((await Promise['all'](_0x276905))['forEach'](_0x57b534=>{this['i']['api']['addFileFromUrl'](_0x57b534,{'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']();}},gF={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function pF(_0x5248d1,_0x48c2da){_0x48c2da['tabIndex']=0x0,_0x48c2da['focus'](),_0x5248d1['tabIndex']=-0x1;}function OF(_0x400fbe){let _0x427fc4=_0x400fbe['role']||_0x400fbe['type']||_0x400fbe['tagName'];if(!_0x427fc4)return null;let t=gF[_0x427fc4['toLowerCase']()];if(!t)return null;for(let _0x4e0b80 of t){let _0x51a27f=_0x400fbe['closest']('[role='+_0x4e0b80+']');if(_0x51a27f)return _0x51a27f;}}function wF(_0x11fc66,_0x211917){return'toolbar'===_0x211917['role']?function(_0x5537ca){return[..._0x5537ca['querySelectorAll']('*')]['filter'](t=>'button'===t['role']||'button'===t['type']||'checkbox'===t['role']||'checkbox'===t['type']);}(_0x211917):_0x211917['querySelectorAll']('[role='+_0x11fc66['role']+']');}function bF(_0x5aecd8){return _0x3c1e98=>{let t=!0x1,_0x3a0324=0x0,_0x4a789d='';function _0x1db6f0(_0x131662){let _0x50cfba=OF(_0x131662['target']);if(!_0x50cfba)return void _0x10e961();let _0x2833e7=wF(_0x131662['target'],_0x50cfba),_0x4d1e67=function(_0x2e05b7,_0x12ea31){return Array['from'](_0x2e05b7)['filter'](t=>{let _0x459493=t['parentElement'];for(;_0x459493&&_0x459493!==_0x12ea31;){if('true'===_0x459493['getAttribute']('aria-hidden'))return!0x1;_0x459493=_0x459493['parentElement'];}return!0x0;});}(_0x2833e7,_0x50cfba),_0x18381a=Array['from'](_0x4d1e67)['indexOf'](_0x131662['target']),_0x457ac='ArrowDown',_0x16f176='ArrowUp';if(function(_0x3ad629){let _0x5a506d=_0x3ad629['getAttribute']('aria-orientation');if('vertical'===_0x5a506d)return!0x1;if('horizontal'===_0x5a506d)return!0x0;let t=_0x3ad629['role'];return'menubar'===t||'tablist'===t||'toolbar'===t;}(_0x50cfba)&&('rtl'===_0x3c1e98['document']['dir']?(_0x457ac='ArrowLeft',_0x16f176='ArrowRight'):(_0x457ac='ArrowRight',_0x16f176='ArrowLeft')),_0x131662['key']===_0x457ac)_0x131662['preventDefault'](),pF(_0x131662['target'],_0x4d1e67[_0x18381a+0x1]||_0x4d1e67[0x0]);else{if(_0x131662['key']===_0x16f176)_0x131662['preventDefault'](),pF(_0x131662['target'],_0x4d1e67[_0x18381a-0x1]||_0x4d1e67[_0x4d1e67['length']-0x1]);else{if('Home'===_0x131662['key'])_0x131662['preventDefault'](),pF(_0x131662['target'],_0x4d1e67[0x0]);else{if('End'===_0x131662['key'])_0x131662['preventDefault'](),pF(_0x131662['target'],_0x4d1e67[_0x4d1e67['length']-0x1]);else{if(0x1===_0x131662['key']['length']&&'tablist'!==_0x50cfba['role']){_0x131662['timeStamp']-_0x3a0324<=0x12c?_0x4a789d+=_0x131662['key']['toLowerCase']():_0x4a789d=_0x131662['key']['toLowerCase'](),_0x3a0324=_0x131662['timeStamp'];let _0xee74d5=Array['from'](_0x2833e7)['find'](_0x794567=>_0x794567['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x4a789d));_0xee74d5&&(_0x131662['preventDefault'](),pF(_0x131662['target'],_0xee74d5));}}}}}}function _0x10e961(){t=!0x1,_0x3c1e98['removeEventListener']('keydown',_0x1db6f0);}function _0x92ab48(_0x228d7f){let _0x4e951b=OF(_0x228d7f['target']);if(_0x4e951b){t||(t=!0x0,_0x3c1e98['addEventListener']('keydown',_0x1db6f0));let _0xb2290b=wF(_0x228d7f['target'],_0x4e951b);for(let _0x27b154 of _0xb2290b)_0x27b154!==_0x228d7f['target']&&_0x27b154['setAttribute']('tabindex',-0x1);}else t&&_0x10e961();}function _0x360e1d(_0x6de59e){(!_0x6de59e['relatedTarget']||_0x6de59e['relatedTarget']===_0x3c1e98['document'])&&_0x10e961();}function _0x4e7b9c(_0x58a31b){let _0x34c7aa=OF(_0x58a31b['target']);if(_0x34c7aa){let _0x48b092=wF(_0x58a31b['target'],_0x34c7aa);for(let _0x3dec1d of _0x48b092)_0x3dec1d!==_0x58a31b['target']&&_0x3dec1d['setAttribute']('tabindex',-0x1);_0x58a31b['target']['setAttribute']('tabindex',0x0);}}return _0x3c1e98['addEventListener']('click',_0x4e7b9c),_0x3c1e98['addEventListener']('focusin',_0x92ab48),_0x3c1e98['addEventListener']('focusout',_0x360e1d),()=>{_0x10e961(),_0x3c1e98['removeEventListener']('click',_0x4e7b9c),_0x3c1e98['removeEventListener']('focusin',_0x92ab48),_0x3c1e98['removeEventListener']('focusout',_0x360e1d);};};}function yF(){return _0x32cbbf=>{let _0x1c2d8d=[];function _0x44921d(){let _0x19e41e=_0x1c2d8d['pop']();if(!_0x19e41e)return void _0x32cbbf['document']['activeElement']['blur']();let _0x1a645e=_0x19e41e['deref']();_0x1a645e&&_0x1a645e['isConnected']?_0x1a645e['focus']():_0x44921d();}let _0x4eaf49,_0x39a46f=0x0;function _0x3cbb3a(_0x190a17){clearInterval(_0x4eaf49);let _0x34af04=_0x190a17['getAttribute']('aria-controls');_0x4eaf49=setInterval(()=>{if(_0x39a46f++>0x32)return void clearInterval(_0x4eaf49);let _0x40f37c=_0x32cbbf['document']['getElementById'](_0x34af04);if(_0x40f37c){let _0x219f08=_0x40f37c['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x219f08&&(clearInterval(_0x4eaf49),_0x40f37c['dispatchEvent'](new _0x32cbbf['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x181798){let _0x2f0801=_0x32cbbf['document']['activeElement'];_0x2f0801&&_0x2f0801!==_0x32cbbf['document']['body']&&_0x1c2d8d['push'](new WeakRef(_0x2f0801)),_0x181798['focus']({'focusVisible':!0x0});}(_0x219f08));}},0x32);}function _0xa22266(_0x4f30b8){_0x4f30b8['target']['getAttribute']('aria-controls')&&'Enter'===_0x4f30b8['key']&&_0x3cbb3a(_0x4f30b8['target']),'Escape'===_0x4f30b8['key']&&_0x44921d();}return _0x32cbbf['addEventListener']('keydown',_0xa22266),()=>{_0x32cbbf['removeEventListener']('keydown',_0xa22266);};};}function vF(_0x382e7a){let _0x1ddf44,_0x1b48b7,t=_0x382e7a['split']('\x20');function _0x2ba2cf(_0x586dec){('Enter'===_0x586dec['key']||'\x20'===_0x586dec['key'])&&('BUTTON'===_0x586dec['target']['tagName']||'A'===_0x586dec['target']['tagName'])&&(_0x44ade7(),_0x586dec['target']['classList']['add'](...t),_0x1ddf44=_0x586dec['target'],_0x1b48b7=_0x586dec['target']);}function _0x44ade7(){_0x1ddf44&&(_0x1ddf44['classList']['remove'](...t),_0x1ddf44=0x0,setTimeout(()=>{_0x1b48b7=0x0;},0x0));}function _0x458786(_0x3561f6){0x0===_0x3561f6['clientX']&&0x0===_0x3561f6['clientY']&&_0x1ddf44!==_0x3561f6['target']&&(_0x44ade7(),_0x1b48b7!==_0x3561f6['target']&&(_0x3561f6['target']['classList']['add'](...t),_0x1ddf44=_0x3561f6['target']));}return _0x12322d=>(_0x12322d['addEventListener']('click',_0x458786),_0x12322d['addEventListener']('keydown',_0x2ba2cf),_0x12322d['addEventListener']('keyup',_0x44ade7),()=>{_0x12322d['removeEventListener']('click',_0x458786),_0x12322d['removeEventListener']('keydown',_0x2ba2cf),_0x12322d['removeEventListener']('keyup',_0x44ade7);});}var _F=class{constructor(){this['te']=new Map(),this['so']=[];}['addEventListener'](_0x50890a,t){let _0x1e5998=_0x1e9b2e=>{let _0x36add5=_0x1e9b2e['target'];_0x36add5 instanceof Node&&this['so']['some'](_0x2d560a=>_0x2d560a===_0x36add5||_0x2d560a['contains'](_0x36add5))&&t(_0x1e9b2e);};this['te']['set'](t,_0x1e5998),window['addEventListener'](_0x50890a,_0x1e5998);}['removeEventListener'](_0x52cd49,t){let _0x5480ba=this['te']['get'](t);_0x5480ba&&window['removeEventListener'](_0x52cd49,_0x5480ba),this['te']['delete'](t);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x5445f5){this['so']['push'](_0x5445f5);}['destroy'](){this['so']=[];for(let _0x44fd39 of this['te']['values']())window['removeEventListener']('keydown',_0x44fd39),window['removeEventListener']('keyup',_0x44fd39);this['te']['clear']();}},EF=class{constructor(){this['Bi']=new _F(),this['an']=function(_0x5a158f,_0x5d898c){let t=_0x5d898c['map'](_0x2e1712=>_0x2e1712(_0x5a158f));return()=>{t['forEach'](_0x21ffa5=>_0x21ffa5());};}(this['Bi'],[bF(),vF('is-pressed'),yF(),_0x560c62=>{let _0x1f7d87,t;function _0x23e512(_0x1b30cb){if('true'===_0x1b30cb['target']['getAttribute']('aria-hidden')){_0x1f7d87=_0x1b30cb['target'],_0x1f7d87['setAttribute']('aria-hidden','false'),t=_0x1f7d87['hidden'],t&&(_0x1f7d87['hidden']=!0x1);let _0x3dd932=_0x1b30cb['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x3dd932&&(_0x3dd932['tabIndex']=0x0);}}function _0x57d4de(_0x1a0c54){_0x1f7d87&&_0x1f7d87['contains'](_0x1a0c54['target'])&&(!_0x1a0c54['relatedTarget']||!_0x1f7d87['contains'](_0x1a0c54['relatedTarget']))&&(_0x1a0c54['target']['tabIndex']=-0x1,_0x1f7d87['setAttribute']('aria-hidden','true'),t&&(_0x1f7d87['hidden']=!0x0),_0x1f7d87=null);}return _0x560c62['addEventListener']('keyuxJump',_0x23e512),_0x560c62['addEventListener']('focusout',_0x57d4de),()=>{_0x560c62['removeEventListener']('keyuxJump',_0x23e512),_0x560c62['removeEventListener']('focusout',_0x57d4de);};}]);}['registerBlock'](_0x36cb21){this['Bi']['registerScope'](_0x36cb21);}['destroy'](){this['an']?.(),this['Bi']['destroy']();}},TF=_0x15bf4a=>'*l10n/'+_0x15bf4a,AF=class extends WU{constructor(t){super(t),this['Tt']='';for(let [_0x521fdd,_0x36e9f4]of Object['entries'](lU)){let _0xf27630=!this['e']['has'](TF(_0x521fdd))||!this['e']['read'](TF(_0x521fdd));this['e']['add'](TF(_0x521fdd),_0x36e9f4,_0xf27630);}let _0x39a937=t['pluginManager'];_0x39a937?.['onPluginsChange']&&this['addSub'](_0x39a937['onPluginsChange'](()=>{this['Tt']&&this['ln'](this['Tt']);})),this['addSub'](this['e']['sub'](mU('localeName'),async _0x56570c=>{if(!_0x56570c)return;this['Tt']=_0x56570c;let _0x2b41e5=await(async _0x3a4015=>{let _0x2dc088=hU['get'](_0x3a4015);if(!_0x2dc088){let t=uU['get'](_0x3a4015);if(!t)throw new Error('Locale\x20'+_0x3a4015+'\x20is\x20not\x20defined');let _0x23d078=await t();_0x2dc088=dU(_0x3a4015,_0x23d078);}return _0x2dc088;})(_0x56570c);'en'!==_0x56570c&&this['Tt']!==_0x56570c||(this['ln'](_0x56570c),this['cn'](_0x56570c,_0x2b41e5));})),this['addSub'](this['e']['sub'](mU('localeDefinitionOverride'),_0x4c5963=>{if(!_0x4c5963)return;let _0x2cad52=_0x4c5963[this['Tt']];_0x2cad52&&this['cn'](this['Tt'],_0x2cad52);}));}['cn'](t,_0x52b72c){let _0x8dcf9b=this['ze']['localeDefinitionOverride']?.[t];for(let [_0x45cdfa,_0xa54f63]of Object['entries'](_0x52b72c)){let _0xc6de66=_0x8dcf9b?.[_0x45cdfa];this['e']['add'](TF(_0x45cdfa),_0xc6de66??_0xa54f63,!0x0);}}['ln'](t){let _0x16f8c9=this['i']['pluginManager'];if(!_0x16f8c9)return;let _0xf2badf=_0x16f8c9['snapshot']();for(let _0x3c717f of _0xf2badf['l10n']){let {pluginId:_0x5b9d30,..._0x126b57}=_0x3c717f,_0x19e0ec=_0x126b57[t];if(_0x19e0ec){for(let [_0x2493bf,_0x5524e3]of Object['entries'](_0x19e0ec))void 0x0!==_0x5524e3&&this['e']['add'](TF(_0x2493bf),_0x5524e3,!0x0);}}}},IF=()=>{let _0x137593=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x137593)&&/Version\/[\d.]+.*Safari/['test'](_0x137593)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x137593);},SF={'safariDesktop':IF()},CF={'htmlMediaCapture':'capture'in document['createElement']('input')},kF='image/*',xF='video/*',RF=SF['safariDesktop']?[kF]:[kF,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],PF=_0xba34d1=>_0xba34d1?_0xba34d1['filter'](_0x313414=>'string'==typeof _0x313414)['flatMap'](_0x5f1713=>kU(_0x5f1713)):[],MF=(_0x2c6c2b,_0x26f14f)=>_0x26f14f['some'](t=>{if(t['endsWith']('*')){let _0xec1693=t['replace']('*','');return _0x2c6c2b['startsWith'](_0xec1693);}return _0x2c6c2b===t;}),NF=_0x5b53e0=>{let _0x5a0451=_0x5b53e0?.['type'];return!!_0x5a0451&&MF(_0x5a0451,RF);},LF=class{constructor(_0x259683,t){this['e']=_0x259683,this['zc']=t,this['Xt']=new Set(),this['un']=this['e']['sub']('*lazyPlugins',_0x474c5f=>{this['Bc'](_0x474c5f??[]);});}['Bc'](_0x3290fa){for(let _0x2a96b2 of this['Xt'])_0x2a96b2();if(this['Xt']['clear'](),0x0===_0x3290fa['length'])return;let t=new Set([mU('plugins')]);for(let _0x57bd84 of _0x3290fa)for(let _0x50c0c8 of _0x57bd84['configDeps'])t['add'](mU(_0x50c0c8));let _0x3fd533=()=>this['dn'](_0x3290fa);for(let _0x2a89a8 of t)this['Xt']['add'](this['e']['sub'](_0x2a89a8,_0x3fd533,!0x1));this['dn'](_0x3290fa);}['dn'](_0x570f51){this['ao']?.['abort']();let t=new AbortController();this['ao']=t;let _0x730fc3=_0x58b5fc=>this['e']['read'](mU(_0x58b5fc)),_0x4465ed=_0x730fc3('plugins'),_0x54f89b=(async({entries:_0xcf0a6e,signal:_0x54661f})=>(await Promise['all'](_0xcf0a6e['map'](async _0x3591bc=>{if(_0x3591bc['isEnabled']())try{let _0x4d3d22=await _0x3591bc['load']();return _0x54661f['aborted']||!_0x3591bc['isEnabled']()?void 0x0:_0x4d3d22??void 0x0;}catch(_0x61ba2e){return void(_0x54661f['aborted']||console['warn']('Failed\x20to\x20load\x20lazy\x20plugin',_0x61ba2e));}})))['filter'](_0x429f86=>void 0x0!==_0x429f86))({'entries':_0x570f51['map'](_0x5a7f23=>({'isEnabled':()=>_0x5a7f23['isEnabled'](_0x730fc3),'load':_0x5a7f23['load']})),'signal':t['signal']})['then'](_0x5d18d5=>{if(!t['signal']['aborted'])return[..._0x4465ed,..._0x5d18d5];});this['zc'](_0x54f89b);}['destroy'](){this['un']();for(let _0x430437 of this['Xt'])_0x430437();this['Xt']['clear'](),this['ao']?.['abort']();}},$F=class{constructor(){this['Ke']=new Map();}['register'](_0x25a1d0,t){if(this['Ke']['has'](t['name']))return void console['warn']('[CustomConfig]\x20Config\x20option\x20\x22'+t['name']+'\x22\x20is\x20already\x20registered');let _0x3577b5={'attribute':!0x0,...t,'pluginId':_0x25a1d0};this['Ke']['set'](t['name'],_0x3577b5);}['unregister'](_0x31afee){this['Ke']['delete'](_0x31afee);}['unregisterByPlugin'](_0x4e866d){for(let [t,_0x1333c8]of this['Ke'])_0x1333c8['pluginId']===_0x4e866d&&this['Ke']['delete'](t);}['get'](_0x26bf52){return this['Ke']['get'](_0x26bf52);}['getAll'](){return new Map(this['Ke']);}},DF=class{constructor(){this['Me']=[],this['de']=[],this['zi']=[],this['Hi']=[],this['Ki']=[],this['Et']=[],this['config']=new $F();}['xt'](_0x2a834f,t){return{...t,'pluginId':_0x2a834f};}['addSource'](_0x4b758c,t){let _0x33f0cb=this['Me']['find'](_0x2dd2a6=>_0x2dd2a6['id']===t['id']);_0x33f0cb?console['warn']('[Plugin\x20\x22'+_0x4b758c+'\x22]\x20Source\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x33f0cb['pluginId']+'\x22.\x20Skipping.'):this['Me']['push'](this['xt'](_0x4b758c,t));}['addActivity'](_0x5bfdb4,t){let _0x4af54b=this['de']['find'](_0x6bee44=>_0x6bee44['id']===t['id']);_0x4af54b?console['warn']('[Plugin\x20\x22'+_0x5bfdb4+'\x22]\x20Activity\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x4af54b['pluginId']+'\x22.\x20Skipping.'):this['de']['push'](this['xt'](_0x5bfdb4,t));}['addFileAction'](_0x3eee96,t){this['zi']['push'](this['xt'](_0x3eee96,t));}['addFileHook'](_0x47e18c,t){this['Hi']['push'](this['xt'](_0x47e18c,{'timeout':0x7530,...t}));}['addIcon'](_0x52ee77,t){this['Ki']['push'](this['xt'](_0x52ee77,t));}['addL10n'](_0x556695,t){this['Et']['push'](this['xt'](_0x556695,t));}['addConfig'](_0x5429cc,t){this['config']['register'](_0x5429cc,t);}['purge'](_0x41aeb6){this['Me']=this['Me']['filter'](t=>t['pluginId']!==_0x41aeb6),this['de']=this['de']['filter'](t=>t['pluginId']!==_0x41aeb6),this['zi']=this['zi']['filter'](t=>t['pluginId']!==_0x41aeb6),this['Hi']=this['Hi']['filter'](t=>t['pluginId']!==_0x41aeb6),this['Ki']=this['Ki']['filter'](t=>t['pluginId']!==_0x41aeb6),this['Et']=this['Et']['filter'](t=>t['pluginId']!==_0x41aeb6),this['config']['unregisterByPlugin'](_0x41aeb6);}['snapshot'](){return{'sources':[...this['Me']],'activities':[...this['de']],'fileActions':[...this['zi']],'fileHooks':[...this['Hi']],'icons':[...this['Ki']],'l10n':[...this['Et']]};}},QF=class extends WU{constructor(t){super(t),this['je']=new Map(),this['c']=new Set(),this['lo']=Promise['resolve'](),this['registry']=new DF(),this['pn']=new LF(this['e'],_0xd4091c=>{this['lo']=this['lo']['then'](()=>_0xd4091c)['then'](_0x1cf128=>{if(_0x1cf128)return this['Hc'](_0x1cf128);});});}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 _0x273b1c=new Set(this['je']['keys']()),_0x3f287e=new Set();for(let _0xf50e25 of t)if(_0xf50e25['id']){if(_0x3f287e['has'](_0xf50e25['id']))console['warn']('[PluginManager]\x20Plugin\x20\x22'+_0xf50e25['id']+'\x22\x20is\x20already\x20in\x20the\x20list,\x20skipping\x20duplicate');else{if(_0x3f287e['add'](_0xf50e25['id']),!this['je']['has'](_0xf50e25['id']))try{await this['Kc'](_0xf50e25);}catch(_0x3f2e39){this['registry']['purge'](_0xf50e25['id']),this['co'](),console['error']('[PluginManager]\x20Plugin\x20\x22'+_0xf50e25['id']+'\x22\x20setup()\x20threw\x20an\x20error',_0x3f2e39);}_0x273b1c['delete'](_0xf50e25['id']);}}else console['warn']('[PluginManager]\x20A\x20plugin\x20is\x20missing\x20the\x20required\x20\x22id\x22\x20field,\x20skipping');for(let _0x4bb03c of _0x273b1c)this['uo'](_0x4bb03c);}async['Kc'](t){this['je']['has'](t['id'])&&this['uo'](t['id']);let _0x3030bb,_0x53da54=[],_0x3d920b=function(_0x1d0d60,_0x299ae4,t,_0xf1d222,_0x5aae94){return{'registry':{'registerSource':_0x531f5f=>_0x1d0d60['addSource'](_0xf1d222,_0x531f5f),'registerActivity':_0x2d319b=>_0x1d0d60['addActivity'](_0xf1d222,_0x2d319b),'registerFileAction':_0x488202=>_0x1d0d60['addFileAction'](_0xf1d222,_0x488202),'registerFileHook':_0x49338b=>_0x1d0d60['addFileHook'](_0xf1d222,_0x49338b),'registerIcon':_0x344838=>_0x1d0d60['addIcon'](_0xf1d222,_0x344838),'registerL10n':_0x9c4168=>_0x1d0d60['addL10n'](_0xf1d222,_0x9c4168),'registerConfig':_0x180ea7=>{_0x1d0d60['addConfig'](_0xf1d222,_0x180ea7);let _0xe3d876=mU(_0x180ea7['name']);_0x299ae4['has'](_0xe3d876)||_0x299ae4['add'](_0xe3d876,_0x180ea7['defaultValue']);}},'config':{'get':_0xb7b475=>{let _0x3c2649=mU(_0xb7b475);return _0x299ae4['read'](_0x3c2649);},'subscribe':(_0x3445cf,_0x591767)=>{let _0x371612=mU(_0x3445cf),_0x3c76db=_0x299ae4['sub'](_0x371612,_0x1b8ef0=>{_0x591767(_0x1b8ef0);});return _0x5aae94['push'](_0x3c76db),_0x3c76db;}},'activity':{'getParams':()=>_0x299ae4['read']('*currentActivityParams'),'subscribeToParams':_0x68275f=>{let _0x5e6282=_0x299ae4['sub']('*currentActivityParams',_0x401ff8=>{_0x68275f(_0x401ff8);});return _0x5aae94['push'](_0x5e6282),_0x5e6282;}},'files':{'update':(_0x1afda4,_0xc5c4e4)=>{let _0x54afad=t['uploadCollection']?.['read'](_0x1afda4);_0x54afad&&(void 0x0!==_0xc5c4e4['file']&&(_0x54afad['setValue']('file',_0xc5c4e4['file']),_0x54afad['setValue']('fileSize',_0xc5c4e4['file']['size'])),void 0x0!==_0xc5c4e4['cdnUrl']&&_0x54afad['setValue']('cdnUrl',_0xc5c4e4['cdnUrl']),void 0x0!==_0xc5c4e4['cdnUrlModifiers']&&_0x54afad['setValue']('cdnUrlModifiers',_0xc5c4e4['cdnUrlModifiers']),void 0x0!==_0xc5c4e4['mimeType']&&_0x54afad['setValue']('mimeType',_0xc5c4e4['mimeType']));}}};}(this['registry'],this['e'],this['i'],t['id'],_0x53da54),_0x9186ab=this['i']['api'];try{_0x3030bb=await t['setup']({'pluginApi':_0x3d920b,'uploaderApi':_0x9186ab})??void 0x0;}catch(_0x5e9794){for(let _0x575e88 of _0x53da54)try{_0x575e88();}catch(_0x2a7f89){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x2a7f89);}throw _0x5e9794;}this['je']['set'](t['id'],{'plugin':t,'dispose':_0x3030bb,'configSubscriptions':_0x53da54}),this['co']();}['uo'](t){let _0x49a874=this['je']['get'](t);if(_0x49a874){this['registry']['purge'](t);for(let _0x1d5d8e of _0x49a874['configSubscriptions'])try{_0x1d5d8e();}catch(_0x2228b3){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x2228b3);}_0x49a874['dispose']?.(),this['je']['delete'](t),this['co']();}}['snapshot'](){return this['registry']['snapshot']();}async['runOnAddHooks'](t){let _0x24a286=t['getValue']('file');if(!_0x24a286)return;let _0x116b19=this['registry']['snapshot']()['fileHooks']['filter'](_0x8fb58b=>'onAdd'===_0x8fb58b['type']);if(0x0===_0x116b19['length'])return;let _0x4cea58=_0x24a286,_0x2902b2=new AbortController();for(let _0x3a15ca of _0x116b19){if(_0x2902b2['signal']['aborted'])break;try{let _0x35b6cd=_0x3a15ca['handler']({'file':_0x4cea58,'signal':_0x2902b2['signal']}),_0x3e5a43=new Promise((_0xd3aa6c,_0x1c7856)=>setTimeout(()=>_0x1c7856(new Error('onAdd\x20hook\x20timed\x20out')),_0x3a15ca['timeout']));({file:_0x4cea58}=await Promise['race']([_0x35b6cd,_0x3e5a43]));}catch(_0x2e7010){console['warn']('File\x20hook\x20\x22onAdd\x22\x20from\x20plugin\x20\x22'+_0x3a15ca['pluginId']+'\x22\x20failed',_0x2e7010);}}_0x4cea58!==_0x24a286&&(t['setValue']('file',_0x4cea58),t['setValue']('fileSize',_0x4cea58['size']),t['setValue']('mimeType',_0x4cea58['type']||null),t['setValue']('isImage',NF(_0x4cea58)),_0x4cea58 instanceof File&&t['setValue']('fileName',_0x4cea58['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 VF(_0x5e889e){return Array['isArray'](_0x5e889e)?_0x5e889e['map'](_0x455a6a=>'object'==typeof _0x455a6a&&null!==_0x455a6a?VF(_0x455a6a):_0x455a6a):'object'!=typeof _0x5e889e||null===_0x5e889e?_0x5e889e:Object['fromEntries'](Object['entries'](_0x5e889e)['map'](([_0x13257f,t])=>{let _0x7e682d=function(_0x23e7f5){return _0x23e7f5['replace'](/[A-Z]/g,_0x35ad1f=>'_'+_0x35ad1f['toLowerCase']())['replace'](/__/g,'_');}(_0x13257f);return'object'==typeof t&&null!==t?[_0x7e682d,VF(t)]:[_0x7e682d,t];}));}function UF(_0x1327d8){return{'ok':!0x1,'error':_0x1327d8};}var BF=class{constructor(_0x5ce30c='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x5ce30c;}async['base'](_0x572915,t={}){let _0x131039=''+this['baseUrl']+_0x572915;try{let _0x40c6b1=await fetch(_0x131039,t);if(!_0x40c6b1['ok'])return UF(new Error('Got\x20non-200\x20response\x20from\x20\x22'+_0x131039+'\x22.\x20Status:\x20'+_0x40c6b1['status']['toString']()));try{return function(_0xe33589){return{'ok':!0x0,'value':_0xe33589};}(await _0x40c6b1['json']());}catch(_0x5727ac){return UF(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+_0x131039+'\x22.\x20Error:\x20'+_0x5727ac));}}catch(_0x4a9e33){return UF(new Error('Error\x20fetching\x20data\x20from\x20\x22'+_0x131039+'\x22.\x20Error:\x20'+_0x4a9e33));}}async['post'](_0x2c563e,t,_0x216065={}){return await this['base'](_0x2c563e,{..._0x216065,'method':'POST','body':JSON['stringify'](VF(t)),'headers':{'Content-Type':'application/json',..._0x216065['headers']||{}}});}async['get'](_0x2c76e6,t={}){return await this['base'](_0x2c76e6,{'method':'GET',...t});}},FF=class extends BF{constructor(){super();}async['sendEvent'](_0x3debb0,t){let _0x2db9b0=await(async _0x562b4c=>(async(_0x16976e,_0x59ef71)=>({'success':!0x0,'data':_0x59ef71}))(0x0,_0x562b4c))(_0x3debb0);if(!_0x2db9b0['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',_0x2db9b0['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x3debb0,t);}},jF=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),HF=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'}),GF=class extends WU{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,_0x53aed6){let _0x53ac9e=this['te']['get'](t);return _0x53ac9e||(_0x53ac9e=new Set(),this['te']['set'](t,_0x53ac9e)),_0x53ac9e['add'](_0x53aed6),()=>this['te']['get'](t)?.['delete'](_0x53aed6);}['hn'](t,_0x2d15df){for(let _0x4ba790 of this['ji'])_0x4ba790['dispatchEvent'](new CustomEvent(t,{'detail':_0x2d15df}));let _0x5f4857=this['te']['get'](t);if(_0x5f4857){for(let _0x23f6b8 of _0x5f4857)_0x23f6b8(_0x2d15df);}this['w']?.(()=>{let _0x386eee=_0x2d15df&&'object'==typeof _0x2d15df?{..._0x2d15df}:_0x2d15df;return['event\x20\x22'+t+'\x22',_0x386eee];});}['emit'](t,_0x2aa51d,_0x3aa9d1={}){let {debounce:_0x1ff071}=_0x3aa9d1;if('number'!=typeof _0x1ff071&&!_0x1ff071)return void this['hn'](t,'function'==typeof _0x2aa51d?_0x2aa51d():_0x2aa51d);this['Qt']['has'](t)&&window['clearTimeout'](this['Qt']['get'](t));let _0x1dc8ca='number'==typeof _0x1ff071?_0x1ff071:0x14,_0x5c32e9=window['setTimeout'](()=>{try{let _0x58b815='function'==typeof _0x2aa51d?_0x2aa51d():_0x2aa51d;this['hn'](t,_0x58b815),this['Qt']['delete'](t);}catch(_0x38774c){this['w']?.(()=>'Error\x20while\x20getting\x20payload\x20for\x20event\x20\x22'+t+'\x22',_0x38774c);}},_0x1dc8ca);this['Qt']['set'](t,_0x5c32e9);}['destroy'](){for(let t of this['Qt']['values']())window['clearTimeout'](t);this['ji']['clear'](),this['te']['clear']();}},ZF='blocks',XF='1.29.0',qF=class extends WU{constructor(t){super(t),this['jc']=rU['generateRandomUUID'](),this['Ct']=structuredClone(XU),this['po']=!0x1,this['ho']=null,this['Oe']=!0x1,this['mn']=new FF(),this['St']=new hF(0xa),this['addSub'](this['e']['sub'](mU('qualityInsights'),_0x3cc345=>{this['Oe']=!!_0x3cc345;}));for(let _0x44d8c0 of Object['keys'](this['Ct']))this['addSub'](this['e']['sub'](mU(_0x44d8c0),_0x5b941b=>{this['Oe']&&(this['po']&&this['Ct'][_0x44d8c0]!==_0x5b941b&&this['sendEvent']({'eventType':jF['CHANGE_CONFIG']}),this['Gc'](_0x44d8c0,_0x5b941b));}));}['qc'](t){t===jF['INIT_SOLUTION']&&!this['po']&&(this['po']=!0x0);}['Gc'](t,_0x2925fe){this['Ct'][t]!==_0x2925fe&&(this['Ct'][t]=_0x2925fe);}['Wc'](t){let _0x303b4b=t['payload']?{...t['payload']}:{};_0x303b4b['activity']&&(_0x303b4b['activity']=void 0x0);let _0xc2eec9={...t};return(t['eventType']===jF['INIT_SOLUTION']||t['eventType']===jF['CHANGE_CONFIG'])&&(_0xc2eec9['config']=this['Ct']),{..._0xc2eec9,'appVersion':XF,'appName':ZF,'sessionId':this['jc'],'component':this['Zc'],'activity':this['Yc'],'projectPubkey':this['Ct']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0xc2eec9['eventType']??'','eventTimestamp':this['Xc'],'payload':{'location':this['Qc'],..._0x303b4b}};}['Jc'](t){return!(!t||![HF['CHANGE'],HF['COMMON_UPLOAD_PROGRESS'],HF['FILE_ADDED'],HF['FILE_REMOVED'],HF['FILE_UPLOAD_START'],HF['FILE_UPLOAD_PROGRESS'],HF['FILE_UPLOAD_SUCCESS'],HF['FILE_UPLOAD_FAILED']]['includes'](t));}['sendEvent'](t){if(!this['Oe'])return;let _0x2c7e71=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'],_0x2c7e71))&&this['St']['add'](async()=>{this['ho']=_0x2c7e71,await this['mn']['sendEvent'](_0x2c7e71);});}['sendEventError'](t,_0xc6a709='unknown'){this['sendEvent']({'eventType':jF['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0xc6a709,'error':t['message']}}});}['sendEventCloudImageEditor'](t,_0x56df29,_0x4659e5={}){this['sendEvent']({'eventType':jF['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x56df29,'node':t['currentTarget']?.['tagName'],'event':t['type'],..._0x4659e5}}});}['gn'](t,_0x24c79b){if(JSON['stringify'](t)===JSON['stringify'](_0x24c79b))return!0x0;if('object'!=typeof t||'object'!=typeof _0x24c79b||null==t||null==_0x24c79b)return!0x1;let _0x1c7534=Object['keys'](t),_0x592fcd=Object['keys'](_0x24c79b);if(_0x1c7534['length']!==_0x592fcd['length'])return!0x1;for(let _0x373443 of _0x1c7534)if(!Object['hasOwn'](_0x24c79b,_0x373443)||!this['gn'](t[_0x373443],_0x24c79b[_0x373443]))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'];}},WF=_0x504fde=>_0x504fde,zF='plural:';function YF(_0x5996d8,_0x48f5c3={},t={}){let {openToken:_0x58100e='{{',closeToken:_0xcd0d6c='}}',transform:_0x336177=WF}=t;for(let _0x292c38 in _0x48f5c3){let _0x5c5253=_0x48f5c3[_0x292c38],_0x51e17d=_0x5c5253?.['toString'](),_0x390f25='string'==typeof _0x51e17d?_0x336177(_0x51e17d):String(_0x51e17d);_0x5996d8=_0x5996d8['replaceAll'](_0x58100e+_0x292c38+_0xcd0d6c,_0x390f25);}return _0x5996d8;}var KF='--uploadcare-blocks-window-height',JF=class o{static{this['clientsRegistry']=new Set();}static{this['flush']=eU(()=>{document['documentElement']['style']['setProperty'](KF,window['innerHeight']+'px');},0x64);}static['registerClient'](_0x1e4528){0x0===o['clientsRegistry']['size']&&o['attachTracker'](),o['clientsRegistry']['add'](_0x1e4528);}static['unregisterClient'](_0x17c5d9){o['clientsRegistry']['delete'](_0x17c5d9),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'](KF);}},tj=(_0xbec5e2,_0x1dc6af)=>new Intl['PluralRules'](_0xbec5e2)['select'](_0x1dc6af),ej=_0x364f14=>{let _0x9ea81=(_0x1e0aed=>(_0x368599,t)=>{let _0x5e070a=_0x1e0aed(),_0x33b81d=_0x5e070a('locale-id')||'en';return _0x5e070a(_0x368599+'__'+tj(_0x33b81d,t));})(()=>t),t=(_0x2867c6,_0x1e2629={})=>{if(!_0x2867c6)return'';let _0x173a82=_0x364f14()['read'](TF(_0x2867c6))||_0x2867c6,_0x5290e7=function(_0x3024bf){let _0x1c879f=[],t=_0x3024bf['indexOf']('{{');for(;-0x1!==t;){let _0x149f2d=_0x3024bf['indexOf']('}}',t);if(-0x1===_0x149f2d)break;let _0x4dc18b=_0x3024bf['substring'](t+0x2,_0x149f2d);if(_0x4dc18b['startsWith'](zF)){let _0x2ee4ff=_0x3024bf['substring'](t+0x2,_0x149f2d)['replace'](zF,''),_0x9c4e04=_0x2ee4ff['substring'](0x0,_0x2ee4ff['indexOf']('(')),_0x3aafc1=_0x2ee4ff['substring'](_0x2ee4ff['indexOf']('(')+0x1,_0x2ee4ff['indexOf'](')'));_0x1c879f['push']({'variable':_0x4dc18b,'pluralKey':_0x9c4e04,'countVariable':_0x3aafc1});}t=_0x3024bf['indexOf']('{{',_0x149f2d);}return _0x1c879f;}(_0x173a82);for(let _0x1934f7 of _0x5290e7)_0x1e2629[_0x1934f7['variable']]=_0x9ea81(_0x1934f7['pluralKey'],Number(_0x1e2629[_0x1934f7['countVariable']]));return YF(_0x173a82,_0x1e2629);};return t;},ij=class{constructor(_0x2caea7){this['Ge']=new Set(),this['Gi']=new Map(),this['vn']=!0x1,this['qe']=_0x2caea7,this['qe']['addController'](this);}['hostDisconnected'](){this['qi']?.(),this['qi']=void 0x0,this['Ge']['clear'](),this['Gi']['clear']();}['hostUpdated'](){if(!this['qi']&&this['qe']['has'](mU('testMode'))){let _0x175a35=this['qe']['subConfigValue']('testMode',t=>{this['vn']=!!t,this['yn']();});this['qi']=_0x175a35;}this['eu'](),this['yn']();}['eu'](){let _0x5ba603=this['qe'],t=_0x5ba603['renderRoot']??_0x5ba603;if(!t)return;let _0x4f1d01=this['qe'],_0x1c9e59=_0x4f1d01['tagName']?.['toLowerCase'](),_0x9d876c=Array['from'](t['querySelectorAll']('[data-testid]'))['filter'](_0x32fd70=>!(_0x4f0b42=>_0x4f0b42['tagName']?.['includes']('-')??!0x1)(_0x32fd70));for(let _0x2fa406 of _0x9d876c)if(!(_0x1c9e59&&_0x2fa406['closest'](_0x1c9e59)!==_0x4f1d01||this['Ge']['has'](_0x2fa406))){let _0x3684d4=_0x2fa406['getAttribute']('data-testid');if(!_0x3684d4)continue;this['Ge']['add'](_0x2fa406),this['Gi']['set'](_0x2fa406,_0x3684d4);}for(let _0x464bce of Array['from'](this['Ge']))(!_0x464bce['isConnected']||_0x1c9e59&&_0x464bce['closest'](_0x1c9e59)!==_0x4f1d01)&&(this['Ge']['delete'](_0x464bce),this['Gi']['delete'](_0x464bce));}['yn'](){if(!this['Ge']['size'])return;let _0x41e65b=this['qe']['testId']||'';for(let t of this['Ge']){let _0x599734=this['Gi']['get'](t);_0x599734&&(this['vn']?t['setAttribute']('data-testid',_0x41e65b+'--'+_0x599734):t['removeAttribute']('data-testid'));}}},sj=GV(sU()(jV(HV(UV)))),nj=class extends sj{constructor(){super(),this['init$']={},this['l10n']=ej(()=>this['sharedCtx']),this['debugPrint']=qU(()=>this['sharedCtx'],this['constructor']['name']),this['i']=KU(()=>this['sharedCtx']),new ij(this);}static{this['styleAttrs']=[];}['emit'](t,_0x1f0422,_0x553985){let _0x1cbc77=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;if(!_0x1cbc77)return;_0x1cbc77['emit'](t,_0x1f0422,_0x553985);let _0x4dd4de='function'==typeof _0x1f0422?_0x1f0422():_0x1f0422;this['telemetryManager']['sendEvent']({'eventType':t,'payload':_0x4dd4de??void 0x0});}['hasBlockInCtx'](t){for(let _0x245ea2 of this['blocksRegistry'])if(t(_0x245ea2))return!0x0;return!0x1;}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x464d73=>{this['setAttribute'](_0x464d73,'');}),super['connectedCallback'](),JF['registerClient'](this);}['initCallback'](){this['Z']('*blocksRegistry',()=>new Set()),this['Z']('*pluginManager',t=>new QF(t)),this['Z']('*eventEmitter',t=>new GF(t)),this['Z']('*localeManager',t=>new AF(t)),this['Z']('*modalManager',t=>new tB(t)),this['Z']('*a11y',()=>new EF()),this['Z']('*clipboard',t=>new mF(t)),this['Z']('*telemetryManager',t=>new qF(t)),this['sub'](TF('locale-id'),t=>{let _0x53833c=(_0x3e5543=>{let _0x35e008=new Intl['Locale'](_0x3e5543),t='ltr',_0xa144a8=_0x35e008['getTextInfo']?.()['direction'];return _0xa144a8?t=_0xa144a8:_0x35e008['textInfo']?.['direction']&&(t=_0x35e008['textInfo']['direction']),t;})(t);this['style']['direction']='ltr'===_0x53833c?'':_0x53833c,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'](),JF['unregisterClient'](this);let t=this['blocksRegistry'];t?.['delete'](this),0x0===t?.['size']&&setTimeout(()=>{this['isConnected']||t?.['size']>0x0||this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){this['tu'](),MQ['deleteCtx'](this['ctxName']);}['bn'](){let t='*sharedContextInstances';if(!this['has'](t)||!this['$'][t]){let _0x4e44c7=new Map();this['add'](t,_0x4e44c7,!0x0);}return this['$'][t];}['Z'](t,_0x51d8ff){let _0x368f24=this['bn']();if(!(_0x368f24['has'](t)||this['has'](t)&&this['$'][t])){let _0x40b860=_0x51d8ff(this['i']);return this['add'](t,_0x40b860,!0x0),void _0x368f24['set'](t,_0x40b860);}}['tu'](){let t=this['bn']();for(let [_0xfd4a0c,_0x1ea3a4]of t['entries']())_0x1ea3a4?.['destroy']?.(),this['pub'](_0xfd4a0c,null);t['clear']();}['ie'](t,_0x5607fa=!0x0){if(this['has'](t)&&this['$'][t])return this['$'][t];if(!_0x5607fa)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':vU(t),'cdnUrlModifiers':_U(t),'fileName':yU(t)});}catch(_0x5c7b8e){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x5c7b8e),this['telemetryManager']['sendEventError'](_0x5c7b8e,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),t;}return this['cfg']['secureDeliveryProxy']?YF(this['cfg']['secureDeliveryProxy'],{'previewUrl':t},{'transform':_0x49eef0=>window['encodeURIComponent'](_0x49eef0)}):t;}get['cfg'](){if(!this['Be']){let t={};this['Be']=new Proxy(t,{'set':(_0x2aff33,_0x3fa1be,_0x426c79)=>{if('string'!=typeof _0x3fa1be||!(_0x3fa1be in XU))return!0x1;let _0x2c2cf3=_0x3fa1be,_0x5f24f3=mU(_0x2c2cf3);return this['has'](_0x5f24f3)||this['add'](_0x5f24f3,XU[_0x2c2cf3]),this['$'][_0x5f24f3]=_0x426c79,!0x0;},'get':(_0x4a641d,_0x898ddf)=>{let _0xc40fec=mU(_0x898ddf);return this['has'](_0xc40fec)||this['add'](_0xc40fec,XU[_0x898ddf]),this['$'][_0xc40fec];}});}return this['Be'];}['subConfigValue'](t,_0x396604){let _0x1ccb9=mU(t);return this['has'](_0x1ccb9)||this['add'](_0x1ccb9,XU[t]),this['sub'](_0x1ccb9,_0x396604);}},rj=0x1,oj=0x2,aj=_0x2b824b=>(..._0x4dd1bd)=>({'qr':_0x2b824b,'values':_0x4dd1bd}),cj=class{constructor(_0x2399bf){}get['W'](){return this['f']['W'];}['Wr'](_0x1eb983,t,_0x21d707){this['Wi']=_0x1eb983,this['f']=t,this['iu']=_0x21d707;}['Lc'](_0x4b69c0,t){return this['update'](_0x4b69c0,t);}['update'](_0x2f5c8f,t){return this['render'](...t);}},lj=class extends cj{constructor(_0x106290){if(super(_0x106290),this['it']=TV,_0x106290['type']!==oj)throw Error(this['constructor']['directiveName']+'()\x20can\x20only\x20be\x20used\x20in\x20child\x20bindings');}['render'](_0x2e0bd6){if(_0x2e0bd6===TV||null==_0x2e0bd6)return this['wn']=void 0x0,this['it']=_0x2e0bd6;if(_0x2e0bd6===EV)return _0x2e0bd6;if('string'!=typeof _0x2e0bd6)throw Error(this['constructor']['directiveName']+'()\x20called\x20with\x20a\x20non-string\x20value');if(_0x2e0bd6===this['it'])return this['wn'];this['it']=_0x2e0bd6;let t=[_0x2e0bd6];return t['raw']=t,this['wn']={'Ne':this['constructor']['resultType'],'strings':t,'values':[]};}};lj['directiveName']='unsafeHTML',lj['resultType']=0x1;var hj=class extends lj{};hj['directiveName']='unsafeSVG',hj['resultType']=0x2;var uj=aj(hj),dj=class extends nj{constructor(){super(...arguments),this['init$']=(_0xe9a504=>({...dF(_0xe9a504),'*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 _V`${uj('<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>')}`;}},fj=_0x51dda5=>'number'!=typeof _0x51dda5?0x0:Math['floor'](_0x51dda5/0x3e8),mj=class extends WU{constructor(){super(...arguments),this['We']=null;}async['getSecureToken'](){let {secureSignature:t,secureExpire:_0x5f212a,secureUploadsSignatureResolver:_0x44df0c,secureUploadsExpireThreshold:_0x32be1b}=this['ze'];if((t||_0x5f212a)&&_0x44df0c&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x44df0c){if(!this['We']||((_0x334a2e,{threshold:_0xaffec2})=>{let {secureExpire:t}=_0x334a2e,_0x1af38f=fj(Date['now']()),_0x3c3c37=Number(t);return _0x1af38f+fj(_0xaffec2)>=_0x3c3c37;})(this['We'],{'threshold':_0x32be1b})){this['We']?this['w']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['w']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{let _0x255976=await _0x44df0c();_0x255976?_0x255976['secureSignature']&&_0x255976['secureExpire']?(this['w']('Secure\x20signature\x20resolved:',_0x255976),this['w']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x255976['secureExpire']))['toISOString']()),this['We']=_0x255976):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x255976):(this['w']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['We']=null);}catch(_0x24916a){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x24916a),this['i']['telemetryManager']['sendEventError'](_0x24916a,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['We'];}return t&&_0x5f212a?(this['w']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':t,'secureExpire':_0x5f212a}),{'secureSignature':t,'secureExpire':_0x5f212a}):null;}['destroy'](){super['destroy'](),this['We']=null;}},gj=(_0x5f56ea,_0x31988f)=>{if(_0x5f56ea['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x31988f['l10n']('some-files-were-not-uploaded')};},pj=(_0x38b645,_0x37e117)=>{let t=_0x38b645['totalCount'],_0x569355=_0x37e117['cfg']['multiple']?_0x37e117['cfg']['multipleMin']:0x0,_0x1cdae7=_0x37e117['cfg']['multiple']?_0x37e117['cfg']['multipleMax']:0x1;return _0x569355&&t<_0x569355?{'type':'TOO_FEW_FILES','message':_0x37e117['l10n']('files-count-limit-error-too-few',{'min':_0x569355,'max':_0x1cdae7,'total':t}),'payload':{'total':t,'min':_0x569355,'max':_0x1cdae7}}:_0x1cdae7&&t>_0x1cdae7?{'type':'TOO_MANY_FILES','message':_0x37e117['l10n']('files-count-limit-error-too-many',{'min':_0x569355,'max':_0x1cdae7,'total':t}),'payload':{'total':t,'min':_0x569355,'max':_0x1cdae7}}:void 0x0;},Oj=(_0x18f0a3,_0xcb9185)=>{let t=_0xcb9185['cfg']['imgOnly'],_0x2a5238=_0xcb9185['cfg']['accept'],_0x3b8c2f=PF([...t?RF:[],_0x2a5238]);if(!_0x3b8c2f['length'])return;let _0xa0d992=_0x18f0a3['mimeType'],_0x59f0db=_0x18f0a3['name'];if(!_0xa0d992||!_0x59f0db)return;let _0x16abde=MF(_0xa0d992,_0x3b8c2f),_0x5dddde=((_0xba7db,_0x185a5f)=>_0x185a5f['some'](t=>!!t['startsWith']('.')&&_0xba7db['toLowerCase']()['endsWith'](t['toLowerCase']())))(_0x59f0db,_0x3b8c2f);return _0x16abde||_0x5dddde?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0xcb9185['l10n']('file-type-not-allowed'),'payload':{'entry':_0x18f0a3}};},wj=(_0x25258f,_0xe3af0f)=>{let t=_0xe3af0f['cfg']['imgOnly'],_0x502c8d=_0x25258f['isImage'];if(t&&!_0x502c8d&&(_0x25258f['fileInfo']||!_0x25258f['externalUrl'])&&(_0x25258f['fileInfo']||_0x25258f['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0xe3af0f['l10n']('images-only-accepted'),'payload':{'entry':_0x25258f}};},bj=0x3e8,yj=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),vj=_0x332798=>Math['ceil'](0x64*_0x332798)/0x64,_j=(_0x1a841b,_0x30973d=yj['AUTO'])=>{let t=_0x30973d===yj['AUTO'];if(_0x30973d===yj['BYTE']||t&&_0x1a841b<0x3e8)return _0x1a841b+'\x20'+('one'===tj('en-US',_0x1a841b)?'byte':'bytes');return _0x30973d===yj['KB']||t&&_0x1a841b<bj**0x2?vj(_0x1a841b/0x3e8)+'\x20KB':_0x30973d===yj['MB']||t&&_0x1a841b<bj**0x3?vj(_0x1a841b/bj**0x2)+'\x20MB':_0x30973d===yj['GB']||t&&_0x1a841b<bj**0x4?vj(_0x1a841b/bj**0x3)+'\x20GB':_0x30973d===yj['TB']||t&&_0x1a841b<bj**0x5?vj(_0x1a841b/bj**0x4)+'\x20TB':vj(_0x1a841b/bj**0x5)+'\x20PB';},Ej=(_0x11dc3d,_0x221270)=>{let t=_0x221270['cfg']['maxLocalFileSizeBytes'],_0x5d3501=_0x11dc3d['size'];if(t&&_0x5d3501&&_0x5d3501>t)return{'type':'FILE_SIZE_EXCEEDED','message':_0x221270['l10n']('files-max-size-limit-error',{'maxFileSize':_j(t)}),'payload':{'entry':_0x11dc3d}};},Tj=(_0x3f09d4,_0x4de493)=>{let {internalId:t}=_0x3f09d4;if(!_0x4de493['v']['hasItem'](t))return;let _0x2fd77b=_0x4de493['v']['read'](t)?.['getValue']('uploadError');if(!_0x2fd77b)return;if(_0x2fd77b instanceof PB)return{'type':'UPLOAD_ERROR','message':_0x2fd77b['message'],'payload':{'entry':_0x3f09d4,'error':_0x2fd77b}};if(_0x2fd77b instanceof uB)return{'type':'NETWORK_ERROR','message':_0x2fd77b['message'],'payload':{'entry':_0x3f09d4,'error':_0x2fd77b}};let _0x399c81=_0x2fd77b instanceof Error?_0x2fd77b:new Error('Unknown\x20error',{'cause':_0x2fd77b});return{'type':'UNKNOWN_ERROR','message':_0x399c81['message'],'payload':{'entry':_0x3f09d4,'error':_0x399c81}};},Aj='File\x20validator\x20execution\x20has\x20failed',Ij='File\x20validator\x20execution\x20has\x20timed\x20out',Sj='Collection\x20validator\x20execution\x20has\x20failed',Cj='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',kj=_0x4b90a7=>'function'==typeof _0x4b90a7?{'runOn':'change','validator':_0x4b90a7}:_0x4b90a7,xj=class extends WU{constructor(t){super(t),this['ru']=[wj,Oj,Ej,Tj],this['ou']=[pj,gj],this['St']=new hF(0x14),this['Tn']=eU(()=>{this['St']['run']();},0x1f4),this['Ie']=!0x1,this['At']=new Map();let _0x29f779=eU(()=>{this['runFileValidators']('change'),this['runCollectionValidators']();},0x0);this['addSub'](this['e']['sub'](mU('maxLocalFileSizeBytes'),_0x29f779)),this['addSub'](this['e']['sub'](mU('multipleMin'),_0x29f779)),this['addSub'](this['e']['sub'](mU('multipleMax'),_0x29f779)),this['addSub'](this['e']['sub'](mU('multiple'),_0x29f779)),this['addSub'](this['e']['sub'](mU('imgOnly'),_0x29f779)),this['addSub'](this['e']['sub'](mU('accept'),_0x29f779)),this['addSub'](this['e']['sub'](mU('validationConcurrency'),_0x1f5fd5=>{this['St']['concurrency']=_0x1f5fd5;}));}get['v'](){return this['i']['uploadCollection'];}['runFileValidators'](t,_0x3d53e6){if(this['Ie'])return;let _0xe9173=_0x3d53e6??this['v']['items']();for(let _0x377341 of _0xe9173){let _0xc50a09=this['v']['read'](_0x377341);_0xc50a09&&this['su'](_0xc50a09,t);}}['runCollectionValidators'](){if(this['Ie'])return;let t=this['i']['api'],_0x23b91b=t['getOutputCollectionState'](),_0xdd706e=[],_0x267539=this['ze']['collectionValidators'];for(let _0x5eefdf of[...this['ou'],..._0x267539])try{let _0x3016af=_0x5eefdf(_0x23b91b,t);if(!_0x3016af)continue;_0x3016af&&(_0xdd706e['push'](this['En'](_0x3016af)),_0x3016af['message']||console['warn'](Cj));}catch(_0xac08e2){console['warn'](Sj,_0xac08e2);}this['e']['pub']('*collectionErrors',_0xdd706e),_0xdd706e['length']>0x0&&this['i']['eventEmitter']['emit'](HF['COMMON_UPLOAD_FAILED'],()=>t['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](t){let _0x50ae12=this['At']['get'](t['uid']);_0x50ae12&&(_0x50ae12['abortController']?.['abort'](),this['At']['delete'](t['uid']));}async['su'](t,_0x3f4ee7){if(this['Ie'])return;let _0x434ebe=this['i']['api'],_0x324ccd=this['xn'](t),_0x2112c5=_0x324ccd['promise']??Promise['resolve'](),_0x2d3342=((async()=>{if(this['Ie']||(await _0x2112c5,this['Ie']))return;let _0x595899=this['nu'](t,_0x3f4ee7);if(0x0===_0x595899['length']||!this['v']['hasItem'](t['uid']))return;t['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});let _0x56f096=_0x434ebe['getOutputItem'](t['uid']),_0x2ab1a1=new AbortController();_0x324ccd['abortController']=_0x2ab1a1;let _0x32065a=this['ze']['validationTimeout'],_0x915c9c=this['Cn'](),_0x575d91=new Set(_0x595899['map'](_0x4a0c15=>_0x4a0c15['validator'])),_0x35ebb9=[];for(let _0x215bdf of _0x915c9c)if(!_0x575d91['has'](_0x215bdf['validator'])){let _0x3a14a3=_0x324ccd['lastErrorThrownByValidator']['get'](_0x215bdf['validator']);_0x3a14a3&&_0x35ebb9['push'](_0x3a14a3);}let _0x18e89d=_0x595899['map'](_0x400abb=>async()=>{if(this['Ie'])return;let _0x44f071=setTimeout(()=>{_0x324ccd['skippedValidators']['add'](_0x400abb['validator']),_0x2ab1a1['abort'](),console['warn'](Ij);},_0x32065a);try{let _0x30bf4b=await _0x400abb['validator'](_0x56f096,_0x434ebe,{'signal':_0x2ab1a1['signal']});if(!_0x30bf4b||_0x2ab1a1['signal']['aborted'])return void _0x324ccd['lastErrorThrownByValidator']['set'](_0x400abb['validator'],void 0x0);let _0x240a70=this['En'](_0x30bf4b);_0x324ccd['lastErrorThrownByValidator']['set'](_0x400abb['validator'],_0x240a70),_0x35ebb9['push'](_0x240a70),_0x30bf4b['message']||console['warn'](Cj);}catch(_0x2c7369){_0x2ab1a1['signal']['aborted']||(_0x324ccd['skippedValidators']['add'](_0x400abb['validator']),console['warn'](Aj,_0x2c7369),this['i']['telemetryManager']['sendEventError'](_0x2c7369,'file\x20validator.\x20'+Aj));}finally{clearTimeout(_0x44f071),'change'!==_0x400abb['runOn']&&_0x324ccd['skippedValidators']['add'](_0x400abb['validator']);}});this['Tn'](),await this['St']['add'](async()=>{this['Ie']||(t['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x18e89d['map'](_0x530f3f=>_0x530f3f()))['catch'](()=>{}));},{'autoRun':!0x1}),_0x2ab1a1['signal']['aborted']?t['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}):t['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x35ebb9});})());_0x324ccd['promise']=_0x2d3342;try{await _0x2d3342;}finally{_0x324ccd['promise']===_0x2d3342&&(_0x324ccd['promise']=void 0x0);}}['En'](t){return{...t,'type':t['type']??'CUSTOM_ERROR'};}['xn'](t){let _0x3a40de=this['At']['get'](t['uid']);if(_0x3a40de)return _0x3a40de;let _0x50e5f0={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['At']['set'](t['uid'],_0x50e5f0),_0x50e5f0;}['Cn'](){let t=this['ze']['fileValidators'];return[...this['ru'],...t]['map'](kj);}['nu'](t,_0x364e22){let _0x3c947b=this['xn'](t);return this['Cn']()['filter'](_0x12c8f5=>!_0x3c947b['skippedValidators']['has'](_0x12c8f5['validator']))['filter'](_0xca4f9c=>_0xca4f9c['runOn']===_0x364e22);}['destroy'](){this['Ie']=!0x0,this['Tn']['cancel']();for(let t of this['At']['values']())t['abortController']?.['abort'](),t['promise']=void 0x0;this['At']['clear']();}},Rj='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',Pj=class{constructor(_0xf06a1f){this['J']=rU['generateFastUid'](),this['Y']=MQ['registerCtx'](_0xf06a1f,this['J']);}get['uid'](){return this['J'];}['setValue'](_0x18a4cf,t){this['Y']['has'](_0x18a4cf)?this['Y']['read'](_0x18a4cf)!==t&&this['Y']['pub'](_0x18a4cf,t):console['warn'](''+Rj+String(_0x18a4cf));}['setMultipleValues'](_0x38e1eb){for(let [t,_0x5abf5c]of Object['entries'](_0x38e1eb))this['setValue'](t,_0x5abf5c);}['getValue'](_0x1c695c){return this['Y']['has'](_0x1c695c)||console['warn'](''+Rj+String(_0x1c695c)),this['Y']['read'](_0x1c695c);}['subscribe'](_0x1ee70e,t){return this['Y']['sub'](_0x1ee70e,t);}['destroy'](){MQ['deleteCtx'](this['J']);}},Mj=class o{constructor(_0x1bcd2b){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']=_0x1bcd2b['initialValue'],this['J']=rU['generateFastUid'](),this['Y']=MQ['registerCtx']({},this['J']),this['Sn']=_0x1bcd2b['watchList']||[];let t=Object['create'](null);this['An']=(_0x17d473,_0x2a0df3)=>{this['Jt']&&window['clearTimeout'](this['Jt']),t[_0x17d473]||(t[_0x17d473]=new Set()),t[_0x17d473]['add'](_0x2a0df3),this['Jt']=window['setTimeout'](()=>{0x0!==Object['keys'](t)['length']&&(this['Zi']['forEach'](_0x451cdf=>{_0x451cdf({...t});}),t=Object['create'](null));}),this['Mn']();},_0x1bcd2b['handler']&&this['observeCollection'](_0x1bcd2b['handler']);}static{this['au']=0x2710;}['q'](){this['ei']&&window['clearTimeout'](this['ei']),this['ei']=window['setTimeout'](()=>{let _0x49a98d=new Set(this['mo']),t=new Set(this['fo']);this['mo']['clear'](),this['fo']['clear']();for(let _0x5a57c0 of this['Yi'])_0x5a57c0?.([...this['ye']],_0x49a98d,t);this['Mn']();});}['Mn'](){0x0!==this['kt']['size']&&(this['ti']&&window['clearTimeout'](this['ti']),this['ti']=window['setTimeout'](()=>{let _0x48dd02=[...this['kt']];this['kt']['clear']();for(let t of _0x48dd02)t['destroy']();},o['au']));}['observeCollection'](_0x3f738e){return this['Yi']['add'](_0x3f738e),this['ye']['size']>0x0&&this['q'](),()=>{this['unobserveCollection'](_0x3f738e);};}['unobserveCollection'](_0x532535){this['Yi']['delete'](_0x532535);}['add'](_0x2d35e2){let t=new Pj(this['kn']);for(let [_0x1c2fd7,_0x2ca13b]of Object['entries'](_0x2d35e2))t['setValue'](_0x1c2fd7,_0x2ca13b);return this['ye']['add'](t['uid']),this['q'](),this['Y']['add'](t['uid'],t),this['mo']['add'](t),this['Sn']['forEach'](_0x350de0=>{this['Pe'][t['uid']]||(this['Pe'][t['uid']]=[]),this['Pe'][t['uid']]?.['push'](t['subscribe'](_0x350de0,()=>{this['An'](_0x350de0,t['uid']);}));}),t['uid'];}['hasItem'](_0x23e121){return this['ye']['has'](_0x23e121);}['read'](_0x47bcaf){return this['Y']['read'](_0x47bcaf)??null;}['readProp'](_0x403610,t){let _0x4e5136=this['read'](_0x403610);if(!_0x4e5136)throw new Error('TypedCollection#readProp:\x20Item\x20with\x20id\x20'+_0x403610+'\x20not\x20found');return _0x4e5136['getValue'](t);}['publishProp'](_0x970d1d,t,_0x5653c0){let _0x408e21=this['read'](_0x970d1d);if(!_0x408e21)throw new Error('TypedCollection#publishProp:\x20Item\x20with\x20id\x20'+_0x970d1d+'\x20not\x20found');_0x408e21['setValue'](t,_0x5653c0);}['remove'](_0x41d747){let t=this['read'](_0x41d747);t&&(this['fo']['add'](t),this['kt']['add'](t)),this['ye']['delete'](_0x41d747),this['q'](),this['Y']['pub'](_0x41d747,void 0x0),this['Pe'][_0x41d747]?.['forEach'](_0xa5218b=>{_0xa5218b();}),delete this['Pe'][_0x41d747];}['clearAll'](){this['ye']['forEach'](_0x154a7f=>{this['remove'](_0x154a7f);});}['observeProperties'](_0x4936aa){return this['Zi']['add'](_0x4936aa),()=>{this['unobserveProperties'](_0x4936aa);};}['unobserveProperties'](_0x102d22){this['Zi']['delete'](_0x102d22);}['findItems'](_0x1d3f63){let t=[];return this['ye']['forEach'](_0x7041ac=>{let _0x4a0ef0=this['read'](_0x7041ac);_0x4a0ef0&&_0x1d3f63(_0x4a0ef0)&&t['push'](_0x7041ac);}),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 _0x41ac3a of this['kt'])_0x41ac3a['destroy']();this['kt']['clear'](),MQ['deleteCtx'](this['J']),this['Zi']=new Set(),this['Yi']=new Set();for(let _0x5a7cc4 of Object['keys'](this['Pe']))this['Pe'][_0x5a7cc4]?.['forEach'](t=>{t();}),delete this['Pe'][_0x5a7cc4];}},Nj=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),Lj=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),$j=(_0x9cfc8,_0x4c8a68,{timeout:t=0x3e8,onTimeout:_0x1191fb}={})=>new Promise(_0x17530c=>{let _0x4e97da,_0x475308=setTimeout(()=>{cancelAnimationFrame(_0x4e97da),_0x1191fb?.();},t),_0x36852f=()=>{for(let _0x317b2b of _0x9cfc8)if(_0x4c8a68(_0x317b2b))return clearTimeout(_0x475308),void _0x17530c(_0x317b2b);_0x4e97da=requestAnimationFrame(_0x36852f);};_0x36852f();});function Dj(_0x309a3a,_0x2c251f){for(let t in _0x2c251f)t['includes']('-')?_0x309a3a['style']['setProperty'](t,String(_0x2c251f[t])):_0x309a3a['style'][t]=String(_0x2c251f[t]);}var Qj=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'),Vj=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'}),Uj=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),Bj=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url',...Uj,...Vj}),Fj={[Vj['DROPBOX_CHOOSER']]:Vj['DROPBOX']},jj=_0x14f9b3=>Fj[_0x14f9b3]??_0x14f9b3,Hj=_0x50bd40=>_0x50bd40['uploadCollection']['items']()['map'](_0x107aad=>_0x50bd40['api']['getOutputItem'](_0x107aad));function Gj(_0x133987){let _0x142441=new Map();return(..._0x2e38cc)=>{let _0x5b5c8e=JSON['stringify'](_0x2e38cc);if(_0x142441['has'](_0x5b5c8e))return _0x142441['get'](_0x5b5c8e);let _0x376ce2=_0x133987(..._0x2e38cc);return _0x142441['set'](_0x5b5c8e,_0x376ce2),_0x376ce2;};}var Zj=new Set();function Xj(_0x1c4e75){Zj['has'](_0x1c4e75)||(Zj['add'](_0x1c4e75),console['warn'](_0x1c4e75));}function qj(_0x40d962){let _0x1522cb={},t=_0x40d962['ctx'],_0x19f636={'progress':()=>t['read']('*commonProgress'),'errors':()=>t['read']('*collectionErrors'),'group':()=>t['read']('*groupInfo'),'totalCount':()=>_0x40d962['uploadCollection']['size'],'failedCount':()=>_0x1522cb['failedEntries']['length'],'successCount':()=>_0x1522cb['successEntries']['length'],'uploadingCount':()=>_0x1522cb['uploadingEntries']['length'],'status':()=>_0x1522cb['isFailed']?'failed':_0x1522cb['isUploading']?'uploading':_0x1522cb['isSuccess']?'success':'idle','isSuccess':()=>_0x1522cb['allEntries']['length']>0x0&&0x0===_0x1522cb['errors']['length']&&_0x1522cb['successEntries']['length']===_0x1522cb['allEntries']['length'],'isUploading':()=>_0x1522cb['allEntries']['some'](_0x50df5f=>'uploading'===_0x50df5f['status']),'isFailed':()=>_0x1522cb['errors']['length']>0x0||_0x1522cb['failedEntries']['length']>0x0,'allEntries':()=>Hj(_0x40d962),'successEntries':()=>_0x1522cb['allEntries']['filter'](_0x19a073=>'success'===_0x19a073['status']),'failedEntries':()=>_0x1522cb['allEntries']['filter'](_0x1d628e=>'failed'===_0x1d628e['status']),'uploadingEntries':()=>_0x1522cb['allEntries']['filter'](_0x1924eb=>'uploading'===_0x1924eb['status']),'idleEntries':()=>_0x1522cb['allEntries']['filter'](_0x1a7790=>'idle'===_0x1a7790['status'])},_0x138824=function(_0x11f635){let _0x302247=!0x1;return setTimeout(()=>{_0x302247=!0x0;},0x0),_0x1aeed7=>(..._0xa26214)=>(_0x302247&&Xj(_0x11f635),_0x1aeed7(..._0xa26214));}('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 [_0x2259d1,_0x45a118]of Object['entries'](_0x19f636)){let _0x2bb3fb=_0x2259d1,_0x49afbc=Gj(_0x138824(_0x45a118));Object['defineProperty'](_0x1522cb,_0x2bb3fb,{'get':_0x49afbc,'enumerable':!0x0});}return _0x1522cb;}var Wj=class extends WU{constructor(){super(...arguments),this['Et']=ej(()=>this['e']),this['addFileFromUrl']=(t,{silent:_0x14ffc0,fileName:_0x5b3fb8,source:_0x149eff}={})=>{let _0x7f3709=this['v']['add']({'externalUrl':t,'fileName':_0x5b3fb8??null,'silent':_0x14ffc0??!0x1,'source':_0x149eff??Bj['API']});return this['getOutputItem'](_0x7f3709);},this['addFileFromUuid']=(t,{silent:_0x4df8b1,fileName:_0x493d81,source:_0x1a0a40}={})=>{let _0x2a9321=this['v']['add']({'uuid':t,'fileName':_0x493d81??null,'silent':_0x4df8b1??!0x1,'source':_0x1a0a40??Bj['API']});return this['getOutputItem'](_0x2a9321);},this['addFileFromCdnUrl']=(t,{silent:_0x5e9afb,fileName:_0xeecbd,source:_0x135762}={})=>{let _0x29ae11=(({url:_0x34d1f8,cdnBase:_0x35b967})=>{let t=new URL(_0x35b967),_0x2e8ec8=new URL(GU),_0x58471e=new URL(_0x34d1f8);if(t['host']!==_0x58471e['host']&&_0x2e8ec8['host']!==_0x58471e['host'])return null;let _0x4a2362=Qj['exec'](_0x58471e['pathname']);if(!_0x4a2362)return null;let [,_0x126ab3,_0x152b49,_0x12e4aa]=_0x4a2362;return _0x126ab3?{'uuid':_0x126ab3,'cdnUrlModifiers':_0x152b49||'','filename':_0x12e4aa||null}:null;})({'url':t,'cdnBase':this['cfg']['cdnCname']});if(!_0x29ae11)throw new Error('Invalid\x20CDN\x20URL');let _0xc2cd73=this['v']['add']({'uuid':_0x29ae11['uuid'],'cdnUrl':t,'cdnUrlModifiers':_0x29ae11['cdnUrlModifiers'],'fileName':_0xeecbd??_0x29ae11['filename']??null,'silent':_0x5e9afb??!0x1,'source':_0x135762??Bj['API']});return this['getOutputItem'](_0xc2cd73);},this['addFileFromObject']=(t,{silent:_0x205ec4,fileName:_0x44a4be,source:_0x53fef1,fullPath:_0x3cc85e}={})=>{let _0xee8d0d=this['v']['add']({'file':t,'isImage':NF(t),'mimeType':t['type']||null,'fileName':_0x44a4be??t['name'],'fileSize':t['size'],'silent':_0x205ec4??!0x1,'source':_0x53fef1??Bj['API'],'fullPath':_0x3cc85e??null});return this['getOutputItem'](_0xee8d0d);},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'](_0x11a63a=>{let _0x37c4a5=this['v']['read'](_0x11a63a);return!!_0x37c4a5&&!(_0x37c4a5['getValue']('isRemoved')||_0x37c4a5['getValue']('isUploading')||_0x37c4a5['getValue']('fileInfo')||0x0!==_0x37c4a5['getValue']('errors')['length']||_0x37c4a5['getValue']('isValidationPending')||_0x37c4a5['getValue']('isQueuedForValidation'));});0x0!==t['length']&&(this['e']['pub']('*uploadTrigger',new Set(t)),this['i']['eventEmitter']['emit'](HF['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));},this['openSystemDialog']=(t={})=>{let _0x2402d5=pU(PF([this['cfg']['accept']??'',...this['cfg']['imgOnly']?RF:[]])),_0x1ee07e='uploadcare-file-input',_0x5a02df=document['createElement']('input');if(_0x5a02df['setAttribute'](_0x1ee07e,''),Dj(_0x5a02df,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x5a02df['type']='file',_0x5a02df['multiple']=this['cfg']['multiple'],t['captureCamera']){_0x5a02df['capture']=this['cfg']['cameraCapture'];let {isPhotoEnabled:_0x3f1fc0,isVideoRecordingEnabled:_0xec2942}=(_0x3a7590=>({'isVideoRecordingEnabled':gU(_0x3a7590['cameraModes'])['includes'](Nj['VIDEO']),'isPhotoEnabled':gU(_0x3a7590['cameraModes'])['includes'](Nj['PHOTO'])}))(this['cfg']);t['modeCamera']===Nj['PHOTO']&&_0x3f1fc0?_0x5a02df['accept']=kF:t['modeCamera']===Nj['VIDEO']&&_0xec2942?_0x5a02df['accept']=xF:_0x5a02df['accept']=[kF,_0xec2942&&xF]['filter'](Boolean)['join'](',');}else _0x5a02df['accept']=_0x2402d5;_0x5a02df['addEventListener']('change',()=>{_0x5a02df['files']&&([..._0x5a02df['files']]['forEach'](_0x29edeb=>{this['addFileFromObject'](_0x29edeb,{'source':t['captureCamera']?Bj['CAMERA']:Bj['LOCAL']});}),this['e']['pub']('*currentActivity',fF['UPLOAD_LIST']),this['i']['modalManager']?.['open'](fF['UPLOAD_LIST']),_0x5a02df['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x1ee07e+']')['forEach'](_0x2e040b=>{_0x2e040b['remove']();}),document['body']['appendChild'](_0x5a02df),_0x5a02df['dispatchEvent'](new MouseEvent('click'));},this['initFlow']=(t=!0x1)=>{if(this['v']['size']>0x0&&!t)this['e']['pub']('*currentActivity',fF['UPLOAD_LIST']),this['i']['modalManager']?.['open'](fF['UPLOAD_LIST']);else{if(0x1===this['On']?.['length']){let _0x69e66b=this['On'][0x0];this['go']()['then'](()=>{let _0xc31ec9=this['i']['pluginManager']['snapshot']()['sources'],_0x4e8d8d=_0xc31ec9['find'](_0x19f6f3=>_0x19f6f3['id']===_0x69e66b);if(_0x4e8d8d){let _0x333bdb=_0x4e8d8d['expand']?.()??[_0x69e66b];return void(0x1===_0x333bdb['length']?(_0xc31ec9['find'](_0x76004c=>_0x76004c['id']===_0x333bdb[0x0])??_0x4e8d8d)['onSelect']():(this['e']['pub']('*currentActivity',fF['START_FROM']),this['i']['modalManager']?.['open'](fF['START_FROM'])));}this['e']['read']('*currentActivity')&&this['i']['modalManager']?.['open'](this['e']['read']('*currentActivity'));});}else this['e']['pub']('*currentActivity',fF['START_FROM']),this['i']['modalManager']?.['open'](fF['START_FROM']);}},this['doneFlow']=()=>{let t=((_0x5f9ff3,_0x884ff1)=>{for(let t of _0x5f9ff3)if(_0x884ff1(t))return t;})(this['i']['blocksRegistry'],_0x44101e=>'doneActivity'in _0x44101e);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,..._0x5a4d)=>{this['go']()['then'](()=>{this['e']['pub']('*currentActivityParams',_0x5a4d[0x0]??{}),this['e']['pub']('*currentActivity',t),$j(this['i']['blocksRegistry'],_0x19ab5d=>_0x19ab5d['activityType']===t,{'onTimeout':()=>console['warn']('Activity\x20type\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20context'),'timeout':0x64});});},this['on']=(t,_0x386cdf)=>this['i']['eventEmitter']['on'](t,_0x386cdf),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 _0x5bc161=this['e']['read']('*currentActivity');if(_0x5bc161)return $j(this['i']['blocksRegistry'],_0x4f4698=>_0x4f4698['activityType']===_0x5bc161,{'onTimeout':()=>console['warn']('Activity\x20block\x20\x22'+_0x5bc161+'\x22\x20not\x20found\x20in\x20the\x20context')})['then'](()=>{this['i']['modalManager']?.['open'](_0x5bc161);});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 _0x3885da=MQ['getCtx'](t);if(!_0x3885da)throw new Error('UploaderPublicApi#getOutputItem:\x20Entry\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20upload\x20collection');let _0x2fe4af=_0x3885da['store'],_0x54e24c=_0x2fe4af['fileInfo'],_0xa7ee8a=_0x2fe4af['isRemoved']?'removed':_0x2fe4af['errors']['length']>0x0?'failed':_0x2fe4af['fileInfo']?'success':_0x2fe4af['isUploading']?'uploading':'idle';return{'uuid':_0x54e24c?.['uuid']??_0x2fe4af['uuid']??null,'internalId':t,'name':_0x54e24c?.['originalFilename']??_0x2fe4af['fileName'],'size':_0x54e24c?.['size']??_0x2fe4af['fileSize'],'isImage':_0x54e24c?.['isImage']??_0x2fe4af['isImage'],'mimeType':_0x54e24c?.['mimeType']??_0x2fe4af['mimeType'],'file':_0x2fe4af['file'],'externalUrl':_0x2fe4af['externalUrl'],'cdnUrlModifiers':_0x2fe4af['cdnUrlModifiers'],'cdnUrl':_0x2fe4af['cdnUrl']??_0x54e24c?.['cdnUrl']??null,'fullPath':_0x2fe4af['fullPath'],'uploadProgress':_0x2fe4af['uploadProgress'],'fileInfo':_0x54e24c??null,'metadata':_0x2fe4af['metadata']??_0x54e24c?.['metadata']??null,'isSuccess':'success'===_0xa7ee8a,'isUploading':'uploading'===_0xa7ee8a,'isFailed':'failed'===_0xa7ee8a,'isRemoved':'removed'===_0xa7ee8a,'isValidationPending':_0x2fe4af['isValidationPending'],'errors':_0x2fe4af['errors'],'status':_0xa7ee8a,'source':_0x2fe4af?.['source']};}['getOutputCollectionState'](){return qj(this['i']);}async['go'](){return(await this['i']['wait']('pluginManager'))['pluginsReady']();}get['On'](){let t=[];return this['cfg']['sourceList']&&(t=kU(this['cfg']['sourceList'])),t;}},zj={'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},Yj=33.333333333333336;function Kj(_0x481491,_0x4c0bcb){for(let [t,_0x4f4bea]of Object['entries'](_0x4c0bcb))_0x481491['setAttributeNS'](null,t,_0x4f4bea['toString']());}function Jj(_0x9a9fa3,_0x75d7ba={}){let t=document['createElementNS']('http://www.w3.org/2000/svg',_0x9a9fa3);return Kj(t,_0x75d7ba),t;}function tH(_0x212c61,_0x666943,t){let {x:_0x110ab5,y:_0xf96f03,width:_0x383322,height:_0x138e27}=_0x212c61,_0x2084fd=_0x666943['includes']('w')?0x0:0x1,_0x45cd55=_0x666943['includes']('n')?0x0:0x1,_0x4ec5f6=0x0===_0x2084fd?-0x1:0x1,_0x5bd5a2=0x0===_0x45cd55?-0x1:0x1,_0x48bfe8=[_0x110ab5+_0x2084fd*_0x383322+1.5*_0x4ec5f6,_0xf96f03+_0x45cd55*_0x138e27+1.5*_0x5bd5a2-0x18*t*_0x5bd5a2],_0x201b7a=[_0x110ab5+_0x2084fd*_0x383322+1.5*_0x4ec5f6,_0xf96f03+_0x45cd55*_0x138e27+1.5*_0x5bd5a2],_0x36c06f=[_0x110ab5+_0x2084fd*_0x383322-0x18*t*_0x4ec5f6+1.5*_0x4ec5f6,_0xf96f03+_0x45cd55*_0x138e27+1.5*_0x5bd5a2];return{'d':'M\x20'+_0x48bfe8[0x0]+'\x20'+_0x48bfe8[0x1]+'\x20L\x20'+_0x201b7a[0x0]+'\x20'+_0x201b7a[0x1]+'\x20L\x20'+_0x36c06f[0x0]+'\x20'+_0x36c06f[0x1],'center':[_0x201b7a[0x0],_0x201b7a[0x1]]};}function eH(_0x44ea62,_0x3dbefe,t){let _0x2b539e,_0x5234d6,{x:_0x500c7a,y:_0x1d8f3b,width:_0x43b94e,height:_0x4a89f6}=_0x44ea62,_0x5b9daa='n'===_0x3dbefe||'s'===_0x3dbefe,_0x19a5ff=_0x5b9daa?0.5:'w'===_0x3dbefe?0x0:0x1,_0x5b8f32='w'===_0x3dbefe||'e'===_0x3dbefe?0.5:'n'===_0x3dbefe?0x0:0x1,_0x1fcf39='w'===_0x3dbefe?-0x1:'e'===_0x3dbefe?0x1:0x0,_0x49ce7e='n'===_0x3dbefe?-0x1:'s'===_0x3dbefe?0x1:0x0;return _0x5b9daa?(_0x2b539e=[_0x500c7a+_0x19a5ff*_0x43b94e-0x22*t/0x2,_0x1d8f3b+_0x5b8f32*_0x4a89f6+1.5*_0x49ce7e],_0x5234d6=[_0x500c7a+_0x19a5ff*_0x43b94e+0x22*t/0x2,_0x1d8f3b+_0x5b8f32*_0x4a89f6+1.5*_0x49ce7e]):(_0x2b539e=[_0x500c7a+_0x19a5ff*_0x43b94e+1.5*_0x1fcf39,_0x1d8f3b+_0x5b8f32*_0x4a89f6-0x22*t/0x2],_0x5234d6=[_0x500c7a+_0x19a5ff*_0x43b94e+1.5*_0x1fcf39,_0x1d8f3b+_0x5b8f32*_0x4a89f6+0x22*t/0x2]),{'d':'M\x20'+_0x2b539e[0x0]+'\x20'+_0x2b539e[0x1]+'\x20L\x20'+_0x5234d6[0x0]+'\x20'+_0x5234d6[0x1],'center':[(_0x2b539e[0x0]+_0x5234d6[0x0])/0x2,(_0x2b539e[0x1]+_0x5234d6[0x1])/0x2]};}function iH(_0x2db046,_0x50c17d){let {x:t}=_0x2db046,{y:_0x26b757}=_0x2db046;return _0x2db046['x']<_0x50c17d['x']?t=_0x50c17d['x']:_0x2db046['x']+_0x2db046['width']>_0x50c17d['x']+_0x50c17d['width']&&(t=_0x50c17d['x']+_0x50c17d['width']-_0x2db046['width']),_0x2db046['y']<_0x50c17d['y']?_0x26b757=_0x50c17d['y']:_0x2db046['y']+_0x2db046['height']>_0x50c17d['y']+_0x50c17d['height']&&(_0x26b757=_0x50c17d['y']+_0x50c17d['height']-_0x2db046['height']),{..._0x2db046,'x':t,'y':_0x26b757};}function sH({direction:_0x52d10d,..._0x204e66}){switch(_0x52d10d){case'n':return function({rect:_0x179054,delta:_0x19b867,aspectRatio:t,imageBox:_0x5d7abe}){let [,_0x339485]=_0x19b867,{y:_0x20fe2a,width:_0x352f71,height:_0x3de08b}=_0x179054;_0x20fe2a+=_0x339485,_0x3de08b-=_0x339485,t&&(_0x352f71=_0x3de08b*t);let _0x437054=_0x179054['x']+_0x179054['width']/0x2-_0x352f71/0x2;return _0x20fe2a<=_0x5d7abe['y']&&(_0x20fe2a=_0x5d7abe['y'],_0x3de08b=_0x179054['y']+_0x179054['height']-_0x20fe2a,t&&(_0x352f71=_0x3de08b*t,_0x437054=_0x179054['x']+_0x179054['width']/0x2-_0x352f71/0x2)),_0x437054<=_0x5d7abe['x']&&(_0x437054=_0x5d7abe['x'],_0x20fe2a=_0x179054['y']+_0x179054['height']-_0x3de08b),_0x437054+_0x352f71>=_0x5d7abe['x']+_0x5d7abe['width']&&(_0x437054=Math['max'](_0x5d7abe['x'],_0x5d7abe['x']+_0x5d7abe['width']-_0x352f71),_0x352f71=_0x5d7abe['x']+_0x5d7abe['width']-_0x437054,t&&(_0x3de08b=_0x352f71/t),_0x20fe2a=_0x179054['y']+_0x179054['height']-_0x3de08b),_0x3de08b<0x1&&(_0x3de08b=0x1,t&&(_0x352f71=_0x3de08b*t,_0x437054=_0x179054['x']+_0x179054['width']/0x2-_0x352f71/0x2),_0x20fe2a=_0x179054['y']+_0x179054['height']-_0x3de08b),_0x352f71<0x1&&(_0x352f71=0x1,t&&(_0x3de08b=_0x352f71/t,_0x437054=_0x179054['x']+_0x179054['width']/0x2-_0x352f71/0x2),_0x20fe2a=_0x179054['y']+_0x179054['height']-_0x3de08b),{'x':_0x437054,'y':_0x20fe2a,'width':_0x352f71,'height':_0x3de08b};}(_0x204e66);case'w':return function({rect:_0x5c9fee,delta:_0x3fd5d9,aspectRatio:t,imageBox:_0x23b787}){let [_0x2e8633]=_0x3fd5d9,{x:_0x44adb5,width:_0x413a2b,height:_0x2d6894}=_0x5c9fee;_0x44adb5+=_0x2e8633,_0x413a2b-=_0x2e8633,t&&(_0x2d6894=_0x413a2b/t);let _0x2d9a21=_0x5c9fee['y']+_0x5c9fee['height']/0x2-_0x2d6894/0x2;return _0x44adb5<=_0x23b787['x']&&(_0x44adb5=_0x23b787['x'],_0x413a2b=_0x5c9fee['x']+_0x5c9fee['width']-_0x44adb5,t&&(_0x2d6894=_0x413a2b/t,_0x2d9a21=_0x5c9fee['y']+_0x5c9fee['height']/0x2-_0x2d6894/0x2)),_0x2d9a21<=_0x23b787['y']&&(_0x2d9a21=_0x23b787['y'],_0x44adb5=_0x5c9fee['x']+_0x5c9fee['width']-_0x413a2b),_0x2d9a21+_0x2d6894>=_0x23b787['y']+_0x23b787['height']&&(_0x2d9a21=Math['max'](_0x23b787['y'],_0x23b787['y']+_0x23b787['height']-_0x2d6894),_0x2d6894=_0x23b787['y']+_0x23b787['height']-_0x2d9a21,t&&(_0x413a2b=_0x2d6894*t),_0x44adb5=_0x5c9fee['x']+_0x5c9fee['width']-_0x413a2b),_0x2d6894<0x1&&(_0x2d6894=0x1,t&&(_0x413a2b=_0x2d6894*t),_0x2d9a21=_0x5c9fee['y']+_0x5c9fee['height']/0x2-_0x2d6894/0x2,_0x44adb5=_0x5c9fee['x']+_0x5c9fee['width']-_0x413a2b),_0x413a2b<0x1&&(_0x413a2b=0x1,t&&(_0x2d6894=_0x413a2b/t),_0x2d9a21=_0x5c9fee['y']+_0x5c9fee['height']/0x2-_0x2d6894/0x2,_0x44adb5=_0x5c9fee['x']+_0x5c9fee['width']-_0x413a2b),{'x':_0x44adb5,'y':_0x2d9a21,'width':_0x413a2b,'height':_0x2d6894};}(_0x204e66);case's':return function({rect:_0x3f8a03,delta:_0x2c90bc,aspectRatio:t,imageBox:_0x15cdf9}){let [,_0x4ef04d]=_0x2c90bc,{y:_0x512c36,width:_0xbbd4d,height:_0x33f5a6}=_0x3f8a03;_0x33f5a6+=_0x4ef04d,t&&(_0xbbd4d=_0x33f5a6*t);let _0x4996df=_0x3f8a03['x']+_0x3f8a03['width']/0x2-_0xbbd4d/0x2;return _0x512c36+_0x33f5a6>=_0x15cdf9['y']+_0x15cdf9['height']&&(_0x33f5a6=_0x15cdf9['y']+_0x15cdf9['height']-_0x512c36,t&&(_0xbbd4d=_0x33f5a6*t),_0x4996df=_0x3f8a03['x']+_0x3f8a03['width']/0x2-_0xbbd4d/0x2),_0x4996df<=_0x15cdf9['x']&&(_0x4996df=_0x15cdf9['x'],_0x512c36=_0x3f8a03['y']),_0x4996df+_0xbbd4d>=_0x15cdf9['x']+_0x15cdf9['width']&&(_0x4996df=Math['max'](_0x15cdf9['x'],_0x15cdf9['x']+_0x15cdf9['width']-_0xbbd4d),_0xbbd4d=_0x15cdf9['x']+_0x15cdf9['width']-_0x4996df,t&&(_0x33f5a6=_0xbbd4d/t),_0x512c36=_0x3f8a03['y']),_0x33f5a6<0x1&&(_0x33f5a6=0x1,t&&(_0xbbd4d=_0x33f5a6*t),_0x4996df=_0x3f8a03['x']+_0x3f8a03['width']/0x2-_0xbbd4d/0x2),_0xbbd4d<0x1&&(_0xbbd4d=0x1,t&&(_0x33f5a6=_0xbbd4d/t),_0x4996df=_0x3f8a03['x']+_0x3f8a03['width']/0x2-_0xbbd4d/0x2),{'x':_0x4996df,'y':_0x512c36,'width':_0xbbd4d,'height':_0x33f5a6};}(_0x204e66);case'e':return function({rect:_0x421b01,delta:_0x5a6baa,aspectRatio:t,imageBox:_0x246f40}){let [_0x348074]=_0x5a6baa,{x:_0x19e8fa,width:_0x345351,height:_0x18df59}=_0x421b01;_0x345351+=_0x348074,t&&(_0x18df59=_0x345351/t);let _0x137464=_0x421b01['y']+_0x421b01['height']/0x2-_0x18df59/0x2;return _0x19e8fa+_0x345351>=_0x246f40['x']+_0x246f40['width']&&(_0x345351=_0x246f40['x']+_0x246f40['width']-_0x19e8fa,t&&(_0x18df59=_0x345351/t),_0x137464=_0x421b01['y']+_0x421b01['height']/0x2-_0x18df59/0x2),_0x137464<=_0x246f40['y']&&(_0x137464=_0x246f40['y'],_0x19e8fa=_0x421b01['x']),_0x137464+_0x18df59>=_0x246f40['y']+_0x246f40['height']&&(_0x137464=Math['max'](_0x246f40['y'],_0x246f40['y']+_0x246f40['height']-_0x18df59),_0x18df59=_0x246f40['y']+_0x246f40['height']-_0x137464,t&&(_0x345351=_0x18df59*t),_0x19e8fa=_0x421b01['x']),_0x18df59<0x1&&(_0x18df59=0x1,t&&(_0x345351=_0x18df59*t),_0x137464=_0x421b01['y']+_0x421b01['height']/0x2-_0x18df59/0x2),_0x345351<0x1&&(_0x345351=0x1,t&&(_0x18df59=_0x345351/t),_0x137464=_0x421b01['y']+_0x421b01['height']/0x2-_0x18df59/0x2),{'x':_0x19e8fa,'y':_0x137464,'width':_0x345351,'height':_0x18df59};}(_0x204e66);case'nw':return function({rect:_0x1d4712,delta:_0x10891f,aspectRatio:t,imageBox:_0x166329}){let [_0x5b3e2f,_0x260518]=_0x10891f,{x:_0x39d445,y:_0x3cad2a,width:_0xf3d54,height:_0x3a6c67}=_0x1d4712;return _0x39d445+_0x5b3e2f<_0x166329['x']&&(_0x5b3e2f=_0x166329['x']-_0x39d445),_0x3cad2a+_0x260518<_0x166329['y']&&(_0x260518=_0x166329['y']-_0x3cad2a),_0x39d445+=_0x5b3e2f,_0xf3d54-=_0x5b3e2f,_0x3cad2a+=_0x260518,_0x3a6c67-=_0x260518,t&&Math['abs'](_0xf3d54/_0x3a6c67)>t?(_0x260518=_0xf3d54/t-_0x3a6c67,_0x3a6c67+=_0x260518,_0x3cad2a-=_0x260518,_0x3cad2a<=_0x166329['y']&&(_0x3a6c67-=_0x166329['y']-_0x3cad2a,_0xf3d54=_0x3a6c67*t,_0x39d445=_0x1d4712['x']+_0x1d4712['width']-_0xf3d54,_0x3cad2a=_0x166329['y'])):t&&(_0x5b3e2f=_0x3a6c67*t-_0xf3d54,_0xf3d54+=_0x5b3e2f,_0x39d445-=_0x5b3e2f,_0x39d445<=_0x166329['x']&&(_0xf3d54-=_0x166329['x']-_0x39d445,_0x3a6c67=_0xf3d54/t,_0x39d445=_0x166329['x'],_0x3cad2a=_0x1d4712['y']+_0x1d4712['height']-_0x3a6c67)),_0x3a6c67<0x1&&(_0x3a6c67=0x1,t&&(_0xf3d54=_0x3a6c67*t),_0x39d445=_0x1d4712['x']+_0x1d4712['width']-_0xf3d54,_0x3cad2a=_0x1d4712['y']+_0x1d4712['height']-_0x3a6c67),_0xf3d54<0x1&&(_0xf3d54=0x1,t&&(_0x3a6c67=_0xf3d54/t),_0x39d445=_0x1d4712['x']+_0x1d4712['width']-_0xf3d54,_0x3cad2a=_0x1d4712['y']+_0x1d4712['height']-_0x3a6c67),{'x':_0x39d445,'y':_0x3cad2a,'width':_0xf3d54,'height':_0x3a6c67};}(_0x204e66);case'ne':return function({rect:_0x269210,delta:_0xe72072,aspectRatio:t,imageBox:_0x3b92a9}){let [_0x4e5c2f,_0x234220]=_0xe72072,{x:_0x22fd90,y:_0x294758,width:_0x40c720,height:_0x4f48f6}=_0x269210;return _0x22fd90+_0x40c720+_0x4e5c2f>_0x3b92a9['x']+_0x3b92a9['width']&&(_0x4e5c2f=_0x3b92a9['x']+_0x3b92a9['width']-_0x22fd90-_0x40c720),_0x294758+_0x234220<_0x3b92a9['y']&&(_0x234220=_0x3b92a9['y']-_0x294758),_0x40c720+=_0x4e5c2f,_0x294758+=_0x234220,_0x4f48f6-=_0x234220,t&&Math['abs'](_0x40c720/_0x4f48f6)>t?(_0x234220=_0x40c720/t-_0x4f48f6,_0x4f48f6+=_0x234220,_0x294758-=_0x234220,_0x294758<=_0x3b92a9['y']&&(_0x4f48f6-=_0x3b92a9['y']-_0x294758,_0x40c720=_0x4f48f6*t,_0x22fd90=_0x269210['x'],_0x294758=_0x3b92a9['y'])):t&&(_0x4e5c2f=_0x4f48f6*t-_0x40c720,_0x40c720+=_0x4e5c2f,_0x22fd90+_0x40c720>=_0x3b92a9['x']+_0x3b92a9['width']&&(_0x40c720=_0x3b92a9['x']+_0x3b92a9['width']-_0x22fd90,_0x4f48f6=_0x40c720/t,_0x22fd90=_0x3b92a9['x']+_0x3b92a9['width']-_0x40c720,_0x294758=_0x269210['y']+_0x269210['height']-_0x4f48f6)),_0x4f48f6<0x1&&(_0x4f48f6=0x1,t&&(_0x40c720=_0x4f48f6*t),_0x294758=_0x269210['y']+_0x269210['height']-_0x4f48f6),_0x40c720<0x1&&(_0x40c720=0x1,t&&(_0x4f48f6=_0x40c720/t),_0x294758=_0x269210['y']+_0x269210['height']-_0x4f48f6),{'x':_0x22fd90,'y':_0x294758,'width':_0x40c720,'height':_0x4f48f6};}(_0x204e66);case'sw':return function({rect:_0x27ab33,delta:_0x232444,aspectRatio:t,imageBox:_0x54ed9c}){let [_0x1cc57b,_0x4521ab]=_0x232444,{x:_0x831bcd,y:_0x18d5cd,width:_0x2cf93d,height:_0x1c14ff}=_0x27ab33;return _0x831bcd+_0x1cc57b<_0x54ed9c['x']&&(_0x1cc57b=_0x54ed9c['x']-_0x831bcd),_0x18d5cd+_0x1c14ff+_0x4521ab>_0x54ed9c['y']+_0x54ed9c['height']&&(_0x4521ab=_0x54ed9c['y']+_0x54ed9c['height']-_0x18d5cd-_0x1c14ff),_0x831bcd+=_0x1cc57b,_0x2cf93d-=_0x1cc57b,_0x1c14ff+=_0x4521ab,t&&Math['abs'](_0x2cf93d/_0x1c14ff)>t?(_0x4521ab=_0x2cf93d/t-_0x1c14ff,_0x1c14ff+=_0x4521ab,_0x18d5cd+_0x1c14ff>=_0x54ed9c['y']+_0x54ed9c['height']&&(_0x1c14ff=_0x54ed9c['y']+_0x54ed9c['height']-_0x18d5cd,_0x2cf93d=_0x1c14ff*t,_0x831bcd=_0x27ab33['x']+_0x27ab33['width']-_0x2cf93d,_0x18d5cd=_0x54ed9c['y']+_0x54ed9c['height']-_0x1c14ff)):t&&(_0x1cc57b=_0x1c14ff*t-_0x2cf93d,_0x2cf93d+=_0x1cc57b,_0x831bcd-=_0x1cc57b,_0x831bcd<=_0x54ed9c['x']&&(_0x2cf93d-=_0x54ed9c['x']-_0x831bcd,_0x1c14ff=_0x2cf93d/t,_0x831bcd=_0x54ed9c['x'],_0x18d5cd=_0x27ab33['y'])),_0x1c14ff<0x1&&(_0x1c14ff=0x1,t&&(_0x2cf93d=_0x1c14ff*t),_0x831bcd=_0x27ab33['x']+_0x27ab33['width']-_0x2cf93d),_0x2cf93d<0x1&&(_0x2cf93d=0x1,t&&(_0x1c14ff=_0x2cf93d/t),_0x831bcd=_0x27ab33['x']+_0x27ab33['width']-_0x2cf93d),{'x':_0x831bcd,'y':_0x18d5cd,'width':_0x2cf93d,'height':_0x1c14ff};}(_0x204e66);case'se':return function({rect:_0x2c0fc1,delta:_0x5ea18e,aspectRatio:t,imageBox:_0x5022a5}){let [_0x4e9bbe,_0x4cedd7]=_0x5ea18e,{x:_0x2584a2,y:_0x2ba661,width:_0x71ae93,height:_0x51e3f4}=_0x2c0fc1;return _0x2584a2+_0x71ae93+_0x4e9bbe>_0x5022a5['x']+_0x5022a5['width']&&(_0x4e9bbe=_0x5022a5['x']+_0x5022a5['width']-_0x2584a2-_0x71ae93),_0x2ba661+_0x51e3f4+_0x4cedd7>_0x5022a5['y']+_0x5022a5['height']&&(_0x4cedd7=_0x5022a5['y']+_0x5022a5['height']-_0x2ba661-_0x51e3f4),_0x71ae93+=_0x4e9bbe,_0x51e3f4+=_0x4cedd7,t&&Math['abs'](_0x71ae93/_0x51e3f4)>t?(_0x4cedd7=_0x71ae93/t-_0x51e3f4,_0x51e3f4+=_0x4cedd7,_0x2ba661+_0x51e3f4>=_0x5022a5['y']+_0x5022a5['height']&&(_0x51e3f4=_0x5022a5['y']+_0x5022a5['height']-_0x2ba661,_0x71ae93=_0x51e3f4*t,_0x2584a2=_0x2c0fc1['x'],_0x2ba661=_0x5022a5['y']+_0x5022a5['height']-_0x51e3f4)):t&&(_0x4e9bbe=_0x51e3f4*t-_0x71ae93,_0x71ae93+=_0x4e9bbe,_0x2584a2+_0x71ae93>=_0x5022a5['x']+_0x5022a5['width']&&(_0x71ae93=_0x5022a5['x']+_0x5022a5['width']-_0x2584a2,_0x51e3f4=_0x71ae93/t,_0x2584a2=_0x5022a5['x']+_0x5022a5['width']-_0x71ae93,_0x2ba661=_0x2c0fc1['y'])),_0x51e3f4<0x1&&(_0x51e3f4=0x1,t&&(_0x71ae93=_0x51e3f4*t)),_0x71ae93<0x1&&(_0x71ae93=0x1,t&&(_0x51e3f4=_0x71ae93/t)),{'x':_0x2584a2,'y':_0x2ba661,'width':_0x71ae93,'height':_0x51e3f4};}(_0x204e66);default:return _0x204e66['rect'];}}function nH({width:_0x1243a8,height:_0x3c2509},t){let _0x12a083=t/0x5a%0x2!=0x0;return{'width':_0x12a083?_0x3c2509:_0x1243a8,'height':_0x12a083?_0x1243a8:_0x3c2509};}function rH(_0x2bf93d,_0xc5184d,t){let _0x39e80a,_0x23d13e;_0x2bf93d/_0xc5184d>t?(_0x39e80a=Math['round'](_0xc5184d*t),_0x23d13e=_0xc5184d):(_0x39e80a=_0x2bf93d,_0x23d13e=Math['round'](_0x2bf93d/t));let _0x2073e6=Math['round']((_0x2bf93d-_0x39e80a)/0x2),_0x2c3df4=Math['round']((_0xc5184d-_0x23d13e)/0x2);return _0x2073e6+_0x39e80a>_0x2bf93d&&(_0x39e80a=_0x2bf93d-_0x2073e6),_0x2c3df4+_0x23d13e>_0xc5184d&&(_0x23d13e=_0xc5184d-_0x2c3df4),{'x':_0x2073e6,'y':_0x2c3df4,'width':_0x39e80a,'height':_0x23d13e};}function oH(_0x132be3){return{'x':Math['round'](_0x132be3['x']),'y':Math['round'](_0x132be3['y']),'width':Math['round'](_0x132be3['width']),'height':Math['round'](_0x132be3['height'])};}function aH(_0x4da53a,_0x3a7c58,t){return Math['min'](Math['max'](_0x4da53a,_0x3a7c58),t);}var cH=['free'],lH=_0x2029b0=>{let _0x108454=kU(_0x2029b0);if(!_0x108454||0x0===_0x108454['length'])return[];let t=[];for(let _0x51b2ab of _0x108454){let _0x3769ec=_0x51b2ab['trim']();if(!_0x3769ec)continue;let _0x18659a=_0x3769ec['indexOf'](':');if(-0x1===_0x18659a&&!cH['includes'](_0x3769ec)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x3769ec);continue;}let _0x291a42=Number(_0x3769ec['slice'](0x0,_0x18659a)),_0x2ea0c9=Number(_0x3769ec['slice'](_0x18659a+0x1));!(!Number['isFinite'](_0x291a42)||!Number['isFinite'](_0x2ea0c9)||_0x291a42<=0x0||_0x2ea0c9<=0x0)||cH['includes'](_0x3769ec)?t['push']({'id':rU['generateFastUid'](),'type':'aspect-ratio','width':cH['includes'](_0x3769ec)?0x0:_0x291a42,'height':cH['includes'](_0x3769ec)?0x0:_0x2ea0c9,'hasFreeform':cH['includes'](_0x3769ec)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x3769ec);}return t;};function hH(_0x2735bb){return aB({..._0x2735bb,'libraryName':ZF,'libraryVersion':XF});}var uH,dH='active',fH='___ACTIVITY_IS_ACTIVE___',mH=class o extends(uH=nj,uH){constructor(){super(...arguments),this['historyTracked']=!0x1,this['activityType']=null,this['init$']=uF(this),this['lu']=eU(this['cu']['bind'](this),0xa);}['In'](){let t=o['ii']['get'](this);this[fH]=!0x1,this['removeAttribute'](dH),t?.['deactivateCallback']?.();}['uu'](){let t=o['ii']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[fH]=!0x0,this['setAttribute'](dH,''),t?.['activateCallback']?.(),this['lu'](),this['emit'](HF['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[fH]?this['In']():this['activityType']===t&&!this[fH]&&this['uu']();}catch(_0x4456a1){this['telemetryManager']['sendEventError'](_0x4456a1,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x4456a1);let _0x416faf=this['$']['*history'][this['$']['*history']['length']-0x1];this['$']['*currentActivity']=_0x416faf??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[fH];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](t,_0x219cdb={}){let {onActivate:_0x4225c4,onDeactivate:_0x115b21}=_0x219cdb;o['ii']['set'](this,{'activateCallback':_0x4225c4,'deactivateCallback':_0x115b21});}['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 _0x99a5df=t['pop']();for(;_0x99a5df===this['activityType'];)_0x99a5df=t['pop']();let _0x1e2cc7=!!_0x99a5df;_0x99a5df&&(_0x1e2cc7=[...this['blocksRegistry']]['find'](_0x2ec7ab=>_0x2ec7ab['activityType']===_0x99a5df)?.['couldOpenActivity']??!0x1),_0x99a5df=_0x1e2cc7?_0x99a5df:null,this['$']['*currentActivity']=_0x99a5df??null,_0x99a5df&&this['modalManager']?.['open'](_0x99a5df),this['$']['*history']=t,_0x99a5df||this['modalManager']?.['closeAll']();}}};mH['activities']=fF;var gH=class o extends mH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x1,this['Xi']=!0x1,this['init$']=dF(this),this['bo']=eU(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;let _0x3ebccb=this['api']['getOutputCollectionState']();this['$']['*collectionState']=_0x3ebccb,this['emit'](HF['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&_0x3ebccb['totalCount']>0x0&&'success'===_0x3ebccb['status']&&this['gu'](_0x3ebccb);},0x12c),this['fu']=(t,_0x49989c,_0x5ed7be)=>{if(this['isConnected']){(_0x49989c['size']||_0x5ed7be['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x49989c]['map'](_0x28c519=>_0x28c519['uid']));for(let _0x4a4b83 of _0x49989c)_0x4a4b83['getValue']('silent')||this['emit'](HF['FILE_ADDED'],this['api']['getOutputItem'](_0x4a4b83['uid'])),this['i']['wait']('pluginManager')['then'](_0xeed356=>_0xeed356['runOnAddHooks'](_0x4a4b83));this['validationManager']['runCollectionValidators']();for(let _0x308c88 of _0x5ed7be){this['$']['*uploadTrigger']['delete'](_0x308c88['uid']),this['validationManager']['cleanupValidationForEntry'](_0x308c88),_0x308c88['getValue']('abortController')?.['abort'](),_0x308c88['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});let _0xb5e21b=_0x308c88?.['getValue']('thumbUrl');_0xb5e21b&&URL['revokeObjectURL'](_0xb5e21b),this['emit'](HF['FILE_REMOVED'],this['api']['getOutputItem'](_0x308c88['uid']));}this['$']['*uploadList']=t['map'](_0x5d60cd=>({'uid':_0x5d60cd})),this['Un'](),this['bo']();}},this['mu']=t=>{if(!this['isConnected'])return;this['bo']();let _0x1055f5=this['uploadCollection'],_0x5aa4f7=[...new Set(Object['entries'](t)['filter'](([_0x4d90ef])=>['file','uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x4d90ef))['flatMap'](([,_0x3acae7])=>[..._0x3acae7]))];if(_0x5aa4f7['length']>0x0&&setTimeout(()=>{if(!this['isConnected'])return;let _0x1282a7=_0x5aa4f7['filter'](_0x5d8059=>t['fileInfo']?.['has'](_0x5d8059)&&!!MQ['getCtx'](_0x5d8059)?.['store']['fileInfo']);_0x1282a7['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x1282a7),this['validationManager']['runFileValidators']('change',_0x5aa4f7);}),t['uploadProgress']){for(let _0x579983 of t['uploadProgress']){let _0x1dab94=MQ['getCtx'](_0x579983);if(!_0x1dab94)continue;let {isUploading:_0x289c65,silent:_0x5bfa92}=_0x1dab94['store'];_0x289c65&&!_0x5bfa92&&this['emit'](HF['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x579983));}this['Un']();}if(t['isUploading'])for(let _0x199f31 of t['isUploading']){let _0x550f6e=MQ['getCtx'](_0x199f31);if(!_0x550f6e)continue;let {isUploading:_0x2a2f26,silent:_0x2b0ecd}=_0x550f6e['store'];_0x2a2f26&&!_0x2b0ecd&&this['emit'](HF['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x199f31));}if(t['fileInfo']){for(let _0x5b3b9a of t['fileInfo']){let _0x3ee78a=MQ['getCtx'](_0x5b3b9a);if(!_0x3ee78a)continue;let {fileInfo:_0x4861e9,silent:_0x20bf07}=_0x3ee78a['store'];_0x4861e9&&!_0x20bf07&&this['emit'](HF['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x5b3b9a));}this['cfg']['cropPreset']&&this['vu']();}if(t['errors']){this['validationManager']['runCollectionValidators']();for(let _0x370fe2 of t['errors']){let _0x3791a2=MQ['getCtx'](_0x370fe2);if(!_0x3791a2)continue;let {errors:_0x838332}=_0x3791a2['store'];_0x838332['length']>0x0&&(this['emit'](HF['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x370fe2)),this['emit'](HF['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}let _0x4d42aa=_0x1055f5['findItems'](_0x2405e4=>!!_0x2405e4['getValue']('fileInfo')),_0x47c587=_0x1055f5['findItems'](_0x494c71=>_0x494c71['getValue']('errors')['length']>0x0);_0x1055f5['size']>0x0&&0x0===_0x47c587['length']&&_0x1055f5['size']===_0x4d42aa['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](HF['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}t['cdnUrl']&&([...t['cdnUrl']]['filter'](_0x4ca72e=>!!this['uploadCollection']['read'](_0x4ca72e)?.['getValue']('cdnUrl'))['forEach'](_0x22f36e=>{this['emit'](HF['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x22f36e));}),this['$']['*groupInfo']=null);},this['Un']=()=>{let t=0x0,_0x55d156=[...this['$']['*uploadTrigger']]['filter'](_0x146d57=>!!this['uploadCollection']['read'](_0x146d57));_0x55d156['forEach'](_0x5e787a=>{let _0x3f9840=this['uploadCollection']['readProp'](_0x5e787a,'uploadProgress');'number'==typeof _0x3f9840&&(t+=_0x3f9840);});let _0x27413b=_0x55d156['length']?Math['round'](t/_0x55d156['length']):0x0;this['$']['*commonProgress']!==_0x27413b&&(this['$']['*commonProgress']=_0x27413b,this['emit'](HF['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 Mj({'initialValue':zj,'watchList':['file','uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']})),this['Z']('*secureUploadsManager',t=>new mj(t)),this['Z']('*validationManager',t=>new xj(t)),this['Z']('*publicApi',t=>new Wj(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 _0x426135=await this['getUploadClientOptions'](),_0x387145=t['allEntries']['map'](_0x5170fe=>_0x5170fe['uuid']+(_0x5170fe['cdnUrlModifiers']?'/'+_0x5170fe['cdnUrlModifiers']:'')),_0x51a9ed=new AbortController(),_0x35d15a=await lF(_0x387145,{..._0x426135,'signal':_0x51a9ed['signal']});if(this['$']['*collectionState']!==t)return void _0x51a9ed['abort']();this['$']['*groupInfo']=_0x35d15a;let _0x559e43=this['api']['getOutputCollectionState']();this['emit'](HF['GROUP_CREATED'],_0x559e43),this['emit'](HF['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x559e43;}['vu'](){let t=lH(this['cfg']['cropPreset']);if(!t)return;let [_0x542e02]=t,_0x260fe7=this['uploadCollection']['findItems'](_0x1bfd11=>!!_0x1bfd11['getValue']('fileInfo')&&_0x1bfd11['getValue']('isImage')&&!_0x1bfd11['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x3dac7f=>this['uploadCollection']['read'](_0x3dac7f))['filter'](Boolean);for(let _0x1c417d of _0x260fe7){let _0x11e8da=_0x1c417d['getValue']('fileInfo');if(!_0x11e8da||!_0x11e8da['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x1c417d['uid']);continue;}let {width:_0xc32375,height:_0xa3ba9c}=_0x11e8da['imageInfo'],_0x5d29fa=rH(_0xc32375,_0xa3ba9c,'number'==typeof _0x542e02?.['width']&&'number'==typeof _0x542e02?.['height']&&_0x542e02['width']>0x0&&_0x542e02['height']>0x0?_0x542e02['width']/_0x542e02['height']:0x1),_0x3eb771=bU('crop/'+_0x5d29fa['width']+'x'+_0x5d29fa['height']+'/'+_0x5d29fa['x']+','+_0x5d29fa['y'],'preview'),_0x470da8=_0x1c417d['getValue']('cdnUrl');_0x470da8?_0x1c417d['setMultipleValues']({'cdnUrlModifiers':_0x3eb771,'cdnUrl':SU(_0x470da8,_0x3eb771)}):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x1c417d['uid']);}}async['getMetadataFor'](t){let _0x350001=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x350001){let _0x572e67=this['api']['getOutputItem'](t);return await _0x350001(_0x572e67);}return _0x350001;}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':hH,'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 Hj(this['i']);}};gH['extSrcList']=Object['freeze']({...Vj}),gH['sourceTypes']=Object['freeze']({...Bj});var pH=class extends nj{constructor(){super(...arguments),this['name']='',this['Qi']='',this['ri']=null,this['$n']=null;}['initCallback'](){super['initCallback'](),this['setAttribute']('aria-hidden','true'),this['subConfigValue']('iconHrefResolver',_0x4fda67=>{this['$n']=_0x4fda67,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 _0x11cf4e=this['i']['pluginManager']?.['snapshot']()['icons']['find'](_0x1c3c41=>_0x1c3c41['name']===this['name']);if(_0x11cf4e)return this['ri']=_0x11cf4e['svg'],void(this['Qi']='');this['ri']=null;let _0x194ded='#uc-icon-'+this['name'],_0x18a619=this['$n']?.(this['name']);this['Qi']=_0x18a619??_0x194ded;}['render'](){return this['ri']?_V`${this['yield']('',_V`${uj(this['ri'])}`)}`:_V` ${this['yield']('',_V`<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']();}};SQ([JV({'type':String})],pH['prototype'],'name',0x2),SQ([tU()],pH['prototype'],'Qi',0x2),SQ([tU()],pH['prototype'],'ri',0x2);var OH='--uc-img-',wH='unresolved',bH=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),yH=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),vH=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}}),_H=class extends jV(GV(UV)){constructor(){super(),this['Mt']={},this['c']=new Map(),this['Ot']=null,this['Ji']=null;for(let t in vH){let _0x577a8c=vH[t];this['Mt'][OH+t]=_0x577a8c?.['default']||'';}}['createRenderRoot'](){return this;}['$$'](t){return this['Mt'][OH+t];}['set$$'](t){for(let _0x3edd68 in t){let _0x3f4917=OH+_0x3edd68,_0x2fcae9=t[_0x3edd68];this['Mt'][_0x3f4917]=_0x2fcae9,this['q'](_0x3f4917,_0x2fcae9);}}['sub$$'](t,_0x19d20a){let _0x324b23=OH+t;this['c']['has'](_0x324b23)||this['c']['set'](_0x324b23,new Set()),this['c']['get'](_0x324b23)?.['add'](_0x19d20a);let _0x55e2e1=this['Mt'][_0x324b23];null!==_0x55e2e1&&''!==_0x55e2e1&&_0x19d20a(_0x55e2e1);}['q'](t,_0x2ca6d8){this['c']['has'](t)&&this['c']['get'](t)?.['forEach'](_0x428219=>{null===_0x2ca6d8||''===_0x2ca6d8||_0x428219(_0x2ca6d8);});}['analyticsParams'](){return'-/@clib/'+ZF+'/'+XF+'/uc-img/';}['initAttributes'](t){Array['from'](this['attributes'])['forEach'](_0x46704c=>{let _0x176ddc=_0x46704c;vH[_0x176ddc['name']]||t['setAttribute'](_0x176ddc['name'],_0x176ddc['value']);});}['initIntersection'](t,_0x5c53d6){this['Ot']=new IntersectionObserver(_0x2f6506=>{_0x2f6506['forEach'](_0x144de2=>{_0x144de2['isIntersecting']&&(_0x5c53d6(),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 vH){let _0x534e4a=OH+t,_0x24ff8a=this['getCssData'](_0x534e4a,!0x0);null!=_0x24ff8a&&(this['Mt'][_0x534e4a]=_0x24ff8a);}}['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'](vH);}['attributeChangedCallback'](t,_0xf76d49,_0x1b6071){window['setTimeout'](()=>{let _0x636d1f=OH+t;this['Mt'][_0x636d1f]=_0x1b6071,this['q'](_0x636d1f,_0x1b6071);});}},EH=class extends _H{constructor(){super(...arguments),this['be']=new Image(),this['pe']=new Image();}['Dn'](t){return!t['includes']('//')&&!bH&&(t=new URL(t,document['baseURI'])['href']),t;}['er'](t){if(!t)return;let _0x27de0a=t,_0x247a6b=_0x27de0a['match'](/\d+/)?.[0x0],_0x2eaea4=_0x27de0a['match'](/[a-zA-Z]+/)?.[0x0];if(!_0x247a6b||!_0x2eaea4)return;let _0xf80e1f=parseInt(_0x247a6b,0xa);return Number(_0xf80e1f)>0x1388&&this['Fn']?0x1388+_0x2eaea4:Number(_0xf80e1f)>0xbb8&&!this['Fn']?0xbb8+_0x2eaea4:t;}['bu'](t,_0x4d403f){let _0x457d29={'format':this['To']('format'),'quality':this['To']('quality'),'resize':this['er'](t),'blur':_0x4d403f,'cdn-operations':this['To']('cdn-operations')??void 0x0,'analytics':this['analyticsParams']()};return bU(...(_0x5f38a7=>Object['entries'](_0x5f38a7)['filter'](([_0x220017,t])=>void 0x0!==t&&''!==t)['map'](([_0x57047f,t])=>'cdn-operations'===_0x57047f||'analytics'===_0x57047f?t:_0x57047f+'/'+t))(_0x457d29));}['To'](t){let _0x1df8a5=this['$$'](t);if(null==_0x1df8a5||'string'==typeof _0x1df8a5||'number'==typeof _0x1df8a5||'boolean'==typeof _0x1df8a5)return _0x1df8a5;}['re'](t='',_0x182a24=''){let _0x354155=this['$$']('src');if(_0x354155['startsWith']('data:')||_0x354155['startsWith']('blob:'))return _0x354155;if(bH&&_0x354155&&!_0x354155['includes']('//'))return this['oi'](_0x354155);let _0x11bd3b=this['bu'](t,_0x182a24),_0x40bb97=this['$$']('cdn-cname'),_0x108a57=_0x40bb97;if(_0x354155['startsWith'](String(_0x40bb97)))return SU(_0x354155,_0x11bd3b);let _0x1a1141=this['$$']('uuid');if(_0x108a57&&_0x1a1141)return this['oi'](SU(CU(_0x108a57,_0x1a1141),_0x11bd3b));if(_0x1a1141)return this['oi'](SU(CU(_0x108a57,_0x1a1141),_0x11bd3b));let _0x1ef297=this['$$']('proxy-cname');if(_0x1ef297)return this['oi'](SU(_0x1ef297,_0x11bd3b,this['Dn'](_0x354155)));let _0x232785=this['$$']('pubkey');return _0x232785?this['oi'](SU('https://'+_0x232785+'.ucr.io/',_0x11bd3b,this['Dn'](_0x354155))):void 0x0;}['oi'](t){let _0x3304c1=this['$$']('secure-delivery-proxy');return _0x3304c1?YF(_0x3304c1,{'previewUrl':t},{'transform':_0x5f471c=>window['encodeURIComponent'](_0x5f471c)}):t;}['It'](t,_0x5c3a00=0x1,_0x4eef29=!0x0){let _0x53caed=t['getBoundingClientRect'](),_0x45e0a7=_0x5c3a00*Math['round'](_0x53caed['width']),_0x2c3df2=_0x4eef29?'':_0x5c3a00*Math['round'](_0x53caed['height']);return _0x45e0a7||_0x2c3df2?(_0x45e0a7||'')+'x'+(_0x2c3df2||''):null;}['wu'](t){let _0x110338=_0xbf39f6=>{_0xbf39f6['stopPropagation']();let _0x24c5ed=new Event(_0xbf39f6['type'],_0xbf39f6);this['dispatchEvent'](_0x24c5ed);},_0x1d9561=['load','error'];for(let _0x420592 of _0x1d9561)t['addEventListener'](_0x420592,_0x110338);}get['img'](){return this['we']||(this['Eo']({'elNode':this['be']}),this['appendChild'](this['be'])),this['be'];}get['tr'](){return this['we']?{'type':yH['PREVIEW'],'img':this['pe']}:{'type':yH['MAIN'],'img':this['img']};}get['we'](){return this['$$']('is-preview-blur');}get['Nn'](){return this['$$']('is-background-for');}get['Vn'](){let t=this['$$']('breakpoints');if(t)return(_0x37023b=>[...new Set(_0x37023b)])(kU(t)['map'](_0x40e95c=>parseInt(_0x40e95c,0xa)));return null;}get['Fn'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['_n'](t){let _0x21e913=new Set();_0x21e913['add']('url(\x22'+this['re'](this['It'](t))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x21e913['add']('url(\x22'+this['re'](this['It'](t,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x21e913['add']('url(\x22'+this['re'](this['It'](t,0x3))+'\x22)\x203x');let _0x5f2d86='image-set('+[..._0x21e913]['join'](',\x20')+')';t['style']['setProperty']('background-image',_0x5f2d86),t['style']['setProperty']('background-image','-webkit-'+_0x5f2d86);}['Bn'](){let t=new Set();return this['Vn']?this['Vn']['forEach'](_0x364bb6=>{t['add'](this['re'](_0x364bb6+'x')+'\x20'+this['er'](_0x364bb6+'w')),this['$$']('hi-res-support')&&t['add'](this['re'](0x2*_0x364bb6+'x')+'\x20'+this['er'](0x2*_0x364bb6+'w')),this['$$']('ultra-res-support')&&t['add'](this['re'](0x3*_0x364bb6+'x')+'\x20'+this['er'](0x3*_0x364bb6+'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'](_0x129d00=>{this['$$']('intersection')?this['initIntersection'](_0x129d00,()=>{this['_n'](_0x129d00);}):this['_n'](_0x129d00);});}['Eu']({elNode:t,src:_0x321a69,srcset:_0x360867}){_0x321a69&&(t['src']=_0x321a69),_0x360867&&(t['srcset']=_0x360867);}['Eo']({elNode:t}){this['wu'](t),this['initAttributes'](t);}['xo']({src:t,srcset:_0x385f8b,elNode:_0x1921da}){return new Promise((_0x25c0f1,_0x5df854)=>{this['Eo']({'elNode':_0x1921da}),_0x1921da['setAttribute'](wH,''),_0x1921da['addEventListener']('load',()=>{_0x1921da['removeAttribute'](wH),_0x25c0f1(_0x1921da);}),_0x1921da['addEventListener']('error',()=>{_0x5df854(!0x1);}),this['Eu']({'elNode':_0x1921da,'src':t,'srcset':_0x385f8b});});}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']();}},{I:TH}=DV,AH=_0x4aaea0=>_0x4aaea0,IH=()=>document['createComment'](''),SH=(_0x17fd9f,_0x4420f2,t)=>{let _0x596538=_0x17fd9f['ve']['parentNode'],_0x4dfa2d=void 0x0===_0x4420f2?_0x17fd9f['yt']:_0x4420f2['ve'];if(void 0x0===t){let _0x529a50=_0x596538['insertBefore'](IH(),_0x4dfa2d),_0x20099a=_0x596538['insertBefore'](IH(),_0x4dfa2d);t=new TH(_0x529a50,_0x20099a,_0x17fd9f,_0x17fd9f['options']);}else{let _0x1575d1=t['yt']['nextSibling'],_0x1367f0=t['f'],_0x33a7ac=_0x1367f0!==_0x17fd9f;if(_0x33a7ac){let _0x18b64e;t['Cu']?.(_0x17fd9f),t['f']=_0x17fd9f,void 0x0!==t['Ui']&&(_0x18b64e=_0x17fd9f['W'])!==_0x1367f0['W']&&t['Ui'](_0x18b64e);}if(_0x1575d1!==_0x4dfa2d||_0x33a7ac){let _0x473b86=t['ve'];for(;_0x473b86!==_0x1575d1;){let _0x2e52b0=AH(_0x473b86)['nextSibling'];AH(_0x596538)['insertBefore'](_0x473b86,_0x4dfa2d),_0x473b86=_0x2e52b0;}}}return t;},CH=(_0x480a90,_0x778a6f,t=_0x480a90)=>(_0x480a90['ce'](_0x778a6f,t),_0x480a90),kH={},xH=_0x3014a5=>{_0x3014a5['bt'](),_0x3014a5['ve']['remove']();},RH=(_0x46ecc7,_0x38b453)=>{let t=_0x46ecc7['le'];if(void 0x0===t)return!0x1;for(let _0x325172 of t)_0x325172['qs']?.(_0x38b453,!0x1),RH(_0x325172,_0x38b453);return!0x0;},PH=_0x12f9c5=>{let _0x5b5c9b,t;do{if(void 0x0===(_0x5b5c9b=_0x12f9c5['f']))break;t=_0x5b5c9b['le'],t['delete'](_0x12f9c5),_0x12f9c5=_0x5b5c9b;}while(0x0===t?.['size']);},MH=_0x312a8f=>{for(let _0x436fe4;_0x436fe4=_0x312a8f['f'];_0x312a8f=_0x436fe4){let t=_0x436fe4['le'];if(void 0x0===t)_0x436fe4['le']=t=new Set();else{if(t['has'](_0x312a8f))break;}t['add'](_0x312a8f),$H(_0x436fe4);}};function NH(_0x1733bf){void 0x0!==this['le']?(PH(this),this['f']=_0x1733bf,MH(this)):this['f']=_0x1733bf;}function LH(_0x3da98b,_0x7fd60f=!0x1,t=0x0){let _0x4f084f=this['r'],_0x4e89ac=this['le'];if(void 0x0!==_0x4e89ac&&0x0!==_0x4e89ac['size']){if(_0x7fd60f){if(Array['isArray'](_0x4f084f)){for(let _0x51df13=t;_0x51df13<_0x4f084f['length'];_0x51df13++)RH(_0x4f084f[_0x51df13],!0x1),PH(_0x4f084f[_0x51df13]);}else null!=_0x4f084f&&(RH(_0x4f084f,!0x1),PH(_0x4f084f));}else RH(this,_0x3da98b);}}var $H=_0x1bd104=>{_0x1bd104['type']==oj&&(_0x1bd104['Ui']??=LH,_0x1bd104['Cu']??=NH);},DH=class extends cj{constructor(){super(...arguments),this['le']=void 0x0;}['Wr'](_0x1ee582,t,_0x5f3da1){super['Wr'](_0x1ee582,t,_0x5f3da1),MH(this),this['isConnected']=_0x1ee582['W'];}['qs'](_0x503995,t=!0x0){_0x503995!==this['isConnected']&&(this['isConnected']=_0x503995,_0x503995?this['reconnected']?.():this['disconnected']?.()),t&&(RH(this,_0x503995),PH(this));}['setValue'](_0x248495){if((_0x2ed5cf=>void 0x0===_0x2ed5cf['strings'])(this['Wi']))this['Wi']['ce'](_0x248495,this);else{let t=[...this['Wi']['r']];t[this['iu']]=_0x248495,this['Wi']['ce'](t,this,0x0);}}['disconnected'](){}['reconnected'](){}},QH=()=>new VH(),VH=class{},UH=new WeakMap(),BH=aj(class extends DH{['render'](_0x50f49a){return TV;}['update'](_0x1269f1,[_0x3b7233]){let t=_0x3b7233!==this['G'];return t&&void 0x0!==this['G']&&this['rt'](void 0x0),(t||this['lt']!==this['ct'])&&(this['G']=_0x3b7233,this['ht']=_0x1269f1['options']?.['host'],this['rt'](this['ct']=_0x1269f1['element'])),TV;}['rt'](_0x378372){if(this['isConnected']||(_0x378372=void 0x0),'function'==typeof this['G']){let _0x223d30=this['ht']??globalThis,t=UH['get'](_0x223d30);void 0x0===t&&(t=new WeakMap(),UH['set'](_0x223d30,t)),void 0x0!==t['get'](this['G'])&&this['G']['call'](this['ht'],void 0x0),t['set'](this['G'],_0x378372),void 0x0!==_0x378372&&this['G']['call'](this['ht'],_0x378372);}else this['G']['value']=_0x378372;}get['lt'](){return'function'==typeof this['G']?UH['get'](this['ht']??globalThis)?.['get'](this['G']):this['G']?.['value'];}['disconnected'](){this['lt']===this['ct']&&this['rt'](void 0x0);}['reconnected'](){this['rt'](this['ct']);}}),FH=null,jH=class extends nj{constructor(){super(...arguments),this['dialogEl']=QH(),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 _0x3fd18d=t['target'];_0x3fd18d===this['dialogEl']['value']&&_0x3fd18d===this['Co']&&this['closeDialog']();},this['si']=({id:t})=>{t===this['id']?(FH=t,this['show'](),this['emit'](HF['MODAL_OPEN'],{'modalId':t},{'debounce':!0x0})):this['hide']();},this['ni']=({id:t})=>{t===this['id']&&(this['hide'](),this['emit'](HF['MODAL_CLOSE'],{'modalId':t,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));},this['Kn']=t=>{this['hide'](),FH===this['id']&&this['emit'](HF['MODAL_CLOSE'],{'modalId':FH,'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'](JU['OPEN'],this['si']),this['modalManager']?.['subscribe'](JU['CLOSE'],this['ni']),this['modalManager']?.['subscribe'](JU['CLOSE_ALL'],this['Kn']);}['disconnectedCallback'](){super['disconnectedCallback'](),document['body']['style']['overflow']='',this['Co']=void 0x0,this['modalManager']?.['unsubscribe'](JU['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](JU['CLOSE'],this['ni']),this['modalManager']?.['unsubscribe'](JU['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 _V`<dialog ${BH(this['Mu'])}>${this['yield']('')}</dialog>`;}};SQ([JV({'type':Boolean,'noAccessor':!0x0})],jH['prototype'],'strokes',0x2),SQ([JV({'type':Boolean,'attribute':'block-body-scrolling','noAccessor':!0x0})],jH['prototype'],'blockBodyScrolling',0x2);var HH=class extends gH{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,Dj(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 _0x2021cc=document['createElement']('div');this['appendChild'](_0x2021cc),this['ir']=_0x2021cc;}if(!this['z']){let _0x2d6099=this['Gn']();this['appendChild'](_0x2d6099),this['z']=_0x2d6099;}if(this['ir']['innerHTML']='','uploading'===t['status']||'idle'===t['status'])return this['z']['value']='',void this['z']['setCustomValidity']('');if('failed'===t['status']){let _0x363233=t['errors'][0x0]?.['message'];return this['z']['value']='',void this['z']['setCustomValidity'](_0x363233??'');}let _0x4da75f=t['group']?t['group']:null;if(_0x4da75f)return this['z']['value']=_0x4da75f['cdnUrl']??'',void this['z']['setCustomValidity']('');let _0x3cce41=t['allEntries']['map'](_0x49a67c=>_0x49a67c['cdnUrl'])['filter'](_0x2974c8=>'string'==typeof _0x2974c8);if(!this['cfg']['multiple']&&0x1===_0x3cce41['length']&&_0x3cce41[0x0])return this['z']['value']=_0x3cce41[0x0],void this['z']['setCustomValidity']('');this['z']['remove'](),this['z']=null;let _0x30e544=new DocumentFragment();for(let _0x24d4f7 of _0x3cce41){let _0x43e67c=document['createElement']('input');_0x43e67c['type']='hidden',_0x43e67c['name']=this['jn']+'[]',_0x43e67c['value']=_0x24d4f7,_0x30e544['appendChild'](_0x43e67c);}this['ir']['replaceChildren'](_0x30e544);},!0x1);}};SQ([JV({'type':String,'noAccessor':!0x0,'attribute':'name'})],HH['prototype'],'nameAttrValue',0x2);var GH=class extends nj{constructor(){super(...arguments),this['hasFileName']=!0x1,this['value']=0x0,this['visible']=!0x0,this['oe']=0x0,this['rr']=QH(),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 _0x3311c0=this['So'](this['value']);if(this['visible']){let _0x560bdd=Math['max'](this['oe'],_0x3311c0);_0x560bdd!==this['oe']&&(this['oe']=_0x560bdd,this['Ao']());}else this['oe']=_0x3311c0;}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 _V`<div ${BH(this['rr'])} class="uc-fake-progress"></div><div class="uc-progress"></div>`;}};SQ([JV({'type':Boolean,'noAccessor':!0x0})],GH['prototype'],'hasFileName',0x2),SQ([JV({'type':Number})],GH['prototype'],'value',0x2),SQ([JV({'type':Boolean,'reflect':!0x0})],GH['prototype'],'visible',0x2);var ZH=class extends gH{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'](_0x295ca6=>this['uploadCollection']['read'](_0x295ca6)?.['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 _V`<uc-progress-bar .value=${this['Pt']} .visible=${this['he']}></uc-progress-bar>`;}};SQ([tU()],ZH['prototype'],'he',0x2),SQ([tU()],ZH['prototype'],'Pt',0x2);var XH=class extends nj{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 _0x4cf6f3=t['currentTarget'];_0x4cf6f3&&(this['value']=_0x4cf6f3['value'],this['dispatchEvent'](new Event('change')));};}['render'](){return _V`<select @change=${this['Ou']} .value=${this['value']} ?disabled=${this['disabled']}>${this['options']['map'](t=>_V`<option value=${t['value']}>${t['text']}</option>`)}</select>`;}};SQ([JV({'type':String,'attribute':!0x1})],XH['prototype'],'value',0x2),SQ([JV({'type':Boolean,'reflect':!0x0})],XH['prototype'],'disabled',0x2),SQ([JV({'type':Array,'attribute':!0x1})],XH['prototype'],'options',0x2);var qH=class extends gH{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:_0x280f2b,icon:_0xbef7ac,id:_0x2a9acd}=t;this['Oo']=_0x280f2b,this['Mo']=_0xbef7ac??_0x2a9acd??'default';}['activate'](){this['source']&&this['source']['onClick']();}['render'](){return _V`<button type="button" @click=${this['activate']}><uc-icon name=${this['Mo']}></uc-icon><div class="uc-txt">${this['l10n'](this['Oo'])}</div></button>`;}};SQ([JV({'attribute':!0x1})],qH['prototype'],'source',0x2),SQ([tU()],qH['prototype'],'Mo',0x2),SQ([tU()],qH['prototype'],'Oo',0x2);var WH=class extends gH{constructor(){super(...arguments),this['Wn']=[],this['Me']=[],this['wrap']=!0x1;}['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x29f9e5=>{this['Wn']=kU(_0x29f9e5),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 _0x43abf7=this['i']['pluginManager']?.['snapshot']()['sources']??[],_0x30910f=new Map(_0x43abf7['map'](_0x46b67a=>[_0x46b67a['id'],_0x46b67a])),_0x2453a1=[];this['Wn']['forEach'](_0x16d090=>{let _0x3f7967=this['Pu'](_0x16d090,_0x30910f);if(0x1!==_0x3f7967['length']||_0x3f7967[0x0]!==_0x16d090){for(let _0x2ffc59 of _0x3f7967){let _0xba371d=_0x30910f['get'](_0x2ffc59);_0xba371d&&_0x2453a1['push'](this['Yn'](_0xba371d));}return;}let _0x136358=_0x30910f['get'](_0x16d090);_0x136358&&_0x2453a1['push'](this['Yn'](_0x136358));}),this['Me']=_0x2453a1;}['Pu'](t,_0x30563f){let _0x358baf=_0x30563f['get'](t);return _0x358baf?.['expand']?_0x358baf['expand']():[t];}['Yn'](t){return{'id':t['id'],'label':t['label'],'icon':t['icon'],'onClick':()=>t['onSelect']()};}['render'](){return _V`${this['Me']['map'](t=>_V`<uc-source-btn role="listitem" .source=${t} data-source-id=${t['id']}></uc-source-btn>`)}`;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};SQ([tU()],WH['prototype'],'Me',0x2),SQ([JV({'type':Boolean,'attribute':'wrap','noAccessor':!0x0})],WH['prototype'],'wrap',0x2);var zH='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function YH(_0x2ca977){let _0x57ed9=new Image();return{'promise':new Promise((_0x249f39,_0x1d8ca7)=>{_0x57ed9['src']=_0x2ca977,_0x57ed9['onload']=()=>_0x249f39(),_0x57ed9['onerror']=_0x456f7d=>_0x1d8ca7(_0x456f7d);}),'image':_0x57ed9,'cancel':()=>{0x0===_0x57ed9['naturalWidth']&&(_0x57ed9['src']=zH);}};}function KH(_0x50bf59){let _0x1d0151=[];for(let _0x492fa0 of _0x50bf59){let _0x37654e=YH(_0x492fa0);_0x1d0151['push'](_0x37654e);}let t=_0x1d0151['map'](_0x317ba0=>_0x317ba0['image']);return{'promise':Promise['allSettled'](_0x1d0151['map'](_0x29e279=>_0x29e279['promise'])),'images':t,'cancel':()=>{_0x1d0151['forEach'](_0x36a441=>{_0x36a441['cancel']();});}};}function JH(_0x4bde45,_0x462631=0x28){if('image/svg+xml'===_0x4bde45['type'])return URL['createObjectURL'](_0x4bde45);let t=document['createElement']('canvas'),_0xa466c5=t['getContext']('2d');if(!_0xa466c5)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));let _0x34f216=new Image(),_0x5a7402=new Promise((_0x3c4331,_0x2bb6de)=>{_0x34f216['onload']=()=>{let _0x1283bd=_0x34f216['height']/_0x34f216['width'];_0x1283bd>0x1?(t['width']=_0x462631,t['height']=_0x462631*_0x1283bd):(t['height']=_0x462631,t['width']=_0x462631/_0x1283bd),_0xa466c5['fillStyle']='rgb(240,\x20240,\x20240)',_0xa466c5['fillRect'](0x0,0x0,t['width'],t['height']),_0xa466c5['drawImage'](_0x34f216,0x0,0x0,t['width'],t['height']),t['toBlob'](_0x4a94bb=>{if(!_0x4a94bb)return void _0x2bb6de();let _0x19fa00=URL['createObjectURL'](_0x4a94bb);_0x3c4331(_0x19fa00);});},_0x34f216['onerror']=_0x5a7305=>{_0x2bb6de(_0x5a7305);};});return _0x34f216['src']=URL['createObjectURL'](_0x4bde45),_0x5a7402;}var tG=class extends gH{constructor(){super(...arguments),this['or']=new Set(),this['entry']=null;}['withEntry'](t){return(..._0x40dfdd)=>{let _0x461856=this['entry'];if(_0x461856)return t(_0x461856,..._0x40dfdd);console['warn']('No\x20entry\x20found');};}['subEntry'](t,_0x1a2b8b){this['withEntry']((_0x2c3ed1,_0x203fc4,_0x8198bf)=>{let _0x4db0a9=_0x2c3ed1['subscribe'](_0x203fc4,_0x2ba41f=>{this['isConnected']&&_0x8198bf(_0x2ba41f);});this['or']['add'](_0x4db0a9);})(t,_0x1a2b8b);}['reset'](){for(let t of this['or'])t();this['or']=new Set(),this['entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['or']=new Set();}};function eG(_0x3288f9='hsl(209,\x2021%,\x2065%)',_0x5c3993=0x20,t=0x20){return function(_0x4356dc){let _0x4dfa34=new Blob([_0x4356dc],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x4dfa34);}('<svg\x20width=\x22'+_0x5c3993+'\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'+_0x3288f9+'\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 iG=class extends tG{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,_0x3ab5c6=!0x1)=>{let _0x22850a=t['getValue']('fileInfo'),_0x1a5634=t['getValue']('isImage'),_0x5b6d0f=t['getValue']('uuid'),_0x4b34b9=t['getValue']('thumbUrl'),_0x168706=this['Ru'](_0x3ab5c6);if(_0x22850a&&_0x1a5634&&_0x5b6d0f){let _0xe77bbb=await this['proxyUrl'](SU(CU(this['cfg']['cdnCname'],_0x5b6d0f),bU(t['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+_0x168706+'x'+_0x168706+'/center')));if(_0x4b34b9===_0xe77bbb)return;let {promise:_0xef1c7e}=YH(_0xe77bbb);return void _0xef1c7e['then'](()=>{t['setValue']('thumbUrl',_0xe77bbb),_0x4b34b9?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x4b34b9);})['catch'](async()=>{if(!_0x4b34b9?.['startsWith']('blob:'))try{let _0x4f58f5=t['getValue']('file');if(!_0x4f58f5)return;let _0x48ddbb=await JH(_0x4f58f5,_0x168706);t['setValue']('thumbUrl',_0x48ddbb);}catch(_0x1b39fb){this['telemetryManager']['sendEventError'](_0x1b39fb,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x31f49f=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',eG(_0x31f49f));}});}if(t['getValue']('thumbUrl'))return;let _0x1c2b66=t['getValue']('file');if(_0x1c2b66?.['type']['includes']('image'))try{let _0x46b283=await JH(_0x1c2b66,_0x168706);t['setValue']('thumbUrl',_0x46b283);}catch(_0x2f7f28){this['telemetryManager']['sendEventError'](_0x2f7f28,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x45ce14=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',eG(_0x45ce14));}else{let _0x5a2dab=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',eG(_0x5a2dab));}}),this['nr']=eU(this['Jn']['bind'](this),0x64);}['Ru'](t=!0x1){t&&(this['sr']=this['getBoundingClientRect']());let _0x2210c7=Math['max'](parseInt(String(this?.['sr']?.['height']||0x0),0xa),parseInt(String(this?.['sr']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x2210c7*=window['devicePixelRatio']),Math['min'](_0x2210c7,0xbb8);}['Uu'](t,_0x53ab72){return new Promise((_0x51991c,_0x568f90)=>{let _0x5b338c=new Image();_0x5b338c['decoding']='async';let _0x4b1fea=()=>{_0x5b338c&&(_0x5b338c['onload']=null,_0x5b338c['onerror']=null,_0x5b338c['src']=zH,_0x53ab72?.['removeEventListener']('abort',_0xf562af),_0x5b338c=null);},_0xf562af=()=>{_0x4b1fea(),_0x568f90(new DOMException('Aborted','AbortError'));};if(_0x53ab72){if(_0x53ab72['aborted'])return void _0xf562af();_0x53ab72['addEventListener']('abort',_0xf562af,{'once':!0x0});}let _0x561f79=()=>{_0x4b1fea(),_0x51991c();},_0x80f8c5=_0x193e33=>{_0x4b1fea(),_0x568f90(_0x193e33);};if('function'==typeof _0x5b338c['decode'])return _0x5b338c['src']=t,void _0x5b338c['decode']()['then'](_0x561f79)['catch'](_0x80f8c5);_0x5b338c['onload']=_0x561f79,_0x5b338c['onerror']=_0x80f8c5,_0x5b338c['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 _0x3e7954=new AbortController(),_0x4800ab={'controller':_0x3e7954,'cancel':()=>{_0x3e7954['abort'](),void 0x0!==_0x4800ab['rafId']&&window['cancelAnimationFrame'](_0x4800ab['rafId']);}};this['Io']=_0x4800ab,this['Uu'](t,_0x3e7954['signal'])['then'](()=>{_0x3e7954['signal']['aborted']||(_0x4800ab['rafId']=window['requestAnimationFrame'](()=>{_0x3e7954['signal']['aborted']||(this['Le']=t);}));})['catch'](_0x35ee0e=>{_0x3e7954['signal']['aborted']||_0x35ee0e instanceof DOMException&&'AbortError'===_0x35ee0e['name']||console['warn']('[Thumb]\x20Failed\x20to\x20decode\x20thumbnail\x20image',_0x35ee0e);});}['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 [_0x26a9ef]=t;_0x26a9ef&&(this['Qn']=_0x26a9ef['isIntersecting'],_0x26a9ef['isIntersecting']&&(this['sr']=_0x26a9ef['boundingClientRect'],this['ar'](),this['s']?.['disconnect']()),0x0===_0x26a9ef['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 _0x4f8880=this['uploadCollection']?.['read'](t);if(!_0x4f8880||_0x4f8880===this['entry'])return;this['reset'](),this['entry']=_0x4f8880;let _0x342c85=()=>{this['ar']();};this['subEntry']('fileInfo',_0xd96ed2=>{_0xd96ed2?.['isImage']&&_0x342c85();}),this['subEntry']('thumbUrl',_0x31c252=>{this['$u'](_0x31c252??void 0x0);}),this['subEntry']('cdnUrlModifiers',_0x342c85),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 _V`<div class="uc-thumb"><img class="uc-thumb__img" src=${this['Le']||zH} 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>`;}};SQ([JV({'type':String})],iG['prototype'],'badgeIcon',0x2),SQ([JV({'attribute':!0x1})],iG['prototype'],'uid',0x2),SQ([tU()],iG['prototype'],'Le',0x2);var sG=class extends gH{constructor(){super(...arguments),this['ta']=null;}static{this['styleAttrs']=['uc-wgt-common'];}static{this['EventType']=HF;}['initCallback'](){super['initCallback'](),this['ta']=this['eventEmitter']['bindTarget'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['ta']?.();}},nG=(_0x3ddc64,_0x1d7b3d)=>{let _0x4840f8,t=!0x1,_0x196b9b=0x0,_0x236b2e=(..._0x112c1c)=>{t?(_0x4840f8&&clearTimeout(_0x4840f8),_0x4840f8=setTimeout(()=>{Date['now']()-_0x196b9b>=_0x1d7b3d&&(_0x3ddc64(..._0x112c1c),_0x196b9b=Date['now']());},Math['max'](_0x1d7b3d-(Date['now']()-_0x196b9b),0x0))):(_0x3ddc64(..._0x112c1c),_0x196b9b=Date['now'](),t=!0x0);};return Object['defineProperty'](_0x236b2e,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x4840f8&&clearTimeout(_0x4840f8);}}),_0x236b2e;},rG=(_0x43830b,_0x4f52b4,t)=>{let _0x1226cf=new Map();for(let _0x4e73c2=_0x4f52b4;_0x4e73c2<=t;_0x4e73c2++)_0x1226cf['set'](_0x43830b[_0x4e73c2],_0x4e73c2);return _0x1226cf;},oG=aj(class extends cj{constructor(_0x446339){if(super(_0x446339),_0x446339['type']!==oj)throw Error('repeat()\x20can\x20only\x20be\x20used\x20in\x20text\x20expressions');}['dt'](_0x56417d,_0x11533f,t){let _0x1387f4;void 0x0===t?t=_0x11533f:void 0x0!==_0x11533f&&(_0x1387f4=_0x11533f);let _0x3d499d=[],_0x4be418=[],_0x4186d7=0x0;for(let _0x30ff00 of _0x56417d)_0x3d499d[_0x4186d7]=_0x1387f4?_0x1387f4(_0x30ff00,_0x4186d7):_0x4186d7,_0x4be418[_0x4186d7]=t(_0x30ff00,_0x4186d7),_0x4186d7++;return{'values':_0x4be418,'keys':_0x3d499d};}['render'](_0x34d1b4,_0x5c5991,t){return this['dt'](_0x34d1b4,_0x5c5991,t)['values'];}['update'](_0x316cf2,[_0xe71181,t,_0x15a946]){let _0x45903e=(_0x1b4b0e=>_0x1b4b0e['r'])(_0x316cf2),{values:_0x307008,keys:_0x2b3ed4}=this['dt'](_0xe71181,t,_0x15a946);if(!Array['isArray'](_0x45903e))return this['ut']=_0x2b3ed4,_0x307008;let _0xc1d936,_0x261411,_0x290612=this['ut']??=[],_0x433483=[],_0x26d339=0x0,_0x1e888c=_0x45903e['length']-0x1,_0x3e8558=0x0,_0x4453a7=_0x307008['length']-0x1;for(;_0x26d339<=_0x1e888c&&_0x3e8558<=_0x4453a7;)if(null===_0x45903e[_0x26d339])_0x26d339++;else{if(null===_0x45903e[_0x1e888c])_0x1e888c--;else{if(_0x290612[_0x26d339]===_0x2b3ed4[_0x3e8558])_0x433483[_0x3e8558]=CH(_0x45903e[_0x26d339],_0x307008[_0x3e8558]),_0x26d339++,_0x3e8558++;else{if(_0x290612[_0x1e888c]===_0x2b3ed4[_0x4453a7])_0x433483[_0x4453a7]=CH(_0x45903e[_0x1e888c],_0x307008[_0x4453a7]),_0x1e888c--,_0x4453a7--;else{if(_0x290612[_0x26d339]===_0x2b3ed4[_0x4453a7])_0x433483[_0x4453a7]=CH(_0x45903e[_0x26d339],_0x307008[_0x4453a7]),SH(_0x316cf2,_0x433483[_0x4453a7+0x1],_0x45903e[_0x26d339]),_0x26d339++,_0x4453a7--;else{if(_0x290612[_0x1e888c]===_0x2b3ed4[_0x3e8558])_0x433483[_0x3e8558]=CH(_0x45903e[_0x1e888c],_0x307008[_0x3e8558]),SH(_0x316cf2,_0x45903e[_0x26d339],_0x45903e[_0x1e888c]),_0x1e888c--,_0x3e8558++;else{if(void 0x0===_0xc1d936&&(_0xc1d936=rG(_0x2b3ed4,_0x3e8558,_0x4453a7),_0x261411=rG(_0x290612,_0x26d339,_0x1e888c)),_0xc1d936['has'](_0x290612[_0x26d339])){if(_0xc1d936['has'](_0x290612[_0x1e888c])){let _0x52d908=_0x261411['get'](_0x2b3ed4[_0x3e8558]),_0xab05b7=void 0x0!==_0x52d908?_0x45903e[_0x52d908]:null;if(null===_0xab05b7){let _0x57eae2=SH(_0x316cf2,_0x45903e[_0x26d339]);CH(_0x57eae2,_0x307008[_0x3e8558]),_0x433483[_0x3e8558]=_0x57eae2;}else _0x433483[_0x3e8558]=CH(_0xab05b7,_0x307008[_0x3e8558]),SH(_0x316cf2,_0x45903e[_0x26d339],_0xab05b7),_0x45903e[_0x52d908]=null;_0x3e8558++;}else xH(_0x45903e[_0x1e888c]),_0x1e888c--;}else xH(_0x45903e[_0x26d339]),_0x26d339++;}}}}}}for(;_0x3e8558<=_0x4453a7;){let _0xf9dfbe=SH(_0x316cf2,_0x433483[_0x4453a7+0x1]);CH(_0xf9dfbe,_0x307008[_0x3e8558]),_0x433483[_0x3e8558++]=_0xf9dfbe;}for(;_0x26d339<=_0x1e888c;){let _0x4b59b9=_0x45903e[_0x26d339++];null!==_0x4b59b9&&xH(_0x4b59b9);}return this['ut']=_0x2b3ed4,((_0x3dbbea,_0x561ea0=kH)=>{_0x3dbbea['r']=_0x561ea0;})(_0x316cf2,_0x433483),EV;}}),aG=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')}),cG=class G extends tG{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']=eU(()=>this['da'](),0x64),this['Vu']=this['withEntry'](nG((t,_0x30d4be)=>{let _0x62bd73=t['getValue']('errors')?.[0x0]?.['message']??'',_0x51c3ff=t['getValue']('source'),_0x27ead3=t['getValue']('externalUrl'),_0x1517e5=_0x30d4be===aG['FINISHED'],_0x1f7c0f=_0x30d4be===aG['UPLOADING'],_0x46a769=_0x30d4be===aG['QUEUED_UPLOADING'],_0x99a2ff=_0x30d4be===aG['QUEUED_VALIDATION'],_0x1c34d1=_0x30d4be===aG['VALIDATION'],_0x31b753=t['getValue']('fileName'),_0x2fb063='';_0x62bd73?_0x2fb063='':!_0x1517e5&&_0x27ead3&&_0x51c3ff&&Object['values'](Vj)['includes'](_0x51c3ff)&&(_0x2fb063=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+jj(_0x51c3ff))})),this['Uo']=_0x2fb063,this['Ro']=_0x62bd73,this['ra']=_0x1f7c0f||_0x46a769||_0x99a2ff||_0x1c34d1,this['oe']=_0x99a2ff||_0x1c34d1?0x0:t['getValue']('uploadProgress'),this['la']=_0x31b753?this['l10n']('a11y-file-item-status',{'fileName':_0x31b753,'status':this['l10n'](_0x30d4be?.['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 _0x572e78=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0x572e78&&this['uploadCollection']['size']>_0x572e78)){t['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['S']();try{let _0x186f98=new AbortController();t['setValue']('abortController',_0x186f98);let _0x5d3189=async()=>{t['setValue']('isQueuedForUploading',!0x1);let _0x4fa876=t['getValue']('file');if(_0x4fa876 instanceof File||_0x4fa876 instanceof Blob){let _0x3b4680=(this['i']['pluginManager']?.['snapshot']()['fileHooks']??[])['filter'](_0x3fe3e0=>'beforeUpload'===_0x3fe3e0['type']);for(let _0x43fbdd of _0x3b4680)try{let _0xf3d696=_0x43fbdd['handler']({'file':_0x4fa876,'signal':_0x186f98['signal']}),_0x5a95e0=new Promise((_0x4084e0,_0x2b1f48)=>setTimeout(()=>_0x2b1f48(new Error('beforeUpload\x20hook\x20timed\x20out')),_0x43fbdd['timeout'])),{file:_0x1332b8}=await Promise['race']([_0xf3d696,_0x5a95e0]);_0x1332b8!==_0x4fa876&&(_0x4fa876=_0x1332b8,t['setValue']('mimeType',_0x4fa876['type']||null),t['setValue']('isImage',NF(_0x4fa876)),t['setValue']('fileSize',_0x4fa876['size']),_0x4fa876 instanceof File&&t['setValue']('fileName',_0x4fa876['name']));}catch(_0x2fb0d9){console['warn']('File\x20hook\x20\x22beforeUpload\x22\x20from\x20plugin\x20\x22'+_0x43fbdd['pluginId']+'\x22\x20failed',_0x2fb0d9);}}let _0x22f539=_0x4fa876||t['getValue']('externalUrl')||t['getValue']('uuid');if(!_0x22f539)throw new Error('No\x20file\x20input');let _0x53ddcf={...await this['getUploadClientOptions'](),'fileName':t['getValue']('fileName')??void 0x0,'source':t['getValue']('source')??void 0x0,'onProgress':_0x19c5e5=>{if(_0x19c5e5['isComputable']){let _0x20e740=0x64*_0x19c5e5['value'];t['setValue']('uploadProgress',_0x20e740);}},'signal':_0x186f98['signal'],'metadata':await this['getMetadataFor'](t['uid'])};return this['debugPrint']('upload\x20options',_0x22f539,_0x53ddcf),aF(_0x22f539,_0x53ddcf);},_0x56de69=await this['$']['*uploadQueue']['add'](_0x5d3189);t['setMultipleValues']({'fileInfo':_0x56de69,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':_0x56de69['originalFilename'],'fileSize':_0x56de69['size'],'isImage':_0x56de69['isImage']??!0x1,'mimeType':_0x56de69['contentInfo']?.['mime']?.['mime']??_0x56de69['mimeType'],'uuid':_0x56de69['uuid'],'cdnUrl':t['getValue']('cdnUrl')??_0x56de69['cdnUrl'],'cdnUrlModifiers':t['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':t['getValue']('source')??null}),t===this['entry']&&this['S']();}catch(_0x23157d){let _0xeed7c=_0x23157d instanceof fB&&_0x23157d['isCancel'];_0xeed7c?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x23157d instanceof hB?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x23157d}):(console['error']('Unknown\x20upload\x20error',_0x23157d),t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':_0x23157d})})),t===this['entry']&&this['S'](),this['isConnected']&&!_0xeed7c&&this['telemetryManager']['sendEventError'](_0x23157d,'file\x20upload.\x20Failed\x20to\x20upload\x20file');}}});}['da'](){let t=this['entry'];if(!t)return;let _0x4c6ae8=aG['IDLE'];t['getValue']('errors')['length']>0x0?_0x4c6ae8=aG['FAILED']:t['getValue']('isQueuedForUploading')?_0x4c6ae8=aG['QUEUED_UPLOADING']:t['getValue']('isQueuedForValidation')?_0x4c6ae8=aG['QUEUED_VALIDATION']:t['getValue']('isValidationPending')?_0x4c6ae8=aG['VALIDATION']:t['getValue']('isUploading')?_0x4c6ae8=aG['UPLOADING']:t['getValue']('fileInfo')&&(_0x4c6ae8=aG['FINISHED']),this['Nu'](t,_0x4c6ae8);}['Nu'](t,_0x4809d9){_0x4809d9===aG['FAILED']?this['$o']='badge-error':_0x4809d9===aG['FINISHED']&&(this['$o']='badge-success'),_0x4809d9===aG['UPLOADING']&&(this['aa']=!0x1,this['removeAttribute']('focused')),this['sa']=_0x4809d9===aG['FAILED'],this['na']=_0x4809d9===aG['UPLOADING'],this['oa']=_0x4809d9===aG['FINISHED'],this['Vu'](_0x4809d9);}['reset'](){super['reset'](),this['S']['cancel']();}['ai'](t){let [_0x3710ea]=t;_0x3710ea&&_0x3710ea['isIntersecting']&&!this['ca']&&(this['ia']=!0x1,this['ca']=!0x0);}['pa'](t){this['reset']();let _0x4cbd1f=this['uploadCollection']?.['read'](t);this['entry']=_0x4cbd1f,_0x4cbd1f?(this['subEntry']('isQueuedForValidation',()=>{this['S']();}),this['subEntry']('isValidationPending',()=>{this['S']();}),this['subEntry']('uploadProgress',()=>{this['S']();}),this['subEntry']('isQueuedForUploading',()=>{this['S']();}),this['subEntry']('fileName',_0x15e732=>{this['Lo']=_0x15e732||_0x4cbd1f['getValue']('externalUrl')||this['l10n']('file-no-name'),this['S']();}),this['subEntry']('externalUrl',_0x5ce8fd=>{this['Lo']=_0x4cbd1f['getValue']('fileName')||_0x5ce8fd||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 _0x4538f5=t['snapshot']()['fileActions'],_0x803fcf=this['api']['getOutputItem'](this['uid']);this['cr']=_0x803fcf?_0x4538f5['filter'](_0x2c540b=>{try{return _0x2c540b['shouldRender'](_0x803fcf);}catch(_0xcde173){return console['error']('Error\x20in\x20plugin\x20file\x20action\x20shouldRender\x20('+_0x2c540b['id']+'):',_0xcde173),!0x1;}}):[];}['_u'](t){if(!this['uid'])return;let _0x1b45e5=this['api']['getOutputItem'](this['uid']);if(_0x1b45e5){this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':t['id'],'node':this['tagName'],'pluginId':t['pluginId']}}});try{t['onClick'](_0x1b45e5);}catch(_0x21b002){console['error']('Error\x20in\x20plugin\x20file\x20action\x20onClick\x20('+t['id']+'):',_0x21b002);}}}['initCallback'](){super['initCallback'](),this['pa'](this['uid']),this['subConfigValue']('filesViewMode',_0x3abd9c=>{this['ha'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x3abd9c);}),this['subConfigValue']('gridShowFileNames',_0x45d012=>{this['ha'](_0x45d012);}),this['onclick']=()=>{G['activeInstances']['forEach'](_0x32d5db=>{_0x32d5db===this?_0x32d5db['setAttribute']('focused',''):_0x32d5db['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x2cbf66=>{this['entry']&&!_0x2cbf66['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 _V`<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=>_V`<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>`;}};SQ([tU()],cG['prototype'],'ia',0x2),SQ([JV({'attribute':!0x1})],cG['prototype'],'uid',0x2),SQ([tU()],cG['prototype'],'Lo',0x2),SQ([tU()],cG['prototype'],'Ro',0x2),SQ([tU()],cG['prototype'],'Uo',0x2),SQ([tU()],cG['prototype'],'oe',0x2),SQ([tU()],cG['prototype'],'ra',0x2),SQ([tU()],cG['prototype'],'$o',0x2),SQ([tU()],cG['prototype'],'oa',0x2),SQ([tU()],cG['prototype'],'sa',0x2),SQ([tU()],cG['prototype'],'na',0x2),SQ([tU()],cG['prototype'],'aa',0x2),SQ([tU()],cG['prototype'],'lr',0x2),SQ([tU()],cG['prototype'],'la',0x2),SQ([tU()],cG['prototype'],'cr',0x2);var lG=cG;function hG(_0x1a4126){return new Promise(_0x4ccc11=>{'function'!=typeof window['FileReader']&&_0x4ccc11(!0x1);try{let t=new FileReader();t['onerror']=()=>{_0x4ccc11(!0x0);};let _0x35c94a=_0x394c5b=>{'loadend'!==_0x394c5b['type']&&t['abort'](),_0x4ccc11(!0x1);};t['onloadend']=_0x35c94a,t['onprogress']=_0x35c94a,t['readAsDataURL'](_0x1a4126);}catch{_0x4ccc11(!0x1);}});}function uG(_0x16de9a,_0xb68ced){return new Promise(t=>{let _0x216109=0x0,_0x4df752=[],_0x491ee4=_0x46d299=>{if(!_0x46d299)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void t(null);_0x46d299['isFile']?(_0x216109++,_0x46d299['file'](_0x3fa7f0=>{_0x216109--;let _0x4de37f=new File([_0x3fa7f0],_0x3fa7f0['name'],{'type':_0x3fa7f0['type']||_0xb68ced});_0x4df752['push']({'type':'file','file':_0x4de37f,'fullPath':_0x46d299['fullPath']}),0x0===_0x216109&&t(_0x4df752);})):_0x46d299['isDirectory']&&_0x33e157(_0x46d299['createReader']());},_0x33e157=_0x2374ab=>{_0x216109++,_0x2374ab['readEntries'](_0x4cfcf7=>{_0x216109--;for(let _0x410fd1 of _0x4cfcf7)_0x491ee4(_0x410fd1);0x0===_0x216109&&t(_0x4df752);});};_0x491ee4(_0x16de9a);});}var dG=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),fG=['focus'],mG=new Map();function gG(_0x588101){let _0x38e2e6=0x0,t=document['body'],_0x41fa82=new Set(),_0x409322=dG['INACTIVE'],_0x4b3b11=_0x5d86a9=>{_0x588101['shouldIgnore']()&&_0x5d86a9!==dG['INACTIVE']||(_0x409322!==_0x5d86a9&&_0x41fa82['forEach'](_0x505c1a=>{_0x505c1a(_0x5d86a9);}),_0x409322=_0x5d86a9);},_0x51117c=()=>_0x38e2e6>0x0;var _0x5304b5;_0x5304b5=_0x1470f8=>_0x588101['onChange'](_0x1470f8),_0x41fa82['add'](_0x5304b5);let _0x1646db=()=>{_0x38e2e6=0x0,_0x4b3b11(dG['INACTIVE']);},_0x4cf2e3=()=>{_0x38e2e6+=0x1,_0x409322===dG['INACTIVE']&&_0x4b3b11(dG['ACTIVE']);},_0x99ddcd=()=>{_0x38e2e6-=0x1,_0x51117c()||_0x4b3b11(dG['INACTIVE']);},_0xc88b52=_0x3e0cf4=>{_0x3e0cf4['preventDefault'](),_0x38e2e6=0x0,_0x4b3b11(dG['INACTIVE']);},_0x264c7e=_0x1d4e10=>{if(_0x588101['shouldIgnore']())return;_0x51117c()||(_0x38e2e6+=0x1);let _0xb8a6b2=[_0x1d4e10['x'],_0x1d4e10['y']],_0x27a2f7=_0x588101['element']['getBoundingClientRect'](),_0x4ce2de=Math['floor'](function(_0x4f446f,_0x44e5c8){let t=Math['max'](Math['min'](_0x4f446f[0x0],_0x44e5c8['x']+_0x44e5c8['width']),_0x44e5c8['x']),_0x2e503c=Math['max'](Math['min'](_0x4f446f[0x1],_0x44e5c8['y']+_0x44e5c8['height']),_0x44e5c8['y']);return Math['sqrt']((_0x4f446f[0x0]-t)*(_0x4f446f[0x0]-t)+(_0x4f446f[0x1]-_0x2e503c)*(_0x4f446f[0x1]-_0x2e503c));}(_0xb8a6b2,_0x27a2f7)),_0x4b13e8=_0x4ce2de<0x64,_0x24c9e1=_0x1d4e10['composedPath']()['includes'](_0x588101['element']);mG['set'](_0x588101['element'],_0x4ce2de);let _0x3997d6=Math['min'](...mG['values']())===_0x4ce2de;_0x24c9e1&&_0x3997d6?(_0x1d4e10['preventDefault'](),_0x4b3b11(dG['OVER'])):_0x4b3b11(_0x4b13e8&&_0x3997d6?dG['NEAR']:dG['ACTIVE']);},_0x4a6826=async _0x42d6f1=>{if(_0x588101['shouldIgnore']())return;_0x42d6f1['preventDefault']();let {dataTransfer:_0x38d1ac}=_0x42d6f1;if(!_0x38d1ac)return;let _0x45805e=await function(_0x46c05d){let _0x4d6a03=[],t=[];for(let _0x240ec1=0x0;_0x240ec1<_0x46c05d['items']['length'];_0x240ec1++){let _0x502f2d=_0x46c05d['items'][_0x240ec1];if(_0x502f2d){if('file'===_0x502f2d['kind']){let _0x5e8e3c=_0x502f2d['type'],_0x1153eb=_0x502f2d;if('function'==typeof _0x1153eb['webkitGetAsEntry']||'function'==typeof _0x1153eb['getAsEntry']){let _0x5bd16f='function'==typeof _0x1153eb['webkitGetAsEntry']?_0x1153eb['webkitGetAsEntry']():_0x1153eb['getAsEntry']?.();_0x5bd16f&&t['push'](uG(_0x5bd16f,_0x5e8e3c)['then'](_0x386d1b=>{_0x386d1b&&_0x4d6a03['push'](..._0x386d1b);}));continue;}let _0x49506f=_0x502f2d['getAsFile']();_0x49506f&&t['push'](hG(_0x49506f)['then'](_0x139da1=>{_0x139da1||_0x4d6a03['push']({'type':'file','file':_0x49506f});}));}else'string'===_0x502f2d['kind']&&/^text\/uri-list/['test'](_0x502f2d['type'])&&t['push'](new Promise(_0x38c257=>{_0x502f2d['getAsString'](_0x297283=>{_0x4d6a03['push']({'type':'url','url':_0x297283}),_0x38c257();});}));}}return Promise['all'](t)['then'](()=>_0x4d6a03);}(_0x38d1ac);_0x588101['onItems'](_0x45805e),_0x4b3b11(dG['INACTIVE']);};return t['addEventListener']('drop',_0xc88b52),t['addEventListener']('dragleave',_0x99ddcd),t['addEventListener']('dragenter',_0x4cf2e3),t['addEventListener']('dragover',_0x264c7e),_0x588101['element']['addEventListener']('drop',_0x4a6826),fG['forEach'](_0x5e7a4a=>{window['addEventListener'](_0x5e7a4a,_0x1646db);}),()=>{mG['delete'](_0x588101['element']),t['removeEventListener']('drop',_0xc88b52),t['removeEventListener']('dragleave',_0x99ddcd),t['removeEventListener']('dragenter',_0x4cf2e3),t['removeEventListener']('dragover',_0x264c7e),_0x588101['element']['removeEventListener']('drop',_0x4a6826),fG['forEach'](_0x4a2b20=>{window['removeEventListener'](_0x4a2b20,_0x1646db);});};}var pG=new Set(),OG=class extends gH{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']=QH(),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'](),_0xc1a09c=t['width']>0x0&&t['height']>0x0,_0x31bd95=t['top']>=0x0&&t['left']>=0x0&&t['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&t['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x1e5690=window['getComputedStyle'](this),_0x2cf512='hidden'!==_0x1e5690['visibility']&&'none'!==_0x1e5690['display'];return _0xc1a09c&&_0x2cf512&&_0x31bd95;}['initCallback'](){super['initCallback'](),pG['add'](this),this['No'](),this['Vo'](),this['wa'](),this['Ta'](dG['INACTIVE']),this['va']=gG({'element':this,'shouldIgnore':()=>this['Ea'](),'onChange':t=>{this['Ta'](t);},'onItems':t=>{t['length']&&(t['forEach'](_0x5eef52=>{'url'===_0x5eef52['type']?this['api']['addFileFromUrl'](_0x5eef52['url'],{'source':Bj['DROP_AREA']}):'file'===_0x5eef52['type']&&this['api']['addFileFromObject'](_0x5eef52['file'],{'source':Bj['DROP_AREA'],'fullPath':_0x5eef52['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':mH['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](mH['activities']['UPLOAD_LIST'])));}}),this['updateComplete']['then'](()=>this['Bu']()),this['subConfigValue']('sourceList',t=>{let _0x3f97c7=kU(t);this['ba']=_0x3f97c7['includes'](Bj['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=pG;return 0x0!==t['size']&&[...t]['filter'](_0x5efb61=>_0x5efb61!==this)['filter'](_0x190c14=>_0x190c14['isActive']())['length']>0x0;}['zu'](){let t=this['cfg']['multiple'],_0x247991=this['cfg']['multipleMax'],_0x5842b5=this['uploadCollection']['size'];return!(t&&_0x247991&&_0x5842b5>=_0x247991||!t&&_0x5842b5>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 _0x11c447=Object['entries'](dG)['find'](([,_0x155246])=>_0x155246===t)?.[0x0]['toLowerCase']();_0x11c447&&this['setAttribute']('drag-state',_0x11c447);}['Bu'](){if(this['Fo'])return;let t=this['ya']['value'];t&&(this['Fo']=gG({'element':t,'onChange':_0x3a62e6=>{let _0x4985fb=Object['entries'](dG)['find'](([,_0x53060c])=>_0x53060c===_0x3a62e6)?.[0x0]['toLowerCase']();_0x4985fb&&t['setAttribute']('drag-state',_0x4985fb);},'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'](),pG['delete'](this),this['va']?.(),this['Fo']?.(),this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['render'](){return _V` ${this['yield']('',_V`<div data-default-slot hidden></div><div ${BH(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>`)} `;}};SQ([JV({'type':Boolean,'noAccessor':!0x0})],OG['prototype'],'single',0x2),SQ([JV({'type':Boolean,'noAccessor':!0x0})],OG['prototype'],'ghost',0x2),SQ([JV({'type':Boolean,'reflect':!0x0})],OG['prototype'],'disabled',0x2),SQ([JV({'type':Boolean,'reflect':!0x0})],OG['prototype'],'clickable',0x2),SQ([JV({'type':Boolean,'attribute':'with-icon','reflect':!0x0})],OG['prototype'],'withIcon',0x2),SQ([JV({'type':Boolean,'reflect':!0x0})],OG['prototype'],'fullscreen',0x2),SQ([JV({'type':Boolean,'reflect':!0x0})],OG['prototype'],'initflow',0x2),SQ([JV({'type':String})],OG['prototype'],'text',0x2),SQ([tU()],OG['prototype'],'Oe',0x2),SQ([tU()],OG['prototype'],'fa',0x2),SQ([tU()],OG['prototype'],'Do',0x2);var wG=class extends gH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['historyTracked']=!0x0,this['activityType']=mH['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':jF['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},this['Ho']=()=>{this['emit'](HF['UPLOAD_CLICK']),this['api']['uploadAll'](),this['Te']();},this['Ko']=()=>{this['emit'](HF['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},this['Ee']=()=>{this['telemetryManager']['sendEvent']({'eventType':jF['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();},this['Te']=nG(()=>{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'](),_0x4b4641={'total':t['totalCount'],'succeed':t['successCount'],'uploading':t['uploadingCount'],'failed':t['failedCount'],'validatingBeforeUploading':t['idleEntries']['filter'](_0x42c793=>_0x42c793['isValidationPending'])['length']},_0x15c4e6=!t['errors']['some'](_0x41cb7f=>'TOO_MANY_FILES'===_0x41cb7f['type']||'TOO_FEW_FILES'===_0x41cb7f['type']),_0x228e40=t['errors']['some'](_0x30041c=>'TOO_MANY_FILES'===_0x30041c['type']),_0x275fa8=t['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x549411=t['allEntries']['some'](_0x5464f0=>_0x5464f0['isValidationPending']),_0x1b9d10=0x0===_0x4b4641['failed']&&0x0===t['errors']['length']&&!_0x549411,_0x48d152=!0x1,_0x33b56f=!0x1,_0x16a95e=!0x1;if(_0x4b4641['total']-_0x4b4641['succeed']-_0x4b4641['uploading']-_0x4b4641['failed']>0x0&&_0x15c4e6&&_0x1b9d10&&this['cfg']['confirmUpload'])_0x48d152=!0x0;else{_0x33b56f=!0x0;let _0x498ac9=!this['cfg']['groupOutput']||!!t['group'];_0x16a95e=_0x4b4641['total']===_0x4b4641['succeed']&&_0x15c4e6&&_0x1b9d10&&_0x498ac9;}this['xa']=_0x33b56f,this['Ca']=_0x16a95e,this['Sa']=_0x48d152,this['Bo']=0x0===_0x4b4641['total']||!_0x228e40&&!_0x275fa8,this['_o']=!_0x275fa8||this['cfg']['multiple'],this['Aa']=_0x4b4641['total']>0x0,this['zo']=_0x4b4641;}['Ku'](t){let _0x5a33bb=_0x431582=>{let _0x434c88=t[_0x431582];return'uploading'===_0x431582&&(_0x434c88+=t['validatingBeforeUploading']),this['l10n']('header-'+_0x431582,{'count':_0x434c88});};return t['uploading']>0x0||t['validatingBeforeUploading']>0x0?_0x5a33bb('uploading'):t['failed']>0x0?_0x5a33bb('failed'):t['succeed']>0x0?_0x5a33bb('succeed'):_0x5a33bb('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 _0x33998b=t['filter'](_0x1112b3=>'SOME_FILES_HAS_ERRORS'!==_0x1112b3['type'])[0x0];this['ur']=_0x33998b?_0x33998b['message']:null;});}['disconnectedCallback'](){super['disconnectedCallback'](),this['has']('*uploadCollection')&&(this['uploadCollection']['unobserveProperties'](this['Te']),this['uploadCollection']['unobserveCollection'](this['Te']));}['render'](){return _V`<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',_V`<span>${this['l10n']('no-files')}</span>`)}</div><div class="uc-files"><div class="uc-files-wrapper">${oG(this['$']['*uploadList']??[],({uid:t})=>t,({uid:t})=>_V`<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>`;}};SQ([tU()],wG['prototype'],'xa',0x2),SQ([tU()],wG['prototype'],'Ca',0x2),SQ([tU()],wG['prototype'],'Sa',0x2),SQ([tU()],wG['prototype'],'_o',0x2),SQ([tU()],wG['prototype'],'Bo',0x2),SQ([tU()],wG['prototype'],'ur',0x2),SQ([tU()],wG['prototype'],'Aa',0x2),SQ([tU()],wG['prototype'],'zo',0x2);var bG=[{'test':_0x1b74d=>!!_0x1b74d['accept']&&!!_0x1b74d['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':_0x26d892=>null!==_0x26d892['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':_0x32fa21=>null!==_0x32fa21['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],yG=eU(_0x4d23a3=>{for(let {test:_0x55f8d5,message:t}of bG)_0x55f8d5(_0x4d23a3)&&Xj(t);},0x0),vG=async _0x3d11b3=>{let _0x3981ec=await(async _0x1c15e1=>{let _0x4ee8e2=new TextEncoder()['encode'](_0x1c15e1),t=await window['crypto']['subtle']['digest']('SHA-256',_0x4ee8e2),_0x270ea7=Array['from'](new Uint8Array(t))['map'](_0x58a40c=>_0x58a40c['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x270ea7);})(_0x3d11b3);return(_0x45a0b3=>{if(_0x45a0b3<=0x0n)return'0';let _0x483f74='';for(;_0x45a0b3>0x0n;)_0x483f74='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x45a0b3%0x24n)]+_0x483f74,_0x45a0b3/=0x24n;return _0x483f74;})(_0x3981ec)['slice'](0x0,0xa);},_G=async(_0xcb0e2c,_0x3d20d0)=>((_0x118765,_0x206ace)=>{let t=new URL(_0x206ace);return t['hostname']=_0x118765+'.'+t['hostname'],t['toString']()['replace'](/\/$/,'');})(await vG(_0xcb0e2c),_0x3d20d0),EG=_0x6f13f5=>_0x6f13f5 instanceof Promise||!(!_0x6f13f5||'object'!=typeof _0x6f13f5||!('then'in _0x6f13f5)||'function'!=typeof _0x6f13f5['then']),TG=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x110a12,enableVideoRecording:_0x5c8bdb})=>{let t=_0x5c8bdb();if(null===t)return _0x110a12();let _0xd085c6=gU(_0x110a12());return t&&!_0xd085c6['includes']('video')?_0xd085c6=_0xd085c6['concat']('video'):t||(_0xd085c6=_0xd085c6['filter'](_0x1a5959=>'video'!==_0x1a5959)),pU(_0xd085c6);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x442d9b,defaultCameraMode:_0x14c6e3})=>{let t=_0x14c6e3();if(null===t)return _0x442d9b();let _0x5094cf=gU(_0x442d9b());return _0x5094cf=_0x5094cf['sort']((_0x4cffc3,_0x5dba07)=>_0x4cffc3===t?-0x1:_0x5dba07===t?0x1:0x0),pU(_0x5094cf);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x552814,cdnCname:_0x242ee7,cdnCnamePrefixed:t})=>{let _0x10bed8=_0x552814(),_0x37e8d1=_0x242ee7(),_0x1e9ef0=t();return _0x10bed8&&(_0x37e8d1===GU||((_0x2894c9,_0x223a18)=>{try{let t=new URL(_0x2894c9),_0x1ae0c8=new URL(_0x223a18);return t['hostname']['endsWith'](_0x1ae0c8['hostname']);}catch{return!0x1;}})(_0x37e8d1,_0x1e9ef0))?_G(_0x10bed8,_0x1e9ef0):_0x37e8d1;}}],AG=_0x49eb02=>String(_0x49eb02),IG=_0x1d33aa=>{let _0xd15060=Number(_0x1d33aa);if(Number['isNaN'](_0xd15060))throw new Error('Invalid\x20number:\x20\x22'+_0x1d33aa+'\x22');return _0xd15060;},SG=_0x17514c=>{if(typeof _0x17514c>'u'||null===_0x17514c)return!0x1;if('boolean'==typeof _0x17514c)return _0x17514c;if('true'===_0x17514c||''===_0x17514c)return!0x0;if('false'===_0x17514c)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x17514c+'\x22');},CG=_0x431370=>{if('object'==typeof _0x431370)return _0x431370;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},kG=_0x32f9c5=>{if('function'==typeof _0x32f9c5)return _0x32f9c5;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},xG=_0x402777=>{if(Array['isArray'](_0x402777))return _0x402777;throw new Error('Must\x20be\x20an\x20array.');},RG={'pubkey':AG,'multiple':SG,'multipleMin':IG,'multipleMax':IG,'confirmUpload':SG,'imgOnly':SG,'accept':AG,'externalSourcesPreferredTypes':AG,'externalSourcesEmbedCss':AG,'store':_0x18a9dd=>'auto'===_0x18a9dd?_0x18a9dd:SG(_0x18a9dd),'cameraMirror':SG,'cameraCapture':_0x2a6693=>{let _0x23a30a=AG(_0x2a6693);if('user'!==_0x23a30a&&'environment'!==_0x23a30a&&''!==_0x23a30a)throw new Error('Invalid\x20value:\x20\x22'+_0x23a30a+'\x22');return _0x23a30a;},'sourceList':AG,'topLevelOrigin':AG,'maxLocalFileSizeBytes':IG,'thumbSize':IG,'showEmptyList':SG,'useLocalImageEditor':SG,'useCloudImageEditor':SG,'cloudImageEditorTabs':AG,'removeCopyright':SG,'cropPreset':AG,'imageShrink':AG,'modalScrollLock':SG,'modalBackdropStrokes':SG,'sourceListWrap':SG,'remoteTabSessionKey':AG,'cdnCname':AG,'cdnCnamePrefixed':AG,'baseUrl':AG,'socialBaseUrl':AG,'secureSignature':AG,'secureExpire':AG,'secureDeliveryProxy':AG,'retryThrottledRequestMaxTimes':IG,'retryNetworkErrorMaxTimes':IG,'multipartMinFileSize':IG,'multipartChunkSize':IG,'maxConcurrentRequests':IG,'multipartMaxConcurrentRequests':IG,'multipartMaxAttempts':IG,'checkForUrlDuplicates':SG,'saveUrlForRecurrentUploads':SG,'groupOutput':SG,'userAgentIntegration':AG,'debug':SG,'localeName':AG,'metadata':_0x2894d1=>{if('object'==typeof _0x2894d1&&!Array['isArray'](_0x2894d1)||'function'==typeof _0x2894d1)return _0x2894d1;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':IG,'localeDefinitionOverride':_0xbd0cee=>CG(_0xbd0cee),'secureUploadsSignatureResolver':_0x4f9182=>kG(_0x4f9182),'secureDeliveryProxyUrlResolver':_0x151f2a=>kG(_0x151f2a),'iconHrefResolver':_0x5e801f=>kG(_0x5e801f),'plugins':_0x33b528=>xG(_0x33b528),'fileValidators':xG,'collectionValidators':xG,'validationTimeout':IG,'validationConcurrency':IG,'cameraModes':_0x3429cc=>{let _0x1cb8c6=AG(_0x3429cc),t=gU(_0x1cb8c6);if(t['some'](_0x2d3171=>!Object['values'](Nj)['includes'](_0x2d3171)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](t)+'\x22');return _0x1cb8c6;},'defaultCameraMode':_0x48a7e5=>{let _0x47b110=AG(_0x48a7e5);if(!Object['values'](Nj)['includes'](_0x47b110))throw new Error('Invalid\x20value:\x20\x22'+_0x47b110+'\x22');return _0x47b110;},'enableAudioRecording':SG,'enableVideoRecording':SG,'mediaRecorderOptions':CG,'maxVideoRecordingDuration':IG,'filesViewMode':_0x2e678e=>{let _0x49245d=AG(_0x2e678e);if(['grid','list']['includes'](_0x49245d))return _0x49245d;throw new Error('Invalid\x20value:\x20\x22'+_0x49245d+'\x22');},'gridShowFileNames':SG,'cloudImageEditorAutoOpen':SG,'cloudImageEditorMaskHref':AG,'testMode':SG,'qualityInsights':SG,'pasteScope':_0x2404e8=>{let _0x20da72=AG(_0x2404e8);if('local'===_0x20da72||'global'===_0x20da72)return _0x20da72;if(!0x1===SG(_0x2404e8))return!0x1;throw new Error('Invalid\x20value:\x20\x22'+_0x20da72+'\x22');}},PG=[...new Set(['debug',...Object['keys'](XU)])],MG=['metadata','plugins','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],NG=_0x1cf7c0=>MG['includes'](_0x1cf7c0),LG=PG['filter'](_0x549985=>!NG(_0x549985)),$G={...Object['fromEntries'](LG['map'](_0x23426a=>[eB(_0x23426a),_0x23426a])),...Object['fromEntries'](LG['map'](_0x1d10b0=>[_0x1d10b0['toLowerCase'](),_0x1d10b0]))},DG=_0x2c237d=>'__'+_0x2c237d,QG=class extends nj{constructor(){super(...arguments),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](XU)['map'](([t,_0x13e7ba])=>[mU(t),_0x13e7ba]))},this['Gu']=new Map(),this['ci']={},this['Ma']=new Set(),this['Ut']=new Map();}['jo'](t){return this['Ma']['has'](t);}['Go'](t){let _0xe26226=this['i']['pluginManager'];if(_0xe26226)return _0xe26226['configRegistry']['get'](t);}['Oa'](t){return[...new Set([eB(t),t['toLowerCase']()])];}['qu'](t,_0x4a0c55){if(NG(t)||this['jo'](t)&&!0x1===this['Go'](t)?.['attribute'])return;let _0x4f823a=this['Oa'](t);for(let _0xad6dfa of _0x4f823a)typeof _0x4a0c55>'u'||null===_0x4a0c55?this['removeAttribute'](_0xad6dfa):this['getAttribute'](_0xad6dfa)!==_0x4a0c55['toString']()&&this['setAttribute'](_0xad6dfa,_0x4a0c55['toString']());}['Wu'](t,_0x31b64a){let _0x5bc009=mU(t);if(this['$'][_0x5bc009]!==_0x31b64a){if(typeof _0x31b64a>'u'||null===_0x31b64a){let _0x4bd5bd=XU[t];this['$'][_0x5bc009]=void 0x0!==_0x4bd5bd?_0x4bd5bd:_0x31b64a;}else this['$'][_0x5bc009]=_0x31b64a;}}['Ye'](t,_0x6625d){let _0xa8cbfe;if(this['jo'](t)){let _0x42d955=this['Go'](t);try{_0xa8cbfe=_0x42d955?.['normalize']?.(_0x6625d)??_0x6625d;}catch(_0x70f58f){return void console['warn']('[uc-config]\x20normalize()\x20for\x20\x22'+t+'\x22\x20threw\x20an\x20error,\x20keeping\x20previous\x20value',_0x70f58f);}}else _0xa8cbfe=((_0x5e839e,_0x3b77c7)=>{if(!(typeof _0x3b77c7>'u'||null===_0x3b77c7))try{return RG[_0x5e839e](_0x3b77c7);}catch(_0x3d21a1){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x5e839e+'\x22.',_0x3d21a1),XU[_0x5e839e];}})(t,_0x6625d);let _0x12b4c9=this,_0x324203=DG(t);_0x12b4c9[_0x324203]!==_0xa8cbfe&&(this['Zu'](t,_0x12b4c9[_0x324203],_0xa8cbfe),_0x12b4c9[_0x324203]=_0xa8cbfe,this['qu'](t,_0xa8cbfe),this['Wu'](t,_0xa8cbfe),this['debugPrint']('\x22'+t+'\x22',_0xa8cbfe),this['jo'](t)||yG(this['cfg']));}['pr'](t){return this[DG(t)]??this['$'][mU(t)];}['Zu'](t,_0x51812a,_0x15ebd6){this['cfg']['debug']&&_0x15ebd6!==_0x51812a&&'object'==typeof _0x15ebd6&&'object'==typeof _0x51812a&&JSON['stringify'](_0x15ebd6)===JSON['stringify'](_0x51812a)&&(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:',_0x51812a),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20new\x20value:',_0x15ebd6));}['Ia'](t){let _0x4cd984=t['configRegistry']['getAll']();this['ci']={},this['Ma']=new Set(_0x4cd984['keys']());for(let [_0x3a4b4f,_0x4a1e5f]of this['Ut'])_0x4cd984['has'](_0x3a4b4f)||(_0x4a1e5f(),this['Ut']['delete'](_0x3a4b4f));for(let [_0x2fb565,_0x1b511f]of _0x4cd984){let _0x22366e=mU(_0x2fb565);if(_0x1b511f['attribute']){let _0x33dad7=this['Oa'](_0x2fb565);for(let _0x42c067 of _0x33dad7)this['ci'][_0x42c067]=_0x2fb565;}this['sharedCtx']['has'](_0x22366e)||this['sharedCtx']['add'](_0x22366e,_0x1b511f['defaultValue']);let _0x377990=Object['getOwnPropertyDescriptor'](this,_0x2fb565);if((!_0x377990||!_0x377990['set']||!_0x377990['get'])&&Object['defineProperty'](this,_0x2fb565,{'set':_0x54a63e=>{this['Ye'](_0x2fb565,_0x54a63e);},'get':()=>this['pr'](_0x2fb565),'enumerable':!0x0,'configurable':!0x0}),!this['Ut']['has'](_0x2fb565)){let _0x21cc51=this['sub'](_0x22366e,_0x3957bb=>{this['Ye'](_0x2fb565,_0x3957bb);},!0x1);this['Ut']['set'](_0x2fb565,_0x21cc51);}}}['Yu'](){this['i']['when']('pluginManager',t=>{this['Ia'](t),this['dr']=t['onPluginsChange'](()=>{this['Ia'](t);});});}['Xu'](){this['li']=new MutationObserver(t=>{for(let _0x57b3e5 of t)if('attributes'===_0x57b3e5['type']&&_0x57b3e5['attributeName']){let _0x3e4ffe=_0x57b3e5['attributeName'],_0x578cf4=_0x57b3e5['oldValue'],_0x41ad4d=this['getAttribute'](_0x3e4ffe);if(_0x578cf4===_0x41ad4d||_0x3e4ffe in $G)continue;if(_0x3e4ffe in this['ci']){let _0x36ded0=this['ci'][_0x3e4ffe],_0x41b581=this['Go'](_0x36ded0);this['attributeChangedCallback'](_0x3e4ffe,_0x578cf4??'',_0x41ad4d??_0x41b581?.['defaultValue']??'');}}}),this['li']['observe'](this,{'attributes':!0x0,'attributeOldValue':!0x0});}['initCallback'](){super['initCallback']();let t=this;this['Yu'](),this['Xu']();for(let _0x316bb1 of LG)this['sub'](mU(_0x316bb1),_0x332cd7=>{this['Ye'](_0x316bb1,_0x332cd7);},!0x1);for(let _0x5ba404 of PG){let _0xe32aac=t[_0x5ba404]??this['$'][mU(_0x5ba404)];_0xe32aac!==XU[_0x5ba404]&&this['Ye'](_0x5ba404,_0xe32aac);let _0x30382d=Object['getOwnPropertyDescriptor'](this,_0x5ba404);(!_0x30382d||!_0x30382d['set']||!_0x30382d['get'])&&Object['defineProperty'](this,_0x5ba404,{'set':_0x4e111f=>{this['Ye'](_0x5ba404,_0x4e111f);},'get':()=>this['pr'](_0x5ba404)});}let _0x5f0676=_0x3a5db3=>{(({key:_0x292429,setValue:_0x2d0a82,getValue:t,computationControllers:_0x569032})=>{for(let _0x5b432e of TG){if(!_0x5b432e['deps']['includes'](_0x292429))continue;let _0xea066f={[_0x5b432e['key']]:()=>t(_0x5b432e['key'])};for(let _0x18232d of _0x5b432e['deps'])_0xea066f[_0x18232d]=()=>t(_0x18232d);let _0x6e149,_0x5cc06e=new AbortController();_0x569032['get'](_0x5b432e['fn'])?.['abort'](),_0x569032['set'](_0x5b432e['fn'],_0x5cc06e);try{_0x6e149=_0x5b432e['fn'](_0xea066f,{'signal':_0x5cc06e['signal']});}catch(_0x4137ad){return _0x569032['get'](_0x5b432e['fn'])===_0x5cc06e&&_0x569032['delete'](_0x5b432e['fn']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x5b432e['key']+'\x22',_0x4137ad);}EG(_0x6e149)?_0x6e149['then'](_0x436fef=>{_0x5cc06e['signal']['aborted']||_0x2d0a82(_0x5b432e['key'],_0x436fef);})['catch'](_0x5644f9=>{_0x5cc06e['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x5b432e['key']+'\x22',_0x5644f9);})['finally'](()=>{_0x569032['get'](_0x5b432e['fn'])===_0x5cc06e&&_0x569032['delete'](_0x5b432e['fn']);}):_0x2d0a82(_0x5b432e['key'],_0x6e149);}})({'key':_0x3a5db3,'setValue':this['Ye']['bind'](this),'getValue':this['pr']['bind'](this),'computationControllers':this['Gu']});};for(let _0x5012db of PG)this['sub'](mU(_0x5012db),()=>_0x5f0676(_0x5012db));}['attributeChangedCallback'](t,_0x48c905,_0x218aa2){if(super['attributeChangedCallback'](t,_0x48c905,_0x218aa2),_0x48c905===_0x218aa2)return;let _0xd44e36=$G[t];_0xd44e36?this[_0xd44e36]=_0x218aa2:this['i']['when']('pluginManager',_0x7441d7=>{let _0x214f4f=this['getAttribute'](t);if(_0x214f4f&&_0x214f4f!==_0x218aa2)return;let _0x4f5488=this['ci'][t],_0x4650ce=_0x4f5488?_0x7441d7['configRegistry']['get'](_0x4f5488):void 0x0;if(_0x4f5488&&_0x4650ce){let _0xd27be6=_0x4650ce['fromAttribute']?_0x4650ce['fromAttribute'](_0x218aa2):_0x218aa2;if(this['pr'](_0x4f5488)===_0xd27be6)return;this['Ye'](_0x4f5488,_0xd27be6);}});}['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']($G)];}};for(let e of PG)QG['prototype'][e]=void 0x0;var VG=class extends gH{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 _V`<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>`;}};SQ([JV({'attribute':'dropzone','type':Boolean})],VG['prototype'],'dropzone',0x2),SQ([tU()],VG['prototype'],'ui',0x2);var UG=class extends mH{constructor(){super(...arguments),this['Wo']=QH();}['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 _0x46b61a=this['$']['*currentActivityParams'];try{this['qo']=this['registration']['render'](t,_0x46b61a)??void 0x0;}catch(_0x1cba9a){console['error']('[Plugin\x20\x22'+this['registration']['pluginId']+'\x22]\x20Activity\x20render()\x20threw\x20an\x20error',_0x1cba9a);}}['hr'](){let t=this['Wo']['value'];if(t){try{this['qo']?.();}catch(_0x2fe90f){console['error']('[Plugin\x20\x22'+this['registration']?.['pluginId']+'\x22]\x20Activity\x20dispose\x20threw\x20an\x20error',_0x2fe90f);}this['qo']=void 0x0,t['replaceChildren']();}}['disconnectedCallback'](){this['hr'](),super['disconnectedCallback']();}['render'](){return _V`<div style="display: contents;" ${BH(this['Wo'])}></div>`;}};SQ([JV({'attribute':!0x1})],UG['prototype'],'registration',0x2);var BG=class extends nj{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']?_V`${oG(this['de'],t=>t['id'],t=>_V`<uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host>`)}`:_V`${oG(this['de'],t=>t['id'],t=>_V`<uc-modal id=${t['id']} strokes block-body-scrolling><uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host></uc-modal>`)}`;}};function FG(_0x5e7b48,_0x25b8ce,t){return _0x5e7b48?_0x25b8ce(_0x5e7b48):t?.(_0x5e7b48);}function jG(..._0x5bc7a2){return _0x5bc7a2['reduce']((_0x26643b,t)=>{if('string'==typeof t)return _0x26643b[t]=!0x0,_0x26643b;for(let _0x55c419 of Object['keys'](t))_0x26643b[_0x55c419]=t[_0x55c419];return _0x26643b;},{});}function HG(..._0x532d42){let _0x10e2d1=jG(..._0x532d42);return Object['keys'](_0x10e2d1)['reduce']((t,_0x517677)=>(_0x10e2d1[_0x517677]&&t['push'](_0x517677),t),[])['join']('\x20');}SQ([JV({'type':String})],BG['prototype'],'mode',0x2),SQ([tU()],BG['prototype'],'de',0x2);var GG=_0x5f20f3=>VU['includes'](_0x5f20f3);function ZG(_0x5f442b){return{'*originalUrl':null,'*loadingOperations':new Map(),'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':VU,'*tabId':QU['CROP'],'*on.retryNetwork':()=>{let _0x13127b=_0x5f442b['querySelectorAll']('img');for(let t of _0x13127b){let _0x3dd9da=t['src'];t['src']=zH,t['src']=_0x3dd9da;}_0x5f442b['$']['*networkProblems']=!0x1;},'*on.apply':_0x4d08a2=>{if(!_0x4d08a2)return;let t=_0x5f442b['$']['*originalUrl'];if(!t)return void console['warn']('Original\x20URL\x20is\x20null,\x20cannot\x20apply\x20transformations');let _0xd9fe0e=bU(PU(_0x4d08a2),'preview'),_0x4e8a75={'originalUrl':t,'cdnUrlModifiers':_0xd9fe0e,'cdnUrl':SU(t,_0xd9fe0e),'transformations':_0x4d08a2};_0x5f442b['dispatchEvent'](new CustomEvent('apply',{'detail':_0x4e8a75,'bubbles':!0x0,'composed':!0x0})),_0x5f442b['remove']();},'*on.cancel':()=>{_0x5f442b['remove'](),_0x5f442b['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var XG={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},qG=class extends nj{constructor(){super(...arguments),this['he']=!0x1,this['Ua']=XG,this['$a']=XG['visible'],this['Da']=XG['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']??XG['visible'],this['Da']=t['hidden']??XG['hidden'];}get['styles'](){return this['Ua'];}['Na'](){this['style']['visibility']=this['he']?'inherit':'hidden',function(_0x21c151,..._0x6e8a0f){let t=jG(..._0x6e8a0f);for(let _0x2df89f of Object['keys'](t))_0x21c151['classList']['toggle'](_0x2df89f,!!t[_0x2df89f]);}(this,{[XG['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'](XG['transition']),this['Na'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1),this['Ju']();},0x0);}};SQ([JV({'type':Boolean})],qG['prototype'],'visible',0x1),SQ([JV({'attribute':!0x1})],qG['prototype'],'styles',0x1);var WG=class extends nj{constructor(){super(...arguments),this['active']=!0x1,this['Xe']=QH(),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:_0x1b79bd}=this['getBoundingClientRect']();t['removeEventListener']('transitionend',this['Xo']),t['style']['transition']='transform\x201s',t['style']['opacity']='1',t['style']['transform']='translateX('+_0x1b79bd+'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 _V`<div class="uc-inner"><div class="uc-line" ${BH(this['Xe'])}></div></div>`;}};SQ([JV({'type':Boolean,'reflect':!0x0})],WG['prototype'],'active',0x2);var zG=aj(class extends cj{constructor(_0x17f9e2){if(super(_0x17f9e2),_0x17f9e2['type']!==rj||'class'!==_0x17f9e2['name']||_0x17f9e2['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'](_0x4fbd14){return'\x20'+Object['keys'](_0x4fbd14)['filter'](_0x49a7ce=>_0x4fbd14[_0x49a7ce])['join']('\x20')+'\x20';}['update'](_0xf60f89,[_0x3625b0]){if(void 0x0===this['st']){this['st']=new Set(),void 0x0!==_0xf60f89['strings']&&(this['nt']=new Set(_0xf60f89['strings']['join']('\x20')['split'](/\s/)['filter'](_0x46e7ed=>''!==_0x46e7ed)));for(let _0x1b2b8c in _0x3625b0)_0x3625b0[_0x1b2b8c]&&!this['nt']?.['has'](_0x1b2b8c)&&this['st']['add'](_0x1b2b8c);return this['render'](_0x3625b0);}let t=_0xf60f89['element']['classList'];for(let _0x5d8c3d of this['st'])_0x5d8c3d in _0x3625b0||(t['remove'](_0x5d8c3d),this['st']['delete'](_0x5d8c3d));for(let _0x4fc8a8 in _0x3625b0){let _0x3e36a7=!!_0x3625b0[_0x4fc8a8];_0x3e36a7===this['st']['has'](_0x4fc8a8)||this['nt']?.['has'](_0x4fc8a8)||(_0x3e36a7?(t['add'](_0x4fc8a8),this['st']['add'](_0x4fc8a8)):(t['remove'](_0x4fc8a8),this['st']['delete'](_0x4fc8a8)));}return EV;}}),YG=_0x14efbf=>_0x14efbf??TV,KG=class extends nj{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 _V`<button type="button" role=${YG(this['ariaRole']||void 0x0)} aria-controls=${YG(this['ariaControls']||void 0x0)} aria-label=${YG(this['l10n'](this['titleProp']))} title=${YG(this['l10n'](this['titleProp']))} ><uc-icon class=${zG(this['td'])} name=${YG(this['icon']||void 0x0)} ?hidden=${this['Jo']} ></uc-icon><div class="uc-text">${this['text']}</div></button>`;}};function JG(_0x47353c,_0x29cb05,t){let _0x5b4158=window['devicePixelRatio'],_0x5c5702=Math['min'](Math['ceil'](_0x29cb05*_0x5b4158),0xbb8),_0x2bdac7=_0x5b4158>=0x2?'lightest':'normal';return SU(_0x47353c,bU(MU,PU(t),'quality/'+_0x2bdac7,'stretch/off/-/resize/'+_0x5c5702+'x','@clib/'+ZF+'/'+XF+'/uc-cloud-image-editor/'));}SQ([JV({'type':String})],KG['prototype'],'text',0x2),SQ([JV({'type':String})],KG['prototype'],'icon',0x2),SQ([JV({'type':Boolean,'reflect':!0x0})],KG['prototype'],'reverse',0x2),SQ([JV({'type':String,'reflect':!0x0})],KG['prototype'],'theme',0x2),SQ([JV({'attribute':'aria-role'})],KG['prototype'],'ariaRole',0x2),SQ([JV({'attribute':'aria-controls'})],KG['prototype'],'ariaControls',0x2),SQ([JV({'attribute':'title-prop'})],KG['prototype'],'titleProp',0x2),SQ([JV({'type':Boolean,'noAccessor':!0x0})],KG['prototype'],'active',0x2);var tZ=class extends nj{constructor(){super(...arguments),this['za']='uc-backdrop-mask-'+rU['generateFastUid'](),this['mr']=!0x1,this['fi']=!0x1,this['ja']=QH(),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 _0x1ceedc=this['Re'];if(!_0x1ceedc)return;let {x:_0x419f3d,y:_0xf27758}=_0x1ceedc['getBoundingClientRect'](),_0xdc389b=t['x']-_0x419f3d,_0x450ad6=t['y']-_0xf27758,_0x157970=_0xdc389b-this['fr'][0x0],_0x551036=_0x450ad6-this['fr'][0x1],{direction:_0x3cc62e}=this['ts'],_0x5d87d0=this['pd'](_0x3cc62e,[_0x157970,_0x551036]);_0x5d87d0&&(this['$']['*cropBox']=_0x5d87d0);},this['Ya']=t=>{if(!this['xe'])return;let _0x226068=Object['values'](this['xe'])['find'](_0x533727=>{if(!_0x533727||this['os'](_0x533727['direction']))return!0x1;let _0x133c75=_0x533727['interactionNode']['getBoundingClientRect']();return function(_0xf3efa4,[_0x5884c9,t]){return _0xf3efa4['x']<=_0x5884c9&&_0x5884c9<=_0xf3efa4['x']+_0xf3efa4['width']&&_0xf3efa4['y']<=t&&t<=_0xf3efa4['y']+_0xf3efa4['height'];}({'x':_0x133c75['x'],'y':_0x133c75['y'],'width':_0x133c75['width'],'height':_0x133c75['height']},[t['x'],t['y']]);});this['Ha']=_0x226068,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',HG({'uc-guides--hidden':this['mr'],'uc-guides--visible':!this['mr']&&this['fi'],'uc-guides--semi-hidden':!this['mr']&&!this['fi']}));}['os'](t){let _0x1701b5=this['$']['*imageBox'];if(!_0x1701b5)return!0x1;if(''===t&&_0x1701b5['height']<=0x1&&_0x1701b5['width']<=0x1)return!0x0;let _0xc24927=_0x1701b5['height']<=0x1&&(t['includes']('n')||t['includes']('s')),_0x482aba=_0x1701b5['width']<=0x1&&(t['includes']('e')||t['includes']('w'));return _0xc24927||_0x482aba;}['od'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x24c879,y:_0x2eecfe,width:_0x5cd5e5,height:_0x3db606}=t,_0x383e2a=this['Re'];if(!_0x383e2a)return;let _0x2f5ed2=Jj('mask',{'id':this['za']}),_0x59acaa=Jj('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x3ddecf=Jj('rect',{'x':_0x24c879,'y':_0x2eecfe,'width':_0x5cd5e5,'height':_0x3db606,'fill':'black'});_0x2f5ed2['appendChild'](_0x59acaa),_0x2f5ed2['appendChild'](_0x3ddecf);let _0x2e291b=Jj('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['za']+')'});_0x383e2a['appendChild'](_0x2e291b),_0x383e2a['appendChild'](_0x2f5ed2),this['di']=_0x2f5ed2,this['es']=_0x3ddecf;}['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:_0x970f0,y:_0x5a4f35,width:_0x51764c,height:_0x116258}=t;this['es']&&Kj(this['es'],{'x':_0x970f0,'y':_0x5a4f35,'width':_0x51764c,'height':_0x116258});}['ad'](){let t=this['$']['*cropBox'];if(t&&this['pi']&&this['xe']){for(let _0x62c433 of Object['values'](this['xe'])){if(!_0x62c433)continue;let {direction:_0x2fffec,pathNode:_0x5880ae,interactionNode:_0x49788f,groupNode:_0x5883eb}=_0x62c433,_0x180fc=''===_0x2fffec,_0x12d096=0x2===_0x2fffec['length'],{x:_0x4d8a41,y:_0x4002ce,width:_0x5edf54,height:_0xd29184}=t;if(_0x180fc)Kj(_0x49788f,{'x':_0x4d8a41,'y':_0x4002ce,'width':_0x5edf54,'height':_0xd29184});else{let _0x296ea0=aH(Math['min'](_0x5edf54,_0xd29184)/0x52/0x2,0x0,0x1),_0xa5f7dc=_0x12d096?tH(t,_0x2fffec,_0x296ea0):eH(t,_0x2fffec,_0x296ea0),_0xf2b7a3=_0xa5f7dc['center'];if(!_0xf2b7a3)continue;let _0xb80d59=Math['max'](0x18*aH(Math['min'](_0x5edf54,_0xd29184)/0x18/0x3,0x0,0x1),0x6);Kj(_0x49788f,{'x':_0xf2b7a3[0x0]-_0xb80d59,'y':_0xf2b7a3[0x1]-_0xb80d59,'width':0x2*_0xb80d59,'height':0x2*_0xb80d59}),Kj(_0x5880ae,{'d':_0xa5f7dc['d']});}let _0x1ada99=this['os'](_0x2fffec);_0x5883eb['setAttribute']('class',HG('uc-thumb',{'uc-thumb--hidden':_0x1ada99,'uc-thumb--visible':!_0x1ada99}));}Kj(this['pi'],{'x':t['x']-0.5,'y':t['y']-0.5,'width':t['width']+0x1,'height':t['height']+0x1});}}['Ga'](t,_0x279e0c){let _0x5ca89b=Jj('g');_0x5ca89b['classList']['add']('uc-thumb'),_0x5ca89b['setAttribute']('with-effects','');let _0x34b8f1=Jj('rect',{'fill':'transparent'}),_0x35282a=Jj('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x5ca89b['appendChild'](_0x35282a),_0x5ca89b['appendChild'](_0x34b8f1),t[_0x279e0c]={'direction':_0x279e0c,'pathNode':_0x35282a,'interactionNode':_0x34b8f1,'groupNode':_0x5ca89b},''===_0x279e0c&&(_0x5ca89b['style']['cursor']='move'),_0x34b8f1['addEventListener']('pointerdown',this['ld']['bind'](this,_0x279e0c));}['cd'](){let t={};for(let _0x35ef37=0x0;_0x35ef37<0x3;_0x35ef37++)for(let _0x44d7c4=0x0;_0x44d7c4<0x3;_0x44d7c4++){let _0x1b915a=''+['n','','s'][_0x35ef37]+['w','','e'][_0x44d7c4];''!==_0x1b915a&&this['Ga'](t,_0x1b915a);}return this['Ga'](t,''),t;}['ud'](){let t=Jj('svg'),_0x37b862=Jj('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});t['appendChild'](_0x37b862);for(let _0x377bbb=0x1;_0x377bbb<=0x2;_0x377bbb++){let _0x348ff9=Jj('line',{'x1':Yj*_0x377bbb+'%','y1':'0%','x2':Yj*_0x377bbb+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x348ff9);}for(let _0x3d2bea=0x1;_0x3d2bea<=0x2;_0x3d2bea++){let _0x483fd6=Jj('line',{'x1':'0%','y1':Yj*_0x3d2bea+'%','x2':'100%','y2':Yj*_0x3d2bea+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x483fd6);}return t['classList']['add']('uc-guides','uc-guides--semi-hidden'),t;}['dd'](){let t=this['Re'];if(!t)return;let _0x29694d=document['createDocumentFragment'](),_0x4bcf98=this['ud']();_0x29694d['appendChild'](_0x4bcf98);let _0x1f8817=this['cd']();for(let {groupNode:_0x32c3b3}of Object['values'](_0x1f8817))_0x29694d['appendChild'](_0x32c3b3);t['appendChild'](_0x29694d),this['xe']=_0x1f8817,this['pi']=_0x4bcf98,this['rs']();}['ld'](t,_0x5f34ad){if(!this['xe'])return;let _0x1a70a6=this['xe'][t];if(!_0x1a70a6||this['os'](t))return;let _0x5d00dd=this['$']['*cropBox'],_0x55ee0a=this['Re'];if(!_0x55ee0a)return;let {x:_0x589550,y:_0x2ee968}=_0x55ee0a['getBoundingClientRect'](),_0x242679=_0x5f34ad['x']-_0x589550,_0x523b1b=_0x5f34ad['y']-_0x2ee968;this['vi']=!0x0,this['ts']=_0x1a70a6,this['fr']=[_0x242679,_0x523b1b],this['Ka']={..._0x5d00dd};}['pd'](t,_0x172fb3){let [_0x121d1b,_0x11f167]=_0x172fb3,_0x1fb71e=this['$']['*imageBox'],_0x15b0e6=this['Ka']??this['$']['*cropBox'],_0x18e10b=this['$']['*currentAspectRatio'],_0x442da5=_0x18e10b?_0x18e10b['width']/_0x18e10b['height']:void 0x0;if(_0x15b0e6=''===t?function({rect:_0x569462,delta:[_0x521e8e,t],imageBox:_0x280357}){return iH({..._0x569462,'x':_0x569462['x']+_0x521e8e,'y':_0x569462['y']+t},_0x280357);}({'rect':_0x15b0e6,'delta':[_0x121d1b,_0x11f167],'imageBox':_0x1fb71e}):sH({'rect':_0x15b0e6,'delta':[_0x121d1b,_0x11f167],'direction':t,'aspectRatio':_0x442da5,'imageBox':_0x1fb71e}),Object['values'](_0x15b0e6)['every'](_0x5e2211=>Number['isFinite'](_0x5e2211)&&_0x5e2211>=0x0))return iH(oH(_0x15b0e6),_0x1fb71e);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x15b0e6});}['Wa'](){let t=this['Ha'],_0x5fd025=this['Re'];_0x5fd025&&(_0x5fd025['style']['cursor']=t?function(_0x3391f3){return''===_0x3391f3?'move':['e','w']['includes'](_0x3391f3)?'ew-resize':['n','s']['includes'](_0x3391f3)?'ns-resize':['nw','se']['includes'](_0x3391f3)?'nwse-resize':'nesw-resize';}(t['direction']):'initial');}['Xa'](t){if(this['hi'])return void this['hi']['setAttribute']('href',t);let _0x3a517d=this['Re'];if(!_0x3a517d)return void(this['gi']=t);this['gi']=null;let _0x29927e=document['createDocumentFragment'](),_0xbf5710=Jj('image',{'href':t});_0xbf5710['setAttribute']('class','uc-cloud-mask'),_0x29927e['appendChild'](_0xbf5710),_0x3a517d['appendChild'](_0x29927e),this['hi']=_0xbf5710;}['hd'](){let t=this['$']['*cropBox'];if(!t||!this['hi'])return;let {x:_0x3800f7,y:_0x30604e,width:_0xd32032,height:_0x2d9e7e}=t;Kj(this['hi'],{'x':_0x3800f7,'y':_0x30604e,'height':_0x2d9e7e,'width':_0xd32032});}['ss'](){this['mi']&&(this['nd'](),this['ad'](),this['hd']());}['toggleThumbs'](t){if(this['xe'])for(let _0x35914b of Object['values'](this['xe'])){if(!_0x35914b)continue;let {groupNode:_0x33740}=_0x35914b;_0x33740['setAttribute']('class',HG('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 _0x559b28=this['gi'];this['gi']=null,this['Xa'](_0x559b28);}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 _V`<svg class="uc-svg" xmlns="http://www.w3.org/2000/svg" ${BH(this['ja'])}></svg>`;}};SQ([tU()],tZ['prototype'],'fi',0x2);var eZ=class extends nj{constructor(){super(),this['ctxOwner']=!0x0,this['Qe']={'width':0x0,'height':0x0},this['e']=null,this['_']=!0x1,this['se']=null,this['Ja']=QH(),this['as']=QH(),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']=eU(this['tl']['bind'](this),0x12c),this['ns']=nG(()=>{!this['isConnected']||!this['_']||(this['ls'](),this['il'](),this['rl'](),this['cs'](),this['us']());},0x64);}['firstUpdated'](t){super['firstUpdated'](t),this['ls']();}['il'](){let _0x5af00d=function(_0x478bf0,_0xb3734b){let t={};for(let _0x3f4621 of _0xb3734b){let _0x1e63c5=_0x478bf0[_0x3f4621];(Object['hasOwn'](_0x478bf0,_0x3f4621)||void 0x0!==_0x1e63c5)&&(t[_0x3f4621]=_0x1e63c5);}return t;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x2bc3cf={...this['$']['*operations'],..._0x5af00d};this['$']['*operations']=_0x2bc3cf;}['ls'](){let t=this['Ja']['value'];if(!t)return;let _0x1fb513=t['getContext']('2d'),_0x864049=this['offsetWidth'],_0x5171a7=this['offsetHeight'],_0x18775a=window['devicePixelRatio'];t['style']['width']=_0x864049+'px',t['style']['height']=_0x5171a7+'px',t['width']=_0x864049*_0x18775a,t['height']=_0x5171a7*_0x18775a,_0x1fb513?.['scale'](_0x18775a,_0x18775a),this['fe']=t,this['e']=_0x1fb513;}['rl'](){if(!this['_']||!this['se'])return;let _0x5f3514,t=this['se'],_0x126d70=this['$']['*padding'],_0x22062e=this['$']['*operations'],{rotate:_0x29e400}=_0x22062e,_0x39a7e8=this['offsetWidth'],_0x256458=this['offsetHeight'],_0x3af85a=nH({'width':t['naturalWidth'],'height':t['naturalHeight']},_0x29e400);if(_0x3af85a['width']>_0x39a7e8-0x2*_0x126d70||_0x3af85a['height']>_0x256458-0x2*_0x126d70){let _0x2d72ea=_0x3af85a['width']/_0x3af85a['height'];if(_0x2d72ea>_0x39a7e8/_0x256458){let _0x253ae1=_0x39a7e8-0x2*_0x126d70,_0x4c17ee=_0x253ae1/_0x2d72ea;_0x5f3514={'x':0x0+_0x126d70,'y':_0x126d70+(_0x256458-0x2*_0x126d70)/0x2-_0x4c17ee/0x2,'width':_0x253ae1,'height':_0x4c17ee};}else{let _0x283bad=_0x256458-0x2*_0x126d70,_0x5470ea=_0x283bad*_0x2d72ea;_0x5f3514={'x':_0x126d70+(_0x39a7e8-0x2*_0x126d70)/0x2-_0x5470ea/0x2,'y':0x0+_0x126d70,'width':_0x5470ea,'height':_0x283bad};}}else{let {width:_0x1299a2,height:_0x1c4521}=_0x3af85a;_0x5f3514={'x':_0x126d70+(_0x39a7e8-0x2*_0x126d70)/0x2-_0x1299a2/0x2,'y':_0x126d70+(_0x256458-0x2*_0x126d70)/0x2-_0x1c4521/0x2,'width':_0x1299a2,'height':_0x1c4521};}this['$']['*imageBox']=oH(_0x5f3514);}['cs'](){let t=this['$']['*cropBox'],_0x4c4d5e=this['$']['*imageBox'],_0x5a4237=this['$']['*operations'],{rotate:_0x3a715d}=_0x5a4237,_0x320cc6=this['$']['*editorTransformations']['crop'],{width:_0x45a0c9,x:_0x2360da,y:_0x33c611}=_0x4c4d5e;if(_0x320cc6){let {dimensions:[_0x4f9f96,_0x2bb68b],coords:[_0x3cccf5,_0x114384]}=_0x320cc6,{width:_0x4e1532}=nH(this['Qe'],_0x3a715d),_0x2673d4=_0x45a0c9/_0x4e1532;t=iH(oH({'x':_0x2360da+_0x3cccf5*_0x2673d4,'y':_0x33c611+_0x114384*_0x2673d4,'width':_0x4f9f96*_0x2673d4,'height':_0x2bb68b*_0x2673d4}),_0x4c4d5e);}let _0x1e840f=this['$']['*currentAspectRatio'],_0x3484fc=_0x1e840f?_0x1e840f['width']/_0x1e840f['height']:void 0x0;if(!function(_0x28997b,_0x35320a){return _0x28997b['x']>=_0x35320a['x']&&_0x28997b['y']>=_0x35320a['y']&&_0x28997b['x']+_0x28997b['width']<=_0x35320a['x']+_0x35320a['width']&&_0x28997b['y']+_0x28997b['height']<=_0x35320a['y']+_0x35320a['height'];}(t,_0x4c4d5e)||_0x3484fc&&!function(_0x5e474c,_0x32a4e3){return Math['abs'](_0x5e474c['width']/_0x5e474c['height']-_0x32a4e3)<0.1;}(t,_0x3484fc)){let _0xa569dd=_0x4c4d5e['width']/_0x4c4d5e['height'],_0xd3f673=_0x4c4d5e['width'],_0x4306e3=_0x4c4d5e['height'];_0x3484fc&&(_0xa569dd>_0x3484fc?_0xd3f673=Math['min'](_0x4c4d5e['height']*_0x3484fc,_0x4c4d5e['width']):_0x4306e3=Math['min'](_0x4c4d5e['width']/_0x3484fc,_0x4c4d5e['height'])),t={'x':_0x4c4d5e['x']+_0x4c4d5e['width']/0x2-_0xd3f673/0x2,'y':_0x4c4d5e['y']+_0x4c4d5e['height']/0x2-_0x4306e3/0x2,'width':_0xd3f673,'height':_0x4306e3};}this['$']['*cropBox']=iH(oH(t),_0x4c4d5e);}['md'](){let t=this['e'];if(!t)return;let _0x477a47=this['se'];if(!_0x477a47)return;let _0x232c3a=this['$']['*imageBox'],_0x5b1479=this['$']['*operations'],{mirror:_0x5311b5,flip:_0x54d86f,rotate:_0x2fdcff}=_0x5b1479,_0x12f635=nH({'width':_0x232c3a['width'],'height':_0x232c3a['height']},_0x2fdcff);t['save'](),t['translate'](_0x232c3a['x']+_0x232c3a['width']/0x2,_0x232c3a['y']+_0x232c3a['height']/0x2),t['rotate'](_0x2fdcff*Math['PI']*-0x1/0xb4),t['scale'](_0x5311b5?-0x1:0x1,_0x54d86f?-0x1:0x1),t['drawImage'](_0x477a47,-_0x12f635['width']/0x2,-_0x12f635['height']/0x2,_0x12f635['width'],_0x12f635['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']=HG({'uc-active_from_viewer':t,'uc-active_from_editor':!t,'uc-inactive_to_editor':!0x1});}));}['ol'](){let t=this['$']['*cropBox'],_0x26fa51=this['$']['*imageBox'],_0x58631d=this['$']['*operations'],{rotate:_0x368dfb}=_0x58631d,{width:_0x54611e,height:_0x347ec3}=_0x26fa51,{width:_0x1d15f6,height:_0xc30bd4}=nH(this['Qe'],_0x368dfb),{width:_0x2225a8,height:_0x5877b1}=t,_0x3e54f1=_0x54611e/_0x1d15f6,_0x26b527=_0x347ec3/_0xc30bd4;return[aH(Math['round'](_0x2225a8/_0x3e54f1),0x1,_0x1d15f6),aH(Math['round'](_0x5877b1/_0x26b527),0x1,_0xc30bd4)];}['yd'](){let t=this['$']['*cropBox'],_0x4a6339=this['$']['*imageBox'],_0xbed712=this['$']['*operations'],{rotate:_0x720097}=_0xbed712,{width:_0x3a228d,height:_0xf3097b,x:_0x4637e8,y:_0xe675f9}=_0x4a6339,{width:_0x390fce,height:_0x393e8d}=nH(this['Qe'],_0x720097),{x:_0xa52501,y:_0xa1e55}=t,_0x3b42c7=_0x3a228d/_0x390fce,_0x3aa3c5=_0xf3097b/_0x393e8d,_0x74de2a=this['ol'](),_0x315442={'dimensions':_0x74de2a,'coords':[aH(Math['round']((_0xa52501-_0x4637e8)/_0x3b42c7),0x0,_0x390fce-_0x74de2a[0x0]),aH(Math['round']((_0xa1e55-_0xe675f9)/_0x3aa3c5),0x0,_0x393e8d-_0x74de2a[0x1])]};if(function(_0x42822c){return!_0x42822c||[({dimensions:t,coords:_0xeda5f})=>[...t,..._0xeda5f]['every'](_0xea6905=>Number['isInteger'](_0xea6905)&&Number['isFinite'](_0xea6905)),({dimensions:t,coords:_0x2e7379})=>t['every'](_0x302519=>_0x302519>0x0)&&_0x2e7379['every'](_0x4ecf62=>_0x4ecf62>=0x0)]['every'](t=>t(_0x42822c));}(_0x315442))return _0x74de2a[0x0]!==_0x390fce||_0x74de2a[0x1]!==_0x393e8d?_0x315442:void 0x0;console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x315442});}['tl'](){if(!this['isConnected']||!this['Qe'])return;let t=this['$']['*operations'],{rotate:_0x3ef75a,mirror:_0x423c1b,flip:_0x21b94a}=t,_0x2a1d68=this['yd'](),_0x3826ae={...this['$']['*editorTransformations'],'crop':_0x2a1d68,'rotate':_0x3ef75a,'mirror':_0x423c1b,'flip':_0x21b94a};this['$']['*editorTransformations']=_0x3826ae;}['setValue'](t,_0x1406da){this['$']['*operations']={...this['$']['*operations'],[t]:_0x1406da},this['_']&&(this['rl'](),this['cs'](),this['us']());}['getValue'](t){return this['$']['*operations'][t];}async['activate'](t,{fromViewer:_0x56b353}={}){if(!this['_']){this['_']=!0x0,await this['updateComplete'],this['ls'](),this['Qe']=t,this['removeEventListener']('transitionend',this['sl']);try{let _0x15f7f8=this['$']['*originalUrl'],_0x275bc4=this['$']['*editorTransformations'];this['se']=await this['bd'](_0x15f7f8,_0x275bc4),this['il'](),this['ns'](),this['gd']({'fromViewer':_0x56b353});}catch(_0x500b63){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x500b63}),this['telemetryManager']['sendEventError'](_0x500b63,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['s']=new ResizeObserver(_0x1b8860=>{let [_0x5da317]=_0x1b8860;_0x5da317&&_0x5da317['contentRect']['width']>0x0&&_0x5da317['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']=HG({'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'](),_0x26ad8d=this['$']['*cropBox'],_0xc7dba9=Math['min'](this['offsetWidth'],t[0x0])/_0x26ad8d['width'],_0x4f7f7b=Math['min'](this['offsetHeight'],t[0x1])/_0x26ad8d['height'],_0x4de1a2=Math['min'](_0xc7dba9,_0x4f7f7b),_0x16822e=_0x26ad8d['x']+_0x26ad8d['width']/0x2,_0x1febcb=_0x26ad8d['y']+_0x26ad8d['height']/0x2;this['style']['transform']='scale('+_0x4de1a2+')\x20translate('+(this['offsetWidth']/0x2-_0x16822e)/_0x4de1a2+'px,\x20'+(this['offsetHeight']/0x2-_0x1febcb)/_0x4de1a2+'px)',this['style']['transformOrigin']=_0x16822e+'px\x20'+_0x1febcb+'px';}['vd'](){let t=this['$']['*cropBox'],_0x3c004a=t['x']+t['width']/0x2,_0x1ad957=t['y']+t['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x3c004a+'px\x20'+_0x1ad957+'px';}['sl'](){this['_']||(this['se']=null);}async['bd'](t,_0x4361af){let _0x2cf184=this['offsetWidth'];_0x4361af={..._0x4361af,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x4d1789=await this['proxyUrl'](JG(t,_0x2cf184,_0x4361af)),{promise:_0x3f4da7,cancel:_0x5b0bd2,image:_0x3670e9}=YH(_0x4d1789),_0x404b24=this['$t'](_0x4d1789);return _0x3670e9['addEventListener']('load',_0x404b24,{'once':!0x0}),_0x3670e9['addEventListener']('error',_0x404b24,{'once':!0x0}),this['b']?.(),this['b']=_0x5b0bd2,_0x3f4da7['then'](()=>_0x3670e9)['catch'](_0x4a575b=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x4a575b}),this['$']['*networkProblems']=!0x0,_0x3670e9));}['$t'](t){let _0x31474c='crop',_0x960505=this['$']['*loadingOperations'],_0x2ca651=_0x960505['get'](_0x31474c);return _0x2ca651||(_0x2ca651=new Map(),_0x960505['set'](_0x31474c,_0x2ca651)),_0x2ca651['get'](t)||(_0x2ca651['set'](t,!0x0),this['$']['*loadingOperations']=_0x960505),()=>{let _0x2a7a1f=_0x960505['get'](_0x31474c);_0x2a7a1f?.['has'](t)&&(_0x2a7a1f['delete'](t),this['$']['*loadingOperations']=_0x960505);};}['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 _V`<canvas class="uc-canvas" ${BH(this['Ja'])}></canvas><uc-crop-frame ${BH(this['as'])}></uc-crop-frame>`;}};function iZ(_0x4bab14,_0x29bc71,t){let _0x2e7b9b=t-0x1,_0x5be828=new Array(t);for(let _0xd2dcd7=_0x2e7b9b;_0xd2dcd7>=0x0;_0xd2dcd7-=0x1)_0x5be828[_0xd2dcd7]=Math['ceil']((_0xd2dcd7*_0x29bc71+(_0x2e7b9b-_0xd2dcd7)*_0x4bab14)/_0x2e7b9b);return _0x5be828;}function sZ(_0x3077be,_0x368a92){let t=HU[_0x3077be]['keypointsNumber'],{range:_0x2d3eac,zero:_0x26442d}=HU[_0x3077be];return[...new Set([...iZ(_0x2d3eac[0x0],_0x26442d,t+0x1),...iZ(_0x26442d,_0x2d3eac[0x1],t+0x1),_0x26442d,_0x368a92])]['sort']((_0x267cfc,_0x466b1d)=>_0x267cfc-_0x466b1d);}SQ([tU()],eZ['prototype'],'se',0x2);var nZ=class extends nj{constructor(){super(),this['_']=!0x1,this['ds']=!0x0,this['n']='initial',this['nl']={},this['Ue']=[],this['al']=0x0,this['cl']=QH(),this['gr']=QH(),this['classList']['add']('uc-inactive_to_cropper'),this['ll']=eU(async(t,_0x174755,_0x4edcdb)=>{let _0xe1c11c=()=>!this['ul'](t,_0x174755)||this['Pt']!==_0x4edcdb||!!this['Ue']['find'](_0x12d8a3=>_0x12d8a3['value']===_0x4edcdb);if(_0xe1c11c())return;let _0x4229fc=await this['dl'](t,_0x4edcdb),_0x3068f4=new Image();_0x3068f4['src']=_0x4229fc['src'];let _0x20707c=this['$t'](_0x4229fc['src']);_0x3068f4['addEventListener']('load',_0x20707c,{'once':!0x0}),_0x3068f4['addEventListener']('error',_0x20707c,{'once':!0x0}),_0x4229fc['image']=_0x3068f4,_0x3068f4['classList']['add']('uc-fader-image'),_0x3068f4['addEventListener']('load',()=>{if(_0xe1c11c())return;let _0x58ef2f=this['Ue'],_0x371af2=_0x58ef2f['findIndex'](_0x191f05=>_0x191f05['value']>_0x4edcdb);-0x1===_0x371af2&&(_0x371af2=_0x58ef2f['length']);let _0x535818=_0x58ef2f[_0x371af2]?.['image'],_0x2276a8=this['gr']['value'];!_0x2276a8||_0x535818&&!_0x2276a8['contains'](_0x535818)||(_0x58ef2f['splice'](_0x371af2,0x0,_0x4229fc),_0x535818?_0x2276a8['insertBefore'](_0x3068f4,_0x535818):_0x2276a8['appendChild'](_0x3068f4),this['fs'](t,_0x4edcdb));},{'once':!0x0}),_0x3068f4['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});},0x258);}['$t'](t){let _0x6460c1=this['n'],_0x3e5690=this['$']['*loadingOperations'];_0x3e5690['has'](_0x6460c1)||_0x3e5690['set'](_0x6460c1,new Map());let _0x4a453d=_0x3e5690['get'](_0x6460c1);return _0x4a453d&&!_0x4a453d['get'](t)&&(_0x4a453d['set'](t,!0x0),this['$']['*loadingOperations']=_0x3e5690),()=>{let _0x57d434=_0x3e5690['get'](_0x6460c1);_0x57d434?.['has'](t)&&(_0x57d434['delete'](t),this['$']['*loadingOperations']=_0x3e5690);};}['pl'](){window['cancelAnimationFrame'](this['al']),this['al']=window['requestAnimationFrame'](()=>{for(let t of this['Ue']){let {image:_0x5c005d}=t;_0x5c005d&&(_0x5c005d['style']['opacity']=t['opacity']['toString'](),_0x5c005d['style']['zIndex']=t['zIndex']['toString']());}});}['Je']({url:t=this['Dt'],filter:_0x2609ba=this['m']??void 0x0,operation:_0x158d62,value:_0x205c2f}={}){if(!t)throw new Error('URL\x20is\x20not\x20defined');let _0x3e79fa={...this['nl']};_0x158d62&&('filter'===_0x158d62?_0x2609ba&&'number'==typeof _0x205c2f&&(_0x3e79fa['filter']={'name':_0x2609ba,'amount':_0x205c2f}):'number'==typeof _0x205c2f&&(_0x3e79fa[_0x158d62]=_0x205c2f));let _0xce3846=this['offsetWidth'];return this['proxyUrl'](JG(t,_0xce3846,_0x3e79fa));}async['dl'](t,_0x13c19d){return{'src':await this['Je']({'operation':t,'value':_0x13c19d}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x13c19d};}['ul'](t,_0x3cf65d){return this['n']===t&&this['m']===_0x3cf65d;}['set'](t){let _0x4f088f='string'==typeof t?parseInt(t,0xa):t;!function(_0x21522d){return'string'==typeof _0x21522d&&_0x21522d in HU;}(this['n'])||!Number['isFinite'](_0x4f088f)||(this['fs'](this['n'],_0x4f088f),this['ll'](this['n'],this['m'],_0x4f088f));}['fs'](t,_0x3ecafb){this['n']=t,this['Pt']=_0x3ecafb;let {zero:_0x22eb10}=HU[t],_0x331489=this['Ue']['map'](_0x5395e4=>_0x5395e4['value']),_0x4fa49c=function(_0x199502,_0x125489,t){let _0x49a0c0=function(_0x431a9b){let _0x1221c0=[];for(let t=0x0;t<_0x431a9b['length']-0x1;t+=0x1){let _0x1fd5b6=_0x431a9b[t],_0x18cf8e=_0x431a9b[t+0x1];'number'==typeof _0x1fd5b6&&'number'==typeof _0x18cf8e&&_0x1221c0['push']([_0x1fd5b6,_0x18cf8e]);}return _0x1221c0;}(_0x199502)['find'](([_0x4eee61,_0x1ca3c2])=>_0x4eee61<=_0x125489&&_0x125489<=_0x1ca3c2);if(!_0x49a0c0)return _0x199502['map'](()=>0x0);let [_0x310967,_0x5dbdda]=_0x49a0c0;return _0x199502['map'](_0x2e7f66=>{let _0x3ae649=Math['abs'](_0x310967-_0x5dbdda)||0x1,_0x223e39=Math['abs'](_0x125489-_0x310967)/_0x3ae649;return _0x310967===_0x2e7f66?_0x125489>t?0x1:0x1-_0x223e39:_0x5dbdda===_0x2e7f66?_0x125489>=t?_0x223e39:0x1:0x0;});}(_0x331489,_0x3ecafb,_0x22eb10),_0x2712a4=function(_0x59d873,_0xd70367){return _0x59d873['map']((t,_0x261a29)=>t<_0xd70367?_0x59d873['length']-_0x261a29:_0x261a29);}(_0x331489,_0x22eb10);this['Ue']['forEach']((_0x81ed31,_0x42a715)=>{let _0x5a6975=_0x4fa49c[_0x42a715],_0x4705c7=_0x2712a4[_0x42a715];'number'==typeof _0x5a6975&&(_0x81ed31['opacity']=_0x5a6975),'number'==typeof _0x4705c7&&(_0x81ed31['zIndex']=_0x4705c7);}),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 _0x1c7144=this['Ue']['map'](_0x3a1911=>_0x3a1911['src']),{images:_0x16753f,promise:_0x555e05,cancel:_0x3827ea}=KH(_0x1c7144);_0x16753f['forEach'](_0x221e3e=>{let _0x2b50d8=this['$t'](_0x221e3e['src']);_0x221e3e['addEventListener']('load',_0x2b50d8),_0x221e3e['addEventListener']('error',_0x2b50d8);}),this['ps']=()=>{_0x3827ea(),this['ps']=void 0x0;};let _0x141a28=this['n'],_0x45f602=this['m'];if(await _0x555e05,this['_']&&this['ul'](_0x141a28,_0x45f602)){let _0x43d0f5=this['gr']['value'];if(!_0x43d0f5)return;_0x43d0f5['replaceChildren'](),this['Ue']['forEach']((_0x5efddc,_0x5f1a04)=>{let _0x228f8f=_0x16753f[_0x5f1a04];_0x228f8f&&(_0x228f8f['classList']['add']('uc-fader-image'),_0x5efddc['image']=_0x228f8f,_0x43d0f5['appendChild'](_0x228f8f));}),this['pl']();}}async['setTransformations'](t){if(this['nl']=t,this['a']){let _0x423c92=await this['Je'](),_0x7a1d70=this['$t'](_0x423c92);this['a']['src']=_0x423c92,this['a']['addEventListener']('load',_0x7a1d70,{'once':!0x0}),this['a']['addEventListener']('error',_0x7a1d70,{'once':!0x0}),this['a']['style']['opacity']='1',this['a']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:t,filter:_0x646ec1,operation:_0x3f0eb7,value:_0x1bc798}){if(!_0x3f0eb7||'number'!=typeof _0x1bc798)return;this['hs']?.();let _0x6c6a90=sZ(_0x3f0eb7,_0x1bc798),_0x243f7f=await Promise['all'](_0x6c6a90['map'](_0x54333f=>this['Je']({'url':t,'filter':_0x646ec1,'operation':_0x3f0eb7,'value':_0x54333f}))),{cancel:_0x34629a}=KH(_0x243f7f);this['hs']=_0x34629a;}['Ed'](t){let _0x21a907=this['a']||this['hl']();if(this['fl'](_0x21a907),this['a']=_0x21a907,_0x21a907['src']===t)return _0x21a907['style']['opacity']='1',_0x21a907['style']['transform']='scale(1)',void(this['className']=HG({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));_0x21a907['style']['opacity']='0';let _0x5060fd=this['$t'](t);_0x21a907['addEventListener']('error',_0x5060fd,{'once':!0x0}),_0x21a907['src']=t,_0x21a907['addEventListener']('load',()=>{_0x5060fd(),_0x21a907&&(_0x21a907['style']['opacity']='1',_0x21a907['style']['transform']='scale(1)',this['className']=HG({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x21a907['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:t,operation:_0x1acb33,value:_0x344bf3,filter:_0xec7a6e,fromViewer:_0x382643}){if(this['_']=!0x0,this['ds']=!0x1,await this['updateComplete'],this['Dt']=t,this['n']=_0x1acb33??'initial',this['Pt']=_0x344bf3,this['m']=_0xec7a6e,this['yi']=_0x382643,'number'!=typeof _0x344bf3&&!_0xec7a6e){let _0x12b151=await this['Je']({'operation':_0x1acb33,'value':_0x344bf3});return this['Ed'](_0x12b151),void this['ms']();}!_0x1acb33||'number'!=typeof _0x344bf3||(this['Ue']=await Promise['all'](sZ(_0x1acb33,_0x344bf3)['map'](_0x360a7d=>this['dl'](_0x1acb33,_0x360a7d))),this['fs'](_0x1acb33,_0x344bf3),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']=HG({'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 _0x11b9a3=this['cl']['value'];_0x11b9a3&&(_0x11b9a3['contains'](t)||_0x11b9a3['appendChild'](t));}['ms'](){this['gr']['value']?.['replaceChildren']();}['render'](){return _V`<div class="uc-fader-preview-host" ${BH(this['cl'])}></div><div class="uc-fader-layers-host" ${BH(this['gr'])}></div>`;}},rZ='important',oZ='\x20!'+rZ,aZ=aj(class extends cj{constructor(_0xf10244){if(super(_0xf10244),_0xf10244['type']!==rj||'style'!==_0xf10244['name']||_0xf10244['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'](_0x43a320){return Object['keys'](_0x43a320)['reduce']((_0x1c6427,t)=>{let _0x5ed61f=_0x43a320[t];return null==_0x5ed61f?_0x1c6427:_0x1c6427+((t=t['includes']('-')?t:t['replace'](/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,'-$&')['toLowerCase']())+':'+_0x5ed61f+';');},'');}['update'](_0x5c37ff,[_0x1e1be2]){let {style:t}=_0x5c37ff['element'];if(void 0x0===this['ft'])return this['ft']=new Set(Object['keys'](_0x1e1be2)),this['render'](_0x1e1be2);for(let _0x33156f of this['ft'])null==_0x1e1be2[_0x33156f]&&(this['ft']['delete'](_0x33156f),_0x33156f['includes']('-')?t['removeProperty'](_0x33156f):t[_0x33156f]=null);for(let _0x1c3b81 in _0x1e1be2){let _0x35750d=_0x1e1be2[_0x1c3b81];if(null!=_0x35750d){this['ft']['add'](_0x1c3b81);let _0x5cb06a='string'==typeof _0x35750d&&_0x35750d['endsWith'](oZ);_0x1c3b81['includes']('-')||_0x5cb06a?t['setProperty'](_0x1c3b81,_0x5cb06a?_0x35750d['slice'](0x0,-0xb):_0x35750d,_0x5cb06a?rZ:''):t[_0x1c3b81]=_0x35750d;}}return EV;}}),cZ=class extends nj{constructor(){super(),this['gs']=0x0,this['vr']=QH(),this['gl']=QH(),this['vl']=QH(),this['disabled']=!0x1,this['min']=0x0,this['max']=0x64,this['defaultValue']=0x0,this['zero']=0x0,this['$e']=0x0,this['Cd']=t=>{t['stopPropagation']();let _0x277e82=this['yl'](t);null!==_0x277e82&&(this['vs'](_0x277e82),this['xd']('slider-input',_0x277e82));},this['Sd']=t=>{t['stopPropagation']();let _0x5e2476=this['yl'](t);null!==_0x5e2476&&this['vs'](_0x5e2476);},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,_0x1d6312){this['dispatchEvent'](new CustomEvent(t,{'detail':{'value':_0x1d6312},'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 _0x33a8b7=this['vr']['value'];_0x33a8b7?.['addEventListener']('focus',this['bl']),_0x33a8b7?.['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 _0x5c8d8b=this['max']-this['min'];if(0x0===_0x5c8d8b)return;let {width:_0x5eb19c}=this['getBoundingClientRect'](),_0x1a3a5a=0x64/_0x5c8d8b*(t-this['min'])*(_0x5eb19c-this['gs'])/0x64;window['requestAnimationFrame'](()=>{let _0xcf8dda=this['gl']['value'];_0xcf8dda&&(_0xcf8dda['style']['transform']='translateX('+_0x1a3a5a+'px)');});}['El'](t){if(!this['bi'])return;let _0x55b70a=this['max']-this['min'];if(0x0===_0x55b70a)return;this['bi']['style']['opacity']=t===this['zero']?'0':'1';let {width:_0x3318a}=this['getBoundingClientRect'](),_0x346e85=0x64/_0x55b70a*(this['zero']-this['min'])*(_0x3318a-this['gs'])/0x64;window['requestAnimationFrame'](()=>{this['bi']&&(this['bi']['style']['transform']='translateX('+_0x346e85+'px)');});}['ys'](){let _0x5c0c96=this['vl']['value'];if(!_0x5c0c96)return;let {width:_0x9f86ec}=_0x5c0c96['getBoundingClientRect'](),_0x1b81fc=Math['ceil'](_0x9f86ec/0x2),_0x4f1389=Math['ceil'](_0x1b81fc/0xf)-0x2;if(this['ml']===_0x4f1389)return;let _0x10eaac=document['createDocumentFragment'](),_0x5a3075=document['createElement']('div'),_0x50b508=document['createElement']('div');_0x5a3075['className']='uc-minor-step',_0x50b508['className']='uc-border-step',_0x10eaac['appendChild'](_0x50b508);for(let _0x9ea9a9=0x0;_0x9ea9a9<_0x4f1389;_0x9ea9a9+=0x1)_0x10eaac['appendChild'](_0x5a3075['cloneNode']());_0x10eaac['appendChild'](_0x50b508['cloneNode']());for(let _0x5407b8=0x0;_0x5407b8<_0x4f1389;_0x5407b8+=0x1)_0x10eaac['appendChild'](_0x5a3075['cloneNode']());_0x10eaac['appendChild'](_0x50b508['cloneNode']());let _0x2307d4=document['createElement']('div');_0x2307d4['className']='uc-zero-dot',_0x10eaac['appendChild'](_0x2307d4),this['bi']=_0x2307d4,_0x5c0c96['innerHTML']='',_0x5c0c96['appendChild'](_0x10eaac),this['ml']=_0x4f1389;}['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 _0x3dc171=this['vr']['value'];_0x3dc171&&(_0x3dc171['value']=String(t));}['yl'](t){let _0x2590b1=t['currentTarget'];if(!_0x2590b1)return null;let _0x270b3e=Number['parseInt'](_0x2590b1['value'],0xa);return Number['isFinite'](_0x270b3e)?_0x270b3e:null;}['render'](){return _V`<div class="uc-steps" ${BH(this['vl'])}></div><div class="uc-thumb" ${BH(this['gl'])}></div><input class="uc-input" type="range" ${BH(this['vr'])} .min=${String(this['min'])} .max=${String(this['max'])} .value=${String(this['$e'])} ?disabled=${this['disabled']} @input=${this['Cd']} @change=${this['Sd']} />`;}};SQ([JV({'type':Boolean,'reflect':!0x0})],cZ['prototype'],'disabled',0x2),SQ([JV({'type':Number})],cZ['prototype'],'min',0x2),SQ([JV({'type':Number})],cZ['prototype'],'max',0x2),SQ([JV({'type':Number,'attribute':!0x1})],cZ['prototype'],'defaultValue',0x2),SQ([JV({'type':Number})],cZ['prototype'],'zero',0x2),SQ([tU()],cZ['prototype'],'$e',0x2);var lZ='original',hZ=class extends nj{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:_0x130ec0}=t['detail'];this['$']['*faderEl']?.['set'](_0x130ec0),this['state']={...this['state'],'value':_0x130ec0};};}['setOperation'](t,_0x4730a6){this['state']={...this['state'],'operation':t,'filter':_0x4730a6},this['Ad']();let _0x48175b=this['$']['*faderEl'],_0xdd6c1c=this['state']['originalUrl']||this['$']['*originalUrl'];_0x48175b&&_0xdd6c1c&&_0x48175b['activate']({'url':_0xdd6c1c,'operation':this['state']['operation'],'value':this['state']['filter']===lZ?void 0x0:this['state']['value'],'filter':this['state']['filter']===lZ?void 0x0:this['state']['filter'],'fromViewer':!0x1});}['Ad'](){let t=this['state']['operation'],{range:_0xded249,zero:_0x53b696}=HU[t],[_0x65dc44,_0x425817]=_0xded249;this['state']={...this['state'],'min':_0x65dc44,'max':_0x425817,'zero':_0x53b696};let _0x11aa07=this['$']['*editorTransformations'][t];if('filter'===t){let _0x71d9b=Number(_0x425817),_0x374bfb=_0x11aa07;if(_0x374bfb){let {name:_0x8f08b5,amount:_0x362cf7}=_0x374bfb;_0x71d9b=_0x8f08b5===this['state']['filter']?_0x362cf7:_0x425817;}return void(this['state']={...this['state'],'value':_0x71d9b,'defaultValue':_0x71d9b});}let _0x2382a3=typeof _0x11aa07<'u'?_0x11aa07:_0x53b696;this['state']={...this['state'],'value':_0x2382a3,'defaultValue':_0x2382a3};}['apply'](){let _0x95eaee={...this['$']['*editorTransformations']};'filter'===this['state']['operation']?this['state']['filter']&&this['state']['filter']!==lZ?_0x95eaee['filter']={'name':this['state']['filter'],'amount':this['state']['value']}:delete _0x95eaee['filter']:_0x95eaee[this['state']['operation']]=this['state']['value'],this['$']['*editorTransformations']=_0x95eaee;}['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 _0x1962dd=(this['state']['filter']??this['state']['operation'])+'\x20'+this['state']['value'];this['$']['*operationTooltip']=_0x1962dd;}}['render'](){return _V`<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 uZ(_0xf735db){if(!_0xf735db)return null;let _0x24feb9=_0xf735db['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x24feb9)return null;let [,t,_0x56e382]=_0x24feb9;return!t||typeof _0x56e382>'u'?null:{'filter':t,'value':Number(_0x56e382)};}SQ([tU()],hZ['prototype'],'state',0x2);var dZ=class extends nj{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 [_0x21de98,_0x1a3090]of Object['entries'](t))this['classList']['toggle'](_0x21de98,_0x1a3090);}['onClick'](t){}['connectedCallback'](){super['connectedCallback'](),this['xl']();}['updated'](t){super['updated'](t),t['has']('active')&&this['xl']();}['render'](){let t=this['onClick'],_0x2dbca8=this['title'];return _V`<button role="option" type="button" aria-label=${YG(this['titleProp'])} title=${YG(this['titleProp'])} @click=${t} ><uc-icon name=${this['icon']}></uc-icon><div class="uc-title" ?hidden=${!_0x2dbca8}>${_0x2dbca8}</div></button>`;}};SQ([tU()],dZ['prototype'],'active',0x2),SQ([tU()],dZ['prototype'],'title',0x2),SQ([tU()],dZ['prototype'],'icon',0x2),SQ([tU()],dZ['prototype'],'titleProp',0x2);var fZ=class extends dZ{['initCallback'](){super['initCallback'](),this['icon']='arrow-dropdown',this['sub']('*currentAspectRatio',_0x48fe3a=>{let t=this['kd'](_0x48fe3a);this['title']=t,this['titleProp']=t;});}['onClick'](){this['$']['*showListAspectRatio']=!0x0;}['kd'](_0x2aa423){return _0x2aa423?_0x2aa423['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x2aa423['width']+':'+_0x2aa423['height']}):'';}['render'](){let _0x2c4f4d=this['onClick'],t=this['title'];return _V`<button role="option" type="button" class=${zG(this['buttonClasses'])} aria-label=${YG(this['titleProp'])} title=${YG(this['titleProp'])} @click=${_0x2c4f4d} ><div class="uc-title" ?hidden=${!t}>${t}</div><uc-icon name=${this['icon']}></uc-icon></button>`;}},mZ=class extends dZ{constructor(){super(...arguments),this['X']=null;}get['aspectRatio'](){return this['X'];}set['aspectRatio'](t){if(this['X']===t)return;let _0x41cf80=this['X'];this['X']=t,this['requestUpdate']('aspectRatio',_0x41cf80),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 _0x75f154=!!t['hasFreeform'];this['toggleAttribute']('uc-aspect-ratio-freeform',_0x75f154),(((()=>{let _0x1069c0=_0x75f154?this['l10n']('custom'):t['width']+':'+t['height'];this['title']=_0x1069c0;})()),((()=>{let _0x17826e=this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x75f154?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':t['width']+':'+t['height']})['toLowerCase'](),'value':''});this['titleProp']=_0x17826e;})()),_0x75f154||this['requestUpdate']());}['Md'](){let t=this['X'];if(!t||t['hasFreeform'])return _V`<uc-icon name=${this['icon']}></uc-icon>`;let {width:_0x18a072,height:_0x311462}=(_0x50eeda=>{let _0x3e30bb=0xc,t=0xc;return _0x50eeda['width']/_0x50eeda['height']>=0x1?(_0x3e30bb=0xc,t=Math['round'](0xc*_0x50eeda['height']/_0x50eeda['width'])):(t=0xc,_0x3e30bb=Math['round'](0xc*_0x50eeda['width']/_0x50eeda['height'])),{'width':_0x3e30bb,'height':t};})(t);return _V`<uc-icon><svg viewBox="0 0 ${0x10} ${0x10}" aria-hidden="true" focusable="false" ><rect x=${(0x10-_0x18a072)/0x2} y=${(0x10-_0x311462)/0x2} width=${_0x18a072} height=${_0x311462} rx="2" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" ></rect></svg></uc-icon>`;}['render'](){let t=this['onClick'],_0x18b918=this['title'];return _V`<button role="option" type="button" class=${zG(this['buttonClasses'])} aria-label=${YG(this['titleProp'])} title=${YG(this['titleProp'])} @click=${t} >${this['Md']()}<div class="uc-title" ?hidden=${!_0x18b918}>${_0x18b918}</div></button>`;}};SQ([JV({'attribute':!0x1})],mZ['prototype'],'aspectRatio',0x1);var gZ=class extends dZ{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 _0x4a4e0f=this['$']['*cropperEl'],_0x4c538=_0x4a4e0f['getValue'](this['operation']),_0x48255e=function(_0x53f5eb,_0x23eaf6){if('rotate'===_0x53f5eb)return function(_0x2b3a5a){let _0x28d313=_0x2b3a5a+0x5a;return _0x28d313=_0x28d313>=0x168?0x0:_0x28d313,_0x28d313;}('number'==typeof _0x23eaf6?_0x23eaf6:0x0);if('mirror'===_0x53f5eb||'flip'===_0x53f5eb)return!_0x23eaf6;throw new Error('Unsupported\x20operation:\x20'+_0x53f5eb);}(this['operation'],_0x4c538);this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':this['operation'],'next':_0x48255e,'prev':_0x4c538}),_0x4a4e0f['setValue'](this['operation'],_0x48255e);}};SQ([JV({'type':String})],gZ['prototype'],'operation',0x2);var pZ=class extends dZ{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 _0x2afb8e=t??'';if(this['m']===_0x2afb8e)return;let _0x10e209=this['m'];this['m']=_0x2afb8e,this['n']='filter',this['isOriginal']=_0x2afb8e===lZ,this['icon']=this['isOriginal']?'original':'slider',this['Sl']=this['isOriginal']?0x28:0x14,this['requestUpdate']('filter',_0x10e209),this['isConnected']&&this['Al'](_0x2afb8e);}['onClick'](t){if(this['active'])this['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['n'],this['m']),this['$']['*showSlider']=!0x0);else{let _0x1fc9db=this['$']['*sliderEl'];_0x1fc9db['setOperation'](this['n'],this['m']),_0x1fc9db['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':uZ(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['m'];}['Od'](){let t=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0xaae5ce=Number['isFinite'](t)&&t>0x0?t:this['Sl']||0x20,_0x355c6b=window['devicePixelRatio'],_0x438a06=Math['ceil'](_0x355c6b*_0xaae5ce),_0xb61c58=_0x355c6b>=0x2?'lightest':'normal',_0x52d111={...this['$']['*editorTransformations']};return _0x52d111[this['n']]=this['m']!==lZ?{'name':this['m'],'amount':0x64}:void 0x0,SU(this['wi'],bU(MU,PU(_0x52d111),'quality/'+_0xb61c58,'scale_crop/'+_0x438a06+'x'+_0x438a06+'/center','@clib/'+ZF+'/'+XF+'/uc-cloud-image-editor/'));}async['ai'](t,_0x10f792){t[0x0]?.['isIntersecting']?await this['Ts'](_0x10f792):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',_0xa99c6e=>{this['wi']=_0xa99c6e??'',!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',_0x20ea5e=>{this['active']=!(!_0x20ea5e||_0x20ea5e!==this['m']);}),this['sub']('*networkProblems',async _0x25e303=>{_0x25e303||(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 _0x1ead12=this['l10n']('a11y-cloud-editor-apply-filter',{'name':t['toLowerCase']()});this['titleProp']=_0x1ead12;}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 _0x1b3892=++this['br'],_0x2909d2='';try{_0x2909d2=await this['proxyUrl'](this['Od']());}catch(_0x541223){return this['$']['*networkProblems']=!0x0,void console['error']('Failed\x20to\x20resolve\x20preview\x20URL',{'error':_0x541223});}this['Nt']=!0x1,this['b']?.();let {promise:_0x3c1c7d,cancel:_0x51d5fc}=YH(_0x2909d2);this['b']=()=>{_0x51d5fc(),this['br']===_0x1b3892&&(this['b']=void 0x0);};try{if(await _0x3c1c7d,this['br']!==_0x1b3892||!this['isConnected'])return;this['a']=_0x2909d2,this['Nt']=!0x0,this['wr'](),(t??this['s'])?.['unobserve'](this);}catch(_0x4211da){this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x4211da}),this['et']();}finally{this['br']===_0x1b3892&&(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'](),_0x1b8dac=t['width']>0x0&&t['height']>0x0,_0x1374be=window['innerWidth']||document['documentElement']['clientWidth'],_0x5f010b=window['innerHeight']||document['documentElement']['clientHeight'];_0x1b8dac&&t['bottom']>0x0&&t['right']>0x0&&t['top']<_0x5f010b&&t['left']<_0x1374be?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'],_0x45bb20={'opacity':this['Id']?'1':'0'};this['a']&&(_0x45bb20['backgroundImage']='url('+this['a']+')');let _0x2204d5={'opacity':this['active']||this['isOriginal']?'1':'0'};return _V`<button role="option" type="button" class=${zG(this['buttonClasses'])} aria-label=${YG(this['titleProp'])} title=${YG(this['titleProp'])} @click=${t} ><div class="uc-preview" ?data-loaded=${this['Nt']} style=${aZ(_0x45bb20)}></div><uc-icon class=${zG({'uc-original-icon':this['isOriginal']})} name=${this['icon']} style=${aZ(_0x2204d5)} ></uc-icon></button>`;}};SQ([tU()],pZ['prototype'],'a',0x2),SQ([tU()],pZ['prototype'],'Nt',0x2),SQ([tU()],pZ['prototype'],'isOriginal',0x2),SQ([tU()],pZ['prototype'],'Sl',0x2),SQ([JV({'type':String})],pZ['prototype'],'filter',0x1);var OZ=class extends dZ{constructor(){super(...arguments),this['n']='';}get['operation'](){return this['n'];}set['operation'](t){let _0xdb11a=t??'';if(this['n']===_0xdb11a)return;let _0x29b163=this['n'];this['n']=_0xdb11a,this['requestUpdate']('operation',_0x29b163),this['isConnected']&&_0xdb11a&&this['kl'](_0xdb11a);}['kl'](t){this['icon']=t,(((()=>{let _0x1fab7f=this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](t)['toLowerCase']()});this['titleProp']=_0x1fab7f;})()),((()=>{let _0xf8860e=this['l10n'](t);this['title']=_0xf8860e;})()));}['initCallback'](){super['initCallback'](),this['n']&&this['kl'](this['n']),this['sub']('*editorTransformations',t=>{if(!this['n'])return;let {zero:_0xa24c4f}=HU[this['n']],_0x593c98=t[this['n']],_0x37df93=typeof _0x593c98<'u'&&_0x593c98!==_0xa24c4f;this['active']=_0x37df93;});}['onClick'](t){this['$']['*sliderEl']?.['setOperation'](this['n']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['n'],this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':uZ(this['$']['*operationTooltip'])});}};SQ([JV({'type':String})],OZ['prototype'],'operation',0x1);var wZ=()=>{},bZ=class extends nj{constructor(){super(...arguments),this['hiddenScrollbar']=!0x1,this['Ml']=t=>{t['preventDefault']();let {deltaY:_0x4e866e,deltaX:_0x5c7ffa}=t;Math['abs'](_0x5c7ffa)>0x1?this['scrollLeft']+=_0x5c7ffa:this['scrollLeft']+=_0x4e866e;};}['connectedCallback'](){super['connectedCallback'](),this['addEventListener']('wheel',this['Ml'],{'passive':!0x1}),this['addEventListener']('scroll',wZ,{'passive':!0x0});}['disconnectedCallback'](){this['removeEventListener']('wheel',this['Ml']),this['removeEventListener']('scroll',wZ),super['disconnectedCallback']();}};SQ([JV({'type':Boolean,'noAccessor':!0x0,'attribute':'hidden-scrollbar'})],bZ['prototype'],'hiddenScrollbar',0x2);var yZ=class extends nj{constructor(){super(...arguments),this['Ti']=!0x1,this['showMainToolbar']=!0x0,this['showSubToolbar']=!0x1,this['Ol']=!0x0,this['tabList']=[...VU],this['activeTab']=QU['CROP'],this['Tr']=!0x0,this['Es']=!0x1,this['Il']=null,this['Pl']=0x0,this['Ll']=0x0,this['Er']=QH(),this['Rl']=QH(),this['tabToggleRefs']={[QU['CROP']]:QH(),[QU['TUNING']]:QH(),[QU['FILTERS']]:QH()},this['Ul']=()=>{this['tt']();},this['Ei']=[],this['xr']=eU(t=>{this['Ti']=t;},0x1f4),this['Cr']=eU(()=>{let t=this['$']['*editorTransformations'],_0x277e75=this['$']['*currentOperation'],_0x20a256='',_0x53c89c=!0x1;if(this['$']['*tabId']===QU['FILTERS']){if(_0x53c89c=!0x0,this['$']['*currentFilter']&&t?.['filter']?.['name']===this['$']['*currentFilter']){let _0x45e2c4=t?.['filter']?.['amount']||0x64;_0x20a256=this['$']['*currentFilter']+'\x20'+_0x45e2c4;}else _0x20a256=this['l10n'](lZ);}else{if(this['showSubToolbar']&&this['$']['*tabId']===QU['TUNING']&&_0x277e75){_0x53c89c=!0x0;let _0x342633=t?.[_0x277e75]||HU[_0x277e75]['zero'];_0x20a256=this['l10n'](_0x277e75)+'\x20'+_0x342633;}}_0x53c89c&&(this['$']['*operationTooltip']=_0x20a256),this['Es']=_0x53c89c;},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':lZ,'*currentOperation':null,'*operationTooltip':null},this['Ee']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel'}),this['b']?.();let _0x30f8af=this['$']['*on.cancel'];_0x30f8af?.();},this['As']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply'});let _0x2b1264=this['$']['*on.apply'];_0x2b1264?.(this['$']['*editorTransformations']);},this['jd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply-slider','operation':uZ(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 _0x4e872d=t['currentTarget']?.['getAttribute']('data-id');_0x4e872d&&(this['telemetryManager']['sendEventCloudImageEditor'](t,_0x4e872d),this['xs'](_0x4e872d,{'fromViewer':!0x1}));};}['$l'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===QU['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===QU['TUNING']&&(this['Es']=!0x1);}['xs'](t,{fromViewer:_0x27180e=!0x1,force:_0x4bffb3=!0x1}={}){this['$']['*tabId']!==t&&(this['$']['*tabId']=t),this['Dl'](t,{'fromViewer':_0x27180e,'force':_0x4bffb3});}['Dl'](t,{fromViewer:_0x2de616,force:_0x52069d=!0x1}){if(!_0x52069d&&this['activeTab']===t)return void this['tt']();this['activeTab']=t;let _0x5f2572=this['$']['*faderEl'],_0x1aff6c=this['$']['*cropperEl'];t===QU['CROP']?(_0x5f2572?.['deactivate'](),this['$']['*imageSize']&&_0x1aff6c?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x2de616})):(_0x5f2572?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x2de616}),_0x1aff6c?.['deactivate']());for(let _0x56348a of VU){let _0x3645de=_0x56348a===t,_0x5f3bed=this['tabToggleRefs'][_0x56348a]?.['value'];_0x5f3bed&&(_0x5f3bed['active']=_0x3645de),_0x3645de&&this['tt']();}}['tt'](){let _0x19a87a=this['tabToggleRefs'][this['activeTab']]?.['value'],_0x1d0bc1=this['Rl']['value'];if(!_0x19a87a||!_0x1d0bc1)return;let _0x4d5f55=_0x19a87a['offsetLeft'],_0x55fee4=_0x19a87a['offsetWidth']||Number(getComputedStyle(_0x19a87a)['width']['replace']('px',''));(this['Pl']!==_0x4d5f55||this['Ll']!==_0x55fee4)&&(this['Pl']=_0x4d5f55,this['Ll']=_0x55fee4,_0x1d0bc1['style']['transform']='translateX('+_0x4d5f55+'px)',_0x1d0bc1['style']['width']=_0x55fee4+'px');}get['Cs'](){return this['Ei']['length']>=0x3;}['$d'](t){switch(t){case QU['CROP']:return this['Dd']();case QU['FILTERS']:return this['Fd']();case QU['TUNING']:return this['Nd']();default:return[];}}['Dd'](){let t=[];if(this['Cs'])t['push'](()=>this['Vd']());else{for(let _0x33fb81 of this['Ei'])t['push'](()=>this['Fl'](_0x33fb81));}for(let _0x43ac4b of FU)t['push'](()=>this['_d'](_0x43ac4b));return this['Ss'](t);}['Fd'](){let _0x4ef91f=[lZ,...BU]['map'](_0x167eb4=>()=>this['Bd'](_0x167eb4));return this['Ss'](_0x4ef91f);}['Nd'](){let t=UU['map'](_0x22c64c=>()=>this['zd'](_0x22c64c));return this['Ss'](t);}['Ss'](t){return t['length']?t['map'](_0x1a20ad=>_0x1a20ad()):[];}['Vd'](){return _V`<uc-editor-freeform-button-control></uc-editor-freeform-button-control>`;}['Fl'](t){return _V`<uc-editor-aspect-ratio-button-control .aspectRatio=${t}></uc-editor-aspect-ratio-button-control>`;}['_d'](t){return _V`<uc-editor-crop-button-control .operation=${t}></uc-editor-crop-button-control>`;}['Bd'](t){return _V`<uc-editor-filter-control .filter=${t}></uc-editor-filter-control>`;}['zd'](t){return _V`<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'],_0x9a6879=await this['proxyUrl'](JG(this['$']['*originalUrl'],t,this['$']['*editorTransformations']));this['b']?.();let {cancel:_0x1a96cd}=KH([_0x9a6879]);this['b']=()=>{_0x1a96cd(),this['b']=void 0x0;};}}['initCallback'](){super['initCallback']();let t=this['$']['*cropPresetList']??[];this['Ei']=[...t],this['sub']('*cropPresetList',_0x49175f=>{this['Ei']=[..._0x49175f??[]];}),this['sub']('*imageSize',_0x2a51e5=>{_0x2a51e5&&setTimeout(()=>{this['xs'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x5a9b06=>{let _0x467129=_0x5a9b06?.['filter']?.['name'];this['$']['*currentFilter']!==_0x467129&&(this['$']['*currentFilter']=_0x467129??'');}),this['sub']('*currentFilter',()=>{this['Cr']();}),this['sub']('*currentOperation',()=>{this['Cr']();}),this['sub']('*tabId',_0x1a8caf=>{this['Dl'](_0x1a8caf,{'fromViewer':!0x1,'force':!0x0}),this['Cr']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x2cdeb1=>{this['Kd'](),this['$']['*faderEl']?.['setTransformations'](_0x2cdeb1);}),this['sub']('*loadingOperations',_0x5cf435=>{let _0x4e54b8=!0x1;for(let [,_0xde93e8]of _0x5cf435['entries']()){if(_0x4e54b8)break;for(let [,_0xebb644]of _0xde93e8['entries']())if(_0xebb644){_0x4e54b8=!0x0;break;}}this['xr'](_0x4e54b8);}),this['sub']('*showSlider',_0x32b1d0=>{_0x32b1d0?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x0):this['$']['*showListAspectRatio']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*showListAspectRatio',_0x1ada0a=>{_0x1ada0a?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x1):this['$']['*showSlider']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*tabList',_0x4d4573=>{if(this['tabList']=_0x4d4573,this['Ol']=_0x4d4573['length']>0x1,!_0x4d4573['includes'](this['$']['*tabId'])&&_0x4d4573['length']>0x0){let [_0x581280]=_0x4d4573;return void(_0x581280&&this['xs'](_0x581280,{'fromViewer':!0x1}));}this['tt']();}),this['sub']('*operationTooltip',_0x2450b8=>{this['Il']=_0x2450b8;}),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 _0x30921e=this['tabList']['includes'](t),_0x58b39e=this['activeTab']===t,_0x5715c8=this['tabList']['indexOf'](t),_0x1f5876=_0x5715c8>=0x0?aZ({'gridColumn':''+(_0x5715c8+0x1)}):TV;return _V`<uc-presence-toggle class="uc-tab-toggle" .visible=${_0x30921e} .styles=${this['Rd']}><uc-btn-ui theme="tab" data-id=${t} icon=${t} role="tab" aria-controls=${'tab_'+t} aria-selected=${_0x58b39e?'true':'false'} title-prop=${'a11y-editor-tab-'+t} .active=${_0x58b39e} style=${_0x1f5876} @click=${this['qd']} ${BH(this['tabToggleRefs'][t])} ></uc-btn-ui></uc-presence-toggle>`;}['Zd'](t){let _0x7da60b=this['$d'](t);return _V`<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">${_0x7da60b['length']?_0x7da60b:TV}</div></div></uc-editor-scroller></div>`;}['render'](){let t=['uc-info-tooltip',this['Es']?'uc-info-tooltip_visible':'uc-info-tooltip_hidden']['join']('\x20'),_0x3b5593=this['Cs'];return _V`<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">${VU['map'](_0x5d87cc=>FG(this['activeTab']===_0x5d87cc,()=>this['Zd'](_0x5d87cc)))}</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" ${BH(this['Rl'])} ></div>${VU['map'](_0x1ac993=>this['Wd'](_0x1ac993))}</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 ${BH(this['Er'])}></uc-editor-slider></div><div class="uc-list-aspect-ratio-container" ?hidden=${this['Tr']||!_0x3b5593}>${_0x3b5593?_V`<div class="uc-list-aspect-ratio">${this['Hd']()}</div>`:TV}</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>`;}};SQ([tU()],yZ['prototype'],'Ti',0x2),SQ([tU()],yZ['prototype'],'showMainToolbar',0x2),SQ([tU()],yZ['prototype'],'showSubToolbar',0x2),SQ([tU()],yZ['prototype'],'Ol',0x2),SQ([tU()],yZ['prototype'],'tabList',0x2),SQ([tU()],yZ['prototype'],'activeTab',0x2),SQ([tU()],yZ['prototype'],'Tr',0x2),SQ([tU()],yZ['prototype'],'Es',0x2),SQ([tU()],yZ['prototype'],'Il',0x2),SQ([tU()],yZ['prototype'],'Ei',0x2);var vZ=pU([...VU]),_Z=class extends nj{constructor(){super(...arguments),this['ctxOwner']=!0x0,this['Yd']='',this['Je']=zH,this['Xd']='',this['Ti']=!0x1,this['uuid']=null,this['cdnUrl']=null,this['cropPreset']='',this['tabs']=vZ,this['Nl']=!0x1,this['ke']=!0x1,this['ks']=null,this['xi']=null,this['xr']=eU(t=>{this['Ti']=t;},0x12c),this['Ar']=QH(),this['Vl']=QH(),this['_l']=QH(),this['Bl']=QH(),this['zl']=()=>{this['xr'](!0x1),this['Je']!==zH&&(this['$']['*networkProblems']=!0x1);},this['Hl']=()=>{this['xr'](!0x1),this['$']['*networkProblems']=!0x0;},this['Qd']=()=>{let t=this['$']['*on.retryNetwork'];t?.();},this['init$']={...this['init$'],...ZG(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 _0x1bf4bc=this['Vl']['value'];_0x1bf4bc&&(this['$']['*cropperEl']=_0x1bf4bc);let _0x17529f=this['Bl']['value'];_0x17529f&&(this['$']['*imgContainerEl']=_0x17529f);let _0x12a802=this['Ar']['value'];_0x12a802&&(this['$']['*imgEl']=_0x12a802);}['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 HG('uc-image',{'uc-image_hidden_to_cropper':t===QU['CROP'],'uc-image_hidden_effects':t!==QU['CROP']});}['Gl'](){if(this['xi'])return this['xi'];return this['xi']=new Promise((_0x2c95b4,_0x13f7e0)=>{let _0x3d6c36=()=>{window['clearTimeout'](_0x1bda82),_0x33b2aa['disconnect'](),this['xi']=null;},_0x49325d=()=>{_0x3d6c36(),window['setTimeout'](()=>_0x2c95b4(),0x0);},_0x30dffc=()=>{let _0x4163d0=new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size');_0x3d6c36(),this['isConnected']&&console['error'](_0x4163d0['message']),_0x13f7e0(_0x4163d0);},_0x33b2aa=new ResizeObserver(_0x180577=>{let [_0x3398f0]=_0x180577;_0x3398f0&&_0x3398f0['contentRect']['width']>0x0&&_0x3398f0['contentRect']['height']>0x0&&_0x49325d();}),_0x1bda82=window['setTimeout'](()=>{_0x30dffc();},0xbb8);((()=>{let {width:_0xcba270,height:_0x39d927}=this['getBoundingClientRect']();return _0xcba270>0x0&&_0x39d927>0x0;})())?_0x49325d():_0x33b2aa['observe'](this);}),this['xi'];}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['ep'](),this['initEditor']();let _0xd087a1=!(!this['uuid']&&!this['cdnUrl']),_0x1d3065=t['has']('uuid')||t['has']('cdnUrl');_0xd087a1&&!_0x1d3065&&this['updateImage']();}['disconnectedCallback'](){this['tp'](),super['disconnectedCallback']();}['render'](){let t=this['Xd']??'',_0x2f975b=this['Yd']??'',_0x160ce6=this['Je']||zH,_0x324c03=this['Ti'],_0x198fe1=this['Nl'];return _V` ${uj('<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=${_0x198fe1}><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" ${BH(this['Bl'])}><img src=${_0x160ce6} class=${this['ip']} ${BH(this['Ar'])} />${FG(this['ke'],()=>_V`<uc-editor-image-cropper ${BH(this['Vl'])}></uc-editor-image-cropper>`)}<uc-editor-image-fader ${BH(this['_l'])}></uc-editor-image-fader></div><div class="uc-info_pan">${_0x2f975b}</div></div><div class="uc-toolbar"><uc-line-loader-ui .active=${_0x324c03}></uc-line-loader-ui><div class="uc-toolbar_content uc-toolbar_content__editor">${FG(this['ke'],()=>_V`<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']||vZ;this['$']['*tabList']=(_0x5ca94a=>{if(!_0x5ca94a)return VU;let _0x4c25bd=gU(_0x5ca94a)['filter'](GG);return 0x0===_0x4c25bd['length']?VU:_0x4c25bd;})(t);}['jl'](){let t=lH(this['cropPreset']??''),_0x4e3452=null;if(this['cdnUrl']){let _0x562ad8=DU(EU(this['cdnUrl']));if(Array['isArray'](_0x562ad8?.['crop']?.['dimensions'])){let [_0x4daf96,_0xa8ddc5]=_0x562ad8['crop']['dimensions'];_0x4e3452=((_0x24e676,_0x1db56f,t,_0x2385a6=0.1)=>{let _0x31e8dc=_0x24e676/_0x1db56f,_0x45d828=null,_0x6a5111=0x1/0x0;for(let _0x4d8c19 of t){let [_0x498528,_0x3570ed]=[_0x4d8c19['width'],_0x4d8c19['height']],_0x4a3e7b=_0x498528/_0x3570ed,_0x3db24e=Math['abs'](_0x31e8dc-_0x4a3e7b);_0x3db24e<_0x6a5111&&(_0x6a5111=_0x3db24e,_0x45d828=_0x4d8c19);}if(_0x45d828){let [_0x5af4a0,_0x4a7fcd]=[_0x45d828['width'],_0x45d828['height']],_0x20e4ef=_0x5af4a0/_0x4a7fcd;if(Math['abs'](_0x31e8dc-_0x20e4ef)/_0x20e4ef>_0x2385a6)return null;}return _0x45d828;})(_0x4daf96,_0xa8ddc5,t,0.1);}}this['$']['*cropPresetList']=t,this['$']['*currentAspectRatio']=_0x4e3452??t?.[0x0]??null;}async['updateImage'](){if(this['isConnected']){try{await this['Gl']();}catch{return;}if(this['isConnected']){if(this['cdnUrl']){let t=this['cdnUrl'],_0x30e57e=vU(t),_0x53fe04=CU(t,_0x30e57e);if(_0x53fe04===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x53fe04;let _0x4c44c6=DU(EU(t));this['$']['*editorTransformations']=_0x4c44c6;}else{if(!this['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{let t=CU(this['cfg']['cdnCname'],this['uuid']);if(t===this['$']['*originalUrl'])return;this['$']['*originalUrl']=t,Object['keys'](this['$']['*editorTransformations'])['length']>0x0&&(this['$']['*editorTransformations']={});}}this['$']['*tabId']===QU['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{let t=this['$']['*originalUrl'],_0x469d33=await this['proxyUrl'](SU(t,bU('json'))),_0x5ca0d3=await fetch(_0x469d33)['then'](_0x112d88=>_0x112d88['json']()),{width:_0x90f227,height:_0x459459}=_0x5ca0d3;this['$']['*imageSize']={'width':_0x90f227,'height':_0x459459},this['$']['*tabId']===QU['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':t});}catch(_0x2293ee){_0x2293ee&&(this['telemetryManager']['sendEventError'](_0x2293ee,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x2293ee));}this['Jd']();}}}async['initEditor'](){try{await this['Gl']();}catch{return;}this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',t=>{let _0x16d593=!!t;this['Nl']=_0x16d593;}),this['sub']('*editorTransformations',t=>{if(0x0===Object['keys'](t)['length'])return;let _0x23c9ef=this['$']['*originalUrl'],_0x51fb8d=bU(PU(t),'preview'),_0x56c369={'originalUrl':_0x23c9ef,'cdnUrlModifiers':_0x51fb8d,'cdnUrl':SU(_0x23c9ef,_0x51fb8d),'transformations':t};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x56c369,'bubbles':!0x0,'composed':!0x0}));},!0x1);}};SQ([tU()],_Z['prototype'],'Yd',0x2),SQ([tU()],_Z['prototype'],'Je',0x2),SQ([tU()],_Z['prototype'],'Xd',0x2),SQ([tU()],_Z['prototype'],'Ti',0x2),SQ([JV({'type':String,'reflect':!0x0})],_Z['prototype'],'uuid',0x2),SQ([JV({'type':String,'attribute':'cdn-url','reflect':!0x0})],_Z['prototype'],'cdnUrl',0x2),SQ([JV({'type':String,'attribute':'crop-preset','reflect':!0x0})],_Z['prototype'],'cropPreset',0x2),SQ([JV({'type':String,'reflect':!0x0})],_Z['prototype'],'tabs',0x2),SQ([tU()],_Z['prototype'],'Nl',0x2),SQ([tU()],_Z['prototype'],'ke',0x2);var EZ={};IQ(EZ,{'CloudImageEditorActivity':()=>AZ});var TZ=class extends _Z{static{this['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];}constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':jF['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},AZ=class extends gH{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 _0x55cde8=t['detail'];this['Ci']['setMultipleValues']({'cdnUrl':_0x55cde8['cdnUrl'],'cdnUrlModifiers':_0x55cde8['cdnUrlModifiers']}),this['modalManager']?.['close'](mH['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['Ee'](t){let _0x1448d6=t instanceof CustomEvent?t['detail']:void 0x0;this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x1448d6),this['modalManager']?.['close'](mH['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleChange'](t){this['debugPrint']('editor\x20event\x20\x22change\x22',t['detail']);}['rp'](){let {internalId:t}=this['activityParams'],_0x376f76=this['uploadCollection']['read'](t);if(!_0x376f76)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20not\x20found');this['Ci']=_0x376f76;let _0x49615f=this['Ci']['getValue']('cdnUrl');if(!_0x49615f)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20hasn\x27t\x20uploaded\x20yet');this['Q']=this['sp'](_0x49615f);}['op'](){this['Ci']=void 0x0,this['Q']=null;}['render'](){if(!this['Q'])return TV;let {cdnUrl:t,cropPreset:_0x49e98f,tabs:_0xe5de57}=this['Q'];return _V`<uc-cloud-image-editor cdn-url=${t} crop-preset=${YG(_0x49e98f)} tabs=${YG(_0xe5de57)} @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']};}};SQ([tU()],AZ['prototype'],'Q',0x2);var IZ=class extends gH{constructor(){super(...arguments),this['Dt']='',this['bs']=t=>{this['Dt']=t['target']?.['value']??'';},this['Ho']=t=>{t['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':jF['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});let _0x8383a0=this['Dt']['trim']();_0x8383a0&&(this['api']['addFileFromUrl'](_0x8383a0,{'source':Bj['URL']}),this['$']['*currentActivity']=mH['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](mH['activities']['UPLOAD_LIST']));};}['render'](){return _V`<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>`;}};SQ([tU()],IZ['prototype'],'Dt',0x2);var SZ=()=>{let _0xf1e8b1=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0xf1e8b1['location']['origin'];}catch(_0x2e4a45){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x2e4a45),globalThis['location']['origin'];}},CZ=_0x461ccc=>_0x461ccc['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),kZ=(_0xd9044,_0x1bef1d='i')=>{let t=_0xd9044['split']('*')['map'](CZ);return new RegExp('^'+t['join']('.+')+'$',_0x1bef1d);},xZ=['--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'],RZ=(_0x395c74,_0x43e74f)=>window['getComputedStyle'](_0x395c74)['getPropertyValue'](_0x43e74f)['trim'](),PZ=_0x2934e2=>{let _0x46f5c9={};for(let t of xZ){let _0x89ae76=RZ(_0x2934e2,t);_0x89ae76&&(_0x46f5c9[t]=_0x89ae76);}return _0x46f5c9;},MZ=['selected-files-change','toolbar-state-change'],NZ=class{constructor(_0x5e459d,t){this['kr']=new Map(),this['Wl']=_0xba10f=>{if(_0xba10f['source']!==this['Ms'])return;let t=_0xba10f['data'];if(!(_0x4a934b=>{if(!_0x4a934b||'object'!=typeof _0x4a934b||!('type'in _0x4a934b))return!0x1;let _0x24b0c3=_0x4a934b['type'];return!('string'!=typeof _0x24b0c3||!MZ['includes'](_0x24b0c3));})(t))return;let _0x6e6bbc=this['kr']['get'](t['type']);if(_0x6e6bbc){for(let _0xde07df of _0x6e6bbc)_0xde07df(t);}},this['Ms']=_0x5e459d,this['ql']=t,window['addEventListener']('message',this['Wl']);}['on'](_0x50a6bc,t){let _0x42a42d=this['kr']['get'](_0x50a6bc)??new Set();this['kr']['has'](_0x50a6bc)||this['kr']['set'](_0x50a6bc,_0x42a42d),_0x42a42d['add'](t);}['send'](_0x4cbff2){let t=this['ql']();this['Ms']['postMessage'](_0x4cbff2,t);}['destroy'](){window['removeEventListener']('message',this['Wl']);}},LZ={[Vj['GDRIVE']]:'ngdrive'},$Z=class extends gH{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Vt']=QH(),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 _0x49da5e=this['ap'](t),{filename:_0xac4b52}=t,{externalSourceType:_0xf4bbf3}=this['activityParams'];this['api']['addFileFromUrl'](_0x49da5e,{'fileName':_0xac4b52,'source':_0xf4bbf3});}this['$']['*currentActivity']=mH['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](mH['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:_0x50bfe4}=this['Mr'];return this['l10n']('selected-count',{'count':t,'total':_0x50bfe4});}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',_0x361299=>{this['Or']=_0x361299;}),this['subConfigValue']('localeName',()=>{this['Ql']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x38d443=>{this['Jl'](_0x38d443);});}['ap'](t){if(t['alternatives']){let _0x419440=kU(this['cfg']['externalSourcesPreferredTypes']);for(let _0x27d8d4 of _0x419440){let _0x3365b9=kZ(_0x27d8d4);for(let [_0x5f2172,_0x56342d]of Object['entries'](t['alternatives']))if(_0x3365b9['test'](_0x5f2172))return _0x56342d;}}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':PZ(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:_0x5a526e,socialBaseUrl:_0x359042,multiple:_0x456138}=this['cfg'],{externalSourceType:_0x2ef6d9}=this['activityParams'],_0x121564=LZ[_0x2ef6d9]??_0x2ef6d9,_0x1a4932={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':t,'images_only':'false','session_key':_0x5a526e,'wait_for_theme':!0x0,'multiple':_0x456138['toString'](),'origin':this['cfg']['topLevelOrigin']||SZ(),'debug':this['cfg']['debug']},_0x54c1b4=new URL('/window4/'+_0x121564,_0x359042);return _0x54c1b4['search']=function(_0x2312ad){let _0x4804f9=[];for(let [t,_0x264c9e]of Object['entries'](_0x2312ad))null==_0x264c9e||'string'==typeof _0x264c9e&&0x0===_0x264c9e['length']||_0x4804f9['push'](t+'='+encodeURIComponent(_0x264c9e));return _0x4804f9['join']('&');}(_0x1a4932),_0x54c1b4['toString']();}['up'](t,_0x21579f){this['Mr']={'selectedCount':t,'total':_0x21579f};}['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 NZ(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 _V`<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 ${BH(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>`;}};SQ([tU()],$Z['prototype'],'Os',0x2),SQ([tU()],$Z['prototype'],'Is',0x2),SQ([tU()],$Z['prototype'],'Ps',0x2),SQ([tU()],$Z['prototype'],'Ls',0x2),SQ([tU()],$Z['prototype'],'Rs',0x2),SQ([tU()],$Z['prototype'],'Or',0x2),SQ([tU()],$Z['prototype'],'Us',0x2),SQ([tU()],$Z['prototype'],'$s',0x2),SQ([tU()],$Z['prototype'],'Zl',0x2);var DZ={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},QZ=['camera','microphone'];function VZ(_0x3a70b5){return Math['floor'](_0x3a70b5/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x3a70b5%0x3c)['toString']()['padStart'](0x2,'0');}var UZ='image/jpeg',BZ='video/webm',FZ=class extends gH{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']=QH(),this['Xe']=QH(),this['K']=QH(),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':jF['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['g']}}}),this['g']===Nj['PHOTO']&&this['bp'](),this['g']===Nj['VIDEO']){if('recording'===this['me']?.['state'])return void this['pc']();this['wp']();}},this['Tp']=t=>{let _0x31517f=t['target'];_0x31517f&&(this['Lr']=_0x31517f['value'],this['jt']());},this['Ep']=t=>{let _0x2fc63d=t['target'];_0x2fc63d&&(this['Pr']=_0x2fc63d['value'],this['jt']());},this['xp']=()=>{this['jt']();},this['Cp']=()=>{this['telemetryManager']['sendEvent']({'eventType':jF['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':jF['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['g']}}}),this['Ip']();},this['Pp']=()=>{this['telemetryManager']['sendEvent']({'eventType':jF['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['g']}}}),this['Lp']();},this['hc']=t=>{let _0x4ac793=t['currentTarget']?.['getAttribute']('data-id');_0x4ac793&&this['fc'](_0x4ac793);},this['mc']=()=>{let t=Math['floor']((performance['now']()-this['sc']+this['nc'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){let _0x32c3f1=this['cfg']['maxVideoRecordingDuration']-t;if(_0x32c3f1<=0x0){let _0x12dff6=this['Mi']['value'];return _0x12dff6&&(_0x12dff6['textContent']=VZ(_0x32c3f1)),void this['pc']();}let _0x190943=this['Mi']['value'];_0x190943&&(_0x190943['textContent']=VZ(_0x32c3f1));}else{let _0x5ed449=this['Mi']['value'];_0x5ed449&&(_0x5ed449['textContent']=VZ(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 _0xbe9fdb=t['currentTime'],_0xbccf19=t['duration']||0x1,_0x4b39d6=this['Xe']['value'];_0x4b39d6&&(_0x4b39d6['style']['transform']='scaleX('+_0xbe9fdb/_0xbccf19+')');let _0x3e1bda=this['Mi']['value'];_0x3e1bda&&(_0x3e1bda['textContent']=VZ(_0xbe9fdb)),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'](BZ)?this['Ai']['mimeType']=BZ:this['Ai']['mimeType']='video/mp4',this['ge']&&(this['me']=new MediaRecorder(this['ge'],this['Ai']),this['me']['start'](),this['me']['addEventListener']('dataavailable',_0x57e968=>{this['Si']['push'](_0x57e968['data']);}),this['Rp'](),this['classList']['add']('uc-recording'),this['Oi'](Lj['PLAY']));}catch(_0x5e5944){console['error']('Failed\x20to\x20start\x20recording',_0x5e5944),this['telemetryManager']['sendEventError'](_0x5e5944,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}},this['pc']=()=>{this['me']?.['addEventListener']('stop',()=>{this['Up'](),this['gc'](),this['Oi'](Lj['STOP']);}),this['me']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':jF['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']}),_0x1f5d90=URL['createObjectURL'](t),_0x21f0ff=this['K']['value'];if(!_0x21f0ff)return;_0x21f0ff['muted']=!0x1,_0x21f0ff['volume']=0x1,this['Ii'](null),_0x21f0ff['src']=_0x1f5d90,this['$p'](_0x21f0ff);}catch(_0x2a2a6b){console['error']('Failed\x20to\x20preview\x20video',_0x2a2a6b),this['telemetryManager']['sendEventError'](_0x2a2a6b,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}},this['Ip']=()=>{if(this['Oi'](Lj['RETAKE']),this['g']===Nj['VIDEO']){this['Ii'](this['ge']);let t=this['K']['value'];t&&(t['muted']=!0x0);}this['K']['value']?.['play']?.();},this['Lp']=()=>{if(this['Oi'](Lj['ACCEPT']),this['g']===Nj['PHOTO'])return void this['fe']?.['toBlob'](_0x19f9f9=>{if(!_0x19f9f9)return;let _0x3574b5=this['vc']('camera','jpeg',UZ,_0x19f9f9);this['yc'](_0x3574b5);},UZ);let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x3331de=this['Dp'](this['me']?.['mimeType']),_0x4e31b0=this['vc']('video',_0x3331de,'video/'+_0x3331de,t);this['yc'](_0x4e31b0),this['Si']=[];},this['Fp']=t=>{t===Lj['SHOT']&&(this['gt']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Ht']=!0x1,this['ot']=!0x0),(t===Lj['RETAKE']||t===Lj['ACCEPT'])&&(this['gt']=!this['Se']['includes'](Nj['VIDEO']),this['Ce']=!this['Se']['includes'](Nj['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['ot']=this['_t']['length']<=0x1);},this['Np']=t=>{t===Lj['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===Lj['STOP']&&(this['zt']=!0x1,this['at']=!0x0,this['mt']=!0x0,this['Ht']=!0x1),(t===Lj['RETAKE']||t===Lj['ACCEPT'])&&(this['zt']=!0x0,this['gt']=!this['Se']['includes'](Nj['VIDEO']),this['Ce']=!this['Se']['includes'](Nj['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']===Nj['PHOTO']&&('shot'===t||'retake'===t||'accept'===t)&&this['Fp'](t),this['g']===Nj['VIDEO']&&('play'===t||'stop'===t||'retake'===t||'accept'===t||'pause'===t||'resume'===t)&&this['Np'](t);},this['fc']=t=>{t===Nj['PHOTO']&&(this['Kt']='camera-full',this['pt']=!0x0,this['mt']=!0x0),t===Nj['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':jF['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':t}}}),this['g']=t;},this['vc']=(t,_0x436472,_0x307e1b,_0x5d7adf)=>{let _0x2c33b4=Date['now']();return new File([_0x5d7adf],t+'-'+_0x2c33b4+'.'+_0x436472,{'lastModified':_0x2c33b4,'type':_0x307e1b});},this['yc']=t=>{this['api']['addFileFromObject'](t,{'source':Bj['CAMERA']}),this['set$']({'*currentActivity':mH['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](mH['activities']['UPLOAD_LIST']);},this['Pi']=eU(t=>{this['classList']['toggle']('uc-initialized','granted'===t);let _0x4cb91a=this['g']===Nj['VIDEO']&&this['cfg']['enableAudioRecording'],_0x25ce0d=this['g']===Nj['PHOTO']?'camera-full':'video-camera-full';'granted'===t?(this['$r']=!0x1,this['at']=!0x1,this['Ce']=!this['Se']['includes'](Nj['PHOTO']),this['gt']=!this['Se']['includes'](Nj['VIDEO']),this['Dr']=!0x0,this['zt']=!0x0,this['Kt']=_0x25ce0d,this['mt']=!_0x4cb91a,this['pt']=!_0x4cb91a):'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'](Nj['PHOTO']),this['gt']=!this['Se']['includes'](Nj['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'](),_0x32a5ad=this['ge']?.['getVideoTracks']();return t['forEach'](_0x23cafe=>{_0x23cafe['stop']();}),_0x32a5ad['forEach'](_0x393416=>{_0x393416['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':{...DZ},'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(_0x899880){this['Pi']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x899880),this['telemetryManager']['sendEventError'](_0x899880,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}},this['bc']=()=>{this['jt']();},this['_p']=async()=>{try{this['Nr']();for(let t of QZ){let _0x484ac7=await navigator['permissions']['query']({'name':t});this['mp'][t]=_0x484ac7,_0x484ac7['addEventListener']('change',this['bc']),this['Rr']['push'](()=>{_0x484ac7['removeEventListener']('change',this['bc']);});}this['Ir']=()=>{this['Nr']();};}catch(_0x55ddea){this['Nr'](),console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x55ddea),this['telemetryManager']['sendEventError'](_0x55ddea,'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(_0x1dcbb5){this['telemetryManager']['sendEventError'](_0x1dcbb5,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x1dcbb5);}},this['zs']=async()=>{try{let t=await navigator['mediaDevices']['enumerateDevices']();this['_t']=t['filter'](_0x49ab4e=>'videoinput'===_0x49ab4e['kind'])['map']((_0x168df9,_0x30c52e)=>({'text':_0x168df9['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x30c52e+0x1),'value':_0x168df9['deviceId']})),this['Bt']=this['cfg']['enableAudioRecording']?t['filter'](_0x464601=>'audioinput'===_0x464601['kind'])['map'](_0x1dcb94=>({'text':_0x1dcb94['label']['trim'](),'value':_0x1dcb94['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(_0x8681ad){this['telemetryManager']['sendEventError'](_0x8681ad,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x8681ad);}},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'](Nj['VIDEO']),this['Ce']=!t['includes'](Nj['PHOTO']);let _0x1a21c0=t[0x0];_0x1a21c0&&(!this['g']||!t['includes'](this['g']))&&this['fc'](_0x1a21c0);};}['$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 _0xd37cd4=this['Ur']??null;t['srcObject']!==_0xd37cd4&&(t['srcObject']=_0xd37cd4);}['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 _0x29dc53={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===t)return'webm';if(t){let _0x482e41=t['split']('/');if('video'===_0x482e41?.[0x0]){let _0xbfc8be=_0x482e41['slice'](0x1)['join']('/')?.['split'](';')[0x0];if(_0xbfc8be&&_0x29dc53[_0xbfc8be])return _0x29dc53[_0xbfc8be];}}return'avi';}get['Se'](){return kU(this['cfg']['cameraModes'])['filter'](t=>t===Nj['PHOTO']||t===Nj['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 _0x177def=gU(t);this['wc'](_0x177def['filter'](_0x4398c7=>_0x4398c7===Nj['PHOTO']||_0x4398c7===Nj['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 _V`<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=${aZ({'transform':this['ac']})} ?hidden=${this['$r']} ${BH(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=${zG({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===Nj['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=${zG({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===Nj['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 ${BH(this['Mi'])}> 00:00 </span><span ${BH(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>`;}};SQ([tU()],FZ['prototype'],'ac',0x2),SQ([tU()],FZ['prototype'],'$r',0x2),SQ([tU()],FZ['prototype'],'Dr',0x2),SQ([tU()],FZ['prototype'],'vp',0x2),SQ([tU()],FZ['prototype'],'cc',0x2),SQ([tU()],FZ['prototype'],'ot',0x2),SQ([tU()],FZ['prototype'],'Fs',0x2),SQ([tU()],FZ['prototype'],'zt',0x2),SQ([tU()],FZ['prototype'],'at',0x2),SQ([tU()],FZ['prototype'],'Ht',0x2),SQ([tU()],FZ['prototype'],'uc',0x2),SQ([tU()],FZ['prototype'],'pt',0x2),SQ([tU()],FZ['prototype'],'Ns',0x2),SQ([tU()],FZ['prototype'],'mt',0x2),SQ([tU()],FZ['prototype'],'Ce',0x2),SQ([tU()],FZ['prototype'],'gt',0x2),SQ([tU()],FZ['prototype'],'Kt',0x2),SQ([tU()],FZ['prototype'],'ki',0x2),SQ([tU()],FZ['prototype'],'dc',0x2),SQ([tU()],FZ['prototype'],'Fr',0x2);var jZ={'id':'camera','setup':async({pluginApi:_0x3b1a6e,uploaderApi:_0x563831})=>{aU({'CameraSource':FZ}),_0x3b1a6e['registry']['registerSource']({'id':'camera','label':'src-type-camera','icon':'camera','expand':()=>{if(!CF['htmlMediaCapture'])return['camera'];let t=gU(_0x3b1a6e['config']['get']('cameraModes'));return t['length']?t['map'](_0x91a960=>'mobile-'+_0x91a960+'-camera'):['mobile-photo-camera'];},'onSelect':()=>{_0x563831['setCurrentActivity'](fF['CAMERA']),_0x563831['setModalState'](!0x0);}}),_0x3b1a6e['registry']['registerSource']({'id':'mobile-photo-camera','label':'src-type-mobile-photo-camera','icon':'camera','onSelect':()=>{_0x563831['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'photo'});}}),_0x3b1a6e['registry']['registerSource']({'id':'mobile-video-camera','label':'src-type-mobile-video-camera','icon':'camera','onSelect':()=>{_0x563831['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'video'});}}),_0x3b1a6e['registry']['registerActivity']({'id':fF['CAMERA'],'render':t=>{let _0x3aeddd=document['createElement']('uc-camera-source');return t['append'](_0x3aeddd),()=>{t['replaceChildren']();};}});}},HZ={};IQ(HZ,{'BtnUi':()=>KG,'CloudImageEditor':()=>TZ,'CloudImageEditorBlock':()=>_Z,'Config':()=>QG,'CropFrame':()=>tZ,'EditorAspectRatioButtonControl':()=>mZ,'EditorCropButtonControl':()=>gZ,'EditorFilterControl':()=>pZ,'EditorFreeformButtonControl':()=>fZ,'EditorImageCropper':()=>eZ,'EditorImageFader':()=>nZ,'EditorOperationControl':()=>OZ,'EditorScroller':()=>bZ,'EditorSlider':()=>hZ,'EditorToolbar':()=>yZ,'Icon':()=>pH,'LineLoaderUi':()=>WG,'PresenceToggle':()=>qG,'SliderUi':()=>cZ,'defineComponents':()=>aU});var GZ,ZZ={'id':'cloud-image-editor','setup':async({pluginApi:_0x1da128,uploaderApi:_0x52ba0c})=>(aU({...HZ,...EZ}),_0x1da128['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>'}),_0x1da128['registry']['registerFileAction']({'id':'edit-file','icon':'edit-file','label':'file-item-edit-button','shouldRender':_0x1a8f20=>!(!_0x1a8f20['isImage']||!_0x1a8f20['cdnUrl']),'onClick':_0x1a75c2=>{_0x52ba0c['setCurrentActivity']?.(fF['CLOUD_IMG_EDIT'],{'internalId':_0x1a75c2['internalId']}),_0x52ba0c['setModalState']?.(!0x0);}}),_0x1da128['registry']['registerActivity']({'id':fF['CLOUD_IMG_EDIT'],'render':_0x43dd81=>{let _0x3e4062=document['createElement']('uc-cloud-image-editor-activity');return _0x43dd81['append'](_0x3e4062),()=>{_0x43dd81['replaceChildren']();};}}),_0x52ba0c['on'](HF['FILE_UPLOAD_SUCCESS'],_0x4ba2e9=>{if(!_0x4ba2e9['isImage'])return;let _0x2512c6=_0x1da128['config']['get']('cropPreset'),_0x57ec42=_0x1da128['config']['get']('useCloudImageEditor'),_0x244ad4=_0x1da128['config']['get']('cloudImageEditorAutoOpen'),_0x4ad91d=_0x52ba0c['v']['size'];_0x57ec42&&0x1===_0x4ad91d&&(_0x2512c6||_0x244ad4)&&(_0x52ba0c['setCurrentActivity']?.(fF['CLOUD_IMG_EDIT'],{'internalId':_0x4ba2e9['internalId']}),_0x52ba0c['setModalState']?.(!0x0));}))},XZ={'id':'external-sources','setup':async({pluginApi:_0x477dea,uploaderApi:_0x15eb46})=>{aU({'ExternalSource':$Z}),_0x477dea['registry']['registerActivity']({'id':fF['EXTERNAL'],'render':t=>{let _0x23a906=document['createElement']('uc-external-source');return t['append'](_0x23a906),()=>{t['replaceChildren']();};}});for(let t of Object['values'](Vj))_0x477dea['registry']['registerSource']({'id':t,'label':'src-type-'+t,'icon':t,'onSelect':()=>{_0x15eb46['setCurrentActivity'](fF['EXTERNAL'],{'externalSourceType':t}),_0x15eb46['setModalState'](!0x0);}});}},qZ=()=>{let _0x29c2b9=[];return{'stack':_0x29c2b9,'promiseReadJpegChunks':t=>new Promise((_0x282383,_0x175b55)=>{let _0x158d4a=0x2,_0x554da1=(_0x508012,_0x415187)=>{let _0x29fcd0=new FileReader();_0x29fcd0['addEventListener']('load',()=>{_0x415187(new DataView(_0x29fcd0['result']));}),_0x29fcd0['addEventListener']('error',_0x3a5a00=>{_0x175b55('Reader\x20error:\x20'+_0x3a5a00);}),_0x29fcd0['readAsArrayBuffer'](_0x508012);},_0x53bcd8=()=>_0x554da1(t['slice'](_0x158d4a,_0x158d4a+0x80),_0x19a13c=>{let _0x2e6d27,_0x2a4145,_0xbb4387;for(_0x2e6d27=_0x2a4145=0x0,_0xbb4387=_0x19a13c['byteLength'];_0xbb4387>=0x0?_0x2a4145<_0xbb4387:_0x2a4145>_0xbb4387;_0x2e6d27=_0xbb4387>=0x0?++_0x2a4145:--_0x2a4145)if(0xff===_0x19a13c['getUint8'](_0x2e6d27)){_0x158d4a+=_0x2e6d27;break;}_0x5cb376();}),_0x5cb376=()=>{let _0x297ad9=_0x158d4a;return _0x554da1(t['slice'](_0x158d4a,_0x158d4a+=0x4),_0x52edcb=>{if(0x4!==_0x52edcb['byteLength']||0xff!==_0x52edcb['getUint8'](0x0))return void _0x175b55('Corrupted');let _0x325327=_0x52edcb['getUint8'](0x1);if(0xda===_0x325327)return void _0x282383(!0x0);let _0xcd5e70=_0x52edcb['getUint16'](0x2)-0x2;return _0x554da1(t['slice'](_0x158d4a,_0x158d4a+=_0xcd5e70),_0x34c86e=>{_0x34c86e['byteLength']===_0xcd5e70?(_0x29c2b9['push']({'startPos':_0x297ad9,'length':_0xcd5e70,'marker':_0x325327,'view':_0x34c86e}),_0x53bcd8()):_0x175b55('Corrupted');});});};FileReader&&DataView||_0x175b55('Not\x20Support'),_0x554da1(t['slice'](0x0,0x2),_0x4f2494=>{0xffd8!==_0x4f2494['getUint16'](0x0)&&_0x175b55('Not\x20jpeg'),_0x53bcd8();});})};},WZ=async _0x287e68=>{let _0x2b6dbf=[],{promiseReadJpegChunks:t,stack:_0x580527}=qZ();return await t(_0x287e68),_0x580527['forEach'](({marker:_0x250d51,view:_0x1e2a96})=>{0xe2===_0x250d51&&0x4943435f===_0x1e2a96['getUint32'](0x0)&&0x50524f46===_0x1e2a96['getUint32'](0x4)&&0x494c4500===_0x1e2a96['getUint32'](0x8)&&_0x2b6dbf['push'](_0x1e2a96);}),_0x2b6dbf;},zZ=async(_0x4b4ed9,_0x203a65,t)=>{{let _0x39cf8f=[],_0x5b5da7=[],{promiseReadJpegChunks:_0x1940cf,stack:_0x505382}=qZ();await _0x1940cf(_0x4b4ed9),_0x505382['forEach'](_0x219763=>{if(_0x219763['marker']===_0x203a65)return _0x39cf8f['push'](_0x219763['startPos']),_0x5b5da7['push'](_0x219763['length']);});let _0x5d9d0a=[_0x4b4ed9['slice'](0x0,0x2)];for(let _0x4ff4bf of t){let _0x7076c6=new DataView(new ArrayBuffer(0x4));_0x7076c6['setUint16'](0x0,0xff00+_0x203a65),_0x7076c6['setUint16'](0x2,_0x4ff4bf['byteLength']+0x2),_0x5d9d0a['push'](_0x7076c6['buffer']),_0x5d9d0a['push'](_0x4ff4bf);}let _0x2b9950=0x2;for(let _0x20ed04=0x0;_0x20ed04<_0x39cf8f['length'];_0x20ed04++)_0x39cf8f[_0x20ed04]>_0x2b9950&&_0x5d9d0a['push'](_0x4b4ed9['slice'](_0x2b9950,_0x39cf8f[_0x20ed04])),_0x2b9950=_0x39cf8f[_0x20ed04]+_0x5b5da7[_0x20ed04]+0x4;return _0x5d9d0a['push'](_0x4b4ed9['slice'](_0x2b9950,_0x4b4ed9['size'])),new Blob(_0x5d9d0a,{'type':_0x4b4ed9['type']});}},YZ=(_0xf17bdd,_0x4f5b2f)=>zZ(_0xf17bdd,0xe2,_0x4f5b2f['map'](t=>t['buffer'])),KZ=()=>{let _0x34b9ce=document['createElement']('canvas'),_0x2c44f7=_0x34b9ce['getContext']('2d');return{'canvas':_0x34b9ce,'ctx':_0x2c44f7};},JZ=async _0xf5067c=>{let _0x4b0e80=null,{promiseReadJpegChunks:t,stack:_0x35ea3d}=qZ();return await t(_0xf5067c),_0x35ea3d['forEach'](({marker:_0x40019d,view:_0x2b483e})=>{!_0x4b0e80&&0xe1===_0x40019d&&_0x2b483e['byteLength']>=0xe&&0x45786966===_0x2b483e['getUint32'](0x0)&&0x0===_0x2b483e['getUint16'](0x4)&&(_0x4b0e80=_0x2b483e);}),_0x4b0e80;},tX=_0x49716e=>((_0x2a4123,_0xd179f)=>new Promise((t,_0x3f832e)=>{_0xd179f&&(_0x2a4123['src']=_0xd179f),_0x2a4123['complete']?t(_0x2a4123):(_0x2a4123['addEventListener']('load',()=>{t(_0x2a4123);}),_0x2a4123['addEventListener']('error',()=>{_0x3f832e(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x49716e),eX=[0x1,0x3],iX=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],sX={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},nX=(_0x691d0d,_0x4067b5)=>{let t={};return(..._0xb44fb0)=>{let _0x507d70=_0x4067b5(_0xb44fb0,t);return _0x507d70 in t?t[_0x507d70]:t[_0x507d70]=_0x691d0d(..._0xb44fb0);};},rX=(_0x10a4c5,_0x4b808c)=>{let [t]=_0x10a4c5,_0x4e46b2=Object['keys'](_0x4b808c)['map'](_0x67fa47=>parseInt(_0x67fa47,0xa))['sort']((_0x25d1e3,_0x34b329)=>_0x25d1e3-_0x34b329);for(let _0x3ae425=0x0;_0x3ae425<_0x4e46b2['length'];_0x3ae425++){let _0x227607=_0x4e46b2[_0x3ae425],_0x2d53ac=!!_0x4b808c[_0x227607];if(_0x227607>t&&_0x2d53ac||_0x227607<t&&!_0x2d53ac)return _0x227607;}return t;},oX=0x37,aX=0x6e,cX=0xa5,lX=0xff,hX='rgba('+oX+',\x20'+aX+',\x20'+cX+',\x20'+lX/0xff+')',uX=(_0x3d2e4f,_0x2f9350)=>{try{let t=[_0x3d2e4f-0x1,_0x2f9350-0x1,0x1,0x1],{canvas:_0x489cdd,ctx:_0x37cc62}=KZ();_0x489cdd['width']=0x1,_0x489cdd['height']=0x1;let {canvas:_0x11a7fb,ctx:_0x1e2446}=KZ();_0x11a7fb['width']=_0x3d2e4f,_0x11a7fb['height']=_0x2f9350,_0x1e2446&&(_0x1e2446['fillStyle']=hX,_0x1e2446['fillRect'](...t),_0x37cc62['drawImage'](_0x11a7fb,_0x3d2e4f-0x1,_0x2f9350-0x1,0x1,0x1,0x0,0x0,0x1,0x1));let _0x47b561=_0x37cc62&&_0x37cc62['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x19b4b6=!0x1;return _0x47b561&&(_0x19b4b6=_0x47b561[0x0]===oX&&_0x47b561[0x1]===aX&&_0x47b561[0x2]===cX&&_0x47b561[0x3]===lX),_0x11a7fb['width']=_0x11a7fb['height']=0x1,_0x19b4b6;}catch{return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x3d2e4f+'x'+_0x2f9350+'.'),!0x1;}};function dX(_0x3db7fd){return(..._0x16d8ba)=>new Promise(t=>{setTimeout(()=>{let _0x3097d6=_0x3db7fd(..._0x16d8ba);t(_0x3097d6);},0x0);});}var fX=dX(nX(uX,rX)),mX=dX(nX(uX,rX)),gX=async(_0x57a701,_0x4788a1)=>{let t=sX['squareSide']['find'](_0x1b2191=>_0x1b2191*_0x1b2191>=_0x57a701*_0x4788a1),_0x169e2=sX['dimension']['find'](_0x355f29=>_0x355f29>=_0x57a701&&_0x355f29>=_0x4788a1);if(!t||!_0x169e2)throw new Error('Not\x20supported');let [_0x2f29bd,_0x16a157]=await Promise['all']([fX(t,t),mX(_0x169e2,0x1)]);if(_0x2f29bd&&_0x16a157)return!0x0;throw new Error('Not\x20supported');},pX=async(_0x246f5e,_0x283937,t)=>{try{let {ctx:_0x4ab863,canvas:_0x1090aa}=KZ();return _0x1090aa['width']=_0x283937,_0x1090aa['height']=t,_0x4ab863['imageSmoothingQuality']='high',_0x4ab863['drawImage'](_0x246f5e,0x0,0x0,_0x283937,t),_0x246f5e instanceof HTMLImageElement&&(_0x246f5e['src']='//:0'),_0x246f5e instanceof HTMLCanvasElement&&(_0x246f5e['width']=_0x246f5e['height']=0x1),_0x1090aa;}catch(_0x22d993){throw new Error('Canvas\x20resize\x20error',{'cause':_0x22d993});}},OX=({img:_0x5b1af3,sourceW:_0x3fdf81,targetW:t,targetH:_0x430c13,step:_0x51ea5a})=>{let _0x11f2d5=function({sourceW:_0x29a1bc,targetW:_0x7864b0,targetH:t,step:_0x403c43}){let _0x1b1b9e=[],_0x1e9046=_0x7864b0,_0x3fbd9b=t;do{_0x1b1b9e['push']([_0x1e9046,_0x3fbd9b]),_0x1e9046=Math['round'](_0x1e9046/_0x403c43),_0x3fbd9b=Math['round'](_0x3fbd9b/_0x403c43);}while(_0x1e9046<_0x29a1bc*_0x403c43);return _0x1b1b9e['reverse']();}({'sourceW':_0x3fdf81,'targetW':t,'targetH':_0x430c13,'step':_0x51ea5a});return _0x11f2d5['reduce']((_0x10e5c1,[_0x11af1a,_0x4370ce],_0x3c849b)=>_0x10e5c1['then'](_0x392f57=>gX(_0x11af1a,_0x4370ce)['then'](()=>pX(_0x392f57,_0x11af1a,_0x4370ce))['catch'](()=>{if(_0x3c849b===_0x11f2d5['length']-0x1)throw new Error('Not\x20supported');return _0x392f57;})),Promise['resolve'](_0x5b1af3));},wX=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),bX=0.71,yX=(_0x2e11db,_0x20c9e5)=>{if(_0x2e11db['width']*bX*_0x2e11db['height']*bX<_0x20c9e5['size'])throw new Error('Not\x20required');let t=_0x2e11db['width'],_0x4b2b7c=_0x2e11db['height'],_0x457164=t/_0x4b2b7c,_0x3b5cc8=Math['floor'](Math['sqrt'](_0x20c9e5['size']*_0x457164)),_0x50cd7d=Math['floor'](_0x20c9e5['size']/Math['sqrt'](_0x20c9e5['size']*_0x457164));return gX(_0x3b5cc8,_0x50cd7d)['then'](()=>{let {ctx:_0x1a4204}=KZ();return!('imageSmoothingQuality'in _0x1a4204)||/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform'])||wX?OX({'img':_0x2e11db,'sourceW':t,'targetW':_0x3b5cc8,'targetH':_0x50cd7d,'step':bX}):(({img:_0x1a47d,targetW:_0xfcb197,targetH:t})=>pX(_0x1a47d,_0xfcb197,t))({'img':_0x2e11db,'targetW':_0x3b5cc8,'targetH':_0x50cd7d});})['catch'](()=>Promise['reject']('Not\x20supported'));},vX=async(_0x5e1158,_0x2f4412)=>{try{if(await(async _0x12211e=>{let _0x24d01a=!0x1,{promiseReadJpegChunks:t,stack:_0x3e30b5}=qZ();return await t(_0x12211e)['then'](()=>(_0x3e30b5['forEach'](({marker:_0x1e2735,view:_0xd4ef4e})=>{if(!_0x24d01a&&iX['indexOf'](_0x1e2735)>=0x0){let _0x1089a2=_0xd4ef4e['getUint8'](0x5);eX['indexOf'](_0x1089a2)<0x0&&(_0x24d01a=!0x0);}}),_0x24d01a))['catch'](()=>_0x24d01a);})(_0x5e1158))throw new Error('Should\x20skipped');let _0x194425=await Promise['allSettled']([JZ(_0x5e1158),new Promise(_0xb7736b=>{if(void 0x0!==GZ)_0xb7736b(GZ);else{let _0x11e083=new Image();_0x11e083['addEventListener']('load',()=>{GZ=_0x11e083['naturalWidth']<_0x11e083['naturalHeight'],_0x11e083['src']='//:0',_0xb7736b(GZ);}),_0x11e083['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),WZ(_0x5e1158)]),_0x39b777=!_0x194425['some'](_0x10500e=>'rejected'===_0x10500e['status']),[_0x2914dd,_0x3bc164,_0x3f0080]=_0x194425,_0x7b282=await(async _0x4ffb6a=>{try{return await YZ(_0x4ffb6a,[]);}catch(_0x36b000){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x36b000);}})(_0x5e1158)['catch'](()=>_0x5e1158),_0x2be7b5=await tX(URL['createObjectURL'](_0x7b282));URL['revokeObjectURL'](_0x2be7b5['src']);let _0x2f7480=await yX(_0x2be7b5,_0x2f4412),_0xae2878='image/jpeg',_0x32d8df=_0x2f4412?.['quality']||0.8;!_0x39b777&&(_0x4eecbc=>{let {ctx:t,canvas:_0x2cdecd}=KZ();_0x2cdecd['width']=_0x2cdecd['height']=0x32,t['drawImage'](_0x4eecbc,0x0,0x0,0x32,0x32);let _0x18eaaa=t['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x2cdecd['width']=_0x2cdecd['height']=0x1;for(let _0x5c8502=0x3;_0x5c8502<_0x18eaaa['length'];_0x5c8502+=0x4)if(_0x18eaaa[_0x5c8502]<0xfe)return!0x0;return!0x1;})(_0x2f7480)&&(_0xae2878='image/png',_0x32d8df=void 0x0);let _0x2a1f86=await((_0x49a073,_0x454521,t)=>new Promise((_0x4a2642,_0x18c454)=>{_0x49a073['toBlob'](_0x432f03=>{_0x432f03?_0x4a2642(_0x432f03):_0x18c454('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x454521,t),_0x49a073['width']=_0x49a073['height']=0x1;}))(_0x2f7480,_0xae2878,_0x32d8df);if(_0x39b777&&'fulfilled'===_0x2914dd['status']&&_0x2914dd['value']){let _0x504dc2=_0x2914dd['value'],_0x4e3191='fulfilled'===_0x3bc164['status']&&_0x3bc164['value'];_0x2a1f86=await(async(_0x4fc142,_0xbe9d2a,t)=>(t&&((_0x37f8f6,_0x507624)=>{((_0x484285,_0x47722c)=>{let t,_0x39a593,_0x113b3,_0xed8d22;if(_0x484285&&!(_0x484285['byteLength']<0xe)&&0x45786966===_0x484285['getUint32'](0x0)&&0x0===_0x484285['getUint16'](0x4)){if(0x4949===_0x484285['getUint16'](0x6))_0x39a593=!0x0;else{if(0x4d4d!==_0x484285['getUint16'](0x6))return;_0x39a593=!0x1;}if(0x2a===_0x484285['getUint16'](0x8,_0x39a593))for(_0x113b3=0x8+_0x484285['getUint32'](0xa,_0x39a593),t=0x0,_0xed8d22=_0x484285['getUint16'](_0x113b3-0x2,_0x39a593);_0xed8d22>=0x0?t<_0xed8d22:t>_0xed8d22;_0xed8d22>=0x0?++t:--t){if(_0x484285['byteLength']<_0x113b3+0xa)return;0x112===_0x484285['getUint16'](_0x113b3,_0x39a593)&&_0x47722c(_0x113b3+0x8,_0x39a593),_0x113b3+=0xc;}}})(_0x37f8f6,(t,_0x40c473)=>_0x37f8f6['setUint16'](t,_0x507624,_0x40c473));})(_0xbe9d2a,0x1),zZ(_0x4fc142,0xe1,[_0xbe9d2a['buffer']])))(_0x2a1f86,_0x504dc2,_0x4e3191);}return _0x39b777&&'fulfilled'===_0x3f0080['status']&&_0x3f0080['value']['length']>0x0&&(_0x2a1f86=await YZ(_0x2a1f86,_0x3f0080['value'])),_0x2a1f86;}catch(_0x23e35b){let _0x4139c5;throw _0x23e35b instanceof Error&&(_0x4139c5=_0x23e35b['message']),'string'==typeof _0x23e35b&&(_0x4139c5=_0x23e35b),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x4139c5?'Message:\x20\x22'+_0x4139c5+'\x22.':''),{'cause':_0x23e35b});}},_X=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,EX={'id':'image-shrink','setup'({pluginApi:_0xc502f5}){_0xc502f5['registry']['registerFileHook']({'type':'beforeUpload','handler':async({file:_0x4c08e9})=>{let t=_0xc502f5['config']['get']('imageShrink');if(!t)return{'file':_0x4c08e9};let _0x963448=(_0x12586d=>{if('string'!=typeof _0x12586d)return!0x1;let _0x307ff4=_X['exec'](_0x12586d['toLocaleLowerCase']())??[];if(0x0===_0x307ff4['length'])return!0x1;let t=Number(_0x307ff4[0x1])*Number(_0x307ff4[0x2]),_0x5f566e=0x10000000;return t>_0x5f566e?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x307ff4[0x1]+'x'+_0x307ff4[0x2]+'\x20('+Math['ceil'](t/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x307ff4[0x3]?Number(_0x307ff4[0x3])/0x64:void 0x0,'size':t};})(t);if(!_0x963448)return console['warn']('[ImageShrinkPlugin]\x20Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),{'file':_0x4c08e9};try{return{'file':await vX(_0x4c08e9,_0x963448)};}catch{return{'file':_0x4c08e9};}}});}},TX={'id':'instagram','setup'({pluginApi:_0x42b441}){_0x42b441['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':()=>{}});}},AX={'id':Bj['LOCAL'],'setup':({pluginApi:_0x1a83da,uploaderApi:_0x531f78})=>{_0x1a83da['registry']['registerSource']({'id':Bj['LOCAL'],'label':'src-type-local','icon':'local','onSelect':()=>{_0x531f78['openSystemDialog']();}});}},IX={'id':'url-source','setup':async({pluginApi:_0x305c96,uploaderApi:_0x4be9e5})=>{aU({'UrlSource':IZ}),_0x305c96['registry']['registerActivity']({'id':fF['URL'],'render':t=>{let _0x2a842b=document['createElement']('uc-url-source');return t['append'](_0x2a842b),()=>{t['replaceChildren']();};}}),_0x305c96['registry']['registerSource']({'id':'url','label':'src-type-from-url','icon':'url','onSelect':()=>{_0x4be9e5['setCurrentActivity'](fF['URL']),_0x4be9e5['setModalState'](!0x0);}});}},SX=[{'configDeps':['useCloudImageEditor'],'isEnabled':_0xf5a816=>!!_0xf5a816('useCloudImageEditor'),'load':()=>ZZ},{'configDeps':['imageShrink'],'isEnabled':_0x16e481=>!!_0x16e481('imageShrink'),'load':()=>EX},{'configDeps':['sourceList'],'isEnabled':_0x333098=>gU(_0x333098('sourceList'))['includes'](Bj['LOCAL']),'load':()=>AX},{'configDeps':['sourceList'],'isEnabled':_0xdfb59e=>gU(_0xdfb59e('sourceList'))['includes'](Bj['CAMERA']),'load':()=>jZ},{'configDeps':['sourceList'],'isEnabled':_0x1be7da=>gU(_0x1be7da('sourceList'))['includes']('instagram'),'load':()=>TX},{'configDeps':['sourceList'],'isEnabled':_0x330f03=>Object['values'](Vj)['some'](_0x204e90=>gU(_0x330f03('sourceList'))['includes'](_0x204e90)),'load':()=>XZ},{'configDeps':['sourceList'],'isEnabled':_0xf1c93=>gU(_0xf1c93('sourceList'))['includes'](Bj['URL']),'load':()=>IX}],CX=class extends dj{constructor(){super(),this['headless']=!0x1,this['init$']={...this['init$']};}static{this['lazyPlugins']=SX;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':jF['INIT_SOLUTION']});}['render'](){return _V` ${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>`;}};SQ([JV({'type':Boolean})],CX['prototype'],'headless',0x2);var kX=class extends dj{constructor(){super(),this['Tc']=!0x1,this['Ee']=()=>{if(this['Ec']){let t=this['$']['*historyBack'];return void t?.();}this['xc']&&(this['$']['*currentActivity']=mH['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=SX;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];}get['Ec'](){let t=this['$']['*history'];return!(!t||t['length']<=0x1)&&t[t['length']-0x1]!==mH['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')||mH['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':jF['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x2a0082=>{_0x2a0082||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x1377ff=>{Array['isArray'](_0x1377ff)&&_0x1377ff['length']>0x0&&this['$']['*currentActivity']===t&&(this['$']['*currentActivity']=mH['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['Tc']=this['Ec']||this['xc'];});}['render'](){return _V` ${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>`;}};SQ([tU()],kX['prototype'],'Tc',0x2);var xX='active',RX=class extends dj{constructor(){super(),this['Ks']=!0x1,this['Vr']=!0x1,this['_r']='',this['js']='',this['ui']='choose-file',this['si']=t=>{t['id']===mH['activities']['CLOUD_IMG_EDIT']&&(this['_r']=xX),this['$']['*currentActivity']===mH['activities']['UPLOAD_LIST']&&(this['_r']=xX,this['Vr']=!0x0);let _0x5e8eea=this['$']['*uploadList'];(!_0x5e8eea||_0x5e8eea['length']<=0x0)&&(this['js']=xX);},this['ni']=t=>{t['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=mH['activities']['UPLOAD_LIST'],this['Vr']=!0x1),t['id']===mH['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=mH['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=SX;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];}['Hs'](){return this['getCssData']('--cfg-init-activity')||mH['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':jF['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x5497a0=>{_0x5497a0===mH['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x5497a0||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x680cf3=>{Array['isArray'](_0x680cf3)&&_0x680cf3['length']>0x0?(this['$']['*currentActivity']=mH['activities']['UPLOAD_LIST'],this['js']=''):(this['_r']='',this['Vr']=!0x1,this['$']['*currentActivity']=t);}),this['subConfigValue']('confirmUpload',_0x58caef=>{!0x1!==_0x58caef&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0xbd6a94=>{this['setAttribute']('mode',_0xbd6a94),this['subConfigValue']('multiple',_0x4aca5a=>{'grid'===_0xbd6a94?(_0x4aca5a?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['Ks']=!_0x4aca5a):(this['style']['removeProperty']('--uc-grid-col'),this['Ks']=!0x1);});}),this['subConfigValue']('multiple',_0x4839de=>{this['ui']=_0x4839de?'choose-files':'choose-file';}),this['modalManager']?.['subscribe'](JU['OPEN'],this['si']),this['modalManager']?.['subscribe'](JU['CLOSE'],this['ni']);}['disconnectedCallback'](){super['disconnectedCallback'](),this['modalManager']?.['unsubscribe'](JU['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](JU['CLOSE'],this['ni']);}['render'](){return _V` ${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>`;}};SQ([tU()],RX['prototype'],'Ks',0x2),SQ([tU()],RX['prototype'],'Vr',0x2),SQ([tU()],RX['prototype'],'_r',0x2),SQ([tU()],RX['prototype'],'js',0x2),SQ([tU()],RX['prototype'],'ui',0x2);var PX=Object['freeze']({'__proto__':null,'ActivityBlock':mH,'ActivityHeader':class extends mH{},'BaseComponent':nU,'Block':nj,'BtnUi':KG,'CameraSource':FZ,'CloudImageEditor':TZ,'CloudImageEditorActivity':AZ,'CloudImageEditorBlock':_Z,'Config':QG,'Copyright':class extends nj{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x120568=>{this['toggleAttribute']('hidden',!!_0x120568);});}['render'](){return _V`<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 >`;}},'CropFrame':tZ,'Data':MQ,'DropArea':OG,'EditorAspectRatioButtonControl':mZ,'EditorCropButtonControl':gZ,'EditorFilterControl':pZ,'EditorFreeformButtonControl':fZ,'EditorImageCropper':eZ,'EditorImageFader':nZ,'EditorOperationControl':OZ,'EditorScroller':bZ,'EditorSlider':hZ,'EditorToolbar':yZ,'ExternalSource':$Z,'ExternalUploadSource':Vj,'FileItem':lG,'FileUploaderInline':kX,'FileUploaderMinimal':RX,'FileUploaderRegular':CX,'FormInput':HH,'Icon':pH,'Img':class extends EH{['connectedCallback'](){super['connectedCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x39bbbc=>{!this['$$']('is-background-for')&&!this['$$']('is-preview-blur')&&(this['img']['loading']=_0x39bbbc?'lazy':'eager');});}},'LineLoaderUi':WG,'Modal':jH,'ModalEvents':JU,'PACKAGE_NAME':ZF,'PACKAGE_VERSION':XF,'PluginActivityHost':UG,'PluginActivityRenderer':BG,'PresenceToggle':qG,'ProgressBar':GH,'ProgressBarCommon':ZH,'Select':XH,'SimpleBtn':VG,'SliderUi':cZ,'SolutionBlock':dj,'SourceBtn':qH,'SourceList':WH,'Spinner':class extends nj{['render'](){return _V`<div class="uc-spinner"></div>`;}},'StartFrom':class extends mH{constructor(){super(...arguments),this['historyTracked']=!0x0,this['activityType']=mH['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}['render'](){return _V`<div class="uc-content">${this['yield']('')}</div>`;}},'Thumb':iG,'UID':rU,'UploadCtxProvider':sG,'UploadList':wG,'UploadSource':Bj,'UploaderBlock':gH,'UrlSource':IZ,'defineComponents':aU,'defineLocale':fU,'loadFileUploaderFrom':function(_0x38ca30,_0x24c216=!0x1){return new Promise((t,_0x42adb4)=>{if('object'!=typeof document)return void t(null);if('object'==typeof window&&window[cU])return void t(window[cU]);let _0x57f81f=document['createElement']('script');_0x57f81f['async']=!0x0,_0x57f81f['src']=_0x38ca30,_0x57f81f['onerror']=()=>{_0x42adb4();},_0x57f81f['onload']=()=>{let _0x2818bb=window[cU];_0x24c216&&aU(_0x2818bb),t(_0x2818bb);},document['head']['appendChild'](_0x57f81f);});},'toKebabCase':eB});class Uploadcare extends _0x151d85{static get['requires'](){return[UploadcareEditing,UploadcareUI];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4f962c){super(_0x4f962c),_0x4f962c['config']['define']('uploadcare.uploader.sourceList',['local','url']),aU(PX),this['_defineLocale']();}['_defineLocale'](){const _0xdc7b3a=this['editor']['config']['get']('uploadcare.locale'),_0xa03ed6=this['editor']['locale']['contentLanguage'];_0xdc7b3a&&fU(_0xa03ed6,_0xdc7b3a);}}class UploadcareImageEditFormLoadingView extends _0xa34d16{constructor(_0x3b8127){super(_0x3b8127);const t=_0x3b8127['t'],_0x212c6f=this['bindTemplate'],_0x4d4677=new _0x36c3a7();_0x4d4677['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':[_0x4d4677,{'text':_0x212c6f['to']('imageUploadProgress',_0x2c1813=>t('Loading\x20image...')+'\x20('+(_0x2c1813||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class UploadcareImageEditFormErrorView extends _0xa34d16{constructor(_0x5ccc40){super(_0x5ccc40);const t=_0x5ccc40['t'];this['set']('errorType',null);const _0x48bf92=new _0x4c508c(_0x5ccc40);_0x48bf92['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x48bf92['withText']=!0x0,_0x48bf92['class']='ck-button-action',_0x48bf92['on']('execute',()=>{this['fire']('retry');}),_0x48bf92['bind']('isVisible')['to'](this,'errorType',_0x1ad145=>'NotFound'!==_0x1ad145);const _0x393d15=new _0x468811();_0x393d15['content']=_0x3b8641,_0x393d15['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1410f0=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':[_0x393d15,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1410f0['to']('errorType',_0x581250=>t('NotFound'!==_0x581250?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x48bf92]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}class UploadcareImageEditFormEditingView extends _0xa34d16{constructor(_0x516390,_0x226c18){super(_0x516390);const _0x1b0ce6=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x226c18,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1b0ce6['to']('imageSrc')}});}}class UploadcareImageEditFormView extends DialogFocusManagerView{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x552ca2,_0x3c721e,_0x309c2e){super(_0x552ca2),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x552ca2),this['_errorView']=new UploadcareImageEditFormErrorView(_0x552ca2),this['_editingView']=new UploadcareImageEditFormEditingView(_0x552ca2,_0x309c2e),this['_focusableView']=new _0xa34d16(_0x552ca2),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3c721e),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'],_0x46186c=>{this['_addUploadcareImageEditorListeners'](_0x46186c);});}),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'](_0x57daff,_0x2fcb1b){const _0x1e54c5='uc-cloud-image-editor',_0x2e3772=_0x57daff['querySelector'](_0x1e54c5);if(_0x2e3772)return _0x2fcb1b(_0x2e3772);const _0x29d054=new MutationObserver(_0x4be8c6=>{const _0x4858e4=_0x4be8c6['filter'](_0x2a9085=>_0x2a9085['target']===_0x57daff&&_0x2a9085['addedNodes']['length']>0x0&&_0x2a9085['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x1e54c5);_0x4858e4['length']&&(_0x29d054['disconnect'](),_0x2fcb1b(_0x4858e4[0x0]['addedNodes'][0x0]));});_0x29d054['observe'](_0x57daff,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x4d39f9){_0x4d39f9['addEventListener']('apply',_0x40f90f=>{this['fire']('apply',{'imageSrc':_0x40f90f['detail']['cdnUrl']});}),_0x4d39f9['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
_0x4e29c1(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2162a2,_0x3d5755,_0x2c0970){super(),this['_editor']=_0x2162a2,this['_dialog']=_0x3d5755,this['_imageElement']=_0x2c0970,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 _0x5d9851=this['_imageElement'],_0x325b71=_0x5d9851['getAttribute']('uploadcareImageId'),_0x2dbb00=_0x5d9851['getAttribute']('src');if(_0x325b71)await this['_loadImageInfo'](_0x325b71,_0x2dbb00);else{if(this['_imageCache']['has'](_0x2dbb00)){const _0xda9de7=this['_imageCache']['get'](_0x2dbb00);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xda9de7['url'],this['imageDimension']=_0xda9de7['dimension'],this['imageId']=_0xda9de7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x441cf3}=this['_editor'],t=_0x441cf3['t'],_0x480786=new UploadcareImageEditFormView(_0x441cf3,this['imageStatus'],this['_attributes']);_0x480786['bind']('status')['to'](this,'imageStatus'),_0x480786['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x480786['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x480786['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x480786,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x56e485,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x480786,'position':ct['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x480786['focus']();},'onHide':()=>{_0x480786['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2626c0=>!SD(_0x2626c0,_0x480786['element'])}});}['_loadImageInfo'](_0x530c84,_0x2799bd){return UploadUtils['getInfo'](_0x530c84,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3f9def=>{const {width:_0x432df0,height:_0x16ac9a}=_0x3f9def['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2799bd,this['imageDimension']={'width':_0x432df0,'height':_0x16ac9a},this['imageId']=_0x530c84;})['catch'](_0x328052=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x328052['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x18a8ea,_0x4ad01a){return this['_getImageAsFile'](_0x18a8ea)['then'](_0x4912af=>UploadUtils['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x4ad01a['signal'],'file':_0x4912af,'onProgress':_0x39f4b4=>{_0x39f4b4&&_0x39f4b4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x39f4b4['value']));}}))['then'](_0x2c1f32=>{const {width:_0x17d4cc,height:_0x376efe}=_0x2c1f32['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c1f32['cdnUrl'],this['imageDimension']={'width':_0x17d4cc,'height':_0x376efe},this['imageId']=_0x2c1f32['uuid'],this['imageUploadProgress']=null;const _0x7c6c24=_0x18a8ea['getAttribute']('src');this['_imageCache']['set'](_0x7c6c24,{'id':_0x2c1f32['uuid'],'url':_0x2c1f32['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x93c4b9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x93c4b9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1261b3,_0x25c25e){_0x1261b3['on']('apply',(_0x2693f6,_0x53881f)=>{this['_replaceImage'](_0x25c25e,_0x53881f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1261b3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1261b3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1b2686,_0x24b8b5,_0x726b93){const _0x3affb6=this['_editor'],{width:_0x2955a8,height:_0x35537a}=TD(_0x24b8b5,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3e072c,imageSources:_0x1ff41e}=ED(_0x24b8b5,_0x2955a8);_0x3affb6['model']['change'](_0x1516e3=>{if('$graveyard'===_0x1b2686['root']['rootName']){_0x3affb6['execute']('insertImage',{'imageType':_0x1b2686['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1b2686['getAttributes']()),'uploadcareImageId':_0x726b93,'src':_0x3e072c,'sources':_0x1ff41e,'width':_0x2955a8,'height':_0x35537a}});const _0x5abc65=_0x1b2686['getChildren']();_0x1b2686=_0x3affb6['model']['document']['selection']['getSelectedElement']();for(const _0x579d5d of _0x5abc65)_0x1516e3['append'](_0x1516e3['cloneElement'](_0x579d5d),_0x1b2686);}else _0x1516e3['setSelection'](_0x1b2686,'on'),_0x3affb6['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1b2686['getAttributes']()),'uploadcareImageId':_0x726b93,'src':_0x3e072c,'sources':_0x1ff41e,'width':_0x2955a8,'height':_0x35537a},_0x1b2686);_0x1516e3['setSelection'](_0x1b2686,'on');});}async['_getImageAsFile'](_0x2f7d66){const _0x1986d7=_0x313644['window'],_0x4c2bf4=_0x313644['document']['location']['href'],_0x574dcf=new _0x1986d7['URL'](_0x2f7d66['getAttribute']('src'),_0x4c2bf4);if('data:'===_0x574dcf['protocol']){const _0x5dcb3c=_0x574dcf['href']['split'](','),_0x5afa6b=_0x5dcb3c[0x0]['match'](/:(.*?);/)[0x1],_0x56152c=_0x5afa6b['split']('/')[0x1],_0x20d1f0=_0x1986d7['atob'](_0x5dcb3c[_0x5dcb3c['length']-0x1]);let _0x234da4=_0x20d1f0['length'];const _0x1448f0=new _0x1986d7['Uint8Array'](_0x234da4);for(;_0x234da4--;)_0x1448f0[_0x234da4]=_0x20d1f0['charCodeAt'](_0x234da4);return new _0x1986d7['File']([_0x1448f0],'image.'+_0x56152c,{'type':_0x5afa6b});}const _0x206a97=_0x574dcf['href']['split']('/'),_0xd90f91=_0x206a97[_0x206a97['length']-0x1],_0x44b881=_0xd90f91['split']('.')[0x1];return _0x1986d7['fetch'](_0x574dcf['href'])['then'](_0x16af70=>_0x16af70['clone']()['blob']())['then'](_0x1e85e3=>new _0x1986d7['File']([_0x1e85e3],_0xd90f91,{'type':'image/'+_0x44b881}));}}class UploadcareImageEditCommand extends _0x208eac{['imageEditController'];static get['requires'](){return[st];}['_isEditable'];constructor(_0x4d0da2){super(_0x4d0da2),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x5c0106){const _0x55dfbb=ID(_0x5c0106);return _0x2aed3b=>!(!_0x2aed3b||!_0x2aed3b['is']('element','imageBlock')&&!_0x2aed3b['is']('element','imageInline'))&&(!!_0x2aed3b['hasAttribute']('uploadcareImageId')||!!_0x2aed3b['hasAttribute']('src')&&_0x55dfbb(_0x2aed3b['getAttribute']('src')));}(_0x4d0da2['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x300037=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x300037);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x4d49a7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4d49a7&&(_0x4d49a7['is']('element','imageBlock')||_0x4d49a7['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](st),_0x4d49a7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class UploadcareImageReplaceCommand extends _0x208eac{['refresh'](){const _0x56da71=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x56da71&&(_0x56da71['is']('element','imageBlock')||_0x56da71['is']('element','imageInline')));}['execute'](_0x346e76){const _0x3c9619=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x451770=>{_0x451770['setAttributes'](_0x346e76,_0x3c9619),_0x451770['removeAttribute']('srcset',_0x3c9619),_0x451770['removeAttribute']('sizes',_0x3c9619);});}}class UploadcareImageEditEditing extends _0x151d85{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,Qt,_0x58f910,_0x44af9d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32a17f}=this;_0x32a17f['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x32a17f)),_0x32a17f['commands']['add']('uploadcareImageReplace',new UploadcareImageReplaceCommand(_0x32a17f));}}class UploadcareImageEditUI extends _0x151d85{['_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 _0x465273=this['editor'];_0x465273['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ef0db=>{const _0x3f4cbf=_0x465273['commands']['get']('uploadcareImageEdit'),_0x4547d4=new _0x4c508c(_0x3ef0db),t=_0x3ef0db['t'];return _0x4547d4['set']({'icon':_0x56e485,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4547d4['bind']('isEnabled')['to'](_0x3f4cbf),_0x4547d4['bind']('isOn')['to'](_0x3f4cbf,'isActive'),this['listenTo'](_0x4547d4,'execute',()=>{_0x465273['execute']('uploadcareImageEdit'),_0x465273['editing']['view']['focus']();}),_0x4547d4;}),this['_initConfig']();}['_initConfig'](){const _0x15b31f=_0x455380(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x15b31f),this['listenTo'](this['editor'],'destroy',()=>{_0x15b31f['remove']();});}}class UploadcareImageEdit extends _0x151d85{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{AIActions,AIAdapter,AIAssistant,AIAssistantUI,AIBalloon,AIChat,AIChatController,AIChatFeedCustomElementView,AIChatHistory,AIChatHistoryController,AIChatHistoryUI,AIChatInteraction,AIChatShortcuts,AIChatUI,AIConnector,AIEditing,AIEditorIntegration,AIGateway,AIInteraction,AIQuickActions,AIQuickActionsUI,AIReply,AIRequestError,AIReviewCheck,AIReviewCheckResult,AIReviewCheckResultChange,AIReviewCheckRun,AIReviewGateway,AIReviewMode,AIReviewCoreController as AIReviewModeController,AIReviewCoreEditing as AIReviewModeEditing,AIReviewModeUI,AIReviewRunResult,AIRunResult,AITabs,AITabsMainView,AITabsView,AITextAdapter,AIToggleButtonUI,AITranslate,AITranslateController,AITranslateUI,AWSTextAdapter,AcceptSuggestionCommand,AddCommentThreadCommand,yg as Annotation,AnnotationCollection,AnnotationCounterButtonView,AnnotationView,Annotations,AnnotationsSidebarItemView,AnnotationsSidebarView,AnnotationsUIs,AriaDescriptionView,BaseCommentThreadView,BaseCommentView,BaseSuggestionThreadView,CaseChange,CaseChangeCommand,CaseChangeEditing,CaseChangeUI,CloudServicesCommentsAdapter,CloudServicesRevisionHistoryAdapter,CloudServicesTrackChangesAdapter,CollaborationUserColor,Ig as Comment,CommentThread,CommentThreadController,CommentThreadInputView,CommentThreadView,CommentView,Comments,CommentsArchive,CommentsArchiveUI,CommentsEditing,CommentsListView,CommentsOnly,CommentsRepository,CommentsUI,$d as ConfirmMixin,CopyFormatCommand,tf as DATA_ID_MODEL_ATTRIBUTE,ef as DATA_ID_VIEW_ATTRIBUTE,DiscardSuggestionCommand,DocumentCompare,DocumentDiff,DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,EditSourceCommand,EditorAnnotations,EmailConfigurationHelper,EmailConfigurationLogger,EmptyBlockEmailIntegration,ExecuteOnAllSuggestionsCommand,ExecuteOnSelectedSuggestionsCommand,ExportInlineStyles,ExportInlineStylesCommand,ExportInlineStylesEditing,ExportInlineStylesEmailIntegration,ExportPdf,ExportPdfCommand,ExportWord,ExportWordCommand,qd as FOCUS_ANNOTATION_KEYSTROKE,FontEmailIntegration,Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,FormatPainter,FormatPainterEditing,FormatPainterUI,GeneralHtmlIntegrationSupport,HeadingId,HighlightEmailIntegration,ImageEmailIntegration,ImportWord,ImportWordCommand,ImportWordEditing,ImportWordUI,InlineAnnotations,InsertFootnoteCommand,InsertMergeFieldBlockCommand,InsertMergeFieldCommand,InsertMergeFieldImageCommand,LateFocusButtonView,LateFocusDropdownButtonView,LineHeight,LineHeightCommand,LineHeightEditing,LineHeightTodoListIntegration,LineHeightUI,LinkEmailIntegration,ListEmailIntegration,MarkdownEmailIntegration,MathTypeEmailIntegration,MediaEmbedEmailIntegration,MergeFields,MergeFieldsEditing,MergeFieldsEmailIntegration,MergeFieldsUI,MultiLevelList,MultiLevelListCommand,MultiLevelListEditing,MultiLevelListEmailIntegration,MultiLevelListUI,NarrowSidebar,OpenAITextAdapter,Pagination,PaginationRenderer,PasteFormatCommand,PasteFromOfficeEnhanced,Permissions,PresenceList,PresenceListUI,PreviewFinalContentCommand,PreviewMergeFieldsCommand,RealTimeCollaborationClient,RealTimeCollaborativeComments,RealTimeCollaborativeEditing,RealTimeCollaborativeRevisionHistory,RealTimeCollaborativeTrackChanges,ReplaceSourceCommand,RestoreRevisionCommand,Revision,RevisionHistory,RevisionHistoryUI,RevisionHistoryUtils,RevisionTracker,RevisionViewer,RevisionViewerEditor,RevisionViewerIntegration,RevisionViewerLoadingOverlay,RevisionViewerUI,RevisionsRepository,RevisionsSidebar,Sessions,ShowAIAssistantCommand,ShowChangeCommand,Sidebar,SlashCommand,SlashCommandConfig,SlashCommandEditing,SlashCommandUI,SourceEditingEmailIntegration,SourceEditingEnhanced,Suggestion,SuggestionDescriptionFactory,SuggestionThreadView,SuggestionView,SuggestionsConversion,TableEmailIntegration,TableOfContents,TableOfContentsCommand,TableOfContentsEditing,TableOfContentsUI,Template,TemplateCommand,TemplateEditing,TemplateEmailIntegration,TemplateUI,TodoListEmailIntegration,ToggleAICommand,TrackChanges,TrackChangesCommand,TrackChangesData,TrackChangesDataGetter,TrackChangesEditing,TrackChangesPreview,TrackChangesUI,UploadEmailIntegration,Uploadcare,UploadcareCommand,UploadcareEditing,UploadcareImageEdit,UploadcareImageEditCommand,UploadcareImageEditEditing,UploadcareImageEditUI,UploadcareUI,UploadcareUploadAdapter,Mc as User,UserView,Users,WebSocketGateway,WideSidebar,_g as bindAnnotationCollections,vo as createResizeButton,qg as dropImportantStyleSuffix,Dc as fixElementSuggestionRange,Md as getAllMarkersDomElementsSorted,Rd as getDateTimeFormatter,uo as getDefaultAICommands,vp as getEmailInlineStylesTransformations,Pd as getMarkerDomElement,Dd as hashObject,Hg as isUnsupportedEmailColorFormat,jg as isUnsupportedEmailColorValue,Zd as sanitizeEditorConfig,Wd as setupThreadKeyboardNavigation,$c as splitSuggestionMarkerName,Xd as surroundingMarkersDetector,gp as transformEmailAlignToAttribute,Op as transformEmailColumnWidthsToCells,mp as transformEmailFigcaptionToDiv,cp as transformEmailFigureToTable,up as transformEmailFloatToAlign,fp as transformEmailImageWidthAttributes,dp as transformEmailMarginToAlign,Nd as trimHtml};