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]="723f79ab-af16-42e8-afee-4e452208d55a",e._sentryDebugIdIdentifier="sentry-dbid-723f79ab-af16-42e8-afee-4e452208d55a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1965],{32296:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,52619,23)),Promise.resolve().then(r.bind(r,62509)),Promise.resolve().then(r.bind(r,4978)),Promise.resolve().then(r.bind(r,98071)),Promise.resolve().then(r.bind(r,21236)),Promise.resolve().then(r.bind(r,6607))},38919:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var s=r(95155),a=r(25404);r(12115);var n=r(64269);let i=(0,a.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",primary:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground","new-feature":"border-transparent bg-primary text-primary-foreground px-1.5 py-0 no-underline text-2xs",leagues:"border-transparent text-primary-foreground bg-[#C0FF2F] hover:bg-[#C0FF2F]/80",gridmaster:"border-transparent text-primary-foreground bg-amber-400 hover:bg-amber-400/80"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:r,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)(i({variant:r}),t),...a,"data-sentry-component":"Badge","data-sentry-source-file":"badge.tsx"})}},42711:(e,t,r)=>{"use strict";r.d(t,{o:()=>o});var s=r(95155),a=r(60577),n=r(21655),i=r.n(n);let o=e=>{let{itemId:t,size:r="default"}=e,n=a.Di[t],o=a.t7[t];if(!n||!o)return(0,s.jsx)(s.Fragment,{});let l="sm"===r?38:64;return(0,s.jsx)("div",{className:"grid place-items-center","data-sentry-component":"OsrsExchangeItem","data-sentry-source-file":"osrs-exchange-item.tsx",children:(0,s.jsx)(i(),{src:"/images/icons/items-lg/".concat(a.t7[t],".png"),alt:n.name,width:l,height:l,className:"object-contain",priority:!0,"data-sentry-element":"Image","data-sentry-source-file":"osrs-exchange-item.tsx"})})}},62509:(e,t,r)=>{"use strict";r.d(t,{HomepageCard:()=>f,MostExpensiveRow:()=>g,MostTradedRow:()=>p,RowWrapper:()=>u,TrendingRow:()=>x});var s=r(95155),a=r(38919),n=r(71132),i=r(5444),o=r(76294),l=r(64269),d=r(63972),c=r(52619),m=r.n(c);let f=e=>{let{title:t,icon:r,children:a}=e;return(0,s.jsxs)(n.Zp,{className:"bg-secondary/30 border-border","data-sentry-element":"Card","data-sentry-component":"HomepageCard","data-sentry-source-file":"homepage-item-list.tsx",children:[(0,s.jsx)(n.aR,{className:"flex flex-row items-center space-y-0 pb-4","data-sentry-element":"CardHeader","data-sentry-source-file":"homepage-item-list.tsx",children:(0,s.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[r,(0,s.jsx)(n.ZB,{className:"text-lg font-semibold","data-sentry-element":"CardTitle","data-sentry-source-file":"homepage-item-list.tsx",children:t})]}),(0,s.jsx)("div",{className:"text-sm text-muted-foreground pr-4",children:"Past 24 hours"})]})}),(0,s.jsx)(n.Wu,{className:"space-y-0","data-sentry-element":"CardContent","data-sentry-source-file":"homepage-item-list.tsx",children:a})]})},u=e=>{let{children:t}=e;return(0,s.jsx)("div",{className:"border-b border-border last:border-0","data-sentry-component":"RowWrapper","data-sentry-source-file":"homepage-item-list.tsx",children:t})},x=e=>{let{item:t}=e,{getSlugFromId:r}=(0,o.H)(),n=t.performance24h||0,l=n>0;return(0,s.jsx)(m(),{href:"/ge/item/".concat(r(t.id)),prefetch:!1,"data-sentry-element":"Link","data-sentry-component":"TrendingRow","data-sentry-source-file":"homepage-item-list.tsx",children:(0,s.jsxs)("div",{className:"flex items-center justify-between p-3 hover:bg-muted/50 transition-colors",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(i.v,{itemId:t.id,"data-sentry-element":"OsrsItem","data-sentry-source-file":"homepage-item-list.tsx"}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("p",{className:"font-medium text-sm",children:t.name}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground",children:[(0,d.TN)(t.marketPrice)," gp"]})]})]}),(0,s.jsxs)("div",{className:"text-right",children:[(0,s.jsxs)(a.E,{className:"text-xs ".concat(l?"bg-green-500/10 text-green-500 border-green-500/20":"bg-red-500/10 text-red-500 border-red-500/20"),"data-sentry-element":"Badge","data-sentry-source-file":"homepage-item-list.tsx",children:[l?"+":"",Number.parseFloat((100*n).toFixed(1)).toLocaleStr
1ing(),"%"]}),(0,s.jsxs)("p",{className:"text-xs mt-1 ".concat(l?"text-green-500":"text-red-500"),children:[l?"+":"",(0,d.TN)(100*n*(t.marketPrice||0)/100)," ",(0,s.jsx)("span",{className:"text-2xs",children:"GP"})]})]})]})})},g=e=>{let{item:t}=e,{getSlugFromId:r}=(0,o.H)();return(0,s.jsx)(m(),{href:"/ge/item/".concat(r(t.id)),"data-sentry-element":"Link","data-sentry-component":"MostExpensiveRow","data-sentry-source-file":"homepage-item-list.tsx",children:(0,s.jsxs)("div",{className:"flex items-center justify-between p-3 hover:bg-muted/50 transition-colors",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(i.v,{itemId:t.id,"data-sentry-element":"OsrsItem","data-sentry-source-file":"homepage-item-list.tsx"}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("p",{className:"font-medium text-sm",children:t.name})})]}),(0,s.jsxs)("div",{className:"text-right",children:[(0,s.jsx)("p",{className:"text-sm font-medium",children:(0,d.TN)(t.marketPrice)}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground",children:[null===t.performance24h&&(0,s.jsx)("div",{className:"text-muted-foreground text-center",children:"0.0%"}),t.performance24h&&(0,s.jsxs)("span",{className:(0,l.Iq)("text",t.performance24h),children:[t.performance24h&&t.performance24h>0&&"+",Number.parseFloat((100*t.performance24h).toFixed(1)).toLocaleString(),"%"]})]})]})]})})},p=e=>{let{item:t}=e,{getSlugFromId:r}=(0,o.H)();return(0,s.jsx)(m(),{href:"/ge/item/".concat(r(t.id)),"data-sentry-element":"Link","data-sentry-component":"MostTradedRow","data-sentry-source-file":"homepage-item-list.tsx",children:(0,s.jsxs)("div",{className:"flex items-center justify-between p-3 hover:bg-muted/50 transition-colors",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(i.v,{itemId:t.id,"data-sentry-element":"OsrsItem","data-sentry-source-file":"homepage-item-list.tsx"}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("p",{className:"font-medium text-sm",children:t.name})})]}),(0,s.jsxs)("div",{className:"text-right",children:[(0,s.jsxs)("p",{className:"text-sm font-medium",children:[(0,d.TN)(t.totalVolume24h||0)," ",(0,s.jsx)("span",{className:"text-2xs",children:"VOL"})]}),(0,s.jsxs)("p",{className:"text-xs text-muted-foreground",children:[(0,d.TN)(t.marketPrice)," ",(0,s.jsx)("span",{className:"text-2xs",children:"GP"})]})]})]})})}},63972:(e,t,r)=>{"use strict";var s,a;r.d(t,{Je:()=>n,ef:()=>d,zM:()=>a,TN:()=>u});class n{static getXpForLevel(e){if(e<1||e>n.MAX_VIRT_LEVEL)throw Error("".concat(e," is not a valid level"));return n.XP_FOR_LEVEL[e-1]}static getLevelForXp(e){if(e<0)throw Error("XP (".concat(e,") must not be negative"));let t=0,r=n.XP_FOR_LEVEL.length-1;for(;t<=r;){let s=t+Math.floor((r-t)/2),a=n.XP_FOR_LEVEL[s];if(e<a)r=s-1;else{if(!(e>a))return s+1;t=s+1}}return r+1}}function i(e,t){return Object.fromEntries(Object.entries(e).map(e=>{let[r,s]=e;return[s,t(s)]}))}n.MAX_REAL_LEVEL=99,n.MAX_VIRT_LEVEL=126,n.MAX_SKILL_XP=2e8,n.XP_FOR_LEVEL=[],(()=>{let e=0;for(let t=1;t<=n.MAX_VIRT_LEVEL;++t)n.XP_FOR_LEVEL[t-1]=Math.floor(e/4),e+=Math.floor(t+300*Math.pow(2,t/7))})();let o=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"}),l=i(o,e=>({itemName:e.charAt(0).toUpperCase()+e.slice(1)+" rune"}));!function(e){e.getItemName=function(e){return l[e].itemName},e.fromValue=function(e){let t=e.toLowerCase();if(o.includes(t))return t;throw Error("Invalid rune: ".concat(e))}}(s||(s={}));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),m=i(c,e=>({readableName:e.charAt(0).toUpperCase()+e.slice(1)}));!function(e){e.getReadableName=function(e){return m[e].readableName},e.fromValue=function(e){let t=e.toLowerCase();if(c.includes(t))return t;throw Error("Invalid skill: ".concat(e))}}(a||(a={}));let f={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),r=Object.values(f).find(e=>t>=e.minAmount);return(e/r.divisor).toFixed(r.precision)+r.suffix}},71132:(e,t,r)=>{"use strict";r.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>l,Zp:()=>i,aR:()=>o});var s=r(95155),a=r(12115),n=r(64269);let i=a.forwardRef((e,t)=>
1{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...a})});i.displayName="Card";let o=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",r),...a})});o.displayName="CardHeader";let l=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("h3",{ref:t,className:(0,n.cn)("font-semibold leading-none tracking-tight",r),...a})});l.displayName="CardTitle";let d=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("p",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",r),...a})});d.displayName="CardDescription";let c=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",r),...a})});c.displayName="CardContent",a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",r),...a})}).displayName="CardFooter"},98071:(e,t,r)=>{"use strict";r.d(t,{ScrollingItems:()=>o});var s=r(95155),a=r(64269);function n(e){let{className:t,reverse:r,pauseOnHover:n=!1,children:i,vertical:o=!1,repeat:l=4,...d}=e;return(0,s.jsx)("div",{...d,className:(0,a.cn)("group flex overflow-hidden p-2 [--duration:40s] [--gap:1rem] [gap:var(--gap)]",{"flex-row":!o,"flex-col":o},t),"data-sentry-component":"Marquee","data-sentry-source-file":"marquee.tsx",children:Array(l).fill(0).map((e,t)=>(0,s.jsx)("div",{className:(0,a.cn)("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!o,"animate-marquee-vertical flex-col":o,"group-hover:[animation-play-state:paused]":n,"[animation-direction:reverse]":r}),children:i},t))})}var i=r(42711);let o=e=>{let{itemIds:t}=e;return(0,s.jsx)("div",{className:"relative max-w-full flex lg:w-[500px] flex-col items-center justify-center overflow-hidden mx-auto","data-sentry-component":"ScrollingItems","data-sentry-source-file":"item-scroller.tsx",children:(0,s.jsx)("div",{className:"w-full",style:{mask:"linear-gradient(to right, transparent 0%, black 33%, black 67%, transparent 100%)",WebkitMask:"linear-gradient(to right, transparent 0%, black 33%, black 67%, transparent 100%)"},children:(0,s.jsx)(n,{className:"[--duration:15s]","data-sentry-element":"Marquee","data-sentry-source-file":"item-scroller.tsx",children:t.map(e=>(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"brightness-150 contrast-125 saturate-150 hue-rotate-90",children:(0,s.jsx)(i.o,{itemId:e})})},e))})})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[9386,4108,1947,2619,8144,1240,7124,2406,7477,2645,4231,6746,6486,577,5444,9731,6525,8441,688,7358],()=>t(32296)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.