PageSourceSearch

https://exiraz.com/_next/static/chunks/6679-349ba70642139f64.js

js exiraz.com collected 2026-10-08 01:05:49 UTC 21,530 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6679],{17878:(e,t,r)=>{r.d(t,{G9:()=>i,WD:()=>c,lI:()=>o,ub:()=>l,vv:()=>n,yM:()=>s});var a=r(10625);function l(e){let t=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];return e.toString().replace(/\d/g,e=>t[parseInt(e)])}function i(e){return l(e.toLocaleString("fa-IR"))}function n(e,t="irr"){return l(e.toLocaleString("fa-IR"))+("irr"===t?" ریال":" دلار")}function o(e){let t=new Date(e);return(0,a.GP)(t,"yyyy/MM/dd")}function c(e){if(!e)return"";let t=new Date(e);if(Number.isNaN(t.getTime()))return"";let r=new Intl.DateTimeFormat("fa-IR",{weekday:"long",day:"numeric",month:"long",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts(t),a=e=>r.find(t=>t.type===e)?.value;return`${a("weekday")}، ${a("day")} ${a("month")} ساعت ${a("hour")}:${a("minute")}`}function s(e){return/^[\u0600-\u06FF\u200C\s]+$/.test(e.trim())}},20964:(e,t,r)=>{r.d(t,{c:()=>a});let a=[{id:1,label:"روزانه",range:"1d",chartTypes:["line","candlestick"],intervals:[{label:"1m",value:"1m"},{label:"5m",value:"5m"},{label:"10m",value:"10m"},{label:"15m",value:"15m"},{label:"30m",value:"30m"},{label:"1h",value:"1h"},{label:"4h",value:"4h"}]},{id:2,label:"هفتگی",range:"7d",chartTypes:["line","candlestick"],intervals:[{label:"10m",value:"10m"},{label:"15m",value:"15m"},{label:"30m",value:"30m"},{label:"1h",value:"1h"},{label:"4h",value:"4h"},{label:"1d",value:"1d"}]},{id:3,label:"۱ ماه",range:"1m",chartTypes:["line","candlestick"],intervals:[{label:"1h",value:"1h"},{label:"4h",value:"4h"},{label:"1d",value:"1d"}]},{id:4,label:"۳ ماه",range:"3m",chartTypes:["line","candlestick"],intervals:[{label:"4h",value:"4h"},{label:"1d",value:"1d"}]},{id:5,label:"۶ ماه",range:"6m",chartTypes:["line","candlestick"],intervals:[{label:"4h",value:"4h"},{label:"1d",value:"1d"}]},{id:6,label:"یک سال",range:"1y",chartTypes:["line","candlestick"],intervals:[{label:"1d",value:"1d"}]}]},21669:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(30795),l=r(22459),i=r(38120),n=r(10855);function o({range:e,asset:t}){let[r,c]=(0,l.useState)(!1),s=(0,l.useRef)(null),d=(0,l.useRef)(null),u=(0,l.useRef)(null);async function g(){try{c(!0);let r=await n.u.getAssetChart(t,e);if(!u.current)return;let a=r.chart.map(e=>({time:Math.floor(new Date(e.time).getTime()/1e3),value:e.price}));u.current.setData(a),d.current?.timeScale().fitContent()}finally{c(!1)}}return(0,l.useEffect)(()=>{if(!s.current)return;let e=(0,i.R9)(s.current,{width:s.current.clientWidth,height:400,localization:{priceFormatter:e=>`${(e/10).toLocaleString("fa-IR")}`,timeFormatter:e=>{let t=new Date(1e3*Number(e));return new Intl.DateTimeFormat("fa-IR-u-ca-persian",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(t)}},layout:{background:{color:"#FFFFFF"},textColor:"#808793",fontFamily:"IRANSansXV",fontSize:12},grid:{vertLines:{visible:!1},horzLines:{color:"#F2F2F2"}},rightPriceScale:{borderVisible:!1,scaleMargins:{top:.1,bottom:.1}},timeScale:{borderVisible:!1,timeVisible:!0,secondsVisible:!1,rightOffset:5,barSpacing:8,minBarSpacing:2,tickMarkFormatter:e=>{let t=new Date(1e3*Number(e));return new Intl.DateTimeFormat("fa-IR-u-ca-persian",{timeZone:"Asia/Tehran",month:"2-digit",day:"2-digit"}).format(t)}},crosshair:{vertLine:{color:"#A6A6A6",width:1,style:2},horzLine:{color:"#A6A6A6",width:1,style:2}},handleScroll:{mouseWheel:!0,pressedMouseMove:!0,horzTouchDrag:!0,vertTouchDrag:!0},handleScale:{axisPressedMouseMove:!0,mouseWheel:!0,pinch:!0}}),t=e.addSeries(i.ti,{lineColor:"#FFCB05",lineWidth:2,topColor:"rgba(255, 203, 5, 0.35)",bottomColor:"rgba(255, 203, 5, 0)",priceLineVisible:!0,priceLineColor:"#FFCB05",lastValueVisible:!0});d.current=e,u.current=t;let r=new ResizeObserver(()=>{s.current&&e.applyOptions({width:s.current.clientWidth})});return r.observe(s.current),()=>{r.disconnect(),e.remove(),d.current=null,u.current=null}},[]),(0,l.useEffect)(()=>{g()},[e,t]),(0,a.jsx)("div",{className:"\n                max-w-full\n                bg-white\n                border border-[#F0F0F0]\n                rounded-xl\n                p-4\n            ",children:(0,a.jsxs)("div",{className:"h-[400px] relative",children:[r&&(0,a.jsx)("div",{className:"\n                            absolute\n                            inset-0\n                            z-10\n                            flex\n                            items-center\n                            justify-center\n                            bg-white/70\n                        ",children:"در حال دریافت اطلاعات..."}),(0,a.jsx)("div",{ref:s,className:"w-full h-full"})]})})}function c({interval:e,range:t,asset:r}){let[o,s]=(0,l.useState)(!1),d=(0,l.useRef)(null),u=(0,l.useRef)(null),g=(0,l.useRef)(null);async function m(){try{s(!0);let a=await n.u.getAssetCandleStick(r,t,e);if(!g.current)return;let l=a.candles.map(e=>({time:Math.floor(new Date(e.time).getTime()/1e3),open:e.open,high:e.high,low:e.low,close:e.close}));g.current.setData(l),requestAnimationFrame(()=>{u.current?.timeScale().fitContent(),u.current?.priceScale("right").applyOptions({autoScale:!0})})}finally{s(!1)}}return(0,l.useEffect)(()=>
1{if(!d.current)return;let e=(0,i.R9)(d.current,{width:d.current.clientWidth,height:400,localization:{priceFormatter:e=>`${(e/10).toLocaleString("fa-IR")}`,timeFormatter:e=>{let t=new Date(1e3*Number(e));return new Intl.DateTimeFormat("fa-IR-u-ca-persian",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(t)}},layout:{background:{color:"#FFFFFF"},textColor:"#808793",fontFamily:"IRANSansXV",fontSize:12},grid:{vertLines:{visible:!1},horzLines:{color:"#F2F2F2"}},rightPriceScale:{borderVisible:!1,scaleMargins:{top:.1,bottom:.1}},timeScale:{borderVisible:!1,timeVisible:!0,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*Number(e));return new Intl.DateTimeFormat("fa-IR-u-ca-persian",{timeZone:"Asia/Tehran",month:"2-digit",day:"2-digit"}).format(t)}},crosshair:{vertLine:{visible:!0},horzLine:{visible:!0}}}),t=e.addSeries(i.HD,{upColor:"#26a69a",downColor:"#ef5350",borderVisible:!1,wickUpColor:"#26a69a",wickDownColor:"#ef5350"});u.current=e,g.current=t;let r=new ResizeObserver(()=>{d.current&&e.applyOptions({width:d.current.clientWidth})});return r.observe(d.current),()=>{r.disconnect(),e.remove(),u.current=null,g.current=null}},[]),(0,l.useEffect)(()=>{m()},[e,t,r]),(0,a.jsx)("div",{className:"max-w-full bg-white border border-[#F0F0F0] rounded-xl p-4",children:(0,a.jsxs)("div",{className:"h-[400px] relative",children:[o&&(0,a.jsx)("div",{className:"absolute inset-0 z-10 flex items-center justify-center bg-white/70",children:"در حال دریافت اطلاعات..."}),(0,a.jsx)("div",{ref:d,className:"h-full w-full"})]})})}function s({chartType:e="line",interval:t,range:r,asset:l}){return"line"===e?(0,a.jsx)(o,{range:r,asset:l}):"candlestick"===e?(0,a.jsx)(c,{interval:t,range:r,asset:l}):void 0}},22051:(e,t,r)=>{r.d(t,{A:()=>c});var a=r(30795),l=r(22459),i=r(76332),n=r(20964),o=r(21669);function c(){let[e,t]=(0,l.useState)(n.c[1]),[r,c]=(0,l.useState)(n.c[1].intervals[0]),s=e=>{u(e);let r=n.c.find(t=>t.chartTypes.includes(e));r&&(t(r),c(r.intervals[0]))},[d,u]=(0,l.useState)("line");return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("div",{className:"flex flex-wrap items-center justify-end gap-4",children:(0,a.jsxs)("div",{className:"flex flex-wrap gap-8 mt-4 md:mt-0",children:[(0,a.jsxs)("div",{className:"flex gap-2 overflow-hidden rounded-full border border-zinc-200 bg-[#E9E9E9] p-1",children:[(0,a.jsx)("button",{onClick:()=>s("line"),className:(0,i.A)("cursor-pointer rounded-full px-2 py-1 transition","line"===d?"bg-white":""),children:(0,a.jsx)("img",{src:"/svg/chart-3.svg",alt:"",width:20,height:20})}),(0,a.jsx)("button",{onClick:()=>s("candlestick"),className:(0,i.A)("cursor-pointer rounded-full px-2 py-1 transition","candlestick"===d?"bg-white":"bg-transparent"),children:(0,a.jsx)("img",{src:"/svg/candlestick.svg",alt:"",width:20,height:20})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:n.c.filter(e=>e.chartTypes.includes(d)).map(r=>(0,a.jsx)("button",{onClick:()=>{t(r),c(r.intervals.at(-1))},className:(0,i.A)("cursor-pointer rounded-full border px-2 md:px-4 py-2 text-sm transition",r.id===e.id?"bg-black text-white border-none":"border-zinc-200 bg-white text-zinc-700 hover:bg-zinc-100"),children:r.label},r.id))})]})}),"candlestick"===d&&(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-2 mt-4 justify-start",dir:"ltr",children:e.intervals.map(e=>(0,a.jsx)("button",{onClick:()=>c(e),className:(0,i.A)("cursor-pointer rounded-full border px-3 py-1.5 text-sm transition",e.value===r.value?"border-none bg-black text-white":"border-black/10 bg-white text-zinc-600 hover:bg-zinc-100 "),children:e.label},e.value))})]}),(0,a.jsx)("div",{className:"mt-8",children:(0,a.jsx)(o.A,{asset:"gold18",chartType:d,range:e.range,interval:r.value})})]})}},24105:(e,t,r)=>{r.d(t,{cn:()=>i});var a=r(76332),l=r(72610);function i(...e){return(0,l.QP)((0,a.$)(e))}},25816:(e,t,r)=>{r.d(t,{A:()=>s});var a=r(30795),l=r(22459),i=r(76332),n=r(20964),o=r(21669);let c=[{id:"imami_coin",label:"سکه امامی"},{id:"bahar_azadi_coin",label:"سکه بهار آزادی"},{id:"half_coin",label:"نیم سکه"},{id:"quarter_coin",label:"ربع سکه"},{id:"gram_coin",label:"سکه گرمی"}];function s(){let[e,t]=(0,l.useState)(c[0]),[r,s]=(0,l.useState)(n.c[1]),[d,u]=(0,l.useState)(n.c[1].intervals[0]),[g,m]=(0,l.useState)("line");return(0,a.jsxs)("div",{className:"mt-4 md:mt-0",children:[(0,a.jsx)("div",{className:" flex flex-wrap justify-center gap-2 md:gap-3",children:c.map(r=>(0,a.jsx)("button",{onClick:()=>
1t(r),className:(0,i.A)("rounded-full text-sm  p-2 md:px-4 md:py-2 transition cursor-pointer",e.id===r.id?"bg-black text-white":"bg-[#1623400D] text-[#5A6372]"),children:r.label},r.id))}),(0,a.jsxs)("div",{className:"mt-8",children:[(0,a.jsx)("div",{className:"flex flex-wrap items-center justify-end gap-4",children:(0,a.jsxs)("div",{className:"flex flex-wrap gap-8",children:[(0,a.jsxs)("div",{className:"flex gap-2 overflow-hidden rounded-full border border-zinc-200 bg-[#E9E9E9] p-1",children:[(0,a.jsx)("button",{onClick:()=>m("line"),className:(0,i.A)("cursor-pointer rounded-full px-2 py-1 transition","line"===g?"bg-white":""),children:(0,a.jsx)("img",{src:"/svg/chart-3.svg",alt:"",width:20,height:20})}),(0,a.jsx)("button",{onClick:()=>m("candlestick"),className:(0,i.A)("cursor-pointer rounded-full px-2 py-1 transition","candlestick"===g?"bg-white":"bg-transparent"),children:(0,a.jsx)("img",{src:"/svg/candlestick.svg",alt:"",width:20,height:20})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:n.c.filter(e=>e.chartTypes.includes(g)).map(e=>(0,a.jsx)("button",{onClick:()=>{s(e),u(e.intervals.at(-1))},className:(0,i.A)("cursor-pointer rounded-full border px-2 md:px-4 py-2 text-sm transition",e.id===r.id?"bg-black text-black text-white border-none":"border-zinc-200 bg-white text-zinc-700 hover:bg-zinc-100"),children:e.label},e.id))})]})}),"candlestick"===g&&(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-2 mt-4 justify-start",dir:"ltr",children:r.intervals.map(e=>(0,a.jsx)("button",{onClick:()=>u(e),className:(0,i.A)("cursor-pointer rounded-full border px-3 py-1.5 text-sm transition",e.value===d.value?"bg-black text-white border-none":"border-zinc-200 bg-white text-zinc-600 hover:bg-zinc-100"),children:e.label},e.value))})]}),(0,a.jsx)("div",{className:"mt-8",children:(0,a.jsx)(o.A,{asset:e.id,chartType:g,range:r.range,interval:d.value})})]})}},37962:(e,t,r)=>{r.d(t,{DS:()=>m,F5:()=>s,Ij:()=>y,Iy:()=>g,J7:()=>b,Xf:()=>w,ZY:()=>p,_Z:()=>c,aR:()=>_,f8:()=>f,i4:()=>n,i7:()=>k,nn:()=>j,pC:()=>v,s0:()=>u,zH:()=>x});var a=r(84762);function l(e,t={}){if("function"==typeof window.Intk)try{window.Intk("sendEvent",{eventName:e,eventData:t})}catch{}}let i=[["classic-gold-bar","classic"],["iran-map-gold-bar","iran"],["wedding-gold-bars","pievand"],["birthday-gold-bars","tavalod"],["gift-occasion-gold-bars","ghab"],["golden-moments","lahazat"]];function n(e){let t=String(e).toLowerCase(),r=i.find(([e])=>t.includes(e));return r?.[1]}let o={1:1,2:2.5,3:5,4:10,8:20,5:25,6:50,7:100,41:250,123:1,124:2.5,125:5,126:10,130:20,127:25,90:50,128:100,129:250,83:1,86:2.5,84:1,87:2.5,85:1,88:2.5};function c(e){return o[String(e)]}function s(e){return(0,a.U)(e)}function d(){return window.location.href}function u(e,t={}){try{if(!e?.data)return;let r=e.data.user?.full_name?.trim()||[t.name?.trim(),t.family?.trim()].filter(Boolean).join(" ")||void 0,a=(r??"").split(/\s+/).filter(Boolean),i={register_method:"phone",has_referral_code:!!t.referral_code,referral_code:t.referral_code||void 0,user_name:r,first_name:t.name?.trim()||a[0]||void 0,last_name:t.family?.trim()||a.slice(1).join(" ")||void 0};l("INT_login",i),e.data.is_signup&&l("INT_sign_up",i)}catch{}}function g(e){l("INT_profile_completed",{completed_fields:e})}function m(e){l("INT_product_viewed",{product_id:e.product_id,product_line:e.product_line,weight_gram:e.weight_gram,price:e.price,purchase_mode:e.purchase_mode??"cash",url:e.url??d()})}let h={gold24Karat:"gold_24k",gold18Karat:"gold_18k",mithqal:"mithqal",baharAzadiCoin:"bahar_coin",imamiCoin:"imami_coin",gramCoin:"gram_coin",gramCoinBubble:"gram_coin_bubble",quarterCoin:"quarter_coin",quarterCoinBubble:"quarter_coin_bubble",halfCoin:"half_coin",globalOunce:"ounce"};function p(e){return h[e]??e.replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`)}function b(e){l("INT_gold_price_viewed",{viewed_item:e.viewed_item,url:e.url??d()})}function f(e){l("INT_buy_cta_clicked",{cta_source:e.cta_source,purchase_mode:e.purchase_mode??"cash",url:e.url??d()})}function v(e){l("INT_added_to_cart",{product_id:e.product_id,product_line:e.product_line,weight_gram:e.weight_gram,price:e.price,purchase_mode:e.purchase_mode??"cash",url:e.url??d()})}function w(e){l("INT_checkout_started",{cart_value:e.cart_value,item_count:e.item_count,purchase_mode:e.purchase_mode??"cash",discount_code:e.discount_code,url:e.url??d()})}function _(e){l("INT_removed_from_cart",{product_id:e.product_id,product_line:e.product_line,weight_gram:e.weight_gram,price:e.price,purchase_mode:e.purchase_mode??"cash",url:e.url??d()})}function x(e){l("INT_wallet_credit_applied",{applied_amount:e.applied_amount,credit_type:e.credit_type})}function y(e){l("INT_referral_link_shared",{share_method:e.share_method,url:e.url??d()})}function k(e){l("INT_authenticity_checked",{serial:e.serial,check_type:e.check_type,result:e.result,url:e.url??d()})}function j(e){l("INT_buyback_requested",{product_serial:e.product_serial,weight_gram:e.weight_gram,estimated_amount:e.estimated_amount})}},54598:(e,t,r)=>{function a(e,t){{window.dataLayer=window.dataLayer||[];let r={event:e,...t};try{window.dataLayer.push(r)}catch(e){}}}r.r(t),r.d(t,{trackAddToCart:()=>i,trackBeginCheckout:()=>n,trackFirstVisit:()=>u,trackLogin:()=>o,trackPageView:()=>c,trackScroll:()=>g,trackSessionStart:()=>s,trackSignUp:()=>l,trackUserEngagement:()=>d});let l=()=>{a("sign_up",{method:"national_id"})},i=e=>{a("add_to_cart",{currency:"IRR",value:e.price*(e.quantity||1),items:[{item_id:e.id.toString(),item_name:e.name,price:e.price,quantity:e.quantity||1}]})},n=e=>{a("begin_checkout",{currency:e?.currency||"IRR",value:e?.value,items:e?.items})},o=e=>{a("login",{method:e||"button_click"})},c=(e,t)=>{a("page_view",{page_path:e||window.location.pathname,page_title:t||document.title})},s=()=>{a("session_start")},d=e=>{a("user_engagement",{engagement_time_msec:e})},u=()=>{a("first_visit")},g=e=>{a("scroll",{scroll_depth:e})};window.gtmDebug=()=>{let e=window.dataLayer||[];console.group("\uD83D\uDD0D GTM Debug Info"),console.log("✅ dataLayer exists:",!!e),console.log("\uD83D\uDCCA dataLayer length:",e.length),console.log("\uD83C\uDF10 Window object:","✅ Available"),console.log("\uD83D\uDCDC GTM Script loaded:",document.querySelector('script[src*="googletagmanager.com/gtm.js"]')?"✅ Yes":"❌ No"),console.log("\n\uD83D\uDCCB All dataLayer events:"),console.log(e),console.log("\n\uD83D\uDCCA Events by type:");let t={};
1return e.forEach(e=>{e.event&&(t[e.event]=(t[e.event]||0)+1)}),console.table(t),console.log("\n\uD83D\uDED2 add_to_cart events:"),console.table(e.filter(e=>"add_to_cart"===e.event)),console.log("\n\uD83D\uDD10 login events:"),console.table(e.filter(e=>"login"===e.event)),console.log("\n\uD83D\uDCC4 page_view events:"),console.table(e.filter(e=>"page_view"===e.event).slice(-5)),e.length>0&&(console.log("\n\uD83D\uDD04 Last event:"),console.log(e[e.length-1])),console.groupEnd(),e},window.gtmCheck=()=>{console.group("\uD83D\uDD27 GTM Health Check"),console.log("✅","Window object:","Available");let e=!!window.dataLayer;if(console.log(e?"✅":"❌","dataLayer exists:",e),e){let e=window.dataLayer;console.log("   └─ Type:",Array.isArray(e)?"Array ✅":typeof e),console.log("   └─ Length:",e.length)}else console.warn("   ⚠️ dataLayer not found! GTM script might not be loaded.");let t=document.querySelector('head script[src*="googletagmanager.com/gtm.js"]');console.log(t?"✅":"❌","GTM script in <head>:",t?"Found":"Not found");let r=document.querySelector('body noscript iframe[src*="googletagmanager.com"]');console.log(r?"✅":"❌","GTM noscript in <body>:",r?"Found":"Not found"),console.log("\n\uD83C\uDF10 Network Check:"),console.log("   Check Network tab for requests to:"),console.log("   - googletagmanager.com/gtm.js"),console.log("   - googletagmanager.com/collect"),console.log("\n\uD83E\uDDEA Test Push:");try{if(e){let e={event:"test_event",test:!0,timestamp:new Date().toISOString()};window.dataLayer.push(e),console.log("✅ Test event pushed successfully"),console.log("   Event:",e),console.log("   Check dataLayer:",window.dataLayer.slice(-1))}else console.error("❌ Cannot test push - dataLayer not available")}catch(e){console.error("❌ Error pushing test event:",e)}return console.log("\n\uD83D\uDD27 Helper Functions:"),console.log("   window.gtmDebug() -","function"==typeof window.gtmDebug?"✅ Available":"❌ Not available"),console.log("   window.gtmCheck() -","function"==typeof window.gtmCheck?"✅ Available":"❌ Not available"),console.groupEnd(),{hasWindow:!0,hasDataLayer:e,gtmScriptLoaded:!!t,dataLayerLength:e?window.dataLayer.length:0}},window.gtmMonitor=()=>{let e=window.dataLayer.push,t=0;return window.dataLayer.push=function(...r){return t++,console.log(`📤 [GTM Push #${t}]`,r),console.trace("Call stack:"),e.apply(this,r)},console.log("✅ Monitoring enabled. All dataLayer.push() calls will be logged."),console.log("To stop monitoring, refresh the page."),{stop:()=>{window.dataLayer.push=e,console.log("\uD83D\uDED1 Monitoring stopped.")},count:()=>t}}},64638:(e,t,r)=>{r.d(t,{A:()=>c});var a=r(30795),l=r(22459),i=r(76332),n=r(20964),o=r(21669);function c(){let[e,t]=(0,l.useState)(n.c[1]),[r,c]=(0,l.useState)(n.c[1].intervals[0]),[s,d]=(0,l.useState)("line");return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex flex-wrap items-center justify-end gap-4",children:(0,a.jsxs)("div",{className:"flex flex-wrap gap-8 mt-4 w-full justify-between md:mt-0",children:[(0,a.jsxs)("div",{className:"flex gap-2 overflow-hidden rounded-full bg-[#E9E9E9] p-1",children:[(0,a.jsx)("button",{onClick:()=>d("line"),className:(0,i.A)("cursor-pointer rounded-full px-2 py-1 transition","line"===s?"bg-white":""),children:(0,a.jsx)("img",{src:"/svg/chart-3.svg",alt:"",width:20,height:20})}),(0,a.jsx)("button",{onClick:()=>d("candlestick"),className:(0,i.A)("cursor-pointer rounded-lg px-2 py-1 transition","candlestick"===s?"bg-white":"bg-transparent"),children:(0,a.jsx)("img",{src:"/svg/candlestick.svg",alt:"",width:20,height:20})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:n.c.filter(e=>e.chartTypes.includes(s)).map(r=>(0,a.jsx)("button",{onClick:()=>{t(r),c(r.intervals.at(-1))},className:(0,i.A)("cursor-pointer rounded-full border px-2 md:px-4 py-2 text-sm transition",r.id===e.id?"bg-black text-white border-none":"border-zinc-200 bg-white text-zinc-700 hover:bg-zinc-100"),children:r.label},r.id))})]})}),"candlestick"===s&&(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-2 mt-4 justify-start",dir:"ltr",children:e.intervals.map(e=>(0,a.jsx)("button",{onClick:()=>c(e),className:(0,i.A)("cursor-pointer rounded-full border px-3 py-1.5 text-sm transition",e.value===r.value?"border-none bg-black text-white":"border-black/10 bg-white text-zinc-600 hover:bg-zinc-100 "),children:e.label},e.value))})]}),(0,a.jsx)("div",{className:"mt-8",children:(0,a.jsx)(o.A,{asset:"gold24",chartType:s,range:e.range,interval:r.value})})]})}},84762:(e,t,r)=>{r.d(t,{J:()=>i,U:()=>l});let a={1:"classic-gold-bar-1g",2:"classic-gold-bar-2.5g",3:"classic-gold-bar-5g",4:"classic-gold-bar-10g",5:"classic-gold-bar-25g",6:"classic-gold-bar-50g",7:"classic-gold-bar-100g",8:"classic-gold-bar-20g",41:"classic-gold-bar-250g",123:"iran-map-gold-bar-1g",124:"iran-map-gold-bar-2.5g",125:"iran-map-gold-bar-5g",126:"iran-map-gold-bar-10g",130:"iran-map-gold-bar-20g",127:"iran-map-gold-bar-25g",90:"iran-map-gold-bar-50g",128:"iran-map-gold-bar-100g",129:"iran-map-gold-bar-250g",83:"gift-occasion-gold-bars-1g",86:"gift-occasion-gold-bars-2.5g",84:"birthday-gold-bars-1g",87:"birthday-gold-bars-2.5g",85:"wedding-gold-bars-1g",88:"wedding-gold-bars-2.5g"};function l(e){return a[String(e)]||String(e)}function i(e){return`/product/${l(e)}`}}}]);

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.