PageSourceSearch

https://burninghut.ru/_nuxt/v2.5-QW9i0xNp.js

js burninghut.ru collected 2026-09-24 17:38:21 UTC 4,353 bytes, 2 lines download raw bytes

1import{bc as h,a$ as y,aM as a,aS as n,aU as l,bi as v,bF as k,bf as w,b8 as p,bh as f,aN as L,aY as c,aT as _,bm as S}from"./v2.5-BhXONrG7.js";import{d as z}from"./v2.5-DN8bt0dw.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="da329b17-5ad4-40f3-bbcd-3ded41b0e9a7",e._sentryDebugIdIdentifier="sentry-dbid-da329b17-5ad4-40f3-bbcd-3ded41b0e9a7")}catch{}const I=h({name:"PictureContact",props:{alt:{type:String,default:"Изображение"},sizes:{type:Array,default:null}},emits:["click"],computed:{defaultAvatar:()=>z,image(){const e=this.sizes?.[0],t=[];if(e)return t.push(e),this.sizes?.forEach(s=>{e.width*2===s.width&&t.push(s)}),{imageSizes:t,mediaQuery:"(min-width: 0px)"}},srcsetForNoScript(){return this.sizes?.slice(0,5)?.map(t=>`${t.url} ${t.width}w`).join(", ")},lazyLoadImage(){return this.image||null}},methods:{getSrcSet(e){const t=e.imageSizes;return t.length>1?`${t[0].url} 1x, ${t[1].url} 2x`:t[0].url}}},"$cAL7LpZcwX"),T=["srcset","media"],A=["src","alt"];function B(e,t,s,i,g,m){return a(),n("picture",{class:"picture",onClick:t[0]||(t[0]=d=>e.$emit("click"))},[l("source",{srcset:e.getSrcSet(e.lazyLoadImage),media:e.lazyLoadImage.mediaQuery},null,8,T),l("img",{class:"picture__img",src:e.defaultAvatar,alt:e.alt,height:"40",width:"40"},null,8,A)])}const j=y(I,[["render",B],["__scopeId","data-v-65e36a8e"]]),D=h({name:"AdsPageContactsList",components:{PictureContact:j},props:{elem:{type:Object,required:!0}},data:()=>({sources:{mobile:"40px"}}),computed:{items(){return this.elem.attributes.items},currentSlug(){return v((this._.provides[k]||this.$route).fullPath)}},methods:{getClassContactGroup(e,t){const s=this.getPersonContacts(e),i={};return s[t+1]&&s[t+1].length&&(i["ads-page-contacts-list__contacts-group--separator"]=!0),i},getPersonContacts(e){const{email:t,whatsapp:s,telegram:i}=e,g=[{type:"email",value:t},{type:"whatsapp",value:s},{type:"telegram",value:i}].filter(o=>o.value),[m,...d]=g;return[[m],[...d]].filter(o=>o.length>0)},getPersonInfo(e){if(!e.name&&!e.job_title)return"";const t=e.job_title?`, ${e.job_title}`:"",s=e.email||e.whatsapp||e.telegram?":":"";return`<span>${e.name??""}</span>${t}${s}`},getHrefContact(e){const t={email:s=>`mailto:${s}`,whatsapp:s=>`https://api.whatsapp.com/send?phone=${s}`,telegram:s=>`https://t.me/${s}`};return typeof t[e.type]=="function"?t[e.type](e.value):e.value},getContactAriaLable(e,t){return{email:"Электронная почта контакта "+t.name,whatsapp:"Ссылка на WhatsApp контакта "+t.name,telegram:"Ссылка на Telegram контакта "+t.name}[e.type]},getClassContactLink(e){return{[`ads-page-contacts-list__contact-link--${e.type}`]:e.type}},onContactClick(e){},getTextContact(e){return e.type==="email"?e.value:""}}},"$d1-B4k6H6T"),H={class:"ads-page-contacts-list"},N={class:"ads-page-contacts-list__content"},P={class:"ads-page-contacts-list__avatar"},F={class:"ads-page-contacts-list__person-info"},G=["innerHTML"],E={key:1,class:"ads-page-contacts-list__contacts"},M=["href","aria-label","onClick"];function Q(e,t,s,i,g,m){const d=w("PictureContact");return a(),n("div",H,[t[0]||(t[0]=l("h2",{class:"ads-page-contacts-list__title"},"Контакты",-1)),l("div",N,[(a(!0),n(p,null,f(e.items,(r,o)=>(a(),n("div",{key:o,class:"ads-page-contacts-list__person"},[l("div",P,[r.image?(a(),L(d,{key:0,sizes:r.image.sizes},null,8,["sizes"])):c("",!0)]),l("div",F,[e.getPersonInfo(r)?(a(),n("div",{key:0,class:"ads-page-contacts-list__person-description",innerHTML:e.getPersonInfo(r)},null,8,G)):c("",!0),e.getPersonContacts(r)?(a(),n("div",E,[(a(!0),n(p,null,f(e.getPersonContacts(r),(b,C)=>(a(),n(p,null,[r?(a(),n("div",{key:C,class:_(["ads-page-contacts-list__contacts-group",e.getClassContactGroup(r,o)])},[(a(!0),n(p,null,f(b,(u,$)=>(a(),n("a",{key:$,class:_(["ads-page-contacts-list__contact-link",e.getClassContactLink(u)]),href:e.getHrefContact(u),"aria-label":e.getContactAriaLable(u,r),target:"_blank",onClick:U=>e.onContactClick(u)},S(e.getTextContact(u)),11,M))),128))],2)):c("",!0)],64))),256))])):c("",!0)])]))),128))])])}const O=y(D,[["render",Q],["__scopeId","data-v-dcb53fc1"]]);export{O as default};
2//# sourceMappingURL=v2.5-QW9i0xNp.js.map

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.