"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getItemByFocused", {
    enumerable: true,
    get: function() {
        return getItemByFocused;
    }
});
const getItemByFocused = (focusedPath, focusedToValueMap)=>{
    const focusedPathAsString = focusedPath.reduce((acc, n)=>`${acc}/${n}`, '').replace(/^(\/)/, '');
    return focusedToValueMap.get(focusedPathAsString);
};
