(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9495],{87477:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[path]",function(){return l(82853)}])},3605:function(e,t,l){"use strict";l.d(t,{W:function(){return r}});var s=l(15311),a=l(92851);function r(e){let{className:t,...l}=e;return(0,s.jsx)("div",{className:(0,a.Z)("mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",t),...l})}},60708:function(e,t,l){"use strict";l.d(t,{$:function(){return x}});var s=l(15311),a=l(5724),r=l(6381),i=l.n(r),n=l(20132),c=l(74034),o=l.n(c),d=l(35124);function x(e){let{carouselGoodRecordList:t,carouselBlogList:l,secondaryPageFooterList:r}=e,{t:c}=(0,a.Z)("common"),x=c("footer.list",{},{returnObjects:!0}),[m,h]=(0,n.useState)([]);return(0,n.useEffect)(()=>{fetch(`https://aiarticle.erweima.ai/api/v1/article/validDate?source=${encodeURIComponent("sdxlturbo.ai")}`).then(e=>e.json()).then(e=>{200===e.code&&h(e.data)}).catch(e=>{console.error("Error fetching ",e)})},[]),(0,s.jsx)("footer",{children:(0,s.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-5 pt-16 pb-6 md:px-10",children:[(0,s.jsx)("div",{className:"mx-auto w-full max-w-7xl px-5 py-6 md:py-10",children:(0,s.jsxs)("div",{className:"grid grid-cols-[auto_auto] justify-between gap-8 lg:gap-12 sm:grid-cols-[auto_auto_auto] lg:grid-cols-[auto_auto_auto_auto_auto]",children:[(0,s.jsx)("div",{className:"flex flex-col items-start gap-8",children:x.map((e,t)=>(0,s.jsxs)("div",{className:"flex flex-col items-start font-semibold",children:[(0,s.jsx)("div",{className:"mb-4 lg:mt-0",children:(0,s.jsx)("p",{children:e.title})}),(0,s.jsx)("div",{className:"w-full grid grid-cols-1",children:e.child.map((e,t)=>(0,s.jsx)(i(),{href:e.hrefUrl,target:e.target||"_self",title:e.label,className:"py-2 text-sm font-normal text-gray-400 transition hover:text-neutral-50 truncate",children:e.label},t))})]},t))}),(0,s.jsxs)("div",{className:"flex flex-col items-start font-semibold",children:[(0,s.jsx)("div",{className:"mb-4 lg:mt-0",children:(0,s.jsx)("p",{children:"RECENTLY UPDATED"})}),(0,s.jsx)("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-2 lg:gap-x-4",children:m&&m.slice(-10).map((e,t)=>(0,s.jsx)(i(),{href:`/article/${e}`,locale:"en",lang:"en",title:e,className:"py-2 text-sm font-normal text-gray-400 transition hover:text-neutral-50 truncate",children:e.slice(5)},t))})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start font-semibold",children:[(0,s.jsx)("div",{className:"mb-4 lg:mt-0",children:(0,s.jsx)("p",{children:"GOOD TAG"})}),(0,s.jsx)("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-2 lg:gap-x-4",children:t&&t.map((e,t)=>(0,s.jsx)(i(),{href:e.path,locale:"en",lang:"en",title:e.tagName,className:"py-2 text-sm font-normal text-gray-400 transition hover:text-neutral-50 truncate",children:e.tagName},t))})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start font-semibold",children:[(0,s.jsx)("div",{className:"mb-4 lg:mt-0",children:(0,s.jsx)("p",{children:"Read More"})}),(0,s.jsx)("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-2 lg:gap-x-4",children:l&&l.map((e,t)=>(0,s.jsx)(i(),{locale:"en",lang:"en",href:e.articleLink,title:e.title,className:"py-2 text-sm font-normal text-gray-400 transition hover:text-neutral-50 truncate",children:e.title},t))})]}),(0,s.jsxs)("div",{className:"flex flex-col items-start font-semibold",children:[(0,s.jsx)("h2",{className:"mb-4 lg:mt-0",children:"RESOURCES"}),r&&r.length>0&&(0,s.jsx)("div",{className:"w-full grid grid-cols-1 gap-3",children:r.map((e,t)=>(0,s.jsx)(i(),{href:`/${e.path}`,title:e.title,className:"w-[100px] lg:w-[170px] py-2 text-sm font-normal text-gray-400 transition hover:text-neutral-50 truncate",children:e.title},t))})]})]})}),(0,s.jsxs)("div",{className:"mt-6 pt-6 border-t border-gray-800 flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(o(),{src:d.Z,alt:"logo",width:40,height:40,className:"w-auto h-12 rounded-lg",unoptimized:!0}),(0,s.jsx)("div",{className:"flex flex-col items-start gap-1",children:(0,s.jsx)("p",{className:"text-xl font-bold",children:"SDXL Turbo"})})]}),(0,s.jsx)("div",{className:"flex flex-col lg:items-end gap-1",children:(0,s.jsxs)("p",{className:"font-inter text-xs text-zinc-400",children:["Copyright \xa9 ",new Date().getFullYear()," SDXL Turbo All rights reserved."]})})]})]})})}},82853:function(e,t,l){"use strict";l.r(t),l.d(t,{PAGE_TYPE_BLOG:function(){return W},PAGE_TYPE_NEW_SECONDARY:function(){return X},__N_SSP:function(){return V},default:function(){return K},runtime:function(){return Q}});var s=l(15311),a=l(33326),r=l.n(a),i=l(20132),n=l(5724),c=l(96418),o=l(60708),d=l(3605),x=l(74034),m=l.n(x),h=l(96367),u=l(6381),f=l.n(u);function g(e){let{className:t}=e,{t:l}=(0,n.Z)("common"),[a,r]=(0,i.useState)(null);return(0,i.useEffect)(()=>{r(`${location.origin}${location.pathname}`)},[]),(0,s.jsx)("div",{className:t,children:(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsxs)("div",{className:"ml-2 flex gap-2",children:[(0,s.jsx)(f(),{href:"https://www.facebook.com/sharer.php?u="+a,target:"_blank",className:"w-8 h-8 p-1 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center",children:(0,s.jsx)(h.n,{icon:"facebook",className:"w-4 object-cover fill-white"})}),(0,s.jsx)(f(),{href:"https://twitter.com/intent/tweet?url="+a,target:"_blank",className:"w-8 h-8 p-1 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center",children:(0,s.jsx)(h.n,{icon:"twitter",className:"w-4 object-cover fill-white"})}),(0,s.jsx)(f(),{href:"https://www.linkedin.com/sharing/share-offsite/?url="+a,target:"_blank",className:"w-8 h-8 p-1 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center",children:(0,s.jsx)(h.n,{icon:"linkedIn",className:"w-4 object-cover fill-white"})}),(0,s.jsx)(f(),{href:"https://pinterest.com/pin/create/button/?url="+a,target:"_blank",className:"w-8 h-8 p-1 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center",children:(0,s.jsx)(h.n,{icon:"pinterest",className:"w-4 object-cover fill-white"})})]})})})}var p=l(65303),j=l(90420),w=l(47201),v=l.n(w),N=l(92851);l(33343),l(86233),l(93065),l(54476),l(8750),l(83248),l(31150);var b=l(61977);function y(e){let{children:t}=e,[l,a]=(0,i.useState)({}),r=e=>e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0),0),n=e=>{let t=r(e);return()=>{navigator.clipboard.writeText(e).then(()=>{a({...l,[t]:"Copied!"}),setTimeout(()=>a({...l,[t]:"Copy code"}),2e3)},e=>{console.error("Async: Could not copy text: ",e)})}},c=e=>{let{value:t,language:a}=e,i=v().highlight(t,v().languages[a]||v().languages.javascript,a||"javascript"),c=r(t);return(0,s.jsx)("pre",{className:(0,N.Z)("my-2"),children:(0,s.jsxs)("div",{className:"bg-black rounded-md",children:[(0,s.jsxs)("div",{className:"flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md",children:[(0,s.jsx)("span",{children:a}),(0,s.jsx)("button",{onClick:n(t),className:"flex ml-auto gap-2 items-center",children:l[c]||"Copy code"})]}),(0,s.jsx)("div",{className:"p-4 overflow-x-auto text-white",children:(0,s.jsx)("code",{dangerouslySetInnerHTML:{__html:i},className:"!whitespace-pre overflow-x-auto"})})]})})};return(0,s.jsx)(p.U,{remarkPlugins:[j.Z],components:{code(e){let{node:t,inline:l,className:a,children:r,...i}=e,n=/language-(\w+)/.exec(a||"");return!l&&n?(0,s.jsx)(c,{value:String(r).replace(/\n$/,""),language:n[1]}):(0,s.jsx)("code",{className:a,...i,children:r})}},rehypePlugins:[b.Z],children:t})}function k(e){let{article:t,getYoutubeLink:l}=e,{t:a}=(0,n.Z)("common");return(0,s.jsx)("section",{className:"article relative",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"w-full mb-10 font-bold text-3xl md:text-4xl tracking-tight",children:t.title}),(0,s.jsxs)("div",{className:"w-full pt-2 border-t border-white/10 flex flex-wrap items-center justify-between",children:[(0,s.jsxs)("div",{className:"text-xs text-gray-400 inline-flex items-center gap-x-4",children:[t.author&&(0,s.jsxs)("span",{children:["Author: ",t.author]}),t.publishedDate&&(0,s.jsxs)("span",{children:["Time: ",t.publishedDate]})]}),(0,s.jsx)(g,{})]}),(0,s.jsxs)("div",{className:"w-full grid grid-cols-1 items-center gap-8",children:[t.firstPicture&&(0,s.jsx)("div",{className:"w-full flex items-center justify-end",children:(0,s.jsx)(m(),{src:t.firstPicture,alt:"",width:200,height:200,unoptimized:!0,className:"w-full rounded-md"})}),(0,s.jsx)("div",{className:"w-full grid grid-cols-1 gap-6",children:(0,s.jsx)(y,{children:t.content||""})})]}),(0,s.jsxs)("div",{className:"w-full mt-10 py-4 border-t border-dashed border-gray-700 text-sm flex items-center justify-end gap-4",children:[t.upArticleLink&&(0,s.jsxs)("a",{href:t.upArticleLink,className:"link-with-icon !no-underline !text-gray-400 hover:!text-amber-500 flex items-center",children:[(0,s.jsx)(h.n,{icon:"arrowSwitch",className:"icon-fill mr-1 w-5 fill-gray-400"}),a("article.previous")]}),t.nextArticleLink&&(0,s.jsxs)("a",{href:t.nextArticleLink,className:"link-with-icon !no-underline !text-gray-400 hover:!text-amber-500 flex items-center",children:[a("article.next"),(0,s.jsx)(h.n,{icon:"arrowSwitch",className:"icon-fill ml-1 w-5 fill-gray-400 rotate-180"})]})]})]})})}var _=l(96014);let L={width:"100%",height:"400px",playerVars:{autoplay:0}};function I(e){let{videoId:t,setYtVideoPlayer:l}=e;return(0,s.jsx)("div",{className:"w-full h-auto",children:(0,s.jsx)("div",{className:"w-full rounded-xl overflow-hidden",children:(0,s.jsx)(_.Z,{videoId:t,opts:L,onReady:e=>{l(e.target)}})})})}function T(e){let{summary:t}=e;return"fail"===t.status?(0,s.jsxs)("div",{className:"w-full md:h-[300px] bg-white/10 text-center text-amber-500 rounded-md flex items-center justify-center",children:["The video is abnormal, and we are working hard to fix it.",(0,s.jsx)("br",{})," Please replace the link and try again."]}):"success"===t.status?(0,s.jsx)("div",{className:"w-full ring-offset-white whitespace-pre-wrap",children:(0,s.jsxs)("p",{className:"whitespace-pre-line font-serif font-medium text-2xl",children:[(0,s.jsx)("span",{className:"text-zinc-300 font-display font-bold mr-1",children:"TLDR"}),(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:t.summary}})]})}):null}function S(e){let{outline:t,seekTo:l}=e,[a,r]=(0,i.useState)(null),n=e=>{r(a===e?null:e)};return"fail"===t.status?(0,s.jsxs)("div",{className:"w-full md:h-[300px] bg-white/10 text-center text-amber-500 rounded-md flex items-center justify-center",children:["The video is abnormal, and we are working hard to fix it.",(0,s.jsx)("br",{})," Please replace the link and try again."]}):"success"===t.status?(0,s.jsx)(s.Fragment,{children:t.outlines?.length>0&&(0,s.jsx)("div",{className:"w-full font-serif ring-offset-white mt-0 whitespace-pre-wrap",children:(0,s.jsx)("div",{className:"w-full grid grid-cols-1 gap-4",children:t.outlines.map((e,t)=>(0,s.jsxs)("div",{className:"p-4 rounded-md bg-white/5 cursor-pointer",children:[(0,s.jsxs)("div",{onClick:()=>n(t),className:"flex flex-1 items-center justify-between font-medium transition-all group",children:[(0,s.jsxs)("div",{className:"grow text-left text-xl font-bold flex flex-col items-start",children:[e.time&&(0,s.jsx)("div",{className:"flex items-center",onClick:t=>{t.stopPropagation(),l(e.seconds)},children:(0,s.jsxs)("div",{className:"flex items-center gap-1 font-mono text-base text-zinc-300 hover:text-zinc-100 font-normal hover:underline cursor-pointer",children:[(0,s.jsx)(h.n,{icon:"play",className:"w-3 fill-zinc-300"}),(0,s.jsx)("span",{children:e.time})]})}),(0,s.jsx)("h3",{className:"group-hover:underline group-hover:text-amber-500 grow",dangerouslySetInnerHTML:{__html:e.title}})]}),(0,s.jsx)(h.n,{icon:"prev",className:`w-4 mr-4 fill-zinc-500 shrink-0 transition-transform duration-200 ${a===t?"rotate-90":"-rotate-90"}`})]}),(0,s.jsx)("div",{className:"mt-2 overflow-hidden transition-all duration-500",style:{height:a===t?"auto":0},children:(0,s.jsx)("p",{className:"whitespace-pre-line text-zinc-200 text-lg",dangerouslySetInnerHTML:{__html:e.description}})})]},t))})})}):null}function D(e){let{keyword:t}=e;return"fail"===t.status?(0,s.jsxs)("div",{className:"w-full md:h-[300px] bg-white/10 text-center text-amber-500 rounded-md flex items-center justify-center",children:["The video is abnormal, and we are working hard to fix it.",(0,s.jsx)("br",{})," Please replace the link and try again."]}):"success"===t.status?(0,s.jsx)(s.Fragment,{children:t.keywordList?.length>0&&(0,s.jsx)("div",{className:"w-full ring-offset-white whitespace-pre-wrap",children:(0,s.jsx)("div",{className:"w-full grid grid-cols-1 gap-4",children:t.keywordList.map((e,t)=>(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"block w-full pt-2 pr-3 text-xl font-serif font-bold",dangerouslySetInnerHTML:{__html:`💡${e.keyword}`}}),(0,s.jsx)("div",{className:"mt-2 py-2 px-3 rounded-md text-lg bg-white/5",dangerouslySetInnerHTML:{__html:e.explanation}})]},t))})})}):null}function $(e){let{highlight:t}=e;return"fail"===t.status?(0,s.jsxs)("div",{className:"w-full md:h-[300px] bg-white/10 text-center text-amber-500 rounded-md flex items-center justify-center",children:["The video is abnormal, and we are working hard to fix it.",(0,s.jsx)("br",{})," Please replace the link and try again."]}):"success"===t.status?(0,s.jsx)(s.Fragment,{children:t.highlightList?.length>0&&(0,s.jsx)("div",{className:"w-full ring-offset-white mt-0 whitespace-pre-wrap",children:(0,s.jsx)("div",{className:"w-full grid grid-cols-1 gap-4",children:t.highlightList.map((e,t)=>(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"rounded-md bg-white/5 pt-2 pb-3 px-3 text-lg",children:(0,s.jsx)("p",{className:"py-2 px-3 relative z-0 inline-block before:content-['“'] before:absolute before:top-0 before:left-0 before:text-6xl before:opacity-10 before:font-bold after:content-['”'] after:absolute after:-bottom-[2rem] after:right-0 after:text-6xl after:opacity-10 after:font-bold",dangerouslySetInnerHTML:{__html:e.text}})})},t))})})}):null}l(39858);var P=l(25717),C=l(50567),z=l(36437);l(8381);var F=e=>{let{mindmap:t,className:l}=e;t=function e(t,l){let s="";if(0===l?s+=`# ${t.title}
`:s+=`${"  ".repeat(l)}- ${t.title}
`,t.nodeList&&t.nodeList.length>0)for(let a of t.nodeList)s+=e(a,l+1);return s}(t.node,0);let[a,r]=(0,i.useState)(t),n=(0,i.useRef)(null),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=new P.$T,x=()=>{let{root:e}=d.transform(a);c.current||(c.current=C.v$.create(n.current)),c.current.setData(e),c.current.fit(),function(e,t){for(;t?.firstChild;)t.firstChild.remove();if(e&&t){let l=new z.o;l.attach(e),l.register({id:"alert",title:"Click to show an alert",content:"Alert",onClick:()=>alert("You made it!")});let s=z.o.defaultItems.filter(e=>"toggle"!==e&&"alert"!==e);l.setItems([...s,"alert"]),t.append(l.render())}}(c.current,o.current)};return(0,i.useEffect)(()=>{window.updateSvg||(window.updateSvg=!0,x(),setTimeout(()=>{window.updateSvg=!1},1e3))},[a]),(0,i.useEffect)(()=>{let e=document.querySelector('a[href="https://markmap.js.org/"]');e&&e.remove()},[]),(0,s.jsx)(i.Fragment,{children:(0,s.jsxs)("div",{className:`${l} relative h-[calc(100vh-9.5rem)] !h-[calc(100dvh-9.5rem)] lg:h-[calc(100vh-24rem)] lg:!h-[calc(100dvh-24rem)] flex flex-col-reverse gap-4`,children:[(0,s.jsx)("svg",{className:"w-full h-full markmap",ref:n}),(0,s.jsx)("div",{className:"w-full flex items-center justify-end",ref:o})]})})};function A(e){let{mindmap:t}=e;return"fail"===t.status?(0,s.jsxs)("div",{className:"w-full md:h-[300px] bg-white/10 text-center text-amber-500 rounded-md flex items-center justify-center",children:["The video is abnormal, and we are working hard to fix it.",(0,s.jsx)("br",{})," Please replace the link and try again."]}):"success"===t.status?(0,s.jsx)(s.Fragment,{children:t.node&&(0,s.jsx)(F,{mindmap:t})}):null}function E(e){let{detail:t}=e,{t:l}=(0,n.Z)("common");return(0,s.jsx)("div",{className:"lg:my-10 relative flex flex-col lg:items-start",children:(0,s.jsx)("div",{className:"w-full flex flex-col items-center gap-y-4 lg:flex-row lg:gap-x-6",children:(0,s.jsxs)("div",{className:"w-full flex flex-col items-start gap-y-2",children:[(0,s.jsx)("h1",{className:"w-full text-2xl font-extrabold lg:text-3xl break-words whitespace-pre-line",children:t.title}),(0,s.jsxs)("div",{className:"w-full flex items-center flex-wrap gap-2 lg:gap-6",children:[(0,s.jsxs)("span",{className:"text-zinc-400 flex items-center gap-x-1",children:[(0,s.jsx)(h.n,{icon:"author",className:"w-4 fill-zinc-400"}),t.author]}),(0,s.jsxs)("div",{className:"text-zinc-400 flex items-center gap-x-4",children:[(0,s.jsx)("span",{children:new Date(t.publishDate).toLocaleDateString("en-GB",{year:"numeric",month:"short",day:"numeric"})}),(0,s.jsxs)("span",{className:"flex items-center undefined gap-1",children:[(0,s.jsx)(h.n,{icon:"duration",className:"w-4 fill-zinc-400"}),t.videoDuration]})]})]})]})})})}function R(e){let{takeaways:t}=e;return"fail"===t.status?(0,s.jsxs)("div",{className:"w-full md:h-[300px] bg-white/10 text-center text-amber-600 rounded-md flex items-center justify-center",children:["The video is abnormal, and we are working hard to fix it.",(0,s.jsx)("br",{})," Please replace the link and try again."]}):"success"===t.status?(0,s.jsx)("div",{className:"w-full ring-offset-white mt-0 whitespace-pre-wrap",children:t.takeAways?.length>0&&(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 w-full text-amber-500 font-display",children:[(0,s.jsx)(h.n,{icon:"takeaways",className:"w-5 fill-amber-500"}),(0,s.jsx)("h3",{children:"Takeaways"}),(0,s.jsx)("div",{"data-orientation":"horizontal",role:"none",className:"w-auto h-[1px] shrink-0 bg-slate-500/10 grow"})]}),(0,s.jsx)("ul",{className:"w-full mt-4 pl-6 flex flex-col gap-2",children:t.takeAways.map((e,t)=>(0,s.jsx)("li",{className:"text-lg",children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},t))})]})}):null}function M(e){let{qa:t}=e;return"fail"===t.status?(0,s.jsxs)("div",{className:"w-full md:h-[300px] bg-white/10 text-center text-amber-600 rounded-md flex items-center justify-center",children:["The video is abnormal, and we are working hard to fix it.",(0,s.jsx)("br",{})," Please replace the link and try again."]}):"success"===t.status?(0,s.jsx)("div",{className:"w-full ring-offset-white mt-0 whitespace-pre-wrap",children:t.qaList?.length>0&&(0,s.jsxs)("div",{className:"w-full mt-8",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 w-full text-amber-600 font-display",children:[(0,s.jsx)(h.n,{icon:"questionAnswer",className:"w-4 fill-amber-500"}),(0,s.jsx)("h3",{children:"Q & A"}),(0,s.jsx)("div",{"data-orientation":"horizontal",role:"none",className:"w-auto h-[1px] shrink-0 bg-slate-500/10 grow"})]}),(0,s.jsx)("ul",{className:"w-full mt-4 pl-6 flex flex-col gap-8",children:t.qaList.map((e,t)=>(0,s.jsxs)("li",{className:"w-full flex flex-col gap-2",children:[(0,s.jsx)("h3",{className:"font-semibold text-xl",dangerouslySetInnerHTML:{__html:`${e.question}`}}),(0,s.jsxs)("p",{className:"relative text-lg text-zinc-200 flex items-start gap-2",children:[(0,s.jsx)("span",{className:"text-zinc-300 font-bold",children:"-"}),(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:`${e.answer}`}})]})]},t))})]})}):null}function Z(e){let{recordDetails:t,videoDetail:l,seekTo:a}=e;return(0,s.jsx)("section",{id:"Summary",className:"w-full blog-page-content",children:(0,s.jsx)("div",{className:"w-full flex flex-col-reverse lg:grid grid-cols-1 gap-4 lg:grid-cols-3 lg:gap-16",children:(0,s.jsxs)("div",{className:"flex flex-col items-start lg:col-span-3 lg:gap-x-4 pt-2",children:[l&&(0,s.jsx)(E,{detail:l}),t?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"w-full lg:h-full mt-4 pb-4 lg:pb-0 lg:mt-0 lg:grow grid grid-cols-1 gap-6 lg:gap-10",children:[t.summaryInfo&&"generating"!==t.summaryInfo.status&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(T,{summary:t.summaryInfo})}),t.takeawaysInfo&&"generating"!==t.takeawaysInfo.status&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(R,{takeaways:t.takeawaysInfo})}),t.qaInfo&&"generating"!==t.qaInfo.status&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(M,{qa:t.qaInfo})}),t.outlineInfo&&"generating"!==t.outlineInfo.status&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{id:"Outlines",className:"flex items-center gap-2 w-full text-amber-500 font-display",children:[(0,s.jsx)(h.n,{icon:"outlines",className:"w-5 fill-amber-500"}),(0,s.jsx)("h3",{children:"Outlines"}),(0,s.jsx)("div",{"data-orientation":"horizontal",role:"none",className:"w-auto h-[1px] shrink-0 bg-slate-500/10 grow"})]}),(0,s.jsx)(S,{outline:t.outlineInfo,seekTo:a})]}),t.mindmapInfo&&"generating"!==t.mindmapInfo.status&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{id:"Mindmap",className:"flex items-center gap-2 w-full text-amber-500 font-display",children:[(0,s.jsx)(h.n,{icon:"mindmap",className:"w-5 fill-amber-500"}),(0,s.jsx)("h3",{children:"Mindmap"}),(0,s.jsx)("div",{"data-orientation":"horizontal",role:"none",className:"w-auto h-[1px] shrink-0 bg-slate-500/10 grow"})]}),(0,s.jsx)(A,{mindmap:t.mindmapInfo})]}),t.keywordInfo&&"generating"!==t.keywordInfo.status&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{id:"Keywords",className:"flex items-center gap-2 w-full text-amber-500 font-display",children:[(0,s.jsx)(h.n,{icon:"keywords2",className:"w-5 fill-amber-500"}),(0,s.jsx)("h3",{children:"Keywords"}),(0,s.jsx)("div",{"data-orientation":"horizontal",role:"none",className:"w-auto h-[1px] shrink-0 bg-slate-500/10 grow"})]}),(0,s.jsx)(D,{keyword:t.keywordInfo})]}),t.highlightInfo&&"generating"!==t.highlightInfo.status&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{id:"Highlights",className:"flex items-center gap-2 w-full text-amber-500 font-display",children:[(0,s.jsx)(h.n,{icon:"highlights",className:"w-5 fill-amber-500"}),(0,s.jsx)("h3",{children:"Highlights"}),(0,s.jsx)("div",{"data-orientation":"horizontal",role:"none",className:"w-auto h-[1px] shrink-0 bg-slate-500/10 grow"})]}),(0,s.jsx)($,{highlight:t.highlightInfo})]}),!t.summaryInfo&&(0,s.jsx)("div",{className:"relative w-full h-full bg-white/5 rounded overflow-hidden flex items-center justify-center",children:"No information recorded"})]})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("span",{children:"no article content"})})]})})})}function H(e){let{correlationArticleList:t}=e,{t:l}=(0,n.Z)("common");return(0,s.jsxs)("div",{className:"w-full rounded-lg bg-white/5 border border-slate-800 overflow-hidden",children:[(0,s.jsxs)("h2",{className:"w-full py-4 px-4 bg-gray-700 text-lg text-white font-bold text-black flex items-center gap-1.5",children:[(0,s.jsx)(h.n,{icon:"write",className:"w-4 fill-white"})," ",l("article.related")]}),(0,s.jsx)("div",{className:"w-full p-4 grid grid-cols-1 gap-2",children:t.map((e,t)=>(0,s.jsxs)(f(),{id:`correlation-article-${t}`,href:e.articleLink,locale:"en",lang:"en",className:"group w-full py-2 border-b border-gray-700 last:border-none text-sm text-gray-300 transition duration-500 hover:text-amber-500 !no-underline flex flex-col items-center gap-1",children:[(0,s.jsx)("p",{className:"w-full font-medium line-clamp-2",children:e.title}),(0,s.jsx)("p",{className:"w-full text-xs text-gray-400 text-right transition duration-500 group-hover:text-amber-500",children:e.publishedTime})]},t))})]})}var G=e=>{let{article:t,blog:l,carouselGoodRecordList:a,carouselBlogList:x,secondaryPageFooterList:m}=e,{t:h}=(0,n.Z)("common"),[u,f]=(0,i.useState)(null),[g,p]=(0,i.useState)(null),j=e=>{let t=e.match(/(?<=v=)[^&]+/);return t?"https://www.youtube.com/embed/"+t[0]:null};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r(),{children:[t&&t.title?(0,s.jsx)("title",{children:t.title}):(0,s.jsx)("title",{children:h("head.title")}),t&&t.description?(0,s.jsx)("meta",{name:"description",content:t.description}):(0,s.jsx)("meta",{name:"description",content:h("head.description")}),(0,s.jsx)("link",{rel:"canonical",href:`https://sdxlturbo.ai/${l}`}),t.noIndex&&(0,s.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,s.jsx)(c.h,{user:u,setUser:f,languageList:[]}),(0,s.jsx)("main",{className:"pb-20",children:(0,s.jsx)("section",{className:"relative pt-28 pb-6",children:(0,s.jsx)(d.W,{children:(0,s.jsxs)("div",{className:"w-full grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-20",children:[(0,s.jsxs)("div",{className:"w-full md:col-span-2",children:[0===t.type&&t.youtubeVideoLink&&j(t.youtubeVideoLink)&&(0,s.jsxs)("div",{className:"w-full mb-6 md:mb-10",children:[(0,s.jsx)("div",{className:"w-full rounded-md overflow-hidden",children:(0,s.jsx)("iframe",{src:j(t.youtubeVideoLink),width:"600",height:"600",frameBorder:"0",allowFullScreen:!0,className:"w-full h-[240px] md:h-[400px]"})}),(0,s.jsxs)("p",{className:"w-full py-1 text-sm text-gray-400",children:["* ",h("article.tips")]})]}),1===t.type&&t.articleContentDetails?.videoId&&(0,s.jsx)("div",{children:(0,s.jsx)(I,{videoId:t.articleContentDetails?.videoId,setYtVideoPlayer:p})}),0===t.type&&(0,s.jsx)(k,{article:t}),1===t.type&&(0,s.jsx)(Z,{recordDetails:t.articleContentDetails,videoDetail:t.articleContentDetails?.videoDetail,seekTo:e=>{g&&(g.seekTo(e,!0),g.playVideo())}})]}),(0,s.jsx)("div",{className:"w-full md:col-span-1",children:(0,s.jsx)("div",{className:"w-full sticky top-24",children:t&&t.correlationArticleList?.length>0&&(0,s.jsx)(H,{correlationArticleList:t.correlationArticleList})})})]})})})}),(0,s.jsx)(o.$,{carouselGoodRecordList:a,carouselBlogList:x,secondaryPageFooterList:m})]})},O=l(5762);let q=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=t;if(l){let l=e.locale;"en"!==l&&(a=`/${l}${t}`)}return(0,s.jsx)("link",{rel:"canonical",href:`sdxlturbo.ai${a||"/"}`})},B=(e,t)=>e.locales.map(e=>{let l=("en"===e?"":`/${e}`)+t;return(0,s.jsx)("link",{rel:"alternate",hrefLang:e,href:"sdxlturbo.ai"+(l||"/")},e)});var Y=l(32923),U=e=>{let{pageInfo:t,secondaryPageFooterList:l,carouselBlogList:a,carouselGoodRecordList:i}=e,n=(0,O.useRouter)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r(),{children:[(0,s.jsx)("title",{children:t.pageData?.seoTitle}),(0,s.jsx)("meta",{name:"description",content:t.pageData?.seoDescription}),q(n,`/${t.path}`,!0),B(n,`/${t.path}`)]}),(0,s.jsx)(c.h,{}),(0,s.jsxs)("div",{className:"relative min-h-screen overflow-hidden ",children:[(0,s.jsx)("main",{className:"relative pt-24 pb-10 lg:pt-32",children:(0,s.jsx)(d.W,{children:(0,s.jsx)(Y.ZP,{pageConfig:t.pageConfig,pageData:t.pageData})})}),(0,s.jsx)(o.$,{secondaryPageFooterList:l,carouselBlogList:a,carouselGoodRecordList:i})]})]})},V=!0;let W="blog",X="newSecondary";var K=e=>{let{pageType:t,pageData:l,secondaryPageFooterList:a,carouselGoodRecordList:r,path:i,carouselBlogList:n}=e;return t===W?(0,s.jsx)(G,{article:l,secondaryPageFooterList:a,carouselGoodRecordList:r,path:i,carouselBlogList:n}):t===X?(0,s.jsx)(U,{pageInfo:l,secondaryPageFooterList:a,carouselBlogList:n,carouselGoodRecordList:r}):null};let Q="experimental-edge"}},function(e){e.O(0,[573,5802,6515,2923,9330,6418,2888,9774,179],function(){return e(e.s=87477)}),_N_E=e.O()}]);