1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55585,e=>{e.v({button:"SignInGate-module__Cvzk2q__button",copy:"SignInGate-module__Cvzk2q__copy",gate:"SignInGate-module__Cvzk2q__gate",icon:"SignInGate-module__Cvzk2q__icon",title:"SignInGate-module__Cvzk2q__title"})},59840,21258,e=>{"use strict";var t=e.i(18050),i=e.i(57951),r=e.i(55585);function s({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M116 25.7969L100.877 42.9971H90V53.5156L75.9043 67.6514C77.2125 71.3728 78 75.3925 78 79.5947C77.9998 99.7104 61.5777 116 41.4541 116C21.3238 116 5.00022 99.7034 5 79.5947C5 59.4859 21.3237 43.1887 41.4541 43.1885C45.9323 43.1885 50.2262 43.9964 54.1943 45.4746L94.0605 5H116V25.7969ZM55.1699 50.1846L53.9238 49.666C50.0875 48.0706 45.8762 47.1885 41.4541 47.1885C23.5275 47.1887 9 61.7004 9 79.5947C9.00022 97.4889 23.5276 112 41.4541 112C59.3876 112 73.9998 97.4822 74 79.5947C74 75.4837 73.1433 71.5301 71.7197 67.8691L71.248 66.6553L86 51.8623V38.9971H99.0674L112 24.2891V9H95.7354L55.1699 50.1846ZM38 91H31.9883V80H25V74H38V91ZM51.377 91H44.0703L51.377 74H58.6836L51.377 91ZM44.0469 74C46.1519 74.0002 47.8582 75.6913 47.8584 77.7773C47.8584 79.8636 46.152 81.5554 44.0469 81.5557C41.9415 81.5557 40.2344 79.8638 40.2344 77.7773C40.2346 75.6911 41.9417 74 44.0469 74ZM99.9375 16.8672L61.6328 55.1758L58.8047 52.3477L97.1094 14.0391L99.9375 16.8672Z",fill:"currentColor"})})}e.s(["default",0,function(){let{login:e}=(0,i.useAuth)();return(0,t.jsxs)("div",{className:r.default.gate,children:[(0,t.jsx)(s,{className:r.default.icon}),(0,t.jsx)("h1",{className:r.default.title,children:"Sign in to access smart search"}),(0,t.jsx)("p",{className:r.default.copy,children:"Create and customize AI-powered dashboards to explore market data and even more."}),(0,t.jsx)("button",{type:"button",onClick:e,className:r.default.button,children:"Sign in"})]})}],59840);let a="ss:seed:",l="ss:seedlang:";function n(e){try{return sessionStorage.getItem(e)}catch{return null}}function o(e,t){try{return sessionStorage.setItem(e,t),!0}catch{return!1}}function d(e){try{sessionStorage.removeItem(e)}catch{}}e.s(["peekSeedPrompt",0,function(e){return n(a+e)},"stashSeedPrompt",0,function(e,t,i){return i?o(l+e,i):d(l+e),o(a+e,t)},"takeSeedLang",0,function(e){let t=l+e,i=n(t);return null!==i&&d(t),i},"takeSeedPrompt",0,function(e){let t=a+e,i=n(t);return null!==i&&d(t),i}],21258)},99562,39768,23268,e=>{"use strict";var t=e.i(18050),i=e.i(71645),r=e.i(59952),s=e.i(43794),a=e.i(82431);function l(e){return(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,...e,children:[(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M15 2.5H7a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5ZM7 1a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2H7Z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M3 6.5a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5v-1H13v1a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7c0-1.1.9-2 2-2h1v1.5H3Z"})]})}function n(e){return(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":!0,...e,children:(0,t.jsx)("path",{fill:"currentColor",d:"m13.9 6.4-6.07 6.24L4.1 8.81l1.08-1.05 2.65 2.73 5-5.13L13.9 6.4Z"})})}var o=e.i(25737);function d(e){let{value:r,copyButtonAriaLabel:d,copiedMessage:c,onCopy:u,size:m=a.InputSize.Medium,onFocus:h,...p}=e,[x,g]=(0,i.useState)(0),f=0!==x;(0,i.useEffect)(()=>{if(!f)return;let e=setTimeout(()=>g(0),2e3);return()=>clearTimeout(e)},[f,x]);let _=async()=>{try{await navigator.clipboard.writeText(r)}catch{return}g(Date.now()),u?.(r)};return(0,t.jsx)(a.Input,{...p,size:m,value:r,readOnly:!0,onFocus:e=>{h?.(e),e.currentTarget.select()},endSlot:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:(0,s.default)(o.default.copy,o.default[m]),"aria-label":d,onClick:_,children:f?(0,t.jsx)(n,{}):(0,t.jsx)(l,{})}),(0,t.jsx)("span",{className:o.default.status,role:"status",children:f?c:""})]})})}e.i(10690);var c=e.i(18058);e.i(7730),e.i(23572);var u=e.i(74042),m=e.i(90638);e.i(44557);var h=e.i(13447);e.i(85170);var p=e.i(39075),x=e.i(49483);function g(e){let{className:i,size:r="small",checked:a,disabled:l}=e;return(0,t.jsxs)("span",{className:(0,s.default)(i,x.default.switchView,x.default[r],a&&x.default.checked,l&&x.default.disabled),children:[(0,t.jsx)("span",{className:x.default.track}),(0,t.jsx)("span",{className:x.default.thumb})]})}var f=e.i(65480);function _(e){let{className:i,style:r,checked:a,disabled:l,size:n,role:o="switch",onKeyDown:d,...c}=e;return(0,t.jsxs)("span",{className:(0,s.default)(i,f.default.switcher),style:r,children:[(0,t.jsx)("input",{...c,type:"checkbox",className:f.default.input,role:o,checked:a,"aria-checked":a,disabled:l,onKeyDown:e=>{d?.(e),"Enter"!==e.key||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.currentTarget.click()}}),(0,t.jsx)(g,{className:f.default.view,size:n,checked:a,disabled:l})]})}e.s(["Switch",0,_],39768),e.s([],23268),e.i(78589);var b=e.i(14885);e.i(39302);var v=e.i(58594);e.i(41776);var y=e.i(8763);e.i(70667);var k=e.i(38741),w=e.i(80516),S=e.i(49510),j=e.i(28176),C=e.i(57951),N=e.i(97848),B=e.i(49490);
1class z extends Error{code;status;constructor(e,t,i){super(e),this.code=t,this.status=i}}async function T(e,t){let i=await fetch(`https://tvremix.xyz/api${e}`,{...t,headers:(0,r.authHeaders)()});if(i.ok)return await i.json();let s="Something went wrong. Please try again.",a="error";try{let e=await i.json(),t=e?.detail;t&&"object"==typeof t?("string"==typeof t.message&&(s=t.message),"string"==typeof t.code&&(a=t.code)):"string"==typeof t&&(s=t)}catch{}throw new z(s,a,i.status)}function E(){return T("/notification-email")}async function L(){await T("/email-preferences",{method:"PATCH",body:JSON.stringify({preferences:{watcher_briefs:!0}})})}function P({onChanged:e}){let[r,s]=(0,i.useState)(null),[l,n]=(0,i.useState)("view"),[o,d]=(0,i.useState)(""),[c,u]=(0,i.useState)(""),[m,h]=(0,i.useState)(null),[p,x]=(0,i.useState)(!1),[g,f]=(0,i.useState)(null),[_,b]=(0,i.useState)(!1);async function v(e){x(!0),f(null);try{await e()}catch(e){f(e instanceof z?e.message:"Something went wrong. Please try again.")}finally{x(!1)}}(0,i.useEffect)(()=>{let e=!0;return E().then(t=>{e&&(s(t),t.needs_email&&t.pending_email?(h(t.pending_email),n("code")):t.needs_email&&n("enter"))}).catch(()=>e&&b(!0)),()=>{e=!1}},[]);let k=(e=o)=>v(async()=>{let t=await T("/notification-email",{method:"POST",body:JSON.stringify({email:e})});s(t),h(t.pending_email),u(""),n("code")});if(_||!r)return null;let j="mx-5 mt-3 rounded-lg border px-3 py-2.5";return"view"===l&&r.delivery_email?r.briefs_enabled?(0,t.jsxs)("div",{className:`${j} flex items-center gap-2 border-line text-[12.5px] text-ink-muted`,children:[(0,t.jsxs)("span",{className:"min-w-0 flex-1 truncate",children:["Briefs go to"," ",(0,t.jsx)("span",{className:"font-semibold text-ink",children:r.delivery_email})]}),(0,t.jsx)(y.LinkButton,{color:S.ButtonColor.Gray,size:S.ButtonSize.XSmall,onClick:()=>{d(""),n("enter")},children:"Change"})]}):(0,t.jsxs)("div",{className:`${j} flex items-center gap-2.5 border-amber-500/40 bg-amber-500/10`,children:[(0,t.jsx)("span",{className:"flex-1 text-[12.5px] text-ink",children:"Watcher emails are paused â you unsubscribed. Nothing is being delivered."}),(0,t.jsx)(w.SquareButton,{type:"button",size:S.ButtonSize.Small,className:"shrink-0",onClick:()=>v(async()=>{await L(),s(await E()),e?.()}),disabled:p,children:"Resume"})]}):(0,t.jsxs)("div",{className:`${j} border-amber-500/40 bg-amber-500/10`,children:["enter"===l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"text-[12.5px] font-semibold text-ink",children:r.delivery_email?"Send briefs to a different email":"Where should we email your briefs?"}),(0,t.jsx)("div",{className:"mt-0.5 text-[12px] text-ink-muted",children:"We'll send a code to confirm it's yours."}),(0,t.jsxs)("form",{className:"mt-2 flex gap-2",onSubmit:e=>{e.preventDefault(),o.trim()&&k()},children:[(0,t.jsx)(a.Input,{size:a.InputSize.Small,type:"email",autoComplete:"email",placeholder:"[email protected]",value:o,onChange:e=>d(e.target.value),className:"min-w-0 flex-1","aria-label":"Email address for watcher briefs"}),(0,t.jsx)(w.SquareButton,{type:"submit",size:S.ButtonSize.Small,className:"shrink-0",disabled:p||!o.trim(),children:p?"Sendingâ¦":"Send code"})]}),r.delivery_email&&(0,t.jsxs)(y.LinkButton,{color:S.ButtonColor.Gray,size:S.ButtonSize.XSmall,className:"mt-1.5",onClick:()=>n("view"),children:["Keep ",r.delivery_email]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"text-[12.5px] text-ink",children:["We sent a 6-digit code to ",(0,t.jsx)("span",{className:"font-semibold",children:m}),"."]}),(0,t.jsxs)("form",{className:"mt-2 flex gap-2",onSubmit:t=>{t.preventDefault(),c.trim().length>=6&&v(async()=>{s(await T("/notification-email/verify",{method:"POST",body:JSON.stringify({code:c})})),n("view"),e?.()})},children:[(0,t.jsx)(a.Input,{size:a.InputSize.Small,inputMode:"numeric",autoComplete:"one-time-code",placeholder:"123456",maxLength:6,value:c,onChange:e=>u(e.target.value.replace(/\D/g,"")),className:"min-w-0 flex-1","aria-label":"Verification code"}),(0,t.jsx)(w.SquareButton,{type:"submit",size:S.ButtonSize.Small,className:"shrink-0",disabled:p||c.length<6,children:p?"Checkingâ¦":"Verify"})]}),(0,t.jsxs)("div",{className:"mt-1.5 flex gap-3",children:[(0,t.jsx)(y.LinkButton,{color:S.ButtonColor.Gray,size:S.ButtonSize.XSmall,disabled:p||!m,onClick:()=>m&&void k(m),children:"Resend"}),(0,t.jsx)(y.LinkButton,{color:S.ButtonColor.Gray,size:S.ButtonSize.XSmall,onClick:()=>{u(""),n("enter")},children:"Use a different email"})]})]}),g&&(0,t.jsx)("div",{role:"alert",className:"mt-1.5 text-[12px] text-red-600",children:g})]})}
1let W={ny_open:{at:"09:30",tz:"America/New_York"},ny_close:{at:"16:05",tz:"America/New_York"},london_open:{at:"08:00",tz:"Europe/London"},tokyo_open:{at:"09:00",tz:"Asia/Tokyo"}},$=[0,1,2,3,4];function M(e){let[t,i]=e.split(":");return"min"===t?Math.round(1440/(Number(i)||60)):"bar"===t?"1D"===i?1:Math.round(1440/(Number(i)||60)):1}let I=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];function A(e){var t;if(!e)return"";if("time_of_day"===e.type){let t=String(e.tz||"UTC").replace(/_/g," "),i=e.weekdays?.length?5===e.weekdays.length&&e.weekdays.every(e=>e<=4)?" Mon-Fri":" "+e.weekdays.map(e=>I[e]??e).join(","):"";return`Daily ${e.at} (${t})${i}`}if("bar_close"===e.type){let t="1D"===e.interval?"daily":60>Number(e.interval)?`${e.interval}m`:`${Number(e.interval)/60}h`;return`Every ${t} bar close`}if("session_anchor"===e.type){let t=e.offset_minutes??0,i=0===t?"At":`${Math.abs(t)}m ${t<0?"before":"after"}`;return`${i} the ${e.exchange} ${e.anchor} \xb7 trading days only`}return(t=e.every_minutes??60)>=1440&&t%1440==0?1440===t?"daily":`every ${t/1440} days`:t%60==0?`every ${t/60}h`:`every ${t}m`}let O=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];function D(e){if(!e)return"";let t=[],i=[...e.days||[]].sort((e,t)=>e-t).filter(e=>e>=0&&e<=6);if(i.length){let e=i.every((e,t)=>0===t||e===i[t-1]+1);t.push(e&&i.length>2?`${O[i[0]]}â${O[i[i.length-1]]}`:i.map(e=>O[e]).join(" "))}return e.start&&e.end&&t.push(`${e.start}â${e.end}`),e.tz&&e.start&&t.push(`(${(e.tz.split("/").pop()||e.tz).replace(/_/g," ")})`),t.join(" · ")}function H(e){return e?(0,N.relTime)(e):"never"}let X=[{group:"Interval",options:[{key:"min:15",label:"Every 15 min"},{key:"min:30",label:"Every 30 min"},{key:"min:60",label:"Every hour"},{key:"min:240",label:"Every 4 hours"},{key:"min:720",label:"Every 12 hours"},{key:"min:1440",label:"Daily"}]},{group:"Bar close",options:[{key:"bar:60",label:"Every 1h bar close"},{key:"bar:240",label:"Every 4h bar close"},{key:"bar:1D",label:"Every daily bar close"}]},{group:"Market times (MonâFri)",options:[{key:"tod:ny_open",label:"NY open · 09:30 New York"},{key:"tod:ny_close",label:"After US close · 16:05 New York"},{key:"tod:london_open",label:"London open · 08:00 London"},{key:"tod:tokyo_open",label:"Tokyo open · 09:00 Tokyo"},{key:"tod:custom",label:"Custom time of dayâ¦"}]}].map(e=>({type:"section",title:e.group,items:e.options.map(e=>({value:e.key,title:e.label}))}));e.s(["default",0,function({open:e,onClose:s,dashboardId:l,dashboardTitle:n,automations:o,state:x,telegramLinked:g,onChange:f,initialEditorId:N,onServerRev:z}){let{refreshUser:T}=(0,C.useAuth)(),[E,L]=(0,i.useState)(null),[I,O]=(0,i.useState)(!1),[G,R]=(0,i.useState)(!1),[V,K]=(0,i.useState)(!1),[Y,F]=(0,i.useState)(!1),[Z,q]=(0,i.useState)(null),[Q,J]=(0,i.useState)(null),[U,ee]=(0,i.useState)(null),[et,ei]=(0,i.useState)(!1),[er,es]=(0,i.useState)(!1),[ea,el]=(0,i.useState)(null),[en,eo]=(0,i.useState)({}),ed=(0,i.useRef)(null);async function ec(){if(!et){ei(!0),es(!1);try{let e=localStorage.getItem("token"),t=await fetch("https://tvremix.xyz/telegram/pair",{method:"POST",headers:{"Content-Type":"application/json",...e?{Authorization:`Bearer ${e}`}:{}}});if(!t.ok)throw Error(String(t.status));let i=await t.json();ee(String(i.code))}catch{es(!0)}finally{ei(!1)}}}(0,i.useEffect)(()=>{if(!e){ed.current=null;return}if(!N||ed.current===N)return;if("__new"===N){ed.current=N,em();return}let t=o.find(e=>e.id===N);t&&(ed.current=N,eh(t))},[e,N,o]),(0,i.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&(E?L(null):s())};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e,E,s]),(0,i.useEffect)(()=>{B.features.telegram&&(!e||g||U||et||ec())},[e,g]),(0,i.useEffect)(()=>{if(!B.features.telegram||!e||g||!U)return;let t=0,i=setInterval(()=>{(t+=1)>40?clearInterval(i):T()},3e3);return()=>clearInterval(i)},[e,g,U,T]);let eu=U?`https://t.me/TVRemixBot?start=${encodeURIComponent(U)}`:null;function em(){J(null),R(!1),L({mode:"new",id:`w_${Math.random().toString(36).slice(2,10)}`,scheduleKey:"min:60",customTime:"08:00",condition:"",cooldown:240})}function eh(e){J(null),R(!1);let t=function(e){if(!e)return"min:60";if("schedule"===e.type)return[15,30,60,240,720,1440].includes(e.every_minutes)?`min:${e.every_minutes}`:"__keep";if("bar_close"===e.type)return["60","240","1D"].includes(e.interval)?`bar:${e.interval}
1`:"__keep";if("time_of_day"===e.type&&(!e.weekdays||5===e.weekdays.length&&$.every(t=>e.weekdays?.includes(t)))){for(let[t,i]of Object.entries(W))if(i.at===e.at&&i.tz===e.tz)return`tod:${t}`}return"__keep"}(e.trigger);L({mode:"edit",id:e.id,origTrigger:e.trigger,scheduleKey:t,customTime:"time_of_day"===e.trigger.type&&"__keep"===t?e.trigger.at:"08:00",condition:e.condition||"",cooldown:e.cooldown_minutes??240})}let ep=(0,i.useMemo)(()=>!!E&&!E.condition.trim()&&"__keep"!==E.scheduleKey&&M(E.scheduleKey)>1,[E]);async function ex(){if(!E)return;let e=E.condition.trim();if(e&&!V){K(!0),J(null),(0,j.track)(j.AnalyticsEvents.SS_WATCHER_EDITED,{dashboard_id:l,action:"test"});try{let t=await (0,r.validateCondition)(l,e);J(t)}catch(e){J({verdict:"cant_configure",message:`Test failed: ${e.message}`})}finally{K(!1)}}}async function eg(){if(!E)return;let e=E.condition.trim();if(e&&!Y){F(!0),q(null),(0,j.track)(j.AnalyticsEvents.SS_WATCHER_EDITED,{dashboard_id:l,action:"backtest"});try{q(await (0,r.backtestCondition)(l,e))}catch(e){q({supported:!1,reason:`Backtest failed: ${e.message}`})}finally{F(!1)}}}function ef(e){f(o.filter(t=>t.id!==e)),(0,j.track)(j.AnalyticsEvents.SS_WATCHER_EDITED,{dashboard_id:l,action:"delete"}),L(null)}async function e_(e){if(!ea){el(e),eo(t=>({...t,[e]:""})),(0,j.track)(j.AnalyticsEvents.SS_WATCHER_EDITED,{dashboard_id:l,action:"run_now"});try{let t=await (0,r.runAutomation)(l,e);"number"==typeof t.schema_rev&&z?.(t.schema_rev);let i=t.ran?t.met?t.delivered?"email"===t.channel?"Triggered â brief sent to your email â":"Triggered â brief sent to Telegram â":B.features.telegram?"Triggered â delivery failed (check email, or link Telegram)":"Triggered â delivery failed (confirm your email above)":`Not triggered: ${t.reason||"condition not met"}`:`Skipped: ${t.skipped||"not due"}`;eo(t=>({...t,[e]:i}))}catch(t){eo(i=>({...i,[e]:`Check failed: ${t.message}`}))}finally{el(null)}}}if((0,i.useEffect)(()=>{R(!1)},[E?.scheduleKey,E?.condition]),!e)return null;let eb=E?"editor":B.features.telegram&&!g&&I?"gate":0===o.length?"empty":"list";return(0,t.jsx)("div",{className:"fixed inset-0 z-[60] flex items-center justify-center p-5",style:{background:"var(--tvr-scrim)"},children:(0,t.jsxs)("div",{className:"flex h-[600px] max-h-[calc(100vh-64px)] w-[460px] max-w-[calc(100vw-40px)] flex-col overflow-hidden rounded-xl bg-surface border border-line ss-dialog",style:{boxShadow:"0 12px 48px rgba(0,0,0,.28)"},children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-start justify-between px-5 pt-4 pb-3 border-b border-line",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:["editor"===eb&&(0,t.jsx)(v.LightButton,{type:"button",variant:S.ButtonVariant.QuietPrimary,size:S.ButtonSize.XSmall,iconOnly:!0,onClick:()=>{L(null),J(null)},title:"Back to watchers","aria-label":"Back to watchers",className:"-ml-1",startSlot:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M15 18l-6-6 6-6"})})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"text-[15px] font-semibold text-ink truncate",children:"editor"===eb?E?.mode==="edit"?"Edit watcher":"New watcher":"Manage watchers"}),"editor"===eb&&(0,t.jsxs)("div",{className:"text-[12px] text-ink-faint truncate",children:["on â",n,"â"]})]})]}),(0,t.jsx)(b.CloseButton,{"aria-label":"Close",size:S.ButtonSize.Small,preservePaddings:!0,onClick:s})]}),(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden",children:["gate"===eb&&(0,t.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center px-5 text-center",children:[(0,t.jsx)("div",{className:"text-[15px] font-semibold text-ink",children:"Connect Telegram"}),(0,t.jsx)("div",{className:"mt-1.5 mb-5 mx-auto max-w-[300px] text-[13px] leading-relaxed text-ink-muted",children:"Copy the code and paste it into the Telegram bot to get Watcher briefs."}),(0,t.jsx)("div",{className:"mx-auto mb-4 w-full max-w-[320px]",children:U?(0,t.jsx)(d,{size:a.InputSize.Small,value:U,copyButtonAriaLabel:"Copy code","aria-label":"Pairing code",title:U}):(0,t.jsx)(a.Input,{size:a.InputSize.Small,readOnly:!0,value:"","aria-label":"Pairing code",placeholder:et?"â¦":"ââââââ"})}),(0,t.jsx)(k.SquareAnchorButton,{href:eu||"https://t.me/TVRemixBot",target:"_blank",rel:"noreferrer","aria-disabled":!eu,className:eu?void 0:"pointer-events-none",startSlot:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,t.jsx)("path",{d:"M21.5 4.3 2.8 11.4c-1 .4-1 1 0 1.3l4.8 1.5 1.8 5.6c.2.6.6.7 1.1.3l2.6-2 4.9 3.6c.6.4 1.2.2 1.4-.6l3-14c.2-.9-.4-1.4-1.4-1.1z"})}),children:"Open @TVRemixBot"}),er&&(0,t.jsxs)("div",{className:"mt-3 text-[11.5px] text-ink-faint",children:["Couldn't get a code â"," ",(0,t.jsx)(y.LinkButton,{color:S.ButtonColor.Gray,size:S.ButtonSize.XSmall,onClick:()=>void ec(),children:"try again"})," ","or use Account â Connect Telegram."]}),o.length>0&&(0,t.jsx)(y.LinkButton,{color:S.ButtonColor.Gray,size:S.ButtonSize.XSmall,onClick:()=>O(!1),className:"mt-4",children:"Back to watchers"})]}),"empty"===eb&&!B.features.telegram&&(0,t.jsx)(P,{onChanged:()=>void T()}),"empty"===eb&&(0,t.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center px-5 text-center",children:[(0,t.jsx)("div",{className:"text-[14px] font-semibold text-ink",children:"No watchers yet"}),(0,t.jsxs)("div",{className:"mt-1.5 mb-5 mx-auto max-w-[320px] text-[13px] leading-relaxed text-ink-muted",children:["A watcher re-runs this dashboard on a schedule and sends you a brief when your condition triggers â"," ",B.features.telegram?g?"delivered to your Telegram.":"delivered to your email, or Telegram once you connect it.":"delivered to your email."]}),(0,t.jsx)(w.SquareButton,{type:"button",size:S.ButtonSize.Small,onClick:em,startSlot:(0,t.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:(0,t.jsx)("path",{d:"M12 5v14M5 12h14"})}),children:"Create watcher"})]}),"list"===eb&&(0,t.jsxs)(t.Fragment,{children:[!B.features.telegram&&(0,t.jsx)(P,{onChanged:()=>void T()}),B.features.telegram&&!g&&(0,t.jsxs)("div",{className:"mx-5 mt-3 flex items-center gap-2.5 rounded-lg border border-amber-500/40 bg-amber-500/10 px-3 py-2.5",children:[(0,t.jsx)("span",{className:"flex-1 text-[12.5px] text-ink",children:"Briefs go to your account email â connect Telegram for instant delivery."}),(0,t.jsx)(w.SquareButton,{type:"button",size:S.ButtonSize.XSmall,onClick:()=>O(!0),className:"shrink-0",children:"Connect"})]}),(0,t.jsx)("div",{className:"flex-1 overflow-y-auto ss-scrollbar-thin",children:o.map(e=>{let i=x[e.id]||{},r=!1===e.enabled;return(0,t.jsx)("div",{className:"px-5 py-3 border-t border-line first:border-t-0",children:(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsxs)("button",{onClick:()=>eh(e),className:"flex-1 min-w-0 text-left",children:[(0,t.jsx)("div",{className:`text-[13px] font-semibold ${r?"text-ink-faint line-through":"text-ink"}`,children:e.condition||"Recurring brief"}),(0,t.jsxs)("div",{className:"text-[12px] text-ink-muted mt-0.5",children:[A(e.trigger),D(e.active_window)?` \xb7 ${D(e.active_window)}`:"",i.last_fired_at?` \xb7 fired ${H(i.last_fired_at)}`:" · never triggered",i.last_run_at?` \xb7 checked ${H(i.last_run_at)}`:"",i.fire_count?` \xb7 ${i.fire_count}\xd7`:"","skipped_quota"===i.last_result&&" · paused (weekly limit)","skipped_unlinked"===i.last_result&&" · no delivery channel","error"===i.last_result&&" · last check errored","skipped_upstream"===i.last_result&&" · skipped (service busy) â retrying","disabled_unevaluable"===i.last_result&&" · disabled (can't be evaluated)"]}),i.last_reason&&"fired"!==i.last_result&&(0,t.jsx)("div",{className:"text-[12px] text-ink-faint mt-0.5 line-clamp-2",children:i.last_reason}),en[e.id]&&(0,t.jsx)("div",{className:"text-[12px] text-ink-faint mt-0.5",children:en[e.id]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[(0,t.jsx)(v.LightButton,{type:"button",variant:S.ButtonVariant.QuietPrimary,size:S.ButtonSize.XSmall,iconOnly:!0,onClick:()=>void e_(e.id),disabled:ea===e.id,title:"Run check now","aria-label":"Run check now",startSlot:ea===e.id?(0,t.jsx)(h.Spinner,{size:h.SpinnerSize.XXSmall,disableSelfPositioning:!0,"aria-hidden":!0}):(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})}),(0,t.jsx)(_,{checked:!r,title:r?"Enable":"Pause","aria-label":"Enabled",onChange:()=>{var t;return t=e.id,void(f(o.map(e=>e.id===t?{...e,enabled:!1===e.enabled}:e)),(0,j.track)(j.AnalyticsEvents.SS_WATCHER_EDITED,{dashboard_id:l,action:"toggle"}))}}),(0,t.jsx)(v.LightButton,{type:"button",color:S.ButtonColor.Red,variant:S.ButtonVariant.QuietPrimary,size:S.ButtonSize.XSmall,
1iconOnly:!0,onClick:()=>ef(e.id),title:"Delete watcher","aria-label":"Delete watcher",startSlot:(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",children:[(0,t.jsx)("path",{d:"M3 6h18"}),(0,t.jsx)("path",{d:"M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2"}),(0,t.jsx)("path",{d:"M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"})]})})]})]})},e.id)})}),(0,t.jsx)("div",{className:"flex shrink-0 justify-end px-5 py-3 border-t border-line",children:(0,t.jsx)(w.SquareButton,{type:"button",size:S.ButtonSize.Small,onClick:em,startSlot:(0,t.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:(0,t.jsx)("path",{d:"M12 5v14M5 12h14"})}),children:"New watcher"})})]}),"editor"===eb&&E&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto ss-scrollbar-thin px-5 py-4 space-y-3.5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(c.FormField,{label:"Re-run dashboard",children:(0,t.jsx)(u.Select,{size:m.SelectButtonSize.Small,stretch:!0,items:"__keep"===E.scheduleKey?[{type:"section",title:"Current",items:[{value:"__keep",title:`${A(E.origTrigger)} (keep)`}]},...X]:X,value:E.scheduleKey,onChange:e=>L({...E,scheduleKey:e})})}),"tod:custom"===E.scheduleKey&&(0,t.jsxs)("div",{className:"mt-1.5 flex items-center gap-2",children:[(0,t.jsx)("input",{type:"time",value:E.customTime,onChange:e=>L({...E,customTime:e.target.value}),"aria-label":"Custom time of day",className:"h-[34px] px-2 rounded-md border border-line bg-surface text-ink text-[13px] outline-none focus:border-brand"}),(0,t.jsxs)("span",{className:"text-[11px] text-ink-faint truncate",children:["your timezone (",Intl.DateTimeFormat().resolvedOptions().timeZone,")"]})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(c.FormField,{label:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:["Brief condition",(0,t.jsx)("span",{"aria-hidden":"true",title:"Leave empty to get a brief on every run. Add a condition to get notified only when it's met.",className:"w-3.5 h-3.5 rounded-full border border-line text-ink-faint text-[9px] leading-[13px] text-center cursor-help",children:"?"})]}),hint:"Understands indicators (RSI, MACD, Supertrend, volume spikes), this dashboard's levels & ratings, and calendar dates.",children:(0,t.jsx)(p.TextArea,{size:p.TextAreaSize.Small,value:E.condition,onChange:e=>{L({...E,condition:e.target.value}),J(null)},rows:3,maxLength:500,placeholder:"Plain language, e.g. âBTC breaks above $70kâ.\nEmpty = a brief on every run."})}),E.condition.trim()&&(0,t.jsx)(v.LightButton,{type:"button",color:S.ButtonColor.Blue,variant:S.ButtonVariant.Secondary,size:S.ButtonSize.Small,onClick:()=>void ex(),disabled:V,title:"Check that this condition is clear and fits the dashboard's data",className:"mt-2",startSlot:V&&(0,t.jsx)(h.Spinner,{size:h.SpinnerSize.XXSmall,disableSelfPositioning:!0,"aria-hidden":!0}),children:V?"Checking against dashboard dataâ¦":"Test condition"}),E.condition.trim()&&(0,t.jsx)(v.LightButton,{type:"button",color:S.ButtonColor.Blue,variant:S.ButtonVariant.Secondary,size:S.ButtonSize.Small,onClick:()=>void eg(),disabled:Y,title:"Estimate how often this condition would have fired over recent history",className:"mt-2 ml-2",startSlot:Y&&(0,t.jsx)(h.Spinner,{size:h.SpinnerSize.XXSmall,disableSelfPositioning:!0,"aria-hidden":!0}),children:Y?"Replaying historyâ¦":"Test over history"}),Z&&(0,t.jsx)("div",{className:"mt-2 text-[12px] leading-snug",children:Z.supported?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"font-semibold text-ink",children:["Would have fired"," ",0===Z.fire_count?"0 times":`${Z.fire_count} time${1===Z.fire_count?"":"s"}`," ","over the last ",Z.evaluated_bars," bars (",Z.interval,") · estimate"]}),(Z.fires||[]).slice(0,5).map((e,i)=>(0,t.jsxs)("div",{className:"mt-0.5 text-ink-muted",children:[String(e.t).slice(0,10)," â"," ",e.reason]},i)),(Z.fires||[]).length>5&&(0,t.jsxs)("div",{className:"mt-0.5 text-ink-faint",children:["â¦and ",(Z.fires||[]).length-5," ","more"]}),0===Z.fire_count&&(0,t.jsx)("div",{className:"mt-0.5 text-ink-muted",children:"Qu
1iet conditions are fine â but if you expected fires, consider loosening the threshold."}),(Z.fire_count??0)>=15&&(0,t.jsx)("div",{className:"mt-0.5 text-amber-600",children:"That's noisy â consider a tighter threshold or a longer timeframe."}),"partial"===Z.coverage&&Z.coverage_note&&(0,t.jsxs)("div",{className:"mt-0.5 text-ink-faint",children:["Not covered by history:"," ",Z.coverage_note]})]}):(0,t.jsx)("div",{className:"text-ink-muted",children:Z.reason||"History can't evaluate this condition."})}),Q&&(0,t.jsxs)("div",{className:`mt-2 text-[12px] leading-snug ${"valid"===Q.verdict?"text-pos-700":"cant_configure"===Q.verdict?"text-neg":"text-amber-600"}`,children:[(0,t.jsxs)("div",{className:"font-semibold",children:["valid"===Q.verdict&&"â Valid","needs_detail"===Q.verdict&&"â³ Needs more detail","cant_configure"===Q.verdict&&"â Canât configure"]}),Q.message&&(0,t.jsx)("div",{className:"mt-0.5 text-ink-muted",children:Q.message})]})]})]}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2 px-5 py-3 border-t border-line",children:["edit"===E.mode&&(0,t.jsx)(v.LightButton,{type:"button",color:S.ButtonColor.Red,variant:S.ButtonVariant.QuietPrimary,size:S.ButtonSize.Small,onClick:()=>ef(E.id),startSlot:(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",children:[(0,t.jsx)("path",{d:"M3 6h18"}),(0,t.jsx)("path",{d:"M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2"}),(0,t.jsx)("path",{d:"M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"})]}),children:"Delete"}),G&&(0,t.jsxs)("span",{className:"flex-1 text-[11.5px] leading-tight text-amber-600",children:["No condition ="," ",B.features.telegram?"a Telegram":"an email"," brief on EVERY check â ",M(E.scheduleKey),"/day. Daily is usually enough."]}),(0,t.jsx)("button",{onClick:function(){if(!E)return;if(ep&&!G)return void R(!0);R(!1);let e="__keep"===E.scheduleKey&&E.origTrigger?E.origTrigger:function(e,t){let[i,r]=e.split(":");if("bar"===i)return{type:"bar_close",interval:r};if("tod"===i){if("custom"===r)return{type:"time_of_day",at:t||"08:00",tz:Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC"};let e=W[r];return{type:"time_of_day",at:e.at,tz:e.tz,weekdays:$}}return{type:"schedule",every_minutes:Number(r)||60}}(E.scheduleKey,E.customTime),t=o.find(e=>e.id===E.id),i={...t,id:E.id,trigger:e,condition:E.condition.trim()||null,action:t?.action??{type:"notify"},cooldown_minutes:E.cooldown,enabled:t?.enabled??!0};f("edit"===E.mode?o.map(e=>e.id===E.id?i:e):[...o,i]),(0,j.track)(j.AnalyticsEvents.SS_WATCHER_EDITED,{dashboard_id:l,action:"edit"===E.mode?"edit":"create",trigger_type:e.type,every_minutes:"schedule"===e.type?e.every_minutes:void 0,has_condition:!!E.condition.trim()}),L(null),J(null),q(null)},className:`ml-auto h-9 px-4 rounded-lg text-[12px] font-semibold hover:brightness-110 ${G?"bg-amber-500 text-white":"bg-ink text-surface"}`,children:G?"Save anyway":"edit"===E.mode?"Save":"Save watcher"})]})]})]})]})})},"windowLabel",0,D],99562)},16276,e=>{"use strict";let t=/^[A-Z0-9_]+:/;function i(e){return e.replace(t,"")}let r={dr:"DR",etf:"ETF",fund:"Fund",spot:"Spot",crypto:"Crypto",forex:"Forex",futures:"Futures",index:"Index",bond:"Bond",swap:"Swap",cfd:"CFD",warrant:"Warrant",structured:"Structured",right:"Right",commodity:"Commodity"};e.s(["bareTicker",0,i,"customRowModel",0,function(e,t,r,s){let a=r.trim().toLowerCase(),l=e.map(e=>{let r=t(e)||{};return{symbol:e,description:r.name||i(e),logoid:r.logoid??void 0,currency_logoid:r.currency_logoid??void 0}});if(!a)return{pinned:l,hits:[],searching:!1,hiddenPinned:0};let n=l.filter(e=>e.symbol.toLowerCase().includes(a)||i(e.symbol).toLowerCase().includes(a)||(e.description||"").toLowerCase().includes(a));return{pinned:n,hits:s.filter(t=>!e.includes(t.symbol)),searching:!0,hiddenPinned:l.length-n.length}},"displayTickers",0,function(e){let t=new Map;for(let r of e){let e=i(r);t.set(e,(t.get(e)??0)+1)}return e.map(e=>(t.get(i(e))??0)>1?e:i(e))},"symbolMetaText",0,function(e){let i;return[function(e,i){if(i&&i.trim())return i.trim();let r=t.exec(e);return r?r[0].slice(0,-1):""}(e.symbol,e.exchange),!(i=(e.type||"").trim().toLowerCase())||"stock"===i?"":r[i]??i.charAt(0).toUpperCase()+i.slice(1)].filter(
1Boolean).join(" · ")}])},56427,e=>{"use strict";var t=e.i(18050);e.s(["default",0,function({fill:e="currentColor"}){return(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 28 28",fill:"none",style:{transform:"translateY(1px)"},"aria-hidden":!0,children:(0,t.jsx)("path",{d:"M19 9C20.8112 9.00002 22.0961 9.80089 22.9023 10.8496C23.6782 11.8588 24 13.0775 24 14C24 14.9361 23.6528 16.1546 22.8721 17.1562C22.0626 18.1947 20.7822 19 19 19C17.4757 19 16.2541 18.306 15.3281 17.4512C14.4108 16.6043 13.7304 15.5536 13.2529 14.7061L13.2451 14.6924L13.2383 14.6797C12.8186 13.8791 12.2549 12.9315 11.5205 12.1924C10.7942 11.4615 9.96981 11 9 11C7.89288 11 7.17321 11.4727 6.70508 12.0732C6.20822 12.7107 6 13.4928 6 14C6.00001 14.5207 6.1985 15.3018 6.68262 15.9316C7.13654 16.5221 7.85178 17 9 17C9.58863 17 10.0613 16.8836 10.5322 16.5996C11.0207 16.3051 11.5623 15.7965 12.2236 14.9199C12.3049 15.0656 12.3815 15.2081 12.4531 15.3447L12.4609 15.3584C12.7034 15.7888 12.9947 16.263 13.3379 16.7305C12.7613 17.412 12.1838 17.9381 11.5645 18.3115C10.7389 18.8093 9.89903 19 9 19C7.18876 19 5.90387 18.1991 5.09766 17.1504C4.32183 16.1412 4.00001 14.9225 4 14C4 13.0639 4.3472 11.8454 5.12793 10.8438C5.9374 9.80535 7.21775 9.00002 9 9C10.6777 9 11.9822 9.81983 12.9395 10.7832C13.8836 11.7334 14.5565 12.8871 15.0029 13.7373C15.4387 14.5091 15.9956 15.3453 16.6846 15.9814C17.369 16.6133 18.129 17 19 17C20.1071 17 20.8268 16.5273 21.2949 15.9268C21.7918 15.2893 22 14.5072 22 14C22 13.4793 21.8015 12.6982 21.3174 12.0684C20.8635 11.4779 20.1482 11 19 11C18.4114 11 17.9387 11.1164 17.4678 11.4004C16.9862 11.6908 16.4525 12.1888 15.8037 13.043C15.7912 13.0211 15.7789 12.9993 15.7666 12.9775C15.4929 12.4558 15.1399 11.8346 14.7002 11.2246C15.2641 10.5648 15.8298 10.0537 16.4355 9.68848C17.2611 9.19074 18.101 9 19 9Z",fill:e})})}])},25737,e=>{e.v({copy:"copy-field-module-scss-module__rJN-Ia__copy",large:"copy-field-module-scss-module__rJN-Ia__large",medium:"copy-field-module-scss-module__rJN-Ia__medium",small:"copy-field-module-scss-module__rJN-Ia__small",status:"copy-field-module-scss-module__rJN-Ia__status",xsmall:"copy-field-module-scss-module__rJN-Ia__xsmall"})},91942,e=>{e.v({accent:"circle-progressbar-module-scss-module__6YOmXW__accent",background:"circle-progressbar-module-scss-module__6YOmXW__background",circle:"circle-progressbar-module-scss-module__6YOmXW__circle",danger:"circle-progressbar-module-scss-module__6YOmXW__danger",foreground:"circle-progressbar-module-scss-module__6YOmXW__foreground",large:"circle-progressbar-module-scss-module__6YOmXW__large",medium:"circle-progressbar-module-scss-module__6YOmXW__medium",neutral:"circle-progressbar-module-scss-module__6YOmXW__neutral",progressbar:"circle-progressbar-module-scss-module__6YOmXW__progressbar",small:"circle-progressbar-module-scss-module__6YOmXW__small",spin:"circle-progressbar-module-scss-module__6YOmXW__spin","spin-rtl":"circle-progressbar-module-scss-module__6YOmXW__spin-rtl",spinner:"circle-progressbar-module-scss-module__6YOmXW__spinner",success:"circle-progressbar-module-scss-module__6YOmXW__success",warning:"circle-progressbar-module-scss-module__6YOmXW__warning",xsmall:"circle-progressbar-module-scss-module__6YOmXW__xsmall"})},12743,34325,e=>{"use strict";var t,i,r=e.i(18050),s=e.i(43794),a=((t={}).Neutral="neutral",t.Accent="accent",t.Success="success",t.Warning="warning",t.Danger="danger",t);e.i(73216);var l=e.i(91942),n=((i={}).XSmall="xsmall",i.Small="small",i.Medium="medium",i.Large="large",i);e.s(["CircleProgressbar",0,function(e){let t,{className:i,style:n,intent:o=a.Neutral,size:d="small",value:c,...u}=e;return(0,r.jsx)("div",{...u,...{"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t=void 0===c?void 0:Math.min(Math.max(c,0),100),style:{...n,"--progressbar-value":t}},className:(0,s.default)(i,l.default.progressbar,l.default[d]),role:"progressbar",children:(0,r.jsxs)("svg",{className:(0,s.default)(l.default.circle,l.default[o],void 0===c&&l.default.spinner),"aria-hidden":"true",children:[(0,r.jsx)("circle",{className:l.default.background}),(0,r.jsx)("circle",{className:l.default.foreground})]})})},"CircleProgressbarSize",()=>n],34325),e.s([],12743)},73216,e=>{e.v({accent:"progressbar-module-scss-module__gl1PbG__accent",bar:"progressbar-module-scss-module__gl1PbG__bar",danger:"progressbar-module-scss-module__gl1PbG__danger",endToStart:"progressbar-module-scss-module__gl1PbG__endToStart",fill:"progressbar-module-scss-module__gl1PbG__fill",indeterminate:"progressbar-module-scss-module__gl1PbG__indeterminate","indeterminate-rtl":"progressbar-module-scss-module__gl1PbG__indeterminate-rtl",large:"progressbar-module-scss-module__gl1PbG__large",medium:"progressbar-module-scss-module__gl1PbG__medium",neutral:"progressbar-module-scss-module__gl1PbG__neutral",outline:"progressbar-module-scss-module__gl1PbG__outline",pulse:"progressbar-module-scss-module__gl1PbG__pulse",small:"progressbar-module-scss-module__gl1PbG__small",success:"progressbar-module-scss-module__gl1PbG__success",trackNeutral:"progressbar-module-scss-module__gl1PbG__trackNeutral",value:"progressbar-module-scss-module__gl1PbG__value",warning:"progressbar-module-scss-module__gl1PbG__warning"})},49483,e=>{e.v({checked:"switch-view-module-scss-module__Q9HKwW__checked",disabled:"switch-view-module-scss-module__Q9HKwW__disabled",large:"switch-view-module-scss-module__Q9HKwW__large",medium:"switch-view-module-scss-module__Q9HKwW__medium",small:"switch-view-module-scss-module__Q9HKwW__small",switchView:"switch-view-module-scss-module__Q9HKwW__switchView",thumb:"switch-view-module-scss-module__Q9HKwW__thumb",track:"switch-view-module-scss-module__Q9HKwW__track"})},65480,e=>{e.v({input:"switch-module-scss-module__EPZiOa__input",switcher:"switch-module-scss-module__EPZiOa__switcher",view:"switch-module-scss-module__EPZiOa__view"})}]);
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.