1import{_ as k}from"./DUVEhCkU.js";import{_ as L}from"./DFJLcfAc.js";import{_ as z,o as m,b as f,w as a,e as g,f as p,aH as c,bL as E,R as i,Q as u,d as t,aI as b,O as x,aC as _,aD as y,aF as S,V as h,j as o,aE as v,bi as T,aG as I,bC as w,cU as P,u as G,b4 as V}from"./DDDL0Jn_.js";import{e as M,i as U}from"./Ckxtbyc9.js";import"./07UbID_d.js";import"./DCdSczAP.js";import"./C69Sq2GE.js";import"./Eq9SJLwR.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"8d1006f63956406f81992318d8812f4374ba5f92"};var e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="adc30707-1411-4a1c-96ae-8b8a05b44eb7",s._sentryDebugIdIdentifier="sentry-dbid-adc30707-1411-4a1c-96ae-8b8a05b44eb7")}catch{}})();const B="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%3e%3cg%20id='Grupo_12400'%20data-name='Grupo%2012400'%20transform='translate(-3347%2020759.564)'%3e%3ccircle%20id='Elipse_53271'%20data-name='Elipse%2053271'%20cx='18'%20cy='18'%20r='18'%20transform='translate(3347%20-20759.564)'%20fill='%23b88556'/%3e%3cpath%20id='Trazado_7965'%20data-name='Trazado%207965'%20d='M443.9,373.73a5.569,5.569,0,1,0-6.222,0,9.381,9.381,0,0,0-6.883,8.807.707.707,0,1,0,1.414,0c0-4.331,3.849-7.855,8.579-7.855s8.579,3.524,8.579,7.855a.707.707,0,1,0,1.415,0A9.381,9.381,0,0,0,443.9,373.73Zm-7.265-4.616a4.154,4.154,0,1,1,4.154,4.154A4.159,4.159,0,0,1,436.635,369.114Z'%20transform='translate(2924.211%20-21114.959)'%20fill='%23fff'/%3e%3c/g%3e%3c/svg%3e",A="data:image/svg+xml,%3csvg%20id='Grupo_12332'%20data-name='Grupo%2012332'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='40.213'%20height='40.213'%20viewBox='0%200%2040.213%2040.213'%3e%3cdefs%3e%3cclipPath%20id='clip-path'%3e%3crect%20id='Rectángulo_3863'%20data-name='Rectángulo%203863'%20width='40.213'%20height='40.213'%20fill='none'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20id='Grupo_12331'%20data-name='Grupo%2012331'%3e%3cg%20id='Grupo_12331-2'%20data-name='Grupo%2012331'%20clip-path='url(%23clip-path)'%3e%3cpath%20id='Trazado_7975'%20data-name='Trazado%207975'%20d='M40.213,20.106A20.106,20.106,0,1,0,20.106,40.213,20.107,20.107,0,0,0,40.213,20.106'%20fill='%23b88556'/%3e%3cpath%20id='Trazado_7976'%20data-name='Trazado%207976'%20d='M35.618,12.09S32.4,15.138,31.311,22.76,28.387,39.917,20.165,47.867c0,0,3.756-10.329-.289-19.857S5.643,22.527,4.943,24.238c0,0,1.711-5.445,6.922-5.445s8.415,3.854,12.29,3.111c4.911-.942,5.425-8.74,11.463-9.815'%20transform='translate(-3.232%20-7.904)'%20fill='%23fffdff'/%3e%3cpath%20id='Trazado_7977'%20data-name='Trazado%207977'%20d='M52.189,10.545a4.753,4.753,0,1,1-4.753-4.753,4.753,4.753,0,0,1,4.753,4.753'%20transform='translate(-27.905%20-3.787)'%20fill='%23fffdff'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",j="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='36'%20height='36'%20viewBox='0%200%2036%2036'%3e%3cg%20id='Grupo_12401'%20data-name='Grupo%2012401'%20transform='translate(-3523%2020759.564)'%3e%3cpath%20id='Trazado_7970'%20data-name='Trazado%207970'%20d='M18,0A18,18,0,1,1,0,18,18,18,0,0,1,18,0Z'%20transform='translate(3523%20-20759.564)'%20fill='%23b88556'/%3e%3cg%20id='Layer_2'%20data-name='Layer%202'%20transform='translate(3529.652%20-20752.902)'%3e%3cg%20id='invisible_box'%20data-name='invisible%20box'%20transform='translate(-0.721%20-0.387)'%3e%3crect%20id='Rectángulo_3819'%20data-name='Rectángulo%203819'%20width='23'%20height='23'%20transform='translate(0.288%200.289)'%20fill='none'/%3e%3c/g%3e%3cg%20id='icons_Q2'%20data-name='icons%20Q2'%20transform='translate(2.639%200.905)'%3e%3cpath%20id='Trazado_7968'%20data-name='Trazado%207968'%20d='M14.588,4c2.529.716,5.3,1.574,6.68,2.052v7.491c0,1.622-1.765,4.485-6.68,7.348-4.914-2.91-6.68-5.725-6.68-7.348V6.055C9.292,5.531,12.059,4.72,14.588,4m0-2S6,4.433,6,4.863v8.683
1c0,4.389,6.346,8.254,8.111,9.3a.859.859,0,0,0,.954,0c1.813-1,8.111-4.914,8.111-9.3V4.863C23.176,4.433,14.588,2,14.588,2Z'%20transform='translate(-6%20-2)'%20fill='%23fff'/%3e%3cpath%20id='Trazado_7969'%20data-name='Trazado%207969'%20d='M16.672,21.975l-2.386-2.338a1,1,0,0,1-.1-1.288.907.907,0,0,1,1.431-.1l1.718,1.718,4.58-4.58a.954.954,0,0,1,1.336,1.336l-5.248,5.248a.907.907,0,0,1-1.336,0Z'%20transform='translate(-10.184%20-8.902)'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q=""+new URL("registro.CsaX3Ukn.svg",import.meta.url).href,N={setup(){return{pasos01Svg:B,curpSvg:A,pasos02Svg:j,icvSvg:U,eFirmaSvg:M,registroSvg:q}},data(){return{loading:!1,dialogRegister:!1,reino:localStorage.getItem("reino"),cuit:localStorage.getItem("cuit"),projectId:this.$config.firebase.projectId,nodeEnv:this.$config.nodeEnv,alertDialog:!1}},head(){return{titleTemplate:`%s - ${this.$t("loginTitle")}`,meta:[{hid:"login",name:"Users login",content:"Login page"}]}},computed:{withSso(){return V().getsso},authconfigRegister(){return V().register},loggedIn(){return G().loggedIn}},beforeMount(){this.withSso&&this.nodeEnv==="production"&&this.$router.push({path:"/"})},mounted(){localStorage.removeItem("currentProfile"),this.validateSession()},methods:{async goToPath(){this.alertDialog=!1,await this.$autenticar.logout(),localStorage.removeItem("cuit"),localStorage.removeItem("reino"),localStorage.removeItem("backToReino"),this.loading=!0,this.$router.push({path:"/auth/login"})},async cancelModal(){this.alertDialog=!1,await this.$autenticar.logout(),localStorage.removeItem("cuit"),localStorage.removeItem("reino"),localStorage.removeItem("backToReino"),this.loading=!0},setLoading(s){this.loading=s},async validateSession(){if(this.cuit=localStorage.getItem("cuit"),this.reino=localStorage.getItem("reino"),this.reino!==null&&this.cuit!==null){const s=await P(this.cuit);s.exists()&&s.data()&&!this.loggedIn&&(this.alertDialog=!0)}},showDialog(){["os-sandbox-nuevo-leon","os-gobierno-de-nuevo-leon"].includes(this.projectId)?this.dialogRegister=!0:this.$router.push({path:"/auth/register"})}}},Z={class:"d-flex align-center"},F=["src"],Q={class:"d-flex align-center"},$=["src"],H={class:"d-flex align-center"},O=["src"],X={class:"d-flex align-center"},Y={class:"d-flex"},J=["src"],K={class:"subtitle-1 pa-0 text-grey-darken-1"};function W(s,e,R,n,l,d){const C=k,D=L;return m(),f(h,{justify:"center",align:"center",class:"fill-height"},{default:a(()=>[l.loading?p("",!0):(m(),f(g,{key:0,cols:"12",sm:"10",md:"10",lg:"9",xl:"8",class:"px-5 px-sm-8 px-md-4 py-4 py-md-6"},{default:a(()=>[l.loading?p("",!0):(m(),f(C,{key:0,id:"loginBtn",to:"/auth/login",text:s.$t("loginTitle")},null,8,["text"])),!l.loading&&d.authconfigRegister?(m(),f(c,{key:1,id:"registerBtn",variant:"text",class:"px-3 font-weight-bold",onClick:e[0]||(e[0]=E(r=>d.showDialog(),["stop"]))},{default:a(()=>[i(u(s.$t("registerTitle")),1)]),_:1})):p("",!0),t(D,{onLoading:e[1]||(e[1]=r=>d.setLoading(r))})]),_:1})),t(b,{modelValue:l.dialogRegister,"onUpdate:modelValue":e[3]||(e[3]=r=>l.dialogRegister=r),persistent:"","max-width":"850px"},{default:a(()=>[t(x,null,{default:a(()=>[t(_,{color:"primary"},{default:a(()=>[t(y,{class:"font-weight-medium px-6"},{default:a(()=>[...e[8]||(e[8]=[i("Requisitos ",-1)])]),_:1})]),_:1}),t(S,null,{default:a(()=>[t(h,{justify:"center",align:"center",class:"py-6 px-md-4"},{default:a(()=>[t(g,{cols:"12",md:"12",lg:"6",class:"pr-md-6"},{default:a(()=>[o("div",Z,[o("img",{width:"30px",src:n.pasos01Svg,alt:"Loader",class:"loader-image"},null,8,F),e[9]||(e[9]=o("h3",{class:"text-subtitle-1 font-weight-medium ml-2"},"Paso 1",-1))]),e[14]||(e[14]=o("p",{class:"mt-2"},[i(" Por medio de tu "),o("b",null,"CURP"),i(" podras adquirir tu "),o("b",null,"Identidad Digital"),i(" y se abrira un "),o("b",null,"Expediente Ãnico"),i(". "),o("br"),i(" Es necesario que coloques tus datos como aparecen en tu CURP ")],-1)),o("div",Q,[o("img",{width:"32px",src:n.curpSvg,alt:"Loader",class:"loader-image"},null,8,$),e[10]||(e[10]=o("h3",{class:"text-body-2 font-weight-bold ml-3"},"CURP (Clave Ãnica de Registro de Población)",-1))]),t(v,{class:"my-4"}),o("div",H,[o("img",{width:"30px",src:n.pasos02Svg,alt:"Loader",class:"loader-image"},null,8,O),e[11]||(e[11]=o("h3",{class:"text-subtitle-1 font-weight-medium ml-2"},"Paso 2",-1))]),e[15]||(e[15]=o("p",{class:"mt-2"},"Para tu validación se requiere de alguno de estos documentos",-1)),o("div",X,[t(T,{src:n.icvSvg,"max-height":"51","max-width":"65"},null,8,["src"]),e[12]||(e[12]=o("h3",{class:"text-subtitle-2 font-weight-bold ml-2"},"Licencia para conducir",-1))]),e[16]||(e[16]=o("div",{class:"font-weight-bold"},[o("p",{class:"mb-1",style:{"margin-left":"80px"}},"ó")],-1)),o("div",Y,[t(T,{src:n.eFirmaSvg,"max-height":"60","max-width":"68"},null,8,["src"]),e[13]||(e[13]=o("h3",{class:"text-subtitle-2 font-weight-bold ml-2"},"Firma electrónica (e.firma)",-1))])]),_:1}
1),t(g,{cols:"12",md:"12",lg:"6",class:"hidden-md-and-down"},{default:a(()=>[o("img",{src:n.registroSvg,"max-height":"330","max-width":"200",style:{width:"100%"},alt:"Loader",class:"loader-image"},null,8,J)]),_:1}),t(g,{cols:"12",class:"py-0"},{default:a(()=>[t(I,{class:"py-0"},{default:a(()=>[t(w),t(c,{color:"primary",to:"/auth/register",onClick:e[2]||(e[2]=r=>l.dialogRegister=!1)},{default:a(()=>[...e[17]||(e[17]=[i(" Entendido ",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),t(b,{modelValue:l.alertDialog,"onUpdate:modelValue":e[7]||(e[7]=r=>l.alertDialog=r),width:"500px"},{default:a(()=>[t(x,{class:"rounded-lg"},{default:a(()=>[t(_,{color:"primary"},{default:a(()=>[t(y,{class:"font-weight-medium"},{default:a(()=>[i(u(s.$t("usuario-ya-existe")),1)]),_:1}),t(w),t(c,{icon:"mdi-close",variant:"text",onClick:e[4]||(e[4]=r=>l.alertDialog=!1)})]),_:1}),t(v),t(S,{class:"pt-3 text-black text-left"},{default:a(()=>[t(h,null,{default:a(()=>[t(g,{class:"my-3 text-center"},{default:a(()=>[o("p",K,u(s.$t("ya-tienes-usuario-con-nosotros")),1)]),_:1})]),_:1})]),_:1}),t(v),t(I,{class:"py-3"},{default:a(()=>[t(w),t(c,{color:"secondary",variant:"outlined",class:"rounded-lg",disabled:l.loading,onClick:e[5]||(e[5]=r=>d.cancelModal())},{default:a(()=>[i(u(s.$t("cancel")),1)]),_:1},8,["disabled"]),t(c,{color:"primary",class:"rounded-lg",disabled:l.loading,onClick:e[6]||(e[6]=r=>d.goToPath())},{default:a(()=>[i(u(s.$t("logIn")),1)]),_:1},8,["disabled"])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})}const ne=z(N,[["render",W]]);export{ne 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.