1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1781],{51781:(t,e,r)=>{r.d(e,{BK:()=>o,QB:()=>y,SF:()=>w,T1:()=>g,_d:()=>i,a8:()=>h,checkStoreInCoverage:()=>I,oZ:()=>l});var n=r(35844),a=r(2125),s=r(76348),c=r(85702),u=r(68054);async function i(t,e){try{let r=(0,s.B)({storeId:`${t}`,locale:e}),c=await n.u.get(a.er.GET_BY_ID+r);return await c.json()}catch{return null}}async function o(t){try{let e=(0,s.B)({storeId:`${t}`}),r=await n.u.get(a.er.FOLLOW_STORE+e);return await r.json()}catch(t){return{Success:!1,Message:t.message}}}async function l(t){try{let e=(0,s.B)({storeId:`${t}`}),r=await n.u.get(a.er.UNFOLLOW_STORE+e);return await r.json()}catch(t){return{Success:!1,Message:t.message}}}async function y(){try{let t=await c.O.get(a.er.GET_ALL_UIDS);return await t.json()}catch{return[]}}async function f(){try{let t=await c.O.get(a.er.GET_ALL_UIDS_WITH_COUNTRY);return await t.json()}catch{return[]}}async function w(){let t=(0,u.JH)();return(await f()).filter(e=>(0,u.$F)(e.CountryIso2)===t)}async function g(t){try{let e=(0,s.B)({storeId:`${t}`}),r=await n.u.get(a.er.IS_FOLLOWING+e);return(await r.json()).IsFollowing}catch{return!1}}async function I(t,e,r,c,u,i,o,l){try{let y=(0,s.B)({countryIso2:t,stateUId:e,cityUId:r,adminZoneUId:c,latitude:u,longitude:i,storeId:o,uid:l}),f=await n.u.get(a.er.CHECK_IN_COVERAGE+y);return(await f.json()).InCoverage}catch{return!0}}async function h(t,e,r,n){try{let u=(0,s.B)({storeId:t,uid:e,skip:r,limit:n}),i=await c.O.get(a.er.STORE_REVIEWS+u);return await i.json()}catch{return[]}}},68054:(t,e,r)=>{r.d(e,{$F:()=>o,EH:()=>s,JH:()=>i,LS:()=>y,qw:()=>a,w2:()=>l});var n=r(17050);r(46597);let a=(t,e=n.ar,r)=>{let a=e.replace(/\/+$/,""),s=(t??"").replace(/\/+$/,""),c=r&&"en"!==r?r:"";if(!c)return s?s.startsWith("/")?`${a}${s}`:`${a}/${s}`:a;let u=s.startsWith(`/${c}`)?s.slice(c.length+1):s,i=u.startsWith("/")?u:`/${u}`;return`${a}/${c}${"/"===i?"":i}`},s={me:{baseUrl:"https://sugary.me",isDefault:!0,countries:[],currency:"USD"},gift:{baseUrl:"https://sugary.gift",countries:["GB","ES","IT","DE","FR"],currency:"EUR"},ae:{baseUrl:"https://sugary.ae",countries:["AE","KW","SA","LB","TR","BH","JO","QA","IN","RU","PK","OM"],currency:"AED"},bd:{baseUrl:"https://sugary.com.bd",countries:["BD"],currency:"BDT"}},c=new Map(Object.entries(s).flatMap(([t,e])=>e.countries.map(e=>[e.toUpperCase(),t]))),u=null;function i(){if(u)return u;let t="me";try{let e=new URL(n.ar).hostname.toLowerCase();for(let[r,n]of Object.entries(s))if(new URL(n.baseUrl).hostname===e){t
1=r;break}}catch{t="me"}return u=t,t}function o(t){return c.get(t?.trim().toUpperCase()??"")??"me"}function l(){return s[i()].countries}function y(){let t=i();return Object.entries(s).filter(([e])=>e!==t).flatMap(([,t])=>t.countries)}}}]);
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.