1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="94876a5e-70c2-4985-946a-f996955e1db6",e._sentryDebugIdIdentifier="sentry-dbid-94876a5e-70c2-4985-946a-f996955e1db6")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9231,9556],{96514:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[resturant]/terms&conditions",function(){return o(39271)}])},39231:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var s=o(74848),i=o(29861),r=o(77255),a=o(78885);let n=e=>{let{open:t,setOpen:o,modalMessage:n,modalDetail:l,closeModal:c,redcolor:d,fontFamily:u}=e,{t:h}=(0,r.Bd)();return(0,s.jsx)(i.lG,{open:t,onClose:o,children:(0,s.jsx)("div",{className:"fixed top-3 right-1 z-[100000] animate-slide-in",children:(0,s.jsxs)("div",{className:"alert-box border rounded-lg flex-col w-[300px] transform items-start gap-4 bg-white transition delay-200 duration-500 ease-in-out",style:{zIndex:"100"},children:[(0,s.jsxs)("div",{className:"flex w-full items-start justify-between p-3",children:[(0,s.jsxs)("div",{className:" ",children:[(0,s.jsx)("span",{style:{fontFamily:"".concat(u,", sans-serif")},className:" text-[13px] font-medium leading-tight text-black",children:n}),l?(0,s.jsxs)("span",{style:{fontFamily:"".concat(u,", sans-serif")},className:"mt-1 block text-[11px] leading-tight text-gray-500",children:["(",l,")"]}):null]}),(0,s.jsx)("div",{className:"cursor-pointer duration-300 hover:opacity-70",onClick:c,children:(0,s.jsx)(a.LyW,{className:"h-5 w-5 text-black"})})]}),(0,s.jsx)("div",{style:{backgroundColor:d,fontFamily:"".concat(u,", sans-serif")},className:"flex h-4 w-full items-center justify-center rounded-b-lg"})]})})})}},11962:(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var s=o(74848),i=o(32862),r=o(18051),a=o.n(r),n=o(29965),l=o.n(n),c=o(96540),d=o(77255);function u(e){var t,o,r,n;let{text:u}=e,{t:h}=(0,d.Bd)(),m=u||h("processing"),[f,y]=(0,c.useState)(null),{restaurantData:p}=(0,i.Lv)(),g=null==p?void 0:null===(t=p.ecom_settings)||void 0===t?void 0:t.theme_settings,x=(null==g?void 0:g.primary_text_color)||"#000000",b=(null==g?void 0:null===(o=g.fonts)||void 0===o?void 0:o.name)||"sans-serif",v=(null==g?void 0:g.background_color)||"#f3f4f6",w=null==p?void 0:null===(n=p.ecom_settings)||void 0===n?void 0:null===(r=n.general_settings)||void 0===r?void 0:r.loader_image;return((0,c.useEffect)(()=>{(async()=>{try{let e=await fetch("https://res.cloudinary.com/http-foodbot-ai/raw/upload/v1752233580/Food_Carousel_agkfib.json"),t=await e.json();y(t)}catch(e){console.error("Failed to load Lottie animation:",e)}})()},[]),p)?(0,s.jsx)("div",{className:"fixed inset-0 flex items-center justify-center z-[1200]",children:"string"==typeof w&&w.trim()?(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center w-full h-full bg-gray-500 bg-opacity-50",children:[(0,s.jsx)(l(),{src:w.trim(),alt:"Loading...",unoptimized:!0,width:0,height:0,sizes:"100vw",className:"animate-pulse h-auto w-auto",style:{objectFit:"contain",maxHeight:"50vh",maxWidth:"80vw"}}),(0,s.jsxs)("div",{style:{color:x,fontFamily:"".concat(b,", sans-serif")},className:"text-2xl mt-4 font-bold text-center",children:[m," ..."]})]}):(0,s.jsx)("div",{className:"flex flex-col items-center justify-center w-full h-full bg-gray-500 bg-opacity-50",children:f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a(),{animationData:f,loop:!0,autoplay:!0,style:{height:200,width:300}}),(0,s.jsxs)("div",{style:{color:x,fontFamily:"".concat(b,", sans-serif")},className:"text-4xl mt-2 font-black text-center",children:[m," ..."]})]}):(0,s.jsx)("div",{className:"text-white text-lg",children:"Loading..."})})}):(0,s.jsx)("div",{className:"fixed inset-0 flex flex-col items-center justify-center z-[1200] bg-gray-500 bg-opacity-50",style:{backgroundColor:v},children:(0,s.jsxs)("div",{className:"animate-pulse flex flex-col items-center space-y-4",children:[(0,s.jsx)("div",{className:"bg-gray-400 h-40 w-40 rounded-full"}),(0,s.jsx)("div",{className:"bg-gray-400 h-6 w-48 rounded"})]})})}},39271:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>f});var s=o(74848),i=o(20181),r=o.n(i),a=o(86715),n=o(96540),l=o(77255),c=o(49505);let d=async(e,t,o,s,i)=>{let r=(0,c.z)(),a="https://order.foodbot.ai/apiv2";i&&(a=i+"apiv2");let n=JSON.stringify({restaurant_id:e||"",brand_id:t||"",session_id:o,version:s,source:"EcomV2",api_source:"EcomV2",request_timestamp:new Date().toISOString()}),l=await fetch("".concat(a,"/ecom/v1/get-restaurant-terms"),{method:"POST",headers:r,body:n,redirect:"follow"});l.ok;try{return await l.json()}catch(e){console.error(e)}};var u=o(11962),h=o(32862),m=o(39231);let f=()=>{var e,t;
1let[o,i]=(0,n.useState)(null),[c,f]=(0,n.useState)(null),[y,p]=(0,n.useState)(!0),[g,x]=(0,n.useState)(null),[b,v]=(0,n.useState)(null),w=(0,a.useRouter)(),{t:j}=(0,l.Bd)(),_=localStorage.getItem("version"),F=(0,n.useContext)(h.ib);if(!F)throw Error("IndexPage must be used within a MyProvider");let{openFailureModalFunc:N,openFailureModal:k,modalMessage:I,setOpenFailureModal:B,sessionId:A}=F;(0,n.useEffect)(()=>{let e=localStorage.getItem("resturantserversideTheme"),t=localStorage.getItem("resturantserversidesettings");if(t)try{let e=JSON.parse(t);f(e)}catch(e){console.error("Error parsing serversidesettings:",e)}if(e)try{let t=JSON.parse(e);i(t)}catch(e){console.error("Error parsing resturantserversideTheme:",e)}},[]),(0,n.useEffect)(()=>{(async()=>{if(!(null==c?void 0:c.restaurant_id)||!(null==c?void 0:c.brand_id)){p(!1);return}p(!0);let e="".concat(window.location.origin,"/");c.restaurant_id,c.brand_id;try{var t,o;let s=await d(c.restaurant_id,c.brand_id,A,_,e),i=(null==s?void 0:null===(t=s.data)||void 0===t?void 0:t.terms_and_conditions)||"",r=i.match(/<style[^>]*>([\s\S]*?)<\/style>/),a=r?r[1]:"",n=i.match(/<body[^>]*>([\s\S]*?)<\/body>/),l=n?n[1]:i;l=l.replace(/<img([^>]*)>/g,'<img style="max-width: 100px; height: auto; display: block; margin: 10px auto;" $1>'),v(a),x(l);let u=(null==s?void 0:null===(o=s.data)||void 0===o?void 0:o.terms_and_conditions)||"";x(u)}catch(e){console.error("Error fetching terms:",e),N("Error fetching terms:",e),x("")}finally{p(!1)}})()},[c,A,_]);let S=r()(()=>{var e;p(!0),(null==w?void 0:null===(e=w.query)||void 0===e?void 0:e.resturant)&&w.push("/".concat(w.query.resturant))},100),T=(0,n.useCallback)(S,[w,S]),E=(null==o?void 0:o.primary_text_color)||"#000000",C=(null==o?void 0:null===(e=o.fonts)||void 0===e?void 0:e.name)||"sans-serif",L=(null==o?void 0:o.background_color)||"#FFFFFF",O=(null==o?void 0:o.error_primary_color)||"#FF0000";return null==o||o.secondary_text_color,c&&(null==c||null===(t=c.ecom_settings)||void 0===t||t.loader_image),(0,s.jsxs)("div",{style:{backgroundColor:L,fontFamily:"".concat(C,", sans-serif")},children:[k&&(0,s.jsx)(m.default,{open:k,setOpen:B,modalMessage:I,closeModal:()=>B(!1),redcolor:O,fontFamily:C}),(0,s.jsxs)("div",{style:{backgroundColor:L},className:"flex justify-between items-center border-b p-4 px-6",children:[(0,s.jsx)("div",{style:{color:E},className:"font-black text-lg my-auto"}),(0,s.jsx)("div",{onClick:T,children:(0,s.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"cursor-pointer",children:[(0,s.jsx)("rect",{width:"15.1632",height:"3.03264",transform:"matrix(0.707107 -0.707106 0.707107 0.707106 4.50195 15.2888)",fill:E}),(0,s.jsx)("rect",{width:"15.1632",height:"3.03264",transform:"matrix(-0.707107 -0.707106 0.707107 -0.707106 15.2241 17.4329)",fill:E})]})})]}),(0,s.jsx)("div",{className:"lg:px-6 lg:py-4 min-h-screen",children:y?(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(u.A,{text:j("processing")})}):(0,s.jsx)(s.Fragment,{children:null===g||""===g?(0,s.jsxs)("div",{style:{fontFamily:"".concat(C,", sans-serif")},className:"text-sm leading-6 space-y-4",children:[(0,s.jsx)("h2",{className:"text-lg font-bold",children:"FoodBot AI Terms of Service"}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"1. Terms"}),(0,s.jsx)("br",{}),"By accessing the website at"," ",(0,s.jsx)("a",{href:"http://foodbot.ai",className:"text-blue-600 underline",target:"_blank",rel:"noopener noreferrer",children:"http://foodbot.ai"}),", you are agreeing to be bound by these terms of service, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited from using or accessing this site. The materials contained in this website are protected by applicable copyright and trademark law."]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"2. Use License"}),(0,s.jsx)("br",{}),"Permission is granted to temporarily download one copy of the materials (information or software) on FoodBot AI's website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may
1not:",(0,s.jsx)("br",{}),"modify or copy the materials;",(0,s.jsx)("br",{}),"use the materials for any commercial purpose, or for any public display (commercial or non-commercial);",(0,s.jsx)("br",{}),"attempt to decompile or reverse engineer any software contained on FoodBot AI's website;",(0,s.jsx)("br",{}),"remove any copyright or other proprietary notations from the materials; or",(0,s.jsx)("br",{}),'transfer the materials to another person or "mirror" the materials on any other server.',(0,s.jsx)("br",{}),"This license shall automatically terminate if you violate any of these restrictions and may be terminated by FoodBot AI at any time. Upon terminating your viewing of these materials or upon the termination of this license, you must destroy any downloaded materials in your possession whether in electronic or printed format."]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"3. Disclaimer"}),(0,s.jsx)("br",{}),"The materials on FoodBot AI's website are provided on an 'as is' basis. FoodBot AI makes no warranties, expressed or implied, and hereby disclaims and negates all other warranties including, without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property or other violation of rights.",(0,s.jsx)("br",{}),"Further, FoodBot AI does not warrant or make any representations concerning the accuracy, likely results, or reliability of the use of the materials on its website or otherwise relating to such materials or on any sites linked to this site."]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"4. Limitations"}),(0,s.jsx)("br",{}),"In no event shall FoodBot AI or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use the materials on FoodBot AI's website, even if FoodBot AI or a FoodBot AI authorized representative has been notified orally or in writing of the possibility of such damage. Because some jurisdictions do not allow limitations on implied warranties, or limitations of liability for consequential or incidental damages, these limitations may not apply to you."]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"5. Accuracy of materials"}),(0,s.jsx)("br",{}),"The materials appearing on FoodBot AI's website could include technical, typographical, or photographic errors. FoodBot AI does not warrant that any of the materials on its website are accurate, complete or current. FoodBot AI may make changes to the materials contained on its website at any time without notice. However FoodBot AI does not make any commitment to update the materials."]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"6. Links"}),(0,s.jsx)("br",{}),"FoodBot AI has not reviewed all of the sites linked to its website and is not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement by FoodBot AI of the site. Use of any such linked website is at the user's own risk."]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"7. Modifications"}),(0,s.jsx)("br",{}),"FoodBot AI may revise these terms of service for its website at any time without notice. By using this website you are agreeing to be bound by the then current version of these terms of service."]}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"8. Governing Law"}),(0,s.jsx)("br",{}),"These terms and conditions are governed by and construed in accordance with the laws of Guadalajara and you irrevocably submit to the exclusive jurisdiction of the courts in that State or location."]}),(0,s.jsx)("h3",{className:"text-lg font-bold mt-6",children:"Privacy Policy"}),(0,s.jsxs)("p",{children:["Your privacy is important to us. It is FoodBot AI's policy to respect your privacy regarding any information we may collect from you across our website,"," ",(0,s.jsx)("a",{href:"http://foodbot.ai",className:"text-blue-600 underline",target:"_blank",rel:"noopener noreferrer",children:"http://foodbot.ai"}),", and other sites we own and operate."]}),(0,s.jsx)("p",{children:"We only ask for personal information when we truly need it to provide a service to you. We collect it by fair and lawful means, with your knowledge and consent. We also let you know
1why we're collecting it and how it will be used."}),(0,s.jsx)("p",{children:"We only retain collected information for as long as necessary to provide you with your requested service. What data we store, we'll protect within commercially acceptable means to prevent loss and theft, as well as unauthorised access, disclosure, copying, use or modification."}),(0,s.jsx)("p",{children:"We don't share any personally identifying information publicly or with third-parties, except when required to by law."}),(0,s.jsx)("p",{children:"Our website may link to external sites that are not operated by us. Please be aware that we have no control over the content and practices of these sites, and cannot accept responsibility or liability for their respective privacy policies."}),(0,s.jsx)("p",{children:"You are free to refuse our request for your personal information, with the understanding that we may be unable to provide you with some of your desired services."}),(0,s.jsx)("p",{children:"Your continued use of our website will be regarded as acceptance of our practices around privacy and personal information. If you have any questions about how we handle user data and personal information, feel free to contact us."}),(0,s.jsx)("p",{className:"italic",children:"This policy is effective as of 1 May 2018."})]}):(0,s.jsxs)("div",{style:{color:E},children:[b&&(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:b}}),(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:g||"No terms available"},className:"terms-content"})]})})})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[7551,3342,1430,9861,9965,8051,8911,636,6593,8792],()=>t(96514)),_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.