Benign arch Download

assets/chunk/simple-editor-5.5.6-BLd3My6K.js

Reads event/target value or innerText
SHA-256d0f5a5132b8dd3c26658e4f64bfa6489e929eded1911c3790a3bd2271898613a
MaleculeH(U)

Evidence

Clipboard keyword line 1
1import{i as e,t}from"./react-5.5.6-B8IZ02wI.js";import{t as n}from"./jsx-runtime-5.5.6-DnPNXKJ1.js";import{t as r}from"./ArrowDownOutlined-5.5.6-CCWwnDNA.js";import{t as i}from"./ArrowUpOutlined-5.5.6-BhMArQY9.js";import{t as a}from"./CopyOutlined-5.5.6-D9k9wU7V.js";import{t as o}from"./input-5.5.6-BKHP6php.js";import{t as s}from"./SearchOutlined-5.5.6-BXE-bQzh.js";import{t as c}from"./button-5.5.6-DfT1lb83.js";import{t as l}from"./flex-5.5.6-SrnvimB_.js";import{t as u}from"./clipboard-5.5.6-DThjICH7.js";import{t as d}from"./toString-5.5.6-DID49tqv.js";var f=/[\\^$.*+?()[\]{}|]/g,p=RegExp(f.source);function m(e){return e=d(e),e&&p.test(e)?e.replace(f,`\\$&`):e}var h=e(t()),g=n();function _(e){let[t,n]=(0,h.useState)(``),[d,f]=(0,h.useState)([] …
Reads an array element into a variable lines 1–2
1:827… (0,h.useEffect)(()=>{if(v){if(p>=0&&d.length>0){let t=d[p];if(b.current){let n=b.current.resizableTextArea.textArea;n.setSelectionRange(t.start,t.end),n.focus(),setTimeout(()=>{let r=e.value.substring(0,t.start).split(`
2`).length-1,i=(parseInt(window.getComputedStyle(n).lineHeight)||20)*r-n.clientHeight/2,a=n.scrollHeight-n.clientHeight;n.scrollTop=Math.max(0,Math.min(i,a))},0)}}y(!1)}},[p,d]),(0,h.useEffect)(()=>{S()},[t]),(0,h.useEffect)(()=>{C()},[e.value]);let x=()=>{u(e.value||``)},S=()=>{if(!t){f([]),_(-1);return}let n=[],r=e.value||``,i=m(t),a=new RegExp(i,`gi`),o;for(;(o=a.exec(r))!==null;)n.push({start:o.index,end:o.index+t.length});f(n),_(n.length?0:-1)},C=()=>{if(!t){f([]);return}let n=[],r=e.value||``,i=m(t),a=new RegExp(i,`gi`),o;for(;(o=a.exec(r))!==null;)n.push({start:o. …
Reads event/target value or innerText line 2
2:614… e=>{e&&e.stopPropagation&&(e.stopPropagation(),e.preventDefault()),S(),E()};function T(e){n(e.target.value)}let E=()=>{y(!0),p<d.length-1?_(p+1):_(0)},D=()=>{y(!0),_(p>0?p-1:d.length-1)},O=()=>d.length===0?null:(0,g.jsxs)(g.Fragment,{ …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.