1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[75991,22743],{32133:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tenant-page/t4tea/catering",function(){return t(18397)}])},22284:function(e,a){"use strict";a.Z={postCreatForm:"api/contact-us/create-form",postCustomEmail:"/sale/api/contact-us/custom-email/send",getDeliveryInfo:"/api/delivery/config/get",getShopList:"/api/shop/list/",getOverSeaReservationList:"/api/contact-us/get/venue-rental/time-range"}},60751:function(e,a,t){"use strict";t.d(a,{wI:function(){return i.Z},XC:function(){return s.Z},Gq:function(){return n}});var s=t(64115),l=t(84851),n=(e,a)=>{let t=(0,l.Pi)(e);return(0,s.Z)(t,a)},i=t(64756)},64756:function(e,a,t){"use strict";var s=t(85893),l=t(25142),n=t(24344);let i=e=>{var a,t,i;let{appConfig:r}=(0,n.s6)(),c=(0,n.hU)();return(0,s.jsxs)(l.Ar,{children:[(0,s.jsx)(l.NV,{}),(0,s.jsxs)("div",{style:{paddingTop:(null==c?void 0:c.isMobile)?"calc(var(--m-l-h-height)":"calc(var(--l-h-height)"},children:[" ",e.children]}),(0,s.jsx)(l.q6,{isOpen:!!(null==r?void 0:null===(a=r.app)||void 0===a?void 0:a.drainageImageStatus)&&c.isPc,images:{pc:null==r?void 0:null===(t=r.app)||void 0===t?void 0:t.drainageImageLink,mobile:null==r?void 0:null===(i=r.app)||void 0===i?void 0:i.drainageImageMobileLink}}),(0,s.jsx)(l.Ar.Footer,{})]})},r=e=>{var a;return null!==(a=null==e?void 0:e.getLayout)&&void 0!==a?a:e=>(0,s.jsx)(i,{children:e})};a.Z=(e,a)=>{let t=r(a);return e.getLayout||(e.getLayout=t),e}},18397:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return q}});var s=t(85893),l=t(29116),n=t.n(l),i=t(8804),r=t.n(i),c=t(67294),o=t(93967),d=t.n(o),u=t(59916),m=t(21536),_=t(12958),h=t(5551),g=t(22284),p=t(60751),f=t(24344),N=t(76213),x=t(22743);let v=/^[A-Z0-9.!#$%&'*+/=?^_`{|}~-]+$/i,b=/^[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?$/i,j=/^[A-Z]{2,63}$/i,y=/^[\d\s()+.-]+$/,C=/^[2-9]\d{2}[2-9]\d{6}$/,E=e=>{let a=e.trim();if(!a||a.length>254)return!1;let t=a.split("@");if(2!==t.length)return!1;let[s,l]=t;if(!s||s.length>64||s.startsWith(".")||s.endsWith(".")||s.includes("..")||!v.test(s))return!1;let n=l.split(".");return!(l.length>253||n.length<2||n.some(e=>!b.test(e)))&&j.test(n.at(-1)||"")},T=e=>{let a=e.trim();if(!a||!y.test(a))return!1;let t=a.replace(/\D/g,"");return C.test(t)&&!/^(\d)\1{9}$/.test(t)};var k=t(56046),A=t.n(k);let w="[email protected]",I={token:{fontFamily:n().style.fontFamily}},S="MM/DD/YYYY hh:mm A",O="Thanks â your catering request was accepted. T4 Bellevue will follow up.",D=[{name:"Single Combo",price:"$18"},{name:"5 Combos",price:"$80"},{name:"10 Combos",price:"$140"},{name:"15 Combos",price:"$190"}],L=["Office Lunches","Corporate Events","Parties & Celebrations","Custom Packages"],R={contactName:"",phone:"",email:"",eventDateTime:null,guestsOccasion:"",deliveryAddress:"",details:"",agreed:!1},P=e=>{let a=e.replace(/\D/g,"").slice(0,10);return 0===a.length?"":a.length<=3?"(".concat(a):a.length<=6?"(".concat(a.slice(0,3),") ").concat(a.slice(3)):"(".concat(a.slice(0,3),") ").concat(a.slice(3,6),"-").concat(a.slice(6))};var q=(0,p.wI)(()=>{let e=(0,N.Z)(),{appConfig:a}=(0,f.s6)(),{send:t}=(0,f.QT)({method:"post",url:g.Z.postCustomEmail}),l=(0,c.useRef)(null),i=(0,c.useRef)(!1),[o,p]=(0,c.useState)(R),[v,b]=(0,c.useState)({}),[j,y]=(0,c.useState)("idle"),C=(0,c.useCallback)(()=>{var e;null===(e=l.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})},[]),k=(0,c.useCallback)(()=>{e.push("/order")},[e]),q=(0,c.useCallback)((e,a)=>{p(t=>({...t,[e]:a})),b(a=>({...a,[e]:void 0})),y(e=>"failed"===e||"accepted"===e?"idle":e)},[]),M=(0,c.useCallback)(e=>{q("eventDateTime",e)},[q]),B=(0,c.useCallback)(e=>{let a={};return e.contactName.trim()||(a.contactName="Please enter your name and company."),T(e.phone)||(a.phone="Please enter a valid 10-digit US phone number."),E(e.email)||(a.email="Please enter a valid email address."),e.eventDateTime||(a.eventDateTime="Please select an event date and time."),e.guestsOccasion.trim()||(a.guestsOccasion="Please enter guests and occasion."),e.deliveryAddress.trim()||(a.deliveryAddress="Please enter pickup or delivery details."),e.details.trim()||(a.details="Please add menu, budget, allergies and notes."),e.agreed||(a.agreed="Please agree to be contacted about this request."),a},[]),Z=(0,c.useCallback)(async e=>{if(e.preventDefault(),i.current)return;y("validating");let s=B(o);if(b(s),Object.keys(s).length>0){y("failed");return}let l=null==a?void 0:a.appInstanceId;
1if(!l){y("failed");return}i.current=!0,y("submitting");try{var n;let e=(0,x.default)({contactName:o.contactName,phone:o.phone,email:o.email,eventDateTime:(null===(n=o.eventDateTime)||void 0===n?void 0:n.format(S))||"",guestsOccasion:o.guestsOccasion,deliveryAddress:o.deliveryAddress,details:o.details});await t({appInstanceId:l,emailHtml:e}),p(R),b({}),y("accepted"),_.ZP.success(O)}catch(e){y("failed")}finally{i.current=!1}},[null==a?void 0:a.appInstanceId,o,t,B]);return(0,s.jsxs)("div",{className:d()(A().page,n().className),children:[(0,s.jsxs)("section",{className:A().hero,children:[(0,s.jsx)("img",{className:A().heroImage,src:"/tenant/t4tea/zy_catering_01.png",alt:"T4 catering bento boxes and drinks"}),(0,s.jsxs)("div",{className:A().introCard,children:[(0,s.jsx)("p",{className:A().eyebrow,children:"CATERING & GROUP ORDERS"}),(0,s.jsxs)("h1",{className:d()(A().heroTitle,r().className),children:["Bring the Taste of",(0,s.jsx)("br",{}),"Taiwan to You"]}),(0,s.jsx)("p",{className:A().heroLead,children:"Perfect for meetings, events and special occasions."}),(0,s.jsxs)("p",{className:A().heroLeadMobile,children:["Office lunches \xb7 Corporate events",(0,s.jsx)("br",{}),"Parties \xb7 Custom packages"]}),(0,s.jsx)("ul",{className:A().occasionList,children:L.map(e=>(0,s.jsx)("li",{children:e},e))}),(0,s.jsxs)("div",{className:A().heroActions,children:[(0,s.jsxs)("button",{type:"button",className:A().goldButton,onClick:C,children:["INQUIRE NOW",(0,s.jsx)("span",{className:A().arrow,children:" â"})]}),(0,s.jsx)("button",{type:"button",className:A().tealButton,onClick:k,children:"ORDER ONLINE"})]}),(0,s.jsx)("a",{className:A().emailLink,href:"mailto:".concat(w),children:w})]}),(0,s.jsxs)("div",{className:A().dealsCard,children:[(0,s.jsx)("h2",{className:d()(A().dealsTitle,r().className),children:"BENTO + DRINK"}),(0,s.jsx)("p",{className:A().dealsEyebrow,children:"CATERING DEALS"}),(0,s.jsx)("div",{className:A().dealList,children:D.map(e=>(0,s.jsxs)("div",{className:A().dealRow,children:[(0,s.jsx)("span",{children:e.name}),(0,s.jsx)("strong",{className:r().className,children:e.price})]},e.name))}),(0,s.jsx)("p",{className:A().dealsNote,children:"Choose popcorn chicken, fried squid or fried tofu bento with a selected drink."}),(0,s.jsx)("button",{type:"button",className:A().tealButton,onClick:C,children:"ORDER CATERING"}),(0,s.jsx)("button",{type:"button",className:d()(A().tealButton,A().dealsInquire),onClick:C,children:"INQUIRE NOW"}),(0,s.jsx)("button",{type:"button",className:A().goldButton,onClick:k,children:"ORDER ONLINE"})]})]}),(0,s.jsxs)("section",{ref:l,id:"catering-request",className:A().request,children:[(0,s.jsx)("p",{className:A().eyebrow,children:"CATERING REQUEST"}),(0,s.jsx)("h2",{className:d()(A().requestTitle,r().className),children:"Tell us about your event."}),(0,s.jsx)("p",{className:A().requestLead,children:"Share a few details. T4 Bellevue will follow up to confirm menu, availability and final pricing."}),(0,s.jsxs)("form",{className:A().formCard,onSubmit:Z,noValidate:!0,children:[(0,s.jsxs)("div",{className:A().formHeader,children:[(0,s.jsx)("p",{className:A().formKicker,children:"QUICK INQUIRY"}),(0,s.jsx)("p",{className:A().formHint,children:"Required fields are marked *"})]}),(0,s.jsxs)("div",{className:A().fieldGrid,children:[(0,s.jsxs)("label",{className:A().field,children:[(0,s.jsx)("span",{children:"Contact Name / Company*"}),(0,s.jsx)("input",{type:"text",value:o.contactName,placeholder:"Your name and company or group",onChange:e=>q("contactName",e.target.value)}),v.contactName&&(0,s.jsx)("em",{children:v.contactName})]}),(0,s.jsxs)("label",{className:A().field,children:[(0,s.jsx)("span",{children:"Phone*"}),(0,s.jsx)("input",{type:"tel",inputMode:"numeric",autoComplete:"tel",value:o.phone,placeholder:"(425) 000-0000",onChange:e=>q("phone",P(e.target.value))}),v.phone&&(0,s.jsx)("em",{children:v.phone})]}),(0,s.jsxs)("label",{className:A().field,children:[(0,s.jsx)("span",{children:"Email*"}),(0,s.jsx)("input",{type:"email",autoComplete:"email",value:o.email,placeholder:"[email protected]",onChange:e=>q("email",e.target.value)}),v.email&&(0,s.jsx)("em",{children:v.email})]}),(0,s.jsxs)("label",{className:A().field,children:[(0,s.jsx)("span",{children:"Event Date & Time*"}),(0,s.jsx)(u.default,{locale:h.default,theme:I,children:(0,s.jsx)(m.default,{showTime:{use12Hours:!0,format:"hh:mm A"},format:S,placeholder:"MM/DD/YYYY hh:mm AM/PM",value:o.eventDateTime,onChange:M,className:d()(A().datePicker,n().className),popupClassName:n().className,inputReadOnly:!0})}),v.eventDateTime&&(0,s.jsx)("em",{children:v.eventDateTime})]}),(0,s.jsxs)("label",{className:A().field,children:[(0,s.jsx)("span",{children:"Guests & Occasion*"}),(0,s.jsx)("input",{type:"text",value:o.guestsOccasion,placeholder:"e.g. 30 guests \xb7 Corporate lunch",onChange:e=>q("guestsOccasion",e.target.value)}),v.guestsOccasion&&(0,s.jsx)("em",{children:v.guestsOccasion})]}),(0,s.jsxs)("label",{className:A().field,children:[(0,s.jsx)("span",{children:"Delivery + Address*"}),(0,s.jsx)("input",{type:"text",value:o.deliveryAddress,placeholder:"Delivery â enter address",onChange:e=>q("deliveryAddress",e.target.value)}),v.deliveryAddress&&(0,s.jsx)("em",{children:v.deliveryAddress})]})]}),(0,s.jsxs)("label",{className:d()(A().field,A().notesField),children:[(0,s.jsx)("span",{children:"Menu, Budget, Allergies & Notes*"}),(0,s.jsx)("textarea",{rows:5,value:o.details,placeholder:"Share menu interests, budget per guest, dietary needs, allergies and setup notes.",onCh
1ange:e=>q("details",e.target.value)}),v.details&&(0,s.jsx)("em",{children:v.details})]}),(0,s.jsxs)("label",{className:A().agree,children:[(0,s.jsx)("input",{type:"checkbox",checked:o.agreed,onChange:e=>q("agreed",e.target.checked)}),(0,s.jsx)("span",{children:"I agree to be contacted about this request. Submitting this form does not confirm an order."})]}),v.agreed&&(0,s.jsx)("em",{className:A().agreeError,children:v.agreed}),(0,s.jsxs)("p",{className:A().sendNote,children:["We'll email your request to ",w,". T4 Bellevue will follow up to confirm details and pricing."]}),(0,s.jsxs)("div",{"aria-live":"polite","aria-atomic":"true",children:["accepted"===j&&(0,s.jsx)("p",{className:A().success,children:O}),"failed"===j&&(0,s.jsx)("p",{className:A().fail,children:"We couldn't submit your request. Please try again."})]}),(0,s.jsx)("div",{className:A().formActions,children:(0,s.jsx)("button",{type:"submit",className:A().submitButton,disabled:"submitting"===j,children:"submitting"===j?"SENDING REQUEST...":"SEND CATERING REQUEST"})})]})]})]})})},22743:function(e,a,t){"use strict";let s=/{{([A-Z0-9_]+)}}/g,l=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\r\n|\n|\r/g,"<br>"),n=e=>({CONTACT_NAME:e.contactName,PHONE:e.phone,EMAIL:e.email,EVENT_DATE_TIME:e.eventDateTime,GUESTS_OCCASION:e.guestsOccasion,DELIVERY_ADDRESS:e.deliveryAddress,DETAILS:e.details}),i=(e,a)=>{let t=n(a);return e.replace(s,(e,a)=>{if(!Object.prototype.hasOwnProperty.call(t,a))throw Error("Unknown T4Tea email template token: ".concat(a));return l(t[a])})},r=()=>{let e=t(96724);return"string"==typeof e?e:e.default};a.default=e=>i(r(),e)},35584:function(e){e.exports={style:{fontFamily:"'__notoSans_59c820', '__notoSans_Fallback_59c820'",fontWeight:400,fontStyle:"normal"},className:"__className_59c820"}},27799:function(e){e.exports={style:{fontFamily:"'__openSans_1a267b', '__openSans_Fallback_1a267b'",fontStyle:"normal"},className:"__className_1a267b"}},29116:function(e){e.exports={style:{fontFamily:"'__openSansMedium_5115bf', '__openSansMedium_Fallback_5115bf'"},className:"__className_5115bf"}},8804:function(e){e.exports={style:{fontFamily:"'__playfair_2dcc9b', '__playfair_Fallback_2dcc9b'",fontWeight:400,fontStyle:"normal"},className:"__className_2dcc9b"}},56046:function(e){e.exports={page:"catering_page__OwF2e",hero:"catering_hero___xnMu",heroImage:"catering_heroImage__su0al",introCard:"catering_introCard___3g5s",dealsCard:"catering_dealsCard__ck6iy",eyebrow:"catering_eyebrow__Q7RjJ",dealsEyebrow:"catering_dealsEyebrow__5MVsl",formKicker:"catering_formKicker__g5Xh9",heroTitle:"catering_heroTitle__oDlLh",heroLead:"catering_heroLead__KSoBS",heroLeadMobile:"catering_heroLeadMobile__3JQpz",requestLead:"catering_requestLead__PTXYR",dealsNote:"catering_dealsNote__ab_dm",sendNote:"catering_sendNote__CqJ9L",occasionList:"catering_occasionList___NuhT",heroActions:"catering_heroActions__MT0J2",tealButton:"catering_tealButton___JZCE",goldButton:"catering_goldButton__xjzMf",submitButton:"catering_submitButton__rqLZm",emailLink:"catering_emailLink__yZ7Ea",dealsTitle:"catering_dealsTitle__w245M",dealList:"catering_dealList__tN7_r",dealRow:"catering_dealRow__2OdhI",deal
1sInquire:"catering_dealsInquire__BHWK1",request:"catering_request__LtNgx",requestTitle:"catering_requestTitle__fUAbx",formCard:"catering_formCard__UNND6",formHeader:"catering_formHeader__Xc_wx",formHint:"catering_formHint__PWpqC",fieldGrid:"catering_fieldGrid__5phhX",field:"catering_field__C1xyv",datePicker:"catering_datePicker__7Z1BK",notesField:"catering_notesField__l9_YA",agree:"catering_agree__RSQHA",agreeError:"catering_agreeError__c7ZJW",success:"catering_success__y4J7v",fail:"catering_fail__ljol_",formActions:"catering_formActions__EMSJ1",arrow:"catering_arrow__0p9Qm","text-animation":"catering_text-animation__uof4V"}}},function(e){e.O(0,[5634,47689,59495,96724,49774,92888,40179],function(){return e(e.s=32133)}),_N_E=e.O()}]);
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.