(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31068,e=>{"use strict";var t=e.i(43476),i=e.i(71645);e.s(["default",0,function({symbol:e,exchange:n}){let r=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!r.current)return;r.current.innerHTML="";let t=document.createElement("script");t.src="https://s3.tradingview.com/external-embedding/embed-widget-advanced-chart.js",t.type="text/javascript",t.async=!0;t.innerHTML=JSON.stringify({autosize:!0,symbol:`${"BYBIT"===n?"BYBIT":"BINANCE"}:${e}`,interval:"60",timezone:"Etc/UTC",theme:"light",style:"1",locale:"en",allow_symbol_change:!0,calendar:!1,support_host:"https://www.tradingview.com"}),r.current.appendChild(t)},[e,n]),(0,t.jsx)("div",{className:"tradingview-widget-container",ref:r,style:{height:"100%",width:"100%"},children:(0,t.jsx)("div",{className:"tradingview-widget-container__widget",style:{height:"calc(100% - 32px)",width:"100%"}})})}])},48281,e=>{e.n(e.i(31068))}]);