PageSourceSearch

https://kalyscan.io/_next/static/chunks/pages/login-5dd6828e97ce3672.js

js kalyscan.io collected 2026-10-09 00:51:21 UTC 5,083 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8295],{7984:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/login",function(){return t(46638)}])},16564:(e,n,t)=>{"use strict";t.d(n,{A:()=>p});var r=t(37876),l=t(43123),s=t(57175),o=t(16636),i=t(14232),a=t(31658),c=t(18376),u=t(12265),d=t(45267),h=t(12473),f=t(51389);let p=(0,s.B)(e=>{let{title:n,contentAfter:t,withTextAd:s,className:p,isLoading:x=!1,afterTitle:g,beforeTitle:m,secondRow:k}=e,b=(0,h.j)(),w=(0,a.A)(),[C,j]=i.useState(!1),v=i.useRef(null),_=i.useRef(null),E=i.useCallback(()=>{if(!v.current||!_.current)return;let e=v.current.getBoundingClientRect(),n=_.current.getBoundingClientRect();2*e.height<=n.height?j(!0):j(!1)},[]);i.useEffect(()=>{x||E()},[x,E]),i.useEffect(()=>{let e=(0,o.s)(E,1e3);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[E]);let A=i.useCallback(e=>{e.open?b.onOpen():b.onClose()},[b]);return(0,r.jsxs)(l.s,{className:p,flexDir:"column",rowGap:3,mb:6,children:[(0,r.jsxs)(l.s,{flexDir:"row",flexWrap:"wrap",rowGap:3,columnGap:3,alignItems:"center",children:[(0,r.jsxs)(l.s,{h:{base:"auto",lg:x?10:"auto"},maxW:"100%",alignItems:"center",children:[m,(0,r.jsx)(u.EA,{loading:x,overflow:"hidden",children:(0,r.jsx)(d.m,{content:n,open:b.open,onOpenChange:A,contentProps:{maxW:{base:"calc(100vw - 32px)",lg:"500px"}},closeOnScroll:!!w,disabled:!C,children:(0,r.jsx)(c.D,{ref:v,level:"1",whiteSpace:"normal",wordBreak:"break-all",style:{WebkitLineClamp:1,WebkitBoxOrient:"vertical",display:"-webkit-box"},overflow:"hidden",textOverflow:"ellipsis",onMouseEnter:b.onOpen,onMouseLeave:b.onClose,onClick:w?b.onToggle:void 0,children:(0,r.jsx)("span",{ref:_,children:n})})})}),g]}),t,s&&(0,r.jsx)(f.A,{order:{base:-1,lg:100},mb:{base:6,lg:0},ml:"auto",w:{base:"100%",lg:"auto"}})]}),k&&(0,r.jsx)(u.EA,{loading:x,alignItems:"center",minH:10,overflow:"hidden",display:"flex",_empty:{display:"none"},children:k})]})})},45503:(e,n,t)=>{"use strict";t.d(n,{C:()=>s});let{withContext:r,PropsProvider:l}=(0,t(74482).a)({key:"code"}),s=r("code")},46638:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>j,default:()=>v});var r=t(37876),l=t(14232),s=t(9771),o=t(1924),i=t(45503),a=t(43123),c=t(21555),u=t(18459),d=t(83614),h=t(46894),f=t(72657),p=t(95757),x=t(96848),g=t(44525),m=t(58063),k=t(90780),b=t(763),w=t(16564);let C=()=>{let e=(0,x.SI)(),[n,t]=(0,p.A)(0),s=function(e,n){var t;let r=(0,f.Br)(e,n),l=(0,f.mf)();return{value:r,isLoading:!(null===(t=null==l?void 0:l.ready)||void 0===t||t)}}("test_value","fallback"),[C,j]=l.useState(!1),[v,_]=l.useState("");l.useEffect(()=>{j(!!(!h.Jt(h.Xk.API_TOKEN)&&d.A.features.account.isEnabled))},[]);let E=l.useCallback(()=>{null==e||e.error("Test error",{payload:"foo"})},[e]),A=l.useCallback(()=>{u.A.track("Test event",{my_prop:"foo bar"})},[]),S=l.useCallback(e=>{_(e.target.value)},[]),y=l.useCallback(()=>{h.hZ(h.Xk.API_TOKEN,v),_(""),b.X.create({title:"Success \uD83E\uDD73",description:"Successfully set cookie",type:"success",onStatusChange:e=>{"unmounted"===e.status&&j(!1)}})},[v]),T=l.useCallback(()=>{for(let e=0;e<5;e++)t(5)},[t]);return(0,r.jsxs)(o.T,{gap:4,alignItems:"flex-start",maxW:"1000px",children:[(0,r.jsx)(w.A,{title:"Login page \uD83D\uDE02"}),C&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(g.F,{status:"warning",title:"!!! Temporary solution for authentication on localhost !!!",inline:!1,children:["To Sign in go to production instance first, sign in there, copy obtained API token from cookie",(0,r.jsx)(i.C,{ml:1,children:h.Xk.API_TOKEN})," and paste it in the form below. After submitting the form you should be successfully authenticated in current environment"]}),(0,r.jsx)(k.T,{value:v,onChange:S,placeholder:"API token"}),(0,r.jsx)(m.$n,{onClick:y,children:"Set cookie"})]}),(0,r.jsxs)(a.s,{columnGap:2,children:[(0,r.jsx)(m.$n,{colorScheme:"red",onClick:E,children:"Check Rollbar"}),(0,r.jsx)(m.$n,{colorScheme:"teal",onClick:A,children:"Check Mixpanel"})]}),(0,r.jsxs)(a.s,{columnGap:2,alignItems:"center",children:[(0,r.jsx)(c.a,{w:"50px",textAlign:"center",children:n}),(0,r.jsx)(m.$n,{onClick:T,size:"sm",children:"add"})]}),(0,r.jsxs)(c.a,{children:["Test feature value: ",(0,r.jsx)("b",{children:s.isLoading?"loading...":JSON.stringify(s.value)})]})]})};var j=!0;let v=()=>(0,r.jsx)(s.A,{pathname:"/login",children:(0,r.jsx)(C,{})})},77328:(e,n,t)=>{e.exports=t(89836)},95757:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var r=t(14232);function l(e){let[n,t]=r.useState(e),l=r.useRef(0),s=r.useRef(0),o=r.useRef(0),i=r.useCallback(()=>{0!==l.current&&(l.current--,t(e=>e+1),s.current=0)},[]),a=r.useCallback(e=>{!(e<1)&&(l.current+=e,s.current||(s.current=window.setTimeout(i,0)))},[i]);return r.useEffect(()=>{l.current>0&&!s.current&&(o.current?o.current>300/l.current&&(o.current=300/l.current):o.current=300/l.current,s.current=window.setTimeout(i,o.current))},[i,n]),r.useEffect(()=>()=>{window.clearTimeout(s.current)},[]),[n,a]}}},e=>{var n=n=>e(e.s=n);e.O(0,[9771,636,6593,8792],()=>n(7984)),_N_E=e.O()}]);
2//# sourceMappingURL=login-5dd6828e97ce3672.js.map

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.