1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1622],{31622:function(e,s,t){t.r(s),t.d(s,{default:function(){return p}});var i=t(52322),l=t(2784),n=t(96577),a=t.n(n),r=t(39097),c=t.n(r),o=t(12524),d=t.n(o),h=t(20556);function p(e){let{deviceType:s,browserType:t}=e,{showAppBanner:n,setShowAppBanner:r}=(0,h.Z)(),[o,p]=(0,l.useState)(!1),[x,f]=(0,l.useState)(!1),u=d()(n&&null!==o&&null!==x&&!(o&&x)?"fixed":"hidden","top-0 z-[1300] flex h-14 w-full max-w-[430px] items-center gap-3 bg-white px-4 border-b");return(0,l.useEffect)(()=>{p(t.includes("safari")),f("mobile"===s)},[t,s]),(0,i.jsxs)("div",{className:u,children:[(0,i.jsx)("button",{onClick:()=>r(!n),children:(0,i.jsx)(a(),{alt:"Close Banner",src:"/static/icons/close-notification-white.svg",width:14,height:14})}),(0,i.jsxs)("div",{className:"flex w-full items-center justify-between gap-2",children:[(0,i.jsx)(a(),{src:"/static/icons/halodish/green-no-text.svg",width:28,height:28,alt:"App Icon",className:"rounded-md border border-[#3AAA46] bg-[#3AAA46]"}),(0,i.jsxs)("div",{className:"flex flex-col gap-1 text-[#555F6D]",children:[(0,i.jsx)("h2",{className:"text-left text-xs",children:"HaloDish - Halal & Vegan"}),(0,i.jsx)("p",{className:"text-[9px] leading-[0.8rem]",children:"Open in the HaloDish App"})]}),(0,i.jsx)("div",{className:"mr-2 flex items-center justify-end",children:(0,i.jsx)("div",{className:d()("border-1.5 ml-auto inline-flex h-6 min-w-[78px] border border-[#CFD6DD] text-xs","flex-shrink-0 flex-grow-0 items-center justify-center space-x-2 rounded-xl","bg-white px-3 font-bold capitalize tracking-wide text-[#3baa47]","focus:outline-none focus:ring-1 focus:ring-offset-0 active:ring-0 disabled:border-none"),children:(0,i.jsx)(c(),{href:o?"https://apps.apple.com/id/app/halodish-halal-shop-map/id6575360757":"https://play.google.com/store/apps/details?id=com.eftax.halodish&hl=en",target:"_blank",className:"shrink-0 leading-none tracking-[0.03rem]",children:"Open App"})})})]})]})}p.defaultProps={deviceType:"",browserType:""}}}]);
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.