PageSourceSearch

https://socialloop.ai/_next/static/chunks/9085.4d0e091bdb661681.js

js socialloop.ai collected 2026-10-05 12:47:34 UTC 1,055 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1466,9085],{29085:(e,t,r)=>{r.d(t,{T:()=>p});var u=r(12115);function n(e,t){if("reset"===t.type)return{past:[],present:t.value,future:[],at:0};if("undo"===t.type)return e.past.length?{past:e.past.slice(0,-1),present:e.past[e.past.length-1],future:[e.present,...e.future],at:0}:e;if("redo"===t.type)return e.future.length?{past:[...e.past,e.present],present:e.future[0],future:e.future.slice(1),at:0}:e;if("change"!==t.type)return e;let r="function"==typeof t.value?t.value(e.present):t.value;return JSON.stringify(r)===JSON.stringify(e.present)?e:{past:t.group&&e.group===t.group&&t.at-e.at<1e3?e.past:[...e.past,e.present].slice(-50),present:r,future:[],group:t.group,at:t.at}}function p(e){let[t,r]=(0,u.useReducer)(n,{past:[],present:e,future:[],at:0});return{value:t.present,canUndo:!!t.past.length,canRedo:!!t.future.length,change:(e,t)=>r({type:"change",value:e,group:t,at:Date.now()}),reset:e=>r({type:"reset",value:e}),undo:()=>r({type:"undo"}),redo:()=>r({type:"redo"})}}}}]);

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.