1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b8806eec-ae40-4698-896d-9c61453421b9",e._sentryDebugIdIdentifier="sentry-dbid-b8806eec-ae40-4698-896d-9c61453421b9")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8002],{4810:(e,t,a)=>{a.d(t,{f:()=>o});var n=a(95155),r=a(64269),s=a(21655),i=a.n(s);let l=JSON.parse('{"agility.png":{"width":25,"height":25},"agility_large.png":{"width":35,"height":46},"agility_small.png":{"width":20,"height":20},"attack.png":{"width":25,"height":25},"attack_large.png":{"width":50,"height":50},"attack_small.png":{"width":20,"height":20},"construction.png":{"width":25,"height":25},"construction_large.png":{"width":50,"height":50},"construction_small.png":{"width":20,"height":20},"cooking.png":{"width":19,"height":21},"cooking_large.png":{"width":36,"height":44},"cooking_small.png":{"width":15,"height":17},"crafting.png":{"width":24,"height":22},"crafting_large.png":{"width":44,"height":42},"crafting_small.png":{"width":19,"height":18},"defence.png":{"width":17,"height":19},"defence_large.png":{"width":38,"height":44},"defence_small.png":{"width":14,"height":15},"farming.png":{"width":25,"height":23},"farming_large.png":{"width":46,"height":46},"farming_small.png":{"width":20,"height":18},"firemaking.png":{"width":23,"height":23},"firemaking_large.png":{"width":46,"height":46},"firemaking_small.png":{"width":18,"height":18},"fishing.png":{"width":24,"height":23},"fishing_large.png":{"width":45,"height":46},"fishing_small.png":{"width":19,"height":18},"fletching.png":{"width":25,"height":25},"fletching_large.png":{"width":46,"height":46},"fletching_small.png":{"width":20,"height":20},"herblore.png":{"width":25,"height":17},"herblore_large.png":{"width":46,"height":34},"herblore_small.png":{"width":20,"height":14},"hitpoints.png":{"width":23,"height":20},"hitpoints_large.png":{"width":46,"height":42},"hitpoints_small.png":{"width":18,"height":16},"hunter.png":{"width":22,"height":23},"hunter_large.png":{"width":44,"height":48},"hunter_small.png":{"width":18,"height":18},"magic.png":{"width":25,"height":23},"magic_large.png":{"width":46,"height":44},"magic_small.png":{"width":20,"height":18},"mining.png":{"width":23,"height":23},"mining_large.png":{"width":46,"height":46},"mining_small.png":{"width":18,"height":18},"prayer.png":{"width":23,"height":23},"prayer_large.png":{"width":46,"height":46},"prayer_small.png":{"width":18,"height":18},"ranged.png":{"width":23,"height":23},"ranged_large.png":{"width":46,"height":46},"ranged_small.png":{"width":18,"height":18},"runecraft.png":{"width":25,"height":25},"runecraft_large.png":{"width":46,"height":46},"runecraft_small.png":{"width":20,"height":20},"slayer.png":{"width":23,"height":24},"slayer_large.png":{"width":46,"height":46},"slayer_small.png":{"width":18,"height":19},"smithing.png":{"width":19,"height":19},"smithing_large.png":{"width":44,"height":38},"smithing_small.png":{"width":15,"height":15},"strength.png":{"width":16,"height":20},"strength_large.png":{"width":32,"height":44},"strength_small.png":{"width":13,"height":16},"thieving.png":{"width":25,"height":25},"thieving_large.png":{"width":46,"height":23},"thieving_small.png":{"width":20,"height":20},"woodcutting.png":{"width":18,"height":22},"woodcutting_large.png":{"width":36,"height":44},"woodcutting_small.png":{"width":14,"height":18}}');function o(e){var t,a;let{skill:s,size:o="default",className:d,...c}=e,h="small"===(t=o)?"_small":"large"===t?"_large":"",m="".concat(s.toLowerCase()).concat(h,".png"),u=l[m];return(0,n.jsx)("div",{className:(0,r.cn)("grid place-items-center","small"===(a=o)?"w-5 h-5":"large"===a?"w-14 h-14":"w-7 h-7","relative","agility"===s||"thieving"===s?"drop-shadow-[0_0_0.1px_rgba(255,255,255,1)]":"",d),...c,"data-sentry-component":"SkillIcon","data-sentry-source-file":"skill-icon.tsx",children:(0,n.jsx)(i(),{src:"/images/icons/skills/".concat(m),alt:"".concat(s," icon"),className:"",...u,"data-sentry-element":"Image","data-sentry-source-file":"skill-icon.tsx"})})}},22721:(e,t,a)=>{a.d(t,{Avatar:()=>l,AvatarFallback:()=>d,AvatarImage:()=>o});var n=a(95155),r=a(12115),s=a(22561),i=a(64269);let l=r.forwardRef((e,t)=>
1{let{className:a,...r}=e;return(0,n.jsx)(s.bL,{ref:t,className:(0,i.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",a),...r})});l.displayName=s.bL.displayName;let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s._V,{ref:t,className:(0,i.cn)("aspect-square h-full w-full",a),...r})});o.displayName=s._V.displayName;let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(s.H4,{ref:t,className:(0,i.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",a),...r})});d.displayName=s.H4.displayName},24482:(e,t,a)=>{a.d(t,{ExchangeProSidebar:()=>M,A:()=>C});var n=a(95155),r=a(86273),s=a(48256),i=a(21518),l=a(19673),o=a(47292),d=a(56828),c=a(38404),h=a(7345),m=a(98465);a(12115);var u=a(81670),g=a(64269),f=a(22284);function p(e){let{items:t}=e;return(0,n.jsxs)(u.Cn,{"data-sentry-element":"SidebarGroup","data-sentry-component":"NavMain","data-sentry-source-file":"nav-main.tsx",children:[(0,n.jsx)(u.jj,{"data-sentry-element":"SidebarGroupLabel","data-sentry-source-file":"nav-main.tsx",children:"Platform"}),(0,n.jsx)(u.wZ,{"data-sentry-element":"SidebarMenu","data-sentry-source-file":"nav-main.tsx",children:t.map(e=>(0,n.jsx)("a",{href:e.url,className:(0,g.cn)(e.isDisabled&&"cursor-not-allowed"),children:(0,n.jsxs)(u.Uj,{tooltip:e.title,disabled:e.isDisabled,children:[e.icon&&(0,n.jsx)(e.icon,{}),(0,n.jsx)("span",{children:e.title}),(0,n.jsx)(f.vKP,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]})},e.title))})]})}var x=a(40931),y=a(25285),v=a(7388),w=a(43447),b=a(22721),j=a(69851),N=a(87477),k=a(52619),_=a.n(k);function A(e){let{user:t}=e,{isMobile:a}=(0,u.cL)();return(0,n.jsx)(u.wZ,{"data-sentry-element":"SidebarMenu","data-sentry-component":"NavUser","data-sentry-source-file":"nav-user.tsx",children:(0,n.jsx)(u.FX,{"data-sentry-element":"SidebarMenuItem","data-sentry-source-file":"nav-user.tsx",children:(0,n.jsxs)(j.DropdownMenu,{"data-sentry-element":"DropdownMenu","data-sentry-source-file":"nav-user.tsx",children:[(0,n.jsx)(j.DropdownMenuTrigger,{asChild:!0,"data-sentry-element":"DropdownMenuTrigger","data-sentry-source-file":"nav-user.tsx",children:(0,n.jsxs)(u.Uj,{size:"lg",className:"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground","data-sentry-element":"SidebarMenuButton","data-sentry-source-file":"nav-user.tsx",children:[(0,n.jsx)(b.Avatar,{className:"h-8 w-8 rounded-lg","data-sentry-element":"Avatar","data-sentry-source-file":"nav-user.tsx",children:(0,n.jsx)(b.AvatarFallback,{className:"rounded-lg","data-sentry-element":"AvatarFallback","data-sentry-source-file":"nav-user.tsx",children:(0,n.jsx)(x.A,{"data-sentry-element":"UserIcon","data-sentry-source-file":"nav-user.tsx"})})}),(0,n.jsx)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:(0,n.jsx)("span",{className:"truncate text-xs",children:t.plan})}),(0,n.jsx)(f.TBE,{className:"ml-auto size-4","data-sentry-element":"CaretSortIcon","data-sentry-source-file":"nav-user.tsx"})]})}),(0,n.jsxs)(j.DropdownMenuContent,{className:"w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg",side:a?"bottom":"right",align:"end",sideOffset:4,"data-sentry-element":"DropdownMenuContent","data-sentry-source-file":"nav-user.tsx",children:[(0,n.jsx)(j.DropdownMenuLabel,{className:"p-0 font-normal","data-sentry-element":"DropdownMenuLabel","data-sentry-source-file":"nav-user.tsx",children:(0,n.jsxs)("div",{className:"flex items-center gap-2 px-1 py-1.5 text-left text-sm",children:[(0,n.jsx)(b.Avatar,{className:"h-8 w-8 rounded-lg","data-sentry-element":"Avatar","data-sentry-source-file":"nav-user.tsx",children:(0,n.jsx)(x.A,{"data-sentry-element":"UserIcon","data-sentry-source-file":"nav-user.tsx"})}),(0,n.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,n.jsx)("span",{className:"truncate font-semibold",children:t.email}),(0,n.jsx)("span",{className:"truncate text-xs",children:t.plan})]})]})}),(0,n.jsx)(j.DropdownMenuSeparator,{"data-sentry-element":"DropdownMenuSeparator","data-sentry-source-file":"nav-user.tsx"}),(0,n.jsxs)(j.I,{"data-sentry-element":"DropdownMenuGroup","data-sentry-source-file":"nav-user.tsx",children:[t.isAffiliate&&(0,n.jsx)(j.DropdownMenuItem,{asChild:!0,children:(0,n.jsxs)(_(),{href:"/exchange-pro-beta/affiliate",children:[(0,n.jsx)(y.A,{}),"Affiliate"]})}),(0,n.jsx)(j.DropdownMenuItem,{asChild:!0,"data-sentry-element":"DropdownMenuItem","data-sentry-source-file":"nav-user.tsx",children:(0,n.jsxs)(_(),{href:"/exchange-pro-beta/dink","data-sentry-element":"Link","data-sentry-source-file":"nav-user.tsx",children:[(0,n.jsx)(v.A,{"data-sentry-element":"RefreshCw","data-sentry-source-file":"nav-user.tsx"}),"Setup RuneLite Sync"]})})]}),(0,n.jsx)(j.DropdownMenuSeparator,{"data-sentry-element":"DropdownMenuSeparator","data-sentry-source-file":"nav-user.tsx"}),(0,n.jsxs)(j.DropdownMenuItem,{onClick:()=>(0,N.CI)(),"data-sentry-element":"DropdownMenuItem","data-sentry-source-file":"nav-user.tsx",children:[(0,n.jsx)(w.A,{"data-sentry-element":"LogOut","data-sentry-source-file":"nav-user.tsx"}),"Log out"]})]})]})})})}let C=[{title:"Dashboard",url:"/exchange-pro-beta/dashboard",icon:r.A},{title:"Market Scanner",url:"/exchange-pro-beta/market-scanner",icon:s.A},{title:"Market Reports",url:"/exchange-pro-beta/reports",icon:i.A},{title:"Recipe Scanner",url:"/exchange-pro-beta/combinations",icon:l.A},{title:"Transactions",url:"/exchange-pro-beta/transactions/flips",icon:o.A},{title:"Portfolio",url:"/exchange-pro-beta/portfolio",icon:d.A},{title:"Watchlists",url:"/exchange-pro-beta/watchlists",icon:c.A},{title:"Price Alerts",url:"/exchange-pro-beta/alerts",icon:h.A},{title:"Death's Coffer",url:"/exchange-pro-beta/deaths-coffer",icon:m.A}],L={navMain:C};function M(e){let{user:t,...a}=e;return(0,n.jsxs)(u.Bx,{collapsible:"icon",className:"pt-16",...a,"data-sentry-element":"Sidebar","data-sentry-component":"ExchangeProSidebar","data-sentry-source-file":"exchange-pro-sidebar.tsx",children:[(0,n.jsx)(u.Yv,{"data-sentry-element":"SidebarContent","data-sentry-source-file":"exchange-pro-sidebar.tsx",children:(0,n.jsx)(p,{items:L.navMain,"data-sentry-element":"NavMain","data-sentry-source-file":"exchange-pro-sidebar.tsx"})}),(0,n.jsx)(u.CG,{"data-sentry-element":"SidebarFooter","data-sentry-source-file":"exchange-pro-sidebar.tsx",children:(0,n.jsx)(A,{user:t,"data-sentry-element":"NavUser","data-sentry-source-file":"exchange-pro-sidebar.tsx"})}),(0,n.jsx)(u.jM,{"data-sentry-element":"SidebarRail","data-sentry-source-file":"exchange-pro-sidebar.tsx"})]})}},26197:(e,t,a)=>{a.d(t,{$:()=>o,F:()=>l});var n=a(95155),r=a(12115),s=a(69029),i=a(64269);let l=r.forwardRef((e,t)=>
1{let{className:a,children:r,...l}=e;return(0,n.jsxs)(s.bL,{ref:t,className:(0,i.cn)("relative overflow-hidden",a),...l,children:[(0,n.jsx)(s.LM,{className:"h-full w-full rounded-[inherit]",children:r}),(0,n.jsx)(o,{}),(0,n.jsx)(s.OK,{})]})});l.displayName=s.bL.displayName;let o=r.forwardRef((e,t)=>{let{className:a,orientation:r="vertical",...l}=e;return(0,n.jsx)(s.VM,{ref:t,orientation:r,className:(0,i.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...l,children:(0,n.jsx)(s.lr,{className:"relative flex-1 rounded-full bg-border"})})});o.displayName=s.VM.displayName},31649:(e,t,a)=>{a.d(t,{A:()=>l,O:()=>i});var n=a(95155),r=a(12115);let s=(0,r.createContext)(null);function i(e){let{children:t,session:a}=e;return(0,n.jsx)(s.Provider,{value:a,"data-sentry-element":"AuthContext.Provider","data-sentry-component":"AuthProvider","data-sentry-source-file":"use-auth.tsx",children:t})}function l(){let e=(0,r.useContext)(s);if(void 0===e)throw Error("useAuth must be used within an AuthProvider");return e}},34528:(e,t,a)=>{a.d(t,{JD:()=>h,KS:()=>d,R6:()=>m,SK:()=>c,Ws:()=>f,hA:()=>g,wd:()=>u});var n=a(95155),r=a(12115),s=a(22284),i=a(82586),l=a(25404),o=a(64269);let d=r.forwardRef((e,t)=>{let{className:a,children:r,...s}=e;return(0,n.jsxs)(i.bL,{ref:t,className:(0,o.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",a),...s,children:[r,(0,n.jsx)(p,{})]})});d.displayName=i.bL.displayName;let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(i.B8,{ref:t,className:(0,o.cn)("group flex flex-1 list-none items-center justify-center space-x-1",a),...r})});c.displayName=i.B8.displayName;let h=i.q7,m=(0,l.F)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"),u=r.forwardRef((e,t)=>{let{className:a,children:r,...l}=e;return(0,n.jsxs)(i.l9,{ref:t,className:(0,o.cn)(m(),"group",a),...l,children:[r," ",(0,n.jsx)(s.D3D,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})});u.displayName=i.l9.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(i.UC,{ref:t,className:(0,o.cn)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",a),...r})});g.displayName=i.UC.displayName;let f=i.N_,p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)("div",{className:(0,o.cn)("absolute left-0 top-full flex justify-center"),children:(0,n.jsx)(i.LM,{className:(0,o.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",a),ref:t,...r})})});p.displayName=i.LM.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,n.jsx)(i.C1,{ref:t,className:(0,o.cn)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",a),...r,children:(0,n.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})}).displayName=i.C1.displayName},46872:(e,t,a)=>{a.d(t,{V:()=>c});var n=a(95155),r=a(52893),s=a(95904),i=a(64269),l=a(52619),o=a.n(l),d=a(15030);let c=e=>{let{href:t=s.C.links.discord,variantProps:a={variant:"default"},style:l="default",className:c}=e;return(0,n.jsxs)(o(),{href:t,className:(0,i.cn)((0,d.r)(a),"gap-2",c),target:"_blank",rel:"noreferrer","data-sentry-element":"Link","data-sentry-component":"DiscordButton","data-sentry-source-file":"discord-button.tsx",children:[(0,n.jsx)(r.F.discord,{className:"h-4 w-4","data-sentry-element":"Icons.discord","data-sentry-source-file":"discord-button.tsx"}),"default"===l&&"Join Discord"]})}},48002:(e,t,a)=>{a.d(t,{default:()=>es});var n=a(95155),r=a(46872),s=a(52893),i=a(64269);let l=e=>{let{className:t,...a}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex items-center space-x-2",t),...a,"data-sentry-component":"Logo","data-sentry-source-file":"logo.tsx",children:(0,n.jsx)("span",{className:"text-2xl font-logo",children:"07.GG"})})};var o=a(31649),d=a(52619),c=a.n(d),h=a(12115),m=a(34528),u=a(20063),g=a(81067),f=a(63972),p=a(4810),x=a(18728),y=a(32985),v=a(90928),w=a(45201),b=a(9571),j=a(73424),N=a(70220),k=a(40558),_=a(47769),A=a(86273),C=a(48256),L=a(19673),M=a(47292),S=a(38404),E=a(7345),H=a(88547),D=a(98465);let P={Home:v.A,Star:e=>{let{className:t}=e;return(0,n.jsx)(y.g,{icon:x.kLe,className:t})},TrendingUp:w.A,Crown:b.A,Calculator:j.A,Dices:N.A,Swords:k.A,BarChart:_.A,LayoutGrid:A.A,Search:C.A,Combine:L.A,ReceiptText:M.A,Heart:S.A,Bell:E.A,FileText:H.A,Coffin:D.A,...Object.values(g.Ci).reduce((e,t)=>
1({...e,[t]:e=>(0,n.jsx)(p.f,{skill:t,className:e.className,size:"small"})}),{})};var R=a(24482);let I={base:["/"],calculators:["/calculators","/calculators/dry","/calculators/combat","/calculators/skill"],"grand-exchange":["/ge"],"exchange-pro-beta":["/exchange-pro-beta"]},F={mainNav:[{title:"Calculators",icon:P.Calculator,panelHref:"calculators"},{title:"Exchange Pro Beta",icon:P.Crown,panelHref:"exchange-pro-beta"},{title:"Grand Exchange",icon:P.TrendingUp,panelHref:"grand-exchange"},{title:"Exchange Pro",linkHref:"/ge/pro",icon:P.Crown},{title:"Shooting Star Tracker",linkHref:"/trackers/shooting-star",icon:P.Star}],panels:{calculators:{sections:[{title:"General",items:[{title:"Dry Calculator",linkHref:"/calculators/dry",icon:P.Dices},{title:"Combat Level",linkHref:"/calculators/combat",icon:P.Swords}]},{title:"Skills",items:Object.values(g.Ci).map(e=>({title:f.zM.getReadableName(e),linkHref:"/calculators/skill/".concat(g.JY.toSlug(e)),icon:P[e]}))}]},grandExchange:{items:[{title:"Market Overview",linkHref:"/ge",icon:P.TrendingUp},{title:"Market Reports",linkHref:"/ge/reports",icon:P.FileText},{title:"Death's Coffer Tracker",linkHref:"/ge/deaths-coffer",icon:P.Coffin},{title:"Exchange Pro",linkHref:"/ge/pro",icon:P.Crown}]},exchangePro:{items:R.A.map(e=>({title:e.title,linkHref:e.url,icon:e.icon}))}}};function O(e,t){if(e.linkHref&&t===e.linkHref)return!0;if(e.panelHref){var a,n;return null!=(n=null==(a=I[e.panelHref])?void 0:a.some(e=>t.startsWith(e)))&&n}return!1}function T(){return(0,n.jsx)("div",{className:"grid w-[600px] grid-cols-5 gap-3 p-4","data-sentry-component":"CalculatorsPanel","data-sentry-source-file":"desktop-navlinks.tsx",children:F.panels.calculators.sections.map(e=>(0,n.jsx)("div",{className:"General"===e.title?"col-span-2":"col-span-3",children:(0,n.jsxs)("div",{className:"mb-3",children:[(0,n.jsx)("h3",{className:"mb-1 text-sm font-medium text-muted-foreground",children:e.title}),(0,n.jsx)("div",{className:"General"===e.title?"space-y-2":"grid grid-cols-2 gap-2",children:e.items.map(t=>(0,n.jsx)(m.Ws,{asChild:!0,children:(0,n.jsx)(c(),{href:t.linkHref||"#",className:"block select-none rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",children:(0,n.jsxs)("div",{className:"flex items-center text-sm font-medium",children:[t.icon&&(0,n.jsx)(t.icon,{className:"mr-2 h-4 w-4"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"leading-none",children:t.title}),"General"===e.title&&(0,n.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Dry Calculator"===t.title?"Calculate drop rate probabilities":"Calculate your combat level"})]})]})})},t.title))})]})},e.title))})}function z(){return(0,n.jsx)("ul",{className:"grid gap-1 p-4 w-[400px]","data-sentry-component":"ExchangeProPanel","data-sentry-source-file":"desktop-navlinks.tsx",children:F.panels.exchangePro.items.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(m.Ws,{asChild:!0,children:(0,n.jsx)(c(),{href:e.linkHref||"#",className:"block select-none rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[e.icon&&(0,n.jsx)(e.icon,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"text-sm font-medium",children:e.title})]})})})}
1,e.title))})}function B(){return(0,n.jsx)("ul",{className:"grid gap-1 p-4 w-[400px]","data-sentry-component":"GrandExchangePanel","data-sentry-source-file":"desktop-navlinks.tsx",children:F.panels.grandExchange.items.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(m.Ws,{asChild:!0,children:(0,n.jsx)(c(),{href:e.linkHref||"#",className:"block select-none rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[e.icon&&(0,n.jsx)(e.icon,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"text-sm font-medium",children:e.title})]})})})},e.title))})}function V(e){let{item:t}=e,a=(0,u.usePathname)(),r=(0,u.useRouter)(),s=O(t,a);return t.panelHref?(0,n.jsxs)(m.JD,{children:[(0,n.jsx)(m.wd,{className:(0,i.cn)("bg-transparent",s?"text-foreground":"text-muted-foreground"),onClick:()=>{"Exchange Pro Beta"===t.title&&r.push("/exchange-pro-beta/dashboard")},children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[t.icon&&(0,n.jsx)(t.icon,{className:"h-4 w-4"}),t.title]})}),(0,n.jsxs)(m.hA,{children:["Calculators"===t.title&&(0,n.jsx)(T,{}),"Exchange Pro Beta"===t.title&&(0,n.jsx)(z,{}),"Grand Exchange"===t.title&&(0,n.jsx)(B,{})]})]}):(0,n.jsx)(m.JD,{"data-sentry-element":"NavigationMenuItem","data-sentry-component":"DesktopNavLink","data-sentry-source-file":"desktop-navlinks.tsx",children:(0,n.jsx)(c(),{href:"".concat(t.linkHref),legacyBehavior:!0,passHref:!0,"data-sentry-element":"Link","data-sentry-source-file":"desktop-navlinks.tsx",children:(0,n.jsx)(m.Ws,{className:(0,i.cn)((0,m.R6)(),s?"text-foreground":"text-muted-foreground"),"data-sentry-element":"NavigationMenuLink","data-sentry-source-file":"desktop-navlinks.tsx",children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[t.icon&&(0,n.jsx)(t.icon,{className:"h-4 w-4"}),t.title]})})})})}function G(e){let{isLoggedIn:t}=e;return(0,n.jsx)(m.KS,{delayDuration:100,className:"hidden md:flex text-primary","data-sentry-element":"NavigationMenu","data-sentry-component":"DesktopNavLinks","data-sentry-source-file":"desktop-navlinks.tsx",children:(0,n.jsx)(m.SK,{"data-sentry-element":"NavigationMenuList","data-sentry-source-file":"desktop-navlinks.tsx",children:F.mainNav.filter(e=>"Exchange Pro"===e.title?!t:"Exchange Pro Beta"===e.title?t:"Grand Exchange"!==e.title||!t).map(e=>(0,n.jsx)(V,{item:e},e.title))})})}var U=a(58157),W=a(80460),X=a(70256),J=a(15030),K=a(26197),q=a(93135);function Z(e){let{fullscreen:t=!1,children:a,className:r}=e;return(0,n.jsx)("header",{className:(0,i.cn)("sticky top-0 z-40 w-full border-b bg-background"),"data-sentry-component":"NavbarWrapper","data-sentry-source-file":"navbar-wrapper.tsx",children:(0,n.jsx)("div",{className:(0,i.cn)("container flex h-16 items-center",t?"max-w-full":"max-w-6xl",r),children:a})})}function Y(e){return e.startsWith("/calculators")?"calculators":e.startsWith("/exchange-pro-beta")?"exchange-pro-beta":e.startsWith("/ge")?"grand-exchange":"base"}function $(e){let{open:t,onOpenChange:a,isLoggedIn:r}=e,s=(0,u.usePathname)(),[i,o]=(0,h.useState)(()=>Y(s));(0,h.useEffect)(()=>{a(!1)},[s]),(0,h.useEffect)(()=>{t&&o(Y(s))},[s,t]);let d=e=>{o(e)},c=e=>{a(e)},m={base:(0,n.jsx)(l,{}),calculators:"Calculators","exchange-pro-beta":"Exchange Pro Beta","grand-exchange":"Grand Exchange"}[i];return(0,n.jsx)(q.cj,{open:t,onOpenChange:c,"data-sentry-element":"Sheet","data-sentry-component":"MobileMenu","data-sentry-source-file":"mobile-menu.tsx",children:(0,n.jsxs)(q.h,{side:"left",className:"p-0 w-full sm:max-w-md",closeButton:!1,"data-sentry-element":"SheetContent","data-sentry-source-file":"mobile-menu.tsx",children:[(0,n.jsx)(q.Fm,{"data-sentry-element":"SheetHeader","data-sentry-source-file":"mobile-menu.tsx",children:(0,n.jsxs)(Z,{"data-sentry-element":"NavbarWrapper","data-sentry-source-file":"mobile-menu.tsx",children:["base"!==i?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(J.$,{variant:"ghost",size:"icon",className:"mr-2",onClick:()=>{o("base")},children:(0,n.jsx)(U.A,{className:"h-5 w-5"})}),(0,n.jsx)(q.qp,{children:m})]}):(0,n.jsx)(q.qp,{children:m}),(0,n.jsx)(J.$,{variant:"ghost",size:"icon",onClick:()=>{c(!1),o("base")},className:"ml-auto","data-sentry-element":"Button","data-sentry-source-file":"mobile-menu.tsx",children:(0,n.jsx)(W.A,{className:"h-5 w-5","data-sentry-element":"X","data-sentry-source-file":"mobile-menu.tsx"})})]})}),(0,n.jsx)(K.F,{className:"container max-w-6xl py-2 h-[calc(100vh-4rem)]","data-sentry-element":"ScrollArea","data-sentry-source-file":"mobile-menu.tsx",children:(0,n.jsx)("div",{className:"py-4",children:(()=>{switch(i){case"base":return(0,n.jsx)(Q,{items:F.mainNav.filter(e=>"Exchange Pro"===e.title?!r:"Exchange Pro Beta"===e.title?r:"Grand Exchange"!==e.title||!r),onNavigate:d});case"calculators":return(0,n.jsx)(ee,{panel:F.panels.calculators});
1case"exchange-pro-beta":return(0,n.jsx)(et,{panel:F.panels.exchangePro});case"grand-exchange":return(0,n.jsx)(ea,{panel:F.panels.grandExchange});default:return(0,n.jsx)(Q,{items:F.mainNav,onNavigate:d})}})()})})]})})}function Q(e){let{items:t,onNavigate:a}=e;return(0,n.jsxs)("div",{className:"space-y-1","data-sentry-component":"HomePanel","data-sentry-source-file":"mobile-menu.tsx",children:[(0,n.jsx)(en,{item:{title:"Home",linkHref:"/",icon:P.Home},onNavigate:a,"data-sentry-element":"NavLink","data-sentry-source-file":"mobile-menu.tsx"}),t.map(e=>(0,n.jsx)(en,{item:e,onNavigate:a},e.title))]})}function ee(e){let{panel:t}=e;return(0,n.jsx)("div",{className:"space-y-6","data-sentry-component":"CalculatorsPanel","data-sentry-source-file":"mobile-menu.tsx",children:t.sections.map(e=>(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"mb-2 text-sm font-medium text-muted-foreground",children:e.title}),(0,n.jsx)("div",{className:"space-y-1",children:e.items.map(e=>(0,n.jsx)(en,{item:e},e.title))})]},e.title))})}function et(e){let{panel:t}=e;return(0,n.jsx)("div",{className:"space-y-1","data-sentry-component":"ExchangeProPanel","data-sentry-source-file":"mobile-menu.tsx",children:t.items.map(e=>(0,n.jsx)(en,{item:e},e.title))})}function ea(e){let{panel:t}=e;return(0,n.jsx)("div",{className:"space-y-1","data-sentry-component":"GrandExchangePanel","data-sentry-source-file":"mobile-menu.tsx",children:t.items.map(e=>(0,n.jsx)(en,{item:e},e.title))})}function en(e){let{item:t,onNavigate:a}=e;if(!t.panelHref&&!t.linkHref)throw Error("NavLink must have either panelHref or linkHref: "+JSON.stringify(t));let r=O(t,(0,u.usePathname)());return(0,n.jsx)(J.$,{variant:r?"secondary":"ghost",className:"w-full justify-start h-12",onClick:t.panelHref&&a?()=>a(t.panelHref):void 0,asChild:!t.panelHref,"data-sentry-element":"Button","data-sentry-component":"NavLink","data-sentry-source-file":"mobile-menu.tsx",children:t.panelHref?(0,n.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[t.icon&&(0,n.jsx)(t.icon,{className:"mr-2 h-4 w-4"}),t.title]}),(0,n.jsx)(X.A,{className:"h-4 w-4 text-muted-foreground"})]}):(0,n.jsxs)(c(),{href:"".concat(t.linkHref),children:[t.icon&&(0,n.jsx)(t.icon,{className:"mr-2 h-4 w-4"}),t.title]})})}let er=()=>(0,n.jsx)("div",{className:"flex items-center gap-2","data-sentry-component":"DefaultNavbarLinks","data-sentry-source-file":"navbar.tsx",children:(0,n.jsx)(r.V,{style:"icon",variantProps:{variant:"ghost",size:"icon"},"data-sentry-element":"DiscordButton","data-sentry-source-file":"navbar.tsx"})}),es=e=>{let{fullscreen:t=!1,children:a=(0,n.jsx)(er,{})}=e,[r,i]=(0,h.useState)(!1),d=(0,o.A)();return(0,n.jsxs)(Z,{fullscreen:t,className:"justify-between","data-sentry-element":"NavbarWrapper","data-sentry-component":"Navbar","data-sentry-source-file":"navbar.tsx",children:[(0,n.jsxs)("div",{className:"flex items-center gap-4 md:gap-10",children:[(0,n.jsx)("button",{className:"md:hidden",onClick:()=>i(!r),children:(0,n.jsx)(s.F.open,{"data-sentry-element":"Icons.open","data-sentry-source-file":"navbar.tsx"})}),(0,n.jsx)(c(),{href:"/",className:"items-center space-x-2","data-sentry-element":"Link","data-sentry-source-file":"navbar.tsx",children:(0,n.jsx)(l,{"data-sentry-element":"Logo","data-sentry-source-file":"navbar.tsx"})}),(0,n.jsx)(G,{isLoggedIn:null!==d,"data-sentry-element":"DesktopNavLinks","data-sentry-source-file":"navbar.tsx"}),(0,n.jsx)($,{open:r,onOpenChange:i,isLoggedIn:null!=d,"data-sentry-element":"MobileMenu","data-sentry-source-file":"navbar.tsx"})]}),a]})}},63972:(e,t,a)=>{var n,r;a.d(t,{Je:()=>s,ef:()=>d,zM:()=>r,TN:()=>u});class s{static getXpForLevel(e){if(e<1||e>s.MAX_VIRT_LEVEL)throw Error("".concat(e," is not a valid level"));return s.XP_FOR_LEVEL[e-1]}static getLevelForXp(e){if(e<0)throw Error("XP (".concat(e,") must not be negative"));let t=0,a=s.XP_FOR_LEVEL.length-1;for(;t<=a;){let n=t+Math.floor((a-t)/2),r=s.XP_FOR_LEVEL[n];if(e<r)a=n-1;else{if(!(e>r))return n+1;t=n+1}}return a+1}}function i(e,t){return Object.fromEntries(Object.entries(e).map(e=>{let[a,n]=e;return[n,t(n)]}))}s.MAX_REAL_LEVEL=99,s.MAX_VIRT_LEVEL=126,s.MAX_SKILL_XP=2e8,s.XP_FOR_LEVEL=[],(()=>{let e=0;for(let t=1;
1t<=s.MAX_VIRT_LEVEL;++t)s.XP_FOR_LEVEL[t-1]=Math.floor(e/4),e+=Math.floor(t+300*Math.pow(2,t/7))})();let l=Object.values({AIR:"air",WATER:"water",EARTH:"earth",FIRE:"fire",MIND:"mind",CHAOS:"chaos",DEATH:"death",BLOOD:"blood",COSMIC:"cosmic",ASTRAL:"astral",NATURE:"nature",LAW:"law",SOUL:"soul",BODY:"body",WRATH:"wrath",STEAM:"steam",MIST:"mist",DUST:"dust",SMOKE:"smoke",LAVA:"lava",MUD:"mud"}),o=i(l,e=>({itemName:e.charAt(0).toUpperCase()+e.slice(1)+" rune"}));!function(e){e.getItemName=function(e){return o[e].itemName},e.fromValue=function(e){let t=e.toLowerCase();if(l.includes(t))return t;throw Error("Invalid rune: ".concat(e))}}(n||(n={}));let d={Attack:"attack",Defence:"defence",Strength:"strength",Hitpoints:"hitpoints",Ranged:"ranged",Prayer:"prayer",Magic:"magic",Cooking:"cooking",Woodcutting:"woodcutting",Fletching:"fletching",Fishing:"fishing",Firemaking:"firemaking",Crafting:"crafting",Smithing:"smithing",Mining:"mining",Herblore:"herblore",Agility:"agility",Thieving:"thieving",Slayer:"slayer",Farming:"farming",Runecraft:"runecraft",Hunter:"hunter",Construction:"construction"},c=Object.values(d),h=i(c,e=>({readableName:e.charAt(0).toUpperCase()+e.slice(1)}));!function(e){e.getReadableName=function(e){return h[e].readableName},e.fromValue=function(e){let t=e.toLowerCase();if(c.includes(t))return t;throw Error("Invalid skill: ".concat(e))}}(r||(r={}));let m={BILLIONS:{minAmount:1e9,divisor:1e9,suffix:"B",precision:2},MILLIONS:{minAmount:1e7,divisor:1e6,suffix:"M",precision:1},THOUSANDS:{minAmount:1e4,divisor:1e3,suffix:"K",precision:0},SINGLE:{minAmount:0,divisor:1,suffix:"",precision:0}};function u(e){let t=Math.abs(e),a=Object.values(m).find(e=>t>=e.minAmount);return(e/a.divisor).toFixed(a.precision)+a.suffix}},69851:(e,t,a)=>{a.d(t,{DropdownMenu:()=>o,DropdownMenuContent:()=>f,DropdownMenuItem:()=>p,DropdownMenuLabel:()=>v,DropdownMenuSeparator:()=>w,DropdownMenuTrigger:()=>d,Hr:()=>m,Ht:()=>y,I:()=>c,M5:()=>g,hO:()=>x,lv:()=>h,nV:()=>u});var n=a(95155),r=a(64269),s=a(69114),i=a(22284),l=a(12115);let o=s.bL,d=s.l9,c=s.YJ;s.ZL;let h=s.Pb,m=s.z6,u=l.forwardRef((e,t)=>{let{className:a,inset:l,children:o,...d}=e;return(0,n.jsxs)(s.ZP,{ref:t,className:(0,r.cn)("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",l&&"pl-8",a),...d,children:[o,(0,n.jsx)(i.vKP,{className:"ml-auto"})]})});u.displayName=s.ZP.displayName;let g=l.forwardRef((e,t)=>{let{className:a,...i}=e;return(0,n.jsx)(s.G5,{ref:t,className:(0,r.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})});g.displayName=s.G5.displayName;let f=l.forwardRef((e,t)=>{let{className:a,sideOffset:i=4,...l}=e;return(0,n.jsx)(s.ZL,{children:(0,n.jsx)(s.UC,{ref:t,sideOffset:i,className:(0,r.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...l})})});f.displayName=s.UC.displayName;let p=l.forwardRef((e,t)=>{let{className:a,inset:i,...l}=e;return(0,n.jsx)(s.q7,{ref:t,className:(0,r.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",i&&"pl-8",a),...l})});p.displayName=s.q7.displayName;let x=l.forwardRef((e,t)=>
1{let{className:a,children:l,checked:o,...d}=e;return(0,n.jsxs)(s.H_,{ref:t,className:(0,r.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:o,...d,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(s.VF,{children:(0,n.jsx)(i.Srz,{className:"h-4 w-4"})})}),l]})});x.displayName=s.H_.displayName;let y=l.forwardRef((e,t)=>{let{className:a,children:l,...o}=e;return(0,n.jsxs)(s.hN,{ref:t,className:(0,r.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[(0,n.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,n.jsx)(s.VF,{children:(0,n.jsx)(i.RiX,{className:"h-2 w-2 fill-current"})})}),l]})});y.displayName=s.hN.displayName;let v=l.forwardRef((e,t)=>{let{className:a,inset:i,...l}=e;return(0,n.jsx)(s.JU,{ref:t,className:(0,r.cn)("px-2 py-1.5 text-sm font-semibold",i&&"pl-8",a),...l})});v.displayName=s.JU.displayName;let w=l.forwardRef((e,t)=>{let{className:a,...i}=e;return(0,n.jsx)(s.wv,{ref:t,className:(0,r.cn)("-mx-1 my-1 h-px bg-muted",a),...i})});w.displayName=s.wv.displayName},81067:(e,t,a)=>{a.d(t,{Ci:()=>s,JY:()=>n,p_:()=>i});var n,r=a(63972);let s={Agility:r.ef.Agility,Construction:r.ef.Construction,Cooking:r.ef.Cooking,Crafting:r.ef.Crafting,Firemaking:r.ef.Firemaking,Fletching:r.ef.Fletching,Fishing:r.ef.Fishing,Herblore:r.ef.Herblore,Hunter:r.ef.Hunter,Magic:r.ef.Magic,Mining:r.ef.Mining,Prayer:r.ef.Prayer,Runecraft:r.ef.Runecraft,Smithing:r.ef.Smithing,Thieving:r.ef.Thieving,Woodcutting:r.ef.Woodcutting};!function(e){e.getSkillBySlug=function(e){let t=Object.values(s).find(t=>t===e);if(!t)throw Error("Unknown skill slug: ".concat(e));return t},e.toSlug=function(e){return e.toLowerCase()}}(n||(n={}));var i=function(e){return e[e.Low=1]="Low",e[e.Medium=2]="Medium",e[e.High=3]="High",e}({})},95904:(e,t,a)=>{a.d(t,{C:()=>n});let n={name:"07.GG",description:"Calculators, tools and API for Old School RuneScape.",url:"https://07.gg",links:{twitter:"https://twitter.com/07dotgg",github:"https://github.com/07dotgg",discord:"https://discord.gg/Kn59Enzm77"},discordJoinLinks:{exchangeProPage:"https://discord.gg/SArXa3u4yy",exchangeProCustomer:"https://discord.gg/gt24zBSyEe"}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.