import{a as ot,m as it,_ as lt}from"./edtG_Qsv.js";import{d as k,o as l,a as d,f as x,k as _,b as h,E as oe,t as G,n as E,V as B,r as R,e as b,F as I,h as F,g as ie,H as me,J as Ie,Z as st,A as D,s as he,$ as S,C as W,u as at,a0 as ut,l as Fe,a1 as ct,I as pt,L as Me,a2 as ne,a3 as ye}from"./DGtjvSSZ.js";import{a as fe}from"./JLBoTV-x.js";import{a as He}from"./lioykcFe.js";import{u as dt}from"./IoecnJiL.js";const mt={class:"mb-32px"},ht=["data-href"],yt=["innerHTML"],ft=k({__name:"EmbedFacebook",props:{url:{},embed:{}},setup(f){return(t,u)=>(l(),d("div",mt,[t.url?(l(),d("div",{key:0,class:"fb-post","data-href":t.url},null,8,ht)):(l(),d("div",{key:1,innerHTML:t.embed,class:"flex justify-center"},null,8,yt))]))}}),gt=["data-href"],bt=k({__name:"EmbedFacebook",props:{url:{}},setup(f){return fe({script:[{tagPosition:"head",async:!0,"custom-element":"amp-facebook",src:"https://cdn.ampproject.org/v0/amp-facebook-0.1.js",key:"amp-facebook"}]}),(t,u)=>t.url?(l(),d("amp-facebook",{key:0,width:"552",height:"310",layout:"responsive","data-href":t.url},null,8,gt)):x("",!0)}}),kt=k({inheritAttrs:!1,__name:"EmbedFacebook",props:{embed:{},url:{},blockType:{}},setup(f){return(t,u)=>{const s=ft,i=bt;return t.blockType==="normal"?(l(),_(s,{key:0,url:t.url,embed:t.embed},null,8,["url","embed"])):t.blockType==="amp"?(l(),_(i,{key:1,url:t.url},null,8,["url"])):x("",!0)}}}),_t=["innerHTML"],Bt=k({__name:"EmbedInstagram",props:{embed:{}},setup(f){return(t,u)=>(l(),d("div",{class:"flex justify-center mb-32px",innerHTML:t.embed},null,8,_t))}}),wt=["data-shortcode"],vt=k({__name:"EmbedInstagram",props:{shortcode:{}},setup(f){return fe({script:[{tagPosition:"head",async:!0,"custom-element":"amp-instagram",src:"https://cdn.ampproject.org/v0/amp-instagram-0.1.js",key:"amp-instagram"}]}),(t,u)=>t.shortcode?(l(),d("amp-instagram",{key:0,"data-shortcode":t.shortcode,"data-captioned":"",width:"400",height:"400",layout:"responsive"},null,8,wt)):x("",!0)}}),Ct=k({inheritAttrs:!1,__name:"EmbedInstagram",props:{embed:{},shortcode:{},blockType:{}},setup(f){return(t,u)=>{const s=Bt,i=vt;return t.blockType==="normal"?(l(),_(s,{key:0,embed:t.embed},null,8,["embed"])):t.blockType==="amp"?(l(),_(i,{key:1,shortcode:t.shortcode},null,8,["shortcode"])):x("",!0)}}}),xt={class:"mb-16px flex text-3 font-medium leading-13px tracking-widest uppercase"},Tt=["innerHTML"],$t=k({__name:"Alert",props:{type:{},alert:{}},setup(f){return(t,u)=>(l(),d("div",{class:"mb-32px p-16px",style:B(t.alert.style)},[h("div",xt,[u[0]||(u[0]=h("i",{class:"i-carbon-warning-filled mr-16px block text-4"},null,-1)),oe(" "+G(t.alert.title),1)]),h("div",{class:E(["mb-16px h-1px w-70px",[t.type=="desarrollo"||t.type=="suicidio"?"bg-black":"bg-white"]])},null,2),h("div",{class:"text-3.75 font-medium leading-21px",innerHTML:t.alert.content},null,8,Tt)],4))}}),Et={class:"title"},At=["innerHTML"],Lt=k({__name:"Alert",props:{type:{},alert:{}},setup(f){return(t,u)=>(l(),d("div",{class:"alert",style:B(t.alert.style)},[h("div",Et,[u[0]||(u[0]=h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",class:"mr-13px"},[h("path",{d:"M8 0C3.58214 0 0 3.58214 0 8C0 12.4179 3.58214 16 8 16C12.4179 16 16 12.4179 16 8C16 3.58214 12.4179 0 8 0ZM7.42857 4.14286C7.42857 4.06429 7.49286 4 7.57143 4H8.42857C8.50714 4 8.57143 4.06429 8.57143 4.14286V9C8.57143 9.07857 8.50714 9.14286 8.42857 9.14286H7.57143C7.49286 9.14286 7.42857 9.07857 7.42857 9V4.14286ZM8 12C7.7757 11.9954 7.56213 11.9031 7.40513 11.7429C7.24812 11.5826 7.16018 11.3672 7.16018 11.1429C7.16018 10.9185 7.24812 10.7031 7.40513 10.5429C7.56213 10.3826 7.7757 10.2903 8 10.2857C8.2243 10.2903 8.43787 10.3826 8.59488 10.5429C8.75189 10.7031 8.83982 10.9185 8.83982 11.1429C8.83982 11.3672 8.75189 11.5826 8.59488 11.7429C8.43787 11.9031 8.2243 11.9954 8 12Z",fill:"black"})],-1)),oe(" "+G(t.alert.title),1)]),h("div",{class:E(["line",[t.type=="desarrollo"||t.type=="suicidio"?"bg-black":"bg-white"]])},null,2),h("div",{class:"content",innerHTML:t.alert.content},null,8,At)],4))}}),It={class:"mb-16px flex text-3 font-medium leading-13px tracking-widest uppercase"},Ft=["innerHTML"],Mt=k({__name:"Alert",props:{type:{},alert:{}},setup(f){return(t,u)=>(l(),d("div",{class:"mb-32px p-16px",style:B(t.alert.style)},[h("div",It,[u[0]||(u[0]=h("i",{class:"i-carbon-warning-filled mr-16px block text-4"},null,-1)),oe(" "+G(t.alert.title),1)]),h("div",{class:E(["mb-16px h-1px w-70px",[t.type=="desarrollo"||t.type=="suicidio"?"bg-black":"bg-white"]])},null,2),h("div",{class:"text-3.75 font-medium leading-21px",innerHTML:t.alert.content},null,8,Ft)],4))}}),Ht=k({inheritAttrs:!1,__name:"Alert",props:{type:{},blockType:{}},setup(f){const t=f,u=R({title:"",content:"",style:{background:"",color:""}});switch(t.type){case"proceso-judicial":u.value={title:"Este artículo describe un proceso judicial en curso",content:"Existe la posibilidad de que los cargos sean desestimados al finalizar la investigación, por lo cual <b>NO se debe considerar al o los imputados como culpables</b> hasta que la Justicia dicte sentencia en su contra. (Artículo 04 del Código Procesal Penal)",style:{background:"#710A77",color:"white"}};break;case"desarrollo":u.value={title:"Noticia en desarrollo",content:"Estamos recopilando más antecedentes sobre esta noticia, quédate atento a las actualizaciones",style:{background:"#FDE047",color:"black"}};break;case"violencia-mujer":u.value={title:"Violencia contra la mujer",content:"Si eres víctima o testigo de violencia contra la mujer, denuncia al <b>149 de Carabineros</b>, recibe orientación llamando al <b>número corto 1455 del Sernameg</b> o pulsa para usar el chat de denuncia Sernameg",style:{background:"#957698",color:"white"}};break;case"suicidio":u.value={title:"Suicidio",content:"Si necesitas ayuda psicológica especializada o conoces a alguien que la requiera, el Ministerio de Salud tiene un teléfono de ayuda atendida por profesionales todos los días del año y las 24 horas, en el <b>600 360 7777.</b>",style:{background:"#FDE047",color:"black"}};break;case"spoiler":u.value={title:"Alerta de spoiler",content:"Este artículo podría contener información clave sobre la trama de un libro, serie o película.",style:{background:"#5D83AE",color:"white"}};break;case"imagenes-explicitas":u.value={title:"Advertencia de imágenes explícitas",content:"¡Cuidado! Las imágenes de este artículo pueden herir la sensibilidad de algunas personas.",style:{background:"#D34240",color:"white"}};break;case"estudio-cientifico":u.value={title:"Estudio científico",content:"Este artículo se basa en un estudio científico que puede ser sometido a nuevas pruebas para ser validado o descartado. Sus resultados NO deben considerarse concluyentes.",style:{background:"#0F766E",color:"white"}};break;case"iniciativa-constitucional":u.value={title:"INICIATIVA CONSTITUCIONAL EN TRÁMITE",content:"Esta nota consigna una propuesta de artículo para la nueva Constitución de Chile. <br/><br/>Para formar parte de la nueva carta fundamental, la propuesta debe ser 1) aprobada en general; 2) aprobada en particular, con posibilidad de modificaciones; 3) aprobada por el pleno de los constituyentes y finalmente, 4) aprobada junto al resto de la nueva Constitución en un plebiscito.",style:{background:"#455764",color:"white"}};break;case"transporte-privado":u.value={title:"Transporte privado",content:"Las aplicaciones de transporte privado pagado aún no se encuentran normadas por la legislación chilena.",style:{background:"#EF763D",color:"white"}};break}return(s,i)=>{const p=$t,y=Lt,a=Mt;return s.blockType==="normal"?(l(),_(p,{key:0,alert:b(u),type:s.type},null,8,["alert","type"])):s.blockType==="amp"?(l(),_(y,{key:1,alert:b(u),type:s.type},null,8,["alert","type"])):s.blockType==="vina"?(l(),_(a,{key:2,alert:b(u),type:s.type},null,8,["alert","type"])):x("",!0)}}}),St={class:"mb-32px border-b border-b-neutral-300 pb-16px"},Ut=k({__name:"LeeTambien",props:{posts:{}},setup(f){return(t,u)=>{const s=Ie;return l(),d("div",St,[u[1]||(u[1]=h("p",{class:"mb-32px border-b border-b-neutral-300 pb-16px text-3.25 font-semibold leading-13px tracking-widest uppercase"}," También puedes leer ",-1)),(l(!0),d(I,null,F(t.posts,(i,p)=>(l(),d("div",{key:p,class:"mb-6 flex items-start"},[u[0]||(u[0]=h("div",{class:"mr-16px mt-4px text-24px"},[h("i",{class:"i-mdi-link-variant block"})],-1)),ie(s,{to:i.url,class:"font-garamond text-5.75 font-bold leading-26px underline !text-black"},{default:me(()=>[oe(G(i.title),1)]),_:2},1032,["to"])]))),128))])}}}),Vt={class:"lee-tambien"},Rt=["href"],Nt=k({__name:"LeeTambien",props:{posts:{}},setup(f){return(t,u)=>(l(),d("div",Vt,[u[1]||(u[1]=h("p",{class:"header"},"También puedes leer",-1)),(l(!0),d(I,null,F(t.posts,(s,i)=>(l(),d("div",{key:i,class:"content"},[u[0]||(u[0]=h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",class:"icon"},[h("path",{d:"M10.582 13.8691L7.80469 16.6641C7.35937 17.1094 6.85547 17.4434 6.29297 17.666C5.73047 17.8887 5.15625 18 4.57031 18C3.98437 18 3.41016 17.8887 2.84766 17.666C2.28516 17.4434 1.78125 17.1094 1.33594 16.6641C0.890625 16.2188 0.556641 15.7148 0.333984 15.1523C0.111328 14.5898 0 14.0156 0 13.4297C0 12.8438 0.111328 12.2695 0.333984 11.707C0.556641 11.1445 0.890625 10.6406 1.33594 10.1953L4.13086 7.41797C4.14258 7.39453 4.16016 7.37695 4.18359 7.36523C4.20703 7.3418 4.22461 7.31836 4.23633 7.29492H4.25391C4.38281 7.16602 4.5293 7.13672 4.69336 7.20703C4.85742 7.27734 4.94531 7.40039 4.95703 7.57617C4.95703 7.66992 4.96289 7.75781 4.97461 7.83984C4.98633 7.92188 4.99805 8.00391 5.00977 8.08594C5.00977 8.15625 4.99805 8.2207 4.97461 8.2793C4.96289 8.33789 4.93359 8.39063 4.88672 8.4375C4.73437 8.58984 4.51172 8.8125 4.21875 9.10547C3.92578 9.39844 3.63281 9.69141 3.33984 9.98438C3.04687 10.2773 2.78906 10.5352 2.56641 10.7578C2.34375 10.9805 2.23242 11.0918 2.23242 11.0918C1.58789 11.7363 1.26562 12.5156 1.26562 13.4297C1.26562 14.3438 1.58789 15.123 2.23242 15.7676C2.87695 16.4121 3.65625 16.7344 4.57031 16.7344C5.48437 16.7344 6.26367 16.4121 6.9082 15.7676L9.70312 12.9727C10.3477 12.3281 10.6641 11.5488 10.6523 10.6348C10.6523 9.7207 10.3301 8.94727 9.68555 8.31445C9.54492 8.16211 9.39258 8.0332 9.22852 7.92773C9.06445 7.81055 8.89453 7.71094 8.71875 7.62891C8.63672 7.59375 8.57227 7.54102 8.52539 7.4707C8.47852 7.40039 8.46094 7.31836 8.47266 7.22461C8.47266 7.13086 8.47852 7.03711 8.49023 6.94336C8.51367 6.84961 8.54297 6.76172 8.57812 6.67969V6.69727C8.61328 6.58008 8.68359 6.49805 8.78906 6.45117C8.90625 6.39258 9.01758 6.38672 9.12305 6.43359C9.39258 6.53906 9.65039 6.67383 9.89648 6.83789C10.1426 7.00195 10.3711 7.19531 10.582 7.41797C11.0273 7.86328 11.3613 8.36719 11.584 8.92969C11.8066 9.49219 11.918 10.0664 11.918 10.6523C11.918 11.2266 11.8066 11.7949 11.584 12.3574C11.3613 12.9199 11.0273 13.4238 10.582 13.8691ZM7.41797 10.582C7.62891 10.8047 7.85742 10.998 8.10352 11.1621C8.34961 11.3262 8.60742 11.4609 8.87695 11.5664C8.98242 11.6133 9.08789 11.6133 9.19336 11.5664C9.31055 11.5078 9.38672 11.4199 9.42187 11.3027C9.45703 11.2324 9.48047 11.1504 9.49219 11.0566C9.51562 10.9629 9.52734 10.8691 9.52734 10.7754C9.53906 10.6816 9.52148 10.5996 9.47461 10.5293C9.42773 10.459 9.36328 10.4063 9.28125 10.3711C9.10547 10.2891 8.93555 10.1953 8.77148 10.0898C8.60742 9.97266 8.45508 9.83789 8.31445 9.68555C7.66992 9.05273 7.3418 8.2793 7.33008 7.36523C7.33008 6.45117 7.65234 5.67188 8.29687 5.02734L11.0918 2.23242C11.7363 1.58789 12.5156 1.26563 13.4297 1.26563C14.3438 1.26563 15.123 1.58789 15.7676 2.23242C16.4121 2.87695 16.7344 3.65625 16.7344 4.57031C16.7344 5.48438 16.4121 6.26367 15.7676 6.9082C15.7676 6.9082 15.6562 7.01953 15.4336 7.24219C15.2109 7.46484 14.9531 7.72266 14.6602 8.01563C14.3672 8.30859 14.0742 8.60156 13.7812 8.89453C13.4883 9.1875 13.2656 9.41016 13.1133 9.5625C13.0664 9.60938 13.0312 9.66211 13.0078 9.7207C12.9961 9.7793 12.9902 9.84375 12.9902 9.91406C13.002 9.98438 13.0137 10.0605 13.0254 10.1426C13.0371 10.2246 13.043 10.3125 13.043 10.4063V10.4238C13.0547 10.5996 13.1426 10.7227 13.3066 10.793C13.4707 10.8633 13.6172 10.834 13.7461 10.7051C13.7695 10.6816 13.793 10.6641 13.8164 10.6523C13.8398 10.6289 13.8574 10.6055 13.8691 10.582L16.6641 7.80469C17.1094 7.35938 17.4434 6.85547 17.666 6.29297C17.8887 5.73047 18 5.15625 18 4.57031C18 3.98438 17.8887 3.41016 17.666 2.84766C17.4434 2.28516 17.1094 1.78125 16.6641 1.33594C16.2188 0.890625 15.7148 0.556641 15.1523 0.333984C14.5898 0.111328 14.0156 0 13.4297 0C12.8438 0 12.2695 0.111328 11.707 0.333984C11.1445 0.556641 10.6406 0.890625 10.1953 1.33594L7.41797 4.13086C6.97266 4.57617 6.63867 5.08008 6.41602 5.64258C6.19336 6.20508 6.08203 6.7793 6.08203 7.36523C6.08203 7.93945 6.19336 8.50781 6.41602 9.07031C6.63867 9.63281 6.97266 10.1367 7.41797 10.582Z",fill:"black"})],-1)),h("a",{href:s.url,class:"title"},G(s.title),9,Rt)]))),128))]))}}),Pt={class:"mb-32px border-b border-b-neutral-300 pb-24px"},zt=k({__name:"LeeTambien",props:{posts:{}},setup(f){return(t,u)=>{const s=Ie;return l(),d("div",Pt,[u[1]||(u[1]=h("p",{class:"mb-24px border-b border-b-neutral-300 pb-16px text-3.25 font-semibold leading-13px tracking-widest uppercase"}," También puedes leer ",-1)),(l(!0),d(I,null,F(t.posts,(i,p)=>(l(),d("div",{key:p,class:"flex items-start"},[u[0]||(u[0]=h("div",{class:"mr-16px mt-4px text-24px"},[h("i",{class:"i-mdi-link-variant block"})],-1)),ie(s,{to:i.url,class:"text-4.5 font-bold leading-22px underline md:text-4 !text-black"},{default:me(()=>[oe(G(i.title),1)]),_:2},1032,["to"])]))),128))])}}}),Dt=k({inheritAttrs:!1,__name:"LeeTambien",props:{blockType:{},posts:{}},setup(f){return(t,u)=>{const s=Ut,i=Nt,p=zt;return t.blockType==="normal"?(l(),_(s,{key:0,posts:t.posts},null,8,["posts"])):t.blockType==="amp"?(l(),_(i,{key:1,posts:t.posts},null,8,["posts"])):t.blockType==="vina"?(l(),_(p,{key:2,posts:t.posts},null,8,["posts"])):x("",!0)}}}),jt={class:"relative mb-32px w-full pt-56.43%"},Gt=["src"],qt={inheritAttrs:!1},Ot=k({...qt,__name:"RudoVideo",props:{src:{}},setup(f){return(t,u)=>(l(),d("div",jt,[h("iframe",{id:"vrudo",class:"absolute bottom-0 left-0 right-0 top-0 h-full w-full",src:t.src,width:"700",height:"394",allowscriptaccess:"always",allowfullscreen:"true",webkitallowfullscreen:"true",frameborder:"0",scrolling:"no",allow:"autoplay; fullscreen"},null,8,Gt)]))}}),Qt=["src"],Zt={inheritAttrs:!1},Wt=k({...Zt,__name:"RudoVideo",props:{src:{}},setup(f){return(t,u)=>(l(),d("amp-iframe",{width:"328",height:"185",sandbox:"allow-scripts allow-same-origin",layout:"responsive",class:"mb-32px",frameborder:"0",src:t.src},null,8,Qt))}}),Yt={class:"relative mb-32px w-full pt-56.43%"},Jt=["src"],Xt={inheritAttrs:!1},Kt=k({...Xt,__name:"RudoVideo",props:{src:{}},setup(f){return(t,u)=>(l(),d("div",Yt,[h("iframe",{id:"vrudo",class:"absolute bottom-0 left-0 right-0 top-0 h-full w-full",src:t.src,width:"700",height:"394",allowscriptaccess:"always",allowfullscreen:"true",webkitallowfullscreen:"true",frameborder:"0",scrolling:"no",allow:"autoplay; fullscreen"},null,8,Jt)]))}});var Se={},ae={};ae.byteLength=rr;ae.toByteArray=or;ae.fromByteArray=sr;var Z=[],q=[],er=typeof Uint8Array<"u"?Uint8Array:Array,de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var re=0,tr=de.length;re<tr;++re)Z[re]=de[re],q[de.charCodeAt(re)]=re;q[45]=62;q[95]=63;function Ue(f){var t=f.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=f.indexOf("=");u===-1&&(u=t);var s=u===t?0:4-u%4;return[u,s]}function rr(f){var t=Ue(f),u=t[0],s=t[1];return(u+s)*3/4-s}function nr(f,t,u){return(t+u)*3/4-u}function or(f){var t,u=Ue(f),s=u[0],i=u[1],p=new er(nr(f,s,i)),y=0,a=i>0?s-4:s,w;for(w=0;w<a;w+=4)t=q[f.charCodeAt(w)]<<18|q[f.charCodeAt(w+1)]<<12|q[f.charCodeAt(w+2)]<<6|q[f.charCodeAt(w+3)],p[y++]=t>>16&255,p[y++]=t>>8&255,p[y++]=t&255;return i===2&&(t=q[f.charCodeAt(w)]<<2|q[f.charCodeAt(w+1)]>>4,p[y++]=t&255),i===1&&(t=q[f.charCodeAt(w)]<<10|q[f.charCodeAt(w+1)]<<4|q[f.charCodeAt(w+2)]>>2,p[y++]=t>>8&255,p[y++]=t&255),p}function ir(f){return Z[f>>18&63]+Z[f>>12&63]+Z[f>>6&63]+Z[f&63]}function lr(f,t,u){for(var s,i=[],p=t;p<u;p+=3)s=(f[p]<<16&16711680)+(f[p+1]<<8&65280)+(f[p+2]&255),i.push(ir(s));return i.join("")}function sr(f){for(var t,u=f.length,s=u%3,i=[],p=16383,y=0,a=u-s;y<a;y+=p)i.push(lr(f,y,y+p>a?a:y+p));return s===1?(t=f[u-1],i.push(Z[t>>2]+Z[t<<4&63]+"==")):s===2&&(t=(f[u-2]<<8)+f[u-1],i.push(Z[t>>10]+Z[t>>4&63]+Z[t<<2&63]+"=")),i.join("")}var ge={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ge.read=function(f,t,u,s,i){var p,y,a=i*8-s-1,w=(1<<a)-1,M=w>>1,C=-7,v=u?i-1:0,$=u?-1:1,A=f[t+v];for(v+=$,p=A&(1<<-C)-1,A>>=-C,C+=a;C>0;p=p*256+f[t+v],v+=$,C-=8);for(y=p&(1<<-C)-1,p>>=-C,C+=s;C>0;y=y*256+f[t+v],v+=$,C-=8);if(p===0)p=1-M;else{if(p===w)return y?NaN:(A?-1:1)*(1/0);y=y+Math.pow(2,s),p=p-M}return(A?-1:1)*y*Math.pow(2,p-s)};ge.write=function(f,t,u,s,i,p){var y,a,w,M=p*8-i-1,C=(1<<M)-1,v=C>>1,$=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,A=s?0:p-1,T=s?1:-1,U=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,y=C):(y=Math.floor(Math.log(t)/Math.LN2),t*(w=Math.pow(2,-y))<1&&(y--,w*=2),y+v>=1?t+=$/w:t+=$*Math.pow(2,1-v),t*w>=2&&(y++,w/=2),y+v>=C?(a=0,y=C):y+v>=1?(a=(t*w-1)*Math.pow(2,i),y=y+v):(a=t*Math.pow(2,v-1)*Math.pow(2,i),y=0));i>=8;f[u+A]=a&255,A+=T,a/=256,i-=8);for(y=y<<i|a,M+=i;M>0;f[u+A]=y&255,A+=T,y/=256,M-=8);f[u+A-T]|=U*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */(function(f){const t=ae,u=ge,s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;f.Buffer=a,f.SlowBuffer=Re,f.INSPECT_MAX_BYTES=50;const i=2147483647;f.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=p(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function p(){try{const n=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(n,e),n.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function y(n){if(n>i)throw new RangeError('The value "'+n+'" is invalid for option "size"');const e=new Uint8Array(n);return Object.setPrototypeOf(e,a.prototype),e}function a(n,e,r){if(typeof n=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(n)}return w(n,e,r)}a.poolSize=8192;function w(n,e,r){if(typeof n=="string")return $(n,e);if(ArrayBuffer.isView(n))return T(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(Q(n,ArrayBuffer)||n&&Q(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Q(n,SharedArrayBuffer)||n&&Q(n.buffer,SharedArrayBuffer)))return U(n,e,r);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const o=n.valueOf&&n.valueOf();if(o!=null&&o!==n)return a.from(o,e,r);const c=O(n);if(c)return c;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return a.from(n[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}a.from=function(n,e,r){return w(n,e,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function M(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function C(n,e,r){return M(n),n<=0?y(n):e!==void 0?typeof r=="string"?y(n).fill(e,r):y(n).fill(e):y(n)}a.alloc=function(n,e,r){return C(n,e,r)};function v(n){return M(n),y(n<0?0:K(n)|0)}a.allocUnsafe=function(n){return v(n)},a.allocUnsafeSlow=function(n){return v(n)};function $(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!a.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=be(n,e)|0;let o=y(r);const c=o.write(n,e);return c!==r&&(o=o.slice(0,c)),o}function A(n){const e=n.length<0?0:K(n.length)|0,r=y(e);for(let o=0;o<e;o+=1)r[o]=n[o]&255;return r}function T(n){if(Q(n,Uint8Array)){const e=new Uint8Array(n);return U(e.buffer,e.byteOffset,e.byteLength)}return A(n)}function U(n,e,r){if(e<0||n.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let o;return e===void 0&&r===void 0?o=new Uint8Array(n):r===void 0?o=new Uint8Array(n,e):o=new Uint8Array(n,e,r),Object.setPrototypeOf(o,a.prototype),o}function O(n){if(a.isBuffer(n)){const e=K(n.length)|0,r=y(e);return r.length===0||n.copy(r,0,0,e),r}if(n.length!==void 0)return typeof n.length!="number"||pe(n.length)?y(0):A(n);if(n.type==="Buffer"&&Array.isArray(n.data))return A(n.data)}function K(n){if(n>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return n|0}function Re(n){return+n!=n&&(n=0),a.alloc(+n)}a.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==a.prototype},a.compare=function(e,r){if(Q(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),Q(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(e)||!a.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;let o=e.length,c=r.length;for(let m=0,g=Math.min(o,c);m<g;++m)if(e[m]!==r[m]){o=e[m],c=r[m];break}return o<c?-1:c<o?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return a.alloc(0);let o;if(r===void 0)for(r=0,o=0;o<e.length;++o)r+=e[o].length;const c=a.allocUnsafe(r);let m=0;for(o=0;o<e.length;++o){let g=e[o];if(Q(g,Uint8Array))m+g.length>c.length?(a.isBuffer(g)||(g=a.from(g)),g.copy(c,m)):Uint8Array.prototype.set.call(c,g,m);else if(a.isBuffer(g))g.copy(c,m);else throw new TypeError('"list" argument must be an Array of Buffers');m+=g.length}return c};function be(n,e){if(a.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||Q(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);const r=n.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;let c=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ce(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Le(n).length;default:if(c)return o?-1:ce(n).length;e=(""+e).toLowerCase(),c=!0}}a.byteLength=be;function Ne(n,e,r){let o=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(n||(n="utf8");;)switch(n){case"hex":return We(this,e,r);case"utf8":case"utf-8":return Be(this,e,r);case"ascii":return Qe(this,e,r);case"latin1":case"binary":return Ze(this,e,r);case"base64":return qe(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye(this,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),o=!0}}a.prototype._isBuffer=!0;function X(n,e,r){const o=n[e];n[e]=n[r],n[r]=o}a.prototype.swap16=function(){const e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<e;r+=2)X(this,r,r+1);return this},a.prototype.swap32=function(){const e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<e;r+=4)X(this,r,r+3),X(this,r+1,r+2);return this},a.prototype.swap64=function(){const e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<e;r+=8)X(this,r,r+7),X(this,r+1,r+6),X(this,r+2,r+5),X(this,r+3,r+4);return this},a.prototype.toString=function(){const e=this.length;return e===0?"":arguments.length===0?Be(this,0,e):Ne.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:a.compare(this,e)===0},a.prototype.inspect=function(){let e="";const r=f.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},s&&(a.prototype[s]=a.prototype.inspect),a.prototype.compare=function(e,r,o,c,m){if(Q(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),o===void 0&&(o=e?e.length:0),c===void 0&&(c=0),m===void 0&&(m=this.length),r<0||o>e.length||c<0||m>this.length)throw new RangeError("out of range index");if(c>=m&&r>=o)return 0;if(c>=m)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,c>>>=0,m>>>=0,this===e)return 0;let g=m-c,L=o-r;const N=Math.min(g,L),V=this.slice(c,m),P=e.slice(r,o);for(let H=0;H<N;++H)if(V[H]!==P[H]){g=V[H],L=P[H];break}return g<L?-1:L<g?1:0};function ke(n,e,r,o,c){if(n.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,pe(r)&&(r=c?0:n.length-1),r<0&&(r=n.length+r),r>=n.length){if(c)return-1;r=n.length-1}else if(r<0)if(c)r=0;else return-1;if(typeof e=="string"&&(e=a.from(e,o)),a.isBuffer(e))return e.length===0?-1:_e(n,e,r,o,c);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(n,e,r):Uint8Array.prototype.lastIndexOf.call(n,e,r):_e(n,[e],r,o,c);throw new TypeError("val must be string, number or Buffer")}function _e(n,e,r,o,c){let m=1,g=n.length,L=e.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(n.length<2||e.length<2)return-1;m=2,g/=2,L/=2,r/=2}function N(P,H){return m===1?P[H]:P.readUInt16BE(H*m)}let V;if(c){let P=-1;for(V=r;V<g;V++)if(N(n,V)===N(e,P===-1?0:V-P)){if(P===-1&&(P=V),V-P+1===L)return P*m}else P!==-1&&(V-=V-P),P=-1}else for(r+L>g&&(r=g-L),V=r;V>=0;V--){let P=!0;for(let H=0;H<L;H++)if(N(n,V+H)!==N(e,H)){P=!1;break}if(P)return V}return-1}a.prototype.includes=function(e,r,o){return this.indexOf(e,r,o)!==-1},a.prototype.indexOf=function(e,r,o){return ke(this,e,r,o,!0)},a.prototype.lastIndexOf=function(e,r,o){return ke(this,e,r,o,!1)};function Pe(n,e,r,o){r=Number(r)||0;const c=n.length-r;o?(o=Number(o),o>c&&(o=c)):o=c;const m=e.length;o>m/2&&(o=m/2);let g;for(g=0;g<o;++g){const L=parseInt(e.substr(g*2,2),16);if(pe(L))return g;n[r+g]=L}return g}function ze(n,e,r,o){return se(ce(e,n.length-r),n,r,o)}function De(n,e,r,o){return se(et(e),n,r,o)}function je(n,e,r,o){return se(Le(e),n,r,o)}function Ge(n,e,r,o){return se(tt(e,n.length-r),n,r,o)}a.prototype.write=function(e,r,o,c){if(r===void 0)c="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")c=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,c===void 0&&(c="utf8")):(c=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const m=this.length-r;if((o===void 0||o>m)&&(o=m),e.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");let g=!1;for(;;)switch(c){case"hex":return Pe(this,e,r,o);case"utf8":case"utf-8":return ze(this,e,r,o);case"ascii":case"latin1":case"binary":return De(this,e,r,o);case"base64":return je(this,e,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,e,r,o);default:if(g)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),g=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function qe(n,e,r){return e===0&&r===n.length?t.fromByteArray(n):t.fromByteArray(n.slice(e,r))}function Be(n,e,r){r=Math.min(n.length,r);const o=[];let c=e;for(;c<r;){const m=n[c];let g=null,L=m>239?4:m>223?3:m>191?2:1;if(c+L<=r){let N,V,P,H;switch(L){case 1:m<128&&(g=m);break;case 2:N=n[c+1],(N&192)===128&&(H=(m&31)<<6|N&63,H>127&&(g=H));break;case 3:N=n[c+1],V=n[c+2],(N&192)===128&&(V&192)===128&&(H=(m&15)<<12|(N&63)<<6|V&63,H>2047&&(H<55296||H>57343)&&(g=H));break;case 4:N=n[c+1],V=n[c+2],P=n[c+3],(N&192)===128&&(V&192)===128&&(P&192)===128&&(H=(m&15)<<18|(N&63)<<12|(V&63)<<6|P&63,H>65535&&H<1114112&&(g=H))}}g===null?(g=65533,L=1):g>65535&&(g-=65536,o.push(g>>>10&1023|55296),g=56320|g&1023),o.push(g),c+=L}return Oe(o)}const we=4096;function Oe(n){const e=n.length;if(e<=we)return String.fromCharCode.apply(String,n);let r="",o=0;for(;o<e;)r+=String.fromCharCode.apply(String,n.slice(o,o+=we));return r}function Qe(n,e,r){let o="";r=Math.min(n.length,r);for(let c=e;c<r;++c)o+=String.fromCharCode(n[c]&127);return o}function Ze(n,e,r){let o="";r=Math.min(n.length,r);for(let c=e;c<r;++c)o+=String.fromCharCode(n[c]);return o}function We(n,e,r){const o=n.length;(!e||e<0)&&(e=0),(!r||r<0||r>o)&&(r=o);let c="";for(let m=e;m<r;++m)c+=rt[n[m]];return c}function Ye(n,e,r){const o=n.slice(e,r);let c="";for(let m=0;m<o.length-1;m+=2)c+=String.fromCharCode(o[m]+o[m+1]*256);return c}a.prototype.slice=function(e,r){const o=this.length;e=~~e,r=r===void 0?o:~~r,e<0?(e+=o,e<0&&(e=0)):e>o&&(e=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<e&&(r=e);const c=this.subarray(e,r);return Object.setPrototypeOf(c,a.prototype),c};function z(n,e,r){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+e>r)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(e,r,o){e=e>>>0,r=r>>>0,o||z(e,r,this.length);let c=this[e],m=1,g=0;for(;++g<r&&(m*=256);)c+=this[e+g]*m;return c},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,r,o){e=e>>>0,r=r>>>0,o||z(e,r,this.length);let c=this[e+--r],m=1;for(;r>0&&(m*=256);)c+=this[e+--r]*m;return c},a.prototype.readUint8=a.prototype.readUInt8=function(e,r){return e=e>>>0,r||z(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||z(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||z(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||z(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=J(function(e){e=e>>>0,te(e,"offset");const r=this[e],o=this[e+7];(r===void 0||o===void 0)&&le(e,this.length-8);const c=r+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,m=this[++e]+this[++e]*2**8+this[++e]*2**16+o*2**24;return BigInt(c)+(BigInt(m)<<BigInt(32))}),a.prototype.readBigUInt64BE=J(function(e){e=e>>>0,te(e,"offset");const r=this[e],o=this[e+7];(r===void 0||o===void 0)&&le(e,this.length-8);const c=r*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],m=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+o;return(BigInt(c)<<BigInt(32))+BigInt(m)}),a.prototype.readIntLE=function(e,r,o){e=e>>>0,r=r>>>0,o||z(e,r,this.length);let c=this[e],m=1,g=0;for(;++g<r&&(m*=256);)c+=this[e+g]*m;return m*=128,c>=m&&(c-=Math.pow(2,8*r)),c},a.prototype.readIntBE=function(e,r,o){e=e>>>0,r=r>>>0,o||z(e,r,this.length);let c=r,m=1,g=this[e+--c];for(;c>0&&(m*=256);)g+=this[e+--c]*m;return m*=128,g>=m&&(g-=Math.pow(2,8*r)),g},a.prototype.readInt8=function(e,r){return e=e>>>0,r||z(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,r){e=e>>>0,r||z(e,2,this.length);const o=this[e]|this[e+1]<<8;return o&32768?o|4294901760:o},a.prototype.readInt16BE=function(e,r){e=e>>>0,r||z(e,2,this.length);const o=this[e+1]|this[e]<<8;return o&32768?o|4294901760:o},a.prototype.readInt32LE=function(e,r){return e=e>>>0,r||z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,r){return e=e>>>0,r||z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=J(function(e){e=e>>>0,te(e,"offset");const r=this[e],o=this[e+7];(r===void 0||o===void 0)&&le(e,this.length-8);const c=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(o<<24);return(BigInt(c)<<BigInt(32))+BigInt(r+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),a.prototype.readBigInt64BE=J(function(e){e=e>>>0,te(e,"offset");const r=this[e],o=this[e+7];(r===void 0||o===void 0)&&le(e,this.length-8);const c=(r<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(c)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+o)}),a.prototype.readFloatLE=function(e,r){return e=e>>>0,r||z(e,4,this.length),u.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,r){return e=e>>>0,r||z(e,4,this.length),u.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||z(e,8,this.length),u.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||z(e,8,this.length),u.read(this,e,!1,52,8)};function j(n,e,r,o,c,m){if(!a.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>c||e<m)throw new RangeError('"value" argument is out of bounds');if(r+o>n.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,r,o,c){if(e=+e,r=r>>>0,o=o>>>0,!c){const L=Math.pow(2,8*o)-1;j(this,e,r,o,L,0)}let m=1,g=0;for(this[r]=e&255;++g<o&&(m*=256);)this[r+g]=e/m&255;return r+o},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,r,o,c){if(e=+e,r=r>>>0,o=o>>>0,!c){const L=Math.pow(2,8*o)-1;j(this,e,r,o,L,0)}let m=o-1,g=1;for(this[r+m]=e&255;--m>=0&&(g*=256);)this[r+m]=e/g&255;return r+o},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,1,255,0),this[r]=e&255,r+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function ve(n,e,r,o,c){Ae(e,o,c,n,r,7);let m=Number(e&BigInt(4294967295));n[r++]=m,m=m>>8,n[r++]=m,m=m>>8,n[r++]=m,m=m>>8,n[r++]=m;let g=Number(e>>BigInt(32)&BigInt(4294967295));return n[r++]=g,g=g>>8,n[r++]=g,g=g>>8,n[r++]=g,g=g>>8,n[r++]=g,r}function Ce(n,e,r,o,c){Ae(e,o,c,n,r,7);let m=Number(e&BigInt(4294967295));n[r+7]=m,m=m>>8,n[r+6]=m,m=m>>8,n[r+5]=m,m=m>>8,n[r+4]=m;let g=Number(e>>BigInt(32)&BigInt(4294967295));return n[r+3]=g,g=g>>8,n[r+2]=g,g=g>>8,n[r+1]=g,g=g>>8,n[r]=g,r+8}a.prototype.writeBigUInt64LE=J(function(e,r=0){return ve(this,e,r,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=J(function(e,r=0){return Ce(this,e,r,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(e,r,o,c){if(e=+e,r=r>>>0,!c){const N=Math.pow(2,8*o-1);j(this,e,r,o,N-1,-N)}let m=0,g=1,L=0;for(this[r]=e&255;++m<o&&(g*=256);)e<0&&L===0&&this[r+m-1]!==0&&(L=1),this[r+m]=(e/g>>0)-L&255;return r+o},a.prototype.writeIntBE=function(e,r,o,c){if(e=+e,r=r>>>0,!c){const N=Math.pow(2,8*o-1);j(this,e,r,o,N-1,-N)}let m=o-1,g=1,L=0;for(this[r+m]=e&255;--m>=0&&(g*=256);)e<0&&L===0&&this[r+m+1]!==0&&(L=1),this[r+m]=(e/g>>0)-L&255;return r+o},a.prototype.writeInt8=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1},a.prototype.writeInt16LE=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2},a.prototype.writeInt16BE=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2},a.prototype.writeInt32LE=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4},a.prototype.writeInt32BE=function(e,r,o){return e=+e,r=r>>>0,o||j(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4},a.prototype.writeBigInt64LE=J(function(e,r=0){return ve(this,e,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=J(function(e,r=0){return Ce(this,e,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function xe(n,e,r,o,c,m){if(r+o>n.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Te(n,e,r,o,c){return e=+e,r=r>>>0,c||xe(n,e,r,4),u.write(n,e,r,o,23,4),r+4}a.prototype.writeFloatLE=function(e,r,o){return Te(this,e,r,!0,o)},a.prototype.writeFloatBE=function(e,r,o){return Te(this,e,r,!1,o)};function $e(n,e,r,o,c){return e=+e,r=r>>>0,c||xe(n,e,r,8),u.write(n,e,r,o,52,8),r+8}a.prototype.writeDoubleLE=function(e,r,o){return $e(this,e,r,!0,o)},a.prototype.writeDoubleBE=function(e,r,o){return $e(this,e,r,!1,o)},a.prototype.copy=function(e,r,o,c){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(o||(o=0),!c&&c!==0&&(c=this.length),r>=e.length&&(r=e.length),r||(r=0),c>0&&c<o&&(c=o),c===o||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),e.length-r<c-o&&(c=e.length-r+o);const m=c-o;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,c):Uint8Array.prototype.set.call(e,this.subarray(o,c),r),m},a.prototype.fill=function(e,r,o,c){if(typeof e=="string"){if(typeof r=="string"?(c=r,r=0,o=this.length):typeof o=="string"&&(c=o,o=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!a.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(e.length===1){const g=e.charCodeAt(0);(c==="utf8"&&g<128||c==="latin1")&&(e=g)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,e||(e=0);let m;if(typeof e=="number")for(m=r;m<o;++m)this[m]=e;else{const g=a.isBuffer(e)?e:a.from(e,c),L=g.length;if(L===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(m=0;m<o-r;++m)this[m+r]=g[m%L]}return this};const ee={};function ue(n,e,r){ee[n]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${n}]`,this.stack,delete this.name}get code(){return n}set code(c){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:c,writable:!0})}toString(){return`${this.name} [${n}]: ${this.message}`}}}ue("ERR_BUFFER_OUT_OF_BOUNDS",function(n){return n?`${n} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ue("ERR_INVALID_ARG_TYPE",function(n,e){return`The "${n}" argument must be of type number. Received type ${typeof e}`},TypeError),ue("ERR_OUT_OF_RANGE",function(n,e,r){let o=`The value of "${n}" is out of range.`,c=r;return Number.isInteger(r)&&Math.abs(r)>2**32?c=Ee(String(r)):typeof r=="bigint"&&(c=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(c=Ee(c)),c+="n"),o+=` It must be ${e}. Received ${c}`,o},RangeError);function Ee(n){let e="",r=n.length;const o=n[0]==="-"?1:0;for(;r>=o+4;r-=3)e=`_${n.slice(r-3,r)}${e}`;return`${n.slice(0,r)}${e}`}function Je(n,e,r){te(e,"offset"),(n[e]===void 0||n[e+r]===void 0)&&le(e,n.length-(r+1))}function Ae(n,e,r,o,c,m){if(n>r||n<e){const g=typeof e=="bigint"?"n":"";let L;throw e===0||e===BigInt(0)?L=`>= 0${g} and < 2${g} ** ${(m+1)*8}${g}`:L=`>= -(2${g} ** ${(m+1)*8-1}${g}) and < 2 ** ${(m+1)*8-1}${g}`,new ee.ERR_OUT_OF_RANGE("value",L,n)}Je(o,c,m)}function te(n,e){if(typeof n!="number")throw new ee.ERR_INVALID_ARG_TYPE(e,"number",n)}function le(n,e,r){throw Math.floor(n)!==n?(te(n,r),new ee.ERR_OUT_OF_RANGE("offset","an integer",n)):e<0?new ee.ERR_BUFFER_OUT_OF_BOUNDS:new ee.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${e}`,n)}const Xe=/[^+/0-9A-Za-z-_]/g;function Ke(n){if(n=n.split("=")[0],n=n.trim().replace(Xe,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function ce(n,e){e=e||1/0;let r;const o=n.length;let c=null;const m=[];for(let g=0;g<o;++g){if(r=n.charCodeAt(g),r>55295&&r<57344){if(!c){if(r>56319){(e-=3)>-1&&m.push(239,191,189);continue}else if(g+1===o){(e-=3)>-1&&m.push(239,191,189);continue}c=r;continue}if(r<56320){(e-=3)>-1&&m.push(239,191,189),c=r;continue}r=(c-55296<<10|r-56320)+65536}else c&&(e-=3)>-1&&m.push(239,191,189);if(c=null,r<128){if((e-=1)<0)break;m.push(r)}else if(r<2048){if((e-=2)<0)break;m.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;m.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;m.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return m}function et(n){const e=[];for(let r=0;r<n.length;++r)e.push(n.charCodeAt(r)&255);return e}function tt(n,e){let r,o,c;const m=[];for(let g=0;g<n.length&&!((e-=2)<0);++g)r=n.charCodeAt(g),o=r>>8,c=r%256,m.push(c),m.push(o);return m}function Le(n){return t.toByteArray(Ke(n))}function se(n,e,r,o){let c;for(c=0;c<o&&!(c+r>=e.length||c>=n.length);++c)e[c+r]=n[c];return c}function Q(n,e){return n instanceof e||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===e.name}function pe(n){return n!==n}const rt=function(){const n="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){const o=r*16;for(let c=0;c<16;++c)e[o+c]=n[r]+n[c]}return e}();function J(n){return typeof BigInt>"u"?nt:n}function nt(){throw new Error("BigInt not supported")}})(Se);const ar={inheritAttrs:!1},ur=k({...ar,inheritAttrs:!1,__name:"RudoVideo",props:{blockType:{},url:{}},setup(f){const t=f,u=st("articleContext"),s=u==null?void 0:u.postUrl,i=D(()=>s?Se.Buffer.from(JSON.stringify({pre:`${"https://pubads.g.doubleclick.net/gampad/ads?iu=/1098385/pagina7cl/ad_video&tfcd=0&npa=0&sz=640x480&cust_params="+encodeURIComponent(`post-id=${u.postId}&category-primary=${u.categoryPrimary}&category-secondary=${u.categorySecondary}&keywords=${u.postKeywords}`)}&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=&vpmute=0&vpa=click&vpos=preroll`,post:0,mid:{tag:0},over:{tag:0}})).toString("base64"):""),p=`${t.url}?tag=${i.value}`;return(y,a)=>{const w=Ot,M=Wt,C=Kt;return y.blockType==="normal"?(l(),_(w,{key:0,src:p})):y.blockType==="amp"?(l(),_(M,{key:1,src:p})):y.blockType==="vina"?(l(),_(C,{key:2,src:p})):x("",!0)}}}),cr={id:"audioContainer"},pr=["src"],dr={key:0,id:"audio-controls",class:"mb-32px w-full flex bg-neutral-100 pr-20px md:pr-24px"},mr={class:"flex flex-grow items-center justify-center"},hr={class:"mr-24px font-inter text-3 font-medium leading-12px"},yr=["innerHTML"],fr=k({__name:"AudioCustom",props:{src:{},caption:{}},setup(f){const t=R(),u=R(),s=R(),i=R(!0),p=R(),y=R(),a=R(""),w=R(""),M=()=>{var T,U;(T=t.value)!=null&&T.paused?t.value.play():(U=t.value)==null||U.pause()},C=()=>{t.value&&(p.value=t.value.currentTime.toFixed(),a.value=new Date(p.value*1e3).toISOString().substring(14,19),u.value.style.width=`${Math.floor(p.value/y.value*100)}%`)},v=()=>{var T;(T=t.value)!=null&&T.duration&&(p.value=t.value.currentTime.toFixed(),a.value=new Date(p.value*1e3).toISOString().substring(14,19),y.value=t.value.duration.toFixed(),w.value=new Date(y.value*1e3).toISOString().substring(14,19))},$=T=>{const U=s.value.getBoundingClientRect(),O=(T.pageX-U.left)/s.value.offsetWidth;t.value.currentTime=O*y.value},A=()=>{i.value=!i.value};return he(()=>{v()}),(T,U)=>(l(),d("figure",cr,[h("audio",{id:"audio",ref_key:"audioElement",ref:t,preload:"metadata",type:"audio/mp3",onTimeupdate:C,onLoadedmetadata:v,onPlay:A,onPause:A},[h("source",{src:T.src},null,8,pr)],544),b(t)?(l(),d("div",dr,[h("button",{id:"playpause",type:"button",class:"mr-24px h-80px w-80px flex items-center justify-center bg-neutral-200",onClick:M},[h("span",{class:E(["text-5",[b(i)?"i-carbon-play-filled-alt":"i-carbon-stop-filled-alt"]])},null,2)]),h("div",mr,[h("div",hr,[h("span",null,G(b(a))+"/"+G(b(w)),1)]),h("div",{ref_key:"progressContainer",ref:s,class:"relative h-5px w-full cursor-pointer self-center rounded-full bg-black/20",onClick:$},[h("span",{ref_key:"progressBar",ref:u,class:"absolute h-full rounded-full bg-black"},null,512)],512)]),h("p",{class:"my-5px text-center",innerHTML:T.caption},null,8,yr)])):x("",!0)]))}}),gr=["src"],br=["src"],kr=k({__name:"AudioCustom",props:{src:{}},setup(f){return(t,u)=>(l(),d("amp-audio",{width:"330",height:"54",src:t.src},[u[0]||(u[0]=h("div",{fallback:""},[h("p",null,"Your browser doesn’t support HTML5 audio.")],-1)),h("source",{type:"audio/mpeg",src:t.src},null,8,br)],8,gr))}}),_r={id:"audioContainer"},Br=["src"],wr={key:0,id:"audio-controls",class:"mb-32px w-full flex bg-neutral-100 pr-20px md:pr-24px"},vr={class:"flex flex-grow items-center justify-center"},Cr={class:"mr-24px font-inter text-3 font-medium leading-12px"},xr=["innerHTML"],Tr=k({__name:"AudioCustom",props:{src:{},caption:{}},setup(f){const t=R(),u=R(),s=R(),i=R(!0),p=R(),y=R(),a=R(""),w=R(""),M=()=>{var T,U;(T=t.value)!=null&&T.paused?t.value.play():(U=t.value)==null||U.pause()},C=()=>{t.value&&(p.value=t.value.currentTime.toFixed(),a.value=new Date(p.value*1e3).toISOString().substring(14,19),u.value.style.width=`${Math.floor(p.value/y.value*100)}%`)},v=()=>{var T;(T=t.value)!=null&&T.duration&&(p.value=t.value.currentTime.toFixed(),a.value=new Date(p.value*1e3).toISOString().substring(14,19),y.value=t.value.duration.toFixed(),w.value=new Date(y.value*1e3).toISOString().substring(14,19))},$=T=>{const U=s.value.getBoundingClientRect(),O=(T.pageX-U.left)/s.value.offsetWidth;t.value.currentTime=O*y.value},A=()=>{i.value=!i.value};return he(()=>{v()}),(T,U)=>(l(),d("figure",_r,[h("audio",{id:"audio",ref_key:"audioElement",ref:t,preload:"metadata",type:"audio/mp3",onTimeupdate:C,onLoadedmetadata:v,onPlay:A,onPause:A},[h("source",{src:T.src},null,8,Br)],544),b(t)?(l(),d("div",wr,[h("button",{id:"playpause",type:"button",class:"mr-24px h-80px w-80px flex items-center justify-center bg-neutral-200",onClick:M},[h("span",{class:E(["text-5",[b(i)?"i-carbon-play-filled-alt":"i-carbon-stop-filled-alt"]])},null,2)]),h("div",vr,[h("div",Cr,[h("span",null,G(b(a))+"/"+G(b(w)),1)]),h("div",{ref_key:"progressContainer",ref:s,class:"relative h-5px w-full cursor-pointer self-center rounded-full bg-black/20",onClick:$},[h("span",{ref_key:"progressBar",ref:u,class:"absolute h-full rounded-full bg-black"},null,512)],512)]),h("p",{class:"my-5px text-center",innerHTML:T.caption},null,8,xr)])):x("",!0)]))}}),$r=k({inheritAttrs:!1,__name:"AudioCustom",props:{blockType:{},src:{},caption:{}},setup(f){return(t,u)=>{const s=fr,i=kr,p=Tr;return t.blockType==="normal"?(l(),_(s,{key:0,src:t.src,caption:t.caption},null,8,["src","caption"])):t.blockType==="amp"?(l(),_(i,{key:1,src:t.src},null,8,["src"])):t.blockType==="vina"?(l(),_(p,{key:2,src:t.src},null,8,["src"])):x("",!0)}}}),Er=k({__name:"Cover",props:{isRepeated:{type:Boolean},innerBlocks:{},divStyle:{},styleCover:{}},setup(f){return(t,u)=>(l(),d("div",{style:B(t.divStyle),class:E(["relative mb-32px w-full flex",{"bg-cover":!t.isRepeated}])},[(l(!0),d(I,null,F(t.innerBlocks,(s,i)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[s.name]),S({key:i,"block-type":"normal",ref_for:!0},s.attributes,{"inner-blocks":s.innerBlocks,"in-cover":""}),null,16,["inner-blocks"]))),128)),h("span",{class:"absolute bottom-0 left-0 right-0 top-0",style:B(t.styleCover)},null,4)],6))}}),Ar=k({__name:"Cover",props:{isRepeated:{type:Boolean},innerBlocks:{},divStyle:{},styleCover:{}},setup(f){return(t,u)=>(l(),d("div",{style:B(t.divStyle),class:E(["cover-container",{"bg-cover":!t.isRepeated}])},[(l(!0),d(I,null,F(t.innerBlocks,(s,i)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[s.name]),S({key:i,"block-type":"amp",ref_for:!0},s.attributes,{"in-cover":"","inner-blocks":s.innerBlocks}),null,16,["inner-blocks"]))),128)),h("span",{class:"cover",style:B(t.styleCover)},null,4)],6))}}),Lr=k({__name:"Cover",props:{isRepeated:{type:Boolean},innerBlocks:{},divStyle:{},styleCover:{}},setup(f){return(t,u)=>(l(),d("div",{style:B(t.divStyle),class:E(["relative mb-32px w-full flex",{"bg-cover":!t.isRepeated}])},[(l(!0),d(I,null,F(t.innerBlocks,(s,i)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[s.name]),S({key:i,"block-type":"normal",ref_for:!0},s.attributes,{"inner-blocks":s.innerBlocks,"in-cover":""}),null,16,["inner-blocks"]))),128)),h("span",{class:"absolute bottom-0 left-0 right-0 top-0",style:B(t.styleCover)},null,4)],6))}}),Ir=k({inheritAttrs:!1,__name:"Cover",props:{postFeaturedImage:{},blockType:{},url:{},useFeaturedImage:{type:Boolean},alt:{},contentPosition:{},dimRatio:{},focalPoint:{},isRepeated:{type:Boolean},minHeight:{},minHeightUnit:{},isDark:{type:Boolean},innerBlocks:{},style:{},textColor:{},overlayColor:{},customOverlayColor:{}},setup(f){const t=f,u=D(()=>{var C,v,$,A;let i="center",p="center";const y=t.contentPosition?t.contentPosition.split(" "):"",a=t.minHeight&&t.minHeightUnit?`${t.minHeight}${t.minHeightUnit}`:"350px",w=t.focalPoint?`${t.focalPoint.x*100}% ${t.focalPoint.y*100}%`:"50% 50%",M=t.textColor?`var(--${t.textColor})`:(v=(C=t.style)==null?void 0:C.color)!=null&&v.text?(A=($=t.style)==null?void 0:$.color)==null?void 0:A.text:t.isDark?"white":"black";switch(y[0]){case"top":i="flex-start";break;case"bottom":i="flex-end";break;default:i="center"}switch(y[1]){case"left":p="flex-start";break;case"right":p="flex-end";break;default:p="center"}return{backgroundImage:t.useFeaturedImage?`url(${t.postFeaturedImage})`:`url(${t.url})`,minHeight:a,backgroundPosition:w,justifyContent:p,alignItems:i,color:M}}),s=D(()=>({backgroundColor:t.overlayColor?`var(--${t.overlayColor}-color)`:t.customOverlayColor?t.customOverlayColor:"#000000",opacity:t.dimRatio/100}));return(i,p)=>{const y=Er,a=Ar,w=Lr;return i.blockType==="normal"?(l(),_(y,{key:0,"is-repeated":i.isRepeated,"inner-blocks":i.innerBlocks,"div-style":b(u),"style-cover":b(s)},null,8,["is-repeated","inner-blocks","div-style","style-cover"])):i.blockType==="amp"?(l(),_(a,{key:1,"is-repeated":i.isRepeated,"inner-blocks":i.innerBlocks,"div-style":b(u),"style-cover":b(s)},null,8,["is-repeated","inner-blocks","div-style","style-cover"])):i.blockType==="vina"?(l(),_(w,{key:2,"is-repeated":i.isRepeated,"inner-blocks":i.innerBlocks,"div-style":b(u),"style-cover":b(s)},null,8,["is-repeated","inner-blocks","div-style","style-cover"])):x("",!0)}}}),Fr=["innerHTML"],Mr=k({__name:"Embed",props:{html:{}},setup(f){return(t,u)=>(l(),d("div",{class:"mb-32px flex justify-center",innerHTML:t.html},null,8,Fr))}}),Hr=["data-src"],Sr=["data-src"],Ur=["data-tweetid"],Vr=["data-videoid"],Rr=["data-videoid"],Nr=k({__name:"Embed",props:{url:{},providerNameSlug:{}},setup(f){const t=f,u=t.url.split("?")[0],s=new URL(t.url).pathname.split("/"),i=s[s.length-1],p=new URL(t.url).searchParams.get("v"),y={reddit:{tagPosition:"head",async:!0,"custom-element":"amp-reddit",src:"https://cdn.ampproject.org/v0/amp-reddit-0.1.js",key:"amp-reddit"},tiktok:{tagPosition:"head",async:!0,"custom-element":"amp-tiktok",src:"https://cdn.ampproject.org/v0/amp-tiktok-0.1.js",key:"amp-tiktok"},twitter:{tagPosition:"head",async:!0,"custom-element":"amp-twitter",src:"https://cdn.ampproject.org/v0/amp-twitter-0.1.js",key:"amp-twitter"},vimeo:{tagPosition:"head",async:!0,"custom-element":"amp-vimeo",src:"https://cdn.ampproject.org/v0/amp-vimeo-0.1.js",key:"amp-vimeo"},youtube:{tagPosition:"head",async:!0,"custom-element":"amp-youtube",src:"https://cdn.ampproject.org/v0/amp-youtube-0.1.js",key:"amp-vimeo"}};let a={};switch(t.providerNameSlug){case"reddit":a=y.reddit;break;case"tiktok":a=y.tiktok;break;case"twitter":a=y.twitter;break;case"vimeo":a=y.vimeo;break;case"youtube":a=y.youtube;break}return fe({script:[a]}),(w,M)=>(l(),d(I,null,[w.providerNameSlug=="reddit"?(l(),d("amp-reddit",{key:0,layout:"responsive",width:"300",height:"400","data-embedtype":"post","data-src":b(u)},null,8,Hr)):x("",!0),w.providerNameSlug=="tiktok"?(l(),d("amp-tiktok",{key:1,width:"325",height:"575","data-src":b(u)},null,8,Sr)):x("",!0),w.providerNameSlug=="twitter"?(l(),d("amp-twitter",{key:2,width:"375",height:"472",layout:"responsive","data-tweetid":b(i)},null,8,Ur)):x("",!0),w.providerNameSlug=="vimeo"?(l(),d("amp-vimeo",{key:3,"data-videoid":b(i),layout:"responsive",width:"500",height:"281"},null,8,Vr)):x("",!0),w.providerNameSlug=="youtube"?(l(),d("amp-youtube",{key:4,"data-videoid":b(p),layout:"responsive",width:"480",height:"270"},null,8,Rr)):x("",!0)],64))}}),Pr=["innerHTML"],zr=k({__name:"Embed",props:{html:{}},setup(f){return(t,u)=>(l(),d("div",{class:"mb-32px flex justify-center",innerHTML:t.html},null,8,Pr))}}),Dr=k({inheritAttrs:!1,__name:"Embed",props:{blockType:{},html:{},url:{},providerNameSlug:{}},setup(f){return(t,u)=>{const s=Mr,i=Nr,p=zr;return t.blockType==="normal"?(l(),_(s,{key:0,html:t.html},null,8,["html"])):t.blockType==="amp"?(l(),_(i,{key:1,url:t.url,"provider-name-slug":t.providerNameSlug},null,8,["url","provider-name-slug"])):t.blockType==="vina"?(l(),_(p,{key:2,html:t.html},null,8,["html"])):x("",!0)}}}),jr={class:"mb-32px mt-24px text-center"},Gr={class:"grid grid-cols-[10fr_80fr_10fr] gap-x-8px relative mb-16px -mx-16px sm:mx-0"},qr={key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-20 flex items-center justify-center bg-black/90"},Or={class:"flex items-center justify-center"},Qr=["src"],Zr=k({inheritAttrs:!1,__name:"Gallery",props:{position:{},innerBlocks:{},caption:{},columns:{default:3},align:{default:""},backgroundColor:{},style:{}},setup(f){const t=at(),u=ut(),s=f;he(()=>{t.hash.includes(`gallery-${s.position}`)&&a()});const i=R(!1),p=R(0),y=R("");function a(){i.value=!0,p.value=0,y.value=s.innerBlocks[p.value].attributes.url,u.replace({hash:"#gallery-"+s.position})}function w(){p.value<s.innerBlocks.length-1?y.value=s.innerBlocks[++p.value].attributes.url:(p.value=0,y.value=s.innerBlocks[p.value].attributes.url)}function M(){p.value>0&&p.value<s.innerBlocks.length?y.value=s.innerBlocks[--p.value].attributes.url:(p.value=s.innerBlocks.length-1,y.value=s.innerBlocks[p.value].attributes.url)}function C(){i.value=!1}return(v,$)=>(l(),d("div",jr,[h("div",Gr,[h("div",{class:"relative before:content-[''] before:block before:pt-56% rounded-r-lg",style:B("background-image: url('"+v.innerBlocks[v.innerBlocks.length-1].attributes.image.sizes.thumbnail.url+"');")},null,4),h("div",{class:"relative before:content-[''] before:block before:pt-56% rounded-lg",style:B("background-image: url("+v.innerBlocks[0].attributes.image.sizes.thumbnail.url+");")},null,4),h("div",{class:"relative before:content-[''] before:block before:pt-56% rounded-l-lg",style:B("background-image: url("+v.innerBlocks[1].attributes.image.sizes.thumbnail.url+");")},null,4)]),h("button",{type:"button",class:"bg-orangeColor text-white text-2.75 leading-11px py-18px w-182px h-44px text-center font-semibold rounded-lg uppercase mx-auto",onClick:$[0]||($[0]=A=>a())},"ver galería"),ie(ct,null,{default:me(()=>[b(i)?(l(),d("div",qr,[Fe((l(),d("div",Or,[h("img",{src:b(y)},null,8,Qr),h("button",{class:"absolute right-30px text-30px text-black bg-white/70 rounded-full shadow-buttonRounded",onClick:w},$[1]||($[1]=[h("i",{class:"i-mdi-chevron-right block"},null,-1)])),h("button",{class:"absolute left-30px text-30px text-black bg-white/70 rounded-full shadow-buttonRounded",onClick:M},$[2]||($[2]=[h("i",{class:"i-mdi-chevron-left block"},null,-1)]))])),[[b(He),C]]),h("button",{class:"absolute mx-auto top-30px text-30px text-black bg-white/70 rounded-full shadow-xl",onClick:C},$[3]||($[3]=[h("i",{class:"i-mdi-close mx-auto block"},null,-1)]))])):x("",!0)]),_:1})]))}}),Wr={class:"mb-32px"},Yr={class:"gallery"},Jr=["lightbox","src","alt","width","height","srcset"],Xr={hidden:""},Kr=["lightbox","src","alt","width","height","srcset"],en=["innerHTML"],tn=k({inheritAttrs:!1,__name:"Gallery",props:{position:{},innerBlocks:{},caption:{},columns:{default:3},align:{default:""},backgroundColor:{},style:{}},setup(f){return(t,u)=>{var s,i;return l(),d("div",Wr,[h("div",{style:B({backgroundColor:t.backgroundColor?`var(--${t.backgroundColor}-color)`:(i=(s=t.style)==null?void 0:s.color)!=null&&i.background?t.style.color.background:"transparent"})},[h("div",Yr,[h("amp-img",{lightbox:"gallery-"+t.position,src:t.innerBlocks[0].attributes.image.sizes.original.url,layout:"responsive",alt:t.innerBlocks[0].attributes.image.alt,width:t.innerBlocks[0].attributes.image.sizes.original.width,height:t.innerBlocks[0].attributes.image.sizes.original.height,srcset:`${t.innerBlocks[0].attributes.image.sizes.mediumLarge.url} ${t.innerBlocks[0].attributes.image.sizes.mediumLarge.width}w, ${t.innerBlocks[0].attributes.image.sizes.medium.url} ${t.innerBlocks[0].attributes.image.sizes.medium.width}w`,sizes:"(max-width: 412px) 100vw"},u[0]||(u[0]=[h("span",{class:"overlay-text"},"Ver Galeria",-1)]),8,Jr),h("div",Xr,[(l(!0),d(I,null,F(t.innerBlocks.slice(1),(p,y)=>(l(),d("div",{key:y},[h("amp-img",{lightbox:"gallery-"+t.position,src:p.attributes.image.sizes.original.url,layout:"responsive",alt:p.attributes.image.alt,width:p.attributes.image.sizes.original.width,height:p.attributes.image.sizes.original.height,srcset:`${p.attributes.image.sizes.mediumLarge.url} ${p.attributes.image.sizes.mediumLarge.width}w, ${p.attributes.image.sizes.medium.url} ${p.attributes.image.sizes.medium.width}w`,sizes:"(max-width: 412px) 100vw"},null,8,Kr)]))),128))])]),t.caption?(l(),d("p",{key:0,class:"caption-gallery",innerHTML:t.caption},null,8,en)):x("",!0)],4)])}}}),rn=["href"],nn={class:"text-2.75 font-semibold leading-11px tracking-widest uppercase"},on=k({inheritAttrs:!1,__name:"Image",props:{alt:{},style:{},height:{},width:{},borderColor:{},align:{},href:{},inGallery:{type:Boolean},caption:{},image:{}},setup(f){const t=f,u=D(()=>{var y,a,w;let i="0",p="none";return(y=t.style)!=null&&y.border&&(p=`${t.style.border.width} solid ${t.style.border.color?t.style.border.color:t.borderColor?`var(--${t.borderColor}-color)`:"#3c434a"}`),(w=(a=t.style)==null?void 0:a.border)!=null&&w.radius&&(i=t.style.border.radius),{border:p,borderRadius:i}}),s=D(()=>{let i,p="auto";if(t.align)switch(t.align){case"left":i="0 auto 0 0";break;case"right":i="0 0 0 auto";break;default:i="0 auto"}return t.width&&(p=Number.isInteger(t.width)?`${t.width}px`:t.width),{width:p,height:t.inGallery?"100%":"auto",margin:i}});return(i,p)=>{const y=pt;return l(),d("div",{class:E({"mb-32px":!i.inGallery})},[h("div",{style:B(b(s)),class:"img-container relative max-w-max"},[i.href?(l(),d("a",{key:0,href:i.href,target:"_blank",rel:"noopener noreferrer"},[ie(y,{"featured-image":i.image,class:"h-full",style:B(b(u))},null,8,["featured-image","style"])],8,rn)):(l(),_(y,{key:1,"featured-image":i.image,class:"h-full",style:B(b(u))},null,8,["featured-image","style"])),i.caption?(l(),d("div",{key:2,class:E([i.inGallery?"absolute bottom-0 text-white m-auto flex justify-center left-0 right-0 bg-gradient-to-t from-black/70 to-transparent py-5px":"border-b border-b-neutral-300 py-16px"])},[h("p",nn,G(i.caption),1)],2)):x("",!0)],4)],2)}}}),Ve=Me(on,[["__scopeId","data-v-2ffcc6fe"]]),ln={class:"mb-32px"},sn=["onClick"],an=["innerHTML"],un={key:0,class:"fixed bottom-0 left-0 right-0 top-0 z-20 flex items-center justify-center bg-black/90"},cn={class:"flex items-center justify-center"},pn=["src"],dn=k({inheritAttrs:!1,__name:"Gallery",props:{innerBlocks:{},caption:{},columns:{default:3},align:{default:""},backgroundColor:{},style:{}},setup(f){const t=f,u=D(()=>{const v="16px";let $="100%";switch(t.columns){case 2:$=`calc(50% - ${v} /2)`;break;case 3:$=`calc(33.33333% - ${v} * 0.66667)`;break;case 4:$=`calc(25% - ${v} * 0.75)`;break}return{width:$}}),s=D(()=>{var v,$,A,T;return{columnGap:($=(v=t.style)==null?void 0:v.spacing)!=null&&$.blockGap.left?t.style.spacing.blockGap.left:"16px",rowGap:(T=(A=t.style)==null?void 0:A.spacing)!=null&&T.blockGap.top?t.style.spacing.blockGap.top:"16px"}}),i=R(!1),p=R(0),y=R("");function a(v){i.value=!0,p.value=v,y.value=t.innerBlocks[p.value].attributes.url}function w(){p.value<t.innerBlocks.length-1?y.value=t.innerBlocks[++p.value].attributes.url:(p.value=0,y.value=t.innerBlocks[p.value].attributes.url)}function M(){p.value>0&&p.value<t.innerBlocks.length?y.value=t.innerBlocks[--p.value].attributes.url:(p.value=t.innerBlocks.length-1,y.value=t.innerBlocks[p.value].attributes.url)}function C(){i.value=!1}return(v,$)=>{var T,U;const A=Ve;return l(),d("div",ln,[h("div",{style:B({backgroundColor:v.backgroundColor?`var(--${v.backgroundColor}-color)`:(U=(T=v.style)==null?void 0:T.color)!=null&&U.background?v.style.color.background:"transparent"})},[h("div",{class:"flex flex-wrap",style:B(b(s))},[(l(!0),d(I,null,F(v.innerBlocks,(O,K)=>(l(),d("div",{key:K,style:B(b(u)),class:"max-w-full flex flex-grow cursor-pointer",onClick:()=>a(K)},[ie(A,S({ref_for:!0},O.attributes,{"in-gallery":""}),null,16)],12,sn))),128))],4),h("p",{class:"my-5px text-center",innerHTML:v.caption},null,8,an)],4),b(i)?(l(),d("div",un,[Fe((l(),d("div",cn,[h("img",{src:b(y)},null,8,pn),h("button",{class:"absolute right-30px text-24px text-white/50",onClick:w},$[0]||($[0]=[h("i",{class:"i-mdi-chevron-right-circle-outline block"},null,-1)])),h("button",{class:"absolute left-30px text-24px text-white/50",onClick:M},$[1]||($[1]=[h("i",{class:"i-mdi-chevron-left-circle-outline block"},null,-1)]))])),[[b(He),C]]),h("button",{class:"absolute left-0 right-0 top-30px text-30px text-white/50",onClick:C},$[2]||($[2]=[h("i",{class:"i-mdi-close-circle-outline mx-auto block"},null,-1)]))])):x("",!0)])}}}),mn=k({inheritAttrs:!1,__name:"Gallery",props:{blockType:{},position:{},innerBlocks:{},caption:{},columns:{default:3},align:{default:""},backgroundColor:{},style:{}},setup(f){const t=f;return(u,s)=>{const i=Zr,p=tn,y=dn;return u.blockType==="normal"?(l(),_(i,ne(S({key:0},t)),null,16)):u.blockType==="amp"?(l(),_(p,ne(S({key:1},t)),null,16)):u.blockType==="vina"?(l(),_(y,ne(S({key:2},t)),null,16)):x("",!0)}}}),hn=k({__name:"Group",props:{innerBlocks:{},group:{type:Boolean},layout:{}},setup(f){return(t,u)=>{var s,i;return l(),d("div",{class:E(["mb-32px bg-orangeColor/15 text-[#DF5209]",[{"p-6":!t.group},{"md:flex md:space-x-4":((s=t.layout)==null?void 0:s.type)==="flex"},{"flex-col":((i=t.layout)==null?void 0:i.orientation)==="vertical"}]])},[(l(!0),d(I,null,F(t.innerBlocks,(p,y)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[p.name]),S({key:y,"block-type":"normal",ref_for:!0},p.attributes,{"inner-blocks":p.innerBlocks,group:!0,position:y}),null,16,["inner-blocks","position"]))),128))],2)}}}),yn=k({__name:"Group",props:{innerBlocks:{},group:{type:Boolean}},setup(f){return(t,u)=>(l(),d("div",{class:E(["group-container",{group:!t.group}])},[(l(!0),d(I,null,F(t.innerBlocks,(s,i)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[s.name]),S({key:i,"block-type":"amp",ref_for:!0},s.attributes,{"inner-blocks":s.innerBlocks,group:!0,position:i}),null,16,["inner-blocks","position"]))),128))],2))}}),fn=k({__name:"Group",props:{innerBlocks:{},group:{type:Boolean}},setup(f){return(t,u)=>(l(),d("div",{class:E(["mb-32px bg-neutral-100",{"border-l-3px border-l-black bg-neutral-100 p-6":!t.group}])},[(l(!0),d(I,null,F(t.innerBlocks,(s,i)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[s.name]),S({key:i,"block-type":"normal",ref_for:!0},s.attributes,{"inner-blocks":s.innerBlocks,group:!0,position:i}),null,16,["inner-blocks","position"]))),128))],2))}}),gn=k({inheritAttrs:!1,__name:"Group",props:{blockType:{},innerBlocks:{},group:{type:Boolean},layout:{}},setup(f){return(t,u)=>{const s=hn,i=yn,p=fn;return t.blockType==="normal"?(l(),_(s,{key:0,"inner-blocks":t.innerBlocks,layout:t.layout,group:t.group},null,8,["inner-blocks","layout","group"])):t.blockType==="amp"?(l(),_(i,{key:1,"inner-blocks":t.innerBlocks,group:t.group},null,8,["inner-blocks","group"])):t.blockType==="vina"?(l(),_(p,{key:2,"inner-blocks":t.innerBlocks,group:t.group},null,8,["inner-blocks","group"])):x("",!0)}}}),bn=["innerHTML"],kn=["innerHTML"],_n=k({__name:"Heading",props:{content:{},level:{},group:{type:Boolean},styleTitle:{}},setup(f){return(t,u)=>(l(),d(I,null,[t.level==2||t.level==1?(l(),d("h2",{key:0,class:E(["mb-16px",[t.group?"font-semibold text-4.5 leading-4.5 pb-16px border-b border-b-[#DF5209]/20 text-[#DF5209]":"font-garamond text-9 font-bold leading-34px md:text-8"]]),style:B(t.styleTitle),innerHTML:t.content},null,14,bn)):(l(),d("h3",{key:1,class:E(["mb-16px",[t.group?"font-semibold text-4.5 leading-4.5 pb-16px border-b border-b-[#DF5209]/20 text-[#DF5209]":"font-garamond text-6 font-bold leading-24px"]]),style:B(t.styleTitle),innerHTML:t.content},null,14,kn)),h("div",{class:E(["mb-32px h-1px w-70px bg-[#D9D9D9]",{hidden:t.group}])},null,2)],64))}}),Bn=["innerHTML"],wn=["innerHTML"],vn=k({__name:"Heading",props:{content:{},level:{},group:{type:Boolean},styleTitle:{}},setup(f){return(t,u)=>(l(),d(I,null,[t.level==2||t.level==1?(l(),d("h2",{key:0,class:E(["mb-16px",[t.group?"heading-group":"heading-h2"]]),style:B(t.styleTitle),innerHTML:t.content},null,14,Bn)):(l(),d("h3",{key:1,class:E(["mb-16px",[t.group?"heading-group":"heading-h3"]]),style:B(t.styleTitle),innerHTML:t.content},null,14,wn)),h("div",{class:E(["heading-line",{hidden:t.group}])},null,2)],64))}}),Cn=["innerHTML"],xn=["innerHTML"],Tn=k({__name:"Heading",props:{content:{},level:{},group:{type:Boolean},styleTitle:{}},setup(f){return(t,u)=>(l(),d(I,null,[t.level==2||t.level==1?(l(),d("h2",{key:0,class:E(["mb-16px",[t.group?"font-semibold text-4.5 leading-4.5":"text-6 font-bold leading-28-px md:text-6 md:leading-28px"]]),style:B(t.styleTitle),innerHTML:t.content},null,14,Cn)):(l(),d("h3",{key:1,class:E(["mb-16px",[t.group?"font-semibold text-4.5 leading-4.5":"text-5 font-bold leading-24px"]]),style:B(t.styleTitle),innerHTML:t.content},null,14,xn)),h("div",{class:E(["mb-32px h-1px w-70px bg-[#D9D9D9]",{hidden:t.group}])},null,2)],64))}}),$n=k({inheritAttrs:!1,__name:"Heading",props:{blockType:{},content:{},level:{},group:{type:Boolean},textColor:{},backgroundColor:{},style:{}},setup(f){const t=f,u=D(()=>{var s,i,p,y;return{color:t.textColor?`var(--${t.textColor}-color)`:(i=(s=t.style)==null?void 0:s.color)!=null&&i.text?t.style.color.text:"",backgroundColor:t.backgroundColor?`var(--${t.backgroundColor}-color)`:(y=(p=t.style)==null?void 0:p.color)!=null&&y.background?t.style.color.background:""}});return(s,i)=>{const p=_n,y=vn,a=Tn;return l(),d(I,null,[s.blockType==="normal"?(l(),_(p,{key:0,content:s.content,level:s.level,group:s.group,"style-title":b(u)},null,8,["content","level","group","style-title"])):x("",!0),s.blockType==="amp"?(l(),_(y,{key:1,content:s.content,level:s.level,group:s.group,"style-title":b(u)},null,8,["content","level","group","style-title"])):x("",!0),s.blockType==="vina"?(l(),_(a,{key:2,content:s.content,level:s.level,group:s.group,"style-title":b(u)},null,8,["content","level","group","style-title"])):x("",!0)],64)}}}),En=["innerHTML"],An=k({__name:"Html",props:{content:{}},setup(f){return(t,u)=>(l(),d("div",{class:"mb-32px flex justify-center",innerHTML:t.content},null,8,En))}}),Ln={class:"group-container group"},In={class:"inquote paragraph"},Fn=["href"],Mn=k({__name:"Html",props:{postUrl:{}},setup(f){return(t,u)=>(l(),d("div",Ln,[h("p",In,[u[0]||(u[0]=oe(" No se puede mostrar este contenido, revisalo desde nuestro sitio ")),h("a",{class:"link-html",href:t.postUrl},"aquí",8,Fn)])]))}}),Hn=["innerHTML"],Sn=k({__name:"Html",props:{content:{}},setup(f){return(t,u)=>(l(),d("div",{class:"mb-32px flex justify-center",innerHTML:t.content},null,8,Hn))}}),Un=k({inheritAttrs:!1,__name:"Html",props:{blockType:{},content:{},postUrl:{}},setup(f){return(t,u)=>{const s=An,i=Mn,p=Sn;return t.blockType==="normal"?(l(),_(s,{key:0,content:t.content},null,8,["content"])):t.blockType==="amp"?(l(),_(i,{key:1,"post-url":t.postUrl},null,8,["post-url"])):t.blockType==="vina"?(l(),_(p,{key:2,content:t.content},null,8,["content"])):x("",!0)}}}),Vn=["href"],Rn=["src","alt","width","height","srcset"],Nn=["src","alt","width","height","srcset"],Pn={class:"img-caption-text"},zn=k({inheritAttrs:!1,__name:"Image",props:{alt:{},height:{},width:{},href:{},inGallery:{type:Boolean},caption:{},image:{}},setup(f){return(t,u)=>(l(),d("div",{class:E({"mb-32px":!t.inGallery})},[t.href?(l(),d("a",{key:0,href:t.href,target:"_blank",rel:"noopener noreferrer"},[h("amp-img",{class:"max-w-full",src:t.image.sizes.original.url,layout:"responsive",alt:t.image.alt,width:t.image.sizes.original.width,height:t.image.sizes.original.height,srcset:`${t.image.sizes.mediumLarge.url} ${t.image.sizes.mediumLarge.width}w, ${t.image.sizes.medium.url} ${t.image.sizes.medium.width}w`,sizes:"(max-width: 412px) 100vw"},null,8,Rn)],8,Vn)):(l(),d("amp-img",{key:1,class:"max-w-full",src:t.image.sizes.original.url,layout:"responsive",alt:t.image.alt,width:t.image.sizes.original.width,height:t.image.sizes.original.height,srcset:`${t.image.sizes.mediumLarge.url} ${t.image.sizes.mediumLarge.width}w, ${t.image.sizes.medium.url} ${t.image.sizes.medium.width}w`,sizes:"(max-width: 412px) 100vw"},null,8,Nn)),t.caption?(l(),d("div",{key:2,class:E([t.inGallery?"img-caption-gallery":"img-caption"])},[h("p",Pn,G(t.caption),1)],2)):x("",!0)],2))}}),Dn=["href"],jn=["src","alt","title"],Gn=["src","width","height","alt","title"],qn={class:"text-2.75 font-semibold leading-11px tracking-widest uppercase"},On=k({inheritAttrs:!1,__name:"Image",props:{alt:{},style:{},height:{},width:{},borderColor:{},align:{},href:{},inGallery:{type:Boolean},caption:{},image:{}},setup(f){const t=f,u=D(()=>{var y,a,w;let i="0",p="none";return(y=t.style)!=null&&y.border&&(p=`${t.style.border.width} solid ${t.style.border.color?t.style.border.color:t.borderColor?`var(--${t.borderColor}-color)`:"#3c434a"}`),(w=(a=t.style)==null?void 0:a.border)!=null&&w.radius&&(i=t.style.border.radius),{border:p,borderRadius:i}}),s=D(()=>{let i,p="auto";if(t.align)switch(t.align){case"left":i="0 auto 0 0";break;case"right":i="0 0 0 auto";break;default:i="0 auto"}return t.width&&(p=Number.isInteger(t.width)?`${t.width}px`:t.width),{width:p,height:t.inGallery?"100%":"auto",margin:i}});return(i,p)=>(l(),d("div",{class:E({"mb-32px":!i.inGallery})},[h("div",{style:B(b(s)),class:"img-container relative max-w-max"},[i.href?(l(),d("a",{key:0,href:i.href,target:"_blank",rel:"noopener noreferrer"},[h("img",{src:i.image.sizes.mediumLarge.url,alt:i.alt,title:i.image.title,loading:"lazy",style:B(b(u)),class:"h-full object-cover"},null,12,jn)],8,Dn)):(l(),d("img",{key:1,src:i.image.sizes.mediumLarge.url,width:i.image.sizes.mediumLarge.width,height:i.image.sizes.mediumLarge.height,alt:i.alt,title:i.image.title,loading:"lazy",style:B(b(u)),class:"h-full object-cover"},null,12,Gn)),i.caption?(l(),d("div",{key:2,class:E([i.inGallery?"absolute bottom-0 text-white m-auto flex justify-center left-0 right-0 bg-gradient-to-t from-black/70 to-transparent py-5px":"border-b border-b-neutral-300 py-16px"])},[h("p",qn,G(i.caption),1)],2)):x("",!0)],4)],2))}}),Qn=Me(On,[["__scopeId","data-v-a1195afd"]]),Zn=k({inheritAttrs:!1,__name:"Image",props:{blockType:{},alt:{},style:{},height:{},width:{},borderColor:{},align:{},href:{},inGallery:{type:Boolean},caption:{},image:{}},setup(f){const t=f;return(u,s)=>{const i=Ve,p=zn,y=Qn;return u.blockType==="normal"?(l(),_(i,ne(S({key:0},t)),null,16)):u.blockType==="amp"?(l(),_(p,ne(S({key:1},t)),null,16)):u.blockType==="vina"?(l(),_(y,ne(S({key:2},t)),null,16)):x("",!0)}}}),Wn=["innerHTML"],Yn=k({inheritAttrs:!1,__name:"List",props:{ordered:{type:Boolean},innerBlocks:{},group:{type:Boolean}},setup(f){return(t,u)=>{const s=ye("List",!0);return l(),d("ul",{class:E(["list-outside p-6 text-4 font-medium leading-30px",[[t.ordered?"list-decimal":"list-disc"],[t.group?"border-l-0 pl-24px py-0":"bg-neutral-100 border-l-3px border-l-black pl-9 mb-32px md:pl-11"]]])},[(l(!0),d(I,null,F(t.innerBlocks,(i,p)=>(l(),d("li",{key:p,class:E({"mb-24px":p!==t.innerBlocks.length-1})},[h("div",{innerHTML:i.attributes.content},null,8,Wn),i.innerBlocks.length>0?(l(),_(s,{key:0,group:"",ordered:i.innerBlocks[0].attributes.ordered,"inner-blocks":i.innerBlocks[0].innerBlocks},null,8,["ordered","inner-blocks"])):x("",!0)],2))),128))],2)}}}),Jn=["innerHTML"],Xn=k({inheritAttrs:!1,__name:"List",props:{ordered:{type:Boolean},innerBlocks:{},group:{type:Boolean}},setup(f){return(t,u)=>{const s=ye("List",!0);return l(),d("ul",{class:E(["list",[[t.ordered?"list-decimal":"list-disc"],[t.group?"list-ingroup":"list-outgroup"]]])},[(l(!0),d(I,null,F(t.innerBlocks,(i,p)=>(l(),d("li",{key:p,class:E({"mb-24px":p!==t.innerBlocks.length-1})},[h("div",{innerHTML:i.attributes.content},null,8,Jn),i.innerBlocks.length>0?(l(),_(s,{key:0,group:"",ordered:i.innerBlocks[0].attributes.ordered,"inner-blocks":i.innerBlocks[0].innerBlocks},null,8,["ordered","inner-blocks"])):x("",!0)],2))),128))],2)}}}),Kn=["innerHTML"],eo=k({inheritAttrs:!1,__name:"List",props:{ordered:{type:Boolean},innerBlocks:{},group:{type:Boolean}},setup(f){return(t,u)=>{const s=ye("List",!0);return l(),d("ul",{class:E(["mb-32px list-outside border-l-3px border-l-black bg-neutral-100 p-6 pl-9 text-4 font-medium leading-30px md:pl-11",[[t.ordered?"list-decimal":"list-disc"],{" !border-l-0 !pl-24px !mb-0 !pb-0":t.group}]])},[(l(!0),d(I,null,F(t.innerBlocks,(i,p)=>(l(),d("li",{key:p,class:E({"mb-24px":p!==t.innerBlocks.length-1})},[h("div",{innerHTML:i.attributes.content},null,8,Kn),i.innerBlocks.length>0?(l(),_(s,{key:0,group:"",ordered:i.innerBlocks[0].attributes.ordered,"inner-blocks":i.innerBlocks[0].innerBlocks},null,8,["ordered","inner-blocks"])):x("",!0)],2))),128))],2)}}}),to=k({inheritAttrs:!1,__name:"List",props:{blockType:{},ordered:{type:Boolean},innerBlocks:{},group:{type:Boolean}},setup(f){return(t,u)=>{const s=Yn,i=Xn,p=eo;return l(),d(I,null,[t.blockType==="normal"?(l(),_(s,{key:0,ordered:t.ordered,"inner-blocks":t.innerBlocks,group:t.group},null,8,["ordered","inner-blocks","group"])):x("",!0),t.blockType==="amp"?(l(),_(i,{key:1,ordered:t.ordered,"inner-blocks":t.innerBlocks,group:t.group},null,8,["ordered","inner-blocks","group"])):x("",!0),t.blockType==="vina"?(l(),_(p,{key:2,ordered:t.ordered,"inner-blocks":t.innerBlocks,group:t.group},null,8,["ordered","inner-blocks","group"])):x("",!0)],64)}}}),ro=["innerHTML"],no=k({inheritAttrs:!1,__name:"Paragraph",props:{content:{},textColor:{},backgroundColor:{},align:{},style:{},inCover:{type:Boolean},inQuote:{type:Boolean},group:{type:Boolean},styleParagraph:{}},setup(f){return(t,u)=>(l(),d("p",{class:E(["font-medium leading-30px",[t.inCover?"text-8 z-1 font-garamond mb-32px":t.inQuote?"text-4":t.group?"text-4 mb-32px":"text-5.5 font-garamond mb-32px"]]),style:B(t.styleParagraph),innerHTML:t.content},null,14,ro))}}),oo=["innerHTML"],io=k({inheritAttrs:!1,__name:"Paragraph",props:{content:{},textColor:{},backgroundColor:{},align:{},style:{},inCover:{type:Boolean},inQuote:{type:Boolean},index:{},styleParagraph:{}},setup(f){return(t,u)=>(l(),d("p",{class:E(["paragraph",[t.inCover?"incover":t.inQuote?"inquote":"normal-text"]]),style:B(t.styleParagraph),innerHTML:t.content},null,14,oo))}}),lo=["innerHTML"],so=k({inheritAttrs:!1,__name:"Paragraph",props:{content:{},textColor:{},backgroundColor:{},align:{},style:{},inCover:{type:Boolean},inQuote:{type:Boolean},styleParagraph:{}},setup(f){return(t,u)=>(l(),d("p",{class:E(["font-medium",[t.inCover?"text-8 z-1 mb-32px":t.inQuote?"text-4":"text-4 mb-32px leading-26px"]]),style:B(t.styleParagraph),innerHTML:t.content},null,14,lo))}}),ao=k({inheritAttrs:!1,__name:"Paragraph",props:{blockType:{},content:{},textColor:{},backgroundColor:{},align:{},style:{},inCover:{type:Boolean},inQuote:{type:Boolean},group:{type:Boolean}},setup(f){const t=f,u=D(()=>{var s,i,p,y;return{textAlign:t.align?t.align:"left",color:t.textColor?`var(--${t.textColor})`:(i=(s=t.style)==null?void 0:s.color)!=null&&i.text?t.style.color.text:"",backgroundColor:t.backgroundColor?`var(--${t.backgroundColor})`:(y=(p=t.style)==null?void 0:p.color)!=null&&y.background?t.style.color.background:""}});return(s,i)=>{const p=no,y=io,a=so;return s.blockType==="normal"?(l(),_(p,S({key:0},t,{"style-paragraph":b(u)}),null,16,["style-paragraph"])):s.blockType==="amp"?(l(),_(y,S({key:1},t,{"style-paragraph":b(u)}),null,16,["style-paragraph"])):s.blockType==="vina"?(l(),_(a,S({key:2},t,{"style-paragraph":b(u)}),null,16,["style-paragraph"])):x("",!0)}}}),uo={class:"flex"},co=["innerHTML"],po=k({inheritAttrs:!1,__name:"Quote",props:{citation:{},innerBlocks:{},align:{},blockquoteStyle:{}},setup(f){return(t,u)=>(l(),d("blockquote",{style:B(t.blockquoteStyle),class:"mb-32px border-l-3px border-l-black bg-neutral-100 py-6 pl-6 pr-4 md:pr-6"},[h("div",uo,[u[0]||(u[0]=h("svg",{class:"mr-16px flex-shrink-0",width:"32",height:"28",viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.6667 12.9441H4.88115V12.9196C4.87598 10.7662 4.86881 7.81696 6.33101 6.31228C7.1702 5.44838 8.56809 5.01068 10.4859 5.01068L12.8137 5.0101V3.82138V1.18842V0H10.3079C10.2947 0 10.2829 0.00353695 10.27 0.0038317C7.1122 0.0445067 4.62391 0.974431 2.87547 2.77356C-0.0170605 5.7505 -0.00643802 10.0724 0.00073948 12.932L0.00102658 13.3087L0.00131368 16.0943V17.958V24.85V28H14.6667V24.85V16.0943V12.9441Z",fill:"black"}),h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M31.6667 12.9441H21.8812V12.9196C21.876 10.7662 21.8688 7.81696 23.331 6.31228C24.1702 5.44838 25.5681 5.01068 27.4859 5.01068L29.8137 5.0101V3.82138V1.18842V0H27.3079C27.2947 0 27.2829 0.00353695 27.27 0.0038317C24.1122 0.0445067 21.6239 0.974431 19.8755 2.77356C16.9829 5.7505 16.9936 10.0724 17.0007 12.932L17.001 13.3087L17.0013 16.0943V17.958V24.85V28H31.6667V24.85V16.0943V12.9441Z",fill:"black"})],-1)),h("div",null,[(l(!0),d(I,null,F(t.innerBlocks,(s,i)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[s.name]),S({key:i,ref_for:!0},s.attributes,{"inner-blocks":s.innerBlocks,"block-type":"normal","in-quote":""}),null,16,["inner-blocks"]))),128))])]),t.citation?(l(),d("p",{key:0,innerHTML:t.citation},null,8,co)):x("",!0)],4))}}),mo={class:"flex"},ho=["innerHTML"],yo=k({inheritAttrs:!1,__name:"Quote",props:{citation:{},innerBlocks:{},align:{},blockquoteStyle:{}},setup(f){return(t,u)=>(l(),d("blockquote",{style:B(t.blockquoteStyle),class:"blockquote"},[h("div",mo,[u[0]||(u[0]=h("svg",{class:"icon",width:"32",height:"28",viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.6667 12.9441H4.88115V12.9196C4.87598 10.7662 4.86881 7.81696 6.33101 6.31228C7.1702 5.44838 8.56809 5.01068 10.4859 5.01068L12.8137 5.0101V3.82138V1.18842V0H10.3079C10.2947 0 10.2829 0.00353695 10.27 0.0038317C7.1122 0.0445067 4.62391 0.974431 2.87547 2.77356C-0.0170605 5.7505 -0.00643802 10.0724 0.00073948 12.932L0.00102658 13.3087L0.00131368 16.0943V17.958V24.85V28H14.6667V24.85V16.0943V12.9441Z",fill:"black"}),h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M31.6667 12.9441H21.8812V12.9196C21.876 10.7662 21.8688 7.81696 23.331 6.31228C24.1702 5.44838 25.5681 5.01068 27.4859 5.01068L29.8137 5.0101V3.82138V1.18842V0H27.3079C27.2947 0 27.2829 0.00353695 27.27 0.0038317C24.1122 0.0445067 21.6239 0.974431 19.8755 2.77356C16.9829 5.7505 16.9936 10.0724 17.0007 12.932L17.001 13.3087L17.0013 16.0943V17.958V24.85V28H31.6667V24.85V16.0943V12.9441Z",fill:"black"})],-1)),h("div",null,[(l(!0),d(I,null,F(t.innerBlocks,(s,i)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[s.name]),S({key:i,ref_for:!0},s.attributes,{"inner-blocks":s.innerBlocks,"block-type":"amp","in-quote":""}),null,16,["inner-blocks"]))),128))])]),t.citation?(l(),d("p",{key:0,innerHTML:t.citation},null,8,ho)):x("",!0)],4))}}),fo={class:"flex"},go=["innerHTML"],bo=k({inheritAttrs:!1,__name:"Quote",props:{citation:{},innerBlocks:{},align:{},blockquoteStyle:{}},setup(f){return(t,u)=>(l(),d("blockquote",{style:B(t.blockquoteStyle),class:"mb-32px border-l-3px border-l-black bg-neutral-100 py-6 pl-6 pr-4 md:pr-6"},[h("div",fo,[u[0]||(u[0]=h("svg",{class:"mr-16px flex-shrink-0",width:"32",height:"28",viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.6667 12.9441H4.88115V12.9196C4.87598 10.7662 4.86881 7.81696 6.33101 6.31228C7.1702 5.44838 8.56809 5.01068 10.4859 5.01068L12.8137 5.0101V3.82138V1.18842V0H10.3079C10.2947 0 10.2829 0.00353695 10.27 0.0038317C7.1122 0.0445067 4.62391 0.974431 2.87547 2.77356C-0.0170605 5.7505 -0.00643802 10.0724 0.00073948 12.932L0.00102658 13.3087L0.00131368 16.0943V17.958V24.85V28H14.6667V24.85V16.0943V12.9441Z",fill:"black"}),h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M31.6667 12.9441H21.8812V12.9196C21.876 10.7662 21.8688 7.81696 23.331 6.31228C24.1702 5.44838 25.5681 5.01068 27.4859 5.01068L29.8137 5.0101V3.82138V1.18842V0H27.3079C27.2947 0 27.2829 0.00353695 27.27 0.0038317C24.1122 0.0445067 21.6239 0.974431 19.8755 2.77356C16.9829 5.7505 16.9936 10.0724 17.0007 12.932L17.001 13.3087L17.0013 16.0943V17.958V24.85V28H31.6667V24.85V16.0943V12.9441Z",fill:"black"})],-1)),h("div",null,[(l(!0),d(I,null,F(t.innerBlocks,(s,i)=>(l(),_(W(("contentBlocks"in t?t.contentBlocks:b(Y))[s.name]),S({key:i,ref_for:!0},s.attributes,{"inner-blocks":s.innerBlocks,"block-type":"normal","in-quote":""}),null,16,["inner-blocks"]))),128))])]),t.citation?(l(),d("p",{key:0,innerHTML:t.citation},null,8,go)):x("",!0)],4))}}),ko=k({inheritAttrs:!1,__name:"Quote",props:{blockType:{},citation:{},innerBlocks:{},align:{}},setup(f){const t=f,u=D(()=>({textAlign:t.align?t.align:"left"}));return(s,i)=>{const p=po,y=yo,a=bo;return s.blockType==="normal"?(l(),_(p,S({key:0},t,{"blockquote-style":b(u)}),null,16,["blockquote-style"])):s.blockType==="amp"?(l(),_(y,S({key:1},t,{"blockquote-style":b(u)}),null,16,["blockquote-style"])):s.blockType==="vina"?(l(),_(a,S({key:2},t,{"blockquote-style":b(u)}),null,16,["blockquote-style"])):x("",!0)}}}),_o={class:"mb-32px"},Bo=["innerHTML"],wo=["innerHTML"],vo=["innerHTML"],Co=["innerHTML"],xo=k({inheritAttrs:!1,__name:"Table",props:{body:{},caption:{},foot:{},head:{},hasFixedLayout:{type:Boolean},className:{},backgroundColor:{},textColor:{},borderColor:{},style:{},styleTable:{},borderStyle:{}},setup(f){return(t,u)=>(l(),d("div",_o,[h("table",{class:E(["w-full",[t.hasFixedLayout?"table-fixed":"table-auto"]])},[t.head.length?(l(),d("thead",{key:0,class:"border-b-3px",style:B("border-color: "+t.borderColor+"; border-style: "+t.borderStyle)},[h("tr",null,[(l(!0),d(I,null,F(t.head[0].cells,(s,i)=>(l(),d("th",{key:i,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:s.align}),innerHTML:s.content},null,12,Bo)],4))),128))])],4)):x("",!0),h("tbody",null,[(l(!0),d(I,null,F(t.body,(s,i)=>(l(),d("tr",{key:i,style:B([t.className=="is-style-stripes"&&i%2==0?{backgroundColor:"#f0f0f0"}:""])},[(l(!0),d(I,null,F(s.cells,(p,y)=>(l(),d("td",{key:y,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:p.align}),innerHTML:p.content},null,12,wo)],4))),128))],4))),128))]),t.foot.length?(l(),d("tfoot",{key:1,class:"border-t-3px",style:B("border-color: "+t.borderColor+"; border-style: "+t.borderStyle)},[h("tr",null,[(l(!0),d(I,null,F(t.foot[0].cells,(s,i)=>(l(),d("td",{key:i,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:s.align}),innerHTML:s.content},null,12,vo)],4))),128))])],4)):x("",!0)],2),h("p",{class:"my-5px text-center",innerHTML:t.caption},null,8,Co)]))}}),To={class:"mb-32px"},$o=["innerHTML"],Eo=["innerHTML"],Ao=["innerHTML"],Lo=["innerHTML"],Io=k({inheritAttrs:!1,__name:"Table",props:{body:{},caption:{},foot:{},head:{},hasFixedLayout:{type:Boolean},className:{},backgroundColor:{},textColor:{},borderColor:{},style:{},styleTable:{},borderStyle:{}},setup(f){return(t,u)=>(l(),d("div",To,[h("table",{class:E(["w-full",[t.hasFixedLayout?"table-fixed":"table-auto"]])},[t.head.length?(l(),d("thead",{key:0,class:"border-b-3px",style:B("border-color: "+t.borderColor+"; border-style: "+t.borderStyle)},[h("tr",null,[(l(!0),d(I,null,F(t.head[0].cells,(s,i)=>(l(),d("th",{key:i,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:s.align}),innerHTML:s.content},null,12,$o)],4))),128))])],4)):x("",!0),h("tbody",null,[(l(!0),d(I,null,F(t.body,(s,i)=>(l(),d("tr",{key:i,style:B([t.className=="is-style-stripes"&&i%2==0?{backgroundColor:"#f0f0f0"}:""])},[(l(!0),d(I,null,F(s.cells,(p,y)=>(l(),d("td",{key:y,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:p.align}),innerHTML:p.content},null,12,Eo)],4))),128))],4))),128))]),t.foot.length?(l(),d("tfoot",{key:1,style:B([{"border-top-width":"3px"},"border-color: "+t.borderColor+"; border-style: "+t.borderStyle])},[h("tr",null,[(l(!0),d(I,null,F(t.foot[0].cells,(s,i)=>(l(),d("td",{key:i,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:s.align}),innerHTML:s.content},null,12,Ao)],4))),128))])],4)):x("",!0)],2),h("p",{class:"table-caption",innerHTML:t.caption},null,8,Lo)]))}}),Fo={class:"mb-32px"},Mo=["innerHTML"],Ho=["innerHTML"],So=["innerHTML"],Uo=["innerHTML"],Vo=k({inheritAttrs:!1,__name:"Table",props:{body:{},caption:{},foot:{},head:{},hasFixedLayout:{type:Boolean},className:{},backgroundColor:{},textColor:{},borderColor:{},style:{},styleTable:{},borderStyle:{}},setup(f){return(t,u)=>(l(),d("div",Fo,[h("table",{class:E(["w-full",[t.hasFixedLayout?"table-fixed":"table-auto"]])},[t.head.length?(l(),d("thead",{key:0,class:"border-b-3px",style:B("border-color: "+t.borderColor+"; border-style: "+t.borderStyle)},[h("tr",null,[(l(!0),d(I,null,F(t.head[0].cells,(s,i)=>(l(),d("th",{key:i,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:s.align}),innerHTML:s.content},null,12,Mo)],4))),128))])],4)):x("",!0),h("tbody",null,[(l(!0),d(I,null,F(t.body,(s,i)=>(l(),d("tr",{key:i,style:B([t.className=="is-style-stripes"&&i%2==0?{backgroundColor:"#f0f0f0"}:""])},[(l(!0),d(I,null,F(s.cells,(p,y)=>(l(),d("td",{key:y,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:p.align}),innerHTML:p.content},null,12,Ho)],4))),128))],4))),128))]),t.foot.length?(l(),d("tfoot",{key:1,class:"border-t-3px",style:B("border-color: "+t.borderColor+"; border-style: "+t.borderStyle)},[h("tr",null,[(l(!0),d(I,null,F(t.foot[0].cells,(s,i)=>(l(),d("td",{key:i,class:"p-8px",style:B(t.styleTable)},[h("div",{style:B({textAlign:s.align}),innerHTML:s.content},null,12,So)],4))),128))])],4)):x("",!0)],2),h("p",{class:"my-5px text-center",innerHTML:t.caption},null,8,Uo)]))}}),Ro=k({inheritAttrs:!1,__name:"Table",props:{blockType:{},body:{},caption:{},foot:{},head:{},hasFixedLayout:{type:Boolean},className:{},backgroundColor:{},textColor:{},borderColor:{},style:{}},setup(f){var p,y,a,w,M,C;const t=f,u=t.borderColor?`var(--${t.borderColor}-color)`:(y=(p=t.style)==null?void 0:p.border)!=null&&y.color?t.style.border.color:(w=(a=t.style)==null?void 0:a.color)!=null&&w.text?t.style.color.text:t.textColor?t.textColor:"black",s=(C=(M=t.style)==null?void 0:M.border)!=null&&C.style?t.style.border.style:"solid",i=D(()=>{var v,$,A,T,U,O;return{color:t.textColor?`var(--${t.textColor}-color)`:($=(v=t.style)==null?void 0:v.color)!=null&&$.text?t.style.color.text:"",backgroundColor:t.backgroundColor?`var(--${t.backgroundColor}-color)`:(T=(A=t.style)==null?void 0:A.color)!=null&&T.background?t.style.color.background:"",borderWidth:(O=(U=t.style)==null?void 0:U.border)!=null&&O.width?t.style.border.width:t.className=="is-style-stripes"?"0":"1px",borderColor:u,borderStyle:s}});return(v,$)=>{const A=xo,T=Io,U=Vo;return l(),d(I,null,[v.blockType==="normal"?(l(),_(A,S({key:0},t,{"style-table":b(i),"border-style":b(s)}),null,16,["style-table","border-style"])):x("",!0),v.blockType==="amp"?(l(),_(T,S({key:1},t,{"style-table":b(i),"border-style":b(s)}),null,16,["style-table","border-style"])):x("",!0),v.blockType==="vina"?(l(),_(U,S({key:2},t,{"style-table":b(i),"border-style":b(s)}),null,16,["style-table","border-style"])):x("",!0)],64)}}}),Y={"core/group":gn,"core/paragraph":ao,"core/image":Zn,"core/heading":$n,"core/list":to,"core/quote":ko,"core/table":Ro,"core/gallery":mn,"core/html":Un,"core/embed":Dr,"core/audio":$r,"core/cover":Ir,"bio-bio-comunicaciones/alert":Ht,"bio-bio-comunicaciones/rudo-video":ur,"bio-bio-comunicaciones/lee-tambien":Dt,"bio-bio-comunicaciones/embed-instagram":Ct,"bio-bio-comunicaciones/embed-facebook":kt},No={key:2,class:"intext-div"},Po={key:3,style:{"text-align":"center"}},zo=["data-slot","json"],Zo=k({__name:"BlocksPostContent",props:{postId:{},postUrl:{},postFeaturedImage:{},blockType:{},postBlocks:{}},setup(f){var w,M;const t=f,{targeting:u}=dt(),s=JSON.stringify({tipo:u.value.tipo.value,"category-primary":u.value["category-primary"].value,"post-id":(w=u.value["post-id"])==null?void 0:w.value,keywords:(M=u.value.keywords)==null?void 0:M.value}),i=R(!1),p=D(()=>t.postBlocks.length>2?2:t.postBlocks.length-1),y=D(()=>t.postBlocks.length>4?4:t.postBlocks.length>3?3:t.postBlocks.length-1);function a(C,v){C&&v===`desk_ad_middle1-${t.postId}`&&(i.value=!0)}return(C,v)=>{const $=lt;return l(!0),d(I,null,F(C.postBlocks,(A,T)=>(l(),d("div",{key:T,class:"lg:px-60px"},[(l(),_(W(("contentBlocks"in C?C.contentBlocks:b(Y))[A.name]),S({"block-type":C.blockType,ref_for:!0},A.attributes,{"inner-blocks":A.innerBlocks,position:T,"post-url":C.postUrl,"post-featured-image":C.postFeaturedImage}),null,16,["block-type","inner-blocks","position","post-url","post-featured-image"])),T===b(p)&&C.blockType!="amp"?(l(),d("div",{key:0,class:E(["m-auto mb-24px mt-0 justify-center md:w-full md:flex-col md:items-center",[b(i)?"md:bg-[#F0EDED] flex":"md:bg-transparent hidden"]])},[h("p",{class:E(["my-6px text-2.25 text-black/30 font-medium leading-9px tracking-tighter font-montserrat uppercase",[b(i)?"hidden md:block":"hidden"]])}," Publicidad ",2),ie($,{id:"desk_ad_middle1-"+C.postId,class:"!m-0",path:"/1098385/pagina7cl/ad_middle1",dimensions:[300,250],"size-mapping":"asideSizeMapping"in C?C.asideSizeMapping:b(ot),targeting:b(u),"post-id":C.postId,onRenderEnded:a},null,8,["id","size-mapping","targeting","post-id"])],2)):x("",!0),(T+1)%3===0&&C.blockType!="amp"?(l(),_($,{key:1,id:"movil_ad_middle"+Math.min(Math.floor(T/3)+1,4)+"-"+C.postId,path:"/1098385/pagina7cl/ad_middle"+Math.min(Math.floor(T/3)+1,4),dimensions:[300,250],"size-mapping":"mobileSizeMapping"in C?C.mobileSizeMapping:b(it),targeting:b(u),"post-id":C.postId,"show-frame":"",onRenderEnded:a},null,8,["id","path","size-mapping","targeting","post-id"])):x("",!0),T===b(y)&&C.blockType!="amp"?(l(),d("div",No)):x("",!0),(T+1)%3===0&&C.blockType==="amp"?(l(),d("div",Po,[h("amp-ad",{width:"300",height:"250",type:"doubleclick","data-slot":"/1098385/pagina7cl/ad_middle"+Math.min(Math.floor(T/3)+1,4),layout:"fixed","data-multi-size":"300x250","data-multi-size-validation":"false",json:b(s)},null,8,zo)])):x("",!0)]))),128)}}});export{Zo as _};