(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5898],{57156:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetFeatureFlagsQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"key"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"featureFlag"},arguments:[{kind:"Argument",name:{kind:"Name",value:"key"},value:{kind:"Variable",name:{kind:"Name",value:"key"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isActive"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:97}};n.loc.source={body:"query GetFeatureFlagsQuery($key: String!) {\n featureFlag(key: $key) {\n id\n isActive\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"GetFeatureFlagsQuery")},4127:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetResourceBlogDetail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resource"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"slug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"originalId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"coverUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"downloadUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:161}};n.loc.source={body:"query GetResourceBlogDetail($slug: String!) {\n resource(slug: $slug) {\n originalId\n title\n description\n coverUrl\n downloadUrl\n category\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"GetResourceBlogDetail")},50778:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BlogArticleBlogDetail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"articleV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"slug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"originalId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"metaTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"metaDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alternates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hrefLang"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"rawContent"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[{kind:"Argument",name:{kind:"Name",value:"optimize"},value:{kind:"BooleanValue",value:!0}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"author"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"read"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"relativeUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"absoluteUrl"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"urlWithoutCountry"},name:{kind:"Name",value:"url"},arguments:[{kind:"Argument",name:{kind:"Name",value:"excludeCountry"},value:{kind:"BooleanValue",value:!0}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"relativeUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"absoluteUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"index"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"indexId"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"relatedArticles"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"language"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"relativeUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"absoluteUrl"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"modifiedDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keywords"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"likeCount"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:795}};n.loc.source={body:"query BlogArticleBlogDetail($slug: String!) {\n articleV2(slug: $slug) {\n slug\n originalId\n title\n description\n seo {\n metaTitle\n metaDescription\n alternates {\n hrefLang\n }\n }\n rawContent\n content(optimize: true)\n author {\n avatarUrl\n firstName\n lastName\n }\n image {\n url\n placeholder\n }\n read\n category {\n name\n slug\n url\n }\n url {\n relativeUrl\n absoluteUrl\n }\n urlWithoutCountry: url(excludeCountry: true) {\n relativeUrl\n absoluteUrl\n }\n index {\n title\n position\n indexId\n }\n relatedArticles {\n language\n url {\n relativeUrl\n absoluteUrl\n }\n }\n modifiedDate\n keywords\n likeCount\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"BlogArticleBlogDetail")},4687:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BlogCategories"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"blogCategories"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:66}};n.loc.source={body:"query BlogCategories {\n blogCategories {\n name\n slug\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"BlogCategories")},60141:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BlogFeaturedArticles"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"categories"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"exclude_ids"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"first"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"featuredArticles"},arguments:[{kind:"Argument",name:{kind:"Name",value:"categories"},value:{kind:"Variable",name:{kind:"Name",value:"categories"}}},{kind:"Argument",name:{kind:"Name",value:"excludeIds"},value:{kind:"Variable",name:{kind:"Name",value:"exclude_ids"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"first"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"totalCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasNextPage"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"edges"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"node"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"articles"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"originalId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"placeholder"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"read"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"author"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"category"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"publishDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"modifiedDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"likeCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"absoluteUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"relativeUrl"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:868}};n.loc.source={body:"query BlogFeaturedArticles(\n $categories: [String]\n $exclude_ids: [Int]\n $first: Int\n $after: String\n) {\n featuredArticles(\n categories: $categories\n excludeIds: $exclude_ids\n first: $first\n after: $after\n ) {\n totalCount\n pageInfo {\n endCursor\n hasNextPage\n }\n edges {\n node {\n category\n articles {\n originalId\n slug\n title\n description\n image {\n url\n placeholder\n }\n read\n author {\n avatarUrl\n firstName\n lastName\n }\n category {\n name\n slug\n url\n }\n publishDate\n modifiedDate\n likeCount\n url {\n absoluteUrl\n relativeUrl\n }\n }\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"BlogFeaturedArticles")},1e3:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"BlogLikeArticle"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"likeValue"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"articleLike"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"slug"}}},{kind:"Argument",name:{kind:"Name",value:"likeValue"},value:{kind:"Variable",name:{kind:"Name",value:"likeValue"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:135}};n.loc.source={body:"mutation BlogLikeArticle($slug: String!, $likeValue: Boolean!) {\n articleLike(slug: $slug, likeValue: $likeValue) {\n success\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,n){for(var i=0;i0;){var s=l;l=new Set,s.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){l.add(e)}))})}return r.forEach(function(n){var i=a(e,n);i&&t.definitions.push(i)}),t}(n,"BlogLikeArticle")},18310:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[category]/[slug]",function(){return i(82197)}])},82197:function(e,n,i){"use strict";i.r(n),i.d(n,{__N_SSP:function(){return eL},default:function(){return eq}});var a=i(11527),t=i(50959),o=i(11639),r=i(2235),l=i.n(r),s=i(25431),d=i.n(s),c=i(82797),m=i(35676),u=i.n(m),f=i(35346),g=i(74782),v=i(30217),k=i(22851);let p=e=>{let{alternates:n,url:i}=e;return n.map(e=>({href:"".concat((0,k.SV)()).concat(i),hrefLang:e})).concat({href:"".concat((0,k.SV)()).concat(i),hrefLang:"x-default"})};var h=i(28371);i(32699);var b=i(62740),N=i(55403),x=i(51196),S=i(26450),y=i(60160),w=i(66287),F=i(27651),j=i(95194),D=i(89261),E=i(8329),C=i(9249),T=e=>{let{article:n,languageCode:i}=e,t=(0,E.Z)(),{t:o}=(0,w.$)();if(!t)return null;let r=(0,S.Z)(n.modifiedDate,{inputFormat:"YYYY-MM-DD",languageCode:i}),l=r?(0,y.Z)(r,{outputFormat:"DD MMM YY",languageCode:i}):"",s="expertos-hr"===n.category.slug;return(0,a.jsxs)("header",{className:"tw-mt-2.4 tw-mb-2.4 tw-pb-2.4 border-b tw-border-neutral-dark-500",children:[s?null:(0,a.jsxs)("figure",{className:"w-full tw-mb-1 tw-h-28.8 tw-relative tw-rounded-0.8 tw-overflow-hidden",children:[(0,a.jsx)(D.Z,{src:n.image.url,alt:n.title,layout:"fill",className:"w-full h-full object-cover"}),(0,a.jsx)("caption",{className:"tw-sr-only",children:n.title})]}),(0,a.jsx)("h1",{className:"tw-font-h4 tw-font-bold mb-24",children:n.title}),(0,a.jsxs)("div",{className:"tw-flex tw-items-center",children:[(0,a.jsxs)("div",{className:"tw-flex tw-items-center",children:[(0,a.jsx)(C.Z,{src:n.author.avatarUrl,size:{xs:24}}),(0,a.jsx)("div",{className:"tw-ml-1",children:(0,a.jsxs)("h5",{className:"tw-font-body5 tw-text-neutral-light-800",children:[n.author.firstName+" "+n.author.lastName," -"," ",l]})})]}),(0,a.jsxs)("div",{className:"tw-ml-auto tw-flex tw-items-center",children:[(0,a.jsxs)("div",{className:"tw-flex tw-items-center",children:[(0,a.jsx)(F.Z,{size:16}),(0,a.jsx)("p",{className:"tw-font-body5 tw-text-neutral-light-800 tw-ml-0.4",children:o("CARD_TYPE_ARTICLE")})]}),(0,a.jsxs)("div",{className:"tw-flex tw-items-center tw-ml-1",children:[(0,a.jsx)(j.Z,{size:16}),(0,a.jsx)("p",{className:"tw-font-body5 tw-text-neutral-light-800 tw-ml-0.4",children:n.read})]})]})]})]})},I=i(82095),V=i(77592),A=i(6276),B=i(89463),P=i(79097),U=i(17567),Z=i(89434),_=i(27652),L=i(28007),q=i(93234),z=i(12746),$=i(12331),O=i(57521),M=i(87858),R=i(23442),G=i(1e3),H=i.n(G);function Q(){let e=(0,I._)(["\n @media (min-width: 1024px) {\n border-top: 1px solid #b7bad5;\n }\n "]);return Q=function(){return e},e}let{primaryMain:Y,baseMain:W}=q,X="crehana_blog_should_like_article";var J=e=>{let{article:{slug:n,url:i}}=e,{me:o,loading:r}=(0,R.P)(),[l,s]=(0,t.useState)(!1),[d,c]=(0,t.useState)(""),[m,u]=(0,t.useState)(!1),[f,{loading:g}]=(0,A.D)(H(),{context:{clientName:"v4"},onCompleted(e){var n;(null===(n=e.articleLike)||void 0===n?void 0:n.success)&&u(!0)}}),v=e=>{f({variables:{slug:n,likeValue:e}})};return(0,t.useEffect)(()=>{if(!r&&o){let e="true"===O.Z.getItem(X);e&&(v(!0),O.Z.removeItem(X))}},[o,r]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(z.Z,{dismissOnDelay:3e3,onDismiss:()=>{s(!1)},open:l,position:"top-center",children:(0,a.jsx)("span",{className:"tw-font-caption tw-text-neutral-dark-700",children:d})}),(0,a.jsxs)("div",{className:"flex flex-col-reverse md:flex-col items-center mt-48 sticky",style:{top:100},children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("p",{className:"tw-font-link1 tw-text-neutral-light-700",children:"Compartir"}),(0,a.jsxs)("div",{className:"flex md:flex-col items-center",children:[(0,a.jsx)($.Z,{className:"border-none",customIcon:B.Z,customSize:24,customColor:Y,onClick:()=>(0,M.Z)({socialNetwork:"facebook",url:i})}),(0,a.jsx)($.Z,{className:"border-none",customIcon:Z.Z,customSize:24,customColor:Y,onClick:()=>(0,M.Z)({socialNetwork:"twitter",url:i})}),(0,a.jsx)($.Z,{className:"border-none",customIcon:U.Z,customSize:24,customColor:Y,onClick:()=>(0,M.Z)({socialNetwork:"linkedin",url:i})}),(0,a.jsx)($.Z,{customIcon:L.Z,customSize:24,customColor:Y,className:"border-none",onClick:()=>{navigator.clipboard&&(navigator.clipboard.writeText(window.location.href),s(!0),c("\xa1Enlace copiado!"))}})]})]}),(0,a.jsxs)(K,{className:"flex flex-col items-center md:mt-24 md:pt-24 mb-24 md:mb-0",children:[(0,a.jsx)("p",{className:"mb-0 md:mb-24 tw-font-link1 tw-text-neutral-light-700",children:"Valorar"}),(0,a.jsx)("div",{className:"cursor-pointer flex md:flex-col items-center",children:(0,a.jsx)($.Z,{className:"border-none",disabled:g,customIcon:m?P.Z:_.Z,customSize:24,customColor:m?Y:W,onClick:()=>{o?v(!m):window.location.href="/onboarding/?nextUrl=".concat(window.location.href)}})})]})]})]})},K=(0,V.ZP)("div").withConfig({componentId:"sc-b92a8ad6-0"})(Q()),ee=i(33600),en=i(99627),ei=i(65973),ea=i(67748);function et(){let e=(0,I._)(["\n width: 100%;\n background-color: #fff;\n color: ",";\n border-radius: 5px;\n cursor: pointer;\n box-shadow: 0px 8px 18px rgba(135, 143, 184, 0.12);\n img {\n border-radius: 5px;\n }\n"]);return et=function(){return e},e}V.ZP.div.withConfig({componentId:"sc-68d9e576-0"})(et(),q.FY);var eo=e=>{var n;let{articles:i}=e,{t}=(0,w.$)();return(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsx)("h4",{className:"font-subtitle1 mb-16 text-center md:text-left",children:t("RELATED_ARTICLES_SECTION_TITLE")}),(0,a.jsx)(ee.Z,{desktopPaginationSelector:".pagination",desktopPaginationType:"default-s",itemsPerPage:{lg:3,md:3,sm:2,xs:1},children:null==i?void 0:null===(n=i.articles)||void 0===n?void 0:n.filter(en.Z).map(e=>(0,a.jsx)(ea.Z,{source:ei.zK,article:e},e.slug))}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"pagination"})})]})},er=i(68240),el=i(68859);function es(){let e=(0,I._)(["\n will-change: transform;\n transition: 0.3s;\n transform: rotate(",");\n"]);return es=function(){return e},e}var ed=e=>{let{rawIndex:n,className:i}=e,{getToggleProps:t,getCollapseProps:o,isOpen:r}=(0,el.Z)(),l=n.filter(e=>e&&Object.keys(e).length).filter(en.Z),s=l.sort((e,n)=>e.positionn.position?1:0),d=(e,n)=>{e.preventDefault();let i=document.getElementById("".concat(n.indexId));i&&i.scrollIntoView({behavior:"smooth"})};return(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"tw-flex tw-items-center tw-py-2 tw-px-2.4 tw-bg-neutral-light-300 tw-w-full -tw-mb-1.6 tw-rounded-1",...t(),children:[(0,a.jsx)(ec,{isOpen:r,children:(0,a.jsx)(er.Z,{size:24,color:q.jk})}),(0,a.jsx)("h4",{className:"tw-font-subtitle5 tw-ml-1",children:"\xcdndice"})]}),(0,a.jsx)("ul",{className:i,...o(),children:null==s?void 0:s.map((e,n)=>(null==e?void 0:e.indexId)&&(0,a.jsx)("div",{className:"tw-mt-4 tw-px-2.4",children:(0,a.jsxs)("a",{className:"tw-font-body5 text-base-main",href:"#".concat(e.indexId),onClick:n=>d(n,e),children:[n+1,". ",e.title]})},e.indexId))})]})};let ec=V.ZP.div.withConfig({componentId:"sc-acfe189a-0"})(es(),e=>e.isOpen?"-180deg":"0deg");var em=i(21222),eu=i(61787),ef=i(10422),eg=i(27850);function ev(){let e=(0,I._)(["\n top: 34%;\n left: 27%;\n\n "," {\n top: 70%;\n left: 43.5%;\n }\n "]);return ev=function(){return e},e}function ek(){let e=(0,I._)(["\n background-image: url('https://crehana-vercel-images-prd.imgix.net/public/ecommerce-mf/3af9f27b-93bc-4327-8510-16b264c17862-328x351.png?auto=format&fit=clip');\n background-position: center;\n background-size: cover;\n background-repeat: no-repeat;\n padding-bottom: 320px;\n @media (min-width: 768px) {\n background-image: url('https://crehana-vercel-images-prd.imgix.net/public/ecommerce-mf/fa81e69b-595a-49cf-8920-604e79a24130-956x235.png?auto=format&fit=clip');\n padding-bottom: 220px;\n }\n "]);return ek=function(){return e},e}var ep=e=>{let{htmlNodeToMount:n,source:i}=e,t=(0,a.jsx)(eb,{className:"px-24 sm:px-32 md:px-56 py-24 sm:py-32 md:py-24 rounded-10 flex flex-col items-center sm:items-start relative ".concat(n?"mb-24":""),children:(0,a.jsx)(eh,{size:"s",className:"absolute",label:"Ir a Recursos",onClick:()=>{let e=(0,g.jV)({url:"https://crehana.com/recursos",source:i,sourceDetail:"Get Lead Banner"});window.location.href=e}})});return n?ef.createPortal(t,n):t},eh=(0,V.ZP)(eg.Z).withConfig({componentId:"sc-1542e0bd-0"})(ev(),e=>e.theme.breakpoints.up("md")),eb=(0,V.ZP)("aside").withConfig({componentId:"sc-1542e0bd-1"})(ek());let eN="BlogPost",ex=e=>{let n=e.split(/(?=)/),i=n.map(e=>e.includes("https://www.crehana.com")?e.replace('rel="nofollow"',""):e);return i.join(" ")},eS=e=>{let n=null==e?void 0:e.replace(/\[(2021|2022|2023)]/g,"[2024]");return n};function ey(){let e=(0,I._)(["\n p,\n a {\n font-family: Poppins, SF Pro Display, -apple-system, BlinkMacSystemFont,\n Roboto, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,\n Segoe UI Emoji, Segoe UI Symbol !important;\n font-size: 16px;\n line-height: 24px;\n margin-bottom: 24px;\n }\n\n h2,\n h2 > a {\n font-family: Poppins !important;\n font-weight: bold;\n font-size: 24px;\n margin-bottom: 24px;\n color: ",";\n }\n\n h3,\n h3 > a {\n font-family: Poppins !important;\n font-weight: 700;\n font-size: 20px;\n text-align: left !important;\n margin-bottom: 24px;\n color: ",";\n }\n\n h4,\n h3 > a {\n font-family: Poppins !important;\n font-weight: 700;\n font-size: 18px;\n text-align: left !important;\n margin-bottom: 24px;\n color: ",";\n }\n\n h4 {\n font-family: Poppins !important;\n font-weight: 700;\n font-size: 18px;\n text-align: left !important;\n margin-bottom: 24px;\n color: #070e27;\n }\n\n img {\n max-width: 100%;\n height: auto !important;\n }\n\n a {\n font-weight: bold;\n color: ",";\n }\n\n p {\n iframe {\n width: 100%;\n height: 30vh;\n\n "," {\n height: 50vh;\n }\n }\n }\n\n em {\n font-family: Poppins, SF Pro Display, -apple-system, BlinkMacSystemFont,\n Roboto, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,\n Segoe UI Emoji, Segoe UI Symbol !important;\n font-size: 18px;\n font-style: normal;\n font-style: italic;\n }\n\n ul {\n margin-left: 20px;\n\n li,\n li > a {\n list-style-type: disc !important;\n font-family: Poppins, SF Pro Display, -apple-system, BlinkMacSystemFont,\n Roboto, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,\n Segoe UI Emoji, Segoe UI Symbol !important;\n font-weight: 400;\n font-size: 18px;\n margin-bottom: 24px;\n }\n }\n ol {\n margin-left: 20px;\n\n li,\n li > a,\n p,\n span {\n list-style-type: decimal !important;\n font-family: Poppins, SF Pro Display, -apple-system, BlinkMacSystemFont,\n Roboto, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,\n Segoe UI Emoji, Segoe UI Symbol !important;\n font-weight: 400;\n font-size: 18px;\n margin-bottom: 24px;\n }\n }\n"]);return ey=function(){return e},e}let{primaryMain:ew,blueDark:eF}=q,ej=V.ZP.div.withConfig({componentId:"sc-da198c84-0"})(ey(),eF,eF,eF,ew,e=>e.theme.breakpoints.up("md"));var eD=i(4127),eE=i.n(eD),eC=e=>{(0,t.useEffect)(()=>{let n=document.querySelector(e);n&&(n.innerHTML=n.innerHTML.replace(/\ /g,""))},[])},eT=e=>{let[n,i]=(0,t.useState)();return eC(e),(0,t.useEffect)(()=>{let n=document.querySelector(e);n&&i(n)},[]),[n]},eI=e=>{let{content:n,isB2B:i}=e,o=(0,em.x)(),[r,l]=(0,t.useState)(),[s,d]=(0,t.useState)(),[c]=eT("#get-lead-blog"),[m]=eT("#contact-us-b2c-banner"),[u]=eT("#demo-b2b-banner"),[f]=eT("#contact-us-higher-ed-banner"),[g]=eT("#newsletter-banner"),[v]=eT("#resources-ebook-banner"),[k]=eT("#resources-tools-banner"),[p]=eT("#resources-podcasts-banner"),h=ex(n);return t.useEffect(()=>{let e=document.querySelector(".resource-ad");if(null==e?void 0:e.id){l(e);let{id:n}=e;o.query({query:eE(),variables:{slug:n}}).then(e=>{var n,i;(null===(n=e.data)||void 0===n?void 0:n.resource)&&d(null===(i=e.data)||void 0===i?void 0:i.resource)})}},[]),(0,a.jsxs)(t.Fragment,{children:[(0,a.jsx)(ej,{dangerouslySetInnerHTML:{__html:h}}),c&&!i&&(0,a.jsx)(eu.kO,{source:eN,htmlNodeToMount:c}),m&&!i&&(0,a.jsx)(eu.EX,{source:eN,htmlNodeToMount:m}),u&&!i&&(0,a.jsx)(eu.ri,{source:eN,htmlNodeToMount:u}),f&&!i&&(0,a.jsx)(eu.x8,{source:eN,htmlNodeToMount:f}),g&&!i&&(0,a.jsx)(eu.IJ,{source:eN,htmlNodeToMount:g}),v&&!i&&(0,a.jsx)(eu.q5,{source:eN,htmlNodeToMount:v,type:"ebook"}),k&&!i&&(0,a.jsx)(ep,{source:eN,htmlNodeToMount:k}),p&&!i&&(0,a.jsx)(eu.q5,{source:eN,htmlNodeToMount:p,type:"podcast"}),s&&r&&(0,a.jsx)(eu.Qg,{source:eN,resource:s,htmlNodeToMount:r})]})},eV=e=>{let{categories:n,getUrlBy:i}=e,{t}=(0,w.$)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h4",{className:"font-subtitle3 mb-24",children:t("Explora otras categor\xedas")}),n.map(e=>(0,a.jsx)(d(),{href:i({page:"blog-category",categorySlug:e.slug}),className:"font-caption px-12 py-4 text-gray-main-dark-mode inline-block mr-16 mb-16",style:{borderRadius:40,backgroundColor:"#F0F2FF"},children:e.name},e.slug))]})},eA=e=>{let{category:n,getUrlBy:i}=e;return(0,a.jsxs)("div",{children:[(0,a.jsx)(d(),{href:i({page:"blog-home"}),className:"mr-4 tw-font-body5 text-base-main",children:"Home Blog"}),(0,a.jsxs)("span",{className:"tw-mx-0.4",children:["/"," "]}),(0,a.jsx)(d(),{href:i({page:"blog-category",categorySlug:n.slug}),className:"tw-font-body5 text-base-main",children:n.name}),(0,a.jsxs)("span",{className:"tw-mx-0.8",children:["/"," "]})]})},eB=e=>{let{article:n,featuredArticles:i,categories:r,languageCode:s}=e,{asPath:m,query:k}=(0,c.useRouter)(),{logEvent:S}=(0,f.Z)(),{isOpen:y,handleExitPopup:w}=(0,N.Z)(),F=e=>{let n="/blog";if("blog-home"===e.page)return n;if("blog-category"===e.page&&e.categorySlug)return"".concat(n,"/").concat(e.categorySlug,"/");throw Error("Problem trying to create a url for a blog section")};(0,t.useEffect)(()=>{S({event:"Render Blog Article",data:{...(0,g.Dp)(),article:n.slug}})},[m]);let j=(0,h.Z)(k),D={"@context":"https://schema.org","@type":"Article",headline:n.title,description:n.seo.metaDescription,author:{"@type":"Person",name:n.author.firstName+" "+n.author.lastName,url:n.url.absoluteUrl},image:"https://static.crehana.com/static/img/logo/logo-crehana.png",datePublished:n.modifiedDate,dateModified:n.modifiedDate,mainEntityOfPage:{"@type":"WebPage","@id":n.url.absoluteUrl}};return(0,a.jsxs)(a.Fragment,{children:[j&&(0,a.jsx)(u(),{src:"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4291819539856173",crossOrigin:"anonymous",strategy:"lazyOnload",id:"google-adsense"}),(0,a.jsx)(o.PB,{title:eS(n.seo.metaTitle),description:n.seo.metaDescription,canonical:"".concat((0,x.SV)()).concat(n.urlWithoutCountry.relativeUrl),openGraph:{type:"article",site_name:"https://www.crehana.com",title:eS(n.seo.metaTitle),description:n.seo.metaDescription,url:n.url.absoluteUrl,images:[{url:n.image.url,alt:eS(n.seo.metaTitle)}]},languageAlternates:[...p({alternates:n.seo.alternates.map(e=>e.hrefLang).filter(e=>e!==s),url:n.urlWithoutCountry.relativeUrl})],children:(0,a.jsx)(o.dX,{url:n.url.absoluteUrl,title:eS(n.seo.metaTitle)||n.title,description:n.seo.metaDescription,images:[n.image.url],datePublished:n.modifiedDate,authorName:n.author.firstName+" "+n.author.lastName,publisherLogo:"https://static.crehana.com/static/img/logo/logo-crehana.png",publisherName:"Crehana"})}),(0,a.jsx)(l(),{children:(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(D)}},"jsonld-blog-article")}),(0,a.jsxs)(v.W,{className:"tw-mt-1.6",children:[(0,a.jsxs)("main",{className:"tw-col-span-12 md:tw-col-span-10",children:[(0,a.jsx)(eA,{category:null==n?void 0:n.category,getUrlBy:F}),(0,a.jsx)(d(),{href:F({page:"blog-category",categorySlug:n.category.slug}),className:"tw-font-caption tw-text-neutral-dark-700 tw-bg-neutral-light-200 tw-px-1.6 tw-py-0.4 tw-inline-block tw-mt-2.4 md:tw-mt-4",style:{borderRadius:40,backgroundColor:"#F0F2FF"},children:n.category.name}),(0,a.jsx)(T,{article:n,languageCode:s}),(0,a.jsx)(ed,{rawIndex:n.index}),(0,a.jsx)("main",{className:"mt-40",children:(0,a.jsx)(eI,{content:n.content,isB2B:"empresas"===n.category.slug})})]}),(0,a.jsx)("aside",{className:"tw-col-span-12 md:tw-col-span-2",children:(0,a.jsx)(J,{article:{slug:n.slug,url:n.url.absoluteUrl,likeCount:n.likeCount}})}),(0,a.jsx)("aside",{className:"mt-72 tw-col-span-12 lg:tw-col-span-10 border-b border-neutral-dark-500 tw-pb-8",children:(0,a.jsx)(eV,{categories:r,getUrlBy:F})}),null!==i&&i.articles.length>0&&(0,a.jsx)("aside",{className:"tw-col-span-12 lg:tw-col-span-10 tw-pt-2.4 tw-pb-4",children:(0,a.jsx)(eo,{articles:i})})]}),(0,a.jsx)(b.Z,{isOpen:y,handleExitPopup:w})]})};i(50778),i(4687),i(60141),i(9467).Z;var eP=i(60929);let eU={"blog-post":{...eP.Z,CARD_TYPE_ARTICLE:"Articulo",RELATED_ARTICLES_SECTION_TITLE:"Tambi\xe9n podr\xeda interesarte"}};({...eU});var eZ=i(44570);let e_=e=>(0,a.jsx)(eB,{...e});e_.getLayout=function(e){return(0,a.jsx)(eZ.Z,{countryCode:e.props.countryCode,pageName:eN,layoutConfig:{hideResourcesDropdown:!0,hideDegreesDropdown:!0,hideB2BLandingLink:!0,hidePremiumLandingLink:!0,hideSearch:!0,hideShoppingCart:!0,hideCategories:!0,hideNewCourses:!0,hideAcademies:!0,hideMicroDegrees:!0,hideHelpCenterLink:!0,hideDesktopBlogLeftMenu:!0,hideDownloadableResouces:!1,hideBlogSearch:!1,hideSocialLinks:!1},children:e})};var eL=!0,eq=e_},22851:function(e,n,i){"use strict";i.d(n,{SV:function(){return a}});let a=()=>"https://www.crehana.com";i(57156)},28371:function(e,n){"use strict";n.Z=e=>{let n="/blog/".concat(e.category,"/").concat(e.slug);return[/^\/blog\/estilo-vida\/.*$/,/^\/blog\/negocios\/.*$/,/^\/blog\/trabajo-remoto\/.*$/,/^\/blog\/brasil\/.*$/,/^\/blog\/transformacion-digital\/(nombres-para-tik-tok|descargar-musica-de-spotify|escribir-negritas-facebook|ejemplos-de-personificacion|como-poner-acentos-laptop|cambiar-fuente-html|nombres-para-paginas-facebook|como-descargar-historias-facebook|plantillas-de-word|ecualizador-para-pc|tipos-de-computador|como-poner-temporizador-instagram|recuperar-cuenta-tiktok-bloqueada|ejemplos-codigos-java|donde-guardan-conversaciones-whatsapp|ventajas-de-word|que-es-variable-programacion|ver-autor-pagina-web|historia-de-la-computadora|historia-de-comunicacion-humana|correo-icloud|bots-telegram|memoria-ram-soporta-computador|nombres-instagram|mosaico-para-instagram|respuestas-automaticas|dinamicas-para-grupos-whatsapp|filtros-de-instagram|cuanto-gana-un-tiktoker|poner-fotos-historia-instagram|como-borrar-correo-enviado|como-montar-servidor-web|que-es-plaza-mercadotecnia\/pt|que-es-dm|como-crear-sonido-tiktok|medidas-de-tendencia-central|estatica-fisica|quitar-yahoo-de-google|como-poner-instagram-negro|ideas-concursos-instagram|filtros-de-snapchat|cambios-en-facebook|nombres-de-usuarios-roblox|que-es-y-para-que-se-usa-el-pensamiento-critico|tecnicas-recoleccion-de-datos|aplicaciones-para-videos-fotos|tecla-scroll-lock|laptop-nueva|falacias-en-la-publicidad|calendario-de-contenidos-redes-sociales|adobe-flash-player|instagram-reels-como-funciona|ventajas-y-desventajas-ubuntu|5-webs-para-crear-tu-primer-portafolio-profesional|asistentes-de-voz|como-usar-instagram|funcion-buscarv-en-excel|fotos-de-perfil-instagram|que-es-anydesk|funcionamiento-del-teclado|ejemplos-piramide-de-maslow)\/.*$/,/^\/blog\/clima-laboral\/(dinamicas-rompehielos|chistes-divertidos)\/.*$/,/^\/blog\/reclutamiento-contratacion\/(defectos-decir-entrevista-trabajo|expectativas-laborales-tips|que-responder-quien-eres|expectativas-laborales-tips)\/.*$/,/^\/blog\/comunidad-crehana\/(aplicacion-amigo-secreto|como-escribir-carta)\/.*$/,/^\/blog\/feedback\/tecnicas-de-comunicacion-asertiva\/.*$/,/^\/blog\/desempeno\/(frases-de-inteligencia-emocional|medir-trabajo-en-equipo)\/.*$/,/^\/blog\/upskilling-reskilling\/(como-saber-en-que-soy-bueno|como-trabajar-google|tecnicas-de-capacitacion-mas-efectivas|aspiraciones-personales)\/.*$/,/^\/blog\/fotografia\/presets-gratis-para-lightroom\/.*$/].some(e=>e.test(n))}},65973:function(e,n,i){"use strict";i.d(n,{bv:function(){return o},jB:function(){return t},zK:function(){return a}});let a="BlogHome",t="blog-home",o={type:"website",site_name:"https://www.crehana.com",image:{url:"https://static.crehana.com/static/img/logo/logo-crehana.6a48047513e0.png?url",alt:"Crehana blog"},title:"Blog Crehana: Future of People | Crehana Resources Hub",description:"Bienvenido a nuestro blog de gesti\xf3n de talento \xb7 Desempe\xf1o \xb7 Clima Laboral \xb7 Feedback \xb7 Pago de n\xf3mina \xb7 Transformaci\xf3n digital \xb7 Liderazgo de equipos"}}},function(e){e.O(0,[1639,9261,942,6592,6364,5232,4379,707,3600,5431,6868,4431,8008,7545,5746,9178,9774,2888,179],function(){return e(e.s=18310)}),_N_E=e.O()}]);