1import{S as p}from"./Br4deHFD.js";import{_ as g}from"./DnoiiGbi.js";import{_ as w,P as l,a as c,i as m,w as h,b as o,F as f,o as u,e as _}from"./D9zgEtNu.js";const b={name:"Mods",components:{SubpageHero:p},data(){return{}},computed:{modsUrl(){return(this._.provides[l]||this.$route).hash?this.$config.public.modsUrl+(this._.provides[l]||this.$route).hash:this.$config.public.modsUrl}},mounted(){this.$nextTick(function(){this.initModio()})},beforeDestroy(){this.removeModioListeners()},beforeRouteLeave(e,t,i){this.removeModioListeners(),i()},methods:{modioMessage(e){var d,n,r,a;const t=this.$refs.modio_embed,i="https://embed.modhub.io";if(e.origin!==i)return;(d=e.data)!=null&&d.modioInit&&t.contentWindow.postMessage({modioUrl:window.location.href,modioWindow:window.innerHeight},i),Number.isInteger((n=e.data)==null?void 0:n.modioHeight)&&(t.style.height=`${e.data.modioHeight}px`);const s=(r=e.data)==null?void 0:r.modioScroll;s===0?t.scrollIntoView():s&&window.scrollTo({top:s}),(a=e.data)!=null&&a.modioPage&&window.history.replaceState(null,null,`#${e.data.modioPage}`)},modioScroll(){const e=this.$refs.modio_embed;e.contentWindow.postMessage({modioScroll:{scrollY:window.scrollY,frameTop:e.getBoundingClientRect().top}},"https://embed.modhub.io")},modioResize(){this.$refs.modio_embed.contentWindow.postMessage({modioWindow:window.innerHeight},"https://embed.modhub.io")},initModio(){window.addEventListener("hashchange",this.modioHashChange),window.addEventListener("message",this.modioMessage),window.addEventListener("scroll",this.modioScroll),window.addEventListener("resize",this.modioResize),window.location.hash&&this.$refs.modio_embed.scrollIntoView()},removeModioListeners(){window.removeEventListener("message",this.modioMessage),window.removeEventListener("scroll",this.modioScroll),window.removeEventListener("resize",this.modioResize),window.removeEventListener("hashchange",this.modioHashChange)}},head(){return{title:"Mods - Baldur's Gate 3",meta:[{name:"description",content:"An ancient evil has returned to Baldur's Gate, intent on devouring it from the inside out. The fate of Faerûn lies in your hands. Alone, you may resist. But together, you can overcome. Gather your party."},{name:"twitter:title",content:"Mods - Baldur's Gate 3"},{name:"twitter:description",content:"An ancient evil has returned to Baldur's Gate, intent on devouring it from the inside out. The fate of Faerûn lies in your hands. Alone, you may resist. But together, you can overcome. Gather your party."},{property:"twitter:card",content:"site"},{property:"og:title",content:"Mods - Baldur's Gate 3"},{property:"og:description",content:"An ancient evil has returned to Baldur's Gate, intent on devouring it from the inside out. The fate of Faerûn lies in your hands. Alone, you may resist. But together, you can overcome. Gather your party."},{property:"og:url",content:"https://baldursgate3.game/about/"},{property:"og:type",content:"website"},{property:"og:image",content:"https://baldursgate3.game/share.png"}]}}},y={class:"section mods"},v={class:"container"},B={class:"container-inner"},M={class:"content"},$=["src"];function L(e,t,i,s,d,n){const r=p,a=g;return u(),c(f,null,[m(r,{"background-image":"/jpg/mods-header.jpg","background-image-mobile":"/jpg/mods-background-mobile.jpg",socials:!1},{default:h(()=>[...t[0]||(t[0]=[o("div",{class:"content"},[o("span",{class:"--decor"},"Baldur's gate 3"),o("h1",null,[o("span",{class:"--text-gradient"},"Mods")]),o("div",{class:"--deco-line"}),o("p",null," Whether you are turning fireballs pink, boosting the attack damage of a hand-wielded sausage, or bestowing all citizens of Faerûn with a personal handgun, Baldurâs Gate 3 now officially supports modding! "),o("p",null," Browse from a number of community-created game mods and enhance your experience with new custom weapons, armour, classes and subclasses, spells, and game dice skins. ")],-1)])]),_:1}),o("section",y,[o("div",v,[o("div",B,[o("div",M,[m(a,null,{default:h(()=>[n.modsUrl?(u(),c("iframe",{key:0,id:"modio_embed",ref:"modio_embed",src:n.modsUrl,style:{width:"100%",border:"0",overflow:"hidden"},referrerpolicy:"origin",scrolling:"no"},null,8,$)):_("",!0)]),_:1})])])])])],64)}const x=w(b,[["render",L],["__scopeId","data-v-277e0bd1"]]);export{x 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.