PageSourceSearch

http://www.kitco.com/_next/static/chunks/pages/markets/futures/metals-80e850252fa09858.js

js kitco.com collected 2026-09-24 08:36:04 UTC 12,798 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9276],{66607:function(e){var t;t=function(){return function(e,t,r){t.prototype.isBetween=function(e,t,s,a){var n=r(e),l=r(t),i="("===(a=a||"()")[0],c=")"===a[1];return(i?this.isAfter(n,s):!this.isBefore(n,s))&&(c?this.isBefore(l,s):!this.isAfter(l,s))||(i?this.isBefore(n,s):!this.isAfter(n,s))&&(c?this.isAfter(l,s):!this.isBefore(l,s))}}},e.exports=t()},83250:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/markets/futures/metals",function(){return r(8924)}])},69803:function(e,t,r){"use strict";var s=r(85893);t.Z=e=>{let{children:t,columns:r}=e;return(0,s.jsx)("div",{className:"mb-8 grid lg:gap-8 lg:grid-cols-".concat(JSON.stringify(r)," sm:grid-cols-1 sm:gap-0"),children:t})}},82056:function(e,t,r){"use strict";var s,a,n=r(67294),l=r(63658),i=r(83193);(s=a||(a={})).Aluminum="Aluminum",s.Copper="High Grade Copper",s.Platinum="Platinum",s.Palladium="Palladium",s.Gold="Gold",s.Silver="Silver",t.Z=()=>{let{data:e}=(0,i.ZP)(l.U.futuresByExchange({variables:{exchange:"NYMEX",category:"Metals"}})),{data:t}=(0,i.ZP)(l.U.futuresByExchange({variables:{exchange:"COMEX",category:"Metals"}})),[r,s]=(0,n.useState)(!0),[a,c]=(0,n.useState)([]);return(0,n.useEffect)(()=>{(async()=>{t&&e&&(c(function(e,t){let r=[];if(t&&e){var s,a;let n={},l=null==t?void 0:null===(s=t.GetBarchartFuturesByExchange)||void 0===s?void 0:s.results,i=null==e?void 0:null===(a=e.GetBarchartFuturesByExchange)||void 0===a?void 0:a.results;for(let e=0;e<l.length;e++)Object.prototype.hasOwnProperty.call(n,l[e].name)||(n[l[e].name]={...l[e],exchange:"NYMEX",category:"Metals"});for(let e=0;e<i.length;e++)Object.prototype.hasOwnProperty.call(n,i[e].name)||(n[i[e].name]={...i[e],exchange:"COMEX",category:"Metals"});Object.keys(n).map(e=>{switch(e){case"Gold":r=[...r,n.Gold];break;case"Silver":r=[...r,n.Silver];break;case"Platinum":r=[...r,n.Platinum];break;case"Palladium":r=[...r,n.Palladium];break;case"High Grade Copper":r=[...r,n["High Grade Copper"]];break;case"Aluminum":r=[...r,n.Aluminum];break;default:return}})}return r}(t,e)),s(!1))})()},[t,e]),[a,r]}},25603:function(e,t,r){"use strict";var s=r(85893),a=r(41664),n=r.n(a),l=r(83239),i=r(68308),c=r(46761),u=r(71912),o=r(16252),d=r(23374),m=r.n(d);t.Z=e=>{let{data:t,title:r,showMore:a=!0}=e,{format:o}=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2}),{format:d}=new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),x=e=>{let t=e.split("");return t.includes("$")||t.includes("^")?e.substring(1):e},f=e=>e%2?m().item:(0,c.Z)([m().item,m().altBg]);return(0,s.jsx)(l.Z,{title:r+" — "+u.ZP.dayTime(),children:(0,s.jsxs)("ul",{children:[(0,s.jsxs)("li",{className:(0,c.Z)([m().item,m().titles]),children:[(0,s.jsx)("p",{className:"hidden md:block lg:block",children:"Symbol"}),(0,s.jsx)("p",{children:"Name"}),(0,s.jsx)("p",{className:"text-right",children:"Last"}),(0,s.jsx)("p",{className:"text-right",children:"Change"})]}),(null==t?void 0:t.length)?(0,s.jsx)(s.Fragment,{children:null==t?void 0:t.map((e,t)=>(0,s.jsx)("li",{className:f(t),children:(0,s.jsx)(n(),{href:"Forex"===r?"/price/forex/[symbol]":"/markets/futures/[symbol]",as:"Forex"===r?"/price/forex/".concat(x(null==e?void 0:e.symbol)):"/markets/futures/".concat(e.symbol,"_").concat(null==e?void 0:e.category,"_").concat(null==e?void 0:e.exchange),children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"hidden md:block lg:block",children:(0,s.jsx)("p",{className:"font-medium",children:x(null==e?void 0:e.symbol)})}),(0,s.jsx)("p",{className:"mt-1 text-xs",children:null==e?void 0:e.name}),(0,s.jsx)("p",{className:"text-right font-medium",children:"Forex"===r?d(e.lastPrice):o(e.lastPrice)}),(0,s.jsxs)("p",{className:(0,c.Z)([(0,i.Z)(e.percentChange),"text-right"]),children:[e.percentChange,"%"]})," "]})})},e.symbol))}):(0,s.jsx)(h,{}),a&&(0,s.jsx)("li",{className:m().itemMoreLink,children:(0,s.jsx)("div",{className:"flex-shrink-1 mx-auto flex max-w-xs justify-center",children:(0,s.jsx)(n(),{className:"moreLink",href:"/markets/futures",children:"More\xa0futures\xa0+"})})})]})})};let h=()=>(0,s.jsx)(s.Fragment,{children:[1,2,3,4,5].map(e=>
1(0,s.jsx)("li",{className:(0,c.Z)([m().item,m().loading]),children:(0,s.jsxs)("div",{className:m().skeleton,children:[(0,s.jsx)(o.Z,{}),(0,s.jsx)("div",{className:"hidden md:flex",children:(0,s.jsx)(o.Z,{})}),(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsx)(o.Z,{})}),(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsx)(o.Z,{})})]})},e))})},60078:function(e,t,r){"use strict";var s=r(85893);t.Z=e=>{let{children:t}=e;return(0,s.jsx)("div",{className:"grid max-w-full gap-8 px-6 md:grid-cols-1 lg:grid-cols-layout-2",children:t})}},91155:function(e,t,r){"use strict";var s=r(85893),a=r(90512),n=r(69803);t.Z=e=>{let{columns:t}=e;return(0,s.jsx)(n.Z,{columns:t,children:(()=>{let e=[];for(let r=0;r<t;r++)e.push((0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:(0,a.Z)("animate-loading h-[24px] w-[280px]")}),(0,s.jsx)("div",{className:"animate-loading h-[280px] w-[280px] rounded-md !bg-black/10"})]},r));return e})()})}},16252:function(e,t,r){"use strict";var s=r(85893);r(67294),t.Z=()=>(0,s.jsx)("div",{className:"animate-loading !h-[16px] !w-[50%] !bg-black/10"})},47149:function(e,t,r){"use strict";var s=r(85893),a=r(41664),n=r.n(a),l=r(11163);t.Z=e=>{let{items:t}=e,r=(0,l.useRouter)();return(0,s.jsx)("ul",{className:"flex flex-wrap",children:t.map((e,t)=>(0,s.jsx)("li",{className:e.href===r.asPath?"mr-4 border-b-2 border-solid border-gray-900":"mr-4",children:(0,s.jsx)(n(),{className:"text-gray-700",href:e.href,children:(0,s.jsx)("button",{type:"button",className:"tab","aria-current":e.href===r.asPath,children:e.name})})},t))})}},83239:function(e,t,r){"use strict";var s=r(85893),a=r(41664),n=r.n(a),l=r(48593),i=r.n(l);t.Z=e=>{let{title:t,children:r,href:a=null}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)("header",{className:i().head,children:(0,s.jsx)("h2",{className:i().txt,children:a?(0,s.jsx)(n(),{className:"text-white",href:a,children:t}):(0,s.jsx)(s.Fragment,{children:t})})}),(0,s.jsx)("div",{className:"border",children:r})]})}},18105:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var s=r(85893),a=r(44478),n=r(42080),l=r(51411),i=r(60078),c=r(47149),u=[{name:"All",href:"/markets/futures"},{name:"Metals",href:"/markets/futures/metals"},{name:"Energies",href:"/markets/futures/energies"},{name:"Grains",href:"/markets/futures/grains"},{name:"Indices",href:"/markets/futures/indices"},{name:"Meats",href:"/markets/futures/meats"},{name:"Currencies",href:"/markets/futures/currencies"}],o=e=>{let{children:t,category:r}=e;return(0,s.jsx)(l.Z,{title:"".concat(r," Futures"),children:(0,s.jsxs)(i.Z,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-8",children:(0,s.jsx)(c.Z,{items:u})}),t]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(a.Z,{id:"right-rail-1",className:"mx-auto mb-10 h-[250px] w-[300px] desktop:mb-4"}),(0,s.jsx)(n.Z,{})]})]})})}},63658:function(e,t,r){"use strict";r.d(t,{U:function(){return c}});var s=r(37340),a=r(47273),n=r(68442),l=r(5409);function i(){let e=(0,s._)(["\n            query MarketStatus {\n              GetMarketStatus {\n                status\n                next\n              }\n            }\n          "]);return i=function(){return e},e}let c={marketStatus:e=>({...null==e?void 0:e.options,queryKey:["marketStatus"],refetchInterval:l.zP,queryFn:async()=>await n.P.pricesFetch((0,a.Ps)(i()),null==e?void 0:e.variables)}),barchartsGoldIndicators:e=>({...null==e?void 0:e.options,refetchInterval:l.zP,queryKey:["barchartsGoldIndicators-disabled",null==e?void 0:e.variables],queryFn:async()=>({data:{GetBarchartQuotes:{__typename:"BarchartGetQuote",timestamp:0,symbols:"",results:[]}},GetBarchartQuotes:{__typename:"BarchartGetQuote",timestamp:0,symbols:"",results:[]}})}),barchartsLeaders:e=>({...null==e?void 0:e.options,refetchInterval:l.zP,queryKey:["barchartsLeaders-disabled",null==e?void 0:e.variables],queryFn:async()=>({data:{leaders:{results:[]}},leaders:{results:[]}})}),regionIndices:e=>({...null==e?void 0:e.options,refetchInterval:l.zP,queryKey:["regionIndices-disabled",null==e?void 0:e.variables],queryFn:async()=>({data:{USquotes:{results:[]},EUquotes:{results:[]},ASIAquotes:{results:[]}}})}),futuresByExchange:e=>({...null==e?void 0:e.options,refetchInterval:l.zP,queryKey:["futuresByExchange-disabled",null==e?void 0:e.variables],queryFn:async()=>({data:{GetBarchartFuturesByExchange:{__typename:"BarchartGetFuturesByExchange",timestamp:0,exchange:"",results:[]}},GetBarchartFuturesByExchange:{__typename:"BarchartGetFuturesByExchange",timestamp:0,exchange:"",results:[]}})})}},8924:function(e,t,r){"use strict";r.r(t);var s=r(85893),a=r(69803),n=r(82056),l=r(25603),i=r(18105),c=r(91155),u=r(89256);t.default=()=>{let[e]=(0,n.Z)();return(0,s.jsx)(i.Z,{category:"Metals",children:(0,s.jsxs)(s.Fragment,{children:[e.length>0?(0,s.jsxs)(a.Z,{columns:2,children:[(0,s.jsx)(u.q,{symbol:e[0].symbol,title:e[0].name,href:"/markets/futures/".concat(e[0].symbol)}),(0,s.jsx)("div",{className:"hidden md:block lg:block",children:(0,s.jsx)(u.q,{symbol:e[1].symbol,title:e[1].name,href:"/markets/futures/".concat(e[1].symbol)})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"hidden md:block lg:block",children:(0,s.jsx)(c.Z,{columns:2})}),(0,s.jsx)("div",{className:"block md:hidden lg:hidden",children:(0,s.jsx)(c.Z,{columns:1})})]}),(0,s.jsx)("div",{className:"mb-8",children:(0,s.jsx)(l.Z,{data:e,title:"Metals"})}),(0,s.jsxs)("h4",{children:["Data provided by"," ",(0,s.jsx)("a",{href:"https://www.barchart.com/",target:"_blank",rel:"noreferrer noopener",children:"Barchart"})]})]})})}},68308:function(e,t,r){"use strict";var s=r(66929),a=r.n(s),n=r(46761),l=r(59062);t.Z=e=>(0,l.Z)(e)?(0,n.Z)([a().colorRed,a().bold]):(0,n.Z)([a().colorGreen,a().bold])},46761:function(e,t){"use strict";t.Z=function(e){return e.filter(e=>e).join(" ")}},71912:function(e,t,r){"use strict";r.d(t,{rm:function(){return a}});var s,a,n=r(27484),l=r.n(n),i=r(29387),c=r.n(i),u=r(70178),o=r.n(u);l().extend(o()),l().extend(c()),(s=a||(a={}
1)).NY="America/New_York",s.UK="Europe/London",s.IS="Asia/Kolkata",s.HK="Asia/Hong_Kong",t.ZP={day:()=>l()().tz("America/New_York").format("MMM DD, YYYY"),dayTime:e=>e?l()(e).tz("America/New_York").format("MMM DD, YYYY h:mm A"):l()().tz("America/New_York").format("MMM DD, YYYY h:mm A"),clock:(e,t)=>l().unix(t).tz(e).format("h:mm A"),fmtUnix:(e,t)=>l().unix(e).tz("America/New_York").format(t||"MMM DD, YYYY"),tenAMunix:e=>{let t=l()().tz(e,!1).hour(10).minute(0).second(0).format();return l()(t).unix()},timeNow:e=>l()().tz("America/New_York").format(e||"h:mm A"),timeThen:e=>l()(e).tz("America/New_York").format("h:mm A"),timeThenZone:(e,t)=>l().unix(e).tz(t).format("h:mm A"),unixNow:()=>l()().unix(),yesterday:()=>15*Math.floor(l()().subtract(1,"day").unix()/15),midnight:()=>l()().tz("America/New_York").hour(0).minute(0).second(0).unix()}},59062:function(e,t){"use strict";t.Z=e=>-1==Math.sign(e)},5409:function(e,t,r){"use strict";r.d(t,{Vk:function(){return d},zP:function(){return h}});var s=r(27484),a=r.n(s),n=r(66607),l=r.n(n),i=r(29387),c=r.n(i),u=r(70178),o=r.n(u);a().extend(o()),a().extend(c()),a().extend(l());let d=()=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,t=a()(),r=t.second();return t.second(Math.floor(r/e)*e).millisecond(0).unix()})(),m=()=>{let e=a()().tz("America/New_York");if(0===e.day()){let t=e.clone().set("hour",17).set("minute",0).set("second",0).set("millisecond",0);e.isBefore(t)&&(e=e.subtract(1,"day"))}let t=e.startOf("week").add(5,"day").set("hour",17),r=t.add(2,"day").set("hour",17);return{weekendStart:t,weekendEnd:r,isWeekend:e.isBetween(t,r,null,"[]")}},h=()=>!m().isWeekend&&3e4},23374:function(e){e.exports={heading:"FutureForexTable_heading___8TUm",name:"FutureForexTable_name__uYq6d",item:"FutureForexTable_item__E5yL2",skeleton:"FutureForexTable_skeleton__FUhWM",itemMoreLink:"FutureForexTable_itemMoreLink__RrODv",titles:"FutureForexTable_titles__UxurE",colorRed:"FutureForexTable_colorRed__WaaLe",colorGreen:"FutureForexTable_colorGreen__GB0VJ",bold:"FutureForexTable_bold__uA__z",altBg:"FutureForexTable_altBg__B80Nr",pulse:"FutureForexTable_pulse__GbsvT"}},48593:function(e){e.exports={head:"Table_head__Cgr4F",txt:"Table_txt__EIIHI",more:"Table_more__zPmKF"}},66929:function(e){e.exports={colorRed:"text_colorRed__G35rT",colorGreen:"text_colorGreen__S6ABu",bold:"text_bold__ebU9s",regular:"text_regular__lZLgI"}}},function(e){e.O(0,[4396,6724,5026,4738,3365,648,7472,4034,7128,7035,6660,4817,594,509,4321,4873,1595,7536,9652,362,9574,9177,8506,8953,1172,2888,9774,179],function(){return e(e.s=83250)}),_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.