@hanzo/ui 5.1.8 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/3d/button.js +1 -0
- package/dist/3d/button.mjs +1 -0
- package/dist/3d/card.js +1 -0
- package/dist/3d/card.mjs +1 -0
- package/dist/3d/carousel.js +1 -0
- package/dist/3d/carousel.mjs +1 -0
- package/dist/3d/grid.js +1 -0
- package/dist/3d/grid.mjs +1 -0
- package/dist/3d/index.js +1 -0
- package/dist/3d/index.mjs +1 -0
- package/dist/3d/marquee.js +1 -0
- package/dist/3d/marquee.mjs +1 -0
- package/dist/3d/pin.js +1 -0
- package/dist/3d/pin.mjs +1 -0
- package/dist/animation/apple-cards-carousel.js +1 -0
- package/dist/animation/apple-cards-carousel.mjs +1 -0
- package/dist/animation/apple-hello-effect.js +1 -0
- package/dist/animation/apple-hello-effect.mjs +1 -0
- package/dist/animation/beam.js +1 -0
- package/dist/animation/beam.mjs +1 -0
- package/dist/animation/cursor.js +1 -0
- package/dist/animation/cursor.mjs +1 -0
- package/dist/animation/index.js +2 -0
- package/dist/animation/index.mjs +2 -0
- package/dist/animation/testimonials.js +1 -0
- package/dist/animation/testimonials.mjs +1 -0
- package/dist/animation/tooltip.js +1 -0
- package/dist/animation/tooltip.mjs +1 -0
- package/dist/avatar.js +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/chunk-266OC746.mjs +2 -0
- package/dist/chunk-2B7NONPA.mjs +1 -0
- package/dist/chunk-2SI3T6F4.mjs +1 -0
- package/dist/chunk-37TVHMP2.mjs +1 -0
- package/dist/chunk-4A27XTBF.js +12 -0
- package/dist/chunk-4CJ44NSE.js +1 -0
- package/dist/chunk-4SKGA2GA.mjs +1 -0
- package/dist/chunk-4TE2JWNG.js +1 -0
- package/dist/chunk-4XCQFT2C.mjs +1 -0
- package/dist/chunk-4YMLAU5Z.js +1 -0
- package/dist/chunk-5RACWNGV.mjs +1 -0
- package/dist/chunk-A3S2QAGG.mjs +3 -0
- package/dist/chunk-B3L4REN3.js +1 -0
- package/dist/chunk-B4RJSSWX.js +1 -0
- package/dist/chunk-B7LBF7R7.js +1 -0
- package/dist/chunk-BIWGFJPQ.mjs +1 -0
- package/dist/chunk-BOBL44QL.mjs +2 -0
- package/dist/chunk-BUMLLGES.mjs +1 -0
- package/dist/chunk-BYFLZ6DP.js +1 -0
- package/dist/chunk-C66RILAI.mjs +42 -0
- package/dist/chunk-CDBOLI7U.js +42 -0
- package/dist/chunk-CDO4BR6V.js +1 -0
- package/dist/chunk-CGUI5CEC.mjs +1 -0
- package/dist/chunk-CICZVOAY.js +1 -0
- package/dist/chunk-DB3WJTS4.js +1 -0
- package/dist/chunk-DKL2FM7J.mjs +1 -0
- package/dist/chunk-DNYROKHM.mjs +1 -0
- package/dist/chunk-DRLJ6Z7Q.js +1 -0
- package/dist/chunk-DYF5HRXR.mjs +1 -0
- package/dist/chunk-EATSKPYS.js +10 -0
- package/dist/chunk-EGN6SLB7.js +3 -0
- package/dist/chunk-EK5T4DQ2.js +2 -0
- package/dist/chunk-ELR6GOUX.mjs +1 -0
- package/dist/chunk-EQAPJD4H.mjs +1 -0
- package/dist/chunk-FCHJPQ73.mjs +1 -0
- package/dist/chunk-FE2O6776.js +1 -0
- package/dist/chunk-FIN2IX2D.mjs +1 -0
- package/dist/chunk-FQO25CNQ.mjs +1 -0
- package/dist/chunk-FX7VUERX.mjs +2 -0
- package/dist/chunk-G4X4J5EW.js +1 -0
- package/dist/chunk-GFWDGZO7.mjs +1 -0
- package/dist/chunk-GTFU3T2U.mjs +1 -0
- package/dist/chunk-GTUCZ5TW.js +1 -0
- package/dist/chunk-HEZV2WAY.js +2 -0
- package/dist/chunk-HIDGPSBX.js +1 -0
- package/dist/chunk-HLJAWNJK.js +1 -0
- package/dist/chunk-HM47SDFC.mjs +1 -0
- package/dist/chunk-HQGRRTIW.mjs +2 -0
- package/dist/chunk-J4DJZHOE.js +2 -0
- package/dist/chunk-J5KX3VTM.js +1 -0
- package/dist/chunk-JNNKXOA3.js +1 -0
- package/dist/chunk-JRWBF5SH.js +1 -0
- package/dist/chunk-JTTJLJON.js +2 -0
- package/dist/chunk-JZGTSHZ4.js +1 -0
- package/dist/chunk-LADFCKQD.mjs +1 -0
- package/dist/chunk-LHKPSY4L.js +1 -0
- package/dist/chunk-LMOX4GTY.js +1 -0
- package/dist/chunk-LYXX7LU2.js +6 -0
- package/dist/chunk-M4GZKMQS.mjs +6 -0
- package/dist/chunk-MJDVKTGX.mjs +1 -0
- package/dist/chunk-MPZRRATY.mjs +1 -0
- package/dist/chunk-MUI6SJLP.js +1 -0
- package/dist/chunk-NBXNOMXS.mjs +2 -0
- package/dist/chunk-NE7ICOQE.mjs +2 -0
- package/dist/chunk-NL5ZWDIJ.mjs +1 -0
- package/dist/chunk-NS6CEKHH.mjs +1 -0
- package/dist/chunk-O6RJT46G.js +1 -0
- package/dist/chunk-OC34KEWQ.mjs +1 -0
- package/dist/chunk-OL63HLUI.js +2 -0
- package/dist/chunk-OLTPOUB2.js +2 -0
- package/dist/chunk-OQOBF7QQ.js +1 -0
- package/dist/chunk-OY2LIJR2.mjs +2 -0
- package/dist/chunk-PE5GANLF.mjs +1 -0
- package/dist/chunk-PIDMTL36.mjs +1 -0
- package/dist/chunk-QGHPGSQL.mjs +2 -0
- package/dist/chunk-QLB43TFO.mjs +1 -0
- package/dist/chunk-R2JKVWNB.js +2 -0
- package/dist/chunk-RAT4U2JG.mjs +1 -0
- package/dist/chunk-RBURLSG7.js +2 -0
- package/dist/chunk-RO3D3W57.js +1 -0
- package/dist/chunk-RPOB4E3W.js +1 -0
- package/dist/chunk-RVPP46TI.js +2 -0
- package/dist/chunk-S2UB25HB.mjs +12 -0
- package/dist/chunk-SCYHSLR2.js +2 -0
- package/dist/chunk-SRPQZYB6.js +1 -0
- package/dist/chunk-TCTFHNND.js +1 -0
- package/dist/chunk-TG6V2JL2.js +1 -0
- package/dist/chunk-TGL6VBFN.js +1 -0
- package/dist/chunk-TNF5G2ZW.mjs +1 -0
- package/dist/chunk-TXND3LRQ.mjs +1 -0
- package/dist/chunk-U7CUKU4W.mjs +1 -0
- package/dist/chunk-UPRWI4ON.mjs +2 -0
- package/dist/chunk-V23X5ZD6.mjs +2 -0
- package/dist/chunk-VFFLOHVQ.mjs +1 -0
- package/dist/chunk-VHB7M646.mjs +10 -0
- package/dist/chunk-VJDDFZ7N.mjs +2 -0
- package/dist/chunk-VN2BKXHJ.js +1 -0
- package/dist/chunk-VT77IEYF.mjs +1 -0
- package/dist/chunk-VTJ6QUCR.js +1 -0
- package/dist/chunk-VUIJAFJC.js +1 -0
- package/dist/chunk-WN767YS2.mjs +2 -0
- package/dist/chunk-WREKV6XQ.mjs +1 -0
- package/dist/chunk-XBDQSMTI.js +2 -0
- package/dist/chunk-XFK7RTKE.js +1 -0
- package/dist/chunk-XJTWK37Q.mjs +2 -0
- package/dist/chunk-XMYCJ2B5.js +1 -0
- package/dist/chunk-XOGRJZXX.mjs +1 -0
- package/dist/chunk-XOQCRR5Q.js +2 -0
- package/dist/chunk-Y6SIRKG3.js +2 -0
- package/dist/chunk-YLY2B6UX.mjs +1 -0
- package/dist/chunk-YQUF7KPG.mjs +1 -0
- package/dist/chunk-Z3DNBRF4.js +1 -0
- package/dist/chunk-ZA3JIBDG.js +1 -0
- package/dist/chunk-ZDOIGP2L.js +1 -0
- package/dist/code/block.js +1 -0
- package/dist/code/block.mjs +1 -0
- package/dist/code/compare.js +1 -0
- package/dist/code/compare.mjs +1 -0
- package/dist/code/diff.js +1 -0
- package/dist/code/diff.mjs +1 -0
- package/dist/code/editor.js +1 -0
- package/dist/code/editor.mjs +1 -0
- package/dist/code/explorer.js +1 -0
- package/dist/code/explorer.mjs +1 -0
- package/dist/code/index.js +1 -0
- package/dist/code/index.mjs +1 -0
- package/dist/code/preview.js +1 -0
- package/dist/code/preview.mjs +1 -0
- package/dist/code/snippet.js +1 -0
- package/dist/code/snippet.mjs +1 -0
- package/dist/code/tabs.js +1 -0
- package/dist/code/tabs.mjs +1 -0
- package/dist/code/terminal.js +1 -0
- package/dist/code/terminal.mjs +1 -0
- package/dist/device/index.js +1 -0
- package/dist/device/index.mjs +0 -0
- package/dist/dock/basic.js +1 -0
- package/dist/dock/basic.mjs +1 -0
- package/dist/dock/index.js +1 -0
- package/dist/dock/index.mjs +1 -0
- package/dist/dock/limelight-nav.js +1 -0
- package/dist/dock/limelight-nav.mjs +1 -0
- package/dist/dock/macos.js +1 -0
- package/dist/dock/macos.mjs +1 -0
- package/dist/dock/menu.js +1 -0
- package/dist/dock/menu.mjs +1 -0
- package/dist/dock/message.js +1 -0
- package/dist/dock/message.mjs +1 -0
- package/dist/finance/AdvancedChart.js +1 -0
- package/dist/finance/AdvancedChart.mjs +1 -0
- package/dist/finance/CompanyProfile.js +1 -0
- package/dist/finance/CompanyProfile.mjs +1 -0
- package/dist/finance/CryptoScreener.js +1 -0
- package/dist/finance/CryptoScreener.mjs +1 -0
- package/dist/finance/Financials.js +1 -0
- package/dist/finance/Financials.mjs +1 -0
- package/dist/finance/ForexScreener.js +1 -0
- package/dist/finance/ForexScreener.mjs +1 -0
- package/dist/finance/MarketOverview.js +1 -0
- package/dist/finance/MarketOverview.mjs +1 -0
- package/dist/finance/NewsTimeline.js +1 -0
- package/dist/finance/NewsTimeline.mjs +1 -0
- package/dist/finance/OrderEntry.js +1 -0
- package/dist/finance/OrderEntry.mjs +1 -0
- package/dist/finance/OrdersHistory.js +1 -0
- package/dist/finance/OrdersHistory.mjs +1 -0
- package/dist/finance/PositionsList.js +1 -0
- package/dist/finance/PositionsList.mjs +1 -0
- package/dist/finance/StockScreener.js +1 -0
- package/dist/finance/StockScreener.mjs +1 -0
- package/dist/finance/SymbolInfo.js +1 -0
- package/dist/finance/SymbolInfo.mjs +1 -0
- package/dist/finance/TechnicalAnalysis.js +1 -0
- package/dist/finance/TechnicalAnalysis.mjs +1 -0
- package/dist/finance/TickerTape.js +1 -0
- package/dist/finance/TickerTape.mjs +1 -0
- package/dist/finance/TradingPanel.js +1 -0
- package/dist/finance/TradingPanel.mjs +1 -0
- package/dist/finance/index.js +1 -0
- package/dist/finance/index.mjs +1 -0
- package/dist/form/index.js +1 -0
- package/dist/form/index.mjs +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/navigation/index.js +1 -0
- package/dist/navigation/index.mjs +1 -0
- package/dist/pattern/grid.js +1 -0
- package/dist/pattern/grid.mjs +1 -0
- package/dist/pattern/index.js +1 -0
- package/dist/pattern/index.mjs +1 -0
- package/dist/primitives/index.js +1 -1
- package/dist/primitives/index.mjs +1 -1
- package/dist/project/gantt.js +1 -0
- package/dist/project/gantt.mjs +1 -0
- package/dist/project/index.js +1 -0
- package/dist/project/index.mjs +1 -0
- package/dist/project/kanban.js +1 -0
- package/dist/project/kanban.mjs +1 -0
- package/dist/project/list.js +1 -0
- package/dist/project/list.mjs +1 -0
- package/dist/ui/announcement.js +1 -0
- package/dist/ui/announcement.mjs +1 -0
- package/dist/ui/avatar-group.js +1 -0
- package/dist/ui/avatar-group.mjs +1 -0
- package/dist/ui/banner.js +1 -0
- package/dist/ui/banner.mjs +1 -0
- package/dist/ui/cursor.js +1 -0
- package/dist/ui/cursor.mjs +1 -0
- package/dist/ui/index.js +1 -0
- package/dist/ui/index.mjs +1 -0
- package/dist/ui/marquee.js +1 -0
- package/dist/ui/marquee.mjs +1 -0
- package/dist/ui/pill.js +1 -0
- package/dist/ui/pill.mjs +1 -0
- package/dist/ui/spinner.js +1 -0
- package/dist/ui/spinner.mjs +1 -0
- package/dist/ui/tags.js +1 -0
- package/dist/ui/tags.mjs +1 -0
- package/dist/ui/ticker.js +1 -0
- package/dist/ui/ticker.mjs +1 -0
- package/finance/README.md +164 -0
- package/finance/components/AdvancedChart.tsx +58 -0
- package/finance/components/CompanyProfile.tsx +65 -0
- package/finance/components/CryptoScreener.tsx +55 -0
- package/finance/components/Financials.tsx +71 -0
- package/finance/components/ForexScreener.tsx +56 -0
- package/finance/components/MarketOverview.tsx +114 -0
- package/finance/components/NewsTimeline.tsx +54 -0
- package/finance/components/OrderEntry.tsx +157 -0
- package/finance/components/OrdersHistory.tsx +103 -0
- package/finance/components/PositionsList.tsx +85 -0
- package/finance/components/StockScreener.tsx +56 -0
- package/finance/components/SymbolInfo.tsx +62 -0
- package/finance/components/TechnicalAnalysis.tsx +74 -0
- package/finance/components/TickerTape.tsx +66 -0
- package/finance/components/TradingPanel.tsx +238 -0
- package/finance/components/index.ts +40 -0
- package/finance/index.ts +23 -0
- package/package.json +129 -3
- package/style/theme-provider.tsx +1 -1
- package/dist/chunk-BBXIHLTX.mjs +0 -1
- package/dist/chunk-EZN2P3FV.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {b as b$1}from'./chunk-WN5KN73U.mjs';import {a as a$1}from'./chunk-TU67EJEW.mjs';import*as a from'react';import {X}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';var b=a.forwardRef(({className:n,messages:d,onClose:r,position:l="bottom-right",...p},c)=>jsx("div",{ref:c,className:a$1("fixed z-50 flex flex-col gap-2",{top:"top-4 left-1/2 -translate-x-1/2",bottom:"bottom-4 left-1/2 -translate-x-1/2","top-right":"top-4 right-4","bottom-right":"bottom-4 right-4"}[l],n),...p,children:d.map(t=>jsx("div",{className:a$1("min-w-[300px] rounded-lg border p-4 shadow-lg",t.type==="success"&&"border-green-500 bg-green-50 dark:bg-green-950",t.type==="warning"&&"border-yellow-500 bg-yellow-50 dark:bg-yellow-950",t.type==="error"&&"border-red-500 bg-red-50 dark:bg-red-950",t.type==="info"&&"border-blue-500 bg-blue-50 dark:bg-blue-950",!t.type&&"bg-background"),children:jsxs("div",{className:"flex items-start justify-between gap-4",children:[jsxs("div",{className:"flex-1",children:[jsx("h4",{className:"font-medium",children:t.title}),t.description&&jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:t.description})]}),r&&jsx(b$1,{variant:"ghost",size:"icon",className:"h-6 w-6",onClick:()=>r(t.id),children:jsx(X,{className:"h-4 w-4"})})]})},t.id))}));b.displayName="MessageDock";export{b as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),t=require('react'),react=require('motion/react'),utils=require('@hanzo/ui/lib/utils'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var M=t__namespace.forwardRef(({className:b,duration:E=3,delay:w=0,pathColor:y="gray",pathWidth:l=2,gradientStartColor:i="#18CCFC",gradientStopColor:s="#6344F5",containerRef:a,fromRef:c,toRef:m,...B},C)=>{let[f,G]=t__namespace.useState("");return t__namespace.useEffect(()=>{if(!a?.current||!c?.current||!m?.current)return;let d=chunkEI7MMDWY_js.a(()=>{let n=a.current.getBoundingClientRect(),o=c.current.getBoundingClientRect(),r=m.current.getBoundingClientRect(),p=o.left-n.left+o.width/2,u=o.top-n.top+o.height/2,h=r.left-n.left+r.width/2,g=r.top-n.top+r.height/2,L=(p+h)/2,v=Math.min(u,g)-50;G(`M ${p} ${u} Q ${L} ${v} ${h} ${g}`);},"updatePath");return d(),window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[a,c,m]),jsxRuntime.jsxs("svg",{ref:C,className:utils.cn("pointer-events-none absolute inset-0",b),...B,children:[jsxRuntime.jsx("path",{d:f,stroke:y,strokeWidth:l,fill:"none",strokeOpacity:.2}),jsxRuntime.jsx(react.motion.path,{d:f,stroke:`url(#gradient-${i}-${s})`,strokeWidth:l,fill:"none",initial:{pathLength:0},animate:{pathLength:1},transition:{duration:E,delay:w,ease:"easeInOut",repeat:1/0}}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:`gradient-${i}-${s}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[jsxRuntime.jsx("stop",{offset:"0%",stopColor:i}),jsxRuntime.jsx("stop",{offset:"100%",stopColor:s})]})})]})});M.displayName="AnimatedBeam";exports.a=M;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from'react';import {cva}from'class-variance-authority';import {cn}from'@hanzo/ui/lib/utils';import {jsx,jsxs}from'react/jsx-runtime';var G=cva(["relative inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium","transition-all duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","disabled:pointer-events-none disabled:opacity-50 cursor-pointer select-none","transform-gpu will-change-transform active:scale-95","before:absolute before:inset-0 before:rounded-md before:transition-all before:duration-150","after:absolute after:inset-0 after:rounded-md after:transition-all after:duration-150"],{variants:{variant:{default:["bg-primary text-primary-foreground shadow-md hover:bg-primary/90","before:bg-gradient-to-t before:from-primary/80 before:to-primary before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0","hover:after:opacity-100"],destructive:["bg-destructive text-destructive-foreground shadow-md hover:bg-destructive/90","before:bg-gradient-to-t before:from-destructive/80 before:to-destructive before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0","hover:after:opacity-100"],outline:["border border-input bg-background text-foreground shadow-sm hover:bg-accent hover:text-accent-foreground","before:bg-gradient-to-t before:from-muted/50 before:to-background before:translate-y-1 before:border before:border-input","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/10 after:to-transparent after:opacity-0","hover:after:opacity-100"],secondary:["bg-secondary text-secondary-foreground shadow-md hover:bg-secondary/80","before:bg-gradient-to-t before:from-secondary/80 before:to-secondary before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0","hover:after:opacity-100"],ghost:["text-foreground hover:bg-accent hover:text-accent-foreground","before:bg-gradient-to-t before:from-accent/30 before:to-accent/10 before:translate-y-1 before:opacity-0","hover:before:opacity-100 hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/10 after:to-transparent after:opacity-0","hover:after:opacity-50"],link:["text-primary underline-offset-4 hover:underline","before:hidden after:hidden"],neon:["bg-gradient-to-r from-purple-500 to-pink-500 text-white shadow-lg","before:bg-gradient-to-t before:from-purple-600 before:to-pink-600 before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/30 after:to-transparent after:opacity-0","hover:after:opacity-100","hover:shadow-purple-500/25 hover:shadow-2xl"],glass:["bg-white/10 backdrop-blur-md border border-white/20 text-foreground shadow-lg","before:bg-gradient-to-t before:from-white/5 before:to-white/20 before:translate-y-1 before:backdrop-blur-md before:border before:border-white/20","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/30 after:to-transparent after:opacity-0","hover:after:opacity-100"],gradient:["bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500 text-white shadow-lg","before:bg-gradient-to-t before:from-blue-600 before:via-purple-600 before:to-pink-600 before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0","hover:after:opacity-100","hover:bg-gradient-to-r hover:from-blue-400 hover:via-purple-400 hover:to-pink-400"]},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",xl:"h-12 rounded-lg px-10 text-base",icon:"h-10 w-10"},depth:{none:"before:translate-y-0",sm:"before:translate-y-0.5 hover:before:translate-y-0 active:before:translate-y-0",default:"before:translate-y-1 hover:before:translate-y-0.5 active:before:translate-y-0",lg:"before:translate-y-1.5 hover:before:translate-y-0.5 active:before:translate-y-0",xl:"before:translate-y-2 hover:before:translate-y-1 active:before:translate-y-0"}},defaultVariants:{variant:"default",size:"default",depth:"default"}}),s=e.forwardRef(({className:t,variant:r,size:d,depth:b,tiltOnHover:n=false,glowIntensity:u=0,shadowColor:T,pressAnimation:c=true,children:E,onMouseEnter:p,onMouseLeave:h,onMouseMove:g,onMouseDown:m,onMouseUp:v,style:H,...P},L)=>{let l=e.useRef(null),[q,y]=e.useState(false),[w,R]=e.useState(false),[B,x]=e.useState({x:0,y:0}),M=e.useCallback(a=>{if(!n||!l.current)return;let i=l.current.getBoundingClientRect(),I=i.left+i.width/2,O=i.top+i.height/2,V=(a.clientX-I)/(i.width/2),$=(a.clientY-O)/(i.height/2);x({x:$*-10,y:V*10});},[n]),D=e.useCallback(()=>{x({x:0,y:0});},[]),k=e.useCallback(a=>{y(true),p?.(a);},[p]),C=e.useCallback(a=>{y(false),D(),h?.(a);},[h,D]),z=e.useCallback(a=>{n&&M(a),g?.(a);},[g,n,M]),N=e.useCallback(a=>{c&&R(true),m?.(a);},[m,c]),S=e.useCallback(a=>{R(false),v?.(a);},[v]);e.useImperativeHandle(L,()=>l.current);let Y={...H,transform:n?`perspective(1000px) rotateX(${B.x}deg) rotateY(${B.y}deg) ${w?"translateY(1px)":""}`:w?"translateY(1px)":void 0,filter:u>0?`drop-shadow(0 0 ${u*4}px ${T||"currentColor"})`:void 0,transition:"all 150ms cubic-bezier(0.4, 0, 0.2, 1)"};return jsx("button",{ref:l,className:cn(G({variant:r,size:d,depth:b}),t),style:Y,onMouseEnter:k,onMouseLeave:C,onMouseMove:z,onMouseDown:N,onMouseUp:S,...P,children:jsx("span",{className:"relative z-10 flex items-center justify-center gap-2",children:E})})});s.displayName="Button3D";var f={Hero:e.forwardRef((t,r)=>jsx(s,{ref:r,variant:"gradient",size:"xl",depth:"lg",tiltOnHover:true,glowIntensity:2,...t})),CTA:e.forwardRef((t,r)=>jsx(s,{ref:r,variant:"neon",size:"lg",depth:"default",tiltOnHover:true,glowIntensity:1,...t})),Glass:e.forwardRef((t,r)=>jsx(s,{ref:r,variant:"glass",size:"default",depth:"sm",tiltOnHover:true,...t})),Minimal:e.forwardRef((t,r)=>jsx(s,{ref:r,variant:"ghost",size:"default",depth:"sm",...t})),Danger:e.forwardRef((t,r)=>jsx(s,{ref:r,variant:"destructive",size:"default",depth:"default",shadowColor:"rgb(239 68 68)",...t}))};f.Hero.displayName="Button3DPreset.Hero";f.CTA.displayName="Button3DPreset.CTA";f.Glass.displayName="Button3DPreset.Glass";f.Minimal.displayName="Button3DPreset.Minimal";f.Danger.displayName="Button3DPreset.Danger";var j=e.forwardRef(({loading:t=false,children:r,disabled:d,...b},n)=>jsxs(s,{ref:n,disabled:d||t,...b,children:[t&&jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-2 border-current border-t-transparent"}),!t&&r]}));j.displayName="Button3DLoading";export{G as a,s as b,f as c,j as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),t=require('react'),classVarianceAuthority=require('class-variance-authority'),lucideReact=require('lucide-react'),shiki=require('shiki'),utils=require('@hanzo/ui/lib/utils'),badge=require('@hanzo/ui/badge'),button=require('@hanzo/ui/button'),skeleton=require('@hanzo/ui/skeleton'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var B=classVarianceAuthority.cva("relative group",{variants:{variant:{default:"rounded-lg border bg-muted/50",inline:"inline-block rounded-md bg-muted px-2 py-1",minimal:"bg-transparent"},theme:{dark:"bg-slate-950 border-slate-800",light:"bg-slate-50 border-slate-200",github:"bg-white border-slate-200","github-dark":"bg-slate-900 border-slate-700",terminal:"bg-black border-green-500/30 text-green-400",retro:"bg-amber-50 border-amber-200 text-amber-900"},size:{xs:"text-xs",sm:"text-sm",default:"text-sm",lg:"text-base"}},defaultVariants:{variant:"default",theme:"dark",size:"default"}}),I=t__namespace.forwardRef(({className:g,variant:n,theme:l,size:p,code:o,language:c="text",filename:f,showLineNumbers:w=false,highlightLines:z=[],showCopyButton:v=true,showLanguageBadge:V=true,showHeader:_=true,maxHeight:P,expandable:h=false,collapsedHeight:A="200px",wrapLines:x=false,startLineNumber:D=1,...F},j)=>{let[k,C]=t__namespace.useState(""),[y,H]=t__namespace.useState(false),[q,L]=t__namespace.useState(true),[d,O]=t__namespace.useState(!h),G={dark:"github-dark",light:"github-light",github:"github-light","github-dark":"github-dark",terminal:"github-dark",retro:"github-light"};t__namespace.useEffect(()=>{chunkEI7MMDWY_js.a(async()=>{L(true);try{let a=Object.keys(shiki.bundledLanguages).includes(c),s=await shiki.codeToHtml(o,{lang:a?c:"text",theme:G[l||"dark"]}),u=document.createElement("div");u.innerHTML=s;let Q=u.querySelector("code");C(Q?.innerHTML||s);}catch(a){console.error("Failed to highlight code:",a);let s=o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");C(s);}finally{L(false);}},"highlightCode")();},[o,c,l]);let T=t__namespace.useCallback(async()=>{try{await navigator.clipboard.writeText(o),H(!0),setTimeout(()=>H(!1),2e3);}catch(i){console.error("Failed to copy code:",i);}},[o]),M=k.split(`
|
|
2
|
+
`).filter((i,a,s)=>i.trim()!==""||a<s.length-1),J=chunkEI7MMDWY_js.a(()=>jsxRuntime.jsx("code",{className:utils.cn(B({variant:n,theme:l,size:p}),"font-mono",g),dangerouslySetInnerHTML:{__html:k}}),"renderInline"),K=chunkEI7MMDWY_js.a(()=>jsxRuntime.jsxs("div",{ref:j,className:utils.cn(B({variant:n,theme:l,size:p}),"overflow-hidden",g),...F,children:[_&&(f||c||v||h)&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between border-b px-4 py-2 bg-muted/30",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[f&&jsxRuntime.jsxs("div",{className:"flex items-center gap-1.5",children:[jsxRuntime.jsx(lucideReact.FileText,{className:"h-3.5 w-3.5 text-muted-foreground"}),jsxRuntime.jsx("span",{className:"text-sm font-medium",children:f})]}),V&&c&&jsxRuntime.jsx(badge.Badge,{variant:"secondary",className:"text-xs",children:c})]}),jsxRuntime.jsxs("div",{className:"flex items-center gap-1",children:[h&&jsxRuntime.jsxs(button.Button,{variant:"ghost",size:"sm",onClick:()=>O(!d),className:"h-8 w-8 p-0",children:[d?jsxRuntime.jsx(lucideReact.Minimize2,{className:"h-3.5 w-3.5"}):jsxRuntime.jsx(lucideReact.Maximize2,{className:"h-3.5 w-3.5"}),jsxRuntime.jsx("span",{className:"sr-only",children:d?"Collapse":"Expand"})]}),v&&jsxRuntime.jsxs(button.Button,{variant:"ghost",size:"sm",onClick:T,className:"h-8 w-8 p-0 opacity-0 group-hover:opacity-100 transition-opacity",children:[y?jsxRuntime.jsx(lucideReact.Check,{className:"h-3.5 w-3.5 text-green-500"}):jsxRuntime.jsx(lucideReact.Copy,{className:"h-3.5 w-3.5"}),jsxRuntime.jsx("span",{className:"sr-only",children:y?"Copied":"Copy code"})]})]})]}),jsxRuntime.jsx("div",{className:utils.cn("overflow-auto",!x&&"overflow-x-auto"),style:{maxHeight:d?P:A},children:q?jsxRuntime.jsx("div",{className:"p-4 space-y-2",children:Array.from({length:Math.min(M.length||5,10)}).map((i,a)=>jsxRuntime.jsxs("div",{className:"flex items-center gap-4",children:[w&&jsxRuntime.jsx(skeleton.Skeleton,{className:"h-4 w-8"}),jsxRuntime.jsx(skeleton.Skeleton,{className:"h-4 flex-1"})]},a))}):jsxRuntime.jsx("div",{className:"font-mono",children:M.map((i,a)=>{let s=a+D,u=z.includes(s);return jsxRuntime.jsxs("div",{className:utils.cn("group relative flex min-h-[1.5rem] items-center px-4 py-0.5",u&&"bg-blue-500/10 border-l-2 border-l-blue-500",!x&&"whitespace-nowrap"),children:[w&&jsxRuntime.jsx("span",{className:"mr-4 inline-block w-8 select-none text-right text-xs text-muted-foreground",children:s}),jsxRuntime.jsx("div",{className:utils.cn("flex-1",x?"whitespace-pre-wrap break-words":"overflow-x-auto"),dangerouslySetInnerHTML:{__html:i}})]},a)})})}),h&&!d&&jsxRuntime.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-8 bg-gradient-to-t from-background to-transparent pointer-events-none"}),n==="minimal"&&v&&jsxRuntime.jsx(button.Button,{variant:"ghost",size:"sm",onClick:T,className:"absolute top-2 right-2 h-8 w-8 p-0 opacity-0 group-hover:opacity-100 transition-opacity",children:y?jsxRuntime.jsx(lucideReact.Check,{className:"h-3.5 w-3.5 text-green-500"}):jsxRuntime.jsx(lucideReact.Copy,{className:"h-3.5 w-3.5"})})]}),"renderBlock");return n==="inline"?J():K()});I.displayName="CodeSnippet";var te=t__namespace.forwardRef(({children:g,language:n,className:l,...p},o)=>jsxRuntime.jsx(I,{ref:o,code:g,language:n,variant:"inline",showCopyButton:false,showLanguageBadge:false,showHeader:false,className:l,...p}));te.displayName="InlineCode";exports.a=B;exports.b=I;exports.c=te;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');function s(){let e=react.useRef(null);return react.useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-ticker-tape.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({symbols:[{proName:"FOREXCOM:SPXUSD",title:"S&P 500"},{proName:"FOREXCOM:NSXUSD",title:"US 100"},{proName:"FX_IDC:EURUSD",title:"EUR/USD"},{proName:"BITSTAMP:BTCUSD",title:"Bitcoin"},{proName:"BITSTAMP:ETHUSD",title:"Ethereum"},{description:"Tesla",proName:"NASDAQ:TSLA"},{description:"Apple",proName:"NASDAQ:AAPL"},{description:"Amazon",proName:"NASDAQ:AMZN"},{description:"NVIDIA",proName:"NASDAQ:NVDA"},{description:"Microsoft",proName:"NASDAQ:MSFT"},{description:"Google",proName:"NASDAQ:GOOGL"},{description:"Meta",proName:"NASDAQ:META"}],showSymbolLogo:true,isTransparent:false,displayMode:"adaptive",colorTheme:"dark",locale:"en"}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(a=>a.remove()));}},[]),jsxRuntime.jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsxRuntime.jsx("div",{className:"tradingview-widget-container__widget"})})}chunkEI7MMDWY_js.a(s,"TickerTape");var l=react.memo(s);
|
|
2
|
+
exports.a=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkPRVEIITE_js=require('./chunk-PRVEIITE.js'),chunkDKPVJSBC_js=require('./chunk-DKPVJSBC.js'),chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),e=require('react'),lucideReact=require('lucide-react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var b=e__namespace.forwardRef(({className:a,children:r,dismissible:c=true,onDismiss:m,...l},d)=>{let[u,p]=e__namespace.useState(true),f=chunkEI7MMDWY_js.a(()=>{p(false),m?.();},"handleDismiss");return u?jsxRuntime.jsxs("div",{ref:d,className:chunkDKPVJSBC_js.a("relative flex items-center gap-4 rounded-lg border bg-background px-4 py-3 text-sm",a),...l,children:[jsxRuntime.jsx("div",{className:"flex-1",children:r}),c&&jsxRuntime.jsxs(chunkPRVEIITE_js.b,{variant:"ghost",size:"icon",className:"h-6 w-6",onClick:f,children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Dismiss"})]})]}):null});b.displayName="Announcement";exports.a=b;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {useRef,useEffect}from'react';import {jsx}from'react/jsx-runtime';function p({symbol:t="NASDAQ:AAPL",width:i="100%",height:n="100%",locale:s="en",colorTheme:a="dark",isTransparent:c=false}){let e=useRef(null);return useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let r=document.createElement("script");return r.src="https://s3.tradingview.com/external-embedding/embed-widget-symbol-profile.js",r.async=true,r.innerHTML=JSON.stringify({width:i,height:n,colorTheme:a,isTransparent:c,symbol:t,locale:s}),e.current.appendChild(r),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(l=>l.remove()));}},[t,i,n,s,a,c]),jsx("div",{className:"tradingview-widget-container",ref:e,children:jsx("div",{className:"tradingview-widget-container__widget"})})}a(p,"CompanyProfile");
|
|
2
|
+
export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import*as t from'react';import {motion}from'motion/react';import {cn}from'@hanzo/ui/lib/utils';import {jsxs,jsx}from'react/jsx-runtime';var M=t.forwardRef(({className:b,duration:E=3,delay:w=0,pathColor:y="gray",pathWidth:l=2,gradientStartColor:i="#18CCFC",gradientStopColor:s="#6344F5",containerRef:a$1,fromRef:c,toRef:m,...B},C)=>{let[f,G]=t.useState("");return t.useEffect(()=>{if(!a$1?.current||!c?.current||!m?.current)return;let d=a(()=>{let n=a$1.current.getBoundingClientRect(),o=c.current.getBoundingClientRect(),r=m.current.getBoundingClientRect(),p=o.left-n.left+o.width/2,u=o.top-n.top+o.height/2,h=r.left-n.left+r.width/2,g=r.top-n.top+r.height/2,L=(p+h)/2,v=Math.min(u,g)-50;G(`M ${p} ${u} Q ${L} ${v} ${h} ${g}`);},"updatePath");return d(),window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[a$1,c,m]),jsxs("svg",{ref:C,className:cn("pointer-events-none absolute inset-0",b),...B,children:[jsx("path",{d:f,stroke:y,strokeWidth:l,fill:"none",strokeOpacity:.2}),jsx(motion.path,{d:f,stroke:`url(#gradient-${i}-${s})`,strokeWidth:l,fill:"none",initial:{pathLength:0},animate:{pathLength:1},transition:{duration:E,delay:w,ease:"easeInOut",repeat:1/0}}),jsx("defs",{children:jsxs("linearGradient",{id:`gradient-${i}-${s}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[jsx("stop",{offset:"0%",stopColor:i}),jsx("stop",{offset:"100%",stopColor:s})]})})]})});M.displayName="AnimatedBeam";export{M as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-TU67EJEW.mjs';import {a}from'./chunk-YSXGDEY5.mjs';import {Loader2Icon}from'lucide-react';import {jsx}from'react/jsx-runtime';function s({className:a,...r}){return jsx(Loader2Icon,{role:"status","aria-label":"Loading",className:a$1("size-4 animate-spin",a),...r})}a(s,"Spinner");export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {memo,useRef,useEffect}from'react';import {jsx}from'react/jsx-runtime';function s(){let e=useRef(null);return useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-ticker-tape.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({symbols:[{proName:"FOREXCOM:SPXUSD",title:"S&P 500"},{proName:"FOREXCOM:NSXUSD",title:"US 100"},{proName:"FX_IDC:EURUSD",title:"EUR/USD"},{proName:"BITSTAMP:BTCUSD",title:"Bitcoin"},{proName:"BITSTAMP:ETHUSD",title:"Ethereum"},{description:"Tesla",proName:"NASDAQ:TSLA"},{description:"Apple",proName:"NASDAQ:AAPL"},{description:"Amazon",proName:"NASDAQ:AMZN"},{description:"NVIDIA",proName:"NASDAQ:NVDA"},{description:"Microsoft",proName:"NASDAQ:MSFT"},{description:"Google",proName:"NASDAQ:GOOGL"},{description:"Meta",proName:"NASDAQ:META"}],showSymbolLogo:true,isTransparent:false,displayMode:"adaptive",colorTheme:"dark",locale:"en"}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(a=>a.remove()));}},[]),jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsx("div",{className:"tradingview-widget-container__widget"})})}a(s,"TickerTape");var l=memo(s);
|
|
2
|
+
export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {useState}from'react';import {jsxs,jsx}from'react/jsx-runtime';function v({symbol:b,accountBalance:g,onPlaceOrder:w,disabled:i=false}){let[l,c]=useState("market"),[r,u]=useState("buy"),[o,m]=useState(""),[a$1,h]=useState(""),p=a(s=>s.split(":")[1]||s,"getTickerFromSymbol"),y=a(()=>{!o||l==="limit"&&!a$1||(w({symbol:b,side:r,orderType:l,shares:parseInt(o),limitPrice:l==="limit"?parseFloat(a$1):void 0}),m(""),h(""));},"handlePlaceOrder");return jsxs("div",{className:"p-4 space-y-4",children:[jsxs("div",{className:"bg-white/5 rounded-lg p-3",children:[jsx("div",{className:"text-xs text-white/60 mb-1",children:"Buying Power"}),jsxs("div",{className:"text-lg font-semibold text-white",children:["$",g.toLocaleString()]})]}),jsxs("div",{className:"grid grid-cols-2 gap-2",children:[jsx("button",{onClick:()=>u("buy"),disabled:i,className:`py-2.5 rounded-lg font-semibold transition-all ${r==="buy"?"bg-success text-white":"bg-white/5 text-white/60 hover:bg-white/10"} disabled:opacity-50 disabled:cursor-not-allowed`,children:"Buy"}),jsx("button",{onClick:()=>u("sell"),disabled:i,className:`py-2.5 rounded-lg font-semibold transition-all ${r==="sell"?"bg-danger text-white":"bg-white/5 text-white/60 hover:bg-white/10"} disabled:opacity-50 disabled:cursor-not-allowed`,children:"Sell"})]}),jsxs("div",{children:[jsx("label",{className:"text-xs text-white/60 mb-2 block",children:"Order Type"}),jsxs("div",{className:"grid grid-cols-2 gap-2",children:[jsx("button",{onClick:()=>c("market"),disabled:i,className:`py-2 rounded-lg text-sm font-medium transition-all ${l==="market"?"bg-white/10 text-white":"bg-white/5 text-white/60 hover:bg-white/10"} disabled:opacity-50 disabled:cursor-not-allowed`,children:"Market"}),jsx("button",{onClick:()=>c("limit"),disabled:i,className:`py-2 rounded-lg text-sm font-medium transition-all ${l==="limit"?"bg-white/10 text-white":"bg-white/5 text-white/60 hover:bg-white/10"} disabled:opacity-50 disabled:cursor-not-allowed`,children:"Limit"})]})]}),jsxs("div",{children:[jsx("label",{className:"text-xs text-white/60 mb-2 block",children:"Shares"}),jsx("input",{type:"number",value:o,onChange:s=>m(s.target.value),disabled:i,className:"w-full bg-white/5 border border-white/10 rounded-lg px-4 py-2.5 text-white focus:outline-none focus:border-success disabled:opacity-50 disabled:cursor-not-allowed",placeholder:"0"})]}),l==="limit"&&jsxs("div",{children:[jsx("label",{className:"text-xs text-white/60 mb-2 block",children:"Limit Price"}),jsx("input",{type:"number",value:a$1,onChange:s=>h(s.target.value),disabled:i,className:"w-full bg-white/5 border border-white/10 rounded-lg px-4 py-2.5 text-white focus:outline-none focus:border-success disabled:opacity-50 disabled:cursor-not-allowed",placeholder:"0.00",step:"0.01"})]}),jsxs("button",{onClick:y,disabled:i||!o||l==="limit"&&!a$1,className:`w-full py-3 rounded-lg font-semibold transition-all ${r==="buy"?"bg-success hover:bg-success/90 text-white":"bg-danger hover:bg-danger/90 text-white"} disabled:opacity-50 disabled:cursor-not-allowed`,children:[r==="buy"?"Buy":"Sell"," ",p(b)]})]})}a(v,"OrderEntry");export{v as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');function m({symbol:i="NASDAQ:AAPL",width:r="100%",height:n="500",locale:a="en",colorTheme:s="dark",isTransparent:c=false,displayMode:d="adaptive",largeChartUrl:l=""}){let e=react.useRef(null);return react.useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-financials.js",t.async=true,t.innerHTML=JSON.stringify({colorTheme:s,isTransparent:c,largeChartUrl:l,displayMode:d,width:r,height:n,symbol:i,locale:a}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(f=>f.remove()));}},[i,r,n,a,s,c,d,l]),jsxRuntime.jsx("div",{className:"tradingview-widget-container w-full h-[500px]",ref:e,children:jsxRuntime.jsx("div",{className:"tradingview-widget-container__widget h-full"})})}chunkEI7MMDWY_js.a(m,"Financials");
|
|
2
|
+
exports.a=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {useState,useEffect}from'react';import {TrendingUp,TrendingDown}from'lucide-react';import {jsxs,jsx}from'react/jsx-runtime';function O({symbol:n,currentPrice:o}){let[d,f]=useState("buy"),[c,x]=useState(""),[s,p]=useState(null),[b,g]=useState(null);useEffect(()=>{w();},[]);let w=a(()=>{let t=localStorage.getItem("begm_portfolio");if(t)p(JSON.parse(t));else {let l={cash:1e5,holdings:[]};localStorage.setItem("begm_portfolio",JSON.stringify(l)),p(l);}},"loadPortfolio"),v=a(()=>{if(!c||parseFloat(c)<=0){g({type:"error",text:"Please enter a valid quantity"});return}let t=parseFloat(c),l=t*o;if(d==="buy"){if(l>s.cash){g({type:"error",text:"Insufficient funds"});return}let a=s.holdings.find(r=>r.symbol===n);if(a){let r=a.quantity+t,N=(a.averagePrice*a.quantity+o*t)/r;a.quantity=r,a.averagePrice=N,a.currentPrice=o;}else s.holdings.push({symbol:n,quantity:t,averagePrice:o,currentPrice:o});s.cash-=l;}else {let a=s.holdings.find(r=>r.symbol===n);if(!a||a.quantity<t){g({type:"error",text:"Insufficient shares"});return}a.quantity-=t,a.currentPrice=o,a.quantity===0&&(s.holdings=s.holdings.filter(r=>r.symbol!==n)),s.cash+=l;}localStorage.setItem("begm_portfolio",JSON.stringify(s)),p({...s});let y=JSON.parse(localStorage.getItem("begm_orders")||"[]");y.push({id:`ORD-${Date.now()}`,symbol:n,type:d,quantity:t,price:o,total:l,timestamp:new Date().toISOString(),status:"completed"}),localStorage.setItem("begm_orders",JSON.stringify(y)),g({type:"success",text:`Successfully ${d==="buy"?"bought":"sold"} ${t} shares of ${n}`}),x(""),setTimeout(()=>g(null),3e3);},"executeTrade"),h=a(()=>s?s.holdings.find(l=>l.symbol===n):null,"getHoldingInfo")();return jsxs("div",{className:"bg-white/5 border border-white/10 rounded-lg p-6 backdrop-blur-xl",children:[jsxs("h3",{className:"text-lg font-bold text-white mb-4",children:["Trade ",n]}),jsxs("div",{className:"flex gap-2 mb-4",children:[jsxs("button",{onClick:()=>f("buy"),className:`flex-1 py-2 rounded-lg font-medium transition-all ${d==="buy"?"bg-success text-white":"bg-white/5 text-white/60 hover:bg-white/10"}`,children:[jsx(TrendingUp,{size:16,className:"inline mr-2"}),"Buy"]}),jsxs("button",{onClick:()=>f("sell"),className:`flex-1 py-2 rounded-lg font-medium transition-all ${d==="sell"?"bg-danger text-white":"bg-white/5 text-white/60 hover:bg-white/10"}`,children:[jsx(TrendingDown,{size:16,className:"inline mr-2"}),"Sell"]})]}),h&&jsxs("div",{className:"mb-4 p-3 bg-white/5 rounded-lg",children:[jsx("p",{className:"text-xs text-white/60 mb-1",children:"Your Holdings"}),jsxs("p",{className:"text-sm text-white",children:[h.quantity," shares @ $",h.averagePrice.toFixed(2)," avg"]})]}),jsxs("div",{className:"mb-4 p-3 bg-white/5 rounded-lg",children:[jsx("p",{className:"text-xs text-white/60 mb-1",children:"Current Price"}),jsxs("p",{className:"text-lg font-bold text-white",children:["$",o.toFixed(2)]})]}),jsxs("div",{className:"mb-4",children:[jsx("label",{className:"block text-sm font-medium text-white/80 mb-2",children:"Quantity (Shares)"}),jsx("input",{type:"number",value:c,onChange:t=>x(t.target.value),min:"1",step:"1",placeholder:"Enter quantity",className:"w-full px-4 py-2 bg-white/5 border border-white/10 rounded-lg text-white placeholder-white/40 focus:outline-none focus:border-success"})]}),c&&parseFloat(c)>0&&jsx("div",{className:"mb-4 p-3 bg-white/5 rounded-lg",children:jsxs("div",{className:"flex justify-between items-center",children:[jsx("span",{className:"text-sm text-white/60",children:"Estimated Total"}),jsxs("span",{className:"text-lg font-bold text-white",children:["$",(parseFloat(c)*o).toFixed(2)]})]})}),jsx("div",{className:"mb-4 p-3 bg-white/5 rounded-lg",children:jsxs("div",{className:"flex justify-between items-center",children:[jsx("span",{className:"text-sm text-white/60",children:"Available Cash"}),jsxs("span",{className:"text-sm font-medium text-white",children:["$",s?.cash.toLocaleString()||"0"]})]})}),b&&jsx("div",{className:`mb-4 p-3 rounded-lg ${b.type==="success"?"bg-success/20 text-success":"bg-danger/20 text-danger"}`,children:jsx("p",{className:"text-sm",children:b.text})}),jsxs("button",{onClick:v,className:`w-full py-3 rounded-lg font-medium transition-all ${d==="buy"?"bg-success hover:bg-success/90 text-white":"bg-danger hover:bg-danger/90 text-white"}`,children:[d==="buy"?"Buy":"Sell"," ",n]}),jsx("p",{className:"text-xs text-white/40 text-center mt-4",children:"This is a demo account. No real money is at risk."})]})}a(O,"TradingPanel");export{O as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');function d(){let e=react.useRef(null);return react.useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-timeline.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({displayMode:"regular",feedMode:"all_symbols",colorTheme:"dark",isTransparent:false,locale:"en",width:"100%",height:550}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(n=>n.remove()));}},[]),jsxRuntime.jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsxRuntime.jsx("div",{className:"tradingview-widget-container__widget"})})}chunkEI7MMDWY_js.a(d,"NewsTimeline");var o=react.memo(d);
|
|
2
|
+
exports.a=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),jsxRuntime=require('react/jsx-runtime');function p({orders:a,onCancelOrder:d,onOrderClick:l}){let c=chunkEI7MMDWY_js.a(e=>e.split(":")[1]||e,"getTickerFromSymbol");return a.length===0?jsxRuntime.jsx("div",{className:"p-4 text-center py-8 text-white/40",children:jsxRuntime.jsx("p",{className:"text-sm",children:"No orders yet"})}):jsxRuntime.jsx("div",{className:"p-4 space-y-2",children:a.map(e=>jsxRuntime.jsxs("div",{className:`bg-white/5 rounded-lg p-3 ${l?"cursor-pointer hover:bg-white/10 transition-colors":""}`,onClick:()=>l?.(e),children:[jsxRuntime.jsxs("div",{className:"flex items-start justify-between mb-2",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"font-semibold text-white",children:c(e.symbol)}),jsxRuntime.jsx("div",{className:"text-xs text-white/60",children:new Date(e.timestamp).toLocaleString()})]}),jsxRuntime.jsx("div",{className:`text-xs px-2 py-1 rounded ${e.status==="filled"?"bg-success/20 text-success":e.status==="cancelled"?"bg-white/10 text-white/60":e.status==="pending"?"bg-yellow-500/20 text-yellow-400":"bg-blue-500/20 text-blue-400"}`,children:e.status.charAt(0).toUpperCase()+e.status.slice(1)})]}),jsxRuntime.jsxs("div",{className:"grid grid-cols-3 gap-2 text-xs",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"text-white/60",children:"Side"}),jsxRuntime.jsx("div",{className:`font-medium ${e.type==="buy"?"text-success":"text-danger"}`,children:e.type.toUpperCase()})]}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"text-white/60",children:"Shares"}),jsxRuntime.jsx("div",{className:"text-white font-medium",children:e.shares})]}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("div",{className:"text-white/60",children:"Price"}),jsxRuntime.jsx("div",{className:"text-white font-medium",children:e.price>0?`$${e.price.toFixed(2)}`:"Market"})]})]}),e.orderType&&jsxRuntime.jsxs("div",{className:"mt-2 text-xs",children:[jsxRuntime.jsx("span",{className:"text-white/60",children:"Type: "}),jsxRuntime.jsx("span",{className:"text-white font-medium",children:e.orderType.charAt(0).toUpperCase()+e.orderType.slice(1)})]}),e.status==="open"&&d&&jsxRuntime.jsx("button",{onClick:n=>{n.stopPropagation(),d(e.id);},className:"w-full mt-2 py-1.5 text-xs bg-white/5 hover:bg-white/10 text-white/80 rounded transition-colors",children:"Cancel Order"})]},e.id))})}chunkEI7MMDWY_js.a(p,"OrdersHistory");exports.a=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var e=require('react'),classVarianceAuthority=require('class-variance-authority'),utils=require('@hanzo/ui/lib/utils'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var G=classVarianceAuthority.cva(["relative inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium","transition-all duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring","disabled:pointer-events-none disabled:opacity-50 cursor-pointer select-none","transform-gpu will-change-transform active:scale-95","before:absolute before:inset-0 before:rounded-md before:transition-all before:duration-150","after:absolute after:inset-0 after:rounded-md after:transition-all after:duration-150"],{variants:{variant:{default:["bg-primary text-primary-foreground shadow-md hover:bg-primary/90","before:bg-gradient-to-t before:from-primary/80 before:to-primary before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0","hover:after:opacity-100"],destructive:["bg-destructive text-destructive-foreground shadow-md hover:bg-destructive/90","before:bg-gradient-to-t before:from-destructive/80 before:to-destructive before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0","hover:after:opacity-100"],outline:["border border-input bg-background text-foreground shadow-sm hover:bg-accent hover:text-accent-foreground","before:bg-gradient-to-t before:from-muted/50 before:to-background before:translate-y-1 before:border before:border-input","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/10 after:to-transparent after:opacity-0","hover:after:opacity-100"],secondary:["bg-secondary text-secondary-foreground shadow-md hover:bg-secondary/80","before:bg-gradient-to-t before:from-secondary/80 before:to-secondary before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0","hover:after:opacity-100"],ghost:["text-foreground hover:bg-accent hover:text-accent-foreground","before:bg-gradient-to-t before:from-accent/30 before:to-accent/10 before:translate-y-1 before:opacity-0","hover:before:opacity-100 hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/10 after:to-transparent after:opacity-0","hover:after:opacity-50"],link:["text-primary underline-offset-4 hover:underline","before:hidden after:hidden"],neon:["bg-gradient-to-r from-purple-500 to-pink-500 text-white shadow-lg","before:bg-gradient-to-t before:from-purple-600 before:to-pink-600 before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/30 after:to-transparent after:opacity-0","hover:after:opacity-100","hover:shadow-purple-500/25 hover:shadow-2xl"],glass:["bg-white/10 backdrop-blur-md border border-white/20 text-foreground shadow-lg","before:bg-gradient-to-t before:from-white/5 before:to-white/20 before:translate-y-1 before:backdrop-blur-md before:border before:border-white/20","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/30 after:to-transparent after:opacity-0","hover:after:opacity-100"],gradient:["bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500 text-white shadow-lg","before:bg-gradient-to-t before:from-blue-600 before:via-purple-600 before:to-pink-600 before:translate-y-1 before:shadow-lg","hover:before:translate-y-0.5 active:before:translate-y-0","after:bg-gradient-to-b after:from-white/20 after:to-transparent after:opacity-0","hover:after:opacity-100","hover:bg-gradient-to-r hover:from-blue-400 hover:via-purple-400 hover:to-pink-400"]},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",xl:"h-12 rounded-lg px-10 text-base",icon:"h-10 w-10"},depth:{none:"before:translate-y-0",sm:"before:translate-y-0.5 hover:before:translate-y-0 active:before:translate-y-0",default:"before:translate-y-1 hover:before:translate-y-0.5 active:before:translate-y-0",lg:"before:translate-y-1.5 hover:before:translate-y-0.5 active:before:translate-y-0",xl:"before:translate-y-2 hover:before:translate-y-1 active:before:translate-y-0"}},defaultVariants:{variant:"default",size:"default",depth:"default"}}),s=e__namespace.forwardRef(({className:t,variant:r,size:d,depth:b,tiltOnHover:n=false,glowIntensity:u=0,shadowColor:T,pressAnimation:c=true,children:E,onMouseEnter:p,onMouseLeave:h,onMouseMove:g,onMouseDown:m,onMouseUp:v,style:H,...P},L)=>{let l=e__namespace.useRef(null),[q,y]=e__namespace.useState(false),[w,R]=e__namespace.useState(false),[B,x]=e__namespace.useState({x:0,y:0}),M=e__namespace.useCallback(a=>{if(!n||!l.current)return;let i=l.current.getBoundingClientRect(),I=i.left+i.width/2,O=i.top+i.height/2,V=(a.clientX-I)/(i.width/2),$=(a.clientY-O)/(i.height/2);x({x:$*-10,y:V*10});},[n]),D=e__namespace.useCallback(()=>{x({x:0,y:0});},[]),k=e__namespace.useCallback(a=>{y(true),p?.(a);},[p]),C=e__namespace.useCallback(a=>{y(false),D(),h?.(a);},[h,D]),z=e__namespace.useCallback(a=>{n&&M(a),g?.(a);},[g,n,M]),N=e__namespace.useCallback(a=>{c&&R(true),m?.(a);},[m,c]),S=e__namespace.useCallback(a=>{R(false),v?.(a);},[v]);e__namespace.useImperativeHandle(L,()=>l.current);let Y={...H,transform:n?`perspective(1000px) rotateX(${B.x}deg) rotateY(${B.y}deg) ${w?"translateY(1px)":""}`:w?"translateY(1px)":void 0,filter:u>0?`drop-shadow(0 0 ${u*4}px ${T||"currentColor"})`:void 0,transition:"all 150ms cubic-bezier(0.4, 0, 0.2, 1)"};return jsxRuntime.jsx("button",{ref:l,className:utils.cn(G({variant:r,size:d,depth:b}),t),style:Y,onMouseEnter:k,onMouseLeave:C,onMouseMove:z,onMouseDown:N,onMouseUp:S,...P,children:jsxRuntime.jsx("span",{className:"relative z-10 flex items-center justify-center gap-2",children:E})})});s.displayName="Button3D";var f={Hero:e__namespace.forwardRef((t,r)=>jsxRuntime.jsx(s,{ref:r,variant:"gradient",size:"xl",depth:"lg",tiltOnHover:true,glowIntensity:2,...t})),CTA:e__namespace.forwardRef((t,r)=>jsxRuntime.jsx(s,{ref:r,variant:"neon",size:"lg",depth:"default",tiltOnHover:true,glowIntensity:1,...t})),Glass:e__namespace.forwardRef((t,r)=>jsxRuntime.jsx(s,{ref:r,variant:"glass",size:"default",depth:"sm",tiltOnHover:true,...t})),Minimal:e__namespace.forwardRef((t,r)=>jsxRuntime.jsx(s,{ref:r,variant:"ghost",size:"default",depth:"sm",...t})),Danger:e__namespace.forwardRef((t,r)=>jsxRuntime.jsx(s,{ref:r,variant:"destructive",size:"default",depth:"default",shadowColor:"rgb(239 68 68)",...t}))};f.Hero.displayName="Button3DPreset.Hero";f.CTA.displayName="Button3DPreset.CTA";f.Glass.displayName="Button3DPreset.Glass";f.Minimal.displayName="Button3DPreset.Minimal";f.Danger.displayName="Button3DPreset.Danger";var j=e__namespace.forwardRef(({loading:t=false,children:r,disabled:d,...b},n)=>jsxRuntime.jsxs(s,{ref:n,disabled:d||t,...b,children:[t&&jsxRuntime.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-2 border-current border-t-transparent"}),!t&&r]}));j.displayName="Button3DLoading";exports.a=G;exports.b=s;exports.c=f;exports.d=j;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');function d(){let e=react.useRef(null);return react.useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-screener.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({market:"forex",showToolbar:true,defaultColumn:"overview",defaultScreen:"general",isTransparent:false,locale:"en",colorTheme:"dark",width:"100%",height:550}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(n=>n.remove()));}},[]),jsxRuntime.jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsxRuntime.jsx("div",{className:"tradingview-widget-container__widget"})})}chunkEI7MMDWY_js.a(d,"ForexScreener");var u=react.memo(d);
|
|
2
|
+
exports.a=u;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-YSXGDEY5.mjs';import*as a from'react';import {cva}from'class-variance-authority';import {Minus,Plus,GitCompare,Square,SplitSquareHorizontal,Check,Copy}from'lucide-react';import {codeToHtml}from'shiki';import {cn}from'@hanzo/ui/lib/utils';import {Badge}from'@hanzo/ui/badge';import {Button}from'@hanzo/ui/button';import {Skeleton}from'@hanzo/ui/skeleton';import {ToggleGroup,ToggleGroupItem}from'@hanzo/ui/toggle-group';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var de=cva("relative overflow-hidden rounded-lg border bg-muted/50",{variants:{theme:{dark:"bg-slate-950 border-slate-800",light:"bg-slate-50 border-slate-200",github:"bg-white border-slate-200","github-dark":"bg-slate-900 border-slate-700"},size:{sm:"text-xs",default:"text-sm",lg:"text-base"}},defaultVariants:{theme:"dark",size:"default"}}),C=a.memo(({change:f,showLineNumbers:b,isUnified:p=false,highlightedContent:u})=>{let l=a$1(()=>{let i="group relative flex min-h-[1.5rem] items-center py-0.5";if(p)switch(f.type){case "add":return cn(i,"bg-green-500/10 border-l-2 border-l-green-500");case "remove":return cn(i,"bg-red-500/10 border-l-2 border-l-red-500");default:return cn(i,"hover:bg-muted/50")}return cn(i,"hover:bg-muted/50")},"getLineClasses"),o=a$1(()=>{if(!p)return null;switch(f.type){case "add":return jsx(Plus,{className:"h-3 w-3 text-green-500 mr-2 flex-shrink-0"});case "remove":return jsx(Minus,{className:"h-3 w-3 text-red-500 mr-2 flex-shrink-0"});default:return jsx("span",{className:"w-3 mr-2 flex-shrink-0"})}},"getLinePrefix");return jsx("div",{className:l(),children:jsxs("div",{className:"flex items-center px-4 w-full",children:[b&&jsx("div",{className:"flex items-center gap-2 mr-4",children:p?jsx("span",{className:"inline-block w-8 select-none text-right text-xs text-muted-foreground",children:f.lineNumber}):jsxs(Fragment,{children:[jsx("span",{className:"inline-block w-8 select-none text-right text-xs text-muted-foreground",children:f.oldLineNumber||""}),jsx("span",{className:"inline-block w-8 select-none text-right text-xs text-muted-foreground",children:f.newLineNumber||""})]})}),o(),jsx("div",{className:"flex-1 overflow-x-auto font-mono",dangerouslySetInnerHTML:{__html:u||f.content}})]})})});C.displayName="DiffLine";function B(f,b){let p=f.split(`
|
|
2
|
+
`),u=b.split(`
|
|
3
|
+
`),l=[],o=0,i=0,g=1;for(;o<p.length||i<u.length;){let N=p[o],v=u[i];o>=p.length?(l.push({type:"add",lineNumber:g++,content:v,newLineNumber:i+1}),i++):i>=u.length?(l.push({type:"remove",lineNumber:g++,content:N,oldLineNumber:o+1}),o++):N===v?(l.push({type:"unchanged",lineNumber:g++,content:N,oldLineNumber:o+1,newLineNumber:i+1}),o++,i++):(l.push({type:"remove",lineNumber:g++,content:N,oldLineNumber:o+1}),l.push({type:"add",lineNumber:g++,content:v,newLineNumber:i+1}),o++,i++);}return l}a$1(B,"generateDiff");var me=a.forwardRef(({className:f,theme:b,size:p,oldCode:u,newCode:l,language:o="text",filename:i,oldFilename:g,newFilename:N,showLineNumbers:v=true,showCopyButton:_=true,maxHeight:A="500px",defaultView:U="unified",collapseUnchanged:k=false,contextLines:y=3,...F},J)=>{let[L,K]=a.useState(U),[D,S]=a.useState(false),[Q,T]=a.useState(true),[R,H]=a.useState(""),[M,V]=a.useState(""),[m,P]=a.useState([]),$={dark:"github-dark",light:"github-light",github:"github-light","github-dark":"github-dark"};a.useEffect(()=>{a$1(async()=>{T(true);try{let[n,t]=await Promise.all([codeToHtml(u,{lang:o,theme:$[b||"dark"]}),codeToHtml(l,{lang:o,theme:$[b||"dark"]})]),r=a$1(c=>{let E=document.createElement("div");return E.innerHTML=c,E.querySelector("code")?.innerHTML||c},"extractContent");H(r(n)),V(r(t));let h=B(u,l);P(h);}catch(n){console.error("Failed to highlight code:",n),H(u),V(l),P(B(u,l));}finally{T(false);}},"highlightCode")();},[u,l,o,b]);let W=a.useCallback(async()=>{try{let s=L==="unified"?m.map(n=>`${n.type==="add"?"+":n.type==="remove"?"-":" "}${n.content}`).join(`
|
|
4
|
+
`):`--- ${g||"old"}
|
|
5
|
+
+++ ${N||"new"}
|
|
6
|
+
${u}
|
|
7
|
+
|
|
8
|
+
${l}`;await navigator.clipboard.writeText(s),S(!0),setTimeout(()=>S(!1),2e3);}catch(s){console.error("Failed to copy diff:",s);}},[m,L,u,l,g,N]),X=a.useMemo(()=>{if(!k)return m;let s=[],n=0;for(;n<m.length;){let t=m[n];if(t.type!=="unchanged"){s.push(t),n++;continue}let r=n;for(;n<m.length&&m[n].type==="unchanged";)n++;let h=n-r;if(h<=y*2)for(let c=r;c<n;c++)s.push(m[c]);else {for(let c=r;c<r+y;c++)s.push(m[c]);s.push({type:"unchanged",lineNumber:-1,content:`... ${h-y*2} unchanged lines ...`});for(let c=n-y;c<n;c++)s.push(m[c]);}}return s},[m,k,y]),I=a.useMemo(()=>{let s=m.filter(t=>t.type==="add").length,n=m.filter(t=>t.type==="remove").length;return {additions:s,deletions:n}},[m]),Y=a$1(()=>{let s=R.split(`
|
|
9
|
+
`),n=M.split(`
|
|
10
|
+
`);return jsx("div",{className:"font-mono",children:X.map((t,r)=>{if(t.lineNumber===-1)return jsx("div",{className:"flex items-center justify-center py-2 text-muted-foreground bg-muted/30",children:jsx("span",{className:"text-xs",children:t.content})},r);let h=t.content;return t.type==="add"&&t.newLineNumber?h=n[t.newLineNumber-1]||t.content:(t.type==="remove"&&t.oldLineNumber||t.type==="unchanged"&&t.oldLineNumber)&&(h=s[t.oldLineNumber-1]||t.content),jsx(C,{change:t,showLineNumbers:v,isUnified:true,highlightedContent:h},r)})})},"renderUnifiedView"),Z=a$1(()=>{let s=R.split(`
|
|
11
|
+
`),n=M.split(`
|
|
12
|
+
`);return jsxs("div",{className:"grid grid-cols-2 gap-0",children:[jsxs("div",{className:"border-r",children:[jsx("div",{className:"border-b px-4 py-2 bg-red-500/10",children:jsx("span",{className:"text-sm font-medium text-red-600 dark:text-red-400",children:g||i||"Old"})}),jsx("div",{className:"font-mono",children:s.map((t,r)=>jsx(C,{change:{type:"remove",lineNumber:r+1,content:t,oldLineNumber:r+1},showLineNumbers:v,highlightedContent:t},`old-${r}`))})]}),jsxs("div",{children:[jsx("div",{className:"border-b px-4 py-2 bg-green-500/10",children:jsx("span",{className:"text-sm font-medium text-green-600 dark:text-green-400",children:N||i||"New"})}),jsx("div",{className:"font-mono",children:n.map((t,r)=>jsx(C,{change:{type:"add",lineNumber:r+1,content:t,newLineNumber:r+1},showLineNumbers:v,highlightedContent:t},`new-${r}`))})]})]})},"renderSplitView");return jsxs("div",{ref:J,className:cn(de({theme:b,size:p,className:f})),...F,children:[jsxs("div",{className:"flex items-center justify-between border-b px-4 py-2",children:[jsxs("div",{className:"flex items-center gap-4",children:[jsxs("div",{className:"flex items-center gap-2",children:[jsx(GitCompare,{className:"h-4 w-4 text-muted-foreground"}),i&&jsx("span",{className:"text-sm font-medium",children:i}),o&&jsx(Badge,{variant:"secondary",className:"text-xs",children:o})]}),jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[jsxs("span",{className:"flex items-center gap-1",children:[jsx(Plus,{className:"h-3 w-3 text-green-500"}),I.additions]}),jsxs("span",{className:"flex items-center gap-1",children:[jsx(Minus,{className:"h-3 w-3 text-red-500"}),I.deletions]})]})]}),jsxs("div",{className:"flex items-center gap-2",children:[jsxs(ToggleGroup,{type:"single",value:L,onValueChange:s=>s&&K(s),size:"sm",children:[jsx(ToggleGroupItem,{value:"unified","aria-label":"Unified view",children:jsx(Square,{className:"h-3 w-3"})}),jsx(ToggleGroupItem,{value:"split","aria-label":"Split view",children:jsx(SplitSquareHorizontal,{className:"h-3 w-3"})})]}),_&&jsxs(Button,{variant:"ghost",size:"sm",onClick:W,className:"h-8 w-8 p-0",children:[D?jsx(Check,{className:"h-3.5 w-3.5 text-green-500"}):jsx(Copy,{className:"h-3.5 w-3.5"}),jsx("span",{className:"sr-only",children:D?"Copied":"Copy diff"})]})]})]}),jsx("div",{className:"overflow-auto",style:{maxHeight:A},children:Q?jsx("div",{className:"p-4 space-y-2",children:Array.from({length:10}).map((s,n)=>jsxs("div",{className:"flex items-center gap-4",children:[v&&jsx(Skeleton,{className:"h-4 w-8"}),jsx(Skeleton,{className:"h-4 flex-1"})]},n))}):L==="unified"?Y():Z()})]})});me.displayName="CodeDiff";export{de as a,me as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');function h({symbol:i="NASDAQ:AAPL",interval:r="15m",width:n="100%",height:s="500",locale:a="en",colorTheme:c="dark",isTransparent:l=false,showIntervalTabs:d=true,displayMode:u="single"}){let e=react.useRef(null);return react.useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-technical-analysis.js",t.async=true,t.innerHTML=JSON.stringify({interval:r,width:n,isTransparent:l,height:s,symbol:i,showIntervalTabs:d,displayMode:u,locale:a,colorTheme:c}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(f=>f.remove()));}},[i,r,n,s,a,c,l,d,u]),jsxRuntime.jsx("div",{className:"tradingview-widget-container w-full h-[500px]",ref:e,children:jsxRuntime.jsx("div",{className:"tradingview-widget-container__widget h-full"})})}chunkEI7MMDWY_js.a(h,"TechnicalAnalysis");
|
|
2
|
+
exports.a=h;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkDKPVJSBC_js=require('./chunk-DKPVJSBC.js'),chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),e=require('react'),framerMotion=require('framer-motion'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var h=e__namespace.createContext({magnification:60,distance:140}),L=e__namespace.forwardRef(({className:a,children:s,position:r="bottom",magnification:n=60,distance:c=140},l)=>{let g={bottom:"bottom-0 left-1/2 -translate-x-1/2 flex-row",left:"left-0 top-1/2 -translate-y-1/2 flex-col",right:"right-0 top-1/2 -translate-y-1/2 flex-col"};return jsxRuntime.jsx(h.Provider,{value:{magnification:n,distance:c},children:jsxRuntime.jsx("div",{ref:l,className:chunkDKPVJSBC_js.a("fixed z-50 flex items-end gap-1 rounded-2xl border border-white/10 bg-black/10 p-2 backdrop-blur-xl","shadow-2xl shadow-black/20","before:absolute before:inset-0 before:rounded-2xl before:bg-gradient-to-b before:from-white/10 before:to-transparent before:opacity-50",g[r],a),children:s})})});L.displayName="Dock";var T=e__namespace.forwardRef(({className:a,children:s,onClick:r,tooltip:n,magnification:c,distance:l},g)=>{let d=e__namespace.useRef(null),{magnification:k,distance:y}=e__namespace.useContext(h),w=c??k,p=l??y,[R,v]=e__namespace.useState(false),f=framerMotion.useMotionValue(1/0),M={mass:.1,stiffness:150,damping:12},i=framerMotion.useSpring(framerMotion.useTransform(f,[-p,0,p],[48,48+w,48]),M),N=chunkEI7MMDWY_js.a(C=>{if(!d.current)return;let x=d.current.getBoundingClientRect(),I=x.left+x.width/2;f.set(C.clientX-I);},"handleMouseMove"),D=chunkEI7MMDWY_js.a(()=>{f.set(1/0),v(false);},"handleMouseLeave");return jsxRuntime.jsxs(framerMotion.motion.div,{className:"relative",onMouseMove:N,onMouseLeave:D,onMouseEnter:()=>v(true),children:[n&&R&&jsxRuntime.jsxs(framerMotion.motion.div,{initial:{opacity:0,y:10,scale:.9},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:5,scale:.95},transition:{duration:.15},className:"absolute bottom-full left-1/2 mb-2 -translate-x-1/2 whitespace-nowrap rounded-lg bg-black/80 px-2 py-1 text-xs text-white backdrop-blur-md",children:[n,jsxRuntime.jsx("div",{className:"absolute -bottom-1 left-1/2 h-2 w-2 -translate-x-1/2 rotate-45 bg-black/80"})]}),jsxRuntime.jsxs(framerMotion.motion.button,{ref:d,style:{width:i,height:i},whileTap:{scale:.9},onClick:r,className:chunkDKPVJSBC_js.a("relative flex items-center justify-center rounded-xl bg-white/10 backdrop-blur-md transition-colors","hover:bg-white/20","focus:outline-none focus-visible:ring-2 focus-visible:ring-white/50",a),children:[jsxRuntime.jsx(framerMotion.motion.div,{style:{width:i,height:i},className:"flex items-center justify-center",children:s}),jsxRuntime.jsx(framerMotion.motion.div,{className:"absolute inset-0 rounded-xl",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%)"}})]})]})});T.displayName="DockItem";exports.a=L;exports.b=T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),react=require('react'),utils=require('@hanzo/ui/lib/utils'),jsxRuntime=require('react/jsx-runtime');var G=["a","button","input","textarea","select",'[role="button"]','[role="link"]','[tabindex]:not([tabindex="-1"])',".cursor-pointer",'[data-cursor="pointer"]'].join(", "),$=['input[type="text"]','input[type="email"]','input[type="password"]','input[type="search"]',"textarea",'[contenteditable="true"]','[data-cursor="text"]'].join(", "),O=['[data-cursor="grab"]',".cursor-grab"].join(", "),V=['[data-cursor="grabbing"]',".cursor-grabbing"].join(", ");function X(){return typeof window>"u"?false:"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}chunkEI7MMDWY_js.a(X,"isTouchDevice");function q(){let[d,e]=react.useState({position:{x:0,y:0},isHovering:false,isClicking:false,cursorType:"default"}),m=react.useCallback((i,c)=>{e(l=>({...l,position:{x:i,y:c}}));},[]),p=react.useCallback((i,c="default")=>{e(l=>({...l,isHovering:i,cursorType:c}));},[]),s=react.useCallback(i=>{e(c=>({...c,isClicking:i}));},[]);return {cursorState:d,updatePosition:m,updateHoverState:p,updateClickState:s}}chunkEI7MMDWY_js.a(q,"useCursorState");function F(d,e){let[m,p]=react.useState([]),s=react.useRef([]);return react.useEffect(()=>{s.current.push(e),s.current.length>d&&s.current.shift(),p([...s.current]);},[e,d]),m}chunkEI7MMDWY_js.a(F,"useCursorTrail");function U({isVisible:d=true,size:e=20,color:m="#000000",trailColor:p="#00000050",animationDuration:s=200,showTrail:i=true,trailLength:c=8,blendMode:l="normal",hoverScale:f=1.5,hideOnTouch:b=true,className:R,clickAnimationDuration:J=100,zIndex:S=9999}){let{cursorState:t,updatePosition:A,updateHoverState:a,updateClickState:T}=q(),w=F(c,t.position),[g,H]=react.useState(false),[v,N]=react.useState(false);if(react.useEffect(()=>{H(X()),N(true);},[]),react.useEffect(()=>{if(!v||b&&g)return;let o=chunkEI7MMDWY_js.a(h=>{try{requestAnimationFrame(()=>{A(h.clientX,h.clientY);});}catch(u){console.warn("AnimatedCursor: Error updating position",u);}},"handleMouseMove"),n=chunkEI7MMDWY_js.a(h=>{try{let u=h.target;u?.closest?.(G)?a(!0,"pointer"):u?.closest?.($)?a(!0,"text"):u?.closest?.(O)?a(!0,"grab"):u?.closest?.(V)?a(!0,"grabbing"):a(!1,"default");}catch(u){console.warn("AnimatedCursor: Error handling mouse over",u),a(false,"default");}},"handleMouseOver"),y=chunkEI7MMDWY_js.a(()=>{T(true);},"handleMouseDown"),C=chunkEI7MMDWY_js.a(()=>{T(false);},"handleMouseUp"),M=chunkEI7MMDWY_js.a(()=>{a(false,"default");},"handleMouseLeave");return document.addEventListener("mousemove",o),document.addEventListener("mouseover",n),document.addEventListener("mousedown",y),document.addEventListener("mouseup",C),document.addEventListener("mouseleave",M),()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseover",n),document.removeEventListener("mousedown",y),document.removeEventListener("mouseup",C),document.removeEventListener("mouseleave",M);}},[v,b,g,A,a,T]),react.useEffect(()=>{if(!(!v||b&&g))try{let o=document.body.style.cursor;return document.body.style.cursor="none",()=>{try{document.body.style.cursor=o;}catch(n){console.warn("AnimatedCursor: Error restoring cursor style",n);}}}catch(o){console.warn("AnimatedCursor: Error hiding cursor",o);}},[v,b,g]),!v||!d||b&&g)return null;let B=t.isHovering?f:1,D=t.isClicking?.8:1,I=B*D,_=chunkEI7MMDWY_js.a(()=>{switch(t.cursorType){case "text":return "h-6 w-0.5";case "grab":case "grabbing":return "rounded-md";default:return "rounded-full"}},"getCursorShape");return jsxRuntime.jsxs("div",{className:utils.cn("pointer-events-none fixed inset-0",R),children:[i&&w.map((o,n)=>{let y=(n+1)/w.length*.5,C=(n+1)/w.length*.8;return jsxRuntime.jsx("div",{className:"absolute",style:{left:o.x-e/2,top:o.y-e/2,width:e,height:e,backgroundColor:p,borderRadius:"50%",opacity:y,transform:`scale(${C})`,zIndex:S-n-1,mixBlendMode:l}},n)}),jsxRuntime.jsx("div",{className:utils.cn("absolute transition-transform duration-100 ease-out",_()),style:{left:t.position.x-e/2,top:t.position.y-e/2,width:t.cursorType==="text"?2:e,height:t.cursorType==="text"?24:e,backgroundColor:m,transform:`scale(${I})`,transitionDuration:`${s}ms`,zIndex:S,mixBlendMode:l}}),t.isHovering&&t.cursorType!=="text"&&jsxRuntime.jsx("div",{className:"absolute rounded-full border-2 transition-all duration-200 ease-out",style:{left:t.position.x-e*f/2,top:t.position.y-e*f/2,width:e*f,height:e*f,borderColor:m,opacity:.3,zIndex:S-1,mixBlendMode:l}})]})}chunkEI7MMDWY_js.a(U,"AnimatedCursor");var Z=U;exports.a=U;exports.b=Z;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),l=require('react'),classVarianceAuthority=require('class-variance-authority'),lucideReact=require('lucide-react'),utils=require('@hanzo/ui/lib/utils'),button=require('@hanzo/ui/button'),input=require('@hanzo/ui/input'),scrollArea=require('@hanzo/ui/scroll-area'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var l__namespace=/*#__PURE__*/_interopNamespace(l);var ee=classVarianceAuthority.cva("relative flex flex-col overflow-hidden rounded-lg border bg-background",{variants:{size:{sm:"text-xs",default:"text-sm",lg:"text-base"}},defaultVariants:{size:"default"}}),te=chunkEI7MMDWY_js.a((o,d=false)=>{if(d)return lucideReact.Folder;switch(o.split(".").pop()?.toLowerCase()){case "js":case "jsx":case "ts":case "tsx":case "vue":case "svelte":return lucideReact.FileCode;case "json":case "xml":case "yaml":case "yml":case "toml":case "ini":return lucideReact.FileText;case "png":case "jpg":case "jpeg":case "gif":case "svg":case "webp":case "ico":return lucideReact.FileImage;default:return lucideReact.File}},"getFileIcon"),re=chunkEI7MMDWY_js.a(o=>{if(!o)return "";let d=["B","KB","MB","GB"],n=o,s=0;for(;n>=1024&&s<d.length-1;)n/=1024,s++;return `${n.toFixed(1)} ${d[s]}`},"formatFileSize"),se=chunkEI7MMDWY_js.a(o=>{if(!o)return "";let n=new Date().getTime()-o.getTime(),s=Math.floor(n/(1e3*60*60*24));return s===0?"Today":s===1?"Yesterday":s<7?`${s} days ago`:s<30?`${Math.floor(s/7)} weeks ago`:s<365?`${Math.floor(s/30)} months ago`:`${Math.floor(s/365)} years ago`},"formatModifiedDate"),ae=l__namespace.forwardRef(({className:o,size:d,files:n,onFileSelect:s,onFolderToggle:F,selectedFile:h,showSearch:j=true,showFileIcons:x=true,showFileSize:w=false,showModifiedDate:T=false,height:z="400px",defaultExpanded:D=[],searchPlaceholder:L="Search files...",emptyMessage:B="No files found",...I},P)=>{let[c,C]=l__namespace.useState(""),[E,V]=l__namespace.useState(new Set(D)),g=l__namespace.useCallback(e=>e.map(r=>({...r,isExpanded:E.has(r.id),children:r.children?g(r.children):void 0})),[E]),v=l__namespace.useCallback((e,r)=>{if(!r)return e;let a=[];for(let i of e)if(i.name.toLowerCase().includes(r.toLowerCase()))a.push(i);else if(i.type==="folder"&&i.children){let f=v(i.children,r);f.length>0&&a.push({...i,children:f,isExpanded:true});}return a},[]),N=l__namespace.useMemo(()=>{let e=g(n);return c?v(e,c):e},[n,c,g,v]),S=l__namespace.useCallback(e=>{V(r=>{let a=new Set(r);return a.has(e.id)?a.delete(e.id):a.add(e.id),a}),F?.(e);},[F]),k=l__namespace.useCallback((e,r=0)=>{let a=x?te(e.name,e.type==="folder"):null,i=e.type==="folder"&&e.isExpanded?lucideReact.FolderOpen:lucideReact.Folder,f=h===e.id||h===e.path;return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs("div",{className:utils.cn("flex items-center gap-2 px-2 py-1 hover:bg-muted/50 cursor-pointer transition-colors",f&&"bg-muted","rounded-sm"),style:{paddingLeft:`${r*16+8}px`},onClick:()=>{e.type==="folder"?S(e):s?.(e);},children:[e.type==="folder"&&jsxRuntime.jsx("div",{className:"w-4 h-4 flex items-center justify-center",children:e.isExpanded?jsxRuntime.jsx(lucideReact.ChevronDown,{className:"h-3 w-3"}):jsxRuntime.jsx(lucideReact.ChevronRight,{className:"h-3 w-3"})}),x&&jsxRuntime.jsx("div",{className:"w-4 h-4 flex items-center justify-center flex-shrink-0",children:e.type==="folder"?jsxRuntime.jsx(i,{className:"h-4 w-4 text-blue-500"}):a?jsxRuntime.jsx(a,{className:"h-4 w-4 text-muted-foreground"}):null}),jsxRuntime.jsx("span",{className:"flex-1 truncate",children:e.name}),w&&e.type==="file"&&e.size&&jsxRuntime.jsx("span",{className:"text-xs text-muted-foreground flex-shrink-0",children:re(e.size)}),T&&e.modified&&jsxRuntime.jsx("span",{className:"text-xs text-muted-foreground flex-shrink-0",children:se(e.modified)})]}),e.type==="folder"&&e.isExpanded&&e.children&&jsxRuntime.jsx("div",{children:e.children.map(u=>k(u,r+1))})]},e.id)},[x,w,T,h,S,s]),A=chunkEI7MMDWY_js.a(()=>{C("");},"clearSearch");return jsxRuntime.jsxs("div",{ref:P,className:utils.cn(ee({size:d}),o),style:{height:z},...I,children:[j&&jsxRuntime.jsx("div",{className:"flex items-center gap-2 border-b px-4 py-2",children:jsxRuntime.jsxs("div",{className:"relative flex-1",children:[jsxRuntime.jsx(lucideReact.Search,{className:"absolute left-2 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),jsxRuntime.jsx(input.Input,{value:c,onChange:e=>C(e.target.value),placeholder:L,className:"pl-8 pr-8 h-8"}),c&&jsxRuntime.jsx(button.Button,{variant:"ghost",size:"sm",onClick:A,className:"absolute right-1 top-1/2 transform -translate-y-1/2 h-6 w-6 p-0",children:jsxRuntime.jsx(lucideReact.X,{className:"h-3 w-3"})})]})}),jsxRuntime.jsx(scrollArea.ScrollArea,{className:"flex-1",children:jsxRuntime.jsx("div",{className:"p-2",children:N.length===0?jsxRuntime.jsx("div",{className:"flex items-center justify-center h-24 text-muted-foreground",children:c?`No files match "${c}"`:B}):jsxRuntime.jsx("div",{className:"space-y-0.5",children:N.map(e=>k(e,0))})})}),jsxRuntime.jsxs("div",{className:"border-t px-4 py-2 text-xs text-muted-foreground",children:[(()=>{let e=chunkEI7MMDWY_js.a(f=>{let u=0,y=0;for(let b of f)if(b.type==="file")u++;else if(y++,b.children){let R=e(b.children);u+=R.files,y+=R.folders;}return {files:u,folders:y}},"countFiles"),{files:r,folders:a}=e(N),i=[];return r>0&&i.push(`${r} file${r===1?"":"s"}`),a>0&&i.push(`${a} folder${a===1?"":"s"}`),i.join(", ")||"Empty"})(),c&&jsxRuntime.jsx("span",{children:" (filtered)"})]})]})});ae.displayName="CodeExplorer";exports.a=ee;exports.b=ae;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var a=require('react'),utils=require('@hanzo/ui/lib/utils'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var a__namespace=/*#__PURE__*/_interopNamespace(a);var b=a__namespace.forwardRef(({className:o,tabs:t=[],defaultTab:m=0,...s},c)=>{let[i,l]=a__namespace.useState(m);return t.length===0?jsxRuntime.jsx("div",{ref:c,className:utils.cn("rounded-lg border bg-card p-6 text-card-foreground shadow-sm",o),...s,children:jsxRuntime.jsx("p",{className:"text-sm text-muted-foreground",children:"No code tabs available. Add tabs to display code snippets."})}):jsxRuntime.jsxs("div",{ref:c,className:utils.cn("rounded-lg border bg-card text-card-foreground shadow-sm",o),...s,children:[jsxRuntime.jsx("div",{className:"border-b",children:jsxRuntime.jsx("div",{className:"flex gap-1 p-2",children:t.map((n,d)=>jsxRuntime.jsx("button",{onClick:()=>l(d),className:utils.cn("rounded-md px-4 py-2 text-sm font-medium transition-colors",i===d?"bg-primary text-primary-foreground":"hover:bg-muted"),children:n.label},d))})}),jsxRuntime.jsx("div",{className:"p-4",children:jsxRuntime.jsx("pre",{className:"overflow-x-auto rounded-md bg-muted p-4",children:jsxRuntime.jsx("code",{className:"text-sm",children:t[i]?.code})})})]})});b.displayName="CodeTabs";exports.a=b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-TU67EJEW.mjs';import*as r from'react';import {jsx,jsxs}from'react/jsx-runtime';var s=r.forwardRef(({className:a$1,items:n,orientation:l="horizontal",...c},i)=>jsx("div",{ref:i,className:a("flex gap-2 rounded-full border bg-background/95 p-2 shadow-lg backdrop-blur",l==="vertical"?"flex-col":"flex-row",a$1),...c,children:n.map((e,p)=>jsxs("button",{onClick:e.onClick,className:a("group relative flex items-center justify-center rounded-full p-3 transition-colors hover:bg-accent",e.active&&"bg-primary text-primary-foreground hover:bg-primary/90"),title:e.label,children:[e.icon,jsx("span",{className:"sr-only",children:e.label}),jsx("span",{className:"absolute -top-8 left-1/2 -translate-x-1/2 whitespace-nowrap rounded bg-popover px-2 py-1 text-xs text-popover-foreground opacity-0 transition-opacity group-hover:opacity-100",children:e.label})]},p))}));s.displayName="MenuDock";export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a as a$2}from'./chunk-TU67EJEW.mjs';import {a as a$1}from'./chunk-YSXGDEY5.mjs';import*as a from'@radix-ui/react-avatar';import {jsx}from'react/jsx-runtime';var l=a$1(({className:e,ref:t,...r})=>jsx(a.Root,{className:a$2("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),ref:t,...r}),"Avatar");l.displayName=a.Root.displayName;var v=a$1(({className:e,ref:t,...r})=>jsx(a.Image,{className:a$2("aspect-square h-full w-full",e),ref:t,...r}),"AvatarImage");v.displayName=a.Image.displayName;var p=a$1(({className:e,ref:t,...r})=>jsx(a.Fallback,{className:a$2("bg-muted flex h-full w-full items-center justify-center rounded-full",e),ref:t,...r}),"AvatarFallback");p.displayName=a.Fallback.displayName;export{l as a,v as b,p as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as a from'react';import {cn}from'@hanzo/ui/lib/utils';import {jsx}from'react/jsx-runtime';var i=a.forwardRef(({className:t,...e},s)=>jsx("ul",{ref:s,className:cn("space-y-2",t),...e}));i.displayName="List";var r=a.forwardRef(({className:t,...e},s)=>jsx("li",{ref:s,className:cn("",t),...e}));r.displayName="ListItem";export{i as a,r as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {memo,useRef,useEffect}from'react';import {jsx}from'react/jsx-runtime';function d(){let e=useRef(null);return useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-screener.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({market:"forex",showToolbar:true,defaultColumn:"overview",defaultScreen:"general",isTransparent:false,locale:"en",colorTheme:"dark",width:"100%",height:550}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(n=>n.remove()));}},[]),jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsx("div",{className:"tradingview-widget-container__widget"})})}a(d,"ForexScreener");var u=memo(d);
|
|
2
|
+
export{u as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {memo,useRef,useEffect}from'react';import {jsx}from'react/jsx-runtime';function d(){let e=useRef(null);return useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-timeline.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({displayMode:"regular",feedMode:"all_symbols",colorTheme:"dark",isTransparent:false,locale:"en",width:"100%",height:550}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(n=>n.remove()));}},[]),jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsx("div",{className:"tradingview-widget-container__widget"})})}a(d,"NewsTimeline");var o=memo(d);
|
|
2
|
+
export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {b}from'./chunk-PZPKFU2D.mjs';import {a}from'./chunk-TU67EJEW.mjs';import*as l from'react';import {X}from'lucide-react';import {jsx,jsxs}from'react/jsx-runtime';var f=l.forwardRef(({className:o,tags:n,onRemove:a$1,variant:d="default",...p},m)=>jsx("div",{ref:m,className:a("flex flex-wrap gap-2",o),...p,children:n.map(e=>jsxs(b,{variant:d,className:a("gap-1",a$1&&"pr-1"),children:[e.label,a$1&&jsxs("button",{type:"button",onClick:()=>a$1(e.id),className:"ml-1 rounded-full p-0.5 hover:bg-black/10 dark:hover:bg-white/10",children:[jsx(X,{className:"h-3 w-3"}),jsxs("span",{className:"sr-only",children:["Remove ",e.label]})]})]},e.id))}));f.displayName="Tags";export{f as a};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-TU67EJEW.mjs';import {a}from'./chunk-YSXGDEY5.mjs';import*as p from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var M=p.forwardRef(({variant:k="dots",size:d=4,gap:l=20,color:i="currentColor",opacity:r=.4,strokeWidth:a$2=1,fade:f=false,gradient:o,animation:c,offset:m,maxArea:h,className:$,style:O,...C},G)=>{let g=p.useId(),u=p.useId(),w=p.useId(),e=typeof d=="number"?{width:d,height:d}:{width:d.width??4,height:d.height??4},n=typeof l=="number"?{x:l,y:l}:{x:l.x??20,y:l.y??20},x={x:m?.x??0,y:m?.y??0},P=a(()=>{switch(k){case "dots":return jsx("circle",{cx:e.width/2,cy:e.height/2,r:e.width/2,fill:i,opacity:r});case "lines":return jsxs(Fragment,{children:[jsx("line",{x1:"0",y1:"0",x2:"0",y2:n.y,stroke:i,strokeWidth:a$2,opacity:r}),jsx("line",{x1:"0",y1:"0",x2:n.x,y2:"0",stroke:i,strokeWidth:a$2,opacity:r})]});case "crosses":return jsxs(Fragment,{children:[jsx("line",{x1:e.width/2,y1:"0",x2:e.width/2,y2:e.height,stroke:i,strokeWidth:a$2,opacity:r}),jsx("line",{x1:"0",y1:e.height/2,x2:e.width,y2:e.height/2,stroke:i,strokeWidth:a$2,opacity:r})]});case "plus":return jsx("path",{d:`M ${e.width/2} 0 L ${e.width/2} ${e.height} M 0 ${e.height/2} L ${e.width} ${e.height/2}`,stroke:i,strokeWidth:a$2,opacity:r,fill:"none",strokeLinecap:"round"});case "squares":return jsx("rect",{width:e.width,height:e.height,fill:"none",stroke:i,strokeWidth:a$2,opacity:r});default:return null}},"renderPattern"),U=a(()=>{if(!f)return null;switch(f){case "edges":case true:return jsxs("linearGradient",{id:u,gradientUnits:"userSpaceOnUse",children:[jsx("stop",{offset:"0%",stopColor:"white",stopOpacity:"0"}),jsx("stop",{offset:"10%",stopColor:"white",stopOpacity:"1"}),jsx("stop",{offset:"90%",stopColor:"white",stopOpacity:"1"}),jsx("stop",{offset:"100%",stopColor:"white",stopOpacity:"0"})]});case "center":return jsxs("radialGradient",{id:u,gradientUnits:"userSpaceOnUse",children:[jsx("stop",{offset:"0%",stopColor:"white",stopOpacity:"1"}),jsx("stop",{offset:"70%",stopColor:"white",stopOpacity:"1"}),jsx("stop",{offset:"100%",stopColor:"white",stopOpacity:"0"})]});case "radial":return jsxs("radialGradient",{id:u,gradientUnits:"userSpaceOnUse",children:[jsx("stop",{offset:"0%",stopColor:"white",stopOpacity:"0"}),jsx("stop",{offset:"30%",stopColor:"white",stopOpacity:"1"}),jsx("stop",{offset:"100%",stopColor:"white",stopOpacity:"1"})]});default:return null}},"renderFadeMask"),L=c?{animation:`grid-pattern-move ${c.duration??10}s ${c.timing??"linear"} infinite ${c.direction??"normal"}`}:{};return jsxs("div",{ref:G,className:a$1("pointer-events-none absolute inset-0 overflow-hidden",$),style:{...O,...L},...C,children:[jsxs("svg",{className:"absolute h-full w-full",style:{transform:`translate(${x.x}px, ${x.y}px)`},children:[jsxs("defs",{children:[jsx("pattern",{id:g,x:"0",y:"0",width:n.x,height:n.y,patternUnits:"userSpaceOnUse",children:P()}),U(),o&&jsxs("linearGradient",{id:w,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[jsx("stop",{offset:"0%",stopColor:o.from??"transparent"}),o.via&&jsx("stop",{offset:"50%",stopColor:o.via}),jsx("stop",{offset:"100%",stopColor:o.to??"transparent"})]})]}),jsx("rect",{width:h?.width??"100%",height:h?.height??"100%",fill:`url(#${g})`,mask:f?`url(#${u})`:void 0}),o&&jsx("rect",{width:h?.width??"100%",height:h?.height??"100%",fill:`url(#${w})`,opacity:o.opacity??.5,className:"mix-blend-multiply dark:mix-blend-screen"})]}),jsx("style",{children:`
|
|
2
|
+
@keyframes grid-pattern-move {
|
|
3
|
+
0% {
|
|
4
|
+
transform: translate(0, 0);
|
|
5
|
+
}
|
|
6
|
+
100% {
|
|
7
|
+
transform: translate(${n.x}px, ${n.y}px);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
`})]})});M.displayName="GridPattern";var W={dotMatrix:{variant:"dots",size:3,gap:30,opacity:.3},fineDots:{variant:"dots",size:1,gap:10,opacity:.4},gridLines:{variant:"lines",gap:40,strokeWidth:1,opacity:.2},crosshatch:{variant:"crosses",size:10,gap:20,strokeWidth:1,opacity:.3},blueprint:{variant:"lines",gap:20,strokeWidth:.5,color:"#3b82f6",opacity:.3},graph:{variant:"lines",gap:{x:50,y:50},strokeWidth:1,opacity:.15,fade:"edges"},isometric:{variant:"lines",gap:{x:30,y:17.32},strokeWidth:.5,opacity:.2},hexagon:{variant:"dots",size:2,gap:{x:30,y:26},opacity:.3}};export{M as a,W as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {memo,useRef,useEffect}from'react';import {jsx}from'react/jsx-runtime';function l({symbol:r="NASDAQ:AAPL"}){let e=useRef(null);return useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-advanced-chart.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({width:"100%",height:"600",symbol:r,interval:"D",timezone:"Etc/UTC",theme:"dark",style:"1",locale:"en",allow_symbol_change:true,calendar:false,support_host:"https://www.tradingview.com"}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(a=>a.remove()));}},[r]),jsx("div",{className:"tradingview-widget-container w-full h-[600px]",ref:e,children:jsx("div",{className:"tradingview-widget-container__widget h-full"})})}a(l,"AdvancedChart");var m=memo(l);
|
|
2
|
+
export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkVTJ6QUCR_js=require('./chunk-VTJ6QUCR.js'),chunkPRVEIITE_js=require('./chunk-PRVEIITE.js'),chunkDKPVJSBC_js=require('./chunk-DKPVJSBC.js'),chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),t=require('react'),lucideReact=require('lucide-react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var y=t__namespace.forwardRef(({className:f,items:n=[],...p},u)=>{let[h,o]=t__namespace.useState(false),[l,v]=t__namespace.useState("");t__namespace.useEffect(()=>{let e=chunkEI7MMDWY_js.a(s=>{s.key==="k"&&(s.metaKey||s.ctrlKey)&&(s.preventDefault(),o(b=>!b));},"down");return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]);let g=n.filter(e=>e.label.toLowerCase().includes(l.toLowerCase()));return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs("nav",{ref:u,className:chunkDKPVJSBC_js.a("flex items-center gap-4",f),...p,children:[jsxRuntime.jsxs(chunkPRVEIITE_js.b,{variant:"outline",onClick:()=>o(true),className:"relative w-64 justify-start",children:[jsxRuntime.jsx(lucideReact.Search,{className:"mr-2 h-4 w-4"}),jsxRuntime.jsx("span",{className:"text-muted-foreground",children:"Search..."}),jsxRuntime.jsxs("kbd",{className:"pointer-events-none absolute right-2 hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium opacity-100 sm:flex",children:[jsxRuntime.jsx(lucideReact.Command,{className:"h-3 w-3"}),"K"]})]}),n.slice(0,4).map(e=>jsxRuntime.jsx("a",{href:e.href,className:"text-sm font-medium transition-colors hover:text-primary",children:e.label},e.href))]}),h&&jsxRuntime.jsx("div",{className:"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm",onClick:()=>o(false),children:jsxRuntime.jsxs("div",{className:"fixed left-1/2 top-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 rounded-lg border bg-card p-6 shadow-lg",onClick:e=>e.stopPropagation(),children:[jsxRuntime.jsx(chunkVTJ6QUCR_js.a,{placeholder:"Search navigation...",value:l,onChange:e=>v(e.target.value),autoFocus:true,className:"mb-4"}),jsxRuntime.jsx("div",{className:"max-h-96 space-y-1 overflow-auto",children:g.map(e=>jsxRuntime.jsx("a",{href:e.href,className:"block rounded-md px-4 py-2 hover:bg-accent",onClick:()=>o(false),children:e.label},e.href))})]})})]})});y.displayName="LimelightNav";exports.a=y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-TU67EJEW.mjs';import {a as a$1}from'./chunk-YSXGDEY5.mjs';import*as e from'react';import {useMotionValue,useSpring,useTransform,motion}from'framer-motion';import {jsx,jsxs}from'react/jsx-runtime';var h=e.createContext({magnification:60,distance:140}),L=e.forwardRef(({className:a$1,children:s,position:r="bottom",magnification:n=60,distance:c=140},l)=>{let g={bottom:"bottom-0 left-1/2 -translate-x-1/2 flex-row",left:"left-0 top-1/2 -translate-y-1/2 flex-col",right:"right-0 top-1/2 -translate-y-1/2 flex-col"};return jsx(h.Provider,{value:{magnification:n,distance:c},children:jsx("div",{ref:l,className:a("fixed z-50 flex items-end gap-1 rounded-2xl border border-white/10 bg-black/10 p-2 backdrop-blur-xl","shadow-2xl shadow-black/20","before:absolute before:inset-0 before:rounded-2xl before:bg-gradient-to-b before:from-white/10 before:to-transparent before:opacity-50",g[r],a$1),children:s})})});L.displayName="Dock";var T=e.forwardRef(({className:a$2,children:s,onClick:r,tooltip:n,magnification:c,distance:l},g)=>{let d=e.useRef(null),{magnification:k,distance:y}=e.useContext(h),w=c??k,p=l??y,[R,v]=e.useState(false),f=useMotionValue(1/0),M={mass:.1,stiffness:150,damping:12},i=useSpring(useTransform(f,[-p,0,p],[48,48+w,48]),M),N=a$1(C=>{if(!d.current)return;let x=d.current.getBoundingClientRect(),I=x.left+x.width/2;f.set(C.clientX-I);},"handleMouseMove"),D=a$1(()=>{f.set(1/0),v(false);},"handleMouseLeave");return jsxs(motion.div,{className:"relative",onMouseMove:N,onMouseLeave:D,onMouseEnter:()=>v(true),children:[n&&R&&jsxs(motion.div,{initial:{opacity:0,y:10,scale:.9},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:5,scale:.95},transition:{duration:.15},className:"absolute bottom-full left-1/2 mb-2 -translate-x-1/2 whitespace-nowrap rounded-lg bg-black/80 px-2 py-1 text-xs text-white backdrop-blur-md",children:[n,jsx("div",{className:"absolute -bottom-1 left-1/2 h-2 w-2 -translate-x-1/2 rotate-45 bg-black/80"})]}),jsxs(motion.button,{ref:d,style:{width:i,height:i},whileTap:{scale:.9},onClick:r,className:a("relative flex items-center justify-center rounded-xl bg-white/10 backdrop-blur-md transition-colors","hover:bg-white/20","focus:outline-none focus-visible:ring-2 focus-visible:ring-white/50",a$2),children:[jsx(motion.div,{style:{width:i,height:i},className:"flex items-center justify-center",children:s}),jsx(motion.div,{className:"absolute inset-0 rounded-xl",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%)"}})]})]})});T.displayName="DockItem";export{L as a,T as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkPRVEIITE_js=require('./chunk-PRVEIITE.js'),chunk5VHN5OKZ_js=require('./chunk-5VHN5OKZ.js'),chunkDKPVJSBC_js=require('./chunk-DKPVJSBC.js'),chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),lucideReact=require('lucide-react'),o=require('react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var o__namespace=/*#__PURE__*/_interopNamespace(o);var v=chunkEI7MMDWY_js.a(({className:g,type:a,startAdornment:r,endAdornment:e,hidePasswordToggle:h,ref:R,...l})=>{let n=o.useRef(null),f=o.useRef(null),i=o.useRef(null),[s,w]=o__namespace.useState(false),x=chunkEI7MMDWY_js.a(()=>{w(!s);},"togglePasswordVisibility"),p={};r&&(p.paddingLeft=`${(f?.current?.offsetWidth??0)+20}px`),e&&(p.paddingRight=`${(i?.current?.offsetWidth??0)+20}px`),o.useImperativeHandle(R,()=>n.current,[]),o.useEffect(()=>{l.autoFocus&&setTimeout(()=>{n?.current?.focus();},0);},[l.autoFocus]);let y=a==="password"&&s?"text":a;return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("input",{className:chunkDKPVJSBC_js.a("h-input border-border-input bg-bg-secondary focus:border-border-input-focus disabled:bg-bg-input-disabled peer placeholder-shown:border-border-input text-text-default w-full rounded-lg border px-4 py-3 pt-8 text-sm font-medium placeholder-transparent outline outline-0 transition-all placeholder-shown:border focus:border focus:outline-0 disabled:border-0 disabled:text-gray-400",r&&"pl-[var(--custom-padding-left-input)]",e&&"pr-[var(--custom-padding-right-input)]",a==="password"&&"pr-[60px]",g),placeholder:" ",ref:n,spellCheck:false,style:p,type:y,...l}),r?jsxRuntime.jsx(chunk5VHN5OKZ_js.b,{className:"peer/adornment adornment absolute top-[30px] left-4",ref:f,variant:"inputAdornment",children:r}):null,e&&typeof e=="string"?jsxRuntime.jsx(chunk5VHN5OKZ_js.b,{className:"peer/adornment adornment absolute top-[30px] right-4",ref:i,variant:"inputAdornment",children:e}):null,e&&typeof e!="string"&&o__namespace.isValidElement(e)?o__namespace.cloneElement(e,{ref:i}):null,a==="password"&&!h&&jsxRuntime.jsx(chunkPRVEIITE_js.b,{"aria-label":s?"Hide password":"Show password",className:"absolute top-3 right-3",onClick:x,size:"icon",type:"button",variant:"ghost",children:s?jsxRuntime.jsx(lucideReact.EyeOffIcon,{"aria-hidden":"true",className:"h-4 w-4"}):jsxRuntime.jsx(lucideReact.EyeIcon,{"aria-hidden":"true",className:"h-4 w-4"})})]})},"Input");v.displayName="Input";exports.a=v;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunk5VHN5OKZ_js=require('./chunk-5VHN5OKZ.js'),chunkDKPVJSBC_js=require('./chunk-DKPVJSBC.js'),l=require('react'),lucideReact=require('lucide-react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var l__namespace=/*#__PURE__*/_interopNamespace(l);var f=l__namespace.forwardRef(({className:o,tags:n,onRemove:a,variant:d="default",...p},m)=>jsxRuntime.jsx("div",{ref:m,className:chunkDKPVJSBC_js.a("flex flex-wrap gap-2",o),...p,children:n.map(e=>jsxRuntime.jsxs(chunk5VHN5OKZ_js.b,{variant:d,className:chunkDKPVJSBC_js.a("gap-1",a&&"pr-1"),children:[e.label,a&&jsxRuntime.jsxs("button",{type:"button",onClick:()=>a(e.id),className:"ml-1 rounded-full p-0.5 hover:bg-black/10 dark:hover:bg-white/10",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-3 w-3"}),jsxRuntime.jsxs("span",{className:"sr-only",children:["Remove ",e.label]})]})]},e.id))}));f.displayName="Tags";exports.a=f;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a as a$1}from'./chunk-YSXGDEY5.mjs';import {memo,useRef,useEffect}from'react';import {jsx}from'react/jsx-runtime';function a(){let e=useRef(null);return useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-market-overview.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({colorTheme:"dark",dateRange:"12M",locale:"en",largeChartUrl:"",isTransparent:false,showFloatingTooltip:false,plotLineColorGrowing:"rgba(41, 98, 255, 1)",plotLineColorFalling:"rgba(41, 98, 255, 1)",gridLineColor:"rgba(240, 243, 250, 0)",scaleFontColor:"#DBDBDB",belowLineFillColorGrowing:"rgba(41, 98, 255, 0.12)",belowLineFillColorFalling:"rgba(41, 98, 255, 0.12)",belowLineFillColorGrowingBottom:"rgba(41, 98, 255, 0)",belowLineFillColorFallingBottom:"rgba(41, 98, 255, 0)",symbolActiveColor:"rgba(41, 98, 255, 0.12)",tabs:[{title:"Indices",symbols:[{s:"FOREXCOM:SPXUSD",d:"S&P 500 Index"},{s:"FOREXCOM:NSXUSD",d:"US 100 Cash CFD"},{s:"FOREXCOM:DJI",d:"Dow Jones Industrial Average Index"},{s:"INDEX:NKY",d:"Japan 225"},{s:"INDEX:DEU40",d:"DAX Index"},{s:"FOREXCOM:UKXGBP",d:"FTSE 100 Index"}],originalTitle:"Indices"},{title:"Futures",symbols:[{s:"BMFBOVESPA:ISP1!",d:"S&P 500"},{s:"BMFBOVESPA:EUR1!",d:"Euro"},{s:"CMCMARKETS:GOLD",d:"Gold"},{s:"PYTH:WTI3!",d:"WTI Crude Oil"},{s:"BMFBOVESPA:CCM1!",d:"Corn"}],originalTitle:"Futures"},{title:"Bonds",symbols:[{s:"EUREX:FGBL1!",d:"Euro Bund"},{s:"EUREX:FBTP1!",d:"Euro BTP"},{s:"EUREX:FGBM1!",d:"Euro BOBL"}],originalTitle:"Bonds"},{title:"Forex",symbols:[{s:"FX:EURUSD",d:"EUR to USD"},{s:"FX:GBPUSD",d:"GBP to USD"},{s:"FX:USDJPY",d:"USD to JPY"},{s:"FX:USDCHF",d:"USD to CHF"},{s:"FX:AUDUSD",d:"AUD to USD"},{s:"FX:USDCAD",d:"USD to CAD"}],originalTitle:"Forex"}],support_host:"https://www.tradingview.com",backgroundColor:"#0f0f0f",width:"100%",height:"550",showSymbolLogo:true,showChart:true}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(o=>o.remove()));}},[]),jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsx("div",{className:"tradingview-widget-container__widget"})})}a$1(a,"MarketOverview");var u=memo(a);
|
|
2
|
+
export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-TU67EJEW.mjs';import*as o from'react';import {cva}from'class-variance-authority';import {X}from'lucide-react';import {jsxs,jsx}from'react/jsx-runtime';var v=cva("relative w-full border-b px-4 py-3 text-sm [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",info:"border-blue-500/50 bg-blue-50 text-blue-900 dark:bg-blue-950 dark:text-blue-100 [&>svg]:text-blue-600 dark:[&>svg]:text-blue-400",success:"border-green-500/50 bg-green-50 text-green-900 dark:bg-green-950 dark:text-green-100 [&>svg]:text-green-600 dark:[&>svg]:text-green-400",warning:"border-yellow-500/50 bg-yellow-50 text-yellow-900 dark:bg-yellow-950 dark:text-yellow-100 [&>svg]:text-yellow-600 dark:[&>svg]:text-yellow-400",error:"border-red-500/50 bg-red-50 text-red-900 dark:bg-red-950 dark:text-red-100 [&>svg]:text-red-600 dark:[&>svg]:text-red-400"}},defaultVariants:{variant:"default"}}),p=o.forwardRef(({className:n,variant:s,onClose:e,children:l,...d},g)=>jsxs("div",{ref:g,role:"alert",className:a(v({variant:s}),n),...d,children:[l,e&&jsxs("button",{type:"button",onClick:e,className:"absolute right-4 top-3 rounded-md p-1 hover:bg-black/5 dark:hover:bg-white/5",children:[jsx(X,{className:"h-4 w-4"}),jsx("span",{className:"sr-only",children:"Close"})]})]}));p.displayName="Banner";export{v as a,p as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),t=require('react'),classVarianceAuthority=require('class-variance-authority'),lucideReact=require('lucide-react'),shiki=require('shiki'),utils=require('@hanzo/ui/lib/utils'),badge=require('@hanzo/ui/badge'),button=require('@hanzo/ui/button'),skeleton=require('@hanzo/ui/skeleton'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var t__namespace=/*#__PURE__*/_interopNamespace(t);var G=classVarianceAuthority.cva("relative overflow-hidden rounded-lg border bg-muted/50",{variants:{theme:{dark:"bg-slate-950 border-slate-800",light:"bg-slate-50 border-slate-200",github:"bg-white border-slate-200","github-dark":"bg-slate-900 border-slate-700","vs-dark":"bg-slate-950 border-slate-800",monokai:"bg-slate-900 border-slate-700",dracula:"bg-slate-900 border-purple-800/30",nord:"bg-slate-800 border-slate-600"},size:{sm:"text-xs",default:"text-sm",lg:"text-base"}},defaultVariants:{theme:"dark",size:"default"}}),H=t__namespace.memo(({line:g,lineNumber:n,showLineNumbers:h,isHighlighted:s=false,isDiffAdded:a=false,isDiffRemoved:o=false})=>jsxRuntime.jsxs("div",{className:utils.cn("group relative flex min-h-[1.5rem] items-center px-4 py-0.5",s&&"bg-blue-500/10 border-l-2 border-l-blue-500",a&&"bg-green-500/10 border-l-2 border-l-green-500",o&&"bg-red-500/10 border-l-2 border-l-red-500"),children:[h&&jsxRuntime.jsx("span",{className:"mr-4 inline-block w-8 select-none text-right text-xs text-muted-foreground",children:n}),(a||o)&&jsxRuntime.jsx("span",{className:"mr-2 select-none text-xs",children:a?"+":o?"-":" "}),jsxRuntime.jsx("div",{className:"flex-1 overflow-x-auto",dangerouslySetInnerHTML:{__html:g}})]}));H.displayName="CodeLine";var J=t__namespace.forwardRef(({className:g,theme:n,size:h,code:s,language:a="text",filename:o,showLineNumbers:p=true,highlightLines:R=[],showCopyButton:u=true,maxHeight:T="400px",diff:f,...B},M)=>{let[E,v]=t__namespace.useState(""),[x,k]=t__namespace.useState(false),[P,N]=t__namespace.useState(true),S={dark:"github-dark",light:"github-light",github:"github-light","github-dark":"github-dark","vs-dark":"dark-plus",monokai:"monokai",dracula:"dracula",nord:"nord"};t__namespace.useEffect(()=>{chunkEI7MMDWY_js.a(async()=>{N(true);try{let r=await shiki.codeToHtml(s,{lang:a,theme:S[n||"dark"],transformers:[{code(m){let d=m.children.find(y=>y.type==="element"&&y.tagName==="code");d&&"children"in d&&d.children&&(m.children=d.children);}}]}),i=document.createElement("div");i.innerHTML=r;let b=i.querySelector("code");v(b?.innerHTML||r);}catch(r){console.error("Failed to highlight code:",r),v(s);}finally{N(false);}},"highlightCode")();},[s,a,n]);let D=t__namespace.useCallback(async()=>{try{await navigator.clipboard.writeText(s),k(!0),setTimeout(()=>k(!1),2e3);}catch(c){console.error("Failed to copy code:",c);}},[s]),V=E.split(`
|
|
2
|
+
`);return jsxRuntime.jsxs("div",{ref:M,"data-testid":"code-block",className:utils.cn(G({theme:n,size:h,className:g})),...B,children:[(o||a||u)&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between border-b px-4 py-2",children:[jsxRuntime.jsxs("div",{className:"flex items-center gap-2",children:[o&&jsxRuntime.jsxs("div",{className:"flex items-center gap-1.5",children:[jsxRuntime.jsx(lucideReact.FileText,{className:"h-3.5 w-3.5 text-muted-foreground"}),jsxRuntime.jsx("span",{className:"text-sm font-medium",children:o})]}),a&&jsxRuntime.jsx(badge.Badge,{variant:"secondary",className:"text-xs",children:a})]}),u&&jsxRuntime.jsxs(button.Button,{variant:"ghost",size:"sm",onClick:D,className:"h-8 w-8 p-0",children:[x?jsxRuntime.jsx(lucideReact.Check,{className:"h-3.5 w-3.5 text-green-500"}):jsxRuntime.jsx(lucideReact.Copy,{className:"h-3.5 w-3.5"}),jsxRuntime.jsx("span",{className:"sr-only",children:x?"Copied":"Copy code"})]})]}),jsxRuntime.jsx("div",{className:"overflow-auto",style:{maxHeight:T},children:P?jsxRuntime.jsx("div",{className:"p-4 space-y-2",children:Array.from({length:10}).map((c,r)=>jsxRuntime.jsxs("div",{className:"flex items-center gap-4",children:[p&&jsxRuntime.jsx(skeleton.Skeleton,{"data-testid":"skeleton",className:"h-4 w-8"}),jsxRuntime.jsx(skeleton.Skeleton,{"data-testid":"skeleton",className:"h-4 flex-1"})]},r))}):jsxRuntime.jsx("div",{className:"font-mono",children:V.map((c,r)=>{let i=r+1,b=R.includes(i),m=f?.added?.includes(i),d=f?.removed?.includes(i);return jsxRuntime.jsx(H,{line:c,lineNumber:i,showLineNumbers:p,isHighlighted:b,isDiffAdded:m,isDiffRemoved:d},r)})})})]})});J.displayName="CodeBlock";exports.a=G;exports.b=J;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var e=require('react'),P=require('@monaco-editor/react'),lucideReact=require('lucide-react'),nextThemes=require('next-themes'),utils=require('@hanzo/ui/lib/utils'),button=require('@hanzo/ui/button'),dropdownMenu=require('@hanzo/ui/dropdown-menu'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var e__namespace=/*#__PURE__*/_interopNamespace(e);var P__default=/*#__PURE__*/_interopDefault(P);var G=["javascript","typescript","python","java","csharp","cpp","c","go","rust","ruby","php","swift","kotlin","dart","html","css","scss","json","xml","yaml","sql","markdown","shell","plaintext"],b={javascript:"JavaScript",typescript:"TypeScript",python:"Python",java:"Java",csharp:"C#",cpp:"C++",c:"C",go:"Go",rust:"Rust",ruby:"Ruby",php:"PHP",swift:"Swift",kotlin:"Kotlin",dart:"Dart",html:"HTML",css:"CSS",scss:"SCSS",json:"JSON",xml:"XML",yaml:"YAML",sql:"SQL",markdown:"Markdown",shell:"Shell",plaintext:"Plain Text"},K=e__namespace.forwardRef(({value:r,defaultValue:c="",language:d="javascript",height:y="400px",theme:s="auto",onChange:i,onMount:w,readOnly:v=false,lineNumbers:S=true,minimap:x=false,wordWrap:M="on",fontSize:k=14,className:N,showCopyButton:u=true,showLanguageSelector:p=true,availableLanguages:L=G},R)=>{let{theme:m}=nextThemes.useTheme(),[l,D]=e__namespace.useState(d),[T,h]=e__namespace.useState(false),[n,g]=e__namespace.useState(r||c);e__namespace.useEffect(()=>{r!==void 0&&g(r);},[r]);let O=e__namespace.useCallback(async()=>{try{await navigator.clipboard.writeText(n),h(!0),setTimeout(()=>h(!1),2e3);}catch(t){console.error("Failed to copy:",t);}},[n]),z=e__namespace.useCallback((t,j)=>{g(t||""),i&&i(t,j);},[i]),E=e__namespace.useMemo(()=>s==="auto"?m==="dark"?"vs-dark":"light":s==="dark"?"vs-dark":"light",[s,m]);return jsxRuntime.jsxs("div",{ref:R,className:utils.cn("relative overflow-hidden rounded-md border bg-background",N),children:[(p||u)&&jsxRuntime.jsxs("div",{className:"flex items-center justify-between border-b bg-muted/50 px-3 py-2",children:[p&&jsxRuntime.jsxs(dropdownMenu.DropdownMenu,{children:[jsxRuntime.jsx(dropdownMenu.DropdownMenuTrigger,{asChild:true,children:jsxRuntime.jsxs(button.Button,{variant:"ghost",size:"sm",className:"h-8 gap-1 px-2 text-xs font-mono",children:[b[l]||l,jsxRuntime.jsx(lucideReact.ChevronDown,{className:"h-3 w-3"})]})}),jsxRuntime.jsx(dropdownMenu.DropdownMenuContent,{align:"start",className:"max-h-80 overflow-auto",children:L.map(t=>jsxRuntime.jsx(dropdownMenu.DropdownMenuItem,{onClick:()=>D(t),className:"font-mono text-xs",children:b[t]||t},t))})]}),u&&jsxRuntime.jsx(button.Button,{variant:"ghost",size:"sm",className:"h-8 gap-1.5 px-2 text-xs",onClick:O,disabled:!n,children:T?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(lucideReact.Check,{className:"h-3 w-3"}),"Copied!"]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(lucideReact.Copy,{className:"h-3 w-3"}),"Copy"]})})]}),jsxRuntime.jsx(P__default.default,{height:y,defaultLanguage:d,language:l,value:n,defaultValue:c,theme:E,onChange:z,onMount:w,options:{readOnly:v,lineNumbers:S?"on":"off",minimap:{enabled:x},wordWrap:M,fontSize:k,scrollBeyondLastLine:false,automaticLayout:true,tabSize:2,insertSpaces:true,formatOnPaste:true,formatOnType:true,scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10},padding:{top:16,bottom:16}}})]})});K.displayName="CodeEditor";exports.a=K;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {memo,useRef,useEffect}from'react';import {jsx}from'react/jsx-runtime';function d(){let e=useRef(null);return useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-screener.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({defaultColumn:"overview",screener_type:"crypto_mkt",displayCurrency:"USD",colorTheme:"dark",isTransparent:false,locale:"en",width:"100%",height:550}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(n=>n.remove()));}},[]),jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsx("div",{className:"tradingview-widget-container__widget"})})}a(d,"CryptoScreener");var o=memo(d);
|
|
2
|
+
export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkDKPVJSBC_js=require('./chunk-DKPVJSBC.js'),r=require('react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var r__namespace=/*#__PURE__*/_interopNamespace(r);var s=r__namespace.forwardRef(({className:a,items:n,orientation:l="horizontal",...c},i)=>jsxRuntime.jsx("div",{ref:i,className:chunkDKPVJSBC_js.a("flex gap-2 rounded-full border bg-background/95 p-2 shadow-lg backdrop-blur",l==="vertical"?"flex-col":"flex-row",a),...c,children:n.map((e,p)=>jsxRuntime.jsxs("button",{onClick:e.onClick,className:chunkDKPVJSBC_js.a("group relative flex items-center justify-center rounded-full p-3 transition-colors hover:bg-accent",e.active&&"bg-primary text-primary-foreground hover:bg-primary/90"),title:e.label,children:[e.icon,jsxRuntime.jsx("span",{className:"sr-only",children:e.label}),jsxRuntime.jsx("span",{className:"absolute -top-8 left-1/2 -translate-x-1/2 whitespace-nowrap rounded bg-popover px-2 py-1 text-xs text-popover-foreground opacity-0 transition-opacity group-hover:opacity-100",children:e.label})]},p))}));s.displayName="MenuDock";exports.a=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-YSXGDEY5.mjs';import {jsx,jsxs}from'react/jsx-runtime';function p({orders:a$1,onCancelOrder:d,onOrderClick:l}){let c=a(e=>e.split(":")[1]||e,"getTickerFromSymbol");return a$1.length===0?jsx("div",{className:"p-4 text-center py-8 text-white/40",children:jsx("p",{className:"text-sm",children:"No orders yet"})}):jsx("div",{className:"p-4 space-y-2",children:a$1.map(e=>jsxs("div",{className:`bg-white/5 rounded-lg p-3 ${l?"cursor-pointer hover:bg-white/10 transition-colors":""}`,onClick:()=>l?.(e),children:[jsxs("div",{className:"flex items-start justify-between mb-2",children:[jsxs("div",{children:[jsx("div",{className:"font-semibold text-white",children:c(e.symbol)}),jsx("div",{className:"text-xs text-white/60",children:new Date(e.timestamp).toLocaleString()})]}),jsx("div",{className:`text-xs px-2 py-1 rounded ${e.status==="filled"?"bg-success/20 text-success":e.status==="cancelled"?"bg-white/10 text-white/60":e.status==="pending"?"bg-yellow-500/20 text-yellow-400":"bg-blue-500/20 text-blue-400"}`,children:e.status.charAt(0).toUpperCase()+e.status.slice(1)})]}),jsxs("div",{className:"grid grid-cols-3 gap-2 text-xs",children:[jsxs("div",{children:[jsx("div",{className:"text-white/60",children:"Side"}),jsx("div",{className:`font-medium ${e.type==="buy"?"text-success":"text-danger"}`,children:e.type.toUpperCase()})]}),jsxs("div",{children:[jsx("div",{className:"text-white/60",children:"Shares"}),jsx("div",{className:"text-white font-medium",children:e.shares})]}),jsxs("div",{children:[jsx("div",{className:"text-white/60",children:"Price"}),jsx("div",{className:"text-white font-medium",children:e.price>0?`$${e.price.toFixed(2)}`:"Market"})]})]}),e.orderType&&jsxs("div",{className:"mt-2 text-xs",children:[jsx("span",{className:"text-white/60",children:"Type: "}),jsx("span",{className:"text-white font-medium",children:e.orderType.charAt(0).toUpperCase()+e.orderType.slice(1)})]}),e.status==="open"&&d&&jsx("button",{onClick:n=>{n.stopPropagation(),d(e.id);},className:"w-full mt-2 py-1.5 text-xs bg-white/5 hover:bg-white/10 text-white/80 rounded transition-colors",children:"Cancel Order"})]},e.id))})}a(p,"OrdersHistory");export{p as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');function a(){let e=react.useRef(null);return react.useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-market-overview.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({colorTheme:"dark",dateRange:"12M",locale:"en",largeChartUrl:"",isTransparent:false,showFloatingTooltip:false,plotLineColorGrowing:"rgba(41, 98, 255, 1)",plotLineColorFalling:"rgba(41, 98, 255, 1)",gridLineColor:"rgba(240, 243, 250, 0)",scaleFontColor:"#DBDBDB",belowLineFillColorGrowing:"rgba(41, 98, 255, 0.12)",belowLineFillColorFalling:"rgba(41, 98, 255, 0.12)",belowLineFillColorGrowingBottom:"rgba(41, 98, 255, 0)",belowLineFillColorFallingBottom:"rgba(41, 98, 255, 0)",symbolActiveColor:"rgba(41, 98, 255, 0.12)",tabs:[{title:"Indices",symbols:[{s:"FOREXCOM:SPXUSD",d:"S&P 500 Index"},{s:"FOREXCOM:NSXUSD",d:"US 100 Cash CFD"},{s:"FOREXCOM:DJI",d:"Dow Jones Industrial Average Index"},{s:"INDEX:NKY",d:"Japan 225"},{s:"INDEX:DEU40",d:"DAX Index"},{s:"FOREXCOM:UKXGBP",d:"FTSE 100 Index"}],originalTitle:"Indices"},{title:"Futures",symbols:[{s:"BMFBOVESPA:ISP1!",d:"S&P 500"},{s:"BMFBOVESPA:EUR1!",d:"Euro"},{s:"CMCMARKETS:GOLD",d:"Gold"},{s:"PYTH:WTI3!",d:"WTI Crude Oil"},{s:"BMFBOVESPA:CCM1!",d:"Corn"}],originalTitle:"Futures"},{title:"Bonds",symbols:[{s:"EUREX:FGBL1!",d:"Euro Bund"},{s:"EUREX:FBTP1!",d:"Euro BTP"},{s:"EUREX:FGBM1!",d:"Euro BOBL"}],originalTitle:"Bonds"},{title:"Forex",symbols:[{s:"FX:EURUSD",d:"EUR to USD"},{s:"FX:GBPUSD",d:"GBP to USD"},{s:"FX:USDJPY",d:"USD to JPY"},{s:"FX:USDCHF",d:"USD to CHF"},{s:"FX:AUDUSD",d:"AUD to USD"},{s:"FX:USDCAD",d:"USD to CAD"}],originalTitle:"Forex"}],support_host:"https://www.tradingview.com",backgroundColor:"#0f0f0f",width:"100%",height:"550",showSymbolLogo:true,showChart:true}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(o=>o.remove()));}},[]),jsxRuntime.jsx("div",{className:"tradingview-widget-container w-full",ref:e,children:jsxRuntime.jsx("div",{className:"tradingview-widget-container__widget"})})}chunkEI7MMDWY_js.a(a,"MarketOverview");var u=react.memo(a);
|
|
2
|
+
exports.a=u;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),react=require('react'),jsxRuntime=require('react/jsx-runtime');function l({symbol:r="NASDAQ:AAPL"}){let e=react.useRef(null);return react.useEffect(()=>{if(!e.current||e.current.dataset.initialized==="true")return;e.current.dataset.initialized="true";let t=document.createElement("script");return t.src="https://s3.tradingview.com/external-embedding/embed-widget-advanced-chart.js",t.type="text/javascript",t.async=true,t.innerHTML=JSON.stringify({width:"100%",height:"600",symbol:r,interval:"D",timezone:"Etc/UTC",theme:"dark",style:"1",locale:"en",allow_symbol_change:true,calendar:false,support_host:"https://www.tradingview.com"}),e.current.appendChild(t),()=>{e.current&&(delete e.current.dataset.initialized,e.current.querySelectorAll("script").forEach(a=>a.remove()));}},[r]),jsxRuntime.jsx("div",{className:"tradingview-widget-container w-full h-[600px]",ref:e,children:jsxRuntime.jsx("div",{className:"tradingview-widget-container__widget h-full"})})}chunkEI7MMDWY_js.a(l,"AdvancedChart");var m=react.memo(l);
|
|
2
|
+
exports.a=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {b as b$1}from'./chunk-WN5KN73U.mjs';import {b}from'./chunk-PZPKFU2D.mjs';import {a as a$1}from'./chunk-TU67EJEW.mjs';import {a}from'./chunk-YSXGDEY5.mjs';import {EyeOffIcon,EyeIcon}from'lucide-react';import*as o from'react';import {useRef,useImperativeHandle,useEffect}from'react';import {jsxs,Fragment,jsx}from'react/jsx-runtime';var v=a(({className:g,type:a$2,startAdornment:r,endAdornment:e,hidePasswordToggle:h,ref:R,...l})=>{let n=useRef(null),f=useRef(null),i=useRef(null),[s,w]=o.useState(false),x=a(()=>{w(!s);},"togglePasswordVisibility"),p={};r&&(p.paddingLeft=`${(f?.current?.offsetWidth??0)+20}px`),e&&(p.paddingRight=`${(i?.current?.offsetWidth??0)+20}px`),useImperativeHandle(R,()=>n.current,[]),useEffect(()=>{l.autoFocus&&setTimeout(()=>{n?.current?.focus();},0);},[l.autoFocus]);let y=a$2==="password"&&s?"text":a$2;return jsxs(Fragment,{children:[jsx("input",{className:a$1("h-input border-border-input bg-bg-secondary focus:border-border-input-focus disabled:bg-bg-input-disabled peer placeholder-shown:border-border-input text-text-default w-full rounded-lg border px-4 py-3 pt-8 text-sm font-medium placeholder-transparent outline outline-0 transition-all placeholder-shown:border focus:border focus:outline-0 disabled:border-0 disabled:text-gray-400",r&&"pl-[var(--custom-padding-left-input)]",e&&"pr-[var(--custom-padding-right-input)]",a$2==="password"&&"pr-[60px]",g),placeholder:" ",ref:n,spellCheck:false,style:p,type:y,...l}),r?jsx(b,{className:"peer/adornment adornment absolute top-[30px] left-4",ref:f,variant:"inputAdornment",children:r}):null,e&&typeof e=="string"?jsx(b,{className:"peer/adornment adornment absolute top-[30px] right-4",ref:i,variant:"inputAdornment",children:e}):null,e&&typeof e!="string"&&o.isValidElement(e)?o.cloneElement(e,{ref:i}):null,a$2==="password"&&!h&&jsx(b$1,{"aria-label":s?"Hide password":"Show password",className:"absolute top-3 right-3",onClick:x,size:"icon",type:"button",variant:"ghost",children:s?jsx(EyeOffIcon,{"aria-hidden":"true",className:"h-4 w-4"}):jsx(EyeIcon,{"aria-hidden":"true",className:"h-4 w-4"})})]})},"Input");v.displayName="Input";export{v as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a}from'./chunk-TU67EJEW.mjs';import*as o from'react';import {jsx}from'react/jsx-runtime';var u=o.forwardRef(({className:t,children:i,repeat:n=2,reverse:l=false,pauseOnHover:s=false,vertical:e=false,...m},f)=>jsx("div",{ref:f,className:a("group flex overflow-hidden",e?"flex-col":"flex-row",t),...m,children:Array.from({length:n}).map((c,p)=>jsx("div",{className:a("flex shrink-0",e?"animate-marquee-vertical flex-col":"animate-marquee",l&&"[animation-direction:reverse]",s&&"group-hover:[animation-play-state:paused]"),children:i},p))}));u.displayName="Marquee";export{u as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkEI7MMDWY_js=require('./chunk-EI7MMDWY.js'),n=require('react'),framerMotion=require('framer-motion'),lucideReact=require('lucide-react'),utils=require('@hanzo/ui/lib/utils'),ui=require('@hanzo/ui'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var n__namespace=/*#__PURE__*/_interopNamespace(n);function Z({cards:o,autoPlay:d=false,autoPlayInterval:p=5e3,className:N,cardClassName:R,showArrows:E=true,showDots:M=true,parallaxOffset:h=50,stackOffset:A=10,stackScale:I=.95,swipeThreshold:x=50}){let[m,b]=n__namespace.useState(0),[y,v]=n__namespace.useState(d),z=n__namespace.useRef(null),w=framerMotion.useMotionValue(0),P=chunkEI7MMDWY_js.a(e=>{let t=e-m,s=Math.abs(t);if(s>2)return {display:"none",x:0,scale:1,opacity:0,zIndex:0};let B=t*A,O=Math.pow(I,s),j=Math.max(0,1-s*.3),K=o.length-s;return {display:"block",x:B,scale:O,opacity:j,zIndex:K}},"getCardStyle"),l=n__namespace.useCallback(()=>{b(e=>(e+1)%o.length);},[o.length]),f=n__namespace.useCallback(()=>{b(e=>(e-1+o.length)%o.length);},[o.length]),L=n__namespace.useCallback(e=>{b(e);},[]),T=n__namespace.useCallback((e,t)=>{let{offset:s,velocity:i}=t;(Math.abs(s.x)>x||Math.abs(i.x)>500)&&(s.x>0?f():l());},[l,f,x]);n__namespace.useEffect(()=>{if(!y)return;let e=setInterval(l,p);return ()=>clearInterval(e)},[y,l,p]);let D=n__namespace.useCallback(()=>{d&&v(false);},[d]),S=n__namespace.useCallback(()=>{d&&v(true);},[d]);return n__namespace.useEffect(()=>{let e=chunkEI7MMDWY_js.a(t=>{t.key==="ArrowLeft"?f():t.key==="ArrowRight"&&l();},"handleKeyDown");return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[l,f]),jsxRuntime.jsxs("div",{ref:z,className:utils.cn("relative w-full max-w-6xl mx-auto px-4 py-8",N),onMouseEnter:D,onMouseLeave:S,children:[jsxRuntime.jsx("div",{className:"relative h-[400px] md:h-[500px] lg:h-[600px] flex items-center justify-center",children:jsxRuntime.jsx(framerMotion.AnimatePresence,{mode:"popLayout",children:o.map((e,t)=>{let s=P(t),i=t===m;return jsxRuntime.jsx(framerMotion.motion.div,{className:utils.cn("absolute inset-0 w-full h-full",!i&&"pointer-events-none"),initial:false,animate:{x:s.x,scale:s.scale,opacity:s.opacity,zIndex:s.zIndex},transition:{type:"spring",stiffness:300,damping:30},drag:i?"x":false,dragSnapToOrigin:true,dragElastic:.2,onDragEnd:T,whileDrag:{cursor:"grabbing"},style:{x:w,display:s.display},children:jsxRuntime.jsxs(ui.Card,{className:utils.cn("relative w-full h-full overflow-hidden cursor-grab","bg-gradient-to-br from-white to-gray-50 dark:from-gray-900 dark:to-gray-950","shadow-2xl hover:shadow-3xl transition-shadow duration-300",R),style:{background:e.gradient},children:[e.image&&jsxRuntime.jsxs(framerMotion.motion.div,{className:"absolute inset-0 w-full h-full",style:{x:framerMotion.useTransform(w,[-200,0,200],[h,0,-h])},children:[jsxRuntime.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover"}),jsxRuntime.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-black/20 to-transparent"})]}),jsxRuntime.jsx("div",{className:"relative z-10 flex flex-col justify-end h-full p-8 md:p-12",children:e.content?e.content:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(framerMotion.motion.h3,{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-2",initial:{opacity:0,y:20},animate:{opacity:i?1:.7,y:0},transition:{delay:.1},children:e.title}),e.subtitle&&jsxRuntime.jsx(framerMotion.motion.p,{className:"text-xl md:text-2xl text-white/80 mb-4",initial:{opacity:0,y:20},animate:{opacity:i?1:.7,y:0},transition:{delay:.2},children:e.subtitle}),e.description&&jsxRuntime.jsx(framerMotion.motion.p,{className:"text-base md:text-lg text-white/70 max-w-2xl",initial:{opacity:0,y:20},animate:{opacity:i?1:.7,y:0},transition:{delay:.3},children:e.description})]})})]})},e.id)})})}),E&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(ui.Button,{variant:"ghost",size:"icon",className:utils.cn("absolute left-4 top-1/2 -translate-y-1/2 z-20","bg-white/10 backdrop-blur-md hover:bg-white/20","text-white border border-white/20","hidden md:flex"),onClick:f,children:[jsxRuntime.jsx(lucideReact.ChevronLeft,{className:"h-6 w-6"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Previous card"})]}),jsxRuntime.jsxs(ui.Button,{variant:"ghost",size:"icon",className:utils.cn("absolute right-4 top-1/2 -translate-y-1/2 z-20","bg-white/10 backdrop-blur-md hover:bg-white/20","text-white border border-white/20","hidden md:flex"),onClick:l,children:[jsxRuntime.jsx(lucideReact.ChevronRight,{className:"h-6 w-6"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Next card"})]})]}),M&&jsxRuntime.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 z-20 flex gap-2",children:o.map((e,t)=>jsxRuntime.jsx("button",{className:utils.cn("w-2 h-2 rounded-full transition-all duration-300","bg-white/40 hover:bg-white/60",t===m&&"w-8 bg-white"),onClick:()=>L(t),children:jsxRuntime.jsxs("span",{className:"sr-only",children:["Go to card ",t+1]})},t))})]})}chunkEI7MMDWY_js.a(Z,"AppleCardsCarousel");var $={sunset:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",ocean:"linear-gradient(135deg, #667eea 0%, #4ca1af 100%)",fire:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)",forest:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)",galaxy:"linear-gradient(135deg, #7303c0 0%, #ec38bc 50%, #fdeff9 100%)",aurora:"linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%)",peach:"linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%)",lavender:"linear-gradient(135deg, #a8edea 0%, #fed6e3 100%)"};exports.a=Z;exports.b=$;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkDKPVJSBC_js=require('./chunk-DKPVJSBC.js'),o=require('react'),classVarianceAuthority=require('class-variance-authority'),lucideReact=require('lucide-react'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var o__namespace=/*#__PURE__*/_interopNamespace(o);var v=classVarianceAuthority.cva("relative w-full border-b px-4 py-3 text-sm [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",info:"border-blue-500/50 bg-blue-50 text-blue-900 dark:bg-blue-950 dark:text-blue-100 [&>svg]:text-blue-600 dark:[&>svg]:text-blue-400",success:"border-green-500/50 bg-green-50 text-green-900 dark:bg-green-950 dark:text-green-100 [&>svg]:text-green-600 dark:[&>svg]:text-green-400",warning:"border-yellow-500/50 bg-yellow-50 text-yellow-900 dark:bg-yellow-950 dark:text-yellow-100 [&>svg]:text-yellow-600 dark:[&>svg]:text-yellow-400",error:"border-red-500/50 bg-red-50 text-red-900 dark:bg-red-950 dark:text-red-100 [&>svg]:text-red-600 dark:[&>svg]:text-red-400"}},defaultVariants:{variant:"default"}}),p=o__namespace.forwardRef(({className:n,variant:s,onClose:e,children:l,...d},g)=>jsxRuntime.jsxs("div",{ref:g,role:"alert",className:chunkDKPVJSBC_js.a(v({variant:s}),n),...d,children:[l,e&&jsxRuntime.jsxs("button",{type:"button",onClick:e,className:"absolute right-4 top-3 rounded-md p-1 hover:bg-black/5 dark:hover:bg-white/5",children:[jsxRuntime.jsx(lucideReact.X,{className:"h-4 w-4"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Close"})]})]}));p.displayName="Banner";exports.a=v;exports.b=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var l=require('react'),framerMotion=require('framer-motion'),utils=require('@hanzo/ui/lib/utils'),jsxRuntime=require('react/jsx-runtime');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var l__namespace=/*#__PURE__*/_interopNamespace(l);var m=l__namespace.forwardRef(({className:o,text:i="Hello",duration:a=2,...n},r)=>{let p=i.split("");return jsxRuntime.jsx("div",{ref:r,className:utils.cn("relative flex items-center justify-center text-6xl font-bold",o),...n,children:p.map((s,e)=>jsxRuntime.jsx(framerMotion.motion.span,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:a,delay:e*.1,ease:[.215,.61,.355,1]},className:"inline-block",children:s},e))})});m.displayName="AppleHelloEffect";exports.a=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkXBDQSMTI_js=require('../chunk-XBDQSMTI.js');require('../chunk-EI7MMDWY.js');Object.defineProperty(exports,"CodeBlock",{enumerable:true,get:function(){return chunkXBDQSMTI_js.b}});Object.defineProperty(exports,"codeBlockVariants",{enumerable:true,get:function(){return chunkXBDQSMTI_js.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as CodeBlock,a as codeBlockVariants}from'../chunk-NBXNOMXS.mjs';import'../chunk-YSXGDEY5.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkLYXX7LU2_js=require('../chunk-LYXX7LU2.js');require('../chunk-EI7MMDWY.js');Object.defineProperty(exports,"CodeCompare",{enumerable:true,get:function(){return chunkLYXX7LU2_js.b}});Object.defineProperty(exports,"codeCompareVariants",{enumerable:true,get:function(){return chunkLYXX7LU2_js.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as CodeCompare,a as codeCompareVariants}from'../chunk-M4GZKMQS.mjs';import'../chunk-YSXGDEY5.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunk4A27XTBF_js=require('../chunk-4A27XTBF.js');require('../chunk-EI7MMDWY.js');Object.defineProperty(exports,"CodeDiff",{enumerable:true,get:function(){return chunk4A27XTBF_js.b}});Object.defineProperty(exports,"codeDiffVariants",{enumerable:true,get:function(){return chunk4A27XTBF_js.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as CodeDiff,a as codeDiffVariants}from'../chunk-S2UB25HB.mjs';import'../chunk-YSXGDEY5.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkXFK7RTKE_js=require('../chunk-XFK7RTKE.js');require('../chunk-EI7MMDWY.js');Object.defineProperty(exports,"CodeEditor",{enumerable:true,get:function(){return chunkXFK7RTKE_js.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as CodeEditor}from'../chunk-GFWDGZO7.mjs';import'../chunk-YSXGDEY5.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkTG6V2JL2_js=require('../chunk-TG6V2JL2.js');require('../chunk-EI7MMDWY.js');Object.defineProperty(exports,"CodeExplorer",{enumerable:true,get:function(){return chunkTG6V2JL2_js.b}});Object.defineProperty(exports,"codeExplorerVariants",{enumerable:true,get:function(){return chunkTG6V2JL2_js.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as CodeExplorer,a as codeExplorerVariants}from'../chunk-4XCQFT2C.mjs';import'../chunk-YSXGDEY5.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkOL63HLUI_js=require('../chunk-OL63HLUI.js'),chunkTGL6VBFN_js=require('../chunk-TGL6VBFN.js'),chunkEGN6SLB7_js=require('../chunk-EGN6SLB7.js'),chunkXBDQSMTI_js=require('../chunk-XBDQSMTI.js'),chunkLYXX7LU2_js=require('../chunk-LYXX7LU2.js'),chunk4A27XTBF_js=require('../chunk-4A27XTBF.js'),chunkXFK7RTKE_js=require('../chunk-XFK7RTKE.js'),chunkTG6V2JL2_js=require('../chunk-TG6V2JL2.js'),chunkCDBOLI7U_js=require('../chunk-CDBOLI7U.js');require('../chunk-EI7MMDWY.js');Object.defineProperty(exports,"CodeSnippet",{enumerable:true,get:function(){return chunkOL63HLUI_js.b}});Object.defineProperty(exports,"InlineCode",{enumerable:true,get:function(){return chunkOL63HLUI_js.c}});Object.defineProperty(exports,"codeSnippetVariants",{enumerable:true,get:function(){return chunkOL63HLUI_js.a}});Object.defineProperty(exports,"CodeTabs",{enumerable:true,get:function(){return chunkTGL6VBFN_js.a}});Object.defineProperty(exports,"CodeTerminal",{enumerable:true,get:function(){return chunkEGN6SLB7_js.b}});Object.defineProperty(exports,"codeTerminalVariants",{enumerable:true,get:function(){return chunkEGN6SLB7_js.a}});Object.defineProperty(exports,"CodeBlock",{enumerable:true,get:function(){return chunkXBDQSMTI_js.b}});Object.defineProperty(exports,"codeBlockVariants",{enumerable:true,get:function(){return chunkXBDQSMTI_js.a}});Object.defineProperty(exports,"CodeCompare",{enumerable:true,get:function(){return chunkLYXX7LU2_js.b}});Object.defineProperty(exports,"codeCompareVariants",{enumerable:true,get:function(){return chunkLYXX7LU2_js.a}});Object.defineProperty(exports,"CodeDiff",{enumerable:true,get:function(){return chunk4A27XTBF_js.b}});Object.defineProperty(exports,"codeDiffVariants",{enumerable:true,get:function(){return chunk4A27XTBF_js.a}});Object.defineProperty(exports,"CodeEditor",{enumerable:true,get:function(){return chunkXFK7RTKE_js.a}});Object.defineProperty(exports,"CodeExplorer",{enumerable:true,get:function(){return chunkTG6V2JL2_js.b}});Object.defineProperty(exports,"codeExplorerVariants",{enumerable:true,get:function(){return chunkTG6V2JL2_js.a}});Object.defineProperty(exports,"CodePreview",{enumerable:true,get:function(){return chunkCDBOLI7U_js.b}});Object.defineProperty(exports,"codePreviewVariants",{enumerable:true,get:function(){return chunkCDBOLI7U_js.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as CodeSnippet,c as InlineCode,a as codeSnippetVariants}from'../chunk-BOBL44QL.mjs';export{a as CodeTabs}from'../chunk-FCHJPQ73.mjs';export{b as CodeTerminal,a as codeTerminalVariants}from'../chunk-A3S2QAGG.mjs';export{b as CodeBlock,a as codeBlockVariants}from'../chunk-NBXNOMXS.mjs';export{b as CodeCompare,a as codeCompareVariants}from'../chunk-M4GZKMQS.mjs';export{b as CodeDiff,a as codeDiffVariants}from'../chunk-S2UB25HB.mjs';export{a as CodeEditor}from'../chunk-GFWDGZO7.mjs';export{b as CodeExplorer,a as codeExplorerVariants}from'../chunk-4XCQFT2C.mjs';export{b as CodePreview,a as codePreviewVariants}from'../chunk-C66RILAI.mjs';import'../chunk-YSXGDEY5.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkCDBOLI7U_js=require('../chunk-CDBOLI7U.js');require('../chunk-EI7MMDWY.js');Object.defineProperty(exports,"CodePreview",{enumerable:true,get:function(){return chunkCDBOLI7U_js.b}});Object.defineProperty(exports,"codePreviewVariants",{enumerable:true,get:function(){return chunkCDBOLI7U_js.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{b as CodePreview,a as codePreviewVariants}from'../chunk-C66RILAI.mjs';import'../chunk-YSXGDEY5.mjs';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkOL63HLUI_js=require('../chunk-OL63HLUI.js');require('../chunk-EI7MMDWY.js');Object.defineProperty(exports,"CodeSnippet",{enumerable:true,get:function(){return chunkOL63HLUI_js.b}});Object.defineProperty(exports,"InlineCode",{enumerable:true,get:function(){return chunkOL63HLUI_js.c}});Object.defineProperty(exports,"codeSnippetVariants",{enumerable:true,get:function(){return chunkOL63HLUI_js.a}});
|