import{J as y,K as P,Y as b,L as A,W as t}from"./C-p8iwFB.js";const d={[t.ZASILKOVNA_CZ]:{storyName:"pobocky"},[t.PACKETA_SK]:{storyName:"pobocky"},[t.PACKETA_HU]:{storyName:"atvevohelyek"},[t.PACKETA_RO]:{storyName:"puncte-pick-up"},[t.PACKETA_PL]:{storyName:"oddzialy"},[t.PACKETA_DE]:{storyName:"pick-up-points"},[t.PACKETA_COM]:{storyName:"pick-up-points"}},m=(r,i,a)=>{const{box:o,boxtype:s,centerBounds:n,centerCountry:c}=r,{baseUrl:u,apiKey:p}=y(P.PPS_WEB_V3_API),e={apikey:p,baseUrl:i,centerCountry:c,centerBounds:n.join(","),language:a,layout:"web"};o&&(e.box="true"),s!==""&&(e.boxtype=s),a===A.RO&&(e.showWithExternalPoints="false");const l=new URL(u+"/v6/");return l.search=new URLSearchParams(e).toString(),l.toString()};function U(r,i,a){const o=b(),{baseUrl:s,apiKey:n}=y(P.PPS_WEB_V3_API),c=`${o.public.webUrl.replace(`/${o.public.webId}`,"")}${i}`,p={apikey:n,baseUrl:c,branchCode:r,detailmode:"true",language:a,layout:"web"},e=new URL(s+"/v6/");return e.search=new URLSearchParams(p).toString(),e.toString()}export{d as a,U as b,m as p}; //# sourceMappingURL=iebVTOPQ.js.map