1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6843],{42080:function(n,e,t){"use strict";t.d(e,{Z:function(){return V}});var r=t(85893),a=t(67294),s=t(44782),i=t(65611),l=t(90512),o=t(70286);let u=n=>{let{title:e,children:t}=n;return(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)(o.Z,{title:e}),(0,r.jsx)("div",{className:(0,l.Z)("border-b border-l border-r border-ktc-borders","p-4"),children:t})]})};var c=t(27484),m=t.n(c),y=t(27357),d=t.n(y),p=n=>{let{id:e,author:t,title:a,category:s,date:i,url:l,teaserHeadline:o}=n;return e?(0,r.jsxs)("div",{className:d().articleContainer,children:[(0,r.jsx)("p",{children:s}),(0,r.jsx)("a",{href:l,children:(0,r.jsx)("h3",{children:null!=o?o:a})}),(0,r.jsxs)("span",{children:[t&&t," ",m()(i).format("MMM DD")]})]},e):(0,r.jsxs)("div",{className:d().loading,children:[(0,r.jsx)("p",{}),(0,r.jsx)("h3",{}),(0,r.jsx)("p",{})]})},b=t(76877),h=t(49486),F=t.n(h),g=n=>{let{view:e,setView:t,fetchVideos:a,fetchOpinions:s}=n;return(0,r.jsxs)("div",{className:F().buttonSwitchGrid,children:[(0,r.jsx)("button",{type:"button",className:e===b.DL.NEWS?F().buttonActive:void 0,onClick:()=>t(b.DL.NEWS),children:"News"}),(0,r.jsx)("button",{type:"button",className:e===b.DL.VIDEOS?F().buttonActive:void 0,onClick:()=>t(b.DL.VIDEOS),onMouseOver:()=>a(),children:"Videos"}),(0,r.jsx)("button",{type:"button",className:e===b.DL.OPINIONS?F().buttonActive:void 0,onClick:()=>t(b.DL.OPINIONS),onMouseOver:()=>s(),children:"Opinion"})]})},x=t(81801),v=t(24828),$=t(41670),f=t(1800);let P=$.p.feed({variables:{latest:!0}});var M=()=>(0,r.jsx)(s.g,{children:(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(f.Z,{}),children:(0,r.jsx)(i.A,{fetcher:P,children:n=>{var e,t,a;let s=null==n?void 0:null===(t=n.data)||void 0===t?void 0:null===(e=t.VideoConsumerFeed)||void 0===e?void 0:e.latest;return(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[null==s?void 0:null===(a=s.slice(0,6))||void 0===a?void 0:a.map(n=>(0,r.jsxs)(x.bO,{node:n,children:[(0,r.jsx)(x.Ei,{width:400,height:340}),(0,r.jsxs)(x.A,{children:[(0,r.jsx)(x.Dx,{}),(0,r.jsx)(x.EK,{className:"text-black"})]})]},n.id)),(0,r.jsx)(v.Z,{title:"More Videos",href:"/news/video"})]})}})})}),G=t(68506),I=t(83193);let S=n=>{var e,t,s;let{data:i}=n,[l,o]=(0,a.useState)(b.DL.NEWS),{data:u}=(0,I.ZP)(G.r.newsCommentaries({variables:{limit:5,offset:0},options:{enabled:l===b.DL.OPINIONS}})),c=Array.from({length:8},(n,e)=>e+1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g,{view:l,setView:o,fetchVideos:()=>console.warn("FIX THIS"),fetchOpinions:()=>console.warn("FIX THIS")}),l===b.DL.NEWS&&(0,r.jsx)(r.Fragment,{children:i?null==i?void 0:null===(e=i.queue)||void 0===e?void 0:e.items.filter(n=>null==n?void 0:n.id).map(n=>(0,r.jsx)(p,{url:n.urlAlias,id:n.id,title:n.title,teaserHeadline:null==n?void 0:n.teaserHeadline,date:n.createdAt,category:""},n.id)):(0,r.jsx)(r.Fragment,{children:c.map((n,e)=>(0,r.jsx)(p,{id:null},e))})}),"videos"===l&&(0,r.jsx)(M,{}),"opinion"===l&&(0,r.jsx)(r.Fragment,{children:u?null==u?void 0:null===(s=u.commentaries)||void 0===s?void 0:null===(t=s.items)||void 0===t?void 0:t.map(n=>{var e;return(0,r.jsx)(p,{url:n.urlAlias,id:n.id,author:null===(e=n.author)||void 0===e?void 0:e.name,title:n.title,teaserHeadline:null==n?void 0:n.teaserHeadline,date:n.createdAt,category:""},n.id)}):(0,r.jsx)(r.Fragment,{children:c.map((n,e)=>(0,r.jsx)(p,{id:null},e))})})]})};var V=n=>{let{limit:e}=n,t=G.r.nodeListQueue({variables:{limit:e||10,offset:0,queueId:"latest_news"},options:{enabled:!0}});return(0,r.jsx)(u,{title:"Latest News",children:(0,r.jsx)(s.g,{children:(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)("div",{children:"Loading..."}),children:(0,r.jsx)(i.A,{fetcher:t,children:n=>(0,r.jsx)(S,{data:null==n?void 0:n.data})})})})})}},51411:function(n,e,t){"use strict";var r=t(85893),a=t(90512),s=t(11163),i=t(67294),l=t(57977),o=t(44782),u=t(74183),c=t(95562),m=t(8792),y=t(35958),d=t.n(y);let p="/price/precious-metals/text-quotes";e.Z=n=>{var e,t,y,b;let{children:h,title:F,wide:g=!1}=n,x=(0,s.useRouter)(),[v,$]=(0,i.useState)(null),[f,P]=(0,i.useState)(!1),M=(0,i.useRef)(null),G=(0,i.useRef)(null),I=null===(e=G.current)||void 0===e?void 0:e.getBoundingClientRect().y,[S,V]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let n=()=>{G.current&&V(window.innerHeight-I)};
1return n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[G.current,f]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{title:F}),(0,r.jsx)("div",{className:"py-5 bg-white no-print",ref:M,children:(0,r.jsx)(l.Z,{className:(0,a.W)("h-[100px] w-[320px] md:h-[90px] md:w-[728px] lg:w-[970px] lg:h-[250px]","mx-auto","flex items-center justify-center no-print")})}),(0,r.jsx)("div",{ref:G,className:(0,a.W)("z-[999]",f?"sticky overflow-auto z-[999999999] bg-black/50":"bg-white",v||null===v?"":"sticky top-0",x.pathname===p?"no-print":""),style:{height:f?"".concat("".concat(S,"px")):"auto"},children:(0,r.jsx)(m.Z,{onShowHide:$,onMenuMobile:P,headerRef:{heightHeader:Number((null===(t=M.current)||void 0===t?void 0:t.clientHeight)+(null===(y=G.current)||void 0===y?void 0:y.clientHeight)),heightAds:Number(null===(b=M.current)||void 0===b?void 0:b.clientHeight)},wide:g})}),(0,r.jsx)("div",{className:x.pathname===p?"no-print":"",style:{position:"relative",height:"20px"}}),(0,r.jsx)("main",{className:g?d().mainAppWrapperWide:d().mainAppWrapper,children:(0,r.jsx)(o.g,{children:h})}),(0,r.jsx)("div",{className:x.pathname===p?"no-print":"",children:(0,r.jsx)(u.Z,{wide:g})})]})}},57977:function(n,e,t){"use strict";t.d(e,{Z:function(){return l}});var r=t(85893);t(67294);var a=t(44478),s=t(10679);t(34155);let i=new Set;var l=n=>{let{className:e}=n;return!function(n){let e=function(n){let e=function(n){let e=n.trim();return e?/^[a-z][a-z0-9+.-]*:\/\//i.test(e)?e:"https://".concat(e):""}(n);if(!e)return null;try{return new URL(e).hostname.toLowerCase()}catch(e){var t,r;return t="bad-next-public-url",r="Could not parse NEXT_PUBLIC_URL for GTM routing: ".concat(JSON.stringify(n)),i.has(t)||(i.add(t),console.warn("[GTM] ".concat(r))),null}}(n);return!!e&&!!("localhost"===e||"127.0.0.1"===e||"frontend.dev.kitco.com"===e||e.endsWith(".dev.kitco.com"))}(s.O.NEXT_PUBLIC_URL)?(0,r.jsx)(a.Z,{id:"leaderboard",className:e}):(0,r.jsx)("div",{"aria-hidden":"true",className:e})}},16287:function(n,e,t){"use strict";t.d(e,{G:function(){return F},l:function(){return x}});var r=t(85893),a=t(10482),s=t(27484),i=t.n(s),l=t(15103),o=t(48583),u=t(67294),c=t(12515),m=t(97759),y=t(46761);let d=()=>{let n=new Date().getFullYear(),e={},t=0;for(let a of[2026,2025,2024,2023,2022,2021,2020,2019]){if(a===n)e[t]={endTime:i()().unix(),startTime:i()().month(0).date(1).unix(),humanReadable:String(a)};else{var r;let s=(r=n-a,{endTime:i()().subtract(r,"year").month(12).date(1).unix(),startTime:i()().subtract(r,"year").month(0).date(1).unix(),humanReadable:i()().subtract(r,"year").format("YYYY")});e[t]={...s,humanReadable:String(a)}}t++}return{selectedKey:0,all:e}},p=d(),b=(0,l.cn)(p),h=(0,l.cn)(n=>n(b),(n,e,t)=>{let r=n(b);e(b,{selectedKey:t,all:r.all})}),F=(0,l.cn)(n=>n(b)),g=(0,l.cn)(null,(n,e)=>{let t=n(b),r=d(),a=t.selectedKey,s=a in r.all?a:0;e(b,{...r,selectedKey:s})});function x(n){let{styleSelect:e}=n,[t,s]=(0,o.KO)(h),[,i]=(0,o.KO)(g);(0,u.useEffect)(()=>{i()},[i]);let{buttonRef:l,buttonWidth:d}=(0,m.o)();return(0,r.jsx)("div",{className:"relative",children:(0,r.jsxs)(a.Ri,{value:t.selectedKey,onChange:n=>{s(n)},children:[(0,r.jsxs)(a.Y4,{className:(0,y.Z)(["relative w-full px-4 py-2","flex items-center justify-between gap-2","bg-white border-2 border-gray-300 rounded-lg","text-lg font-medium text-gray-700","hover:border-ktc-gold hover:bg-gray-50","focus:outline-none focus:ring-2 focus:ring-ktc-gold focus:border-ktc-gold","transition-all duration-200 ease-in-out","shadow-sm hover:shadow-md",e]),ref:l,children:[(0,r.jsx)("span",{className:"text-center flex-1",children:t.all[t.selectedKey].humanReadable}),(0,r.jsx)(c.bTu,{className:"w-5 h-5 text-gray-500 flex-shrink-0"})]}),(0,r.jsx)(a.O_,{anchor:"bottom end",className:(0,y.Z)(["absolute mt-2 z-50","bg-white border border-gray-200 rounded-lg shadow-lg","max-h-60 overflow-y-auto","py-2"]),style:{width:d},children:Object.entries(t.all).map(n=>{let[e,t]=n;return(0,r.jsx)(a.wt,{value:Number.parseInt(e,10),className:(0,y.Z)(["cursor-pointer px-4 py-2 text-center","text-lg font-medium text-gray-700","hover:bg-ktc-gold hover:text-white","transition-colors duration-150 ease-in-out","border-b border-gray-100 last:border-b-0","w-full"]),children:t.humanReadable},e)})})]})})}},10374:function(n,e,t){"use strict";t.d(e,{Jc:function(){return r},QB:function(){return s},k:function(){return a}});let r=2204.62,a={pound:1,gram:.00220462,kilo:2.20462,ton:2e3,tonne:2204.62},s={tonne:1,lb:4535929094356397e-19,gram_t:1e-6,kilo_t:.001,ton:.9071858188712795}},5528:function(n,e,t){"use strict";t.d(e,{k:function(){return D}});var r=t(37340),a=t(47273),s=t(68442);function i(n){if(null==n?void 0:n.timestamp){let e=new Map(Object.entries(n));return e.has("timestamp")&&e.delete("timestamp"),Object.fromEntries(e)}return n}var l=t(5409),o=t(63771);function u(){let n=(0,r._)(["\n ","\n ","\n query MetalQuote(\n $symbol
1: String!\n $currency: String!\n $timestamp: Int\n ) {\n GetMetalQuoteV3(\n symbol: $symbol\n currency: $currency\n timestamp: $timestamp\n ) {\n ...MetalFragment\n }\n }\n "]);return u=function(){return n},n}function c(){let n=(0,r._)(["\n ","\n ",'\n query AllMetalsQuote($currency: String!, $timestamp: Int) {\n gold: GetMetalQuoteV3(\n symbol: "AU"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n silver: GetMetalQuoteV3(\n symbol: "AG"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n platinum: GetMetalQuoteV3(\n symbol: "PT"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n palladium: GetMetalQuoteV3(\n symbol: "PD"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n rhodium: GetMetalQuoteV3(\n symbol: "RH"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n }\n ']);return c=function(){return n},n}function m(){let n=(0,r._)(["\n ","\n ",'\n query GoldSilverPlatinumPalladium(\n $currency: String!\n $timestamp: Int\n ) {\n gold: GetMetalQuoteV3(\n symbol: "AU"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n silver: GetMetalQuoteV3(\n symbol: "AG"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n platinum: GetMetalQuoteV3(\n symbol: "PT"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n palladium: GetMetalQuoteV3(\n symbol: "PD"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n }\n ']);return m=function(){return n},n}function y(){let n=(0,r._)(["\n ","\n ",'\n query BaseMetals($timestamp: Int, $currency: String!) {\n AluminumPrice: GetMetalQuote(\n symbol: "AL"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n CopperPrice: GetMetalQuoteV3(\n symbol: "CU"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n NickelPrice: GetMetalQuoteV3(\n symbol: "NI"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n ZincPrice: GetMetalQuoteV3(\n symbol: "ZN"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n LeadPrice: GetMetalQuoteV3(\n symbol: "PB"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n Uranium: GetMetalQuoteV3(\n symbol: "UR"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n }\n ']);return y=function(){return n},n}function d(){let n=(0,r._)(["\n ","\n ",'\n query MetalPointsInTime(\n $now: Int\n $thirtyday: Int\n $oneyear: Int\n $sixmonths: Int\n $symbol
1: String!\n ) {\n now: GetMetalQuoteV3(\n symbol: $symbol\n timestamp: $now\n currency: "USD"\n ) {\n ...MetalFragment\n }\n thirtyday: GetMetalQuoteV3(\n symbol: $symbol\n timestamp: $thirtyday\n currency: "USD"\n ) {\n ...MetalFragment\n }\n sixmonths: GetMetalQuoteV3(\n symbol: $symbol\n timestamp: $sixmonths\n currency: "USD"\n ) {\n ...MetalFragment\n }\n oneyear: GetMetalQuoteV3(\n symbol: $symbol\n timestamp: $oneyear\n currency: "USD"\n ) {\n ...MetalFragment\n }\n }\n ']);return d=function(){return n},n}function p(){let n=(0,r._)(["\n ","\n query MetalHistory(\n $symbol: String!\n $startTime: Int!\n $endTime: Int!\n $groupBy: String\n $offset: Int\n $limit: Int\n $currency: String!\n ) {\n GetMetalHistoryV3(\n symbol: $symbol\n startTime: $startTime\n endTime: $endTime\n groupBy: $groupBy\n limit: $limit\n offset: $offset\n currency: $currency\n ) {\n currency\n symbol\n name\n results {\n ...MetalQuoteFragment\n }\n }\n }\n "]);return p=function(){return n},n}function b(){let n=(0,r._)(["\n ",'\n query GetKitcoFixPMV3($currency: String!, $year: Int!) {\n gold: GetKitcoFixPreciousMetalsV3(\n symbol: "AU"\n currency: $currency\n year: $year\n ) {\n currency\n symbol\n name\n results {\n ...MetalQuoteFragment\n }\n }\n silver: GetKitcoFixPreciousMetalsV3(\n symbol: "AG"\n currency: $currency\n year: $year\n ) {\n currency\n symbol\n name\n results {\n ...MetalQuoteFragment\n }\n }\n platinum: GetKitcoFixPreciousMetalsV3(\n symbol: "PT"\n currency: $currency\n year: $year\n ) {\n currency\n symbol\n name\n results {\n ...MetalQuoteFragment\n }\n }\n palladium: GetKitcoFixPreciousMetalsV3(\n symbol: "PD"\n currency: $currency\n year: $year\n ) {\n currency\n symbol\n name\n results {\n ...MetalQuoteFragment\n }\n }\n }\n ']);return b=function(){return n},n}function h(){let n=(0,r._)(["\n ","\n query GetNivoData(\n $currency: String!\n $timestamp: Int!\n $symbol: String!\n ) {\n now: GetMetalQuoteV3(\n symbol: $symbol\n timestamp: $timestamp\n currency: $currency\n ) {\n ID\n symbol\n currency\n name\n results {\n ...MetalQuoteFragment\n }\n }\n\n history: GetMetalChartDataV3(\n chartId: TODAY\n symbol: $symbol\n currency: $currency\n ) {\n symbol\n currency\n results {\n ...MetalQuoteFragment\n }\n }\n }\n "]);return h=function(){return n},n}function F(){let n=(0,r._)(["\n ","\n query GetNivoData30Days(\n $currency: String!\n $endTime: Int!\n $symbol
1: String!\n ) {\n now: GetMetalQuoteV3(\n symbol: $symbol\n timestamp: $endTime\n currency: $currency\n ) {\n ID\n symbol\n currency\n name\n results {\n ...MetalQuoteFragment\n }\n }\n\n history: GetMetalChartDataV3(\n chartId: THIRTY_DAYS\n symbol: $symbol\n currency: $currency\n ) {\n symbol\n currency\n results {\n ...MetalQuoteFragment\n }\n }\n }\n "]);return F=function(){return n},n}function g(){let n=(0,r._)(["\n ",'\n query MetalAndCurrencies($symbol: String!, $timestamp: Int) {\n metal: GetMetalQuoteV3(\n symbol: $symbol\n currency: "USD"\n timestamp: $timestamp\n ) {\n results {\n ask\n bid\n change\n changePercentage\n high\n low\n mid\n unit\n }\n }\n\n AUD: GetForexQuoteV3(symbol: "AUD", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n BRL: GetForexQuoteV3(symbol: "BRL", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n GBP: GetForexQuoteV3(symbol: "GBP", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n CAD: GetForexQuoteV3(symbol: "CAD", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n CNY: GetForexQuoteV3(symbol: "CNY", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n EURO: GetForexQuoteV3(symbol: "EUR", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n HKD: GetForexQuoteV3(symbol: "HKD", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n INR: GetForexQuoteV3(symbol: "INR", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n JPY: GetForexQuoteV3(symbol: "JPY", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n MXN: GetForexQuoteV3(symbol: "MXN", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n RUB: GetForexQuoteV3(symbol: "RUB", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n ZAR: GetForexQuoteV3(symbol: "ZAR", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n CHF: GetForexQuoteV3(symbol: "CHF", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n }\n ']);return g=function(){return n},n}function x(){let n=(0,r._)(["\n ",'\n query Currencies($timestamp: Int) {\n AUD: GetForexQuoteV3(symbol: "AUD", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n BRL: GetForexQuoteV3(symbol: "BRL", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n GBP: GetForexQuoteV3(symbol: "GBP", timestamp: $timestamp) {\
1n results {\n ...ForexFragment\n }\n }\n CAD: GetForexQuoteV3(symbol: "CAD", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n CNY: GetForexQuoteV3(symbol: "CNY", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n EUR: GetForexQuoteV3(symbol: "EUR", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n HKD: GetForexQuoteV3(symbol: "HKD", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n INR: GetForexQuoteV3(symbol: "INR", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n JPY: GetForexQuoteV3(symbol: "JPY", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n MXN: GetForexQuoteV3(symbol: "MXN", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n RUB: GetForexQuoteV3(symbol: "RUB", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n ZAR: GetForexQuoteV3(symbol: "ZAR", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n CHF: GetForexQuoteV3(symbol: "CHF", timestamp: $timestamp) {\n results {\n ...ForexFragment\n }\n }\n }\n ']);return x=function(){return n},n}function v(){let n=(0,r._)(["\n query ShanghaiFix(\n $currency: String!\n $timestamp: Int!\n $symbol: String!\n $limit: Int\n ) {\n GetShanghaiFixV3(\n currency: $currency\n timestamp: $timestamp\n symbol: $symbol\n limit: $limit\n ) {\n ID\n currency\n symbol\n results {\n ID\n timestamp\n am\n pm\n }\n }\n }\n "]);return v=function(){return n},n}function $(){let n=(0,r._)(["\n query ShanghaiFixByYear($year: String!) {\n GetShanghaiFixByYearV3(year: $year) {\n ID\n currency\n symbol\n results {\n ID\n timestamp\n am\n pm\n }\n }\n }\n "]);return $=function(){return n},n}function f(){let n=(0,r._)(["\n ",'\n query LondonFix($year: String!) {\n londonFixUSD: GetLondonFixByYearV3(currency: "USD", year: $year) {\n ID\n currency\n results {\n ...LondonQuoteFragment\n }\n }\n londonFixEUR: GetLondonFixByYearV3(currency: "EUR", year: $year) {\n ID\n currency\n results {\n ...LondonQuoteFragment\n }\n }\n londonFixGBP: GetLondonFixByYearV3(currency: "GBP", year: $year) {\n ID\n currency\n results {\n ...LondonQuoteFragment\n }\n }\n }\n ']);return f=function(){return n},n}function P(){let n=(0,r._)(["\n ","\n query LondonFixDynamic(\n $currency: String!\n $startTime: Int!\n $endTime: Int!\n ) {\n GetL
1ondonFixV3(\n currency: $currency\n startTime: $startTime\n endTime: $endTime\n ) {\n ID\n currency\n results {\n ...LondonQuoteFragment\n }\n }\n }\n "]);return P=function(){return n},n}function M(){let n=(0,r._)(["\n ","\n query LondonFixByYear($year: String!, $currency: String!) {\n GetLondonFixByYearV3(year: $year, currency: $currency) {\n ID\n currency\n results {\n ...LondonQuoteFragment\n }\n }\n }\n "]);return M=function(){return n},n}function G(){let n=(0,r._)(["\n ","\n query LondonFixAndShanghaiFix(\n $currency: String!\n $yesterday: Int!\n $today: Int!\n $symbol: String!\n ) {\n londonFix: GetLondonFixV3(\n currency: $currency\n startTime: $yesterday\n endTime: $today\n limit: 1\n ) {\n ID\n currency\n startTime\n endTime\n results {\n ...LondonQuoteFragment\n }\n }\n shanghaiFix: GetShanghaiFixV3(\n currency: $currency\n timestamp: $yesterday\n symbol: $symbol\n ) {\n ID\n currency\n symbol\n results {\n ID\n timestamp\n am\n pm\n }\n }\n }\n "]);return G=function(){return n},n}function I(){let n=(0,r._)(["\n ","\n ",'\n query SilverPGM($currency: String!, $timestamp: Int) {\n silver: GetMetalQuoteV3(\n symbol: "AG"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n platinum: GetMetalQuoteV3(\n symbol: "PT"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n palladium: GetMetalQuoteV3(\n symbol: "PD"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n\n rhodium: GetMetalQuoteV3(\n symbol: "RH"\n timestamp: $timestamp\n currency: $currency\n ) {\n ...MetalFragment\n }\n }\n ']);return I=function(){return n},n}function S(){let n=(0,r._)(["\n query MetalMonthAnnual(\n $symbol: String!\n $currency: String!\n $timestamp: Int!\n ) {\n GetHistoricalPointsV3(\n symbol: $symbol\n currency: $currency\n timestamp: $timestamp\n ) {\n thirtyDay {\n ID\n change\n changePercentage\n }\n sixtyDay {\n ID\n change\n changePercentage\n }\n oneYear {\n ID\n change\n changePercentage\n }\n fiveYear {\n ID\n change\n changePercentage\n }\n }\n }\n "]);return S=function(){return n},n}function V(){let n=(0,r._)(["\n ","\n ",'\n query GoldRatios($timestamp: Int!) {\n gold: GetMetalQuoteV3(\n symbol: "AU"\n currency: "USD"\n timestamp: $timestamp\n ) {\n ...MetalFragment\n }\n silver: GetMetalQuoteV3(\n symbol: "AG"\n currency: "USD"\n timestamp: $timestamp\n ) {\n ...MetalFragment\n }\n palladium: GetMetalQuoteV3(\n symbol: "PD"\n currency: "USD"\n timestamp: $timestamp\n ) {\n ...MetalFragment\n }\n platinum: GetMetalQuoteV3(\n symbol: "PT"\n currency: "USD"\n timestamp: $timestamp\n ) {\n ...MetalFragment\n }\n\n # DISABLED: Barchart integration removed\n # quotes: GetBarchartQuotes(\n # symbols: $symbols\n # timestamp: $timestamp\n # ) {\n # timestamp\n # symbols\n # results {\n # lastPrice\n # name\n # serverTimestamp\n # symbol\n # }\n # }\n\n # crudeOil: GetBarchartFuturesByExchange(\n # exchange: "NYMEX"\n # category: "Energies"\n # ) {\n # timestamp\n # exchange\n # results {\n # name\n # lastPrice\n # netChange\n # symbol\n # }\n # }\n }\n ']);return V=function(){return n},n}function w(){let n=(0,r._)(["\n query ExchangeRatesTableQuery {\n GetLiveSpotGoldTableV3 {\n ID\n Symbol\n Table {\n Currency\n Rate {\n CurrencyToUsd\n UsdToCurrency\n ChangePercent\n NYTime\n }\n Gold {\n Price\n Change\n ChangePercent\n }\n }\n }\n }\n "]);return w=function(){return n},n}let D={metalQuote:n=>({...n.options,refetchInterval:l.zP,queryKey:["metalQuote",null==n?void 0:n.variables],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(u(),o.aj,o.b2),n.variables)}),allMetalsQuote:n=>({...n.options,refetchInterval:l.zP,queryKey:[n.variables.currency,"allMetalsQuote"],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(c(),o.aj,o.b2),n.variables)}),goldSilverPlatinumPalladium:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["goldSilverPlatinumPalladium",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(m(),o.aj,o.b2),n.variables)}},baseMetals:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["baseMetals",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(y(),o.aj,o.b2),n.variables)}},metalPointsInTime:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["metalPointsInTime",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(d(),o.aj,o.b2),n.variables)}},metalHistory:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["metalHistory",e],queryFn:async()=>
1await s.P.pricesFetch((0,a.Ps)(p(),o.b2),n.variables)}},getKitcoFixPMV3:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["getKitcoFixPMV3",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(b(),o.b2),n.variables)}},nivoChartData:n=>({...n.options,refetchInterval:l.zP,retry:3,retryDelay:1e3,queryKey:["nivoChartData",n.variables],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(h(),o.b2),n.variables)}),nivoChartData30Days:n=>({...n.options,refetchInterval:l.zP,retry:3,retryDelay:1e3,queryKey:["nivoChartData30Days",n.variables],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(F(),o.b2),n.variables)}),metalAndCurrencies:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["metalAndCurrencies",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(g(),o.sK),n.variables)}},currencies:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["Currencies",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(x(),o.sK),n.variables)}},shanghaiFix:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["shanghaiFix",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(v()),n.variables)}},shanghaiFixByYear:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["shanghaiFix",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)($()),n.variables)}},londonFix:n=>({...n.options,refetchInterval:l.zP,queryKey:["londonFix",null==n?void 0:n.variables],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(f(),o.MS),n.variables)}),londonFixDynamic:n=>({...n.options,refetchInterval:l.zP,queryKey:["londonFixDynamic",n.variables],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(P(),o.MS),n.variables)}),londonFixByYear:n=>({...n.options,refetchInterval:l.zP,queryKey:["londonFixByYear",n.variables],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(M(),o.MS),n.variables)}),londonFixAndShanghaiFix:n=>({...n.options,refetchInterval:l.zP,queryKey:["londonFixAndShanghaiFix",n.variables],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(G(),o.MS),n.variables)}),silverPGM:n=>{let e=i(n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["silverPGM",e],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(I(),o.aj,o.b2),n.variables)}},metalMonthAnnual:n=>({...n.options,refetchInterval:l.zP,queryKey:["metalMonthAnnual",null==n?void 0:n.variables],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(S()),n.variables)}),goldRatios:n=>{let e=i(null==n?void 0:n.variables);return{...n.options,refetchInterval:l.zP,queryKey:["goldRatios",null!=e?e:""],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(V(),o.aj,o.b2),n.variables)}},exchangeRatesTable:n=>({...null==n?void 0:n.options,refetchInterval:l.zP,queryKey:["exchangeRatesTable"],queryFn:async()=>await s.P.pricesFetch((0,a.Ps)(w()),null==n?void 0:n.variables)})}},5409:function(n,e,t){"use strict";t.d(e,{Vk:function(){return m},zP:function(){return d}});var r=t(27484),a=t.n(r),s=t(66607),i=t.n(s),l=t(29387),o=t.n(l),u=t(70178),c=t.n(u);a().extend(c()),a().extend(o()),a().extend(i());let m=()=>(function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,e=a()(),t=e.second();return e.second(Math.floor(t/n)*n).millisecond(0).unix()})(),y=()=>{let n=a()().tz("America/New_York");if(0===n.day()){let e=n.clone().set("hour",17).set("minute",0).set("second",0).set("millisecond",0);n.isBefore(e)&&(n=n.subtract(1,"day"))}let e=n.startOf("week").add(5,"day").set("hour",17),t=e.add(2,"day").set("hour",17);return{weekendStart:e,weekendEnd:t,isWeekend:n.isBetween(e,t,null,"[]")}},d=()=>!y().isWeekend&&3e4},27357:function(n){n.exports={loading:"ArticleTileMini_loading___ATME",articleContainer:"ArticleTileMini_articleContainer__3T9VY",pulse:"ArticleTileMini_pulse__5KTQM"}},49486:function(n){n.exports={buttonSwitchGrid:"LatestArticlesSidebarButtonSwitch_buttonSwitchGrid__zv5KU",buttonActive:"LatestArticlesSidebarButtonSwitch_buttonActive__asVaF",pulse:"LatestArticlesSidebarButtonSwitch_pulse__HjUT1"}}}]);
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.