chaos-days/node_modules/@docusaurus/theme-classic/lib/theme/Navbar/index.js
// if position is unspecified, fallback to right (as v1)
if position is unspecified, fallback to right (as v1)
if position is unspecified fallback to right ( as v1 )
function splitNavItemsByPosition(items) {
  const leftItems = items.filter(item => {
    var _item$position;
    return ((_item$position = item.position) !== null && _item$position !== void 0 ? _item$position : DefaultNavItemPosition) === 'left';
  });
  const rightItems = items.filter(item => {
    var _item$position2;
    return ((_item$position2 = item.position) !== null && _item$position2 !== void 0 ? _item$position2 : DefaultNavItemPosition) === 'right';
  });
  return {
    leftItems,
    rightItems
  };
}
function splitNavItemsByPosition ( items ) { const leftItems = items . filter ( item => { var _item$position ; return ( ( _item$position = item . position ) !== null && _item$position !== void 0 ? _item$position : DefaultNavItemPosition ) === 'left' ; } ) ; const rightItems = items . filter ( item => { var _item$position2 ; return ( ( _item$position2 = item . position ) !== null && _item$position2 !== void 0 ? _item$position2 : DefaultNavItemPosition ) === 'right' ; } ) ; return { leftItems , rightItems } ; }
if position is unspecified, fallback to right (as v1)
if position is unspecified fallback to right ( as v1 )