1/*! cmsmasters-elementor-addon - v1.20.2 - 26-01-2026 */ 2"use strict";(self.webpackChunkcmsmasters_elementor_addon=self.webpackChunkcmsmasters_elementor_addon||[]).push([[4292],{7638:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=elementorModules.frontend.handlers.Base;t.default=class PostExcerpt extends r{getDefaultSettings(){return{selectors:{paragraph:"p:first"},classes:{dropCap:"cmsmasters-drop-cap",dropCapLetter:"cmsmasters-drop-cap__letter"}}}getDefaultElements(){const e=this.getSettings("selectors"),t=this.getSettings("classes"),r=jQuery("<span>",{class:t.dropCap}),s=jQuery("<span>",{class:t.dropCapLetter});return r.append(s),{$paragraph:this.$element.find(e.paragraph),$dropCap:r,$dropCapLetter:s}}onInit(){super.onInit(...arguments),this.wrapDropCap()}wrapDropCap(){if(!this.getElementSettings("drop_cap"))return void(this.dropCapLetter&&(this.elements.$dropCap.remove(),this.elements.$paragraph.prepend(this.dropCapLetter),this.dropCapLetter=""));const e=this.elements.$paragraph;if(!e.length)return;const t=e.html().replace(/ /g," "),r=t.match(/^ *([^ ] ?)/);if(!r)return;const s=r[1],p=s.trim();if("<"===p)return;this.dropCapLetter=s,this.elements.$dropCapLetter.text(p);const a=t.slice(s.length).replace(/^ */,(e=>new Array(e.length+1).join(" ")));e.html(a).prepend(this.elements.$dropCap)}onElementChange(e){"drop_cap"===e&&this.wrapDropCap()}}}}]);
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.