var baseJson = { // Material and color rendering settings. "materialSettings": { "G01": { "pattern": "rtt/images/materials/g01.jpg" }, "G02": { "pattern": "rtt/images/materials/g02.jpg" }, "G03": { "pattern": "rtt/images/materials/g03.jpg" }, "G04": { "pattern": "rtt/images/materials/g04.jpg" }, "G05": { "pattern": "rtt/images/materials/g05.jpg" }, "G06": { "pattern": "rtt/images/materials/g06.jpg" }, "G07": { "pattern": "rtt/images/materials/g07.jpg" }, "G08": { "pattern": "rtt/images/materials/g08.jpg" }, "G09": { "pattern": "rtt/images/materials/g09.jpg" }, "G10": { "pattern": "rtt/images/materials/g10.jpg" }, "G11": { "pattern": "rtt/images/materials/g11.jpg" }, "G12": { "pattern": "rtt/images/materials/g12.jpg" }, "G13": { "pattern": "rtt/images/materials/g13.jpg" }, "G14": { "pattern": "rtt/images/materials/g14.jpg" }, "G15": { "pattern": "rtt/images/materials/g15.jpg" }, "G16": { "pattern": "rtt/images/materials/g16.jpg" } }, "colorSettings": { "A07B71": { "pattern": "rtt/images/patterns/a07b71.jpg" }, "A07C23": { "pattern": "rtt/images/patterns/a07c23.jpg" }, "A22B56": { "pattern": "rtt/images/patterns/a22b56.jpg" }, "A22B58": { "pattern": "rtt/images/patterns/a22b58.jpg" }, "A22B65": { "pattern": "rtt/images/patterns/a22b65.jpg" }, "A22B66": { "pattern": "rtt/images/patterns/a22b66.jpg" }, "A22B67": { "pattern": "rtt/images/patterns/a22b67.jpg" }, "A22B68": { "pattern": "rtt/images/patterns/a22b68.jpg" }, "A22B72": { "pattern": "rtt/images/patterns/a22b72.jpg" }, "A22B74": { "pattern": "rtt/images/patterns/a22b74.jpg" }, "A11B86": { "pattern": "rtt/images/patterns/a11b86.jpg" }, "A11B53": { "pattern": "rtt/images/patterns/a11b53.jpg" }, "A11A23": { "pattern": "rtt/images/patterns/a11a23.jpg" }, "A27B57": { "pattern": "rtt/images/patterns/a27b57.jpg" }, "A27B44": { "pattern": "rtt/images/patterns/a27b44.jpg" }, "A27B49": { "pattern": "rtt/images/patterns/a27b49.jpg" }, "A15A06": { "pattern": "rtt/images/patterns/a15a06.jpg" }, "A15A07": { "pattern": "rtt/images/patterns/a15a07.jpg" }, "A25B54": { "pattern": "rtt/images/patterns/a25b54.jpg" }, "A25B78": { "pattern": "rtt/images/patterns/a25b78.jpg" }, "A25B99": { "pattern": "rtt/images/patterns/a25b99.jpg" }, "A05B46": { "pattern": "rtt/images/patterns/a05b46.jpg" }, "A05B47": { "pattern": "rtt/images/patterns/a05b47.jpg" }, "B01A29C17" : { "pattern": "rtt/images/patterns/b01a29c17.jpg" }, "B01A29C18" : { "pattern": "rtt/images/patterns/b01a29c18.jpg" }, "B01A29C19" : { "pattern": "rtt/images/patterns/b01a29c19.jpg" }, "A30A37": { "pattern": "rtt/images/patterns/a30a37.jpg" }, "A30C20": { "pattern": "rtt/images/patterns/a30c20.jpg" }, "A30C21": { "pattern": "rtt/images/patterns/a30c21.jpg" }, "A31C22": { "pattern": "rtt/images/patterns/a31c22.jpg" } }, // Shoe definitions. "C3000LM3": { "viewSettings": { "updateComponents": true, "multipart": true, "LXG12": { "maxLength": 15, "validation": "^[\\w.,$@\\\\!%#:;\"\'()\\[\\]?/{}` =-]*$", "autoSizeText": true, "startFontSize": 22, "minWidth": 550, "focusLeft": 0.265, "focusTop": 0.27, "updateWith": { "left": { "component": "LXG12" }, "right": { "component": "RXG12" } } }, "RXG12": { "maxLength": 15, "validation": "^[\\w.,$@\\\\!%#:;\"\'()\\[\\]?/{}` =-]*$", "minWidth": 550, "focusLeft": 0.745, "focusTop": 0.27, "autoSizeText": true, "startFontSize": 22, "updateWith": { "left": { "component": "LXG12" }, "right": { "component": "RXG12" } } }, "LXG10": { "maxLength": 2, "validation": "^\\d*$", "minWidth": 550, "focusLeft": 0.31, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG10" }, "right": { "component": "RXG10" } } }, "RXG10": { "maxLength": 2, "validation": "^\\d*$", "minWidth": 550, "focusLeft": 0.695, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG10" }, "right": { "component": "RXG10" } } }, "LXG11": { "maxLength": 2, "validation": "^\\d*$", "minWidth": 550, "focusLeft": 0.31, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG11" }, "right": { "component": "RXG11" } } }, "RXG11": { "maxLength": 2, "validation": "^\\d*$", "minWidth": 550, "focusLeft": 0.695, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG11" }, "right": { "component": "RXG11" } } } } }, "C3000MM3": { "viewSettings": { "updateComponents": true, "multipart": true, "LXG12": { "maxLength": 15, "validation": "^[\\w.,$@\\\\!%#:;\"\'()\\[\\]?/{}` =-]*$", "minWidth": 550, "focusLeft": 0.31, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG12" }, "right": { "component": "RXG12" } } }, "RXG12": { "maxLength": 15, "validation": "^[\\w.,$@\\\\!%#:;\"\'()\\[\\]?/{}` =-]*$", "minWidth": 550, "focusLeft": 0.695, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG12" }, "right": { "component": "RXG12" } } }, "LXG10": { "maxLength": 2, "validation": "^\\d*$", "minWidth": 550, "focusLeft": 0.31, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG10" }, "right": { "component": "RXG10" } } }, "RXG10": { "maxLength": 2, "validation": "^\\d*$", "minWidth": 550, "focusLeft": 0.695, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG10" }, "right": { "component": "RXG10" } } }, "LXG11": { "maxLength": 2, "validation": "^\\d*$", "minWidth": 550, "focusLeft": 0.31, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG11" }, "right": { "component": "RXG11" } } }, "RXG11": { "maxLength": 2, "validation": "^\\d*$", "minWidth": 550, "focusLeft": 0.695, "focusTop": 0.43, "updateWith": { "left": { "component": "LXG11" }, "right": { "component": "RXG11" } } } } }, "US990" : { "viewSettings": { // "imagePrefixDevelopment": "NB/TEST_", "LXB13": { "maxLength": 8, "minWidth": 550, "focusLeft": 0.31, "focusTop": 0.42, "offsetYSmall": -15 }, "RXB13": { "maxLength": 8, "minWidth": 550, "focusLeft": 0.69, "focusTop": 0.42, "offsetYSmall": -15 } } }, "US574" : { "viewSettings": { "LXB13": { "minWidth": 550, "focusLeft": 0.31, "focusTop": 0.49, "offsetYSmall": -15 }, "RXB13": { "minWidth": 550, "focusLeft": 0.66, "focusTop": 0.49, "offsetYSmall": -15 } } }, "US993" : { "viewSettings": { "BLA44": { "minWidth": 650, "focusLeft": 0.36, "focusTop": 0.43, "offsetYSmall": -15 }, "BUA44": { "minWidth": 650, "focusLeft": 0.36, "focusTop": 0.43, "offsetYSmall": -15 } } }, "US998" : { "viewSettings": { "LXB13": { "minWidth": 550, "focusLeft": 0.31, "focusTop": 0.49, "offsetYSmall": -15 }, "RXB13": { "minWidth": 550, "focusLeft": 0.64, "focusTop": 0.49, "offsetYSmall": -15 } } } }; ////////////////////////////////////////////////////////// // Product specific workarounds. //////////////////////////////////////////////////////////// // Region specific adjustments. //////////////////////////////////////////////////////////// // Temporary workarounds/code stashing area. // Disable material textures on IE and Edge. Lives here since we don't have a CSS class to target Edge. if (/MSIE/i.test(navigator.userAgent) || /Edge\//i.test(navigator.userAgent)) { $('head').append(''); // Hide upgrades for C3000. $('head').append('');