1import B from"./ZContactPerson.DIVtOfvK.js";import{aX as x,aZ as T,aM as t,aN as a,aR as d,aS as s,aO as l,aT as z,aU as m,b0 as o,aP as y,aQ as _,a$ as k,b1 as D,b5 as V,b7 as M,a_ as N}from"./entry.BS0Zhhuw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="217071c7-03aa-4267-977f-d405098f6eb3",e._sentryDebugIdIdentifier="sentry-dbid-217071c7-03aa-4267-977f-d405098f6eb3")}catch{}})();const E={class:"z-contact-card__list"},L={key:0,class:"z-contact-card__item"},O={key:0,class:"z-contact-card__title"},S={key:1},W={key:1,class:"z-contact-card__item"},j={key:0,class:"z-contact-card__title"},F={key:1},H={key:2,class:"z-contact-card__item"},P={class:"z-contact-card__title"},U={key:1},Z={key:3,class:"z-contact-card__item"},A={class:"z-contact-card__row"},Q={class:"z-contact-card__title"},R={key:1},X=["innerHTML"],q={key:4,class:"z-contact-card__item"},G={class:"z-contact-card__title"},J={key:1},te={__name:"ZContactCard",props:{data:{type:Object},hideImage:{type:Boolean},size:{type:String,default:"s"},horizontal:{type:Boolean,default:!1},showIcons:{type:Boolean,default:!1},showCaptions:{type:Boolean,default:!0},isValueDirColumn:{type:Boolean,default:!1},withoutMinWidth:Boolean},setup(e){const{localize:i}=x(),r=e,u={phone:i({ru:"ТелеÑон:",en:"Telephone:"}),fax:i({ru:"ФакÑ:",en:"Fax:"}),email:i({ru:"E-mail:",en:"E-mail:"}),site:i({ru:"СайÑ:",en:"Website:"}),address:i({ru:"ÐдÑеÑ:",en:"Address:"})},C=T(()=>({"z-contact-card--horizontal":r.horizontal,"z-contact-card--dir-column":r.isValueDirColumn,"z-contact-card--with-icons":r.showIcons,"z-contact-card--without-min-width":r.withoutMinWidth}));return(K,Y)=>{var w,v,g,b,I;const $=B,h=M,f=N;return t(),a("div",{class:D(["z-contact-card",V(C)])},[e.data.title?(t(),d($,{key:0,size:e.size,name:e.data.title,description:e.data.previewText,image:(w=e.data.previewPicture)==null?void 0:w.link,"hide-image":e.hideImage},null,8,["size","name","description","image","hide-image"])):s("",!0),l("div",E,[(v=e.data.emails)!=null&&v.length?(t(),a("div",L,[(t(!0),a(z,null,m(e.data.emails,(n,c)=>(t(),a("div",{key:`email-${c}`,class:"z-contact-card__row"},[e.showIcons||e.showCaptions?(t(),a("div",O,[c===0&&e.showIcons?(t(),d(h,{key:0,name:"contacts/at"})):s("",!0),c===0&&e.showCaptions?(t(),a("span",S,o(u.email),1)):s("",!0)])):s("",!0),y(f,{class:"z-contact-card__link",theme:"dark",href:`mailto:${n.value}`,size:e.size,underlined:!1},{default:_(()=>[k(o(n.text||n.value),1)]),_:2},1032,["href","size"])]))),128))])):s("",!0),(g=e.data.phones)!=null&&g.length?(t(),a("div",W,[(t(!0),a(z,null,m(e.data.phones,(n,c)=>(t(),a("div",{key:`phone-${c}`,class:"z-contact-card__row"},[e.showIcons||e.showCaptions?(t(),a("div",j,[c===0&&e.showIcons?(t(),d(h,{key:0,name:"contacts/phone"})):s("",!0),c===0&&e.showCaptions?(t(),a("span",F,o(u.phone),1)):s("",!0)])):s("",!0),y(f,{class:"z-contact-card__link",href:`tel:${n.value}`,theme:"dark",size:e.size,underlined:!1},{default:_(()=>[k(o(n.text||n.value),1)]),_:2},1032,["href","size"])]))),128))])):s("",!0),(b=e.data.faxes)!=null&&b.length?(t(),a("div",H,[(t(!0),a(z,null,m(e.data.faxes,(n,c)=>(t(),a("div",{key:`fax-${c}`,class:"z-contact-card__row"},[l("div",P,[c===0&&e.showIcons?(t(),d(h,{key:0,name:"contacts/fax"})):s("",!0),c===0&&e.showCaptions?(t(),a("span",U,o(u.fax),1)):s("",!0)]),y(f,{class:"z-contact-card__link",href:`fax:${n.value}`,theme:"dark",size:e.size,underlined:!1},{default:_(()=>[k(o(n.text||n.value),1)]),_:2},1032,["href","size"])]))),128))])):s("",!0),e.data.address?(t(),a("div",Z,[l("div",A,[l("div",Q,[e.showIcons?(t(),d(h,{key:0,name:"contacts/map"})):s("",!0),e.showCaptions?(t(),a("span",R,o(u.address),1)):s("",!0)]),l("span",{innerHTML:e.data.address},null,8,X)])])):s("",!0),(I=e.data.sites)!=null&&I.length?(t(),a("div",q,[(t(!0),a(z,null,m(e.data.sites,(n,c)=>(t(),a("div",{key:`site-${c}`,class:"z-contact-card__row"},[l("div",G,[c===0&&e.showIcons?(t(),d(h,{key:0,name:"contacts/desktop"}
1)):s("",!0),c===0&&e.showCaptions?(t(),a("span",J,o(u.site),1)):s("",!0)]),y(f,{class:"z-contact-card__link",href:n.value,theme:"dark",size:e.size,underlined:!1,target:"_blank"},{default:_(()=>[k(o(n.description||n.value),1)]),_:2},1032,["href","size"])]))),128))])):s("",!0)])],2)}}};export{te 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.