PageSourceSearch

https://www.medialab.co/_nuxt/bZDGeNYV.js

js medialab.co collected 2026-10-02 04:20:32 UTC 8,577 bytes, 1 lines download raw bytes

1import{d as N,o as i,c as n,g,w as x,m as L,t as l,h as o,a as e,F as k,r as w,_ as E,A as M,e as H,u as U,f as O,C as p,D as _,E as P,b as j,B as G,i as f,l as Q,H as Y}from"./DrURWiwf.js";import{u as J}from"./DGMHZq8Y.js";import{u as K}from"./HZcJ_5u8.js";import{H as X}from"./D2_PUi2I.js";import{a as Z}from"./HrLhaVG5.js";import{v as ee,e as te}from"./Dli_KD8M.js";import{c as oe}from"./DTkrUInA.js";import{S as ae}from"./BHgO90pw.js";import{d as T,b as re}from"./CaHNetti.js";const se=[],q=["Request a 15-Minute Demo","Start a Free Trial","Enterprise / Custom Quote","Partnership Inquiry","General Question"],le=["1-50","50-100","100-250","250-500","500+"],ie=["No credit card","15-minute call","No obligation"],t={heroLabel:"Get Started",heroTitleHtml:"See MediaLab <span class='accent'>in action.</span>",heroDescription:"In 15 minutes, we will walk you through the right plan for your team size, workflow complexity, and security requirements.",formFirstNameLabel:"Full Name *",formLastNameLabel:"Last Name *",formFirstNamePlaceholder:"Your first name",formLastNamePlaceholder:"Your last name",formWorkEmailLabel:"Work Email *",formWorkEmailPlaceholder:"[email protected]",formCompanyLabel:"Company *",formCompanyPlaceholder:"Company name",formInterestLabel:"I am interested in:",formTeamSizeLabel:"Team Size",formTeamSizePlaceholder:"Select team size",formWorkflowLabel:"Tell us about your workflow (optional)",formWorkflowPlaceholder:"What tools do you use today? What problems are you trying to solve?",submitLabel:"Request a Demo",noteLabel:"We will respond within 1 business day. No spam, ever.",successTitle:"Thank you!",successDescription:"We have received your request and will be in touch within 1 business day.",successBackLabel:"Back to homepage →",successBackHref:"/",seoTitle:"Request a Demo",seoDescription:"Book a 15-minute demo and see how MediaLab fits your media operations.",errNameRequired:"Please enter your full name.",errEmailRequired:"Please enter your work email.",errEmailInvalid:"Please enter a valid email address.",errCompanyRequired:"Please enter your company name.",errGeneric:"An error occurred. Please try again.",errorAltcha:"Please complete the ALTCHA verification"},ne={firstname:t.errNameRequired,email:t.errEmailInvalid,company:t.errCompanyRequired,phone:Z.errPhoneInvalid,lastName:t.errNameRequired},me={class:"container"},de={class:"quotes-grid"},ce={class:"quote-text"},ue={class:"quote-attribution"},pe=["src","alt"],fe={class:"quote-source"},he=N({__name:"DemoCustomers",setup(R){return(S,C)=>(i(),n("div",me,[g(ae,{label:o(T).label},{title:x(()=>[L(l(o(T).title),1)]),_:1},8,["label"]),e("div",de,[(i(!0),n(k,null,w(o(re),d=>(i(),n("div",{key:d.id,class:"quote-card"},[e("p",ce,l(d.text),1),e("div",ue,[e("img",{src:d.logoSrc,alt:d.logoAlt,class:"quote-logo"},null,8,pe),e("span",fe,l(d.source),1)])]))),128))])]))}}),_e=Object.assign(E(he,[["__scopeId","data-v-b155c6fd"]]),{__name:"SectionsDemoCustomers"}),ve={id:"form",class:"section"},ye={class:"container demo-wrap"},be={key:0,id:"demoForm",class:"demo-form"},ge={class:"form-row"},ke={class:"form-group"},we=["placeholder"],Se={class:"form-group"},Le=["placeholder"],Ce={class:"form-group"},Pe=["placeholder"],Te={class:"form-group"},qe=["placeholder"],Ne={class:"form-group"},xe={class:"form-group"},Ee={value:"",disabled:""},Re={class:"form-group"},De=["placeholder"],Ie=["challengeurl"],ze={key:0,class:"demo-error"},Ae={class:"demo-note"},Ve={class:"demo-trust"},We={key:1,id:"demoSuccess",class:"demo-success",style:{display:"block"}},Be={style:{"margin-top":"16px"}},$e=["href"],Fe=N({__name:"request-demo",setup(R){M(()=>import("./BuTX4bDW.js"),[],import.meta.url);const S=Y(),{$trackEvent:C}=H();U({title:t.seoTitle+oe.seo.title,meta:[{name:"description",content:t.seoDescription}]});const d=f(null),D=f(null),v=f("");J(d,".demo-form, .demo-success");const{utmSource:I,utmMedium:z,utmCampaign:A,referrerUrl:V}=K(),r=Q({firstname:"",lastname:"",email:"",company:"",interest:q[0]??"",mediaTeamSize:"",message:""}),y=f(!1),u=f(!1),b=f("");O(()=>{C({category:"Pageview demo",action:"demo_page_view"})});function m(c){b.value=c}function W(){return b.value="",!r.firstname.trim()||!r.lastname.trim()?(m(t.errNameRequired),!1):r.email.trim()?te.test(r.email.trim())?r.company.trim()?v.value?!0:(m(t.errorAltcha),!1):(m(t.errCompanyRequired),!1):(m(t.errEmailInvalid),!1):(m(t.errEmailRequired),!1)}function B(c){const a=c.detail;v.value=a?.payload||""}function $(c){const a=c.detail;a&&a.state!=="verified"&&(v.value="")}const F=async()=>
1{if(u.value||!W())return;u.value=!0;const c={firstname:r.firstname,lastname:r.lastname,email:r.email,company:r.company,interest:r.interest,message:r.message,media_team_size:r.mediaTeamSize,acquisition_source:I.value,acquisition_medium:z.value,acquisition_campaign:A.value,referrer_url:V.value,altcha:v.value};try{const a=await fetch(`${S.public.contactAPI}demo`,{method:"POST",headers:{Authorization:"Basic Og==",Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(c)}),s=await a.json();if(a.status!==200){s.errors?ee(s.errors,ne,m):m(t.errGeneric),u.value=!1,y.value=!1;return}else u.value=!1,y.value=!0}catch{u.value=!1,y.value=!1,m(t.errGeneric)}};return(c,a)=>(i(),n("main",{ref_key:"pageRoot",ref:d},[g(X,{id:"top",label:o(t).heroLabel,"title-html":o(t).heroTitleHtml,description:o(t).heroDescription,ctas:o(se)},null,8,["label","title-html","description","ctas"]),e("section",ve,[e("div",ye,[y.value?(i(),n("div",We,[a[8]||(a[8]=e("svg",{viewBox:"0 0 24 24",fill:"none","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},[e("circle",{cx:"12",cy:"12",r:"10"}),e("path",{d:"M9 12l2 2 4-4"})],-1)),e("h3",null,l(o(t).successTitle),1),e("p",null,l(o(t).successDescription),1),e("p",Be,[e("a",{href:o(t).successBackHref,style:{color:"var(--pink)","text-decoration":"none"}},l(o(t).successBackLabel),9,$e)])])):(i(),n("div",be,[e("div",ge,[e("div",ke,[e("label",null,l(o(t).formFirstNameLabel),1),p(e("input",{id:"dFirstName","onUpdate:modelValue":a[0]||(a[0]=s=>r.firstname=s),type:"text",placeholder:o(t).formFirstNamePlaceholder,required:""},null,8,we),[[_,r.firstname,void 0,{trim:!0}]])]),e("div",Se,[e("label",null,l(o(t).formLastNameLabel),1),p(e("input",{id:"dLastName","onUpdate:modelValue":a[1]||(a[1]=s=>r.lastname=s),type:"text",placeholder:o(t).formLastNamePlaceholder,required:""},null,8,Le),[[_,r.lastname,void 0,{trim:!0}]])])]),e("div",Ce,[e("label",null,l(o(t).formWorkEmailLabel),1),p(e("input",{id:"dEmail","onUpdate:modelValue":a[2]||(a[2]=s=>r.email=s),type:"email",placeholder:o(t).formWorkEmailPlaceholder,required:""},null,8,Pe),[[_,r.email,void 0,{trim:!0}]])]),e("div",Te,[e("label",null,l(o(t).formCompanyLabel),1),p(e("input",{id:"dCompany","onUpdate:modelValue":a[3]||(a[3]=s=>r.company=s),type:"text",placeholder:o(t).formCompanyPlaceholder},null,8,qe),[[_,r.company,void 0,{trim:!0}]])]),e("div",Ne,[e("label",null,l(o(t).formInterestLabel),1),p(e("select",{id:"dInterest","onUpdate:modelValue":a[4]||(a[4]=s=>r.interest=s)},[(i(!0),n(k,null,w(o(q),(s,h)=>(i(),n("option",{key:`interest-${h}`},l(s),1))),128))],512),[[P,r.interest]])]),e("div",xe,[e("label",null,l(o(t).formTeamSizeLabel),1),p(e("select",{id:"dTeam","onUpdate:modelValue":a[5]||(a[5]=s=>r.mediaTeamSize=s)},[e("option",Ee,l(o(t).formTeamSizePlaceholder),1),(i(!0),n(k,null,w(o(le),(s,h)=>(i(),n("option",{key:`team-size-${h}`},l(s),1))),128))],512),[[P,r.mediaTeamSize]])]),e("div",Re,[e("label",null,l(o(t).formWorkflowLabel),1),p(e("textarea",{id:"dMessage","onUpdate:modelValue":a[6]||(a[6]=s=>r.message=s),placeholder:o(t).formWorkflowPlaceholder},null,8,De),[[_,r.message,void 0,{trim:!0}]])]),e("altcha-widget",{ref_key:"altchaWidget",ref:D,"data-allow-mismatch":"",style:{"--altcha-max-width":"100%",width:"100%"},challengeurl:o(S).public.altchaChallenge,hidelogo:"true",onVerified:B,onStatechange:$},null,40,Ie),b.value?(i(),n("p",ze,l(b.value),1)):j("",!0),g(G,{class:"demo-submit",type:"button",disabled:u.value,"is-loading":u.value,track:{category:"demo-request-form",action:"btn_click"},onClick:F},{default:x(()=>[L(l(o(t).submitLabel),1)]),_:1},8,["disabled","is-loading"]),e("p",Ae,l(o(t).noteLabel),1),e("div",Ve,[(i(!0),n(k,null,w(o(ie),(s,h)=>(i(),n("div",{key:`trust-${h}`,class:"demo-trust-item"},[a[7]||(a[7]=e("svg",{viewBox:"0 0 24 24",fill:"none","stroke-width":"1.5","stroke-linecap":"round"},[e("polyline",{points:"20 6 9 17 4 12"})],-1)),L(" "+l(s),1)]))),128))])])),g(_e)])])],512))}}),Ke=E(Fe,[["__scopeId","data-v-9f817ef2"]]);export{Ke 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.