1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6120],{95759:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return n(82329)}])},6532:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var o=n(35944),i=n(67294),l=n(86886),a=n(57632);let r=i.lazy(()=>Promise.resolve().then(n.bind(n,71785)));var d=i.memo(function(e){let{ad:t}=e,[n,l]=(0,i.useState)((null==t?void 0:t.forceDivId)||(0,a.Z)()),d=!1!==t.showLoading,c=(0,i.useRef)(null);return(0,i.useEffect)(()=>{c.current&&(c.current.style.cssText=t.containerStyle)},[]),(0,o.tZ)("div",{className:"adContainer",ref:c,children:(0,o.tZ)(i.Suspense,{fallback:(0,o.tZ)("div",{style:{height:"100%",width:"100%"}}),children:(0,o.tZ)(r,{divId:n,containerStyle:t.containerStyle,continuousRefresh:t.continuousRefresh,containerHeight:t.containerHeight,containerWidth:t.containerWidth,refreshValue:t.refreshValue,containerSelector:t.containerSelector,showLoading:d,adUnitPath:t.slot,slotSize:t.slotSize||[t.width,t.height],router:t.router,targeting:t.targeting,index:t.index,totalGptDeploys:t.totalGptDeploys})})})}),c=n(69135);let u=n(30488);var s=i.memo(function(e){let{value:t,globalConfig:n,row:a}=e,[r,s]=(0,i.useState)(!1),v=null==n?void 0:n.settings,p=(0,c.useAmp)(),g=(0,i.useRef)(0);if((0,i.useEffect)(()=>{g.current++,n.isWidgetTemplate,n.isWidgetTemplate}),(0,i.useEffect)(()=>{if(s(!0),(null==t?void 0:t.adType)==="+Medios"){let e=window.sas||{};e.cmd=e.cmd||[],e.cmd.push(function(){e.render(t.renderId)})}},[]),!r)return(0,o.tZ)(o.HY,{});if(t.codeEditorContent){var m,h,f,w,y;t.codeEditorContent=null===(f=t.codeEditorContent)||void 0===f?void 0:null===(h=f.replace)||void 0===h?void 0:h.call(f,/{url}/g,"https://".concat(null==v?void 0:null===(m=v.tenant)||void 0===m?void 0:m.url).concat(a.slug)),t.codeEditorContent=null===(y=t.codeEditorContent)||void 0===y?void 0:null===(w=y.replace)||void 0===w?void 0:w.call(y,/{title}/g,a.title||a.name)}return(0,o.BX)(o.HY,{children:[(null==t?void 0:t.type)==="html"&&(0,o.tZ)("div",{style:{width:t.responsive?"100%":t.width||"100%",height:t.height||null},className:"widget-container",children:u(t.htmlContent)}),(null==t?void 0:t.type)==="ads"&&(0,o.BX)(l.ZP,{container:!0,justifyContent:"center",alignItems:"middle",style:{width:"100%",height:"auto"},children:[t.script&&t.scriptCode&&(0,o.tZ)("div",{style:{width:"100%"},children:u(t.scriptCode)}),!t.script&&"adManager"===t.adType&&!p&&(0,o.tZ)(d,{ad:t}),!t.script&&"adSense"===t.adType&&!p&&(0,o.tZ)("ins",{className:"adsbygoogle",style:{display:"inline-block",width:t.width,height:t.height},"data-ad-client":v.googleAdsense,"data-ad-slot":t.slot}),!t.script&&"amp"===t.adType&&p&&(0,o.tZ)("amp-ad",{width:t.width,height:t.height,type:"doubleclick","data-slot":t.slot})]}),(null==t?void 0:t.adType)==="+Medios"&&(0,o.tZ)(l.ZP,{container:!0,style:{width:"100%",zIndex:1},justifyContent:"center",alignItems:"middle",children:(0,o.tZ)(l.ZP,{item:!0,style:{width:t.responsive?"100%":t.width?t.width:"100%",height:t.height?t.height:null},id:t.divId})}),(null==t?void 0:t.type)==="codeEditor"&&(0,o.tZ)("div",{style:{width:"100%",height:"100%"},className:"widget-container",children:u(t.codeEditorContent)})]})})},82329:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return tZ},default:function(){return tx},runtime:function(){return tk}});var o=n(35944),i=n(423),l=n(12918),a=n.n(l),r=n(11163),d=n(67294),c=n(82191),u=n(30381),s=n.n(u),v=n(71258);function p(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,[i,l]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{if(null==e?void 0:e.current){let i=new IntersectionObserver(t=>{let[o]=t;o.isIntersecting?(l(o.isIntersecting),(null==e?void 0:e.current)&&n&&i.unobserve(e.current)):l(!1)},{rootMargin:t,threshold:o});return(null==e?void 0:e.current)&&e.current&&i.observe(e.current),()=>{(null==e?void 0:e.current)&&i.unobserve(e.current)}}},[]),i}var g=n(38943);function m(e){let t=(0,d.useRef)(),n=p(t,"0px",!0),i=(0,d.useRef)(0);(0,d.useEffect)(()=>{i.current++}
1),e.settings,e.template;let l=e.route;return e.browserProps,(0,d.useEffect)(()=>{n&&setTimeout(()=>{e.eventName&&e.analyticType&&(0,g.q)("".concat(e.analyticType,"_view"),{tenant_url:l.tenantUrl,event_category:"".concat(e.analyticType,"_view"),event_label:e.eventName,value:e.eventName})},1e3)},[n]),(0,o.tZ)("div",{style:{width:"100%",position:"absolute"},ref:t})}var h=n(24649),f=n(11463),w=n(58703),y=n(15568),C=n(68239),b=n(86886),Z=n(98456),k=n(81458),x=n(45697),T=n.n(x),S=n(42339),L=n(80129),N=n.n(L);let I=async(e,t)=>{let n=i.Z.backendUrl;t=N().stringify(t,{arrayFormat:"brackets",filter:(e,t)=>s().isMoment(t)||t instanceof Date?t.toISOString():t});let o="".concat(n).concat(e,"?").concat(t),l="Bearer ".concat(await (0,S.R)());return await fetch(o,{method:"GET",headers:{"Content-Type":"application/json",Authorization:l}})};async function R(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0;arguments.length>5&&arguments[5],console.log("calling to render-component");let l=await I("/tenant/".concat(i,"/web/render-component"),{slug:e,filter:t,tenantUrl:n,querySearch:o}),a=await l.json();return{rows:Array.isArray(a)&&a||[],count:(null==a?void 0:a.length)||0}}var O=(0,d.memo)(function(e){let{index:t,item:n,component:i,displayConfig:l,globalConfig:a,container:r}=e,c=(0,d.useRef)(),u=p(c,"0px",!0),s=(0,d.useRef)(0);(0,d.useEffect)(()=>{s.current++,a.isWidgetTemplate,a.isWidgetTemplate});let v=p((null==l?void 0:l.replaceUrl)?c:null,"0px",!1);return(0,d.useEffect)(()=>{var e;v&&((null==l?void 0:l.replaceUrl)||(null===(e=a.settings)||void 0===e?void 0:e.gaReplaceUrl))&&setTimeout(()=>{var e;window.history.replaceState({},n.title,n.slug),window.document.title=n.title,(null==l?void 0:l.pageView)||null===(e=a.settings)||void 0===e||e.gaPageView},1e3)},[v]),(0,d.useEffect)(()=>{var e,t,o,d,c,s;u&&((null==l?void 0:l.pageView)||null===(e=a.settings)||void 0===e||e.gaPageView),u&&(null==l?void 0:l.eventView)&&(0,g.q)("content_view",{tenant_url:null===(t=a.route)||void 0===t?void 0:t.tenantUrl,container_name:null==r?void 0:r.name,container_id:null==r?void 0:r.id,component_id:i.id,...(null==n?void 0:n.primaryAuthor)&&{author_id:null==n?void 0:null===(o=n.primaryAuthor)||void 0===o?void 0:o.id,author_url:null==n?void 0:null===(d=n.primaryAuthor)||void 0===d?void 0:d.slug,author_name:null==n?void 0:null===(c=n.primaryAuthor)||void 0===c?void 0:c.name},event_category:(null==l?void 0:l.eventCategory)||(null==n?void 0:null===(s=n.primaryCategory)||void 0===s?void 0:s.name),event_label:(null==l?void 0:l.eventName)||(null==n?void 0:n.title),value:null==n?void 0:n.slug})},[u]),(0,o.tZ)(b.ZP,{ref:c,item:!0,id:"row-component-".concat(null==n?void 0:n.slug),className:"row-component row-component-".concat(t," row-component-").concat(null==i?void 0:i.i),xl:!(null==l?void 0:l.autoColumns)&&((null==l?void 0:l.columnsLargeDesktop)||(null==l?void 0:l.columnsDesktop)||24),lg:!(null==l?void 0:l.autoColumns)&&((null==l?void 0:l.columnsDesktop)||24),md:!(null==l?void 0:l.autoColumns)&&((null==l?void 0:l.columnsTablet)||24),xs:!(null==l?void 0:l.autoColumns)&&((null==l?void 0:l.columnsMobile)||24),onClick:()=>{var e;(0,g.q)("content_click",{tenant_url:null===(e=a.route)||void 0===e?void 0:e.tenantUrl,event_category:"content_click",event_label:(null==l?void 0:l.eventName)||(null==n?void 0:n.title),value:(null==l?void 0:l.eventName)||(null==n?void 0:n.title)})},children:e.children},"row-component-"+t)}),q=n(5152),B=n.n(q),M=n(14957),z=n(43329),E=n(94054),P=n(33841),W=n(96703),H=n(85071),_=n(59334),D=n(11703),V=n(40044),U=n(67358),F=n(22797),A=n(38895),j=n(87357),X=n(11057),G=n(28553),Y=n(66242),K=n(87918),Q=n(67720),J=n(48885),$=n(18972),ee=n(72096),et=n(90629),en=n(44612),eo=n(61903),ei=n(15861),el=n(35142),ea=n(1653),er=n(48764).Buffer;let ed={L:2953,M:2331,Q:1663,H:1273},ec=["H","Q","M","L"];function eu(e,t){return("undefined"!=typeof TextEncoder?new TextEncoder().encode(e).length:er.from(e,"utf-8").length)<=ed[t]}function es(e){let{size:t=128,className:n,style:i}=e;return(0,o.BX)(j.Z,{role:"img","aria-label":"C\xf3digo QR no disponible",title:"El contenido es demasiado largo para generar un c\xf3digo QR",className:n,sx:{width:t,height:t,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:.5,border:"1px dashed",borderColor:"rgba(0,0,0,0.25)",color:"rgba(0,0,0,0.45)",backgroundColor:"#FAFAFA",textAlign:"center",boxSizing:"border-box",p:1,...i},children:[(0,o.tZ)(el.Z,{sx:{fontSize:Math.max(20,Math.min(40,.3*t))}}),(0,o.tZ)(j.Z,{component:"span",sx:{fontSize:11,lineHeight:1.3,fontWeight:500}
1,children:"QR no disponible"})]})}class ev extends d.Component{static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){"undefined"!=typeof console&&console.warn("SafeQRCode: QR render failed, showing fallback",null==e?void 0:e.message)}render(){return this.state.hasError?this.props.fallback:this.props.children}constructor(e){super(e),this.state={hasError:!1}}}function ep(e){let{value:t,level:n="H",size:i=128,className:l,style:a,ref:r,...d}=e,c="string"==typeof t?t:"";if(!c)return(0,o.tZ)(es,{size:i,className:l,style:a});let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"H";if(eu(e,t))return t;for(let t of ec)if(eu(e,t))return t;return null}(c,n);return null===u?(0,o.tZ)(es,{size:i,className:l,style:a}):(0,o.tZ)(ev,{fallback:(0,o.tZ)(es,{size:i,className:l,style:a}),children:(0,o.tZ)(ea.ZP,{value:c,level:u,size:i,className:l,style:a,...d})})}var eg=n(9008),em=n.n(eg);function eh(e){var t,n,i,l,a,r;let{imageRecord:d,styles:c,viewportContainer:u,colSizes:s,currentBreakpoint:p,widthImage:g,width:m,height:h,className:f,priority:w,onClick:y,type:C,componentTitle:b,componentImage:Z,avatarVariant:k,showOriginalPhoto:x=!1}=e;(null==c?void 0:c.objectFit)==="fill"&&(c.objectFit="cover"),w=!!w||u>70&&!!b;let T=(0,v.JV)(d.publicUrl),S=e=>(null==d?void 0:d.photoVersion)<=2?"-".concat(e):"-".concat(e,"-standard-q100"),L=(e=>{if("xs"===p){if(e<=50)return"small";if(e<=100)return"medium"}if("md"===p){if(e<=20)return"small";if(e<=70)return"medium";if(e<=100)return"large"}if("lg"===p){if(e<=15)return"small";if(e<=39)return"medium";if(e<=70)return"large";if(e<=100)return"extra-large"}return"medium"})(u),N=S(L);"medium"===L?S("small"):"large"===L&&S("medium");let I=[];if(I.push("".concat(T).concat(null==d?void 0:d.privatePhotoUrlWithoutExtension).concat(N,".webp")),null==d?void 0:d.photoExtension){if((null==d?void 0:d.photoExtension)&&I.push("".concat(T).concat(null==d?void 0:d.privatePhotoUrlWithoutExtension).concat(N,".").concat(null==d?void 0:d.photoExtension)),(null==d?void 0:d.photoExtension)==="svg")return(0,o.tZ)("object",{"aria-label":b,className:"".concat(f," object priority-").concat(w),type:"image/svg+xml",data:Z,style:c,children:(0,o.tZ)("img",{"aria-label":b,src:Z,alt:(null==d?void 0:d.name)||"Imagen",title:(null==d?void 0:d.name)||"Imagen",style:c,className:"".concat(f," svg img priority-").concat(w),loading:"eager",width:m,height:h,onClick:y})});if((null==d?void 0:d.photoExtension)==="gif")return(0,o.tZ)("img",{"aria-label":b,src:Z,alt:(null==d?void 0:d.name)||(null==d?void 0:d.name)||"Imagen",title:(null==d?void 0:d.name)||(null==d?void 0:d.name)||"Imagen",style:c,className:"".concat(f," gif img priority-").concat(w),loading:"eager",width:m,height:h,onClick:y});if(x){let e=null==d?void 0:null===(n=d.publicUrl)||void 0===n?void 0:null===(t=n.split("."))||void 0===t?void 0:t.pop(),o=null==d?void 0:null===(l=d.photoExtension)||void 0===l?void 0:null===(i=l.split("?"))||void 0===i?void 0:i.shift(),c=null==d?void 0:null===(r=d.photoExtension)||void 0===r?void 0:null===(a=r.split("?"))||void 0===a?void 0:a.pop();(null==e?void 0:e.toLowerCase())===(null==o?void 0:o.toLowerCase())&&e!==o&&(d.photoExtension="".concat(e,"?").concat(c))}return x?(0,o.tZ)("img",{"aria-label":b,src:"".concat(T).concat(null==d?void 0:d.privatePhotoUrlWithoutExtension,".").concat(null==d?void 0:d.photoExtension),alt:(null==d?void 0:d.name)||(null==d?void 0:d.name)||"Imagen",title:(null==d?void 0:d.name)||(null==d?void 0:d.name)||"Imagen",style:{...c},className:"".concat(f," original img priority-").concat(w),loading:"eager",width:m,height:h,onClick:y}):(0,o.BX)(o.HY,{children:[(0,o.BX)("picture",{children:[I.map((e,t)=>(0,o.tZ)("source",{srcSet:e,type:"image/".concat(e.split(".").pop()),sizes:"".concat(u,"vw")},t)),(0,o.tZ)("img",{"aria-label":b,src:"".concat(T).concat(null==d?void 0:d.privatePhotoUrlWithoutExtension).concat(N,".").concat(null==d?void 0:d.photoExtension),alt:(null==d?void 0:d.name)||(null==d?void 0:d.name)||"Imagen",title:(null==d?void 0:d.name)||(null==d?void 0:d.name)||"Imagen",style:c,className:"".concat(f," picture img priority-").concat(w),loading:"eager",width:m,height:h,onClick:y}
1)]}),w&&(0,o.tZ)(em(),{children:(0,o.tZ)("link",{rel:"preload",href:"".concat(T).concat(null==d?void 0:d.privatePhotoUrlWithoutExtension).concat(N,".").concat(null==d?void 0:d.photoExtension),as:"image"},"".concat(T).concat(null==d?void 0:d.privatePhotoUrlWithoutExtension).concat(N,".").concat(null==d?void 0:d.photoExtension))})]})}}var ef=n(42266);let ew=B()(()=>n.e(2004).then(n.bind(n,22004)),{loadableGenerated:{webpack:()=>[22004]},ssr:!1});function ey(e){let t;let n=e.mediaFile;if((0,r.useRouter)(),!n)return(0,o.tZ)(o.HY,{});let i=(0,ef.Co)(n),l=(0,ef.Zk)(n);if(n.isExternal){var a,d;t=null===(d=n.externalUrl)||void 0===d?void 0:null===(a=d.split("."))||void 0===a?void 0:a.pop()}else t="image"===n.type?n.photoExtension:n.fileExtension;return"audio"===n.type?(0,o.tZ)("audio",{className:"layerOne ".concat(e.type),controls:!0,style:{...e.styles},children:n.isExternal?(0,o.tZ)("source",{src:n.externalUrl}):(0,o.tZ)("source",{src:l})}):"image"===n.type?n.isExternal?"svg"===t?(0,o.tZ)("object",{onClick:()=>e.onClick&&e.onClick(),className:"layerOne ".concat(e.type),style:{...e.styles},type:"image/svg+xml",data:n.externalUrl}):(0,o.tZ)("img",{onClick:()=>e.onClick&&e.onClick(),src:n.externalUrl,alt:n.name,title:n.name||"Imagen",style:{...e.styles},className:"layerOne ".concat(e.type),loading:"eager",width:e.width,height:e.height}):(0,o.tZ)(o.HY,{children:(0,o.tZ)(eh,{imageRecord:n,showOriginalPhoto:e.showOriginalPhoto,styles:e.styles,colSizes:e.colSizes,currentBreakpoint:e.currentBreakpoint,viewportContainer:parseInt(e.viewportContainer),widthImage:e.widthComponent,onClick:e.onClick,type:e.type,componentTitle:e.componentTitle,componentImage:i,avatarVariant:e.avatarVariant,className:"layerOne",width:"100%",height:"100%",priority:e.avatarPriority})}):"video"===n.type?(0,o.tZ)(ew,{onClick:()=>e.onClick&&e.onClick(),className:"layerOne ".concat(e.type),controls:!!e.videoControls,playing:!!e.videoAutoPlay,light:i,volume:1,muted:!1,width:"100%",height:"100%",style:{...e.styles},url:n.isExternal?n.externalUrl:l}):"file"===n.type?(0,o.tZ)("object",{onClick:()=>e.onClick&&e.onClick(),className:"layerOne ".concat(e.type),data:n.isExternal?n.externalUrl:l,type:"application/".concat(t),style:{width:"100%",aspectRatio:"4/3",...e.styles},children:(0,o.BX)("p",{children:["Este navegador no puede mostrar PDFs."," ",(0,o.tZ)("a",{href:n.isExternal?n.externalUrl:l,download:!0,children:"Descargar el PDF"}),"."]})}):(0,o.tZ)(o.HY,{})}function eC(e){let t=t=>{let{bgStyle:n,borderRadius:i,iconFillColor:l,round:a,size:r,...d}=t;return(0,o.BX)("svg",{viewBox:"0 0 64 64",width:r,height:r,...d,children:[a?(0,o.tZ)("circle",{cx:"32",cy:"32",r:"31",fill:e.color,style:n}):(0,o.tZ)("rect",{width:"64",height:"64",rx:i,ry:i,fill:e.color,style:n}),(0,o.tZ)("path",{d:e.path,fill:l})]})};return t.defaultProps={bgStyle:{},borderRadius:0,iconFillColor:"white",size:64},t}eC({color:"#7f7f7f",networkName:"email",path:"M17,22v20h30V22H17z M41.1,25L32,32.1L22.9,25H41.1z M20,39V26.6l12,9.3l12-9.3V39H20z"});var eb=n(94184),eZ=n.n(eb);let ek=e=>!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then,ex=(e,t)=>({left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2}),eT=(e,t)=>({top:(window.screen.height-t)/2,left:(window.screen.width-e)/2});class eS extends d.Component{render(){let{beforeOnClick:e,children:t,className:n,disabled:i,disabledStyle:l,forwardedRef:a,networkLink:r,networkName:d,onShareWindowClose:c,openShareDialogOnClick:u,opts:s,resetButtonStyle:v,style:p,url:g,windowHeight:m,windowPosition:h,windowWidth:f,...w}=this.props,y=eZ()("react-share__ShareButton",{"react-share__ShareButton--disabled":!!i,disabled:!!i},n),C=v?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",cursor:"pointer",...p,...i&&l}:{...p,...i&&l};return(0,o.tZ)("span",{...w,"aria-label":w["aria-label"]||d,className:y,onClick:this.handleClick,ref:a,style:C,children:t})}constructor(...e){super(...e),this.openShareDialog=e=>{let{onShareWindowClose:t,windowHeight:n=400,windowPosition:o="windowCenter",windowWidth:i=550}=this.props;!function(e,t,n){let{height:o,width:i,...l}=t,a={height:o,width:i,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes",...l},r=window.open(e,"",Object.keys(a).map(e=>"".concat(e,"=").concat(a[e])).join(", "));if(n){let e=window.setInterval(()=>{try{(null===r||r.closed)&&(window.clearInterval(e),n(r))}catch(e){console.error(e)}},1e3)}}(e,{height:n,width:i,..."windowCenter"===o?ex(i,n):eT(i,n)},t)},this.handleClick=async e=>{let{beforeOnClick:t,disabled:n,networkLink:o,onClick:i,url:l,openShareDialogOnClick:a,opts:r}=this.props,d=o(l,r);
1if(!n){if(e.preventDefault(),t){let e=t();ek(e)&&await e}a&&this.openShareDialog(d),i&&i(e,d)}}}}eS.defaultProps={disabledStyle:{opacity:.6},openShareDialogOnClick:!0,resetButtonStyle:!0};var eL=function(e,t,n,i){function l(l,a){let r=n(l),d={...l};return Object.keys(r).forEach(e=>{delete d[e]}),(0,o.tZ)(eS,{...i,...d,forwardedRef:a,networkName:e,networkLink:t,opts:n(l)})}return l.displayName="ShareButton-".concat(e),(0,d.forwardRef)(l)};function eN(e){let t=Object.entries(e).filter(e=>{let[,t]=e;return null!=t}).map(e=>{let[t,n]=e;return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(n)))});return t.length>0?"?".concat(t.join("&")):""}eL("email",function(e,t){let{subject:n,body:o,separator:i}=t;return"mailto:"+eN({subject:n,body:o?o+i+e:e})},e=>({subject:e.subject,body:e.body,separator:e.separator||" "}),{openShareDialogOnClick:!1,onClick:(e,t)=>{window.location.href=t}}),eC({color:"#3b5998",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"}),eC({color:"#2196F3",networkName:"facebookmessenger",path:"M 53.066406 21.871094 C 52.667969 21.339844 51.941406 21.179688 51.359375 21.496094 L 37.492188 29.058594 L 28.867188 21.660156 C 28.339844 21.207031 27.550781 21.238281 27.054688 21.730469 L 11.058594 37.726562 C 10.539062 38.25 10.542969 39.09375 11.0625 39.613281 C 11.480469 40.027344 12.121094 40.121094 12.640625 39.839844 L 26.503906 32.28125 L 35.136719 39.679688 C 35.667969 40.132812 36.457031 40.101562 36.949219 39.609375 L 52.949219 23.613281 C 53.414062 23.140625 53.464844 22.398438 53.066406 21.871094 Z M 53.066406 21.871094"}),eL("facebookmessenger",function(e,t){let{appId:n,redirectUri:o,to:i}=t;return"https://www.facebook.com/dialog/send"+eN({link:e,redirect_uri:o||e,app_id:n,to:i})},e=>({appId:e.appId,redirectUri:e.redirectUri,to:e.to}),{windowWidth:1e3,windowHeight:820});class eI extends Error{constructor(e){super(e),this.name="AssertionError"}}function eR(e,t){if(!e)throw new eI(t)}let eO=eL("facebook",function(e,t){let{quote:n,hashtag:o}=t;return eR(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+eN({u:e,quote:n,hashtag:o})},e=>({quote:e.quote,hashtag:e.hashtag}),{windowWidth:550,windowHeight:400});var eq=n(70365),eB=n.n(eq);let eM=e=>e;class ez extends d.Component{componentDidMount(){this._isMounted=!0,this.updateCount(this.props.url)}componentDidUpdate(e){this.props.url!==e.url&&this.updateCount(this.props.url)}componentWillUnmount(){this._isMounted=!1}updateCount(e){this.setState({isLoading:!0}),this.props.getCount(e,e=>{this._isMounted&&this.setState({count:e,isLoading:!1})})}render(){let{count:e,isLoading:t}=this.state,{children:n=eM,className:i,getCount:l,...a}=this.props;return(0,o.tZ)("span",{className:eZ()("react-share__ShareCount",i),...a,children:!t&&void 0!==e&&n(e)})}constructor(e){super(e),this._isMounted=!1,this.state={count:0,isLoading:!1}}}function eE(e){let t=t=>(0,o.tZ)(ez,{getCount:e,...t});return t.displayName="ShareCount(".concat(e.name,")"),t}eE(function(e,t){eB()("https://graph.facebook.com/?id=".concat(e,"&fields=og_object{engagement}"),(e,n)=>{t(!e&&n&&n.og_object&&n.og_object.engagement?n.og_object.engagement.count:void 0)})}),eC({color:"#009ad9",networkName:"hatena",path:"M 36.164062 33.554688 C 34.988281 32.234375 33.347656 31.5 31.253906 31.34375 C 33.125 30.835938 34.476562 30.09375 35.335938 29.09375 C 36.191406 28.09375 36.609375 26.78125 36.609375 25.101562 C 36.628906 23.875 36.332031 22.660156 35.75 21.578125 C 35.160156 20.558594 34.292969 19.71875 33.253906 19.160156 C 32.304688 18.640625 31.175781 18.265625 29.847656 18.042969 C 28.523438 17.824219 26.195312 17.730469 22.867188 17.730469 L 14.769531 17.730469 L 14.769531 47.269531 L 23.113281 47.269531 C 26.46875 47.269531 28.886719 47.15625 30.367188 46.929688 C 31.851562 46.695312 33.085938 46.304688 34.085938 45.773438 C 35.289062 45.148438 36.28125 44.179688 36.933594 42.992188 C 37.597656 41.796875 37.933594 40.402344 37.933594 38.816406 C 37.933594 36.621094 37.347656 34.867188 36.164062 33.554688 Z M 22.257812 24.269531 L 23.984375 24.269531 C 25.988281 24.269531 27.332031 24.496094 28.015625 24.945312 C 28.703125 25.402344 29.042969 26.183594 29.042969 27.285156 C 29.042969 28.390625 28.664062 29.105469 27.9375 29.550781 C 27.210938 29.992188 25.84375 30.199219 23.855469 30.199219 L 22.257812 30.199219 Z M 29.121094 41.210938 C 28.328125 41.691406 26.976562 41.925781 25.078125 41.925781 L 22.257812 41.925781 L 22.257812 35.488281 L 25.195312 35.488281 C 27.144531 35.488281 28.496094 35.738281 29.210938 36.230469 C 29.925781 36.726562 30.304688 37.582031 30.304688 38.832031 C 30.304688 40.078125 29.914062 40.742188 29.105469 41.222656 Z M 29.121094 41.210938 M 46.488281 39.792969 C 44.421875 39.792969 42.742188 41.46875 42.742188 43.535156 C 42.742188 45.605469 44.421875 47.28125 46.488281 47.28125 C 48.554688 47.28125 50.230469 45.605469 50.230469 43.535156 C 50.230469 41.46875 48.554688 39.792969 46.488281 39.792969 Z M 46.488281 39.792969 M 43.238281 17.730469 L 49.738281 17.730469 L 49.738281 37.429688 L 43.238281 37.429688 Z M 43.238281 17.730469 "}),eL("hatena",function(e,t){let{title:n}=t;return eR(e,"hatena.url"),"http://b.hatena.ne.jp/add?mode=confirm&url=".concat(e,"&title=").concat(n)},e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"}),eE(function(e,t){eB()("https://bookmark.hatenaapis.com/count/entry"+eN({url:e}),(e,n)=>{t(n||void 0)})}),eC({color:"#1F1F1F",networkName:"instapaper",path:"M35.688 43.012c0 2.425.361 2.785 3.912 3.056V48H24.401v-1.932c3.555-.27 3.912-.63 3.912-3.056V20.944c0-2.379-.36-2.785-3.912-3.056V16H39.6v1.888c-3.55.27-3.912.675-3.912 3.056v22.068h.001z"}),eL("instapaper",function(e,t){let{title:n,description:o}=t;return eR(e,"instapaper.url"),"http://www.instapaper.com/hello2"+eN({url:e,title:n,description:o})},e=>
1({title:e.title,description:e.description}),{windowWidth:500,windowHeight:500,windowPosition:"windowCenter"}),eC({color:"#00b800",networkName:"line",path:"M52.62 30.138c0 3.693-1.432 7.019-4.42 10.296h.001c-4.326 4.979-14 11.044-16.201 11.972-2.2.927-1.876-.591-1.786-1.112l.294-1.765c.069-.527.142-1.343-.066-1.865-.232-.574-1.146-.872-1.817-1.016-9.909-1.31-17.245-8.238-17.245-16.51 0-9.226 9.251-16.733 20.62-16.733 11.37 0 20.62 7.507 20.62 16.733zM27.81 25.68h-1.446a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-8.985a.402.402 0 0 0-.402-.401zm9.956 0H36.32a.402.402 0 0 0-.402.401v5.338L31.8 25.858a.39.39 0 0 0-.031-.04l-.002-.003-.024-.025-.008-.007a.313.313 0 0 0-.032-.026.255.255 0 0 1-.021-.014l-.012-.007-.021-.012-.013-.006-.023-.01-.013-.005-.024-.008-.014-.003-.023-.005-.017-.002-.021-.003-.021-.002h-1.46a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-5.337l4.123 5.568c.028.04.063.072.101.099l.004.003a.236.236 0 0 0 .025.015l.012.006.019.01a.154.154 0 0 1 .019.008l.012.004.028.01.005.001a.442.442 0 0 0 .104.013h1.446a.4.4 0 0 0 .401-.4v-8.985a.402.402 0 0 0-.401-.401zm-13.442 7.537h-3.93v-7.136a.401.401 0 0 0-.401-.401h-1.447a.4.4 0 0 0-.401.401v8.984a.392.392 0 0 0 .123.29c.072.068.17.111.278.111h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401zm21.429-5.287c.222 0 .401-.18.401-.402v-1.446a.401.401 0 0 0-.401-.402h-5.778a.398.398 0 0 0-.279.113l-.005.004-.006.008a.397.397 0 0 0-.111.276v8.984c0 .108.043.206.112.278l.005.006a.401.401 0 0 0 .284.117h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401h-3.93v-1.519h3.93c.222 0 .401-.18.401-.402V29.85a.401.401 0 0 0-.401-.402h-3.93V27.93h3.93z"}),eL("line",function(e,t){let{title:n}=t;return eR(e,"line.url"),"https://social-plugins.line.me/lineit/share"+eN({url:e,text:n})},e=>({title:e.title}),{windowWidth:500,windowHeight:500}),eC({color:"#007fb1",networkName:"linkedin",path:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"});let eP=eL("linkedin",function(e,t){let{title:n,summary:o,source:i}=t;return eR(e,"linkedin.url"),"https://linkedin.com/shareArticle"+eN({url:e,mini:"true",title:n,summary:o,source:i})},e=>{let{title:t,summary:n,source:o}=e;return{title:t,summary:n,source:o}},{windowWidth:750,windowHeight:600});eC({color:"#21A5D8",networkName:"livejournal",path:"M18.3407821,28.1764706 L21.9441341,31.789916 L33.0055865,42.882353 C33.0055865,42.882353 33.0893855,42.9663866 33.0893855,42.9663866 L46.6648046,47 C46.6648046,47 46.6648046,47 46.7486034,47 C46.8324022,47 46.8324022,47 46.9162012,46.9159664 C47,46.8319327 47,46.8319327 47,46.7478991 L42.9776536,33.1344537 C42.9776536,33.1344537 42.9776536,33.1344537 42.8938548,33.0504202 L31.1620111,21.3697479 L31.1620111,21.3697479 L28.1452514,18.2605042 C27.3072626,17.4201681 26.5530726,17 25.7150838,17 C24.2905028,17 23.0335195,18.3445378 21.5251397,19.8571429 C21.273743,20.1092437 20.9385475,20.4453781 20.6871508,20.697479 C20.3519553,21.0336134 20.1005586,21.2857143 19.849162,21.5378151 C18.3407821,22.9663866 17.0837989,24.2268908 17,25.7394958 C17.0837989,26.4957983 17.5027933,27.3361345 18.3407821,28.1764706 Z M39.9012319,39.6134454 C39.7336341,39.4453781 39.4822374,37.6806724 40.2364275,36.8403362 C40.9906174,36.0840337 41.6610084,36 42.1638017,36 C42.3313995,36 42.4989973,36 42.5827961,36 L44.8453659,43.5630253 L43.5883828,44.8235295 L36.0464833,42.5546218 C35.9626843,42.2184874 35.8788855,41.2100841 36.8844722,40.2016807 C37.2196676,39.8655463 37.8900587,39.6134454 38.5604498,39.6134454 C39.147042,39.6134454 39.5660364,39.7815126 39.5660364,39.7815126 C39.6498353,39.8655463 39.8174331,39.8655463 39.8174331,39.7815126 C39.9850307,39.7815126 39.9850307,39.697479 39.9012319,39.6134454 Z"}),eL("livejournal",function(e,t){let{title:n,description:o}=t;return eR(e,"livejournal.url"),"https://www.livejournal.com/update.bml"+eN({subject:n,event:o})},e=>
1({title:e.title,description:e.description}),{windowWidth:660,windowHeight:460}),eC({color:"#168DE2",networkName:"mailru",path:"M39.7107745,17 C41.6619755,17 43.3204965,18.732852 43.3204965,21.0072202 C43.3204965,23.2815885 41.7595357,25.0144404 39.7107745,25.0144404 C37.7595732,25.0144404 36.1010522,23.2815885 36.1010522,21.0072202 C36.1010522,18.732852 37.7595732,17 39.7107745,17 Z M24.3938451,17 C26.3450463,17 28.0035672,18.732852 28.0035672,21.0072202 C28.0035672,23.2815885 26.4426063,25.0144404 24.3938451,25.0144404 C22.4426439,25.0144404 20.7841229,23.2815885 20.7841229,21.0072202 C20.7841229,18.732852 22.4426439,17 24.3938451,17 Z M51.9057817,43.4259928 C51.7106617,44.0758123 51.4179815,44.6173285 50.9301812,44.9422383 C50.637501,45.1588448 50.2472607,45.267148 49.8570205,45.267148 C49.07654,45.267148 48.3936197,44.833935 48.0033795,44.0758123 L46.2472985,40.7184115 L45.759498,41.2599278 C42.5400162,44.9422383 37.466893,47 32.0035297,47 C26.5401664,47 21.5646034,44.9422383 18.2475614,41.2599278 L17.7597611,40.7184115 L16.00368,44.0758123 C15.6134398,44.833935 14.9305194,45.267148 14.1500389,45.267148 C13.7597986,45.267148 13.3695584,45.1588448 13.0768782,44.9422383 C12.0037176,44.2924187 11.7110374,42.7761733 12.2963978,41.5848375 L16.7841605,33.0288807 C17.1744007,32.270758 17.8573211,31.8375453 18.6378016,31.8375453 C19.0280418,31.8375453 19.4182821,31.9458485 19.7109623,32.1624548 C20.7841229,32.8122743 21.0768031,34.3285197 20.4914427,35.5198555 L20.1012025,36.2779783 L20.2963226,36.602888 C22.4426439,39.9602888 27.0279667,42.234657 31.9059697,42.234657 C36.7839727,42.234657 41.3692955,40.068592 43.5156167,36.602888 L43.7107367,36.2779783 L43.3204965,35.6281587 C43.0278165,35.0866425 42.9302562,34.436823 43.1253765,33.7870035 C43.3204965,33.137184 43.6131767,32.5956678 44.100977,32.270758 C44.3936572,32.0541515 44.7838975,31.9458485 45.1741377,31.9458485 C45.9546182,31.9458485 46.6375385,32.3790613 47.0277787,33.137184 L51.5155415,41.6931408 C52.003342,42.234657 52.100902,42.8844765 51.9057817,43.4259928 Z"}),eL("mailru",function(e,t){let{title:n,description:o,imageUrl:i}=t;return eR(e,"mailru.url"),"https://connect.mail.ru/share"+eN({url:e,title:n,description:o,image_url:i})},e=>({title:e.title,description:e.description,imageUrl:e.imageUrl}),{windowWidth:660,windowHeight:460}),eC({color:"#f2720c",networkName:"ok",path:"M39,30c-1,0-3,2-7,2s-6-2-7-2c-1.1,0-2,0.9-2,2c0,1,0.6,1.5,1,1.7c1.2,0.7,5,2.3,5,2.3l-4.3,5.4 c0,0-0.8,0.9-0.8,1.6c0,1.1,0.9,2,2,2c1,0,1.5-0.7,1.5-0.7S32,39,32,39c0,0,4.5,5.3,4.5,5.3S37,45,38,45c1.1,0,2-0.9,2-2 c0-0.6-0.8-1.6-0.8-1.6L35,36c0,0,3.8-1.6,5-2.3c0.4-0.3,1-0.7,1-1.7C41,30.9,40.1,30,39,30z M32,15c-3.9,0-7,3.1-7,7s3.1,7,7,7c3.9,0,7-3.1,7-7S35.9,15,32,15z M32,25.5 c-1.9,0-3.5-1.6-3.5-3.5c0-1.9,1.6-3.5,3.5-3.5c1.9,0,3.5,1.6,3.5,3.5C35.5,23.9,33.9,22.5,35,22.5z "}),eL("ok",function(e,t){let{title:n,description:o,image:i}=t;return eR(e,"ok.url"),"https://connect.ok.ru/offer"+eN({url:e,title:n,description:o,imageUrl:i})},e=>({title:e.title,description:e.description,image:e.image}),{windowWidth:588,windowHeight:480,windowPosition:"screenCenter"}),eE(function(e,t){window.OK||(window.OK={Share:{count:function(e,t){window.OK.callbacks[e](t)}},callbacks:[]});let n=window.OK.callbacks.length;return window.ODKL={updateCount(e,t){let n=""===e?0:parseInt(e.replace("react-share-",""),10);window.OK.callbacks[n](""===t?void 0:parseInt(t,10))}},window.OK.callbacks.push(t),eB()("https://connect.ok.ru/dk"+eN({"st.cmd":"extLike",uid:"react-share-".concat(n),ref:e}))}),eC({color:"#cb2128",networkName:"pinterest",path:"M32,16c-8.8,0-16,7.2-16,16c0,6.6,3.9,12.2,9.6,14.7c0-1.1,0-2.5,0.3-3.7 c0.3-1.3,2.1-8.7,2.1-8.7s-0.5-1-0.5-2.5c0-2.4,1.4-4.1,3.1-4.1c1.5,0,2.2,1.1,2.2,2.4c0,1.5-0.9,3.7-1.4,5.7 c-0.4,1.7,0.9,3.1,2.5,3.1c3,0,5.1-3.9,5.1-8.5c0-3.5-2.4-6.1-6.7-6.1c-4.9,0-7.9,3.6-7.9,7.7c0,1.4,0.4,2.4,1.1,3.1 c0.3,0.3,0.3,0.5,0.2,0.9c-0.1,0.3-0.3,1-0.3,1.3c-0.1,0.4-0.4,0.6-0.8,0.4c-2.2-0.9-3.3-3.4-3.3-6.1c0-4.5,3.8-10,11.4-10 c6.1,0,10.1,4.4,10.1,9.2c0,6.3-3.5,11-8.6,11c-1.7,0-3.4-0.9-3.9-2c0,0-0.9,3.7-1.1,4.4c-0.3,1.2-1,2.5-1.6,3.4 c1.4,0.4,3,0.7,4.5,0.7c8.8,0,16-7.2,16-16C48,23.2,40.8,16,32,16z"}),eL("pinterest",function(e,t){let{media:n,description:o}=t;return eR(e,"pinterest.url"),eR(n,"pinterest.media"),"https://pinterest.com/pin/create/button/"+eN({url:e,media:n,description:o})},e=>({media:e.media,description:e.description}),{windowWidth:1e3,windowHeight:730}),eE(function(e,t){eB()("https://api.pinterest.com/v1/urls/count.json"+eN({url:e}),(e,n)=>{t(n?n.count:void 0)})}),eC({color:"#EF3F56",networkName:"pocket",path:"M41.084 29.065l-7.528 7.882a2.104 2.104 0 0 1-1.521.666 2.106 2.106 0 0 1-1.522-.666l-7.528-7.882c-.876-.914-.902-2.43-.065-3.384.84-.955 2.228-.987 3.1-.072l6.015 6.286 6.022-6.286c.88-.918 2.263-.883 3.102.071.841.938.82 2.465-.06 3.383l-.015.002zm6.777-10.976C47.463 16.84 46.361 16 45.14 16H18.905c-1.2 0-2.289.82-2.716 2.044-.125.363-.189.743-.189 1.125v10.539l.112 2.096c.464 4.766 2.73 8.933 6.243 11.838.06.053.125.102.19.153l.04.033c1.882 1.499 3.986 2.514 6.259 3.014a14.662 14.662 0 0 0 6.13.052c.118-.042.235-.065.353-.087.03 0 .065-.022.098-.042a15.395 15.395 0 0 0 6.011-2.945l.039-.045.18-.153c3.502-2.902 5.765-7.072 6.248-11.852L48 29.674v-10.52c0-.366-.041-.728-.161-1.08l.022.015z"}),eL("pocket",function(e,t){let{title:n}=t;return eR(e,"pocket.url"),"https://getpocket.com/save"+eN({url:e,title:n})},e=>({title:e.title}),{windowWidth:500,windowHeight:500}),eC({color:"#ff4500",networkName:"reddit",path:"m 52.8165,31.942362 c 0,-2.4803 -2.0264,-4.4965 -4.5169,-4.4965 -1.2155,0 -2.3171,0.4862 -3.128,1.2682 -3.077,-2.0247 -7.2403,-3.3133 -11.8507,-3.4782 l 2.5211,-7.9373 6.8272,1.5997 -0.0102,0.0986 c 0,2.0281 1.6575,3.6771 3.6958,3.6771 2.0366,0 3.6924,-1.649 3.6924,-3.6771 0,-2.0281 -1.6575,-3.6788 -3.6924,-3.6788 -1.564,0 -2.8968,0.9758 -3.4357,2.3443 l -7.3593,-1.7255 c -0.3213,-0.0782 -0.6477,0.1071 -0.748,0.4233 L 32,25.212062 c -4.8246,0.0578 -9.1953,1.3566 -12.41,3.4425 -0.8058,-0.7446 -1.8751,-1.2104 -3.0583,-1.2104 -2.4905,0 -4.5152,2.0179 -4.5152,4.4982 0,1.649 0.9061,3.0787 2.2389,3.8607 -0.0884,0.4794 -0.1462,0.9639 -0.1462,1.4569 0,6.6487 8.1736,12.0581 18.2223,12.0581 10.0487,0 18.224,-5.4094 18.224,-12.0581 0,-0.4658 -0.0493,-0.9248 -0.1275,-1.377 1.4144,-0.7599 2.3885,-2.2304 2.3885,-3.9406 z m -29.2808,3.0872 c 0,-1.4756 1.207,-2.6775 2.6894,-2.6775 1.4824,0 2.6877,1.2019 2.6877,2.6775 0,1.4756 -1.2053,2.6758 -2.6877,2.6758 -1.4824,0 -2.6894,-1.2002 -2.6894,-2.6758 z m 15.4037,7.9373 c -1.3549,1.3481 -3.4816,2.0043 -6.5008,2.0043 l -0.0221,-0.0051 -0.0221,0.0051 c -3.0209,0 -5.1476,-0.6562 -6.5008,-2.0043 -0.2465,-0.2448 -0.2465,-0.6443 0,-0.8891 0.2465,-0.2465 0.6477,-0.2465 0.8942,0 1.105,1.0999 2.9393,1.6337 5.6066,1.6337 l 0.0221,0.0051 0.0221,-0.0051 c 2.6673,0 4.5016,-0.5355 5.6066,-1.6354 0.2465,-0.2465 0.6477,-0.2448 0.8942,0 0.2465,0.2465 0.2465,0.6443 0,0.8908 z m -0.3213,-5.2615 c -1.4824,0 -2.6877,-1.2002 -2.6877,-2.6758 0,-1.4756 1.2053,-2.6775 2.6877,-2.6775 1.4824,0 2.6877,1.2019 2.6877,2.6775 0,1.4756 -1.2053,2.6758 -2.6877,2.6758 z"}),eL("reddit",function(e,t){let{title:n}=t;return eR(e,"reddit.url"),"https://www.reddit.com/submit"+eN({url:e,title:n})},e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"}),eE(function(e,t){eB()("https://www.reddit.com/api/info.json?limit=1&url=".concat(e),{param:"jsonp"},(e,n)=>{t(!e&&n&&n.data&&n.data.children.length>0&&n.data.children[0].data.score?n.data.children[0].data.score:void 0)})}),eC({color:"#37aee2",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788
1c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});let eW=eL("telegram",function(e,t){let{title:n}=t;return eR(e,"telegram.url"),"https://telegram.me/share/url"+eN({url:e,text:n})},e=>({title:e.title}),{windowWidth:550,windowHeight:400});eC({color:"#2c4762",networkName:"tumblr",path:"M39.2,41c-0.6,0.3-1.6,0.5-2.4,0.5c-2.4,0.1-2.9-1.7-2.9-3v-9.3h6v-4.5h-6V17c0,0-4.3,0-4.4,0 c-0.1,0-0.2,0.1-0.2,0.2c-0.3,2.3-1.4,6.4-5.9,8.1v3.9h3V39c0,3.4,2.5,8.1,9,8c2.2,0,4.7-1,5.2-1.8L39.2,41z"});let eH=eL("tumblr",function(e,t){let{title:n,caption:o,tags:i,posttype:l}=t;return eR(e,"tumblr.url"),"https://www.tumblr.com/widgets/share/tool"+eN({canonicalUrl:e,title:n,caption:o,tags:i,posttype:l})},e=>({title:e.title,tags:(e.tags||[]).join(","),caption:e.caption,posttype:e.posttype||"link"}),{windowWidth:660,windowHeight:460});eE(function(e,t){return eB()("https://api.tumblr.com/v2/share/stats"+eN({url:e}),(e,n)=>{t(!e&&n&&n.response?n.response.note_count:void 0)})}),eC({color:"#00aced",networkName:"twitter",path:"M48,22.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6 C41.7,19.8,40,19,38.2,19c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3 c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1 c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7 c0-0.3,0-0.6,0-0.8C46,24.5,47.1,23.4,48,22.1z"});let e_=eL("twitter",function(e,t){let{title:n,via:o,hashtags:i=[],related:l=[]}=t;
1return eR(e,"twitter.url"),eR(Array.isArray(i),"twitter.hashtags is not an array"),eR(Array.isArray(l),"twitter.related is not an array"),"https://twitter.com/share"+eN({url:e,text:n,via:o,hashtags:i.length>0?i.join(","):void 0,related:l.length>0?l.join(","):void 0})},e=>({hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}),{windowWidth:550,windowHeight:400});eC({color:"#7C529E",networkName:"viber",path:"m31.0,12.3c9.0,0.2 16.4,6.2 18.0,15.2c0.2,1.5 0.3,3.0 0.4,4.6a1.0,1.0 0 0 1 -0.8,1.2l-0.1,0a1.1,1.1 0 0 1 -1.0,-1.2l0,0c-0.0,-1.2 -0.1,-2.5 -0.3,-3.8a16.1,16.1 0 0 0 -13.0,-13.5c-1.0,-0.1 -2.0,-0.2 -3.0,-0.3c-0.6,-0.0 -1.4,-0.1 -1.6,-0.8a1.1,1.1 0 0 1 0.9,-1.2l0.6,0l0.0,-0.0zm10.6,39.2a19.9,19.9 0 0 1 -2.1,-0.6c-6.9,-2.9 -13.2,-6.6 -18.3,-12.2a47.5,47.5 0 0 1 -7.0,-10.7c-0.8,-1.8 -1.6,-3.7 -2.4,-5.6c-0.6,-1.7 0.3,-3.4 1.4,-4.7a11.3,11.3 0 0 1 3.7,-2.8a2.4,2.4 0 0 1 3.0,0.7a39.0,39.0 0 0 1 4.7,6.5a3.1,3.1 0 0 1 -0.8,4.2c-0.3,0.2 -0.6,0.5 -1.0,0.8a3.3,3.3 0 0 0 -0.7,0.7a2.1,2.1 0 0 0 -0.1,1.9c1.7,4.9 4.7,8.7 9.7,10.8a5.0,5.0 0 0 0 2.5,0.6c1.5,-0.1 2.0,-1.8 3.1,-2.7a2.9,2.9 0 0 1 3.5,-0.1c1.1,0.7 2.2,1.4 3.3,2.2a37.8,37.8 0 0 1 3.1,2.4a2.4,2.4 0 0 1 0.7,3.0a10.4,10.4 0 0 1 -4.4,4.8a10.8,10.8 0 0 1 -1.9,0.6c-0.7,-0.2 0.6,-0.2 0,0l0.0,0l0,-0.0zm3.1,-21.4a4.2,4.2 0 0 1 -0.0,0.6a1.0,1.0 0 0 1 -1.9,0.1a2.7,2.7 0 0 1 -0.1,-0.8a10.9,10.9 0 0 0 -1.4,-5.5a10.2,10.2 0 0 0 -4.2,-4.0a12.3,12.3 0 0 0 -3.4,-1.0c-0.5,-0.0 -1.0,-0.1 -1.5,-0.2a0.9,0.9 0 0 1 -0.9,-1.0l0,-0.1a0.9,0.9 0 0 1 0.9,-0.9l0.1,0a14.1,14.1 0 0 1 5.9,1.5a11.9,11.9 0 0 1 6.5,9.3c0,0.1 0.0,0.3 0.0,0.5c0,0.4 0.0,0.9 0.0,1.5l0,0l0.0,0.0zm-5.6,-0.2a1.1,1.1 0 0 1 -1.2,-0.9l0,-0.1a11.3,11.3 0 0 0 -0.2,-1.4a4.0,4.0 0 0 0 -1.5,-2.3a3.9,3.9 0 0 0 -1.2,-0.5c-0.5,-0.1 -1.1,-0.1 -1.6,-0.2a1.0,1.0 0 0 1 -0.8,-1.1l0,0l0,0a1.0,1.0 0 0 1 1.1,-0.8c3.4,0.2 6.0,2.0 6.3,6.2a2.8,2.8 0 0 1 0,0.8a0.8,0.8 0 0 1 -0.8,0.7l0,0l0.0,-0.0z"}),eL("viber",function(e,t){let{title:n,separator:o}=t;return eR(e,"viber.url"),"viber://forward"+eN({text:n?n+o+e:e})},e=>({title:e.title,separator:e.separator||" "}),{windowWidth:660,windowHeight:460}),eC({color:"#45668e",networkName:"vk",path:"M44.94,44.84h-0.2c-2.17-.36-3.66-1.92-4.92-3.37C39.1,40.66,38,38.81,36.7,39c-1.85.3-.93,3.52-1.71,4.9-0.62,1.11-3.29.91-5.12,0.71-5.79-.62-8.75-3.77-11.35-7.14A64.13,64.13,0,0,1,11.6,26a10.59,10.59,0,0,1-1.51-4.49C11,20.7,12.56,21,14.11,21c1.31,0,3.36-.29,4.32.2C19,21.46,19.57,23,20,24a37.18,37.18,0,0,0,3.31,5.82c0.56,0.81,1.41,2.35,2.41,2.14s1.06-2.63,1.1-4.18c0-1.77,0-4-.5-4.9S25,22,24.15,21.47c0.73-1.49,2.72-1.63,5.12-1.63,2,0,4.84-.23,5.62,1.12s0.25,3.85.2,5.71c-0.06,2.09-.41,4.25,1,5.21,1.09-.12,1.68-1.2,2.31-2A28,28,0,0,0,41.72,24c0.44-1,.91-2.65,1.71-3,1.21-.47,3.15-0.1,4.92-0.1,1.46,0,4.05-.41,4.52.61,0.39,0.85-.75,3-1.1,3.57a61.88,61.88,0,0,1-4.12,5.61c-0.58.78-1.78,2-1.71,3.27,0.05,0.94,1,1.67,1.71,2.35a33.12,33.12,0,0,1,3.92,4.18c0.47,0.62,1.5,2,1.4,2.76C52.66,45.81,46.88,44.24,44.94,44.84Z"}),eL("vk",function(e,t){let{title:n,image:o,noParse:i,noVkLinks:l}=t;return eR(e,"vk.url"),"https://vk.com/share.php"+eN({url:e,title:n,image:o,noparse:i?1:0,no_vk_links:l?1:0})},e=>({title:e.title,image:e.image,noParse:e.noParse,noVkLinks:e.noVkLinks}),{windowWidth:660,windowHeight:460}),eE(function(e,t){window.VK||(window.VK={}),window.VK.Share={count:(e,t)=>window.VK.callbacks[e](t)},window.VK.callbacks=[];let n=window.VK.callbacks.length;return window.VK.callbacks.push(t),eB()("https://vk.com/share.php"+eN({act:"count",index:n,url:e}))}),eC({color:"#CD201F",networkName:"weibo",path:"M40.9756152,15.0217119 C40.5000732,15.0546301 39.9999314,15.1204666 39.5325878,15.2192213 C38.6634928,15.4085016 38.0977589,16.2643757 38.2863368,17.1284787 C38.4667163,18.0008129 39.3194143,18.5686519 40.1885094,18.3793715 C42.8613908,17.8115326 45.7720411,18.6427174 47.7316073,20.8153207 C49.6911735,22.996153 50.2077122,25.975254 49.3714112,28.5840234 C49.1008441,29.4316684 49.5763861,30.3533789 50.4208857,30.6249537 C51.2653852,30.8965286 52.1754769,30.4192153 52.4542425,29.5715703 C53.6349013,25.9011885 52.9133876,21.7699494 50.1585171,18.7085538 C48.0923641,16.4042776 45.2063093,15.1533848 42.3530505,15.0217119 C41.8775084,14.9970227 41.4511594,14.9887937 40.9756152,15.0217119 Z M27.9227762,19.8277737 C24.9957268,20.140498 20.863421,22.4365431 17.2312548,26.0822378 C13.2711279,30.0571148 11,34.2871065 11,37.9328012 C11,44.9032373 19.8713401,49.125 28.5786978,49.125 C39.9917329,49.125 47.600423,42.4261409 47.600423,37.1427636 C47.600423,33.9496952 44.9603397,32.1638816 42.549827,31.4149913 C41.9594976,31.2339421 41.5167516,31.1434164 41.8283133,30.3616079 C42.5006339,28.66632 42.62361
176,27.1932286 41.8939054,26.1480742 C40.5328692,24.1894405 36.7203236,24.2881952 32.448635,26.0822378 C32.448635,26.0822378 31.1203949,26.6912261 31.4647526,25.6213825 C32.1206742,23.4981576 32.0304845,21.712342 31.0056075,20.6836478 C30.2840938,19.9512176 29.2510184,19.6878718 27.9227762,19.8277737 Z M42.0906819,20.6836478 C41.6233383,20.6589586 41.1723917,20.716566 40.7132466,20.8153207 C39.9671353,20.9716828 39.4997917,21.7781784 39.6637721,22.5270687 C39.8277525,23.275959 40.5574647,23.7450433 41.303576,23.5804521 C42.1972686,23.3911718 43.2057485,23.6380596 43.8616701,24.3704897 C44.5175916,25.1029198 44.6733735,26.0657797 44.3864073,26.9381118 C44.1486363,27.6705419 44.5093932,28.4770397 45.2391054,28.7156963 C45.9688176,28.9461239 46.780521,28.5922524 47.0100936,27.8598223 C47.584026,26.0740087 47.2396661,24.0248493 45.8950269,22.5270687 C44.886547,21.4078489 43.4845162,20.7494842 42.0906819,20.6836478 Z M29.496988,29.9665891 C35.3100922,30.1723275 39.9917329,33.0691319 40.3852858,37.0769272 C40.8362324,41.6607904 35.5970585,45.9319315 28.6442899,46.6232144 C21.6915214,47.3144973 15.6488446,44.154347 15.197898,39.5787128 C14.7469514,34.9948495 20.059916,30.7237084 27.004486,30.0324256 C27.8735831,29.950131 28.6688875,29.9336709 29.496988,29.9665891 Z M25.5614586,34.3776322 C23.183744,34.5916017 20.9372116,35.9577073 19.9205332,37.9328012 C18.5348994,40.6238672 19.9041362,43.6029661 23.0689567,44.582284 C26.340366,45.5945202 30.1857056,44.0638213 31.5303448,41.1587879 C32.8503864,38.3195909 31.1613894,35.3734082 27.9227762,34.5751416 C27.1438688,34.3776322 26.356763,34.3035667 25.5614586,34.3776322 Z M24.052839,38.7228388 C24.3316067,38.7310678 24.5857748,38.8215935 24.8399449,38.9203482 C25.8648218,39.3400561 26.1845841,40.4428158 25.5614586,41.4221338 C24.9219361,42.3932227 23.5690963,42.8623069 22.5442194,42.4096807 C21.5357395,41.9652856 21.2487754,40.8542948 21.8882979,39.9078951 C22.3638421,39.2001542 23.2247386,38.7146097 24.052839,38.7228388 Z"}),eL("weibo",function(e,t){let{title:n,image:o}=t;return eR(e,"weibo.url"),"http://service.weibo.com/share/share.php"+eN({url:e,title:n,pic:o})},e=>({title:e.title,image:e.image}),{windowWidth:660,windowHeight:550,windowPosition:"screenCenter"}),eC({color:"#25D366",networkName:"whatsapp",path:"m42.32286,33.93287c-0.5178,-0.2589 -3.04726,-1.49644 -3.52105,-1.66732c-0.4712,-0.17346 -0.81554,-0.2589 -1.15987,0.2589c-0.34175,0.51004 -1.33075,1.66474 -1.63108,2.00648c-0.30032,0.33658 -0.60064,0.36247 -1.11327,
10.12945c-0.5178,-0.2589 -2.17994,-0.80259 -4.14759,-2.56312c-1.53269,-1.37217 -2.56312,-3.05503 -2.86603,-3.57283c-0.30033,-0.5178 -0.03366,-0.80259 0.22524,-1.06149c0.23301,-0.23301 0.5178,-0.59547 0.7767,-0.90616c0.25372,-0.31068 0.33657,-0.5178 0.51262,-0.85437c0.17088,-0.36246 0.08544,-0.64725 -0.04402,-0.90615c-0.12945,-0.2589 -1.15987,-2.79613 -1.58964,-3.80584c-0.41424,-1.00971 -0.84142,-0.88027 -1.15987,-0.88027c-0.29773,-0.02588 -0.64208,-0.02588 -0.98382,-0.02588c-0.34693,0 -0.90616,0.12945 -1.37736,0.62136c-0.4712,0.5178 -1.80194,1.76053 -1.80194,4.27186c0,2.51134 1.84596,4.945 2.10227,5.30747c0.2589,0.33657 3.63497,5.51458 8.80262,7.74113c1.23237,0.5178 2.1903,0.82848 2.94111,1.08738c1.23237,0.38836 2.35599,0.33657 3.24402,0.20712c0.99159,-0.15534 3.04985,-1.24272 3.47963,-2.45956c0.44013,-1.21683 0.44013,-2.22654 0.31068,-2.45955c-0.12945,-0.23301 -0.46601,-0.36247 -0.98382,-0.59548m-9.40068,12.84407l-0.02589,0c-3.05503,0 -6.08417,-0.82849 -8.72495,-2.38189l-0.62136,-0.37023l-6.47252,1.68286l1.73463,-6.29129l-0.41424,-0.64725c-1.70875,-2.71846 -2.6149,-5.85116 -2.6149,-9.07706c0,-9.39809 7.68934,-17.06155 17.15993,-17.06155c4.58253,0 8.88029,1.78642 12.11655,5.02268c3.23625,3.21036 5.02267,7.50812 5.02267,12.06476c-0.0078,9.3981 -7.69712,17.06155 -17.14699,17.06155m14.58906,-31.58846c-3.93529,-3.80584 -9.1133,-5.95471 -14.62789,-5.95471c-11.36055,0 -20.60848,9.2065 -20.61625,20.52564c0,3.61684 0.94757,7.14565 2.75211,10.26282l-2.92557,10.63564l10.93337,-2.85309c3.0136,1.63108 6.4052,2.4958 9.85634,2.49839l0.01037,0c11.36574,0 20.61884,-9.2091 20.62403,-20.53082c0,-5.48093 -2.14111,-10.64081 -6.03239,-14.51915"});let eD=eL("whatsapp",function(e,t){let{title:n,separator:o}=t;return eR(e,"whatsapp.url"),"https://"+(/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)?"api":"web")+".whatsapp.com/send"+eN({text:n?n+o+e:e})},e=>({title:e.title,separator:e.separator||" "}),{windowWidth:550,windowHeight:400});function eV(e){var t;let n=e.share,i=e.globalConfig,l=(0,r.useRouter)().asPath;return(l="https://".concat(null==i?void 0:null===(t=i.route)||void 0===t?void 0:t.tenantUrl).concat(l),e.children)?"facebook"===n?(0,o.tZ)(eO,{onClick:()=>{var e;return(0,g.q)("share",{tenant_url:null===(e=i.route)||void 0===e?void 0:e.tenantUrl,method:"facebook",content_type:"url",item_id:l})},url:l,children:e.children}):"twitter"===n?(0,o.tZ)(e_,{onClick:()=>{var e;return(0,g.q)("share",{tenant_url:null===(e=i.route)||void 0===e?void 0:e.tenantUrl,method:"twitter",content_type:"url",item_id:l})},url:l,children:e.children}):"whatsapp"===n?(0,o.tZ)(eD,{onClick:()=>{var e;return(0,g.q)("share",{tenant_url:null===(e=i.route)||void 0===e?void 0:e.tenantUrl,method:"whatsapp",content_type:"url",item_id:l})},url:l,children:e.children}):"linkedin"===n?(0,o.tZ)(eP,{onClick:()=>{var e;return(0,g.q)("share",{tenant_url:null===(e=i.route)||void 0===e?void 0:e.tenantUrl,method:"linkedin",content_type:"url",item_id:l})},url:l,children:e.children}):"tumblr"===n?(0,o.tZ)(eH,{onClick:()=>{var e;return(0,g.q)("share",{tenant_url:null===(e=i.route)||void 0===e?void 0:e.tenantUrl,method:"tumblr",content_type:"url",item_id:l})},url:l,children:e.children}):"telegram"===n?(0,o.tZ)(eW,{onClick:()=>{var e;return(0,g.q)("share",{tenant_url:null===(e=i.route)||void 0===e?void 0:e.tenantUrl,method:"telegram",content_type:"url",item_id:l})},url:l,children:e.children}):"email"===n?(0,o.tZ)("div",{onClick:()=>{var e;window.location.href="mailto:?subject=Revisa este art\xedculo&body=Hola, te comparto este art\xedculo que encontr\xe9 en ".concat(l),(0,g.q)("share",{tenant_url:null===(e=i.route)||void 0===e?void 0:e.tenantUrl,method:"email",content_type:"url",item_id:l})},children:e.children}):null:null}eC({color:"#3b3d4a",networkName:"workplace",path:"M34.019,10.292c0.21,0.017,0.423,0.034,0.636,0.049 c3.657,0.262,6.976,1.464,9.929,3.635c3.331,2.448,5.635,5.65,6.914,9.584c0.699,2.152,0.983,4.365,0.885,6.623 c-0.136,3.171-1.008,6.13-2.619,8.867c-0.442,0.75-0.908,1.492-1.495,2.141c-0.588,0.651-1.29,1.141-2.146,1.383 c-1.496,0.426-3.247-0.283-3.961-1.642c-0.26-0.494-0.442-1.028-0.654-1.548c-1.156-2.838-2.311-5.679-3.465-8.519 c-0.017-0.042-0.037-0.082-0.065-0.145c-0.101,0.245-0.192,0.472-0.284,0.698c-1.237,3.051-2.475,6.103-3.711,9.155 c-0.466,1.153-1.351,1.815-2.538,2.045c-1.391,0.267-2.577-0.154-3.496-1.247c-0.174-0.209-0.31-0.464-0.415-0.717 c-2.128-5.22-4.248-10.442-6.37-15.665c-0.012-0.029-0.021-0.059-0.036-0.104c0.054-0.003,0.103-0.006,0.15-0.006 c1.498-0.001,2.997,0,4.495-0.004c0.12-0.001,0.176,0.03,0.222,0.146c1.557,3.846,3.117,7.691,4.679,11.536 c0.018,0.046,0.039,0.091,0.067,0.159c0.273-0.673,0.536-1.32,0.797-1.968c1.064-2.627,2.137-5.25,3.19-7.883 c0.482-1.208,1.376-1.917,2.621-2.135c1.454-0.255,2.644,0.257,3.522,1.449c0.133,0.18,0.229,0.393,0.313,0.603 c1.425,3.495,2.848,6.991,4.269,10.488c0.02,0.047,0.04,0.093,0.073,0.172c0.196-0.327,0.385-0.625,0.559-0.935 c0.783-1.397,1.323-2.886,1.614-4.461c0.242-1.312,0.304-2.634,0.187-3.962c-0.242-2.721-1.16-5.192-2.792-7.38 c-2.193-2.939-5.086-4.824-8.673-5.625c-1.553-0.346-3.124-0.405-4.705-0.257c-3.162,0.298-6.036,1.366-8.585,3.258 c-3.414,2.534-5.638,5.871-6.623,10.016c-0.417,1.76-0.546,3.547-0.384,5.348c0.417,4.601,2.359,8.444,5.804,11.517 c2.325,2.073,5.037,3.393,8.094,3.989c1.617,0.317,3.247,0.395,4.889,0.242c1-0.094,1.982-0.268,2.952-0.529 c0.04-0.01,0.081-0.018,0.128-0.028c0,1.526,0,3.047,0,4.586c-0.402,0.074-0.805,0.154-1.21,0.221 c-0.861,0.14-1.728,0.231-2.601,0.258c-0.035,0.002-0.071,0.013-0.108,0.021c-0.493,0-0.983,0-1.476,0 c-0.049-0.007-0.1-0.018-0.149-0.022c-0.315-0.019-0.629-0.033-0.945-0.058c-1.362-0.105-2.702-0.346-4.017-0.716 c-3.254-0.914-6.145-2.495-8.66-4.752c-2.195-1.971-3.926-4.29-5.176-6.963c-1.152-2.466-1.822-5.057-1.993-7.774 c-0.014-0.226-0.033-0.451-0.05-0.676c0-0.502,0-1.003,0-1.504c0.008-0.049,0.02-0.099,0.022-0.148 c0.036-1.025,0.152-2.043,0.338-3.052c0.481-2.616,1.409-5.066,2.8-7.331c2.226-3.625,5.25-6.386,9.074-8.254 c2.536-1.24,5.217-1.947,8.037-2.12
16c0.23-0.015,0.461-0.034,0.691-0.051C33.052,10.292,33.535,10.292,34.019,10.292z"}),eL("workplace",function(e,t){let{quote:n,hashtag:o}=t;return eR(e,"workplace.url"),"https://work.facebook.com/sharer.php"+eN({u:e,quote:n,hashtag:o})},e=>({quote:e.quote,hashtag:e.hashtag}),{windowWidth:550,windowHeight:400});let eU=d.forwardRef((e,t)=>{var n;let l=(0,r.useRouter)(),u=(0,d.useRef)(0);(0,d.useEffect)(()=>{u.current++});let s={};s.subscribed=(0,h.zn)(e=>null==e?void 0:e.subscribed);let[p,g]=d.useState(!1),f=null==e?void 0:null===(n=e.globalConfig)||void 0===n?void 0:n.token,w=null==e?void 0:e.settings,y=null==e?void 0:e.widgets,C=null==e?void 0:e.template,b=null==e?void 0:e.route,Z=null==e?void 0:e.browserProps,k=null==e?void 0:e.commonRoutes,x=null==e?void 0:e.currentBreakpoint,T=null==e?void 0:e.widgetTemplates,[S,L]=(0,d.useState)(null);if((0,d.useEffect)(()=>{let e=document.getElementById("container-template-".concat(null==C?void 0:C.id));e&&L(e.offsetWidth+"px")},[]),!b)return(0,o.tZ)(a(),{withDarkMode:!1,statusCode:404,title:"La ruta no ha podido ser encontrada"});let N=null==C?void 0:C.sections;return C?((0,d.useEffect)(()=>{(0,v.pg)(g)},[,null==s?void 0:s.subscribed]),(0,o.BX)(o.HY,{children:[(0,o.tZ)(m,{analyticType:"template",eventName:C.name,settings:w,template:C,route:b,browserProps:Z}),C.linkCss&&(0,o.tZ)("link",{rel:"stylesheet",href:"".concat(i.Z.bucketUrlCdn).concat(C.linkCss)}),(0,o.tZ)("div",{className:"template template-".concat(null==C?void 0:C.id),id:"container-template-".concat(null==C?void 0:C.id),children:S&&N&&N.filter(e=>"subscriber"===e.displayByCondition?p:"visitor"!==e.displayByCondition||!p).map((t,n)=>{var i,a;return(0,o.BX)("div",{className:"section section-".concat(t.id," ").concat((null===(a=t.classNames)||void 0===a?void 0:null===(i=a.split(","))||void 0===i?void 0:i.join(" "))||""),id:t.id,children:[t.id&&(0,o.tZ)(m,{eventName:t.name,analyticType:"section",sectionId:t.id,settings:w,template:C,route:b,browserProps:Z}),null==t?void 0:t.containers.filter(e=>"subscriber"===e.displayByCondition?p:"visitor"!==e.displayByCondition||!p).map((t,n)=>(0,o.BX)("div",{id:t.id,className:"container container-".concat(t.id),style:{...t.zIndex&&{zIndex:t.zIndex},...t.marginTop&&{marginTop:t.marginTop||0},...t.marginRight&&{marginRight:t.marginRight||0},...t.marginBottom&&{marginBottom:t.marginBottom||0},...t.marginLeft&&{marginLeft:t.marginLeft||0},...t.paddingTop&&{paddingTop:t.paddingTop||0},...t.paddingRight&&{paddingRight:t.paddingRight||0},...t.paddingBottom&&{paddingBottom:t.paddingBottom||0},...t.paddingLeft&&{paddingLeft:t.paddingLeft||0}},children:[t.id&&(0,o.tZ)(m,{eventName:t.name,analyticType:"container",containerId:t.id,settings:w,template:C,route:b,browserProps:Z}),"server"===t.renderAs&&(0,o.tZ)(tu,{parentClassName:"container-".concat(t.id),globalConfig:{isWidgetTemplate:!0,token:f,settings:w,template:C,route:b,browserProps:Z,commonRoutes:k,widgets:y,widgetTemplates:T,closeCurrentPopup:e.closeCurrentPopup,containerId:t.id,windowWidth:S},container:t,gridCols:t.gridCols,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:10,transformScale:1,preventCollision:!1,currentBreakpoint:x,containerIndex:n},"".concat(t.id,"-").concat(l.asPath)),"client"===t.renderAs&&(0,o.tZ)(c.Z,{whenVisible:!0,children:(0,o.tZ)(tu,{parentClassName:"container-".concat(t.id),globalConfig:{isWidgetTemplate:!0,token:f,settings:w,template:C,route:b,browserProps:Z,commonRoutes:k,widgets:y,widgetTemplates:T,closeCurrentPopup:e.closeCurrentPopup,containerId:t.id,windowWidth:S},container:t,gridCols:t.gridCols,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:10,transformScale:1,preventCollision:!1,currentBreakpoint:x,containerIndex:n},n)})]},"container-".concat(n)))]},"section-".concat(n))})})]})):(0,o.tZ)(a(),{withDarkMode:!1,statusCode:404,title:"El Template no ha podido ser encontrado"})});var eF=d.memo(eU),eA=n(6532),ej=n(67865);let eX=B()(()=>n.e(9885).then(n.bind(n,39885)),{loadableGenerated:{webpack:()=>[39885]},ssr:!1});function eG(e){let{children:t,value:n,index:i,...l}=e;return(0,o.tZ)("div",{role:"tabpanel",hidden:n!==i,id:"tabpanel-".concat(i),"aria-labelledby":"tab-".concat(i),...l,children:n===i&&t})}let eY=e=>{var t,n,i,l,a,c,u,s,p,g,m,f,w,y,C,b,Z,k,x,T,S,L,N,I;let R=(0,d.useRef)(0);(0,d.useEffect)(()=>{R.current++,_.isWidgetTemplate,_.isWidgetTemplate});let O=(0,r.useRouter)(),{setAppState:q}=(0,h.ZP)(),B=e.configAttributeFill,M=(0,ef.mZ)(null===(t=e.globalConfig)||void 0===t?void 0:t.settings),z=(0,ef.PN)(null==B?void 0:B.attributeFill,e.row,e.type,M),E=e.configWidget;e.configForm;let P=e.webMode;e.type,null==E||E.optionColor;let W=e.configEvents,H=e.componentTitle,_=e.globalConfig,D=(null==z?void 0:z.slug)||(null===(n=e.row)||void 0===n?void 0:n.slug),V=null==z?void 0:z.options;e.rowsIndex,e.rowsLength;let U=e=>{(null==e?void 0:e.onClick)&&P&&q({event:e,slug:D})},F=()=>
1{if(W){U(W);return}},A=H||(null==z?void 0:z.title)||(null==z?void 0:z.slug)||(null==_?void 0:null===(l=_.settings)||void 0===l?void 0:null===(i=l.tenant)||void 0===i?void 0:i.name);return!V&&(null==E?void 0:E.openType)==="slug"&&P?(null==z?void 0:z.type)!=="extract"&&(null==z?void 0:z.type)!=="description"?(0,o.tZ)("a",{target:(null==E?void 0:E.targetBlank)?"_blank":void 0,"aria-label":A,rel:(null===(a=e.row)||void 0===a?void 0:a.linkRel)!=="follow"&&(null===(c=e.row)||void 0===c?void 0:c.linkRel)!==null&&(null===(u=e.row)||void 0===u?void 0:u.linkRel)!==void 0&&(null===(s=e.row)||void 0===s?void 0:s.linkRel)!==""?null===(p=e.row)||void 0===p?void 0:p.linkRel:void 0,style:{textDecoration:"none",color:"inherit",...(null==E?void 0:E.tabsOrientation)==="vertical"&&{display:"flex"}},onClick:e=>{D&&(0,v.Ws)(_,e,D,O),F()},href:D||"/",className:e.parentClassName||"",children:(0,o.tZ)(eK,{webMode:P,...e,fields:z})}):(0,o.tZ)(eK,{webMode:P,...e,fields:z}):!V&&(null==E?void 0:E.openType)==="redirectUrl"&&P?(null==z?void 0:z.type)!=="extract"&&(null==z?void 0:z.type)!=="description"?(0,o.tZ)("a",{"aria-label":A,target:(null==E?void 0:E.targetBlank)?"_blank":void 0,onClick:e=>{if((null==z?void 0:z.type)==="whatsapp"){e.preventDefault();let t=null==z?void 0:z.slug.replace(/\+/g,"");window.open("https://api.whatsapp.com/send?phone=".concat(t),"_blank");return}if(D){if(D.includes("http")){e.preventDefault(),window.open(D,(null==E?void 0:E.targetBlank)?"_blank":void 0);return}if(!(null==E?void 0:E.targetBlank)){e.preventDefault(),(0,v.Ws)(_,e,D,O);return}if(null==E?void 0:E.targetBlank){e.preventDefault(),window.open(D,"_blank");return}}},rel:(null===(g=e.row)||void 0===g?void 0:g.linkRel)!=="follow"&&(null===(m=e.row)||void 0===m?void 0:m.linkRel)!==null&&(null===(f=e.row)||void 0===f?void 0:f.linkRel)!==void 0&&(null===(w=e.row)||void 0===w?void 0:w.linkRel)!==""?null===(y=e.row)||void 0===y?void 0:y.linkRel:void 0,style:{textDecoration:"none",color:"inherit",...(null==E?void 0:E.tabsOrientation)==="vertical"&&{display:"flex"}},href:D||"/",className:e.parentClassName||"",children:(0,o.tZ)(eK,{webMode:P,...e,fields:z})}):(0,o.tZ)(eK,{webMode:P,...e,fields:z}):!V&&(null==E?void 0:E.openType)==="url"&&(null==E?void 0:E.customUrl)&&P?(0,o.tZ)("a",{"aria-label":A,target:(null==E?void 0:E.targetBlank)?"_blank":void 0,onClick:e=>{if((null==z?void 0:z.type)==="whatsapp"){e.preventDefault();let t=null==z?void 0:z.slug.replace(/\+/g,"");window.open("https://api.whatsapp.com/send?phone=".concat(t),"_blank");return}if(null==E?void 0:E.customUrl){if(null==E?void 0:E.customUrl.includes("http")){e.preventDefault(),window.open(null==E?void 0:E.customUrl,(null==E?void 0:E.targetBlank)?"_blank":void 0);return}if(!(null==E?void 0:E.targetBlank)){e.preventDefault(),(0,v.Ws)(_,e,null==E?void 0:E.customUrl,O);return}if(null==E?void 0:E.targetBlank){e.preventDefault(),window.open(null==E?void 0:E.customUrl,"_blank");return}}},rel:(null===(C=e.row)||void 0===C?void 0:C.linkRel)!=="follow"&&(null===(b=e.row)||void 0===b?void 0:b.linkRel)!==null&&(null===(Z=e.row)||void 0===Z?void 0:Z.linkRel)!==void 0&&(null===(k=e.row)||void 0===k?void 0:k.linkRel)!==""?null===(x=e.row)||void 0===x?void 0:x.linkRel:void 0,style:{textDecoration:"none",color:"inherit",...(null==E?void 0:E.tabsOrientation)==="vertical"&&{display:"flex"}},href:(null==E?void 0:E.customUrl)||"/",className:e.parentClassName||"",children:(0,o.tZ)(eK,{webMode:P,...e,fields:z})}):(null==W?void 0:W.onClick)&&P?(0,o.tZ)("a",{target:(null==E?void 0:E.targetBlank)?"_blank":void 0,"aria-label":A,href:"#",style:{textDecoration:"none",color:"inherit",...(null==E?void 0:E.tabsOrientation)==="vertical"&&{display:"flex"}},className:e.parentClassName||"",children:(0,o.tZ)(eK,{webMode:P,...e,fields:z})}):(null==z?void 0:z.slug)&&(null==z?void 0:z.type)==="listTitle"?(0,o.tZ)("a",{target:(null==E?void 0:E.targetBlank)?"_blank":void 0,"aria-label":A,rel:(null===(T=e.row)||void 0===T?void 0:T.linkRel)!=="follow"&&(null===(S=e.row)||void 0===S?void 0:S.linkRel)!==null&&(null===(L=e.row)||void 0===L?void 0:L.linkRel)!==void 0&&(null===(N=e.row)||void 0===N?void 0:N.linkRel)!==""?null===(I=e.row)||void 0===I?void 0:I.linkRel:void 0,style:{textDecoration:"none",color:"inherit",...(null==E?void 0:E.tabsOrientation)==="vertical"&&{display:"flex"}},onClick:e=>{D&&(0,v.Ws)(_,e,D,O)},href:D||"/",className:e.parentClassName||"",children:(0,o.tZ)(eK,{webMode:P,...e,fields:z})}):(null==E?void 0:E.openType)==="share"&&P?e.parentClassName?(0,o.tZ)("div",{className:e.parentClassName||"",children:(0,o.tZ)(eV,{globalConfig:_,share:null==E?void 0:E.share,children:(0,o.tZ)(eK,{webMode:P,...e,fields:z})})}):(0,o.tZ)(eV,{globalConfig:_,share:null==E?void 0:E.share,children:(0,o.tZ)(eK,{webMode:P,...e,fields:z})}):e.parentClassName?(0,o.tZ)("div",{className:e.parentClassName||"",children:(0,o.tZ)(eK,{webMode:P,...e,fields:z})}):(0,o.tZ)(eK,{webMode:P,...e,fields:z})},eK=e=>{var t,n,i,l,a,c,u,v,p,f,w,y,C,b,x,T,S,L,N,I,R,O,q,B,el,ea,er,ed,ec;let[eu,es]=(0,d.useState)(""),[ev,eg]=(0,d.useState)([]),em=(0,d.useRef)(0);(0,d.useEffect)(()=>{em.current++,eT.isWidgetTemplate,eT.isWidgetTemplate});let eh=e.index,ew=e.configWidget,eC=e.configForm,eb=e.configWidgetSelected,eZ=e.configWidgetHover,{setAppState:ek}=(0,h.ZP)(),ex={};
1ex.loading=(0,h.zn)(e=>null==e?void 0:e.loading),ex.widgetIndex=(0,h.zn)(e=>null==e?void 0:e.widgetIndex),ex.queryString=(0,h.zn)(e=>null==e?void 0:e.queryString),ex.queryOptions=(0,h.zn)(e=>null==e?void 0:e.queryOptions),ex.queryDate=(0,h.zn)(e=>null==e?void 0:e.queryDate),ex.loadMore=(0,h.zn)(e=>null==e?void 0:e.loadMore);let eT=e.globalConfig,[eS,eL]=(0,d.useState)(!1),[eN,eI]=(0,d.useState)(null),eR=null==ew?void 0:ew.formatDate,eO=null==ew?void 0:ew.dateTimeRealTime,eq=e.webMode,eB=e.rowsIndex,eM=e.rowsLength;(0,d.useEffect)(()=>{let e;return eN&&(0,d.startTransition)(()=>{eI(s()().format(eR))}),eO&&(0,d.startTransition)(()=>{e=setInterval(()=>{eI(s()().format(eR))},1e3)}),()=>{clearInterval(e)}},[eO,eR]);let[ez,eE]=(0,d.useState)(""),eP=(0,r.useRouter)(),eW=e.type;e.configLayerOne,e.configLayerTwo,e.configLayerThree,e.configMenu;let eH=e.configEvents;e.configAttributeFill,e.configVisibility;let e_=(null==eT?void 0:eT.widgetTemplates)||{},eD=null==e?void 0:e.row,[eV,eU]=(0,d.useState)(null),[eY,eK]=(0,d.useState)(0),eQ=null==e?void 0:e.fields,eJ=(null==eQ?void 0:eQ.options)||e.options,e$=(null==ew?void 0:ew.customTitle)||(null==eQ?void 0:eQ.title),e0=null==eQ?void 0:eQ.slug,e1=(null==ew?void 0:ew.customRating)||5;null==ew||ew.customDescription;let e2=null==ew?void 0:ew.optionColor,e4=null==ew?void 0:ew.avatarFile,e3=null==ew?void 0:ew.customIcon,e5=null==ew?void 0:ew.iconSize,e6=e4||(null==eQ?void 0:eQ.values),e8=null==ew?void 0:ew.buttonPositionIcon,e7=null==ew?void 0:ew.buttonSize,e9=null==ew?void 0:ew.buttonVariant,te=null==ew?void 0:ew.chipSize,tt=null==ew?void 0:ew.chipVariant;null==ew||ew.chipAvatar;let tn=null==ew?void 0:ew.dividerOrientation,to=null==ew?void 0:ew.dividerVariant,ti=null==ew?void 0:ew.buttonGroupSize,tl=null==ew?void 0:ew.buttonGroupVariant,ta=null==ew?void 0:ew.buttonGroupOrientation,tr=null==ew?void 0:ew.tabsOrientation,td=null==ew?void 0:ew.tabsVariant,tc=null==ew?void 0:ew.tabVisibleScrollbar,tu=null==ew?void 0:ew.paperElevation,ts=null==ew?void 0:ew.tabsIndicatorColor,tv=null==ew?void 0:ew.tabsIndicatorColorSelected,tp=null==ew?void 0:ew.color,tg=null==ew?void 0:ew.backgroundColor;null==ew||ew.alertVariant,null==ew||ew.alertSeverity;let tm=null==ew?void 0:ew.typographyVariant,th=null==ew?void 0:ew.typographyMaxLength,tf=null==ew?void 0:ew.avatarVariant,tw=null==ew?void 0:ew.videoAutoPlay,ty=null==ew?void 0:ew.videoControls;null==ew||ew.videoLight;let tC=null==ew?void 0:ew.allowOverride,tb=(null==ew?void 0:ew.avatarPriority)||(null===(t=e.row)||void 0===t?void 0:t.preload),tZ=null==ew?void 0:ew.showOriginalPhoto,tk=null==ew?void 0:ew.avatarObjectFit,tx=null==ew?void 0:ew.avatarOrientation,tT=null==ew?void 0:ew.avatarRendering,tS=null==ew?void 0:ew.avatarObjectPosition,tL=null==ew?void 0:ew.menuDense,tN=null==ew?void 0:ew.menuDisableGutters,tI=null==ew?void 0:ew.menuDivider,tR=null==ew?void 0:ew.menuSelected,tO=null==ew?void 0:ew.menuAutoFocus,tq=null==ew?void 0:ew.textFieldAutoComplete,tB=null==ew?void 0:ew.textFieldAutoFocus,tM=null==ew?void 0:ew.textFieldMultiline,tz=null==ew?void 0:ew.textFieldPlaceholder,tE=null==ew?void 0:ew.textFieldDate,tP=null==ew?void 0:ew.textFieldRows,tW=null==ew?void 0:ew.textFieldSize,tH=null==ew?void 0:ew.textFieldVariant,t_=null==ew?void 0:ew.selectFieldSize,tD=null==ew?void 0:ew.selectFieldVariant,tV=[];tV=(null==eC?void 0:null===(n=eC.selectOptions)||void 0===n?void 0:n.split(","))||[];let tU=null==eC?void 0:eC.selectMultiple,tF=null==eC?void 0:eC.inputName,tA=null==eC?void 0:eC.customInputName;(null==eC?void 0:eC.inputName)=="subscriptionCategories"&&(null==eC?void 0:null===(i=eC.subscriptionCategories)||void 0===i?void 0:i.length)>0&&(tV=[],null==eC||eC.subscriptionCategories.map(e=>tV.push(e.label))),tF=null==tF?void 0:tF.replace(/[^a-zA-Z ]/g,""),tA=null==tA?void 0:tA.replace(/[^a-zA-Z ]/g,"");let tj=null==eC?void 0:eC.inputRequired,tX=null==ew?void 0:ew.openType,tG=null==ew?void 0:ew.indexOrder,tY=null==ew?void 0:ew.progressType,tK=null==ew?void 0:ew.progressColor,tQ=null==eT?void 0:eT.width;null==eT||eT.height;let tJ=null==eT?void 0:eT.componentWidth,t$=null==eT?void 0:eT.currentBreakpoint,t0=null==eT?void 0:eT.colSizes,t1=null==eT?void 0:eT.containerId,t2=null==eT?void 0:eT.displayConfigComponent;(null==tC?void 0:tC.enabled)&&(null==tC?void 0:tC.customTitle)&&(null==t2?void 0:t2.customTitle)&&(e$=t2.customTitle),(null==tC?void 0:tC.enabled)&&(null==tC?void 0:tC.customIcon)&&(null==t2?void 0:t2.customIcon)&&(e3=t2.customIcon);let t4=(e,t)=>{(null==e?void 0:e.onClick)&&eq&&ek({anchorEl:t.currentTarget,event:e,slug:e0})},t3=t=>{if((null==eQ?void 0:eQ.type)==="image"&&(null==eQ?void 0:eQ.redirectUrl)&&window.open(null==eQ?void 0:eQ.redirectUrl,"_blank"),eH&&(null==eH?void 0:eH.onClick)!==!1){t4(eH,t);return}"loadMoreRows"===tX&&ek({queryString:null==ex?void 0:ex.queryString,queryOptions:null==ex?void 0:ex.queryOptions,queryDate:null==ex?void 0:ex.queryDate,loading:!0,loadMore:!0,widgetIndex:e.index,containerId:t1}),"closeCurrentPopup"===tX&&eT.closeCurrentPopup()};if((0,d.useEffect)(()=>{(null==ex?void 0:ex.widgetIndex)===e.index&&(0,d.startTransition)(()=>{eL(ex.loading)})},[null==ex?void 0:ex.widgetIndex,null==ex?void 0:ex.loading]),eS){if("circular"===tY)return(0,o.tZ)("div",{style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,o.tZ)(Z.Z,{color:tK})});if("linear"===tY)return(0,o.tZ)(k.Z,{color:tK})}"dateTime"===tX&&(e$=eN),"index"===tX&&eM>0&&("asc"===tG&&(e$=eB+1),"desc"===tG&&(e$=eM-eB));let t5=null==eb?void 0:eb.color,t6=null==eb?void 0:eb.backgroundColor,t8=null==eZ?void 0:eZ.color,t7=null==eZ?void 0:eZ.backgroundColor;if(null==eT||null===(a=eT.settings)||void 0===a||null===(l=a.commonRoutes)||void 0===l||l.find(e=>(null==e?void 0:e.routeType)==="search"),"dateTime"===tX&&!eN)return(0,o.tZ)(o.HY,{});if((null==eQ?void 0:eQ.type)==="ad")return(0,o.BX)(o.HY,{children:[(null===(er=eQ.content)||void 0===er?void 0:er.id)&&(0,o.tZ)(m,{eventName:null===(ed=eQ.content)||void 0===ed?void 0:ed.name,analyticType:"widget",widgetId:null===(ec=eQ.content)||void 0===ec?void 0:ec.id,...eT}),(0,o.tZ)(eA.default,{globalConfig:eT,value:eQ.content,row:eD})]});e$=(null==(e$=(null==e$?void 0:null===(p=e$.replace)||void 0===p?void 0:p.call(e$,/{url}
1/g,"https://".concat(null==eT?void 0:null===(u=eT.settings)||void 0===u?void 0:null===(c=u.tenant)||void 0===c?void 0:c.url).concat(null===(v=eT.route)||void 0===v?void 0:v.slug)))||e$)?void 0:null===(f=e$.replace)||void 0===f?void 0:f.call(e$,/{title}/g,e$))||e$,(null==eT?void 0:null===(w=eT.displayConfig)||void 0===w?void 0:w.formType)!=="default"||"textField"!==eW||tE||(tF="text"),(null==eT?void 0:null===(y=eT.displayConfig)||void 0===y?void 0:y.formType)==="default"&&"textField"===eW&&tE&&(tF="date"),(null==eT?void 0:null===(C=eT.displayConfig)||void 0===C?void 0:C.formType)==="default"&&"select"===eW&&(tF="options");let t9=e$||(null==eQ?void 0:eQ.title)||(null==eQ?void 0:eQ.slug)||(null==eT?void 0:null===(x=eT.settings)||void 0===x?void 0:null===(b=x.tenant)||void 0===b?void 0:b.name);return(0,o.BX)(o.HY,{children:["button"===eW&&(0,o.tZ)(X.Z,{"aria-label":t9,type:(null==eT?void 0:null===(T=eT.displayConfig)||void 0===T?void 0:T.isForm)?"submit":"button",sx:{fontSize:"3em",borderColor:(0,ef.Lq)(tp,null==eT?void 0:eT.settings),"&:hover":{borderColor:(0,ef.Lq)(t5,null==eT?void 0:eT.settings)},...(0,ef.HV)(eW)},className:"layerOne button",color:e2||"primary",onClick:e=>t3(e),startIcon:e3&&"left"===e8&&(0,o.tZ)(eX,{"aria-label":t9,icon:e3||"fa/FaUser",size:e5,fallback:null}),endIcon:e3&&"right"===e8&&(0,o.tZ)(eX,{"aria-label":t9,icon:e3||"fa/FaUser",size:e5,fallback:null}),size:e7||"large",variant:e9||"contained",children:e$}),"qrCode"===eW&&(0,o.tZ)(ep,{className:"layerOne qrCode",size:(null==ew?void 0:ew.fontSize)||128,value:(null==e0?void 0:e0.includes("http"))?e0:"https://".concat(null==eT?void 0:null===(L=eT.settings)||void 0===L?void 0:null===(S=L.tenant)||void 0===S?void 0:S.url).concat(e0)||0,level:"H"}),"typography"===eW&&(0,o.BX)(o.HY,{children:[((null==eQ?void 0:eQ.type)==="title"||(null==eQ?void 0:eQ.type)==="altTitle"||(null==eQ?void 0:eQ.type)==="titleOpenGraph")&&(0,o.tZ)(ei.Z,{suppressContentEditableWarning:!0,sx:{fontSize:"3em",...(0,ef.HV)(eW)},className:"layerOne title",color:e2,onClick:e=>t3(e),variant:(null===(N=e.row)||void 0===N?void 0:N.firstContent)?"h1":tm||"body1",children:th?e$.substr(0,th):e$}),((null==eQ?void 0:eQ.type)==="datePublished"||(null==eQ?void 0:eQ.type)==="dateCreated"||(null==eQ?void 0:eQ.type)==="dateUpdated"||"dateTime"===tX)&&(0,o.tZ)(ei.Z,{suppressContentEditableWarning:!0,sx:{fontSize:"3em",...(0,ef.HV)(eW)},className:"layerOne date",color:e2,onClick:e=>t3(e),variant:tm||"body1",children:e$}),!(null==eQ?void 0:eQ.date)&&"dateTime"!==tX&&(null==eQ?void 0:eQ.type)!=="title"&&(null==eQ?void 0:eQ.type)!=="altTitle"&&(null==eQ?void 0:eQ.type)!=="titleOpenGraph"&&(null==eQ?void 0:eQ.type)!=="extract"&&(null==eQ?void 0:eQ.type)!=="description"&&(0,o.tZ)(ei.Z,{suppressContentEditableWarning:!0,sx:{fontSize:"3em",...(0,ef.HV)(eW)},component:"div",className:"layerOne",color:e2,onClick:e=>t3(e),variant:tm||"body1",suppressHydrationWarning:!0,dangerouslySetInnerHTML:(0,ej.KU)(th?null==e$?void 0:e$.substr(0,th):e$)}),!(null==eQ?void 0:eQ.date)&&"dateTime"!==tX&&(null==eQ?void 0:eQ.type)!=="title"&&(null==eQ?void 0:eQ.type)!=="altTitle"&&(null==eQ?void 0:eQ.type)!=="titleOpenGraph"&&(null==eQ?void 0:eQ.type)==="extract"&&(0,o.tZ)(ei.Z,{suppressContentEditableWarning:!0,sx:{fontSize:"3em",...(0,ef.HV)(eW)},component:(null===(I=e.row)||void 0===I?void 0:I.firstContent)?"h2":"div",className:"layerOne extract",color:e2,onClick:e=>t3(e),variant:(null===(R=e.row)||void 0===R?void 0:R.firstContent)?"h2":tm||"body1",suppressHydrationWarning:!0,dangerouslySetInnerHTML:(0,ej.KU)(th?null==e$?void 0:e$.substr(0,th):e$)}),!(null==eQ?void 0:eQ.date)&&"dateTime"!==tX&&(null==eQ?void 0:eQ.type)!=="title"&&(null==eQ?void 0:eQ.type)!=="altTitle"&&(null==eQ?void 0:eQ.type)!=="titleOpenGraph"&&(null==eQ?void 0:eQ.type)==="description"&&(0,o.tZ)(ei.Z,{suppressContentEditableWarning:!0,sx:{fontSize:"3em",...(0,ef.HV)(eW)},component:"div",className:"layerOne body",color:e2,onClick:e=>t3(e),variant:tm||"body1",suppressHydrationWarning:!0,dangerouslySetInnerHTML:(0,ej.KU)(th?null==e$?void 0:e$.substr(0,th):e$)})]}),"select"===eW&&(0,o.BX)(E.Z,{style:{height:"100%"},fullWidth:!0,children:[(0,o.tZ)(P.Z,{id:"select-label-".concat(eh),style:{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},children:e$||"Select"}),tU?(0,o.tZ)(W.Z,{"aria-label":t9,defaultValue:(null==ev?void 0:ev.length)>0||(null===(O=eP.query)||void 0===O?void 0:O.containerId)===t1&&(null===(q=null==eP?void 0:null===(B=eP.query)||void 0===B?void 0:B.searchByOptions)||void 0===q?void 0:q.split(","))||[],multiple:!0,required:tj||!1,name:"custom"===tF?tA:tF,size:t_||"medium",variant:tD||"standard",labelId:"select-label-".concat(eh),id:"select-".concat(eh),label:e$||"Select",renderValue:e=>null==e?void 0:e.join(", "),onChange:e=>{(0,d.startTransition)(()=>{eg("string"==typeof e.target.value?e.target.value.split(","):e.target.value)}),ek({containerId:t1,queryString:null==ex?void 0:ex.queryString,queryDate:null==ex?void 0:ex.queryDate,queryOptions:e.target.value})},className:"layerOne select",style:{..."standard"===tD&&{marginTop:16}},sx:{"& .MuiInputBase-input":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& ::placeholder":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& .MuiInputLabel-root":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& .MuiInputLabel-root.Mui-focused":{color:(0,ef.Lq)(t5,null==eT?void 0:eT.settings)},"& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline":{borderColor:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:(0,ef.Lq)(t5,null==eT?void 0:eT.settings)},":hover":{color:(0,ef.Lq)(t8,null==eT?void 0:eT.settings),borderColor:(0,ef.Lq)(t8,null==eT?void 0:eT.settings)},...(0,ef.HV)(eW)},children:null==tV?void 0:tV.map(e=>(0,o.BX)($.Z,{value:e,children:[(0,o.tZ)(H.Z,{checked:(null==ev?void 0:ev.indexOf(e))>-1}),(0,o.tZ)(_.Z,{primary:e})]},e))}):(0,o.tZ)(W.Z,{"aria-label":t9,value:eu||(null===(el=eP.query)||void 0===el?void 0:el.containerId)===t1&&eP.query.searchByOptions||"",required:tj||!1,name:"custom"===tF?tA:tF,size:t_||"medium",variant:tD||"standard",labelId:"select-label-".concat(eh),id:"select-".concat(eh),label:e$||"Select",onChange:e=>{(0,d.startTransition)(()=>{es(e.target.value)}),ek({containerId:t1,queryString:null==ex?void 0:ex.queryString,queryDate:null==ex?void 0:ex.queryDate,queryOptions:e.target.value})},className:"layerOne select",style:{..."standard"===tD&&{marginTop:16}},sx:{"& .MuiInputBase-input":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& ::placeholder":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& .MuiInputLabel-root":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& .MuiInputLabel-root.Mui-focused":{color:(0,ef.Lq)(t5,null==eT?void 0:eT.settings)},"& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline":{borderColor:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:(0,ef.Lq)(t5,null==eT?void 0:eT.settings)},":hover":{color:(0,ef.Lq)(t8,null==eT?void 0:eT.settings),borderColor:(0,ef.Lq)(t8,null==eT?void 0:eT.settings)},...(0,ef.HV)(eW)},children:null==tV?void 0:tV.map((e,t)=>(0,o.tZ)($.Z,{value:e,children:e},t))})]}),"textField"===eW&&(0,o.tZ)(E.Z,{style:{height:"100%"},fullWidth:!0,children:(0,o.tZ)(eo.Z,{"aria-label":t9,required:tj||!1,name:"custom"===tF?tA:tF,fullWidth:!0,type:tE?"date":"text",InputLabelProps:{...tE&&{shrink:!0}},defaultValue:ez||(null===(ea=eP.query)||void 0===ea?void 0:ea.containerId)===t1&&(tE?eP.query.searchByDate:eP.query.searchByText)||"",onClick:e=>t3(e),className:"layerOne input",variant:tH||"filled",autoComplete:tq||"off",autoFocus:tB||!1,multiline:tM||!1,placeholder:tz||"",rows:tP||1,size:tW||"medium",label:tE?null:e$||"Buscar",onCh
1ange:e=>{(0,d.startTransition)(()=>{eE(e.target.value)})},onKeyUp:e=>{if("Enter"===e.key){var t;(0,g.q)("search",{tenant_url:null===(t=eT.route)||void 0===t?void 0:t.tenantUrl,event_category:"search",event_label:"search",search_term:ez}),tE&&ek({containerId:t1,queryString:ex.queryString,queryDate:ez}),tE||ek({containerId:t1,queryString:ez,queryDate:ex.queryDate})}},sx:{"& .MuiInputBase-input":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings),fontSize:"".concat(null==ew?void 0:ew.inputSize,"em"),display:(null==ew?void 0:ew.alignContent)?"flex":"block",justifyContent:(null==ew?void 0:ew.alignContent)||"auto"},"& ::placeholder":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings),fontSize:"".concat(null==ew?void 0:ew.inputSize,"em")},"& .MuiInputLabel-root":{color:(0,ef.Lq)(tp,null==eT?void 0:eT.settings),fontSize:"".concat(null==ew?void 0:ew.fontSize,"em")},"& .MuiInputLabel-root.Mui-focused":{color:(0,ef.Lq)(t5,null==eT?void 0:eT.settings)},"& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline":{borderColor:(0,ef.Lq)(tp,null==eT?void 0:eT.settings)},"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:(0,ef.Lq)(t5,null==eT?void 0:eT.settings)},":hover":{color:(0,ef.Lq)(t8,null==eT?void 0:eT.settings),borderColor:(0,ef.Lq)(t8,null==eT?void 0:eT.settings)},...(0,ef.HV)(eW)}})}),"avatar"===eW&&(0,o.tZ)(o.HY,{children:(0,o.tZ)(ey,{mediaFile:e6,styles:{...(0,ef.HV)(eW),objectFit:tk||"cover",imageOrientation:tx,imageRendering:tT,objectPosition:tS,..."circle"===tf&&{borderRadius:"50%"},..."rounded"===tf&&{borderRadius:"10px"}},colSizes:t0,currentBreakpoint:t$,viewportContainer:parseInt(tJ),widthComponent:tQ,onClick:e=>t3(e),type:eW,componentTitle:e$,avatarVariant:tf,className:"layerOne image",width:"100%",height:"100%",avatarPriority:tb,showOriginalPhoto:tZ,videoControls:ty,videoAutoPlay:tw})}),"buttonGroup"===eW&&(0,o.tZ)(G.Z,{sx:{...(0,ef.HV)(eW)},className:"layerOne button-group",color:e2||"primary",orientation:ta||"horizontal",size:ti||"large",variant:tl||"contained","aria-label":t9,children:(null==eJ?void 0:eJ.length)>0&&(null==eJ?void 0:eJ.map((e,t)=>(0,o.tZ)(X.Z,{onClick:()=>e.link&&eP.push(e.link),startIcon:e.icon&&"left"===e.positionIcon&&(0,o.tZ)(eX,{"aria-label":t9,icon:e.icon,fallback:null,style:{color:(0,ef.Lq)(e.iconColor,null==eT?void 0:eT.settings)}}),endIcon:e.icon&&"right"===e.positionIcon&&(0,o.tZ)(eX,{"aria-label":t9,icon:e.icon,fallback:null,style:{color:(0,ef.Lq)(e.iconColor,null==eT?void 0:eT.settings)}}),className:"item",sx:{fontSize:"3em",backgroundColor:(0,ef.Lq)(e.backgroundColor,null==eT?void 0:eT.settings),color:(0,ef.Lq)(e.color,null==eT?void 0:eT.settings),...(0,ef.HV)(eW)},children:e.title},t)))}),"rating"===eW&&(0,o.tZ)(en.Z,{"aria-label":t9,sx:{fontSize:"4em",...(0,ef.HV)(eW)},onClick:e=>t3(e),className:"layerOne rating",value:e1,color:e2||"primary",icon:e3?(0,o.tZ)(eX,{"aria-label":t9,icon:e3||"md/MdStarRate",size:e5,fallback:null}):(0,o.tZ)(M.Z,{fontSize:"inherit"}),emptyIcon:e3?(0,o.tZ)(eX,{"aria-label":t9,icon:e3||"md/MdStarRate",size:e5,fallback:null}):(0,o.tZ)(z.Z,{fontSize:"inherit"})}),"chip"===eW&&(0,o.tZ)(K.Z,{sx:{fontSize:"2.5em",...(0,ef.HV)(eW)},onClick:e=>t3(e),className:"layerOne app-mui-components-chip chip",color:e2||"default",size:te||"medium",variant:tt||"filled",label:e$}),"divider"===eW&&(0,o.tZ)(Q.Z,{onClick:e=>t3(e),className:"layerOne divider",color:e2||"primary",variant:to||"fullWidth",orientation:tn||"horizontal",sx:{...(0,ef.HV)(eW)}}),"paper"===eW&&(0,o.tZ)(et.Z,{className:"layerOne paper",elevation:tu||3,square:!0,sx:{...(0,ef.HV)(eW)}}),"card"===eW&&(0,o.tZ)(Y.Z,{onClick:e=>t3(e),className:"layerOne card",color:e2,sx:{...(0,ef.HV)(eW)}}),"box"===eW&&(0,o.tZ)(j.Z,{onClick:e=>t3(e),className:"layerOne box",color:e2,sx:{...(0,ef.HV)(eW)}}),"menu"===eW&&(0,o.tZ)(ee.Z,{className:"layerOne menu",sx:{...(0,ef.HV)(eW)},children:(null==eJ?void 0:eJ.length)>0&&(null==eJ?void 0:eJ.map((e,t)=>(0,o.BX)($.Z,{dense:tL,disableGutters:tN,divider:tI,selected:tR,autoFocus:tO,onClick:()=>e.link&&eP.push(e.link||"/"),className:"item",sx:{fontSize:"3em",color:(0,ef.Lq)(e.color,null==eT?void 0:eT.settings),backgroundColor:(0,ef.Lq)(e.backgroundColor,null==eT?void 0:eT.settings),...(0,ef.HV)(eW)},children:["left"===e.positionIcon&&(0,o.tZ)(J.Z,{children:(0,o.tZ)(eX,{"aria-label":t9,icon:e.icon||"fa/FaUser",fallback:null,style:{color:(0,ef.Lq)(e.iconColor,null==eT?void 0:eT.settings)}})}),(0,o.tZ)(ei.Z,{variant:"inherit",noWrap:!0,children:e.title}),"right"===e.positionIcon&&(0,o.tZ)(J.Z,{children:(0,o.tZ)(eX,{"aria-label":t9,icon:e.icon||"fa/FaUser",style:{color:(0,ef.Lq)(e.iconColor,null==eT?void 0:eT.settings)},fallback:null})})]},t)))}),"icon"===eW&&(0,o.tZ)(eX,{"aria-label":t9,onClick:e=>t3(e),className:"layerOne icon",icon:e3||"fa/FaUser",fallback:null,style:{...(0,ef.HV)(eW),...(()=>{if((null==eQ?void 0:eQ.type)==="image"&&(null==eQ?void 0:eQ.redirectUrl)||eH&&(null==eH?void 0:eH.onClick)!==!1||"loadMoreRows"===tX||"closeCurrentPopup"===tX)return!0})&&{cursor:"pointer"}}}),"tabs"===eW&&(null==eJ?void 0:eJ.length)>0&&(0,o.tZ)(o.HY,{children:(null==eJ?void 0:eJ.length)>0&&(0,o.BX)(o.HY,{children:[(0,o.tZ)(D.Z,{"aria-label":t9,className:"layerOne tabs",orientation:tr||"horizontal",variant:td||"standard",visibleScrollbar:tc||!1,scrollButtons:tc||"auto",value:eY,onChange:(e,t)=>
1{(0,d.startTransition)(()=>{eK(t)})},sx:{...(0,ef.HV)(eW),"& .MuiTabs-indicator":{backgroundColor:ts&&(0,ef.Lq)(ts,eT.settings)+" !important",display:tv?"block":"none !important"}},children:(null==eJ?void 0:eJ.length)>0&&(null==eJ?void 0:eJ.map((e,t)=>(0,o.tZ)(V.Z,{className:"item",sx:{fontSize:"3em",backgroundColor:(0,ef.Lq)(e.enableColors&&e.backgroundColor||tg,eT.settings)+" !important",color:(0,ef.Lq)(e.enableColors&&e.color||tp,eT.settings)+" !important","&.Mui-selected":{backgroundColor:(0,ef.Lq)(e.enableColors&&e.backgroundColorSelected||t6,eT.settings)+" !important",color:(0,ef.Lq)(e.enableColors&&e.colorSelected||t5,eT.settings)+" !important"},"&:hover":{backgroundColor:(0,ef.Lq)(e.enableColors&&e.backgroundColorHover||t7,eT.settings)+" !important",color:(0,ef.Lq)(e.enableColors&&e.colorHover||t8,eT.settings)+" !important"}},iconPosition:e.positionIcon||"start","aria-label":t9,value:t,label:e.title},t)))}),null==eJ?void 0:eJ.map((e,t)=>{var n,i,l;return(0,o.BX)(eG,{value:eY,index:t,children:[(null===(n=e.tabTemplate)||void 0===n?void 0:n.id)&&eq&&(0,o.tZ)(eF,{globalConfig:eT,windowWidth:"".concat(tJ,"vw"),settings:eT.settings,template:null==e_?void 0:e_["".concat(null===(i=e.tabTemplate)||void 0===i?void 0:i.id,"-").concat(e.tabTemplateLayout,"-").concat(e.tabTemplateRoute)],route:eT.route,widgets:eT.widgets,currentBreakpoint:e.tabTemplateLayout}),!(null===(l=e.tabTemplate)||void 0===l?void 0:l.id)&&(0,o.tZ)("span",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:(0,ej.KU)(e.description)})]},t)})]})}),"accordion"===eW&&(null==eJ?void 0:eJ.map((e,t)=>{var n,i,l;return(0,o.BX)(U.Z,{sx:{...(0,ef.HV)(eW)},className:"layerOne accordion",defaultExpanded:e.accordionExpanded,children:[(0,o.tZ)(A.Z,{className:"item",sx:{fontSize:"3em",backgroundColor:(0,ef.Lq)(e.backgroundColor,null==eT?void 0:eT.settings),color:(0,ef.Lq)(e.color,null==eT?void 0:eT.settings),...(0,ef.HV)(eW)},expandIcon:(0,o.tZ)(eX,{"aria-label":t9,icon:e.icon||"md/MdExpandMore",fallback:null,style:{color:(0,ef.Lq)(e.iconColor,null==eT?void 0:eT.settings)}}),"aria-controls":"panel1a-content-".concat(t),id:"panel1a-header-".concat(t),children:e.title}),(0,o.BX)(F.Z,{sx:{fontSize:"2.5em"},children:[(null===(n=e.tabTemplate)||void 0===n?void 0:n.id)&&eq&&(0,o.tZ)(eF,{globalConfig:eT,windowWidth:"".concat(tJ,"vw"),settings:eT.settings,template:null==e_?void 0:e_["".concat(null===(i=e.tabTemplate)||void 0===i?void 0:i.id,"-").concat(e.tabTemplateLayout,"-").concat(e.tabTemplateRoute,"}")],route:eT.route,widgets:eT.widgets,currentBreakpoint:e.tabTemplateLayout}),!(null===(l=e.tabTemplate)||void 0===l?void 0:l.id)&&(0,o.tZ)("span",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:(0,ej.KU)(e.description)})]})]},t)}))]})};var eQ=d.memo(function(e){let t;let n=(0,d.useRef)(0);(0,d.useEffect)(()=>{n.current++,a.isWidgetTemplate,a.isWidgetTemplate});let i=e.type,l=e.index,a=e.globalConfig,r=e.webMode,c=null==e?void 0:e.row;e.rowsIndex,e.rowsLength;let u=e.hiddenWidgets;e.currentBreakpoint&&e.customConfig&&(t=e.customConfig[e.currentBreakpoint]);let s=t&&t["".concat(i,"-").concat(l,"LayerOne")],v=t&&t["".concat(i,"-").concat(l,"LayerTwo")],p=t&&t["".concat(i,"-").concat(l,"LayerThree")],g=t&&t["".concat(i,"-").concat(l,"Menu")],m=t&&t["".concat(i,"-").concat(l,"Config")],h=t&&t["".concat(i,"-").concat(l,"Form")],f=t&&t["".concat(i,"-").concat(l,"ConfigSelected")],w=t&&t["".concat(i,"-").concat(l,"ConfigHover")],y=t&&t["".concat(i,"-").concat(l,"Transition")],C=t&&t["".concat(i,"-").concat(l,"AttributeFill")],b=t&&t["".concat(i,"-").concat(l,"Visibility")],Z=(0,ef.OP)(null==b?void 0:b.showByPostCondition,c),k=t&&t["".concat(i,"-").concat(l,"Events")],x=(null==g?void 0:g.options)||(0,ef.B1)(i),T=!1,S=!1;return(null==s||s.enabled,((null==v?void 0:v.enabled)||(null==m?void 0:m.tabsOrientation))&&(T=!0),(null==p?void 0:p.enabled)&&(S=!0),!Z||(null==u?void 0:u.includes(i)))?(0,o.tZ)(o.HY,{}):S&&T?(0,o.tZ)("div",{className:"layerThree",children:(0,o.tZ)(eY,{parentClassName:"layerTwo",type:i,index:l,options:x,configLayerOne:s,configTransition:y,configLayerTwo:v,configLayerThree:p,configMenu:g,configWidget:m,configForm:h,configWidgetHover:w,configWidgetSelected:f,configEvents:k,configAttributeFill:C,configVisibility:b,webMode:r,globalConfig:a,row:c,...e})}):S&&!T?(0,o.tZ)(eY,{parentClassName:"layerThree",type:i,index:l,options:x,configLayerOne:s,configTransition:y,configLayerTwo:v,configLayerThree:p,configMenu:g,configWidget:m,configForm:h,configWidgetHover:w,configWidgetSelected:f,configEvents:k,configAttributeFill:C,configVisibility:b,webMode:r,globalConfig:a,row:c,...e}):T?(0,o.tZ)(eY,{parentClassName:"layerTwo",type:i,index:l,options:x,configLayerOne:s,configTransition:y,configLayerTwo:v,configLayerThree:p,configMenu:g,configWidget:m,configForm:h,configWidgetHover:w,configWidgetSelected:f,configEvents:k,configAttributeFill:C,configVisibility:b,webMode:r,globalConfig:a,row:c,...e}):(0,o.tZ)(eY,{type:i,index:l,options:x,configLayerOne:s,configTransition:y,configLayerTwo:v,configLayerThree:p,configMenu:g,configWidget:m,configForm:h,configWidgetHover:w,configWidgetSelected:f,configEvents:k,configAttributeFill:C,configVisibility:b,webMode:r,globalConfig:a,row:c,...e})}),eJ=n(57922),e$=n(50294),e0=n(54776),e1=n(6585),e2=n(16628),e4=d.memo(function(e){let[t,n]=(0,d.useState)(!1),[i,l]=(0,d.useState)(!0),a=(0,d.useRef)(!1),r=e.transition,c=(0,d.useRef)(null),u=p(c,"0px",null==r||!r.active||null==r||!r.repeat,(null==r?void 0:r.threshold)&&(null==r?void 0:r.threshold)>0&&(null==r?void 0:r.threshold)<100?(null==r?void 0:r.threshold)/100:1),s=(0,d.useRef)(0);(0,d.useEffect)(()=>{s.current++}
1);let v=()=>{if((null==a?void 0:a.current)===!0){console.log("setShow true"),n(!0),console.log("setDispatched false"),l(!1),setTimeout(()=>{console.log("setDispatched true"),l(!0)},0),console.log("waiting: ".concat(((null==r?void 0:r.delayOut)||0)+((null==r?void 0:r.durationOut)||0),"ms for hide transition")),setTimeout(()=>{console.log("setShow false"),n(!1),console.log("repeat in ".concat(null==r?void 0:r.intervalRepeat,"ms")),setTimeout(()=>{console.log(""),v()},null==r?void 0:r.intervalRepeat)},((null==r?void 0:r.delayOut)||0)+((null==r?void 0:r.durationOut)||0));return}console.log("waiting ".concat((((null==r?void 0:r.delayOut)||0)+((null==r?void 0:r.durationOut)||0))*2,"ms for start initRepeat")),setTimeout(()=>{v()},(((null==r?void 0:r.delayOut)||0)+((null==r?void 0:r.durationOut)||0))*2)};return((0,d.useEffect)(()=>{(null==r?void 0:r.active)&&(null==r?void 0:r.repeat)&&(null==r?void 0:r.intervalRepeat)>0&&v()},[]),(0,d.useEffect)(()=>{(0,d.startTransition)(()=>{u&&(null==r?void 0:r.active)&&(setTimeout(()=>{n(!0)},(null==r?void 0:r.delayIn)||0),(null==r?void 0:r.enableOut)&&(null==r?void 0:r.delayOut)&&setTimeout(()=>{n(!1),a.current=!0},(null==r?void 0:r.delayOut)||0)),!u&&(null==r?void 0:r.active)&&n(!1)})},[u,null==r?void 0:r.active]),i)?(0,o.BX)("div",{ref:c,className:e.className,style:{width:"100%",height:"100%"},children:[(null==r?void 0:r.type)==="collapse"&&(0,o.tZ)(eJ.Z,{in:t,timeout:{enter:(null==r?void 0:r.enableIn)&&((null==r?void 0:r.durationIn)||0)||0,exit:(null==r?void 0:r.enableOut)&&((null==r?void 0:r.durationOut)||0)||0},unmountOnExit:(null==r?void 0:r.unmountOnExit)||!1,children:(0,o.tZ)("div",{style:{width:"100%",height:"100%"},children:e.children})}),(null==r?void 0:r.type)==="fade"&&(0,o.tZ)(e2.Z,{in:t,timeout:{enter:(null==r?void 0:r.enableIn)&&((null==r?void 0:r.durationIn)||0)||0,exit:(null==r?void 0:r.enableOut)&&((null==r?void 0:r.durationOut)||0)||0},unmountOnExit:(null==r?void 0:r.unmountOnExit)||!1,children:(0,o.tZ)("div",{style:{width:"100%",height:"100%"},children:e.children})}),(null==r?void 0:r.type)==="grow"&&(0,o.tZ)(e$.Z,{in:t,timeout:{enter:(null==r?void 0:r.enableIn)&&((null==r?void 0:r.durationIn)||0)||0,exit:(null==r?void 0:r.enableOut)&&((null==r?void 0:r.durationOut)||0)||0},unmountOnExit:(null==r?void 0:r.unmountOnExit)||!1,children:(0,o.tZ)("div",{style:{width:"100%",height:"100%"},children:e.children})}),(null==r?void 0:r.type)==="slide"&&(0,o.tZ)(e0.Z,{direction:null==r?void 0:r.direction,in:t,timeout:{enter:(null==r?void 0:r.enableIn)&&((null==r?void 0:r.durationIn)||0)||0,exit:(null==r?void 0:r.enableOut)&&((null==r?void 0:r.durationOut)||0)||0},container:(null==r?void 0:r.relativeToContainer)?c.current:null,unmountOnExit:(null==r?void 0:r.unmountOnExit)||!1,children:(0,o.tZ)("div",{style:{width:"100%",height:"100%"},children:e.children})}),(null==r?void 0:r.type)==="zoom"&&(0,o.tZ)(e1.Z,{in:t,timeout:{enter:(null==r?void 0:r.enableIn)&&((null==r?void 0:r.durationIn)||0)||0,exit:(null==r?void 0:r.enableOut)&&((null==r?void 0:r.durationOut)||0)||0},unmountOnExit:(null==r?void 0:r.unmountOnExit)||!1,children:(0,o.tZ)("div",{style:{width:"100%",height:"100%"},children:e.children})})]}):null});let e3=B()(()=>Promise.resolve().then(n.bind(n,6532)),{loadableGenerated:{webpack:()=>[6532]}});var e5=d.memo(function(e){var t,n,i,l;let{layouts:a,currentBreakpoint:r,rowHeight:c,rowWidth:u,index:s,customConfig:v,component:p,displayConfig:h,rows:f,globalConfig:w,container:y}=e,C=(0,d.useRef)(0);(0,d.useEffect)(()=>{C.current++,w.isWidgetTemplate,w.isWidgetTemplate});let Z=[];(null==h?void 0:h.configComponents)&&(null==h?void 0:h.configComponents[s])&&(Z=null==h?void 0:h.configComponents[s].hiddenWidgets);let k={xl:(null==h?void 0:h.columnsLargeDesktop)||(null==h?void 0:h.columnsDesktop)||24,lg:(null==h?void 0:h.columnsDesktop)||24,md:(null==h?void 0:h.columnsTablet)||24,xs:(null==h?void 0:h.columnsMobile)||24},x=0,T=0;null===(t=a[r])||void 0===t||t.map(e=>{e.w>x&&(x=Math.trunc(e.w/3)),e.y+e.h>T&&(T=e.y+e.h)});let S=24/k[r],L="(((".concat(w.windowWidth||"100vw"," / ").concat(null===(n=y.gridCols)||void 0===n?void 0:n[r],") * ").concat(p.w,"))"),N=((w.windowWidth||100)/(null===(i=y.gridCols)||void 0===i?void 0:i[r])*(p.w/S)).toFixed(0),I="".concat(6*((null==h?void 0:h.widthAuto)&&(null==h?void 0:h.horizontalGutter)||0),"px");return(0,o.tZ)(b.ZP,{className:"widgets-grid",container:!0,style:{width:"100%",height:"100%",display:"grid",...(null==h?void 0:h.widthAuto)?{gridTemplateColumns:"repeat(".concat(p.gridCols,", [col-start] auto)"),columnGap:"calc(".concat(L," / ").concat(S," / ").concat(p.gridCols,")")}:{gridTemplateColumns:"repeat(".concat(p.gridCols,", [col-start] 1fr)")},...(null==h?void 0:h.heightAuto)?{gridAutoRows:"minmax(calc(".concat(L," / ").concat(S," / ").concat(p.gridCols,"), auto)")}:{gridTemplateRows:"repeat(".concat(T,", [col-start] calc(").concat(L," / ").concat(S," / ").concat(p.gridCols,"))")}},children:null===(l=a[r])||void 0===l?void 0:l.map((e,t)=>
1{var n,i,l,a,d,C,k,x,T,R,O,q,B,M,z,E,P,W,H,_,D,V,U,F,A,j,X,G;return(0,ef.OP)(null==v?void 0:null===(i=v[r])||void 0===i?void 0:null===(n=i["".concat(e.data,"-").concat(e.i,"Visibility")])||void 0===n?void 0:n.showByPostCondition,f[s])&&(0,o.BX)(b.ZP,{item:!0,className:"widget ".concat("widget"===e.type&&e.data," widget-").concat(null==e?void 0:e.i),"data-name":e.data,"data-width":e.w,"data-height":e.h,style:{width:null==h||!h.widthAuto||(null==v?void 0:null===(a=v[r])||void 0===a?void 0:null===(l=a["".concat(e.data,"-").concat(e.i,"Config")])||void 0===l?void 0:l.noLineBreak)?"100%":"calc(((".concat(L," / ").concat(S," / ").concat(p.gridCols,") * ").concat(null==e?void 0:e.w,") - ").concat(I,")"),gridColumn:"".concat((null==e?void 0:e.x)+1," / span ").concat(null==e?void 0:e.w),gridRow:"".concat((null==e?void 0:e.y)+1," / span ").concat(null==e?void 0:e.h),zIndex:(null==v?void 0:null===(C=v[r])||void 0===C?void 0:null===(d=C["".concat(e.data,"-").concat(e.i,"Config")])||void 0===d?void 0:d.zIndex)||0,fontSize:"calc(".concat(L," / 100 / ").concat(S,")")},onClick:()=>{var e,t,n,o,i,l,a;(null===(e=f[s])||void 0===e?void 0:e.name)&&(0,g.q)("widget_click",{tenant_url:null===(t=w.route)||void 0===t?void 0:t.tenantUrl,event_category:"widget_click",event_label:null===(n=f[s])||void 0===n?void 0:n.name,value:null===(o=f[s])||void 0===o?void 0:o.name,redirect_url:null===(i=f[s])||void 0===i?void 0:i.redirectUrl,keywords:null===(a=f[s])||void 0===a?void 0:null===(l=a.keywords)||void 0===l?void 0:l.join(",")})},children:[(null==v?void 0:null===(T=v[r])||void 0===T?void 0:null===(x=T["".concat(e.data,"-").concat(e.i,"Config")])||void 0===x?void 0:null===(k=x.allowOverride)||void 0===k?void 0:k.enabled)&&(null==v?void 0:null===(q=v[r])||void 0===q?void 0:null===(O=q["".concat(e.data,"-").concat(e.i,"Config")])||void 0===O?void 0:null===(R=O.allowOverride)||void 0===R?void 0:R.color)&&(0,o.tZ)("style",{children:"\n .template-".concat(null==w?void 0:null===(B=w.template)||void 0===B?void 0:B.id," .container-").concat(null==y?void 0:y.id," .component-").concat(null==p?void 0:p.i," .widget-").concat(null==e?void 0:e.i," .layerOne {\n color: ").concat((0,ef.Lq)(null==h?void 0:null===(M=h.component)||void 0===M?void 0:M.color,w.settings)," !important;\n }\n ")}),(null==v?void 0:null===(P=v[r])||void 0===P?void 0:null===(E=P["".concat(e.data,"-").concat(e.i,"Config")])||void 0===E?void 0:null===(z=E.allowOverride)||void 0===z?void 0:z.enabled)&&(null==v?void 0:null===(_=v[r])||void 0===_?void 0:null===(H=_["".concat(e.data,"-").concat(e.i,"Config")])||void 0===H?void 0:null===(W=H.allowOverride)||void 0===W?void 0:W.backgroundColor)&&(0,o.tZ)("style",{children:"\n .template-".concat(null==w?void 0:null===(D=w.template)||void 0===D?void 0:D.id," .container-").concat(null==y?void 0:y.id," .component-").concat(null==p?void 0:p.i," .widget-").concat(null==e?void 0:e.i," .layerOne {\n background-color: ").concat((0,ef.Lq)(null==h?void 0:null===(V=h.component)||void 0===V?void 0:V.backgroundColor,w.settings)," !important;\n }\n ")}),((null==f?void 0:null===(U=f[s])||void 0===U?void 0:U.name)||(null==e?void 0:e.name))&&(0,o.tZ)(m,{eventName:(null===(F=f[s])||void 0===F?void 0:F.name)||e.name,analyticType:"widget",widgetId:null===(A=e.data)||void 0===A?void 0:A.id,...w}),(null==e?void 0:e.type)==="customWidget"&&(0,o.tZ)(e3,{globalConfig:w,item:e,value:e.data,row:f&&f.length>0&&f[s]}),(null==e?void 0:e.framework)==="mui"&&(null==e?void 0:e.type)==="widget"&&((null==v?void 0:null===(X=v[r])||void 0===X?void 0:null===(j=X["".concat(e.data,"-").concat(e.i,"Transition")])||void 0===j?void 0:j.active)?(0,o.tZ)(e4,{transition:null==v?void 0:null===(G=v[r])||void 0===G?void 0:G["".concat(e.data,"-").concat(e.i,"Transition")],children:(0,o.tZ)(eQ,{webMode:!0,item:e,currentBreakpoint:r,customConfig:v,type:null==e?void 0:e.data,index:null==e?void 0:e.i,rowsIndex:s,rowsLength:null==f?void 0:f.length,row:f&&f.length>0&&f[s],hiddenWidgets:Z,globalConfig:{...w,displayConfig:h,displayConfigComponent:null==h?void 0:h.component,width:e.w,height:e.h*c,componentWidth:N,componentHeight:null==p?void 0:p.h,currentBreakpoint:r,rowWidth:u,colSizes:{xl:(null==h?void 0:h.columnsLargeDesktop)||(null==h?void 0:h.columnsDesktop)||24,lg:(null==h?void 0:h.columnsDesktop)||24,md:(null==h?void 0:h.columnsTablet)||24,xs:(null==h?void 0:h.columnsMobile)||24}}})}):(0,o.tZ)(eQ,{webMode:!0,item:e,currentBreakpoint:r,customConfig:v,type:null==e?void 0:e.data,index:null==e?void 0:e.i,rowsIndex:s,rowsLength:null==f?void 0:f.length,row:f&&f.length>0&&f[s],hiddenWidgets:Z,globalConfig:{...w,displayConfig:h,displayConfigComponent:null==h?void 0:h.component,width:e.w,height:e.h*c,componentWidth:N,componentHeight:null==p?void 0:p.h,currentBreakpoint:r,rowWidth:u,colSizes:{xl:(null==h?void 0:h.columnsLargeDesktop)||(null==h?void 0:h.columnsDesktop)||24,lg:(null==h?void 0:h.columnsDesktop)||24,md:(null==h?void 0:h.columnsTablet)||24,xs:(null==h?void 0:h.columnsMobile)||24}}}))]},null==e?void 0:e.i)})})}
1),e6=(0,d.memo)(function(e){let{component:t,displayConfig:n,rows:i,globalConfig:l,layouts:a,currentBreakpoint:r,rowHeight:c,rowWidth:u,customConfig:s,index:v,item:p,loading:g,container:m}=e,h=(0,d.useRef)(0);return(0,d.useEffect)(()=>{h.current++,l.isWidgetTemplate,l.isWidgetTemplate}),(0,o.tZ)(O,{index:v,item:p,component:t,container:m,displayConfig:n,globalConfig:l,children:(0,o.tZ)(e5,{container:m,layouts:a,currentBreakpoint:r,rowHeight:c,rowWidth:u,index:v,customConfig:s,component:t,displayConfig:n,rows:i,globalConfig:{...l,loadingMoreRows:g}},"row-component-".concat(null==t?void 0:t.i))},"component-".concat(null==t?void 0:t.i,"-").concat(v))}),e8=n(71911),e7=n(30719);function e9(e){let t=e.backgroundOption;return"card"===t?(0,o.tZ)(Y.Z,{ref:e.componentRef,style:e.style,className:"".concat(e.className," layer-component-container"),id:e.id,"data-name":e.dataName,"data-width":e.dataWidth,"data-height":e.dataHeight,children:e.children}):"paper"===t?(0,o.tZ)(et.Z,{ref:e.componentRef,style:e.style,className:"".concat(e.className," layer-component-container"),elevation:3,square:!0,id:e.id,"data-name":e.dataName,"data-width":e.dataWidth,"data-height":e.dataHeight,children:e.children}):"box"===t?(0,o.tZ)(j.Z,{ref:e.componentRef,style:e.style,className:"".concat(e.className," layer-component-container"),id:e.id,"data-name":e.dataName,"data-width":e.dataWidth,"data-height":e.dataHeight,children:e.children}):(0,o.tZ)(b.ZP,{container:!0,ref:e.componentRef,style:e.style,className:"".concat(e.className," layer-component-container"),id:e.id,"data-name":e.dataName,"data-width":e.dataWidth,"data-height":e.dataHeight,children:e.children})}var te=(0,d.memo)(function(e){let{index:t,item:n,component:i,displayConfig:l,globalConfig:a,layouts:r,currentBreakpoint:c,rowHeight:u,rowWidth:s,customConfig:v,rows:m,container:h}=e,f=(0,d.useRef)(),w=p(f,"0px",!0),y=(0,d.useRef)(0);(0,d.useEffect)(()=>{y.current++,a.isWidgetTemplate,a.isWidgetTemplate});let C=p((null==l?void 0:l.replaceUrl)?f:null,"0px",!1);return(0,d.useEffect)(()=>{var e;C&&((null==l?void 0:l.replaceUrl)||(null===(e=a.settings)||void 0===e?void 0:e.gaReplaceUrl))&&setTimeout(()=>{var e;window.history.replaceState({},n.title,n.slug),window.document.title=n.title,(null==l?void 0:l.pageView)||null===(e=a.settings)||void 0===e||e.gaPageView},1e3)},[C]),(0,d.useEffect)(()=>{var e,t,o,r,d,c;w&&((null==l?void 0:l.pageView)||null===(e=a.settings)||void 0===e||e.gaPageView),w&&(null==l?void 0:l.eventView)&&(0,g.q)("content_view",{tenant_url:null===(t=a.route)||void 0===t?void 0:t.tenantUrl,container_name:null==h?void 0:h.name,container_id:null==h?void 0:h.id,component_id:i.id,...(null==n?void 0:n.primaryAuthor)&&{author_id:null==n?void 0:null===(o=n.primaryAuthor)||void 0===o?void 0:o.id,author_url:null==n?void 0:null===(r=n.primaryAuthor)||void 0===r?void 0:r.slug,author_name:null==n?void 0:null===(d=n.primaryAuthor)||void 0===d?void 0:d.name},event_category:(null==l?void 0:l.eventCategory)||(null==n?void 0:null===(c=n.primaryCategory)||void 0===c?void 0:c.name),event_label:(null==l?void 0:l.eventName)||(null==n?void 0:n.title),value:null==n?void 0:n.slug})},[w]),(0,o.tZ)(b.ZP,{ref:f,id:"row-component-".concat(null==i?void 0:i.i),className:"row-component row-component-".concat(t," row-component-").concat(null==i?void 0:i.i),onClick:()=>{var e;(0,g.q)("content_click",{tenant_url:null===(e=a.route)||void 0===e?void 0:e.tenantUrl,event_category:"content_click",event_label:(null==l?void 0:l.eventName)||(null==n?void 0:n.title),value:(null==l?void 0:l.eventName)||(null==n?void 0:n.title)})},children:(0,o.tZ)(e5,{container:h,layouts:r,currentBreakpoint:c,rowHeight:u,rowWidth:s,index:t,customConfig:v,component:i,displayConfig:l,rows:m,globalConfig:a})},"row-component-"+t)});function tt(e){let{component:t,displayConfig:n,rows:i,globalConfig:l,layouts:a,currentBreakpoint:r,rowHeight:c,rowWidth:u,customConfig:s,container:p,loading:g,swiperRef:m}=e,h={"--swiper-navigation-color":((0,v.w3)(n.slideNavigationColor)?"var(--".concat(n.slideNavigationColor,")"):n.slideNavigationColor)||"#FFF","--swiper-pagination-color":((0,v.w3)(n.slidePaginationColor)?"var(--".concat(n.slidePaginationColor,")"):n.slidePaginationColor)||"#FFF"},f=(0,d.useRef)(0);return(0,d.useEffect)(()=>{f.current++,l.isWidgetTemplate,l.isWidgetTemplate}
1),(0,o.tZ)(e9,{componentRef:m,className:"container-grid",id:t.id,backgroundOption:null==n?void 0:n.backgroundOption,children:(0,o.tZ)(e7.tq,{modules:[e8.W_,e8.tl,e8.LW,e8.s5,e8.pt],style:{...h},autoplay:null!=n&&!!n.slideAutoPlay&&{delay:(null==n?void 0:n.slideTimeOut)||3e3,disableOnInteraction:!1},loop:!0,slidesPerView:n.slidesPerView||1,pagination:n.slidePagination||!1,navigation:n.slideNavigation||!1,spaceBetween:n.spaceBetween||1,children:i.map((e,d)=>(0,o.tZ)(e7.o5,{children:(0,o.tZ)(te,{index:d,item:e,component:t,container:p,displayConfig:n,globalConfig:l,layouts:a,currentBreakpoint:r,rowHeight:c,rowWidth:u,customConfig:s,rows:i})},d))})},t.i)}let tn=e=>{let t;let{onChange:n,cols:i,transformScale:l,preventCollision:a,value:c,currentBreakpoint:u,rowWidth:s,rowHeight:v,disableDisplayConfig:m,globalConfig:f,component:w,renderAs:y,containerIndex:C,parentClassName:x,container:T}=e,S=(0,d.useRef)(),L=(0,d.useRef)(),N=p(S,"0px");p(L,"0px",!1,.5);let I=(0,d.useRef)(0),O=(0,d.useRef)(null),q=(0,d.useRef)([]),B=(0,d.useRef)(!1);(0,d.useEffect)(()=>{I.current++,f.isWidgetTemplate,f.isWidgetTemplate});let{setAppState:M}=(0,h.ZP)(),z={};z.widgetIndex=(0,h.zn)(e=>null==e?void 0:e.widgetIndex),z.containerId=(0,h.zn)(e=>null==e?void 0:e.containerId),z.loadMore=(0,h.zn)(e=>null==e?void 0:e.loadMore),z.queryString=(0,h.zn)(e=>null==e?void 0:e.queryString);let E=(0,r.useRouter)(),P=(null==f?void 0:f.route)||null,W=null==c?void 0:c.displayConfig,{layouts:H,breakpoint:_,config:D}=null==c?void 0:c.content,V=null==c?void 0:c.customConfig,[U,F]=(0,d.useState)(!1);t=(null==W?void 0:W.filterBy)?c.rows||[]:Array.from(Array((null==W?void 0:W.limit)||1).keys());let[A,j]=(0,d.useState)(t);q.current=A;let X=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=(null==W?void 0:W.limit)||1,l=o?0:((null==W?void 0:W.offset)||0)+e.length;if(!0===B.current&&!1===o){F(!1);return}try{var a,r,d,c,u,s,v,p,m;F(!0);let o=P.tenantUrl,h=null==f?void 0:null===(r=f.settings)||void 0===r?void 0:null===(a=r.tenant)||void 0===a?void 0:a.id;(null==f?void 0:null===(c=f.settings)||void 0===c?void 0:null===(d=c.emulateDataDomain)||void 0===d?void 0:d.enabled)&&(o=null==f?void 0:null===(v=f.settings)||void 0===v?void 0:null===(s=v.emulateDataDomain)||void 0===s?void 0:s.url,h=null==f?void 0:null===(m=f.settings)||void 0===m?void 0:null===(p=m.emulateDataDomain)||void 0===p?void 0:p.tenantId);let y=await R(null==P?void 0:P.slug,{...W,limit:i,offset:l},o,(null==W?void 0:null===(u=W.filterByParams)||void 0===u?void 0:u.includes("search"))?{...(null==n?void 0:n.text)&&{text:null==n?void 0:n.text},...(null==n?void 0:n.date)&&{date:null==n?void 0:n.date},...(null==n?void 0:n.options)&&{options:null==n?void 0:n.options}}:null,h,null==f?void 0:f.token);if(F(!1),JSON.stringify(y.rows)===JSON.stringify(q.current)){B.current=!0,0===q.current.length&&0===y.rows.length&&j([]);return}q.current=y.rows,Array.isArray(y.rows)&&y.rows.length>0?t?(e=(null==W?void 0:W.infiniteScrollLimitResults)>0?e.concat(y.rows).slice(0,(null==W?void 0:W.limit)+(null==W?void 0:W.infiniteScrollLimitResults)):e.concat(y.rows),(null==W?void 0:W.infiniteScrollLimitResults)>0&&e.length>=(null==W?void 0:W.limit)+(null==W?void 0:W.infiniteScrollLimitResults)&&(B.current=!0),e=Array.from(new Set(e.map(e=>e.slug))).map(t=>e.find(e=>e.slug===t)),j(e)):(y.rows=Array.from(new Set(y.rows.map(e=>e.slug))).map(e=>y.rows.find(t=>t.slug===e)),j(y.rows||[])):(t||j([]),t&&(B.current=!0)),t&&M({widgetIndex:null==z?void 0:z.widgetIndex,loading:!1}),(0,g.q)("infinite_scroll",{tenant_url:P.tenantUrl,container_name:null==T?void 0:T.name,container_id:null==T?void 0:T.id,component_id:w.id,event_category:(null==W?void 0:W.eventCategory)||"infinite-scroll",event_label:(null==W?void 0:W.eventName)||"component-".concat(w.i),value:e.length})}catch(e){console.log("\uD83D\uDE80 ~ file: ComponentGridLayout.tsx:47 ~ renderComponent ~ err",e),F(!1),t&&M({widgetIndex:null==z?void 0:z.widgetIndex,loading:!1})}};return((0,d.useEffect)(()=>{var e,t,n;let o=(null==z?void 0:z.queryString)||(null==z?void 0:z.queryString)===""&&(null==z?void 0:z.queryString)||(null===(e=E.query)||void 0===e?void 0:e.searchByText),i=(null==z?void 0:z.queryDate)||(null===(t=E.query)||void 0===t?void 0:t.searchByDate),l=(null==z?void 0:z.queryOptions)||(null===(n=E.query)||void 0===n?void 0:n.searchByOptions);(null==W?void 0:W.refreshEvery)&&!O.current&&(0,d.startTransition)(()=>{X(A,!1,{text:o,date:i,options:l},!0)})},[]),(0,d.useEffect)(()=>{var e,t,n;let o=(null==z?void 0:z.queryString)||(null==z?void 0:z.queryString)===""&&(null==z?void 0:z.queryString)||(null===(e=E.query)||void 0===e?void 0:e.searchByText),i=(null==z?void 0:z.queryDate)||(null===(t=E.query)||void 0===t?void 0:t.searchByDate),l=(null==z?void 0:z.queryOptions)||(null===(n=E.query)||void 0===n?void 0:n.searchByOptions);return(null==W?void 0:W.refreshEvery)&&!O.current&&(O.current=setInterval(()=>{X(A,!1,{text:o,date:i,options:l},!0)},(null==W?void 0:W.refreshSeconds)*1e3)),()=>{O.current&&(clearInterval(O.current),O.current=null)}},[]),(0,d.useEffect)(()=>{let e=null==z?void 0:z.containerId,t=null==z?void 0:z.loadMore,n=null==z?void 0:z.queryString,o=null==z?void 0:z.queryDate,i=null==z?void 0:z.queryOptions;if(B.current=!1,q.current=[],e===T.id){var l,a;if((null==W?void 0:null===(l=W.filterByParams)||void 0===l?void 0:l.includes("search"))&&t){(0,d.startTransition)(()=>{X(A,!0,{text:n,date:o,options:i})});return}if((null==W?void 0:null===(a=W.filterByParams)||void 0===a?void 0:a.includes("search"))&&(n||""===n||o||i)){(0,d.startTransition)(()=>{X(A,!1,{text:n,date:o,options:i},!0)});return}}},[null==z?void 0:z.loadMore,null==z?void 0:z.containerId,null==z?void 0:z.queryString,null==z?void 0:z.queryDate,null==z?void 0:z.queryOptions]),(0,d.useEffect)(()=>{var e,t,n;let o=(null==z?void 0:z.queryString)||(null==z?void 0:z.queryString)===""&&(null==z?void 0:z.queryString)||(null===(e=E.query)||void 0===e?void 0:e.searchByText),i=(null==z?void 0:z.queryDate)||(null===(t=E.query)||void 0===t?void 0:t.searchByDate),l=(null==z?void 0:z.queryOptions)||(null===(n=E.query)||void 0===n?void 0:n.searchByOptions);(null==W?void 0:W.infiniteScroll)&&N&&(0,d.startTransition)(()=>{X(A,!0,{text:o,date:i,options:l})})},[N]),(null==W?void 0:W.formatType)&&(null==W?void 0:W.formatType)!=="grid")?(null==W?void 0:W.formatType)==="horizontalSlide"?(0,o.tZ)(tt,{swiperRef:L,component:w,container:T,displayConfig:W,rows:A,globalConfig:f,layouts:H,currentBreakpoint:u,rowHeight:v,rowWidth:s,customConfig:V,loading:U}):void 0:(0,o.BX)(b.ZP,{columns:24,className:"component-rows",container:!0,rowSpacing:null==W?void 0:W.verticalGutter,columnSpacing:null==W?void 0:W.horizontalGutter,id:"c
1omponent-".concat(null==w?void 0:w.i),ref:L,children:[A.map((e,t)=>(0,o.tZ)(e6,{component:w,container:T,displayConfig:W,rows:A,globalConfig:f,layouts:H,currentBreakpoint:u,rowHeight:v,rowWidth:s,customConfig:V,index:t,item:e,loading:U},"component-".concat(null==w?void 0:w.i,"-").concat(t))),U&&(null==W?void 0:W.infiniteScroll)&&(null==W?void 0:W.progressType)==="circular"&&(0,o.tZ)(b.ZP,{width:"100%",height:100,display:"flex",justifyContent:"center",alignItems:"center",item:!0,className:"component-".concat(null==w?void 0:w.i,"-circular-progress"),children:(0,o.tZ)(Z.Z,{sx:{color:(0,ef.Lq)((null==W?void 0:W.progressColor)||"primary",f.settings)}})}),U&&(null==W?void 0:W.infiniteScroll)&&(null==W?void 0:W.progressType)==="linear"&&(0,o.tZ)(b.ZP,{sx:{width:"100%",height:100,marginTop:5,marginBottom:5},item:!0,className:"component-".concat(null==w?void 0:w.i,"-linear-progress"),children:(0,o.tZ)(k.Z,{sx:{backgroundColor:"#f0f0f0","& .MuiLinearProgress-bar":{borderRadius:5,backgroundColor:(0,ef.Lq)((null==W?void 0:W.progressColor)||"primary",f.settings)}}})}),(null==W?void 0:W.infiniteScroll)&&(0,o.tZ)("div",{style:{width:"100%",height:100},ref:S})]})};tn.propTypes={onChange:T().func,cols:T().object.isRequired,transformScale:T().number.isRequired,preventCollision:T().bool.isRequired,value:T().object.isRequired,currentBreakpoint:T().string.isRequired,rowWidth:T().number.isRequired,rowHeight:T().number.isRequired,disableDisplayConfig:T().bool,globalConfig:T().object,component:T().object,renderAs:T().string,containerIndex:T().number,parentClassName:T().string,widgetTemplates:T().object,container:T().object};var to=d.memo(tn),ti=n(9669),tl=n.n(ti);n(35805);let ta=tl().create({baseURL:i.Z.servicesUrl,timeout:6e4,paramsSerializer:function(e){return N().stringify(e,{arrayFormat:"brackets",filter:(e,t)=>s().isMoment(t)||t instanceof Date?t.toISOString():t})}});ta.interceptors.request.use(async function(e){return e.headers["Accept-Language"]="es-ES",e},function(e){return console.log("Request error: ",e),Promise.reject(e)});var tr=n(69483),td=n.n(tr);let tc=e=>{var t,n,i,l,a;let{onChange:c,cols:u,transformScale:s,preventCollision:p,container:g,currentBreakpoint:Z,rowWidth:k,rowHeight:x,disableDisplayConfig:T,globalConfig:S,containerIndex:L,parentClassName:N,gridCols:I}=e,{setAppState:R}=(0,h.ZP)(),O=(0,r.useRouter)(),q={};q.subscribed=(0,h.zn)(e=>null==e?void 0:e.subscribed);let B=(0,d.useRef)(0);(0,d.useEffect)(()=>{B.current++,S.isWidgetTemplate,S.isWidgetTemplate});let[M,z]=(0,d.useState)(!1),[E,P]=(0,d.useState)("success"),[W,H]=(0,d.useState)(!1),_=null==g?void 0:null===(t=g.content)||void 0===t?void 0:t.layouts;null==g||null===(n=g.content)||void 0===n||n.breakpoint,null==g||null===(i=g.content)||void 0===i||i.config;let D=null==g?void 0:g.renderAs,V=null==g?void 0:g.customConfig;if(V){let e=V[Z];V&&(null==e||e.container)}let U=0,F=0;null==_||null===(l=_[Z])||void 0===l||l.map(e=>{e.w>U&&(U=Math.trunc(e.w/3)),e.y+e.h>F&&(F=e.y+e.h)}),(0,d.useEffect)(()=>{(0,d.startTransition)(()=>{(0,v.pg)(H)})},[,null==q?void 0:q.subscribed]);let A=async(e,t,n)=>{e.preventDefault();let o=Object.fromEntries(new FormData(e.target).entries());if("default"===t.formType){let n=o.text,i=o.date,l=o.options,a=t.formRedirectUrl;a+="?",g.id&&(a+="containerId=".concat(g.id,"&")),n&&(a+="searchByText=".concat(n,"&")),i&&(a+="searchByDate=".concat(i,"&")),l&&(a+="searchByOptions=".concat(l)),t.formRedirect&&(0,v.Ws)(null,e,a,O);return}ta.defaults.headers.Authorization=S.token;let i={...o};delete i.email,delete i.name,delete i.message,delete i.phone,delete i.subscriptionCategories;let l=null,a=!1;if(o.email&&"subscription"!==t.formType){let e=o.email;if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)){z("El correo electr\xf3nico no es v\xe1lido"),P("error"),a=!0;return}}if(o.email&&"subscription"===t.formType){let e=o.email;if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)){z("El correo electr\xf3nico no es v\xe1lido"),P("error"),a=!0;return}if(t.validateEmailWithGoogle)try{let t=await (0,v.nS)();console.log("\uD83D\uDE80 ~ file: ContainerGridLayout.tsx:131 ~ onSubmit ~ user:",t),o.displayName=t.displayName,o.photoURL=t.photoURL,o.phoneNumber=t.phoneNumber,o.emailVerified=t.emailVerified,o.providerId=t.providerId,o.email=t.email,t.email!==e&&(z("El correo electr\xf3nico validado no coincide con el ingresado, se utilizar\xe1 ".concat(o.email)),P("info"),a=!0)}catch(e){console.log("\uD83D\uDE80 ~ file: ContainerGridLayout.t
1sx:128 ~ onSubmit ~ error:",e),z("Lo sentimos, no se ha podido validar el correo electr\xf3nico"),P("error"),e=!0;return}}if("subscription"===t.formType&&t.notificationsRequest){let e=await (0,v.mA)(null==t?void 0:t.formName,null==t?void 0:t.formType,n);200===e.status?l=e.data:(a&&await new Promise(e=>setTimeout(e,5e3)),z("Tu navegador no soporta notificaciones"),P("info"),a=!0)}let r={data:{tokenPush:l,name:(null==t?void 0:t.formName)||"default",type:(null==t?void 0:t.formType)||"default",email:o.email,fullName:o.name,message:o.message,phone:o.phone,subscriptionCategories:o.subscriptionCategories,data:i,displayName:o.displayName,photoURL:o.photoURL,phoneNumber:o.phoneNumber,emailVerified:o.emailVerified,providerId:o.providerId}};try{if(r.data.tokenPush||r.data.email||r.data.fullName||r.data.message||r.data.phone||r.data.subscriptionCategories||Object.keys(r.data.data).length>0){try{var d,c;await ta.post("/tenant/".concat(null===(c=S.settings)||void 0===c?void 0:null===(d=c.tenant)||void 0===d?void 0:d.id,"/form"),r),"subscription"===t.formType&&(t.isLandingPage||td().setItem("subscribed",!0),R({subscribed:!0}))}catch(n){console.log("\uD83D\uDE80 ~ file: ContainerGridLayout.tsx:127 ~ onSubmit ~ error:",n),n&&await new Promise(e=>setTimeout(e,5e3)),"subscription"!==t.formType&&(z("Ya tenemos tus datos, gracias por contactarnos"),P("info")),"subscription"===t.formType&&(z("Ya te encuentras suscrito a este contenido"),P("info"),t.isLandingPage||td().setItem("subscribed",!0),R({subscribed:!0})),e.target.reset();return}a&&await new Promise(e=>setTimeout(e,5e3)),"contact"===t.formType&&(z("Gracias por contactarnos"),P("success")),"subscription"===t.formType&&(z("Gracias por suscribirte"),P("success")),"newsletter"===t.formType&&(z("Gracias por suscribirte"),P("success"))}e.target.reset()}catch(e){console.log(e)}};return(0,o.BX)(b.ZP,{id:"container-".concat(g.id),container:!0,children:[(0,o.tZ)(w.Z,{open:!!M,autoHideDuration:6e3,onClose:()=>{z(!1)},anchorOrigin:{vertical:"top",horizontal:"center"},children:(0,o.tZ)(y.Z,{onClose:()=>{z(!1)},severity:E,sx:{fontSize:"1rem","& .MuiAlert-icon":{fontSize:"1.4rem"}},children:M})}),(0,o.BX)(b.ZP,{container:!0,className:"container-grid",style:{display:"grid",gridTemplateColumns:g.widthAuto?"auto":"repeat(".concat(null==I?void 0:I[Z],", [col-start] 1fr)"),gridAutoRows:g.heightAuto?"auto":"minmax(calc(".concat(S.windowWidth||"100vw"," / ").concat(null==I?void 0:I[Z],"), auto)"),fontSize:"calc(".concat(S.windowWidth||"100vw"," / 100)")},children:[(0,o.tZ)("style",{children:" \n .container-".concat(g.id," .component {\n width: auto !important;\n height: auto !important;\n }\n ")}),null==_?void 0:null===(a=_[Z])||void 0===a?void 0:a.filter(e=>{var t,n,o,i;return(null===(n=e.data)||void 0===n?void 0:null===(t=n.displayConfig)||void 0===t?void 0:t.displayByCondition)==="subscriber"?W:(null===(i=e.data)||void 0===i?void 0:null===(o=i.displayConfig)||void 0===o?void 0:o.displayByCondition)!=="visitor"||!W}).map((e,t)=>{var n,i,l,a,r,d,c,u,s,v,p,h,w,y,b,k,T,I,R,O,q,B,M,z,E,P,W,H,_,V;return((null===(i=e.data)||void 0===i?void 0:null===(n=i.rows)||void 0===n?void 0:n.length)>0||!(null==e?void 0:null===(a=e.data)||void 0===a?void 0:null===(l=a.displayConfig)||void 0===l?void 0:l.filterBy))&&(0,o.BX)(e9,{className:"component component-".concat(null==e?void 0:e.i," component-").concat(null==e?void 0:e.id," ").concat((null==e?void 0:null===(u=e.data)||void 0===u?void 0:null===(c=u.displayConfig)||void 0===c?void 0:null===(d=c.classNames)||void 0===d?void 0:null===(r=d.split(","))||void 0===r?void 0:r.join(" "))||""),dataName:e.name,dataWidth:e.w,dataHeight:e.h,style:{gridColumn:"".concat(e.x+1," / span ").concat(e.w),gridRow:"".concat(e.y+1," / span ").concat(e.h),zIndex:null==e?void 0:null===(v=e.data)||void 0===v?void 0:null===(s=v.displayConfig)||void 0===s?void 0:s.zIndex},id:e.id,backgroundOption:null==e?void 0:null===(h=e.data)||void 0===h?void 0:null===(p=h.displayConfig)||void 0===p?void 0:p.backgroundOption,children:[e.name&&(0,o.tZ)(m,{eventName:e.name,analyticType:"component",componentId:e.id,...S}),(0,o.tZ)(f.a,{theme:(null==S?void 0:null===(y=S.settings)||void 0===y?void 0:null===(w=y.paletteThemeMui)||void 0===w?void 0:w.overwriteTemplate)?(0,C.Z)({palette:{...null==S?void 0:null===(b=S.settings.paletteThemeMui)||void 0===b?void 0:b.palette}}):(0,C.Z)({palette:{...null===(T=e.data)||void 0===T?void 0:null===(k=T.customConfig)||void 0===k?void 0:k.palette}}),children:(null===(O=e.data)||void 0===O?void 0:null===(R=O.displayConfig)||void 0===R?void 0:null===(I=R.transition)||void 0===I?void 0:I.active)?(0,o.tZ)(e4,{transition:null===(B=e.data)||void 0===B?void 0:null===(q=B.displayConfig)||void 0===q?void 0:q.transition,children:(null===(z=e.data)||void 0===z?void 0:null===(M=z.displayConfig)||void 0===M?void 0:M.isForm)?(0,o.tZ)("form",{name:null===(P=e.data)||void 0===P?void 0:null===(E=P.displayConfig)||void 0===E?void 0:E.formName,style:{width:"100%",height:"100%"},onSubmit:t=>{var n;return A(t,null===(n=e.data)||void 0===n?void 0:n.displayConfig,e.i)},children:(0,o.tZ)(to,{parentClassName:N,renderAs:D,globalConfig:S,component:e,value:e.data,containerIndex:L,container:g,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:x,transformScale:1,preventCollision:!1,currentBreakpoint:Z},"component-"+e.i)}):(0,o.tZ)(to,{parentClassName:N,renderAs:D,globalConfig:S,component:e,value:e.data,containerIndex:L,container:g,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:x,transformScale:1,preventCollision:!1,currentBreakpoint:Z},"component-"+e.i)}):(null===(H=e.data)||void 0===H?void 0:null===(W=H.displayConfig)||void 0===W?void 0:W.isForm)?(0,o.tZ)("form",{name:null===(V=e.data)||void 0===V?void 0:null===(_=V.displayConfig)||void 0===_?void 0:_.formName,style:{width:"100%",height:"100%"},onSubmit:t=>{var n;return A(t,null===(n=e.data)||void 0===n?void 0:n.displayConfig,e.i)},children:(0,o.tZ)(to,{parentClassName:N,renderAs:D,globalConfig:S,component:e,value:e.data,containerIndex:L,container:g,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:x,transformScale:1,preventCollision:!1,currentBreakpoint:Z},"component-"+e.i)}):(0,o.tZ)(to,{parentClassName:N,renderAs:D,globalConfig:S,component:e,value:e.data,containerIndex:L,container:g,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:x,transformScale:1,preventCollision:!1,currentBreakpoint:Z},"component-"+e.i)})]},"container-".concat(e.i))})]})]})};tc.propTypes={onChange:T().func,cols:T().object.isRequired,transformScale:T().number.isRequired,preventCollision:T().bool.isRequired,container:T().object.isRequired,currentBreakpoint:T().string.isRequired,rowWidth:T().number.isRequired,rowHeight:T().number.isRequired,disableDisplayConfig:T().bool,globalConfig:T().object,containerIndex:T().number,parentClassName:T().string,gridCols:T().object};var tu=d.memo(tc),ts=n(14564),tv=n(48831),tp=n(18629),tg=n(58826),tm=n(78262);async function th(e,t,n,o,i,l,a){let r=await I("/tenant/".concat(l,"/web/render-template"),{templateId:e,slug:t,tenantUrl:n,breakpoint:o,state:i});return await r.json()}let tf=d.forwardRef(function(e,t){return(0,o.tZ)(e0.Z,{direction:e.direction||"up",ref:t,...e})}),tw=d.forwardRef(function(e,t){return(0,o.tZ)(e2.Z,{ref:t,...e})});var ty=d.memo(function(e){var t,n,i,l,a,c;let{setAppState:u}=(0,h.ZP)(),s=(0,r.useRouter)(),v=null===(t=e.globalConfig)||void 0===t?void 0:t.widgetTemplates,p=null===(n=e.globalConfig)||void 0===n?void 0:n.route,g=null===(i=e.globalConfig)||void 0===i?void 0:i.currentBreakpoint,m=null===(l=e.globalConfig)||void 0===l?void 0:l.settings,f=null===(a=e.globalConfig)||void 0===a?void 0:a.token,w=null===(c=e.globalConfig)||void 0===c?void 0:c.state,y={};
1y.subscribed=(0,h.zn)(e=>null==e?void 0:e.subscribed),y.event=(0,h.zn)(e=>null==e?void 0:e.event),y.slug=(0,h.zn)(e=>null==e?void 0:e.slug),y.anchorEl=(0,h.zn)(e=>null==e?void 0:e.anchorEl);let[C,b]=(0,d.useState)(null),[Z,k]=(0,d.useState)(null),[x,T]=(0,d.useState)(null),S=e.eventTemplate,L=async()=>{var e,t,n;let o=await th(null==y?void 0:null===(t=y.event)||void 0===t?void 0:null===(e=t.eventTemplate)||void 0===e?void 0:e.id,null==y?void 0:y.slug,p.tenantUrl,g,w,null===(n=m.tenant)||void 0===n?void 0:n.id,f);b(null==y?void 0:y.event),k(o.template),A(!0)};(0,d.useEffect)(()=>{(null==S?void 0:S.windowPopup)&&(0,d.startTransition)(()=>{b(S),k(null==S?void 0:S.template),A(!0)})},[]),(0,d.useEffect)(()=>{(null==C?void 0:C.eventShowOut)&&(null==C?void 0:C.eventShowOutMs)&&setTimeout(()=>{A(!1),u({event:null,slug:null,anchorEl:null})},null==C?void 0:C.eventShowOutMs)},[C]),(0,d.useEffect)(()=>{if(null==y?void 0:y.event){var e;(null==y?void 0:null===(e=y.event)||void 0===e?void 0:e.eventSlug)?(0,d.startTransition)(()=>{L()}):(0,d.startTransition)(()=>{var e,t,n;b(null==y?void 0:y.event),T(null==y?void 0:y.anchorEl),k(null==v?void 0:v["".concat(null==y?void 0:null===(t=y.event)||void 0===t?void 0:null===(e=t.eventTemplate)||void 0===e?void 0:e.id,"-").concat(null==y?void 0:null===(n=y.event)||void 0===n?void 0:n.eventSelectedLayout)]),A(!0)})}},[null==y?void 0:y.event,null==y?void 0:y.slug,null==y?void 0:y.anchorEl]);let N=e.widgetTemplates,I=e.globalConfig,R=null==C?void 0:C.eventSelectedLayout,O=null==C?void 0:C.eventShowIn,q=null==C?void 0:C.eventPlacement,B="number"==typeof(null==C?void 0:C.windowWidth)?C.windowWidth+"px":null==C?void 0:C.windowWidth,M=null==C?void 0:C.windowHeight,z=(0,ef.Lq)(null==C?void 0:C.backgroundColor,I.settings),E=null==C?void 0:C.drawerAnchor,P=null==C?void 0:C.dialogMaxWidth,W=null==C?void 0:C.dialogFullScreen,H=null==C?void 0:C.dialogScroll,_=null==C?void 0:C.enableDialogTransition,D=null==C?void 0:C.dialogTransitionComponent,V=null==C?void 0:C.dialogTransitionDirection,U=null==C?void 0:C.dialogTransitionDuration,[F,A]=(0,d.useState)(!1);(0,d.useEffect)(()=>{s.events.on("routeChangeComplete",e=>{X()})},[]),(0,d.useEffect)(()=>(A(!0),()=>A(!1)),[]);let X=()=>{A(!1),u({event:null,slug:null,anchorEl:null})};return"popover"===O?(0,o.tZ)(ts.ZP,{open:F,anchorEl:x,onClose:()=>X(),anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{"& .MuiPopover-paper":{width:B||"100%",height:M||"100%"}},children:(0,o.tZ)(eF,{closeCurrentPopup:()=>X(),globalConfig:I,settings:I.settings,template:Z,route:I.route,widgets:I.widgets,currentBreakpoint:R,widgetTemplates:N})}):"popper"===O?(0,o.BX)(o.HY,{children:[_&&(0,o.tZ)(tv.Z,{onMouseLeave:()=>e.setNavigation(null),open:F,anchorEl:x,nonce:void 0,onResize:void 0,onResizeCapture:void 0,placement:q||"bottom",disablePortal:!1,keepMounted:!1,transition:!1,children:(0,o.tZ)(j.Z,{sx:{width:B||"100%",height:M||"100%",backgroundColor:z},children:(0,o.tZ)(eF,{globalConfig:I,closeCurrentPopup:()=>X(),settings:I.settings,template:Z,route:I.route,widgets:I.widgets,currentBreakpoint:R,widgetTemplates:N})})}),!_&&(0,o.tZ)(tv.Z,{onMouseLeave:()=>e.setNavigation(null),open:F,anchorEl:x,nonce:void 0,onResize:void 0,onResizeCapture:void 0,placement:q||"bottom",disablePortal:!1,keepMounted:!1,transition:!0,children:e=>{let{TransitionProps:t}=e;return(0,o.BX)(o.HY,{children:["slide"===D&&(0,o.tZ)(tf,{...t,direction:V,children:(0,o.tZ)(j.Z,{sx:{width:B||"100%",height:M||"100%",backgroundColor:z},children:(0,o.tZ)(eF,{globalConfig:I,closeCurrentPopup:()=>X(),settings:I.settings,template:Z,route:I.route,widgets:I.widgets,currentBreakpoint:R,widgetTemplates:N})})}),"fade"===D&&(0,o.tZ)(tw,{...t,children:(0,o.tZ)(j.Z,{sx:{width:B||"100%",height:M||"100%",backgroundColor:z},children:(0,o.tZ)(eF,{globalConfig:I,closeCurrentPopup:()=>X(),settings:I.settings,template:Z,route:I.route,widgets:I.widgets,currentBreakpoint:R,widgetTemplates:N})})})]})}})]}):"modal"===O?(0,o.tZ)(tp.Z,{open:F,onClose:()=>X(),style:{display:"flex",justifyContent:"center",alignItems:"center",overflowY:"auto"},children:(0,o.tZ)(j.Z,{sx:{width:B||"100%",height:M||"100%",backgroundColor:z,overflowY:"auto"},children:(0,o.tZ)(eF,{globalConfig:I,closeCurrentPopup:()=>X(),settings:I.settings,template:Z,route:I.route,widgets:I.widgets,currentBreakpoint:R,widgetTemplates:N})})}):"drawer"===O?(0,o.tZ)(d.Fragment,{children:(0,o.tZ)(tg.ZP,{anchor:E,open:F,onClose:()=>X(),PaperProps:{sx:{width:"top"===E||"bottom"===E?B||"auto":B||350,height:"top"===E||"bottom"===E?M||350:M||"100%",backgroundColor:z||"transparent",zIndex:999999}},children:(0,o.tZ)(eF,{globalConfig:I,closeCurrentPopup:()=>X(),settings:I.settings,template:Z,route:I.route,widgets:I.widgets,currentBreakpoint:R,widgetTemplates:N})})}):"dialog"===O?(0,o.BX)(d.Fragment,{children:[!_&&(0,o.tZ)(tm.Z,{open:F,onClose:()=>X(),maxWidth:P,fullScreen:W,scroll:H,PaperProps:{sx:{...!P&&{width:B||"100%"},...!P&&{height:M||"100%"},backgroundColor:z||"transparent"}},children:(0,o.tZ)(eF,{globalConfig:I,closeCurrentPopup:()=>X(),settings:I.settings,template:Z,route:I.route,widgets:I.widgets,currentBreakpoint:R,widgetTemplates:N})}),_&&(0,o.tZ)(tm.Z,{open:F,transitionDuration:U||300,TransitionComponent:"slide"===D?tf:tw,onClose:()=>X(),maxWidth:P,fullScreen:W,scroll:H,PaperProps:{sx:{...!P&&{width:B||"100%"},...!P&&{height:M||"100%"},...P&&{width:"100%"},backgroundColor:z||"transparent"}},children:(0,o.tZ)(eF,{globalConfig:I,closeCurrentPopup:()=>X(),settings:I.settings,template:Z,route:I.route,widgets:I.widgets,currentBreakpoint:R,widgetTemplates:N})})]}):(0,o.tZ)(o.HY,{})}),tC=n(74290),tb=d.memo(function(e){let t={};
1t.subscribed=(0,h.zn)(e=>null==e?void 0:e.subscribed);let[l,u]=(0,d.useState)(!1),s=(0,d.useRef)(0),p=(0,d.useRef)(0);(0,d.useEffect)(()=>{p.current=0}),(0,d.useEffect)(()=>{s.current++});let g=(0,r.useRouter)(),f=e.data,[w]=(0,d.useState)(null),y=null==f?void 0:f.deploys,C=null==f?void 0:f.settings,b=null==f?void 0:f.widgets,Z=null==f?void 0:f.template,k=null==f?void 0:f.route,x=null==f?void 0:f.browserProps,T=null==f?void 0:f.commonRoutes,S=null==f?void 0:f.currentBreakpoint,L=null==f?void 0:f.widgetTemplates,N=null==Z?void 0:Z.windowPopup,I=null==f?void 0:f.state,R=null==f?void 0:f.graphImage,O=null==f?void 0:f.templateId;if(n.g.countTitles=0,n.g.countImages=0,(0,d.useEffect)(()=>{(0,d.startTransition)(()=>{(0,v.pg)(u)})},[,null==t?void 0:t.subscribed]),!C)return(0,o.tZ)(a(),{withDarkMode:!1,statusCode:404,title:"La configuraci\xf3n no ha podido ser encontrada"});if(!k&&(null==y?void 0:y.length)===0)return(0,o.tZ)(a(),{withDarkMode:!1,statusCode:404,title:"La ruta no ha podido ser encontrada"});if(!Z&&(null==y?void 0:y.length)===0)return(0,o.tZ)(a(),{withDarkMode:!1,statusCode:404,title:"El Template no ha podido ser encontrado"});if(!Z)return null;let q=null==Z?void 0:Z.sections;return(0,o.BX)(o.HY,{children:[(0,o.tZ)(m,{analyticType:"template",eventName:null==Z?void 0:Z.name,settings:C,template:Z,route:k,browserProps:x}),(0,o.tZ)(ty,{globalConfig:{currentBreakpoint:S,state:I,token:null==f?void 0:f.token,settings:C,template:Z,route:k,browserProps:x,commonRoutes:T,widgets:b,widgetTemplates:L},eventTemplate:N,windowPopup:!0}),(null==Z?void 0:Z.linkCss)&&(0,o.BX)(em(),{children:[(0,o.tZ)("link",{rel:"preload",as:"style",href:"".concat(i.Z.bucketUrlCdn).concat(Z.linkCss)}),(0,o.tZ)("link",{className:"template-link-css",rel:"stylesheet",href:"".concat(i.Z.bucketUrlCdn).concat(Z.linkCss)}),(0,o.tZ)("noscript",{dangerouslySetInnerHTML:{__html:'<link rel="stylesheet" href="'.concat(i.Z.bucketUrlCdn).concat(Z.linkCss,'" />')}})]}),(0,o.tZ)(tC.Z,{route:k,settings:C,browserProps:x,graphImage:R,templateId:O,state:I}),(0,o.tZ)("main",{className:"template template-".concat(null==Z?void 0:Z.id),children:q&&q.filter(e=>"subscriber"===e.displayByCondition?l:"visitor"!==e.displayByCondition||!l).map((t,n)=>{var i,a,r;return(0,o.BX)("section",{className:"section section-".concat(t.id," ").concat((null===(a=t.classNames)||void 0===a?void 0:null===(i=a.split(","))||void 0===i?void 0:i.join(" "))||""),id:t.id,style:{zIndex:t.zIndex},"data-name":t.name,children:[t.id&&(0,o.tZ)(m,{eventName:t.name,analyticType:"section",sectionId:t.id,settings:C,template:Z,route:k,browserProps:x}),null==t?void 0:null===(r=t.containers)||void 0===r?void 0:r.filter(e=>"subscriber"===e.displayByCondition?l:"visitor"!==e.displayByCondition||!l).map((t,n)=>{var i,l,a,r,d;return p.current++,(null===(i=t.transition)||void 0===i?void 0:i.active)?(0,o.tZ)(e4,{className:"container",transition:t.transition,children:(0,o.BX)("div",{id:t.id,className:"container container-".concat(t.id," ").concat((null===(a=t.classNames)||void 0===a?void 0:null===(l=a.split(","))||void 0===l?void 0:l.join(" "))||""),"data-name":t.name,style:{...t.zIndex&&{zIndex:t.zIndex},...t.marginTop&&{marginTop:t.marginTop||0},...t.marginRight&&{marginRight:t.marginRight||0},...t.marginBottom&&{marginBottom:t.marginBottom||0},...t.marginLeft&&{marginLeft:t.marginLeft||0},...t.paddingTop&&{paddingTop:t.paddingTop||0},...t.paddingRight&&{paddingRight:t.paddingRight||0},...t.paddingBottom&&{paddingBottom:t.paddingBottom||0},...t.paddingLeft&&{paddingLeft:t.paddingLeft||0}},children:[t.id&&(0,o.tZ)(m,{eventName:t.name,analyticType:"container",containerId:t.id,settings:C,template:Z,route:k,browserProps:x}),"server"===t.renderAs&&p.current<=2?(0,o.tZ)(tu,{parentClassName:"container-".concat(t.id),globalConfig:{token:null==f?void 0:f.token,settings:C,template:Z,route:k,browserProps:x,commonRoutes:T,widgets:b,widgetTemplates:L,closeCurrentPopup:e.closeCurrentPopup,containerId:t.id},container:t,gridCols:t.gridCols,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:10,transformScale:1,preventCollision:!1,currentBreakpoint:S,containerIndex:n},"".concat(t.id,"-").concat(g.asPath)):(0,o.tZ)(c.Z,{whenVisible:!0,children:(0,o.tZ)(tu,{parentClassName:"container-".concat(t.id),globalConfig:{token:null==f?void 0:f.token,settings:C,template:Z,route:k,browserProps:x,commonRoutes:T,widgets:b,widgetTemplates:L,containerId:t.id},container:t,gridCols:t.gridCols,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:10,transformScale:1,preventCollision:!1,currentBreakpoint:S,containerIndex:n},"".concat(t.id))})]})},"container-".concat(n)):(0,o.BX)("div",{id:t.id,className:"container container-".concat(t.id," ").concat((null===(d=t.classNames)||void 0===d?void 0:null===(r=d.split(","))||void 0===r?void 0:r.join(" "))||""),"data-name":t.name,style:{...t.zIndex&&{zIndex:t.zIndex},...t.marginTop&&{marginTop:t.marginTop||0},...t.marginRight&&{marginRight:t.marginRight||0},...t.marginBottom&&{marginBottom:t.marginBottom||0},...t.marginLeft&&{marginLeft:t.marginLeft||0},...t.paddingTop&&{paddingTop:t.paddingTop||0},...t.paddingRight&&{paddingRight:t.paddingRight||0},...t.paddingBottom&&{paddingBottom:t.paddingBottom||0},...t.paddingLeft&&{paddingLeft:t.paddingLeft||0}},children:[t.id&&(0,o.tZ)(m,{eventName:t.name,analyticType:"container",containerId:t.id,settings:C,template:Z,route:k,browserProps:x}),"server"===t.renderAs&&p.current<=2?(0,o.tZ)(tu,{parentClassName:"container-".concat(t.id),globalConfig:{token:null==f?void 0:f.token,settings:C,template:Z,route:k,browserProps:x,commonRoutes:T,widgets:b,widgetTemplates:L,closeCurrentPopup:e.closeCurrentPopup,containerId:t.id},container:t,gridCols:t.gridCols,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:10,transformScale:1,preventCollision:!1,currentBreakpoint:S,containerIndex:n},"".concat(t.id,"-").concat(g.asPath)):(0,o.tZ)(c.Z,{whenVisible:!0,children:(0,o.tZ)(tu,{parentClassName:"container-".concat(t.id),globalConfig:{token:null==f?void 0:f.token,settings:C,template:Z,route:k,browserProps:x,commonRoutes:T,widgets:b,widgetTemplates:L,containerId:t.id},container:t,gridCols:t.gridCols,cols:{lg:12,md:12,xs:12},rowWidth:10,rowHeight:10,transformScale:1,preventCollision:!1,currentBreakpoint:S,containerIndex:n},"".concat(t.id))})]},"container-".concat(n))})]},"section-".concat(n))})})]})}),tZ=!0;let tk="nodejs";var tx=(0,d.memo)(function(e){let t=e.data,n=(0,d.useRef)(0);return(0,d.useEffect)(()=>{n.current++}
1),(0,o.tZ)(tb,{data:t})})}},function(e){e.O(0,[2678,4148,586,4558,9774,2888,179],function(){return e(e.s=95759)}),_N_E=e.O()}]);
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.