import{_ as u,by as c,o as n,c as d,a as _,N as l,aa as p,b as f}from"./D-M-66OV.js";const h={props:{src:{type:String,required:!0}},data(){return{iframeSrc:this.src}},mounted(){this.iframeLoad()},methods:{async iframeLoad(){if(!c.isLoggedIn())return;const e=await c.getUserInfo(),t=e.email?`&UserEmail=${e.email}`:"",r=e.firstName?`&UserFirstName=${e.firstName}`:"",s=e.lastName?`&UserLastName=${e.lastName}`:"",o=e.company?`&UserCompany=${e.company}`:"",a=e.postalCode?`&UserPostalCode=${e.postalCode}`:"",i=e.countryCode?`&UserCountry=${e.countryCode}`:"",m=e.regionCode?`&UserState=${e.regionCode}`:"";this.iframeSrc=this.src+t+r+s+o+a+i+m}}},y={class:"ebm-three-dx"},C=["src"];function $(e,t,r,s,o,a){return n(),d("div",y,[_("iframe",{src:o.iframeSrc},null,8,C)])}const g=u(h,[["render",$],["__scopeId","data-v-0034373e"]]),S={__name:"ThreeDxSearchBlock",props:{settings:{type:Object,required:!0,default:()=>{}}},setup(e){return(t,r)=>{const s=g;return l((n(),f(s,{src:e.settings.src},null,8,["src"])),[[p,!e.settings.requireLogin]])}}};export{S as default};