PageSourceSearch

https://www.trtarabi.com/_next/static/chunks/838-55d955fb5972ad14.js

js trtarabi.com collected 2026-09-24 22:47:56 UTC 57,244 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[838],{11394:function(e,t,n){"use strict";n.r(t),n.d(t,{MediaCard:function(){return y}});var l=n(74023),r=n(83641),i=n(31930),a=n(10193),s=n(7470),o=n(94970),u=n(69489),c=n(62405),d=n(52331),m=n(98873),v=n(12173),f=n(73765),h=n(33533),p=n(29413),x=n(79341);let g=(0,r.forwardRef)((e,t)=>{var n,a,g;let{content:b,hideDetailPageArrow:w}=e,y=null===(a=b.media)||void 0===a?void 0:null===(n=a.media)||void 0===n?void 0:n.originalUrl,[j,N]=(0,r.useState)(!1),k=(0,r.useRef)(null),C=(0,r.useRef)(null),[E,L]=(0,r.useState)(!1),M=(0,r.useRef)(null),{isVideo:S,isAudio:F}=(0,i.EO)(b),T="undefined"!=typeof document&&"rtl"===document.dir,{audioRef:R,isMuted:I,duration:z,volume:D,togglePause:B,toggleMute:P,setAudioSrc:A,setDuration:V,play:H,pause:_,seek:O,skipForward:U,skipBackward:q,changeVolume:Z}=(0,p.nP)(),{isPlaying:W,showLoading:G,progress:X,timeLeft:Q}=(0,x.H)(y);(0,r.useEffect)(()=>{if(null==b?void 0:b.duration){let e=(0,s.R)(b.duration);e&&e!==z&&V(e)}},[null==b?void 0:b.duration,z,V]);let Y=(0,r.useCallback)(()=>{if((null==R?void 0:R.current)&&y){A(y),R.current.src=y,R.current.load();let e=()=>{var t,n;(null==R?void 0:null===(t=R.current)||void 0===t?void 0:t.duration)&&V(R.current.duration),H(),null==R||null===(n=R.current)||void 0===n||n.removeEventListener("canplaythrough",e)};R.current.addEventListener("canplaythrough",e)}},[R,y,H,A,V]),J=(0,r.useCallback)(()=>{(null==R?void 0:R.current)&&y&&(A(y),R.current.src&&R.current.src===y||(R.current.src=y,R.current.load())),B()},[R,y,B,A]);(0,r.useImperativeHandle)(t,()=>({play:Y,stop:_,togglePlay:J,skipForward:U,skipBackward:q,seek:O,toggleMute:P,changeVolume:Z}),[Y,J,_,U,q,O,P,Z]);let $=z&&X?X/z*100:0,K=()=>{L(!0),en()},ee=()=>{L(!1),en()},et=()=>{M.current&&clearTimeout(M.current),M.current=setTimeout(()=>{E||N(!1)},1e3)},en=()=>{M.current&&clearTimeout(M.current),et()};return(0,r.useEffect)(()=>{let e=()=>{j&&(N(!1),setTimeout(()=>N(!0),0))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[j]),(0,r.useEffect)(()=>()=>{M.current&&clearTimeout(M.current)},[]),(0,r.useEffect)(()=>{let e=e=>{!E&&k.current&&!k.current.contains(e.target)&&C.current&&!C.current.contains(e.target)&&(N(!1),M.current&&clearTimeout(M.current))};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[E]),(0,r.useEffect)(()=>{let e=()=>{j&&!E&&(N(!1),M.current&&clearTimeout(M.current))};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[j,E]),(0,l.jsxs)("div",{className:"flex flex-col w-full",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between w-full mb-2",children:[(0,l.jsxs)("div",{onClick:()=>{J()},className:"flex gap-2 items-center",children:[!G||(null==R?void 0:null===(g=R.current)||void 0===g?void 0:g.duration)?(0,l.jsx)("div",{className:(0,v.cn)("w-7 h-7 rounded-full flex items-center justify-center",{"bg-white":W,"bg-[#FFFFFF4D]":!W}),children:W?(0,l.jsx)(m.Z,{fill:"#000",stroke:"transparent",size:18}):(0,l.jsx)(o.g4,{content:b,className:(0,d.Z)("text-white",{"w-5 h-5":S,"w-4 h-4":F})})}):(0,l.jsx)("div",{className:"flex z-10 items-center justify-center",children:(0,l.jsx)(h.A,{className:"z-10 text-black m-auto",color:"white"})}),(0,l.jsx)("div",{className:"font-body text-sm font-medium text-grey-2 uppercase my-auto",children:(0,s.L)(Q)})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("button",{onClick:()=>q(10),className:"p-1 rounded-full hover:bg-[#FFFFFF1A] transition-colors",children:(0,l.jsx)(u.Z,{size:20,className:"text-white"})}),(0,l.jsx)("button",{onClick:()=>U(10),className:"p-1 rounded-full hover:bg-[#FFFFFF1A] transition-colors",children:(0,l.jsx)(c.Z,{size:20,className:"text-white"})}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("button",{ref:C,onClick:P,onMouseEnter:()=>{N(!0),en()},className:"p-1 rounded-full hover:bg-[#FFFFFF1A] transition-colors",children:I||0===D?(0,l.jsx)(o.QQ,{size:20,className:"text-white"}):(0,l.jsx)(o.EV,{size:20,className:"text-white"})}),j&&(0,l.jsx)("div",{ref:k,className:"fixed p-4 bg-gray-800 rounded-md shadow-lg z-50",style:{left:C.current?T?C.current.getBoundingClientRect().right-70+"px":C.current.getBoundingClientRect().left-50+"px":"0",top:C.current?C.current.getBoundingClientRect().top-60+"px":"0"},onMouseEnter:en,onMouseLeave:()=>
1{N(!1),M.current&&clearTimeout(M.current)},children:(0,l.jsxs)("div",{className:"w-[120px] h-4 relative flex items-center",dir:"ltr",children:[(0,l.jsx)("input",{type:"range",min:"0",max:"1",step:"0.01",value:I?0:D,onChange:e=>{Z(parseFloat(e.target.value)),en()},onMouseDown:K,onMouseUp:ee,onTouchStart:K,onTouchEnd:ee,className:"w-full absolute z-10 opacity-0 cursor-pointer"}),(0,l.jsx)("div",{className:"w-full h-1 bg-[#FFFFFF33] rounded-full absolute",children:(0,l.jsx)("div",{className:"h-full bg-white rounded-full",style:{width:"".concat(I?0:100*D,"%")}})}),(0,l.jsx)("div",{className:"w-3 h-3 rounded-full bg-white absolute z-5",style:{left:"calc(".concat(I?0:100*D,"% - 6px)")}})]})})]}),!w&&(0,l.jsx)(f.LinkWithChannelLink,{href:"/audio/".concat(null==b?void 0:b.slug),className:"flex relative z-10 rtl:rotate-180",children:(0,l.jsx)(o.J5,{color:"white"})})]})]}),(0,l.jsxs)("div",{className:"w-full space-y-1",children:[(0,l.jsx)("div",{className:"w-full h-4 flex items-center px-0.5 cursor-pointer group",onClick:e=>{let t=e.currentTarget.getBoundingClientRect();O((e.clientX-t.left)/t.width*z)},dir:"ltr",children:(0,l.jsxs)("div",{className:"w-full h-1 bg-[#FFFFFF33] rounded-full relative",children:[(0,l.jsx)("div",{className:"h-full bg-white rounded-full",style:{width:"".concat($,"%")}}),(0,l.jsx)("div",{className:"w-3 h-3 rounded-full bg-white absolute top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-opacity",style:{left:"calc(".concat($,"% - 6px)")}})]})}),(0,l.jsxs)("div",{className:"flex justify-between text-xs text-grey-2",dir:"ltr",children:[(0,l.jsx)("span",{children:(0,s.L)(X||0)}),(0,l.jsx)("span",{children:(0,s.L)(z||0)})]})]})]})});g.displayName="AudioPlayerWithTimer";let b=e=>{var t,n;let{content:r,hideDetailPageArrow:a,onClick:u}=e,c=null===(n=r.media)||void 0===n?void 0:null===(t=n.media)||void 0===t?void 0:t.originalUrl,{isVideo:p,isAudio:g}=(0,i.EO)(r),{isCurrentPlayer:b,isPlaying:w,showLoading:y,timeLeft:j}=(0,x.H)(c);return(0,l.jsxs)("div",{className:"flex flex-row justify-between",children:[(0,l.jsxs)("div",{className:"flex gap-2 relative w-full",onClick:u,children:[y?(0,l.jsx)("div",{className:"flex z-10 items-center justify-center",children:(0,l.jsx)(h.A,{className:"z-10 text-black m-auto",color:"white"})}):(0,l.jsx)("div",{className:(0,v.cn)("w-7 h-7 rounded-full flex items-center justify-center",{"bg-white":w,"bg-[#FFFFFF4D]":!w}),children:w?(0,l.jsx)(m.Z,{fill:"#000",stroke:"transparent",size:18}):(0,l.jsx)(o.g4,{content:r,className:(0,d.Z)("text-white",{"w-5 h-5":p,"w-4 h-4":g})})}),(0,l.jsx)("div",{className:"font-body text-sm font-medium text-grey-2 uppercase my-auto",children:b?(0,s.L)(j):null==r?void 0:r.duration})]}),!a&&(0,l.jsx)(f.LinkWithChannelLink,{href:"/audio/".concat(null==r?void 0:r.slug),className:"flex relative z-10 rtl:rotate-180",children:(0,l.jsx)(o.J5,{color:"white"})})]})};b.displayName="SimpleAudioPlayer";var w=n(50842);let y=(0,r.forwardRef)((e,t)=>{var n,o,u;let{content:c,hideDetailPageArrow:d,isAudioCarousel:m=!0,hideTitle:f,isAudioDetailPage:h=!1,className:x}=e,{title:y,description:j}=c||{},{mobileContentMetadata:N,desktopContentMetadata:k}=(0,i.T$)(c),C=(0,r.useRef)(null),{audioRef:E,setStaticData:L,setAudioSrc:M,setDuration:S,play:F,togglePause:T,audioSrc:R}=(0,p.nP)();(0,r.useImperativeHandle)(t,()=>({play:()=>{if(C.current){var e,t;null===(t=C.current)||void 0===t||null===(e=t.play)||void 0===e||e.call(t)}},stop:()=>{if(C.current){var e,t;null===(t=C.current)||void 0===t||null===(e=t.stop)||void 0===e||e.call(t)}}}));let I=(0,i.fi)(null==c?void 0:c.coverImage,720,720),{isVideo:z,isAudio:D}=(0,i.EO)(c),B=null==c?void 0:null===(n=c.primaryTopics)||void 0===n?void 0:n.title,P=null==c?void 0:null===(u=c.media)||void 0===u?void 0:null===(o=u.media)||void 0===o?void 0:o.originalUrl,A=(0,r.useCallback)(()=>{if(c&&P){if(R!==P){if(L({title:y||"",topic:B||"",description:j||"",isAudioCarousel:m,background:I,vjsPlayer:!1}),null==c?void 0:c.duration){let e=(0,s.R)(c.duration);e&&S(e)}if(M(P),null==E?void 0:E.current){E.current.src=P,E.current.load();let e=()=>{var t,n;(null==E?void 0:null===(t=E.current)||void 0===t?void 0:t.duration)&&!(null==c?void 0:c.duration)&&S(E.current.duration),F(),null==E||null===(n=E.current)||void 0===n||n.removeEventListener("canplaythrough",e)};E.current.addEventListener("canplaythrough",e)}}else T()}},[c,P,R,y,B,j,m,I,L,S,M,E,F,T]);return(0,l.jsxs)("div",{className:(0,v.cn)("grid gap-4",x),children:[(0,l.jsxs)("div",{className:(0,v.cn)("w-full h-full aspect-square rounded-custom overflow-hidden bg-no-repeat relative cursor-pointer video-container"),children:[(0,l.jsx)(a.default,{src:I,alt:(null==c?void 0:c.title)||"",fill:!0,className:"object-cover h-full w-full",quality:80}),(0,l.jsx)("div",{onClick:A,className:"w-full h-full absolute bottom-0 bg-gradient-to-b -from-[0%] to-[100%] from-[#00000000] to-[#000000E5] rounded-custom"}),(0,l.jsx)("div",{className:"absolute bottom-4 left-4 right-4 flex flex-col gap-4 z-10",children:(z||D)&&c?h?(0,l.jsx)(g,{content:c,image:I,ref:C,hideDetailPageArrow:d}):(0,l.jsx)(b,{content:c,hideDetailPageArrow:d,onClick:A}):null})]}),f?null:(0,l.jsx)(w.y,{mobileContentMetadata:N,desktopContentMetadata:k,className:"font-primary xl:text-xl xl:leading-7 lg:text-lg lg:leading-6 md:text-base md:leading-5.5 text-xl leading-7 font-semibold text-grey-12 line-clamp-4",children:y})]})})},31717:function(e,t,n){"use strict";n.r(t),n.d(t,{VideoCard:function(){return v}});var l=n(74023),r=n(83641),i=n(31930),a=n(16395);n(20108);var s=n(12173),o=n(94970);let u=e=>{let{content:t,duration:n}=e;return(null==t?void 0:t.subType)?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)("div",{className:"w-7 h-7 bg-[#FFFFFF4D] rounded-full relative",children:(0,l.jsx)(o.g4,{content:t,className:(0,s.cn)("text-white absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")})}),(0,l.jsx)("div",{className:"text-white",children:n})]})}):null};var c=n(72793),d=n(60736),m=n(45450);
1function v(e){let{content:t,isHover:n=!1,handleOpenModal:o,index:v}=e,{mobileContentMetadata:f,desktopContentMetadata:h}=(0,i.T$)(t),p=(0,i.fi)(null==t?void 0:t.coverImage,720,910),x=(0,d.y)(null==t?void 0:t.media,t),g=(0,d.N)(null==t?void 0:t.media,t),[b,w]=(0,r.useState)((0,i.Dr)(null==t?void 0:t.duration)||(0,i.Dr)((0,c.Mf)(null==t?void 0:t.media))),{isMobile:y}=(0,m.B)();return(0,l.jsx)("div",{className:"trt-video-modal w-full aspect-[302/526] rounded-custom relative cursor-pointer video-card-wrapper overflow-hidden",onClick:e=>{[".vjs-control-bar",".vjs-big-play-button",".vjs-menu-button",".vjs-slider"].some(t=>e.target.closest(t))||o(v)},children:(0,l.jsx)(a.j,{mobileContentMetadata:f,desktopContentMetadata:h,content:t,isHovered:n,width:604,height:1052,containerClassName:"trt-card-view-simple-controller",Placeholder:(0,l.jsxs)("div",{className:(0,s.cn)("z-[1]",{"opacity-0 transition-opacity duration-300 ease-linear":n,"pointer-events-none":!y}),style:{background:"url('".concat(p,"')"),backgroundSize:"cover"},onClick:()=>{if(y){o(v);return}},children:[(0,l.jsx)("div",{className:(0,s.cn)("w-full h-full absolute bottom-0 bg-gradient-to-b -from-[0%] to-[100%] from-[#00000000] to-[#000000E5] rounded-custom overflow-hidden")}),(0,l.jsxs)("div",{className:(0,s.cn)("absolute bottom-4 left-4 right-4 flex flex-col gap-4"),children:[(0,l.jsx)("div",{className:"font-primary text-xl font-semibold text-white leading-custom_5",children:(0,l.jsx)(a.Ow,{mobileContentMetadata:f,desktopContentMetadata:h})}),(x||g)&&(0,l.jsx)(u,{content:t,duration:b})]})]}),className:"rounded-custom pb-2 w-full",imageClassName:"rounded-custom pb-2 w-full",videoContainerClassName:(0,s.cn)({"[&_.vjs-control-bar]:!opacity-0":!n})})})}},460:function(e,t,n){"use strict";n.r(t),n.d(t,{CustomScrollbar:function(){return a}});var l=n(74023),r=n(83641),i=n(12173);function a(e){let{containerRef:t,className:n,thumbColor:a="rgba(255, 255, 255, 1)",trackColor:s="rgba(255, 255, 255, 0.1)",width:o=8}=e,[u,c]=(0,r.useState)({scrollTop:0,scrollHeight:0,clientHeight:0,isDragging:!1,dragStartY:0,dragStartScrollTop:0}),d=(0,r.useRef)(null),m=(0,r.useRef)(null),v=(0,r.useRef)(null),f=(0,r.useCallback)(()=>{if(!t.current)return;let{scrollTop:e,scrollHeight:n,clientHeight:l}=t.current;c(t=>({...t,scrollTop:e,scrollHeight:n,clientHeight:l}))},[t]);(0,r.useEffect)(()=>{let e=t.current;if(!e)return;let n=()=>{v.current&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(()=>{f()})};e.addEventListener("scroll",n,{passive:!0}),f();let l=new ResizeObserver(()=>{f()});l.observe(e);let r=new MutationObserver(()=>{f()});return r.observe(e,{childList:!0,subtree:!0,attributes:!0}),()=>{e.removeEventListener("scroll",n),l.disconnect(),r.disconnect(),v.current&&cancelAnimationFrame(v.current)}},[t,f]);let h=(0,r.useCallback)(e=>{if(e.preventDefault(),e.stopPropagation(),!t.current)return;let n=e.clientY,l=t.current.scrollTop;c(e=>({...e,isDragging:!0,dragStartY:n,dragStartScrollTop:l}));let r=e=>{var r;if(!t.current||!d.current)return;let i=e.clientY-n,a=d.current.clientHeight,s=(null===(r=m.current)||void 0===r?void 0:r.clientHeight)||0,o=t.current.scrollHeight-t.current.clientHeight;t.current.scrollTop=Math.max(0,Math.min(o,l+i/(a-s)*o))},i=()=>{c(e=>({...e,isDragging:!1})),document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",r),document.addEventListener("mouseup",i)},[t]),p=(0,r.useCallback)(e=>{if(!t.current||!d.current||!m.current||m.current.contains(e.target))return;e.preventDefault(),e.stopPropagation();let n=d.current.getBoundingClientRect(),l=e.clientY-n.top,r=n.height,i=m.current.clientHeight,a=t.current.scrollHeight-t.current.clientHeight;t.current.scrollTo({top:Math.max(0,Math.min(a,Math.max(0,Math.min(1,l/Math.max(1,r-i)))*a)),behavior:"smooth"})},[t]),{scrollTop:x,scrollHeight:g,clientHeight:b,isDragging:w}=u;if(!(g>b))return null;let y=Math.max(20,b/g*b);return(0,l.jsx)("div",{ref:d,className:(0,i.cn)("absolute ltr:right-0 rtl:left-0 top-0 bottom-0 cursor-pointer select-none z-10 rounded-full",n),style:{width:"".concat(o,"px"),backgroundColor:s},onClick:p,onMouseDown:e=>{var t;null!==(t=m.current)&&void 0!==t&&t.contains(e.target)||(e.preventDefault(),e.stopPropagation(),p(e))},children:(0,l.jsx)("div",{ref:m,className:(0,i.cn)("absolute right-0 rounded-full transition-opacity duration-200 cursor-grab active:cursor-grabbing",w&&"opacity-100"),style:{width:"".concat(o,"px"),height:"".concat(y,"px"),top:"".concat(x/(g-b)*(b-y)||0,"px"),backgroundColor:a,opacity:w?.7:1},onMouseDown:h,onMouseEnter:()=>{!w&&m.current&&(m.current.style.opacity="0.7")},onMouseLeave:()=>{!w&&m.current&&(m.current.style.opacity="1")}})})}},54835:function(e,t,n){"use strict";n.r(t),n.d(t,{FullScreenMediaModal:function(){return F}});var l=n(74023),r=n(83641),i=n(94970),a=n(45496),s=n(31038);n(42622),n(93315),n(22547),n(52036),n(20108);var o=n(31930),u=n(16336),c=n(72793),d=n(31652),m=n(73765),v=n(60736),f=n(3115),h=n(49442),p=n.n(h);function x(e,t){(0,r.useEffect)(()=>
1{if(!t){e.current&&(e.current.style.height="100%");return}let n=()=>{e.current&&(e.current.style.height="".concat(window.innerHeight,"px"))},l=p()(n,500);return n(),window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}},[t,e])}var g=n(50842),b=n(12173),w=n(90746);let y=e=>{let{desktopContentMetadata:t}=e,n=(0,m.useGetChannelLink)(),i=(0,r.useMemo)(()=>n((0,g.v)(t)),[t,n]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute w-full h-[30%] top-0",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 100%)"},"data-block":"feature-header-overlay"}),(0,l.jsx)(w.ShareArticle,{hideText:!0,variant:"light",shareUrl:i,buttonClassName:"absolute right-4 top-4 transition-opacity duration-300 ease-linear z-10"})]})};var j=n(11272);let N={loop:!0,controls:!0,fluid:!1,muted:!1,bigPlayButton:!1,width:333,playsinline:!0,preload:"none",controlBar:{volumePanel:!1,muteToggle:!0,pictureInPictureToggle:!1,progressControl:!0,fullscreenToggle:!1,remainingTimeDisplay:!0,UniversalSettingsButton:!0,subsCapsButton:!1,audioTrackButton:!1}},k=(0,r.forwardRef)((e,t)=>{let{media:n,contentMetadata:i,isFocused:a,...s}=e,o=r.useRef(null),h=(0,d.useTranslations)(),p=(0,m.useGetChannelLink)(),w=r.useRef(null),k=(0,r.useRef)(null),C=(0,r.useRef)(null),{isVertical:E,aspectRatio:L}=(0,r.useMemo)(()=>{let e=(0,v.y)(n)?(0,c.Pk)(n):(0,f.qH)(n);return e?{isVertical:e<1,aspectRatio:e}:{isVertical:!0,aspectRatio:"aspect-[0.61/1]"}},[n]);x(o,E);let M=(0,r.useMemo)(()=>(0,c.To)(n,"720p"),[n]),S=(0,r.useRef)(null),F=(0,r.useMemo)(()=>({...N,...s,techOrder:["html5","youtube"],sources:[{src:M,...M.includes("www.youtube.com")&&{type:"video/youtube"}}]}),[s,M]);return(0,r.useImperativeHandle)(t,()=>({play:()=>{if(w.current){var e,t;null===(t=w.current)||void 0===t||null===(e=t.play)||void 0===e||e.call(t)}},pause:()=>{if(w.current){var e,t;null===(t=w.current)||void 0===t||null===(e=t.pause)||void 0===e||e.call(t)}}})),(0,r.useEffect)(()=>{var e;if(w.current)return;let t=document.createElement("video-js");t.classList.add("videojs-modal"),t.setAttribute("controlslist","nodownload"),function(e){let t=e.getComponent("Button");class n extends t{createEl(){let t=e.dom.createEl("a",{className:"vjs-control vjs-button view-detail-button  ".concat(super.buildCSSClass()),href:this.options_.href||"#",target:"_self",title:this.options_.label||"View Details"});return t.innerHTML='\n      <span class="vjs-control-text">'.concat(this.options_.label||"View Details","</span>\n    "),t}constructor(e,t){super(e,t)}}e.registerComponent("ViewDetailButton",n)}(u.default),(0,j.f)(u.default),null==o||null===(e=o.current)||void 0===e||e.appendChild(t),w.current=(0,u.default)(t,F,()=>{}),S.current=M,w.current.ready(()=>{var e;w.current.getChild("controlBar").addChild("ViewDetailButton",{href:p((0,g.v)(i)),label:h("view-details"),target:"_self"},{position:w.current.getChild("controlBar").children().length-1});let t=null===(e=w.current)||void 0===e?void 0:e.el();if(t){let e=document.createElement("div");e.className="vjs-subtitle-overlay absolute bottom-20 left-0 right-0 flex justify-center pointer-events-none z-10",e.style.display="none";let n=document.createElement("div");n.className="bg-black/80 text-white px-4 py-2 rounded-md text-lg max-w-[90%] text-center",e.appendChild(n),t.appendChild(e),k.current=e;let l=document.createElement("div");l.className="vjs-track-selector-container absolute bottom-16 left-4 z-20",t.appendChild(l),C.current=l}})},[]),(0,r.useEffect)(()=>{w.current&&M&&S.current!==M&&(S.current=M,w.current.src([{src:M}]))},[M]),(0,r.useEffect)(()=>{let e=w.current;if(!e)return;let t=t=>{"VIDEO"===t.target.tagName&&(e.hasClass("vjs-playing")?e.pause():e.play())};return e.el().addEventListener("touchstart",t,{passive:!0}),e.on("useractive",()=>{let e=document.getElementById("video-share-button-container");e&&(e.style.opacity="1")}),e.on("userinactive",()=>{let e=document.getElementById("video-share-button-container");e&&(e.style.opacity="0")}),()=>{e&&!e.isDisposed()&&(e.el().removeEventListener("touchstart",t),e.dispose(),w.current=null),null==e||e.off("useractive"),null==e||e.off("userinactive")}},[w]),(0,r.useEffect)(()=>{var e,t,n;s.autoplay?null===(t=w.current)||void 0===t||null===(e=t.play())||void 0===e||e.catch(()=>{}):null===(n=w.current)||void 0===n||n.pause()},[s.autoplay]),(0,l.jsxs)("div",{className:(0,b.cn)("video-container lite-video-container",{vertical:E}),"data-vjs-player":!0,onContextMenu:e=>e.preventDefault(),children:[(0,l.jsx)("div",{style:{aspectRatio:L},className:(0,b.cn)("max-w-vw100 mt-auto mb-auto overflow-hidden relative w-full rounded-custom",{"aspect-[0.61/1] h-screen":E,"aspect-[1/0.61] w-screen max-w-full sm:w-[600px] md:w-[800px] lg:w-[1000px] xl:w-[1100px]":!E}),ref:o}),(0,l.jsx)("div",{id:a?"video-share-button-container":"video-share-button-container-inactive",className:"transition-opacity duration-300 ease-linear",children:(0,l.jsx)(y,{desktopContentMetadata:i})})]})});k.displayName="FullScreenVideo";var C=n(16395),E=n(71297),L=n(10193);let M=e=>{let{mobileContentMetadata:t,desktopContentMetadata:n}=e,r=(0,d.useTranslations)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute right-4 bottom-4 transition-opacity duration-300 ease-linear z-10",i
1d:"detail-btn",children:(0,l.jsxs)(g.y,{mobileContentMetadata:t,desktopContentMetadata:n,className:"font-notosans flex items-center gap-1 text-grey-1 text-sm font-semibold leading-6.5",children:[r("view-details"),(0,l.jsx)(E.Z,{})]})}),(0,l.jsx)("div",{className:"absolute w-full h-[30%] bottom-0",style:{background:"linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 100%)"},"data-block":"feature-header-overlay"})]})},S=e=>{let{mobileContentMetadata:t,desktopContentMetadata:n,content:i,isFocused:a,resolution:s="blur"}=e,u=(0,r.useRef)(null),d=(0,r.useRef)(null),[m,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(a){let e=setTimeout(()=>{h(!0)},3e3);return()=>clearTimeout(e)}h(!1)},[a]),x(u);let{isVertical:p,aspectRatio:g,media:w}=(0,r.useMemo)(()=>{let e=i.media||i.coverImage,t=(0,v.y)(e)?(0,c.Pk)(e):(0,f.qH)(e);return t?{isVertical:t<1,aspectRatio:t,media:e}:{isVertical:!0,aspectRatio:"aspect-[0.61/1]"}},[i]);return(0,l.jsxs)("div",{className:(0,b.cn)("max-w-vw100 mt-auto mb-auto overflow-hidden h-screen relative w-full",{"aspect-[0.61/1] w-auto max-h-screen  h-screen":p,"aspect-[1/0.61] !h-auto max-h-[80vh] w-screen max-w-full sm:w-[600px] md:w-[800px] lg:w-[1000px] xl:w-[1100px]":!p}),style:{aspectRatio:g},ref:u,children:[(0,l.jsx)(L.default,{alt:"","aria-hidden":"true",src:(0,o.fi)(w,1220,2e3,s),width:1220,height:2e3,style:{aspectRatio:g},className:(0,b.cn)("object-cover scale-110 opacity-100 z-1 blur-lg transition-opacity duration-300",{"opacity-0 absolute h-0 w-0":m,"opacity-100 z-1":!m}),priority:!0,unoptimized:!0}),a?(0,l.jsx)(C.j,{width:1220,height:2e3,mobileContentMetadata:t,desktopContentMetadata:n,className:"w-full h-full",linkClassName:"h-full",onImageLoad:()=>{h(!0)},hidePlaceholder:!0}):null,(0,l.jsxs)("div",{ref:d,className:"opacity-100 transition-opacity duration-300 ease-linear z-[102]",children:[(0,l.jsx)(y,{desktopContentMetadata:n}),(0,l.jsx)(M,{mobileContentMetadata:t,desktopContentMetadata:n})]})]})};function F(e){let{videoIndex:t,initialSlide:n,onClose:u,contents:c,resolution:d}=e,[m,v]=(0,r.useState)(n),[f,h]=(0,r.useState)(null);(0,r.useEffect)(()=>(void 0!==t?document.body.classList.add("no-scroll"):document.body.classList.remove("no-scroll"),()=>{document.body.classList.remove("no-scroll")}),[t]);let p=(0,r.useRef)([]),x=e=>{var t,n;let l=e.activeIndex,r=null==c?void 0:c[l];null===(n=window.dataLayer)||void 0===n||null===(t=n.push)||void 0===t||t.call(n,{event:"virtual_page_view",page_title:r.title,page_path:"/video/".concat(r.slug)})};(0,r.useEffect)(()=>{f&&n&&setTimeout(()=>{v(n),null==f||f.slideTo(n)},1e3)},[f,n]);let g=(0,r.useRef)(!1);return void 0===t?null:(0,l.jsxs)("div",{className:(0,b.cn)("trt-video-modal fixed top-0 left-0 right-0 bottom-0 bg-black flex justify-center items-center z-[101] video-modal-root-container"),children:[(0,l.jsx)(a.tq,{navigation:!0,modules:[s.W_],className:"w-full",initialSlide:n,onSwiper:h,onSlideChange:e=>{x(e),p.current.forEach(e=>{if(null==e?void 0:e.pause){var t;null===(t=e.pause)||void 0===t||t.call(e)}});let t=e.activeIndex;v(t);let n=p.current[t];if(null==n?void 0:n.play){var l;null===(l=n.play())||void 0===l||l.catch(()=>{})}},updateOnWindowResize:!0,onInit:e=>{g.current||(g.current=!0,x(e))},noSwipingClass:"vjs-control-bar",resizeObserver:!0,slidesPerView:1,watchSlidesProgress:!0,watchOverflow:!0,children:c&&(null==c?void 0:c.map((e,t)=>{var r,i,s;let{mobileContentMetadata:u,desktopContentMetadata:c}=(0,o.T$)(e),v=window.outerWidth<768?u:c,f=null!==(s=null===(i=v.medias)||void 0===i?void 0:null===(r=i.find(e=>{var t,n;return"string"==typeof e.media?/mp4$|mkv|webm|ogv/gi.test(e.media):(null===(n=e.media)||void 0===n?void 0:null===(t=n.media)||void 0===t?void 0:t.type)==="VIDEO"}))||void 0===r?void 0:r.media)&&void 0!==s?s:e.media;return(0,l.jsx)(a.o5,{children:(0,l.jsx)("div",{className:"relative z-20 ",children:(0,l.jsx)("div",{className:"bg-transparent relative cursor-pointer",children:f?(0,l.jsx)(k,{content:e,media:f,autoplay:t===n,contentMetadata:v,ref:e=>{p.current[t]=e},isFocused:t===m,resolution:d}):(0,l.jsx)(S,{content:e,mobileContentMetadata:u,desktopContentMetadata:c,isFocused:t===m,resolution:d})})})},e.id)}))}),(0,l.jsx)("div",{className:"w-10 h-10 bg-white rounded-full absolute right-4 md:right-10 top-4 md:top-10 flex justify-center items-center cursor-pointer z-20",onClick:e=>{e.stopPropagation(),e.preventDefault(),null==u||u()},children:(0,l.jsx)(i.Tw,{className:"text-[#111111]"})})]})}},9483:function(e,t,n){"use strict";n.r(t),n.d(t,{MiniVideoPlayer:function(){return N}});var l=n(74023),r=n(83641),i=n(16336),a=n(27421),s=n(12173),o=n(7470),u=n(94970),c=n(10193),d=n(69489),m=n(62405),v=n(12882);
1let f=[1,1.25,1.5,1.75,2],h=e=>{let{background:t,title:n,isPaused:i,handlePlayClick:a,onMobileAudioClose:h,htmlAudioElement:p,audioCurrentTime:x,isAudioEnded:g,durationInSeconds:b,description:w,isMuted:y,handleMuteClick:j}=e,[N,k]=(0,r.useState)(1),C=(0,r.useCallback)(e=>{let t=(f.indexOf(N)+1)%f.length,n=e||f[t];k(n),p&&(p.playbackRate=n)},[N,p]);(0,r.useEffect)(()=>{C(1)},[n]);let E=(0,r.useCallback)(e=>{if(!p)return;let t=Math.max(0,Math.min(p.duration||0,e));p.currentTime=t},[p]),L=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;if(!p)return;let t=Math.min(p.duration||0,p.currentTime+e);p.currentTime=t},[p]),M=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;if(!p)return;let t=Math.max(0,p.currentTime-e);p.currentTime=t},[p]);return(0,l.jsxs)("div",{className:"fixed bottom-0 w-full bg-grey-3 z-10",id:v.HV,children:[(0,l.jsxs)("div",{className:(0,s.cn)("w-full grid grid-cols-1 md:grid-cols-[381px_1fr] lg:grid-cols-2 justify-between mx-auto items-center gap-8 px-2 rounded-t-lg max-w-[664px] gap-3 pt-2 pb-4","sm:gap-8 sm:pt-4","md:max-w-[880px] md:pt-5 md:pb-6","lg:max-w-[1140px] ","xl:max-w-[1440px]"),children:[(0,l.jsxs)("div",{className:"grid align-center grid-cols-[60px_1fr] gap-2 md:gap-5",children:[(0,l.jsx)(c.default,{src:t||"/png/placeholder.png",alt:n||"",className:"object-cover relative rounded-custom",width:60,height:60}),(0,l.jsx)("div",{className:"py-px flex justify-start items-center gap-3",children:(0,l.jsxs)("div",{className:"flex flex-col justify-start items-start gap-2",children:[(0,l.jsx)("div",{className:"flex justify-start items-center gap-2",children:(0,l.jsx)("div",{className:"text-grey-11 text-lg font-medium font-primary",children:n})}),(0,l.jsx)("div",{className:"hidden lg:block self-stretch text-grey-11 text-xs2 font-normal font-body",children:w})]})})]}),(0,l.jsxs)("div",{className:"grid align-center gap-2",children:[(0,l.jsxs)("div",{className:"flex mx-auto justify-start items-center gap-4 pe-4 ps-3 h-full bg-grey-3",children:[(0,l.jsxs)("button",{onClick:()=>C(),className:"px-2 py-1 rounded-full hover:bg-[#DBDBDB] transition-colors min-w-[44px] text-grey-13 text-sm font-medium",title:"Playback speed",children:[N,"x"]}),(0,l.jsx)("button",{onClick:()=>M(10),className:"p-1 rounded-full hover:bg-[#DBDBDB] transition-colors",children:(0,l.jsx)(d.Z,{size:20,className:"text-grey-13"})}),(0,l.jsx)("button",{className:"rounded-full hover:bg-[#DBDBDB] p-2",onClick:a,children:i?(0,l.jsx)(u.o1,{className:"cursor-pointer"}):(0,l.jsx)(u.fp,{className:"cursor-pointer"})}),(0,l.jsx)("button",{onClick:()=>L(10),className:"p-1 rounded-full hover:bg-[#DBDBDB] transition-colors",children:(0,l.jsx)(m.Z,{size:20,className:"text-grey-13"})}),(0,l.jsx)("button",{className:"rounded-full hover:bg-[#DBDBDB] p-2",onClick:j,children:y?(0,l.jsx)(u.QQ,{className:"cursor-pointer"}):(0,l.jsx)(u.EV,{className:"cursor-pointer"})})]}),p&&(0,l.jsxs)("div",{className:"relative flex flex-row items-center justify-center gap-1.5 font-body text-xs text-black",children:[(0,l.jsx)("p",{className:"relative md:absolute md:top-[-24px] md:left-0",children:(0,o.L)(Math.round(x))||"00:00"}),(0,l.jsx)("div",{className:"w-full bg-grey-6 h-1 relative cursor-pointer rounded-full",onClick:e=>{let t=e.currentTarget.getBoundingClientRect();E((e.clientX-t.left)/t.width*b)},children:(0,l.jsx)("div",{className:"bg-grey-10 h-1 absolute left-0 top-0 rounded-full transition-[width] ease-linear",style:{width:"".concat(g?100:x>0&&x/b*100||0,"%")}})}),(0,l.jsx)("p",{className:"relative md:absolute md:top-[-24px] md:right-0",children:(0,o.L)(p.duration||"")})]})]})]}),(0,l.jsx)("div",{className:"absolute right-5 top-3 md:top-1/2 md:-translate-y-1/2 cursor-pointer",onClick:()=>{h()},children:(0,l.jsx)(u.Tw,{color:"text-grey-7"})})]})};var p=n(6411),x=n(12165);let g=e=>{let{htmlAudioElement:t,background:n,title:r,isAudio:i,isLiveRadio:a,isLive:o,isPaused:u,playerRef:d}=e;return(0,l.jsxs)("div",{className:(0,s.cn)("w-full relative flex flex-col justify-start items-start",{'min-h-60 after:content-[""] after:z-1 after:w-full after:h-full after:absolute after:bottom-0 after:bg-gradient-to-b after:-from-[0%] after:to-[100%] after:from-[#00000000] after:to-[#000000E5] after:rounded-custom':t}),children:[(0,l.jsx)("div",{id:v.dG,className:"w-full min-h-40"}),(0,l.jsx)("div",{className:"w-full opacity-25 bg-black"}),n?(0,l.jsx)(c.default,{src:n,alt:r||"",className:"object-cover relative",fill:!0}):null,(i||a)&&(0,l.jsx)("div",{className:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 z-[2]",children:(0,l.jsx)(p.s,{color:"#FFFFFF",isPlaying:!u})}),!(i||a)&&(0,l.jsx)(x.e,{player:d}),(o||a)&&(0,l.jsx)("div",{className:(0,s.cn)("w-full h-1",{"bg-live":o,"bg-categories-opinion":a})})]})};var b=n(4851),w=n(45450),y=n(29413);let j=(0,n(45401).U)(e=>({isMiniPlayerExists:!1,setIsMiniPlayerExists:t=>e({isMiniPlayerExists:t}),showLiveTV:!1,setShowLiveTV:t=>e({showLiveTV:t})})),N=()=>{var e;let t=(0,r.useRef)(null),[n,i]=(0,r.useState)(),[u,c]=(0,r.useState)(!1),[,d]=(0,r.useState)(!1),[m,f]=(0,r.useState)(!1),[p,x]=(0,r.useState)(!1),[j,N]=(0,r.useState)(),[E,L]=(0,r.useState)(),[M,S]=(0,r.useState)(),[F,T]=(0,r.useState)(),[R,I]=(0,r.useState)(),[z,D]=(0,r.useState)(),[B,P]=(0,r.useState)(0),[A,V]=(0,r.useState)(!1),{isMobile:H}=(0,w.B)(),_=(0,r.useCallback)(e=>{e?localStorage.setItem(v.vw,"true"):localStorage.setItem(v.vw,"false")},[]),[O,U]=(0,r.useState)(!0),[q,Z]=(0,r.useState)(!1),W=(0,r.useMemo)(()=>m&&!p,[m,p]),{setAudioData:G,onToggleMute:X,onTogglePlay:Q,onPause:Y,onClose:J}=function(e){let{htmlAudioElement:t,setTitle:n,setTopic:l,setDescription:i,setIsAudio:s,setIsLiveRadio:o,setIsLive:u,setIsPaused:c,setIsMuted:d}=e,m=(0,r.useCallback)(()=>{t&&(c(!0),t.pause())},[t,c]),v=(0,r.useCallback)(()=>{t&&(c(!0),t.pause())},[t,c]),f=(0,r.useCallback)(()=>
1{if(t){if(t.paused){var e;c(!1),null===(e=t.play())||void 0===e||e.catch(()=>{});return}c(!0),t.pause()}},[t,c]),h=(0,r.useCallback)(()=>{if(!t)return;let e=!t.muted;d(e),t.muted=e,(0,a.fu)(e);let n=t.volume;(0,a.q7)(e?0:n,e)},[t,d]);return(0,r.useEffect)(()=>{if(!t)return;let e=()=>{c(!1)},n=()=>{c(!0)};return null==t||t.addEventListener("play",e,!0),null==t||t.addEventListener("pause",n,!0),()=>{null==t||t.removeEventListener("play",e,!0),null==t||t.removeEventListener("pause",n,!0)}},[t,c]),(0,r.useEffect)(()=>{if(!t)return;let e=e=>{if(e.detail){let{muted:n}=e.detail;t.muted!==n&&(t.muted=n,d(n))}},n=e=>{if(e.detail){let{volume:n,muted:l}=e.detail;void 0!==n&&t.volume!==n&&(t.volume=n),t.muted!==l&&(t.muted=l,d(l))}};return window.addEventListener("trt:audio:mute",e),window.addEventListener("trt:audio:volumechange",n),()=>{window.removeEventListener("trt:audio:mute",e),window.removeEventListener("trt:audio:volumechange",n)}},[t,d]),{htmlAudioElement:t,setAudioData:(e,t)=>{l(t.dataset.topic),n(t.dataset.title),i(t.dataset.description),s("true"===t.dataset.isAudio),o("true"===t.dataset.isLiveRadio),u(!1)},onTogglePlay:f,onToggleMute:h,onClose:m,onPause:v}}({htmlAudioElement:z,setTitle:L,setTopic:S,setDescription:T,setIsAudio:f,setIsLiveRadio:x,setIsLive:c,setIsPaused:Z,setIsMuted:U}),$=(0,r.useCallback)(()=>{if(z){Q();return}Z(e=>{var n,l,r;return e?null===(l=t.current)||void 0===l||null===(n=l.play())||void 0===n||n.catch(()=>{}):null===(r=t.current)||void 0===r||r.pause(),!e})},[t,z,Q]),K=(0,r.useCallback)(()=>{var e,n,l;if(z){X();return}let r=!(null===(e=t.current)||void 0===e?void 0:e.muted());if(U(r),null===(n=t.current)||void 0===n||n.muted(r),(0,a.fu)(r),null===(l=t.current)||void 0===l?void 0:l.volume){let e=t.current.volume();"number"==typeof e&&(0,a.q7)(r?0:e,r)}},[t,z,X]),ee=(0,r.useCallback)((e,t,n)=>{e.setAttribute("mini-player","true"),i(e),U(e.muted),Z(e.paused),L(t.dataset.title),S(t.dataset.topic),T(t.dataset.description),c("true"===t.dataset.isLive),f("true"===t.dataset.isAudio),x("true"===t.dataset.isLiveRadio),N(n),I(t.dataset.background)},[]),et=(0,r.useCallback)(e=>{var n,l,r;let a=e.target,s=a.closest(".show-mini-player");if((null==a?void 0:null===(n=a.closest("video-js"))||void 0===n?void 0:n.classList.contains(v.lm))||!s)return;let o=("undefined"!=typeof document?document:{}).getElementById(v.dG),d=null==o?void 0:o.querySelector("video"),m={...JSON.parse(null!==(r=s.dataset.options)&&void 0!==r?r:"{}"),controls:!1,fluid:!0,width:void 0,height:void 0,muted:a.muted,paused:a.paused};if((null===(l=m.sources)||void 0===l?void 0:l.some(e=>{var t,n;return e.src===(null==j?void 0:null===(n=j.sources)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.src)}))&&(null==d?void 0:d.id)!==a.id&&d&&(C({playerRef:t,setIsPlaying:_}),i(void 0),c(!1),x(!1),d=null),(null==d?void 0:d.id)!==a.id&&Z(!0),"AUDIO"===a.tagName&&s){let e=t.current;e&&!e.isDisposed()&&e.pause(),z&&z.id!==a.id&&z.pause(),ee(a,s,m),D(a),G(a,s),V(!1);return}(u||p)&&d||"VIDEO"!==a.tagName||!s||(ee(a,s,m),z&&(z.pause(),D(void 0)))},[u,p,null==j?void 0:j.sources,ee,G,z,_]),en=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!en.current){let e=document.getElementById(v.a4);e&&(en.current=e)}if(en.current&&W&&z){if(H){var e;let t=null===(e=document.getElementById(v.HV))||void 0===e?void 0:e.clientHeight;en.current.style.bottom=t?"".concat(t+8,"px"):"180px"}else en.current.style.bottom=""}},[H,W,z,q]);let el=(0,r.useCallback)(()=>{var e,l,r;let i=null==n?void 0:n.closest(".show-mini-player");if(!i)return;let a=null==n?void 0:null===(e=n.getBoundingClientRect)||void 0===e?void 0:e.call(n);a&&n&&window.innerWidth>=768&&(a.bottom-100<0||a.top+100>window.innerHeight?n.paused||n.muted&&(null===(l=i.dataset)||void 0===l?void 0:l.isLive)!=="true"&&(null===(r=i.dataset)||void 0===r?void 0:r.isLiveRadio)!=="true"||(k({htmlVideoElement:n,options:{...j,muted:n.muted,paused:n.paused,autoplay:!1},playerRef:t,htmlAudioElement:z,setIsPlaying:_}),n.muted!==O&&U(n.muted),n.paused!==q&&Z(n.paused),d(!0)):(C({htmlVideoElement:n,playerRef:t,setIsPlaying:_}),d(!1)))},[n,z,j,O,q,_]);(0,r.useEffect)(()=>{let e="undefined"!=typeof document?document:{};return e.addEventListener("play",et,!0),e.addEventListener("scroll",el),()=>{e.removeEventListener("play",et,!0),e.removeEventListener("scroll",el)}},[et,el]);let er=(0,r.useCallback)(()=>Z(!0),[]),ei=(0,r.useCallback)(()=>{var e;(null===(e=t.current)||void 0===e?void 0:e.muted())?U(!0):U(!1)},[]),ea=(0,r.useCallback)(()=>Z(!1),[]);(0,r.useEffect)(()=>{let e=t.current;return null==e||e.on("pause",er),null==e||e.on("play",ea),null==e||e.on("volumechange",ei),()=>{null==e||e.off("volumechange",er),null==e||e.off("volumechange"),null==e||e.off("play",ea)}},[er,ea,t.current,ei]),(0,r.useEffect)(()=>
1{if(z&&W){let e=()=>{z&&P(null==z?void 0:z.currentTime)};return null==z||z.addEventListener("timeupdate",e,!0),null==z||z.addEventListener("ended",function(){V(!0)}),()=>{null==z||z.removeEventListener("timeupdate",e,!0),z.removeEventListener("ended",function(){V(!0)})}}},[z,W]);let es=(0,o.R)(null==z?void 0:null===(e=z.duration)||void 0===e?void 0:e.toString())||0,{audioSrc:eo}=(0,y.nP)();return eo?null:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{id:v.XD,className:(0,s.cn)("hidden w-[428px] pb-3.5 bg-grey-3 rounded-tl-custom overflow-hidden rounded-tr-custom flex-col justify-start items-start gap-4 fixed right-0 bottom-0 z-10",{"w-full shadow-lg":W}),children:W?null:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(g,{htmlAudioElement:!!z,background:R||"",title:E||"",isAudio:m,isLiveRadio:p,isLive:u,isPaused:q,playerRef:t}),(0,l.jsx)(b.g,{title:E||"",description:F||"",isMuted:O,handleMuteClick:K,handlePlayClick:$,onClose:J,playerRef:t,htmlAudioElement:z,isPaused:q,switchFromMiniPlayer:()=>C({autoplayMainVideo:!1,playerRef:t,setIsPlaying:_})})]})}),W&&z?(0,l.jsx)(h,{background:R||"",title:E||"",topic:M||"",isPaused:q,handlePlayClick:$,onMobileAudioClose:()=>{Y(),D(void 0),en.current&&(en.current.style.bottom="")},htmlAudioElement:z,audioCurrentTime:B,isAudioEnded:A,durationInSeconds:es,duration:es,description:F||"",isMuted:O,handleMuteClick:K}):null]})},k=e=>{var t,n;let{htmlVideoElement:l,options:r,playerRef:a,htmlAudioElement:s,setIsPlaying:o}=e,u="undefined"!=typeof document?document:{},c=u.getElementById(v.XD);if(c.classList.contains(v.DS)||(null===(t=a.current)||void 0===t?void 0:t.isFullscreen()))return;null==c||c.classList.add(v.DS,"inline-flex"),null==c||c.classList.remove("hidden"),j.getState().setIsMiniPlayerExists(!0);let d=u.getElementById(v.dG);if((null==d?void 0:d.querySelector("video-js"))||!l)return;let m=u.createElement("video-js");m.classList.add(v.lm,"w-full"),null===(n=u.getElementById(v.dG))||void 0===n||n.appendChild(m);let f=a.current=(0,i.default)(m,r,()=>{f.currentTime(l.currentTime);let e=!l.paused;if(s)return!0;if(l.pause(),e){var t;null===(t=f.play())||void 0===t||t.catch(()=>{o(!1)}),o(!0),setTimeout(()=>{var e;null===(e=f.play())||void 0===e||e.catch(()=>{o(!1)}),o(!0)},100)}});return!0},C=e=>{var t,n,l,r,i,a;let{htmlVideoElement:s,autoplayMainVideo:o=!0,playerRef:u,setIsPlaying:c}=e;c(!1);let d="undefined"!=typeof document?document:{},m=d.getElementById(v.dG),f=null==m?void 0:m.querySelector("video-js");if(!f||(null===(t=u.current)||void 0===t?void 0:t.isFullscreen()))return;null==m||m.removeChild(f);let h=d.getElementById(v.XD);null==h||h.classList.remove(v.DS,"inline-flex"),null==h||h.classList.add("hidden"),j.getState().setIsMiniPlayerExists(!1);let p=(null===(n=u.current)||void 0===n?void 0:n.currentTime())||0;s&&(s.muted=!!(null===(l=u.current)||void 0===l?void 0:l.muted()),s.currentTime=p,(null===(r=u.current)||void 0===r?void 0:r.paused())||!o||null==s||null===(a=s.play())||void 0===a||null===(i=a.then())||void 0===i||i.catch(()=>{}),u.current=null)}},12165:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var l=n(74023),r=n(94970),i=n(93420),a=n(34360);let s=e=>{let{player:t}=e;return(0,l.jsx)("div",{className:"absolute flex items-end justify-end bottom-0 w-full h-10 opacity-0 group-hover:opacity-100 transition-opacity duration-300 ",style:{background:"linear-gradient(360deg, rgba(0, 0, 0, 0.67) 0%, rgba(0, 0, 0, 0) 100%)"},children:(0,l.jsx)("button",{id:i.ie,onClick:()=>{var e,n;null==t||null===(e=t.current)||void 0===e||e.requestFullscreen(),null==t||null===(n=t.current)||void 0===n||n.on("fullscreenchange",(0,a.v)(t))},children:(0,l.jsx)(r.Xt,{className:"text-white mb-3 me-2 cursor-pointer"})})})}},4851:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var l=n(74023),r=n(94970);let i=e=>{let{title:t,description:n,isMuted:i,handleMuteClick:a,handlePlayClick:s,onClose:o,htmlAudioElement:u,isPaused:c,switchFromMiniPlayer:d,onPlayerClose:m}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"w-full h-12 py-px pl-4 pr-6 relative max-w-[428px]",children:[(0,l.jsx)("div",{className:"h-12 py-px flex justify-start items-center gap-3",children:(0,l.jsxs)("div",{className:"flex flex-col justify-start items-start gap-2",children:[(0,l.jsx)("div",{className:"flex justify-start items-center gap-2",children:(0,l.jsx)("div",{className:"text-grey-11 text-lg font-medium font-alt truncate w-72",children:t})}),(0,l.jsx)("div",{className:"w-72 self-stretch text-grey-11 text-xs2 font-normal font-body truncate",children:n})]})}),(0,l.jsxs)("div",{className:"flex justify-start items-center gap-4 absolute ltr:right-0 rtl:left-0 top-1/2 -translate-y-1/2 pe-4 ps-3 h-full bg-grey-3",children:[i?(0,l.jsx)(r.QQ,{onClick:a,className:"cursor-pointer"}):(0,l.jsx)(r.EV,{onClick:a,className:"cursor-pointer"}),c?(0,l.jsx)(r.o1,{onClick:s,className:"cursor-pointer"}):(0,l.jsx)(r.fp,{onClick:s,className:"cursor-pointer"})]})]}),(0,l.jsx)("div",{className:"absolute top-0 w-full h-10 pointer-events-none opacity-0 group-hover:opacity-100 transition-opacity duration-300 ",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.68) -27.38%, rgba(0, 0, 0, 0) 100%)"}}),(0,l.jsx)("div",{className:"absolute right-0 top-0 cursor-pointer p-3",onClick:()=>{null==m||m(),u&&(null==o||o()),null==d||d()},children:(0,l.jsx)(r.Tw,{color:"white"})})]})}},35483:function(e,t,n){"use strict";n.r(t),n.d(t,{NoResults:function(){return a}});var l=n(74023),r=n(31652),i=n(12173);let a=e=>{let{searchTerm:t}=e,n=(0,r.useTranslations)();return(0,l.jsxs)("div",{className:"grid grid-cols-1",children:[(0,l.jsxs)("div",{className:"grid content-start gap-6 text-grey-12 font-body text-xl",children:[(0,l.jsx)("div",{className:"text-grey-12 font-alt xl:text-4xl lg:text-3.5xl sm:text-2.5xl text-2xl font-medium xl:leading-normal lg:leading-10 sm:leading-8 leading-7",children:n("not-found-try-again")}),n("no-results",{q:t})]}),(0,l.jsx)("div",{className:(0,i.cn)("grid grid-cols-1 lg:sticky lg:top-articleStickyRightRailLgH xl:top-articleStickyRightRailXlH")})]})}},33533:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var l=n(74023),r=n(83641),i=n(12173);let a=r.forwardRef((e,t)=>
1{let{color:n="black",className:r,...a}=e;return(0,l.jsxs)("svg",{className:(0,i.cn)("mr-3 -ml-1 size-5 animate-spin text-white",r),xmlns:"http://www.w3.org/2000/svg",fill:"none",...a,ref:t,viewBox:"0 0 24 24",children:[(0,l.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:n,strokeWidth:"4"}),(0,l.jsx)("path",{className:"opacity-75",fill:n,d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})});a.displayName="AnimateSpinIcon"},69489:function(e,t,n){"use strict";var l=n(74023);n(83641),t.Z=e=>{let{className:t,size:n=24}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",width:n,height:n,strokeWidth:"2",className:t,children:[(0,l.jsx)("path",{d:"M7 9l-3 -3l3 -3"}),(0,l.jsx)("path",{d:"M15.997 17.918a6.002 6.002 0 0 0 -.997 -11.918h-11"}),(0,l.jsx)("path",{d:"M6 14v6"}),(0,l.jsx)("path",{d:"M9 15.5v3a1.5 1.5 0 0 0 3 0v-3a1.5 1.5 0 0 0 -3 0z"})]})}},62405:function(e,t,n){"use strict";var l=n(74023);n(83641),t.Z=e=>{let{className:t,size:n=24}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",width:n,height:n,strokeWidth:"2",className:t,children:[(0,l.jsx)("path",{d:"M17 9l3 -3l-3 -3"}),(0,l.jsx)("path",{d:"M8 17.918a5.997 5.997 0 0 1 -5 -5.918a6 6 0 0 1 6 -6h11"}),(0,l.jsx)("path",{d:"M12 14v6"}),(0,l.jsx)("path",{d:"M15 15.5v3a1.5 1.5 0 0 0 3 0v-3a1.5 1.5 0 0 0 -3 0z"})]})}},90746:function(e,t,n){"use strict";n.r(t),n.d(t,{ShareArticle:function(){return m}});var l=n(74023),r=n(94970),i=n(31652),a=n(12173),s=n(83641),o=n(80083),u=n(61947),c=n(97769);let d=e=>{let{Icon:t,title:n,onShare:r,children:i}=e;return(0,l.jsxs)("button",{className:(0,a.cn)("flex items-center gap-2 relative"),onClick:r,children:[(0,l.jsx)("div",{className:"flex items-center justify-center w-10 h-10 bg-grey-3 rounded-full",children:t}),(0,l.jsx)("p",{className:"font-normal",children:n}),i]})},m=e=>{let{variant:t="dark",title:n="",description:m="",shareUrl:v="",buttonClassName:f="",hideText:h=!1}=e,p=(0,i.useTranslations)(),[x,g]=(0,s.useState)(!1),b=(0,c.usePathname)(),w=(0,s.useCallback)(()=>v?"".concat(window.location.origin).concat(v):"".concat(window.location.origin).concat(b),[v,b]);return(0,l.jsxs)(o.fC,{children:[(0,l.jsx)(o.xz,{asChild:!0,children:(0,l.jsxs)("button",{className:(0,a.cn)("flex items-center flex-row gap-1",f),children:[(0,l.jsx)(r.aA,{className:(0,a.cn)({"text-black":"dark"===t,"text-white":"light"===t})}),h?null:(0,l.jsx)("div",{className:(0,a.cn)("font-body text-sm font-semibold my-auto",{"text-black":"dark"===t,"text-white":"light"===t}),children:p("share")})]})}),(0,l.jsx)(o.h_,{children:(0,l.jsxs)(o.VY,{side:"bottom",className:"w-52 relative z-[102] bg-white shadow-share p-5 gap-3 rounded-lg",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,l.jsx)("p",{className:"text-xs font-bold uppercase",children:"SHARE OPTIONS"}),(0,l.jsx)(o.x8,{className:"PopoverClose","aria-label":"Close",children:(0,l.jsx)(r.Tw,{})})]}),(0,l.jsxs)("div",{className:"grid gap-3",children:[(0,l.jsx)(d,{title:"Copy Link",Icon:(0,l.jsx)(r.Od,{}),onShare:()=>{(0,u.fv)(w()),g(!0),setTimeout(()=>{g(!1)},5e3)},children:(0,l.jsx)("div",{className:(0,a.cn)("absolute left-1/2 transform -translate-x-1/2 top-10 mt-2 px-3 py-1 text-sm text-white bg-gray-800 rounded shadow opacity-0 transition-opacity duration-300",{"opacity-1":x}),children:"Copied!"})}),(0,l.jsx)(d,{title:"Email",Icon:(0,l.jsx)(r.LQ,{}),onShare:()=>(0,u.WZ)(w(),n,m)}),(0,l.jsx)(d,{title:"X",Icon:(0,l.jsx)(r.b0,{}),onShare:()=>(0,u.xe)(w(),n)}),(0,l.jsx)(d,{title:"Facebook",Icon:(0,l.jsx)(r.Vq,{}),onShare:()=>(0,u.pu)(w())}),(0,l.jsx)(d,{title:"LinkedIn",Icon:(0,l.jsx)(r.nI,{}),onShare:()=>(0,u.VO)(w(),n,m,"trtglobal.io")}),(0,l.jsx)(d,{title:"Telegram",Icon:(0,l.jsx)(r.YG,{}),onShare:()=>(0,u.Uc)(w(),n)}),(0,l.jsx)(d,{title:"WhatsApp",Icon:(0,l.jsx)(r.ud,{}),onShare:()=>(0,u.FF)(w(),n)})]})]})})]})}},61947:function(e,t,n){"use strict";n.d(t,{FF:function(){return c},Uc:function(){return u},VO:function(){return o},WZ:function(){return i},fv:function(){return r},pu:function(){return s},xe:function(){return a}});let l="Check this out!",r=e=>{navigator.clipboard.writeText(e).then(()=>{}).catch(()=>{alert("Failed to copy the link.")})},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r="mailto:?subject=".concat(encodeURIComponent(t),"&body=").concat(encodeURIComponent(n+e));window.open(r,"_blank")},a=(e,t)=>{let n="https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(t),"&url=").concat(encodeURIComponent(e));window.open(n,"_blank")},s=e=>{let t="https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(e));window.open(t,"_blank")},o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i="https://www.linkedin.com/sharing/share-offsite/?url=".concat(encodeURIComponent(e),"&title=").concat(encodeURIComponent(t),"&summary=").concat(encodeURIComponent(n||""),"&source=").concat(encodeURIComponent(r));window.open(i,"_blank")},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n="https://t.me/share/url?url=".concat(encodeURIComponent(e),"&text=").concat(encodeURIComponent(t));window.open(n,"_blank")},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n="https://wa.me/?text=".concat(encodeURIComponent(t+" "+e));window.open(n,"_blank")}},27421:function(e,t,n){"use strict";n.d(t,{fu:function(){return o},q7:function(){return s},zG:function(){return u}});var l=n(7470),r=n(83641);
1let i="trt:audio:volumechange",a="trt:audio:mute";function s(e,t){{let n=new CustomEvent(i,{detail:{volume:e,muted:t}});window.dispatchEvent(n)}}function o(e){{let t=new CustomEvent(a,{detail:{muted:e}});window.dispatchEvent(t)}}function u(e,t){let[n,u]=(0,r.useState)(0),[c,d]=(0,r.useState)(!1),[m,v]=(0,r.useState)(1),[f,h]=(0,r.useState)(!1),[p,x]=(0,r.useState)(0),g=(0,r.useRef)(null),b=(0,r.useRef)(null),w=t||b,y=(0,r.useCallback)(()=>{var e;(null===(e=w.current)||void 0===e?void 0:e.duration)&&!N.current&&(u(w.current.duration),C(w.current.duration))},[]),j=(0,r.useMemo)(()=>(0,l.R)(e)||n||0,[n,e]);(0,r.useEffect)(()=>{N.current=j},[e]);let N=(0,r.useRef)(j),[k,C]=(0,r.useState)(j),[E,L]=(0,r.useState)(!1),M=(0,r.useCallback)(()=>{var e;null===(e=w.current)||void 0===e||e.pause()},[]),S=(0,r.useCallback)(()=>{var e,t,n;if(!k){let e=(null===(n=w.current)||void 0===n?void 0:n.duration)||0;N.current=e,C(e)}null===(t=w.current)||void 0===t||null===(e=t.play())||void 0===e||e.catch(()=>{})},[k]),F=(0,r.useCallback)(()=>{E?M():S()},[S,M,E]);(0,r.useEffect)(()=>{w.current&&(w.current.volume=m,h(0===m))},[m]);let T=(0,r.useCallback)(e=>{if(!w.current)return;let t=Math.max(0,Math.min(1,e));w.current.volume=t,v(t),h(0===t),s(t,0===t)},[]),R=(0,r.useCallback)(()=>{if(w.current){if(f||0===m){let e=0===m?.5:m;w.current.volume=e,0===m&&v(e),h(!1),o(!1)}else w.current.volume=0,h(!0),o(!0)}},[f,m]);(0,r.useEffect)(()=>{let e=e=>{if(e.detail){let{volume:t,muted:n}=e.detail;w.current&&(w.current.volume!==t&&(w.current.volume=t,v(t)),h(n))}},t=e=>{if(e.detail){let{muted:t}=e.detail;h(t),w.current&&(t?w.current.volume=0:(w.current.volume=0===m?.5:m,0===m&&v(.5)))}};return window.addEventListener(i,e),window.addEventListener(a,t),()=>{window.removeEventListener(i,e),window.removeEventListener(a,t)}},[w,m]);let I=(0,r.useCallback)(e=>{if(!w.current)return;let t=Math.max(0,Math.min(w.current.duration||0,e));w.current.currentTime=t,x(t),C(N.current-t)},[]),z=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;if(!w.current)return;let t=Math.min(w.current.duration||0,w.current.currentTime+e);w.current.currentTime=t,x(t),C(N.current-t)},[]),D=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;if(!w.current)return;let t=Math.max(0,w.current.currentTime-e);w.current.currentTime=t,x(t),C(N.current-t)},[]);return(0,r.useEffect)(()=>{if(!E||c)return;let e=setInterval(()=>{w.current&&w.current.currentTime>=(w.current.duration||0)-.1&&(clearInterval(e),w.current.pause(),L(!1))},1e3);return g.current=e,()=>clearInterval(e)},[E,c]),(0,r.useEffect)(()=>{var e,t,n,l,r,i,a;if(!w.current)return;let s=()=>{d(!1),L(!0)},o=()=>{g.current&&clearInterval(g.current),L(!1)},u=()=>{d(!0)},c=()=>{d(!1)},m=()=>{d(!1)},v=()=>{if(w.current){let e=w.current.currentTime;x(e);let t=N.current-e;C(t>0?t:0)}};return null==w||null===(e=w.current)||void 0===e||e.addEventListener("waiting",u,!0),null==w||null===(t=w.current)||void 0===t||t.addEventListener("canplay",c,!0),null==w||null===(n=w.current)||void 0===n||n.addEventListener("playing",c,!0),null==w||null===(l=w.current)||void 0===l||l.addEventListener("loadeddata",m,!0),null==w||null===(r=w.current)||void 0===r||r.addEventListener("play",s,!0),null==w||null===(i=w.current)||void 0===i||i.addEventListener("pause",o,!0),null==w||null===(a=w.current)||void 0===a||a.addEventListener("timeupdate",v,!0),()=>{var e,t,n,l,r,i,a;null==w||null===(e=w.current)||void 0===e||e.removeEventListener("play",s,!0),null==w||null===(t=w.current)||void 0===t||t.removeEventListener("pause",o,!0),null==w||null===(n=w.current)||void 0===n||n.removeEventListener("playing",c,!0),null==w||null===(l=w.current)||void 0===l||l.removeEventListener("canplay",c,!0),null==w||null===(r=w.current)||void 0===r||r.removeEventListener("waiting",u,!0),null==w||null===(i=w.current)||void 0===i||i.removeEventListener("loadeddata",m,!0),null==w||null===(a=w.current)||void 0===a||a.removeEventListener("timeupdate",v,!0)}},[]),{onEnded:(0,r.useCallback)(()=>{M(),N.current&&C(N.current)},[M]),onLoadedMetadata:y,timeLeft:k,togglePause:F,isPlaying:E,audioRef:w,play:S,pause:M,isLoading:c,setLoading:d,volume:m,changeVolume:T,toggleMute:R,isMuted:f,currentTime:p,seek:I,skipForward:z,skipBackward:D,duration:N.current}}},83103:function(e,t,n){"use strict";n.r(t),n.d(t,{ReadingTime:function(){return i}});var l=n(90733),r=n(31652);let i=e=>{var t,n;let{content:i}=e,a=(0,r.useTranslations)(),s=(0,l.MS)();if(!["ps","ka","kk"].includes(s.languageCode))return null==i?void 0:null===(n=i.readingTime)||void 0===n?void 0:n.text;let o=Math.ceil(+((null==i?void 0:null===(t=i.readingTime)||void 0===t?void 0:t.minutes)||0));return o&&Number.isNaN(o)?"":"ka"===s.languageCode?a("minute-read",{minutes:o}):1===o?"".concat(o," ").concat(a("minute-read")):"".concat(o," ").concat(a("minutes-read"))}},79341:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var l=n(83641),r=n(29413);function i(e){let{audioSrc:t,isPaused:n,isLoading:i,timeLeft:a,progress:s}=(0,r.nP)(),{isCurrentPlayer:o,isPlaying:u,showLoading:c}=(0,l.useMemo)(()=>{let l=t===e,r=l&&!n,a=l&&i;return{isCurrentPlayer:l,isPlaying:r,showLoading:a}},[t,e,n,i]);return{isCurrentPlayer:o,isPlaying:u,showLoading:c,timeLeft:a,progress:o?s:void 0,audioSrc:t}}},7470:function(e,t,n){"use strict";n.d(t,{L:function(){return l},R:function(){return r}});let l=e=>{if(void 0===e||isNaN(+e))return"";let t=Math.floor(+e/3600);return[t>0?String(t).padStart(2,"0"):null,String(Math.floor(+e%3600/60)).padStart(2,"0"),Str
1ing(Math.floor(+e%60)).padStart(2,"0")].filter(Boolean).join(":")},r=e=>{if(!e)return;let t=e.split(":").map(Number),n=0;return 3===t.length?n+=3600*t[0]+60*t[1]+t[2]:2===t.length?n+=60*t[0]+t[1]:1===t.length&&(n+=t[0]),n}},7673:function(e,t,n){"use strict";n.d(t,{tJ:function(){return x},jv:function(){return p}});var l=n(54059),r=n.n(l),i=n(97699),a=n.n(i),s=n(35323),o=n.n(s),u=n(53770),c=n.n(u),d=n(12847),m=n.n(d);let v={"en-af":()=>n.e(8051).then(n.t.bind(n,88051,23)),"fr-af":()=>n.e(1303).then(n.t.bind(n,71303,23)),uz:()=>n.e(6866).then(n.t.bind(n,36866,23)),ro:()=>n.e(382).then(n.t.bind(n,70382,23)),pt:()=>n.e(5414).then(n.t.bind(n,35414,23)),it:()=>n.e(3607).then(n.t.bind(n,93607,23)),hu:()=>n.e(3657).then(n.t.bind(n,43657,23)),el:()=>n.e(1181).then(n.t.bind(n,31181,23)),ka:()=>n.e(6875).then(n.t.bind(n,16875,23)),zh:()=>n.e(3574).then(n.t.bind(n,43574,23)),bg:()=>n.e(7397).then(n.t.bind(n,87397,23)),hy:()=>n.e(766).then(n.t.bind(n,80766,23)),ja:()=>n.e(4677).then(n.t.bind(n,34677,23)),no:()=>n.e(9186).then(n.t.bind(n,9186,23)),da:()=>n.e(9854).then(n.t.bind(n,39905,23)),pl:()=>n.e(3081).then(n.t.bind(n,73081,23)),fi:()=>n.e(7353).then(n.t.bind(n,7353,23)),id:()=>n.e(6596).then(n.t.bind(n,6596,23)),ms:()=>n.e(8836).then(n.t.bind(n,88836,23)),nl:()=>n.e(4074).then(n.t.bind(n,64074,23)),sv:()=>n.e(8307).then(n.t.bind(n,8307,23)),ko:()=>n.e(7899).then(n.t.bind(n,67899,23)),ur:()=>n.e(6222).then(n.t.bind(n,36222,23)),sq:()=>n.e(844).then(n.t.bind(n,90844,23)),de:()=>n.e(9189).then(n.t.bind(n,49189,23)),ru:()=>n.e(4998).then(n.t.bind(n,94998,23)),mk:()=>n.e(2095).then(n.t.bind(n,92095,23)),sw:()=>n.e(9830).then(n.t.bind(n,39830,23)),fa:()=>n.e(9431).then(n.t.bind(n,89431,23)),"fa-AF":()=>n.e(9431).then(n.t.bind(n,89431,23)),he:()=>n.e(8581).then(n.t.bind(n,28581,23)),hi:()=>n.e(4636).then(n.t.bind(n,54636,23)),es:()=>n.e(9344).then(n.t.bind(n,19344,23)),ar:()=>n.e(115).then(n.t.bind(n,80115,23)),fr:()=>n.e(1303).then(n.t.bind(n,71303,23)),en:()=>n.e(8051).then(n.t.bind(n,88051,23)),tr:()=>n.e(6097).then(n.t.bind(n,16097,23))},f={az:()=>n.e(7437).then(n.bind(n,77437)),tat:()=>n.e(2772).then(n.bind(n,42772)),ps:()=>n.e(4025).then(n.bind(n,94025)),kg:()=>n.e(2427).then(n.bind(n,12427)),kk:()=>n.e(2387).then(n.bind(n,72387)),"fa-AF":()=>n.e(5474).then(n.bind(n,65474)),so:()=>n.e(8352).then(n.bind(n,18352)),pcm:()=>n.e(725).then(n.bind(n,725)),ha:()=>n.e(3819).then(n.bind(n,73819)),bs:()=>n.e(1681).then(n.bind(n,91681)),uig:()=>n.e(2777).then(n.bind(n,62777)),tuk:()=>n.e(1173).then(n.bind(n,61173))};async function h(e){try{if(e&&e in v){let t=v[e];await t(),r().locale(null!=e?e:"en")}else if(e&&e in f){let t=f[e],n=(await t()).default(r());r().locale(n,{},!0)}else await n.e(8051).then(n.t.bind(n,88051,23)),r().locale("en")}catch(e){await n.e(8051).then(n.t.bind(n,88051,23)),r().locale("en")}return r()()}function p(e){return r().locale(null!=e?e:"en"),r()().locale(null!=e?e:"en").tz("Etc/GMT")}r().extend(o()),r().extend(a()),r().extend(c()),r().extend(m());let x=async(e,t)=>{if(!e||"Invalid Date"===new Date(e).toString())return"";let n=null!=t?t:"en",l=await h(t),i=Intl.DateTimeFormat().resolvedOptions().timeZone,a=r().utc(e).tz(i);return l.diff(a,"hours")>=24?a.locale(n).format("LL"):a.locale(n).fromNow()}},52036:function(){}}]);

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.