PageSourceSearch

https://www.univates.br/_nuxt/Dk6SVRAV.js

js univates.br collected 2026-09-24 17:38:17 UTC 3,045 bytes, 1 lines download raw bytes

1import{b6 as k,v as o,b7 as N,b8 as j,b9 as F,aC as O,G as w,ba as P,c as u,o as n,F as S,k as E,a1 as B,aj as M,al as $,e as I,g as T,h as v}from"./DuNswFfk.js";import{u as C}from"./B7SFJ4ud.js";const L=["type","sizes","srcset"],R=["src","sizes","srcset"],G=Object.assign({inheritAttrs:!1},{__name:"NuxtPicture",props:{legacyFormat:{type:String,required:!1},imgAttrs:{type:Object,required:!1},src:{type:String,required:!1},format:{type:String,required:!1},quality:{type:[String,Number],required:!1},background:{type:String,required:!1},fit:{type:String,required:!1},modifiers:{type:Object,required:!1},preset:{type:String,required:!1},provider:{type:null,required:!1},sizes:{type:[String,Object],required:!1},densities:{type:String,required:!1},preload:{type:[Boolean,Object],required:!1},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},crossorigin:{type:[String,Boolean],required:!1},nonce:{type:String,required:!1}},emits:["load","error"],setup(a,{emit:m}){const r=a,i=m,c=k(),f=new Set(["alt","referrerpolicy","usemap","longdesc","ismap","loading","crossorigin","decoding","nonce"]),_=o(()=>{const e={img:{...x.value,...r.imgAttrs,"data-nuxt-pic":""},picture:{}};for(const t in c)f.has(t)?t in e.img||(e.img[t]=c[t]):e.picture[t]=c[t];return e}),d=o(()=>r.src?.match(/^[^?#]+\.(\w+)(?:$|[?#])/)?.[1]),l=o(()=>r.legacyFormat?r.legacyFormat:!d.value||!["png","webp","gif","svg"].includes(d.value)?"jpeg":"png"),p=j(),{providerOptions:q,imageModifiers:h,normalizedAttrs:x}=N(r),b=o(()=>{const e=r.format?.split(",")||(d.value==="svg"?["svg"]:p.options.format?.length?[...p.options.format]:["webp"]);return e[0]==="svg"?[{src:r.src}]:(e.includes(l.value)&&e.splice(e.indexOf(l.value),1),e.push(l.value),e.map(t=>{const{srcset:s,sizes:y,src:A}=p.getSizes(r.src,{...q.value,sizes:r.sizes||p.options.screens,densities:r.densities,modifiers:{...h.value,format:t}});return{src:A,type:`image/${t}`,sizes:y,srcset:s}}))}),z=F().isHydrating,g=O("imgEl");return w(()=>{const e=Array.isArray(g.value)?g.value[0]:g.value;e&&(e.complete&&z&&(e.getAttribute("data-error")?i("error",new Event("error")):i("load",new Event("load"))),e.onload=t=>{i("load",t)},e.onerror=t=>{i("error",t)},P("nuxt-picture"))}),(e,t)=>(n(),u("picture",M($(_.value.picture)),[(n(!0),u(S,null,E(b.value,(s,y)=>(n(),u(S,null,[y+1<b.value.length?(n(),u("source",{key:s.src,type:s.type,sizes:s.sizes,srcset:s.srcset},null,8,L)):(n(),u("img",B({ref_for:!0,ref_key:"imgEl",ref:g,key:"last"+s.src},{ref_for:!0},_.value.img,{src:s.src,sizes:s.sizes,srcset:s.srcset}),null,16,R))],64))),256))],16))}}),H=Object.assign(G,{__name:"NuxtPicture"}),U=I({__name:"StrapiImage",props:{image:{},formats:{default:"webp"}},setup(a){const m=o(()=>typeof a.image=="string"?a.image:a.image.url),r=o(()=>typeof a.image!="string"&&a.image.ext===".svg"?"svg":a.formats);return(i,c)=>{const f=H;return n(),T(f,{src:("useStrapiMedia"in i?i.useStrapiMedia:v(C))(v(m)),format:v(r)},null,8,["src","format"])}}}),Q=Object.assign(U,{__name:"StrapiImage"});export{Q as _,H as a};

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.