import{a9 as c,bo as m}from"./index-f9c70843.js";const u=c((t,s)=>({shortcuts:m,setShortcuts:o=>{t({shortcuts:o})},output:"o",play:"p",flow:"mod+b",undo:"mod+z",redo:"mod+y",open:"mod+k",advanced:"mod+shift+a",minimize:"mod+shift+q",code:"space",copy:"mod+c",duplicate:"mod+d",component:"mod+shift+s",docs:"mod+shift+d",save:"mod+s",delete:"backspace",group:"mod+g",cut:"mod+x",paste:"mod+v",api:"r",update:"mod+u",download:"mod+j",freeze:"mod+f",updateUniqueShortcut:(o,e)=>{t({[o]:e})},getShortcutsFromStorage:()=>{if(localStorage.getItem("langflow-shortcuts")){const o=localStorage.getItem("langflow-shortcuts");JSON.parse(o).forEach(({name:a,shortcut:r})=>{let d=a.split(" ")[0].toLowerCase();t({[d]:r})}),s().setShortcuts(JSON.parse(o))}}}));u.getState().getShortcutsFromStorage();export{u};
