1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[119],{39393:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/investment/funds",function(){return l(22663)}])},53400:function(e,t){"use strict";t.Z={src:"/_next/static/media/arrow-down.697faf41.png",height:24,width:24,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAElBMVEUeIicAAAAAAABMaXEeIiYAAAB9ZQl3AAAABnRSTlMpAgEAxAO65iSaAAAACXBIWXMAAAsTAAALEwEAmpwYAAAALUlEQVR4nBWLsREAMBCCUD77r5yzoAKw0VS0bRXBgRwcErnD4Jt4i9ONqIn6ARNWAI2SQRX1AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},65874:function(e,t){"use strict";t.Z={src:"/_next/static/media/arrow-up.e97284f3.svg",height:24,width:24,blurWidth:0,blurHeight:0}},57637:function(e,t){"use strict";t.Z={src:"/_next/static/media/chartArrowDown.3b112846.svg",height:20,width:21,blurWidth:0,blurHeight:0}},60866:function(e,t){"use strict";t.Z={src:"/_next/static/media/chartArrowTop.914f5e7c.svg",height:20,width:21,blurWidth:0,blurHeight:0}},49584:function(e,t){"use strict";t.Z={src:"/_next/static/media/box.78406afe.png",height:20,width:20,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEVMaXH////////////////////////////////////Z6AnKAAAACnRSTlMAUVo/Yh8lD6RoPnpRXAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADNJREFUeJwVy8cRwDAMBLG9QErqv2GP8Qcw7gKosxbkHjg3KJUaoaVlRUSCA3Zt/21eBz4YFgCl1RVNuQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},42860:function(e,t){"use strict";t.Z={src:"/_next/static/media/chart.49c48c7e.png",height:20,width:21,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEX///////////////9MaXH////////////jNUl5AAAACHRSTlMRXyQ+ADtWOLya87AAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAySURBVHicRcvBDcAADMJAQwLZf+NK7aNvn9mRpFsiAA1iYS1qJ3apczfun6YvDt8++wAWQQCez9eMjgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},99155:function(e,t){"use strict";t.Z={src:"/_next/static/media/index-chart.0a08d375.png",height:24,width:25,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEVMaXEu7f0s6/0u6fst6vsu6Pot6fwu6fou6vvP7RIgAAAACXRSTlMAEho9TF+KcCtX/M5YAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMElEQVR4nDXJxw0AMBACQcKF/ju2sGVeqwH4kwFVouDmFTVDnPKEtO8BZ9vlFCkRBw9+AH87FH28AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},54450:function(e,t){"use strict";t.Z={src:"/_next/static/media/moneys.4376a492.png",height:20,width:21,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAIVBMVEX///////////////9MaXH////////////////////////reVcBAAAAC3RSTlNdRh5rAHctEgE0li73glwAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA2SURBVHicHcq5EcAwEAOxJe+V+i9YY0dIQLq7vctBEkrowXMFVVREwBnsz/oPpG5UIDbHtvMBICQA2PJ/HmIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},96264:function(e,t,l){"use strict";l.d(t,{Z:function(){return n}});var s=l(85893),i=l(9008),a=l.n(i),n=e=>{let{children:t,description:l="",title:i="",mainTitle:n="گرÙÙ Ù
اÙÛ ÙÛØ±ÙزÙ"}=e;return(0,s.jsxs)(a(),{children:[(0,s.jsx)("title",{children:"".concat(n," - ").concat(i)}),(0,s.jsx)("meta",{name:"description",content:l}),t]})}},77767:function(e,t,l){"use strict";l.d(t,{Z:function(){return o}});var s=l(85893),i=l(67294),a=l(25675),n=l.n(a),r=l(65874),c=l(53400);function o(e){let{faqs:t=[]}=e,[l,a]=(0,i.useState)(null==t?void 0:t[0].question),o=e=>{a(e)};return(0,s.jsx)("div",{className:"lg:bg-portfolio-pattern1-background lg:bg-contain lg:bg-fixed lg:bg-left lg:bg-no-repeat",children:(0,s.jsxs)("div",{className:"container pb-28 pt-32",children:[(0,s.jsx)("h3",{className:"mb-4 pb-4 text-3xl text-gray-4",children:"Ø³ÙØ§Ùات Ù
تداÙÙ"}),t.map(e=>(0,s.jsxs)("div",{className:"mb-4 rounded-lg border border-gray-7 p-4",onClick:()=>o(e.question),children:[(0,s.jsxs)("div",{className:"flex cursor-pointer items-center justify-between",children:[(0,s.jsx)("div",{className:"text-gra-4 text-lg",children:e.question}),(0,s.jsx)(n(),{unoptimized:!0,src:l===e.question?r.Z:c.Z,width:20,height:20,alt:"icon"})]}),(0,s.jsx)("div",{className:"overflow-hidden leading-8 text-gray-0 transition-all duration-500 ".concat(l===e.question?"h-auto pt-8":"h-0"),
1children:e.answer})]},e.question))]})})}},8348:function(e,t,l){"use strict";l.d(t,{Z:function(){return b}});var s=l(67294),i=l(93967),a=l.n(i),n=l(17399),r=l(18294),c=l(43377),o=l(95769),d=l(52317),x=l(88494);let m=e=>{let{componentCls:t,margin:l,marginXS:s,marginXL:i,fontSize:a,lineHeight:n}=e;return{[t]:{marginInline:s,fontSize:a,lineHeight:n,textAlign:"center",["".concat(t,"-image")]:{height:e.emptyImgHeight,marginBottom:s,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-footer")]:{marginTop:l},"&-normal":{marginBlock:i,color:e.colorTextDescription,["".concat(t,"-description")]:{color:e.colorTextDescription},["".concat(t,"-image")]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:s,color:e.colorTextDescription,["".concat(t,"-image")]:{height:e.emptyImgHeightSM}}}}};var h=(0,d.I$)("Empty",e=>{let{componentCls:t,controlHeightLG:l,calc:s}=e;return m((0,x.IX)(e,{emptyImgCls:"".concat(t,"-img"),emptyImgHeight:s(l).mul(2.5).equal(),emptyImgHeightMD:l,emptyImgHeightSM:s(l).mul(.875).equal()}))}),u=function(e,t){var l={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&0>t.indexOf(s)&&(l[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,s=Object.getOwnPropertySymbols(e);i<s.length;i++)0>t.indexOf(s[i])&&Object.prototype.propertyIsEnumerable.call(e,s[i])&&(l[s[i]]=e[s[i]]);return l};let A=s.createElement(()=>{let[,e]=(0,o.ZP)(),[t]=(0,r.Z)("Empty"),l=new c.t(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return s.createElement("svg",{style:l,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},s.createElement("title",null,(null==t?void 0:t.description)||"Empty"),s.createElement("g",{fill:"none",fillRule:"evenodd"},s.createElement("g",{transform:"translate(24 31.67)"},s.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),s.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),s.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),s.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),s.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),s.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),s.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},s.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),s.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),p=s.createElement(()=>{let[,e]=(0,o.ZP)(),[t]=(0,r.Z)("Empty"),{colorFill:l,colorFillTertiary:i,colorFillQuaternary:a,colorBgContainer:n}=e,{borderColor:d,shadowColor:x,contentColor:m}=(0,s.useMemo)(()=>({borderColor:new c.t(l).onBackground(n).toHexString(),shadowColor:new c.t(i).onBackground(n).toHexString(),contentColor:new c.t(a).onBackground(n).toHexString()}),[l,i,a,n]);return s.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},s.createElement("title",null,(null==t?void 0:t.description)||"Empty"),s.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},s.createElement("ellipse",{fill:x,cx:"32",cy:"33",rx:"32",ry:"7"}),s.createElement("g",{fillRule:"nonzero",stroke:d},s.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),s.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:m}))))},null),g=e=>{var t;let{className:l,rootClassName:i,prefixCls:c,image:o,description:d,children:x,imageStyle:m,style:g,classNames:b,styles:f}=e,v=u(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:j,direction:w,className:N,style:y,classNames:E,styles:C,image:S}=(0,n.dj)("empty"),O=j("empty",c),[M,z,_]=h(O),[F]=(0,r.Z)("Empty"),R=void 0!==d?d:null==F?void 0:F.description,B=null!==(t=null!=o?o:S)&&void 0!==t?t:A,H=null;return H="string"==typeof B?s.createElement("img",{draggable:!1,alt:"string"==typeof R?R:"empty",src:B}
1):B,M(s.createElement("div",Object.assign({className:a()(z,_,O,N,{["".concat(O,"-normal")]:B===p,["".concat(O,"-rtl")]:"rtl"===w},l,i,E.root,null==b?void 0:b.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},C.root),y),null==f?void 0:f.root),g)},v),s.createElement("div",{className:a()("".concat(O,"-image"),E.image,null==b?void 0:b.image),style:Object.assign(Object.assign(Object.assign({},m),C.image),null==f?void 0:f.image)},H),R&&s.createElement("div",{className:a()("".concat(O,"-description"),E.description,null==b?void 0:b.description),style:Object.assign(Object.assign({},C.description),null==f?void 0:f.description)},R),x&&s.createElement("div",{className:a()("".concat(O,"-footer"),E.footer,null==b?void 0:b.footer),style:Object.assign(Object.assign({},C.footer),null==f?void 0:f.footer)},x)))};g.PRESENTED_IMAGE_DEFAULT=A,g.PRESENTED_IMAGE_SIMPLE=p;var b=g},22663:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return G},default:function(){return q}});var s=l(85893),i=l(77767),a=l(31990),n=l(99155),r=l(24461),c=l(68781),o=l(42860),d=l(49584),x=l(54450),m=l(67294),h=l(97857),u=l(8348),A=l(25675),p=l.n(A),g=l(48797),b={src:"/_next/static/media/support.0b5e30d7.svg",height:15,width:20,blurWidth:0,blurHeight:0},f=l(41539),v=l(23148),j=l(26495),w=l(41664),N=l.n(w),y=l(57637),E=l(60866),C=l(48462),S={src:"/_next/static/media/check.5fa8087a.svg",height:24,width:24,blurWidth:0,blurHeight:0},O={src:"/_next/static/media/arrow-left-medium.8c82d741.svg",height:21,width:20,blurWidth:0,blurHeight:0},M=l(70851);let z=["12196-1","11808","10789","11308","11726","12286","12286-1","12286-2"],_=["12196","11518","12180"],F=["12039"],R=["12358"];v.kL.register(v.uw,v.f$,v.od,v.jn,v.Dx,v.u,v.Gu,v.De,v.ST);let B={responsive:!0,elements:{line:{tension:.5,borderWidth:1},point:{pointStyle:!1}},scales:{y:{display:!1},x:{display:!1}},plugins:{legend:{display:!1},tooltip:{enabled:!1},scales:{display:!1},title:{display:!1},xAxis:{display:!1},yAxis:{display:!1}}};function H(e){var t;let{data:l,marketAssets:i}=e,[a,n]=(0,m.useState)({datasets:[]}),{caption:r,chart:c,daily_return:o,fund_icon:d,fund_name:x,aum:h,ds_code:u,annual_return:A,semi_yearly:g,quarter_return:b,monthly_return:v,overall_return:w}=l,H=A||g||b||v||o||w,V=A?"بازدÙÛ Ø³Ø§ÙÛØ§ÙÙ":g?"بازدÙÛ Ø´Ø´ Ù
اÙÙ":b?"بازدÙÛ Ø³Ù Ù
اÙÙ":v?"بازدÙÛ Ù
Ø§ÙØ§ÙÙ":o?"بازدÙÛ Ø±ÙØ²Ø§ÙÙ":"بازدÙÛ Ú©ÙÛ",k=(0,m.useRef)(null),Z={datasets:[{data:[]}]},I=[];null==c||c.map(e=>{Z.datasets[0].data.push(+e.final_price),I.push(e.jdate)});let D=+H>0,U=(0,M.aG)(h),T=null===(t=(0,C.UB)(l,i,l.ds_code))||void 0===t?void 0:t.value,L=_.includes(u)?"باÙÚ©":z.includes(u)?"شاخص":F.includes(u)?"Ø¯ÙØ§Ø±":R.includes(u)?"Ø·ÙØ§ 24 Ø¹ÛØ§Ø±":"---",G=A?null==T?void 0:T.yearly:g?null==T?void 0:T.semi_annual:b?null==T?void 0:T.quarterly:null==T?void 0:T.monthly;return(0,m.useEffect)(()=>{let e=k.current;e&&n({labels:I,datasets:Z.datasets.map(t=>({data:t.data,fill:!0,PointElement:!1,backgroundColor:function(e,t){let l=e.createLinearGradient(0,t.top,0,t.bottom);return D?(l.addColorStop(0,"rgba(0, 166, 147, 0.1)"),l.addColorStop(1,"rgba(0, 166, 147, 0)")):(l.addColorStop(0,"rgba(229, 27, 73, 0.1)"),l.addColorStop(1,"rgba(229, 27, 73, 0)")),l}(e.ctx,e.chartArea),borderColor:D?"rgba(0, 166, 147, 1)":"rgba(229, 27, 73, 1)"}))})},[]),(0,C.jN)(u)&&(0,s.jsx)(N(),{href:"/investment/funds/".concat((0,C.jN)(u)),children:(0,s.jsxs)("div",{className:"mb-10 flex cursor-pointer flex-col rounded-xl border border-gray-4-light bg-gray-13 xl:h-[262px] xl:w-full xl:flex-row xl:items-center xl:justify-between xl:gap-[54px]",children:[(0,s.jsxs)("div",{className:"rounded-xl bg-white xl:h-full xl:min-w-[400px]",children:[(0,s.jsxs)("div",{className:"mb-8 flex items-center gap-6 px-8 pt-8 md:pl-[32px] md:pr-[32px] md:pt-[52px]",children:[(0,s.jsx)("div",{className:"relative h-[32px] w-[32px] overflow-hidden rounded-lg md:h-[86px] md:w-[86px]",children:(0,s.jsx)(p(),{unoptimized:!0,src:d,width:86,height:86,alt:"firouzeh_fund"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"mb-3 text-xl font-normal text-gray-4 md:text-24px",children:x}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"rounded-[4px] bg-blue-7 pb-2 pl-3 pr-3 pt-2 text-xs text-blue-0 md:text-sm",children:f.nQ[l.fund_type]}),(0,s.jsx)("span",{className:"rounded-[4px] bg-blue-7 pb-2 pl-3 pr-3 pt-2 text-xs text-blue-0 md:text-sm",children:f.eR[l.risk_type]})]})]})]}),r&&(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"flex items-center gap-2 px-8 pb-4 md:px-[55px] md:pb-[52px]",children:[(0,s.jsx)("span",{className:"text-xl font-semibold text-turquoise-1",children:(0,s.jsx)(p(),{unoptimized:!0,src:S,width:24,height:24,alt:"check"})}),(0,s.jsx)("span",{className:"text-xl font-semibold text-turquoise-1",children:"با Ø³ÙØ¯ Ø¯ÙØ±ÙâØ§Û Ù
Ø§ÙØ§ÙÙ"})]})})]}),(0,s.jsxs)("div",{className:"xl:min-w-[376px]",children:[(0,s.jsxs)("div",{className:"hidden items-center justify-between xl:flex",children:[(0,s.jsx)("span",{className:"text-sm text-gray-4 md:text-base",children:"داراÛÛ ØªØØª Ù
Ø¯ÛØ±Ûت:"}),(0,s.jsx)("span",{className:"text-base font-bold text-gray-4 md:text-xl",children:U})]}),(0,s.jsxs)("div",{className:"mx-8 mt-8 flex items-center rounded-md border border-gray-7 bg-white xl:mx-0",children:[(0,s.jsxs)("div",{className:"w-1/2 border-l-[1px] px-3 py-2 md:px-4 md:py-6",children:[(0,s.jsxs)("div",{className:"pb-3 text-xs text-gray-4",children:[V," ØµÙØ¯ÙÙ:"]}),(0,s.jsxs)("div",{className:"flex w-[130px] items-center text-gray-4",children:[(0,s.jsxs)("div",{className:"pl-2 text-sm font-bold text-gray-4 md:text-xl ".concat(D?"text-grow-green":"text-red-0"),children:[(0,s.jsx)("span",{children:"Ùª"}),(0,s.jsx)("span",{dir:"ltr",children:(0,M.eq)(H)})]}),D?(0,s.jsx)(p(),{unoptimized:!0,src:E.Z,width:20,height:20,alt:"arrow"}):(0,s.jsx)(p(),{unoptimized:!0,src:y.Z,width:20,height:20,alt:"arrow"})]})]}),(0,s.jsxs)("div",{className:"w-1/2 px-3 py-2 md:px-4 md:py-6",children:[(0,s.jsx)("div",{className:"pb-3 text-xs text-gray-4",children:"".concat(V," ").concat(L)}),(0,s.jsxs)("div",{className:"flex items-center text-gray-4",children:[(0,s.jsxs)("span",{className:"pl-2 text-sm font-bold text-gray-4 md:text-xl ".concat(G>0?"text-grow-green":G<0?"text-red-0":"text-gray-4"),children:[(0,s.jsx)("span",{children:"Ùª"}),(0,s.jsxs)("span",{dir:"ltr",children:[(0,M.eq)(G||0)," "]})]}),(0,s.jsx)("span",{className:"text-sm font-bold md:text-xl ".concat(G>0?"text-grow-green":G<0?"text-red-0":"text-gray-4"),children:G>0?(0,s.jsx)(p(),{unoptimized:!0,src:E.Z,width:20,height:20,alt:"arrow"}):G>0?(0,s.jsx)(p(),{unoptimized:!0,src:y.Z,width:20,height:20,alt:"arrow"}):""})]})]})]})]}),(0,s.jsxs)("div",{className:"px-8 py-8 pl-[40px] xl:py-0 xl:pb-0",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between xl:block",children:[(0,s.jsxs)("div",{className:"items-center justify-between xl:hidden",children:[(0,s.jsx)("div",{className:"text-base text-gray-4",children:"داراÛÛ ØªØØª Ù
Ø¯ÛØ±Ûت:"}),(0,s.jsxs)("div",{className:"pt-2 text-xl font-bold text-gray-4",children:[U," "]})]}),(0,s.jsx)("div",{className:"relative w-[90px] md:w-[204px]",children:(0,s.jsx)(j.kL,{data:a,options:B,type:"line",ref:k})})]}),(0,s.jsxs)("div",{className:"mt-8 flex items-center rounded-lg bg-gray-4 px-4 py-2 text-base text-white",children:[(0,s.jsx)("span",{className:"flex-grow",children:"Ù
Ø´Ø§ÙØ¯Ù ØµÙØ¯ÙÙ"}),(0,s.jsx)("span",{children:(0,s.jsx)(p(),{unoptimized:!0,src:O,width:20,height:20,alt:"arrow"})})]})]})]})})}let V=["12180","12196-1","11518"],k=["11308","11726","11808"];function Z(e){let{funds:t,marketAssets:l}=e,[i,a]=(0,m.useState)(!1),n={Favor:{title:f.Nz.Favor,list:[],show:!0},Gold:{title:f.Nz.Gold,list:[],show:!0},JointStock:{title:f.Nz.JointStock,list:[],show:!0},NON_ETF:{title:f.Nz.NON_ETF,list:[],show:!0},FixedIncome:{title:f.Nz.FixedIncome,list:[],show:!0},Sector:{title:f.Nz.Sector,list:[],show:!0},Other:{title:f.Nz.Other,list:[],show:!0}}
1,r=(t.forEach(e=>{e.fund_type===f.Vi.JOINT_STOCK&&n.JointStock.list.push(e),"NON_ETF"===e.type&&n.NON_ETF.list.push(e),e.fund_type===f.Vi.FIXED_INCOME&&n.FixedIncome.list.push(e),e.fund_type===f.Vi.GOLD&&n.Gold.list.push(e),e.fund_type===f.Vi.SECTOR&&n.Sector.list.push(e),V.includes(e.ds_code)&&n.Favor.list.push(e),k.includes(e.ds_code)&&n.Other.list.push(e)}),n),[c,o]=(0,m.useState)(r),[d,x]=(0,m.useState)("All"),A=Object.entries(n).map(e=>{let[t,l]=e;return l.title});A.unshift(f.Nz.All);let v=e=>{let t={};x(e),Object.entries(c).map(l=>{let[s,i]=l;s===e||"All"===e?i.show=!0:i.show=!1,t={...t,[s]:{...i}}}),o(t)},j=e=>{e===f.Nz.Favor&&v("Favor"),e===f.Nz.JointStock&&v("JointStock"),e===f.Nz.FixedIncome&&v("FixedIncome"),e===f.Nz.Gold&&v("Gold"),e===f.Nz.Sector&&v("Sector"),e===f.Nz.NON_ETF&&v("NON_ETF"),e===f.Nz.All&&v("All"),e===f.Nz.Other&&v("Other")};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"container pt-16",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between pb-10 md:pb-16",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"pb-4 text-3xl font-normal text-gray-4",children:"ØµÙØ¯ÙÙâÙØ§Û ÙÛØ±ÙزÙ"}),(0,s.jsx)("p",{className:"text-xs font-normal text-gray-2",children:"ØµÙØ¯ÙÙ ÙØ§ Ù Ø³Ø¨Ø¯ÙØ§Û سرÙ
اÛÙ Ú¯Ø°Ø§Ø±ÛØ Ù
ÙØ§Ø³Ø¨ ترÛÙ Ø±ÙØ´ Ø¨Ø±Ø§Û Ú©Ø³Ø§ÙÛ Ú©Ù Ø¯Ø§ÙØ´ کاÙÛ Ø¨Ø±Ø§Û Ø³Ø±Ù
اÛÙ Ú¯Ø°Ø§Ø±Û Ù
ستÙÛÙ
ÙØ¯Ø§Ø±Ùد."})]}),(0,s.jsxs)("div",{className:"hidden md:block",children:[(0,s.jsx)("p",{className:"pb-3 text-center text-sm font-normal text-gray-0",children:"ÙÛØ§Ø² ب٠کÙ
Ú© Ø¯Ø§Ø±ÛØ¯Ø"}),(0,s.jsxs)("div",{className:"flex cursor-pointer items-center gap-1 rounded-lg bg-turquoise-1 pb-3 pl-4 pr-4 pt-3 text-center text-white md:w-[170px]",children:[(0,s.jsx)(p(),{unoptimized:!0,src:b,width:21,height:20,alt:"support"}),(0,s.jsx)("span",{className:"text-base",onClick:()=>{a(!0)},children:"Ù
Ø´Ø§ÙØ±Ù اختصاصÛ"})]})]})]}),(0,s.jsx)("div",{className:"m-auto mb-16 hidden max-w-[1076px] lg:block",children:(0,s.jsx)(h.Z,{block:!0,defaultValue:f.Nz.All,onChange:j,options:A})}),(0,s.jsx)("div",{className:"m-auto mb-16 max-w-[914px] overflow-x-auto pb-5 text-center lg:hidden",children:(0,s.jsx)(h.Z,{defaultValue:f.Nz.All,onChange:j,options:A})}),Object.entries(c).map(e=>{let[t,i]=e;return(0,s.jsxs)("div",{children:[i.show&&"All"===d&&(0,s.jsxs)("div",{className:"my-10 flex items-center gap-3",children:[(0,s.jsx)("span",{className:"h-2 w-2 rounded-full bg-turquoise-0"}),(0,s.jsx)("span",{className:"text-xl text-gray-0",children:i.title})]}),i.list.length&&i.show?i.list.map(e=>(0,s.jsx)(H,{data:e,marketAssets:l})):i.show?(0,s.jsx)(u.Z,{description:"Ø§Ø·ÙØ§Ø¹Ø§ØªÛ Ø¨Ø±Ø§Û ÙÙ
Ø§ÛØ´ ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯"}):""]},t)})]}),(0,s.jsx)(g.Z,{visible:i,onClose:()=>{a(!1)},isForFundUsage:!1,serviceType:"COUNSELLING_FUND"})]})}var I=l(23117);function D(){return(0,s.jsx)("div",{className:"w-full md:container md:w-auto",children:(0,s.jsxs)(N(),{href:"/investment/funds/".concat((0,C.jN)("12180")),children:[(0,s.jsx)("div",{className:"relative mt-[128px] hidden h-[344px] cursor-pointer overflow-hidden rounded-xl md:mt-[160px] md:block",children:(0,s.jsx)("div",{className:"h-[344px] -m-4 relative",children:(0,s.jsx)(I.Z,{src:"funds-referral-desktop.jpg",fill:!0,alt:"Ù¾ÛØ´ÙÙØ§Ø¯ ÙÛØ±ÙزÙ"})})}),(0,s.jsx)("div",{className:"relative mt-[128px] h-[344px] cursor-pointer md:mt-[160px] md:hidden",children:(0,s.jsx)("div",{className:"h-[344px] -m-4 relative",children:(0,s.jsx)(I.Z,{src:"funds-referral-mobile.jpg",fill:!0,alt:"Ù¾ÛØ´ÙÙØ§Ø¯ ÙÛØ±ÙزÙ"})})})]})})}var U=l(76585);function T(e){let{faqs:t,funds:l,marketAssets:m}=e,h=0;l.forEach(e=>h+=e.aum);let u={title:"ØµÙØ¯ÙÙâÙØ§Û ÙÛØ±ÙزÙ",background:"bg-fund-header-background",bullets:[{label:"Ø±ÙØ§Ø¨ØªÛ Ù Ù
ÙØ§Ø³Ø¨ با سÙÛÙÙ Ù
شترÛ",icon:n.Z},{label:"ØªÙØ³ÛÙ
داراÛÛ ÙÙØ´Ù
ÙØ¯",icon:r.Z},{label:"Ù
Ø¯ÛØ±Ûت اختصاصÛ",icon:c.Z}],summary:[{label:"تعداد ØµÙØ¯ÙÙâÙØ§",icon:o.Z,value:l.length.toString()},{label:"ارزش Ú©Ù ØµÙØ¯ÙÙâÙØ§",icon:d.Z,value:(0,M.aG)(h)},{label:"تعداد سرÙ
اÛÙâگذارÛ",icon:x.Z,value:"400ØÛ°Û°Û° +"}]};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.Z,{title:u.title,background:u.background,bullets:u.bullets,summary:u.summary}),(0,s.jsx)(Z,{funds:l,marketAssets:m}),(0,s.jsx)(D,{}),(0,s.jsx)(i.Z,{faqs:t}),(0,s.jsx)(U.Z,{serviceType:"COUNSELLING_FUND"})]})}var L=l(96264),G=!0;function q(e){let{faqs:t,funds:l,marketAssets:i}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(L.Z,{title:"ØµÙØ¯ÙÙâÙØ§",description:"ØµÙØ¯ÙÙâÙØ§Û سرÙ
اÛÙâگذارÛ"}),(0,s.jsx)(T,{funds:l,marketAssets:i,faqs:t})]})}}},function(e){e.O(0,[196,421,857,733,888,774,179],function(){return e(e.s=39393)}),_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.