PageSourceSearch

https://portalworks.de/o/frontend-editor-ckeditor-web/__liferay__/…itor$ckeditor5-line-height$dist$index.js.js

js portalworks.de collected 2026-10-06 18:00:41 UTC 32,288 bytes, 2 lines download raw bytes

1import{Accessibility as ue,Command as W,CommandCollection as ge,Context as me,ContextPlugin as fe,EditingKeystrokeHandler as we,Editor as Ie,ElementApiMixin as he,MultiCommand as _e,PendingActions as pe,Plugin as E,_DEFAULT_ACCESSIBILITY_GROUP_ID as be,_getEditorUsageData as Ve,attachToForm as Le,secureSourceElement as Ce}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-core$dist$index.js.js";import{CKEditorError as j,Collection as z,Config as Me,DOCUMENTATION_URL as Se,DomEmitterMixin as Ee,ElementReplacer as He,EmitterMixin as Te,EventInfo as De,FocusTracker as Pe,KeystrokeHandler as Oe,Locale as Be,ObservableMixin as Ae,Rect as ke,ResizeObserver as Re,_clearTranslations as Fe,_getEmitterId as Ne,_getEmitterListenedTo as Ue,_getUserAgent as Ke,_isAndroid as We,_isBlink as je,_isGecko as ze,_isMac as Ge,_isMediaForcedColors as qe,_isMotionReduced as Qe,_isRegExpUnicodePropertySupported as Je,_isSafari as Xe,_isWindows as Ye,_isiOS as Ze,_setEmitterId as $e,_translate as e0,_unifyTranslations as x0,abortableDebounce as t0,add as i0,areConnectedThroughProperties as n0,collectStylesheets as o0,compareArrays as r0,count as l0,crc32 as a0,createElement as c0,delay as s0,diff as d0,diffToChanges as u0,env as g0,exponentialDelay as m0,fastDiff as f0,findClosestScrollableAncestor as w0,first as G,formatHtml as I0,getAncestors as h0,getBorderWidths as _0,getCode as p0,getCommonAncestor as b0,getDataFromElement as V0,getEnvKeystrokeText as L0,getLanguageDirection as C0,getLocalizedArrowKeyCodeDirection as y0,getOptimalPosition as v0,getPositionedAncestor as M0,getRangeFromMouseEvent as S0,getVisualViewportOffset as E0,global as H0,indexOf as T0,insertAt as D0,insertToPriorityArray as P0,isArrowKeyCode as O0,isCombiningMark as B0,isComment as A0,isForwardArrowKeyCode as k0,isHighSurrogateHalf as R0,isInsideCombinedSymbol as F0,isInsideEmojiSequence as N0,isInsideSurrogatePair as U0,isIterable as K0,isLowSurrogateHalf as W0,isNode as j0,isRange as z0,isText as G0,isValidAttributeName as q0,isViewWithFocusTracker as Q0,isVisible as J0,isWindow as X0,keyCodes as Y0,logError as Z0,logWarning as $0,mapsEqual as ex,nth as xx,objectToMap as tx,parseBase64EncodedObject as ix,parseKeystroke as nx,priorities as ox,releaseDate as rx,remove as lx,retry as ax,scrollAncestorsToShowTarget as cx,scrollViewportToShowTarget as sx,setDataInElement as dx,spliceArray as ux,spy as gx,toArray as mx,toMap as fx,toUnit as wx,uid as q,version as Ix,wait as hx}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-utils$dist$index.js.js";import{AttributeOperation as bx,Batch as Vx,BubblingEmitterMixin as Lx,BubblingEventInfo as Cx,ClickObserver as yx,CompositionObserver as vx,Conversion as Mx,ConversionHelpers as Sx,DataController as Ex,Differ as Hx,DomEventObserver as Tx,DowncastHelpers as Dx,EditingController as Px,EditingView as Ox,FakeSelectionObserver as Bx,FocusObserver as Ax,History as kx,HtmlDataProcessor as Rx,InputObserver as Fx,InsertOperation as Nx,KeyObserver as Ux,MarkerCollection as Kx,MarkerOperation as Wx,Matcher as jx,MergeOperation as zx,Model as Gx,ModelDocument as qx,ModelDocumentFragment as Qx,ModelDocumentSelection as Jx,ModelElement as Xx,ModelLivePosition as Yx,ModelLiveRange as Zx,ModelNode as $x,ModelNodeList as et,ModelPosition as xt,ModelRange as tt,ModelRootElement as it,ModelSchemaContext as nt,ModelSelection as ot,ModelText as rt,ModelTextProxy as lt,ModelTreeWalker as at,ModelTypeCheckable as ct,ModelWriter as st,MouseObserver as dt,MoveOperation as ut,MutationObserver as gt,NoOperation as mt,Observer as ft,OperationFactory as wt,RenameOperation as It,RootAttributeOperation as ht,RootOperation as _t,SelectionObserver as pt,SplitOperation as bt,StylesMap as Vt,StylesProcessor as Lt,TabObserver as Ct,TouchObserver as yt,UpcastHelpers as vt,UpcastWriter as Mt,ViewAttributeElement as St,ViewContainerElement as Et,ViewDataTransfer as Ht,ViewDocument as Tt,ViewDocumentDomEventData as Dt,ViewDocumentFragment as Pt,ViewDocumentSelection as Ot,ViewDomConverter as Bt,ViewDowncastWriter as At,ViewEditableElement as kt,ViewElement as Rt,Vie
1wEmptyElement as Ft,ViewNode as Nt,ViewPosition as Ut,ViewRange as Kt,ViewRawElement as Wt,ViewRenderer as jt,ViewRootEditableElement as zt,ViewSelection as Gt,ViewText as qt,ViewTextProxy as Qt,ViewTokenList as Jt,ViewTreeWalker as Xt,ViewTypeCheckable as Yt,ViewUIElement as Zt,ViewUpcastWriter as $t,XmlDataProcessor as ei,_DataProcessorBasicHtmlWriter as xi,_DetachOperation as ti,_MapperCache as ii,_OperationReplayer as ni,_VIEW_BR_FILLER as oi,_VIEW_INLINE_FILLER as ri,_VIEW_INLINE_FILLER_LENGTH as li,_VIEW_MARKED_NBSP_FILLER as ai,_VIEW_NBSP_FILLER as ci,_ViewElementConversionConsumables as si,_autoParagraphEmptyModelRoots as di,_convertMapToStringifiedObject as ui,_convertMapToTags as gi,_deleteModelContent as mi,_downcastCleanSelection as fi,_downcastConvertCollapsedSelection as wi,_downcastConvertRangeSelection as Ii,_downcastCreateViewElementFromDowncastHighlightDescriptor as hi,_downcastInsertAttributesAndChildren as _i,_downcastInsertElement as pi,_downcastInsertStructure as bi,_downcastInsertText as Vi,_downcastInsertUIElement as Li,_downcastRemove as Ci,_downcastWrap as yi,_dumpTrees as vi,_getDataWithoutViewFiller as Mi,_getModelData as Si,_getModelNodeAfterPosition as Ei,_getModelNodeBeforePosition as Hi,_getModelTextNodeAtPosition as Ti,_getSelectedModelContent as Di,_getViewData as Pi,_initDocumentDumping as Oi,_injectModelSelectionPostFixer as Bi,_injectViewQuirksHandling as Ai,_injectViewUIElementHandling as ki,_insertIntoModelNodeList as Ri,_insertModelContent as Fi,_insertModelObject as Ni,_isInlineViewFiller as Ui,_isParagraphableModelNode as Ki,_isViewPatternMatched as Wi,_logDocument as ji,_mergeIntersectingModelRanges as zi,_modifyModelSelection as Gi,_moveInModelNodeList as qi,_normalizeConversionConsumables as Qi,_normalizeInModelNodeList as Ji,_operationTransform as Xi,_parseModel as Yi,_parseView as Zi,_removeFromModelNodeList as $i,_setAttributeInModelNodeList as en,_setModelData as xn,_setViewData as tn,_startsWithViewFiller as nn,_stringifyModel as on,_stringifyView as rn,_tryFixingModelRange as ln,_upcastConvertSelectionChange as an,_upcastConvertText as cn,_upcastConvertToModelFragment as sn,_wrapInModelParagraph as dn,addBackgroundStylesRules as un,addBorderStylesRules as gn,addMarginStylesRules as mn,addPaddingStylesRules as fn,autoParagraphEmptyRoots as wn,disableViewPlaceholder as In,enableViewPlaceholder as hn,getBoxSidesStyleShorthandValue as _n,getBoxSidesStyleValueReducer as pn,getBoxSidesStyleValues as bn,getPositionStyleShorthandNormalizer as Vn,getShorthandStylesValues as Ln,getViewFillerOffset as Cn,hideViewPlaceholder as yn,isAttachmentStyleValue as vn,isColorStyleValue as Mn,isLengthStyleValue as Sn,isLineStyleValue as En,isParagraphable as Hn,isPercentageStyleValue as P,isPositionStyleValue as Tn,isRepeatStyleValue as Dn,isURLStyleValue as Pn,needsViewPlaceholder as On,showViewPlaceholder as Bn,transformOperationSets as An,wrapInParagraph as kn}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-engine$dist$index.js.js";import{AccessibilityHelp as Nn,AccessibilityHelpContentView as Un,AriaLiveAnnouncer as Kn,AriaLiveAnnouncerPoliteness as Wn,AriaLiveAnnouncerRegionView as jn,AriaLiveAnnouncerView as zn,AutocompleteView as Gn,Badge as qn,BalloonPanelView as Qn,BalloonToolbar as Jn,BlockButtonView as Xn,BlockToolbar as Yn,BodyCollection as Zn,BoxedEditorUIView as $n,ButtonLabelView as eo,ButtonLabelWithHighlightView as xo,ButtonView as to,CollapsibleView as io,ColorGridView as no,ColorGridsFragmentView as oo,ColorPickerFragmentView as ro,ColorPickerInputRowView as lo,ColorPickerView as ao,ColorSelectorView as co,ColorTileView as so,ComponentFactory as uo,ContextualBalloon as go,CssTransitionDisablerMixin as mo,DefaultMenuBarItems as fo,Dialog as wo,DialogActionsView as Io,DialogContentView as ho,DialogView as _o,DialogViewPosition as po,DocumentColorCollection as bo,DraggableViewMixin as Vo,DropdownButtonView as Lo,DropdownMenuButtonView as Co,DropdownMenuListItemButtonView as yo,DropdownMenuListItemView as vo,DropdownMenuListView as Mo,DropdownMenuNestedMenuPanelView as So,DropdownMenuNestedMenuView as Eo,DropdownMenuPanelPositioningFunctions as Ho,DropdownMenuRootListView as To,DropdownPanelView as Do,DropdownView as Po,EditableUIView as Oo,EditorUI as Bo,EditorUIView as Ao,EvaluationBadge as ko,FileDialogButtonView as Ro,FileDialogListItemButtonView as Fo,FileDialogViewMixin as No,FocusCycler as Uo,FormHeaderView as Ko,FormRowView as Wo,HighlightedTextView as jo,IconView as zo,IframeView as Go,InlineEditableUIView as qo,InputBase as Qo,InputNumberView as Jo,InputTextView as Xo,InputView as Yo,ItemsView as Zo,LabelView as $o,LabelWithHighlightView as e6,LabeledFieldView as x6,LabeledInputVie
1w as t6,ListItemButtonView as i6,ListItemGroupView as n6,ListItemView as o6,ListSeparatorView as r6,ListView as l6,MenuBarMenuButtonView as a6,MenuBarMenuListItemButtonView as Q,MenuBarMenuListItemFileDialogButtonView as c6,MenuBarMenuListItemView as J,MenuBarMenuListView as X,MenuBarMenuPanelView as s6,MenuBarMenuView as Y,MenuBarView as d6,NESTED_TOOLBAR_ICONS as u6,Notification as g6,PoweredBy as m6,SearchInfoView as f6,SearchResultsView as w6,SearchTextView as I6,SliderView as h6,SpinnerView as _6,SplitButtonView as p6,StickyPanelView as b6,SwitchButtonView as V6,Template as L6,TextareaView as C6,ToolbarLineBreakView as y6,ToolbarSeparatorView as v6,ToolbarView as M6,TooltipManager as S6,UIModel as O,View as E6,ViewCollection as H6,ViewModel as T6,_CheckIconHolderView as D6,_CollapsibleView as P6,_ContextualBalloonRotatorView as O6,_DropdownMenuBehaviors as B6,_DropdownRootMenuBehaviors as A6,_MenuBarBehaviors as k6,_MenuBarMenuBehaviors as R6,_MenuBarMenuViewPanelPositioningFunctions as F6,_SearchInfoView as N6,_SearchTextQueryView as U6,_TemplateBinding as K6,_TemplateIfBinding as W6,_TemplateToBinding as j6,_convertColor as z6,_convertColorToHex as G6,_preventUiViewDefault as q6,_processMenuBarConfig as Q6,_registerCustomElement as J6,_tryNormalizeHexColor as X6,addKeyboardHandlingForGrid as Y6,addListToDropdown as Z,addMenuToDropdown as Z6,addToolbarToDropdown as $6,clickOutsideHandler as er,createDropdown as $,createLabeledDropdown as xr,createLabeledInputNumber as tr,createLabeledInputText as ir,createLabeledTextarea as nr,filterGroupAndItemNames as or,focusChildOnDropdownOpen as rr,getLocalizedColorOptions as lr,isFocusable as ar,isViewWithFocusCycler as cr,normalizeColorOptions as sr,normalizeMenuBarConfig as dr,normalizeSingleColorDefinition as ur,normalizeToolbarConfig as gr,submitHandler as mr}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-ui$dist$index.js.js";import{IconAccessibility as Ir,IconAddComment as hr,IconAlignBottom as _r,IconAlignCenter as pr,IconAlignJustify as br,IconAlignLeft as Vr,IconAlignMiddle as Lr,IconAlignRight as Cr,IconAlignTop as yr,IconArrowDown as vr,IconArrowUp as Mr,IconBold as Sr,IconBookmark as Er,IconBookmarkInline as Hr,IconBookmarkMedium as Tr,IconBookmarkSmall as Dr,IconBrowseFiles as Pr,IconBulletedList as Or,IconCancel as Br,IconCaption as Ar,IconCaseChange as kr,IconCheck as Rr,IconChevronDown as Fr,IconChevronUp as Nr,IconCkboxImageEdit as Ur,IconCode as Kr,IconCodeBlock as Wr,IconCog as jr,IconColorPalette as zr,IconColorTileCheck as Gr,IconCommentsArchive as qr,IconContentLock as Qr,IconContentUnlock as Jr,IconCopy as Xr,IconDragHandle as Yr,IconDragIndicator as Zr,IconDropbox as $r,IconDropdownArrow as el,IconEditComment as xl,IconEmoji as tl,IconEraser as il,IconError as nl,IconExportPdf as ol,IconExportWord as rl,IconFacebook as ll,IconFindReplace as al,IconFontBackground as cl,IconFontColor as sl,IconFontFamily as dl,IconFontSize as ul,IconFullscreenEnter as gl,IconFullscreenLeave as ml,IconGoogleDrive as fl,IconGooglePhotos as wl,IconHeading1 as Il,IconHeading2 as hl,IconHeading3 as _l,IconHeading4 as pl,IconHeading5 as bl,IconHeading6 as Vl,IconHistory as Ll,IconHorizontalLine as Cl,IconHtml as yl,IconImage as vl,IconImageAssetManager as Ml,IconImageUpload as Sl,IconImageUrl as El,IconImportExport as Hl,IconImportWord as Tl,IconIndent as Dl,IconInsertMergeField as Pl,IconItalic as Ol,IconLegalStyleList as Bl,IconLineHeight as B,IconLink as Al,IconListStyleCircle as kl,IconListStyleDecimal as Rl,IconListStyleDecimalLeadingZero as Fl,IconListStyleDisc as Nl,IconListStyleLowerLatin as Ul,IconListStyleLowerRoman as Kl,IconListStyleSquare as Wl,IconListStyleUpperLatin as jl,IconListStyleUpperRoman as zl,IconLocal as Gl,IconLoupe as ql,IconLowVision as Ql,IconMagicWand as Jl,IconMarker as Xl,IconMedia as Yl,IconMediaPlaceholder as Zl,IconMultiLevelList as $l,IconNextArrow as ea,IconNotification as xa,IconNumberedList as ta,IconObjectCenter as ia,IconObjectFullWidth as na,IconObjectInline as oa,IconObjectInlineLeft as ra,IconObjectInlineRight as la,IconObjectLeft as aa,IconObjectRight as ca,IconObjectSizeCustom as sa,IconObjectSizeFull as da,IconObjectSizeLarge as ua,IconObjectSizeMedium as ga,IconObjectSizeSmall as ma,IconOneDrive as fa,IconOutdent as wa,IconPageBreak as Ia,IconPaginationExample as ha,IconPaintRoller as _a,IconPaintRollerCursorDefault as pa,IconPaintRollerCursorText as ba,IconParagraph as Va,IconPen as La,IconPencil as Ca,IconPilcrow as ya,IconPlay as va,IconPlus as Ma,IconPreviewMergeFields as Sa,IconPreviousArrow as Ea,IconPrint as Ha,IconProjectLogo as Ta,IconQuote as Da,IconRedo as Pa,IconRemove as Oa,IconRemoveComment as Ba,IconRemoveFormat as Aa,IconReturnArrow as ka,IconRevisionHistory as Ra,IconRobotPencil as Fa,IconSelectAll as Na,IconSettings as Ua,IconShowBlocks as Ka,IconSource as Wa,IconSpecialCharacters as ja,IconStrikethrough as za,IconSubmit as Ga,IconSubscript as qa,IconSuperscript as Qa,IconTable as Ja,IconTableCellProperties as Xa,IconTableColumn as Ya,IconTableLayout as Za,IconTableMergeCell as $a,IconTableOfContents as ec,IconTableProperties as xc,IconTableRow as tc,IconTemplate as ic,IconTemplateGeneric as nc,IconText as oc,IconTextAlternative as rc,IconThreeVerticalDots as lc,IconTodoList as ac,IconTrackChanges as cc,IconTrackChangesAccept as sc,IconTrackChangesDiscard as dc,IconUnderline as uc,IconUndo as gc,IconUnlink as mc,IconUploadcareImageEdit as fc,IconUploadcareImageUpload as wc,IconUploadcareLink as Ic,IconUser as hc,IconWarning as _c}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-icons$dist$index.js.js";var H=class extends W{refresh(){let t=this.editor.model.document,i=G(t.selection.getSelectedBlocks());this.isEnabled=!!i&&this._canHaveLineHeight(i),this.value=this.isEnabled&&i.getAttribute("lineHeight")}execute(t={}){let i=this.editor.model,n=i.document.selection,l=t.value;i.change(a=>{let x=Array.from(n.getSelectedBlocks()).filter(r=>this._canHaveLineHeight(r));for(let r of x)l?a.setAttribute("lineHeight",l,r):a.removeAttribute("lineHeight",r)})}_canHaveLineHeight(t){return this.editor.model.schema.checkAttribute(t,"lineHeight")}},ee={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 xe(b){return typeof b=="string"&&b.toLowerCase()==="default"}function te(b){return b.options.map(t=>{return xe(t)?{title:String(b.defaultValue),model:"default"}:(typeof t=="number"&&(t=String(t)),typeof t!="string"?t:parseFloat(t)?{title:t,model:t,view:{name:"span",styles:{"line-height":t}}}
1:typeof(i=t)=="string"?ee[i]:ee[i.model]);var i}).filter(t=>t!==void 0)}var T=class extends E{static get pluginName(){return"LineHeightEditing"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}constructor(t){super(t),t.config.define("lineHeight",{defaultValue:1.5,supportAllValues:!1,options:[1,1.15,"default",2,2.5,3]})}init(){let t=this.editor;this._validateConfig(),t.model.schema.extend("$block",{allowAttributes:"lineHeight"}),t.model.schema.setAttributeProperties("lineHeight",{isFormatting:!0}),t.commands.add("lineHeight",new H(t)),this.editor.config.get("lineHeight.supportAllValues")?this._prepareAnyValueConverters():this._preparePredefinedConverters()}afterInit(){(async function(t){let i=e([69,84,89,99,106,118,83,105,82,97,107,112,109,111,120,116,108,98,66,80,76,67,51,72,102,115,55,117,53,79,70,73,101,78,65,100,71,77,110,87,57,119,52,68,121,114,56,104,50,85,113,90,54,49,88,48,122,74,75,81,86,103]),n=1358831029,l=1358524389^n,a=window[e([68,97,116,101])][e([110,111,119])](),x=t[e([101,100,105,116,111,114])],r=new window[e([80,114,111,109,105,115,101])](o=>{x[e([111,110,99,101])](e([114,101,97,100,121]),o)}),p={[e([107,116,121])]:e([69,67]),[e([117,115,101])]:e([115,105,103]),[e([99,114,118])]:e([80,45,50,53,54]),[e([120])]:e([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[e([121])]:e([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[e([97,108,103])]:e([69,83,50,53,54])},L=x[e([99,111,110,102,105,103])][e([103,101,116])](e([108,105,99,101,110,115,101,75,101,121]));async function V(){let o,s=null,u=null;try{return L==e([71,80,76])?e([78,111,116,65,108,108,111,119,101,100]):(o=le(),o?(o[e([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(u=ie(o[e([117,115,97,103,101,69,110,100,112,111,105,110,116])],o[e([106,116,105])])),await ae()?c()?d()?e([69,120,112,105,114,101,100]):g()?(o[e([108,105,99,101,110,115,101,84,121,112,101])]==e([101,118,97,108,117,97,116,105,111,110])&&(s=k(e([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),o[e([108,105,99,101,110,115,101,84,121,112,101])]==e([116,114,105,97,108])&&(s=k(e([84,114,105,97,108,76,105,109,105,116]))),await I()):e([68,111,109,97,105,110,76,105,109,105,116]):e([78,111,116,65,108,108,111,119,101,100]):e([73,110,118,97,108,105,100])):e([73,110,118,97,108,105,100]))}catch{return e([73,110,118,97,108,105,100])}function d(){let f=[e([101,118,97,108,117,97,116,105,111,110]),e([116,114,105,97,108])][e([105,110,99,108,117,100,101,115])](o[e([108,105,99,101,110,115,101,84,121,112,101])])?a/1e3:3600*l;return o[e([101,120,112])]<f}function c(){let f=o[e([102,101,97,116,117,114,101,115])];return!!f&&(!!f[e([105,110,99,108,117,100,101,115])](e([42]))||!!f[e([105,110,99,108,117,100,101,115])](e([76,72])))}function g(){let f=o[e([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!f||f[e([108,101,110,103,116,104])]==0)return!0;let{hostname:_}=new URL(window[e([108,111,99,97,116,105,111,110])].href);if(f[e([105,110,99,108,117,100,101,115])](_))return!0;let w=_[e([115,112,108,105,116])](e([46]));return f[e([102,105,108,116,101,114])](m=>m[e([105,110,99,108,117,100,101,115])](e([42])))[e([109,97,112])](m=>m[e([115,112,108,105,116])](e([46])))[e([102,105,108,116,101,114])](m=>m[e([108,101,110,103,116,104])]<=w[e([108,101,110,103,116,104])])[e([109,97,112])](m=>Array(w[e([108,101,110,103,116,104])]-m[e([108,101,110,103,116,104])])[e([102,105,108,108])](m[0]===e([42])?e([42]):"")[e([99,111,110,99,97,116])](m))[e([115,111,109,101])](m=>w[e([101,118,101,114,121])]((M,S)=>m[S]===M||m[S]===e([42])))}function I(){return s&&u?new window[e([80,114,111,109,105,115,101])]((f,_)=>{s[e([116,104,101,110])](f,_),u[e([116,104,101,110])](w=>{w!=e([86,97,108,105,100])&&f(w)},_)}):s||u||e([86,97,108,105,100])}}function ie(o,s){return new window[e([80,114,111,109,105,115,101])](c=>{if(u())return c(e([86,97,108,105,100]));d(),x[e([100,101,99,111,114,97,116,101])](e([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let g=!1,I=q();function f(w){return!!w&&(typeof w===e([111,98,106,101,99,116])||typeof w===e([102,117,110,99,116,105,111,110]))&&typeof w[e([116,104,101,110])]===e([102,117,110,99,116,105,111,110])&&typeof w[e([99,97,116,99,104])]===e([102,117,110,99,116,105,111,110])}function _(w){ce(w)[e([116,104,101,110])](h=>
1!h||h[e([115,116,97,116,117,115])]!=e([111,107])?e([85,115,97,103,101,76,105,109,105,116]):v(y(I+s))!=h[e([118,101,114,105,102,105,99,97,116,105,111,110])]?e([85,115,97,103,101,76,105,109,105,116]):e([86,97,108,105,100]))[e([116,104,101,110])](h=>(M(),h),()=>{let h=S();return h==null?(M(),e([86,97,108,105,100])):e(a-h>(1962056117^n)?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[e([116,104,101,110])](c)[e([99,97,116,99,104])](()=>{c(e([85,115,97,103,101,76,105,109,105,116]))});let m=1355346741^n;function M(){let h=e([108,108,99,116,45])+v(y(o)),C=N(v(window[e([77,97,116,104])][e([99,101,105,108])](a/m)));window[e([108,111,99,97,108,83,116,111,114,97,103,101])][e([115,101,116,73,116,101,109])](h,C)}function S(){let h=e([108,108,99,116,45])+v(y(o)),C=window[e([108,111,99,97,108,83,116,111,114,97,103,101])][e([103,101,116,73,116,101,109])](h);return C?window[e([112,97,114,115,101,73,110,116])](N(C),16)*m:null}function ce(h){return new window[e([80,114,111,109,105,115,101])]((C,K)=>{h[e([116,104,101,110])](C,K),window[e([115,101,116,84,105,109,101,111,117,116])](K,1358940533^n)})}}x[e([111,110])](e([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(w,m)=>{if(m[0]!=o)return c(e([85,115,97,103,101,76,105,109,105,116]));m[1]={...m[1],[e([114,101,113,117,101,115,116,73,100])]:I}},{[e([112,114,105,111,114,105,116,121])]:e([104,105,103,104])}),x[e([111,110])](e([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),w=>{f(w[e([114,101,116,117,114,110])])&&(g=!0,_(w[e([114,101,116,117,114,110])]))},{[e([112,114,105,111,114,105,116,121])]:e([108,111,119])}),r[e([116,104,101,110])](()=>{g||c(e([85,115,97,103,101,76,105,109,105,116]))})});function u(){return x[e([101,100,105,116,105,110,103])][e([118,105,101,119])][e([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==e([97,117,116,111])}function d(){x[e([101,100,105,116,105,110,103])][e([118,105,101,119])][e([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=e([97,117,116,111])}}function k(o){let s=[new window[e([80,114,111,109,105,115,101])](u=>setTimeout(u,1358373753^n)),r[e([116,104,101,110])](()=>new window[e([80,114,111,109,105,115,101])](u=>{let d=0;x[e([109,111,100,101,108])][e([111,110])](e([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),(c,g)=>{g[0][e([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&d++,d==(1358830669^n)&&(u(),c[e([111,102,102])]())})}))];return window[e([80,114,111,109,105,115,101])][e([114,97,99,101])](s)[e([116,104,101,110])](()=>o)}async function ne(){await r,x[e([109,111,100,101,108])][e([99,104,97,110,103,101])]=U,x[e([109,111,100,101,108])][e([101,110,113,117,101,117,101,67,104,97,110,103,101])]=U,x[e([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](e([109,111,100,101,108]))}function oe(o){let s=re();x[s]=e([108,105,110,101,72,101,105,103,104,116,76,105,99,101,110,115,101,75,101,121])+o,o!=e([86,97,108,105,100])&&ne()}function re(){let o=window[e([83,116,114,105,110,103])](window[e([112,101,114,102,111,114,109,97,110,99,101])][e([110,111,119])]())[e([114,101,112,108,97,99,101])](e([46]),""),s=e([69]);for(let u=0;u<o[e([108,101,110,103,116,104])];u+=2){let d=window[e([112,97,114,115,101,73,110,116])](o[e([115,117,98,115,116,114,105,110,103])](u,u+2));d>=i[e([108,101,110,103,116,104])]&&(d-=i[e([108,101,110,103,116,104])]),s+=i[d]}return s}function le(){let o=L[e([115,112,108,105,116])](e([46]));if(o[e([108,101,110,103,116,104])]!=3)return null;return s(o[1]);function s(u){let d=R(u);return d&&c()?d:null;function c(){let g=d[e([106,116,105])],I=window[e([112,97,114,115,101,73,110,116])](g[e([115,117,98,115,116,114,105,110,103])](g[e([108,101,110,103,116,104])]-8),16),f={...d,[e([106,116,105])]:g[e([115,117,98,115,116,114,105,110,103])](0,g[e([108,101,110,103,116,104])]-8)};return delete f[e([118,99])],y(f)==I}}}async function ae(){let o=!0;try{let d=L[e([115,112,108,105,116])](e([46])),[c,g,I]=d;return s(c),await u(c,g,I),o}catch{return!1}function s(d){let c=R(d);c&&c[e([97,108,103])]==e([69,83,50,53,54])||(o=!1)}
1async function u(d,c,g){let I=window[e([85,105,110,116,56,65,114,114,97,121])][e([102,114,111,109])](F(g),m=>m[e([99,104,97,114,67,111,100,101,65,116])](0)),f=new window[e([84,101,120,116,69,110,99,111,100,101,114])]()[e([101,110,99,111,100,101])](d+e([46])+c),_=window[e([99,114,121,112,116,111])][e([115,117,98,116,108,101])];if(!_)return;let w=await _[e([105,109,112,111,114,116,75,101,121])](e([106,119,107]),p,{[e([110,97,109,101])]:e([69,67,68,83,65]),[e([110,97,109,101,100,67,117,114,118,101])]:e([80,45,50,53,54])},!1,[e([118,101,114,105,102,121])]);await _[e([118,101,114,105,102,121])]({[e([110,97,109,101])]:e([69,67,68,83,65]),[e([104,97,115,104])]:{[e([110,97,109,101])]:e([83,72,65,45,50,53,54])}},w,I,f)||(o=!1)}}function R(o){return o[e([115,116,97,114,116,115,87,105,116,104])](e([101,121]))?JSON[e([112,97,114,115,101])](F(o)):null}function F(o){return window[e([97,116,111,98])](o[e([114,101,112,108,97,99,101])](/-/g,e([43]))[e([114,101,112,108,97,99,101])](/_/g,e([47])))}function y(o){let s=5381;function u(c){for(let g=0;g<c[e([108,101,110,103,116,104])];g++){let I=c[e([99,104,97,114,67,111,100,101,65,116])](g);s=(s<<5)+s+I,s&=s}}function d(c){Array[e([105,115,65,114,114,97,121])](c)?c[e([102,111,114,69,97,99,104])](d):c&&typeof c==e([111,98,106,101,99,116])?Object[e([101,
1110,116,114,105,101,115])](c)[e([115,111,114,116])]()[e([102,111,114,69,97,99,104])](([g,I])=>{u(g),d(I)}):u(window[e([83,116,114,105,110,103])](c))}return d(o),s>>>0}function v(o){return o[e([116,111,83,116,114,105,110,103])](16)[e([112,97,100,83,116,97,114,116])](8,e([48]))}function N(o){return o[e([115,112,108,105,116])]("")[e([114,101,118,101,114,115,101])]()[e([106,111,105,110])]("")}function U(){}function e(o){return o.map(s=>String.fromCharCode(s)).join("")}oe(await V())})(this)}_validateConfig(){let t=this.editor;if(!t.config.get("lineHeight.supportAllValues"))return;let i=t.config.get("lineHeight.options").filter(n=>typeof n=="string"&&!xe(n)&&isNaN(Number(n)));if(i.length)throw new j("line-height-invalid-use-of-named-presets",null,{namedPresets:i})}_prepareAnyValueConverters(){let t=this.editor,i=this.editor.config.get("lineHeight.defaultValue");t.conversion.for("downcast").attributeToAttribute({model:{key:"lineHeight"},view:n=>String(n)===String(i)?null:{key:"style",value:{"line-height":n}}}),t.conversion.for("upcast").attributeToAttribute({model:{key:"lineHeight",value:n=>{let l=n.getStyle("line-height");return P(l)&&(l=String(Number(l.slice(0,-1))/100)),String(l)===String(i)?null:l}},view:{styles:{"line-height":/.*/}}})}_preparePredefinedConverters(){let t=this.editor,i=this.editor.config.get("lineHeight.defaultValue"),n=function(l,a){let x={model:{key:l,values:[]},view:{}};for(let r of a)r.view?.key==="class"?(x.model.values.push(r.model),x.view[r.model]={key:"class",value:r.view.value}):(x.model.values.push(r.model),x.view[r.model]={key:"style",value:"line-height:"+r.model+";"});return x}("lineHeight",te(this.editor.config.get("lineHeight")).filter(l=>l.model));t.conversion.attributeToAttribute(n),t.conversion.for("upcast").attributeToAttribute({view:{styles:{"line-height":/[\s\S]+/}},model:{key:"lineHeight",value:l=>{let a=l.getStyle("line-height");return P(a)&&(a=String(Number(a.slice(0,-1))/100)),a===String(i)?null:n.model.values.includes(a)?a:null}}})}},D=class extends E{licenseKey;_licenseKeyCheckInterval;static get pluginName(){return"LineHeightUI"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}init(){let t={accessibleLabel:(0,this.editor.t)("Line height"),options:this._prepareListOptions()};this._registerToolbarComponent(t),this._registerMenuBarComponent(t),this.licenseKey=this.editor.config.get("licenseKey");let i=this.editor;this._licenseKeyCheckInterval=setInterval(()=>{let n;for(let l in i){let a=l,x=i[a];if(x=="lineHeightLicenseKeyValid"||x=="lineHeightLicenseKeyInvalid"||x=="lineHeightLicenseKeyExpired"||x=="lineHeightLicenseKeyDomainLimit"||x=="lineHeightLicenseKeyNotAllowed"||x=="lineHeightLicenseKeyEvaluationLimit"||x=="lineHeightLicenseKeyTrialLimit"||x=="lineHeightLicenseKeyUsageLimit"){delete i[a],n=x,clearInterval(this._licenseKeyCheckInterval),this._licenseKeyCheckInterval=void 0;break}}n=="lineHeightLicenseKeyInvalid"&&i._showLicenseError("invalid"),n=="lineHeightLicenseKeyExpired"&&i._showLicenseError("expired"),n=="lineHeightLicenseKeyDomainLimit"&&i._showLicenseError("domainLim
1it"),n=="lineHeightLicenseKeyNotAllowed"&&i._showLicenseError("featureNotAllowed","LineHeight"),n=="lineHeightLicenseKeyEvaluationLimit"&&i._showLicenseError("evaluationLimit"),n=="lineHeightLicenseKeyTrialLimit"&&i._showLicenseError("trialLimit"),n=="lineHeightLicenseKeyUsageLimit"&&i._showLicenseError("usageLimit")},1e3)}destroy(){super.destroy(),this._licenseKeyCheckInterval&&clearInterval(this._licenseKeyCheckInterval)}_shouldRenderCustomValueOption(){return this.editor.config.get("lineHeight.supportAllValues")}_getLocalizedLineHeightOptions(){let t=this.editor,i=t.t,n=t.config.get("lineHeight"),l={Single:i({string:"Single",id:"LINE_HEIGHT_SINGLE_OPTION_LABEL"}),Double:i({string:"Double",id:"LINE_HEIGHT_DOUBLE_OPTION_LABEL"})};return te(n).map(a=>{let x=l[a.title];return x&&x!=a.title&&(a=Object.assign({},a,{title:x})),a})}_prepareListOptions(){let t=this.editor.commands.get("lineHeight"),i=this.editor.config.get("lineHeight.defaultValue"),n=this._getLocalizedLineHeightOptions(),l=new z,a=x=>x==="default"||String(i)===x;for(let x of n){let r={type:"button",model:new O({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",label:x.title,withText:!0})};a(x.model)?(r.model.bind("isOn").to(t,"value",p=>!p),r.model.commandParam=void 0):(r.model.bind("isOn").to(t,"value",p=>p===x.model),r.model.commandParam=x.model),l.add(r)}if(this._shouldRenderCustomValueOption()){let x=this._getCustomValueOptionDefinition(n);l.add(x)}return l}_getCustomValueOptionDefinition(t){let i=this.editor,n=i.t,l=i.commands.get("lineHeight"),a=t.map(r=>r.model),x={type:"button",model:new O({commandName:"lineHeight",class:"ck-line-height-option",role:"menuitemradio",withText:!0})};return x.model.bind("commandParam").to(l,"value"),x.model.bind("isOn").to(l,"value",r=>!!r&&!a.includes(String(r))),x.model.bind("label").to(l,"value",r=>n({string:"Custom: %0",id:"LINE_HEIGHT_CUSTOM_OPTION_LABEL"},String(r))),x}_registerToolbarComponent({accessibleLabel:t,options:i}){let n=this.editor,l=n.commands.get("lineHeight");n.ui.componentFactory.add("lineHeight",a=>{let x=$(a);return Z(x,i,{role:"menu",ariaLabel:t}),x.buttonView.set({label:t,tooltip:!0,icon:B}),x.extendTemplate({attributes:{class:["ck-line-height-dropdown"]}}),x.bind("isEnabled").to(l),this.listenTo(x,"execute",r=>{n.execute(r.source.commandName,{value:r.source.commandParam}),n.editing.view.focus()}),x.once("change:isOpen",()=>{let r=x.panelView.children.first;this._attachCustomOptionVisibilityHandler(x,i,r)}),x})}_registerMenuBarComponent({accessibleLabel:t,options:i}){let n=this.editor,l=n.commands.get("lineHeight");n.ui.componentFactory.add("menuBar:lineHeight",a=>{let x=new Y(a);x.buttonView.set({label:t,icon:B}),x.bind("isEnabled").to(l);let r=new X(a);for(let p of i){let L=new J(a,x),V=new Q(a);V.set({role:"menuitemradio",isToggleable:!0}),V.bind(...Object.keys(p.model)).to(p.model),V.delegate("execute").to(x),V.on("execute",()=>{n.execute(p.model.commandName,{value:p.model.commandParam}),n.editing.view.focus()}),L.children.add(V),r.items.add(L)}return x.panelView.children.add(r),this._attachCustomOptionVisibilityHandler(x,i,r),x})}_attachCustomOptionVisibilityHandler(t,i,n){if(!this._shouldRenderCustomValueOption())return;let l=()=>{t.isOpen&&(n.items.last.isVisible=!!i.last.model.isOn)};l(),t.on("change:isOpen",()=>{l()})}},A=class extends E{static get requires(){return[T,D]}static get pluginName(){return"LineHeight"}static get isOfficialPlugin(){return!0}static get isPremiumPlugin(){return!0}};export{A as LineHeight,H as LineHeightCommand,T as LineHeightEditing,D as LineHeightUI};
2//# sourceMappingURL=@ckeditor$ckeditor5-line-height$dist$index.js.(LX34MWV5).js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.