import{D as e,E as t,M as n}from"./BrandWordmark-Yl88w34l.js";var r={fridge:`defaults.location.fridge`,freezer:`defaults.location.freezer`,pantry:`defaults.location.pantry`,cellar:`defaults.location.cellar`,garage:`defaults.location.garage`},i={fruit:`defaults.category.fruit`,veg:`defaults.category.veg`,meat:`defaults.category.meat`,dairy:`defaults.category.dairy`,grains:`defaults.category.grains`,drinks:`defaults.category.drinks`,spices:`defaults.category.spices`,ready:`defaults.category.ready`,other:`defaults.category.other`};function a(e,t,r,i,a){let o=i.find(t=>t.id===e),s=a[e];if(o&&s){let e=n(`de`,s),i=n(`en`,s);if(t===o.label||t===e||t===i)return n(r,s)}return t}function o(t,n,i){return a(t,n,i,e,r)}function s(e,n,r){return a(e,n,r,t,i)}export{o as n,s as t};