1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9639],{44090:function(e,t,o){var a=o(85893),l=o(43110),c=o(5434);t.Z=e=>(0,a.jsxs)("dialog",{className:"modal modal-bottom sm:modal-middle z-999 ".concat(e.open?"modal-open":""),children:[(0,a.jsxs)("div",{className:(0,l.cn)("modal-box overflow-hidden",e.className),children:[!e.disableClose&&(0,a.jsx)("form",{method:"dialog",children:(0,a.jsx)("button",{onClick:e.onClose,className:"btn btn-circle btn-ghost btn-sm absolute right-2 top-2 z-10","aria-label":"Close modal",children:(0,a.jsx)(c.FU5,{className:"h-6 w-6"})})}),e.children]}),!e.disableClose&&(0,a.jsx)("form",{method:"dialog",className:"modal-backdrop",children:(0,a.jsx)("button",{"aria-label":"Close modal backdrop",onClick:e.onClose,children:"close"})})]})},59639:function(e,t,o){o.r(t),o.d(t,{VideoModal:function(){return VideoModal},default:function(){return r}});var a=o(85893),l=o(67294),c=(0,l.forwardRef)(function(e,t){let[o,c]=(0,l.useState)(!1),[n,s]=(0,l.useState)(!1),r=encodeURIComponent(e.id),i="string"==typeof e.playlistCoverId?encodeURIComponent(e.playlistCoverId):null,d=e.title,u=e.poster||"hqdefault",m=e.params?"&".concat(e.params):"",p=e.muted?"&mute=1":"";e.announce;let h=e.webp?"webp":"jpg",f=e.webp?"vi_webp":"vi",b=e.isFull?"&fs=1":"",w=e.thumbnail||(e.playlist?"https://i.ytimg.com/".concat(f,"/").concat(i,"/").concat(u,".").concat(h):"https://i.ytimg.com/".concat(f,"/").concat(r,"/").concat(u,".").concat(h)),g=e.noCookie?"https://www.youtube-nocookie.com":"https://www.youtube.com";g=e.cookie?"https://www.youtube.com":"https://www.youtube-nocookie.com";let y=e.playlist?"".concat(g,"/embed/videoseries?autoplay=1").concat(p,"&list=").concat(r).concat(m).concat(b):"".concat(g,"/embed/").concat(r,"?autoplay=1&state=1").concat(p).concat(m).concat(b),k=e.activatedClass||"lyt-activated",x=e.adNetwork||!1,j=e.aspectHeight||9,C=e.aspectWidth||16,v=e.iframeClass||"",N=e.wrapperClass||"yt-lite",F=e.rel?"prefetch":"preload",I=e.containerElement||"article",_=e.style||{},M=e.width||"560",R=e.height||"315";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("link",{rel:F,href:w,as:"image"}),o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("link",{rel:"preconnect",href:g}),(0,a.jsx)("link",{rel:"preconnect",href:"https://www.google.com"}),x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("link",{rel:"preconnect",href:"https://static.doubleclick.net"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net"})]})]}),(0,a.jsx)(I,{onPointerOver:()=>{o||c(!0)},onClick:()=>{n||s(!0)},className:"".concat(N," ").concat(n?k:""),"data-title":d,style:{backgroundImage:"url(".concat(w,")"),"--aspect-ratio":"".concat(j/C*100,"%"),..._},children:(e.autoPlay||n)&&(0,a.jsx)("iframe",{ref:t,className:v,title:d,width:M,height:R,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowFullScreen:!0,src:y,loading:"lazy"})})]})}),n=o(6458),s=o(44090);let VideoModal=e=>{let{videoUrl:t,onClose:o}=e,r=(0,n.k8)(t)||"",i=(0,l.useRef)(null);return(0,a.jsx)(s.Z,{open:!0,onClose:o,className:"!max-w-full p-0",children:(0,a.jsx)(c,{title:"youtube",isFull:!0,muted:!1,autoPlay:!0,ref:i,id:r,params:JSON.stringify({autoplay:1,mute:1,modestbranding:1,fs:1,rel:0,autohide:0,showinfo:0})})})};var r=VideoModal},43110:function(e,t,o){o.d(t,{cn:function(){return cn}});var a=o(90512),l=o(57851);function cn(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return(0,l.m)((0,a.W)(t))}}}]);
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.