PageSourceSearch

https://peanut.me/_next/static/chunks/11607.a1670fbada30d402.js

js peanut.me collected 2026-10-08 08:11:56 UTC 8,960 bytes, 9 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5a9dfd67-a048-4871-a70c-062713d26a2f",e._sentryDebugIdIdentifier="sentry-dbid-5a9dfd67-a048-4871-a70c-062713d26a2f")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11607],{11607:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var r=n(74170),s=n(59502),a=n(47383),i=n(50099),l=n(6258),o=n(87916);let c=({id:e,type:t="info",message:n,content:i,className:c,hideIcon:u,duration:d,onShow:b})=>{let f=(0,s.I)();return(0,l.useEffect)(()=>{b?.(e)},[e,b]),(0,r.jsx)(a.P.div,{...f?{}:{initial:{scale:.8,y:80},animate:{scale:1,y:0},exit:{scale:.9,y:200,transition:{duration:.2,ease:"easeIn"}},transition:{type:"spring",stiffness:400,damping:25}},className:"max-w-[calc(100vw_-_2rem)] md:max-w-md",children:(0,r.jsx)(o.Callout,{variant:"floating",priority:t,className:c,progressMs:"number"==typeof d?d:void 0,hideIcon:u||null!=i,children:i??n})})};function u({toasts:e,onShow:t}){return(0,r.jsx)(i.N,{mode:"sync",children:e.map(e=>(0,r.jsx)(c,{...e,onShow:t},e.id))})}},24633:(e,t,n)=>{n.d(t,{S:()=>c});var r=n(74170),s=n(63150),a=n(76469);let i={xs:"size-6",s:"size-8",m:"size-12",l:"size-18"},l={xs:16,s:16,m:24,l:40},o={green:"bg-background-icon-bubble-green",red:"bg-background-icon-bubble-red",yellow:"bg-background-icon-bubble-yellow",gray:"bg-background-icon-bubble-gray",blue:"bg-background-icon-bubble-blue",brand:"bg-background-brand"},c=({icon:e,size:t="m",color:n="green",className:c,iconClassName:u,...d})=>(0,r.jsx)("div",{className:(0,s.Q)("flex shrink-0 items-center justify-center rounded-full text-foreground-primary",i[t],o[n],c),...d,children:"string"==typeof e?(0,r.jsx)(a.I,{name:e,size:l[t],className:u}):e})},50099:(e,t,n)=>{n.d(t,{N:()=>h});var r=n(74170),s=n(6258),a=n(14327),i=n(77803),l=n(86451),o=n(98154);class c extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){let n=(0,s.useId)(),a=(0,s.useRef)(null),i=(0,s.useRef)({width:0,height:0,top:0,left:0}),{nonce:l}=(0,s.useContext)(o.Q);return(0,s.useInsertionEffect)(()=>{let{width:e,height:r,top:s,left:o}=i.current;if(t||!a.current||!e||!r)return;a.current.dataset.motionPopId=n;let c=document.createElement("style");return l&&(c.nonce=l),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
2          [data-motion-pop-id="${n}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${r}px !important;
6            top: ${s}px !important;
7            left: ${o}px !important;
8          }
9        `),()=>{document.head.removeChild(c)}},[t]),(0,r.jsx)(c,{isPresent:t,childRef:a,sizeRef:i,children:s.cloneElement(e,{ref:a})})}let d=({children:e,initial:t,isPresent:n,onExitComplete:a,custom:o,presenceAffectsLayout:c,mode:d})=>{let f=(0,i.M)(b),g=(0,s.useId)(),m=(0,s.useCallback)(e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;a&&a()},[f,a]),p=(0,s.useMemo)(()=>({id:g,initial:t,isPresent:n,custom:o,onExitComplete:m,register:e=>(f.set(e,!1),()=>f.delete(e))}),c?[Math.random(),m]:[n,m]);return(0,s.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[n]),s.useEffect(()=>{n||f.size||!a||a()},[n]),"popLayout"===d&&(e=(0,r.jsx)(u,{isPresent:n,children:e})),(0,r.jsx)(l.t.Provider,{value:p,children:e})};function b(){return new Map}var f=n(49828);let g=e=>e.key||"";function m(e){let t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}var p=n(95508);let h=({children:e,custom:t,initial:n=!0,onExitComplete:l,presenceAffectsLayout:o=!0,mode:c="sync",propagate:u=!1})=>{let[b,h]=(0,f.xQ)(u),x=(0,s.useMemo)(()=>m(e),[e]),y=u&&!b?[]:x.map(g),k=(0,s.useRef)(!0),v=(0,s.useRef)(x),j=(0,i.M)(()=>
9new Map),[w,N]=(0,s.useState)(x),[C,I]=(0,s.useState)(x);(0,p.E)(()=>{k.current=!1,v.current=x;for(let e=0;e<C.length;e++){let t=g(C[e]);y.includes(t)?j.delete(t):!0!==j.get(t)&&j.set(t,!1)}},[C,y.length,y.join("-")]);let E=[];if(x!==w){let e=[...x];for(let t=0;t<C.length;t++){let n=C[t],r=g(n);y.includes(r)||(e.splice(t,0,n),E.push(n))}"wait"===c&&E.length&&(e=E),I(m(e)),N(x);return}let{forceRender:z}=(0,s.useContext)(a.L);return(0,r.jsx)(r.Fragment,{children:C.map(e=>{let s=g(e),a=(!u||!!b)&&(x===C||y.includes(s));return(0,r.jsx)(d,{isPresent:a,initial:(!k.current||!!n)&&void 0,custom:a?void 0:t,presenceAffectsLayout:o,mode:c,onExitComplete:a?void 0:()=>{if(!j.has(s))return;j.set(s,!0);let e=!0;j.forEach(t=>{t||(e=!1)}),e&&(null==z||z(),I(v.current),u&&(null==h||h()),l&&l())},children:e},s)})})}},59502:(e,t,n)=>{n.d(t,{I:()=>i});var r=n(6258),s=n(40237),a=n(1986);function i(){a.r.current||(0,s.U)();let[e]=(0,r.useState)(a.O.current);return e}},77172:(e,t,n)=>{n.d(t,{LinkButton:()=>c,R:()=>o});var r=n(74170);n(6258);var s=n(37477),a=n.n(s),i=n(63150),l=n(76469);let o="relative inline-flex items-center gap-1 rounded text-body-xs text-foreground-secondary underline transition-colors duration-instant after:absolute after:inset-x-0 after:-inset-y-3.5 focus-visible:outline-2 focus-visible:outline-action-focus",c=({children:e,href:t,onClick:n,icon:s,disabled:c,external:u,className:d,...b})=>{let f=(0,i.Q)(o,c&&"pointer-events-none opacity-40",d),g=(0,r.jsxs)(r.Fragment,{children:[e,s&&(0,r.jsx)(l.I,{name:"arrow-up-right",size:14,className:"shrink-0"})]});return t&&!c?(0,r.jsx)(a(),{href:t,onClick:n,className:f,...u&&{target:"_blank",rel:"noopener noreferrer"},...b,children:g}):(0,r.jsx)("button",{type:"button",onClick:n,disabled:c,className:f,...b,children:g})}},87916:(e,t,n)=>{n.d(t,{Callout:()=>u});var r=n(74170);n(6258);var s=n(22404),a=n(63150),i=n(76469),l=n(24633),o=n(77172);let c={info:{icon:"info",bg:"bg-background-badge-info",surface:"bg-background-surface-info",bubble:"blue",bar:"bg-background-icon-bubble-blue"},success:{icon:"check",bg:"bg-background-badge-success",surface:"bg-background-surface-success",bubble:"green",bar:"bg-background-icon-bubble-green"},attention:{icon:"alert",bg:"bg-background-badge-attention",surface:"bg-background-surface-attention",bubble:"yellow",bar:"bg-background-icon-bubble-yellow"},helper:{icon:"info",bg:"bg-background-badge-helper",surface:"bg-background-surface-helper",bubble:"gray",bar:"bg-background-icon-bubble-gray"},error:{icon:"ban",bg:"bg-background-badge-error",surface:"bg-background-surface-error",bubble:"red",bar:"bg-background-icon-bubble-red"}},u=({priority:e="info",variant:t="inline",hideIcon:n=!1,title:u,children:d,items:b,onDismiss:f,progressMs:g,ctas:m,className:p,...h})=>{let x=(0,s.c)("common"),{icon:y,bg:k,surface:v,bubble:j,bar:w}=c[e],N="floating"===t,C=N?void 0:m,I=N?void 0:f,E=b?b.length>0&&(0,r.jsx)("ul",{role:"list",className:"flex flex-col gap-1",children:b.map((e,t)=>(0,r.jsxs)("li",{className:"flex items-start gap-2",children:[(0,r.jsx)(i.I,{name:"check",size:16,className:"mt-0.5 shrink-0"}),(0,r.jsx)("div",{className:"min-w-0 flex-1",children:e})]},t))}):d,z=!b&&!n,_=z?N?"pl-8":"pl-6":"";return E||u||C?.length?(0,r.jsxs)("div",{role:"error"===e||"attention"===e?"alert":"status",className:(0,a.Q)("flex items-start gap-2 rounded-sm p-3 text-start text-foreground-over-color-secondary",N?(0,a.Q)("relative border border-border-default pb-2 text-foreground-primary shadow-4",v):k,p),...h,children:[(0,r.jsxs)("div",{className:(0,a.Q)("flex min-w-0 flex-1 flex-col gap-2",N&&"-mt-0.5"),children:[(0,r.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,r.jsxs)("div",{className:"flex items-start gap-2",children:[z&&(N?(0,r.jsx)(l.S,{icon:y,size:"xs",color:j,className:"-mt-0.5"}):(0,r.jsx)(i.I,{name:y,size:16,className:"mt-0.5 shrink-0"})),u?(0,r.jsx)("span",{className:"text-body-s font-semibold",children:u}):(0,r.jsx)("div",{className:"min-w-0 flex-1 text-body-s break-words",children:E})]}),u&&(0,r.jsx)("div",{className:(0,a.Q)("text-body-s break-words",_),children:E})]}),!!C?.length&&(0,r.jsx)("div",{className:(0,a.Q)("flex flex-wrap gap-6",_),children:C.slice(0,2).map((e,t)=>(0,r.jsx)(o.LinkButton,{onClick:e.onClick,children:e.label},t))})]}),I&&(0,r.jsx)("button",{type:"button","aria-label":x("close"),onClick:I,className:"relative -m-1 flex size-6 shrink-0 items-center justify-center rounded-full text-foreground-over-color-secondary transition-opacity duration-instant after:absolute after:-inset-2.5 focus-visible:outline-[3px] focus-visible:outline-action-focus active:opacity-60",children:(0,r.jsx)(i.I,{name:"cancel",size:12})}
9),N&&!!g&&(0,r.jsx)("span",{"aria-hidden":!0,className:(0,a.Q)("pointer-events-none absolute inset-x-0 bottom-0 h-1 origin-left rounded-b-sm motion-safe:animate-toast-progress",w),style:{animationDuration:`${g}ms`}})]}):null}}}]);

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.