PageSourceSearch

https://www.7x7.com/static/dist/social-ux/1742.44d2382c59fb8dfbce86.bundle.mjs

js 7x7.com collected 2026-09-24 08:37:27 UTC 3,770 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[1742],{1742:function(n,t,e){e.r(t),e.d(t,{default:function(){return E}});var r=e(8903),o=e(2845),c=e(1575),s=e(7611),i=e(8704),a=e(6762),u=e(9781),d=e(1396),l=e(3964);const m=(0,l.A)((function(n,t){if(!t.selection)return!1;let{from:e,$from:r,to:o,empty:c}=t.selection;return c?n.isInSet(t.storedMarks||r.marks()):t.doc.rangeHasMark(e,o,n)})),f=(0,l.A)((function(n,t,e,r){if(m(n,t))return(0,a.wh)(n)(t,e),!0;const o=prompt("Please insert the link href");o&&(0,a.wh)(n,{href:o})(r.state,r.dispatch),r.focus()}));var p=e(9025);function h(n,[t,e]){return n[t]=e,n}function k(n,t){const e=Object.entries(t).reduce(h,{active:m(n),enable:!0});return function(n,t){const e=Object.entries(t).reduce(h,{label:t.title,run:n});return t.enable&&!0!==t.enable||t.select||(e[t.enable?"enable":"select"]=n),new p.Dr(e)}((0,a.wh)(n),e)}function w(n,t){const e=[],r=k(t.marks.strong,{title:"Toggle strong style",icon:p.Pt.strong}),o=k(t.marks.em,{title:"Toggle emphasis",icon:p.Pt.em});if(e.push(r),e.push(o),n.enableLinks){const n=t.marks.link,r=new p.Dr({title:"Add or remove link",icon:p.Pt.link,active(t){return m(t,n)},enable(n){return!n.selection.empty},run:f(n)});e.push(r)}const c=[e];return(0,p.Hy)({floating:!1,content:c})}const b=/\w+/g;function g(n){const t=n.match(b);return t?t.length:0}function M(n,t,e){const r=["Words: "];return t&&r.push(`<span class="comment--item-word-count-min">${t}</span>/`),r.push(`<span class="comment--item-word-count-user">${n}</span>`),e&&r.push(`/<span class="comment--item-word-count-max">${e}</span>`),r.join("")}function v(n){if(!("wordsLimit"in n))return[];const{wordsLimit:{max:t,min:e}}=n,r=t?parseInt(t,10):0,c=e?parseInt(e,10):0;if(!r&&!c)return[];return[new o.k_({view:function(n){const t=document.createElement("div");return t.classList.add("comment--item-word-count"),t.innerHTML=M(0,c,r),n.dom.parentNode.appendChild(t),{update:function(n,e){const o=n.state;if(e&&e.doc.eq(o.doc))return;const s=g(o.doc.textContent);t.innerHTML=M(s,c,r)},destroy:function(){t.remove()}}},filterTransaction:function(n){return!n.docChanged||!r||g(n.doc.textContent)<=r}})]}function C(n,t){if(!n.enableLinks)return[];const e=t.marks.link;return[(0,d.w)({"Mod-q":f(e)})]}var L=e(7644),S=e(3772);function E(n){const t=new r.Sj({nodes:(0,S.ZW)(L.wQ.spec.nodes,"paragraph block*","block"),marks:L.wQ.spec.marks}),e=function(n,t){const e=(0,a.wh)(n.marks.strong),r=(0,a.wh)(n.marks.em),o=(0,a.st)(a.I$,((t,e)=>(e(t.tr.replaceSelectionWith(n.nodes.hard_break.create()).scrollIntoView()),!0)));return[(0,d.w)({"Mod-z":u.tN,"Shift-Mod-z":u.ZS,"Mod-y":u.ZS,"Mod-b":e,"Mod-B":e,"Mod-i":r,"Mod-I":r,"Mod-Enter":o,"Shift-Enter":o,"Ctrl-Enter":o}),(0,d.w)(a.RV),w(t,n),(0,u.b6)(),...C(t,n),...v(t)]}(t,n),s=r.S4.fromSchema(t).parse(function(n){const t=document.createElement("div");return t.innerHTML=n,t}(n.initialContent||"")),i=o.$t.create({schema:t,plugins:e,doc:s}),[l,m]=function(){const n=document.createElement("div");n.classList.add("rm-prosemirror-parent");const t=document.createElement("div");return t.classList.add("rm-prosemirror-container"),n.appendChild(t),[n,t]}(),f=new c.Lz(m,{state:i});return{parent:l,container:m,editor:f,getContent:function(){const n=r.ZF.fromSchema(t).serializeFragment(f.state.doc.content),e=d
1ocument.createElement("div");return e.appendChild(n),e.innerHTML},getTextContent:function(){return f.state.doc.textContent},clear:function(){f.updateState(o.$t.create({schema:t,plugins:e}))},enable:function(){f.dom.contentEditable=!0},disable:function(){f.dom.contentEditable=!1},destroy:function(){f.destroy()}}}(0,i.A)("/static/css-build/roar/runner/components/prosemirror.css",s.A)}}]);
2//# sourceMappingURL=1742.44d2382c59fb8dfbce86.bundle.mjs.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.