1import{Accessibility as ae,Command as Q,CommandCollection as le,Context as ue,ContextPlugin as de,EditingKeystrokeHandler as Ie,Editor as me,ElementApiMixin as ge,MultiCommand as pe,PendingActions as we,Plugin as i,_DEFAULT_ACCESSIBILITY_GROUP_ID as he,_getEditorUsageData as be,attachToForm as Ce,secureSourceElement as fe}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-core$dist$index.js.js";import{IconAccessibility as Ve,IconAddComment as Te,IconAlignBottom as Le,IconAlignCenter as ke,IconAlignJustify as Se,IconAlignLeft as xe,IconAlignMiddle as Pe,IconAlignRight as Ae,IconAlignTop as De,IconArrowDown as Ee,IconArrowUp as Fe,IconBold as J,IconBookmark as Me,IconBookmarkInline as Oe,IconBookmarkMedium as Re,IconBookmarkSmall as ve,IconBrowseFiles as Ue,IconBulletedList as Ne,IconCancel as He,IconCaption as _e,IconCaseChange as Ke,IconCheck as je,IconChevronDown as $e,IconChevronUp as ze,IconCkboxImageEdit as Ge,IconCode as Y,IconCodeBlock as We,IconCog as qe,IconColorPalette as Xe,IconColorTileCheck as Qe,IconCommentsArchive as Je,IconContentLock as Ye,IconContentUnlock as Ze,IconCopy as et,IconDragHandle as tt,IconDragIndicator as ot,IconDropbox as nt,IconDropdownArrow as it,IconEditComment as rt,IconEmoji as ct,IconEraser as st,IconError as at,IconExportPdf as lt,IconExportWord as ut,IconFacebook as dt,IconFindReplace as It,IconFontBackground as mt,IconFontColor as gt,IconFontFamily as pt,IconFontSize as wt,IconFullscreenEnter as ht,IconFullscreenLeave as bt,IconGoogleDrive as Ct,IconGooglePhotos as ft,IconHeading1 as yt,IconHeading2 as Bt,IconHeading3 as Vt,IconHeading4 as Tt,IconHeading5 as Lt,IconHeading6 as kt,IconHistory as St,IconHorizontalLine as xt,IconHtml as Pt,IconImage as At,IconImageAssetManager as Dt,IconImageUpload as Et,IconImageUrl as Ft,IconImportExport as Mt,IconImportWord as Ot,IconIndent as Rt,IconInsertMergeField as vt,IconItalic as Z,IconLegalStyleList as Ut,IconLineHeight as Nt,IconLink as Ht,IconListStyleCircle as _t,IconListStyleDecimal as Kt,IconListStyleDecimalLeadingZero as jt,IconListStyleDisc as $t,IconListStyleLowerLatin as zt,IconListStyleLowerRoman as Gt,IconListStyleSquare as Wt,IconListStyleUpperLatin as qt,IconListStyleUpperRoman as Xt,IconLocal as Qt,IconLoupe as Jt,IconLowVision as Yt,IconMagicWand as Zt,IconMarker as eo,IconMedia as to,IconMediaPlaceholder as oo,IconMultiLevelList as no,IconNextArrow as io,IconNotification as ro,IconNumberedList as co,IconObjectCenter as so,IconObjectFullWidth as ao,IconObjectInline as lo,IconObjectInlineLeft as uo,IconObjectInlineRight as Io,IconObjectLeft as mo,IconObjectRight as go,IconObjectSizeCustom as po,IconObjectSizeFull as wo,IconObjectSizeLarge as ho,IconObjectSizeMedium as bo,IconObjectSizeSmall as Co,IconOneDrive as fo,IconOutdent as yo,IconPageBreak as Bo,IconPaginationExample as Vo,IconPaintRoller as To,IconPaintRollerCursorDefault as Lo,IconPaintRollerCursorText as ko,IconParagraph as So,IconPen as xo,IconPencil as Po,IconPilcrow as Ao,IconPlay as Do,IconPlus as Eo,IconPreviewMergeFields as Fo,IconPreviousArrow as Mo,IconPrint as Oo,IconProjectLogo as Ro,IconQuote as vo,IconRedo as Uo,IconRemove as No,IconRemoveComment as Ho,IconRemoveFormat as _o,IconReturnArrow as Ko,IconRevisionHistory as jo,IconRobotPencil as $o,IconSelectAll as zo,IconSettings as Go,IconShowBlocks as Wo,IconSource as qo,IconSpecialCharacters as Xo,IconStrikethrough as ee,IconSubmit as Qo,IconSubscript as te,IconSuperscript as oe,IconTable as Jo,IconTableCellProperties as Yo,IconTableColumn as Zo,IconTableLayout as en,IconTableMergeCell as tn,IconTableOfContents as on,IconTableProperties as nn,IconTableRow as rn,IconTemplate as cn,IconTemplateGeneric as sn,IconText as an,IconTextAlternative as ln,IconThreeVerticalDots as un,IconTodoList as dn,IconTrackChanges as In,IconTrackChangesAccept as mn,IconTrackChangesDiscard as gn,IconUnderline as ne,IconUndo as pn,IconUnlink as wn,IconUploadcareImageEdit as hn,IconUploadcareImageUpload as bn,IconUploadcareLink as Cn,IconUser as fn,IconWarning as yn}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-icons$dist$index.js.js";
1import{AccessibilityHelp as Tn,AccessibilityHelpContentView as Ln,AriaLiveAnnouncer as kn,AriaLiveAnnouncerPoliteness as Sn,AriaLiveAnnouncerRegionView as xn,AriaLiveAnnouncerView as Pn,AutocompleteView as An,Badge as Dn,BalloonPanelView as En,BalloonToolbar as Fn,BlockButtonView as Mn,BlockToolbar as On,BodyCollection as Rn,BoxedEditorUIView as vn,ButtonLabelView as Un,ButtonLabelWithHighlightView as Nn,ButtonView as u,CollapsibleView as Hn,ColorGridView as _n,ColorGridsFragmentView as Kn,ColorPickerFragmentView as jn,ColorPickerInputRowView as $n,ColorPickerView as zn,ColorSelectorView as Gn,ColorTileView as Wn,ComponentFactory as qn,ContextualBalloon as Xn,CssTransitionDisablerMixin as Qn,DefaultMenuBarItems as Jn,Dialog as Yn,DialogActionsView as Zn,DialogContentView as ei,DialogView as ti,DialogViewPosition as oi,DocumentColorCollection as ni,DraggableViewMixin as ii,DropdownButtonView as ri,DropdownMenuButtonView as ci,DropdownMenuListItemButtonView as si,DropdownMenuListItemView as ai,DropdownMenuListView as li,DropdownMenuNestedMenuPanelView as ui,DropdownMenuNestedMenuView as di,DropdownMenuPanelPositioningFunctions as Ii,DropdownMenuRootListView as mi,DropdownPanelView as gi,DropdownView as pi,EditableUIView as wi,EditorUI as hi,EditorUIView as bi,EvaluationBadge as Ci,FileDialogButtonView as fi,FileDialogListItemButtonView as yi,FileDialogViewMixin as Bi,FocusCycler as Vi,FormHeaderView as Ti,FormRowView as Li,HighlightedTextView as ki,IconView as Si,IframeView as xi,InlineEditableUIView as Pi,InputBase as Ai,InputNumberView as Di,InputTextView as Ei,InputView as Fi,ItemsView as Mi,LabelView as Oi,LabelWithHighlightView as Ri,LabeledFieldView as vi,LabeledInputView as Ui,ListItemButtonView as Ni,ListItemGroupView as Hi,ListItemView as _i,ListSeparatorView as Ki,ListView as ji,MenuBarMenuButtonView as $i,MenuBarMenuListItemButtonView as a,MenuBarMenuListItemFileDialogButtonView as zi,MenuBarMenuListItemView as Gi,MenuBarMenuListView as Wi,MenuBarMenuPanelView as qi,MenuBarMenuView as Xi,MenuBarView as Qi,NESTED_TOOLBAR_ICONS as Ji,Notification as Yi,PoweredBy as Zi,SearchInfoView as er,SearchResultsView as tr,SearchTextView as or,SliderView as nr,SpinnerView as ir,SplitButtonView as rr,StickyPanelView as cr,SwitchButtonView as sr,Template as ar,TextareaView as lr,ToolbarLineBreakView as ur,ToolbarSeparatorView as dr,ToolbarView as Ir,TooltipManager as mr,UIModel as gr,View as pr,ViewCollection as wr,ViewModel as hr,_CheckIconHolderView as br,_CollapsibleView as Cr,_ContextualBalloonRotatorView as fr,_DropdownMenuBehaviors as yr,_DropdownRootMenuBehaviors as Br,_MenuBarBehaviors as Vr,_MenuBarMenuBehaviors as Tr,_MenuBarMenuViewPanelPositioningFunctions as Lr,_SearchInfoView as kr,_SearchTextQueryView as Sr,_TemplateBinding as xr,_TemplateIfBinding as Pr,_TemplateToBinding as Ar,_convertColor as Dr,_convertColorToHex as Er,_preventUiViewDefault as Fr,_processMenuBarConfig as Mr,_registerCustomElement as Or,_tryNormalizeHexColor as Rr,addKeyboardHandlingForGrid as vr,addListToDropdown as Ur,addMenuToDropdown as Nr,addToolbarToDropdown as Hr,clickOutsideHandler as _r,createDropdown as Kr,createLabeledDropdown as jr,createLabeledInputNumber as $r,createLabeledInputText as zr,createLabeledTextarea as Gr,filterGroupAndItemNames as Wr,focusChildOnDropdownOpen as qr,getLocalizedColorOptions as Xr,isFocusable as Qr,isViewWithFocusCycler as Jr,normalizeColorOptions as Yr,normalizeMenuBarConfig as Zr,normalizeSingleColorDefinition as ec,normalizeToolbarConfig as tc,submitHandler as oc}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-ui$dist$index.js.js";import{Delete as rc,DeleteCommand as cc,Input as sc,InsertTextCommand as ac,TextTransformation as lc,TextWatcher as uc,TwoStepCaretMovement as O,Typing as dc,TypingChangeBuffer as Ic,_DeleteObserver as mc,findAttributeRange as gc,findAttributeRangeBound as pc,getLastTextLine as wc,inlineHighlight as ie}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-typing$dist$index.js.js";var s=class extends Q{attributeKey;constructor(e,t){super(e),this.attributeKey=t}refresh(){let e=this.editor.model,t=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,this.attributeKey)}execute(e={}){let t=this.editor.model,c=t.document.selection,l=e.forceValue===void 0?!this.value:e.forceValue;t.change(m=>{if(c.isCollapsed)l?m.setSelectionAttribute(this.attributeKey,!0):m.removeSelectionAttribute(this.attributeKey);else{let f=t.schema.getValidRanges(c.getRanges(),this.attributeKey);for(let r of f)l?m.setAttribute(this.attributeKey,l,r):m.removeAttribute(this.attributeKey,r)}})}_getValueFromFirstAllowedNode(){let e=this.editor.model,t=e.schema,o=e.document.selection;if(o.isCollapsed)return o.hasAttribute(this.attributeKey);for(let c of o.getRanges())for(let l of c.getItems())if(t.checkAttribute(l,this.attributeKey))return l.hasAttribute(this.attributeKey);return!1}},g="bold",y=class extends i{static get pluginName(){return"BoldEditing"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:g}),e.model.schema.setAttributeProperties(g,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:g,view:"strong",upcastAlso:["b",o=>{let c=o.getStyle("font-weight");return c&&(c=="bold"||Number(c)>=600)?{name:!0,styles:["font-weight"]}:null}]}),e.commands.add(g,new s(e,g)),e.keystrokes.set("CTRL+B",g),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Bold text"),keystroke:"CTRL+B"}]})}};function d({editor:n,commandName:e,plugin:t,icon:o,label:c,keystroke:l}){return m=>{let f=n.commands.get(e),r=new m(n.locale);return r.set({label:c,icon:o,keystroke:l,isToggleable:!0}),r.bind("isEnabled").to(f,"isEnabled"),r.bind("isOn").to(f,"value"),r instanceof a?r.set({role:"menuitemcheckbox"}):r.set({tooltip:!0}),t.listenTo(r,"execute",()=>{n.execute(e),n.editing.view.focus()}),r}}var R="bold",B=class extends i{static get pluginName(){return"BoldUI"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=e.locale.t,o=d({editor:e,commandName:R,plugin:this,icon:J,label:t("Bold"),keystroke:"CTRL+B"});e.ui.componentFactory.add(R,()=>o(u)),e.ui.componentFactory.add("menuBar:"+R,()=>o(a))}},j=class extends i{static get requires(){return[y,B]}static get pluginName(){return"Bold"}static get isOfficialPlugin(){return!0}},I="code",re="ck-code_selected",V=class extends i{static get pluginName(){return"CodeEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[O]}init(){let e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:I}),e.model.schema.setAttributeProperties(I,{isFormatting:!0,copyOnEnter:!1}),e.conversion.attributeToElement({model:I,view:"code"}),e.commands.add(I,new s(e,I)),e.plugins.get(O).registerAttribute(I),ie(e,I,"code",re),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Move out of an inline code style"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}}
1,v="code",T=class extends i{static get pluginName(){return"CodeUI"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=e.locale.t,o=d({editor:e,commandName:v,plugin:this,icon:Y,label:t("Code")});e.ui.componentFactory.add(v,()=>o(u)),e.ui.componentFactory.add("menuBar:"+v,()=>o(a))}},$=class extends i{static get requires(){return[V,T]}static get pluginName(){return"Code"}static get isOfficialPlugin(){return!0}},p="italic",L=class extends i{static get pluginName(){return"ItalicEditing"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:p}),e.model.schema.setAttributeProperties(p,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:p,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),e.commands.add(p,new s(e,p)),e.keystrokes.set("CTRL+I",p),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Italic text"),keystroke:"CTRL+I"}]})}},U="italic",k=class extends i{static get pluginName(){return"ItalicUI"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=e.locale.t,o=d({editor:e,commandName:U,plugin:this,icon:Z,keystroke:"CTRL+I",label:t("Italic")});e.ui.componentFactory.add(U,()=>o(u)),e.ui.componentFactory.add("menuBar:"+U,()=>o(a))}},z=class extends i{static get requires(){return[L,k]}static get pluginName(){return"Italic"}static get isOfficialPlugin(){return!0}},w="strikethrough",S=class extends i{static get pluginName(){return"StrikethroughEditing"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:w}),e.model.schema.setAttributeProperties(w,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:w,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),e.commands.add(w,new s(e,w)),e.keystrokes.set("CTRL+SHIFT+X","strikethrough"),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Strikethrough text"),keystroke:"CTRL+SHIFT+X"}]})}},N="strikethrough",x=class extends i{static get pluginName(){return"StrikethroughUI"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=e.locale.t,o=d({editor:e,commandName:N,plugin:this,icon:ee,keystroke:"CTRL+SHIFT+X",label:t("Strikethrough")});e.ui.componentFactory.add(N,()=>o(u)),e.ui.componentFactory.add("menuBar:"+N,()=>o(a))}},G=class extends i{static get requires(){return[S,x]}static get pluginName(){return"Strikethrough"}static get isOfficialPlugin(){return!0}},h="subscript",P=class extends i{static get pluginName(){return"SubscriptEditing"}static get isOfficialPlugin(){return!0}init(){let e=this.editor;e.model.schema.extend("$text",{allowAttributes:h}),e.model.schema.setAttributeProperties(h,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:h,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),e.commands.add(h,new s(e,h))}},H="subscript",A=class extends i{static get pluginName(){return"SubscriptUI"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=e.locale.t,o=d({editor:e,commandName:H,plugin:this,icon:te,label:t("Subscript")});e.ui.componentFactory.add(H,()=>o(u)),e.ui.componentFactory.add("menuBar:"+H,()=>o(a))}},W=class extends i{static get requires(){return[P,A]}static get pluginName(){return"Subscript"}static get isOfficialPlugin(){return!0}},b="superscript",D=class extends i{static get pluginName(){return"SuperscriptEditing"}static get isOfficialPlugin(){return!0}init(){let e=this.editor;e.model.schema.extend("$text",{allowAttributes:b}),e.model.schema.setAttributeProperties(b,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:b,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),e.commands.add(b,new s(e,b))}},_="superscript",E=class extends i{static get pluginName(){return"SuperscriptUI"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=e.locale.t,o=d({editor:e,commandName:_,plugin:this,icon:oe,label:t("Superscript")});e.ui.componentFactory.add(_,()=>o(u)),e.ui.componentFactory.add("menuBar:"+_,()=>o(a))}},q=class extends i{static get requires(){return[D,E]}static get pluginName(){return"Superscript"}static get isOfficialPlugin(){return!0}},C="underline",F=class extends i{static get pluginName(){return"UnderlineEditing"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=this.editor.t;e.model.schema.extend("$text",{allowAttributes:C}),e.model.schema.setAttributeProperties(C,{isFormatting:!0,copyOnEnter:!0}),e.conversion.attributeToElement({model:C,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),e.commands.add(C,new s(e,C)),e.keystrokes.set("CTRL+U","underline"),e.accessibility.addKeystrokeInfos({keystrokes:[{label:t("Underline text"),keystroke:"CTRL+U"}]})}},K="underline",M=class extends i{static get pluginName(){return"UnderlineUI"}static get isOfficialPlugin(){return!0}init(){let e=this.editor,t=e.locale.t,o=d({editor:e,commandName:K,plugin:this,icon:ne,label:t("Underline"),keystroke:"CTRL+U"});e.ui.componentFactory.add(K,()=>o(u)),e.ui.componentFactory.add("menuBar:"+K,()=>o(a))}},X=class extends i{static get requires(){return[F,M]}static get pluginName(){return"Underline"}static get isOfficialPlugin(){return!0}};export{s as AttributeCommand,j as Bold,y as BoldEditing,B as BoldUI,$ as Code,V as CodeEditing,T as CodeUI,z as Italic,L as ItalicEditing,k as ItalicUI,G as Strikethrough,S as StrikethroughEditing,x as StrikethroughUI,W as Subscript,P as SubscriptEditing,A as SubscriptUI,q as Superscript,D as SuperscriptEditing,E as SuperscriptUI,X as Underline,F as UnderlineEditing,M as UnderlineUI,d as _getBasicStylesButtonCreator}; 2/*! Bundled license information: 3 4@ckeditor/ckeditor5-basic-styles/dist/index.js: 5 (** 6 * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. 7 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options 8 *) 9*/ 10//# sourceMappingURL=@ckeditor$ckeditor5-basic-styles$dist$index.js.(OU2JYT2G).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.