PageSourceSearch

https://cryptohall-portfolio.vercel.app/_next/static/chunks/pages/hashribbons-9f44768cab4525fb.js

js cryptohall-portfolio.vercel.app collected 2026-10-03 06:30:23 UTC 26,490 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4243],{21174:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(17963).A)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},38462:(e,t,a)=>{"use strict";function s(e,t){if(!e||0===e.length)return t.map(()=>[]);let a=t.map(()=>[]);return e.forEach(e=>{t.forEach((t,s)=>{"timestamp"===t?a[s].push(e[t]/1e3):a[s].push(e[t])})}),a}function r(e,t){if(e<=0)return t?1:.1;let a=Math.pow(10,Math.floor(Math.log10(e))),s=e/a;return a*(t?s<=1?1:s<=2?2:s<=5?5:10:s<2?1:s<5?2:s<10?5:10)}function o(e){return null!=e&&"number"==typeof e&&isFinite(e)?0===e?"$0":e>=1e6?"$".concat((e/1e6).toFixed(1),"M"):e>=1e3?"$".concat((e/1e3).toFixed(0),"K"):e>=1?"$".concat(e.toFixed(0)):"$".concat(e.toFixed(2)):""}a.d(t,{G7:()=>r,re:()=>s,w_:()=>o})},41180:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(17963).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},44990:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/hashribbons",function(){return a(79153)}])},79153:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>h});var s=a(37876),r=a(75961),o=a.n(r),n=a(14232),i=a(54627),l=a.n(i);a(58363);var c=a(21174),d=a(41180),x=a(28249),b=a(96851),p=a(38462);function h(){let e=(0,b.c)(),[t,a]=(0,n.useState)([]),[r,i]=(0,n.useState)(!0),[h,g]=(0,n.useState)(null),[m,f]=(0,n.useState)({btc:{current:0,max:0}}),[u,y]=(0,n.useState)(!1),[j,w]=(0,n.useState)(1400);(0,n.useEffect)(()=>{setTimeout(()=>y(!0),100),v();let e=()=>{let e=document.querySelector(".main-container-hashribbons");e&&w(e.offsetWidth-48)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let v=async()=>{i(!0),g(null);try{let[t,s]=await Promise.all([fetch("/api/blockchain/btc-price"),fetch("/api/blockchain/hashribbons")]),r=await t.json(),o=await s.json();if(!r.success||!o.success)throw Error(e("indicators.common.error_loading"));let n=new Map;r.data.forEach(e=>{n.set(e.unixTs,e.btcPrice)});let l=o.data.map(e=>{let t=n.get(e.unixTs),a=parseFloat(e.hashribbons);return!t||t<=0||isNaN(a)?null:{timestamp:1e3*e.unixTs,btcPrice:t,hashribbons:a}}).filter(e=>null!==e);a(l),f({btc:r.stats}),i(!1)}catch(e){g(e.message),i(!1)}},_=0===t.length?{text:e("indicators.common.loading"),color:"#78889a",bg:"#1a222b",icon:(0,s.jsx)(c.A,{size:16}),desc:e("indicators.hash_ribbons.waiting_data")}:0===t[t.length-1].hashribbons?{text:e("indicators.hash_ribbons.strong_buy_signal"),color:"#3fb950",bg:"#d1fae5",icon:(0,s.jsx)(d.A,{size:16}),desc:e("indicators.hash_ribbons.strong_buy_desc")}:{text:e("indicators.hash_ribbons.no_buy_signal"),color:"#78889a",bg:"#1a222b",icon:(0,s.jsx)(c.A,{size:16}),desc:e("indicators.hash_ribbons.no_buy_desc")},k={bg:"#0b0e13",card:"#141a21",cardAlt:"#1a222b",text:"#e4eaf0",textMuted:"#78889a",textDim:"#55636f",border:"#222b35",borderSoft:"#1b222a",borderHover:"#31404e",gridColor:"#1b222a",accent:"#2f9bf5",accentDim:"rgba(47, 155, 245, 0.14)",pos:"#3fb950",neg:"#f0574b",warn:"#e3a008"},N=(0,n.useCallback)(e=>new Date(1e3*e).getFullYear(),[]),S=(0,n.useCallback)((e,t,a,s)=>{let r=new Date(1e3*a),o=new Date(1e3*s),n=r.getFullYear(),i=o.getFullYear();3>r.getMonth()&&n++;let l=i-n,c=1;l>100?c=10:l>50?c=5:l>20&&(c=2);let d=[];for(let e=n;e<=i;e+=c){let t=new Date(e,0,1).getTime()/1e3;t>=a&&t<=s&&d.push(t)}return d},[]),M=(0,n.useCallback)((e,t,a,s)=>{let r=Math.floor(Math.log10(a)),o=Math.floor(Math.log10(s)),n=[];for(let e=r;e<=o;e++){let t=Math.pow(10,e);t>=10&&n.push(t)}return n},[]),z=(0,n.useCallback)(e=>null!=e&&"number"==typeof e&&isFinite(e)?e>=1e6?"$".concat((e/1e6).toFixed(1),"M"):e>=1e3?"$".concat((e/1e3).toFixed(0),"K"):e>=1?"$".concat(e.toFixed(0)):"$".concat(e.toFixed(2)):"",[]);(0,n.useCallback)((e,t,a)=>{if(!t||!a||t<=0||a<=0)return[10,1e5];let s=Math.log10(t),r=Math.log10(a),o=(r-s)*.3,n=Math.pow(10,s-o),i=Math.pow(10,r+o),l=(e,t)=>
1{if(e<=0)return t?1:.1;let a=Math.pow(10,Math.floor(Math.log10(e))),s=e/a;return a*(s<=1?1:s<=2?2:s<=5?5:10)},c=l(n,!1),d=l(i,!0);return[c=Math.max(c,10),d=Math.min(d,1e7)]},[]);let T=(0,n.useCallback)(()=>{let a=null;return{hooks:{init(e){(a=document.createElement("div")).className="uplot-tooltip",a.style.cssText="\n            position: absolute;\n            background: ".concat(k.card,";\n            border: 2px solid ").concat(k.border,";\n            border-radius: 12px;\n            padding: 16px;\n            box-shadow: 0 10px 40px rgba(0,0,0,0.2);\n            pointer-events: none;\n            display: none;\n            z-index: 100;\n            min-width: 220px;\n            font-family: 'Inter', -apple-system, sans-serif;\n          "),e.over.appendChild(a)},setCursor(s){var r;let{left:o,top:n,idx:i}=s.cursor;if(null==i){a.style.display="none";return}let l=s.data;if(!l||l.length<2){a.style.display="none";return}let c=l[0][i],d=l[1][i],x=null==(r=t[i])?void 0:r.hashribbons;if(!c||!d||void 0===x){a.style.display="none";return}let b=new Date(1e3*c).toLocaleDateString("pt-BR",{day:"2-digit",month:"short",year:"numeric"}),p=0===x?e("indicators.hash_ribbons.tooltip_down_buy"):e("indicators.hash_ribbons.tooltip_up_neutral"),h=0===x?"#3fb950":k.textMuted,g=0===x?e("indicators.hash_ribbons.tooltip_buy_signal"):e("indicators.hash_ribbons.tooltip_no_strong_signal");a.innerHTML='\n            <p style="margin: 0 0 12px 0; font-weight: 700; font-size: 13px; color: '.concat(k.textMuted,';">\n              ').concat(b,'\n            </p>\n            <div style="display: flex; align-items: center; gap: 8px; margin-bottom: 8px;">\n              <div style="width: 12px; height: 12px; border-radius: 3px; background: #f97316;"></div>\n              <span style="color: ').concat(k.text,'; font-weight: 600; font-size: 14px;">\n                BTC: $').concat(d.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:0}),'\n              </span>\n            </div>\n            <div style="display: flex; align-items: center; gap: 8px; margin-bottom: 8px;">\n              <div style="width: 12px; height: 12px; border-radius: 3px; background: ').concat(0===x?"#3fb950":"#8b5cf6",';"></div>\n              <span style="color: ').concat(k.text,'; font-weight: 600; font-size: 14px;">Hash Ribbons: ').concat(p,'</span>\n            </div>\n            <div style="margin-top: 12px; padding-top: 12px; border-top: 1px solid ').concat(k.border,"; font-size: 12px; color: ").concat(h,'; font-weight: 600;">\n              ').concat(g,"\n            </div>\n          "),a.style.display="block";let m=a.offsetWidth,f=a.offsetHeight,u=s.over.getBoundingClientRect(),y=o+10,j=n+10;y+m>u.width&&(y=o-m-10),j+f>u.height&&(j=n-f-10),a.style.left=Math.max(0,y)+"px",a.style.top=Math.max(0,j)+"px"},destroy(){a&&a.parentNode&&a.parentNode.removeChild(a)}}}},[k,t]),C=(0,n.useCallback)(()=>({hooks:{draw(e){let t=e.ctx,{left:a,top:s,width:r,height:o}=e.bbox;t.save(),t.beginPath(),t.rect(a,s,r,o),t.clip();for(let a=1;a<e.series.length;a++){let s=e.series[a];if(!s.show)continue;let r=s._stroke||s.stroke,o=e.data[0],n=e.data[a];if(!o||!n)continue;t.beginPath();let i=!1;for(let a=0;a<o.length;a++){if(null==n[a])continue;let s=e.valToPos(o[a],"x",!0),r=e.valToPos(n[a],"y",!0);i?t.lineTo(s,r):(t.moveTo(s,r),i=!0)}t.shadowColor=r,t.shadowBlur=12,t.strokeStyle=r,t.lineWidth=1,t.globalAlpha=.4,t.stroke(),t.shadowBlur=6,t.globalAlpha=.6,t.stroke(),t.shadowBlur=0,t.globalAlpha=1}t.restore()}}}),[]),R=(0,n.useCallback)(()=>({hooks:{drawSeries(e,t){let a=e.ctx;if(!e.series[t].show||0===t)return;let{left:s,top:r,width:o,height:n}=e.bbox,i=e.data[0],l=e.data[t];if(!i||!l)return;a.save(),a.beginPath(),a.rect(s,r,o,n),a.clip(),a.beginPath();let c=!1,d=0,x=0;for(let t=0;t<i.length;t++){if(null==l[t])continue;let s=e.valToPos(i[t],"x",!0),r=e.valToPos(l[t],"y",!0);c?a.lineTo(s,r):(a.moveTo(s,r),d=s,c=!0),x=s}a.lineTo(x,r+n),a.lineTo(d,r+n),a.closePath();let b=a.createLinearGradient(0,r,0,r+n);b.addColorStop(0,"rgba(249, 115, 22, 0.20)"),b.addColorStop(.5,"rgba(249, 115, 22, 0.06)"),b.addColorStop(1,"rgba(249, 115, 22, 0)"),a.fillStyle=b,a.fill(),a.restore(
1)}}}),[]),P=(0,n.useCallback)(()=>({hooks:{ready(e){e.over.addEventListener("dblclick",()=>{e.setScale("x",{min:null,max:null}),e.setScale("y",{min:null,max:null})})}}}),[]),B=(0,n.useCallback)(()=>({hooks:{drawClear(e){let a=e.ctx,s=e.bbox,r=e.scales.x.min,o=e.scales.x.max;a.save(),a.beginPath(),a.rect(s.left,s.top,s.width,s.height),a.clip();let n=null;for(let i=0;i<t.length;i++){let l=t[i],c=l.timestamp/1e3;if(l.btcPrice&&!(l.btcPrice<=0)){if(0===l.hashribbons&&null===n)n=i;else if(1===l.hashribbons&&null!==n){let i=t[n].timestamp/1e3;if(c>=r&&i<=o){let t=e.valToPos(Math.max(i,r),"x",!0),n=e.valToPos(Math.min(c,o),"x",!0);n>t&&(a.fillStyle="#f0574b",a.globalAlpha=.15,a.fillRect(t,s.top,n-t,s.height))}n=null}if(i===t.length-1&&null!==n){let i=t[n].timestamp/1e3;if(c>=r&&i<=o){let t=e.valToPos(Math.max(i,r),"x",!0),n=e.valToPos(Math.min(c,o),"x",!0);n>t&&(a.fillStyle="#f0574b",a.globalAlpha=.15,a.fillRect(t,s.top,n-t,s.height))}}}}a.restore()}}}),[t]),F=(0,n.useMemo)(()=>{if(!t||0===t.length)return null;let e=[],a=[];return t.forEach(t=>{t.timestamp&&t.btcPrice&&t.btcPrice>0&&(e.push(t.timestamp/1e3),a.push(t.btcPrice))}),[e,a]},[t]),W=(0,n.useMemo)(()=>{if(!t.length)return null;let e=t.map(e=>e.btcPrice).filter(e=>e>0),a=Math.min(...e),s=Math.max(...e),r=(0,p.G7)(.8*a,!1),o=(0,p.G7)(1.2*s,!0);return{width:j,height:650,cursor:{drag:{x:!0,y:!1,setScale:!0}},scales:{x:{time:!0},y:{distr:3,log:10,range:(e,t,a)=>null==t||null==a?[r,o]:[(0,p.G7)(.8*t,!1),(0,p.G7)(1.2*a,!0)]}},series:[{label:"Time"},{label:"BTC Price",stroke:"#f97316",width:2}],axes:[{show:!0,side:2,scale:"x",splits:S,values:(e,t)=>t.map(e=>N(e)),stroke:k.text,size:60,gap:5,font:"600 13px Inter, sans-serif",border:{show:!0,stroke:"rgba(255, 255, 255, 0.15)",width:1},grid:{show:!1},ticks:{show:!0,stroke:k.text,width:1,size:8}},{scale:"y",space:80,splits:M,values:(e,t)=>t.map(e=>z(e)),border:{show:!0,stroke:"rgba(255, 255, 255, 0.15)",width:1},grid:{show:!0,stroke:"rgba(255, 255, 255, 0.04)",width:1,dash:[2,6]},ticks:{show:!0,stroke:k.gridColor,width:1,size:8},stroke:k.text,size:80,gap:5,font:"700 13px Inter, sans-serif"}],plugins:[B(),R(),C(),T(),P()],legend:{show:!0,live:!0,markers:{width:2,stroke:(e,t)=>e.series[t].stroke,fill:(e,t)=>e.series[t].stroke}},padding:[20,80,60,80]}},[t.length,j,k,N,S,M,z,B,T,P]);return r?(0,s.jsx)("div",{style:{minHeight:"100vh",background:k.bg,padding:"20px",fontFamily:"'Inter', -apple-system, sans-serif"},children:(0,s.jsxs)("div",{style:{maxWidth:"1530px",margin:"0 auto"},children:[(0,s.jsx)("div",{style:{background:k.card,borderRadius:"10px",padding:"14px",marginBottom:"20px"},children:(0,s.jsx)("div",{style:{height:"32px",background:k.border,borderRadius:"8px",width:"250px"}})}),(0,s.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:"16px",marginBottom:"20px"},children:[1,2,3,4].map(e=>(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"8px",padding:"14px"},children:[(0,s.jsx)("div",{style:{height:"16px",background:k.border,borderRadius:"4px",width:"80px",marginBottom:"12px"}}),(0,s.jsx)("div",{style:{height:"24px",background:k.border,borderRadius:"4px",width:"120px"}})]},e))}),(0,s.jsx)("div",{style:{background:k.card,borderRadius:"10px",padding:"14px",height:"600px"}})]})}):h?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",background:k.bg,padding:"20px",fontFamily:"'Inter', -apple-system, sans-serif"},children:(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"10px",padding:"32px",textAlign:"center",boxShadow:"0 20px 60px rgba(0,0,0,0.15)",maxWidth:"400px"},children:[(0,s.jsx)("div",{style:{fontSize:"48px",marginBottom:"16px"},children:"⚠️"}),(0,s.jsx)("h2",{style:{color:"#f0574b",marginBottom:"16px",fontSize:"24px"},children:"Erro ao Carregar"}),(0,s.jsx)("p",{style:{color:k.textMuted,marginBottom:"32px",lineHeight:"1.6"},children:h}),(0,s.jsx)("button",{onClick:v,style:{padding:"14px 32px",background:"linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%)",color:"white",border:"none",borderRadius:"10px",cursor:"pointer",fontWeight:"600",fontSize:"15px",transition:"transform 0.2s ease"},onMouseEnter:e=>e.target.style.transform="translateY(-2px)",onMouseLeave:e=>e.target.style.transform="translateY(0)",children:"Tentar Novamente"})]})}):(0,s.jsxs)("div",{style:{minHeight:"100vh",background:k.bg,padding:"20px",fontFamily:"'Inter', -apple-system, sans-serif",opacity:+!!u,transition:"all 0.6s ease"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)(o(),{id:"84b1dbf0c96aac73",children:"html,body{background:#0b0e13;color:#e4eaf0}"}),(0,s.jsxs)("div",{style:{maxWidth:"1530px",margin:"0 auto"},className:"jsx-84b1dbf0c96aac73 main-container-hashribbons",children:[(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"10px",padding:"14px",marginBottom:"20px",boxShadow:"0 8px 32px rgba(0,0,0,0.3)",display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:"16px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsxs)("div",{className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("h1",{style:{margin:"0 0 8px 0",fontSize:"clamp(16px, 2vw, 19px)",color:k.text,fontWeight:600},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.title")}),(0,s.jsx)("p",{style:{margin:0,fontSize:"14px",color:k.textMuted},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.subtitle",{count:t.length})})]}),(0,s.jsx)("div",{style:{display:"flex",gap:"12px",alignItems:"center"},className:"jsx-84b1dbf0c96aac73",children:(0,s.jsx)("button",{onClick:()=>{window.opener?window.close():window.parent!==window?window.parent.postMessage({action:"closeIframe"},"*"):window.history.back()},style:{padding:0,width:"30px",height:"30px",background:"none",border:"none",borderRadius:"6px",cursor:"pointer",display:"grid",placeItems:"center",color:k.textMuted,transition:"background 0.12s ease, color 0.12s ease"},onMouseEnter:e=>{e.currentTarget.style.background="rgba(240, 87, 75, 0.14)",e.currentTarget.style.color="#f0574b"},onMouseLeave:e=>{e.currentTarget.style.background="none",e.currentTarget.style.color="#78889a"},className:"jsx-84b1dbf0c96aac73",children:(0,s.jsx)(x.A,{size:20})})})]}),(0,s.jsxs)("div",{style:{background:"linear-gradient(135deg, ".concat(_.bg," 0%, ").concat(_.bg," 100%)"),border:"2px s
1olid ".concat(_.color),borderRadius:"8px",padding:"16px 20px",marginBottom:"20px",display:"flex",alignItems:"center",gap:"12px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("div",{style:{color:_.color},className:"jsx-84b1dbf0c96aac73",children:_.icon}),(0,s.jsxs)("div",{className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("strong",{style:{color:_.color,fontSize:"15px"},className:"jsx-84b1dbf0c96aac73",children:_.text}),(0,s.jsx)("p",{style:{margin:"4px 0 0 0",fontSize:"13px",color:k.textMuted},className:"jsx-84b1dbf0c96aac73",children:_.desc})]})]}),(0,s.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:"16px",marginBottom:"20px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"8px",padding:"14px",boxShadow:"0 4px 20px rgba(0,0,0,0.3)",borderLeft:"4px solid #f97316",cursor:"pointer",transition:"transform 0.2s"},onMouseEnter:e=>e.currentTarget.style.transform="translateY(-4px)",onMouseLeave:e=>e.currentTarget.style.transform="translateY(0)",className:"jsx-84b1dbf0c96aac73 stat-card",children:[(0,s.jsx)("div",{style:{fontSize:"12px",color:k.textMuted,marginBottom:"8px",fontWeight:"600",textTransform:"uppercase"},className:"jsx-84b1dbf0c96aac73",children:"BTC Price"}),(0,s.jsxs)("div",{style:{fontSize:"clamp(18px, 2vw, 21px)",fontWeight:500,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontVariantNumeric:"tabular-nums",letterSpacing:"-0.02em",color:"#f97316",marginBottom:"4px"},className:"jsx-84b1dbf0c96aac73",children:["$",parseFloat(m.btc.current).toLocaleString("en-US",{minimumFractionDigits:0})]}),(0,s.jsx)("div",{style:{fontSize:"12px",color:k.textMuted},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.current_price")})]}),(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"8px",padding:"14px",boxShadow:"0 4px 20px rgba(0,0,0,0.3)",borderLeft:"4px solid ".concat(t.length>0&&0===t[t.length-1].hashribbons?"#3fb950":"#8b5cf6"),cursor:"pointer",transition:"transform 0.2s"},onMouseEnter:e=>e.currentTarget.style.transform="translateY(-4px)",onMouseLeave:e=>e.currentTarget.style.transform="translateY(0)",className:"jsx-84b1dbf0c96aac73 stat-card",children:[(0,s.jsx)("div",{style:{fontSize:"12px",color:k.textMuted,marginBottom:"8px",fontWeight:"600",textTransform:"uppercase"},className:"jsx-84b1dbf0c96aac73",children:"Hash Ribbons"}),(0,s.jsx)("div",{style:{fontSize:"clamp(18px, 2vw, 21px)",fontWeight:500,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontVariantNumeric:"tabular-nums",letterSpacing:"-0.02em",color:t.length>0&&0===t[t.length-1].hashribbons?"#3fb950":"#8b5cf6",marginBottom:"4px"},className:"jsx-84b1dbf0c96aac73",children:t.length>0&&0===t[t.length-1].hashribbons?"DOWN":"UP"}),(0,s.jsx)("div",{style:{fontSize:"12px",color:k.textMuted},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.current_state")})]}),(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"8px",padding:"14px",boxShadow:"0 4px 20px rgba(0,0,0,0.3)",borderLeft:"4px solid #3b82f6",cursor:"pointer",transition:"transform 0.2s"},onMouseEnter:e=>e.currentTarget.style.transform="translateY(-4px)",onMouseLeave:e=>e.currentTarget.style.transform="translateY(0)",className:"jsx-84b1dbf0c96aac73 stat-card",children:[(0,s.jsx)("div",{style:{fontSize:"12px",color:k.textMuted,marginBottom:"8px",fontWeight:"600",textTransform:"uppercase"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.total_signals")}),(0,s.jsx)("div",{style:{fontSize:"clamp(18px, 2vw, 21px)",fontWeight:500,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",fontVariantNumeric:"tabular-nums",letterSpacing:"-0.02em",color:"#3b82f6",marginBottom:"4px"},className:"jsx-84b1dbf0c96aac73",children:t.filter(e=>0===e.hashribbons).length}),(0,s.jsx)("div",{style:{fontSize:"12px",color:k.textMuted},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.down_periods")})]}),(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"8px",padding:"14px",boxShadow:"0 4px 20px rgba(0,0,0,0.3)",borderLeft:"4px solid ".concat(_.color),cursor:"pointer",transition:"transform 0.2s"},onMouseEnter:e=>e.currentTarget.style.transform="translateY(-4px)",onMouseLeave:e=>e.currentTarget.style.transform="translateY(0)",className:"jsx-84b1dbf0c96aac73 stat-card",children:[(0,s.jsx)("div",{style:{fontSize:"12px",color:k.textMuted,marginBottom:"8px",fontWeight:"600",textTransform:"uppercase"},className:"jsx-84b1dbf0c96aac73",children:"Status"}),(0,s.jsx)("div",{style:{fontSize:"clamp(16px, 2.5vw, 20px)",fontWeight:600,color:_.color,marginBottom:"4px"},className:"jsx-84b1dbf0c96aac73",children:_.text}),(0,s.jsx)("div",{style:{display:"inline-block",padding:"4px 10px",background:_.bg,color:_.color,borderRadius:"6px",fontSize:"11px",fontWeight:600,textTransform:"uppercase"},className:"jsx-84b1dbf0c96aac73",children:t.length>0&&0===t[t.length-1].hashribbons?e("indicators.hash_ribbons.badge_buy"):e("indicators.hash_ribbons.badge_neutral")})]})]}),(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"8px",padding:"16px 20px",marginBottom:"12px",boxShadow:"0 4px 16px rgba(0,0,0,0.2)",display:"flex",alignItems:"center",gap:"20px",flexWrap:"wrap",border:"1px solid ".concat(k.border),transition:"all 0.3s ease"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("span",{style:{fontSize:"18px"},className:"jsx-84b1dbf0c96aac73",children:"\uD83D\uDD0D"}),(0,s.jsxs)("span",{style:{color:k.text,fontSize:"14px",fontWeight:"600"},className:"jsx-84b1dbf0c96aac73",children:[e("indicators.common.zoom"),":"]}),(0,s.jsx)("span",{style:{color:k.textMuted,fontSize:"13px"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.common.zoom_instruction")})]}),(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("span",{style:{fontSize:"18px"},className:"jsx-84b1dbf0c96aac73",children:"↩️"}),(0,s.jsxs)("span",{style:{color:k.text,fontSize:"14px",fontWeight:"600"},className:"jsx-84b1dbf0c96aac73",children:[e("indicators.common.reset"),":"]}),(0,s.jsx)("span",{style:{color:k.textMuted,fontSize:"13px"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.common.reset_instruction")})]}),(0,s.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("span",{style:{fontSize:"18px"},className:"jsx-84b1dbf0c96aac73",children:"\uD83D\uDD34"}),(0,s.jsx)("span",{style:{color:k.text,fontSize:"14px",fontWeight:"600"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.red_areas")}),(0,s.jsx)("span",{style:{color:k.textMuted,fontSize:"13px"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.red_areas_desc")})]})]}),W&&F&&(0,s.jsxs)("div",{style:{background:k.card,borderRadius:"10px",padding:"14px",boxShadow:"0 8px 32px rgba(0,0,0,0.3)",marginBottom:"16
1px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("style",{children:"\n              .u-legend .u-series {\n                color: ".concat(k.text," !important;\n              }\n              .u-legend .u-series th {\n                color: ").concat(k.text," !important;\n                font-weight: 600;\n              }\n              .u-legend .u-value {\n                color: ").concat(k.text," !important;\n              }\n            ")}),(0,s.jsx)(l(),{options:W,data:F})]}),(0,s.jsxs)("div",{style:{marginTop:"20px",background:k.card,borderRadius:"10px",padding:"32px",boxShadow:"0 4px 20px rgba(0,0,0,0.3)"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("h3",{style:{margin:"0 0 16px 0",fontSize:"20px",color:k.text,fontWeight:600},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.what_is")}),(0,s.jsx)("p",{style:{margin:"0 0 12px 0",color:k.textMuted,lineHeight:"1.7",fontSize:"14px"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.what_is_desc")}),(0,s.jsxs)("p",{style:{margin:"0 0 12px 0",color:k.textMuted,lineHeight:"1.7",fontSize:"14px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("strong",{style:{color:k.text},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.how_works")})," ",e("indicators.hash_ribbons.how_works_desc")]}),(0,s.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(250px, 1fr))",gap:"16px",marginTop:"20px"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsxs)("div",{style:{padding:"16px",background:"#d1fae5",borderRadius:"10px",borderLeft:"4px solid #3fb950"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("strong",{style:{color:"#3fb950",fontSize:"14px"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.negative")}),(0,s.jsx)("p",{style:{margin:"8px 0 0 0",fontSize:"13px",color:"#065f46"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.negative_desc")})]}),(0,s.jsxs)("div",{style:{padding:"16px",background:"#dbeafe",borderRadius:"10px",borderLeft:"4px solid #3b82f6"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("strong",{style:{color:"#3b82f6",fontSize:"14px"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.positive_cross")}),(0,s.jsx)("p",{style:{margin:"8px 0 0 0",fontSize:"13px",color:"#1e3a8a"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.positive_cross_desc")})]}),(0,s.jsxs)("div",{style:{padding:"16px",background:"#fef3c7",borderRadius:"10px",borderLeft:"4px solid #e3a008"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("strong",{style:{color:"#e3a008",fontSize:"14px"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.neutral_zone")}),(0,s.jsx)("p",{style:{margin:"8px 0 0 0",fontSize:"13px",color:"#92400e"},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.neutral_zone_desc")})]})]}),(0,s.jsxs)("div",{style:{marginTop:"24px",padding:"16px",background:"#222b35",borderRadius:"10px",fontSize:"13px",color:k.textMuted},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("strong",{style:{color:k.text},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.how_use")})," ",e("indicators.hash_ribbons.how_use_desc",{status:t.length>0?0===t[t.length-1].hashribbons?"DOWN":"UP":"N/A",count:t.length})]}),(0,s.jsxs)("div",{style:{marginTop:"16px",padding:"16px",background:"#1a222b",border:"1px solid ".concat(k.border),borderRadius:"10px",fontSize:"13px",color:k.textMuted},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("strong",{style:{color:k.text},className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.historical_examples")}),(0,s.jsxs)("ul",{style:{margin:"8px 0 0 0",paddingLeft:"20px",lineHeight:"1.8"},className:"jsx-84b1dbf0c96aac73",children:[(0,s.jsx)("li",{className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.example_2018")}),(0,s.jsx)("li",{className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.example_2020")}),(0,s.jsx)("li",{className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.example_2021")}),(0,s.jsx)("li",{className:"jsx-84b1dbf0c96aac73",children:e("indicators.hash_ribbons.example_2022")})]})]})]})]}),(0,s.jsx)("style",{children:"\n        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');\n        * { box-sizing: border-box; }\n        ::-webkit-scrollbar { width: 6px; }\n        ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }\n        ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #6366f1, #8b5cf6); border-radius: 3px; }\n\n        .stat-card:hover {\n          transform: translateY(-4px) !important;\n        }\n      "})]})}}},e=>{e.O(0,[2175,636,6593,8792],()=>e(e.s=44990)),_N_E=e.O()}]);

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.