PageSourceSearch

https://informal.systems/_next/static/chunks/7647-a82d80fb3b050064.js

js informal.systems collected 2026-10-02 04:58:27 UTC 6,151 bytes, 10 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7647],{32562:(e,t,r)=>{"use strict";r.d(t,{$$:()=>u,Cj:()=>i,DE:()=>v,Mj:()=>s,QH:()=>p,Ub:()=>d});var n=r(12115);r(88230);var o="u">typeof window?n.useLayoutEffect:n.useEffect;function a(e,t,r,a){let i=(0,n.useRef)(t);o(()=>{i.current=t},[t]),(0,n.useEffect)(()=>{let t=(null==r?void 0:r.current)??window;if(!(t&&t.addEventListener))return;let n=e=>{i.current(e)};return t.addEventListener(e,n,a),()=>{t.removeEventListener(e,n,a)}},[e,r,a])}function i(){let[e,t]=(0,n.useState)(null);return[e,(0,n.useCallback)(async e=>{if(!(null==navigator?void 0:navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(e),t(e),!0}catch(e){return console.warn("Copy failed",e),t(null),!1}},[])]}function u(e,t){let r=(0,n.useRef)(e);o(()=>{r.current=e},[e]),(0,n.useEffect)(()=>{if(null===t)return;let e=setInterval(()=>{r.current()},t);return()=>{clearInterval(e)}},[t])}function l(e){let t=(0,n.useRef)(()=>{throw Error("Cannot call an event handler while rendering.")});return o(()=>{t.current=e},[e]),(0,n.useCallback)((...e)=>{var r;return null==(r=t.current)?void 0:r.call(t,...e)},[t])}var c="u"<typeof window;function s(e,t,r={}){let{initializeWithValue:o=!0}=r,i=(0,n.useCallback)(e=>r.serializer?r.serializer(e):JSON.stringify(e),[r]),u=(0,n.useCallback)(e=>{let n;if(r.deserializer)return r.deserializer(e);if("undefined"===e)return;let o=t instanceof Function?t():t;try{n=JSON.parse(e)}catch(e){return console.error("Error parsing JSON:",e),o}return n},[r,t]),f=(0,n.useCallback)(()=>{let r=t instanceof Function?t():t;if(c)return r;try{let t=window.localStorage.getItem(e);return t?u(t):r}catch(t){return console.warn(`Error reading localStorage key \u201C${e}\u201D:`,t),r}}
1,[t,e,u]),[d,v]=(0,n.useState)(()=>o?f():t instanceof Function?t():t),g=l(t=>{c&&console.warn(`Tried setting localStorage key \u201C${e}\u201D even though environment is not a client`);try{let r=t instanceof Function?t(f()):t;window.localStorage.setItem(e,i(r)),v(r),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))}catch(t){console.warn(`Error setting localStorage key \u201C${e}\u201D:`,t)}}),p=l(()=>{c&&console.warn(`Tried removing localStorage key \u201C${e}\u201D even though environment is not a client`);let r=t instanceof Function?t():t;window.localStorage.removeItem(e),v(r),window.dispatchEvent(new StorageEvent("local-storage",{key:e}))});(0,n.useEffect)(()=>{v(f())},[e]);let w=(0,n.useCallback)(t=>{t.key&&t.key!==e||v(f())},[e,f]);return a("storage",w),a("local-storage",w),[d,g,p]}var f="u"<typeof window;function d(e,{defaultValue:t=!1,initializeWithValue:r=!0}={}){let a=e=>f?t:window.matchMedia(e).matches,[i,u]=(0,n.useState)(()=>r?a(e):t);function l(){u(a(e))}return o(()=>{let t=window.matchMedia(e);return l(),t.addListener?t.addListener(l):t.addEventListener("change",l),()=>{t.removeListener?t.removeListener(l):t.removeEventListener("change",l)}},[e]),i}function v(){let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t(!0)},[]),e}var g="u"<typeof window;function p(e,t={}){let{initializeWithValue:r=!0}=t;g&&(r=!1);let o=(0,n.useCallback)(e=>{let r;if(t.deserializer)return t.deserializer(e);if("undefined"!==e){try{r=JSON.parse(e)}catch(e){return console.error("Error parsing JSON:",e),null}return r}},[t]),i=(0,n.useCallback)(()=>{if(g)return null;try{let t=window.localStorage.getItem(e);return t?o(t):null}catch(t){return console.warn(`Error reading localStorage key \u201C${e}\u201D:`,t),null}},[e,o]),[u,l]=(0,n.useState)(()=>{if(r)return i()});(0,n.useEffect)(()=>
1{l(i())},[e]);let c=(0,n.useCallback)(t=>{t.key&&t.key!==e||l(i())},[e,i]);return a("storage",c),a("local-storage",c),u}},39578:(e,t,r)=>{"use strict";r.d(t,{Icon:()=>i});var n=r(95155),o=r(12115),a=r(622);function i({className:e,name:t,rotate:r,spin:u=!1,variant:l="regular",...c}){let[s,f]=(0,o.useState)(!1);(0,o.useEffect)(()=>{f(!0)},[]);let[d=l,v]=t.includes(":")?t.split(":"):[void 0,t];return s?(0,n.jsx)("span",{className:(0,a.QP)("no-underline!",e),...c,children:(0,n.jsx)("i",{"data-icon":!0,className:(0,a.QP)(`
2            fa
3            fa-fw
4            fa-${v}
5          `,"string"==typeof r&&`fa-${r}`,"number"==typeof r&&`fa-rotate-${r}`,u&&"fa-spin",d&&d.startsWith("sharp-")?`
6              fa-sharp
7              fa-${d.replace("sharp-","")}
8            `:`
9              fa-${d}
10            `)})},`${d}-${v}`):(0,n.jsx)("span",{className:(0,a.QP)("no-underline!",e),...c})}},65922:(e,t,r)=>{"use strict";r.d(t,{I:()=>n.Icon});var n=r(39578)},88230:(e,t,r)=>{var n=0/0,o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,s="object"==typeof self&&self&&self.Object===Object&&self,f=c||s||Function("return this")(),d=Object.prototype.toString,v=Math.max,g=Math.min,p=function(){return f.Date.now()};function w(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==d.call(t))return n;if(w(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=w(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var c=i.test(e);return c||u.test(e)?l(e.slice(2),c?2:8):a.test(e)?n:+e}e.exports=function(e,t,r){var n,o,a,i,u,l,c=0,s=!1,f=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function h(t){var r=n,a=o;return n=o=void 0,c=t,i=e.apply(a,r)}function m(e){var r=e-l,n=e-c;return void 0===l||r>=t||r<0||f&&n>=a}function b(){var e,r,n,o=p();if(m(o))return E(o);u=setTimeout(b,(e=o-l,r=o-c,n=t-e,f?g(n,a-r):n))}function E(e){return(u=void 0,d&&n)?h(e):(n=o=void 0,i)}function S(){var e,r=p(),a=m(r);if(n=arguments,o=this,l=r,a){if(void 0===u)return c=e=l,u=setTimeout(b,t),s?h(e):i;if(f)return u=setTimeout(b,t),h(l)}return void 0===u&&(u=setTimeout(b,t)),i}return t=y(t)||0,w(r)&&(s=!!r.leading,a=(f="maxWait"in r)?v(y(r.maxWait)||0,t):a,d="trailing"in r?!!r.trailing:d),S.cancel=function(){void 0!==u&&clearTimeout(u),c=0,n=l=o=u=void 0},S.flush=function(){return void 0===u?i:E(p())},S}}}]);

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.