PageSourceSearch

https://nlinea.nl.gob.mx/_nuxt/DxqXdkal.js

js nl.gob.mx collected 2026-09-24 09:24:32 UTC 3,851 bytes, 1 lines download raw bytes

1import{_ as p}from"./DaI18MQd.js";import{_ as b,o,b as l,w as a,d as s,bd as k,j as r,Q as m,aF as x,h as C,M as D,N as V,V as w,e as c,bh as F,b9 as E,R as N,f as g,O as v,E as T,c as I,aA as S}from"./DDDL0Jn_.js";import{d as j,b as B}from"./hdUn0n6f.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"8d1006f63956406f81992318d8812f4374ba5f92"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="b76bc009-6aa5-4c2a-8b88-8a54d8d40841",t._sentryDebugIdIdentifier="sentry-dbid-b76bc009-6aa5-4c2a-8b88-8a54d8d40841")}catch{}})();const L={name:"DownloadFileCard",props:{files:{required:!0,type:Array}},data(){return{rating:0,ratingComment:"",submited:!1,existenFilesConLink:!1,downloading:{}}},computed:{brand(){return S().getBrand},cssVars(){return{"--primary-color":this.brand.primary_color}}},mounted(){const t=this;t.files.forEach(function(e){e.link!==""&&e.link!==null&&(t.existenFilesConLink=!0)})},methods:{downloadNameFor(t){return B(t.title,t.link)},async download(t,e,n){if(this.trackDownload(),n.metaKey||n.ctrlKey||n.shiftKey||n.altKey)return;const u=this.downloadNameFor(t);if(u&&(n.preventDefault(),!this.downloading[e])){this.downloading[e]=!0;try{await j(t.link,u,{viaDownloadToken:!0})}catch(i){I(new Error("Sheet attachment download degraded to native navigation"),{level:"warning",tags:{degrade:"sheet-attachment-download-fallback",source:"DownloadFileCard.download"},extra:{cause:i?.message,causeName:i?.name,url:t.link}}),window.location.assign(t.link)}finally{this.downloading[e]=!1}}},trackDownload(){this.$analytics?.track?.(T.tramite_ficha_button_download,{download_type:"attached_file"})},sendDataToPost(){this.$emit("getRating",{rating:this.rating,ratingComment:this.ratingComment}),this.submited=!0}}},R={class:"d-flex"},K={class:"titleDownload pa-0 font-weight-bold"},z={class:"text-Download text-body-1 font-weight-medium mb-0"},A=["href","download","onClick"],O={class:"text-caption font-weight-medium mt-0"};function P(t,e,n,u,i,h){const _=p;return i.existenFilesConLink===!0?(o(),l(v,{key:0,height:"100%",width:"100%",class:"px-6 py-4 rating-card",justify:"left",align:"stretch"},{default:a(()=>[s(k,{class:"text-white text-start mb-2 px-0 py-3"},{default:a(()=>[r("div",R,[e[0]||(e[0]=r("div",{class:"border-left mr-2"},null,-1)),r("div",K,m(t.$t("modules.downloadfile-title")),1)])]),_:1}),s(x,{class:"pb-0 align-center px-0",width:"100%"},{default:a(()=>[(o(!0),C(D,null,V(n.files,(d,f)=>(o(),l(w,{key:f,"no-gutters":""},{default:a(()=>[d.link!==""&&d.link!==null?(o(),l(c,{key:0,cols:"12",class:"pt-2"},{default:a(()=>[s(w,{"no-gutters":""},{default:a(()=>[s(c,{cols:"1",align:"start"},{default:a(()=>[s(_,{fill:"rgb(var(--v-theme-secondary))",width:"28px",height:"28px"})]),_:1}),s(c,{cols:"11",class:"pl-4"},{default:a(()=>[r("p",z,m(d.title),1)]),_:2},1024),s(c,{offset:"2",cols:"10"},{default:a(()=>[r("a",{href:d.link,download:h.downloadNameFor(d),align:"center",justify:"center",class:"download-container d-flex",onClick:y=>h.download(d,f,y)},[i.downloading[f]?(o(),l(F,{key:0,size:"16",width:"2",indeterminate:"",color:"primary",class:"mr-2"})):(o(),l(E,{key:1,size:"small",color:"primary",class:"pr-2"},{default:a(()=>[...e[1]||(e[1]=[N("mdi-tray-arrow-down",-1)])]),_:1})),r("p",O,m(t.$t("modules.download")),1)],8,A)]),_:2},1024)]),_:2},1024),n.files.length>1?(o(),l(w,{key:0,align:"center",justify:"center",class:"py-4 mt-0"},{default:a(()=>[...e[2]||(e[2]=[r("hr",{class:"horizontal_divider text-center",align:"center",justify:"center"},null,-1)])]),_:1})):g("",!0)]),_:2},1024)):g("",!0)]),_:2},1024))),128))]),_:1})]),_:1})):g("",!0)}const Q=Object.assign(b(L,[["render",P],["__scopeId","data-v-0716da09"]]),{__name:"DownloadFileCard"});export{Q 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.