PageSourceSearch

https://hackdecuentas.com/_nuxt/BNiJJ5Jq.js

js hackdecuentas.com collected 2026-10-07 12:18:11 UTC 16,670 bytes, 1 lines download raw bytes

1import{u as ue,a as me,_ as pe,b as _e,c as he,d as fe}from"./DErmzzhS.js";import{u as ee,_ as ge,a as te,b as ve,c as xe,s as G,d as ae,e as be,f as ye,g as we,h as ce,i as Ee,j as $e,k as X,l as ie,m as Ce,n as ke,o as Se,G as Ue,C as Ie,y as Re,p as Ve,q as Ae,r as De,t as Le,v as Ne}from"./CGgF9aRT.js";import{z as Q,X as a,E as u,Y as Be,$ as re,P as s,a6 as r,Z as e,y as t,_ as g,c as k,O as j,ad as W,ao as de,a2 as N,r as Y,ag as K,M as Te,a1 as se,a5 as H,ae as ne,ap as Me,aq as He,ar as Qe,as as Oe,b as J,C as Pe,w as Fe}from"./CIfZDKVE.js";/* empty css        */import{_ as je}from"./BNI_a4cH.js";import{c as Ge}from"./OHc4qA73.js";import{o as le,s as D,t as qe,u as ze,F as L}from"./Bof76-Lq.js";import"./B8Cx_1h7.js";import"./B2RjcVzC.js";import"./CBJZMcpb.js";const Ze=Q({__name:"ListHackVideo",props:{classes:{type:String,default:""}},setup(i){const n=i;return(d,x)=>(a(),u("li",{class:re(["mt-2 rounded-xl bg-[#24292F] py-2 pl-4 text-[25px] hover:bg-first md:pl-12",n.classes])},[Be(d.$slots,"default")],2))}}),We=Object.assign(Ze,{__name:"ListHackVideo"}),Xe={class:"card-blog-container"},Ye={class:"card-blog-picture"},Je=["src","alt"],Ke={class:"card-blog-body"},et={class:"card-blog-title"},tt={class:"text-[18px]"},ot=Q({__name:"CardBlog",props:{props:{type:Object,default:()=>({title:{type:String,required:!0},thumbnail:{type:String,required:!0},date:{type:String,required:!0},slug:{type:String,required:!0}})}},setup(i){const n=i,{public:{staticUrl:d}}=ee(),x=k(()=>d+n.props.thumbnail);return(m,p)=>{const b=ge;return a(),u("div",Xe,[s(b,{to:`/${i.props.slug}`},{default:r(()=>[e("picture",Ye,[e("img",{src:t(x),alt:i.props.title,loading:"lazy"},null,8,Je)]),e("div",Ke,[e("h3",et,g(i.props.title),1),e("small",tt,g(m.$t("home.publiced"))+" "+g(i.props.date),1)])]),_:1},8,["to"])])}}}),st=Object.assign(te(ot,[["__scopeId","data-v-4bb44928"]]),{__name:"CardBlog"}),nt={class:"accordion-collapse"},lt=["id"],at=["onClick"],ct={type:"button"},it=["id","aria-hidden"],rt=Q({__name:"CollapseHome",props:{items:{type:Object,default:()=>({title:{type:String,required:!0},description:{type:String}})}},setup(i){const n=i,d=Y([]);n.items.forEach(p=>{d.push({...p,show:!1})});const x=p=>{p.show=!p.show},m=p=>p.show?"ic:outline-minus":"material-symbols:add-rounded";return(p,b)=>{const y=ve;return a(),u("div",nt,[e("ul",null,[(a(!0),u(j,null,W(t(d),(h,S)=>(a(),u("li",{id:"accordion-control-"+S,key:S,class:re(["accordion-header",{active:h.show}])},[e("h2",{onClick:de(I=>x(h),["prevent"])},[e("button",ct,[e("span",null,g(h.title),1),s(y,{name:m(h)},null,8,["name"])])],8,at),h.show?(a(),u("div",{key:0,id:"content-"+S,class:"accordion-collapse-body","aria-hidden":!h.show},[e("div",null,[e("p",null,g(h.description),1)])],8,it)):N("",!0)],10,lt))),128))])])}}}),dt=Object.assign(te(rt,[["__scopeId","data-v-afe3ca56"]]),{__name:"CollapseHome"}),ut={id:"como-hack",class:"sub-content text-white xl:mb-20 xl:py-20"},mt={class:"px-6 pt-8"},pt={class:"mt-10 text-center text-4xl xl:text-[90px] xl:leading-[4.5rem]"},_t={class:"text-first"},ht={class:"container mx-auto mt-8 flex flex-col px-6 xl:grid xl:grid-cols-12 xl:gap-4"},ft={class:"order-2 col-span-5 xl:order-1"},gt={class:"list-hacks h-[500px] overflow-y-auto rounded-lg border border-white px-2 py-1 shadow-lg"},vt={class:"truncate"},xt={class:"relative order-1 col-span-7 mb-8 h-[500px] w-full bg-[#24292F] xl:order-2 xl:mb-0"},bt={key:0,controls:""},yt=["src"],wt={key:1,class:"plyr__video-embed"},Et=["src"],$t={class:"bg-mid mb-20 mt-12 flex flex-col items-center justify-center bg-left-bottom bg-no-repeat pb-96 text-first xl:mt-4 xl:h-[280px] xl:pb-0"},Ct={class:"text-wrap-balance mt-6 text-center text-2xl font-semibold text-first xl:text-[40px]"},kt={class:"mb-20 flex flex-col text-white md:container sm:grid sm:grid-cols-12 sm:gap-4 md:mx-auto md:px-6 px-[20px]"},St={class:"col-span-12 flex flex-col gap-2 lg:col-span-6"},Ut=["innerHTML"],It={class:"mt-6"},Rt={class:"grid grid-cols-2 gap-4 sm:gap-6 sm:gap-y-16 md:grid-cols-3 xl:grid-cols-4"},Vt={class:"mt-3 whitespace-nowrap text-center text-lg font-semibold md:whitespace-normal md:text-2xl lg:text-[30px]"},At={id:"comentarios",class:"col-span-12 lg:col-span-5 xl:ml-24"},Dt={class:"mt-28 h-[720px] rounded-lg border border-white shadow-lg md:p-6 xl:h-[1040px]"},Lt={class:"text-center text-4xl text-first xl:text-[53px]"},Nt={class:"mt-4 size-full"},Bt=["src"],Tt={class:"container mx-auto text-white"},Mt={class:"container mx-auto my-20"},Ht=Q({__name:"Home",async setup(i){let n,d;const x=xe(),m=J(null),p=J(Math.random()),b=l=>{p.value=Math.random(),m.value=l||null},{settings:y}=G(ae()),h=k(()=>{const l=y.value.filter(c=>c.key==="message_center");return String(l[0]?.value??"")}),S=k(()=>{const l=y.value.filter(c=>c.key==="video_mobile_url");return l.length>0?String(l[0]?.value??null):null}),I=k(()=>{const l=y.value.filter(c=>c.key==="video_pc_url");return l.length>0?String(l[0]?.value??null):null}),B=k(()=>{const l=y.value.filter(c=>c.key==="iframe_comments");return l.length>0?String(l[0]?.value??null):null}),T=k(()=>{const l=y.value.filter(c=>c.key==="content_center");return String(l[0]?.value??"")}),R=([n,d]=K(()=>be()),n=await n,d(),n),O=ye(),q=we(),P={classes:"w-12 h-12",fill:"#fff",opacity:"0.8"};return(l,c)=>{const f=We,z=$e,Z=Te("vue-plyr"),V=ce,F=Ee,M=st,o=Oe,C=Me,U=dt;return a(),u(j,null,[e("section",ut,[e("header",mt,[e("h1",pt,[se(g(l.$t("home.heading_title_how"))+" ",1),e("span",_t,g(l.$t("hack")),1),se(" "+g(l.$t("home.heading_title_social")),1)])]),e("div",ht,[e("div",ft,[e("ul",gt,[(a(!0),u(j,null,W(t(x),(v,A)=>(a(),H(f,{key:A,classes:"flex gap-4 items-center cursor-pointer",onClick:oe=>b(v.videoPc)},{default:r(()=>[(a(),H(ne(v.icons),{props:v.props}
1,null,8,["props"])),e("span",vt,g(v.title),1)]),_:2},1032,["onClick"]))),128))])]),e("div",xt,[t(m)===null?(a(),H(z,{key:0,class:"absolute left-[46%] top-[43%] cursor-pointer text-2xl",props:P,onClick:c[0]||(c[0]=v=>b(t(S)&&t(I)))})):N("",!0),t(m)!=null?(a(),u("div",{key:t(p)},[s(V,null,{default:r(()=>[s(Z,null,{default:r(()=>[t(m).includes("youtube")?(a(),u("div",wt,[e("iframe",{src:t(m),allowfullscreen:"",allowtransparency:""},null,8,Et)])):(a(),u("video",bt,[e("source",{src:t(m)},null,8,yt)]))]),_:1})]),_:1})])):N("",!0)])])]),e("section",$t,[c[1]||(c[1]=e("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"76.069",height:"68.54",viewBox:"0 0 76.069 68.54"},[e("defs",null,[e("filter",{id:"Unión_1",x:"0",y:"0",width:"40.535",height:"68.54",filterUnits:"userSpaceOnUse"},[e("feOffset",{input:"SourceAlpha"}),e("feGaussianBlur",{stdDeviation:"3",result:"blur"}),e("feFlood",{"flood-color":"#36c2ff"}),e("feComposite",{operator:"in",in2:"blur"}),e("feComposite",{in:"SourceGraphic"})]),e("filter",{id:"Unión_2",x:"35.535",y:"0",width:"40.535",height:"68.54",filterUnits:"userSpaceOnUse"}
1,[e("feOffset",{input:"SourceAlpha"}),e("feGaussianBlur",{stdDeviation:"3",result:"blur-2"}),e("feFlood",{"flood-color":"#36c2ff"}),e("feComposite",{operator:"in",in2:"blur-2"}),e("feComposite",{in:"SourceGraphic"})])]),e("g",{id:"comillas",transform:"translate(-915.465 -2185.23)"},[e("g",{transform:"matrix(1, 0, 0, 1, 915.47, 2185.23)",filter:"url(#Unión_1)"},[e("path",{id:"Unión_1-2","data-name":"Unión 1",d:"M2414.5-4929.467v-22.8c-.026-.487-.063-1.574,0-3.143v-.052h0a57.91,57.91,0,0,1,2.643-14.682c3.284-10.507,19.855-9.85,19.855-9.85v6.785s-10.442.219-10.88,7.88c-.229,4-.218,7.471-.156,9.867H2436.5v26Z",transform:"translate(-2405.47 4989.01)",fill:"#36c2ff"})]),e("g",{transform:"matrix(1, 0, 0, 1, 915.47, 2185.23)",filter:"url(#Unión_2)"},[e("path",{id:"Unión_2-2","data-name":"Unión 2",d:"M2414.5-4929.467v-22.8c-.026-.487-.063-1.574,0-3.143v-.052h0a57.91,57.91,0,0,1,2.643-14.682c3.284-10.507,19.855-9.85,19.855-9.85v6.785s-10.442.219-10.88,7.88c-.229,4-.218,7.471-.156,9.867H2436.5v26Z",transform:"translate(-2369.93 4989.01)",fill:"#36c2ff"})])])],-1)),e("p",Ct,g(t(h)),1)]),e("section",kt,[e("div",St,[e("article",{class:"post-content light",innerHTML:t(T)},null,8,Ut),e("nav",It,[e("ul",Rt,[(a(!0),u(j,null,W(t(q),(v,A)=>(a(),u("li",{key:A},[s(F,{"navigation-link":v.navigationLink},{"svg-image":r(()=>[(a(),H(ne(v.icons),{props:v.propIcons},null,8,["props"]))]),"anchor-title":r(()=>[e("span",Vt,g(v.title),1)]),_:2},1032,["navigation-link"])]))),128))])])]),c[2]||(c[2]=e("div",{class:"xl:col-span-1"},null,-1)),e("div",At,[e("div",Dt,[e("h2",Lt,g(l.$t("home.box_comments")),1),e("div",Nt,[s(V,null,{default:r(()=>[t(B)!=null?(a(),u("iframe",{key:0,src:t(B),class:"h-[95%] w-full overflow-hidden rounded lg:h-[95%]"},null,8,Bt)):N("",!0)]),_:1})])])])]),e("section",Tt,[s(V,null,{default:r(()=>[s(C,{modules:["SwiperNavigation"in l?l.SwiperNavigation:t(He),"SwiperAutoplay"in l?l.SwiperAutoplay:t(Qe)],"slides-per-view":1,"space-between":20,loop:!0,effect:"creative",autoplay:{delay:5e3,disableOnInteraction:!0},"creative-effect":{prev:{shadow:!1,translate:["-10%",0,-1]},next:{translate:["100%",0,0]}},breakpoints:{640:{slidesPerView:2},768:{slidesPerView:3},1024:{slidesPerView:4}}},{default:r(()=>[(a(!0),u(j,null,W(t(O),(v,A)=>(a(),H(o,{key:A},{default:r(()=>[s(M,{props:v.props},null,8,["props"])]),_:2},1024))),128))]),_:1},8,["modules"])]),_:1})]),e("section",Mt,[s(U,{items:t(R)},null,8,["items"])])],64)}}}),Qt=Object.assign(Ht,{__name:"ContentsHome"});function Ot(){const{t:i}=X(),n={NAME_REQUIRED:i("login.formValidate.NAME_REQUIRED"),LAST_NAME_REQUIRED:i("login.formValidate.NAME_REQUIRED"),TITLE_REQUIRED:i("login.formValidate.TITLE_REQUIRED"),EMAIL_REQUIRED:i("login.formValidate.EMAIL_REQUIRED"),SOCIA_REQUIRED:i("login.formValidate.SOCIA_REQUIRED"),PHONE_NUMBER_REQUIRED:i("login.formValidate.PHONE_NUMBER_REQUIRED"),MESSAGE_REQUIRED:i("login.formValidate.MESSAGE_REQUIRED"),CAPTCHA_REQUIRED:i("login.formValidate.CAPTCHA_REQUIRED")}
1,d=le({form:le({name:D().min(3,n.NAME_REQUIRED),lastName:D().min(3,n.LAST_NAME_REQUIRED),email:D().email(n.EMAIL_REQUIRED),title:D().min(1,n.TITLE_REQUIRED),message:D().min(10,n.MESSAGE_REQUIRED),phone:D().regex(/^[0-9]+$/,n.PHONE_NUMBER_REQUIRED).min(8),recaptcha:D().min(1,n.CAPTCHA_REQUIRED)})});return{validationSchema:qe(d),zodSchema:d}}const Pt={class:"contact-content"},Ft={id:"contacto",class:"contacto container"},jt={class:"contact-title"},Gt={class:"contact-form"},qt={class:"w-full"},zt={class:"w-full"},Zt={class:"mt-6"},Wt={class:"w-full"},Xt={class:"mt-6"},Yt={class:"w-full"},Jt={class:"mt-6"},Kt={class:"w-full"},eo={class:"mt-4"},to={class:"w-full"},oo={class:"mt-4 flex w-full !flex-col items-center md:items-start"},so={key:0,class:"-mt-3 text-red-500"},no={class:"mt-4 w-full"},lo={type:"submit",class:"contact-form-button"},ao=Q({__name:"Contact",setup(i){const{locale:n}=G(ie()),{isDarkmode:d}=Ce(),x=k(()=>d?"dark":"light"),m=Y([...Ie]),p=J(m[124]),{t:b}=X(),{public:{apiUrl:y}}=ee(),{$swal:h}=ke(),{handleReset:S}=Re(),I=J(),B=o=>{I.value=o},T=ue(),{ipLockup:R}=G(T),{setIpLockup:O}=T,q=Y({form:{name:"",lastName:"",title:"",email:"",message:"",phone:"",recaptcha:""}}),P=o=>{typeof o=="string"&&V("form.recaptcha",o)};Pe(async()=>{const o=await me();O(o)}),Fe(R,o=>{if(o){const C=m.find(U=>U.value===o.countryCode);C&&(p.value=C)}});const{validationSchema:l}=Ot(),{handleSubmit:c,isSubmitting:f,setFieldError:z,meta:Z,setFieldValue:V,resetForm:F}=ze({validationSchema:l,initialValues:q}),M=c(async o=>{(await $fetch(`${y}/contact`,{method:"post",body:{name:o.form.name,last_name:o.form.lastName,email:o.form.email,title:o.form.title,message:o.form.message,phone:`+${p.value.callCode}${o.form.phone}`,recaptcha:o.form.recaptcha,lang_id:n.value?.id}})).message&&h.fire(b("contact.created"),b("contact.sended"),"success"),S(I.value),F()});return(o,C)=>{const U=Se,v=pe,A=je,oe=ce;return a(),u("div",Pt,[e("section",Ft,[e("h2",jt,g(o.$t("home.contact")),1),C[1]||(C[1]=e("div",{class:"contact-body"},null,-1)),e("div",Gt,[s(oe,null,{default:r(()=>[e("form",{onSubmit:C[0]||(C[0]=de((..._)=>t(M)&&t(M)(..._),["prevent"]))},[e("fieldset",null,[e("div",qt,[s(t(L),{name:"form.name"},{default:r(({field:_,errorMessage:w,handleChange:E,handleBlur:$})=>[s(U,{"model-value":_.value,error:w,disabled:t(f),type:"text",placeholder:o.$t("home.name"),classes:{input:"contact-form-input"},shape:"full","onUpdate:modelValue":E,onBlur:$},null,8,["model-value","error","disabled","placeholder","onUpdate:modelValue","onBlur"])]),_:1})]),e("div",zt,[s(t(L),{name:"form.lastName"},{default:r(({field:_,errorMessage:w,handleChange:E,handleBlur:$})=>[s(U,{"model-value":_.value,error:w,disabled:t(f),type:"text",placeholder:o.$t("home.lastName"),classes:{input:"contact-form-input"},shape:"full","onUpdate:modelValue":E,onBlur:$},null,8,["model-value","error","disabled","placeholder","onUpdate:modelValue","onBlur"])]),_:1})])]),e("fieldset",Zt,[e("div",Wt,[s(t(L),{name:"form.email"},{default:r(({field:_,errorMessage:w,handleChange:E,handleBlur:$})=>[s(U,{"model-value":_.value,error:w,disabled:t(f),type:"email",placeholder:o.$t("home.email"),classes:{input:"contact-form-input"},shape:"full","onUpdate:modelValue":E,onBlur:$},null,8,["model-value","error","disabled","placeholder","onUpdate:modelValue","onBlur"])]),_:1})])]),e("fieldset",Xt,[e("div",Yt,[s(t(L),{name:"form.phone"},{default:r(({field:_,errorMessage:w,handleChange:E,handleBlur:$})=>[s(U,{"model-value":_.value,error:w,disabled:t(f),type:"text",placeholder:o.$t("home.phoneNumber"),classes:{input:"contact-form-input !outline-0 rounded-3xl bg-white p-4 text-black ml-16",wrapper:"w-3/4 mr-12"},shape:"full",icon:"icon.phone","onUpdate:modelValue":E,onBlur:$},{icon:r(()=>[s(v,{id:"country-dp",disabled:!1,"selected-value":t(p),classes:{wrapper:"!m-0 !absolute top-0 left-0 w-24",button:"rounded-l-3xl border-r-0 h-10 focus:!ring-0 !pr-6 !pl-2 focus:!ring-white"},onChange:"changeCountry"in o?o.changeCountry:t(Ge)},null,8,["selected-value","onChange"])]),_:1},8,["model-value","error","disabled","placeholder","onUpdate:modelValue","onBlur"])]),_:1})])]),e("fieldset",Jt,[e("div",Kt,[s(t(L),{name:"form.title"},{default:r(({field:_,errorMessage:w,handleChange:E,handleBlur:$})=>
1[s(U,{"model-value":_.value,error:w,disabled:t(f),type:"text",placeholder:o.$t("contact.title"),classes:{input:"contact-form-input"},shape:"full","onUpdate:modelValue":E,onBlur:$},null,8,["model-value","error","disabled","placeholder","onUpdate:modelValue","onBlur"])]),_:1})])]),e("fieldset",eo,[e("div",to,[s(t(L),{name:"form.message"},{default:r(({field:_,errorMessage:w,handleChange:E,handleBlur:$})=>[s(A,{"model-value":_.value,error:w,disabled:t(f),placeholder:o.$t("home.message"),classes:{textarea:"contact-form-textarea"},autogrow:"",shape:"curved","onUpdate:modelValue":E,onBlur:$},null,8,["model-value","error","disabled","placeholder","onUpdate:modelValue","onBlur"])]),_:1})])]),e("fieldset",oo,[s(t(L),{name:"form.recaptcha"},{default:r(({errorMessage:_})=>[s(t(Ue),{theme:t(x),language:t(n)?.locale,onLoadCallback:P,onWidgetId:B},null,8,["theme","language"]),_?(a(),u("div",so,g(_),1)):N("",!0)]),_:1})]),e("fieldset",no,[e("button",lo,g(o.$t("home.send")),1)])],32)]),_:1})])])])}}}),co=Object.assign(te(ao,[["__scopeId","data-v-d6888749"]]),{__name:"FormsContact"}),io={key:0,class:"container mx-auto my-20 grid grid-cols-2 gap-4 md:grid-cols-4 lg:grid-cols-6"},bo=Q({__name:"index",async setup(i){let n,d;const{locale:x}=G(ie()),{settings:m}=G(ae()),{public:{staticUrl:p}}=ee(),b=k(()=>m.value.find(f=>f.key==="title_seo")?.value),y=k(()=>m.value.find(f=>f.key==="description_seo")?.value),h=k(()=>{const c=m.value.find(f=>f.key==="logo");return p+c?.value}),{locale:S}=X();Ve({title:b.value,description:y.value,msapplicationTileImage:h.value,ogType:"article",ogTitle:b.value,ogDescription:y.value,ogUrl:`https://${x.value?.domain}/`,ogImage:h.value,twitterCard:"summary_large_image",twitterTitle:b.value,twitterDescription:y.value,twitterImage:h.value,ogLocale:S.value,ogSiteName:b.value}),Ae();const I=De(),{data:B,pending:T}=([n,d]=K(()=>Le()),n=await n,d(),n),{t:R,setLocale:O}=X(),P=["es","en","fr"].includes(x.value?.locale)?x.value?.locale:"es";[n,d]=K(()=>O(P)),await n,d();const l=Y([{name:R("hack"),to:"#hack-account"},{name:R("menu.howHack"),to:"#como-hack"},{name:R("menu.comments"),to:"#comentarios"},{name:R("home.contact"),to:"#contacto"}]);return(c,f)=>{const z=he,Z=_e,V=Ne,F=Qt,M=co,o=fe;return a(),u("div",null,[s(V,{id:"hack-account"},{default:r(()=>[s(Z,null,{navsocial:r(()=>[t(I).length>0?(a(),H(z,{key:0,socials:t(I)},null,8,["socials"])):N("",!0)]),_:1}),!t(T)&&t(B)?.length?(a(),u("section",io)):N("",!0)]),_:1}),e("main",null,[e("article",null,[s(F)]),s(M)]),s(o,{menu:t(l)},null,8,["menu"])])}}});export{bo as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.