const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CYGzlfER.js","./CHOVdKvX.js","./UYyvpeb-.js","./DYl0qLat.js","./entry.B6SX0jy1.css","./core-css.CI4MXbnL.css"])))=>i.map(i=>d[i]);
var e;import{o as t,c as a,e as r,t as i,F as l,a as d,M as s,l as n,k as o,Y as c,u,j as m,s as p,N as b,aD as g,aE as y,aF as v,H as _,O as f,aG as h,K as k,aH as w,x,b as B,h as C,a2 as E,d as q,w as $,A as V,B as M,f as j,i as S,C as F,_ as I,r as T}from"./CHOVdKvX.js";import{Q as z,E as O,G as P,R as A,F as N,f as U}from"./CYGzlfER.js";/* empty css        */import{d as D,b as L,r as H}from"./UYyvpeb-.js";const G={class:"text-dark mt-8 md:mt-0","data-cy":"b2b-banner"},W={class:"text-xl !font-semibold lg:text-[40px] lg:leading-10","data-cy":"b2b-title"},R={class:"mx-auto md:mx-0 mt-4 block text-sm font-medium leading-[22px] lg:mt-6 lg:max-w-[67%] lg:text-xl lg:leading-normal","data-cy":"b2b-description"},J=Object.assign({name:"B2BBanner"},{__name:"Banner",setup:e=>(e,l)=>(t(),a("div",null,[r("div",G,[r("h1",W,i(e.$n("b2b.banner-title")),1),r("span",R,i(e.$n("b2b.banner-subtitle")),1)])]))}),Y={class:"grid grid-cols-2 gap-x-5 gap-y-6 lg:grid-cols-4 lg:gap-x-14 lg:gap-y-11","data-cy":"b2b-step1"},K=Object.assign({name:"B2BCatalogComponent"},{__name:"CatalogComponent",props:{products:{type:Object,required:!0},selected:{type:Object,default:()=>({})}},setup(e){const r=e;function i(e){var t;return(null==(t=r.selected)?void 0:t.id)===e.id}function n(e,t="discounted_price_currency"){return this.$ccyf(e[t],e.currency)}return(r,o)=>(t(),a("div",Y,[(t(!0),a(l,null,d(e.products,(a=>(t(),s(z,{key:a.id,selected:e.selected,addon:a,"is-active":i,"format-price":n,"item-name-classes":"text-xs md:text-sm text-gray-900/75 pb-3","toggle-addon":e=>r.$bus.$emit("b2b.select-product",e),"show-addon-detail":!1,"hide-price":""},null,8,["selected","addon","toggle-addon"])))),128))]))}}),Q={content:["./pages/**/*.vue","./components/**/*.{js,vue,ts}","./layouts/**/*.vue","./services/staticPageContentDecider.js","./views/**/*.{js,ts,vue}","./plugins/**/*.{js,ts}","./nuxt.config.{js,ts}"],safelist:["grid-cols-1","grid-cols-2","grid-cols-3","grid-cols-4","sm:grid-cols-3","sm:grid-cols-4","bg-yellow-300","bg-red-300","bg-white-300","bg-pink-300","bg-purple-300","bg-orange","bg-blue-300","bg-green-300","bg-yellow-400","bg-red-400","bg-white-400","bg-pink-400","bg-purple-400","bg-orange","bg-blue-400","bg-green-400","bg-left","bg-right","svg-inline--fa","fa-magnifying-glass"],theme:{extend:{borderWidth:{3:"3px"},fontFamily:{montserrat:["Montserrat"],baskerville:["Libre Baskerville","serif"],sans:["Manrope",...D.fontFamily.sans]},fontWeight:{"weight-body":600,"weight-heading":700},backgroundColor:{body:"#f5f4f1",brandGray:"#F2F2F2",brandMuted:"#BEAFB1",brandPrimary:"#FF7077",bright:"#f5f4f1",dark:"#141414","input-default":"#f7f7f7",internationalGray:"#F0F0F0",orange:"#f9a601","overlay-dark-fog":"#000000"},backgroundImage:{"form-feedback-icon-valid":"url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512' width='12' height='12' fill='%2367c332'><path d='M211.8 339.8C200.9 350.7 183.1 350.7 172.2 339.8L108.2 275.8C97.27 264.9 97.27 247.1 108.2 236.2C119.1 225.3 136.9 225.3 147.8 236.2L192 280.4L300.2 172.2C311.1 161.3 328.9 161.3 339.8 172.2C350.7 183.1 350.7 200.9 339.8 211.8L211.8 339.8zM0 96C0 60.65 28.65 32 64 32H384C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96zM48 96V416C48 424.8 55.16 432 64 432H384C392.8 432 400 424.8 400 416V96C400 87.16 392.8 80 384 80H64C55.16 80 48 87.16 48 96z'/></svg>\")","form-feedback-icon-invalid":"url(\"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='12' height='12' fill='%23f9424b'><path d='M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z'/></svg>\")"},backgroundOpacity:{"input-default":"0"},backgroundPosition:{"form-feedback-icon-bg-position":"right calc(.4em + .375rem) center"},backgroundSize:{"form-feedback-icon-bg-size":"calc(.75em + .375rem)","size-static-banner-pin":"auto 90%"},colors:{transparent:"transparent","bg-input":"#f7f7f7","bg-invalid-input":"#f8e0e1","border-input":"#e0e1e2","brand-green":"#4caa85","brand-orange":"#ed600e",brandMuted:"#BEAFB1",brandOrange:"#FF856E",brandPrimary:"#dd682e","brand-red":"#D4321C",coral:"#f06c60","danger-feedback":"#f9424b",dark:"#141414","deep-carrot":"#C64E14",divider:"#c2c5c5","fore-bright":"#f3f3f3",internationalGreen:"#005840","pale-pink":"#ffe0e1",placeholder:"#8b8485",rosy:"#ff6571","success-feedback":"#67c332",punch:"#DD432E",teal:L.teal,bright:"#f5f4f1",gray:L.gray,green:L.emerald,yellow:L.amber,purple:L.violet},opacity:{"overlay-dark-fog":"0.15"},textOpacity:{body:"0.68"},zIndex:{"-1":"-1",1:1,"page-transition-overlay":900,dropdown:1e3,sticky:1020,fixed:1030,"fixed-header":1032,"nav-menu-overlay":1035,"nav-menu-floating":1037,"offcanvas-backdrop":1040,offcanvas:1045,"modal-backdrop":1050,modal:1055,popover:1070,tooltip:1080,toast:1090}},screens:{xs:"375px","1xl":"1366px",...D.screens}},plugins:[]},X=n(!1),Z=n(!1),ee=n(!1),te=n(!1),ae=null==(e=H(Q))?void 0:e.theme.colors,re=()=>{const{$sentry:e}=o(),t=c().public,a="border-danger-feedback bg-bg-invalid-input bg-no-repeat bg-form-feedback-icon-invalid bg-form-feedback-icon-bg-position bg-form-feedback-icon-bg-size".split(" ");return{load:async function(){if("function"!=typeof Stripe)try{await new Promise(((t,a)=>{const r="https://js.stripe.com/v3/";try{const e=document.createElement("script");e.src=r,e.setAttribute("defer","true"),e.setAttribute("async","false"),e.onload=()=>t(e),e.onerror=()=>a(Error("Script load error for "+r)),document.head.appendChild(e)}catch(i){e.captureException(i),a(Error("Script load error for "+r))}}))}catch(a){e.captureException(a)}await(window.loading_stripe=!0,void(window.stripe=Stripe(t.stripePublicKey)))},init:function e(){if(void 0!==window.stripe){const e=window.stripe.elements({locale:u().domainLanguage}),t={base:{fontSize:"16px",color:ae.dark},invalid:{color:"red"}},a={invalid:"invalid"};["cardNumber","cardExpiry","cardCvc"].forEach((r=>{window[r]=e.create(r,{style:t,classes:a}),window[r].mount("#"+r)})),window.cardNumber.on("change",(e=>{Z.value=!!e.complete,X.value=Z.value&&ee.value&&te.value})),window.cardExpiry.on("change",(e=>{ee.value=!!e.complete,X.value=Z.value&&ee.value&&te.value})),window.cardCvc.on("change",(e=>{te.value=!!e.complete,X.value=Z.value&&ee.value&&te.value}))}else setTimeout((()=>{e()}),500)},submit:function(e,t){if(e.payment_method_id){t({paymentMethod:{id:e.payment_method_id}})}else window.stripe.createPaymentMethod("card",window.cardNumber,{billing_details:{name:e.cardholder}}).then((e=>{t(e)}))},validate:function(e=null){return!(!(null!==e?e:O().getBillingFormValues.payment_method_id)&&!X.value)},showError:function(){const e=[];Z.value||e.push(document.getElementById("cardNumber")),ee.value||e.push(document.getElementById("cardExpiry")),te.value||e.push(document.getElementById("cardCvc")),e.length>0&&e.forEach((e=>{e.classList.add(...a),document.getElementById(e.getAttribute("id")+"_error").style.display="block"}))},cleanError:function(){["cardNumber","cardExpiry","cardCvc"].forEach((e=>{document.getElementById(e).classList.remove(...a),document.getElementById(e+"_error").style.display="none"}))}}},ie=m("B2BStore",{state:()=>({isValidated:!1,stepsMap:{1:{selector:"#B2BCatalogSection",visible:!0,offset:-80},2:{selector:"form#b2b",visible:!1},3:{selector:"#B2BDeliveryInfoSection",visible:!1},4:{selector:"#B2BPaymentSection",visible:!1}},formValues:{product:"",quantity:5,addon:{},no_card:!1,card_message_type:"generic",card_message:"",country:null,payment_method:"creditcard",shipping:0,is_disclaimer_accepted:!1}})}),le={quantity:{rules:["required","number:min:5,defaultErrorTKey:b2b.min-quantity"]},addon:{rules:["required"],depends:[{field:"no_card",value:!1}]},card_message:{rules:["required"],depends:[{field:"card_message_type",value:"generic"},{field:"no_card",value:!1}]},country:{rules:["required"]},date:{rules:["required"]},address_type:{rules:["required"],depends:[{field:"country.code",value:e=>"all"!==e}]},delivery_address_street:{rules:["required"],depends:[{field:"address_type",value:"same"}]},delivery_address_number:{rules:["required"],depends:[{field:"address_type",value:"same"},{field:"delivery_address_street"}]},delivery_address_apt:{},delivery_zipcode:{rules:["required","number"],depends:[{field:"address_type",value:"same"},{field:"delivery_address_street"}]},delivery_city:{rules:["required"],depends:[{field:"address_type",value:"same"},{field:"delivery_address_street"}]},name:{rules:["required","words:length:2"]},company:{rules:["required"]},customer_phone:{rules:["required","phoneNumber"]},email:{rules:["required","email"]},vat:{rules:["required"]},payment_method:{rules:["required"]},card_holder:{rules:["required"],depends:[{field:"payment_method",value:"creditcard"}]},is_disclaimer_accepted:{rules:["required:b2b.validation-terms"]}},de={quantity:5,no_card:!1,card_message_type:"generic",card_message:"Card Message Here,Card Message Here,Card Message Here,Card Message Here,Card Message Here,Card Message",country:{code:"ES",name:"Spain"},payment_method:"creditcard",shipping:5,is_disclaimer_accepted:!0,range_delivery_date:3,address_type:"same",delivery_address_street:"Langobardenstraße",delivery_address_number:126,delivery_address_apt:125,delivery_zipcode:"1220",delivery_city:"Wien",order_lat:48.2182586,order_lng:16.4720259,delivery_google_address:{place_id:"ChIJBfQamx8BbUcRJUacYiGUWDY",latitude:48.2182586,longitude:16.4720259,formatted_address:"Langobardenstraße 126, 1220 Wien, Austria",delivery_address_number:"126",delivery_address_street:"Langobardenstraße",locality:"Wien",administrative_area_level_2:"Wien",administrative_area_level_1:"Wien",country:"AT",countryName:"Austria",delivery_zipcode:"1220",delivery_city:"Wien",code:"AT",isComplete:!0,tabId:"1698034722692"},name:" Test Name",company:"Test Company",phone:"+91987654321",email:"product@floraqueen.com",vat:"123456789",card_holder:"Test Card Success"};function se(){const{$n:e,$bus:t,$device:a}=o(),r=ie(),i=n(!1),l=n(e("purchase.step2.error-payment.description")),d=p((()=>r.formValues)),s=p((()=>"generic"===d.value.card_message_type)),c=p((()=>"individual"===d.value.card_message_type)),u=p((()=>"same"===d.value.address_type)),m=p((()=>"multiple"===d.value.address_type)),w=p((()=>{var e;if(!(null==(e=d.value.product)?void 0:e.sku))return 0;const t=x(d.value.product.price_currency)||0,a=x(d.value.addon.price_currency)||0,r=x(d.value.shipping)||0,i=Number(t)+Number(a)+Number(d.value.shipping)+Number(r);return"number"==typeof i?i:0}));function x(e){return e*d.value.quantity}function B(e,t=""){return b(d.value,e,t)}function C(...e){var a,r;const i=e[0],l=e[1]??"";if(!g(d.value[i],l))if("object"!=typeof i){if(!("address_type"===i&&"all"===(null==(a=d.value.country)?void 0:a.code)||"country"===i&&"all"===(null==l?void 0:l.code))||(d.value.address_type="multiple","address_type"!==i)){if("country"===i&&C("date",""),"no_card"===i&&(!0===l?d.value.addon={}:t.$emit("b2b.pdb-preselect-addons")),"addon"!==i||(d.value.no_card=!1,!l||(null==(r=d.value[i])?void 0:r.sku)!==l.sku))return d.value[i]=l,"date"===i&&(d.value.endDate=e[2]),"product"!==i&&"country"!==i||(t.$emit(`b2b.${i}:changed`),"all"===(null==l?void 0:l.code)&&(d.value.range_delivery_date=5,t.$emit("pdp-gift:auto-select-default-range",5)),"product"===i&&setTimeout((()=>{q(2)}),200)),d.value[i];d.value[i]={}}}else y(i,((e,t)=>{C(t,e)}))}function E(t){if(!v(le,t))return"";let a="",r=d.value[t];const i=le[t];if(v(i,"depends")&&i.depends.length>0){let e=!1;if(y(i.depends,(t=>{if(e=v(t,"value")?g("function",typeof t.value)?t.value(d.value[t.field]):d.value[t.field]===t.value:!f(b(d.value,t.field)),!e)return!1})),!e)return}return y(i.rules,(t=>{const i=(t+"").split(/:(.*)/s).filter((e=>e)),l=i[0],d=i[1];let s;if(d){s={};d.split(",").forEach((e=>{const t=e.split(":");t.length>1?h(s,t[0],t[1]):s=k(t)}))}if(v(A,l)&&(a=A[l](r,{$n:e},s),a))return!1})),a}function q(e){2===e&&f(d.value.product)?q(1):(r.stepsMap[e].visible=!0,setTimeout((()=>{var t;const i=document.querySelector(r.stepsMap[e].selector),l=a.isDesktop?80:130,d=i.getBoundingClientRect().top,s=(null==(t=r.stepsMap[e])?void 0:t.offset)||0,n=d+window.scrollY-l+s;window.scrollTo({top:parseInt(n,10),behavior:"smooth"})}),100))}return{form:d,cartTotal:w,getFormValue:B,setFormValue:C,onUpdateNamedInput:function(e,t){let a=e;void 0!==(null==e?void 0:e.constructor.name)&&["InputEvent","Event"].includes(null==e?void 0:e.constructor.name)&&(a=e.target.value),C(t,a)},getFieldFeedback:E,isGeneric:s,isIndividual:c,isAddressSame:u,isAddressMultiple:m,isSubmitted:i,submit:async function(){i.value=!0,C("payment_error","");const e=await new Promise((e=>{var t;r.isValidated=!0;let a={};if(y(le,((e,t)=>{const r=E(t);if(a={key:t,value:r},r)return!1;a={}})),!A.isEmpty(a)){const r=N.findFormGroup(a.key,"b2b");r.instance&&(null==(t=r.el)||t.scrollIntoView({behavior:"smooth",block:"center"}),r.instance.toggleValidation(!0)),e(!1)}e(!0)})),t=re();if(!e)return void(i.value=!1);if(!t.validate(!1))return t.showError(),void(i.value=!1);t.cleanError();const a={cardholder:B("card_holder"),payment_method_id:B("payment_method_id")};t.submit(a,(e=>{try{if(!e||void 0===e.error)return C("payment_method_id",e.paymentMethod.id),void async function(){var e,t;i.value=!0;const a=B("payment_method"),d=P.massSanitize({id_product:B("product").id,quantity:B("quantity"),addon:(null==(e=B("addon"))?void 0:e.id)||"",no_cards:B("no_card"),card_message_type:B("card_message_type"),card_message:s?B("card_message"):"",delivery_country:null==(t=B("country"))?void 0:t.code,address_type:B("address_type"),customer_fullname:B("name"),customer_email:B("email"),customer_phone:B("customer_phone"),delivery_date:B("date"),delivery_address_street:B("delivery_address_street"),delivery_address_number:B("delivery_address_number"),delivery_address_apt:B("delivery_address_apt"),delivery_zipcode:B("delivery_zipcode"),delivery_city:B("delivery_city"),customer_vat_number:B("vat"),customer_company:B("company"),customer_zipcode:B("customer_zipcode"),payment_method:"creditcard"===a?"stripe":a,card_holder:B("card_holder"),delivery_google_address:JSON.stringify(B("delivery_google_address",{})),payment_method_id:B("payment_method_id")}),{$http:n,$url:c,$sentry:u}=o();await n({url:c.generateUrl("/dp/b2b"),method:"POST",body:d}).then((e=>{const t=e.data.value||{};if(!0===t.result&&t.action){const e=c.generateUrl(t.action);return r.$reset(),_(e)}if(C("payment_error",t.error||t.errors||l.value),C("payment_method_id",""),t.redirect)return _(c.generateUrl(t.redirect))})).catch((e=>{C("payment_error",l.value),u.captureException(e)})).finally((()=>{i.value=!1}))}();C("payment_error",e.error.message),i.value=!1}catch(t){this.$sentry.captureException(t),C("payment_error",l.value),i.value=!1}}))},scrollToSection:q,getBlockVisibility:function(e){return r.stepsMap[e].visible},setDummyValue:function(){C(de),y(r.stepsMap,((e,t)=>{r.stepsMap[t].visible=!0})),setTimeout((()=>{q(3)}),400)}}}const ne={id:"b2b",class:"mx-auto w-11/12 max-w-7xl py-9 sm:px-4"},oe={class:"text-center text-lg md:text-4xl mb-6 md:mb-12 uppercase !font-bold"},ce={class:"flex flex-col md:flex-row"},ue={class:"md:pl-8 md:pr-0 content-center"},me={id:"B2BCatalogSection",class:"mt-9 lg:mt-10"},pe={class:"mx-auto max-w-[80%] text-center text-xl !font-bold text-dark lg:max-w-[initial] lg:text-3xl md:my-16"},be={key:0,id:"B2BCatalogBlock",class:"mt-7"},ge={class:"text-md md:text-2xl font-bold md:w-1/2 text-center md:mx-auto"},ye={class:"bg-white rounded-lg shadow-lg p-6 mx-auto my-5 md:mt-10 w-full max-w-lg relative content-center"},ve={key:0,class:"flex justify-center items-center min-h-[200px]"},_e={key:1,class:"space-y-4"},fe=["placeholder"],he={key:0,class:"text-red-500 text-xs mt-2"},ke=["placeholder"],we={key:0,class:"text-red-500 text-xs mt-2"},xe=["placeholder"],Be={key:0,class:"text-red-500 text-xs mt-2"},Ce={key:2},Ee={class:"text-green-500 text-sm text-center md:text-lg my-10"},qe={class:"w-vw w-full bg-body"};const $e=Object.freeze(Object.defineProperty({__proto__:null,default:I({name:"B2BPage",components:{B2BView:Object.assign({name:"B2BView"},{__name:"index",props:{content:{type:Object,required:!0}},setup(e){const l=M((()=>F((()=>import("./CYGzlfER.js").then((e=>e.al))),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))),d=M((()=>F((()=>import("./CYGzlfER.js").then((e=>e.am))),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))),c=e,{$bus:u,$url:m}=o(),{setFormValue:p,getFormValue:b}=se(),g=n(c.content.content.catalog),y=[{title:"b2b.cta-cards.card-1-title",icon:"/images/icons/earth_01.svg"},{title:"b2b.cta-cards.card-2-title",icon:"/images/icons/truck_01.svg"},{title:"b2b.cta-cards.card-3-title",icon:"/images/b2b/icon-gift.svg"}];n(!1);const v=n(null),_=()=>{v.value&&v.value.scrollIntoView({behavior:"smooth",block:"center"})},f=n(!1),h=n(!1),k=n(!1),I=w({ticket_name:"",ticketEmail:"",ticket_mobile:"",ticket_message:"",ticket_legal:"TRUE",hash:"333-b2b",ticket_file:""}),T=w({ticket_name:"",ticket_email:"",ticket_mobile:"",ticket_message:""}),z=()=>{T.ticket_name=I.ticket_name?"":"Name is required."},O=()=>{T.ticket_email=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(I.ticket_email)?"":"Enter a valid email address."},P=()=>{T.ticket_mobile=/^\+?\d{3,25}$/.test(I.ticket_mobile)?"":"Enter a valid phone number."},A=()=>(z(),O(),P(),!T.ticket_name&&!T.ticket_email&&!T.ticket_mobile),N=async()=>{if(!A())return A();const e=""+new URLSearchParams({ticket_name:I.ticket_name,ticket_email:I.ticket_email,ticket_mobile:I.ticket_mobile,ticket_legal:I.ticket_legal,ticket_message:I.ticket_message,hash:I.hash,ticket_file:I.ticket_file,csrf_token:window.csrf_token});try{f.value=!0,await $fetch(m.generateWithBaseUrl("/soporte"),{headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","X-App-Is-Template-Json-Request":!0},method:"POST",body:e}),f.value=!1,h.value=!0,k.value=!0}catch(t){}};function D(e){const t=b("product.id");p("product",{}),t!==e.id&&p("product",e)}return x((async()=>{u.$on("b2b.select-product",D)})),(e,n)=>{const o=j,c=S;return t(),a("div",ne,[r("section",null,[r("h1",oe,i(e.$n("b2b.pdb.title")),1),r("div",ce,[B(o,{class:"self-center rounded-lg w-full",src:"/images/b2b/2b2-product.jpg",alt:"b2b-product-image",width:e.$device.isMobile?340:480,height:e.$device.isMobile?340:480,preload:""},null,8,["width","height"]),r("div",ue,[B(J),B(E(U),{classes:"flex content-center mt-6 md:mt-10",theme:"dark",onClick:_},{default:C((()=>[r("span",null,i(e.$n("b2b.goto-delivery-info")),1)])),_:1})])])]),r("div",me,[r("h3",pe,i(e.$n("b2b.catalog-title")),1),E(g).collection.length?(t(),a("div",be,[B(K,{id:"B2BCatalog",products:E(g).collection,selected:E(b)("product")||{}},null,8,["products","selected"])])):q("",!0),r("section",{ref_key:"b2bForm",ref:v,class:"mt-10"},[r("h2",ge,i(e.$n("b2b.pdb.description-title")),1),r("div",ye,[E(f)?(t(),a("div",ve,n[4]||(n[4]=[r("div",{class:"spinner"},null,-1)]))):E(h)?q("",!0):(t(),a("form",_e,[r("div",null,[$(r("input",{type:"text","onUpdate:modelValue":n[0]||(n[0]=e=>E(I).ticket_name=e),placeholder:e.$n("contact-us-2.label-name")+"*",required:"",onBlur:z,class:"border rounded p-2 w-full"},null,40,fe),[[V,E(I).ticket_name]]),E(T).ticket_name?(t(),a("p",he,i(E(T).ticket_name),1)):q("",!0)]),r("div",null,[$(r("input",{type:"email","onUpdate:modelValue":n[1]||(n[1]=e=>E(I).ticket_email=e),placeholder:e.$n("contact-us-2.label-email")+"*",required:"",onBlur:O,class:"border rounded p-2 w-full"},null,40,ke),[[V,E(I).ticket_email]]),E(T).ticket_email?(t(),a("p",we,i(E(T).ticket_email),1)):q("",!0)]),r("div",null,[$(r("input",{type:"tel","onUpdate:modelValue":n[2]||(n[2]=e=>E(I).ticket_mobile=e),placeholder:e.$n("contact-us-2.label-phone")+"*",required:"",onBlur:P,class:"border rounded p-2 w-full"},null,40,xe),[[V,E(I).ticket_mobile]]),E(T).ticket_mobile?(t(),a("p",Be,i(E(T).ticket_mobile),1)):q("",!0)]),r("div",null,[$(r("textarea",{"onUpdate:modelValue":n[3]||(n[3]=e=>E(I).ticket_message=e),placeholder:"Make your request!",required:"",class:"min-h-[72px] border rounded p-2 w-full"},null,512),[[V,E(I).ticket_message]])])])),E(h)?(t(),a("div",Ce,[r("p",Ee,i(e.$n("b2b.bb.title")),1)])):q("",!0),E(f)||E(h)?q("",!0):(t(),s(E(U),{key:3,class:"w-full mt-4",theme:"dark",type:"submit",onClick:N},{default:C((()=>[r("span",null,i(e.$n("b2b.goto-payment")),1)])),_:1}))])],512),B(c,null,{default:C((()=>[B(E(d),{class:"mb-8 mt-4 sm:mt-16"}),r("div",qe,[B(E(l),{"block-items":y,class:"!mt-0 sm:!mt-0"})])])),_:1})])])}}})},props:{content:{type:[Array,Object],required:!0},whatViewIsBeingDisplayed:{type:String,required:!0},links:{type:Object,required:!1,default:()=>({})},pagePayloadBody:{type:Object,default:()=>({})},pageGlobal:{type:Object,required:!0}}},[["render",function(e,a,r,i,l,d){const n=T("B2BView");return"StaticView"===r.whatViewIsBeingDisplayed&&"b2b"===r.pagePayloadBody.data.code?(t(),s(n,{key:0,links:r.links,content:r.content,"page-payload-body":r.pagePayloadBody,"page-global":r.pageGlobal},null,8,["links","content","page-payload-body","page-global"])):q("",!0)}]])},Symbol.toStringTag,{value:"Module"}));export{$e as b,re as u};