1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4131],{4131:function(e,t,n){n.r(t),n.d(t,{default:function(){return v}});var r=n(36734),o=n(74922),i=n(70652),l=n(81475),a=n(29760),c=n(97619),s=n(29324),u=n(62582),d=n(1244),f=n(66778),g=n(56562),p=n.n(g),h=n(51776);let m=e=>{var t,n;let{item:g,isFullWidth:h}=e;return(0,r.jsx)(p(),{href:"/blog/".concat((0,d.lV)(null==g?void 0:g.category),"/").concat(g.slug),children:(0,r.jsx)(o.xu,{scrollSnapAlign:"start",cursor:"pointer",w:"full",...!h&&{minW:"300px",w:"300px"},role:"group",children:(0,r.jsxs)(i.g,{align:"stretch",spacing:"2",children:[(0,r.jsxs)(o.xu,{pos:"relative",overflow:"hidden",_before:{content:"''",pos:"absolute",height:"100px",width:"100%",zIndex:"99",bottom:0,left:0,bgGradient:"linear(to-t, blackAlpha.600, transparent)"},children:[(0,r.jsx)(l.o,{ratio:1,children:(0,r.jsx)(s.Z,{src:null===(t=null==g?void 0:null===(n=g.images)||void 0===n?void 0:n.find(e=>"medium"===e.type_image))||void 0===t?void 0:t.url,fallbackSrc:f.qC,objectFit:"cover",...!h&&{width:"250px",w:"full"},border:"1px",borderColor:"gray.50",shadow:"sm",_groupHover:{transform:"scale(1.1)"},transition:"transform .3s ease-in-out",loading:"lazy"})}),(0,r.jsx)(a.C,{variant:"subtle",bg:"blackAlpha.400",color:"white",fontWeight:"normal",rounded:"none",px:"3",py:"0.5",textTransform:"capitalize",pos:"absolute",bottom:"0px",left:"0px",fontSize:"xs",_groupHover:{bg:"bg.primary"},transition:"background .5s ease-in-out",zIndex:"99",children:null==g?void 0:g.category})]}),(0,r.jsxs)(o.xu,{children:[(0,r.jsx)(c.x,{color:"font.pencil",fontSize:"xs",children:(0,u.dq)(null==g?void 0:g.published_at,"date")}),(0,r.jsx)(c.x,{size:"sm",fontWeight:{base:"normal",lg:"medium"},noOfLines:3,as:"h3",children:null==g?void 0:g.title})]})]})})})};var v=(0,h.memo)(m)},29324:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(36734),o=n(74922),i=n(2340),l=n(91727),a=n(51776);let c=e=>{let{...t}=e,[n,c]=(0,a.useState)(!1),s={...t};return delete s.src,delete s.alt,delete s.loading,delete s.objectFit,delete s.fallbackSrc,(0,r.jsxs)(o.xu,{position:"relative",width:null==t?void 0:t.width,height:null==t?void 0:t.height,w:(null==t?void 0:t.w)||"full",h:(null==t?void 0:t.h)||"full",children:[!n&&(0,r.jsx)(i.O,{position:"absolute",top:"0",left:"0",height:"100%",width:"100%",...s,startColor:"#cccccc",endColor:"#eeeeee",opacity:"1"}),(0,r.jsx)(l.E,{...t,onLoad:()=>c(!0),onError:()=>c(!0),objectFit:"cover",...n&&{objectFit:null==t?void 0:t.objectFit}})]})};var s=c},1244:function(e,t,n){n.d(t,{$G:function(){return a},Hl:function(){return o},O1:function(){return c},Yu:function(){return r},iS:function(){return l},ju:function(){return s},lV:function(){return i}});let r=e=>e.slice(0,4)+"*".repeat(5)+e.slice(9),o=e=>{var t,n,r;return(null===(t=null===(n=null===(r=null==e?void 0:e.split("_"))||void 0===r?void 0:r.join(" "))||void 0===n?void 0:n.split("-"))||void 0===t?void 0:t.join(" "))||""},i=e=>e?e.toString().toLowerCase().trim().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-"):"",l=(e,t,n)=>{if(isNaN(e.target.value))return;let r=e.target.value.replace(/[^0-9]/g,"");n.setFieldValue(t,r)},a=(e,t)=>e.length>t?e.substring(0,t)+"...":e,c=e=>{let t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=n.length;for(let o=0;o<e;o++)t+=n.charAt(Math.floor(Math.random()*r));return t},s=e=>e.replace(/<[^>]*>/g,"")},15959:function(e,t,n){n.d(t,{d:function(){return i},z:function(){return l}});var r=n(64857),o=n(51776);function i(e){let{loading:t,src:n,srcSet:i,onLoad:l,onError:a,crossOrigin:c,sizes:s,ignoreFallback:u}=e,[d,f]=(0,o.useState)("pending");(0,o.useEffect)(()=>{f(n?"loading":"pending")},[n]);let g=(0,o.useRef)(),p=(0,o.useCallback)(()=>{if(!n)return;h();let e=new Image;e.src=n,c&&(e.crossOrigin=c),i&&(e.srcset=i),s&&(e.sizes=s),t&&(e.loading=t),e.onload=e=>{h(),f("loaded"),null==l||l(e)},e.onerror=e=>{h(),f("failed"),null==a||a(e)},g.current=e},[n,c,i,s,l,a,t]),h=()=>{g.current&&(g.current.onload=null,g.current.onerror=null,g.current=null)};return(0,r.G)(()=>
1{if(!u)return"loading"===d&&p(),()=>{h()}},[d,p,u]),u?"loaded":d}var l=(e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t},91727:function(e,t,n){n.d(t,{E:function(){return c}});var r=n(11876),o=n(36734),i=(0,r.G)(function(e,t){let{htmlWidth:n,htmlHeight:r,alt:i,...l}=e;return(0,o.jsx)("img",{width:n,height:r,ref:t,alt:i,...l})});i.displayName="NativeImage";var l=n(15959),a=n(83543),c=(0,r.G)(function(e,t){let{fallbackSrc:n,fallback:r,src:c,srcSet:s,align:u,fit:d,loading:f,ignoreFallback:g,crossOrigin:p,fallbackStrategy:h="beforeLoadOrError",referrerPolicy:m,...v}=e,b=null!=f||g||!(void 0!==n||void 0!==r),x=(0,l.d)({...e,crossOrigin:p,ignoreFallback:b}),j=(0,l.z)(x,h),k={ref:t,objectFit:d,objectPosition:u,...b?v:function(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}(v,["onError","onLoad"])};return j?r||(0,o.jsx)(a.m.img,{as:i,className:"chakra-image__placeholder",src:n,...k}):(0,o.jsx)(a.m.img,{as:i,src:c,srcSet:s,crossOrigin:p,loading:f,referrerPolicy:m,className:"chakra-image",...k})});c.displayName="Image"},81475:function(e,t,n){n.d(t,{o:function(){return s}});var r=n(11876),o=n(83543),i=n(18884),l=n(40629),a=n(51776),c=n(36734),s=(0,r.G)(function(e,t){let{ratio:n=4/3,children:r,className:s,...u}=e,d=a.Children.only(r),f=(0,l.cx)("chakra-aspect-ratio",s);return(0,c.jsx)(o.m.div,{ref:t,position:"relative",className:f,_before:{height:0,content:'""',display:"block",paddingBottom:(0,i.XQ)(n,e=>`${1/e*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...u,children:d})});s.displayName="AspectRatio"},29760:function(e,t,n){n.d(t,{C:function(){return s}});var r=n(11876),o=n(47208),i=n(47471),l=n(83543),a=n(40629),c=n(36734),s=(0,r.G)(function(e,t){let n=(0,o.mq)("Badge",e),{className:r,...s}=(0,i.Lr)(e);return(0,c.jsx)(l.m.span,{ref:t,className:(0,a.cx)("chakra-badge",e.className),...s,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...n}})});s.displayName="Badge"},97619:function(e,t,n){n.d(t,{x:function(){return u}});var r=n(11876),o=n(47208),i=n(47471),l=n(83543),a=n(40629),c=n(161),s=n(36734),u=(0,r.G)(function(e,t){let n=(0,o.mq)("Text",e),{className:r,align:u,decoration:d,casing:f,...g}=(0,i.Lr)(e),p=(0,c.o)({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,s.jsx)(l.m.p,{ref:t,className:(0,a.cx)("chakra-text",e.className),...p,...g,__css:n})});u.displayName="Text"},2340:function(e,t,n){n.d(t,{O:function(){return v}});var r=n(51776),o=n(40629),i=n(83543),l=n(47471),a=n(13327),c=n(11876),s=n(47208),u=n(24511),d=n(36734),f=(0,i.m)("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),g=(0,l.gJ)("skeleton-start-color"),p=(0,l.gJ)("skeleton-end-color"),h=(0,a.F4)({from:{opacity:0}
1,to:{opacity:1}}),m=(0,a.F4)({from:{borderColor:g.reference,background:g.reference},to:{borderColor:p.reference,background:p.reference}}),v=(0,c.G)((e,t)=>{let n={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},a=(0,s.mq)("Skeleton",n),c=function(){let e=(0,r.useRef)(!0);return(0,r.useEffect)(()=>{e.current=!1},[]),e.current}(),{startColor:v="",endColor:b="",isLoaded:x,fadeDuration:j,speed:k,className:y,fitContent:w,..._}=(0,l.Lr)(n),[N,C]=(0,u.dQ)("colors",[v,b]),S=function(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}(x),E=(0,o.cx)("chakra-skeleton",y),F={...N&&{[g.variable]:N},...C&&{[p.variable]:C}};if(x){let e=c||S?"none":`${h} ${j}s`;return(0,d.jsx)(i.m.div,{ref:t,className:E,__css:{animation:e},..._})}return(0,d.jsx)(f,{ref:t,className:E,..._,__css:{width:w?"fit-content":void 0,...a,...F,_dark:{...a._dark,...F},animation:`${k}s linear infinite alternate ${m}`}})});v.displayName="Skeleton"}}]);
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.