1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35834,94992],{35834:function(e,t,r){Promise.resolve().then(r.bind(r,90101))},33145:function(e,t,r){"use strict";r.d(t,{default:function(){return i.a}});var n=r(48461),i=r.n(n)},27648:function(e,t,r){"use strict";r.d(t,{default:function(){return i.a}});var n=r(72972),i=r.n(n)},99376:function(e,t,r){"use strict";var n=r(35475);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},48461:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getImageProps:function(){return s}});let n=r(47043),i=r(55346),a=r(65878),l=n._(r(5084));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,320,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let o=a.Image},90101:function(e,t,r){"use strict";r.d(t,{default:function(){return b}});var n=r(57437),i=r(2265),a=r(33145),l=r(27648),s=r(99376),o=r(23914);function c(e){return e.directSlug?"/blog/".concat(e.slug):"/blog/".concat((0,o.un)(e.category),"/").concat(e.slug)}var d=r(94992);function u(e){return e?(Array.isArray(e)?e:[e]).flatMap(e=>e.split(",")).map(e=>e.trim()).filter(Boolean):[]}function p(e,t,r){let n=new URLSearchParams;for(let[e,r]of Object.entries(t))for(let t of u(r))n.append(e,t);for(let[e,t]of Object.entries(r)){if(n.delete(e),Array.isArray(t)){for(let r of t)r&&n.append(e,r);continue}t&&n.set(e,t)}let i=n.toString();return i?"".concat(e,"?").concat(i):e}function x(e){let{active:t}=e;return(0,n.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16.6 16.6",fill:"none",className:t?"text-white":"text-[#8f8f8f]",children:[(0,n.jsx)("path",{d:"M5.3 0.8H2.133C1.667 0.8 1.433 0.8 1.255 0.891C1.098 0.971 0.971 1.098 0.891 1.255C0.8 1.433 0.8 1.667 0.8 2.133V5.3C0.8 5.767 0.8 6 0.891 6.178C0.971 6.335 1.098 6.463 1.255 6.543C1.433 6.633 1.667 6.633 2.133 6.633H5.3C5.767 6.633 6 6.633 6.178 6.543C6.335 6.463 6.463 6.335 6.543 6.178C6.633 6 6.633 5.767 6.633 5.3V2.133C6.633 1.667 6.633 1.433 6.543 1.255C6.463 1.098 6.335 0.971 6.178 0.891C6 0.8 5.767 0.8 5.3 0.8Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M14.467 0.8H11.3C10.833 0.8 10.6 0.8 10.422 0.891C10.265 0.971 10.137 1.098 10.058 1.255C9.967 1.433 9.967 1.667 9.967 2.133V5.3C9.967 5.767 9.967 6 10.058 6.178C10.137 6.335 10.265 6.463 10.422 6.543C10.6 6.633 10.833 6.633 11.3 6.633H14.467C14.933 6.633 15.167 6.633 15.345 6.543C15.502 6.463 15.629 6.335 15.709 6.178C15.8 6 15.8 5.767 15.8 5.3V2.133C15.8 1.667 15.8 1.433 15.709 1.255C15.629 1.098 15.502 0.971 15.345 0.891C15.167 0.8 14.933 0.8 14.467 0.8Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M14.467 9.967H11.3C10.833 9.967 10.6 9.967 10.422 10.058C10.265 10.137 10.137 10.265 10.058 10.422C9.967 10.6 9.967 10.833 9.967 11.3V14.467C9.967 14.933 9.967 15.167 10.058 15.345C10.137 15.502 10.265 15.629 10.422 15.709C10.6 15.8 10.833 15.8 11.3 15.8H14.467C14.933 15.8 15.167 15.8 15.345 15.709C15.502 15.629 15.629 15.502 15.709 15.345C15.8 15.167 15.8 14.933 15.8 14.467V11.3C15.8 10.833 15.8 10.6 15.709 10.422C15.629 10.265 15.502 10.137 15.345 10.058C15.167 9.967 14.933 9.967 14.467 9.967Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M5.3 9.967H2.133C1.667 9.967 1.433 9.967 1.255 10.058C1.098 10.137 0.971 10.265 0.891 10.422C0.8 10.6 0.8 10.833 0.8 11.3V14.467C0.8 14.933 0.8 15.167 0.891 15.345C0.971 15.502 1.098 15.629 1.255 15.709C1.433 15.8 1.667 15.8 2.133 15.8H5.3C5.767 15.8 6 15.8 6.178 15.709C6.335 15.629 6.463 15.502 6.543 15.345C6.633 15.167 6.633 14.933 6.633 14.467V11.3C6.633 10.833 6.633 10.6 6.543 10.422C6.463 10.265 6.335 10.137 6.178 10.058C6 9.967 5.767 9.967 5.3 9.967Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})]})}function h(e){let{active:t}=e;return(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"-0.5 -3.5 19 21",fill:"none",className:t?"text-white":"text-[#8f8f8f]",children:(0,n.jsx)("path",{d:"M17.3 7.217L6.3 7.217M17.3 1.717L6.3 1.717M17.3 12.717L6.3 12.717M2.633 7.217C2.633 7.723 2.223 8.133 1.717 8.133C1.21 8.133 0.8 7.723 0.8 7.217C0.8 6.71 1.21 6.3 1.717 6.3C2.223 6.3 2.633 6.71 2.633 7.217ZM2.633 1.717C2.633 2.223 2.223 2.633 1.717 2.633C1.21 2.633 0.8 2.223 0.8 1.717C0.8 1.21 1.21 0.8 1.717 0.8C2.223 0.8 2.633 1.21 2.633 1.717ZM2.633 12.717C2.633 13.223 2.223 13.633 1.717 13.633C1.21 13.633 0.8 13.223 0.8 12.717C0.8 12.21 1.21 11.8 1.717 11.8C2.223 11.8 2.633 12.21 2.633 12.717Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})}function f(){return(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",children:(0,n.jsx)("path",{d:"M1.75 4.66797L8.75 4.66797M8.75 4.66797C8.75 5.63447 9.5335 6.41797 10.5 6.41797C11.4665 6.41797 12.25 5.63447 12.25 4.66797C12.25 3.70147 11.4665 2.91797 10.5 2.91797C9.5335 2.91797 8.75 3.70147 8.75 4.66797ZM5.25 9.33464L12.25 9.33464M5.25 9.33464C5.25 10.3011 4.4665 11.0846 3.5 11.0846C2.5335 11.0846 1.75 10.3011 1.75 9.33464C1.75 8.36814 2.5335 7.58464 3.5 7.58464C4.4665 7.58464 5.25 8.36814 5.25 9.33464Z",stroke:"currentColor",strokeWidth:"1.1",strokeLinecap:"round",strokeLinejoin:"round"})})}function m(e){let{name:t,value:r,checked:i,children:a}=e;return(0,n.jsxs)("label",{className:"flex cursor-pointer items-center gap-[6px] text-[12px] leading-tight transition-colors ".concat(i?"text-white":"text-white/55 hover:text-white"),children:[(0,n.jsx)("input",{type:"checkbox",name:t,value:r,defaultChecked:i,className:"m-0 h-[14px] w-[14px] shrink-0 cursor-pointer rounded-[2px] border border-white/30 bg-transparent accent-white"}),(0,n.jsx)("span",{children:a})]})}function g(e){var t,r,i,s;let{post:d,priority:u}=e,p=d.category?(0,o.zk)(d.category):null,x=d.readingTime?d.readingTime.replace(/\s*min\s*read/i," min").toLowerCase():null;return(0,n.jsxs)(l.default,{href:c(d),prefetch:!1,className:"group flex flex-col border-r border-white/10 px-1.5",children:[(0,n.jsx)("div",{className:"relative aspect-[4/3] w-full overflow-hidden rounded-lg lg:aspect-square",children:((null===(t=d.previewImage)||void 0===t?void 0:t.src)||d.mainImage.src)&&(0,n.jsx)(a.default,{src:(null===(r=d.previewImage)||void 0===r?void 0:r.src)||d.mainImage.src,alt:(null===(i=d.previewImage)||void 0===i?void 0:i.alt)||d.mainImage.alt,title:(null===(s=d.previewImage)||void 0===s?void 0:s.alt)||d.mainImage.alt,fill:!0,sizes:"(max-width: 879px) calc(100vw - 176px), (max-width: 1199px) calc((100vw - 224px) / 2), (max-width: 1439px) calc((100vw - 448px) / 4), 248px",priority:u,quality:60,className:"object-cover transition-transform duration-300 group-hover:scale-[1.02]"})}),(0,n.jsxs)("div",{className:"flex flex-1 flex-col pt-3",children:[(0,n.jsx)("h2",{className:"min-h-[63px] text-[14px] font-normal leading-[1.5] text-white line-clamp-3",children:d.title}),(0,n.jsxs)("div",{className:"mt-auto flex items-center gap-2 pt-2",children:[p&&(0,n.jsx)("span",{className:"whitespace-nowrap rounded-sm border border-white/20 px-1.5 py-px text-[11px] text-white/50",children:p}),x&&(0,n.jsx)("span",{className:"whitespace-nowrap text-[11px] text-white/60",children:x})]})]})]})}function v(e){let{post:t}=e;return(0,n.jsxs)(l.default,{href:c(t),prefetch:!1,className:"group flex gap-8 border-b border-white/10 py-3 transition-colors hover:bg-white/[0.02]",children:[(0,n.jsxs)("div",{className:"w-44 shrink-0 pt-0.5",children:[(0,n.jsx)("span",{className:"block text-[13px] text-white/60",children:t.category?(0,o.zk)(t.category):""}),(0,n.jsx)("time",{dateTime:t.date,className:"mt-0.5 block text-[13px] text-white/35",children:new Date(t.date).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",timeZone:"UTC"})})]}),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("h2",{className:"text-[15px] font-medium leading-snug text-white transition-colors group-hover:text-white/80",children:t.title}),t.description&&(0,n.jsx)("p",{className:"mt-0.5 line-clamp-2 text-[13px] text-white/35",children:t.description})]})]})}function w(e){return new Date(e.date).getUTCFullYear()}function b(e){return(0,n.jsx)(i.Suspense,{fallback:(0,n.jsx)(C,{...e,searchParams:{}}),children:(0,n.jsx)(j,{...e})})}
1function j(e){let t=(0,s.useSearchParams)(),r=(0,i.useMemo)(()=>{let e={};for(let r of Array.from(new Set(t.keys()))){let n=t.getAll(r);e[r]=n.length>1?n:n[0]}return e},[t]);return(0,n.jsx)(C,{...e,searchParams:r})}function C(e){let{posts:t,categories:r,tags:i=[],pathname:a,activeCategory:s=null,searchParams:c}=e,b=new Set,j=Array.from(new Set(t.map(w))).filter(e=>e>=2023).sort((e,t)=>t-e),C=new Set;for(let e of t)for(let t of(e.category&&b.add(e.category),e.tags))C.add(t);let y=r.filter(e=>b.has(e.name)),N=i.filter(e=>C.has(e.name)),k=u(c.topic).filter(e=>b.has(e)),S=u(c.tag).filter(e=>C.has(e)),_=u(c.year).map(e=>Number(e)).filter(e=>Number.isInteger(e)).filter(e=>j.includes(e)),L="oldest"===c.sort?"oldest":"newest",A="list"===c.view?"list":"grid",z=t;k.length>0&&(z=z.filter(e=>!!e.category&&k.includes(e.category))),S.length>0&&(z=z.filter(e=>S.some(t=>e.tags.includes(t)))),_.length>0&&(z=z.filter(e=>_.includes(w(e)))),"oldest"===L&&(z=[...z].sort((e,t)=>new Date(e.date).getTime()-new Date(t.date).getTime()));let M=k.length>0||_.length>0||S.length>0,P={sort:"oldest"===L?"oldest":void 0,view:"list"===A?"list":void 0,year:_.length>0?_.map(String):void 0,topic:void 0};return(0,n.jsxs)("div",{children:[(0,n.jsx)("header",{className:"mb-1 mt-8",children:(0,n.jsx)("h1",{className:"text-[40px] font-medium leading-none tracking-tight text-white md:text-[52px]",children:s?(0,o.zk)(s):"All"})}),(0,n.jsxs)("div",{className:"mb-3 flex w-full flex-wrap items-center gap-0 md:mb-4",children:[(0,n.jsxs)("div",{role:"navigation","aria-label":"Blog topics",className:"flex w-full items-center gap-x-1.5 overflow-hidden desktop:w-auto",children:[o.yx.map(e=>{let t=r.find(t=>t.name===e);return t?(0,n.jsx)(l.default,{href:p("/blog/category/".concat(t.slug),c,P),prefetch:!1,"aria-current":s===t.name?"page":void 0,className:"whitespace-nowrap text-[15px] transition-colors ".concat(s===t.name?"font-medium text-white":"text-white/60 hover:text-white"),children:(0,o.zk)(t.name)},t.slug):null}),(0,n.jsx)(l.default,{href:p("/blog",c,P),prefetch:!1,"aria-current":s?void 0:"page",className:"whitespace-nowrap text-[15px] transition-colors ".concat(s?"text-white/60 hover:text-white":"font-medium text-white"),children:"All"})]}),(0,n.jsx)("div",{className:"hidden flex-1 desktop:block"}),(0,n.jsxs)("div",{className:"flex w-full items-center gap-2 desktop:w-auto",children:[(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function(){if(window.__blogToolbarBound)return;window.__blogToolbarBound=true;document.addEventListener('mousedown',function(e){var t=e.target;document.querySelectorAll('details[name=\\\"blog-toolbar-menu\\\"][open]').forEach(function(d){if(!d.contains(t))d.removeAttribute('open');});});document.addEventListener('click',function(e){var btn=e.target&&e.target.closest&&e.target.closest('[data-blog-reset]');if(!btn)return;e.preventDefault();var form=btn.closest('form');if(form){form.querySelectorAll('input[type=\\\"checkbox\\\"]').forEach(function(i){i.checked=false;});}var href=btn.getAttribute('data-blog-href');if(href&&window.location.search){window.location.href=href;}});})();"}}),(0,n.jsxs)("details",{name:"blog-toolbar-menu",className:"relative",children:[(0,n.jsxs)("summary",{className:"flex cursor-pointer list-none items-center gap-[4px] text-[13px] transition-colors ".concat(M?"text-white":"text-white/60 hover:text-white"),children:[(0,n.jsx)("span",{children:"Filter"}),(0,n.jsx)(f,{}),M&&(0,n.jsx)("span",{className:"ml-[2px] flex h-[14px] w-[14px] items-center justify-center rounded-full bg-white text-[9px] font-bold text-black",children:k.length+_.length+S.length})]}),(0,n.jsxs)("div",{className:"absolute right-0 top-[calc(100%+8px)] z-[1000] w-[min(320px,calc(100vw-2rem))] rounded-[4px] border border-white/10 bg-[#1a1a1a] p-[12px] shadow-2xl",children:[(0,n.jsx)("div",{className:"buttonCorner btnCorner-tl"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-tr"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-bl"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-br"}),(0,n.jsxs)("form",{action:a,className:"space-y-[10px]",children:["oldest"===L&&(0,n.jsx)("input",{type:"hidden",name:"sort",value:"oldest"}),"list"===A&&(0,n.jsx)("input",{type:"hidden",name:"view",value:"list"}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wider text-white",children:"Filter"}),(0,n.jsx)("button",{type:"button","data-blog-reset":!0,"data-blog-href":a,className:"text-[11px] uppercase tracking-wider text-white/40 transition-colors hover:text-white",children:"Clear"})]}),(0,n.jsxs)("div",{className:"flex gap-[14px]",children:[(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("p",{className:"mb-[6px] text-[10px] uppercase tracking-wider text-white/40",children:"Topic"}),(0,n.jsx)("div",{className:"flex flex-col gap-[6px]",children:y.map(e=>(0,n.jsx)(m,{name:"topic",value:e.name,checked:k.includes(e.name),children:(0,o.zk)(e.name)},e.slug))})]}),(0,n.jsxs)("div",{className:"w-[72px] shrink-0",children:[(0,n.jsx)("p",{className:"mb-[6px] text-[10px] uppercase tracking-wider text-white/40",children:"Year"}),(0,n.jsx)("div",{className:"flex flex-col gap-[6px]",children:j.map(e=>(0,n.jsx)(m,{name:"year",value:e,checked:_.includes(e),children:e},e))})]})]}),N.length>0&&(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"mb-[6px] text-[10px] uppercase tracking-wider text-white/40",children:"Tags"}),(0,n.jsx)("div",{className:"flex flex-wrap gap-x-[8px] gap-y-[6px]",children:N.map(e=>(0,n.jsx)(m,{name:"tag",value:e.name,checked:S.includes(e.name),children:e.name},e.name))})]}),(0,n.jsxs)("div",{className:"flex items-center justify-end gap-[10px] pt-[2px]",children:[(0,n.jsx)("button",{type:"button","data-blog-reset":!0,"data-blog-href":a,className:"text-[11px] uppercase tracking-wider text-white/40 transition-colors hover:text-white",children:"Reset"}),(0,n.jsx)(d.Z,{type:"submit",variant:"ghost",containerClassName:"rounded-none bg-[rgba(29,29,29,1)] border border-[#505050] px-[10px] py-[4px] hover:bg-[#474747] hover:border-[#909090] transition-all duration-200",className:"text-[11px] leading-none tracking-wider text-white font-sans whitespace-nowrap uppercase",children:"Apply"})]})]})]})]},JSON.stringify([k,_,S])),(0,n.jsxs)("details",{name:"blog-toolbar-menu",className:"relative",children:[(0,n.jsxs)("summary",{className:"flex cursor-pointer list-none items-center gap-[4px] text-[13px] text-white/60 transition-colors hover:text-white",children:[(0,n.jsx)("span",{children:"Sort"}),(0,n.jsx)("span",{className:"text-[11px] text-white/40",children:"oldest"===L?"Oldest":"Newest"})]}),(0,n.jsxs)("div",{className:"absolute right-0 top-[calc(100%+8px)] z-[1000] w-[180px] rounded-[4px] border border-white/10 bg-[#1a1a1a] p-[6px] shadow-2xl",children:[(0,n.jsx)("div",{className:"buttonCorner btnCorner-tl"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-tr"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-bl"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-br"}),(0,n.jsx)(l.default,{href:p(a,c,{sort:void 0}),prefetch:!1,className:"flex rounded-[2px] px-[8px] py-[5px] text-[12px] transition-colors ".concat("newest"===L?"text-white":"text-white/55 hover:bg-white/5 hover:text-white"),children:"Newest â Oldest"}),(0,n.jsx)(l.default,{href:p(a,c,{sort:"oldest"}),prefetch:!1,className:"flex rounded-[2px] px-[8px] py-[5px] text-[12px] transition-colors ".concat("oldest"===L?"text-white":"text-white/55 hover:bg-white/5 hover:text-white"),children:"Oldest â Newest"})]})]}),(0,n.jsx)("div",{className:"flex-1 desktop:hidden"}),(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(l.default,{href:p(a,c,{view:void 0}),prefetch:!1,"aria-label":"Grid view",className:"p-0.5",children:(0,n.jsx)(x,{active:"grid"===A})}),(0,n.jsx)(l.default,{href:p(a,c,{view:"list"}),prefetch:!1,"aria-label":"List view",className:"p-0.5",children:(0,n.jsx)(h,{active:"list"===A})})]})]})]}),"grid"===A?(0,n.jsx)("section",{className:"grid grid-cols-1 gap-y-8 tablet:grid-cols-2 lg:grid-cols-4",style:{columnGap:0},"aria-label":"Blog posts",children:z.map((e,t)=>(0,n.jsx)(g,{post:e,priority:0===t},e.slug))}):(0,n.jsx)("section",{className:"border-t border-white/10","aria-label":"Blog posts",children:z.map(e=>(0,n.jsx)(v,{post:e},e.slug))}),0===z.length&&(0,n.jsx)("div",{className:"py-20 text-center text-sm text-white/30",children:"No posts match the selected filters."})]})}},12381:function(e,t,r){"use strict";r.d(t,{d:function(){return p},z:function(){return x}});var n=r(57437),i=r(2265),a=r(37053),l=r(90535),s=r(38452);let o="flex items-center justify-center whitespace-nowrap rounded-md focus-visible:outline-none",c={primary:"bg-primary text-primary-foreground hover:bg-[#e8e8e8] active:bg-[#c7c7c7] border border-primary transition-all duration-200",dark:"bg-dark-green text-white hover:bg-black transition-all duration-200",outline:"border-gradient-2 text-gradient-2 bg-transparent roun
1ded-full hover:bg-white/[0.04] transition-all duration-200",secondary:"bg-gradient-2 hover:bg-gradient-3 text-white transition-all duration-200",link:"text-primary underline-offset-4 hover:underline transition-all duration-200",ghost:"hover:bg-white/[0.06] active:scale-[0.98] transition-all duration-200",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 transition-all duration-200",bare:""},d={default:"",sm:"h-9",lg:"h-14",icon:"h-12 w-12"},u={default:"",sm:"px-3",lg:"px-8 py-2",icon:""},p=(0,l.j)(o,{variants:{variant:c,size:d,space:u},defaultVariants:{variant:"primary",size:"default",space:"default"}}),x=i.forwardRef((e,t)=>{let{className:r,innerClassName:i="",variant:l,size:x="default",children:h,asChild:f=!1,...m}=e,g=f?a.g7:"button";return(0,n.jsx)(n.Fragment,{children:"secondary"===l?(0,n.jsx)(g,{className:(0,s.cn)(o,l&&(null==c?void 0:c[l])?null==c?void 0:c[l]:"",x&&(null==d?void 0:d[x])?null==d?void 0:d[x]:"","group",r),ref:t,...m,children:(0,n.jsx)("span",{className:(0,s.cn)(x&&(null==u?void 0:u[x])?null==u?void 0:u[x]:"","bg-dark-green group-hover:bg-black group-active:bg-dark-green rounded-md inline-flex items-center justify-center font-display transition-all duration-500",i),children:h})}):(0,n.jsx)(g,{className:(0,s.cn)(p({variant:l,size:x,className:r})),ref:t,...m,children:h})})});x.displayName="Button"},94992:function(e,t,r){"use strict";var n=r(57437),i=r(2265),a=r(38452),l=r(12381);let s=i.forwardRef(function(e,t){let{children:r,containerClassName:i,className:s,disabled:o=!1,corner:c=!0,variant:d="bare",onClick:u,...p}=e;return(0,n.jsxs)(l.z,{ref:t,className:(0,a.cn)("corner-hover-parent",i),onClick:u,disabled:o,variant:d,...p,children:[(0,n.jsx)("div",{className:(0,a.cn)("z-10 text-white",s),children:r}),c&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"buttonCorner btnCorner-tl"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-tr"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-bl"}),(0,n.jsx)("div",{className:"buttonCorner btnCorner-br"})]})]})});t.Z=s},23914:function(e,t,r){"use strict";r.d(t,{un:function(){return a},yx:function(){return n},zk:function(){return l}});let n=["ai-detection","deepfake-detection","deepfakes","incidents","policy","society","how-to"],i={"ai-detection":"AI Detection","deepfake-detection":"Deepfake Detection","how-to":"How To","thought-leadership":"Thought Leadership",incidents:"Incidents",policy:"Policy",deepfakes:"Deepfakes",education:"Education",society:"Society",creative:"Creative"};function a(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-")}function l(e){var t;return e?null!==(t=i[e])&&void 0!==t?t:e.split(/[-\s]+/).filter(Boolean).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "):""}},38452:function(e,t,r){"use strict";r.d(t,{Tq:function(){return u},_1:function(){return c},az:function(){return s},cn:function(){return a}});var n=r(61994),i=r(53335);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,i.m6)((0,n.W)(t))}let l=e=>{if(!e)return"";let t=e.toString();return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},s=function(e){var t,r;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Something went wrong!";return l((null==e?void 0:null===(r=e.response)||void 0===r?void 0:null===(t=r.data)||void 0===t?void 0:t.message)||n)},o=(e,t)=>0===e?0:t/e*100,c=(e,t)=>Number((100-o(e,t)).toFixed(2)),d={image:["image","images","image_check","image_checks"],audio:["audio","audios","audio_check","audio_checks"],video:["video","videos","video_check","video_checks"],text:["text","texts","text_check","text_checks"]},u=(e,t)=>{var r;if(!(null==e?void 0:e.length))return;let n=t.toLowerCase(),i=null!==(r=d[n])&&void 0!==r?r:[n];return e.find(e=>i.includes(e.name))}},98575:function(e,t,r){"use strict";r.d(t,{F:function(){return a},e:function(){return l}});var n=r(2265);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function l(...e){return n.useCallback(a(...e),e)}},37053:function(e,t,r){"use strict";r.d(t,{Z8:function(){return d},g7:function(){return u}});var n,i=r(2265),a=r(98575),l=r(57437),s=Symbol.for("react.lazy"),o=(n||(n=r.t(i,2)))[" use ".trim().toString()];function c(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function d(e){let t=function(e){let t=i.forwardRef((e,t)=>
1{let{children:r,...n}=e;if(c(r)&&"function"==typeof o&&(r=o(r._payload)),i.isValidElement(r)){var l;let e,s;let o=(l=r,(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?l.ref:(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?l.props.ref:l.props.ref||l.ref),c=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(c.ref=t?(0,a.F)(t,o):o),i.cloneElement(r,c)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=i.forwardRef((e,r)=>{let{children:n,...a}=e;c(n)&&"function"==typeof o&&(n=o(n._payload));let s=i.Children.toArray(n),d=s.find(x);if(d){let e=d.props.children,n=s.map(t=>t!==d?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...a,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,l.jsx)(t,{...a,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var u=d("Slot"),p=Symbol("radix.slottable");function x(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}},90535:function(e,t,r){"use strict";r.d(t,{j:function(){return l}});var n=r(61994);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=n.W,l=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return a(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:l,defaultVariants:s}=t,o=Object.keys(l).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let a=i(t)||i(n);return l[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return a(e,o,null==t?void 0:null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...c}[t]):({...s,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}}]);
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.