1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,626684,e=>{"use strict";let t=async(e,t)=>{let r=await fetch("/api/home/venue-restaurants",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ids:e})});if(!r.ok)throw Error("Home restaurant lookup failed");return await r.json()};e.s(["fetchHomeRestaurantLookup",0,t,"restaurantDirectoryWebReader",0,{fetchLocationSearch:async(e,t)=>{let r,a=await fetch(`/api/restaurants/location-search?${((r=new URLSearchParams).set("limit",String(e.limit??300)),null!=e.offset&&r.set("offset",String(e.offset)),r.set("lat",String(e.center.lat)),r.set("lng",String(e.center.lng)),"bounds"===e.kind?(r.set("north",String(e.north)),r.set("south",String(e.south)),r.set("east",String(e.east)),r.set("west",String(e.west))):r.set("radiusMeters",String(e.radiusMeters)),r).toString()}`);if(!a.ok)throw Error("Restaurant location search failed");return await a.json()},fetchRecordsByIds:async e=>{let t=new URLSearchParams;for(let r of e)t.append("id",r);let r=await fetch(`/api/restaurants/records?${t.toString()}`);if(!r.ok)throw Error("Restaurant records lookup failed");return(await r.json()).records??[]},fetchSuggestions:async(e,t,r)=>{let a=new URLSearchParams({q:e,limit:String(t)}),l=await fetch(`/api/restaurants/search?${a.toString()}`);if(!l.ok)throw Error("Restaurant suggestions search failed");return await l.json()}}])},557448,e=>{"use strict";var t=e.i(898561);e.s(["GestureHandlerRootView",()=>t.default])},957361,770302,122671,e=>{"use strict";var t=e.i(933818),r=e.i(304049),a=e.i(247167);let l=(e,t)=>{if(!e)return t;let r=Number.parseInt(e,10);return Number.isFinite(r)?r:t},i={cuisines:l((a.default.env.EXPO_PUBLIC_CACHED_CATEGORIES_CUISINES_ROOT_ID,a.default.env.CACHED_CATEGORIES_CUISINES_ROOT_ID,"1"),1),attributes:l((a.default.env.EXPO_PUBLIC_CACHED_CATEGORIES_ATTRIBUTES_ROOT_ID,a.default.env.CACHED_CATEGORIES_ATTRIBUTES_ROOT_ID,"72"),72),priceBands:l((a.default.env.EXPO_PUBLIC_CACHED_CATEGORIES_PRICE_BANDS_ROOT_ID,a.default.env.CACHED_CATEGORIES_PRICE_BANDS_ROOT_ID,"145"),145),awards:l((a.default.env.EXPO_PUBLIC_CACHED_CATEGORIES_AWARDS_ROOT_ID,a.default.env.CACHED_CATEGORIES_AWARDS_ROOT_ID,"124"),124),ratings:l((a.default.env.EXPO_PUBLIC_CACHED_CATEGORIES_RATINGS_ROOT_ID,a.default.env.CACHED_CATEGORIES_RATINGS_ROOT_ID,"67"),67),suggested:l((a.default.env.EXPO_PUBLIC_CACHED_CATEGORIES_SUGGESTED_ROOT_ID,a.default.env.CACHED_CATEGORIES_SUGGESTED_ROOT_ID,"0"),0)},o=()=>({...i});e.s(["getConfiguredCategoryRootIds",0,o],770302);let n=e=>e.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")||"unknown",s=(e,t,r)=>{let a=[n(t.category_slug?.trim()||t.category_title?.trim()||"unknown"),(e=>{if(!e)return null;let t=e.key?.trim();if(!t)return null;let r=e.condition?.trim()??"",a=e.value,l="";return"string"==typeof a?l=a:Array.isArray(a)?l=a.map(String).join(","):null!=a&&(l="object"==typeof a?JSON.stringify(a):String(a)),n(`${t}-${r}-${l}`)})(r),null!=t.category_id&&t.category_id>0?String(t.category_id):null,null!=t.category_order&&Number.isFinite(t.category_order)?String(t.category_order):null].filter(e=>!!e);return`${String(e)}::suggested::${a.join("--")}`};e.s(["buildSuggestedCategoryFilterKey",0,s],122671);let c=o(),u=["reference-cache","categories"],d=e=>(e??"").trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""),g={suggested:["suggested"],cuisines:["cuisine","cuisines"],attributes:["features","feature"],awards:["awards","award"],priceBands:["price","price-bands"],ratings:["rating","ratings"]},f=e=>{let t={...c};for(let r of e){let e=r.category_id;if(null==e)continue;let a=d(r.category_slug),l=d(r.category_title);Object.keys(g).forEach(r=>{g[r].some(e=>a===e||l===e)&&(t[r]=e)})}return t},y=e=>
1null==e.card||1===e.card.show,_=(e,t)=>(e??[]).map(e=>((e,t)=>{var r;if(null==e.category_title)return null;let a=t?.suggestedParentId,l=null!=a;if(!l&&null==e.category_id)return null;let i=l?s(a,e,e.category_data?.filter):String(e.category_id),o=(e=>{var t;if(!e||"object"!=typeof e)return;let r=1===(t=e.card_show)||"1"===t||!0===t?1:0===t||"0"===t||!1===t?0:void 0;if([r,e.card_order,e.card_title,e.card_subtitle,e.card_text_color,e.card_description_color,e.card_background_color,e.card_background_image_url,e.card_sponsors_image_url].some(e=>null!=e&&""!==e))return{show:r??1,order:e.card_order,title:e.card_title?.trim()||void 0,subtitle:e.card_subtitle?.trim()||void 0,textColor:e.card_text_color?.trim()||void 0,descriptionColor:e.card_description_color?.trim()||void 0,backgroundColor:e.card_background_color?.trim()||void 0,backgroundImageUrl:e.card_background_image_url?.trim()||void 0,sponsorsImageUrl:e.card_sponsors_image_url?.trim()||void 0}})(e.category_data?.card),n=e.category_data?.award_card?.award_card_subtitle?.trim()||e.category_data?.award_card_subtitle?.trim()||void 0,c=e.category_data?.award_modal?.award_modal_subtitle?.trim()||e.category_data?.award_modal_subtitle?.trim()||void 0,u=e.category_data?.award_modal?.award_modal_button_text?.trim()||e.category_data?.award_modal_button_text?.trim()||void 0,d=e.category_data?.award_card?.award_card_text_colour?.trim()||e.category_data?.award_card_text_colour?.trim()||void 0,g=e.category_data?.award_card?.award_card_background_colour?.trim()||e.category_data?.awards_card_background_colour?.trim()||void 0,f=e.category_data?.award_image_url?.trim()||e.category_data?.awards_image_url?.trim()||void 0,y=e.category_data?.award_icon_url?.trim()||void 0,_=e.category_data?.award_modal?.award_modal_sponsorship_image_url?.trim()||e.category_data?.award_sponsorship_image_url?.trim()||void 0,m=e.category_data?.filter_award_page?.primary_value,p=null==m?void 0:String(m).trim()||void 0,b=e.category_data?.filter_award_page,S=(()=>{if(!b)return;let{key:e,value:t,condition:r}=b;if(null!=e||null!=t||null!=r)return{key:e,value:t,condition:r}})(),v=Array.from(new Set((e.category_data?.award_related_categories??[]).map(e=>String(e).trim()).filter(Boolean))),h=!0===(r=e.category_data?.award_clickable)||1===r||"1"===r||!1!==r&&0!==r&&"0"!==r&&void 0;return{id:i,...l&&null!=e.category_id?{categoryId:String(e.category_id)}:{},name:e.category_title,description:n??o?.subtitle??e.category_description??void 0,icon:y??e.category_data?.icon?.url??e.category_data?.icon?.name??void 0,backgroundColor:g??o?.backgroundColor??void 0,backgroundImage:f??o?.backgroundImageUrl??void 0,titleColor:d??o?.textColor??void 0,descriptionColor:d??o?.descriptionColor??void 0,...null!=h?{clickable:h}:{},...p?{awardPageSlug:p}:{},...S?{filterAwardPage:S}:{},...c?{modalSubtitle:c}:{},...u?{modalButtonText:u}:{},..._?{sponsorsImage:_}:{},...v.length>0?{relatedCategoryIds:v}:{},...e.category_data?.filter?{filter:e.category_data.filter}:{},...o?{card:o}:{}}})(e,t)).filter(e=>null!==e),m=e=>(e??[]).flatMap(e=>{let t=e.children??[];return 0===t.length?[e]:m(t)}),p=(e,t)=>{let r=e.find(e=>e.category_id===t)?.children??[];return r.length>0?r:e.filter(e=>e.category_parent_id===t)},b=e=>e.reduce((e,t)=>(e[t.id]=t.name,e),{}),S=(e,t)=>{let r=b(e);for(let e of t){let t=e.category_slug?.trim(),a=e.category_title?.trim();t&&a&&(r[t]=a)}return r},v=e=>{if(null==e||""===e)return null;let t=Number(e);return Number.isFinite(t)?t:null},h=(e,t=null,r={})=>{for(let a of e){if(null==a.category_id)continue;let e=String(a.category_id),l=null==a.category_parent_id?t:String(a.category_parent_id);r[e]={id:e,parentId:l,title:a.category_title??"",slug:a.category_slug??null,description:a.category_description??null,iconName:a.category_data?.icon?.name??null,iconUrl:a.category_data?.award_icon_url?.trim()||a.category_data?.icon?.url||null,popular:!!a.category_data?.popular_label?.trim()||!!a.category_data?.popular_filter,popularLabel:a.category_data?.popular_label?.trim()||null,popularOrder:v(a.category_data?.popular_order),filter:a.category_data?.filter??null},h(a.children??[],e,r)}return r},C=e=>{let t=e=>{let t=(e.match(/\$/g)??[]).length;if(t>=1&&t<=4)return t},r=t(e.category_slug?.trim()??"");if(null!=r)return r;let a=t(e.category_title?.trim()??"");if(null!=a)return a;let l=t(e.category_description?.trim()??"");if(null!=l)return l;let i=Number(e.category_title?.trim());if(Number.isFinite(i)){let e=Math.trunc(i);if(e>=1&&e<=4)return e}},I=(e,t,r)=>{if(!t)return;let a=t.trim();a&&(e[a]=r);let l=t.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")||"";l&&(e[l]=r)},w=e=>{if(!e||"object"!=typeof e)return!1;let t=null==e.description||"string"==typeof e.description,r=null==e.categoryId||"string"==typeof e.categoryId,a=null==e.icon||"string"==typeof e.icon,l=null==e.backgroundColor||"string"==typeof e.backgroundColor,i=null==e.backgroundImage||"string"==typeof e.backgroundImage,o=null==e.titleColor||"string"==typeof e.titleColor,n=null==e.descriptionColor||"string"==typeof e.descriptionColor,s=null==e.clickable||"boolean"==typeof e.clickable,c=null==e.awardPageSlug||"string"==typeof e.awardPageSlug,u=null==e.filterAwardPage||"object"==typeof e.filterAwardPage&&(null==e.filterAwardPage.key||"string"==typeof e.filterAwardPage.key)&&(null==e.filterAwardPage.condition||"string"==typeof e.filterAwardPage.condition)&&(null==e.filterAwardPage.value||"string"==typeof e.filterAwardPage.value||"number"==typeof e.filterAwardPage.value||"boolean"==typeof e.filterAwardPage.value||Array.isArray(e.filterAwardPage.value)&&e.filterAwardPage.value.every(e=>"string"==typeof e||"number"==typeof e)),d=null==e.modalSubtitle||"string"==typeof e.modalSubtitle,g=null==e.modalButtonText||"string"==typeof e.modalButtonText,f=null==e.sponsorsImage||"string"==typeof e.sponsorsImage,y=null==e.relatedCategoryIds||Array.isArray(e.relatedCategoryIds)&&e.relatedCategoryIds.every(e=>"string"==typeof e),_=null==e.filter||"object"==typeof e.filter&&(null==e.filter.key||"string"==typeof e.filter.key)&&
1(null==e.filter.condition||"string"==typeof e.filter.condition)&&(null==e.filter.value||"string"==typeof e.filter.value||"number"==typeof e.filter.value||"boolean"==typeof e.filter.value||Array.isArray(e.filter.value)&&e.filter.value.every(e=>"string"==typeof e||"number"==typeof e)),m=null==e.card||"object"==typeof e.card&&(0===e.card.show||1===e.card.show)&&(null==e.card.order||"number"==typeof e.card.order)&&(null==e.card.title||"string"==typeof e.card.title)&&(null==e.card.subtitle||"string"==typeof e.card.subtitle)&&(null==e.card.textColor||"string"==typeof e.card.textColor)&&(null==e.card.descriptionColor||"string"==typeof e.card.descriptionColor)&&(null==e.card.backgroundColor||"string"==typeof e.card.backgroundColor)&&(null==e.card.backgroundImageUrl||"string"==typeof e.card.backgroundImageUrl)&&(null==e.card.sponsorsImageUrl||"string"==typeof e.card.sponsorsImageUrl);return"string"==typeof e.id&&r&&"string"==typeof e.name&&t&&a&&l&&i&&o&&n&&s&&c&&u&&d&&g&&f&&y&&_&&m},E=e=>!(!e||"object"!=typeof e||Array.isArray(e))&&Object.values(e).every(e=>"string"==typeof e),R=e=>Array.isArray(e)&&e.every(w),A=e=>!!e&&"object"==typeof e&&"string"==typeof e.id&&(null==e.parentId||"string"==typeof e.parentId)&&"string"==typeof e.title&&(null==e.slug||"string"==typeof e.slug)&&(null==e.description||"string"==typeof e.description)&&(null==e.iconName||"string"==typeof e.iconName)&&(null==e.iconUrl||"string"==typeof e.iconUrl)&&"boolean"==typeof e.popular&&(null==e.popularLabel||"string"==typeof e.popularLabel)&&(null==e.popularOrder||"number"==typeof e.popularOrder&&Number.isFinite(e.popularOrder))&&(null==e.filter||"object"==typeof e.filter),x=e=>{var t,r;return!!e&&"object"==typeof e&&!(!(t=e.categoriesById)||"object"!=typeof t||Array.isArray(t))&&Object.values(t).every(A)&&R(e.cuisines)&&R(e.attributes)&&R(e.awards)&&R(e.ratings)&&R(e.suggested)&&E(e.cuisineNamesById)&&E(e.attributeNamesById)&&E(e.awardNamesById)&&E(e.awardSlugsById)&&E(e.awardSlugToId)&&E(e.ratingNamesById)&&E(e.suggestedNamesById)&&!(!(r=e.priceLevelByRangeId)||"object"!=typeof r||Array.isArray(r))&&Object.values(r).every(e=>"number"==typeof e&&Number.isFinite(e))&&E(e.priceSlugByRangeId)},O=e=>(0,t.queryOptions)({...e.categories_index_get({},{map:e=>(0,r.buildReferenceCacheSnapshot)(23,(e=>{let t=e?.data?.categories??[],r=f(t),a=p(t,r.cuisines),l=_(a),i=m(p(t,r.attributes)),o=_(i),n=m(p(t,r.awards)),s=[..._(n).filter(y)].sort((e,t)=>(e.card?.order??Number.MAX_SAFE_INTEGER)-(t.card?.order??Number.MAX_SAFE_INTEGER)),{awardSlugsById:c,awardSlugToId:u}=(e=>{let t={},r={};for(let a of e??[]){if(null==a.category_id)continue;let e=String(a.category_id),l=a.category_slug?.trim(),i=a.category_title?.trim();l&&(t[e]=l),I(r,l,e),I(r,i,e)}return{awardSlugsById:t,awardSlugToId:r}})(n),d=_(p(t,r.ratings)),g=_(p(t,r.suggested),{suggestedParentId:r.suggested}),{priceLevelByRangeId:v,priceSlugByRangeId:w}=(e=>{let t={},r={};for(let a of e??[]){if(null==a.category_id)continue;let e=String(a.category_id),l=a.category_slug?.trim(),i=a.category_title?.trim(),o=l&&l.length>0?l:i&&i.length>0?i:"";o&&(r[e]=o);let n=C(a);null!=n&&(t[e]=n)}return{priceLevelByRangeId:t,priceSlugByRangeId:r}})(p(t,r.priceBands));return{categoriesById:h(t),cuisines:l,attributes:o,awards:s,ratings:d,suggested:g,cuisineNamesById:S(l,a),attributeNamesById:S(o,i),awardNamesById:b(s),awardSlugsById:c,awardSlugToId:u,ratingNamesById:b(d),suggestedNamesById:b(g),priceLevelByRangeId:v,priceSlugByRangeId:w}})(e),void 0),key:["categories-reference-source"]}),queryKey:u,...(0,r.createSnapshotBackedQueryDefaults)(864e5)}),P=(e,t)=>(0,r.setReferenceCacheSnapshot)(e,u,t),T=async(e,t)=>{let r=await e.fetchQuery(O(t));return P(e,r)};e.s(["CATEGORIES_REFERENCE_QUERY_KEY",0,u,"CATEGORIES_REFERENCE_TTL_MS",0,864e5,"CATEGORIES_REFERENCE_VERSION",0,23,"createCategoriesReferenceQueryOptions",0,O,"getCategoriesReferenceSnapshot",0,e=>{let t=(0,r.getReferenceCacheSnapshot)(e,u);return(0,r.isReferenceCacheSnapshot)(t,23,x)?t:null},"resolveCategoryRootIds",0,f,"setCategoriesReferenceSnapshot",0,P,"syncCategoriesReferenceCache",0,T],957361)},459514,e=>{"use strict";var t=e.i(271645);let r=null,a=new Set,l=()=>
1a.forEach(e=>e()),i=e=>(a.add(e),()=>a.delete(e)),o=()=>r,n=()=>{r=null,l()};e.s(["useRestaurantDirectoryReader",0,()=>(0,t.useSyncExternalStore)(i,o,o),"useRestaurantDirectoryReaderInit",0,e=>{(0,t.useEffect)(()=>(r=e,l(),n),[e])}])},677134,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let a=(0,r.createContext)({track:()=>{}});e.s(["RestaurantAnalyticsProvider",0,({children:e,reporter:r})=>(0,t.jsx)(a.Provider,{value:r,children:e}),"useRestaurantAnalytics",0,()=>(0,r.useContext)(a)])},662820,e=>{"use strict";var t=e.i(843476),r=e.i(426377),a=e.i(446626),l=e.i(433249);let i=({children:e,accessibilityLabel:i="Footer",...o})=>{let n=(0,l.useTheme)(),s=(0,a.useSafePadding)("Space/md");return(0,t.jsx)(r.Box,{accessible:!0,accessibilityRole:"summary",accessibilityLabel:i,flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:"Space/md",paddingTop:"Space/md",backgroundColor:"Background/Primary",borderTopWidth:1,borderTopColor:"Border/Primary",minHeight:n.spacing["Space/8xl"],style:{paddingBottom:s},...o,children:e})};i.Left=({children:e,...a})=>(0,t.jsx)(r.Box,{flexDirection:"column",alignItems:"flex-start",gap:"Space/2xs",...a,children:e}),i.Center=({children:e,...a})=>(0,t.jsx)(r.Box,{flexDirection:"row",alignItems:"center",justifyContent:"center",...a,children:e}),i.Right=({children:e,...a})=>(0,t.jsx)(r.Box,{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",...a,children:e}),e.s(["BottomBar",0,i])},256781,8844,496222,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(649450);e.i(525501);var l=e.i(621903),i=e.i(426377),o=e.i(575472);let n=({children:e,gap:r="Space/3xs",...a})=>(0,t.jsx)(i.Box,{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:r,accessible:!0,accessibilityRole:"list",...a,children:e});n.displayName="ProgressDots";
1let s="Background/Brand",c="Background/Neutral alt",u=(0,r.forwardRef)(({active:e=!1,size:r=8,activeColor:a=s,inactiveColor:l=c,accessibilityLabel:o,style:n},u)=>(0,t.jsx)(i.Box,{ref:u,width:r,height:r,backgroundColor:e?a:l,style:n,borderRadius:"Radius/radius-full",accessible:!0,role:"listitem",accessibilityLabel:o,accessibilityState:{selected:e}}));u.displayName="ProgressDots.Dot";let d=Object.assign(n,{Dot:u});e.s(["ProgressDots",0,d],8844);let g=(e,t,r)=>Math.min(Math.max(e,t),r),f=({shouldCapDots:e,dotCount:t,safeActiveIndex:r,numberOfItems:a,dotIndex:l})=>({summaryA11yLabel:e?`Page indicator, image ${r+1} of ${a}`:`Page indicator, ${a} pages`,dotA11yLabel:e?`Indicator ${l+1} of ${t}; image ${r+1} of ${a}`:`Page ${l+1} of ${a}`}),y=({numberOfItems:e,safeActiveIndex:t,windowStart:r,posInWindow:a,activePosInWindow:l})=>{let i=r+a+1;return{summaryA11yLabel:`Page indicator, image ${t+1} of ${e}`,dotA11yLabel:a===l?`Page ${i} of ${e}, current`:`Page ${i} of ${e}`}},_="web"===a.Platform.OS?"width 0.2s ease, height 0.2s ease":void 0,m=({numberOfItems:e,activeIndex:r,gap:a="Space/3xs",maxDots:l,scalingDots:i=!1})=>{let o,n,s,c;if(e<=0)return null;if(i&&null!=l&&l>0)return(0,t.jsx)(p,{numberOfItems:e,activeIndex:r,maxDots:l,gap:a});let{safeActiveIndex:u,shouldCapDots:y,dotCount:_,activeDotIndex:m}=(o=g(r,0,Math.max(0,e-1)),s=(n="number"==typeof l&&l>0&&e>l)?l:Math.max(0,e),c=o,n&&null!=l&&(c=e<=1||0===o?0:o===e-1?l-1:Math.floor((l-1)/2)),{safeActiveIndex:o,shouldCapDots:n,dotCount:s,activeDotIndex:c}),{summaryA11yLabel:b}=f({shouldCapDots:y,dotCount:_,safeActiveIndex:u,numberOfItems:e,dotIndex:m});return(0,t.jsx)(d,{gap:a,accessibilityLabel:b,children:Array.from({length:_},(r,a)=>{let{dotA11yLabel:l}=f({shouldCapDots:y,dotCount:_,safeActiveIndex:u,numberOfItems:e,dotIndex:a});return(0,t.jsx)(d.Dot,{active:a===m,accessibilityLabel:l},a)})})},p=({numberOfItems:e,activeIndex:r,maxDots:a,gap:l})=>{let{safeActiveIndex:i,windowStart:o,dotCount:n,activePosInWindow:s,hasMoreBefore:c,hasMoreAfter:u}=((e,t,r)=>{let a=g(t,0,Math.max(0,e-1));if(e<=r)return{safeActiveIndex:a,windowStart:0,dotCount:e,activePosInWindow:a,hasMoreBefore:!1,hasMoreAfter:!1};let l=Math.floor(r/2),i=g(a,l,e-1-l)-l;return{safeActiveIndex:a,windowStart:i,dotCount:r,activePosInWindow:a-i,hasMoreBefore:i>0,hasMoreAfter:i+r<e}})(e,r,a),{summaryA11yLabel:f}=y({numberOfItems:e,safeActiveIndex:i,windowStart:o,posInWindow:s,activePosInWindow:s});return(0,t.jsx)(d,{gap:l,accessibilityLabel:f,children:Array.from({length:n},(r,a)=>{let l=a===s,g=a===s?8:0===a&&c||a===n-1&&u?4:6,{dotA11yLabel:f}=y({numberOfItems:e,safeActiveIndex:i,windowStart:o,posInWindow:a,activePosInWindow:s});return(0,t.jsx)(d.Dot,{active:l,size:g,accessibilityLabel:f,style:_?{transition:_}:void 0},a)})})};e.s(["CarouselPagination",0,m],496222);var b=e.i(21674);let S="web"===a.Platform.OS,v="android"===a.Platform.OS,h=(0,r.forwardRef)(({data:e,renderItem:n,loop:s=!1,autoPlay:c=!1,autoPlayInterval:u=3e3,showPagination:d=!0,itemSpacing:g="Space/xs",paginationGap:f="Space/3xs",paginationMaxDots:y,paginationScalingDots:_=!1,renderPagination:p,onIndexChange:h,onProgressChange:C,enabled:I=!0,snapToFullWidth:w=!1,style:E,accessibilityLabel:R,testID:A,initialIndex:x=0,keyExtractor:O,itemStyle:P,initialItemWidth:T,contentContainerStyle:k,scrollViewStyle:B,renderWindow:D},j)=>{let N=(0,l.useTheme)(),L=(0,o.useResponsiveValue)(g),$=L?N.spacing[L]:0,M=(0,r.useRef)(null),{activeIndex:U,containerWidth:G,handleLayout:H,handleMomentumScrollEnd:F,handleScroll:z,getActiveIndex:W,scrollToIndex:X}=(({dataLength:e,initialIndex:t,onIndexChange:a,onProgressChange:l,scrollViewRef:i})=>{let o=(0,r.useCallback)(t=>e>0?Math.min(Math.max(t,0),e-1):0,[e]),[n,s]=(0,r.useState)(0),[c,u]=(0,r.useState)(()=>o(t)),d=(0,r.useRef)(o(t)),g=(0,r.useRef)(t),f=(0,r.useRef)(!1),y=(0,r.useRef)(null),_=(0,r.useCallback)(e=>{l?.(e%1,e)},[l]),m=(0,r.useCallback)((e,t=!0)=>{let r=o(e);return d.current!==r&&(d.current=r,u(r),a?.(r)),t&&_(r),r},[o,_,a]),p=(0,r.useCallback)(e=>{if(!n)return;let t=e.nativeEvent.contentOffset.x,r=t/n;if(_(r),f.current){let e=y.current;null!=e&&2>=Math.abs(t-e)&&(f.current=!1,y.current=null);return}let l=o(Math.round(r));l!==d.current&&(d.current=l,u(l),a?.(l))},[o,n,_,a]),b=(0,r.useCallback)(e=>{f.current=!1,y.current=null,n&&m(o(Math.round(e.nativeEvent.contentOffset.x/n)))},[o,m,n]),S=(0,r.useCallback)((e,t)=>{if(!n)return void m(e);
1if(f.current&&t)return;let r=o(e),a=r*n;t&&(f.current=!0,y.current=a),i.current?.scrollTo({x:a,animated:t}),m(r),t||(f.current=!1,y.current=null)},[o,m,n,i]),v=(0,r.useCallback)(e=>{let t=e.nativeEvent.layout.width;s(e=>e!==t?t:e)},[]);return(0,r.useEffect)(()=>{if(!n)return;let e=d.current*n;i.current?.scrollTo({x:e,animated:!1}),_(d.current)},[n,_,i]),(0,r.useEffect)(()=>{if(g.current===t)return;g.current=t;let e=m(t,!1);if(n){let t=e*n;i.current?.scrollTo({x:t,animated:!1})}_(e)},[m,n,_,t,i]),(0,r.useEffect)(()=>{let e=o(d.current);e!==d.current&&(m(e),n&&i.current?.scrollTo({x:e*n,animated:!1}))},[o,m,n,i]),{activeIndex:c,containerWidth:n,handleLayout:v,handleScroll:p,handleMomentumScrollEnd:b,getActiveIndex:(0,r.useCallback)(()=>d.current,[]),scrollToIndex:S}})({dataLength:e.length,initialIndex:x,onIndexChange:h,onProgressChange:C,scrollViewRef:M});(({autoPlay:e,autoPlayInterval:t,containerWidth:a,dataLength:l,enabled:i,getActiveIndex:o,loop:n,scrollToIndex:s})=>{(0,r.useEffect)(()=>{if(!e||!i||l<=1||!a)return;if(t<100)return void console.warn("[Carousel] autoPlayInterval is too short. Minimum recommended value is 100ms.");let r=setInterval(()=>{let e=o();if(e>=l-1&&!n)return;let t=n?(e+1)%l:e+1;t>=0&&t<l&&s(t,!0)},t);return()=>{clearInterval(r)}},[e,t,a,l,i,o,n,s])})({autoPlay:c,autoPlayInterval:u,containerWidth:G,dataLength:e.length,enabled:I,getActiveIndex:W,loop:s,scrollToIndex:X}),(0,r.useImperativeHandle)(j,()=>({scrollToIndex:X}),[X]);let K=O||((e,t)=>String(t)),Q=(0,r.useCallback)(e=>"function"==typeof P?P(e,G):P,[G,P]),V=(0,r.useMemo)(()=>({width:G>0?G:"number"==typeof T?T+$:"100%",paddingHorizontal:$/2,..."web"===a.Platform.OS&&{scrollSnapAlign:"start"}}),[G,$,T]);if(!e||!Array.isArray(e)||0===e.length)return null;let q=e.length;return(0,t.jsxs)(i.Box,{onLayout:H,onStartShouldSetResponder:"web"===a.Platform.OS?()=>!0:void 0,style:[{marginHorizontal:-$/2},E],children:[(0,t.jsx)(b.DraggableHorizontalScrollView,{ref:M,nativeGestureHandling:!0,nestedScrollEnabled:v,snapToAlignment:"center",pagingEnabled:"web"!==a.Platform.OS,snapToInterval:w&&G>0?G:void 0,disableIntervalMomentum:w?S||v:void 0,decelerationRate:w?v?"normal":"fast":void 0,showsHorizontalScrollIndicator:!1,scrollEnabled:I,onScroll:z,onMomentumScrollEnd:F,scrollEventThrottle:16,...S&&e.length>1&&{tabIndex:0},accessibilityRole:"list",accessibilityLabel:R??`Carousel with ${e.length} items`,testID:A,style:["web"===a.Platform.OS&&{scrollSnapType:"x mandatory"},B],contentContainerStyle:[{alignItems:"stretch"},k],children:e.map((e,r)=>{let a=K(e,r),l=r===U,o=void 0===D||Math.abs(r-U)<=D;return(0,t.jsx)(i.Box,{...S&&o&&{role:"listitem"},...!o&&{accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",pointerEvents:"none"},style:[V,Q(r)],children:o?n({item:e,index:r,isActive:l}):null},a)})}),d&&e.length>1&&(p?p(U,e):(0,t.jsx)(i.Box,{marginTop:"Space/2xs",alignItems:"center",justifyContent:"center",children:(0,t.jsx)(m,{numberOfItems:q,activeIndex:U,gap:f,maxDots:y,scalingDots:_})}))]})});h.displayName="Carousel",e.s(["Carousel",0,h],256781)},773782,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(614920),l=e.i(370573);let i={1:"very affordable",2:"affordable",3:"moderately priced",4:"expensive"},o=({level:e,maxLevel:r,fontSize:l,defaultFontSize:o,usesResponsiveDefaultFontSize:n,registration:s,accessibilityLabel:c})=>Array.from({length:r},(u,d)=>{let g=d<e,f=d+1,y=g?`Dollar sign ${f}, filled. Price level ${e} out of ${r}, ${i[e]||"price indicator"}`:`Dollar sign ${f}, not filled`,_=c?`${c} - ${y}`:y,m="number"==typeof l?l+8:void 0;return(0,t.jsx)(a.Global.Typography,{variant:g?"Label/label-md/semibold":"Label/label-md/regular",color:g?"Text/Primary":"Text/Disabled",dataSet:s.dataSet,fontSize:l??(n?void 0:o),style:{...s.nativeStyle,...void 0!==m?{lineHeight:m}:null,...g?null:{opacity:.7}},accessible:!0,accessibilityLabel:_,"aria-label":_,children:"$"},d)}),n=({responsiveDefaultFontSize:e,fontSize:r,...a})=>{let i=(0,l.useResponsiveStyleRegistration)({responsiveStyle:null==r?e:void 0});return(0,t.jsxs)(t.Fragment,{children:[i.styleElement,(0,t.jsx)(o,{...a,fontSize:r,usesResponsiveDefaultFontSize:null!=e,registration:i})]})};var s=e.i(770217);let c=[{minWidth:s.BREAKPOINT_PX.mobile,style:{fontSize:12}},{minWidth:s.BREAKPOINT_PX.desktopSm,style:{fontSize:14}}],u=(0,r.forwardRef)(function(e,r){let{level:l,maxLevel:i,fontSize:o,boxProps:s,accessibilityLabel:u}=function(e){let{level:t,maxLevel:r=4,fontSize:a,accessibilityLabel:l,...i}=e;return{level:t??0,maxLevel:r,fontSize:a,accessibilityLabel:l,boxProps:i}}(e);return 0===l?null:(0,t.jsx)(a.Global.Box,{flexDirection:"row",alignItems:"center",accessible:!1,...s,ref:r,children:(0,t.jsx)(n,{level:l,maxLevel:i,fontSize:o,responsiveDefaultFontSize:c,accessibilityLabel:u})})});e.s(["Price",0,u],773782)}]);
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.