import{lt as e}from"./vscode-api-DjORcpSo.js";import{t}from"./use-os-info-DcufBSKF.js";import{t as n}from"./platform-BHmTRipH.js";var r=e();function i(){let e=(0,r.c)(7),{data:i,isLoading:o}=t(),s,c;if(e[0]!==i?.platform){let t=n(i?.platform);s=t,c=a(t),e[0]=i?.platform,e[1]=s,e[2]=c}else s=e[1],c=e[2];let l;return e[3]!==o||e[4]!==s||e[5]!==c?(l={platform:s,modifierSymbol:c,isLoading:o},e[3]=o,e[4]=s,e[5]=c,e[6]=l):l=e[6],l}function a(e){return e===`macOS`?`⌘`:`^`}export{i as t};
//# sourceMappingURL=use-platform-D2c1wBYs.js.map