PageSourceSearch

https://aisle.com/_next/static/chunks/5666.f3fe88d903464e23.js

js aisle.com collected 2026-10-02 03:52:34 UTC 13,597 bytes, 4 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c1ba2ab1-f9f7-5084-b97c-e80ca6b882ef")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5666],{85666:(e,t,l)=>{l.r(t),l.d(t,{FeaturesDemo:()=>w});var i=l(46543),n=l(28128);let o={damping:26,stiffness:170},r={damping:20,stiffness:200};function s(e,t,l){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.3,o=l*t;return(0,n.GW)(e,[o,o+i*t],[0,1],{extrapolateLeft:"clamp",extrapolateRight:"clamp"})}function d(e,t,l){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20,r=(0,n.oz)({frame:e,fps:t,delay:Math.round(l*t),config:o});return(0,n.GW)(r,[0,1],[i,0])}function a(e,t,l,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:60,r=l*t,s=i/o*t;return Math.round((0,n.GW)(e,[r,r+s],[0,i],{extrapolateLeft:"clamp",extrapolateRight:"clamp"}))}var c=l(2132);let x=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 199 156",fill:"none",style:{width:20,height:20},children:(0,i.jsx)("path",{fill:"#3fb950",d:"M.707 75.5v79.687h23.679L87.992 35.519V0L24.386 75.5H.707ZM175.277 75.5 111.675 0v35.519l63.602 119.668h23.683V75.5h-23.683Z"})}),p=()=>(0,i.jsx)("span",{style:{fontSize:11,fontWeight:600,backgroundColor:"rgba(63, 185, 80, 0.15)",color:c.lm.green,padding:"1px 5px",borderRadius:3,letterSpacing:"0.04em",textTransform:"uppercase",display:"inline-block"},children:"bot"}),h=e=>{let{frame:t,fps:l,showSec:n,hideSec:o}=e,r=n*l;return t<r||t>=o*l?null:(0,i.jsx)("div",{style:{display:"flex",gap:3,padding:"4px 0",alignItems:"center"},children:[0,1,2].map(e=>(0,i.jsx)("div",{style:{width:5,height:5,borderRadius:"50%",backgroundColor:c.lm.textMuted,transform:"translateY(".concat(4*Math.sin((t-r)/l*Math.PI*4-1.8*e),"px)")}},e))})},m=e=>{let{frame:t,visible:l}=e;if(!l)return null;let n=4>Math.floor(t%8);return(0,i.jsx)("span",{style:{display:"inline-block",width:2,height:"1em",backgroundColor:c.lm.text,opacity:+!!n,marginLeft:1,verticalAlign:"text-bottom"}})},g=e=>{let{size:t=16,color:l=c.lm.text}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:l,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})},f=e=>{let{size:t=16,color:l=c.lm.text}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:l,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,i.jsx)("path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}),(0,i.jsx)("path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}),(0,i.jsx)("path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}),(0,i.jsx)("path",{d:"m2 2 20 20"})]})},u=()=>(0,i.jsx)("div",{style:{width:36,height:36,borderRadius:6,backgroundColor:"#0f2418",border:"1px solid ".concat(c.lm.green,"33"),display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:(0,i.jsx)(x,{})}),y=()=>(0,i.jsxs)("div",{style:{backgroundColor:c.lm.bgLight,border:"1px solid ".concat(c.lm.border),borderBottom:"none",borderRadius:"6px 6px 0 0",padding:"8px 14px",display:"flex",alignItems:"center",gap:6},children:[(0,i.jsx)("span",{style:{fontSize:14,fontWeight:600,color:c.lm.text},children:"aisle-security"}),(0,i.jsx)(p,{}),(0,i.jsx)("span",{style:{fontSize:13,color:c.lm.textMuted},children:"commented now"})]}),b=()=>{let e={padding:"6px 10px",fontSize:14,borderBottom:"1px solid ".concat(c.lm.border),fontFamily:c.Sl},t={...e,fontWeight:600,color:c.lm.text,backgroundColor:c.lm.bgLight,fontSize:13,textTransform:"uppercase",letterSpacing:"0.04em"};return(0,i.jsx)("div",{style:{border:"1px solid ".concat(c.lm.border),borderRadius:6,overflow:"hidden"},children:(0,i.jsxs)("table",{style:{width:"100%",borderCollapse:"collapse"},children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{style:{...t,width:32},children:"#"}),(0,i.jsx)("th",{style:{...t,width:80},children:"Severity"}),(0,i.jsx)("th",{style:t,children:"Title"})]})}),(0,i.jsxs)("tbody",{children:[(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{style:{...e,color:c.lm.textMuted},children:"1"}),(0,i.jsx)("td",{style:{...e,whiteSpace:"nowrap"},children:(0,i.jsx)("span",{style:{color:c.lm.red},children:"\uD83D\uDD34 Critical"})}),(0,i.jsx)("td",{style:{...e,color:c.lm.text,fontSize:13,lineHeight:"1.4"},children:"CVE-2024-3094: Remote code execution"})]}),(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{style:{...e,color:c.lm.textMuted,borderBottom:"none"},children:"2"}),(0,i.jsx)("td",{style:{...e,borderBottom:"none",whiteSpace:"nowrap"},children:(0,i.jsx)("span",{style:{color:c.lm.orange},children:"\uD83D\uDFE1 Medium"})}),(0,i.jsx)("td",{style:{...e,color:c.lm.text,fontSize:13,lineHeight:"1.4",borderBottom:"none"},children:"Hardcoded API token in config"})]})]})]})})},j={userComment:0,userTyping:.3,mention:1.4,reaction:2.5,userShrink:3,botComment:3.3,typing:3.6,botTitle:4.4,botSummary:4.9,table:5.4,botFooter:6,botPrRef:6,modalIn:8.3,toggleFlip:9.4,hiddenTyping:10,hiddenText:10.5,modalOut:10.5,hiddenLink:10.9},v="\uD83D\uDD12 Aisle Security Analysis",S="We found 2 potential security issue(s) in this PR:",w=()=>{let e=(0,n.UC)(),{fps:t}=(0,n.Bk)();return(0,i.jsxs)(n.H1,{style:{backgroundColor:c.lm.bg,fontFamily:c.Sl,overflow:"hidden"},children:[(0,i.jsxs)("div",{style:{padding:"16px 24px",transform:"scale(".concat(1.3,")"),transformOrigin:"top left",width:"".concat(76.92307692307692,"%"),height:"".concat(76.92307692307692,"%"),display:"flex",flexDirection:"column",justifyContent:"center"},children:[(0,i.jsx)(k,{frame:e,fps:t}),(0,i.jsx)("div",{style:{maxHeight:(0,n.GW)((0,n.oz)({frame:e,fps:t,delay:Math.round(j.botComment*t),config:o}),[0,1],[0,800]),overflow:"hidden"},children:(0,i.jsx)(C,{frame:e,fps:t})})]}),(0,i.jsx)(M,{frame:e,fps:t})]})},k=e=>{let{frame:t,fps:l}=e,o=s(t,l,j.userComment),a=d(t,l,j.userComment),x=(0,n.GW)(t,[j.userShrink*l,(j.userShrink+.4)*l],[1,.75],{extrapolateLeft:"clamp",extrapolateRight:"clamp"});return(0,i.jsxs)("div",{style:{opacity:o*x,transform:"translateY(".concat(a,"px)"),marginBottom:12,display:"flex",gap:12},children:[(0,i.jsx)(n.E9,{src:"https://github.com/stanislavfort.png?size=72",style:{width:36,height:36,borderRadius:"50%",flexShrink:0}}),(0,i.jsxs)("div",{style:{flex:1},children:[(0,i.jsxs)("div",{style:{backgroundColor:c.lm.bgLight,border:"1px solid ".concat(c.lm.border),borderBottom:"none",borderRadius:"6px 6px 0 0",padding:"8px 14px",display:"flex",alignItems:"center",gap:6},children:[(0,i.jsx)("span",{style:{fontSize:14,fontWeight:600,color:c.lm.text},children:"stanislavfort"}),(0,i.jsx)("span",{style:{fontSize:13,color:c.lm.textMuted},children:"commented now"})]}),(0,i.jsxs)("div",{style:{border:"1px solid ".concat(c.lm.border),borderRadius:"0 0 6px 6px",padding:"12px 14px"},children:[(0,i.jsx)(h,{frame:t,fps:l,showSec:j.userTyping,hideSec:j.mention}),(0,i.jsx)("div",{style:{opacity:s(t,l,j.mention),transform:"translateY(".concat(d(t,l,j.mention,8),"px)"),fontSize:16,color:c.lm.text},children:(0,i.jsx)("span",{style:{backgroundColor:"rgba(56, 139, 253, 0.15)",color:c.lm.blue,padding:"1px 4px",borderRadius:3,fontWeight:600},children:"@aisle-security"})}),(0,i.jsxs)("div",{style:{marginTop:8,transform:"scale(".concat(function(e,t,l){return(0,n.oz)({frame:e,fps:t,delay:Math.round(l*t),
3config:r})}(t,l,j.reaction),")"),transformOrigin:"left center",display:"inline-flex",alignItems:"center",gap:4,backgroundColor:c.lm.bgLight,border:"1px solid ".concat(c.lm.border),borderRadius:999,padding:"2px 8px",fontSize:14},children:[(0,i.jsx)("span",{children:"\uD83D\uDC40"}),(0,i.jsx)("span",{style:{color:c.lm.textMuted},children:"1"})]})]})]})]})},C=e=>{let{frame:t,fps:l}=e,n=s(t,l,j.botComment),o=d(t,l,j.botComment);return(0,i.jsxs)("div",{style:{opacity:n,transform:"translateY(".concat(o,"px)"),display:"flex",gap:12},children:[(0,i.jsx)(u,{}),(0,i.jsxs)("div",{style:{flex:1},children:[(0,i.jsx)(y,{}),(0,i.jsxs)("div",{style:{border:"1px solid ".concat(c.lm.border),borderRadius:"0 0 6px 6px",padding:"10px 16px",display:"flex",flexDirection:"column",gap:6},children:[t<j.hiddenTyping*l&&(0,i.jsx)(z,{frame:t,fps:l}),(0,i.jsx)(R,{frame:t,fps:l})]})]})]})},z=e=>{let{frame:t,fps:l}=e,o=a(t,l,j.botTitle,v.length),r=o>=v.length,x=a(t,l,j.botSummary,S.length),p=x>=S.length,g=t>=j.botTitle*l,f=t>=j.botSummary*l,u=j.toggleFlip*l,y=(j.toggleFlip+.4)*l,w=(0,n.GW)(t,[u,y],[1,0],{extrapolateLeft:"clamp",extrapolateRight:"clamp"});return(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10,opacity:w},children:[(0,i.jsx)(h,{frame:t,fps:l,showSec:j.typing,hideSec:j.botTitle}),g&&(0,i.jsxs)("div",{style:{fontSize:15,fontWeight:600,color:c.lm.text},children:[v.slice(0,o),(0,i.jsx)(m,{frame:t,visible:!r||!f})]}),f&&(0,i.jsxs)("div",{style:{fontSize:14,color:c.lm.text,lineHeight:"1.5"},children:[(0,i.jsx)(W,{chars:x}),(0,i.jsx)(m,{frame:t,visible:!p||t<j.table*l})]}),t>=j.table*l&&(0,i.jsx)("div",{style:{opacity:s(t,l,j.table),transform:"translateY(".concat(d(t,l,j.table,8),"px)")},children:(0,i.jsx)(b,{})}),(0,i.jsx)("div",{style:{opacity:s(t,l,j.botFooter),transform:"translateY(".concat(d(t,l,j.botFooter,8),"px)"),fontSize:14,color:c.lm.textMuted,fontStyle:"italic"},children:"Each finding is detailed in a separate comment below."}),(0,i.jsxs)("div",{style:{opacity:s(t,l,j.botPrRef),transform:"translateY(".concat(d(t,l,j.botPrRef,8),"px)"),fontSize:14,color:c.lm.textMuted,fontFamily:c.MO},children:["Analyzed PR: ",(0,i.jsx)("span",{style:{color:c.lm.blue},children:"#29934"})," at commit"," ",(0,i.jsx)("span",{style:{backgroundColor:c.lm.bgLight,padding:"1px 5px",borderRadius:3,color:c.lm.text},children:"1a33d27"})]})]})},R=e=>{let{frame:t,fps:l}=e;if(t<j.hiddenTyping*l)return null;let n=s(t,l,j.hiddenText),o=d(t,l,j.hiddenText,12),r=s(t,l,j.hiddenLink),a=d(t,l,j.hiddenLink,12);return(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[(0,i.jsx)(h,{frame:t,fps:l,showSec:j.hiddenTyping,hideSec:j.hiddenText}),(0,i.jsxs)("div",{style:{opacity:n,transform:"translateY(".concat(o,"px)"),fontSize:14,color:c.lm.text,lineHeight:"1.6"},children:["Analysis complete. This repository uses"," ",(0,i.jsx)("span",{style:{fontWeight:700,color:c.lm.orange},children:"hidden mode"}),". Results are not displayed in PR comments."]}),(0,i.jsxs)("div",{style:{opacity:r,transform:"translateY(".concat(a,"px)"),backgroundColor:c.lm.bgLight,border:"1px solid ".concat(c.lm.border),borderRadius:8,padding:"12px 16px",display:"flex",flexDirection:"column",gap:4},children:[(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6},children:[(0,i.jsx)("span",{style:{fontSize:13},children:"\uD83D\uDD17"}),(0,i.jsx)("span",{style:{fontSize:13,fontFamily:c.MO,color:c.lm.blue},children:"https://app.aisle.dev/report/pr-29934..."})]}),(0,i.jsx)("span",{style:{fontSize:12,color:c.lm.textMuted,paddingLeft:22},children:"Authorized team members only"})]})]})},M=e=>{let t,{frame:l,fps:r}=e,d=j.modalIn*r,a=j.modalOut*r,x=(j.modalOut+.3)*r;if(l<d||l>=x)return null;t=l<a?s(l,r,j.modalIn,.2):(0,n.GW)(l,[a,x],[1,0],{extrapolateLeft:"clamp",extrapolateRight:"clamp"});let p=(0,n.oz)({frame:l,fps:r,delay:Math.round(d),config:o}),h=(0,n.GW)(p,[0,1],[.9,1]),m=(0,n.oz)({frame:l,fps:r,delay:Math.round(j.toggleFlip*r),config:o}),u=(0,n.GW)(m,[0,1],[0,120]),y=(0,n.GW)(m,[0,1],[1,.5]),b=(0,n.GW)(m,[0,1],[.5,1]);return(0,i.jsx)(n.H1,{style:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.75)",opacity:t},children:(0,i.jsxs)("div",{style:{transform:"scale(".concat(h,")"),backgroundColor:c.lm.bgLight,border:"1px solid ".concat(c.lm.border),borderRadius:12,padding:"24px 28px",display:"flex",flexDirection:"column",alignItems:"center",gap:16},children:[(0,i.jsx)("span",{style:{fontSize:14,fontWeight:600,color:c.lm.text},children:"Visibility Settings"}),(0,i.jsxs)("div",{style:{position:"relative",display:"flex",backgroundColor:c.lm.bg,border:"1px solid ".concat(c.lm.border),borderRadius:8,padding:3},children:[(0,i.jsx)("div",{style:{position:"absolute",top:3,left:3,width:120,height:30,borderRadius:6,backgroundColor:"".concat(c.lm.orange,"30"),border:"1px solid ".concat(c.lm.orange,"50"),transform:"translateX(".concat(u,"px)")}}),(0,i.jsxs)("div",{style:{position:"relative",width:120,height:30,display:"flex",alignItems:"center",justifyContent:"center",gap:5,fontSize:13,fontWeight:600,color:c.lm.text,opacity:y},children:[(0,i.jsx)(g,{size:14}),(0,i.jsx)("span",{children:"Visible"})]}),(0,i.jsxs)("div",{style:{position:"relative",width:120,height:30,display:"flex",alignItems:"center",justifyContent:"center",gap:5,fontSize:13,fontWeight:600,color:c.lm.text,opacity:b},children:[(0,i.jsx)(f,{size:14}),(0,i.jsx)("span",{children:"Hidden"})]})]})]})})},W=e=>{let{chars:t}=e,l=S.slice(0,t),n=S.indexOf("2"),o=n+1;return t<=n?(0,i.jsx)(i.Fragment,{children:l}):t<=o?(0,i.jsxs)(i.Fragment,{children:[l.slice(0,n),(0,i.jsx)("strong",{children:l.slice(n)})]}):(0,i.jsxs)(i.Fragment,{children:[l.slice(0,n),(0,i.jsx)("strong",{children:l.slice(n,o)}),l.slice(o)]})}}}]);
4//# debugId=c1ba2ab1-f9f7-5084-b97c-e80ca6b882ef

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.