PageSourceSearch

https://www.cccb.org/o/frontend-editor-ckeditor-web/__liferay__/ex…r$ckeditor5-editor-classic$dist$index.js.js

js cccb.org collected 2026-09-24 07:57:46 UTC 16,250 bytes, 10 lines download raw bytes

1import{AccessibilityHelp as A,AccessibilityHelpContentView as F,AriaLiveAnnouncer as W,AriaLiveAnnouncerPoliteness as N,AriaLiveAnnouncerRegionView as H,AriaLiveAnnouncerView as U,AutocompleteView as j,Badge as z,BalloonPanelView as K,BalloonToolbar as G,BlockButtonView as q,BlockToolbar as Q,BodyCollection as $,BoxedEditorUIView as w,ButtonLabelView as X,ButtonLabelWithHighlightView as Y,ButtonView as J,CollapsibleView as Z,ColorGridView as ee,ColorGridsFragmentView as oe,ColorPickerFragmentView as te,ColorPickerInputRowView as re,ColorPickerView as ie,ColorSelectorView as ne,ColorTileView as ae,ComponentFactory as se,ContextualBalloon as le,CssTransitionDisablerMixin as pe,DefaultMenuBarItems as me,Dialog as fe,DialogActionsView as de,DialogContentView as ce,DialogView as d,DialogViewPosition as xe,DocumentColorCollection as ue,DraggableViewMixin as ge,DropdownButtonView as we,DropdownMenuButtonView as he,DropdownMenuListItemButtonView as Ve,DropdownMenuListItemView as ye,DropdownMenuListView as be,DropdownMenuNestedMenuPanelView as _e,DropdownMenuNestedMenuView as Me,DropdownMenuPanelPositioningFunctions as Ie,DropdownMenuRootListView as Ce,DropdownPanelView as Se,DropdownView as Be,EditableUIView as Ee,EditorUI as h,EditorUIView as Te,EvaluationBadge as Pe,FileDialogButtonView as ve,FileDialogListItemButtonView as De,FileDialogViewMixin as Oe,FocusCycler as Re,FormHeaderView as ke,FormRowView as Le,HighlightedTextView as Ae,IconView as Fe,IframeView as We,InlineEditableUIView as V,InputBase as Ne,InputNumberView as He,InputTextView as Ue,InputView as je,ItemsView as ze,LabelView as Ke,LabelWithHighlightView as Ge,LabeledFieldView as qe,LabeledInputView as Qe,ListItemButtonView as $e,ListItemGroupView as Xe,ListItemView as Ye,ListSeparatorView as Je,ListView as Ze,MenuBarMenuButtonView as eo,MenuBarMenuListItemButtonView as oo,MenuBarMenuListItemFileDialogButtonView as to,MenuBarMenuListItemView as ro,MenuBarMenuListView as io,MenuBarMenuPanelView as no,MenuBarMenuView as ao,MenuBarView as y,NESTED_TOOLBAR_ICONS as so,Notification as lo,PoweredBy as po,SearchInfoView as mo,SearchResultsView as fo,SearchTextView as co,SliderView as xo,SpinnerView as uo,SplitButtonView as go,StickyPanelView as b,SwitchButtonView as wo,Template as ho,TextareaView as Vo,ToolbarLineBreakView as yo,ToolbarSeparatorView as bo,ToolbarView as _,TooltipManager as _o,UIModel as Mo,View as Io,ViewCollection as Co,ViewModel as So,_CheckIconHolderView as Bo,_CollapsibleView as Eo,_ContextualBalloonRotatorView as To,_DropdownMenuBehaviors as Po,_DropdownRootMenuBehaviors as vo,_MenuBarBehaviors as Do,_MenuBarMenuBehaviors as Oo,_MenuBarMenuViewPanelPositioningFunctions as Ro,_SearchInfoView as ko,_SearchTextQueryView as Lo,_TemplateBinding as Ao,_TemplateIfBinding as Fo,_TemplateToBinding as Wo,_convertColor as No,_convertColorToHex as Ho,_preventUiViewDefault as Uo,_processMenuBarConfig as jo,_registerCustomElement as zo,_tryNormalizeHexColor as Ko,addKeyboardHandlingForGrid as Go,addListToDropdown as qo,addMenuToDropdown as Qo,addToolbarToDropdown as $o,clickOutsideHandler as Xo,createDropdown as Yo,createLabeledDropdown as Jo,createLabeledInputNumber as Zo,createLabeledInputText as et,createLabeledTextarea as ot,filterGroupAndItemNames as tt,focusChildOnDropdownOpen as rt,getLocalizedColorOptions as it,isFocusable as nt,isViewWithFocusCycler as at,normalizeColorOptions as st,normalizeMenuBarConfig as lt,normalizeSingleColorDefinition as pt,normalizeToolbarConfig as M,submitHandler as mt}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-ui$dist$index.js.js";import{AttributeOperation as ct,Batch as xt,BubblingEmitterMixin as ut,BubblingEventInfo as gt,ClickObserver as wt,CompositionObserver as ht,Conversion as Vt,ConversionHelpers as yt,DataController as bt,Differ as _t,DomEventObserver as Mt,DowncastHelpers as It,EditingController as Ct,EditingView as St,FakeSelectionObserver as Bt,FocusObserver as Et,History as Tt,HtmlDataProcessor as Pt,InputObserver as vt,InsertOperation as Dt,KeyObserver as Ot,MarkerCollection as Rt,MarkerOperation as kt,Matcher as Lt,MergeOperation as At,Model as Ft,ModelDocument as Wt,ModelDocumentFragment as Nt,ModelDocumentSelection as Ht,ModelElement as Ut,ModelLivePosition as jt,ModelLiveRange as zt,ModelNode as Kt,ModelNodeList as Gt,ModelPosition as qt,ModelRange as Qt,ModelRootElement as $t,ModelSchemaContext as Xt,ModelSelection as Yt,ModelText as Jt,ModelTextProxy as Zt,ModelTreeWalker as er,ModelTypeCheckable as or,ModelWriter as tr,MouseObserver as rr,MoveOperation as ir,MutationObserver as nr,NoOperation as ar,Observer as sr,OperationFactory as lr,RenameOperation as pr,RootAttributeOperation as mr,RootOperation as fr,SelectionObserver as dr,SplitOperation as cr,StylesMap as xr,StylesProcessor as ur,TabObserver as gr,TouchObserver as wr,UpcastHelpers as hr,UpcastWriter as Vr,ViewAttributeElement as yr,Vie
1wContainerElement as br,ViewDataTransfer as _r,ViewDocument as Mr,ViewDocumentDomEventData as Ir,ViewDocumentFragment as Cr,ViewDocumentSelection as Sr,ViewDomConverter as Br,ViewDowncastWriter as Er,ViewEditableElement as Tr,ViewElement as Pr,ViewEmptyElement as vr,ViewNode as Dr,ViewPosition as Or,ViewRange as Rr,ViewRawElement as kr,ViewRenderer as Lr,ViewRootEditableElement as Ar,ViewSelection as Fr,ViewText as Wr,ViewTextProxy as Nr,ViewTokenList as Hr,ViewTreeWalker as Ur,ViewTypeCheckable as jr,ViewUIElement as zr,ViewUpcastWriter as Kr,XmlDataProcessor as Gr,_DataProcessorBasicHtmlWriter as qr,_DetachOperation as Qr,_MapperCache as $r,_OperationReplayer as Xr,_VIEW_BR_FILLER as Yr,_VIEW_INLINE_FILLER as Jr,_VIEW_INLINE_FILLER_LENGTH as Zr,_VIEW_MARKED_NBSP_FILLER as ei,_VIEW_NBSP_FILLER as oi,_ViewElementConversionConsumables as ti,_autoParagraphEmptyModelRoots as ri,_convertMapToStringifiedObject as ii,_convertMapToTags as ni,_deleteModelContent as ai,_downcastCleanSelection as si,_downcastConvertCollapsedSelection as li,_downcastConvertRangeSelection as pi,_downcastCreateViewElementFromDowncastHighlightDescriptor as mi,_downcastInsertAttributesAndChildren as fi,_downcastInsertElement as di,_downcastInsertStructure as ci,_downcastInsertText as xi,_downcastInsertUIElement as ui,_downcastRemove as gi,_downcastWrap as wi,_dumpTrees as hi,_getDataWithoutViewFiller as Vi,_getModelData as yi,_getModelNodeAfterPosition as bi,_getModelNodeBeforePosition as _i,_getModelTextNodeAtPosition as Mi,_getSelectedModelContent as Ii,_getViewData as Ci,_initDocumentDumping as Si,_injectModelSelectionPostFixer as Bi,_injectViewQuirksHandling as Ei,_injectViewUIElementHandling as Ti,_insertIntoModelNodeList as Pi,_insertModelContent as vi,_insertModelObject as Di,_isInlineViewFiller as Oi,_isParagraphableModelNode as Ri,_isViewPatternMatched as ki,_logDocument as Li,_mergeIntersectingModelRanges as Ai,_modifyModelSelection as Fi,_moveInModelNodeList as Wi,_normalizeConversionConsumables as Ni,_normalizeInModelNodeList as Hi,_operationTransform as Ui,_parseModel as ji,_parseView as zi,_removeFromModelNodeList as Ki,_setAttributeInModelNodeList as Gi,_setModelData as qi,_setViewData as Qi,_startsWithViewFiller as $i,_stringifyModel as Xi,_stringifyView as Yi,_tryFixingModelRange as Ji,_upcastConvertSelectionChange as Zi,_upcastConvertText as en,_upcastConvertToModelFragment as on,_wrapInModelParagraph as tn,addBackgroundStylesRules as rn,addBorderStylesRules as nn,addMarginStylesRules as an,addPaddingStylesRules as sn,autoParagraphEmptyRoots as ln,disableViewPlaceholder as pn,enableViewPlaceholder as I,getBoxSidesStyleShorthandValue as mn,getBoxSidesStyleValueReducer as fn,getBoxSidesStyleValues as dn,getPositionStyleShorthandNormalizer as cn,getShorthandStylesValues as xn,getViewFillerOffset as un,hideViewPlaceholder as gn,isAttachmentStyleValue as wn,isColorStyleValue as hn,isLengthStyleValue as Vn,isLineStyleValue as yn,isParagraphable as bn,isPercentageStyleValue as _n,isPositionStyleValue as Mn,isRepeatStyleValue as In,isURLStyleValue as Cn,needsViewPlaceholder as Sn,showViewPlaceholder as Bn,transformOperationSets as En,wrapInParagraph as Tn}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-engine$dist$index.js.js";import{CKEditorError as C,Collection as Dn,Config as On,DOCUMENTATION_URL as Rn,DomEmitterMixin as kn,ElementReplacer as S,EmitterMixin as Ln,EventInfo as An,FocusTracker as Fn,KeystrokeHandler as Wn,Locale as Nn,ObservableMixin as Hn,Rect as s,ResizeObserver as Un,_clearTranslations as 
1jn,_getEmitterId as zn,_getEmitterListenedTo as Kn,_getUserAgent as Gn,_isAndroid as qn,_isBlink as Qn,_isGecko as $n,_isMac as Xn,_isMediaForcedColors as Yn,_isMotionReduced as Jn,_isRegExpUnicodePropertySupported as Zn,_isSafari as ea,_isWindows as oa,_isiOS as ta,_setEmitterId as ra,_translate as ia,_unifyTranslations as na,abortableDebounce as aa,add as sa,areConnectedThroughProperties as la,collectStylesheets as pa,compareArrays as ma,count as fa,crc32 as da,createElement as ca,delay as xa,diff as ua,diffToChanges as ga,env as wa,exponentialDelay as ha,fastDiff as Va,findClosestScrollableAncestor as ya,first as ba,formatHtml as _a,getAncestors as Ma,getBorderWidths as Ia,getCode as Ca,getCommonAncestor as Sa,getDataFromElement as B,getEnvKeystrokeText as Ba,getLanguageDirection as Ea,getLocalizedArrowKeyCodeDirection as Ta,getOptimalPosition as Pa,getPositionedAncestor as va,getRangeFromMouseEvent as Da,getVisualViewportOffset as Oa,global as Ra,indexOf as ka,insertAt as La,insertToPriorityArray as Aa,isArrowKeyCode as Fa,isCombiningMark as Wa,isComment as Na,isForwardArrowKeyCode as Ha,isHighSurrogateHalf as Ua,isInsideCombinedSymbol as ja,isInsideEmojiSequence as za,isInsideSurrogatePair as Ka,isIterable as Ga,isLowSurrogateHalf as qa,isNode as Qa,isRange as $a,isText as Xa,isValidAttributeName as Ya,isViewWithFocusTracker as Ja,isVisible as Za,isWindow as es,keyCodes as os,logError as ts,logWarning as rs,mapsEqual as is,nth as ns,objectToMap as as,parseBase64EncodedObject as ss,parseKeystroke as ls,priorities as ps,releaseDate as ms,remove as fs,retry as ds,scrollAncestorsToShowTarget as cs,scrollViewportToShowTarget as xs,setDataInElement as us,spliceArray as gs,spy as ws,toArray as hs,toMap as Vs,toUnit as ys,uid as bs,version as _s,wait as Ms}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-utils$dist$index.js.js";import{Accessibility as Ss,Command as Bs,CommandCollection as Es,Context as Ts,ContextPlugin as Ps,EditingKeystrokeHandler as vs,Editor as E,ElementApiMixin as T,MultiCommand as Ds,PendingActions as Os,Plugin as Rs,_DEFAULT_ACCESSIBILITY_GROUP_ID as ks,_getEditorUsageData as Ls,attachToForm as P,secureSourceElement as As}from"../../../frontend-editor-ckeditor-web/__liferay__/exports/@ckeditor$ckeditor5-core$dist$index.js.js";function v(i){return typeof i=="object"&&i!==null}function D(i){if(typeof i!="object"||i==null)return!1;if(Object.getPrototypeOf(i)===null)return!0;if(Object.prototype.toString.call(i)!=="[object Object]"){let o=i[Symbol.toStringTag];return o==null||!Object.getOwnPropertyDescriptor(i,Symbol.toStringTag)?.writable?!1:i.toString()===`[object ${o}]`}let e=i;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(i)===e}function c(i){return v(i)&&i.nodeType===1&&!D(i)}var m=class extends h{view;_toolbarConfig;_elementReplacer;constructor(e,o){super(e),this.view=o,this._toolbarConfig=M(e.config.get("toolbar")),this._elementReplacer=new S,this.listenTo(e.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(e){let o=this.editor,r=this.view,n=o.editing.view,t=r.editable,a=n.document.getRoot();t.name=a.rootName,r.render();let l=t.element;this.setEditableElement(t.name,l),r.editable.bind("isFocused").to(this.focusTracker),n.attachDomRoot(l),e&&this._elementReplacer.replace(e,this.element),this._initPlaceholder(),this._initToolbar(),r.menuBarView&&this.initMenuBar(r.menuBarView),this._initDialogPluginIntegration(),this._initContextualBalloonIntegration(),this.fire("ready")}destroy(){super.destroy();let e=this.view,o=this.editor.editing.view;this._elementReplacer.restore(),o.getDomRoot(e.editable.name)&&o.detachDomRoot(e.editable.name),e.destroy()}_initToolbar(){let e=this.view;e.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),e.stickyPanel.limiterElement=e.element,e.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",({visualTop:o})=>o||0),e.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(e.toolbar)}_initPlaceholder(){let e=this.editor,o=e.editing.view,r=o.document.getRoot(),n=e.sourceElement,t,a=e.config.get("placeholder");
1a&&(t=typeof a=="string"?a:a[this.view.editable.name]),!t&&n&&n.tagName.toLowerCase()==="textarea"&&(t=n.getAttribute("placeholder")),t&&(r.placeholder=t),I({view:o,element:r,isDirectHost:!1,keepOnFocus:!0})}_initContextualBalloonIntegration(){if(!this.editor.plugins.has("ContextualBalloon"))return;let{stickyPanel:e}=this.view,o=this.editor.plugins.get("ContextualBalloon");o.on("getPositionOptions",n=>{let t=n.return;if(!t||!e.isSticky||!e.element)return;let a=new s(e.element).height,l=typeof t.target=="function"?t.target():t.target,u=typeof t.limiter=="function"?t.limiter():t.limiter;if(l&&u&&new s(l).height>=new s(u).height-a)return;let g={...t.viewportOffsetConfig},O=(g.top||0)+a;n.return={...t,viewportOffsetConfig:{...g,top:O}}},{priority:"low"});let r=()=>{o.visibleView&&o.updatePosition()};this.listenTo(e,"change:isSticky",r),this.listenTo(this.editor.ui,"change:viewportOffset",r)}_handleScrollToTheSelectionWithStickyPanel(e,o,r){let n=this.view.stickyPanel;if(n.isSticky){let t=new s(n.element).height;o.viewportOffset.top+=t}else{let t=()=>{this.editor.editing.view.scrollToTheSelection(r)};this.listenTo(n,"change:isSticky",t),setTimeout(()=>{this.stopListening(n,"change:isSticky",t)},20)}}_initDialogPluginIntegration(){if(!this.editor.plugins.has("Dialog"))return;let e=this.view.stickyPanel,o=this.editor.plugins.get("Dialog");o.on("show",()=>{let r=o.view;r.on("moveTo",(n,t)=>{if(!e.isSticky||r.wasMoved||r.isModal)return;let a=new s(e.contentPanelElement);t[1]<a.bottom+d.defaultOffset&&(t[1]=a.bottom+d.defaultOffset)},{priority:"high"})},{priority:"low"})}},f=class extends w{stickyPanel;toolbar;editable;constructor(e,o,r={}){super(e),this.stickyPanel=new b(e),this.toolbar=new _(e,{shouldGroupWhenFull:r.shouldToolbarGroupWhenFull}),r.useMenuBar&&(this.menuBarView=new y(e)),this.editable=new V(e,o,void 0,{label:r.label})}render(){super.render(),this.menuBarView?this.stickyPanel.content.addMany([this.menuBarView,this.toolbar]):this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}},x=class extends T(E){static get editorName(){return"ClassicEditor"}ui;constructor(e,o={}){if(!p(e)&&o.initialData!==void 0)throw new C("editor-create-initial-data",null);super(o),this.config.define("menuBar.isVisible",!1),this.config.get("initialData")===void 0&&this.config.set("initialData",R(e)),p(e)&&(this.sourceElement=e),this.model.document.createRoot();let r=!this.config.get("toolbar.shouldNotGroupWhenFull"),n=this.config.get("menuBar"),t=new f(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:r,useMenuBar:n.isVisible,label:this.config.get("label")});this.ui=new m(this,t),P(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(e,o={}){return new Promise(r=>{let n=new this(e,o);r(n.initPlugins().then(()=>n.ui.init(p(e)?e:null)).then(()=>n.data.init(n.config.get("initialData"))).then(()=>n.fire("ready")).then(()=>n))})}};function R(i){return p(i)?B(i):i}function p(i){return c(i)}export{x as ClassicEditor,m as ClassicEditorUI,f as ClassicEditorUIView};
2/*! Bundled license information:
3
4@ckeditor/ckeditor5-editor-classic/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-editor-classic$dist$index.js.(2CMGHQPQ).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.