PageSourceSearch

https://cdn.peatix.com/assets/production/static/peaz-frontend/js/UserProfileHeader-DWBTa6Oz.js

js peatix.com collected 2026-09-24 06:34:06 UTC 4,051 bytes, 2 lines download raw bytes

1(function(){try{var 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]=`3a133370-cc71-4f67-b6f7-0c972143b744`,e._sentryDebugIdIdentifier=`sentry-dbid-3a133370-cc71-4f67-b6f7-0c972143b744`)}catch{}})();import{C as e,Ct as t,D as n,G as r,J as i,O as a,S as o,Wt as s,Y as c,Yt as l,b as u,h as d,it as f,q as p,x as m,y as h}from"./route-CITprrr5.js";import{_n as g,dn as _,k as v}from"./useProfileStore-CBaVsqDc.js";import{i as y,t as b}from"./BaseButton-DYUX4Air.js";import{t as x}from"./_plugin-vue_export-helper-CdgHZ22j.js";import{t as S}from"./useWindowResize-BhDGNLZJ.js";import{t as C}from"./ImageSkeletonLoader--pFghQzy.js";import{t as w}from"./useNotificationStore-DBeR6i7U.js";import{n as T,t as E}from"./AvatarImage-D2kduoNI.js";import{n as D}from"./FollowButton---MT1RW9.js";var O={key:0},k={key:0},A=a({__name:`ShareButton`,props:{url:{type:String,default:``,required:!0},userId:{type:Number,default:null,required:!0},groupId:{type:Number,default:null},eventId:{type:Number,default:null},variant:{type:String,default:y[1],required:!0},showOnlyIcon:{type:Boolean,required:!1},gtmEventName:{type:String,default:``,required:!0}},setup(i){let a=i,s=w(),{trackEvent:c}=_(),l=h(()=>!a.showOnlyIcon);function u(){a.url&&g(a.url).then(()=>{s.showSuccessNotification(`Successfully copied URL to clipboard.`),c({event:a.gtmEventName,user_id:a.userId,...a.groupId?{group_id:a.groupId}:{},...a.eventId?{event_id:a.eventId}:{}})}).catch(()=>{s.showErrorNotification(v.TRY_AGAIN)})}return(a,s)=>{let c=D,d=b;return r(),m(d,{variant:i.variant,color:`gray`,size:`sm`,onClick:u},{tooltip:f(()=>[t(l)?o(``,!0):(r(),e(`p`,k,` Share `))]),default:f(()=>[n(c),t(l)?(r(),e(`span`,O,`Share`)):o(``,!0)]),_:1},8,[`variant`])}}}),j={class:`btn-group`},M=[`value`,`disabled`],N=x(a({__name:`BaseToggleButtonGroup`,props:{modelValue:{type:String,default:``},items:{type:Array,default:()=>[],required:!0},disabled:{type:Boolean,default:!1}},emits:[`update:modelValue`],setup(n,{emit:i}){let a=n,o=i,c=h(()=>a.modelValue);function u(e){let t=e.target.value;o(`update:modelValue`,t)}return(i,a)=>(r(),e(`div`,j,[(r(!0),e(d,null,p(n.items,(i,a)=>(r(),e(`button`,{key:a,value:i.value,class:s([`btn-item`,{active:t(c)===i.value}]),disabled:n.disabled,onClick:u},l(i.name),11,M))),128))]))}}),[[`__scopeId`,`data-v-5c12699c`]]),P=`https://cdn.peatix.com/assets/production/static/peaz-frontend/assets/profile-cover-placeholder-Dpu0F479.jpg`,F={class:`profile-header-wrapper`},I={class:`header-container`},L={class:`avatar-image-container`},R={class:`profile-info-container`},z={key:1,class:`name text-display-sm text-semibold`},B={class:`details`},V={key:0,class:`cover-image`},H=[`src`],U=x(a({__name:`UserProfileHeader`,props:{coverImageUrl:{type:String,default:``},profileImageUrl:{type:String,default:``},name:{type:String,default:``,required:!0},isLoading:{type:Boolean,default:!1},isGroupProfile:{type:Boolean,default:!1}},setup(n){let a=n,{isMobile:d}=S(),f=h(()=>a.coverImageUrl?a.coverImageUrl:P),p=h(()=>a.profileImageUrl?a.profileImageUrl:T);return(a,h)=>{let g=c(`VSkeletonLoader`),_=E,v=C;return r(),e(`div`,F,[u(`div`,{class:s([`content`,{"--group-profile":n.isGroupProfile}])},[u(`div`,I,[u(`div`,L,[n.isLoading?(r(),m(g,{key:0,class:`avatar-loader`,type:`avatar`})):(r(),m(_,{key:1,class:`profile-image`,"image-url":t(p),alt:n.name},null,8,[`image-url`,`alt`]))]),i(a.$slots,`upperDetail`,{},void 0,!0)]),u(`div`,R,[n.isLoading?(r(),m(g,{key:0,width:`240`,height:`38`,type:`heading`})):(r(),e(`h1`,z,l(n.name),1)),u(`div`,B,[i(a.$slots,`lowerDetail`,{},void 0,!0)])])],2),n.isGroupProfile?(r(),e(`div`,V,[u(`div`,{class:s([`image`,{loading:n.isLoading}])},[n.isLoading?(r(),m(v,{key:0,height:t(d)?`144`:`336`},null,8,[`height`])):(r(),e(`img`,{key:1,src:t(f)},null,8,H))],2)])):o(``,!0)])}}}),[[`__scopeId`,`data-v-74b4be3f`]]);export{N as n,A as r,U as t};
2//# sourceMappingURL=UserProfileHeader-DWBTa6Oz.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.