PageSourceSearch

https://app.medall.org/_nuxt/_id_.ed4299b1.js

js medall.org collected 2026-09-24 11:25:02 UTC 19,721 bytes, 1 lines download raw bytes

1import{p as y,_ as Q}from"./factory.635e869c.js";import{_ as J}from"./avatar.e724a9f5.js";import{_ as N}from"./join-bookmark.7334e1d5.js";import{_ as U}from"./bookmark.d0eea6ec.js";import{_ as W,a as Z}from"./member-avatar-lineup.84a79c19.js";import{_ as L,i as G,W as H,o,a as r,w as f,d as w,e as c,c as u,t as v,j as a,F as M,X as q,V as E,b as V,g as z,n as tt,a3 as et,l as T,N as ot,k as nt,D as it,m as R,A as P,a0 as mt,u as at,L as rt,s as j,M as O,z as st,Y as ct}from"./entry.d93a3ed3.js";import{p as K}from"./pluralize.aac3a37e.js";import{V as X}from"./sheet.afa4d008.js";import{V as Y}from"./VSpacer.7f2bd550.js";import{V as A,a as S}from"./VRow.a9014e08.js";import{_ as lt}from"./card.93257263.js";import{b as ut}from"./results.7b052034.js";import{_ as dt}from"./search-field.d9685b22.js";import{_ as _t}from"./picker.166e3688.js";import{R as pt}from"./index.92ab73cd.js";import{u as yt}from"./index.81484b67.js";import{r as ft}from"./reportError.2ce2be7c.js";import{c as ht,b as gt}from"./thread-search-card.398c2b77.js";import{_ as bt}from"./header.d75dbd08.js";import{_ as wt}from"./markdown.24b4a4b1.js";import{_ as vt}from"./tags-list.33628cdc.js";import{n as xt}from"./text.4014da89.js";import"./slot.f297cb0f.js";import"./img.910e3f09.js";import"./ShortDate.b276ead1.js";import"./VList.58cb0795.js";import"./index.ad65ad69.js";import"./VListItem.42ed339b.js";import"./createSimpleFunctional.fc1433ea.js";import"./VAvatar.b632f07f.js";import"./ssrBoot.58070f5c.js";import"./VDivider.bd007436.js";import"./award-overlay.19e783f8.js";import"./VTooltip.ac2fda69.js";import"./VOverlay.8c4e1463.js";import"./forwardRefs.e658ad70.js";import"./chip.7bc68ab1.js";import"./VChip.805d40d9.js";import"./text.27394f32.js";import"./VCarouselItem.1b39089f.js";import"./VWindowItem.86bedc55.js";import"./card.4a33033d.js";import"./loader.2c1fab64.js";import"./VCard.25e4f60b.js";import"./rail.29b4d6c2.js";import"./section.dbf13e58.js";import"./avatar.7f7d4d85.js";import"./card.94f69c5d.js";import"./rail.39d8fc7b.js";import"./card.02c67074.js";import"./btn.763c8507.js";import"./section.3bb1b56d.js";import"./Basename.ee91fcdd.js";import"./section.8687daae.js";import"./nuxt-link.27d1e1a1.js";import"./routing.1d73d1b5.js";import"./logo-light.170b7b2e.js";import"./VDialog.098f514f.js";import"./dialog-transition.9f9b6364.js";import"./card.44dd483e.js";import"./card.593cd122.js";import"./card.51d1b4fe.js";import"./switcher-dialog.2f5d1b96.js";import"./dialog.a432f8d0.js";import"./form-v2.19b20e19.js";import"./logo-mark-white.15712989.js";import"./switcher.5bd4209b.js";import"./index.398e6435.js";import"./text-field.114b9c6c.js";import"./field.fb618caf.js";import"./VTextField.dd8ba950.js";import"./VField.80389ccf.js";import"./VLabel.96d1ac2b.js";import"./VInput.687065d2.js";import"./password.6795c0ad.js";
1import"./form.55960615.js";import"./register.97168c19.js";import"./form.20d75eda.js";import"./autocomplete.d5fe3b94.js";import"./VAutocomplete.448b8834.js";import"./VSelect.e3908e59.js";import"./VMenu.7149688b.js";import"./VCheckboxBtn.b4098672.js";import"./VSelectionControl.084d68e4.js";import"./filter.6e50a7ac.js";import"./picker.d210000d.js";import"./picker.25a4c0f0.js";import"./picker.c76a9ff8.js";import"./picker.17aaa96b.js";import"./summary.37178813.js";import"./radio-group.77df6d97.js";import"./radio-group.fc68cd0f.js";import"./VRadioGroup.f4ff49da.js";import"./password-strength.977e48f7.js";import"./captcha.a48851cb.js";import"./VAlert.02291e68.js";import"./update.35af3329.js";import"./form.922bd40d.js";import"./logo.ff61e80b.js";import"./VHover.d9b3eb40.js";import"./watcher.2613095e.js";import"./card.8e2895a2.js";import"./avatar.0bf8ffb1.js";import"./card.f89d9087.js";import"./card.70174726.js";import"./item-group.52cabc09.js";import"./VItem.aeee93c0.js";import"./rail.770e2f2d.js";import"./rail.1f0cda68.js";import"./VSnackbar.5ca9b11f.js";import"./snackbar.44d1b377.js";import"./private-indicator.ce6e6f32.js";import"./tooltip.d1681b43.js";import"./qbank-graphic.d634ec9e.js";import"./event-card.802087b6.js";import"./patient-indicator.30cac587.js";import"./VSkeletonLoader.86a7de95.js";import"./chip.4892beee.js";import"./overlay.af8fceff.js";import"./VToolbar.a331b966.js";import"./avatar.25b22ef9.js";import"./TimeAgo.c7455f3b.js";import"./badge.58c7a47e.js";import"./VBadge.a457859f.js";import"./index.fc84b8ed.js";const kt={inheritAttrs:!1,props:{community:{type:Object,default:null},followed:{type:Boolean,default:null},loading:{type:Boolean,default:!1}},computed:{avatarLimit(){return this.community.isOwner?11:17},memberFollowerText(){var m,t,l,g,n,s,d,_;const e=[];return((t=(m=this.community)==null?void 0:m.counts)==null?void 0:t.members)>10&&e.push(this.pluralize("member",(g=(l=this.community)==null?void 0:l.counts)==null?void 0:g.members,!0)),((s=(n=this.community)==null?void 0:n.counts)==null?void 0:s.follows)>10&&e.push(this.pluralize("follower",(_=(d=this.community)==null?void 0:d.counts)==null?void 0:_.follows,!0)),e.join(", ")},overviewRoute(){var e;return{name:"c-id",params:{id:(e=this.community)==null?void 0:e.slug}}},showMemberFollowerCounts(){var e,m,t,l;return((m=(e=this.community)==null?void 0:e.counts)==null?void 0:m.members)>=10||((l=(t=this.community)==null?void 0:t.counts)==null?void 0:l.follows)>=10}},methods:{...G("communities",["refresh"]),pluralize:K,async edit(
1){await H({name:"communities-id-edit",params:{id:this.community.slug}})}}},Ct={class:"d-flex align-center mb-0"},Lt={key:0,class:"d-flex flex-column ms-3 ms-md-0",style:{"min-width":"0px",width:"100%"}},jt={class:"text-h4 font-weight-bold text-body-1 text-md-subtitle-1 text-truncate"},Mt={key:0,class:"text-caption text-truncate"},Vt={key:1,class:"text-caption text-truncate"},zt={key:2},Ot={class:"ms-auto d-flex"},St={key:1,class:"d-none d-md-block ms-2"};function Rt(e,m,t,l,g,n){const s=J,d=N,_=U,i=W;return o(),r(X,{class:"d-community-header-card-condensed blur pa-4 pa-md-6",color:"#ffffffbf",rounded:"xl"},{default:f(()=>{var h,p,b;return[w("div",Ct,[c(s,{class:"org-avatar me-0 me-md-3 pe-0 pe-md-3",loading:t.loading,organisation:t.community,to:n.overviewRoute},null,8,["loading","organisation","to"]),t.loading?a("",!0):(o(),u("div",Lt,[w("div",jt,v((h=t.community)==null?void 0:h.name),1),t.community.pharmaTagLine?(o(),u("div",Mt,v(t.community.pharmaTagLine),1)):a("",!0),t.community.pharmaJobCode?(o(),u("div",Vt,v(t.community.pharmaJobCode),1)):a("",!0),n.showMemberFollowerCounts?(o(),u("div",zt,v(n.memberFollowerText),1)):a("",!0)])),w("div",Ot,[t.loading?a("",!0):(o(),u(M,{key:0},[t.community.visibility==="private"?(o(),r(d,{key:0,class:"px-2 fill-width","allow-leave":!t.community.onlyOwner,community:t.community,requested:t.community.pendingMembership,joined:t.community.isMember,"join-text":"Join community","pending-text":"Membership pending","visit-text":"Visit community",size:"40",onMemberLeft:e.refresh},null,8,["allow-leave","community","requested","joined","onMemberLeft"])):(o(),r(_,{key:1,class:"px-2 fill-width","followable-id":(p=t.community)==null?void 0:p.slug,"followable-type":"organisation",followed:t.followed,size:"40"},null,8,["followable-id","followed"]))],64)),(b=t.community)!=null&&b.hideSharingStrips?a("",!0):(o(),u("div",St,[c(i,{community:t.community},null,8,["community"])]))])])]}),_:1})}const Pt=L(kt,[["render",Rt],["__scopeId","data-v-921d96d8"]]);const Tt={inheritAttrs:!1,props:{community:{type:Object,default:null},followed:{type:Boolean,default:null},loading:{type:Boolean,default:!1}},computed:{avatarLimit(){return this.community.isOwner?11:17},memberFollowerText(){var m,t,l,g,n,s,d,_;const e=[];return((t=(m=this.community)==null?void 0:m.counts)==null?void 0:t.members)>10&&e.push(this.pluralize("member",(g=(l=this.community)==null?void 0:l.counts)==null?void 0:g.members,!0)),((s=(n=this.community)==null?void 0:n.counts)==null?void 0:s.follows)>10&&e.push(this.pluralize("follower",(_=(d=this.community)==null?void 0:d.counts)==null?void 0:_.follows,!0)),e.join(", ")},overviewRoute(){var e;return{name:"c-id",params:{id:(e=this.community)==null?void 0:e.slug}}},showMemberFollowerCounts(){var e,m,t,l;return((m=(e=this.community)==null?void 0:e.counts)==null?void 0:m.members)>=10||((l=(t=this.community)==null?void 0:t.counts)==null?void 0:l.follows)>=10}},methods:{...G("communities",["refresh"]),pluralize:K,async edit(
1){await H({name:"communities-id-edit",params:{id:this.community.slug}})}}},Bt={class:"d-flex flex-column flex-md-row align-center mb-0"},Ft={key:0,class:"d-flex flex-column align-center align-md-start"},qt={class:"text-h4 font-weight-bold mt-3 mt-md-0"},Et={key:0,class:"text-body-2 text-center text-md-left"},At={key:1,class:"text-caption text-center text-md-left"},Dt={class:"d-flex flex-column flex-md-row align-center px-0 pt-2"},It={key:2,class:"ms-0 ms-md-4 mb-2 mb-md-0"},Jt={class:"d-none d-md-flex"},Nt={class:"d-md-none text-bright-blue fill-width",style:{"min-width":"300px"}};function Ut(e,m,t,l,g,n){const s=J,d=Z,_=N,i=U,h=W;return o(),r(X,{class:"d-community-header-card blur pa-4 pa-md-6",color:"#ffffffbf",rounded:"xl"},{default:f(()=>{var p,b,k,x;return[w("div",Bt,[c(s,{class:"org-avatar me-0 me-md-3 pe-0 pe-md-3",loading:t.loading,organisation:t.community,to:n.overviewRoute},null,8,["loading","organisation","to"]),t.loading?a("",!0):(o(),u("div",Ft,[w("div",qt,v((p=t.community)==null?void 0:p.name),1),t.community.pharmaTagLine?(o(),u("div",Et,v(t.community.pharmaTagLine),1)):a("",!0),t.community.pharmaJobCode?(o(),u("div",At,v(t.community.pharmaJobCode),1)):a("",!0)]))]),w("div",Dt,[!t.loading&&!t.community.hidePeople?(o(),r(d,{key:0,class:"d-none d-md-block mb-3 mb-md-0",limit:n.avatarLimit},null,8,["limit"])):a("",!0),!t.loading&&!t.community.hidePeople?(o(),r(d,{key:1,limit:12,class:"d-block d-md-none mb-3 mb-md-0"})):a("",!0),n.showMemberFollowerCounts?(o(),u("div",It,v(n.memberFollowerText),1)):a("",!0),c(Y),w("div",Jt,[t.loading?a("",!0):(o(),u(M,{key:0},[t.community.visibility==="private"?(o(),r(_,{key:0,class:"mb-1 mb-md-0 px-0 px-md-3 fill-width","allow-leave":!t.community.onlyOwner,community:t.community,requested:t.community.pendingMembership,joined:t.community.isMember,"join-text":"Join community","pending-text":"Membership pending","visit-text":"Visit community",size:"40",onMemberLeft:e.refresh},null,8,["allow-leave","community","requested","joined","onMemberLeft"])):(o(),r(i,{key:1,class:"mb-1 mb-md-0 px-0 px-md-3 fill-width","followable-id":(b=t.community)==null?void 0:b.slug,"followable-type":"organisation",followed:t.followed,size:"40"},null,8,["followable-id","followed"]))],64)),(k=t.community)!=null&&k.hideSharingStrips?a("",!0):(o(),r(h,{key:1,community:t.community},null,8,["community"])),(x=t.community)!=null&&x.isOwner?(o(),r(q,{key:2,variant:"text",class:"align-self-center px-4 font-weight-bold text-dark-grey d-flex fill-width width-md-inherit",height:"40",onClick:n.edit},{prepend:f(()=>[c(E,{icon:"edit"})]),default:f(()=>[V(" Edit community ")]),_:1},8,["onClick"])):a("",!0)]),w("div",Nt,[c(A,null,{default:f(()=>[c(S,null,{default:f(()=>{var C;return[w("div",null,[t.loading?a("",!0):(o(),u(M,{key:0},[t.community.visibility==="private"?(o(),r(_,{key:0,class:"px-0 px-md-3 fill-width","allow-leave":!t.community.onlyOwner,community:t.community,requested:t.community.pendingMembership,joined:t.community.isMember,"join-text":"Join community","pending-text":"Membership pending","visit-text":"Visit community",size:"40",onMemberLeft:e.refresh},null,8,["allow-leave","community","requested","joined","onMemberLeft"])):(o(),r(i,{key:1,class:"px-0 px-md-3 fill-width","followable-id":(C=t.community)==null?void 0:C.slug,"followable-type":"organisation",followed:t.followed,size:"40"},null,8,["followable-id","followed"]))],64))])]}),_:1})]),_:1}),c(A,{dense:""},{default:f(()=>{var C;return[t.community.hideSharingStrips?a("",!0):(o(),r(S,{key:0},{default:f(()=>[c(h,{community:t.community,variant:"outlined","btn-class":"text-bright-blue font-weight-medium"},null,8,["community"])]),_:1})),(C=t.community)!=null&&C.isOwner?(o(),r(S,{key:1},{default:f(()=>[c(q,{variant:"outlined",class:"align-self-center px-4 font-weight-medium text-bright-blue d-flex fill-width width-md-inherit",height:"40",onClick:n.edit},{prepend:f(()=>[c(E,{icon:"edit"})]),default:f(()=>[V(" Edit community ")]),_:1},8,["onClick"])]),_:1})):a("",!0)]}),_:1})])])]}),_:1})}const Wt=L(Tt,[["render",Ut],["__scopeId","data-v-74370d0f"]]);const B={computed:{...z("communities",["community"]),backgroundUrl(){var e,m;return(m=(e=this.community)==null?void 0:e.urls)!=null&&m.background?`url(${this.community.urls.background})`:null},condensed(){return this.$route.meta.condensedCommunityHeader}
1,gradientBackground(){return this.community?ut.backgroundColourForText(this.community.initials):null}}},D=()=>{et(e=>({"62f46e22":e.gradientBackground,"3d692250":e.backgroundUrl}))},I=B.setup;B.setup=I?(e,m)=>(D(),I(e,m)):D;const Gt={class:"p-community-header"};function Ht(e,m,t,l,g,n){const s=Pt,d=Wt,_=T,i=lt;return o(),u("section",Gt,[c(i,{class:tt(n.backgroundUrl?"image-background":"gradient-background"),variant:"flat",rounded:"0"},{default:f(()=>[c(_,{max:"md"},{default:f(()=>{var h,p;return[n.condensed?(o(),r(s,{key:0,followed:(h=e.community)==null?void 0:h.followed,community:e.community},null,8,["followed","community"])):(o(),r(d,{key:1,followed:(p=e.community)==null?void 0:p.followed,community:e.community},null,8,["followed","community"]))]}),_:1})]),_:1},8,["class"])])}const $=L(B,[["render",Ht],["__scopeId","data-v-e085495c"]]);const Kt={props:{text:{type:String,required:!0}}};function Xt(e,m,t,l,g,n){const s=nt;return o(),r(s,{variant:"flat",size:"large",rounded:"xl",class:"d-community-link text-body-2 font-weight-bold px-3 px-md-5"},{default:f(()=>[ot(e.$slots,"default",{text:t.text},()=>[V(v(t.text),1)],!0)]),_:3})}const Yt=L(Kt,[["render",Xt],["__scopeId","data-v-50b342db"]]);const $t={data:()=>({overflowLeft:!1,overflowRight:!1}),computed:{...z("communities",["community","hasContent"]),communityParams(){return{id:this.community.slug}},showEventsVideos(){return this.community.enableEvents?this.community.isOwner?!0:this.hasContent:!1}},methods:{updateOverflow(){const e=this.$refs.container;this.overflowLeft=e.scrollLeft>0,this.overflowRight=e.scrollLeft+e.clientWidth<e.scrollWidth}}},Qt={class:"relative"},Zt={class:"d-none d-md-block search me-md-0"}
1,te={class:"d-md-none d-flex mx-4 mt-4"},ee={key:0,class:"overflow-opacity absolute start-0 top-0 fill-height"},oe={key:1,class:"overflow-opacity absolute end-0 top-0 fill-height"};function ne(e,m,t,l,g,n){const s=Yt,d=dt,_=_t;return o(),u("div",Qt,[it((o(),u("div",{ref:"container",class:"d-community-links-section d-flex overflow-x-auto gap-1 px-4 px-md-0",onScroll:m[0]||(m[0]=(...i)=>n.updateOverflow&&n.updateOverflow(...i))},[c(s,{text:"Overview",exact:"",to:{name:"c-id",params:n.communityParams}},null,8,["to"]),n.showEventsVideos?(o(),r(s,{key:0,text:"Events & videos",to:{name:"c-id-events-videos",params:n.communityParams}},null,8,["to"])):a("",!0),e.community.hideContents?a("",!0):(o(),r(s,{key:1,text:"Content",to:{name:"c-id-contents",params:n.communityParams}},null,8,["to"])),e.community.hideThreads?a("",!0):(o(),r(s,{key:2,text:"Threads",to:{name:"c-id-threads",params:n.communityParams}},null,8,["to"])),e.community.hideResources?a("",!0):(o(),r(s,{key:3,text:"Resources",to:{name:"c-id-resources",params:n.communityParams}},null,8,["to"])),e.community.hidePeople?a("",!0):(o(),r(s,{key:4,text:"People",to:{name:"c-id-people",params:n.communityParams}},null,8,["to"])),c(s,{text:"About",to:{name:"c-id-about",params:n.communityParams}},null,8,["to"]),c(Y),w("div",Zt,[c(_,{community:e.community.slug},{activator:f(({props:i})=>[c(d,R(i,{"base-color":"grey-lighten-1","button-size":"32",color:"grey-lighten-1",density:"compact",variant:"outlined",placeholder:"Search community",readonly:""}),null,16)]),_:1},8,["community"])])],32)),[[pt,n.updateOverflow]]),w("div",te,[c(_,{community:e.community.slug},{activator:f(({props:i})=>[c(d,R(i,{"base-color":"grey-lighten-1",clearable:"","button-size":"32",color:"grey-lighten-1",density:"compact",variant:"outlined",placeholder:"Search community",class:"fill-width"}),null,16)]),_:1},8,["community"])]),e.overflowLeft?(o(),u("div",ee)):a("",!0),e.overflowRight?(o(),u("div",oe)):a("",!0)])}const ie=L($t,[["render",ne],["__scopeId","data-v-afb74850"]]),me={computed:{...z("communities",["community"])}},ae={key:1,class:"text-body-1 mb-6"},re=["href"];function se(e,m,t,l,g,n){const s=bt,d=wt,_=vt,i=T;return o(),r(i,{id:"about",class:"p-community-about",max:"md"},{default:f(()=>[c(s,{class:"mb-2",text:`About ${e.community.name}`},null,8,["text"]),e.community.description?(o(),r(d,{key:0,class:"text-body-1 mb-4",source:e.community.description},null,8,["source"])):a("",!0),e.community.contactEmail?(o(),u("div",ae,[V(" Contact us: "),w("a",{class:"text-link",href:`mailto:${e.community.contactEmail}`},v(e.community.contactEmail),9,re)])):a("",!0),e.community.tags?(o(),r(_,{key:2,class:"flex-wrap mb-6",color:"pastel-purple","chip-class":"text-bright-blue font-weight-bold mb-2 me-2",size:"large",tags:e.community.tags},null,8,["tags"])):a("",!0)]),_:1})}const ce=L(me,[["render",se]]),le={inheritAttrs:!1,props:{content:{type:Object,required:!0}},computed:{components(){return{"community-about":ce,"community-header":$}}}};function ue(e,m,t,l,g,n){return o(),r(mt(n.components[t.content.name]),R(t.content.payload||{},{class:("cmsDisplayClass"in e?e.cmsDisplayClass:P(ht))(t.content.display)}),null,16,["class"])}const de=L(le,[["render",ue]]),_e={key:0},pe={beforeRouteUpdate(){this.resource=null},data(){return{resource:null}},computed:{...z("communities",["community"])},methods:{resourceLoaded(e){this.resource=e}}},Tn=Object.assign(pe,{__name:"[id]",async setup(e){let m,t;const l=at(),g=rt();let n=null;try{const i=([m,t]=j(()=>d()),m=await m,t(),m);[m,t]=j(()=>g.dispatch("communities/load",i)),await m,t(),[m,t]=j(()=>g.dispatch("layout/setCommunity",i)),await m,t(),n=([m,t]=j(()=>_(i.cmsLayoutId)),m=await m,t(),m),yt(s(i))}catch(i){ft(i)}function s(i){var p,b,k;const h={title:`${i.name} | Profile`,keywords:O.compact(i.recentKeywords).join(","),ogTitle:i.name,twitterCard:"summary",twitterTitle:i.name};if(i.description){const x=xt(i.description);Object.assign(h,{description:x,ogDescription:x,twitterDescription:x})}return(p=i.urls)!=null&&p.logo&&Object.assign(h,{ogImage:(b=i.urls)==null?void 0:b.logo,twitterImage:(k=i.urls)==null?void 0:k.logo}),O.omitBy(h,O.isNil)}async function d(){const i=`communities/${l.params.id}`,{data:h,error:p}=await st(i);if(p.value)throw p.value;return h.value}async function _(i){if(!i)return null;const h={populate:{main:{on:{...y["advertisement.slot"],...y["featured.carousel"],...y["featured.rail"],...y["logo.marquee"],...y["navigation.anchor"],...y["navigation.chips"],...y["organisation.rail"],...y["page.call-to-action"],...y["page.custom"],...y["page.hero"],...y["page.media"],...y["page.text"],...y["search.carousel"],...y["search.grid"],...y["search.list"],...y["search.rail"],...y["speaker.rail"],...y["testimonial.grid"]}}},status:l.query.preview==="true"?"draft":void 0},{data:p,error:b}=await gt(`organisation-layouts/${i}`,{query:h});if(b.value){if(b.value.statusCode===404)return null;throw b.value}return p.value.data}return(i,h)=>{var F;const p=Q,b=$,k=ie,x=T,C=ct;return(F=i.community)!=null&&F.id?(o(),u("div",_e,[P(n)?(o(),r(p,{key:0,factory:de,items:P(n).main,"max-width":"md"},null,8,["items"])):(o(),u(M,{key:1},[c(b),c(x,{max:"md",class:"pt-4 pt-md-6 px-0 px-md-4"},{default:f(()=>
1[c(k)]),_:1}),c(C,{onResourceLoaded:i.resourceLoaded},null,8,["onResourceLoaded"])],64))])):a("",!0)}}});export{Tn 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.