1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.CKEditor5=t():(e.CKEditor5=e.CKEditor5||{},e.CKEditor5.blockquote=t())}(self,(()=>(()=>{var e={
1"ckeditor5/src/core.js":(e,t,o)=>{e.exports=o("dll-reference CKEditor5.dll")("./src/core.js")},
1"ckeditor5/src/ui.js":(e,t,o)=>{e.exports=o("dll-reference CKEditor5.dll")("./src/ui.js")},
1"ckeditor5/src/widget.js":(e,t,o)=>{e.exports=o("dll-reference CKEditor5.dll")("./src/widget.js")}
1,"dll-reference CKEditor5.dll":e=>{"use strict";e.exports=CKEditor5.dll}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};return(()=>{"use strict";o.d(n,{default:()=>c});var e=o("ckeditor5/src/core.js"),t=o("ckeditor5/src/widget.js");class r extends e.Command{execute(e){const{model:t}=this.editor;t.change((o=>{t.insertContent(function(e,t){const o=e.createElement("QuoteBox"),n=e.createElement("QuoteBoxImageWrapper"),r=e.createElement("QuoteBoxImage"),i=e.createElement("QuoteBoxTextWrapper"),l=e.createElement("QuoteBoxIcon"),a=e.createElement("QuoteBoxContent"),s=e.createElement("QuoteBoxText"),c=e.createElement("QuoteBoxCaptionWrapper"),m=e.createElement("QuoteBoxAuthor"),d=e.createElement("QuoteBoxCaption");return e.setAttribute("customSrc",t.image_url,r),e.insertText(t.description,s),e.insertText(t.author,m),e.insertText(t.caption,d),e.append(r,n),e.append(m,c),e.append(d,c),e.append(l,i),e.append(a,i),e.append(s,a),e.append(c,a),e.append(n,o),e.append(i,o),o}(o,e))}))}refresh(){const{model:e}=this.editor,{selection:t}=e.document,o=e.schema.findAllowedParent(t.getFirstPosition(),"QuoteBox");this.isEnabled=null!==o}}class i extends e.Plugin{static get requires(){return[t.Widget]}init(){this._defineSchema(),this._defineConverters(),this.editor.commands.add("insertQuoteBox",new r(this.editor))}_defineSchema(){const e=this.editor.model.schema;e.register("QuoteBox",{isObject:!0,allowWhere:"$block"}),e.register("QuoteBoxImageWrapper",{isLimit:!0,allowIn:"QuoteBox",allowContentOf:"$block"}),e.register("QuoteBoxImage",{isLimit:!0,allowIn:"QuoteBoxImageWrapper",allowContentOf:"$block"}),e.extend("QuoteBoxImage",{allowAttributes:["customSrc"]}),e.register("QuoteBoxTextWrapper",{isLimit:!0,allowIn:"QuoteBox",allowContentOf:"$block"}),e.register("QuoteBoxIcon",{isLimit:!0,allowIn:"QuoteBoxTextWrapper",allowContentOf:"$block"}),e.register("QuoteBoxContent",{isLimit:!0,allowIn:"QuoteBoxTextWrapper",allowContentOf:"$block"}),e.register("QuoteBoxCaptionWrapper",{isLimit:!0,allowIn:"QuoteBoxContent",allowContentOf:"$block"}),e.register("QuoteBoxText",{isLimit:!0,allowIn:"QuoteBoxContent",allowContentOf:"$block"}),e.register("QuoteBoxAuthor",{isLimit:!0,allowIn:"QuoteBoxCaptionWrapper",allowContentOf:"$block"}),e.register("QuoteBoxCaption",{isLimit:!0,allowIn:"QuoteBoxCaptionWrapper",allowContentOf:"$block"})}_defineConverters(){const{conversion:e}=this.editor;e.for("upcast").elementToElement({view:{name:"blockquote",classes:"holcim_blockquote"},model:"QuoteBox"}),e.for("upcast").elementToElement({view:{name:"div",classes:"image_wrapper"},model:"QuoteBoxImageWrapper"}),e.for("upcast").elementToElement({view:{name:"img",classes:"img"},model:"QuoteBoxImage"}),e.for("upcast").attributeToAttribute({view:"src",model:"customSrc"}),e.for("upcast").elementToElement({view:{name:"div",classes:"text_wrapper"},model:"QuoteBoxTextWrapper"}),e.for("upcast").elementToElement({view:{name:"span",classes:"quote-icon"},model:"QuoteBoxIcon"}),e.for("upcast").elementToElement({view:{name:"div",classes:"quote-content"},model:"QuoteBoxContent"}),e.for("upcast").elementToElement({view:{name:"div",classes:"caption_wrapper"},model:"QuoteBoxCaptionWrapper"}),e.for("upcast").elementToElement({view:{name:"div",classes:"text"},model:"QuoteBoxText"}),e.for("upcast").elementToElement({view:{name:"span",classes:"author"},model:"QuoteBoxAuthor"}),e.for("upcast").elementToElement({view:{name:"span",classes:"caption"},model:"QuoteBoxCaption"}),e.for("dataDowncast").elementToElement({model:"QuoteBox",view:(e,{writer:t})=>t.createContainerElement("blockquote",{class:"holcim_blockquote"})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxImageWrapper",view:(e,{writer:t})=>t.createContainerElement("div",{class:"image_wrapper"})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxImage",view:(e,{writer:t})=>t.createContainerElement("img",{class:"img",src:e.getAttribute("customSrc")})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxTextWrapper",view:(e,{writer
1:t})=>t.createContainerElement("div",{class:"text_wrapper"})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxIcon",view:(e,{writer:t})=>t.createContainerElement("span",{class:"quote-icon"})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxContent",view:(e,{writer:t})=>t.createContainerElement("div",{class:"quote-content"})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxCaptionWrapper",view:(e,{writer:t})=>t.createContainerElement("div",{class:"caption_wrapper"})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxText",view:(e,{writer:t})=>t.createContainerElement("div",{class:"text"})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxAuthor",view:(e,{writer:t})=>t.createContainerElement("span",{class:"author"})}),e.for("dataDowncast").elementToElement({model:"QuoteBoxCaption",view:(e,{writer:t})=>t.createContainerElement("span",{class:"caption"})}),e.for("editingDowncast").elementToElement({model:"QuoteBox",view:(e,{writer:o})=>{const n=o.createContainerElement("blockquote",{class:"holcim_blockquote"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxImageWrapper",view:(e,{writer:o})=>{const n=o.createContainerElement("div",{class:"image_wrapper"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxImage",view:(e,{writer:o})=>{const n=o.createContainerElement("img",{class:"img",src:e.getAttribute("customSrc")});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxTextWrapper",view:(e,{writer:o})=>{const n=o.createContainerElement("div",{class:"text_wrapper"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxIcon",view:(e,{writer:o})=>{const n=o.createContainerElement("span",{class:"quote-icon"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxContent",view:(e,{writer:o})=>{const n=o.createContainerElement("div",{class:"quote-content"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxCaptionWrapper",view:(e,{writer:o})=>{const n=o.createContainerElement("div",{class:"caption_wrapper"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxText",view:(e,{writer:o})=>{const n=o.createContainerElement("div",{class:"text"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxAuthor",view:(e,{writer:o})=>{const n=o.createContainerElement("span",{class:"author"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}}),e.for("editingDowncast").elementToElement({model:"QuoteBoxCaption",view:(e,{writer:o})=>{const n=o.createContainerElement("span",{class:"caption"});return(0,t.toWidget)(n,o,{label:"Block Quote widget"})}})}}var l=o("ckeditor5/src/ui.js");class a extends e.Plugin{init(){const e=this.editor,t=this.editor.config.get("blockquote");if(!t)return;const{libraryURL:o,openDialog:n,dialogSettings:r={}}=t;o&&"function"==typeof n&&e.ui.componentFactory.add("QuoteBox",(t=>{const i=e.commands.get("insertQuoteBox"),a=new l.ButtonView(t);return a.set({label:e.t("Block quote Button"),icon:'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16px" height="16px" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" xmlns:xlink="http://www.w3.org/1999/xlink">\n<g><path style="opacity:0.865" fill="#4a4a4a" d="M 2.5,-0.5 C 3.16667,-0.5 3.83333,-0.5 4.5,-0.5C 7.4254,4.0387 6.4254,7.70537 1.5,10.5C 1.16667,10.1667 0.833333,9.83333 0.5,9.5C 1.16667,8.5 1.83333,7.5 2.5,6.5C -0.0476798,4.0509 -0.0476798,1.71757 2.5,-0.5 Z"/></g>\n<g><path style="opacity:0.895" fill="#494949" d="M 10.5,-0.5 C 11.1667,-0.5 11.8333,-0.5 12.5,-0.5C 15.9157,4.88219 14.5824,8.38219 8.5,10C 9.74332,8.84555 10.7433,7.51221 11.5,6C 8.11782,4.13036 7.78448,1.96369 10.5,-0.5 Z"/></g>\n<g><path style="opacity:1" fill="#474847" d="M 6.5,9.5 C 7.30943,10.4687 8.30943,11.3021 9.5,12C 8.33333,12.5 7.5,13.3333 7,14.5C 6.5,13.3333 5.66667,12.5 4.5,12C 5.75598,11.5831 6.42265,10.7498 6.5,9.5 Z"/></g>\n</svg>\n',tooltip:!0}),a.bind("isOn","isEnabled").to(i,"value","isEnabled"),this.listenTo(a,"execute",(()=>{n(o,(t=>{e.execute("insertQuoteBox",t)}),r)})),a}))}}class s extends e.Plugin{static get requires(){return[i,a]}}const c={QuoteBox:s}})(),n=n.default})()));
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.