1import{wrap}from"util.misc";class ElementTextRTE extends HTMLElement{connectedCallback(){this.querySelectorAll("table").forEach(table=>{var wrapWith=document.createElement("div");wrapWith.classList.add("table-wrapper"),wrap(table,wrapWith)}),this.querySelectorAll('iframe[src*="youtube.com/embed"]').forEach(iframe=>{this.wrapVideo(iframe)}),this.querySelectorAll('iframe[src*="player.vimeo"]').forEach(iframe=>{this.wrapVideo(iframe)}),this.querySelectorAll("a img").forEach(img=>{img.parentNode.classList.add("rte__image")})}wrapVideo(iframe){iframe.src=iframe.src;var wrapWith=document.createElement("div");wrapWith.classList.add("video-wrapper"),wrap(iframe,wrapWith)}}customElements.define("element-text-rte",ElementTextRTE); 2//# sourceMappingURL=/cdn/shop/t/68/assets/element.text.rte.js.map?v=28194737298593644281785919704
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.