1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"80ef2cdf9e309e2aad9550e3141d0d77395a37e3"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];if(null!=l)for(var r in l)l.hasOwnProperty(r)&&(e[r]=l[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:finviz":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1ebbc49b-8a8f-43d9-a407-09528c414d6b",e._sentryDebugIdIdentifier="sentry-dbid-1ebbc49b-8a8f-43d9-a407-09528c414d6b")}catch(e){}}(),(self.webpackChunkFinvizModern=self.webpackChunkFinvizModern||[]).push([[6528],{66528(e,t,l){l.r(t),l.d(t,{default:()=>o});var r=l(63696),n=l(78898),a=l(26373),s=l(38476),i=l(62540);const d={from:"",to:""};function o(e){let{config:t,onSubmit:l}=e;const[o,u]=r.useState(d),[c,f]=r.useState(d);r.useEffect(()=>{const e=t.selectedValues[0];if(e){const t=e.split("x");if(2===t.length){const[e="",l=""]=t[0].includes("to")?t[0].split("to"):[],[r="",n=""]=t[1].includes("to")?t[1].split("to"):[];u({from:e,to:l}),f({from:r,to:n})}}},[t]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.R4,{className:"relative flex w-145 max-w-full flex-col justify-center",children:(0,i.jsx)("form",{id:"js-volatilityFilterForm",onSubmit:e=>{e.preventDefault();const{from:t,to:r}=o,{from:n,to:a}=c,s=t||r?`${t}to${r}`:null,i=n||a?`${n}to${a}`:null;let d="";s&&(d+=s),(s||i)&&(d+="x"),i&&(d+=i),l([d])},children:(0,i.jsxs)("div",{className:"grid grid-cols-3 grid-rows-2 gap-3",children:[(0,i.jsx)("div",{className:"relative flex flex-1 items-center pl-4",children:(0,i.jsx)("p",{children:"Week"})}),(0,i.jsx)("div",{className:"relative flex flex-1",children:(0,i.jsx)(s.pd,{label:"Over",type:"number",value:o.from,min:0,max:Number.MAX_SAFE_INTEGER,step:.1,onChange:e=>{u({...o,from:e.currentTarget.value})}})}),(0,i.jsx)("div",{className:"relative flex flex-1",children:(0,i.jsx)(s.pd,{label:"Under",type:"number",value:o.to,min:0,max:Number.MAX_SAFE_INTEGER,step:.1,onChange:e=>{u({...o,to:e.currentTarget.value})}})}),(0,i.jsx)("div",{className:"relative flex flex-1 items-center pl-4",children:(0,i.jsx)("p",{children:"Month"})}),(0,i.jsx)("div",{className:"relative flex flex-1",children:(0,i.jsx)(s.pd,{label:"Over",type:"number",value:c.from,min:0,max:Number.MAX_SAFE_INTEGER,step:.1,onChange:e=>{f({...c,from:e.currentTarget.value})}})}),(0,i.jsx)("div",{className:"relative flex flex-1",children:(0,i.jsx)(s.pd,{label:"Under",type:"number",value:c.to,min:0,max:Number.MAX_SAFE_INTEGER,step:.1,onChange:e=>{f({...c,to:e.currentTarget.value})}})})]})})}),(0,i.jsxs)(a.Es,{children:[(0,i.jsx)(n.$n,{as:a.d$,children:"Cancel"}),(0,i.jsx)(n.$n,{type:"submit",form:"js-volatilityFilterForm",theme:"blue",children:"Submit"})]})]})}}}]); 2//# sourceMappingURL=6528.v1.45149644.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.