http://www.universalhidef.com/digitalcopy/support/.You may now close this window."
]
},
"httpUVRelayStateValuePrefix": "www-http",
"blackFridayDevices": null,
"simplePromotions": null,
"supportUrl": "https://athomesupport.fandango.com"
};
// For backward compatibility. Remove it after the s/w is updated to the latest.
var config = VUDU.config;
(function variations(){
var mobileUrlVariations = {
suffix: "Mobile",
flag: VUDU.isMobliePage,
list: [
"accountCreatePage",
"accountSetupPage",
"loginPage",
"oAuthSignInPage",
"redeemPromoPage",
"signInPage",
"signUpPage",
"vuduAuthPage",
"walmartAssociateDiscountBanner",
"walmartGiftCardImage"
]
};
var nextGenUrlVariations = {
suffix: "NextGen",
flag: window.isNextGen,
list: [
"d2dConversion",
"logoutPage",
"manageDevices",
]
};
fixVariations(mobileUrlVariations);
fixVariations(nextGenUrlVariations);
function fixVariations(variationsData){
var suffix = variationsData.suffix;
var list = variationsData.list;
if(variationsData.flag){
for(var m = 0; m < list.length; m++){
var propName = list[m];
var variantPropName = propName + suffix;
if(VUDU.urls[variantPropName] === null || VUDU.urls[variantPropName] === undefined){
console.info("Unable to found source property " + variantPropName + " to assign " + suffix + " version. Get common value");
continue;
}
if(!VUDU.urls[propName]){
console.warn("Unable to found destination property " + propName + " to assign " + suffix + " version");
}
VUDU.urls[propName] = VUDU.urls[variantPropName];
}
}
}
})();