PageSourceSearch

https://web-asset.kojaro.com/kojaro/3c5ca572/desktop/_next/static/chunks/0gs1cxhn1rp15.js?dpl=3c5ca572-desktop

js kojaro.com collected 2026-10-02 10:42:02 UTC 40,764 bytes, 93 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="51dc4044-d298-a47b-6e71-0bc01e9ec9ce")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,565824,e=>{"use strict";var t=e.i(810008),a=e.i(249690),r=e.i(293773);let i=new Map([["bold",a.createElement(a.Fragment,null,a.createElement("path",{d:"M204.73,51.85A108.07,108.07,0,0,0,20,128v56a28,28,0,0,0,28,28H64a28,28,0,0,0,28-28V144a28,28,0,0,0-28-28H44.84A84.05,84.05,0,0,1,128,44h.64a83.7,83.7,0,0,1,82.52,72H192a28,28,0,0,0-28,28v40a28,28,0,0,0,28,28h16a28,28,0,0,0,28-28V128A107.34,107.34,0,0,0,204.73,51.85ZM64,140a4,4,0,0,1,4,4v40a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V140Zm148,44a4,4,0,0,1-4,4H192a4,4,0,0,1-4-4V144a4,4,0,0,1,4-4h20Z"}))],["duotone",a.createElement(a.Fragment,null,a.createElement("path",{d:"M80,144v40a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V128H64A16,16,0,0,1,80,144Zm112-16a16,16,0,0,0-16,16v40a16,16,0,0,0,16,16h16a16,16,0,0,0,16-16V128Z",opacity:"0.2"}),a.createElement("path",{d:"M201.89,54.66A104.08,104.08,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88,88,0,0,1,128,40h.67a87.71,87.71,0,0,1,87,80H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h16a24,24,0,0,0,24-24V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm152,48a8,8,0,0,1-8,8H192a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24Z"}))],["fill",a.createElement(a.Fragment,null,a.createElement("path",{d:"M232,128v56a24,24,0,0,1-24,24H192a24,24,0,0,1-24-24V144a24,24,0,0,1,24-24h23.65a87.71,87.71,0,0,0-87-80H128a88,88,0,0,0-87.64,80H64a24,24,0,0,1,24,24v40a24,24,0,0,1-24,24H48a24,24,0,0,1-24-24V128A104.11,104.11,0,0,1,201.89,54.66,103.41,103.41,0,0,1,232,128Z"}))],["light",a.createElement(a.Fragment,null,a.createElement("path",{d:"M200.47,56.07A101.37,101.37,0,0,0,128.77,26H128A102,102,0,0,0,26,128v56a22,22,0,0,0,22,22H64a22,22,0,0,0,22-22V144a22,22,0,0,0-22-22H38.2A90.12,90.12,0,0,1,192,64.52,89.41,89.41,0,0,1,217.81,122H192a22,22,0,0,0-22,22v40a22,22,0,0,0,22,22h16a22,22,0,0,0,22-22V128A101.44,101.44,0,0,0,200.47,56.07ZM64,134a10,10,0,0,1,10,10v40a10,10,0,0,1-10,10H48a10,10,0,0,1-10-10V134Zm154,50a10,10,0,0,1-10,10H192a10,10,0,0,1-10-10V144a10,10,0,0,1,10-10h26Z"}))],["regular",a.createElement(a.Fragment,null,a.createElement("path",{d:"M201.89,54.66A103.43,103.43,0,0,0,128.79,24H128A104,104,0,0,0,24,128v56a24,24,0,0,0,24,24H64a24,24,0,0,0,24-24V144a24,24,0,0,0-24-24H40.36A88,88,0,0,1,128,40h.67a87.71,87.71,0,0,1,87,80H192a24,24,0,0,0-24,24v40a24,24,0,0,0,24,24h16a24,24,0,0,0,24-24V128A103.41,103.41,0,0,0,201.89,54.66ZM64,136a8,8,0,0,1,8,8v40a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V136Zm152,48a8,8,0,0,1-8,8H192a8,8,0,0,1-8-8V144a8,8,0,0,1,8-8h24Z"}))],["thin",a.createElement(a.Fragment,null,a.createElement("path",{d:"M199.05,57.48A100.07,100.07,0,0,0,28,128v56a20,20,0,0,0,20,20H64a20,20,0,0,0,20-20V144a20,20,0,0,0-20-20H36.08A92,92,0,0,1,128,36h.7a91.75,91.75,0,0,1,91.22,88H192a20,20,0,0,0-20,20v40a20,20,0,0,0,20,20h16a20,20,0,0,0,20-20V128A99.43,99.43,0,0,0,199.05,57.48ZM64,132a12,12,0,0,1,12,12v40a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V132Zm156,52a12,12,0,0,1-12,12H192a12,12,0,0,1-12-12V144a12,12,0,0,1,12-12h28Z"}))]]),s=a.forwardRef((e,t)=>a.createElement(r.default,{ref:t,...e,weights:i}));s.displayName="HeadphonesIcon";var l=e.i(665780);let n=e=>{let{size:a="md",fill:r="#9696a0",...i}=e;return(0,t.jsx)(s,{...i,size:l.Sizes[a],color:r})};n.displayName="Headphones",e.s(["Headphones",0,n],565824)},895,280897,728556,710022,103725,300471,542016,e=>{"use strict";var t=e.i(810008),a=e.i(560336),r=e.i(982077),i=e.i(125148),s=e.i(935521),l=e.i(57249),n=e.i(586133),o=e.i(553490),c=e.i(979050),d=e.i(662895),u=e.i(141332),p=e.i(846929),x=e.i(889637),m=e.i(326400),h=e.i(643861),f=e.i(405639),g=e.i(231520),b=e.i(425984),j=e.i(612735),y=e.i(534225);let v=e=>{let{cover:a,variant:r="plain",className:i}=e,s=(0,y.formatImageCredit)(a);return s?(0,t.jsx)("p",{className:(0,j.cn)("text-subhead text-grey1 m-0 w-full text-right leading-6","bar"===r?"border-borderPrimary border-b px-4 py-1":"mt-2",i),children:s}):null};e.s(["default",0,v],280897);var w=e.i(249690),C=e.i(665780);let N=e=>{let{size:a="md",...r}=e;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16.29 16.59",fill:"none",...r,width:C.Sizes[a],height:C.Sizes[a],children:[(0,t.jsx)("path",{fill:"url(#gg-a)",d:"M.03 8.32c0 1.3.37 2.65.92 3.73v.01c.4.79.94 1.4 1.56 2.03l3.73-1.4c-.7-.36-.81-.59-1.32-1a5 5 0 0 1-1.14-1.86h-.01a5 5 0 0 1-.17-1.5z"}),(0,t.jsx)("path",{fill:"url(#gg-b)",d:"M8.32.04a6.3 6.3 0 0 0 0 3.36q.63 0 1.22.15c.9.24 1.53.7 1.91 1.08l2.4-2.4A7.7 7.7 0 0 0 8.32.03"}),(0,t.jsx)("path",{fill:"url(#gg-c)",d:"M8.31.03a8.3 8.3 0 0 0-6.24 2.8c-.11 1.03.81 2.32 2.64 2.3A4.8 4.8 0 0 1 8.37 3.4z"}),(0,t.jsx)("path",{fill:"url(#gg-d)",d:"m14.28 8.7-1.61 1.13a3.7 3.7 0 0 1-1.4 2.36c-1.01.79-2.2.95-3.01.95-.85 1.48-1 2.22.06 3.4q1.95 0 3.49-.69a7.2 7.2 0 0 0 3.8-3.94q.63-1.56.64-3.45z"}
2),(0,t.jsx)("path",{fill:"#3086ff",d:"M8.2 6.63v3.38h7.77c.07-.46.3-1.06.3-1.55 0-.58-.06-1.3-.16-1.83z"}),(0,t.jsx)("path",{fill:"url(#gg-e)",d:"M2.1 2.7A8.2 8.2 0 0 0 .04 8.27v.05c.25.49 3.41.4 3.57 0v-.05A5 5 0 0 1 4.77 5.2c.1-.12.34-.38.4-.53.04-.06-.04-.1-.04-.12s-.11 0-.13-.02c-.08-.05-.22-.08-.31-.1-.19-.06-.5-.18-.67-.3-.54-.4-1.4-.86-1.91-1.43"}),(0,t.jsx)("path",{fill:"url(#gg-f)",d:"M4.03 4.56c1.27.78 1.63-.4 2.47-.77L5.04.7a8 8 0 0 0-3.36 2.67z"}),(0,t.jsx)("path",{fill:"url(#gg-g)",d:"M4.55 12.45c-1.7.63-1.97.65-2.12 1.73q.45.45.96.82a8.5 8.5 0 0 0 4.92 1.56v-3.48c-.84 0-1.51-.22-2.2-.62-.17-.1-.48.17-.64.05-.22-.16-.74.14-.92-.06"}),(0,t.jsx)("path",{fill:"url(#gg-h)",d:"M7.32 12.97v3.53a8 8 0 0 0 2 0V13a6 6 0 0 1-2-.03",opacity:.5}),(0,t.jsxs)("defs",{children:[(0,t.jsxs)("radialGradient",{id:"gg-a",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(-92.34 9.79 4.02)scale(8.14501 11.964)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".14",stopColor:"#1abd4d"}),(0,t.jsx)("stop",{offset:".31",stopColor:"#8ac502"}),(0,t.jsx)("stop",{offset:".54",stopColor:"#ebcb03"}),(0,t.jsx)("stop",{offset:".86",stopColor:"#ffce0a"})]}),(0,t.jsxs)("radialGradient",{id:"gg-b",cx:"0",cy:"0",r:"1",gradientTransform:"matrix(5.64645 0 0 7.29208 13.62 4.45)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".41",stopColor:"#fb4e5a"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#ff4540"})]}),(0,t.jsxs)("radialGradient",{id:"gg-c",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(151.02 5.4 .85)scale(9.04344 12.2719)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".23",stopColor:"#ff4541"}),(0,t.jsx)("stop",{offset:".54",stopColor:"#ff473f"}),(0,t.jsx)("stop",{offset:".86",stopColor:"#ff6c29"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#ff8c18"})]}),(0,t.jsxs)("radialGradient",{id:"gg-d",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(232.55 8.04 5.66)scale(23.5921 8.70842)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".13",stopColor:"#0cba65"}),(0,t.jsx)("stop",{offset:".4",stopColor:"#08ad93"}),(0,t.jsx)("stop",{offset:".67",stopColor:"#1893dd"}),(0,t.jsx)("stop",{offset:".86",stopColor:"#3086ff"})]}),(0,t.jsxs)("radialGradient",{id:"gg-e",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(96.62 3.1 4.18)scale(8.80992 12.1812)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".37",stopColor:"#ff4e3a"}),(0,t.jsx)("stop",{offset:".54",stopColor:"#ffa312"}),(0,t.jsx)("stop",{offset:".77",stopColor:"#ffcd0a"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#fdcd01"})]}),(0,t.jsxs)("radialGradient",{id:"gg-f",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(132.12 2.77 2.11)scale(4.37581 12.3422)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".32",stopColor:"#ff4c3c"}),(0,t.jsx)("stop",{offset:".6",stopColor:"#ff692c"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#ff9f13"})]}),(0,t.jsxs)("radialGradient",{id:"gg-g",cx:"0",cy:"0",r:"1",gradientTransform:"rotate(208.98 7.54 7.42)scale(9.04344 12.2719)",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{offset:".23",stopColor:"#0fbc5f"}),(0,t.jsx)("stop",{offset:".54",stopColor:"#12bc58"}),(0,t.jsx)("stop",{offset:".77",stopColor:"#38c02b"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#86c504"})]}),(0,t.jsxs)("linearGradient",{id:"gg-h",x1:"7.32",x2:"9.31",y1:"14.77",y2:"14.77",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#0fbc5c"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#0cba65"})]})]})]})};N.displayName="GoogleColored";var S=e.i(856768),T=e.i(872254),A=e.i(629092);let k="google-follow-variant",H=S.OriginURL,_=`https://www.google.com/preferences/source?q=${encodeURIComponent((H??"").replace(/^https?:\/\//,"").replace(/^www\./,"").replace(/\/.*$/,""))}`,E=({className:e,href:a=_})=>{let[r,i]=(0,w.useState)(null),[s,l]=(0,w.useState)(!1),n=(0,w.useRef)(null),o=(0,w.useRef)(void 0),{tenantPersianTitle:c}=(0,A.useWebKitCustomization)(e=>e);(0,w.useEffect)(()=>{let e,t,a=()=>{let a=(()=>{try{let e=localStorage.getItem(k);return"formal"===e||"informal"===e?e:null}catch{return null}})();if(!a){var r=a=.5>
2Math.random()?"formal":"informal";try{localStorage.setItem(k,r)}catch{}}i(a),e=requestAnimationFrame(()=>{t=requestAnimationFrame(()=>l(!0))}),n.current=a,o.current=setTimeout(()=>{n.current=null,(0,T.onGoogleFollowReveal)(a)},700)},r=()=>{clearTimeout(o.current),void 0!==e&&cancelAnimationFrame(e),void 0!==t&&cancelAnimationFrame(t)};if("requestIdleCallback"in window){let e=requestIdleCallback(a,{timeout:2500});return()=>{cancelIdleCallback(e),r()}}let s=setTimeout(a,800);return()=>{clearTimeout(s),r()}},[]);let d=r&&(0,t.jsx)("span",{className:"block ps-2 text-subhead-bold text-text",children:((e,t)=>{switch(e){case"formal":return`${t} رو به منابع منتخبت در گوگل اضافه کن`;case"informal":return"ما رو توی گوگل بیشتر ببین";default:return""}})(r,c)});return(0,t.jsx)("a",{"aria-label":r?void 0:"ما را در گوگل دنبال کنید",className:(0,j.cn)("relative flex h-8 w-fit items-center justify-center overflow-hidden rounded-full px-4 transition-[scale,background-color] duration-150 ease-out hover:bg-[#ea473a]/10 active:scale-[0.97]","before:pointer-events-none before:absolute before:inset-0 before:rounded-full before:p-[2px] before:content-[''] before:bg-[linear-gradient(90deg,#ffc619_5%,#4c8def_39%,#1ba067_68%,#ea473a_95%)] before:[mask-image:linear-gradient(#fff_0_0),linear-gradient(#fff_0_0)] before:[mask-clip:content-box,border-box] before:[mask-composite:exclude]",e),href:a,onClick:()=>{n.current&&(clearTimeout(o.current),(0,T.onGoogleFollowReveal)(n.current),n.current=null),r&&(0,T.onGoogleFollowClick)(r)},rel:"noopener noreferrer",target:"_blank",children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N,{className:"shrink-0",size:"md"}),(0,t.jsx)("span",{className:(0,j.cn)("grid grid-cols-[0fr] transition-[grid-template-columns] duration-300 ease-[cubic-bezier(0.23,1,0.32,1)] motion-reduce:transition-none",s&&"grid-cols-[1fr]"),children:(0,t.jsx)("span",{className:(0,j.cn)("block overflow-hidden whitespace-nowrap opacity-0 transition-opacity duration-200 ease-out",s&&"opacity-100 delay-100"),children:d})})]})})};e.s(["default",0,E],728556);var z=e.i(95785),M=e.i(247114),F=e.i(538183),I=e.i(288137),V=e.i(113978),$=e.i(495575),P=e.i(451258),U=e.i(490655),L=e.i(259225),B=e.i(375684);let D=e=>{let{videoCover:a}=e,r=(0,z.useOverlayTriggerState)({}),{mutate:i}=(0,P.useVisitVideo)(a.id),{selectedPlayer:s,setSelectedPlayer:l,playerOptions:o}=(0,$.useVideoSource)({initialVideo:a}),[x,m]=(0,w.useState)("default"),h=a.sources.localSource,f=`${S.BaseMediaUrl}/${a.coverImage.id}`,g={title:a.title,sources:{playlist:h?.playlist,file:`${S.BaseMediaUrl}/${h?.mediaId}`},poster:f,subtitles:a.subtitles??[],chapters:a.chapters??[],muted:a.isMute,adScheduleUrl:S.VideoAdSchedule?.replace("{videoId}",encodeURIComponent(a.id))??null},{playheadRef:b,resumeAt:y,stopMini:v}=(0,L.useMiniPlayerHandoff)({videoId:h?.mediaId&&"local"===s?a.id:void 0,layout:x,setLayout:m,video:g}),C="aparat"===s?a.sources.aparatSource?.content:a.sources.youtubeSource?.content;return(0,t.jsxs)("div",{className:(0,j.cn)("bg-background2 relative pb-3","pt-24"),children:[(0,t.jsx)(c.Container,{className:(0,j.cn)("theater"===x&&"max-w-none px-0"),children:h?.mediaId&&"local"===s?(0,t.jsx)(U.MiniPlayerSlot,{layout:x,poster:f,onReturn:()=>m("default"),children:(0,t.jsx)(B.VideoPlayer,{...g,layout:x,onLayoutChange:m,resumeAt:y,playheadRef:b,onStart:v,onFirstPlay:()=>{y||i()}},y?"resumed":"page")}):(0,t.jsx)("div",{className:"aspect-[16/9] w-full overflow-hidden rounded-sm [&>iframe]:h-full [&>iframe]:w-full",dangerouslySetInnerHTML:{__html:(0,M.sanitizeEmbedIframes)(C,a.title)}})}),(0,t.jsx)(c.Container,{children:(0,t.jsx)("div",{className:(0,j.cn)("flex w-full items-center justify-between py-5",!1),children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(I.VideoPlay,{size:"sm",fill:(0,d.cssVar)(u.theme.grey3)}),(0,t.jsx)(p.Typography,{fontSize:1.3,textColor:(0,d.cssVar)(u.theme.grey3),children:"پخش از رسانه"}),(0,t.jsx)(V.Popover,{isOpen:r.isOpen,setOpen:r.setOpen,placement:"bottom-end",portalId:"video-player",content:(0,t.jsx)(n.Flex,{flexDirection:"column",gap:1.2,spacing:{p:"x3"},style:{backgroundColor:`var(${u.theme.background2})`},children:o.map(e=>(0,t.jsxs)("div",{className:"text-subhead text-grey1 flex w-[100px] cursor-pointer gap-1",onClick:()=>{l(e.value),m("default"),r.close()},children:[(0,t.jsx)(e.icon,{size:"sm"}),e.label]},e.value))}),children:(0,t.jsxs)("button",{className:"text-primary1 flex gap-2 border-none",children:[(0,t.jsx)(F.ArrowDownSmall,{size:"sm",className:"fill-primary1"}),o.find(e=>e.value===s)?.label]})})]})})})]})};e.s(["default",0,D],710022);let O=e=>{let{article:a,isPreview:i=!1}
2=e,o=a.content.isFirstHeaderSubHeadLine?"div":"h1",j=a.content.isFirstHeaderSubHeadLine?"h1":"div";switch(a.content.headerTemplate){case"half-width":return(0,t.jsxs)(R,{children:[(0,t.jsxs)(s.Col,{size:6,children:[(0,t.jsx)(h.default,{aspectRatio:"1/1",isPreview:i,cover:a.content.coverImageLink,objectFit:"cover",coverSizes:"50vw"}),(0,t.jsx)(v,{cover:a.content.coverImageLink,className:"pb-2"})]}),(0,t.jsxs)(s.Col,{size:6,className:"left-col",children:[(0,t.jsx)(m.default,{article:a}),(0,t.jsx)(p.Typography,{tag:o,fontSize:3.2,fontWeight:"bold",spacing:{mt:"x3"},lineHeight:1.5,style:{fontFamily:(0,d.cssVar)(u.theme.fonts.secondary)},children:a.content.title}),(0,t.jsx)(p.Typography,{tag:j,lineHeight:2,fontSize:1.6,children:a.content.subHeadline}),(0,t.jsx)(Q,{spacing:{mt:3,mb:3.2}}),(0,t.jsxs)(n.Flex,{alignItems:"center",gap:1,spacing:{mb:"x"},children:[(0,t.jsx)(f.default,{date:a.lastPublishedAt,publishedDate:a.publishedAt,lineHeight:1.85}),(0,t.jsx)(J,{}),(0,t.jsx)(p.Typography,{className:"fa",variant:"callout",textColor:(0,d.cssVar)(u.theme.grey1),children:`مطالعه ${(0,l.digitsEnToFa)(a.content.readingTime)} دقیقه`})]}),(0,t.jsx)(r.Box,{spacing:{mt:0},children:(0,t.jsx)(x.default,{authors:a.authors,direction:"column"})}),(0,t.jsxs)("div",{className:"mt-7",children:[(0,t.jsx)(g.ArticleAudioButton,{className:"w-full mb-4"}),(0,t.jsx)(E,{className:"w-full"})]})]})]});case"cover-title-aside":return(0,t.jsxs)(Z,{children:[(0,t.jsxs)(s.Col,{size:8,children:[(0,t.jsx)(h.default,{isPreview:i,cover:a.content.coverImageLink,coverSizes:"(min-width: 1420px) 41.96vw, 56.64vw"}),(0,t.jsx)(v,{cover:a.content.coverImageLink})]}),(0,t.jsxs)(s.Col,{className:"header-detail",children:[(0,t.jsx)(p.Typography,{tag:o,lineHeight:1.5,fontSize:3.2,fontWeight:"bold",style:{fontFamily:(0,d.cssVar)(u.theme.fonts.secondary)},spacing:{mb:"x6"},children:a.content.title}),a.content.subHeadline&&(0,t.jsx)(p.Typography,{tag:j,fontSize:1.6,lineHeight:2,spacing:{mb:6.4},children:a.content.subHeadline}),(0,t.jsx)(Q,{spacing:{mb:1}}),(0,t.jsx)(m.default,{article:a,textColor:(0,d.cssVar)(u.theme.text),fontWeight:"bold"}),(0,t.jsx)(f.default,{date:a.lastPublishedAt,publishedDate:a.publishedAt,lineHeight:1.8}),(0,t.jsx)(p.Typography,{className:"fa",variant:"callout",textColor:(0,d.cssVar)(u.theme.grey1),spacing:{mb:"x4"},lineHeight:1.8,children:`مطالعه ${(0,l.digitsEnToFa)(a.content.readingTime)} دقیقه`}),(0,t.jsx)(r.Box,{spacing:{mt:0},children:(0,t.jsx)(x.default,{authors:a.authors,direction:"column"})}),(0,t.jsxs)("div",{className:"mt-6",children:[(0,t.jsx)(g.ArticleAudioButton,{className:"w-full mb-4"}),(0,t.jsx)(E,{className:"w-full"})]})]})]});case"full-width":return(0,t.jsxs)(K,{children:[(0,t.jsx)(h.default,{isPreview:i,cover:a.content.coverImageLink}),(0,t.jsx)(c.Container,{children:(0,t.jsx)(v,{cover:a.content.coverImageLink})})]});case"small":return(0,t.jsxs)(W,{children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(h.default,{isPreview:i,cover:a.content.coverImageLink,objectFit:"cover",aspectRatio:"10/3"}),(0,t.jsx)(X,{}),(0,t.jsxs)(Y,{children:[(0,t.jsx)(p.Typography,{tag:o,fontSize:2.4,fontWeight:"bold",style:{fontFamily:(0,d.cssVar)(u.theme.fonts.secondary)},lineHeight:2,textColor:(0,d.cssVar)(u.theme.white),textAlign:"justify",children:a.content.title}),(0,t.jsx)(p.Typography,{tag:j,fontSize:1.6,spacing:{mt:"x4"},textColor:(0,d.cssVar)(u.theme.white),lineHeight:2,textAlign:"center",children:a.content.subHeadline}),(0,t.jsxs)(n.Flex,{gap:1,alignItems:"center",spacing:{mt:"x8",mb:"x6"},children:[(0,t.jsx)(m.default,{article:a,textColor:(0,d.cssVar)(u.theme.white)}),(0,t.jsx)(J,{}),(0,t.jsx)(f.default,{date:a.lastPublishedAt,publishedDate:a.publishedAt,textColor:(0,d.cssVar)(u.theme.white)}),(0,t.jsx)(J,{}),(0,t.jsx)(p.Typography,{className:"fa",variant:"callout",textColor:(0,d.cssVar)(u.theme.white),children:`مطالعه ${(0,l.digitsEnToFa)(a.content.readingTime)} دقیقه`})]}),(0,t.jsx)(x.default,{authors:a.authors,textColor:(0,d.cssVar)(u.theme.white)})]})]}
2),(0,t.jsx)(c.Container,{children:(0,t.jsx)(v,{cover:a.content.coverImageLink})})]});case"image-dominant":return(0,t.jsx)(r.Box,{className:"relative pt-[calc(64px-32px)] pb-3",children:(0,t.jsxs)(c.Container,{children:[(0,t.jsx)(h.default,{isPreview:i,cover:a.content.coverImageLink}),(0,t.jsx)(v,{cover:a.content.coverImageLink})]})});case"video":return(0,t.jsx)(D,{videoCover:a.content.coverVideoLink});default:return(0,t.jsx)(q,{children:(0,t.jsxs)(b.default,{template:"standard",hasSidebar:!0,children:[(0,t.jsx)(p.Typography,{tag:o,fontSize:2.4,fontWeight:"bold",lineHeight:2,textAlign:"justify",style:{fontFamily:(0,d.cssVar)(u.theme.fonts.secondary)},children:a.content.title}),(0,t.jsx)(p.Typography,{tag:j,fontSize:1.6,lineHeight:2,children:a.content.subHeadline}),(0,t.jsxs)(n.Flex,{gap:1,alignItems:"center",spacing:{mt:"x5"},children:[(0,t.jsx)(m.default,{article:a}),(0,t.jsx)(J,{}),(0,t.jsx)(f.default,{date:a.lastPublishedAt,publishedDate:a.publishedAt}),(0,t.jsx)(J,{}),(0,t.jsx)(p.Typography,{className:"fa",variant:"callout",textColor:(0,d.cssVar)(u.theme.grey1),children:`مطالعه ${(0,l.digitsEnToFa)(a.content.readingTime)} دقیقه`})]}),(0,t.jsx)(x.default,{authors:a.authors}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4 mt-2",children:[(0,t.jsx)(g.ArticleAudioButton,{}),(0,t.jsx)(E,{})]})]})})}},R=a.default.header.withConfig({displayName:"ArticleHeader__TemplateNo1",componentId:"sc-e19b71f8-0"})`
3  width: 100%;
4  display: flex;
5  background-color: var(${u.theme.singleArticle.headerBackground});
6
7  .left-col {
8    display: flex;
9    flex-direction: column;
10    padding: 0 10%;
11    justify-content: center;
12
13    gap: 1.9rem;
14  }
15`,Z=a.default.header.withConfig({displayName:"ArticleHeader__TemplateNo2",componentId:"sc-e19b71f8-1"})`
16  display: flex;
17  gap: 2.4rem;
18  padding-top: 6.4rem;
19  margin-right: 10%;
20  margin-left: 5%;
21
22  @media (min-width: ${i.Breakpoints.xxl}) {
23    margin-right: 21.5%;
24    margin-left: 15.6%;
25  }
26
27  .header-detail {
28    display: flex;
29    flex-direction: column;
30    gap: 0.8rem;
31    padding: 0.5rem 0;
32  }
33`,K=a.default.header.withConfig({displayName:"ArticleHeader__TemplateNo3",componentId:"sc-e19b71f8-2"})`
34  width: 100%;
35`,G=a.default.div.withConfig({displayName:"ArticleHeader__DetailTemplateNo3",componentId:"sc-e19b71f8-3"})`
36  margin: ${o.Spacing.x6}rem 0 0;
37  display: flex;
38  flex-direction: column;
39  align-items: center;
40`,W=a.default.header.withConfig({displayName:"ArticleHeader__TemplateNo4",componentId:"sc-e19b71f8-4"})`
41  width: 100%;
42  position: relative;
43  margin-top: -6.4rem;
44`,q=a.default.header.withConfig({displayName:"ArticleHeader__TemplateStandard",componentId:"sc-e19b71f8-5"})`
45  width: 100%;
46  position: relative;
47  padding: 6.4rem 0 0 0;
48`,Y=a.default.div.withConfig({displayName:"ArticleHeader__DetailTemplateNo4",componentId:"sc-e19b71f8-6"})`
49  max-width: calc(100% - 43%);
50  position: absolute;
51  top: 50%;
52  left: 50%;
53  transform: translate(-50%, -50%);
54  display: flex;
55  flex-direction: column;
56  align-items: center;
57  z-index: 2;
58`,X=a.default.div.withConfig({displayName:"ArticleHeader__Mask",componentId:"sc-e19b71f8-7"})`
59  position: absolute;
60  top: 0;
61  left: 0;
62  height: 100%;
63  width: 100%;
64  background-color: rgba(25, 25, 35, 0.75);
65`,J=a.default.div.withConfig({displayName:"ArticleHeader__VerticalHr",componentId:"sc-e19b71f8-8"})`
66  width: 1px;
67  height: 1.6rem;
68  background-color: var(${u.theme.grey6});
69  opacity: 0.7;
70`,Q=(0,a.default)(n.Flex).withConfig({displayName:"ArticleHeader__HorizontalHr",componentId:"sc-e19b71f8-9"})`
71  height: 4px;
72  width: 5rem;
73  border-radius: var(${u.theme.radius.sm});
74  background-color: var(${u.theme.primary1});
75`;e.s(["ArticleHeaderDetail",0,({article:e})=>{switch(e.content.headerTemplate){case"full-width":return(0,t.jsx)(b.default,{hasSidebar:!1,template:"standard",children:(0,t.jsxs)(G,{children:[(0,t.jsx)(p.Typography,{tag:e.content.isFirstHeaderSubHeadLine?"div":"h1",lineHeight:2,fontSize:2.4,fontWeight:"bold",textAlign:"justify",style:{fontFamily:(0,d.cssVar)(u.theme.fonts.secondary)},children:e.content.title}
75),(0,t.jsx)(p.Typography,{tag:e.content.isFirstHeaderSubHeadLine?"h1":"div",lineHeight:2,fontSize:1.6,spacing:{mt:"x4"},children:e.content.subHeadline}),(0,t.jsxs)(n.Flex,{gap:1,alignItems:"center",spacing:{mt:"x8",mb:"x6"},children:[(0,t.jsx)(m.default,{article:e}),(0,t.jsx)(J,{}),(0,t.jsx)(f.default,{date:e.lastPublishedAt,publishedDate:e.publishedAt}),(0,t.jsx)(J,{}),(0,t.jsx)(p.Typography,{className:"fa",variant:"callout",textColor:(0,d.cssVar)(u.theme.grey1),children:`مطالعه ${(0,l.digitsEnToFa)(e.content.readingTime)} دقیقه`})]}),(0,t.jsx)(x.default,{authors:e.authors}),(0,t.jsxs)("div",{className:"flex mt-12 gap-4",children:[(0,t.jsx)(g.ArticleAudioButton,{className:"flex-1"}),(0,t.jsx)(E,{className:"flex-1"})]}),(0,t.jsx)(p.Typography,{variant:"body",lineHeight:1.8,spacing:{mt:"x8"},children:e.content.subHeadline})]})});case"image-dominant":case"video":return(0,t.jsxs)(b.default,{style:{marginBottom:32},hasSidebar:!0,template:"small",children:[(0,t.jsx)(p.Typography,{tag:e.content.isFirstHeaderSubHeadLine?"div":"h1",fontSize:3.2,fontWeight:700,textAlign:"justify",lineHeight:1.8,children:e.content.title}),(0,t.jsxs)("div",{className:"mt-4 mb-2 flex items-center gap-2.5",children:[(0,t.jsx)(m.default,{article:e}),(0,t.jsx)(J,{}),(0,t.jsx)(f.default,{date:e.lastPublishedAt,publishedDate:e.publishedAt,pattern:"eeee d MMMM yyyy"}),(0,t.jsx)(J,{}),(0,t.jsx)(p.Typography,{className:"fa",variant:"callout",textColor:(0,d.cssVar)(u.theme.grey1),children:`مطالعه ${(0,l.digitsEnToFa)(e.content.readingTime)} دقیقه`})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(x.default,{authors:e.authors}),(0,t.jsxs)("div",{className:"w-full flex justify-between mt-6",children:[(0,t.jsx)(g.ArticleAudioButton,{}),(0,t.jsx)(E,{})]})]})]});default:return null}},"default",0,O],103725),e.s(["ArticleHeader",0,O],895),e.s(["ArticleLead",0,e=>{let{hasSidebar:a,lead:i,spacing:s}=e;return(0,t.jsx)(r.Box,{spacing:s,children:(0,t.jsx)(b.default,{hasSidebar:a,template:"small",children:(0,t.jsx)(p.Typography,{tag:"p",className:"article-lead",fontSize:1.6,lineHeight:1.88,children:i})})})}],300471),e.s(["CoverImageCredit",0,v],542016)},231520,e=>{"use strict";var t=e.i(810008),a=e.i(565824),r=e.i(612735),i=e.i(399283),s=e.i(480085);e.s(["ArticleAudioButton",0,({className:e})=>{let l=(0,i.useArticleAudio)();return l?(0,t.jsxs)("button",{className:(0,r.cn)("bg-black3 dark:bg-grey6 flex h-8 w-fit shrink-0 items-center justify-center gap-2 rounded-full px-4 py-1 text-white cursor-pointer","transition-[scale,opacity] duration-150 ease-out hover:opacity-90 active:scale-[0.97]",e),onClick:l.togglePlay,type:"button",children:[(0,t.jsx)(a.Headphones,{className:"shrink-0",fill:"currentColor",size:"sm"}),(0,t.jsx)("span",{className:"text-subhead-bold whitespace-nowrap",children:l.isPlaying?"در حال پخش مقاله":`به مقاله گوش بده (${(0,s.formatPlaybackTime)(l.duration)})`})]}):null}],231520)},489547,954070,e=>{"use strict";var t=e.i(810008);e.s(["default",0,({ariaLabel:e,children:a,onClick:r,...i})=>(0,t.jsx)("button",{"aria-label":e,className:"text-grey1 relative flex size-8 shrink-0 items-center justify-center rounded-full transition-colors duration-130 after:absolute after:-inset-[6px] [&:hover]:bg-grey6",onClick:r,type:"button",...i,children:a})],489547);var a=e.i(249690),r=e.i(612735);e.s(["default",0,({align:e,children:i,isOpen:s,label:l,onClose:n,role:o="group",trigger:c})=>{let d=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(!s)return;let e=e=>{d.current?.contains(e.target)||n()},t=e=>{"Escape"===e.key&&n()};return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)}},[s,n]),(0,t.jsxs)("div",{className:"relative flex",ref:d,children:[c({"aria-expanded":s,"aria-haspopup":!0}),(0,t.jsx)("div",{"aria-hidden":!s,"aria-label":l,className:(0,r.cn)("bg-card border-grey6 absolute top-[calc(100%+8px)] z-[5] flex items-center gap-0.5 rounded-[12px] border p-1","shadow-[0_1px_2px_rgb(16_18_24/4%),0_10px_26px_-16px_rgb(16_18_24/16%)]","translate-y-0 scale-100 transition-pop","data-[open=false]:pointer-events-none data-[open=false]:-translate-y-[6px] data-[open=false]:scale-[0.97] data-[open=false]:opacity-0 data-[open=true]:pointer-events-auto","motion-reduce:translate-none motion-reduce:scale-none","motion-reduce:data-[open=false]:translate-none motion-reduce:data-[open=false]:scale-none","end"===e?"end-0":"start-0 pe-2"),"data-open":s,role:o,children:i})]})}],954070)},867518,889637,326400,246002,405639,e=>{"use strict";var t=e.i(810008),a=e.i(249690),r=e.i(947298),i=e.i(997715);e.i(538183);var s=e.i(458788),l=e.i(645023),n=e.i(309170),o=e.i(369450),c=e.i(933217),d=e.i(612735),u=e.i(57249),p=e.i(489547),x=e.i(954070),m=e.i(399283),h=e.i(548933),f=e.i(856768);let g=({cover:e,size:a=40,title:r})=>e?(0,t.jsx)("div",{className:"relative shrink-0 overflow-hidden rounded-sm",style:{width:a,height:a},children:(0,t.jsx)(h.Image,{alt:e.alt||r,baseUrl:f.BaseMediaUrl,fileName:e.fileName,fill:!0,imageId:e.id,sizes:`${a}px`,style:{objectFit:"cover"},unoptimized:!0})}):null,b=({isMuted:e,onToggleMute:r,onVolumeChange:i,volume:s})=>{let l=(0,a.useRef)(null),n=e?0:s,d=e=>{let t=l.current?.getBoundingClientRect();t&&0!==t.width&&i((e.clientX-t.left)/t.width*100)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{"aria-label":e?"باصدا":"بی‌صدا","aria-pressed":e,className:"text-grey1 relative flex size-9 shrink-0 items-center justify-center rounded-lg transition-colors duration-130 after:absolute after:-inset-[6px] [&:hover]:bg-grey6",onClick:r,type:"button",children:e?(0,t.jsx)(c.SpeakerSlash,{size:"md"}):(0,t.jsx)(o.SpeakerHigh,{size:"md"})}),(0,t.jsxs)("div",{"aria-label":"میزان صدا","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":n,"aria-valuetext":`${(0,u.digitsEnToFa)(n)} درصد`,className:"bg-grey6 relative h-[4px] w-[96px] flex-none cursor-pointer touch-none rounded-[999px] before:absolute before:-inset-x-[6px] before:-inset-y-[14px]",dir:"ltr",onKeyDown:e=>{let t="ArrowRight"===e.key||"ArrowUp"===e.key?5:"ArrowLeft"===e.key||"ArrowDown"===e.key?-5:0;0!==t&&(e.preventDefault(),i(n+t))},onPointerDown:e=>{e.currentTarget.setPointerCapture(e.pointerId),d(e)},onPointerMove:e=>{e.currentTarget.hasPointerCapture(e.pointerId)&&d(e)},ref:l,role:"slider",tabIndex:0,children:[(0,t.jsx)("span",{className:"bg-text absolute inset-y-0 start-0 rounded-[inherit]",style:{width:`${n}%`}}),(0,t.jsx)("span",{className:"border-card bg-text absolute top-1/2 -ms-[6px] size-[12px] -translate-y-1/2 roun
75ded-[50%] border-2 shadow-[0_1px_4px_rgb(16_18_24/28%)]",style:{insetInlineStart:`${n}%`}})]}),(0,t.jsx)("span",{className:"text-grey1 min-w-[22px] text-center text-[10px] font-semibold",children:(0,u.digitsEnToFa)(n)})]})};var j=e.i(480085);let y=e=>`${(0,u.digitsEnToFa)(String(e).replace(".","Ù«"))}x`,v="absolute top-1/2 h-[3px] -translate-y-1/2 rounded-[999px] transition-[height] duration-130 ease-out-expo group-focus-within/bar:h-[5px] group-has-[input:active]/bar:h-[5px] group-[:hover]/bar:h-[5px]",w="text-grey1 relative flex min-h-8 items-center text-[10px] transition-[color,scale] duration-130 after:absolute after:-inset-x-[6px] after:-inset-y-[8px] active:scale-[0.9]";e.s(["ArticleAudioPlayer",0,({title:e,cover:h,className:f})=>{let C=(0,m.useArticleAudio)(),[N,S]=(0,a.useState)(!1),[T,A]=(0,a.useState)(null);if(!C)return null;let{currentTime:k,duration:H,isMuted:_,isOpen:E,isPlaying:z,playbackRate:M,volume:F}=C,I=H>0?Math.min(k/H*100,100):0,V=E&&!0,$=()=>A(null),P=(0,t.jsxs)("div",{"aria-hidden":!V,className:(0,d.cn)("translate-y-0 transition-sli
75de-fade data-[open=false]:pointer-events-none data-[open=false]:opacity-0 data-[open=true]:pointer-events-auto motion-reduce:translate-none motion-reduce:data-[open=false]:invisible motion-reduce:data-[open=false]:translate-none","bg-card border-grey6 flex flex-col gap-2 border px-4 pt-2 pb-4","mx-auto w-full max-w-[648px] rounded-[10px] shadow-[0px_25px_25px_rgba(0,0,0,0.1)] data-[open=false]:translate-y-[calc(100%+24px)]"),"data-open":V,"data-placement":"bottom",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(g,{cover:h,title:e}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col text-right",dir:"rtl",children:[(0,t.jsx)("span",{className:"text-grey1 truncate text-[10px] leading-[1.6]",children:"خلاصه صوتی"}),(0,t.jsx)("span",{className:"text-subhead-bold text-text truncate leading-[22px] line-clamp-1",children:e})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[!1,(0,t.jsx)(p.default,{ariaLabel:"بستن پخش‌کننده صوتی",onClick:C.close,children:(0,t.jsx)(s.Close,{size:"md"})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",dir:"ltr",children:[(0,t.jsxs)("div",{className:"group/bar relative flex h-2 cursor-pointer touch-none items-center before:absolute before:inset-x-0 before:-inset-y-[18px] focus-within:outline-offset-8",children:[(0,t.jsx)("div",{className:(0,d.cn)(v,"bg-grey7 inset-x-0")}),(0,t.jsx)("div",{className:(0,d.cn)(v,"bg-primary1 start-0"),style:{width:`${I}%`}}),(0,t.jsx)("div",{className:"border-primary1 bg-card absolute top-1/2 -ms-[5px] size-[10px] -translate-y-1/2 rounded-[50%] border-[1.5px] shadow-[0_1px_3px_rgb(16_18_24/24%)] transition-[scale] duration-130 ease-out-expo group-focus-within/bar:scale-[1.3] group-has-[input:active]/bar:scale-[1.3] group-[:hover]/bar:scale-[1.3]",style:{insetInlineStart:`${I}%`}}),(0,t.jsx)("input",{"aria-label":"جابه‌جایی در فایل صوتی",className:"absolute inset-0 size-full cursor-pointer appearance-none opacity-0 [&::-moz-range-thumb]:size-[10px] [&::-moz-range-thumb]:border-0 [&::-webkit-slider-thumb]:size-[10px] [&::-webkit-slider-thumb]:appearance-none",max:Math.max(H,1),min:0,onChange:e=>C.seekTo(Number(e.target.value)),step:1,type:"range",value:Math.min(k,H)})]}),(0,t.jsxs)("div",{className:"text-grey1 flex items-center justify-between text-[10px] leading-none",children:[(0,t.jsx)("span",{children:(0,j.formatPlaybackTime)(k)}),(0,t.jsx)("span",{children:(0,j.formatPlaybackTime)(H)})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",dir:"ltr",children:[(0,t.jsx)(x.default,{align:"start",isOpen:"volume"===T,label:"میزان صدا",onClose:$,trigger:e=>(0,t.jsx)(p.default,{ariaLabel:_?"صدا بی‌صدا است":"تنظیم صدا",onClick:()=>A(e=>"volume"===e?null:"volume"),...e,children:_?(0,t.jsx)(c.SpeakerSlash,{size:"md"}):(0,t.jsx)(o.SpeakerHigh,{size:"md"})}),children:(0,t.jsx)(b,{isMuted:_,onToggleMute:C.toggleMute,onVolumeChange:C.setVolume,volume:F})}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,t.jsxs)("button",{"aria-label":`${m.SEEK_STEP_SECONDS} ثانیه به عقب`,className:(0,d.cn)(w,"gap-[5px]"),onClick:()=>C.seekBy(-m.SEEK_STEP_SECONDS),type:"button",children:[(0,t.jsx)("span",{children:(0,u.digitsEnToFa)(`-${m.SEEK_STEP_SECONDS}`)}),(0,t.jsx)(i.ArrowCounterClockwise,{fill:"currentColor",size:"md"})]}),(0,t.jsx)("button",{"aria-label":z?"توقف پخش":"پخش",className:(0,d.cn)("bg-primary1 relative grid shrink-0 place-items-center rounded-full text-white transition-[scale,filter] duration-130 after:absolute after:-inset-[4px] active:scale-[0.93] [&:hover]:brightness-[0.93]","size-8"),onClick:C.togglePlay,type:"button",children:z?(0,t.jsx)(l.Pause,{fill:"currentColor",size:"md",weight:"fill"}):(0,t.jsx)(n.Play,{fill:"currentColor",size:"md",weight:"fill"})}),(0,t.jsxs)("button",{"aria-label":`${m.SEEK_STEP_SECONDS} ثانیه به جلو`,className:(0,d.cn)(w,"gap-0.5"),onClick:()=>C.seekBy(m.SEEK_STEP_SECONDS),type:"button",children:[(0,t.jsx)(r.ArrowClockwise,{fill:"currentColor",size:"md"}),(0,t.jsx)("span",{children:(0,u.digitsEnToFa)(`+${m.SEEK_STEP_SECONDS}`)})]})]}),(0,t.jsx)(x.default,{align:"end",isOpen:"speed"===T,label:"سرعت پخش",onClose:$,role:"radiogroup",trigger:e=>(0,t.jsx)("button",{"aria-label":`سرعت پخش، اکنون ${y(M)}`,className:"border-borderPrimary text-text relative flex h-[22px] min-w-[34px] curs
75or-pointer items-center justify-center rounded-full border px-1.5 text-[10px] transition-colors duration-130 after:absolute after:-inset-x-[6px] after:-inset-y-[11px] aria-expanded:bg-text aria-expanded:text-card",onClick:()=>A(e=>"speed"===e?null:"speed"),type:"button",...e,children:y(M)}),children:m.PLAYBACK_RATES.map(e=>(0,t.jsx)("button",{"aria-checked":e===M,className:"text-subhead text-grey1 h-[38px] min-w-[42px] cursor-pointer rounded-[8px] border-none px-2 font-semibold whitespace-nowrap transition-colors duration-130 aria-checked:bg-text aria-checked:text-card aria-[checked=false]:[&:hover]:bg-grey6 aria-[checked=false]:[&:hover]:text-text",onClick:()=>{C.setPlaybackRate(e),$()},role:"radio",type:"button",children:y(e)},e))})]})]});return(0,t.jsx)("div",{className:(0,d.cn)("pointer-events-none",f),children:P})}],867518);var C=e.i(431732),N=e.i(586133),S=e.i(786031),T=e.i(941892),A=e.i(662895),k=e.i(141332),H=e.i(846929);e.s(["default",0,({authors:e,direction:a="row",textColor:r=(0,A.cssVar)(k.theme.text)})=>(0,t.jsx)(N.Flex,{alignItems:"row"===a?"center":"flex-start",flexDirection:a,gap:"row"===a?1.6:1,children:e.map(({fullName:e,avatarId:a,userId:i})=>(0,t.jsx)(S.Link,{href:`/author/${i}/`,rel:"author",children:(0,t.jsxs)(N.Flex,{alignItems:"center",gap:.8,children:[a?(0,t.jsx)(T.Avatar,{alt:e,src:`${f.BaseMediaUrl}/${a}`}):(0,t.jsx)(C.AvatarScratch,{size:"xl"}),(0,t.jsx)(H.Typography,{variant:"callout-bold",textColor:r,children:e})]})},i))})],889637);var _=e.i(560336),E=e.i(157725),z=e.i(629092);let M=_.default.ol.withConfig({displayName:"ArticleCategory__BreadcrumbList",componentId:"sc-4ed7a5f6-0"})`
76  display: flex;
77  align-items: center;
78  gap: 1rem;
79  list-style: none;
80  margin: 0;
81  padding: 0;
82`,F=_.default.li.withConfig({displayName:"ArticleCategory__BreadcrumbItem",componentId:"sc-4ed7a5f6-1"})`
83  display: flex;
84  align-items: center;
85  gap: 1rem;
86`,I=_.default.div.withConfig({displayName:"ArticleCategory__SmallDot",componentId:"sc-4ed7a5f6-2"})`
87  width: 2px;
88  height: 2px;
89  border-radius: var(${k.theme.radius.full});
90  background-color: var(${k.theme.grey1});
91`;e.s(["default",0,e=>{let{article:a,textColor:r=(0,A.cssVar)(k.theme.grey1),fontWeight:i="normal"}=e,s=(0,z.useWebKitCustomization)(e=>e.tenantPersianTitle),l=(0,E.articleBreadcrumbTrail)(a,s);return(0,t.jsx)("nav",{"aria-label":"مسیر صفحه",children:(0,t.jsx)(M,{children:l.map((e,a)=>{let s=(0,t.jsx)(H.Typography,{variant:"callout",textColor:r,fontWeight:i,lineHeight:1.8,"aria-current":e.isCurrent?"page":void 0,children:e.title});return(0,t.jsxs)(F,{className:e.isCurrent?"sr-only":void 0,children:[a>0&&(0,t.jsx)(I,{}),e.isCurrent?s:(0,t.jsx)(S.Link,{href:e.path,className:"**:hover:text-text-hover",children:s})]},e.path)})})})}],326400);var V=e.i(413021);let $=e=>String(e).padStart(2,"0"),P=e=>{let t=new Date(e);if(Number.isNaN(t.getTime()))return e;let a=new Date(t.getTime()+126e5),r=`${a.getUTCFullYear()}-${$(a.getUTCMonth()+1)}-${$(a.getUTCDate())}`,i=`${$(a.getUTCHours())}:${$(a.getUTCMinutes())}:${$(a.getUTCSeconds())}`;return`${r}T${i}+03:30`};e.s(["toTehranIso8601",0,P],246002),e.s(["default",0,e=>{let{date:a,publishedDate:r,pattern:i="eeee d MMMM yyyy - HH:mm",textColor:s=(0,A.cssVar)(k.theme.grey1),lineHeight:l}=e,n=(0,u.digitsEnToFa)((0,V.format)(a,i)),o=!!r&&new Date(a).getTime()>new Date(r).getTime();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("time",{dateTime:P(a),children:(0,t.jsx)(H.Typography,{className:"fa",variant:"callout",textColor:s,lineHeight:l,children:o?`آخرین به‌روزرسانی ${n}`:n})}),r&&r!==a&&(0,t.jsx)("time",{className:"sr-only",dateTime:P(r),children:(0,u.digitsEnToFa)((0,V.format)(r,i))})]})}],405639)},399283,480085,e=>{"use strict";var t=e.i(810008),a=e.i(249690),r=e.i(393793),i=e.i(856768),s=e.i(57249);let l=e=>{if(!e)return 0;let[t,a]=e.includes(".")?e.split(/\.(.+)/):[null,e],r=(a??"").split(":").map(Number);if(3!==r.length||r.some(e=>!Number.isFinite(e)))return 0;let[i,s,l]=r,n=null===t?0:Number(t);return(Number.isFinite(n)?n:0)*86400+3600*i+60*s+Math.floor(l)};e.s(["formatPlaybackTime",0,e=>{let t=Number.isFinite(e)&&e>
910?Math.floor(e):0,a=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60,l=e=>e.toString().padStart(2,"0");return(0,s.digitsEnToFa)(a>0?`${a}:${l(r)}:${l(i)}`:`${l(r)}:${l(i)}`)},"parseTimeSpanSeconds",0,l],480085);let n=(0,a.createContext)(null),o=({audio:e,children:s})=>{let o,[c,d]=(0,a.useState)(!1),[u,p]=(0,a.useState)(!1),[x,m]=(0,a.useState)(!1),[h,f]=(0,a.useState)(100),[g,b]=(0,a.useState)(0),[j,y]=(0,a.useState)(1),v=(0,a.useRef)(!1),w=(0,a.useRef)(void 0),C=(0,a.useMemo)(()=>l(e.duration),[e.duration]),[N,{sound:S,pause:T,duration:A}]=(0,r.default)(`${i.BaseMediaUrl}/${e.id}`,{volume:x?0:h/100,playbackRate:j,html5:!0,preload:"metadata",format:[(o=e.fileName,/\.([a-z0-9]+)$/i.exec(o)?.[1]?.toLowerCase()??"mp3")],onplay:e=>{w.current=e,p(!0)},onpause:()=>p(!1),onend:()=>{p(!1),b(0)}}),k=(A??0)/1e3,H=Number.isFinite(k)&&k>0?k:C,_=(0,a.useCallback)(()=>d(!0),[]),E=(0,a.useCallback)(()=>{v.current=!1,T(),d(!1)},[T]),z=(0,a.useCallback)(()=>{if(d(!0),!S){v.current=!0;return}S.playing()?T():N()},[T,N,S]),M=(0,a.useCallback)(e=>{let t=Math.min(Math.max(Math.round(e),0),100);f(t),m(0===t)},[]),F=(0,a.useCallback)(()=>{let e=!x;e||0!==h||f(60),m(e)},[x,h]),I=(0,a.useCallback)(e=>{if(!S)return;let t=S.duration(),a=Math.min(Math.max(e,0),Number.isFinite(t)&&t>0?t:1/0);void 0===w.current?S.seek(a):S.seek(a,w.current),b(a)},[S]),V=(0,a.useCallback)(e=>{let t=S?.seek();I(("number"==typeof t?t:0)+e)},[I,S]);(0,a.useEffect)(()=>{S&&v.current&&(v.current=!1,N())},[N,S]),(0,a.useEffect)(()=>{if(!S||!u)return;let e=setInterval(()=>{let e=S.seek();"number"==typeof e&&b(e)},250);return()=>clearInterval(e)},[u,S]),(0,a.useEffect)(()=>()=>S?.unload(),[S]);let $=(0,a.useMemo)(()=>({audio:e,duration:H,currentTime:g,isPlaying:u,isMuted:x,volume:h,isOpen:c,playbackRate:j,open:_,close:E,togglePlay:z,toggleMute:F,setVolume:M,seekTo:I,seekBy:V,setPlaybackRate:y}),[e,H,g,u,x,h,c,j,_,E,z,F,M,I,V]);return(0,t.jsx)(n.Provider,{value:$,children:s})};e.s(["ArticleAudioProvider",0,({audio:e,children:a})=>e?.id?(0,t.jsx)(o,{audio:e,children:a},e.id):(0,t.jsx)(t.Fragment,{children:a}),"PLAYBACK_RATES",0,[.75,1,1.25,1.5,2],"SEEK_STEP_SECONDS",0,10,"useArticleAudio",0,()=>(0,a.useContext)(n)],399283)}]);
92
93//# debugId=51dc4044-d298-a47b-6e71-0bc01e9ec9ce

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.