[misc] fix undefined references in all the places and enable lint rule GitOrigin-RevId: 473dbab577b34f60d6a3fe567e29e13cb5b1cb24
Configure webpack public path for gallery search bundle, fixing translations failing to load GitOrigin-RevId: e785ccac2bbba7ff9d929730c6ea84249f6db109