Domain Name - mgemi.com Updates every 10s

Id Host Class Type Status Target
1 mgemi.com IN SOA 1 dns.dnsmadeeasy.com ns10.dnsmadeeasy.com
2 mgemi.com IN TXT 1 google-site-verification=zvv0n6UkgVKJYCjWoq1URNULx0QwUy8VNEEc65as27I
3 mgemi.com IN TXT 1 google-site-verification=ES9GMmPfyoexWIizWzzDzouIwSceVmXSwj70Ch-kqHs
4 mgemi.com IN TXT 1 atlassian-domain-verification=PpEdMUPAEDQ3b++/DNnWVmO2xUnBwoHr2Y8mzEvnr/f71TJQtH5/680uq83/kryR
5 mgemi.com IN TXT 1 google-site-verification=nwaFz3ee7dBC9JWlyizG5U43aErJ-HTZQ-iLf2A4Skw
6 mgemi.com IN TXT 1 v=spf1 a mx include:_spf.google.com include:amazonses.com include:sparkpostmail.com ~all
7 mgemi.com IN TXT 1 738FC71C26
8 mgemi.com IN TXT 1 MS=ms85008122
9 mgemi.com IN MX 1 aspmx.l.google.com
10 mgemi.com IN MX 1 alt2.aspmx.l.google.com
11 mgemi.com IN MX 1 alt1.aspmx.l.google.com
12 mgemi.com IN MX 1 aspmx2.googlemail.com
13 mgemi.com IN MX 1 aspmx3.googlemail.com
14 mgemi.com IN A 1 104.17.27.188
15 mgemi.com IN A 1 104.17.26.188
16 mgemi.com IN NS 1 ns14.dnsmadeeasy.com
17 mgemi.com IN NS 1 ns11.dnsmadeeasy.com
18 mgemi.com IN NS 1 ns10.dnsmadeeasy.com
19 mgemi.com IN NS 1 ns12.dnsmadeeasy.com
20 mgemi.com IN NS 1 ns15.dnsmadeeasy.com
21 mgemi.com IN NS 1 ns13.dnsmadeeasy.com
1 Analytics Id 1 'UA-56670703-1'
2 Google-Site-Verification 11 1 zKQQk4G289QENeqwZj1_nimsCysmEa-hqS2-FTgU9iY
3 Description 11 1 Handmade Italian Leather Shoes, made in Italy the old way and sold the new way. Fast, free shipping and returns.
4 Keywords 11 1 M.Gemi
5 Viewport 11 1 width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0
6 Title 11 1 M.Gemi - Italian Leather Shoes
7 Description 17 1 Premium handcrafted casual and dress shoes. Direct from Italy at postluxury prices. Fast, free shipping & returns.
8 Keywords 17 1 M.Gemi
9 Google-Site-Verification 17 1 zKQQk4G289QENeqwZj1_nimsCysmEa-hqS2-FTgU9iY
10 Viewport 17 1 width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0
11 Title 17 1 Handcrafted Men's Shoes From Italy | M.Gemi
12 Description 10 1 Impeccably crafted Women's Italian Leather Driving Shoes & Driving Moccasins, handmade in Italy. Fast, free shipping and returns.
13 Keywords 10 1 M.Gemi
14 Google-Site-Verification 10 1 zKQQk4G289QENeqwZj1_nimsCysmEa-hqS2-FTgU9iY
15 Viewport 10 1 width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0
16 Title 10 1 Women's Driving Shoes & Driving Moccasins | M.Gemi

HTML header Tag

h3 Chat with a Fit Expert
h3 Text with a Fit Expert
h1 Friendly FYI
h2 The Weekly Drop
h4 NEW EVERY MONDAY—
h3 Style Reboot
h3 The Italian Way to Do Sporty
h2 Italian Shoes
h3 made the old way, sold the new way.
h1 Get in touch.
h2 New limited editions released every month. Be the first to know.
h3 Chat with a Fit Expert
h3 Text with a Fit Expert
h1 Friendly FYI
h1 {{handleFName formattedname}} {{classification}}
h6 Filter
h1 The SHOE
h1 The SHOE
h1 The SHOE
h1 The SHOE
h1 The SHOE
h1 The SHOE
h1 The SHOE
h1 The SHOE
h1 The SHOE
h1 The SHOE
h1 Get in touch.
h2 New limited editions released every month. Be the first to know.
h3 Chat with a Fit Expert
h3 Text with a Fit Expert
h1 Friendly FYI
h1 {{handleFName formattedname}} {{classification}}
h6 Story View
h6 Filter
h1 {{handleFName formattedname}} {{classification}}
h1 {{handleFName formattedname}} {{classification}}
h1 Get in touch.
h2 New limited editions released every month. Be the first to know.
<script> var styles = [ 'background: #fff url("http://tools.mgemi.com/images/secondary_logo.png") 0 0 no-repeat;' , 'color: #29292a' , 'display: block' , 'text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3)' , 'background-size: 26px' , 'padding:10px 20px' , 'line-height: 33px' , 'text-align: center' , 'font-weight: bold' ].join(';'); console.log("%c Ciao! Clearly, you're someone who sweats the details. We love that! Come join our engineering team! Email us : careers@mgemi.com", styles); </script><script> /*! loadCSS. [c]2017 Filament Group, Inc. MIT License */ !function(a){"use strict";var b=function(b,c,d){function e(a){return h.body?a():void setTimeout(function(){e(a)})}function f(){i.addEventListener&&i.removeEventListener("load",f),i.media=d||"all"}var g,h=a.document,i=h.createElement("link");if(c)g=c;else{var j=(h.body||h.getElementsByTagName("head")[0]).childNodes;g=j[j.length-1]}var k=h.styleSheets;i.rel="stylesheet",i.href=b,i.media="only x",e(function(){g.parentNode.insertBefore(i,c?g:g.nextSibling)});var l=function(a){for(var b=i.href,c=k.length;c--;)if(k[c].href===b)return a();setTimeout(function(){l(a)})};return i.addEventListener&&i.addEventListener("load",f),i.onloadcssdefined=l,l(f),i};"undefined"!=typeof exports?exports.loadCSS=b:a.loadCSS=b}("undefined"!=typeof global?global:this); /*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */ !function(a){if(a.loadCSS){var b=loadCSS.relpreload={};if(b.support=function(){try{return a.document.createElement("link").relList.supports("preload")}catch(b){return!1}},b.poly=function(){for(var b=a.document.getElementsByTagName("link"),c=0;c<b.length;c++){var d=b[c];"preload"===d.rel&&"style"===d.getAttribute("as")&&(a.loadCSS(d.href,d,d.getAttribute("media")),d.rel=null)}},!b.support()){b.poly();var c=a.setInterval(b.poly,300);a.addEventListener&&a.addEventListener("load",function(){b.poly(),a.clearInterval(c)}),a.attachEvent&&a.attachEvent("onload",function(){a.clearInterval(c)})}}}(this); </script><script></script><script> /*! lazysizes - v4.0.0-rc1 */ !function(a,b){var c=b(a,a.document);a.lazySizes=c,"object"==typeof module&&module.exports&&(module.exports=c)}(window,function(a,b){"use strict";if(b.getElementsByClassName){var c,d,e=b.documentElement,f=a.Date,g=a.HTMLPictureElement,h="addEventListener",i="getAttribute",j=a[h],k=a.setTimeout,l=a.requestAnimationFrame||k,m=a.requestIdleCallback,n=/^picture$/i,o=["load","error","lazyincluded","_lazyloaded"],p={},q=Array.prototype.forEach,r=function(a,b){return p[b]||(p[b]=new RegExp("(\\s|^)"+b+"(\\s|$)")),p[b].test(a[i]("class")||"")&&p[b]},s=function(a,b){r(a,b)||a.setAttribute("class",(a[i]("class")||"").trim()+" "+b)},t=function(a,b){var c;(c=r(a,b))&&a.setAttribute("class",(a[i]("class")||"").replace(c," "))},u=function(a,b,c){var d=c?h:"removeEventListener";c&&u(a,b),o.forEach(function(c){a[d](c,b)})},v=function(a,d,e,f,g){var h=b.createEvent("CustomEvent");return e||(e={}),e.instance=c,h.initCustomEvent(d,!f,!g,e),a.dispatchEvent(h),h},w=function(b,c){var e;!g&&(e=a.picturefill||d.pf)?e({reevaluate:!0,elements:[b]}):c&&c.src&&(b.src=c.src)},x=function(a,b){return(getComputedStyle(a,null)||{})[b]},y=function(a,b,c){for(c=c||a.offsetWidth;c<d.minSize&&b&&!a._lazysizesWidth;)c=b.offsetWidth,b=b.parentNode;return c},z=function(){var a,c,d=[],e=[],f=d,g=function(){var b=f;for(f=d.length?e:d,a=!0,c=!1;b.length;)b.shift()();a=!1},h=function(d,e){a&&!e?d.apply(this,arguments):(f.push(d),c||(c=!0,(b.hidden?k:l)(g)))};return h._lsFlush=g,h}(),A=function(a,b){return b?function(){z(a)}:function(){var b=this,c=arguments;z(function(){a.apply(b,c)})}},B=function(a){var b,c=0,d=125,e=666,g=e,h=function(){b=!1,c=f.now(),a()},i=m?function(){m(h,{timeout:g}),g!==e&&(g=e)}:A(function(){k(h)},!0);return function(a){var e;(a=a===!0)&&(g=44),b||(b=!0,e=d-(f.now()-c),0>e&&(e=0),a||9>e&&m?i():k(i,e))}},C=function(a){var b,c,d=99,e=function(){b=null,a()},g=function(){var a=f.now()-c;d>a?k(g,d-a):(m||e)(e)};return function(){c=f.now(),b||(b=k(g,d))}},D=function(){var c,g,l,m,o,p,y,D,F,G,H,I,J,K,L,M=/^img$/i,N=/^iframe$/i,O="onscroll"in a&&!/glebot/.test(navigator.userAgent),P=0,Q=0,R=0,S=-1,T=function(a){R--,a&&a.target&&u(a.target,T),(!a||0>R||!a.target)&&(R=0)},U=function(a,c){var d,f=a,g="hidden"==x(b.body,"visibility")||"hidden"!=x(a,"visibility");for(F-=c,I+=c,G-=c,H+=c;g&&(f=f.offsetParent)&&f!=b.body&&f!=e;)g=(x(f,"opacity")||1)>0,g&&"visible"!=x(f,"overflow")&&(d=f.getBoundingClientRect(),g=H>d.left&&G<d.right&&I>d.top-1&&F<d.bottom+1);return g},V=function(){var a,f,h,j,k,m,n,p,q;if((o=d.loadMode)&&8>R&&(a=c.length)){f=0,S++,null==K&&("expand"in d||(d.expand=e.clientHeight>500&&e.clientWidth>500?500:370),J=d.expand,K=J*d.expFactor),K>Q&&1>R&&S>2&&o>2&&!b.hidden?(Q=K,S=0):Q=o>1&&S>1&&6>R?J:P;for(;a>f;f++)if(c[f]&&!c[f]._lazyRace)if(O)if((p=c[f][i]("data-expand"))&&(m=1*p)||(m=Q),q!==m&&(y=innerWidth+m*L,D=innerHeight+m,n=-1*m,q=m),h=c[f].getBoundingClientRect(),(I=h.bottom)>=n&&(F=h.top)<=D&&(H=h.right)>=n*L&&(G=h.left)<=y&&(I||H||G||F)&&(d.loadHidden||"hidden"!=x(c[f],"visibility"))&&(l&&3>R&&!p&&(3>o||4>S)||U(c[f],m))){if(ba(c[f]),k=!0,R>9)break}else!k&&l&&!j&&4>R&&4>S&&o>2&&(g[0]||d.preloadAfterLoad)&&(g[0]||!p&&(I||H||G||F||"auto"!=c[f][i](d.sizesAttr)))&&(j=g[0]||c[f]);else ba(c[f]);j&&!k&&ba(j)}},W=B(V),X=function(a){s(a.target,d.loadedClass),t(a.target,d.loadingClass),u(a.target,Z),v(a.target,"lazyloaded")},Y=A(X),Z=function(a){Y({target:a.target})},$=function(a,b){try{a.contentWindow.location.replace(b)}catch(c){a.src=b}},_=function(a){var b,c=a[i](d.srcsetAttr);(b=d.customMedia[a[i]("data-media")||a[i]("media")])&&a.setAttribute("media",b),c&&a.setAttribute("srcset",c)},aa=A(function(a,b,c,e,f){var g,h,j,l,o,p;(o=v(a,"lazybeforeunveil",b)).defaultPrevented||(e&&(c?s(a,d.autosizesClass):a.setAttribute("sizes",e)),h=a[i](d.srcsetAttr),g=a[i](d.srcAttr),f&&(j=a.parentNode,l=j&&n.test(j.nodeName||"")),p=b.firesLoad||"src"in a&&(h||g||l),o={target:a},p&&(u(a,T,!0),clearTimeout(m),m=k(T,2500),s(a,d.loadingClass),u(a,Z,!0)),l&&q.call(j.getElementsByTagName("source"),_),h?a.setAttribute("srcset",h):g&&!l&&(N.test(a.nodeName)?$(a,g):a.src=g),f&&(h||l)&&w(a,{src:g})),a._lazyRace&&delete a._lazyRace,t(a,d.lazyClass),z(function(){(!p||a.complete&&a.naturalWidth>1)&&(p?T(o):R--,X(o))},!0)}),ba=function(a){var b,c=M.test(a.nodeName),e=c&&(a[i](d.sizesAttr)||a[i]("sizes")),f="auto"==e;(!f&&l||!c||!a[i]("src")&&!a.srcset||a.complete||r(a,d.errorClass))&&(b=v(a,"lazyunveilread").detail,f&&E.updateElem(a,!0,a.offsetWidth),a._lazyRace=!0,R++,aa(a,b,f,e,c))},ca=function(){if(!l){if(f.now()-p<999)return void k(ca,999);var a=C(function(){d.loadMode=3,W()});l=!0,d.loadMode=3,W(),j("scroll",function(){3==d.loadMode&&(d.loadMode=2),a()},!0)}};return{_:function(){p=f.now(),c=b.getElementsByClassName(d.lazyClass),g=b.getElementsByClassName(d.lazyClass+" "+d.preloadClass),L=d.hFac,j("scroll",W,!0),j("resize",W,!0),a.MutationObserver?new MutationObserver(W).observe(e,{childList:!0,subtree:!0,attributes:!0}):(e[h]("DOMNodeInserted",W,!0),e[h]("DOMAttrModified",W,!0),setInterval(W,999)),j("hashchange",W,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(a){b[h](a,W,!0)}),/d$|^c/.test(b.readyState)?ca():(j("load",ca),b[h]("DOMContentLoaded",W),k(ca,2e4)),c.length?(V(),z._lsFlush()):W()},checkElems:W,unveil:ba}}(),E=function(){var a,c=A(function(a,b,c,d){var e,f,g;if(a._lazysizesWidth=d,d+="px",a.setAttribute("sizes",d),n.test(b.nodeName||""))for(e=b.getElementsByTagName("source"),f=0,g=e.length;g>f;f++)e[f].setAttribute("sizes",d);c.detail.dataAttr||w(a,c.detail)}),e=function(a,b,d){var e,f=a.parentNode;f&&(d=y(a,f,d),e=v(a,"lazybeforesizes",{width:d,dataAttr:!!b}),e.defaultPrevented||(d=e.detail.width,d&&d!==a._lazysizesWidth&&c(a,f,e,d)))},f=function(){var b,c=a.length;if(c)for(b=0;c>b;b++)e(a[b])},g=C(f);return{_:function(){a=b.getElementsByClassName(d.autosizesClass),j("resize",g)},checkElems:g,updateElem:e}}(),F=function(){F.i||(F.i=!0,E._(),D._())};return function(){var b,c={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0};d=a.lazySizesConfig||a.lazysizesConfig||{};for(b in c)b in d||(d[b]=c[b]);a.lazySizesConfig=d,k(function(){d.init&&F()})}(),c={cfg:d,autoSizer:E,loader:D,init:F,uP:w,aC:s,rC:t,hC:r,fire:v,gW:y,rAF:z}}}); </script><script src="//code.jquery.com/jquery-1.7.1.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js" type="text/javascript"></script><script>var app={};</script><script> app.isProduction = true; app.isStaging = false; app.isDevelopment = false; </script><script> // Contains page data app.page = app.page || {}; app.page.gender = "female"; app.page.id = "women"; app.page.isProduct = false; app.page.isCategory = true; app.page.isContent = false; app.page.isCustom = false; app.page.productCategories = []; app.page.customAttrs = {}; // Attributes specific to other templates can be added here // Add vendor specific data to this object window.vendorSupport = {}; </script><script> app.util = app.util || {}; /* * http://youmightnotneedjquery.com/#ready * We should probably look for other isml files that contain $('document').ready(function(){}); and $(function(){}) * and replace it with a non-jquery solution */ app.util.ready = function(fn) { if (document.readyState != 'loading'){ fn(); } else if (document.addEventListener) { document.addEventListener('DOMContentLoaded', fn); } else { document.attachEvent('onreadystatechange', function() { if (document.readyState != 'loading') fn(); }); } } </script><script> (function(app) { // Event Manager class function EventManager() { this.events = {}; } // Fire callback once. If event has alrady been triggered, fire immediately EventManager.prototype.once = function (event, callback) { if (typeof event === 'string' && typeof callback === 'function') { this._initEvent(event); if (this.events[event].triggered) { callback.apply(null, this.events[event].data); } else { this.events[event].onceCallbacks.push(callback); } } return this; } EventManager.prototype._initEvent = function (event) { if (event in this.events) return; this.events[event] = { onCallbacks: [], onceCallbacks: [], triggered: false, data: null }; }; EventManager.prototype.on = function (event, callback) { if (typeof event === 'string' && typeof callback === 'function') { this._initEvent(event); this.events[event].onCallbacks.push(callback); } return this; }; EventManager.prototype.trigger = function (event, data) { this._initEvent(event); this.events[event].onCallbacks.forEach(function (callback) { callback.apply(null, data); }); if (!this.events[event].triggered) { this.events[event].onceCallbacks.forEach(function (callback) { callback.apply(null, data); }); this.events[event].triggered = true; this.events[event].data = data; } }; // Have event managers for each atomic design level var global = new EventManager(); app.events = { EventManager: EventManager, pdp: new EventManager(), trigger: function trigger(event, data) { global.trigger(event, data); }, on: function on(event, callback) { return global.on(event, callback); }, once: function (event, callback) { return global.once(event, callback); } }; })(window.app = window.app || {}); </script><script> (function(app) { app.cookie = { setCookie: function (c_name, value, exdays) { setCookie(c_name, value, exdays); }, getCookie: function (c_name) { return getCookie(c_name); } }; function setCookie(c_name, value, exdays) { var exdate = new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value = escape(value) + ((exdays === null) ? "" : "; expires=" + exdate.toUTCString()) + ";domain=" + window.location.host + ";path=/"; document.cookie = c_name + "=" + c_value; } function getCookie(c_name) { var c_value = document.cookie, c_start = c_value.indexOf(" " + c_name + "="), c_end; if (c_start == -1) { c_start = c_value.indexOf(c_name + "="); } if (c_start == -1) { c_value = null; } else { c_start = c_value.indexOf("=", c_start) + 1; c_end = c_value.indexOf(";", c_start); if (c_end == -1) { c_end = c_value.length; } c_value = unescape(c_value.substring(c_start, c_end)); } return c_value; } })(window.app = window.app || {}); </script><script> // Contains user data app.user = app.user || {}; app.user.custNo = ""; app.user.visitedMalePage = false; app.user.visitedFemalePage = true; app.user.isAnonymous = true; app.user.email = ""; app.user.firstName = ""; app.user.lastName = ""; app.user.smoochUserId = "aUQxU3lpLUpNdHFSMW1RV0F0aU9kZW5FNThrdF9Xa3ZXemc9MTUxNjM2NTMzNTgwMQ=="; app.user.smoochJwt = ""; app.user.gaClientId = null; app.user.sessionId = "iD1Syi-JMtqR1mQWAtiOdenE58kt_WkvWzg="; // Use this for general settings you need in your scripts app.settings = (function() { var settings = {}; return { put: function() { if(arguments.length == 2) { var key = arguments[0]; var value = arguments[1]; settings[key] = value; } else { var keyValuePairs = arguments[0]; for(var key in keyValuePairs) { settings[key] = keyValuePairs[key]; } } }, get: function(key, defaultValue) { return typeof(settings[key]) !== 'undefined' ? settings[key] : defaultValue; }, getKeys: function() { return Object.keys(settings); } }; })(); </script><script>app.settings.put('canLiveChat', false);</script><script> (function(app) { app.enabledFeatureFlags = ["newMerchStrat","smooch","inspectlet","mensForAll","talkable","showPiRecommendations","iterableVerboseLogging","returns","exchanges"]; })(window.app = window.app || {}); </script><script>app.sourceCode = null;</script><script> app.cartState = {}; </script><script> app.user.partialUserAuth = { em: "", fn: "", ph: "" }; </script><script> "use strict"; /* Payload Descriptor */ //UNIX timestamp //Visitor UUID //Event Class: Web/iOS/Backend //Event : PageView, AddToBag, Logout //Event Body : data {} //PageView // Use ClickStreamObject here: (function() { $(function(){ var body = document.body; $(window).on('mgemiPDPRender', function(ev, pid, productData) { // TODO: Currently this event is not being fired by gift card pages. Gift card pages // are pretty different from other PDPs and they don't expose the same data. Some parts // of the gift card PDPs need to be refactored so that they're more like the other PDPs. if (!productData.variantInfo) { return; } else { var pdpData = { "remote_address": "40.77.167.179", "host": "mgemi.com", "master_id": productData.masterID, "variant_id": productData.variantInfo.id, "upc": (productData.ID === productData.masterID) ? null : productData.ID, "price": parseInt(productData.price.sale.replace('$', '')), "in_stock": productData.inStock, "available": productData.masterIsSellable && productData.online && productData.inStock, "timestamp_client": Date.now(), "name": productData.name, "custom": { "details": productData.details, "edition": productData.edition, "forced_soldout": productData.forcedSoldout, "is_expired": (productData.isExpired === "yes") ? true : false, "color_code": productData.variantInfo.colorCode, "color_name": productData.variantInfo.colorName, "variation_attributes": _.map(productData.variationAttributes, function (current, ind, original) { return _.assign(current, { values: _.map(current.values, function (curr, x, orig) { return _.omit(curr, ['addToBagClass', 'addToBagText', 'displayValue', 'displayValueRaw', 'swatchClass']); }) }); }) } }; } firePixel('PDPView', pdpData); }); function fireFitPixel(specificdata){ specificdata = specificdata || {}; firePixel('CustomEvent', { "type" : 'FitFinder', "custom" : specificdata, "remote_address": "40.77.167.179", "host": "mgemi.com" }); } $(body).on('fit-assistant-modal-answer-modal-actively-closed', function(){ var data = {}; fireFitPixel({ 'event' : 'fit-assistant-modal-answer-modal-actively-closed' }); }); $(body).on('open-fit-assistant-modal', function(){ var data = {}; fireFitPixel({ 'event' : 'open-fit-assistant-modal' }); }); $(body).on('fit-assistant-modal-step-1', function(e, size){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-1', 'size': size }); }); $(body).on('fit-assistant-modal-step-2', function(e, width){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-2', 'width': width }); }); $(body).on('fit-assistant-modal-step-3', function(e, closet){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-3', 'closet-owned': closet }); }); $(body).on('fit-assistant-modal-shop-this-size', function(size){ fireFitPixel({ 'event': 'fit-assistant-modal-shop-this-size', 'size': size }); }); $(window).on('mgemiCheckoutStep', function (ev, checkoutStep, cartData) { firePixel('CheckoutStep', { "remote_address": "40.77.167.179", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516365335755, "checkout_step": checkoutStep, "cart": cartData }); }); $(window).on('mgemiConfirmationLoad', function (ev, order) { firePixel('CheckoutStep', { "remote_address": "40.77.167.179", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516365335755, "checkout_step": 'confirmation', "cart": order.lineItems.map(function (i) { return { "upc": i.sku, "name": i.name, "quantity": i.qty } }), "order_number": order.orderNo }) }); $(window).on('mgemiPDPAddCartClick', function (ev, pid) { firePixel('AddToCart', { "remote_address": "40.77.167.179", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516365335755, "upc": pid, "quantity": 1, "source": "mgemiPDPAddCartClick" }); }) app.events.once('userLogin', function (email) { firePixel('AuthEvent', { email: email, method: 'login', remote_address: "40.77.167.179", host: "mgemi.com" }); }); app.events.once('userLogout', function (email) { firePixel('AuthEvent', { email: email, method: 'logout', remote_address: "40.77.167.179", host: "mgemi.com" }); }); $('document').ready(function (e) { var event = {}; var clickStream = { "remote_address": "40.77.167.179", "host": "mgemi.com", "locale": "en_US", "path": "/on/demandware.store/Sites-mgemi-Site/default/Search-Show", "query_string": "cgid=women", "url": window.location.href, "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "timestamp_server":1516365335755, "timestamp_client": Date.now(), "referrer": document.referrer, "custom": { "pipeline_name": "Search-Show", "internal_url": "/on/demandware.store/Sites-mgemi-Site/default/Search-Show?cgid=women" } } //holding off on this part. //TODO : make clickStream['referer'] = '' work; event = clickStream; firePixel('PageView', event); }); }); app.events.on('exchangeStepChange', function (data) { let orderProducts = _.get(data.order, 'products') firePixel('CustomEvent', { type: 'Exchanges', remote_address: "40.77.167.179", host: "mgemi.com", custom: { customerEmail: _.get(data.order, 'customer.email'), action: data.action, step: data.screen, orderNo: _.get(data.order, 'orderNo'), returnSku: _.get(data.order, 'products.' + data.returnProductIndex + '.sku'), reason: data.reason, exchangeSku: _.get(data.exchange, 'selectedVariation.id'), validationError: data.validationError, page: data.flow } }); }); function firePixel(eventId, data) { // Can send pixels in dev environments because facebook separates them // Some enhancement to var tryFirePixelInterval = setInterval(tryFirePixel, 2500); tryFirePixel() function tryFirePixel() { var uuid = app.cookie.getCookie('__cq_uuid'); if (uuid == null) { // The uuid is not present yet. It comes from cquotient external library. console.debug("Note: uuid is not present. Delaying sent of launchPixel"); return; } data = data || {}; var partialUsers = JSON.parse(JSON.parse(app.cookie.getCookie('partialUser'))); var partialUser = partialUsers && partialUsers.length > 0 ? partialUsers[0] : false; data.user_uuid = uuid; data.user_id = !!partialUser && !!partialUser.existingUser ? partialUser['id'] : null; data.session_id = "iD1Syi-JMtqR1mQWAtiOdenE58kt_WkvWzg="; if (!app.isProduction) { console.debug("launch pixel: ", { eventId: eventId, args: data }); } clearInterval(tryFirePixelInterval); $.ajax({ url: '//api.commersive.io/public/1/track/' + eventId, data: JSON.stringify(data), type: 'POST', crossDomain: true, dataType: "json", contentType: 'application/json', headers: { Authorization: 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiUFVCTElDIiwiaWF0IjoxNDgxMjkzNTY3fQ.BL1UJN1-eNh25hIzpqLWUn9P8nXSQuNsmeBeEkWhWOc' }, error: function () { console.warn('error in sending launch pixel'); }, success: function () { } }); } } })(); </script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/js/lib/html5.js"></script><script> /* * Simple way to detect when js modules have loaded */ (function(app, $) { var loadedModules = []; var callbacks = {}; app.jsmodule = { load : function(module) { if(this.hasLoaded(module)) { return; } loadedModules.push(module); if(callbacks[module]) { callbacks[module].forEach(function(callback) { callback(); }); delete callbacks[module]; } }, hasLoaded : function(module) { return loadedModules.indexOf(module) > -1; }, onLoad : function(module, callback) { if(this.hasLoaded(module)) { callback(); } else { callbacks[module] || (callbacks[module] = []); callbacks[module].push(callback); } } }; })(window.app = window.app || {}, jQuery); </script><script> (function() { // console.warn('facebook isml loaded'); var inititalized = false; function initFacebook() { !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','//connect.facebook.net/en_US/fbevents.js'); // Insert Your Facebook Pixel ID below. if (!app.user.partialUserAuth.em) { fbq('init', '1379280122373528'); } else { fbq('init', '1379280122373528', { em: app.user.partialUserAuth.em, fn: app.user.partialUserAuth.fn ? app.user.partialUserAuth.fn : undefined, ph: app.user.partialUserAuth.ph ? app.user.partialUserAuth.ph : undefined }); } fbq('track', 'PageView'); } function firePixel(eventId, args, isCustomEvent) { // Can send pixels in dev environments because facebook separates them if(!app.isProduction) { console.debug("facebook pixel: ", { eventId : eventId, args : args }); } if(!inititalized) { initFacebook(); inititalized = true; } var trackType = isCustomEvent ? 'trackCustom' : 'track'; fbq(trackType, eventId, args); } $(window).on('mgemiConfirmationLoad', function(ev, order) { var skus = []; order.lineItems.forEach(function(li) { if(skus.indexOf(li.sku) < 0) { skus.push(li.sku); } }); firePixel('Purchase', { content_ids : skus, content_type : 'product', value : order.subtotal, order_id : order.orderNo, currency : 'USD' }); }); // Fire pixel when user visits cart page $(window).on('mgemiCartLoad', function(ev, order) { var skus = []; order.lineItems.forEach(function(li) { if(skus.indexOf(li.sku) < 0) { skus.push(li.sku); } }); firePixel('InitiateCheckout', { content_ids: skus, num_items: order.lineItems.length, content_type: 'product', value: order.subtotal, currency: 'USD' }); }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { firePixel('AddToCart', { content_name: productData.name, content_ids: [pid], content_type: 'product', value: productData.price, currency: 'USD' }); }); $(window).on('mgemiPDPRender', function(ev, pid, productData) { // Only fire for master products firePixel('ViewContent', { content_name: productData.name, content_category: productData.category, content_ids: [pid], content_type: 'product_group', value: productData.price, currency: 'USD' }); }); $(window).on('mgemiNewsletterSignup', function(ev, json) { if(!json.inMensNewsletter && !json.inWomensNewsletter) { firePixel('Lead', { email : json.email }); } }); $(window).on('mgemiWaitlistAdd', function(event, pid){ firePixel('WaitlistAdd', { content_ids: [pid], content_type: 'product' }, true) }) })(); </script><script> (function() { // console.warn('nanigans isml loaded'); function firePixel(args) { // Can send pixels in dev environments because nanigans separates them if(!app.isProduction) { console.debug("nanigans pixel: ", args); } if (typeof NaN_api === 'undefined' || NaN_api === null) { NaN_api = [ [375942, app.user.custNo] ]; } NaN_api.push(args); } // Initialize nanigans (function() { firePixel(['visit', 'landing']); (function() { var s = document.createElement('script'); s.async = true; s.src = '//cdn.nanigans.com/NaN_tracker.js'; var h = document.getElementsByTagName('head')[0]; h.appendChild(s); })(); })(); $(window).on('mgemiNewsletterSignup', function(ev, json) { if(!json.inMensNewsletter && !json.inWomensNewsletter) { firePixel(['user', 'email_capture', 0, {'ut1': json.emailHash}]); } }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { firePixel(['user', 'add_to_cart', productData.price, { 'qty': '1', 'sku': pid, 'gender': app.page.gender }]); }); (function() { var fired = false; $(window).on('mgemiPDPRender', function(ev, pid, productData) { if(!fired) { // NaN_api = [[app_id, user_id], [type, name, value, extra]]; // Using the push call to prevent loading more calls than needed. firePixel(['user', 'product_view', 0, { 'sku': pid, 'gender': app.page.gender }]); fired = true; } }); })(); // START OF CONFIRMATION PIXEL $(window).on('mgemiConfirmationLoad', function(ev, order) { if(window._) { purchasePixel(); eachPurchasePixel(); } else { jQuery.getScript("https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js") .done(function() { purchasePixel(); eachPurchasePixel(); }); } function purchasePixel() { var hasFemale = false; var hasMale = false; order.lineItems.forEach(function(li) { if(li.gender.toLowerCase() == 'female') { hasFemale = true; } else if(li.gender.toLowerCase() == 'male') { hasMale = true; } }); var nanGender = 'unattributed'; if(hasMale && hasFemale) { nanGender = 'both'; } else if(hasMale) { nanGender = 'mens'; } else if(hasFemale) { nanGender = 'womens'; } // NaN_api = [[app_id, user_id], [type, name, value, extra]]; firePixel(['purchase', 'main', _.pluck(order.lineItems, "adjustedPriceInCents"), { 'qty': _.pluck(order.lineItems, "qty"), 'sku': _.pluck(order.lineItems, "sku"), 'unique': order.orderNo, 'gender': nanGender }]); } // Purchase pixel for each sku function eachPurchasePixel() { var totalPrice = 0; order.lineItems.forEach(function(li) { totalPrice += li.adjustedPriceInCents; }); firePixel(['user', 'checkout', totalPrice, { 'unique':order.orderNo + '_checkout' }]); } }); // END OF CONFIRMATION PIXEL })(); </script><script src="//cdn.taboola.com/libtrc/mgemi/tfa.js" defer></script><script> (function() { $(window).on('mgemiConfirmationLoad', function(ev, order) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',orderid: order.orderNo, name: 'Purchase' }); $('<img src="//trc.taboola.com/mgemi/log/3/mark?marking-type=Suppression&item-url=order-confirmation" width="0" height="0" />').appendTo('body'); }); // Fire pixel when user visits cart page $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',name: 'ATCs' }); }); $(window).on('mgemiNewsletterSignup', function(ev, json) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',name: 'Leads' }); }); })(); </script><script> (function() { var talkableEnabled = app.enabledFeatureFlags.indexOf('talkable') > -1; if (!talkableEnabled) { return; } function firePixel(eventId, args) { if (!app.isProduction) { console.debug("talkable pixel: ", { eventId : eventId, args : args }); } _talkableq.push([eventId, args]); } // Init talkable (function() { // Get URL params (code from http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript) var urlParams; var match, pl = /\+/g, // Regex for replacing addition symbol with a space search = /([^&=]+)=?([^&]*)/g, decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); }, query = window.location.search.substring(1); urlParams = {}; while (match = search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]); } window._talkableq = window._talkableq || []; firePixel('authenticate_customer', { email: urlParams['talkableAuthEmail'] ? urlParams['talkableAuthEmail'] : app.user.email, first_name: urlParams['talkableAuthFName'] ? urlParams['talkableAuthFName'] : app.user.firstName, last_name: urlParams['talkableAuthLName'] ? urlParams['talkableAuthLName'] : app.user.lastName }); firePixel('register_affiliate', {}); // Use production js library only in prod environment. Use staging js library everywhere else. var s = document.createElement('script'); s.src = '//d2jjzw81hqbuqv.cloudfront.net/integration/clients/m-gemi'; s.src += (!app.isProduction ? '-staging' : '') + '.min.js'; var h = document.getElementsByTagName('head')[0]; h.appendChild(s); })(); $(window).on('mgemiConfirmationLoad', function(ev, order) { firePixel('register_purchase', { purchase: { order_number: order.orderNo, subtotal: (order.finaltotal - order.totalTax).toString(), //pre-tax, post-discount coupon_code: order.priceAdjustments.map(function(pa) { return pa.promotionId; }) // Single string or array of strings }, customer: { email: order.customerEmail } }); }); })(); </script><script data-obct type="text/javascript"> / DO NOT MODIFY THIS CODE/ !function(_window, _document) { var OB_ADV_ID='00a2c44aacf73c31ea6ec8a4f7c9cced0f'; if (_window.obApi) { return; } var api = _window.obApi = function() {api.dispatch ? api.dispatch.apply(api, arguments) : api.queue.push(arguments);} ;api.version = '1.0';api.loaded = true;api.marketerId = OB_ADV_ID;api.queue = [];var tag = _document.createElement('script');tag.async = true;tag.src = '//amplify.outbrain.com/cp/obtp.js';tag.type = 'text/javascript';var script = _document.getElementsByTagName('script')[0];script.parentNode.insertBefore(tag, script);}(window, document); obApi('track', 'PAGE_VIEW'); $(window).on('mgemiConfirmationLoad', function(ev, order) { obApi('track', 'purchase', { orderValue: order.finaltotal, orderId: order.orderNo, }); }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { obApi('track', 'Add To Cart'); }); </script><script type="text/javascript"> var _kiq = _kiq || []; (function(){ setTimeout(function(){ var d = document, f = d.getElementsByTagName('script')[0], s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//s3.amazonaws.com/ki.js/67278/fRh.js'; f.parentNode.insertBefore(s, f); }, 1); })(); if (!app.user.isAnonymous) { _kiq.push(['identify', app.user.email]); } (function() { app.util.ready(function() { _kiq.push(['set', { 'is_production': app.isProduction, 'user_uuid': app.cookie.getCookie('uuid'), 'session_id': app.user.sessionId, 'page_gender': app.page.gender, 'is_category_page': app.page.isCategory, 'is_product_page': app.page.isProduct, 'is_content_page': app.page.isContent, 'page_id': app.page.id }]); }); _kiq.push(['eventHandler', 'nodeRendered', function(nudge_id, screen_id){ document.body.setAttribute('data-qual-current-nudge', nudge_id); document.body.setAttribute('data-qual-current-screen', screen_id); }]); })(); </script><script> app.util.ready(function() { window._pp = window._pp || []; _pp.siteId = '1422'; _pp.siteUId = app.cookie.getCookie('uuid'); _pp.tags = app.sourceCode || 'none'; if ('currentOrder' in app) { _pp.email = app.currentOrder.customerEmail; _pp.orderValue = app.currentOrder.finaltotal; _pp.orderId = app.currentOrder.orderNo; } (function() { var ppjs = document.createElement('script'); ppjs.type = 'text/javascript'; ppjs.async = true; ppjs.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//cdn.pbbl.co/r/' + _pp.siteId + '.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ppjs, s); })(); }); </script><script> window['_fs_debug'] = false; window['_fs_host'] = 'fullstory.com'; window['_fs_org'] = "6K011"; window['_fs_namespace'] = 'FS'; (function(m,n,e,t,l,o,g,y){ if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;} g=m[e]=function(a,b){g.q?g.q.push([a,b]):g._api(a,b);};g.q=[]; o=n.createElement(t);o.async=1;o.src='https://'+_fs_host+'/s/fs.js'; y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y); g.identify=function(i,v){g(l,{uid:i});if(v)g(l,v)};g.setUserVars=function(v){g(l,v)}; g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)}; g.clearUserCookie=function(c,d,i){if(!c || document.cookie.match('fs_uid=[`;`]*`[`;`]*`[`;`]*`')){ d=n.domain;while(1){n.cookie='fs_uid=;domain='+d+ ';path=/;expires='+new Date(0).toUTCString();i=d.indexOf('.');if(i<0)break;d=d.slice(i+1)}}}; })(window,document,window['_fs_namespace'],'script','user'); </script><script> if (!app.user.isAnonymous) { FS.identify(app.user.custNo, { email: app.user.email, firstName: app.user.firstName, lastName: app.user.lastName, gaClientId: app.user.gaClientId }); } </script><script> $(function(){ if($("[name$='addtoemaillist']").parents('.checkbox-field').size() > 0){ var $realCheckbox =$("[name$='addtoemaillist']").parents('.checkbox-field'); ga('send', 'event', 'checkout newsletter', 'position', 'top'); var $newForm = $('<div class="alternate optInArea field" id="newsletterOptIn"><div class="optIn form-caption">You\'ll find out first about all things M.Gemi. <a href="#">Change.</a> </div><div class="optOut form-caption">We won\'t send you updates on new releases, early access to rare sales, or special pre-shop access. <a href="#">Send emails.</a> </div></div>'); $newForm.insertAfter($realCheckbox); var $optArea = $('#newsletterOptIn'); var $optOut = $optArea.find('.optOut'); var $optIn = $optArea.find('.optIn'); if($realCheckbox.length > 0){ console.log($realCheckbox) $realCheckbox.hide(); $optOut.hide(); $('body').on('mouseup', '[name=dwfrm_singleshipping_shippingAddress_save]', function(){ var optBool = $realCheckbox.find(':checkbox').attr('checked'); ga('send', 'event', 'checkout newsletter final selection', 'selection', optBool); console.log('final checked selection ', optBool); }); $('body').on('click', '#newsletterOptIn .form-caption a', function(e){ e.preventDefault(); var optBool = $(e.currentTarget).parent('.optOut').length > 0; ga('send', 'event', 'checkout newsletter selection', 'selection', optBool); $realCheckbox.find(':checkbox').attr('checked', optBool); if (!optBool){ $optIn.hide(); $optOut.show(); } else { $optIn.show(); $optOut.hide(); } console.log($realCheckbox.find(':checkbox').is(':checked')); }); } } }); </script><script type="text/javascript">//<!-- /* <![CDATA[ (head-active_data.js) */ var dw = (window.dw || {}); dw.ac = { _analytics: null, _events: [], _category: "", _capture: function(configs) { if (Object.prototype.toString.call(configs) === "[object Array]") { configs.forEach(captureObject); return; } dw.ac._events.push(configs); }, capture: function() { dw.ac._capture(arguments); }, EV_PRD_SEARCHHIT: "searchhit", EV_PRD_DETAIL: "detail", EV_PRD_RECOMMENDATION: "recommendation", EV_PRD_SETPRODUCT: "setproduct", applyContext: function(context) { if (typeof context === "object" && context.hasOwnProperty("category")) { dw.ac._category = context.category; } }, setDWAnalytics: function(analytics) { dw.ac._analytics = analytics; } }; /* ]]> */ // --> </script><script type="text/javascript">//<!-- /* <![CDATA[ (head-cquotient.js) */ var CQuotient = window.CQuotient = {}; CQuotient.clientId = 'aatm-mgemi'; CQuotient.activities = []; CQuotient.cqcid=''; CQuotient.cquid=''; CQuotient.initFromCookies = function () { var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf('cqcid=') == 0) { CQuotient.cqcid=c.substring('cqcid='.length,c.length); } else if (c.indexOf('cquid=') == 0) { CQuotient.cquid=c.substring('cquid='.length,c.length); break; } } } CQuotient.getCQCookieId = function () { if(window.CQuotient.cqcid == '') window.CQuotient.initFromCookies(); return window.CQuotient.cqcid; }; CQuotient.getCQUserId = function () { if(window.CQuotient.cquid == '') window.CQuotient.initFromCookies(); return window.CQuotient.cquid; }; /* ]]> */ // --> </script><script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date; h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')}; (a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c; })(window,document.documentElement,'async-hide','dataLayer',4000, {'GTM-597QF72':true});</script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/js/responsive-min.js"></script><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); </script><script> if (!!app.user.custNo) { ga('set', 'dimension2', app.user.custNo ); ga('create', 'UA-56670703-1', { 'userId': app.user.custNo }); } else { ga('create', 'UA-56670703-1' , 'auto'); } ga('require', 'GTM-597QF72'); jQuery(function() { if(window.customGaPageView === undefined || !window.customGaPageView) { ga('send', 'pageview'); } }); ga(function() { var clientId = ga.getAll()[0].get('clientId'); if (!clientId) return; ga('set', 'dimension1', clientId); if (!app.user.gaClientId) { $.ajax("/on/demandware.store/Sites-mgemi-Site/default/API-SetGAUserId", { data: { clientID: clientId }, success: function(data, status, xhr){ if(data.status === 'ERROR'){ console.error('GA ERROR: ' + data.message); } }, error: function(xhr, status, data){ console.error(data); } }); } }); // Send to GA whether the user is logged in or logged out var dimensionValue = app.user.isAnonymous ? 'logged out' : 'logged in'; ga('set', 'dimension4', dimensionValue); </script><script async="true" type="text/javascript" src="//mgemi.btttag.com/btt.js"></script><script> /* jshint esversion: 6 */ (function($) { // TODO: Add this to the events.js file $('body').on('mousedown', '.main-nav a, .header-links a, .mobile-nav a', function(e) { e.preventDefault(); var $link = $(this), href = $link.attr('href'), pipe, $drop1; // Don't send data to ga if the href doesn't go anywhere if(href == '' || href == "#" || href.indexOf("Javascript:void(0)") > -1) return; pipe = $link.text().trim(); $drop1 = $link.closest('.drop-1'); if($drop1.length > 0) { pipe = $drop1.parent().find('> a').text().trim() + ' | ' + pipe; } ga('send', 'event', 'navigation', pipe, href); }); // TODO: Have to use a timeout to ensure app.js is loaded, not sure why // it isn't loaded by here. // TODO: standardize this into a universal model so that we can repurpose as needed. setTimeout(function() { if ('' && '' !== 'null') { app.dialog.create({ target: $('.js-flash-message'), options: { autoOpen: true, dialogClass: 'standard-modal', open: function() { $('.ui-widget-overlay').click(function() { traditionalPriceModal.dialog('close'); }); } } }); } }, 300); })(jQuery); </script><script> var s = document.createElement("script"); s.type = "text/javascript"; s.src = "/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/js/subscriptionPreferenceCenterModal.js"; s.async = true; $("body").append(s); </script><script> // Temporary trigger for page load used for rocket fuel pixel //TODO : Remove this ASAP $(function(){ $(window).trigger('mgemiHomeLoad'); }) </script><script> (function() { var opensAutomaticallyAfter = 2 * 1000; // Converts seconds to ms var closesAutomaticallyAfter = 7 * 1000; // Converts seconds to ms var $chatBubble = $('.chat-bubble'); var $chatText = $('.chat_bubble_text'); var chatTextWidth = $('.chat_bubble_text').outerWidth(); var chatTextHeight = $('.chat_bubble_text').outerHeight(); var $animationContainer = $('<div class="chat-text-animation-container"></div>').appendTo('.chat-bubble'); $animationContainer.css({ width: chatTextWidth, height: chatTextHeight }); $chatText.appendTo($animationContainer); function openChatBubbleText() { $chatBubble.removeClass('text-hidden'); } function closeChatBubbleText() { $chatBubble.addClass('text-hidden'); } var openAutomaticallyTimer = setTimeout(function() { openChatBubbleText(); }, opensAutomaticallyAfter); var closeAutomaticallyTimer = setTimeout(function() { closeChatBubbleText(); }, closesAutomaticallyAfter); var chatBubbleHoveredOver = false; $chatBubble.on('mouseover', function() { openChatBubbleText(); clearTimeout(openAutomaticallyTimer); clearTimeout(closeAutomaticallyTimer); if (!chatBubbleHoveredOver) { ga('send', 'event', 'Chat Bubble Widget', 'mouseover'); chatBubbleHoveredOver = true; } }); $chatBubble.on('click', function() { ga('send', 'event', 'Chat Bubble Widget', 'click'); }); $chatBubble.on('mouseleave', function() { closeChatBubbleText(); chatBubbleHoveredOver = false; }); })(); </script><script> window.newsletterPopupSettings = {"a":1,"b":2,"womensImageSrc":"womensNewsletter50Activation.jpg","mensImageSrc":"mensNewsletter50Activation.jpg"}; </script><script id="newsletter-modal-template" type="text/x-handlebars-template"> <div class="old mens-womens-signup-container newsletter-container {{#if startWomensNewsletter}}for-women{{else}}for-men{{/if}}"> <section class="container clearfix"> <div class="edition-signup"> <div class="promo"> <div class="for-women"> <style> #img2120375862, figure[data-img-hash="img2120375862"] { padding-bottom: 100.0%; } @media (max-width: 767px){ #img2120375862, figure[data-img-hash="img2120375862"] { padding-bottom: 100.0%; } } </style> <figure id="img2120375862" data-img-hash="img2120375862" class="imgModule"> <picture><!--[if IE 9]><video style="display: none"><![endif]--><source sizes="33vw" media="(max-width: 767px)" data-srcset='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=105&sm=aspect&qlt=60&aspect=1:1&qlt=60 105w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=164&sm=aspect&qlt=60&aspect=1:1&qlt=60 164w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=253&sm=aspect&qlt=60&aspect=1:1&qlt=60 253w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=211&sm=aspect&qlt=60&aspect=1:1&qlt=60 211w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=329&sm=aspect&qlt=60&aspect=1:1&qlt=60 329w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=506&sm=aspect&qlt=60&aspect=1:1&qlt=60 506w ' /><!--[if IE 9]></video><![endif]--><img data-src='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w={50%}&qlt=60&sm=aspect&aspect=1:1&qlt=60'class="undefined lazyload" sizes="33vw" data-srcset='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=337&sm=aspect&qlt=60&aspect=1:1&qlt=60 337w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=474&sm=aspect&qlt=60&aspect=1:1&qlt=60 474w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=660&sm=aspect&qlt=60&aspect=1:1&qlt=60 660w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=949&sm=aspect&qlt=60&aspect=1:1&qlt=60 949w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=1320&sm=aspect&qlt=60&aspect=1:1&qlt=60 1320w ' /></picture> </figure> </div> <div class="for-men"> <style> #img2134836708, figure[data-img-hash="img2134836708"] { padding-bottom: 100.0%; } @media (max-width: 767px){ #img2134836708, figure[data-img-hash="img2134836708"] { padding-bottom: 100.0%; } } </style> <figure id="img2134836708" data-img-hash="img2134836708" class="imgModule"> <picture><!--[if IE 9]><video style="display: none"><![endif]--><source sizes="33vw" media="(max-width: 767px)" data-srcset='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=105&sm=aspect&qlt=60&aspect=1:1&qlt=60 105w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=164&sm=aspect&qlt=60&aspect=1:1&qlt=60 164w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=253&sm=aspect&qlt=60&aspect=1:1&qlt=60 253w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=211&sm=aspect&qlt=60&aspect=1:1&qlt=60 211w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=329&sm=aspect&qlt=60&aspect=1:1&qlt=60 329w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=506&sm=aspect&qlt=60&aspect=1:1&qlt=60 506w ' /><!--[if IE 9]></video><![endif]--><img data-src='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w={50%}&qlt=60&sm=aspect&aspect=1:1&qlt=60'class="undefined lazyload" sizes="33vw" data-srcset='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=337&sm=aspect&qlt=60&aspect=1:1&qlt=60 337w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=474&sm=aspect&qlt=60&aspect=1:1&qlt=60 474w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=660&sm=aspect&qlt=60&aspect=1:1&qlt=60 660w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=949&sm=aspect&qlt=60&aspect=1:1&qlt=60 949w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=1320&sm=aspect&qlt=60&aspect=1:1&qlt=60 1320w ' /></picture> </figure> </div> </div> <div class="content"> <div class="newsletter-close-btn" data-close-btn> <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><clipPath id="a"><path fill="none" d="M0 0h100v100H0z"/></clipPath></defs><title>icon</title><g clip-path="url(#a)"><path d="M94.43 0L50 44.43 5.57 0 .01 5.56l44.44 44.43L.01 94.44 5.57 100 50 55.57 94.43 100l5.56-5.56-44.43-44.45L99.99 5.56 94.43 0z"/></g></svg></div> <div class="body-content"> <div class="for-men"> <p>M.Gemi—italian shoes<br/> made the old way, sold the new way.</p> <h2>New limited editions<br/> released every month.<br/> Be the first to know.</h2> <style>.newsletter-container.for-men p { font-family: BrownStd, sans-serif; text-transform: uppercase; font-size: 11px; line-height: 15px; letter-spacing: 1.54px; } .fullscreen-modal .popmodal .old.newsletter-container.for-men h2 { font-size: 24px; line-height: 29px; letter-spacing:0; font-weight: normal; margin-top: 20px }</style> </div> <div class="for-women"> <style> @media (min-width: 768px) { .ui-dialog.popmodal .old.mens-womens-signup-container.newsletter-container.for-women .content { padding: 20px; } }</style> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> New limited editions every Monday.<br/> Be the first to know. <style> .newsletter-modal-container section.container { border-color: black !important; } .ui-dialog.popmodal .old.mens-womens-signup-container.newsletter-container .content { background: white; } form#newsletter-signup-pop input[type=email] { text-align: center; }</style> </div> </div> <div class="success"> <fieldset class="email"> <div class="success-content"> <div class="for-men"> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> Successo, you’re signed up! </div> <div class="for-women"> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> Successo, you’re signed up! <style>@media (max-width: 370px) { .mens-womens-signup-container { width:320px; } .mens-womens-signup-container input[type=email], .mens-womens-signup-container button[type=submit] { width:100% !important; } }</style> </div> </div> </fieldset> </div> <form id="newsletter-signup-pop" action=""> <fieldset class="email"> <input type="email" name="email" placeholder="Enter your email" /> <span for="dwfrm_login_username_d0yfhwaarcsg" generated="true" class="error">Please enter a valid email address</span> </fieldset> <button type="submit" class="button" value="Submit"> <svg xmlns="http://www.w3.org/2000/svg" width="8.7" height="6" viewBox="0 0 8.7 6"><title>down_chevron</title><path d="M4.4 4.2L0 0v1.8l1.5 1.3L4.4 6l2.9-2.9 1.4-1.3V0z" fill="#8d3a25"/></svg> <span>Sign Up</span> </button> <a href="#" class="swap-newsletter-gender"> <span class="for-women">LOOKING FOR MEN’S SHOES?</span> <span class="for-men">LOOKING FOR WOMEN’S SHOES?</span> </a> </form> </div> </div> </section><!-- end /container --> </div> </script><script> function initModal(settings, requestHandlebars) { // Render handlebars template settings.womensImageSrc = settings.womensImageSrc || 'womensNewsletterPopup.jpg'; settings.mensImageSrc = settings.mensImageSrc || 'mensNewsletterPopup.jpg'; settings.imageAlt = settings.imageAlt || 'M.Gemi Newsletter Image'; settings.startWomensNewsletter = settings.startWomensNewsletter !== undefined ? settings.startWomensNewsletter : (app.page.gender !== 'male'); var deferred = $.Deferred(); requestHandlebars({ templateContent: $('#newsletter-modal-template').html(), context: settings }).done(function(content) { $('.newsletter-modal-container').html(content); toggleNewsletterGender(); if (settings.abTestVariationName) { app.newslettersignup.addModalOpenListener(function() { ga('send', 'event', 'Email Signup', 'prompt AB test', settings.abTestVariationName); }); app.newslettersignup.addModalSubmitListener(function() { ga('send', 'event', 'Email Signup', 'submit AB test', settings.abTestVariationName); }); } deferred.resolve(); }).fail(function() { deferred.reject(); }); return deferred; function toggleNewsletterGender() { // Toggle men's/women's newsletter var $modalContainer = $('.mens-womens-signup-container'); var $genderSwapper = $modalContainer.find('.swap-newsletter-gender'); $genderSwapper.on('click', function(e) { e.preventDefault(); ga("send", "event", "Email Signup", "switch modal gender", $modalContainer.hasClass('for-men') ? 'to women' : 'to men'); $modalContainer.toggleClass('for-men'); $modalContainer.toggleClass('for-women'); }); }; } </script><script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } _fbq.push(['addPixelId', '1379280122373528']); })(); window._fbq = window._fbq || []; window._fbq.push(['track', 'PixelInitialized', {}]); </script><script> __reach_config = { pid: '5627b815736b79f564001f00', reach_tracking: false }; (function(){ var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = document.location.protocol + '//d8rk54i4mohrb.cloudfront.net/js/reach.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(s); })(); </script><script type="text/javascript"> window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{c.console&&console.log(t)}catch(e){}}var o,i=t("ee"),a=t(19),c={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(c.console=!0,o.indexOf("dev")!==-1&&(c.dev=!0),o.indexOf("nr_dev")!==-1&&(c.nrDev=!0))}catch(s){}c.nrDev&&i.on("internal-error",function(t){r(t.stack)}),c.dev&&i.on("fn-err",function(t,e,n){r(n.stack)}),c.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(c,function(t,e){return t}).join(", ")))},{}],2:[function(t,e,n){function r(t,e,n,r,o){try{d?d-=1:i("err",[o||new UncaughtException(t,e,n)])}catch(c){try{i("ierr",[c,s.now(),!0])}catch(u){}}return"function"==typeof f&&f.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function o(t){i("err",[t,s.now()])}var i=t("handle"),a=t(20),c=t("ee"),s=t("loader"),f=window.onerror,u=!1,d=0;s.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(p){"stack"in p&&(t(12),t(11),"addEventListener"in window&&t(6),s.xhrWrappable&&t(13),u=!0)}c.on("fn-start",function(t,e,n){u&&(d+=1)}),c.on("fn-err",function(t,e,n){u&&(this.thrown=!0,o(n))}),c.on("fn-end",function(){u&&!this.thrown&&d>0&&(d-=1)}),c.on("internal-error",function(t){i("ierr",[t,s.now(),!0])})},{}],3:[function(t,e,n){t("loader").features.ins=!0},{}],4:[function(t,e,n){function r(){C++,N=y.hash,this[u]=M.now()}function o(){C--,y.hash!==N&&i(0,!0);var t=M.now();this[l]=~~this[l]+t-this[u],this[d]=t}function i(t,e){x.emit("newURL",[""+y,e])}function a(t,e){t.on(e,function(){this[e]=M.now()})}var c="-start",s="-end",f="-body",u="fn"+c,d="fn"+s,p="cb"+c,h="cb"+s,l="jsTime",m="fetch",v="addEventListener",w=window,y=w.location;if(w[v]){var b=t(9),g=t(10),x=t(8),E=t(6),O=t(12),R=t(7),P=t(13),T=t("ee"),S=T.get("tracer");t(14);var M=t("loader");M.features.spa=!0;var N,j=w[v],C=0;T.on(u,r),T.on(p,r),T.on(d,o),T.on(h,o),T.buffer([u,d,"xhr-done","xhr-resolved"]),E.buffer([u]),O.buffer(["setTimeout"+s,"clearTimeout"+c,u]),P.buffer([u,"new-xhr","send-xhr"+c]),R.buffer([m+c,m+"-done",m+f+c,m+f+s]),x.buffer(["newURL"]),b.buffer([u]),g.buffer(["propagate",p,h,"executor-err","resolve"+c]),S.buffer([u,"no-"+u]),a(P,"send-xhr"+c),a(T,"xhr-resolved"),a(T,"xhr-done"),a(R,m+c),a(R,m+"-done"),x.on("pushState-end",i),x.on("replaceState-end",i),j("hashchange",i,!0),j("load",i,!0),j("popstate",function(){i(0,C>1)},!0)}},{}],5:[function(t,e,n){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(12),c=t(11),s="learResourceTimings",f="addEventListener",u="resourcetimingbufferfull",d="bstResource",p="resource",h="-start",l="-end",m="fn"+h,v="fn"+l,w="bstTimer",y="pushState",b=t("loader");b.features.stn=!0,t(8);var g=NREUM.o.EV;o.on(m,function(t,e){var n=t[0];n instanceof g&&(this.bstStart=b.now())}),o.on(v,function(t,e){var n=t[0];n instanceof g&&i("bst",[n,e,this.bstStart,b.now()])}),a.on(m,function(t,e,n){this.bstStart=b.now(),this.bstType=n}),a.on(v,function(t,e){i(w,[e,this.bstStart,b.now(),this.bstType])}),c.on(m,function(){this.bstStart=b.now()}),c.on(v,function(t,e){i(w,[e,this.bstStart,b.now(),"requestAnimationFrame"])}),o.on(y+h,function(t){this.time=b.now(),this.startPath=location.pathname+location.hash}),o.on(y+l,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),f in window.performance&&(window.performance["c"+s]?window.performance[f](u,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["c"+s]()},!1):window.performance[f]("webkit"+u,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["webkitC"+s]()},!1)),document[f]("scroll",r,{passive:!0}),document[f]("keypress",r,!1),document[f]("click",r,!1)}},{}],6:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){c.inPlace(t,[u,d],"-",i)}function i(t,e){return t[1]}var a=t("ee").get("events"),c=t(22)(a,!0),s=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";e.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,e){var n=t[1],r=s(n,"nr@wrapped",function(){function t(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,"function":n}[typeof n];return e?c(e,"fn-",null,e.name||"anonymous"):n});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],7:[function(t,e,n){function r(t,e,n){var r=t[e];"function"==typeof r&&(t[e]=function(){var t=r.apply(this,arguments);return o.emit(n+"start",arguments,t),t.then(function(e){return o.emit(n+"end",[null,e],t),e},function(e){throw o.emit(n+"end",[e],t),e})})}var o=t("ee").get("fetch"),i=t(19);e.exports=o;var a=window,c="fetch-",s=c+"body-",f=["arrayBuffer","blob","json","text","formData"],u=a.Request,d=a.Response,p=a.fetch,h="prototype";u&&d&&p&&(i(f,function(t,e){r(u[h],e,s),r(d[h],e,s)}),r(a,"fetch",c),o.on(c+"end",function(t,e){var n=this;e?e.clone().arrayBuffer().then(function(t){n.rxSize=t.byteLength,o.emit(c+"done",[null,e],n)}):o.emit(c+"done",[t],n)}))},{}],8:[function(t,e,n){var r=t("ee").get("history"),o=t(22)(r);e.exports=r,o.inPlace(window.history,["pushState","replaceState"],"-")},{}],9:[function(t,e,n){var r=t("ee").get("mutation"),o=t(22)(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],10:[function(t,e,n){function r(t){var e=a.context(),n=c(t,"executor-",e),r=new f(n);return a.context(r).getCtx=function(){return e},a.emit("new-promise",[r,e],e),r}function o(t,e){return e}var i=t(22),a=t("ee").get("promise"),c=i(a),s=t(19),f=NREUM.o.PR;e.exports=a,f&&(window.Promise=r,["all","race"].forEach(function(t){var e=f[t];f[t]=function(n){function r(t){return function(){a.emit("propagate",[null,!o],i),o=o||!t}}var o=!1;s(n,function(e,n){Promise.resolve(n).then(r("all"===t),r(!1))});var i=e.apply(f,arguments),c=f.resolve(i);return c}}),["resolve","reject"].forEach(function(t){var e=f[t];f[t]=function(t){var n=e.apply(f,arguments);return t!==n&&a.emit("propagate",[t,!0],n),n}}),f.prototype["catch"]=function(t){return this.then(null,t)},f.prototype=Object.create(f.prototype,{constructor:{value:r}}),s(Object.getOwnPropertyNames(f),function(t,e){try{r[e]=f[e]}catch(n){}}),a.on("executor-start",function(t){t[0]=c(t[0],"resolve-",this),t[1]=c(t[1],"resolve-",this)}),a.on("executor-err",function(t,e,n){t[1](n)}),c.inPlace(f.prototype,["then"],"then-",o),a.on("then-start",function(t,e){this.promise=e,t[0]=c(t[0],"cb-",this),t[1]=c(t[1],"cb-",this)}),a.on("then-end",function(t,e,n){this.nextPromise=n;var r=this.promise;a.emit("propagate",[r,!0],n)}),a.on("cb-end",function(t,e,n){a.emit("propagate",[n,!0],this.nextPromise)}),a.on("propagate",function(t,e,n){this.getCtx&&!e||(this.getCtx=function(){if(t instanceof Promise)var e=a.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=function(){return""+f})},{}],11:[function(t,e,n){var r=t("ee").get("raf"),o=t(22)(r),i="equestAnimationFrame";e.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],12:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],"fn-",null,n)}function o(t,e,n){this.method=n,this.timerDuration="number"==typeof t[1]?t[1]:0,t[0]=a(t[0],"fn-",this,n)}var i=t("ee").get("timer"),a=t(22)(i),c="setTimeout",s="setInterval",f="clearTimeout",u="-start",d="-";e.exports=i,a.inPlace(window,[c,"setImmediate"],c+d),a.inPlace(window,[s],s+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(s+u,r),i.on(c+u,o)},{}],13:[function(t,e,n){function r(t,e){d.inPlace(e,["onreadystatechange"],"fn-",c)}function o(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,v,"fn-",c)}function i(t){w.push(t),l&&(b=-b,g.data=b)}function a(){for(var t=0;t<w.length;t++)r([],w[t]);w.length&&(w=[])}function c(t,e){return e}function s(t,e){for(var n in t)e[n]=t[n];return e}t(6);var f=t("ee"),u=f.get("xhr"),d=t(22)(u),p=NREUM.o,h=p.XHR,l=p.MO,m="readystatechange",v=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],w=[];e.exports=u;var y=window.XMLHttpRequest=function(t){var e=new h(t);try{u.emit("new-xhr",[e],e),e.addEventListener(m,o,!1)}catch(n){try{u.emit("internal-error",[n])}catch(r){}}return e};if(s(h,y),y.prototype=h.prototype,d.inPlace(y.prototype,["open","send"],"-xhr-",c),u.on("send-xhr-start",function(t,e){r(t,e),i(e)}),u.on("open-xhr-start",r),l){var b=1,g=document.createTextNode(b);new l(a).observe(g,{characterData:!0})}else f.on("fn-end",function(t){t[0]&&t[0].type===m||a()})},{}],14:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<d;r++)t.removeEventListener(u[r],this.listener,!1);if(!e.aborted){if(n.duration=a.now()-this.startTime,4===t.readyState){e.status=t.status;var i=o(t,this.lastSize);if(i&&(n.rxSize=i),this.sameOrigin){var s=t.getResponseHeader("X-NewRelic-App-Data");s&&(e.cat=s.split(", ").pop())}}else e.status=0;n.cbTime=this.cbTime,f.emit("xhr-done",[t],t),c("xhr",[e,n,this.startTime])}}}function o(t,e){var n=t.responseType;if("json"===n&&null!==e)return e;var r="arraybuffer"===n||"blob"===n||"json"===n?t.response:t.responseText;return l(r)}function i(t,e){var n=s(e),r=t.params;r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.sameOrigin=n.sameOrigin}var a=t("loader");if(a.xhrWrappable){var c=t("handle"),s=t(15),f=t("ee"),u=["load","error","abort","timeout"],d=u.length,p=t("id"),h=t(18),l=t(17),m=window.XMLHttpRequest;a.features.xhr=!0,t(13),f.on("new-xhr",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,h&&(h>34||h<10)||window.opera||t.addEventListener("progress",function(t){e.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),f.on("send-xhr-start",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=l(r);i&&(n.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"===t.type&&(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof e.onload))&&o.end(e)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}};for(var c=0;c<d;c++)e.addEventListener(u[c],this.listener,!1)}),f.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),f.on("xhr-load-added",function(t,e){var n=""+p(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,e){var n=""+p(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],e)}),f.on("removeEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],e)}),f.on("fn-start",function(t,e,n){e instanceof m&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,e){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,e],e)})}},{}],15:[function(t,e,n){e.exports=function(t){var e=document.createElement("a"),n=window.location,r={};e.href=t,r.port=e.port;var o=e.href.split("://");!r.port&&o[1]&&(r.port=o[1].split("/")[0].split("@").pop().split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=e.hostname||n.hostname,r.pathname=e.pathname,r.protocol=o[0],"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname);var i=!e.protocol||":"===e.protocol||e.protocol===n.protocol,a=e.hostname===document.domain&&e.port===n.port;return r.sameOrigin=i&&(!e.hostname||a),r}},{}],16:[function(t,e,n){function r(){}function o(t,e,n){return function(){return i(t,[f.now()].concat(c(arguments)),e?null:this,n),e?void 0:this}}var i=t("handle"),a=t(19),c=t(20),s=t("ee").get("tracer"),f=t("loader"),u=NREUM;"undefined"==typeof window.newrelic&&(newrelic=u);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],p="api-",h=p+"ixn-";a(d,function(t,e){u[e]=o(p+e,!0,"api")}),u.addPageAction=o(p+"addPageAction",!0),u.setCurrentRouteName=o(p+"routeName",!0),e.exports=newrelic,u.interaction=function(){return(new r).get()};var l=r.prototype={createTracer:function(t,e){var n={},r=this,o="function"==typeof e;return i(h+"tracer",[f.now(),t,n],r),function(){if(s.emit((o?"":"no-")+"fn-start",[f.now(),r,o],n),o)try{return e.apply(this,arguments)}finally{s.emit("fn-end",[f.now()],n)}}}};a("setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){l[e]=o(h+e)}),newrelic.noticeError=function(t){"string"==typeof t&&(t=new Error(t)),i("err",[t,f.now()])}},{}],17:[function(t,e,n){e.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],18:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),e.exports=r},{}],19:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],20:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=r},{}],21:[function(t,e,n){e.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],22:[function(t,e,n){function r(t){return!(t&&t instanceof Function&&t.apply&&!t[a])}var o=t("ee"),i=t(20),a="nr@original",c=Object.prototype.hasOwnProperty,s=!1;e.exports=function(t,e){function n(t,e,n,o){function nrWrapper(){var r,a,c,s;try{a=this,r=i(arguments),c="function"==typeof n?n(r,a):n||{}}catch(f){p([f,"",[r,a,o],c])}u(e+"start",[r,a,o],c);try{return s=t.apply(a,r)}catch(d){throw u(e+"err",[r,a,d],c),d}finally{u(e+"end",[r,a,s],c)}}return r(t)?t:(e||(e=""),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,e,o,i){o||(o="");var a,c,s,f="-"===o.charAt(0);for(s=0;s<e.length;s++)c=e[s],a=t[c],r(a)||(t[c]=n(a,f?c+o:o,i,c))}function u(n,r,o){if(!s||e){var i=s;s=!0;try{t.emit(n,r,o,e)}catch(a){p([a,n,r,o])}s=i}}function d(t,e){if(Object.defineProperty&&Object.keys)try{var n=Object.keys(t);return n.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(r){p([r])}for(var o in t)c.call(t,o)&&(e[o]=t[o]);return e}function p(e){try{t.emit("internal-error",e)}catch(n){}}return t||(t=o),n.inPlace=f,n.flag=a,n}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?s(t,c,i):i()}function n(n,r,o,i){if(!p.aborted||i){t&&t(n,r,o);for(var a=e(o),c=l(n),s=c.length,f=0;f<s;f++)c[f].apply(a,r);var d=u[y[n]];return d&&d.push([b,n,r,a]),a}}function h(t,e){w[t]=l(t).concat(e)}function l(t){return w[t]||[]}function m(t){return d[t]=d[t]||o(n)}function v(t,e){f(t,function(t,n){e=e||"feature",y[n]=e,e in u||(u[e]=[])})}var w={},y={},b={on:h,emit:n,get:m,listeners:l,context:e,buffer:v,abort:a,aborted:!1};return b}function i(){return new r}function a(){(u.api||u.feature)&&(p.aborted=!0,u=p.backlog={})}var c="nr@context",s=t("gos"),f=t(19),u={},d={},p=e.exports=o();p.backlog=u},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t("ee").get("handle");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!x++){var t=g.info=NREUM.info,e=p.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return u.abort();f(y,function(e,n){t[e]||(t[e]=n)}),s("mark",["onload",a()+g.offset],null,"api");var n=p.createElement("script");n.src="https://"+t.agent,e.parentNode.insertBefore(n,e)}}function o(){"complete"===p.readyState&&i()}function i(){s("mark",["domContent",a()+g.offset],null,"api")}function a(){return E.exists&&performance.now?Math.round(performance.now()):(c=Math.max((new Date).getTime(),c))-g.offset}var c=(new Date).getTime(),s=t("handle"),f=t(19),u=t("ee"),d=window,p=d.document,h="addEventListener",l="attachEvent",m=d.XMLHttpRequest,v=m&&m.prototype;NREUM.o={ST:setTimeout,CT:clearTimeout,XHR:m,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var w=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-spa-1026.min.js"},b=m&&v&&v[h]&&!/CriOS/.test(navigator.userAgent),g=e.exports={offset:c,now:a,origin:w,features:{},xhrWrappable:b};t(16),p[h]?(p[h]("DOMContentLoaded",i,!1),d[h]("load",r,!1)):(p[l]("onreadystatechange",o),d[l]("onload",r)),s("mark",["firstbyte",c],null,"api");var x=0,E=t(21)},{}]},{},["loader",2,14,5,3,4]); ;NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"148b715503",applicationID:"10357565",sa:1} </script><script> // NaN_api = [[app_id, user_id], [type, name, value, extra]]; if (typeof NaN_api === 'undefined' || NaN_api === null) { NaN_api = [ [375942, app.user.custNo] ]; } </script><script type="text/javascript"> (function(app){ app.constants = {"AVAIL_STATUS_IN_STOCK":"IN_STOCK","AVAIL_STATUS_PREORDER":"PREORDER","AVAIL_STATUS_BACKORDER":"BACKORDER","AVAIL_STATUS_NOT_AVAILABLE":"NOT_AVAILABLE","PI_METHOD_GIFT_CERTIFICATE":"GIFT_CERTIFICATE","FACEBOOK_APP_ID":"292983597568491"}; app.resources = {"SHIP_QualifiesFor":"This shipment qualifies for","CC_LOAD_ERROR":"Couldn't load credit card!","REG_ADDR_ERROR":"Couldn't Load Address","BONUS_PRODUCT":"Bonus Product","BONUS_PRODUCTS":"Bonus Product(s)","SELECT_BONUS_PRODUCTS":"Select {0} Bonus Product(s)","SELECT_BONUS_PRODUCT":"Select","BONUS_PRODUCT_MAX":"The maximum number of bonus products have been selected. Please remove one in order to add additional bonus products.","SIMPLE_SEARCH":"Enter Keyword or Item #","SUBSCRIBE_EMAIL_DEFAULT":"Email Address","CURRENCY_SYMBOL":"$","MISSINGVAL":"Please Enter {0}","SERVER_ERROR":"Server connection failed!","MISSING_LIB":"jQuery is undefined.","BAD_RESPONSE":"Bad response, Parser error","INVALID_PHONE":"Please specify a valid phone number.","INVALID_POSTAL":"Please specify a valid postal code.","INVALID_EMAIL":"This doesn't appear to be an email address.","REMOVE":"Remove","QTY":"Qty","EMPTY_IMG_ALT":"Remove","COMPARE_BUTTON_LABEL":"Compare Items","COMPARE_CONFIRMATION":"This will remove the first product added to compare. Is that OK?","COMPARE_REMOVE_FAIL":"Unable to remove item from list","COMPARE_ADD_FAIL":"Unable to add item to list","ADD_TO_CART_FAIL":"Unable to add item '{0}' to your bag","REGISTRY_SEARCH_ADVANCED_CLOSE":"Close Advanced Search","GIFT_CERT_INVALID":"Invalid Gift Card Information","GIFT_CERT_BALANCE":"Your current gift certificate balance is ","GIFT_CERT_AMOUNT_INVALID":"Gift Certificate can only be purchased with a minimum of $5 and maximum of $5000","GIFT_CERT_MISSING":"Please enter your gift card number.","GIFT_CERT_PIN_MISSING":"Please enter a gift certificate PIN.","COUPON_CODE_MISSING":"Please Enter a Promotional Code.","COOKIES_DISABLED":"Your browser currently is not set to accept Cookies. Please turn it on or check if you have another program set to block cookies.","BML_AGREE_TO_TERMS":"You need to agree to the terms and conditions by activating this checkbox.","CHAR_LIMIT_MSG":"You have {0} characters left out of {1}","CONFIRM_DELETE":"Do you want to remove this {0}?","TITLE_GIFTREGISTRY":"gift registry","TITLE_ADDRESS":"address","TITLE_CREDITCARD":"credit card","SERVER_CONNECTION_ERROR":"Server connection failed!","IN_STOCK_DATE":"The expected in-stock date is {0}.","INIFINITESCROLL":"Show All","STORE_NEAR_YOU":"What's available at a store near you","SELECT_STORE":"Select Store","SELECTED_STORE":"Selected Store","PREFERRED_STORE":"Preferred Store","SET_PREFERRED_STORE":"Set Preferred Store","ENTER_ZIP":"Enter Zip Code","INVALID_ZIP":"Please enter a valid Zip Code","SEARCH":"Search","CHANGE_LOCATION":"Change Location","CONTINUE_WITH_STORE":"Continue with preferred store","CONTINUE":"Continue","SEE_MORE":"See More Stores","SEE_LESS":"See Less Stores","ADDTOCART":"Add to My Bag","DISABLEDCARTMESSAGE":"Please select size/color","DISABLEDGCCARTMESSAGE":"Please select an amount","VARIATIONLIMITMESSAGE":"Sorry, you are limited to purchase up to 2 pairs of the same shoe in the same color.","SHARE_MESSAGE":"Shop M.Gemi","JOINWAITLIST":"Join the Wait List","CONFIRMWAITLIST":"Thank you","WAITLISTED":"Waitlisted","THANK_YOU":"Successo!","SITE_LOCALE":"default","AMPLIENCE_CDN":"https://cdn-media.amplience.com/mgemi/","IN_STOCK":"In Stock","QTY_IN_STOCK":"{0} Item(s) In Stock","PREORDER":"Pre-Order","QTY_PREORDER":"{0} item(s) are available for pre-order.","REMAIN_PREORDER":"The remaining items are available for pre-order.","BACKORDER":"Back Order","QTY_BACKORDER":"Back Order {0} item(s)","REMAIN_BACKORDER":"The remaining items are available on back order.","NOT_AVAILABLE":"This item is currently not available.","REMAIN_NOT_AVAILABLE":"The remaining items are currently not available. Please adjust the quantity."}; app.urls = {"appResources":"/on/demandware.store/Sites-mgemi-Site/default/Resources-Load","pageInclude":"/on/demandware.store/Sites-mgemi-Site/default/Page-Include","continueUrl":"http://mgemi.com/search/?dwcont=C1935898997","staticPath":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/","addGiftCert":"/e-gift-card/","minicartGC":"/on/demandware.store/Sites-mgemi-Site/default/GiftCert-ShowMiniCart","addProduct":"/on/demandware.store/Sites-mgemi-Site/default/Cart-AddProduct","minicart":"/on/demandware.store/Sites-mgemi-Site/default/Cart-MiniAddProduct","cartShow":"/cart/","giftRegAdd":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Address-GetAddressDetails?addressID=","paymentsList":"https://mgemi.com/wallet/","addressesList":"https://mgemi.com/addressbook/","wishlistAddress":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Wishlist-SetShippingAddress","deleteAddress":"/on/demandware.store/Sites-mgemi-Site/default/Address-Delete","getProductUrl":"/on/demandware.store/Sites-mgemi-Site/default/Product-Show","getBonusProducts":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetBonusProducts","addBonusProduct":"/on/demandware.store/Sites-mgemi-Site/default/Cart-AddBonusProduct","getSetItem":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetSetItem","productDetail":"/on/demandware.store/Sites-mgemi-Site/default/Product-Detail","getAvailability":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetAvailability","removeImg":"/on/demandware.static/Sites-mgemi-Site/-/default/dwc8e53f09/images/interface/icon_remove.gif","searchsuggest":"/on/demandware.store/Sites-mgemi-Site/default/Search-GetSuggestions","productNav":"/on/demandware.store/Sites-mgemi-Site/default/Product-Productnav","summaryRefreshURL":"/on/demandware.store/Sites-mgemi-Site/default/COBilling-UpdateSummary","billingSelectCC":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-SelectCreditCard","updateAddressDetails":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-UpdateAddressDetails","updateAddressDetailsBilling":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-UpdateAddressDetails","shippingMethodsJSON":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-GetApplicableShippingMethodsJSON","shippingMethodsList":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-UpdateShippingMethodList","selectShippingMethodsList":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-SelectShippingMethod","resetPaymentForms":"/on/demandware.store/Sites-mgemi-Site/default/COBilling-ResetPaymentForms","compareShow":"/on/demandware.store/Sites-mgemi-Site/default/Compare-Show","compareAdd":"/on/demandware.store/Sites-mgemi-Site/default/Compare-AddProduct","compareRemove":"/on/demandware.store/Sites-mgemi-Site/default/Compare-RemoveProduct","compareEmptyImage":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/images/comparewidgetempty.png","giftCardCheckBalance":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-GetGiftCertificateBalance","addCoupon":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Cart-AddCoupon","powerReviewsFullJs":"/on/demandware.static/-/Sites-mgemi-storefront-catalog-us/default/v1516341694440/pwr/engine/js/full.js","powerReviewsZip":"/on/demandware.static/-/Sites-mgemi-storefront-catalog-us/default/v1516341694440","storeLocatorPage":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Find","storesInventory":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Inventory","storesLookup":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Lookup","setPreferredStore":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-SetPreferredStore","getPreferredStore":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-GetPreferredStore","setZipCode":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-SetZipCode","getZipCode":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-GetZipCode","billing":"/billing/","currencyConverter":"/on/demandware.store/Sites-mgemi-Site/default/Currency-SetSessionCurrency","productMasterJSON":"/on/demandware.store/Sites-mgemi-Site/default/Product-DetailJSON","productVariationJSON":"/on/demandware.store/Sites-mgemi-Site/default/Product-VariationJSON","productZoom":"/on/demandware.store/Sites-mgemi-Site/default/Product-Zoom","productDayNight":"/on/demandware.store/Sites-mgemi-Site/default/Product-DayNight","waitlist":"/on/demandware.store/Sites-mgemi-Site/default/Product-Waitlist","accountShow":"https://mgemi.com/account/","lookupPostal":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/USPS-Lookup","getProductVariantImages":"/on/demandware.store/Sites-mgemi-Site/default/ProductImages-GetVariantImages","getReferralData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetPhaseOneReferralData","getAnniversaryReferralData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetAnniversaryReferralData","getMensPreLaunchRefData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetMensPreLaunchReferralData","referralSignup":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-ReferralSignup","postIterableEvent":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-PostEvent","getSvg":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Svg-Get","addToNewsletter":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-AddToNewsletter","removeFromNewsletter":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-RemoveFromNewsletter","default":"/on/demandware.store/Sites-mgemi-Site/default","smoochScript":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/vendor/rep.js","renderSubscriptionPreferenceCenterModal":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/SubscriptionPreferenceCenter-RenderModal","toggleSubscriptionsFromOptOutModal":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/OptOutSurvey-ToggleSubscriptionsFromModal","handlebarsRender":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Handlebars-Render"}; app.clientcache = {"LISTING_INFINITE_SCROLL":true,"LISTING_REFINE_SORT":true,"LISTING_SEARCHSUGGEST_LEGACY":false}; app.instanceSettings = {"enableNewsletterPopup":true,"amplienceImageUrl":"//i1.adis.ws/i/mgemi/"}; app.user = app.user || {}; app.queryParams = {"cgid":"women"}; var userSettings = {"zip":null,"storeId":null}; for(var userSetting in userSettings) { app.user[userSetting] = userSettings[userSetting]; } app.enabledStorePickup = false; app.settings.put({}); }(window.app = window.app || {}));</script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/lib/media.match.min.js" type="text/javascript"></script><script src="//connect.facebook.net/en_US/all.js"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/js/unified-min.js"></script><script>app.page.setContext({"title":"Storefront","type":"storefront","ns":"storefront"});</script><script> var meta = "Handmade Italian Leather Shoes, made in Italy the old way and sold the new way. Fast, free shipping and returns."; var keywords = ""; </script><script> // dimension value is "mens" if user visited mens page, "womens" if user visited womens page, // "mixed" if user visited both mens and womens pages, and "unattributed" otherwise var dimensionValue = 'unattributed'; if(app.user.visitedMalePage && app.user.visitedFemalePage) { dimensionValue = 'mixed'; } else if(app.user.visitedMalePage) { dimensionValue = 'mens'; } else if(app.user.visitedFemalePage) { dimensionValue = 'womens'; } ga('set', 'dimension13', dimensionValue); </script><script> ga('set', 'dimension14', window.innerWidth + ',' + window.innerHeight); </script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/js/browserDetection.js"></script><script type="text/javascript">//<!-- /* <![CDATA[ */ function trackPage() { try{ var trackingUrl = "http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/__Analytics-Tracking"; var dwAnalytics = dw.__dwAnalytics.getTracker(trackingUrl); if (typeof dw.ac == "undefined") { dwAnalytics.trackPageView(); } else { dw.ac.setDWAnalytics(dwAnalytics); } }catch(err) {}; } /* ]]> */ // --> </script><script type="text/javascript" src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/internal/jscript/dwanalytics-16.9.js" async="async" onload="trackPage()"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516341694440/internal/jscript/dwac-16.9.js" type="text/javascript" async="async"></script><script src="https://cdn.cquotient.com/js/v2/gretel.min.js" type="text/javascript" async="async"></script><script> var styles = [ 'background: #fff url("http://tools.mgemi.com/images/secondary_logo.png") 0 0 no-repeat;' , 'color: #29292a' , 'display: block' , 'text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3)' , 'background-size: 26px' , 'padding:10px 20px' , 'line-height: 33px' , 'text-align: center' , 'font-weight: bold' ].join(';'); console.log("%c Ciao! Clearly, you're someone who sweats the details. We love that! Come join our engineering team! Email us : careers@mgemi.com", styles); </script><script> /*! lazysizes - v4.0.0-rc1 */ !function(a,b){var c=b(a,a.document);a.lazySizes=c,"object"==typeof module&&module.exports&&(module.exports=c)}(window,function(a,b){"use strict";if(b.getElementsByClassName){var c,d,e=b.documentElement,f=a.Date,g=a.HTMLPictureElement,h="addEventListener",i="getAttribute",j=a[h],k=a.setTimeout,l=a.requestAnimationFrame||k,m=a.requestIdleCallback,n=/^picture$/i,o=["load","error","lazyincluded","_lazyloaded"],p={},q=Array.prototype.forEach,r=function(a,b){return p[b]||(p[b]=new RegExp("(\\s|^)"+b+"(\\s|$)")),p[b].test(a[i]("class")||"")&&p[b]},s=function(a,b){r(a,b)||a.setAttribute("class",(a[i]("class")||"").trim()+" "+b)},t=function(a,b){var c;(c=r(a,b))&&a.setAttribute("class",(a[i]("class")||"").replace(c," "))},u=function(a,b,c){var d=c?h:"removeEventListener";c&&u(a,b),o.forEach(function(c){a[d](c,b)})},v=function(a,d,e,f,g){var h=b.createEvent("CustomEvent");return e||(e={}),e.instance=c,h.initCustomEvent(d,!f,!g,e),a.dispatchEvent(h),h},w=function(b,c){var e;!g&&(e=a.picturefill||d.pf)?e({reevaluate:!0,elements:[b]}):c&&c.src&&(b.src=c.src)},x=function(a,b){return(getComputedStyle(a,null)||{})[b]},y=function(a,b,c){for(c=c||a.offsetWidth;c<d.minSize&&b&&!a._lazysizesWidth;)c=b.offsetWidth,b=b.parentNode;return c},z=function(){var a,c,d=[],e=[],f=d,g=function(){var b=f;for(f=d.length?e:d,a=!0,c=!1;b.length;)b.shift()();a=!1},h=function(d,e){a&&!e?d.apply(this,arguments):(f.push(d),c||(c=!0,(b.hidden?k:l)(g)))};return h._lsFlush=g,h}(),A=function(a,b){return b?function(){z(a)}:function(){var b=this,c=arguments;z(function(){a.apply(b,c)})}},B=function(a){var b,c=0,d=125,e=666,g=e,h=function(){b=!1,c=f.now(),a()},i=m?function(){m(h,{timeout:g}),g!==e&&(g=e)}:A(function(){k(h)},!0);return function(a){var e;(a=a===!0)&&(g=44),b||(b=!0,e=d-(f.now()-c),0>e&&(e=0),a||9>e&&m?i():k(i,e))}},C=function(a){var b,c,d=99,e=function(){b=null,a()},g=function(){var a=f.now()-c;d>a?k(g,d-a):(m||e)(e)};return function(){c=f.now(),b||(b=k(g,d))}},D=function(){var c,g,l,m,o,p,y,D,F,G,H,I,J,K,L,M=/^img$/i,N=/^iframe$/i,O="onscroll"in a&&!/glebot/.test(navigator.userAgent),P=0,Q=0,R=0,S=-1,T=function(a){R--,a&&a.target&&u(a.target,T),(!a||0>R||!a.target)&&(R=0)},U=function(a,c){var d,f=a,g="hidden"==x(b.body,"visibility")||"hidden"!=x(a,"visibility");for(F-=c,I+=c,G-=c,H+=c;g&&(f=f.offsetParent)&&f!=b.body&&f!=e;)g=(x(f,"opacity")||1)>0,g&&"visible"!=x(f,"overflow")&&(d=f.getBoundingClientRect(),g=H>d.left&&G<d.right&&I>d.top-1&&F<d.bottom+1);return g},V=function(){var a,f,h,j,k,m,n,p,q;if((o=d.loadMode)&&8>R&&(a=c.length)){f=0,S++,null==K&&("expand"in d||(d.expand=e.clientHeight>500&&e.clientWidth>500?500:370),J=d.expand,K=J*d.expFactor),K>Q&&1>R&&S>2&&o>2&&!b.hidden?(Q=K,S=0):Q=o>1&&S>1&&6>R?J:P;for(;a>f;f++)if(c[f]&&!c[f]._lazyRace)if(O)if((p=c[f][i]("data-expand"))&&(m=1*p)||(m=Q),q!==m&&(y=innerWidth+m*L,D=innerHeight+m,n=-1*m,q=m),h=c[f].getBoundingClientRect(),(I=h.bottom)>=n&&(F=h.top)<=D&&(H=h.right)>=n*L&&(G=h.left)<=y&&(I||H||G||F)&&(d.loadHidden||"hidden"!=x(c[f],"visibility"))&&(l&&3>R&&!p&&(3>o||4>S)||U(c[f],m))){if(ba(c[f]),k=!0,R>9)break}else!k&&l&&!j&&4>R&&4>S&&o>2&&(g[0]||d.preloadAfterLoad)&&(g[0]||!p&&(I||H||G||F||"auto"!=c[f][i](d.sizesAttr)))&&(j=g[0]||c[f]);else ba(c[f]);j&&!k&&ba(j)}},W=B(V),X=function(a){s(a.target,d.loadedClass),t(a.target,d.loadingClass),u(a.target,Z),v(a.target,"lazyloaded")},Y=A(X),Z=function(a){Y({target:a.target})},$=function(a,b){try{a.contentWindow.location.replace(b)}catch(c){a.src=b}},_=function(a){var b,c=a[i](d.srcsetAttr);(b=d.customMedia[a[i]("data-media")||a[i]("media")])&&a.setAttribute("media",b),c&&a.setAttribute("srcset",c)},aa=A(function(a,b,c,e,f){var g,h,j,l,o,p;(o=v(a,"lazybeforeunveil",b)).defaultPrevented||(e&&(c?s(a,d.autosizesClass):a.setAttribute("sizes",e)),h=a[i](d.srcsetAttr),g=a[i](d.srcAttr),f&&(j=a.parentNode,l=j&&n.test(j.nodeName||"")),p=b.firesLoad||"src"in a&&(h||g||l),o={target:a},p&&(u(a,T,!0),clearTimeout(m),m=k(T,2500),s(a,d.loadingClass),u(a,Z,!0)),l&&q.call(j.getElementsByTagName("source"),_),h?a.setAttribute("srcset",h):g&&!l&&(N.test(a.nodeName)?$(a,g):a.src=g),f&&(h||l)&&w(a,{src:g})),a._lazyRace&&delete a._lazyRace,t(a,d.lazyClass),z(function(){(!p||a.complete&&a.naturalWidth>1)&&(p?T(o):R--,X(o))},!0)}),ba=function(a){var b,c=M.test(a.nodeName),e=c&&(a[i](d.sizesAttr)||a[i]("sizes")),f="auto"==e;(!f&&l||!c||!a[i]("src")&&!a.srcset||a.complete||r(a,d.errorClass))&&(b=v(a,"lazyunveilread").detail,f&&E.updateElem(a,!0,a.offsetWidth),a._lazyRace=!0,R++,aa(a,b,f,e,c))},ca=function(){if(!l){if(f.now()-p<999)return void k(ca,999);var a=C(function(){d.loadMode=3,W()});l=!0,d.loadMode=3,W(),j("scroll",function(){3==d.loadMode&&(d.loadMode=2),a()},!0)}};return{_:function(){p=f.now(),c=b.getElementsByClassName(d.lazyClass),g=b.getElementsByClassName(d.lazyClass+" "+d.preloadClass),L=d.hFac,j("scroll",W,!0),j("resize",W,!0),a.MutationObserver?new MutationObserver(W).observe(e,{childList:!0,subtree:!0,attributes:!0}):(e[h]("DOMNodeInserted",W,!0),e[h]("DOMAttrModified",W,!0),setInterval(W,999)),j("hashchange",W,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(a){b[h](a,W,!0)}),/d$|^c/.test(b.readyState)?ca():(j("load",ca),b[h]("DOMContentLoaded",W),k(ca,2e4)),c.length?(V(),z._lsFlush()):W()},checkElems:W,unveil:ba}}(),E=function(){var a,c=A(function(a,b,c,d){var e,f,g;if(a._lazysizesWidth=d,d+="px",a.setAttribute("sizes",d),n.test(b.nodeName||""))for(e=b.getElementsByTagName("source"),f=0,g=e.length;g>f;f++)e[f].setAttribute("sizes",d);c.detail.dataAttr||w(a,c.detail)}),e=function(a,b,d){var e,f=a.parentNode;f&&(d=y(a,f,d),e=v(a,"lazybeforesizes",{width:d,dataAttr:!!b}),e.defaultPrevented||(d=e.detail.width,d&&d!==a._lazysizesWidth&&c(a,f,e,d)))},f=function(){var b,c=a.length;if(c)for(b=0;c>b;b++)e(a[b])},g=C(f);return{_:function(){a=b.getElementsByClassName(d.autosizesClass),j("resize",g)},checkElems:g,updateElem:e}}(),F=function(){F.i||(F.i=!0,E._(),D._())};return function(){var b,c={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0};d=a.lazySizesConfig||a.lazysizesConfig||{};for(b in c)b in d||(d[b]=c[b]);a.lazySizesConfig=d,k(function(){d.init&&F()})}(),c={cfg:d,autoSizer:E,loader:D,init:F,uP:w,aC:s,rC:t,hC:r,fire:v,gW:y,rAF:z}}}); </script><script src="//code.jquery.com/jquery-1.7.1.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js" type="text/javascript"></script><script>var app={};</script><script> app.isProduction = true; app.isStaging = false; app.isDevelopment = false; </script><script> // Contains page data app.page = app.page || {}; app.page.gender = "male"; app.page.id = "mens-shoes"; app.page.isProduct = false; app.page.isCategory = true; app.page.isContent = false; app.page.isCustom = false; app.page.productCategories = []; app.page.customAttrs = {}; // Attributes specific to other templates can be added here // Add vendor specific data to this object window.vendorSupport = {}; </script><script> app.util = app.util || {}; /* * http://youmightnotneedjquery.com/#ready * We should probably look for other isml files that contain $('document').ready(function(){}); and $(function(){}) * and replace it with a non-jquery solution */ app.util.ready = function(fn) { if (document.readyState != 'loading'){ fn(); } else if (document.addEventListener) { document.addEventListener('DOMContentLoaded', fn); } else { document.attachEvent('onreadystatechange', function() { if (document.readyState != 'loading') fn(); }); } } </script><script> (function(app) { // Event Manager class function EventManager() { this.events = {}; } // Fire callback once. If event has alrady been triggered, fire immediately EventManager.prototype.once = function (event, callback) { if (typeof event === 'string' && typeof callback === 'function') { this._initEvent(event); if (this.events[event].triggered) { callback.apply(null, this.events[event].data); } else { this.events[event].onceCallbacks.push(callback); } } return this; } EventManager.prototype._initEvent = function (event) { if (event in this.events) return; this.events[event] = { onCallbacks: [], onceCallbacks: [], triggered: false, data: null }; }; EventManager.prototype.on = function (event, callback) { if (typeof event === 'string' && typeof callback === 'function') { this._initEvent(event); this.events[event].onCallbacks.push(callback); } return this; }; EventManager.prototype.trigger = function (event, data) { this._initEvent(event); this.events[event].onCallbacks.forEach(function (callback) { callback.apply(null, data); }); if (!this.events[event].triggered) { this.events[event].onceCallbacks.forEach(function (callback) { callback.apply(null, data); }); this.events[event].triggered = true; this.events[event].data = data; } }; // Have event managers for each atomic design level var global = new EventManager(); app.events = { EventManager: EventManager, pdp: new EventManager(), trigger: function trigger(event, data) { global.trigger(event, data); }, on: function on(event, callback) { return global.on(event, callback); }, once: function (event, callback) { return global.once(event, callback); } }; })(window.app = window.app || {}); </script><script> (function(app) { app.cookie = { setCookie: function (c_name, value, exdays) { setCookie(c_name, value, exdays); }, getCookie: function (c_name) { return getCookie(c_name); } }; function setCookie(c_name, value, exdays) { var exdate = new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value = escape(value) + ((exdays === null) ? "" : "; expires=" + exdate.toUTCString()) + ";domain=" + window.location.host + ";path=/"; document.cookie = c_name + "=" + c_value; } function getCookie(c_name) { var c_value = document.cookie, c_start = c_value.indexOf(" " + c_name + "="), c_end; if (c_start == -1) { c_start = c_value.indexOf(c_name + "="); } if (c_start == -1) { c_value = null; } else { c_start = c_value.indexOf("=", c_start) + 1; c_end = c_value.indexOf(";", c_start); if (c_end == -1) { c_end = c_value.length; } c_value = unescape(c_value.substring(c_start, c_end)); } return c_value; } })(window.app = window.app || {}); </script><script> // Contains user data app.user = app.user || {}; app.user.custNo = ""; app.user.visitedMalePage = true; app.user.visitedFemalePage = false; app.user.isAnonymous = true; app.user.email = ""; app.user.firstName = ""; app.user.lastName = ""; app.user.smoochUserId = "WlJBNWY0dEI1clVnOTBUQmpzM0hlY2RoelBYQWk0aFUwOUE9MTUxNjQ1Mzc1NjE2MQ=="; app.user.smoochJwt = ""; app.user.gaClientId = null; app.user.sessionId = "ZRA5f4tB5rUg90TBjs3HecdhzPXAi4hU09A="; // Use this for general settings you need in your scripts app.settings = (function() { var settings = {}; return { put: function() { if(arguments.length == 2) { var key = arguments[0]; var value = arguments[1]; settings[key] = value; } else { var keyValuePairs = arguments[0]; for(var key in keyValuePairs) { settings[key] = keyValuePairs[key]; } } }, get: function(key, defaultValue) { return typeof(settings[key]) !== 'undefined' ? settings[key] : defaultValue; }, getKeys: function() { return Object.keys(settings); } }; })(); </script><script>app.settings.put('canLiveChat', false);</script><script> (function(app) { app.enabledFeatureFlags = ["newMerchStrat","smooch","inspectlet","mensForAll","talkable","showPiRecommendations","iterableVerboseLogging","returns","exchanges"]; })(window.app = window.app || {}); </script><script>app.sourceCode = null;</script><script> app.cartState = {}; </script><script> app.user.partialUserAuth = { em: "", fn: "", ph: "" }; </script><script> "use strict"; /* Payload Descriptor */ //UNIX timestamp //Visitor UUID //Event Class: Web/iOS/Backend //Event : PageView, AddToBag, Logout //Event Body : data {} //PageView // Use ClickStreamObject here: (function() { $(function(){ var body = document.body; $(window).on('mgemiPDPRender', function(ev, pid, productData) { // TODO: Currently this event is not being fired by gift card pages. Gift card pages // are pretty different from other PDPs and they don't expose the same data. Some parts // of the gift card PDPs need to be refactored so that they're more like the other PDPs. if (!productData.variantInfo) { return; } else { var pdpData = { "remote_address": "40.77.167.105", "host": "mgemi.com", "master_id": productData.masterID, "variant_id": productData.variantInfo.id, "upc": (productData.ID === productData.masterID) ? null : productData.ID, "price": parseInt(productData.price.sale.replace('$', '')), "in_stock": productData.inStock, "available": productData.masterIsSellable && productData.online && productData.inStock, "timestamp_client": Date.now(), "name": productData.name, "custom": { "details": productData.details, "edition": productData.edition, "forced_soldout": productData.forcedSoldout, "is_expired": (productData.isExpired === "yes") ? true : false, "color_code": productData.variantInfo.colorCode, "color_name": productData.variantInfo.colorName, "variation_attributes": _.map(productData.variationAttributes, function (current, ind, original) { return _.assign(current, { values: _.map(current.values, function (curr, x, orig) { return _.omit(curr, ['addToBagClass', 'addToBagText', 'displayValue', 'displayValueRaw', 'swatchClass']); }) }); }) } }; } firePixel('PDPView', pdpData); }); function fireFitPixel(specificdata){ specificdata = specificdata || {}; firePixel('CustomEvent', { "type" : 'FitFinder', "custom" : specificdata, "remote_address": "40.77.167.105", "host": "mgemi.com" }); } $(body).on('fit-assistant-modal-answer-modal-actively-closed', function(){ var data = {}; fireFitPixel({ 'event' : 'fit-assistant-modal-answer-modal-actively-closed' }); }); $(body).on('open-fit-assistant-modal', function(){ var data = {}; fireFitPixel({ 'event' : 'open-fit-assistant-modal' }); }); $(body).on('fit-assistant-modal-step-1', function(e, size){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-1', 'size': size }); }); $(body).on('fit-assistant-modal-step-2', function(e, width){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-2', 'width': width }); }); $(body).on('fit-assistant-modal-step-3', function(e, closet){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-3', 'closet-owned': closet }); }); $(body).on('fit-assistant-modal-shop-this-size', function(size){ fireFitPixel({ 'event': 'fit-assistant-modal-shop-this-size', 'size': size }); }); $(window).on('mgemiCheckoutStep', function (ev, checkoutStep, cartData) { firePixel('CheckoutStep', { "remote_address": "40.77.167.105", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516453756089, "checkout_step": checkoutStep, "cart": cartData }); }); $(window).on('mgemiConfirmationLoad', function (ev, order) { firePixel('CheckoutStep', { "remote_address": "40.77.167.105", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516453756089, "checkout_step": 'confirmation', "cart": order.lineItems.map(function (i) { return { "upc": i.sku, "name": i.name, "quantity": i.qty } }), "order_number": order.orderNo }) }); $(window).on('mgemiPDPAddCartClick', function (ev, pid) { firePixel('AddToCart', { "remote_address": "40.77.167.105", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516453756089, "upc": pid, "quantity": 1, "source": "mgemiPDPAddCartClick" }); }) app.events.once('userLogin', function (email) { firePixel('AuthEvent', { email: email, method: 'login', remote_address: "40.77.167.105", host: "mgemi.com" }); }); app.events.once('userLogout', function (email) { firePixel('AuthEvent', { email: email, method: 'logout', remote_address: "40.77.167.105", host: "mgemi.com" }); }); $('document').ready(function (e) { var event = {}; var clickStream = { "remote_address": "40.77.167.105", "host": "mgemi.com", "locale": "en_US", "path": "/on/demandware.store/Sites-mgemi-Site/default/Search-Show", "query_string": "cgid=mens-shoes", "url": window.location.href, "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "timestamp_server":1516453756089, "timestamp_client": Date.now(), "referrer": document.referrer, "custom": { "pipeline_name": "Search-Show", "internal_url": "/on/demandware.store/Sites-mgemi-Site/default/Search-Show?cgid=mens-shoes" } } //holding off on this part. //TODO : make clickStream['referer'] = '' work; event = clickStream; firePixel('PageView', event); }); }); app.events.on('exchangeStepChange', function (data) { let orderProducts = _.get(data.order, 'products') firePixel('CustomEvent', { type: 'Exchanges', remote_address: "40.77.167.105", host: "mgemi.com", custom: { customerEmail: _.get(data.order, 'customer.email'), action: data.action, step: data.screen, orderNo: _.get(data.order, 'orderNo'), returnSku: _.get(data.order, 'products.' + data.returnProductIndex + '.sku'), reason: data.reason, exchangeSku: _.get(data.exchange, 'selectedVariation.id'), validationError: data.validationError, page: data.flow } }); }); function firePixel(eventId, data) { // Can send pixels in dev environments because facebook separates them // Some enhancement to var tryFirePixelInterval = setInterval(tryFirePixel, 2500); tryFirePixel() function tryFirePixel() { var uuid = app.cookie.getCookie('__cq_uuid'); if (uuid == null) { // The uuid is not present yet. It comes from cquotient external library. console.debug("Note: uuid is not present. Delaying sent of launchPixel"); return; } data = data || {}; var partialUsers = JSON.parse(JSON.parse(app.cookie.getCookie('partialUser'))); var partialUser = partialUsers && partialUsers.length > 0 ? partialUsers[0] : false; data.user_uuid = uuid; data.user_id = !!partialUser && !!partialUser.existingUser ? partialUser['id'] : null; data.session_id = "ZRA5f4tB5rUg90TBjs3HecdhzPXAi4hU09A="; if (!app.isProduction) { console.debug("launch pixel: ", { eventId: eventId, args: data }); } clearInterval(tryFirePixelInterval); $.ajax({ url: '//api.commersive.io/public/1/track/' + eventId, data: JSON.stringify(data), type: 'POST', crossDomain: true, dataType: "json", contentType: 'application/json', headers: { Authorization: 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiUFVCTElDIiwiaWF0IjoxNDgxMjkzNTY3fQ.BL1UJN1-eNh25hIzpqLWUn9P8nXSQuNsmeBeEkWhWOc' }, error: function () { console.warn('error in sending launch pixel'); }, success: function () { } }); } } })(); </script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/lib/html5.js"></script><script> /* * Simple way to detect when js modules have loaded */ (function(app, $) { var loadedModules = []; var callbacks = {}; app.jsmodule = { load : function(module) { if(this.hasLoaded(module)) { return; } loadedModules.push(module); if(callbacks[module]) { callbacks[module].forEach(function(callback) { callback(); }); delete callbacks[module]; } }, hasLoaded : function(module) { return loadedModules.indexOf(module) > -1; }, onLoad : function(module, callback) { if(this.hasLoaded(module)) { callback(); } else { callbacks[module] || (callbacks[module] = []); callbacks[module].push(callback); } } }; })(window.app = window.app || {}, jQuery); </script><script> (function() { // console.warn('facebook isml loaded'); var inititalized = false; function initFacebook() { !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','//connect.facebook.net/en_US/fbevents.js'); // Insert Your Facebook Pixel ID below. if (!app.user.partialUserAuth.em) { fbq('init', '1379280122373528'); } else { fbq('init', '1379280122373528', { em: app.user.partialUserAuth.em, fn: app.user.partialUserAuth.fn ? app.user.partialUserAuth.fn : undefined, ph: app.user.partialUserAuth.ph ? app.user.partialUserAuth.ph : undefined }); } fbq('track', 'PageView'); } function firePixel(eventId, args, isCustomEvent) { // Can send pixels in dev environments because facebook separates them if(!app.isProduction) { console.debug("facebook pixel: ", { eventId : eventId, args : args }); } if(!inititalized) { initFacebook(); inititalized = true; } var trackType = isCustomEvent ? 'trackCustom' : 'track'; fbq(trackType, eventId, args); } $(window).on('mgemiConfirmationLoad', function(ev, order) { var skus = []; order.lineItems.forEach(function(li) { if(skus.indexOf(li.sku) < 0) { skus.push(li.sku); } }); firePixel('Purchase', { content_ids : skus, content_type : 'product', value : order.subtotal, order_id : order.orderNo, currency : 'USD' }); }); // Fire pixel when user visits cart page $(window).on('mgemiCartLoad', function(ev, order) { var skus = []; order.lineItems.forEach(function(li) { if(skus.indexOf(li.sku) < 0) { skus.push(li.sku); } }); firePixel('InitiateCheckout', { content_ids: skus, num_items: order.lineItems.length, content_type: 'product', value: order.subtotal, currency: 'USD' }); }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { firePixel('AddToCart', { content_name: productData.name, content_ids: [pid], content_type: 'product', value: productData.price, currency: 'USD' }); }); $(window).on('mgemiPDPRender', function(ev, pid, productData) { // Only fire for master products firePixel('ViewContent', { content_name: productData.name, content_category: productData.category, content_ids: [pid], content_type: 'product_group', value: productData.price, currency: 'USD' }); }); $(window).on('mgemiNewsletterSignup', function(ev, json) { if(!json.inMensNewsletter && !json.inWomensNewsletter) { firePixel('Lead', { email : json.email }); } }); $(window).on('mgemiWaitlistAdd', function(event, pid){ firePixel('WaitlistAdd', { content_ids: [pid], content_type: 'product' }, true) }) })(); </script><script> (function() { // console.warn('nanigans isml loaded'); function firePixel(args) { // Can send pixels in dev environments because nanigans separates them if(!app.isProduction) { console.debug("nanigans pixel: ", args); } if (typeof NaN_api === 'undefined' || NaN_api === null) { NaN_api = [ [375942, app.user.custNo] ]; } NaN_api.push(args); } // Initialize nanigans (function() { firePixel(['visit', 'landing']); (function() { var s = document.createElement('script'); s.async = true; s.src = '//cdn.nanigans.com/NaN_tracker.js'; var h = document.getElementsByTagName('head')[0]; h.appendChild(s); })(); })(); $(window).on('mgemiNewsletterSignup', function(ev, json) { if(!json.inMensNewsletter && !json.inWomensNewsletter) { firePixel(['user', 'email_capture', 0, {'ut1': json.emailHash}]); } }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { firePixel(['user', 'add_to_cart', productData.price, { 'qty': '1', 'sku': pid, 'gender': app.page.gender }]); }); (function() { var fired = false; $(window).on('mgemiPDPRender', function(ev, pid, productData) { if(!fired) { // NaN_api = [[app_id, user_id], [type, name, value, extra]]; // Using the push call to prevent loading more calls than needed. firePixel(['user', 'product_view', 0, { 'sku': pid, 'gender': app.page.gender }]); fired = true; } }); })(); // START OF CONFIRMATION PIXEL $(window).on('mgemiConfirmationLoad', function(ev, order) { if(window._) { purchasePixel(); eachPurchasePixel(); } else { jQuery.getScript("https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js") .done(function() { purchasePixel(); eachPurchasePixel(); }); } function purchasePixel() { var hasFemale = false; var hasMale = false; order.lineItems.forEach(function(li) { if(li.gender.toLowerCase() == 'female') { hasFemale = true; } else if(li.gender.toLowerCase() == 'male') { hasMale = true; } }); var nanGender = 'unattributed'; if(hasMale && hasFemale) { nanGender = 'both'; } else if(hasMale) { nanGender = 'mens'; } else if(hasFemale) { nanGender = 'womens'; } // NaN_api = [[app_id, user_id], [type, name, value, extra]]; firePixel(['purchase', 'main', _.pluck(order.lineItems, "adjustedPriceInCents"), { 'qty': _.pluck(order.lineItems, "qty"), 'sku': _.pluck(order.lineItems, "sku"), 'unique': order.orderNo, 'gender': nanGender }]); } // Purchase pixel for each sku function eachPurchasePixel() { var totalPrice = 0; order.lineItems.forEach(function(li) { totalPrice += li.adjustedPriceInCents; }); firePixel(['user', 'checkout', totalPrice, { 'unique':order.orderNo + '_checkout' }]); } }); // END OF CONFIRMATION PIXEL })(); </script><script src="//cdn.taboola.com/libtrc/mgemi/tfa.js" defer></script><script> (function() { $(window).on('mgemiConfirmationLoad', function(ev, order) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',orderid: order.orderNo, name: 'Purchase' }); $('<img src="//trc.taboola.com/mgemi/log/3/mark?marking-type=Suppression&item-url=order-confirmation" width="0" height="0" />').appendTo('body'); }); // Fire pixel when user visits cart page $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',name: 'ATCs' }); }); $(window).on('mgemiNewsletterSignup', function(ev, json) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',name: 'Leads' }); }); })(); </script><script> (function() { var talkableEnabled = app.enabledFeatureFlags.indexOf('talkable') > -1; if (!talkableEnabled) { return; } function firePixel(eventId, args) { if (!app.isProduction) { console.debug("talkable pixel: ", { eventId : eventId, args : args }); } _talkableq.push([eventId, args]); } // Init talkable (function() { // Get URL params (code from http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript) var urlParams; var match, pl = /\+/g, // Regex for replacing addition symbol with a space search = /([^&=]+)=?([^&]*)/g, decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); }, query = window.location.search.substring(1); urlParams = {}; while (match = search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]); } window._talkableq = window._talkableq || []; firePixel('authenticate_customer', { email: urlParams['talkableAuthEmail'] ? urlParams['talkableAuthEmail'] : app.user.email, first_name: urlParams['talkableAuthFName'] ? urlParams['talkableAuthFName'] : app.user.firstName, last_name: urlParams['talkableAuthLName'] ? urlParams['talkableAuthLName'] : app.user.lastName }); firePixel('register_affiliate', {}); // Use production js library only in prod environment. Use staging js library everywhere else. var s = document.createElement('script'); s.src = '//d2jjzw81hqbuqv.cloudfront.net/integration/clients/m-gemi'; s.src += (!app.isProduction ? '-staging' : '') + '.min.js'; var h = document.getElementsByTagName('head')[0]; h.appendChild(s); })(); $(window).on('mgemiConfirmationLoad', function(ev, order) { firePixel('register_purchase', { purchase: { order_number: order.orderNo, subtotal: (order.finaltotal - order.totalTax).toString(), //pre-tax, post-discount coupon_code: order.priceAdjustments.map(function(pa) { return pa.promotionId; }) // Single string or array of strings }, customer: { email: order.customerEmail } }); }); })(); </script><script data-obct type="text/javascript"> / DO NOT MODIFY THIS CODE/ !function(_window, _document) { var OB_ADV_ID='00a2c44aacf73c31ea6ec8a4f7c9cced0f'; if (_window.obApi) { return; } var api = _window.obApi = function() {api.dispatch ? api.dispatch.apply(api, arguments) : api.queue.push(arguments);} ;api.version = '1.0';api.loaded = true;api.marketerId = OB_ADV_ID;api.queue = [];var tag = _document.createElement('script');tag.async = true;tag.src = '//amplify.outbrain.com/cp/obtp.js';tag.type = 'text/javascript';var script = _document.getElementsByTagName('script')[0];script.parentNode.insertBefore(tag, script);}(window, document); obApi('track', 'PAGE_VIEW'); $(window).on('mgemiConfirmationLoad', function(ev, order) { obApi('track', 'purchase', { orderValue: order.finaltotal, orderId: order.orderNo, }); }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { obApi('track', 'Add To Cart'); }); </script><script type="text/javascript"> var _kiq = _kiq || []; (function(){ setTimeout(function(){ var d = document, f = d.getElementsByTagName('script')[0], s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//s3.amazonaws.com/ki.js/67278/fRh.js'; f.parentNode.insertBefore(s, f); }, 1); })(); if (!app.user.isAnonymous) { _kiq.push(['identify', app.user.email]); } (function() { app.util.ready(function() { _kiq.push(['set', { 'is_production': app.isProduction, 'user_uuid': app.cookie.getCookie('uuid'), 'session_id': app.user.sessionId, 'page_gender': app.page.gender, 'is_category_page': app.page.isCategory, 'is_product_page': app.page.isProduct, 'is_content_page': app.page.isContent, 'page_id': app.page.id }]); }); _kiq.push(['eventHandler', 'nodeRendered', function(nudge_id, screen_id){ document.body.setAttribute('data-qual-current-nudge', nudge_id); document.body.setAttribute('data-qual-current-screen', screen_id); }]); })(); </script><script> app.util.ready(function() { window._pp = window._pp || []; _pp.siteId = '1422'; _pp.siteUId = app.cookie.getCookie('uuid'); _pp.tags = app.sourceCode || 'none'; if ('currentOrder' in app) { _pp.email = app.currentOrder.customerEmail; _pp.orderValue = app.currentOrder.finaltotal; _pp.orderId = app.currentOrder.orderNo; } (function() { var ppjs = document.createElement('script'); ppjs.type = 'text/javascript'; ppjs.async = true; ppjs.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//cdn.pbbl.co/r/' + _pp.siteId + '.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ppjs, s); })(); }); </script><script> window['_fs_debug'] = false; window['_fs_host'] = 'fullstory.com'; window['_fs_org'] = "6K011"; window['_fs_namespace'] = 'FS'; (function(m,n,e,t,l,o,g,y){ if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;} g=m[e]=function(a,b){g.q?g.q.push([a,b]):g._api(a,b);};g.q=[]; o=n.createElement(t);o.async=1;o.src='https://'+_fs_host+'/s/fs.js'; y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y); g.identify=function(i,v){g(l,{uid:i});if(v)g(l,v)};g.setUserVars=function(v){g(l,v)}; g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)}; g.clearUserCookie=function(c,d,i){if(!c || document.cookie.match('fs_uid=[`;`]*`[`;`]*`[`;`]*`')){ d=n.domain;while(1){n.cookie='fs_uid=;domain='+d+ ';path=/;expires='+new Date(0).toUTCString();i=d.indexOf('.');if(i<0)break;d=d.slice(i+1)}}}; })(window,document,window['_fs_namespace'],'script','user'); </script><script> if (!app.user.isAnonymous) { FS.identify(app.user.custNo, { email: app.user.email, firstName: app.user.firstName, lastName: app.user.lastName, gaClientId: app.user.gaClientId }); } </script><script> $(function(){ if($("[name$='addtoemaillist']").parents('.checkbox-field').size() > 0){ var $realCheckbox =$("[name$='addtoemaillist']").parents('.checkbox-field'); ga('send', 'event', 'checkout newsletter', 'position', 'top'); var $newForm = $('<div class="alternate optInArea field" id="newsletterOptIn"><div class="optIn form-caption">You\'ll find out first about all things M.Gemi. <a href="#">Change.</a> </div><div class="optOut form-caption">We won\'t send you updates on new releases, early access to rare sales, or special pre-shop access. <a href="#">Send emails.</a> </div></div>'); $newForm.insertAfter($realCheckbox); var $optArea = $('#newsletterOptIn'); var $optOut = $optArea.find('.optOut'); var $optIn = $optArea.find('.optIn'); if($realCheckbox.length > 0){ console.log($realCheckbox) $realCheckbox.hide(); $optOut.hide(); $('body').on('mouseup', '[name=dwfrm_singleshipping_shippingAddress_save]', function(){ var optBool = $realCheckbox.find(':checkbox').attr('checked'); ga('send', 'event', 'checkout newsletter final selection', 'selection', optBool); console.log('final checked selection ', optBool); }); $('body').on('click', '#newsletterOptIn .form-caption a', function(e){ e.preventDefault(); var optBool = $(e.currentTarget).parent('.optOut').length > 0; ga('send', 'event', 'checkout newsletter selection', 'selection', optBool); $realCheckbox.find(':checkbox').attr('checked', optBool); if (!optBool){ $optIn.hide(); $optOut.show(); } else { $optIn.show(); $optOut.hide(); } console.log($realCheckbox.find(':checkbox').is(':checked')); }); } } }); </script><script type="text/javascript">//<!-- /* <![CDATA[ (head-active_data.js) */ var dw = (window.dw || {}); dw.ac = { _analytics: null, _events: [], _category: "", _capture: function(configs) { if (Object.prototype.toString.call(configs) === "[object Array]") { configs.forEach(captureObject); return; } dw.ac._events.push(configs); }, capture: function() { dw.ac._capture(arguments); }, EV_PRD_SEARCHHIT: "searchhit", EV_PRD_DETAIL: "detail", EV_PRD_RECOMMENDATION: "recommendation", EV_PRD_SETPRODUCT: "setproduct", applyContext: function(context) { if (typeof context === "object" && context.hasOwnProperty("category")) { dw.ac._category = context.category; } }, setDWAnalytics: function(analytics) { dw.ac._analytics = analytics; } }; /* ]]> */ // --> </script><script type="text/javascript">//<!-- /* <![CDATA[ (head-cquotient.js) */ var CQuotient = window.CQuotient = {}; CQuotient.clientId = 'aatm-mgemi'; CQuotient.activities = []; CQuotient.cqcid=''; CQuotient.cquid=''; CQuotient.initFromCookies = function () { var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf('cqcid=') == 0) { CQuotient.cqcid=c.substring('cqcid='.length,c.length); } else if (c.indexOf('cquid=') == 0) { CQuotient.cquid=c.substring('cquid='.length,c.length); break; } } } CQuotient.getCQCookieId = function () { if(window.CQuotient.cqcid == '') window.CQuotient.initFromCookies(); return window.CQuotient.cqcid; }; CQuotient.getCQUserId = function () { if(window.CQuotient.cquid == '') window.CQuotient.initFromCookies(); return window.CQuotient.cquid; }; /* ]]> */ // --> </script><script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date; h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')}; (a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c; })(window,document.documentElement,'async-hide','dataLayer',4000, {'GTM-597QF72':true});</script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/responsive-min.js"></script><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); </script><script> if (!!app.user.custNo) { ga('set', 'dimension2', app.user.custNo ); ga('create', 'UA-56670703-1', { 'userId': app.user.custNo }); } else { ga('create', 'UA-56670703-1' , 'auto'); } ga('require', 'GTM-597QF72'); jQuery(function() { if(window.customGaPageView === undefined || !window.customGaPageView) { ga('send', 'pageview'); } }); ga(function() { var clientId = ga.getAll()[0].get('clientId'); if (!clientId) return; ga('set', 'dimension1', clientId); if (!app.user.gaClientId) { $.ajax("/on/demandware.store/Sites-mgemi-Site/default/API-SetGAUserId", { data: { clientID: clientId }, success: function(data, status, xhr){ if(data.status === 'ERROR'){ console.error('GA ERROR: ' + data.message); } }, error: function(xhr, status, data){ console.error(data); } }); } }); // Send to GA whether the user is logged in or logged out var dimensionValue = app.user.isAnonymous ? 'logged out' : 'logged in'; ga('set', 'dimension4', dimensionValue); </script><script async="true" type="text/javascript" src="//mgemi.btttag.com/btt.js"></script><script> /* jshint esversion: 6 */ (function($) { // TODO: Add this to the events.js file $('body').on('mousedown', '.main-nav a, .header-links a, .mobile-nav a', function(e) { e.preventDefault(); var $link = $(this), href = $link.attr('href'), pipe, $drop1; // Don't send data to ga if the href doesn't go anywhere if(href == '' || href == "#" || href.indexOf("Javascript:void(0)") > -1) return; pipe = $link.text().trim(); $drop1 = $link.closest('.drop-1'); if($drop1.length > 0) { pipe = $drop1.parent().find('> a').text().trim() + ' | ' + pipe; } ga('send', 'event', 'navigation', pipe, href); }); // TODO: Have to use a timeout to ensure app.js is loaded, not sure why // it isn't loaded by here. // TODO: standardize this into a universal model so that we can repurpose as needed. setTimeout(function() { if ('' && '' !== 'null') { app.dialog.create({ target: $('.js-flash-message'), options: { autoOpen: true, dialogClass: 'standard-modal', open: function() { $('.ui-widget-overlay').click(function() { traditionalPriceModal.dialog('close'); }); } } }); } }, 300); })(jQuery); </script><script> window.GLOBALS = window.GLOBALS || {}; window.GLOBALS.plp = GLOBALS.plp || {}; </script><script id="product-grid-tile" type="text/x-handlebars-template"> <div id="gridbox-{{cid}}" class="grid-tile tile" data-type="molecule" data-name="plp-tile" data-sku="{{sku}}"> <!-- Product images --> <div class="js-product-images"> <a class="js-product-a-tag" href="#"> <div class="color-list-group js-lazy-loaded-images"></div> <div class="tile--availability js-sold-out"> {{#if showSoldOutSizeBanner}} <p class="soldout soldout-size"> <span class="soldout"> Your size is sold out </span> <span class="waitlist"> Add to Waitlist? </span> </p> {{else}} <p class="soldout"> <span class="soldout"> Sold out </span> <span class="waitlist"> Add to Waitlist? </span> </p> {{/if}} </div> </a> </div> <div class="gridtext lockup"> <a class="js-product-a-tag" href="#"> <h1>{{handleFName formattedname}} <span style="display:none">{{classification}}</span></h1> {{#if productSubtitle}} <p class="product-subtitle">{{productSubtitle}}</p> {{/if}} {{#if factoryLocation}} <p class="produced"> Made by hand in {{factoryLocation}}, Italy. </p> {{/if}} {{#if priceObj.standard}} <div class="has-standard-price"> <div class="price-sale">{{handleMoney priceObj.sale}}</div> <div class="price-standard">{{handleMoney priceObj.standard}}</div> </div> {{else}} <h2 class="price">{{handleMoney price}}</h2> {{/if}} </a> </div> <ul class="swatches js-swatches is-color"> {{#if showSwatches}} {{#each productColors}} <li class="swatch js-swatch {{#unless this.available}}soldout{{/unless}}" data-color="{{this.color}}"> <a href="{{productUrl}}"> <img src="{{this.swatchUrl}}" /> </a> </li> {{/each}} {{/if}} </ul> </div> </script><script type="text/javascript"> var currentCgid = "mens-shoes"; var prepopulateData = { "products": [ { "sku": "00_1295_06", "name": "The Corso", "formattedname": "The,Corso", "story": "null", "price": "$248", "priceObj": {"min":"","max":"","standard":"","sale":"$248.00"}, "classification": "Driving", "factoryLocation": "Veneto", "primary_color": "001", "product_url": "http://mgemi.com/mens-loafers/the-corso/00_1295_06.html", "showSoldOutSizeBanner": false, "productSubtitle" : "Calf hair driver", "colors": [ "001" ], "unavailableColors": [ ], "variations": [{"id":9236,"Options":{"Sole":{"id":715,"name":"Peg Sole"},"Color":{"id":1806,"name":"Army Green","code":"668"}},"primaryImage":"v_09236"},{"id":9235,"Options":{"Color":{"id":622,"name":"Black","code":"001"},"Sole":{"id":715,"name":"Peg Sole"}},"primaryImage":"v_09235"}] } , { "sku": "00_2000_01", "name": "The Dritto", "formattedname": "The,Dritto", "story": "null", "price": "$298", "priceObj": {"min":"","max":"","standard":"","sale":"$298.00"}, "classification": "Boots", "factoryLocation": "Toscana", "primary_color": "734", "product_url": "http://mgemi.com/mens-shoes/the-dritto/00_2000_01.html", "showSoldOutSizeBanner": false, "productSubtitle" : "Hand-Dyed Chelsea Boots", "colors": [ "734" , "001" ], "unavailableColors": [ ], "variations": [{"id":9403,"Options":{"Sole":{"id":687,"name":"Leather"},"Color":{"id":1285,"name":"Espresso","code":"734"}},"primaryImage":"v_09403"},{"id":9089,"Options":{"Color":{"id":622,"name":"Black","code":"001"},"Sole":{"id":687,"name":"Leather"}},"primaryImage":"v_09089"}] } , { "sku": "00_1285_01", "name": "The Volo", "formattedname": "The,Volo", "story": "The Volo provides an Italian edge to your suits&#8212;or your denim. You'll keep it on through work and pleasure.", "price": "$248", "priceObj": {"min":"","max":"","standard":"","sale":"$248.00"}, "classification": "Loafers", "factoryLocation": "Toscana", "primary_color": "201", "product_url": "http://mgemi.com/mens-shoes/the-volo/00_1285_01.html", "showSoldOutSizeBanner": false, "productSubtitle" : "Hand-Burnished Loafers", "colors": [ "201" , "001" , "700" ], "unavailableColors": [ "700" ], "variations": [{"id":5200,"Options":{"Sole":{"id":687,"name":"Leather"},"Color":{"id":626,"name":"Chestnut","code":"201"}},"primaryImage":"v_05200"},{"id":9006,"Options":{"Sole":{"id":687,"name":"Leather"},"Color":{"id":1757,"name":"Moss","code":"756"}},"primaryImage":"v_09006"},{"id":9005,"Options":{"Sole":{"id":687,"name":"Leather"},"Color":{"id":657,"name":"Burgundy","code":"700"}},"primaryImage":"v_09005"},{"id":5199,"Options":{"Sole":{"id":687,"name":"Leather"},"Color":{"id":622,"name":"Black","code":"001"}},"primaryImage":"v_05199"}] } , { "sku": "00_2890_01", "name": "The Lucente Due", "formattedname": "The,Lucente,Due", "story": "null", "price": "$278", "priceObj": {"min":"","max":"","standard":"","sale":"$278.00"}, "classification": "Sneaker/Slip On/White Bottom", "factoryLocation": "Marche", "primary_color": "335", "product_url": "http://mgemi.com/mens-sneakers/the-lucente-due/00_2890_01.html", "showSoldOutSizeBanner": false, "productSubtitle" : "Matte sole calf-skin leather sneakers", "colors": [ "335" , "100" , "001" , "021" ], "unavailableColors": [ ], "variations": [{"id":9100,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":622,"name":"Black","code":"001"}},"primaryImage":"v_09100"},{"id":9101,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":624,"name":"Gray","code":"021"}},"primaryImage":"v_09101"},{"id":9343,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":625,"name":"White","code":"100"}},"primaryImage":"v_09343"},{"id":9344,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":1824,"name":"Ocean Blue","code":"335"}},"primaryImage":"v_09344"}] } , { "sku": "00_1994_01", "name": "The Netto Due", "formattedname": "The,Netto,Due", "story": "null", "price": "$298", "priceObj": {"min":"","max":"","standard":"","sale":"$298.00"}, "classification": "Sneaker/Slip On/White Bottom", "factoryLocation": "Toscana", "primary_color": "203", "product_url": "http://mgemi.com/mens-sneakers/the-netto-due/00_1994_01.html", "showSoldOutSizeBanner": false, "productSubtitle" : "Hand-painted Leather Sneakers", "colors": [ "203" , "410" , "588" , "001" ], "unavailableColors": [ ], "variations": [{"id":7480,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":635,"name":"Walnut","code":"203"}},"primaryImage":"v_07480"},{"id":9293,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":622,"name":"Black","code":"001"}},"primaryImage":"v_09293"},{"id":9014,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":1758,"name":"Stone Gray","code":"588"}},"primaryImage":"v_09014"},{"id":7479,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":630,"name":"Navy","code":"410"}},"primaryImage":"v_07479"}] } , { "sku": "00_2877_01", "name": "The Bosco", "formattedname": "The,Bosco", "story": "null", "price": "$298", "priceObj": {"min":"","max":"","standard":"","sale":"$298.00"}, "classification": "Sneaker/Slip On/White Bottom", "factoryLocation": "Toscana", "primary_color": "700", "product_url": "http://mgemi.com/mens-sneakers/the-bosco/00_2877_01.html", "showSoldOutSizeBanner": false, "productSubtitle" : "The hand-painted buffalino leather sneaker", "colors": [ "700" , "410" , "001" , "203" ], "unavailableColors": [ ], "variations": [{"id":9247,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":657,"name":"Burgundy","code":"700"}},"primaryImage":"v_09247"},{"id":9010,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":1758,"name":"Stone Gray","code":"588"}},"primaryImage":"v_09010"},{"id":9294,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":622,"name":"Black","code":"001"}},"primaryImage":"v_09294"},{"id":9012,"Options":{"Color":{"id":635,"name":"Walnut","code":"203"},"Sole":{"id":659,"name":"Rubber"}},"primaryImage":"v_09012"},{"id":9248,"Options":{"Sole":{"id":659,"name":"Rubber"},"Color":{"id":630,"name":"Navy","code":"410"}},"primaryImage":"v_09248"}] } ], "totalItems" : 0.0, "itemDisplayCount": 17, "refinements": "<h2 class=\"\">Filter<\/h2> <span class=\"refinement-header\">Shop Navigation Catalog<\/span> <div class=\"refinement clear-all hide-mobile\"> <a href=\"#\">Clear All<\/a> <\/div> <div class=\"refinement Size\"> <h6 class=\"toggle \"> Size <span class=\"icon\"> <\/span><!-- end /icon --> <\/h6> <div class=\"refinement-body \"> <ul class=\"clearfix swatches Size\"> <li class=\"swatch-40\"> <a id=\"swatch-40\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=40\" title=\"40\"> 40 <\/a> <\/li> <li class=\"swatch-40_5\"> <a id=\"swatch-40_5\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=40.5\" title=\"40.5\"> 40.5 <\/a> <\/li> <li class=\"swatch-41\"> <a id=\"swatch-41\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=41\" title=\"41\"> 41 <\/a> <\/li> <li class=\"swatch-41_5\"> <a id=\"swatch-41_5\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=41.5\" title=\"41.5\"> 41.5 <\/a> <\/li> <li class=\"swatch-42\"> <a id=\"swatch-42\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=42\" title=\"42\"> 42 <\/a> <\/li> <li class=\"swatch-42_5\"> <a id=\"swatch-42_5\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=42.5\" title=\"42.5\"> 42.5 <\/a> <\/li> <li class=\"swatch-43\"> <a id=\"swatch-43\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=43\" title=\"43\"> 43 <\/a> <\/li> <li class=\"swatch-43_5\"> <a id=\"swatch-43_5\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=43.5\" title=\"43.5\"> 43.5 <\/a> <\/li> <li class=\"swatch-44\"> <a id=\"swatch-44\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=44\" title=\"44\"> 44 <\/a> <\/li> <li class=\"swatch-44_5\"> <a id=\"swatch-44_5\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=44.5\" title=\"44.5\"> 44.5 <\/a> <\/li> <li class=\"swatch-45\"> <a id=\"swatch-45\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=45\" title=\"45\"> 45 <\/a> <\/li> <li class=\"swatch-46\"> <a id=\"swatch-46\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=46\" title=\"46\"> 46 <\/a> <\/li> <li class=\"swatch-47\"> <a id=\"swatch-47\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=47\" title=\"47\"> 47 <\/a> <\/li> <li class=\"swatch-48\"> <a id=\"swatch-48\" href=\"http://mgemi.com/mens-shoes/?prefn1=size&amp;prefv1=48\" title=\"48\"> 48 <\/a> <\/li> <\/ul> <\/div><!-- end /refinement-body --> <!-- PRICE REFINEMENTS --> <\/div> <div class=\"refinement Color\"> <h6 class=\"toggle \"> Color <span class=\"icon\"> <\/span><!-- end /icon --> <\/h6> <div class=\"refinement-body \"> <div class=\"scroll-container\"> <ul class=\"scrollable\"> <li> <a href=\"http://mgemi.com/mens-shoes/?prefn1=SD_R_ColorFilter&amp;prefv1=Black\" title=\"Refine by:Black\">Black<\/a> <\/li> <li> <a href=\"http://mgemi.com/mens-shoes/?prefn1=SD_R_ColorFilter&amp;prefv1=Blue\" title=\"Refine by:Blue\">Blue<\/a> <\/li> <li> <a href=\"http://mgemi.com/mens-shoes/?prefn1=SD_R_ColorFilter&amp;prefv1=Brown\" title=\"Refine by:Brown\">Brown<\/a> <\/li> <li> <a href=\"http://mgemi.com/mens-shoes/?prefn1=SD_R_ColorFilter&amp;prefv1=Gray\" title=\"Refine by:Gray\">Gray<\/a> <\/li> <\/ul> <ul class=\"scrollable last\"> <li> <a href=\"http://mgemi.com/mens-shoes/?prefn1=SD_R_ColorFilter&amp;prefv1=Green\" title=\"Refine by:Green\">Green<\/a> <\/li> <li> <a href=\"http://mgemi.com/mens-shoes/?prefn1=SD_R_ColorFilter&amp;prefv1=Red\" title=\"Refine by:Red\">Red<\/a> <\/li> <li> <a href=\"http://mgemi.com/mens-shoes/?prefn1=SD_R_ColorFilter&amp;prefv1=White\" title=\"Refine by:White\">White<\/a> <\/li> <\/ul> <\/div> <\/div><!-- end /refinement-body --> <!-- PRICE REFINEMENTS --> <\/div> ", "supportsStoryMode": false, "expandedVariants": false } ; var forceStoryMode = false; </script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/backbone-collection.js" type="text/javascript"></script><script src="//cdnjs.cloudflare.com/ajax/libs/backbone.marionette/2.4.4/backbone.marionette.js"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/pdp/PDPUtils.js" type="text/javascript"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/PLP.js" type="text/javascript"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/models/product-tile-model.js" type="text/javascript"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/views/product-tile-view.js" type="text/javascript"></script><script type="text/javascript"> var plpMainAngle = "MAIN"; var PLPGrid = new PLP.gridview({ showSwatches: true, mainAngle: plpMainAngle }); </script><script> app.refinements = app.refinements || {}; app.refinements.config = app.refinements.config || {}; app.refinements.config.apiPipeline = "/on/demandware.store/Sites-mgemi-Site/default/ProductListAPI-ShowAll" app.refinements.config.gridOnly = true; </script><script> (function() { var opensAutomaticallyAfter = 2 * 1000; // Converts seconds to ms var closesAutomaticallyAfter = 7 * 1000; // Converts seconds to ms var $chatBubble = $('.chat-bubble'); var $chatText = $('.chat_bubble_text'); var chatTextWidth = $('.chat_bubble_text').outerWidth(); var chatTextHeight = $('.chat_bubble_text').outerHeight(); var $animationContainer = $('<div class="chat-text-animation-container"></div>').appendTo('.chat-bubble'); $animationContainer.css({ width: chatTextWidth, height: chatTextHeight }); $chatText.appendTo($animationContainer); function openChatBubbleText() { $chatBubble.removeClass('text-hidden'); } function closeChatBubbleText() { $chatBubble.addClass('text-hidden'); } var openAutomaticallyTimer = setTimeout(function() { openChatBubbleText(); }, opensAutomaticallyAfter); var closeAutomaticallyTimer = setTimeout(function() { closeChatBubbleText(); }, closesAutomaticallyAfter); var chatBubbleHoveredOver = false; $chatBubble.on('mouseover', function() { openChatBubbleText(); clearTimeout(openAutomaticallyTimer); clearTimeout(closeAutomaticallyTimer); if (!chatBubbleHoveredOver) { ga('send', 'event', 'Chat Bubble Widget', 'mouseover'); chatBubbleHoveredOver = true; } }); $chatBubble.on('click', function() { ga('send', 'event', 'Chat Bubble Widget', 'click'); }); $chatBubble.on('mouseleave', function() { closeChatBubbleText(); chatBubbleHoveredOver = false; }); })(); </script><script> window.newsletterPopupSettings = {"a":1,"b":2,"womensImageSrc":"womensNewsletter50Activation.jpg","mensImageSrc":"mensNewsletter50Activation.jpg"}; </script><script id="newsletter-modal-template" type="text/x-handlebars-template"> <div class="old mens-womens-signup-container newsletter-container {{#if startWomensNewsletter}}for-women{{else}}for-men{{/if}}"> <section class="container clearfix"> <div class="edition-signup"> <div class="promo"> <div class="for-women"> <style> #img181200349, figure[data-img-hash="img181200349"] { padding-bottom: 100.0%; } @media (max-width: 767px){ #img181200349, figure[data-img-hash="img181200349"] { padding-bottom: 100.0%; } } </style> <figure id="img181200349" data-img-hash="img181200349" class="imgModule"> <picture><!--[if IE 9]><video style="display: none"><![endif]--><source sizes="33vw" media="(max-width: 767px)" data-srcset='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=105&sm=aspect&qlt=60&aspect=1:1&qlt=60 105w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=164&sm=aspect&qlt=60&aspect=1:1&qlt=60 164w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=253&sm=aspect&qlt=60&aspect=1:1&qlt=60 253w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=211&sm=aspect&qlt=60&aspect=1:1&qlt=60 211w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=329&sm=aspect&qlt=60&aspect=1:1&qlt=60 329w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=506&sm=aspect&qlt=60&aspect=1:1&qlt=60 506w ' /><!--[if IE 9]></video><![endif]--><img data-src='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w={50%}&qlt=60&sm=aspect&aspect=1:1&qlt=60'class="undefined lazyload" sizes="33vw" data-srcset='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=337&sm=aspect&qlt=60&aspect=1:1&qlt=60 337w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=474&sm=aspect&qlt=60&aspect=1:1&qlt=60 474w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=660&sm=aspect&qlt=60&aspect=1:1&qlt=60 660w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=949&sm=aspect&qlt=60&aspect=1:1&qlt=60 949w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=1320&sm=aspect&qlt=60&aspect=1:1&qlt=60 1320w ' /></picture> </figure> </div> <div class="for-men"> <style> #img-1637978970, figure[data-img-hash="img-1637978970"] { padding-bottom: 100.0%; } @media (max-width: 767px){ #img-1637978970, figure[data-img-hash="img-1637978970"] { padding-bottom: 100.0%; } } </style> <figure id="img-1637978970" data-img-hash="img-1637978970" class="imgModule"> <picture><!--[if IE 9]><video style="display: none"><![endif]--><source sizes="33vw" media="(max-width: 767px)" data-srcset='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=105&sm=aspect&qlt=60&aspect=1:1&qlt=60 105w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=164&sm=aspect&qlt=60&aspect=1:1&qlt=60 164w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=253&sm=aspect&qlt=60&aspect=1:1&qlt=60 253w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=211&sm=aspect&qlt=60&aspect=1:1&qlt=60 211w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=329&sm=aspect&qlt=60&aspect=1:1&qlt=60 329w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=506&sm=aspect&qlt=60&aspect=1:1&qlt=60 506w ' /><!--[if IE 9]></video><![endif]--><img data-src='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w={50%}&qlt=60&sm=aspect&aspect=1:1&qlt=60'class="undefined lazyload" sizes="33vw" data-srcset='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=337&sm=aspect&qlt=60&aspect=1:1&qlt=60 337w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=474&sm=aspect&qlt=60&aspect=1:1&qlt=60 474w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=660&sm=aspect&qlt=60&aspect=1:1&qlt=60 660w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=949&sm=aspect&qlt=60&aspect=1:1&qlt=60 949w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=1320&sm=aspect&qlt=60&aspect=1:1&qlt=60 1320w ' /></picture> </figure> </div> </div> <div class="content"> <div class="newsletter-close-btn" data-close-btn> <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><clipPath id="a"><path fill="none" d="M0 0h100v100H0z"/></clipPath></defs><title>icon</title><g clip-path="url(#a)"><path d="M94.43 0L50 44.43 5.57 0 .01 5.56l44.44 44.43L.01 94.44 5.57 100 50 55.57 94.43 100l5.56-5.56-44.43-44.45L99.99 5.56 94.43 0z"/></g></svg></div> <div class="body-content"> <div class="for-men"> <p>M.Gemi—italian shoes<br/> made the old way, sold the new way.</p> <h2>New limited editions<br/> released every month.<br/> Be the first to know.</h2> <style>.newsletter-container.for-men p { font-family: BrownStd, sans-serif; text-transform: uppercase; font-size: 11px; line-height: 15px; letter-spacing: 1.54px; } .fullscreen-modal .popmodal .old.newsletter-container.for-men h2 { font-size: 24px; line-height: 29px; letter-spacing:0; font-weight: normal; margin-top: 20px }</style> </div> <div class="for-women"> <style> @media (min-width: 768px) { .ui-dialog.popmodal .old.mens-womens-signup-container.newsletter-container.for-women .content { padding: 20px; } }</style> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> New limited editions every Monday.<br/> Be the first to know. <style> .newsletter-modal-container section.container { border-color: black !important; } .ui-dialog.popmodal .old.mens-womens-signup-container.newsletter-container .content { background: white; } form#newsletter-signup-pop input[type=email] { text-align: center; }</style> </div> </div> <div class="success"> <fieldset class="email"> <div class="success-content"> <div class="for-men"> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> Successo, you’re signed up! </div> <div class="for-women"> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> Successo, you’re signed up! <style>@media (max-width: 370px) { .mens-womens-signup-container { width:320px; } .mens-womens-signup-container input[type=email], .mens-womens-signup-container button[type=submit] { width:100% !important; } }</style> </div> </div> </fieldset> </div> <form id="newsletter-signup-pop" action=""> <fieldset class="email"> <input type="email" name="email" placeholder="Enter your email" /> <span for="dwfrm_login_username_d0yfhwaarcsg" generated="true" class="error">Please enter a valid email address</span> </fieldset> <button type="submit" class="button" value="Submit"> <svg xmlns="http://www.w3.org/2000/svg" width="8.7" height="6" viewBox="0 0 8.7 6"><title>down_chevron</title><path d="M4.4 4.2L0 0v1.8l1.5 1.3L4.4 6l2.9-2.9 1.4-1.3V0z" fill="#8d3a25"/></svg> <span>Sign Up</span> </button> <a href="#" class="swap-newsletter-gender"> <span class="for-women">LOOKING FOR MEN’S SHOES?</span> <span class="for-men">LOOKING FOR WOMEN’S SHOES?</span> </a> </form> </div> </div> </section><!-- end /container --> </div> </script><script> function initModal(settings, requestHandlebars) { // Render handlebars template settings.womensImageSrc = settings.womensImageSrc || 'womensNewsletterPopup.jpg'; settings.mensImageSrc = settings.mensImageSrc || 'mensNewsletterPopup.jpg'; settings.imageAlt = settings.imageAlt || 'M.Gemi Newsletter Image'; settings.startWomensNewsletter = settings.startWomensNewsletter !== undefined ? settings.startWomensNewsletter : (app.page.gender !== 'male'); var deferred = $.Deferred(); requestHandlebars({ templateContent: $('#newsletter-modal-template').html(), context: settings }).done(function(content) { $('.newsletter-modal-container').html(content); toggleNewsletterGender(); if (settings.abTestVariationName) { app.newslettersignup.addModalOpenListener(function() { ga('send', 'event', 'Email Signup', 'prompt AB test', settings.abTestVariationName); }); app.newslettersignup.addModalSubmitListener(function() { ga('send', 'event', 'Email Signup', 'submit AB test', settings.abTestVariationName); }); } deferred.resolve(); }).fail(function() { deferred.reject(); }); return deferred; function toggleNewsletterGender() { // Toggle men's/women's newsletter var $modalContainer = $('.mens-womens-signup-container'); var $genderSwapper = $modalContainer.find('.swap-newsletter-gender'); $genderSwapper.on('click', function(e) { e.preventDefault(); ga("send", "event", "Email Signup", "switch modal gender", $modalContainer.hasClass('for-men') ? 'to women' : 'to men'); $modalContainer.toggleClass('for-men'); $modalContainer.toggleClass('for-women'); }); }; } </script><script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } _fbq.push(['addPixelId', '1379280122373528']); })(); window._fbq = window._fbq || []; window._fbq.push(['track', 'PixelInitialized', {}]); </script><script> __reach_config = { pid: '5627b815736b79f564001f00', reach_tracking: false }; (function(){ var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = document.location.protocol + '//d8rk54i4mohrb.cloudfront.net/js/reach.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(s); })(); </script><script type="text/javascript"> window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{c.console&&console.log(t)}catch(e){}}var o,i=t("ee"),a=t(19),c={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(c.console=!0,o.indexOf("dev")!==-1&&(c.dev=!0),o.indexOf("nr_dev")!==-1&&(c.nrDev=!0))}catch(s){}c.nrDev&&i.on("internal-error",function(t){r(t.stack)}),c.dev&&i.on("fn-err",function(t,e,n){r(n.stack)}),c.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(c,function(t,e){return t}).join(", ")))},{}],2:[function(t,e,n){function r(t,e,n,r,o){try{d?d-=1:i("err",[o||new UncaughtException(t,e,n)])}catch(c){try{i("ierr",[c,s.now(),!0])}catch(u){}}return"function"==typeof f&&f.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function o(t){i("err",[t,s.now()])}var i=t("handle"),a=t(20),c=t("ee"),s=t("loader"),f=window.onerror,u=!1,d=0;s.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(p){"stack"in p&&(t(12),t(11),"addEventListener"in window&&t(6),s.xhrWrappable&&t(13),u=!0)}c.on("fn-start",function(t,e,n){u&&(d+=1)}),c.on("fn-err",function(t,e,n){u&&(this.thrown=!0,o(n))}),c.on("fn-end",function(){u&&!this.thrown&&d>0&&(d-=1)}),c.on("internal-error",function(t){i("ierr",[t,s.now(),!0])})},{}],3:[function(t,e,n){t("loader").features.ins=!0},{}],4:[function(t,e,n){function r(){C++,N=y.hash,this[u]=M.now()}function o(){C--,y.hash!==N&&i(0,!0);var t=M.now();this[l]=~~this[l]+t-this[u],this[d]=t}function i(t,e){x.emit("newURL",[""+y,e])}function a(t,e){t.on(e,function(){this[e]=M.now()})}var c="-start",s="-end",f="-body",u="fn"+c,d="fn"+s,p="cb"+c,h="cb"+s,l="jsTime",m="fetch",v="addEventListener",w=window,y=w.location;if(w[v]){var b=t(9),g=t(10),x=t(8),E=t(6),O=t(12),R=t(7),P=t(13),T=t("ee"),S=T.get("tracer");t(14);var M=t("loader");M.features.spa=!0;var N,j=w[v],C=0;T.on(u,r),T.on(p,r),T.on(d,o),T.on(h,o),T.buffer([u,d,"xhr-done","xhr-resolved"]),E.buffer([u]),O.buffer(["setTimeout"+s,"clearTimeout"+c,u]),P.buffer([u,"new-xhr","send-xhr"+c]),R.buffer([m+c,m+"-done",m+f+c,m+f+s]),x.buffer(["newURL"]),b.buffer([u]),g.buffer(["propagate",p,h,"executor-err","resolve"+c]),S.buffer([u,"no-"+u]),a(P,"send-xhr"+c),a(T,"xhr-resolved"),a(T,"xhr-done"),a(R,m+c),a(R,m+"-done"),x.on("pushState-end",i),x.on("replaceState-end",i),j("hashchange",i,!0),j("load",i,!0),j("popstate",function(){i(0,C>1)},!0)}},{}],5:[function(t,e,n){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(12),c=t(11),s="learResourceTimings",f="addEventListener",u="resourcetimingbufferfull",d="bstResource",p="resource",h="-start",l="-end",m="fn"+h,v="fn"+l,w="bstTimer",y="pushState",b=t("loader");b.features.stn=!0,t(8);var g=NREUM.o.EV;o.on(m,function(t,e){var n=t[0];n instanceof g&&(this.bstStart=b.now())}),o.on(v,function(t,e){var n=t[0];n instanceof g&&i("bst",[n,e,this.bstStart,b.now()])}),a.on(m,function(t,e,n){this.bstStart=b.now(),this.bstType=n}),a.on(v,function(t,e){i(w,[e,this.bstStart,b.now(),this.bstType])}),c.on(m,function(){this.bstStart=b.now()}),c.on(v,function(t,e){i(w,[e,this.bstStart,b.now(),"requestAnimationFrame"])}),o.on(y+h,function(t){this.time=b.now(),this.startPath=location.pathname+location.hash}),o.on(y+l,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),f in window.performance&&(window.performance["c"+s]?window.performance[f](u,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["c"+s]()},!1):window.performance[f]("webkit"+u,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["webkitC"+s]()},!1)),document[f]("scroll",r,{passive:!0}),document[f]("keypress",r,!1),document[f]("click",r,!1)}},{}],6:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){c.inPlace(t,[u,d],"-",i)}function i(t,e){return t[1]}var a=t("ee").get("events"),c=t(22)(a,!0),s=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";e.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,e){var n=t[1],r=s(n,"nr@wrapped",function(){function t(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,"function":n}[typeof n];return e?c(e,"fn-",null,e.name||"anonymous"):n});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],7:[function(t,e,n){function r(t,e,n){var r=t[e];"function"==typeof r&&(t[e]=function(){var t=r.apply(this,arguments);return o.emit(n+"start",arguments,t),t.then(function(e){return o.emit(n+"end",[null,e],t),e},function(e){throw o.emit(n+"end",[e],t),e})})}var o=t("ee").get("fetch"),i=t(19);e.exports=o;var a=window,c="fetch-",s=c+"body-",f=["arrayBuffer","blob","json","text","formData"],u=a.Request,d=a.Response,p=a.fetch,h="prototype";u&&d&&p&&(i(f,function(t,e){r(u[h],e,s),r(d[h],e,s)}),r(a,"fetch",c),o.on(c+"end",function(t,e){var n=this;e?e.clone().arrayBuffer().then(function(t){n.rxSize=t.byteLength,o.emit(c+"done",[null,e],n)}):o.emit(c+"done",[t],n)}))},{}],8:[function(t,e,n){var r=t("ee").get("history"),o=t(22)(r);e.exports=r,o.inPlace(window.history,["pushState","replaceState"],"-")},{}],9:[function(t,e,n){var r=t("ee").get("mutation"),o=t(22)(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],10:[function(t,e,n){function r(t){var e=a.context(),n=c(t,"executor-",e),r=new f(n);return a.context(r).getCtx=function(){return e},a.emit("new-promise",[r,e],e),r}function o(t,e){return e}var i=t(22),a=t("ee").get("promise"),c=i(a),s=t(19),f=NREUM.o.PR;e.exports=a,f&&(window.Promise=r,["all","race"].forEach(function(t){var e=f[t];f[t]=function(n){function r(t){return function(){a.emit("propagate",[null,!o],i),o=o||!t}}var o=!1;s(n,function(e,n){Promise.resolve(n).then(r("all"===t),r(!1))});var i=e.apply(f,arguments),c=f.resolve(i);return c}}),["resolve","reject"].forEach(function(t){var e=f[t];f[t]=function(t){var n=e.apply(f,arguments);return t!==n&&a.emit("propagate",[t,!0],n),n}}),f.prototype["catch"]=function(t){return this.then(null,t)},f.prototype=Object.create(f.prototype,{constructor:{value:r}}),s(Object.getOwnPropertyNames(f),function(t,e){try{r[e]=f[e]}catch(n){}}),a.on("executor-start",function(t){t[0]=c(t[0],"resolve-",this),t[1]=c(t[1],"resolve-",this)}),a.on("executor-err",function(t,e,n){t[1](n)}),c.inPlace(f.prototype,["then"],"then-",o),a.on("then-start",function(t,e){this.promise=e,t[0]=c(t[0],"cb-",this),t[1]=c(t[1],"cb-",this)}),a.on("then-end",function(t,e,n){this.nextPromise=n;var r=this.promise;a.emit("propagate",[r,!0],n)}),a.on("cb-end",function(t,e,n){a.emit("propagate",[n,!0],this.nextPromise)}),a.on("propagate",function(t,e,n){this.getCtx&&!e||(this.getCtx=function(){if(t instanceof Promise)var e=a.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=function(){return""+f})},{}],11:[function(t,e,n){var r=t("ee").get("raf"),o=t(22)(r),i="equestAnimationFrame";e.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],12:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],"fn-",null,n)}function o(t,e,n){this.method=n,this.timerDuration="number"==typeof t[1]?t[1]:0,t[0]=a(t[0],"fn-",this,n)}var i=t("ee").get("timer"),a=t(22)(i),c="setTimeout",s="setInterval",f="clearTimeout",u="-start",d="-";e.exports=i,a.inPlace(window,[c,"setImmediate"],c+d),a.inPlace(window,[s],s+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(s+u,r),i.on(c+u,o)},{}],13:[function(t,e,n){function r(t,e){d.inPlace(e,["onreadystatechange"],"fn-",c)}function o(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,v,"fn-",c)}function i(t){w.push(t),l&&(b=-b,g.data=b)}function a(){for(var t=0;t<w.length;t++)r([],w[t]);w.length&&(w=[])}function c(t,e){return e}function s(t,e){for(var n in t)e[n]=t[n];return e}t(6);var f=t("ee"),u=f.get("xhr"),d=t(22)(u),p=NREUM.o,h=p.XHR,l=p.MO,m="readystatechange",v=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],w=[];e.exports=u;var y=window.XMLHttpRequest=function(t){var e=new h(t);try{u.emit("new-xhr",[e],e),e.addEventListener(m,o,!1)}catch(n){try{u.emit("internal-error",[n])}catch(r){}}return e};if(s(h,y),y.prototype=h.prototype,d.inPlace(y.prototype,["open","send"],"-xhr-",c),u.on("send-xhr-start",function(t,e){r(t,e),i(e)}),u.on("open-xhr-start",r),l){var b=1,g=document.createTextNode(b);new l(a).observe(g,{characterData:!0})}else f.on("fn-end",function(t){t[0]&&t[0].type===m||a()})},{}],14:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<d;r++)t.removeEventListener(u[r],this.listener,!1);if(!e.aborted){if(n.duration=a.now()-this.startTime,4===t.readyState){e.status=t.status;var i=o(t,this.lastSize);if(i&&(n.rxSize=i),this.sameOrigin){var s=t.getResponseHeader("X-NewRelic-App-Data");s&&(e.cat=s.split(", ").pop())}}else e.status=0;n.cbTime=this.cbTime,f.emit("xhr-done",[t],t),c("xhr",[e,n,this.startTime])}}}function o(t,e){var n=t.responseType;if("json"===n&&null!==e)return e;var r="arraybuffer"===n||"blob"===n||"json"===n?t.response:t.responseText;return l(r)}function i(t,e){var n=s(e),r=t.params;r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.sameOrigin=n.sameOrigin}var a=t("loader");if(a.xhrWrappable){var c=t("handle"),s=t(15),f=t("ee"),u=["load","error","abort","timeout"],d=u.length,p=t("id"),h=t(18),l=t(17),m=window.XMLHttpRequest;a.features.xhr=!0,t(13),f.on("new-xhr",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,h&&(h>34||h<10)||window.opera||t.addEventListener("progress",function(t){e.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),f.on("send-xhr-start",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=l(r);i&&(n.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"===t.type&&(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof e.onload))&&o.end(e)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}};for(var c=0;c<d;c++)e.addEventListener(u[c],this.listener,!1)}),f.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),f.on("xhr-load-added",function(t,e){var n=""+p(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,e){var n=""+p(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],e)}),f.on("removeEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],e)}),f.on("fn-start",function(t,e,n){e instanceof m&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,e){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,e],e)})}},{}],15:[function(t,e,n){e.exports=function(t){var e=document.createElement("a"),n=window.location,r={};e.href=t,r.port=e.port;var o=e.href.split("://");!r.port&&o[1]&&(r.port=o[1].split("/")[0].split("@").pop().split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=e.hostname||n.hostname,r.pathname=e.pathname,r.protocol=o[0],"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname);var i=!e.protocol||":"===e.protocol||e.protocol===n.protocol,a=e.hostname===document.domain&&e.port===n.port;return r.sameOrigin=i&&(!e.hostname||a),r}},{}],16:[function(t,e,n){function r(){}function o(t,e,n){return function(){return i(t,[f.now()].concat(c(arguments)),e?null:this,n),e?void 0:this}}var i=t("handle"),a=t(19),c=t(20),s=t("ee").get("tracer"),f=t("loader"),u=NREUM;"undefined"==typeof window.newrelic&&(newrelic=u);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],p="api-",h=p+"ixn-";a(d,function(t,e){u[e]=o(p+e,!0,"api")}),u.addPageAction=o(p+"addPageAction",!0),u.setCurrentRouteName=o(p+"routeName",!0),e.exports=newrelic,u.interaction=function(){return(new r).get()};var l=r.prototype={createTracer:function(t,e){var n={},r=this,o="function"==typeof e;return i(h+"tracer",[f.now(),t,n],r),function(){if(s.emit((o?"":"no-")+"fn-start",[f.now(),r,o],n),o)try{return e.apply(this,arguments)}finally{s.emit("fn-end",[f.now()],n)}}}};a("setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){l[e]=o(h+e)}),newrelic.noticeError=function(t){"string"==typeof t&&(t=new Error(t)),i("err",[t,f.now()])}},{}],17:[function(t,e,n){e.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],18:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),e.exports=r},{}],19:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],20:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=r},{}],21:[function(t,e,n){e.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],22:[function(t,e,n){function r(t){return!(t&&t instanceof Function&&t.apply&&!t[a])}var o=t("ee"),i=t(20),a="nr@original",c=Object.prototype.hasOwnProperty,s=!1;e.exports=function(t,e){function n(t,e,n,o){function nrWrapper(){var r,a,c,s;try{a=this,r=i(arguments),c="function"==typeof n?n(r,a):n||{}}catch(f){p([f,"",[r,a,o],c])}u(e+"start",[r,a,o],c);try{return s=t.apply(a,r)}catch(d){throw u(e+"err",[r,a,d],c),d}finally{u(e+"end",[r,a,s],c)}}return r(t)?t:(e||(e=""),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,e,o,i){o||(o="");var a,c,s,f="-"===o.charAt(0);for(s=0;s<e.length;s++)c=e[s],a=t[c],r(a)||(t[c]=n(a,f?c+o:o,i,c))}function u(n,r,o){if(!s||e){var i=s;s=!0;try{t.emit(n,r,o,e)}catch(a){p([a,n,r,o])}s=i}}function d(t,e){if(Object.defineProperty&&Object.keys)try{var n=Object.keys(t);return n.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(r){p([r])}for(var o in t)c.call(t,o)&&(e[o]=t[o]);return e}function p(e){try{t.emit("internal-error",e)}catch(n){}}return t||(t=o),n.inPlace=f,n.flag=a,n}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?s(t,c,i):i()}function n(n,r,o,i){if(!p.aborted||i){t&&t(n,r,o);for(var a=e(o),c=l(n),s=c.length,f=0;f<s;f++)c[f].apply(a,r);var d=u[y[n]];return d&&d.push([b,n,r,a]),a}}function h(t,e){w[t]=l(t).concat(e)}function l(t){return w[t]||[]}function m(t){return d[t]=d[t]||o(n)}function v(t,e){f(t,function(t,n){e=e||"feature",y[n]=e,e in u||(u[e]=[])})}var w={},y={},b={on:h,emit:n,get:m,listeners:l,context:e,buffer:v,abort:a,aborted:!1};return b}function i(){return new r}function a(){(u.api||u.feature)&&(p.aborted=!0,u=p.backlog={})}var c="nr@context",s=t("gos"),f=t(19),u={},d={},p=e.exports=o();p.backlog=u},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t("ee").get("handle");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!x++){var t=g.info=NREUM.info,e=p.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return u.abort();f(y,function(e,n){t[e]||(t[e]=n)}),s("mark",["onload",a()+g.offset],null,"api");var n=p.createElement("script");n.src="https://"+t.agent,e.parentNode.insertBefore(n,e)}}function o(){"complete"===p.readyState&&i()}function i(){s("mark",["domContent",a()+g.offset],null,"api")}function a(){return E.exists&&performance.now?Math.round(performance.now()):(c=Math.max((new Date).getTime(),c))-g.offset}var c=(new Date).getTime(),s=t("handle"),f=t(19),u=t("ee"),d=window,p=d.document,h="addEventListener",l="attachEvent",m=d.XMLHttpRequest,v=m&&m.prototype;NREUM.o={ST:setTimeout,CT:clearTimeout,XHR:m,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var w=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-spa-1026.min.js"},b=m&&v&&v[h]&&!/CriOS/.test(navigator.userAgent),g=e.exports={offset:c,now:a,origin:w,features:{},xhrWrappable:b};t(16),p[h]?(p[h]("DOMContentLoaded",i,!1),d[h]("load",r,!1)):(p[l]("onreadystatechange",o),d[l]("onload",r)),s("mark",["firstbyte",c],null,"api");var x=0,E=t(21)},{}]},{},["loader",2,14,5,3,4]); ;NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"148b715503",applicationID:"10357565",sa:1} </script><script> // NaN_api = [[app_id, user_id], [type, name, value, extra]]; if (typeof NaN_api === 'undefined' || NaN_api === null) { NaN_api = [ [375942, app.user.custNo] ]; } </script><script type="text/javascript"> (function(app){ app.constants = {"AVAIL_STATUS_IN_STOCK":"IN_STOCK","AVAIL_STATUS_PREORDER":"PREORDER","AVAIL_STATUS_BACKORDER":"BACKORDER","AVAIL_STATUS_NOT_AVAILABLE":"NOT_AVAILABLE","PI_METHOD_GIFT_CERTIFICATE":"GIFT_CERTIFICATE","FACEBOOK_APP_ID":"292983597568491"}; app.resources = {"SHIP_QualifiesFor":"This shipment qualifies for","CC_LOAD_ERROR":"Couldn't load credit card!","REG_ADDR_ERROR":"Couldn't Load Address","BONUS_PRODUCT":"Bonus Product","BONUS_PRODUCTS":"Bonus Product(s)","SELECT_BONUS_PRODUCTS":"Select {0} Bonus Product(s)","SELECT_BONUS_PRODUCT":"Select","BONUS_PRODUCT_MAX":"The maximum number of bonus products have been selected. Please remove one in order to add additional bonus products.","SIMPLE_SEARCH":"Enter Keyword or Item #","SUBSCRIBE_EMAIL_DEFAULT":"Email Address","CURRENCY_SYMBOL":"$","MISSINGVAL":"Please Enter {0}","SERVER_ERROR":"Server connection failed!","MISSING_LIB":"jQuery is undefined.","BAD_RESPONSE":"Bad response, Parser error","INVALID_PHONE":"Please specify a valid phone number.","INVALID_POSTAL":"Please specify a valid postal code.","INVALID_EMAIL":"This doesn't appear to be an email address.","REMOVE":"Remove","QTY":"Qty","EMPTY_IMG_ALT":"Remove","COMPARE_BUTTON_LABEL":"Compare Items","COMPARE_CONFIRMATION":"This will remove the first product added to compare. Is that OK?","COMPARE_REMOVE_FAIL":"Unable to remove item from list","COMPARE_ADD_FAIL":"Unable to add item to list","ADD_TO_CART_FAIL":"Unable to add item '{0}' to your bag","REGISTRY_SEARCH_ADVANCED_CLOSE":"Close Advanced Search","GIFT_CERT_INVALID":"Invalid Gift Card Information","GIFT_CERT_BALANCE":"Your current gift certificate balance is ","GIFT_CERT_AMOUNT_INVALID":"Gift Certificate can only be purchased with a minimum of $5 and maximum of $5000","GIFT_CERT_MISSING":"Please enter your gift card number.","GIFT_CERT_PIN_MISSING":"Please enter a gift certificate PIN.","COUPON_CODE_MISSING":"Please Enter a Promotional Code.","COOKIES_DISABLED":"Your browser currently is not set to accept Cookies. Please turn it on or check if you have another program set to block cookies.","BML_AGREE_TO_TERMS":"You need to agree to the terms and conditions by activating this checkbox.","CHAR_LIMIT_MSG":"You have {0} characters left out of {1}","CONFIRM_DELETE":"Do you want to remove this {0}?","TITLE_GIFTREGISTRY":"gift registry","TITLE_ADDRESS":"address","TITLE_CREDITCARD":"credit card","SERVER_CONNECTION_ERROR":"Server connection failed!","IN_STOCK_DATE":"The expected in-stock date is {0}.","INIFINITESCROLL":"Show All","STORE_NEAR_YOU":"What's available at a store near you","SELECT_STORE":"Select Store","SELECTED_STORE":"Selected Store","PREFERRED_STORE":"Preferred Store","SET_PREFERRED_STORE":"Set Preferred Store","ENTER_ZIP":"Enter Zip Code","INVALID_ZIP":"Please enter a valid Zip Code","SEARCH":"Search","CHANGE_LOCATION":"Change Location","CONTINUE_WITH_STORE":"Continue with preferred store","CONTINUE":"Continue","SEE_MORE":"See More Stores","SEE_LESS":"See Less Stores","ADDTOCART":"Add to My Bag","DISABLEDCARTMESSAGE":"Please select size/color","DISABLEDGCCARTMESSAGE":"Please select an amount","VARIATIONLIMITMESSAGE":"Sorry, you are limited to purchase up to 2 pairs of the same shoe in the same color.","SHARE_MESSAGE":"Shop M.Gemi","JOINWAITLIST":"Join the Wait List","CONFIRMWAITLIST":"Thank you","WAITLISTED":"Waitlisted","THANK_YOU":"Successo!","SITE_LOCALE":"default","AMPLIENCE_CDN":"https://cdn-media.amplience.com/mgemi/","IN_STOCK":"In Stock","QTY_IN_STOCK":"{0} Item(s) In Stock","PREORDER":"Pre-Order","QTY_PREORDER":"{0} item(s) are available for pre-order.","REMAIN_PREORDER":"The remaining items are available for pre-order.","BACKORDER":"Back Order","QTY_BACKORDER":"Back Order {0} item(s)","REMAIN_BACKORDER":"The remaining items are available on back order.","NOT_AVAILABLE":"This item is currently not available.","REMAIN_NOT_AVAILABLE":"The remaining items are currently not available. Please adjust the quantity."}; app.urls = {"appResources":"/on/demandware.store/Sites-mgemi-Site/default/Resources-Load","pageInclude":"/on/demandware.store/Sites-mgemi-Site/default/Page-Include","continueUrl":"http://mgemi.com/search/?dwcont=C815150910","staticPath":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/","addGiftCert":"/e-gift-card/","minicartGC":"/on/demandware.store/Sites-mgemi-Site/default/GiftCert-ShowMiniCart","addProduct":"/on/demandware.store/Sites-mgemi-Site/default/Cart-AddProduct","minicart":"/on/demandware.store/Sites-mgemi-Site/default/Cart-MiniAddProduct","cartShow":"/cart/","giftRegAdd":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Address-GetAddressDetails?addressID=","paymentsList":"https://mgemi.com/wallet/","addressesList":"https://mgemi.com/addressbook/","wishlistAddress":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Wishlist-SetShippingAddress","deleteAddress":"/on/demandware.store/Sites-mgemi-Site/default/Address-Delete","getProductUrl":"/on/demandware.store/Sites-mgemi-Site/default/Product-Show","getBonusProducts":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetBonusProducts","addBonusProduct":"/on/demandware.store/Sites-mgemi-Site/default/Cart-AddBonusProduct","getSetItem":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetSetItem","productDetail":"/on/demandware.store/Sites-mgemi-Site/default/Product-Detail","getAvailability":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetAvailability","removeImg":"/on/demandware.static/Sites-mgemi-Site/-/default/dwc8e53f09/images/interface/icon_remove.gif","searchsuggest":"/on/demandware.store/Sites-mgemi-Site/default/Search-GetSuggestions","productNav":"/on/demandware.store/Sites-mgemi-Site/default/Product-Productnav","summaryRefreshURL":"/on/demandware.store/Sites-mgemi-Site/default/COBilling-UpdateSummary","billingSelectCC":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-SelectCreditCard","updateAddressDetails":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-UpdateAddressDetails","updateAddressDetailsBilling":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-UpdateAddressDetails","shippingMethodsJSON":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-GetApplicableShippingMethodsJSON","shippingMethodsList":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-UpdateShippingMethodList","selectShippingMethodsList":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-SelectShippingMethod","resetPaymentForms":"/on/demandware.store/Sites-mgemi-Site/default/COBilling-ResetPaymentForms","compareShow":"/on/demandware.store/Sites-mgemi-Site/default/Compare-Show","compareAdd":"/on/demandware.store/Sites-mgemi-Site/default/Compare-AddProduct","compareRemove":"/on/demandware.store/Sites-mgemi-Site/default/Compare-RemoveProduct","compareEmptyImage":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/images/comparewidgetempty.png","giftCardCheckBalance":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-GetGiftCertificateBalance","addCoupon":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Cart-AddCoupon","powerReviewsFullJs":"/on/demandware.static/-/Sites-mgemi-storefront-catalog-us/default/v1516402253318/pwr/engine/js/full.js","powerReviewsZip":"/on/demandware.static/-/Sites-mgemi-storefront-catalog-us/default/v1516402253318","storeLocatorPage":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Find","storesInventory":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Inventory","storesLookup":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Lookup","setPreferredStore":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-SetPreferredStore","getPreferredStore":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-GetPreferredStore","setZipCode":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-SetZipCode","getZipCode":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-GetZipCode","billing":"/billing/","currencyConverter":"/on/demandware.store/Sites-mgemi-Site/default/Currency-SetSessionCurrency","productMasterJSON":"/on/demandware.store/Sites-mgemi-Site/default/Product-DetailJSON","productVariationJSON":"/on/demandware.store/Sites-mgemi-Site/default/Product-VariationJSON","productZoom":"/on/demandware.store/Sites-mgemi-Site/default/Product-Zoom","productDayNight":"/on/demandware.store/Sites-mgemi-Site/default/Product-DayNight","waitlist":"/on/demandware.store/Sites-mgemi-Site/default/Product-Waitlist","accountShow":"https://mgemi.com/account/","lookupPostal":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/USPS-Lookup","getProductVariantImages":"/on/demandware.store/Sites-mgemi-Site/default/ProductImages-GetVariantImages","getReferralData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetPhaseOneReferralData","getAnniversaryReferralData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetAnniversaryReferralData","getMensPreLaunchRefData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetMensPreLaunchReferralData","referralSignup":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-ReferralSignup","postIterableEvent":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-PostEvent","getSvg":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Svg-Get","addToNewsletter":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-AddToNewsletter","removeFromNewsletter":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-RemoveFromNewsletter","default":"/on/demandware.store/Sites-mgemi-Site/default","smoochScript":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/vendor/rep.js","renderSubscriptionPreferenceCenterModal":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/SubscriptionPreferenceCenter-RenderModal","toggleSubscriptionsFromOptOutModal":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/OptOutSurvey-ToggleSubscriptionsFromModal","handlebarsRender":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Handlebars-Render"}; app.clientcache = {"LISTING_INFINITE_SCROLL":true,"LISTING_REFINE_SORT":true,"LISTING_SEARCHSUGGEST_LEGACY":false}; app.instanceSettings = {"enableNewsletterPopup":true,"amplienceImageUrl":"//i1.adis.ws/i/mgemi/"}; app.user = app.user || {}; app.queryParams = {"cgid":"mens-shoes"}; var userSettings = {"zip":null,"storeId":null}; for(var userSetting in userSettings) { app.user[userSetting] = userSettings[userSetting]; } app.enabledStorePickup = false; app.settings.put({}); }(window.app = window.app || {}));</script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/lib/media.match.min.js" type="text/javascript"></script><script src="//connect.facebook.net/en_US/all.js"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/unified-min.js"></script><script>app.page.setContext({"title":"Product Search Results","type":"search","ns":"search"});</script><script> var meta = "Premium handcrafted casual and dress shoes. Direct from Italy at postluxury prices. Fast, free shipping &amp; returns."; var keywords = ""; </script><script> // dimension value is "mens" if user visited mens page, "womens" if user visited womens page, // "mixed" if user visited both mens and womens pages, and "unattributed" otherwise var dimensionValue = 'unattributed'; if(app.user.visitedMalePage && app.user.visitedFemalePage) { dimensionValue = 'mixed'; } else if(app.user.visitedMalePage) { dimensionValue = 'mens'; } else if(app.user.visitedFemalePage) { dimensionValue = 'womens'; } ga('set', 'dimension13', dimensionValue); </script><script> ga('set', 'dimension14', window.innerWidth + ',' + window.innerHeight); </script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/js/browserDetection.js"></script><script type="text/javascript">//<!-- /* <![CDATA[ */ function trackPage() { try{ var trackingUrl = "http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/__Analytics-Tracking"; var dwAnalytics = dw.__dwAnalytics.getTracker(trackingUrl); if (typeof dw.ac == "undefined") { dwAnalytics.trackPageView(); } else { dw.ac.setDWAnalytics(dwAnalytics); } }catch(err) {}; } /* ]]> */ // --> </script><script type="text/javascript" src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/internal/jscript/dwanalytics-16.9.js" async="async" onload="trackPage()"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516402253318/internal/jscript/dwac-16.9.js" type="text/javascript" async="async"></script><script src="https://cdn.cquotient.com/js/v2/gretel.min.js" type="text/javascript" async="async"></script><script> var styles = [ 'background: #fff url("http://tools.mgemi.com/images/secondary_logo.png") 0 0 no-repeat;' , 'color: #29292a' , 'display: block' , 'text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3)' , 'background-size: 26px' , 'padding:10px 20px' , 'line-height: 33px' , 'text-align: center' , 'font-weight: bold' ].join(';'); console.log("%c Ciao! Clearly, you're someone who sweats the details. We love that! Come join our engineering team! Email us : careers@mgemi.com", styles); </script><script> /*! lazysizes - v4.0.0-rc1 */ !function(a,b){var c=b(a,a.document);a.lazySizes=c,"object"==typeof module&&module.exports&&(module.exports=c)}(window,function(a,b){"use strict";if(b.getElementsByClassName){var c,d,e=b.documentElement,f=a.Date,g=a.HTMLPictureElement,h="addEventListener",i="getAttribute",j=a[h],k=a.setTimeout,l=a.requestAnimationFrame||k,m=a.requestIdleCallback,n=/^picture$/i,o=["load","error","lazyincluded","_lazyloaded"],p={},q=Array.prototype.forEach,r=function(a,b){return p[b]||(p[b]=new RegExp("(\\s|^)"+b+"(\\s|$)")),p[b].test(a[i]("class")||"")&&p[b]},s=function(a,b){r(a,b)||a.setAttribute("class",(a[i]("class")||"").trim()+" "+b)},t=function(a,b){var c;(c=r(a,b))&&a.setAttribute("class",(a[i]("class")||"").replace(c," "))},u=function(a,b,c){var d=c?h:"removeEventListener";c&&u(a,b),o.forEach(function(c){a[d](c,b)})},v=function(a,d,e,f,g){var h=b.createEvent("CustomEvent");return e||(e={}),e.instance=c,h.initCustomEvent(d,!f,!g,e),a.dispatchEvent(h),h},w=function(b,c){var e;!g&&(e=a.picturefill||d.pf)?e({reevaluate:!0,elements:[b]}):c&&c.src&&(b.src=c.src)},x=function(a,b){return(getComputedStyle(a,null)||{})[b]},y=function(a,b,c){for(c=c||a.offsetWidth;c<d.minSize&&b&&!a._lazysizesWidth;)c=b.offsetWidth,b=b.parentNode;return c},z=function(){var a,c,d=[],e=[],f=d,g=function(){var b=f;for(f=d.length?e:d,a=!0,c=!1;b.length;)b.shift()();a=!1},h=function(d,e){a&&!e?d.apply(this,arguments):(f.push(d),c||(c=!0,(b.hidden?k:l)(g)))};return h._lsFlush=g,h}(),A=function(a,b){return b?function(){z(a)}:function(){var b=this,c=arguments;z(function(){a.apply(b,c)})}},B=function(a){var b,c=0,d=125,e=666,g=e,h=function(){b=!1,c=f.now(),a()},i=m?function(){m(h,{timeout:g}),g!==e&&(g=e)}:A(function(){k(h)},!0);return function(a){var e;(a=a===!0)&&(g=44),b||(b=!0,e=d-(f.now()-c),0>e&&(e=0),a||9>e&&m?i():k(i,e))}},C=function(a){var b,c,d=99,e=function(){b=null,a()},g=function(){var a=f.now()-c;d>a?k(g,d-a):(m||e)(e)};return function(){c=f.now(),b||(b=k(g,d))}},D=function(){var c,g,l,m,o,p,y,D,F,G,H,I,J,K,L,M=/^img$/i,N=/^iframe$/i,O="onscroll"in a&&!/glebot/.test(navigator.userAgent),P=0,Q=0,R=0,S=-1,T=function(a){R--,a&&a.target&&u(a.target,T),(!a||0>R||!a.target)&&(R=0)},U=function(a,c){var d,f=a,g="hidden"==x(b.body,"visibility")||"hidden"!=x(a,"visibility");for(F-=c,I+=c,G-=c,H+=c;g&&(f=f.offsetParent)&&f!=b.body&&f!=e;)g=(x(f,"opacity")||1)>0,g&&"visible"!=x(f,"overflow")&&(d=f.getBoundingClientRect(),g=H>d.left&&G<d.right&&I>d.top-1&&F<d.bottom+1);return g},V=function(){var a,f,h,j,k,m,n,p,q;if((o=d.loadMode)&&8>R&&(a=c.length)){f=0,S++,null==K&&("expand"in d||(d.expand=e.clientHeight>500&&e.clientWidth>500?500:370),J=d.expand,K=J*d.expFactor),K>Q&&1>R&&S>2&&o>2&&!b.hidden?(Q=K,S=0):Q=o>1&&S>1&&6>R?J:P;for(;a>f;f++)if(c[f]&&!c[f]._lazyRace)if(O)if((p=c[f][i]("data-expand"))&&(m=1*p)||(m=Q),q!==m&&(y=innerWidth+m*L,D=innerHeight+m,n=-1*m,q=m),h=c[f].getBoundingClientRect(),(I=h.bottom)>=n&&(F=h.top)<=D&&(H=h.right)>=n*L&&(G=h.left)<=y&&(I||H||G||F)&&(d.loadHidden||"hidden"!=x(c[f],"visibility"))&&(l&&3>R&&!p&&(3>o||4>S)||U(c[f],m))){if(ba(c[f]),k=!0,R>9)break}else!k&&l&&!j&&4>R&&4>S&&o>2&&(g[0]||d.preloadAfterLoad)&&(g[0]||!p&&(I||H||G||F||"auto"!=c[f][i](d.sizesAttr)))&&(j=g[0]||c[f]);else ba(c[f]);j&&!k&&ba(j)}},W=B(V),X=function(a){s(a.target,d.loadedClass),t(a.target,d.loadingClass),u(a.target,Z),v(a.target,"lazyloaded")},Y=A(X),Z=function(a){Y({target:a.target})},$=function(a,b){try{a.contentWindow.location.replace(b)}catch(c){a.src=b}},_=function(a){var b,c=a[i](d.srcsetAttr);(b=d.customMedia[a[i]("data-media")||a[i]("media")])&&a.setAttribute("media",b),c&&a.setAttribute("srcset",c)},aa=A(function(a,b,c,e,f){var g,h,j,l,o,p;(o=v(a,"lazybeforeunveil",b)).defaultPrevented||(e&&(c?s(a,d.autosizesClass):a.setAttribute("sizes",e)),h=a[i](d.srcsetAttr),g=a[i](d.srcAttr),f&&(j=a.parentNode,l=j&&n.test(j.nodeName||"")),p=b.firesLoad||"src"in a&&(h||g||l),o={target:a},p&&(u(a,T,!0),clearTimeout(m),m=k(T,2500),s(a,d.loadingClass),u(a,Z,!0)),l&&q.call(j.getElementsByTagName("source"),_),h?a.setAttribute("srcset",h):g&&!l&&(N.test(a.nodeName)?$(a,g):a.src=g),f&&(h||l)&&w(a,{src:g})),a._lazyRace&&delete a._lazyRace,t(a,d.lazyClass),z(function(){(!p||a.complete&&a.naturalWidth>1)&&(p?T(o):R--,X(o))},!0)}),ba=function(a){var b,c=M.test(a.nodeName),e=c&&(a[i](d.sizesAttr)||a[i]("sizes")),f="auto"==e;(!f&&l||!c||!a[i]("src")&&!a.srcset||a.complete||r(a,d.errorClass))&&(b=v(a,"lazyunveilread").detail,f&&E.updateElem(a,!0,a.offsetWidth),a._lazyRace=!0,R++,aa(a,b,f,e,c))},ca=function(){if(!l){if(f.now()-p<999)return void k(ca,999);var a=C(function(){d.loadMode=3,W()});l=!0,d.loadMode=3,W(),j("scroll",function(){3==d.loadMode&&(d.loadMode=2),a()},!0)}};return{_:function(){p=f.now(),c=b.getElementsByClassName(d.lazyClass),g=b.getElementsByClassName(d.lazyClass+" "+d.preloadClass),L=d.hFac,j("scroll",W,!0),j("resize",W,!0),a.MutationObserver?new MutationObserver(W).observe(e,{childList:!0,subtree:!0,attributes:!0}):(e[h]("DOMNodeInserted",W,!0),e[h]("DOMAttrModified",W,!0),setInterval(W,999)),j("hashchange",W,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(a){b[h](a,W,!0)}),/d$|^c/.test(b.readyState)?ca():(j("load",ca),b[h]("DOMContentLoaded",W),k(ca,2e4)),c.length?(V(),z._lsFlush()):W()},checkElems:W,unveil:ba}}(),E=function(){var a,c=A(function(a,b,c,d){var e,f,g;if(a._lazysizesWidth=d,d+="px",a.setAttribute("sizes",d),n.test(b.nodeName||""))for(e=b.getElementsByTagName("source"),f=0,g=e.length;g>f;f++)e[f].setAttribute("sizes",d);c.detail.dataAttr||w(a,c.detail)}),e=function(a,b,d){var e,f=a.parentNode;f&&(d=y(a,f,d),e=v(a,"lazybeforesizes",{width:d,dataAttr:!!b}),e.defaultPrevented||(d=e.detail.width,d&&d!==a._lazysizesWidth&&c(a,f,e,d)))},f=function(){var b,c=a.length;if(c)for(b=0;c>b;b++)e(a[b])},g=C(f);return{_:function(){a=b.getElementsByClassName(d.autosizesClass),j("resize",g)},checkElems:g,updateElem:e}}(),F=function(){F.i||(F.i=!0,E._(),D._())};return function(){var b,c={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0};d=a.lazySizesConfig||a.lazysizesConfig||{};for(b in c)b in d||(d[b]=c[b]);a.lazySizesConfig=d,k(function(){d.init&&F()})}(),c={cfg:d,autoSizer:E,loader:D,init:F,uP:w,aC:s,rC:t,hC:r,fire:v,gW:y,rAF:z}}}); </script><script src="//code.jquery.com/jquery-1.7.1.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js" type="text/javascript"></script><script>var app={};</script><script> app.isProduction = true; app.isStaging = false; app.isDevelopment = false; </script><script> // Contains page data app.page = app.page || {}; app.page.gender = "female"; app.page.id = "moccasins"; app.page.isProduct = false; app.page.isCategory = true; app.page.isContent = false; app.page.isCustom = false; app.page.productCategories = []; app.page.customAttrs = {}; // Attributes specific to other templates can be added here // Add vendor specific data to this object window.vendorSupport = {}; </script><script> app.util = app.util || {}; /* * http://youmightnotneedjquery.com/#ready * We should probably look for other isml files that contain $('document').ready(function(){}); and $(function(){}) * and replace it with a non-jquery solution */ app.util.ready = function(fn) { if (document.readyState != 'loading'){ fn(); } else if (document.addEventListener) { document.addEventListener('DOMContentLoaded', fn); } else { document.attachEvent('onreadystatechange', function() { if (document.readyState != 'loading') fn(); }); } } </script><script> (function(app) { // Event Manager class function EventManager() { this.events = {}; } // Fire callback once. If event has alrady been triggered, fire immediately EventManager.prototype.once = function (event, callback) { if (typeof event === 'string' && typeof callback === 'function') { this._initEvent(event); if (this.events[event].triggered) { callback.apply(null, this.events[event].data); } else { this.events[event].onceCallbacks.push(callback); } } return this; } EventManager.prototype._initEvent = function (event) { if (event in this.events) return; this.events[event] = { onCallbacks: [], onceCallbacks: [], triggered: false, data: null }; }; EventManager.prototype.on = function (event, callback) { if (typeof event === 'string' && typeof callback === 'function') { this._initEvent(event); this.events[event].onCallbacks.push(callback); } return this; }; EventManager.prototype.trigger = function (event, data) { this._initEvent(event); this.events[event].onCallbacks.forEach(function (callback) { callback.apply(null, data); }); if (!this.events[event].triggered) { this.events[event].onceCallbacks.forEach(function (callback) { callback.apply(null, data); }); this.events[event].triggered = true; this.events[event].data = data; } }; // Have event managers for each atomic design level var global = new EventManager(); app.events = { EventManager: EventManager, pdp: new EventManager(), trigger: function trigger(event, data) { global.trigger(event, data); }, on: function on(event, callback) { return global.on(event, callback); }, once: function (event, callback) { return global.once(event, callback); } }; })(window.app = window.app || {}); </script><script> (function(app) { app.cookie = { setCookie: function (c_name, value, exdays) { setCookie(c_name, value, exdays); }, getCookie: function (c_name) { return getCookie(c_name); } }; function setCookie(c_name, value, exdays) { var exdate = new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value = escape(value) + ((exdays === null) ? "" : "; expires=" + exdate.toUTCString()) + ";domain=" + window.location.host + ";path=/"; document.cookie = c_name + "=" + c_value; } function getCookie(c_name) { var c_value = document.cookie, c_start = c_value.indexOf(" " + c_name + "="), c_end; if (c_start == -1) { c_start = c_value.indexOf(c_name + "="); } if (c_start == -1) { c_value = null; } else { c_start = c_value.indexOf("=", c_start) + 1; c_end = c_value.indexOf(";", c_start); if (c_end == -1) { c_end = c_value.length; } c_value = unescape(c_value.substring(c_start, c_end)); } return c_value; } })(window.app = window.app || {}); </script><script> // Contains user data app.user = app.user || {}; app.user.custNo = ""; app.user.visitedMalePage = false; app.user.visitedFemalePage = true; app.user.isAnonymous = true; app.user.email = ""; app.user.firstName = ""; app.user.lastName = ""; app.user.smoochUserId = "N2paT2diTEhCSFBrVC0yZ2pNZlM2Qi0yc19udUdwNnkzTFU9MTUxNjU2NDg2NjIxMg=="; app.user.smoochJwt = ""; app.user.gaClientId = null; app.user.sessionId = "7jZOgbLHBHPkT-2gjMfS6B-2s_nuGp6y3LU="; // Use this for general settings you need in your scripts app.settings = (function() { var settings = {}; return { put: function() { if(arguments.length == 2) { var key = arguments[0]; var value = arguments[1]; settings[key] = value; } else { var keyValuePairs = arguments[0]; for(var key in keyValuePairs) { settings[key] = keyValuePairs[key]; } } }, get: function(key, defaultValue) { return typeof(settings[key]) !== 'undefined' ? settings[key] : defaultValue; }, getKeys: function() { return Object.keys(settings); } }; })(); </script><script>app.settings.put('canLiveChat', false);</script><script> (function(app) { app.enabledFeatureFlags = ["newMerchStrat","smooch","inspectlet","mensForAll","talkable","showPiRecommendations","iterableVerboseLogging","returns","exchanges"]; })(window.app = window.app || {}); </script><script>app.sourceCode = null;</script><script> app.cartState = {}; </script><script> app.user.partialUserAuth = { em: "", fn: "", ph: "" }; </script><script> "use strict"; /* Payload Descriptor */ //UNIX timestamp //Visitor UUID //Event Class: Web/iOS/Backend //Event : PageView, AddToBag, Logout //Event Body : data {} //PageView // Use ClickStreamObject here: (function() { $(function(){ var body = document.body; $(window).on('mgemiPDPRender', function(ev, pid, productData) { // TODO: Currently this event is not being fired by gift card pages. Gift card pages // are pretty different from other PDPs and they don't expose the same data. Some parts // of the gift card PDPs need to be refactored so that they're more like the other PDPs. if (!productData.variantInfo) { return; } else { var pdpData = { "remote_address": "157.55.39.253", "host": "mgemi.com", "master_id": productData.masterID, "variant_id": productData.variantInfo.id, "upc": (productData.ID === productData.masterID) ? null : productData.ID, "price": parseInt(productData.price.sale.replace('$', '')), "in_stock": productData.inStock, "available": productData.masterIsSellable && productData.online && productData.inStock, "timestamp_client": Date.now(), "name": productData.name, "custom": { "details": productData.details, "edition": productData.edition, "forced_soldout": productData.forcedSoldout, "is_expired": (productData.isExpired === "yes") ? true : false, "color_code": productData.variantInfo.colorCode, "color_name": productData.variantInfo.colorName, "variation_attributes": _.map(productData.variationAttributes, function (current, ind, original) { return _.assign(current, { values: _.map(current.values, function (curr, x, orig) { return _.omit(curr, ['addToBagClass', 'addToBagText', 'displayValue', 'displayValueRaw', 'swatchClass']); }) }); }) } }; } firePixel('PDPView', pdpData); }); function fireFitPixel(specificdata){ specificdata = specificdata || {}; firePixel('CustomEvent', { "type" : 'FitFinder', "custom" : specificdata, "remote_address": "157.55.39.253", "host": "mgemi.com" }); } $(body).on('fit-assistant-modal-answer-modal-actively-closed', function(){ var data = {}; fireFitPixel({ 'event' : 'fit-assistant-modal-answer-modal-actively-closed' }); }); $(body).on('open-fit-assistant-modal', function(){ var data = {}; fireFitPixel({ 'event' : 'open-fit-assistant-modal' }); }); $(body).on('fit-assistant-modal-step-1', function(e, size){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-1', 'size': size }); }); $(body).on('fit-assistant-modal-step-2', function(e, width){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-2', 'width': width }); }); $(body).on('fit-assistant-modal-step-3', function(e, closet){ var data = {}; fireFitPixel({ 'event': 'fit-assistant-modal-step-3', 'closet-owned': closet }); }); $(body).on('fit-assistant-modal-shop-this-size', function(size){ fireFitPixel({ 'event': 'fit-assistant-modal-shop-this-size', 'size': size }); }); $(window).on('mgemiCheckoutStep', function (ev, checkoutStep, cartData) { firePixel('CheckoutStep', { "remote_address": "157.55.39.253", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516564866112, "checkout_step": checkoutStep, "cart": cartData }); }); $(window).on('mgemiConfirmationLoad', function (ev, order) { firePixel('CheckoutStep', { "remote_address": "157.55.39.253", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516564866112, "checkout_step": 'confirmation', "cart": order.lineItems.map(function (i) { return { "upc": i.sku, "name": i.name, "quantity": i.qty } }), "order_number": order.orderNo }) }); $(window).on('mgemiPDPAddCartClick', function (ev, pid) { firePixel('AddToCart', { "remote_address": "157.55.39.253", "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "host": "mgemi.com", "timestamp_client": Date.now(), "timestamp_server":1516564866112, "upc": pid, "quantity": 1, "source": "mgemiPDPAddCartClick" }); }) app.events.once('userLogin', function (email) { firePixel('AuthEvent', { email: email, method: 'login', remote_address: "157.55.39.253", host: "mgemi.com" }); }); app.events.once('userLogout', function (email) { firePixel('AuthEvent', { email: email, method: 'logout', remote_address: "157.55.39.253", host: "mgemi.com" }); }); $('document').ready(function (e) { var event = {}; var clickStream = { "remote_address": "157.55.39.253", "host": "mgemi.com", "locale": "en_US", "path": "/on/demandware.store/Sites-mgemi-Site/default/Search-Show", "query_string": "cgid=moccasins", "url": window.location.href, "user_agent": "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)", "timestamp_server":1516564866112, "timestamp_client": Date.now(), "referrer": document.referrer, "custom": { "pipeline_name": "Search-Show", "internal_url": "/on/demandware.store/Sites-mgemi-Site/default/Search-Show?cgid=moccasins" } } //holding off on this part. //TODO : make clickStream['referer'] = '' work; event = clickStream; firePixel('PageView', event); }); }); app.events.on('exchangeStepChange', function (data) { let orderProducts = _.get(data.order, 'products') firePixel('CustomEvent', { type: 'Exchanges', remote_address: "157.55.39.253", host: "mgemi.com", custom: { customerEmail: _.get(data.order, 'customer.email'), action: data.action, step: data.screen, orderNo: _.get(data.order, 'orderNo'), returnSku: _.get(data.order, 'products.' + data.returnProductIndex + '.sku'), reason: data.reason, exchangeSku: _.get(data.exchange, 'selectedVariation.id'), validationError: data.validationError, page: data.flow } }); }); function firePixel(eventId, data) { // Can send pixels in dev environments because facebook separates them // Some enhancement to var tryFirePixelInterval = setInterval(tryFirePixel, 2500); tryFirePixel() function tryFirePixel() { var uuid = app.cookie.getCookie('__cq_uuid'); if (uuid == null) { // The uuid is not present yet. It comes from cquotient external library. console.debug("Note: uuid is not present. Delaying sent of launchPixel"); return; } data = data || {}; var partialUsers = JSON.parse(JSON.parse(app.cookie.getCookie('partialUser'))); var partialUser = partialUsers && partialUsers.length > 0 ? partialUsers[0] : false; data.user_uuid = uuid; data.user_id = !!partialUser && !!partialUser.existingUser ? partialUser['id'] : null; data.session_id = "7jZOgbLHBHPkT-2gjMfS6B-2s_nuGp6y3LU="; if (!app.isProduction) { console.debug("launch pixel: ", { eventId: eventId, args: data }); } clearInterval(tryFirePixelInterval); $.ajax({ url: '//api.commersive.io/public/1/track/' + eventId, data: JSON.stringify(data), type: 'POST', crossDomain: true, dataType: "json", contentType: 'application/json', headers: { Authorization: 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiUFVCTElDIiwiaWF0IjoxNDgxMjkzNTY3fQ.BL1UJN1-eNh25hIzpqLWUn9P8nXSQuNsmeBeEkWhWOc' }, error: function () { console.warn('error in sending launch pixel'); }, success: function () { } }); } } })(); </script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/lib/html5.js"></script><script> /* * Simple way to detect when js modules have loaded */ (function(app, $) { var loadedModules = []; var callbacks = {}; app.jsmodule = { load : function(module) { if(this.hasLoaded(module)) { return; } loadedModules.push(module); if(callbacks[module]) { callbacks[module].forEach(function(callback) { callback(); }); delete callbacks[module]; } }, hasLoaded : function(module) { return loadedModules.indexOf(module) > -1; }, onLoad : function(module, callback) { if(this.hasLoaded(module)) { callback(); } else { callbacks[module] || (callbacks[module] = []); callbacks[module].push(callback); } } }; })(window.app = window.app || {}, jQuery); </script><script> (function() { // console.warn('facebook isml loaded'); var inititalized = false; function initFacebook() { !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','//connect.facebook.net/en_US/fbevents.js'); // Insert Your Facebook Pixel ID below. if (!app.user.partialUserAuth.em) { fbq('init', '1379280122373528'); } else { fbq('init', '1379280122373528', { em: app.user.partialUserAuth.em, fn: app.user.partialUserAuth.fn ? app.user.partialUserAuth.fn : undefined, ph: app.user.partialUserAuth.ph ? app.user.partialUserAuth.ph : undefined }); } fbq('track', 'PageView'); } function firePixel(eventId, args, isCustomEvent) { // Can send pixels in dev environments because facebook separates them if(!app.isProduction) { console.debug("facebook pixel: ", { eventId : eventId, args : args }); } if(!inititalized) { initFacebook(); inititalized = true; } var trackType = isCustomEvent ? 'trackCustom' : 'track'; fbq(trackType, eventId, args); } $(window).on('mgemiConfirmationLoad', function(ev, order) { var skus = []; order.lineItems.forEach(function(li) { if(skus.indexOf(li.sku) < 0) { skus.push(li.sku); } }); firePixel('Purchase', { content_ids : skus, content_type : 'product', value : order.subtotal, order_id : order.orderNo, currency : 'USD' }); }); // Fire pixel when user visits cart page $(window).on('mgemiCartLoad', function(ev, order) { var skus = []; order.lineItems.forEach(function(li) { if(skus.indexOf(li.sku) < 0) { skus.push(li.sku); } }); firePixel('InitiateCheckout', { content_ids: skus, num_items: order.lineItems.length, content_type: 'product', value: order.subtotal, currency: 'USD' }); }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { firePixel('AddToCart', { content_name: productData.name, content_ids: [pid], content_type: 'product', value: productData.price, currency: 'USD' }); }); $(window).on('mgemiPDPRender', function(ev, pid, productData) { // Only fire for master products firePixel('ViewContent', { content_name: productData.name, content_category: productData.category, content_ids: [pid], content_type: 'product_group', value: productData.price, currency: 'USD' }); }); $(window).on('mgemiNewsletterSignup', function(ev, json) { if(!json.inMensNewsletter && !json.inWomensNewsletter) { firePixel('Lead', { email : json.email }); } }); $(window).on('mgemiWaitlistAdd', function(event, pid){ firePixel('WaitlistAdd', { content_ids: [pid], content_type: 'product' }, true) }) })(); </script><script> (function() { // console.warn('nanigans isml loaded'); function firePixel(args) { // Can send pixels in dev environments because nanigans separates them if(!app.isProduction) { console.debug("nanigans pixel: ", args); } if (typeof NaN_api === 'undefined' || NaN_api === null) { NaN_api = [ [375942, app.user.custNo] ]; } NaN_api.push(args); } // Initialize nanigans (function() { firePixel(['visit', 'landing']); (function() { var s = document.createElement('script'); s.async = true; s.src = '//cdn.nanigans.com/NaN_tracker.js'; var h = document.getElementsByTagName('head')[0]; h.appendChild(s); })(); })(); $(window).on('mgemiNewsletterSignup', function(ev, json) { if(!json.inMensNewsletter && !json.inWomensNewsletter) { firePixel(['user', 'email_capture', 0, {'ut1': json.emailHash}]); } }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { firePixel(['user', 'add_to_cart', productData.price, { 'qty': '1', 'sku': pid, 'gender': app.page.gender }]); }); (function() { var fired = false; $(window).on('mgemiPDPRender', function(ev, pid, productData) { if(!fired) { // NaN_api = [[app_id, user_id], [type, name, value, extra]]; // Using the push call to prevent loading more calls than needed. firePixel(['user', 'product_view', 0, { 'sku': pid, 'gender': app.page.gender }]); fired = true; } }); })(); // START OF CONFIRMATION PIXEL $(window).on('mgemiConfirmationLoad', function(ev, order) { if(window._) { purchasePixel(); eachPurchasePixel(); } else { jQuery.getScript("https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js") .done(function() { purchasePixel(); eachPurchasePixel(); }); } function purchasePixel() { var hasFemale = false; var hasMale = false; order.lineItems.forEach(function(li) { if(li.gender.toLowerCase() == 'female') { hasFemale = true; } else if(li.gender.toLowerCase() == 'male') { hasMale = true; } }); var nanGender = 'unattributed'; if(hasMale && hasFemale) { nanGender = 'both'; } else if(hasMale) { nanGender = 'mens'; } else if(hasFemale) { nanGender = 'womens'; } // NaN_api = [[app_id, user_id], [type, name, value, extra]]; firePixel(['purchase', 'main', _.pluck(order.lineItems, "adjustedPriceInCents"), { 'qty': _.pluck(order.lineItems, "qty"), 'sku': _.pluck(order.lineItems, "sku"), 'unique': order.orderNo, 'gender': nanGender }]); } // Purchase pixel for each sku function eachPurchasePixel() { var totalPrice = 0; order.lineItems.forEach(function(li) { totalPrice += li.adjustedPriceInCents; }); firePixel(['user', 'checkout', totalPrice, { 'unique':order.orderNo + '_checkout' }]); } }); // END OF CONFIRMATION PIXEL })(); </script><script src="//cdn.taboola.com/libtrc/mgemi/tfa.js" defer></script><script> (function() { $(window).on('mgemiConfirmationLoad', function(ev, order) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',orderid: order.orderNo, name: 'Purchase' }); $('<img src="//trc.taboola.com/mgemi/log/3/mark?marking-type=Suppression&item-url=order-confirmation" width="0" height="0" />').appendTo('body'); }); // Fire pixel when user visits cart page $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',name: 'ATCs' }); }); $(window).on('mgemiNewsletterSignup', function(ev, json) { window._tfa = window._tfa || []; _tfa.push({ notify: 'action',name: 'Leads' }); }); })(); </script><script> (function() { var talkableEnabled = app.enabledFeatureFlags.indexOf('talkable') > -1; if (!talkableEnabled) { return; } function firePixel(eventId, args) { if (!app.isProduction) { console.debug("talkable pixel: ", { eventId : eventId, args : args }); } _talkableq.push([eventId, args]); } // Init talkable (function() { // Get URL params (code from http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript) var urlParams; var match, pl = /\+/g, // Regex for replacing addition symbol with a space search = /([^&=]+)=?([^&]*)/g, decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); }, query = window.location.search.substring(1); urlParams = {}; while (match = search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]); } window._talkableq = window._talkableq || []; firePixel('authenticate_customer', { email: urlParams['talkableAuthEmail'] ? urlParams['talkableAuthEmail'] : app.user.email, first_name: urlParams['talkableAuthFName'] ? urlParams['talkableAuthFName'] : app.user.firstName, last_name: urlParams['talkableAuthLName'] ? urlParams['talkableAuthLName'] : app.user.lastName }); firePixel('register_affiliate', {}); // Use production js library only in prod environment. Use staging js library everywhere else. var s = document.createElement('script'); s.src = '//d2jjzw81hqbuqv.cloudfront.net/integration/clients/m-gemi'; s.src += (!app.isProduction ? '-staging' : '') + '.min.js'; var h = document.getElementsByTagName('head')[0]; h.appendChild(s); })(); $(window).on('mgemiConfirmationLoad', function(ev, order) { firePixel('register_purchase', { purchase: { order_number: order.orderNo, subtotal: (order.finaltotal - order.totalTax).toString(), //pre-tax, post-discount coupon_code: order.priceAdjustments.map(function(pa) { return pa.promotionId; }) // Single string or array of strings }, customer: { email: order.customerEmail } }); }); })(); </script><script data-obct type="text/javascript"> / DO NOT MODIFY THIS CODE/ !function(_window, _document) { var OB_ADV_ID='00a2c44aacf73c31ea6ec8a4f7c9cced0f'; if (_window.obApi) { return; } var api = _window.obApi = function() {api.dispatch ? api.dispatch.apply(api, arguments) : api.queue.push(arguments);} ;api.version = '1.0';api.loaded = true;api.marketerId = OB_ADV_ID;api.queue = [];var tag = _document.createElement('script');tag.async = true;tag.src = '//amplify.outbrain.com/cp/obtp.js';tag.type = 'text/javascript';var script = _document.getElementsByTagName('script')[0];script.parentNode.insertBefore(tag, script);}(window, document); obApi('track', 'PAGE_VIEW'); $(window).on('mgemiConfirmationLoad', function(ev, order) { obApi('track', 'purchase', { orderValue: order.finaltotal, orderId: order.orderNo, }); }); $(window).on('mgemiPDPAddCartClick', function(ev, pid, productData) { obApi('track', 'Add To Cart'); }); </script><script type="text/javascript"> var _kiq = _kiq || []; (function(){ setTimeout(function(){ var d = document, f = d.getElementsByTagName('script')[0], s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//s3.amazonaws.com/ki.js/67278/fRh.js'; f.parentNode.insertBefore(s, f); }, 1); })(); if (!app.user.isAnonymous) { _kiq.push(['identify', app.user.email]); } (function() { app.util.ready(function() { _kiq.push(['set', { 'is_production': app.isProduction, 'user_uuid': app.cookie.getCookie('uuid'), 'session_id': app.user.sessionId, 'page_gender': app.page.gender, 'is_category_page': app.page.isCategory, 'is_product_page': app.page.isProduct, 'is_content_page': app.page.isContent, 'page_id': app.page.id }]); }); _kiq.push(['eventHandler', 'nodeRendered', function(nudge_id, screen_id){ document.body.setAttribute('data-qual-current-nudge', nudge_id); document.body.setAttribute('data-qual-current-screen', screen_id); }]); })(); </script><script> app.util.ready(function() { window._pp = window._pp || []; _pp.siteId = '1422'; _pp.siteUId = app.cookie.getCookie('uuid'); _pp.tags = app.sourceCode || 'none'; if ('currentOrder' in app) { _pp.email = app.currentOrder.customerEmail; _pp.orderValue = app.currentOrder.finaltotal; _pp.orderId = app.currentOrder.orderNo; } (function() { var ppjs = document.createElement('script'); ppjs.type = 'text/javascript'; ppjs.async = true; ppjs.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//cdn.pbbl.co/r/' + _pp.siteId + '.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ppjs, s); })(); }); </script><script> window['_fs_debug'] = false; window['_fs_host'] = 'fullstory.com'; window['_fs_org'] = "6K011"; window['_fs_namespace'] = 'FS'; (function(m,n,e,t,l,o,g,y){ if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;} g=m[e]=function(a,b){g.q?g.q.push([a,b]):g._api(a,b);};g.q=[]; o=n.createElement(t);o.async=1;o.src='https://'+_fs_host+'/s/fs.js'; y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y); g.identify=function(i,v){g(l,{uid:i});if(v)g(l,v)};g.setUserVars=function(v){g(l,v)}; g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)}; g.clearUserCookie=function(c,d,i){if(!c || document.cookie.match('fs_uid=[`;`]*`[`;`]*`[`;`]*`')){ d=n.domain;while(1){n.cookie='fs_uid=;domain='+d+ ';path=/;expires='+new Date(0).toUTCString();i=d.indexOf('.');if(i<0)break;d=d.slice(i+1)}}}; })(window,document,window['_fs_namespace'],'script','user'); </script><script> if (!app.user.isAnonymous) { FS.identify(app.user.custNo, { email: app.user.email, firstName: app.user.firstName, lastName: app.user.lastName, gaClientId: app.user.gaClientId }); } </script><script> $(function(){ if($("[name$='addtoemaillist']").parents('.checkbox-field').size() > 0){ var $realCheckbox =$("[name$='addtoemaillist']").parents('.checkbox-field'); ga('send', 'event', 'checkout newsletter', 'position', 'top'); var $newForm = $('<div class="alternate optInArea field" id="newsletterOptIn"><div class="optIn form-caption">You\'ll find out first about all things M.Gemi. <a href="#">Change.</a> </div><div class="optOut form-caption">We won\'t send you updates on new releases, early access to rare sales, or special pre-shop access. <a href="#">Send emails.</a> </div></div>'); $newForm.insertAfter($realCheckbox); var $optArea = $('#newsletterOptIn'); var $optOut = $optArea.find('.optOut'); var $optIn = $optArea.find('.optIn'); if($realCheckbox.length > 0){ console.log($realCheckbox) $realCheckbox.hide(); $optOut.hide(); $('body').on('mouseup', '[name=dwfrm_singleshipping_shippingAddress_save]', function(){ var optBool = $realCheckbox.find(':checkbox').attr('checked'); ga('send', 'event', 'checkout newsletter final selection', 'selection', optBool); console.log('final checked selection ', optBool); }); $('body').on('click', '#newsletterOptIn .form-caption a', function(e){ e.preventDefault(); var optBool = $(e.currentTarget).parent('.optOut').length > 0; ga('send', 'event', 'checkout newsletter selection', 'selection', optBool); $realCheckbox.find(':checkbox').attr('checked', optBool); if (!optBool){ $optIn.hide(); $optOut.show(); } else { $optIn.show(); $optOut.hide(); } console.log($realCheckbox.find(':checkbox').is(':checked')); }); } } }); </script><script type="text/javascript">//<!-- /* <![CDATA[ (head-active_data.js) */ var dw = (window.dw || {}); dw.ac = { _analytics: null, _events: [], _category: "", _capture: function(configs) { if (Object.prototype.toString.call(configs) === "[object Array]") { configs.forEach(captureObject); return; } dw.ac._events.push(configs); }, capture: function() { dw.ac._capture(arguments); }, EV_PRD_SEARCHHIT: "searchhit", EV_PRD_DETAIL: "detail", EV_PRD_RECOMMENDATION: "recommendation", EV_PRD_SETPRODUCT: "setproduct", applyContext: function(context) { if (typeof context === "object" && context.hasOwnProperty("category")) { dw.ac._category = context.category; } }, setDWAnalytics: function(analytics) { dw.ac._analytics = analytics; } }; /* ]]> */ // --> </script><script type="text/javascript">//<!-- /* <![CDATA[ (head-cquotient.js) */ var CQuotient = window.CQuotient = {}; CQuotient.clientId = 'aatm-mgemi'; CQuotient.activities = []; CQuotient.cqcid=''; CQuotient.cquid=''; CQuotient.initFromCookies = function () { var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf('cqcid=') == 0) { CQuotient.cqcid=c.substring('cqcid='.length,c.length); } else if (c.indexOf('cquid=') == 0) { CQuotient.cquid=c.substring('cquid='.length,c.length); break; } } } CQuotient.getCQCookieId = function () { if(window.CQuotient.cqcid == '') window.CQuotient.initFromCookies(); return window.CQuotient.cqcid; }; CQuotient.getCQUserId = function () { if(window.CQuotient.cquid == '') window.CQuotient.initFromCookies(); return window.CQuotient.cquid; }; /* ]]> */ // --> </script><script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date; h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')}; (a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c; })(window,document.documentElement,'async-hide','dataLayer',4000, {'GTM-597QF72':true});</script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/responsive-min.js"></script><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); </script><script> if (!!app.user.custNo) { ga('set', 'dimension2', app.user.custNo ); ga('create', 'UA-56670703-1', { 'userId': app.user.custNo }); } else { ga('create', 'UA-56670703-1' , 'auto'); } ga('require', 'GTM-597QF72'); jQuery(function() { if(window.customGaPageView === undefined || !window.customGaPageView) { ga('send', 'pageview'); } }); ga(function() { var clientId = ga.getAll()[0].get('clientId'); if (!clientId) return; ga('set', 'dimension1', clientId); if (!app.user.gaClientId) { $.ajax("/on/demandware.store/Sites-mgemi-Site/default/API-SetGAUserId", { data: { clientID: clientId }, success: function(data, status, xhr){ if(data.status === 'ERROR'){ console.error('GA ERROR: ' + data.message); } }, error: function(xhr, status, data){ console.error(data); } }); } }); // Send to GA whether the user is logged in or logged out var dimensionValue = app.user.isAnonymous ? 'logged out' : 'logged in'; ga('set', 'dimension4', dimensionValue); </script><script type="text/javascript" src="https://cdn-media.amplience.com/mgemi/swfobject.min.js?v=responsive"></script><script type="text/javascript" src="https://cdn-media.amplience.com/mgemi/interact.min.js?v=responsive"></script><script async="true" type="text/javascript" src="//mgemi.btttag.com/btt.js"></script><script> /* jshint esversion: 6 */ (function($) { // TODO: Add this to the events.js file $('body').on('mousedown', '.main-nav a, .header-links a, .mobile-nav a', function(e) { e.preventDefault(); var $link = $(this), href = $link.attr('href'), pipe, $drop1; // Don't send data to ga if the href doesn't go anywhere if(href == '' || href == "#" || href.indexOf("Javascript:void(0)") > -1) return; pipe = $link.text().trim(); $drop1 = $link.closest('.drop-1'); if($drop1.length > 0) { pipe = $drop1.parent().find('> a').text().trim() + ' | ' + pipe; } ga('send', 'event', 'navigation', pipe, href); }); // TODO: Have to use a timeout to ensure app.js is loaded, not sure why // it isn't loaded by here. // TODO: standardize this into a universal model so that we can repurpose as needed. setTimeout(function() { if ('' && '' !== 'null') { app.dialog.create({ target: $('.js-flash-message'), options: { autoOpen: true, dialogClass: 'standard-modal', open: function() { $('.ui-widget-overlay').click(function() { traditionalPriceModal.dialog('close'); }); } } }); } }, 300); })(jQuery); </script><script id="product-grid-tile" type="text/x-handlebars-template"> <div id="gridbox-{{cid}}" class="grid-tile tile" data-type="molecule" data-name="plp-tile" data-sku="{{sku}}"> <!-- Product images --> <div class="js-product-images"> <a class="js-product-a-tag" href="#"> <div class="color-list-group js-lazy-loaded-images"></div> <div class="tile--availability js-sold-out"> {{#if showSoldOutSizeBanner}} <p class="soldout soldout-size"> <span class="soldout"> Your size is sold out </span> <span class="waitlist"> Add to Waitlist? </span> </p> {{else}} <p class="soldout"> <span class="soldout"> Sold out </span> <span class="waitlist"> Add to Waitlist? </span> </p> {{/if}} </div> </a> </div> <div class="gridtext lockup"> <a class="js-product-a-tag" href="#"> <h1>{{handleFName formattedname}} <span style="display:none">{{classification}}</span></h1> {{#if productSubtitle}} <p class="product-subtitle">{{productSubtitle}}</p> {{/if}} {{#if factoryLocation}} <p class="produced"> Made by hand in {{factoryLocation}}, Italy. </p> {{/if}} {{#if priceObj.standard}} <div class="has-standard-price"> <div class="price-sale">{{handleMoney priceObj.sale}}</div> <div class="price-standard">{{handleMoney priceObj.standard}}</div> </div> {{else}} <h2 class="price">{{handleMoney price}}</h2> {{/if}} </a> </div> <ul class="swatches js-swatches is-color"> {{#if showSwatches}} {{#each productColors}} <li class="swatch js-swatch {{#unless this.available}}soldout{{/unless}}" data-color="{{this.color}}"> <a href="{{productUrl}}"> <img src="{{this.swatchUrl}}" /> </a> </li> {{/each}} {{/if}} </ul> </div> </script><script> window.GLOBALS = window.GLOBALS || {}; window.GLOBALS.plp = GLOBALS.plp || {}; </script><script type="text/javascript"> var currentCgid = "moccasins"; var prepopulateData = { "products": [ { "sku": "03_1000_30", "name": "The Felize", "formattedname": "The,Felize", "story": "Supple Santa Croce suede graces our signature driver. We specially chose it for the way it takes color; the rich, saturated hues are able to penetrate this superfine material. Genuine moccasin construction makes for distinctively cushy steps.", "price": "$198", "priceObj": {"min":"","max":"","standard":"","sale":"$198.00"}, "classification": "Moccasin", "factoryLocation": "Toscana", "primary_color": "021", "product_url": "http://mgemi.com/moccasins/the-felize/03_1000_30.html", "showSoldOutSizeBanner": false, "productSubtitle" : "", "colors": [ "021" , "017" , "270" , "1863" , "482" , "671" , "2470" , "3892" , "3477" , "984" , "210" , "410" ], "unavailableColors": [ ], "variations": [{"id":9368,"Options":{"Color":{"id":482,"name":"Lilac","code":"482"}},"primaryImage":"v_09368"},{"id":9365,"Options":{"Color":{"id":760,"name":"Olive","code":"1863"}},"primaryImage":"v_09365"},{"id":9364,"Options":{"Color":{"id":354,"name":"Navy","code":"410"}},"primaryImage":"v_09364"},{"id":9363,"Options":{"Color":{"id":393,"name":"Luggage","code":"210"}},"primaryImage":"v_09363"},{"id":9372,"Options":{"Color":{"id":1832,"name":"Poppy","code":"2470"}},"primaryImage":"v_09372"},{"id":9370,"Options":{"Color":{"id":1830,"name":"Dusty Rose","code":"3477"}},"primaryImage":"v_09370"},{"id":9371,"Options":{"Color":{"id":1831,"name":"Tangerine","code":"928"}},"primaryImage":"v_09371"},{"id":9367,"Options":{"Color":{"id":1836,"name":"Sky","code":"984"}},"primaryImage":"v_09367"},{"id":9369,"Options":{"Color":{"id":365,"name":"Magenta","code":"671"}},"primaryImage":"v_09369"},{"id":5848,"Options":{"Color":{"id":312,"name":"Gray","code":"021"}},"primaryImage":"v_05848"},{"id":5851,"Options":{"Color":{"id":540,"name":"Black","code":"017"}},"primaryImage":"v_05851"},{"id":9373,"Options":{"Color":{"id":1833,"name":"Lemon Zest","code":"3892"}},"primaryImage":"v_09373"},{"id":5850,"Options":{"Color":{"id":340,"name":"Latte","code":"270"}},"primaryImage":"v_05850"}] } , { "sku": "03_1002_08", "name": "The Pastoso", "formattedname": "The,Pastoso", "story": "Our beloved penny driver has been recast in dimensional hand-burnished leather. That rich patina just improves with each wear.", "price": "$228", "priceObj": {"min":"","max":"","standard":"","sale":"$228.00"}, "classification": "Moccasin", "factoryLocation": "Toscana", "primary_color": "260", "product_url": "http://mgemi.com/moccasins/the-pastoso/03_1002_08.html", "showSoldOutSizeBanner": false, "productSubtitle" : "", "colors": [ "260" , "939" , "863" , "2479" ], "unavailableColors": [ ], "variations": [{"id":9375,"Options":{"Color":{"id":327,"name":"Clay","code":"260"}},"primaryImage":"v_09375"},{"id":9374,"Options":{"Color":{"id":1823,"name":"Oak","code":"939"}},"primaryImage":"v_09374"},{"id":9377,"Options":{"Color":{"id":760,"name":"Olive","code":"863"}},"primaryImage":"v_09377"},{"id":9376,"Options":{"Color":{"id":1835,"name":"Denim","code":"2479"}},"primaryImage":"v_09376"},{"id":9378,"Options":{"Color":{"id":540,"name":"Black","code":"017"}},"primaryImage":"v_09378"}] } , { "sku": "03_1000_22", "name": "The Felize", "formattedname": "The,Felize", "story": "Our signature driving moccasin\u2014loved for its mold-to-your-feet comfort and effortless style\u2014in limited edition shades of Santa Croce suede. Each pair expertly sewn by hand in Tuscany.", "price": "$198", "priceObj": {"min":"","max":"","standard":"","sale":"$198.00"}, "classification": "Moccasin", "factoryLocation": "Toscana", "primary_color": "270", "product_url": "http://mgemi.com/moccasins/the-felize/03_1000_22.html", "showSoldOutSizeBanner": false, "productSubtitle" : "", "colors": [ "270" , "600" , "301" , "889" , "401" , "260" , "411" , "210" , "017" ], "unavailableColors": [ ], "variations": [{"id":9339,"Options":{"Color":{"id":359,"name":"Ruby","code":"600"}},"primaryImage":"v_09339"},{"id":5704,"Options":{"Color":{"id":340,"name":"Latte","code":"270"}},"primaryImage":"v_05704"},{"id":5674,"Options":{"Color":{"id":327,"name":"Clay","code":"260"}},"primaryImage":"v_05674"},{"id":5637,"Options":{"Color":{"id":342,"name":"Forest","code":"301"}},"primaryImage":"v_05637"},{"id":5672,"Options":{"Color":{"id":721,"name":"Antique Pink","code":"889"}},"primaryImage":"v_05672"},{"id":9024,"Options":{"Color":{"id":349,"name":"Jeans","code":"401"}},"primaryImage":"v_09024"},{"id":5671,"Options":{"Color":{"id":440,"name":"Midnight Blue","code":"411"}},"primaryImage":"v_05671"},{"id":9027,"Options":{"Color":{"id":405,"name":"Cocoa","code":"210"}},"primaryImage":"v_09027"},{"id":5707,"Options":{"Color":{"id":540,"name":"Black","code":"017"}},"primaryImage":"v_05707"}] } , { "sku": "03_1000_29", "name": "The Felize", "formattedname": "The,Felize", "story": "We took our signature driving moccasin and reimagined it in a sparkly Santa Croce suede. This material takes time to master; the glitter is \"baked\" into the suede to create a shine that won\u2019t fade or lose its luster over time.", "price": "$198", "priceObj": {"min":"","max":"","standard":"","sale":"$198.00"}, "classification": "Moccasin", "factoryLocation": "Toscana", "primary_color": "2377", "product_url": "http://mgemi.com/moccasins/the-felize/03_1000_29.html", "showSoldOutSizeBanner": false, "productSubtitle" : "", "colors": [ "2377" , "244" ], "unavailableColors": [ ], "variations": [{"id":9355,"Options":{"Color":{"id":1828,"name":"Taupe Shimmer","code":"255"}},"primaryImage":"v_09355"},{"id":9354,"Options":{"Color":{"id":1827,"name":"Navy Shimmer","code":"244"}},"primaryImage":"v_09354"},{"id":9353,"Options":{"Color":{"id":1826,"name":"Mauve Shimmer","code":"2377"}},"primaryImage":"v_09353"}] } ], "totalItems" : 0.0, "itemDisplayCount": 4, "refinements": "<h2 class=\"\">Filter<\/h2> <span class=\"refinement-header\">Shop Navigation Catalog<\/span> <div class=\"refinement clear-all hide-mobile\"> <a href=\"#\">Clear All<\/a> <\/div> <div class=\"refinement Size\"> <h6 class=\"toggle \"> Size <span class=\"icon\"> <\/span><!-- end /icon --> <\/h6> <div class=\"refinement-body \"> <ul class=\"clearfix swatches Size\"> <li class=\"swatch-35\"> <a id=\"swatch-35\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=35\" title=\"35\"> 35 <\/a> <\/li> <li class=\"swatch-35_5\"> <a id=\"swatch-35_5\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=35.5\" title=\"35.5\"> 35.5 <\/a> <\/li> <li class=\"swatch-36\"> <a id=\"swatch-36\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=36\" title=\"36\"> 36 <\/a> <\/li> <li class=\"swatch-36_5\"> <a id=\"swatch-36_5\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=36.5\" title=\"36.5\"> 36.5 <\/a> <\/li> <li class=\"swatch-37\"> <a id=\"swatch-37\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=37\" title=\"37\"> 37 <\/a> <\/li> <li class=\"swatch-37_5\"> <a id=\"swatch-37_5\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=37.5\" title=\"37.5\"> 37.5 <\/a> <\/li> <li class=\"swatch-38\"> <a id=\"swatch-38\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=38\" title=\"38\"> 38 <\/a> <\/li> <li class=\"swatch-38_5\"> <a id=\"swatch-38_5\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=38.5\" title=\"38.5\"> 38.5 <\/a> <\/li> <li class=\"swatch-39\"> <a id=\"swatch-39\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=39\" title=\"39\"> 39 <\/a> <\/li> <li class=\"swatch-39_5\"> <a id=\"swatch-39_5\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=39.5\" title=\"39.5\"> 39.5 <\/a> <\/li> <li class=\"swatch-40\"> <a id=\"swatch-40\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=40\" title=\"40\"> 40 <\/a> <\/li> <li class=\"swatch-40_5\"> <a id=\"swatch-40_5\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=40.5\" title=\"40.5\"> 40.5 <\/a> <\/li> <li class=\"swatch-41\"> <a id=\"swatch-41\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=41\" title=\"41\"> 41 <\/a> <\/li> <li class=\"swatch-42\"> <a id=\"swatch-42\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=42\" title=\"42\"> 42 <\/a> <\/li> <li class=\"swatch-43\"> <a id=\"swatch-43\" href=\"http://mgemi.com/womens-moccasins/?prefn1=size&amp;prefv1=43\" title=\"43\"> 43 <\/a> <\/li> <\/ul> <\/div><!-- end /refinement-body --> <!-- PRICE REFINEMENTS --> <\/div> <div class=\"refinement Type category-refinement\"> <h6 class=\"toggle selected\"> Type <span class=\"icon\"> <\/span><!-- end /icon --> <\/h6> <div class=\"refinement-body\"> <ul id=\"category-level-1\"><li class=\"expandable selected\"><a data-cgid=\"women\" class=\"refinement-link selected\" title=\"Women\" href=\"http://mgemi.com/women/\">Women<\/a><ul id=\"category-level-2\"><li ><a data-cgid=\"new-this-week\" class=\"refinement-link \" title=\"New This Week\" href=\"http://mgemi.com/new-this-week/\">New This Week<\/a><\/li><li class=\"expandable\"><a data-cgid=\"signatures\" class=\"refinement-link \" title=\"Our Signatures\" href=\"http://mgemi.com/signatures/\">Our Signatures<\/a><\/li><li class=\"expandable selected\"><a data-cgid=\"shoes\" class=\"refinement-link selected\" title=\"All Shoes\" href=\"http://mgemi.com/womens-shoes/\">All Shoes<\/a><ul id=\"category-level-3\"><li ><a data-cgid=\"flats\" class=\"refinement-link \" title=\"Flats\" href=\"http://mgemi.com/womens-flats/\">Flats<\/a><\/li><li ><a data-cgid=\"moccasins\" class=\"refinement-link selected\" title=\"Moccasins\" href=\"http://mgemi.com/womens-moccasins/\">Moccasins<\/a><\/li><li ><a data-cgid=\"pumps\" class=\"refinement-link \" title=\"Heels\" href=\"http://mgemi.com/womens-pumps/\">Heels<\/a><\/li><li ><a data-cgid=\"sneakers\" class=\"refinement-link \" title=\"Sneakers\" href=\"http://mgemi.com/womens-sneakers/\">Sneakers<\/a><\/li><li ><a data-cgid=\"boots\" class=\"refinement-link \" title=\"Boots\" href=\"http://mgemi.com/womens-boots/\">Boots<\/a><\/li><\/ul><\/li><li ><a data-cgid=\"before-they-go\" class=\"refinement-link \" title=\"Before They Go\" href=\"http://mgemi.com/before-they-go/\">Before They Go<\/a><\/li><\/ul><\/li><li class=\"expandable\"><a data-cgid=\"men\" class=\"refinement-link \" title=\"Men\" href=\"http://mgemi.com/men/home/\">Men<\/a><\/li><li ><a data-cgid=\"gift-cards\" class=\"refinement-link \" title=\"Gift Cards\" href=\"http://mgemi.com/gift-cards/\">Gift Cards<\/a><\/li><li ><a data-cgid=\"about-us\" class=\"refinement-link \" title=\"About\" href=\"http://mgemi.com/about-us/\">About<\/a><\/li><li ><a data-cgid=\"visitus\" class=\"refinement-link \" title=\"Fit Shops\" href=\"http://mgemi.com/visitus/\">Fit Shops<\/a><\/li><li ><a data-cgid=\"winter-sale\" class=\"refinement-link \" title=\"Winter Sale 2018\" href=\"http://mgemi.com/winter-sale/\">Winter Sale 2018<\/a><\/li><li ><a data-cgid=\"soho-special\" class=\"refinement-link \" title=\"SOHO Store\" href=\"http://mgemi.com/soho-special/\">SOHO Store<\/a><\/li><\/ul> <div class=\"clear-refinement\"> <a title=\"Show all options\" href=\"/womens-shoes/\">Clear<\/a> <\/div> <\/div><!-- end /refinement-body --> <!-- PRICE REFINEMENTS --> <\/div> <div class=\"refinement Color\"> <h6 class=\"toggle \"> Color <span class=\"icon\"> <\/span><!-- end /icon --> <\/h6> <div class=\"refinement-body \"> <ul > <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Black\" title=\"Refine by:Black\">Black<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Blue\" title=\"Refine by:Blue\">Blue<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Brown\" title=\"Refine by:Brown\">Brown<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Gray\" title=\"Refine by:Gray\">Gray<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Green\" title=\"Refine by:Green\">Green<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Multi\" title=\"Refine by:Multi\">Multi<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Neutral\" title=\"Refine by:Neutral\">Neutral<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Pink\" title=\"Refine by:Pink\">Pink<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Purple\" title=\"Refine by:Purple\">Purple<\/a> <\/li> <li> <a href=\"http://mgemi.com/womens-moccasins/?prefn1=SD_R_ColorFilter&amp;prefv1=Red\" title=\"Refine by:Red\">Red<\/a> <\/li> <\/ul> <\/div><!-- end /refinement-body --> <!-- PRICE REFINEMENTS --> <\/div> ", "supportsStoryMode": false, "expandedVariants": false } ; var forceStoryMode = false; </script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/backbone-collection.js" type="text/javascript"></script><script src="//cdnjs.cloudflare.com/ajax/libs/backbone.marionette/2.4.4/backbone.marionette.js"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/pdp/PDPUtils.js" type="text/javascript"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/PLP.js" type="text/javascript"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/models/product-tile-model.js" type="text/javascript"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/views/product-tile-view.js" type="text/javascript"></script><script type="text/javascript"> var plpMainAngle = "EDITION"; var PLPGrid = new PLP.gridview({ showSwatches: true, mainAngle: plpMainAngle }); </script><script id="tmp-plpstory" type="text/x-handlebars-template"> <div style="" class="story-list-item"> <div class="product-info show-mobile hide-desktop hide-tablet" > <div class="content-item lockup"> <h1>{{handleFName formattedname}} <span style="display:none">{{classification}}</span></h1> <p class="produced">Made by hand in {{factoryLocation}}, Italy.</p> {{#if priceObj.standard}} <div class="has-standard-price"> <div class="price-sale">{{handleMoney priceObj.sale}}</div> <div class="price-standard">{{handleMoney priceObj.standard}}</div> </div> {{else}} <h2 class="price">{{handleMoney price}}</h2> {{/if}} {{#ifCond colors.length '==' unavailableColors.length}} <div class="master-tile--availability"> <p class="soldout"> <span class="soldout">All Colors Have Sold Out.</span><span class="waitlist"><a class="cta shop-now" href="{{product_url}}/#!/color/{{primary_color}}">Add to Waitlist</a></span> </p> </div> {{else}} <a class="cta shop-now" href="{{product_url}}/#!/color/{{primary_color}}">Shop Now</a> {{/ifCond}} </div> </div> <div class="color-list-group product-images" > <div class="master-image img"> <a href="{{product_url}}/#!/color/{{primary_color}}"> <img class="hide-mobile" src="{{imageUrl}}_MAIN?$storyProductMain$&w=1120&v=1239081sadfsd" /> <img class="hide-desktop hide-tablet" src="{{imageUrl}}_MAIN?$storyProductMain$&w=700&v=1239081sadfsd" /> </a> </div> <div class="info"> <div> <div class="product-info" > <div class="content-item lockup"> <h1>{{handleFName formattedname}} <span style="display:none">{{classification}}</span></h1> <p class="produced">Made by hand in {{factoryLocation}}, Italy.</p> {{#if priceObj.standard}} <div class="has-standard-price"> <div class="price-sale">{{handleMoney priceObj.sale}}</div> <div class="price-standard">{{handleMoney priceObj.standard}}</div> </div> {{else}} <h2 class="price">{{handleMoney price}}</h2> {{/if}} </div> </div> <div class="content-separator"></div> <div class="story-info" > <div class="content-item"> <p class="description">{{{story}}}</p> </div> </div> {{#showAllSoldout colors.length unavailableColors.length}} <div class="master-tile--availability hide-mobile"> <p class="soldout"> <span class="soldout">All Colors Have Sold Out.</span><a class="cta shop-now" href="{{product_url}}/#!/color/{{primary_color}}"><span class="waitlist">Add to Waitlist</span></a> </p> </div> {{else}} <a class="cta shop-now" href="{{product_url}}/#!/color/{{primary_color}}">Shop Now</a> {{/showAllSoldout}} </div> </div> {{#each colorInfo}} <div class="alt-img alt img" > <a href="{{../product_url}}/#!/color/{{this.color}}"> <img src="{{imageUrl}}_ALT1?$storyProductSide$&w=1120" /> {{#unless this.available}} <div class="tile--availability"> {{#if ../showSoldOutSizeBanner}} <p class="soldout soldout-size"> <span class="soldout">Your size is sold out</span><span class="waitlist">Add to Waitlist</span> {{else}} <p class="soldout"> <span class="soldout">Sold out</span><span class="waitlist">Add to Waitlist</span> {{/if}} </p> </div> {{/unless}} </a> </div> {{/each}} </div> </div> </script><script> app.refinements = app.refinements || {}; app.refinements.config = app.refinements.config || {}; app.refinements.config.apiPipeline = "/on/demandware.store/Sites-mgemi-Site/default/ProductListAPI-ShowAll" </script><script> (function() { var opensAutomaticallyAfter = 2 * 1000; // Converts seconds to ms var closesAutomaticallyAfter = 7 * 1000; // Converts seconds to ms var $chatBubble = $('.chat-bubble'); var $chatText = $('.chat_bubble_text'); var chatTextWidth = $('.chat_bubble_text').outerWidth(); var chatTextHeight = $('.chat_bubble_text').outerHeight(); var $animationContainer = $('<div class="chat-text-animation-container"></div>').appendTo('.chat-bubble'); $animationContainer.css({ width: chatTextWidth, height: chatTextHeight }); $chatText.appendTo($animationContainer); function openChatBubbleText() { $chatBubble.removeClass('text-hidden'); } function closeChatBubbleText() { $chatBubble.addClass('text-hidden'); } var openAutomaticallyTimer = setTimeout(function() { openChatBubbleText(); }, opensAutomaticallyAfter); var closeAutomaticallyTimer = setTimeout(function() { closeChatBubbleText(); }, closesAutomaticallyAfter); var chatBubbleHoveredOver = false; $chatBubble.on('mouseover', function() { openChatBubbleText(); clearTimeout(openAutomaticallyTimer); clearTimeout(closeAutomaticallyTimer); if (!chatBubbleHoveredOver) { ga('send', 'event', 'Chat Bubble Widget', 'mouseover'); chatBubbleHoveredOver = true; } }); $chatBubble.on('click', function() { ga('send', 'event', 'Chat Bubble Widget', 'click'); }); $chatBubble.on('mouseleave', function() { closeChatBubbleText(); chatBubbleHoveredOver = false; }); })(); </script><script> window.newsletterPopupSettings = {"a":1,"b":2,"womensImageSrc":"womensNewsletter50Activation.jpg","mensImageSrc":"mensNewsletter50Activation.jpg"}; </script><script id="newsletter-modal-template" type="text/x-handlebars-template"> <div class="old mens-womens-signup-container newsletter-container {{#if startWomensNewsletter}}for-women{{else}}for-men{{/if}}"> <section class="container clearfix"> <div class="edition-signup"> <div class="promo"> <div class="for-women"> <style> #img-860873780, figure[data-img-hash="img-860873780"] { padding-bottom: 100.0%; } @media (max-width: 767px){ #img-860873780, figure[data-img-hash="img-860873780"] { padding-bottom: 100.0%; } } </style> <figure id="img-860873780" data-img-hash="img-860873780" class="imgModule"> <picture><!--[if IE 9]><video style="display: none"><![endif]--><source sizes="33vw" media="(max-width: 767px)" data-srcset='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=105&sm=aspect&qlt=60&aspect=1:1&qlt=60 105w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=164&sm=aspect&qlt=60&aspect=1:1&qlt=60 164w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=253&sm=aspect&qlt=60&aspect=1:1&qlt=60 253w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=211&sm=aspect&qlt=60&aspect=1:1&qlt=60 211w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=329&sm=aspect&qlt=60&aspect=1:1&qlt=60 329w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=506&sm=aspect&qlt=60&aspect=1:1&qlt=60 506w ' /><!--[if IE 9]></video><![endif]--><img data-src='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w={50%}&qlt=60&sm=aspect&aspect=1:1&qlt=60'class="undefined lazyload" sizes="33vw" data-srcset='//i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=337&sm=aspect&qlt=60&aspect=1:1&qlt=60 337w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=474&sm=aspect&qlt=60&aspect=1:1&qlt=60 474w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=660&sm=aspect&qlt=60&aspect=1:1&qlt=60 660w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=949&sm=aspect&qlt=60&aspect=1:1&qlt=60 949w, //i1.adis.ws/i/mgemi/{{womensImageSrc}}?$poif$&w=1320&sm=aspect&qlt=60&aspect=1:1&qlt=60 1320w ' /></picture> </figure> </div> <div class="for-men"> <style> #img1251765638, figure[data-img-hash="img1251765638"] { padding-bottom: 100.0%; } @media (max-width: 767px){ #img1251765638, figure[data-img-hash="img1251765638"] { padding-bottom: 100.0%; } } </style> <figure id="img1251765638" data-img-hash="img1251765638" class="imgModule"> <picture><!--[if IE 9]><video style="display: none"><![endif]--><source sizes="33vw" media="(max-width: 767px)" data-srcset='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=105&sm=aspect&qlt=60&aspect=1:1&qlt=60 105w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=164&sm=aspect&qlt=60&aspect=1:1&qlt=60 164w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=253&sm=aspect&qlt=60&aspect=1:1&qlt=60 253w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=211&sm=aspect&qlt=60&aspect=1:1&qlt=60 211w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=329&sm=aspect&qlt=60&aspect=1:1&qlt=60 329w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=506&sm=aspect&qlt=60&aspect=1:1&qlt=60 506w ' /><!--[if IE 9]></video><![endif]--><img data-src='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w={50%}&qlt=60&sm=aspect&aspect=1:1&qlt=60'class="undefined lazyload" sizes="33vw" data-srcset='//i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=337&sm=aspect&qlt=60&aspect=1:1&qlt=60 337w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=474&sm=aspect&qlt=60&aspect=1:1&qlt=60 474w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=660&sm=aspect&qlt=60&aspect=1:1&qlt=60 660w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=949&sm=aspect&qlt=60&aspect=1:1&qlt=60 949w, //i1.adis.ws/i/mgemi/{{mensImageSrc}}?$poif$&w=1320&sm=aspect&qlt=60&aspect=1:1&qlt=60 1320w ' /></picture> </figure> </div> </div> <div class="content"> <div class="newsletter-close-btn" data-close-btn> <svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><clipPath id="a"><path fill="none" d="M0 0h100v100H0z"/></clipPath></defs><title>icon</title><g clip-path="url(#a)"><path d="M94.43 0L50 44.43 5.57 0 .01 5.56l44.44 44.43L.01 94.44 5.57 100 50 55.57 94.43 100l5.56-5.56-44.43-44.45L99.99 5.56 94.43 0z"/></g></svg></div> <div class="body-content"> <div class="for-men"> <p>M.Gemi—italian shoes<br/> made the old way, sold the new way.</p> <h2>New limited editions<br/> released every month.<br/> Be the first to know.</h2> <style>.newsletter-container.for-men p { font-family: BrownStd, sans-serif; text-transform: uppercase; font-size: 11px; line-height: 15px; letter-spacing: 1.54px; } .fullscreen-modal .popmodal .old.newsletter-container.for-men h2 { font-size: 24px; line-height: 29px; letter-spacing:0; font-weight: normal; margin-top: 20px }</style> </div> <div class="for-women"> <style> @media (min-width: 768px) { .ui-dialog.popmodal .old.mens-womens-signup-container.newsletter-container.for-women .content { padding: 20px; } }</style> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> New limited editions every Monday.<br/> Be the first to know. <style> .newsletter-modal-container section.container { border-color: black !important; } .ui-dialog.popmodal .old.mens-womens-signup-container.newsletter-container .content { background: white; } form#newsletter-signup-pop input[type=email] { text-align: center; }</style> </div> </div> <div class="success"> <fieldset class="email"> <div class="success-content"> <div class="for-men"> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> Successo, you’re signed up! </div> <div class="for-women"> <h2 style="font-size: 23px; line-height: 25px; letter-spacing: 0; font-weight: normal;">M.Gemi stands for Italian shoes made the old way, sold the new way.</h2> Successo, you’re signed up! <style>@media (max-width: 370px) { .mens-womens-signup-container { width:320px; } .mens-womens-signup-container input[type=email], .mens-womens-signup-container button[type=submit] { width:100% !important; } }</style> </div> </div> </fieldset> </div> <form id="newsletter-signup-pop" action=""> <fieldset class="email"> <input type="email" name="email" placeholder="Enter your email" /> <span for="dwfrm_login_username_d0yfhwaarcsg" generated="true" class="error">Please enter a valid email address</span> </fieldset> <button type="submit" class="button" value="Submit"> <svg xmlns="http://www.w3.org/2000/svg" width="8.7" height="6" viewBox="0 0 8.7 6"><title>down_chevron</title><path d="M4.4 4.2L0 0v1.8l1.5 1.3L4.4 6l2.9-2.9 1.4-1.3V0z" fill="#8d3a25"/></svg> <span>Sign Up</span> </button> <a href="#" class="swap-newsletter-gender"> <span class="for-women">LOOKING FOR MEN’S SHOES?</span> <span class="for-men">LOOKING FOR WOMEN’S SHOES?</span> </a> </form> </div> </div> </section><!-- end /container --> </div> </script><script> function initModal(settings, requestHandlebars) { // Render handlebars template settings.womensImageSrc = settings.womensImageSrc || 'womensNewsletterPopup.jpg'; settings.mensImageSrc = settings.mensImageSrc || 'mensNewsletterPopup.jpg'; settings.imageAlt = settings.imageAlt || 'M.Gemi Newsletter Image'; settings.startWomensNewsletter = settings.startWomensNewsletter !== undefined ? settings.startWomensNewsletter : (app.page.gender !== 'male'); var deferred = $.Deferred(); requestHandlebars({ templateContent: $('#newsletter-modal-template').html(), context: settings }).done(function(content) { $('.newsletter-modal-container').html(content); toggleNewsletterGender(); if (settings.abTestVariationName) { app.newslettersignup.addModalOpenListener(function() { ga('send', 'event', 'Email Signup', 'prompt AB test', settings.abTestVariationName); }); app.newslettersignup.addModalSubmitListener(function() { ga('send', 'event', 'Email Signup', 'submit AB test', settings.abTestVariationName); }); } deferred.resolve(); }).fail(function() { deferred.reject(); }); return deferred; function toggleNewsletterGender() { // Toggle men's/women's newsletter var $modalContainer = $('.mens-womens-signup-container'); var $genderSwapper = $modalContainer.find('.swap-newsletter-gender'); $genderSwapper.on('click', function(e) { e.preventDefault(); ga("send", "event", "Email Signup", "switch modal gender", $modalContainer.hasClass('for-men') ? 'to women' : 'to men'); $modalContainer.toggleClass('for-men'); $modalContainer.toggleClass('for-women'); }); }; } </script><script>(function() { var _fbq = window._fbq || (window._fbq = []); if (!_fbq.loaded) { var fbds = document.createElement('script'); fbds.async = true; fbds.src = '//connect.facebook.net/en_US/fbds.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fbds, s); _fbq.loaded = true; } _fbq.push(['addPixelId', '1379280122373528']); })(); window._fbq = window._fbq || []; window._fbq.push(['track', 'PixelInitialized', {}]); </script><script> __reach_config = { pid: '5627b815736b79f564001f00', reach_tracking: false }; (function(){ var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = document.location.protocol + '//d8rk54i4mohrb.cloudfront.net/js/reach.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(s); })(); </script><script type="text/javascript"> window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{c.console&&console.log(t)}catch(e){}}var o,i=t("ee"),a=t(19),c={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(c.console=!0,o.indexOf("dev")!==-1&&(c.dev=!0),o.indexOf("nr_dev")!==-1&&(c.nrDev=!0))}catch(s){}c.nrDev&&i.on("internal-error",function(t){r(t.stack)}),c.dev&&i.on("fn-err",function(t,e,n){r(n.stack)}),c.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(c,function(t,e){return t}).join(", ")))},{}],2:[function(t,e,n){function r(t,e,n,r,o){try{d?d-=1:i("err",[o||new UncaughtException(t,e,n)])}catch(c){try{i("ierr",[c,s.now(),!0])}catch(u){}}return"function"==typeof f&&f.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function o(t){i("err",[t,s.now()])}var i=t("handle"),a=t(20),c=t("ee"),s=t("loader"),f=window.onerror,u=!1,d=0;s.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(p){"stack"in p&&(t(12),t(11),"addEventListener"in window&&t(6),s.xhrWrappable&&t(13),u=!0)}c.on("fn-start",function(t,e,n){u&&(d+=1)}),c.on("fn-err",function(t,e,n){u&&(this.thrown=!0,o(n))}),c.on("fn-end",function(){u&&!this.thrown&&d>0&&(d-=1)}),c.on("internal-error",function(t){i("ierr",[t,s.now(),!0])})},{}],3:[function(t,e,n){t("loader").features.ins=!0},{}],4:[function(t,e,n){function r(){C++,N=y.hash,this[u]=M.now()}function o(){C--,y.hash!==N&&i(0,!0);var t=M.now();this[l]=~~this[l]+t-this[u],this[d]=t}function i(t,e){x.emit("newURL",[""+y,e])}function a(t,e){t.on(e,function(){this[e]=M.now()})}var c="-start",s="-end",f="-body",u="fn"+c,d="fn"+s,p="cb"+c,h="cb"+s,l="jsTime",m="fetch",v="addEventListener",w=window,y=w.location;if(w[v]){var b=t(9),g=t(10),x=t(8),E=t(6),O=t(12),R=t(7),P=t(13),T=t("ee"),S=T.get("tracer");t(14);var M=t("loader");M.features.spa=!0;var N,j=w[v],C=0;T.on(u,r),T.on(p,r),T.on(d,o),T.on(h,o),T.buffer([u,d,"xhr-done","xhr-resolved"]),E.buffer([u]),O.buffer(["setTimeout"+s,"clearTimeout"+c,u]),P.buffer([u,"new-xhr","send-xhr"+c]),R.buffer([m+c,m+"-done",m+f+c,m+f+s]),x.buffer(["newURL"]),b.buffer([u]),g.buffer(["propagate",p,h,"executor-err","resolve"+c]),S.buffer([u,"no-"+u]),a(P,"send-xhr"+c),a(T,"xhr-resolved"),a(T,"xhr-done"),a(R,m+c),a(R,m+"-done"),x.on("pushState-end",i),x.on("replaceState-end",i),j("hashchange",i,!0),j("load",i,!0),j("popstate",function(){i(0,C>1)},!0)}},{}],5:[function(t,e,n){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(12),c=t(11),s="learResourceTimings",f="addEventListener",u="resourcetimingbufferfull",d="bstResource",p="resource",h="-start",l="-end",m="fn"+h,v="fn"+l,w="bstTimer",y="pushState",b=t("loader");b.features.stn=!0,t(8);var g=NREUM.o.EV;o.on(m,function(t,e){var n=t[0];n instanceof g&&(this.bstStart=b.now())}),o.on(v,function(t,e){var n=t[0];n instanceof g&&i("bst",[n,e,this.bstStart,b.now()])}),a.on(m,function(t,e,n){this.bstStart=b.now(),this.bstType=n}),a.on(v,function(t,e){i(w,[e,this.bstStart,b.now(),this.bstType])}),c.on(m,function(){this.bstStart=b.now()}),c.on(v,function(t,e){i(w,[e,this.bstStart,b.now(),"requestAnimationFrame"])}),o.on(y+h,function(t){this.time=b.now(),this.startPath=location.pathname+location.hash}),o.on(y+l,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),f in window.performance&&(window.performance["c"+s]?window.performance[f](u,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["c"+s]()},!1):window.performance[f]("webkit"+u,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["webkitC"+s]()},!1)),document[f]("scroll",r,{passive:!0}),document[f]("keypress",r,!1),document[f]("click",r,!1)}},{}],6:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){c.inPlace(t,[u,d],"-",i)}function i(t,e){return t[1]}var a=t("ee").get("events"),c=t(22)(a,!0),s=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";e.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,e){var n=t[1],r=s(n,"nr@wrapped",function(){function t(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,"function":n}[typeof n];return e?c(e,"fn-",null,e.name||"anonymous"):n});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],7:[function(t,e,n){function r(t,e,n){var r=t[e];"function"==typeof r&&(t[e]=function(){var t=r.apply(this,arguments);return o.emit(n+"start",arguments,t),t.then(function(e){return o.emit(n+"end",[null,e],t),e},function(e){throw o.emit(n+"end",[e],t),e})})}var o=t("ee").get("fetch"),i=t(19);e.exports=o;var a=window,c="fetch-",s=c+"body-",f=["arrayBuffer","blob","json","text","formData"],u=a.Request,d=a.Response,p=a.fetch,h="prototype";u&&d&&p&&(i(f,function(t,e){r(u[h],e,s),r(d[h],e,s)}),r(a,"fetch",c),o.on(c+"end",function(t,e){var n=this;e?e.clone().arrayBuffer().then(function(t){n.rxSize=t.byteLength,o.emit(c+"done",[null,e],n)}):o.emit(c+"done",[t],n)}))},{}],8:[function(t,e,n){var r=t("ee").get("history"),o=t(22)(r);e.exports=r,o.inPlace(window.history,["pushState","replaceState"],"-")},{}],9:[function(t,e,n){var r=t("ee").get("mutation"),o=t(22)(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],10:[function(t,e,n){function r(t){var e=a.context(),n=c(t,"executor-",e),r=new f(n);return a.context(r).getCtx=function(){return e},a.emit("new-promise",[r,e],e),r}function o(t,e){return e}var i=t(22),a=t("ee").get("promise"),c=i(a),s=t(19),f=NREUM.o.PR;e.exports=a,f&&(window.Promise=r,["all","race"].forEach(function(t){var e=f[t];f[t]=function(n){function r(t){return function(){a.emit("propagate",[null,!o],i),o=o||!t}}var o=!1;s(n,function(e,n){Promise.resolve(n).then(r("all"===t),r(!1))});var i=e.apply(f,arguments),c=f.resolve(i);return c}}),["resolve","reject"].forEach(function(t){var e=f[t];f[t]=function(t){var n=e.apply(f,arguments);return t!==n&&a.emit("propagate",[t,!0],n),n}}),f.prototype["catch"]=function(t){return this.then(null,t)},f.prototype=Object.create(f.prototype,{constructor:{value:r}}),s(Object.getOwnPropertyNames(f),function(t,e){try{r[e]=f[e]}catch(n){}}),a.on("executor-start",function(t){t[0]=c(t[0],"resolve-",this),t[1]=c(t[1],"resolve-",this)}),a.on("executor-err",function(t,e,n){t[1](n)}),c.inPlace(f.prototype,["then"],"then-",o),a.on("then-start",function(t,e){this.promise=e,t[0]=c(t[0],"cb-",this),t[1]=c(t[1],"cb-",this)}),a.on("then-end",function(t,e,n){this.nextPromise=n;var r=this.promise;a.emit("propagate",[r,!0],n)}),a.on("cb-end",function(t,e,n){a.emit("propagate",[n,!0],this.nextPromise)}),a.on("propagate",function(t,e,n){this.getCtx&&!e||(this.getCtx=function(){if(t instanceof Promise)var e=a.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=function(){return""+f})},{}],11:[function(t,e,n){var r=t("ee").get("raf"),o=t(22)(r),i="equestAnimationFrame";e.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],12:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],"fn-",null,n)}function o(t,e,n){this.method=n,this.timerDuration="number"==typeof t[1]?t[1]:0,t[0]=a(t[0],"fn-",this,n)}var i=t("ee").get("timer"),a=t(22)(i),c="setTimeout",s="setInterval",f="clearTimeout",u="-start",d="-";e.exports=i,a.inPlace(window,[c,"setImmediate"],c+d),a.inPlace(window,[s],s+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(s+u,r),i.on(c+u,o)},{}],13:[function(t,e,n){function r(t,e){d.inPlace(e,["onreadystatechange"],"fn-",c)}function o(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,v,"fn-",c)}function i(t){w.push(t),l&&(b=-b,g.data=b)}function a(){for(var t=0;t<w.length;t++)r([],w[t]);w.length&&(w=[])}function c(t,e){return e}function s(t,e){for(var n in t)e[n]=t[n];return e}t(6);var f=t("ee"),u=f.get("xhr"),d=t(22)(u),p=NREUM.o,h=p.XHR,l=p.MO,m="readystatechange",v=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],w=[];e.exports=u;var y=window.XMLHttpRequest=function(t){var e=new h(t);try{u.emit("new-xhr",[e],e),e.addEventListener(m,o,!1)}catch(n){try{u.emit("internal-error",[n])}catch(r){}}return e};if(s(h,y),y.prototype=h.prototype,d.inPlace(y.prototype,["open","send"],"-xhr-",c),u.on("send-xhr-start",function(t,e){r(t,e),i(e)}),u.on("open-xhr-start",r),l){var b=1,g=document.createTextNode(b);new l(a).observe(g,{characterData:!0})}else f.on("fn-end",function(t){t[0]&&t[0].type===m||a()})},{}],14:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<d;r++)t.removeEventListener(u[r],this.listener,!1);if(!e.aborted){if(n.duration=a.now()-this.startTime,4===t.readyState){e.status=t.status;var i=o(t,this.lastSize);if(i&&(n.rxSize=i),this.sameOrigin){var s=t.getResponseHeader("X-NewRelic-App-Data");s&&(e.cat=s.split(", ").pop())}}else e.status=0;n.cbTime=this.cbTime,f.emit("xhr-done",[t],t),c("xhr",[e,n,this.startTime])}}}function o(t,e){var n=t.responseType;if("json"===n&&null!==e)return e;var r="arraybuffer"===n||"blob"===n||"json"===n?t.response:t.responseText;return l(r)}function i(t,e){var n=s(e),r=t.params;r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.sameOrigin=n.sameOrigin}var a=t("loader");if(a.xhrWrappable){var c=t("handle"),s=t(15),f=t("ee"),u=["load","error","abort","timeout"],d=u.length,p=t("id"),h=t(18),l=t(17),m=window.XMLHttpRequest;a.features.xhr=!0,t(13),f.on("new-xhr",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,h&&(h>34||h<10)||window.opera||t.addEventListener("progress",function(t){e.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),f.on("send-xhr-start",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=l(r);i&&(n.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"===t.type&&(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof e.onload))&&o.end(e)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}};for(var c=0;c<d;c++)e.addEventListener(u[c],this.listener,!1)}),f.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),f.on("xhr-load-added",function(t,e){var n=""+p(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,e){var n=""+p(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],e)}),f.on("removeEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],e)}),f.on("fn-start",function(t,e,n){e instanceof m&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,e){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,e],e)})}},{}],15:[function(t,e,n){e.exports=function(t){var e=document.createElement("a"),n=window.location,r={};e.href=t,r.port=e.port;var o=e.href.split("://");!r.port&&o[1]&&(r.port=o[1].split("/")[0].split("@").pop().split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=e.hostname||n.hostname,r.pathname=e.pathname,r.protocol=o[0],"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname);var i=!e.protocol||":"===e.protocol||e.protocol===n.protocol,a=e.hostname===document.domain&&e.port===n.port;return r.sameOrigin=i&&(!e.hostname||a),r}},{}],16:[function(t,e,n){function r(){}function o(t,e,n){return function(){return i(t,[f.now()].concat(c(arguments)),e?null:this,n),e?void 0:this}}var i=t("handle"),a=t(19),c=t(20),s=t("ee").get("tracer"),f=t("loader"),u=NREUM;"undefined"==typeof window.newrelic&&(newrelic=u);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],p="api-",h=p+"ixn-";a(d,function(t,e){u[e]=o(p+e,!0,"api")}),u.addPageAction=o(p+"addPageAction",!0),u.setCurrentRouteName=o(p+"routeName",!0),e.exports=newrelic,u.interaction=function(){return(new r).get()};var l=r.prototype={createTracer:function(t,e){var n={},r=this,o="function"==typeof e;return i(h+"tracer",[f.now(),t,n],r),function(){if(s.emit((o?"":"no-")+"fn-start",[f.now(),r,o],n),o)try{return e.apply(this,arguments)}finally{s.emit("fn-end",[f.now()],n)}}}};a("setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){l[e]=o(h+e)}),newrelic.noticeError=function(t){"string"==typeof t&&(t=new Error(t)),i("err",[t,f.now()])}},{}],17:[function(t,e,n){e.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],18:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),e.exports=r},{}],19:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],20:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=r},{}],21:[function(t,e,n){e.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],22:[function(t,e,n){function r(t){return!(t&&t instanceof Function&&t.apply&&!t[a])}var o=t("ee"),i=t(20),a="nr@original",c=Object.prototype.hasOwnProperty,s=!1;e.exports=function(t,e){function n(t,e,n,o){function nrWrapper(){var r,a,c,s;try{a=this,r=i(arguments),c="function"==typeof n?n(r,a):n||{}}catch(f){p([f,"",[r,a,o],c])}u(e+"start",[r,a,o],c);try{return s=t.apply(a,r)}catch(d){throw u(e+"err",[r,a,d],c),d}finally{u(e+"end",[r,a,s],c)}}return r(t)?t:(e||(e=""),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,e,o,i){o||(o="");var a,c,s,f="-"===o.charAt(0);for(s=0;s<e.length;s++)c=e[s],a=t[c],r(a)||(t[c]=n(a,f?c+o:o,i,c))}function u(n,r,o){if(!s||e){var i=s;s=!0;try{t.emit(n,r,o,e)}catch(a){p([a,n,r,o])}s=i}}function d(t,e){if(Object.defineProperty&&Object.keys)try{var n=Object.keys(t);return n.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(r){p([r])}for(var o in t)c.call(t,o)&&(e[o]=t[o]);return e}function p(e){try{t.emit("internal-error",e)}catch(n){}}return t||(t=o),n.inPlace=f,n.flag=a,n}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?s(t,c,i):i()}function n(n,r,o,i){if(!p.aborted||i){t&&t(n,r,o);for(var a=e(o),c=l(n),s=c.length,f=0;f<s;f++)c[f].apply(a,r);var d=u[y[n]];return d&&d.push([b,n,r,a]),a}}function h(t,e){w[t]=l(t).concat(e)}function l(t){return w[t]||[]}function m(t){return d[t]=d[t]||o(n)}function v(t,e){f(t,function(t,n){e=e||"feature",y[n]=e,e in u||(u[e]=[])})}var w={},y={},b={on:h,emit:n,get:m,listeners:l,context:e,buffer:v,abort:a,aborted:!1};return b}function i(){return new r}function a(){(u.api||u.feature)&&(p.aborted=!0,u=p.backlog={})}var c="nr@context",s=t("gos"),f=t(19),u={},d={},p=e.exports=o();p.backlog=u},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t("ee").get("handle");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!x++){var t=g.info=NREUM.info,e=p.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return u.abort();f(y,function(e,n){t[e]||(t[e]=n)}),s("mark",["onload",a()+g.offset],null,"api");var n=p.createElement("script");n.src="https://"+t.agent,e.parentNode.insertBefore(n,e)}}function o(){"complete"===p.readyState&&i()}function i(){s("mark",["domContent",a()+g.offset],null,"api")}function a(){return E.exists&&performance.now?Math.round(performance.now()):(c=Math.max((new Date).getTime(),c))-g.offset}var c=(new Date).getTime(),s=t("handle"),f=t(19),u=t("ee"),d=window,p=d.document,h="addEventListener",l="attachEvent",m=d.XMLHttpRequest,v=m&&m.prototype;NREUM.o={ST:setTimeout,CT:clearTimeout,XHR:m,REQ:d.Request,EV:d.Event,PR:d.Promise,MO:d.MutationObserver};var w=""+location,y={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-spa-1026.min.js"},b=m&&v&&v[h]&&!/CriOS/.test(navigator.userAgent),g=e.exports={offset:c,now:a,origin:w,features:{},xhrWrappable:b};t(16),p[h]?(p[h]("DOMContentLoaded",i,!1),d[h]("load",r,!1)):(p[l]("onreadystatechange",o),d[l]("onload",r)),s("mark",["firstbyte",c],null,"api");var x=0,E=t(21)},{}]},{},["loader",2,14,5,3,4]); ;NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"148b715503",applicationID:"10357565",sa:1} </script><script> // NaN_api = [[app_id, user_id], [type, name, value, extra]]; if (typeof NaN_api === 'undefined' || NaN_api === null) { NaN_api = [ [375942, app.user.custNo] ]; } </script><script type="text/javascript"> (function(app){ app.constants = {"AVAIL_STATUS_IN_STOCK":"IN_STOCK","AVAIL_STATUS_PREORDER":"PREORDER","AVAIL_STATUS_BACKORDER":"BACKORDER","AVAIL_STATUS_NOT_AVAILABLE":"NOT_AVAILABLE","PI_METHOD_GIFT_CERTIFICATE":"GIFT_CERTIFICATE","FACEBOOK_APP_ID":"292983597568491"}; app.resources = {"SHIP_QualifiesFor":"This shipment qualifies for","CC_LOAD_ERROR":"Couldn't load credit card!","REG_ADDR_ERROR":"Couldn't Load Address","BONUS_PRODUCT":"Bonus Product","BONUS_PRODUCTS":"Bonus Product(s)","SELECT_BONUS_PRODUCTS":"Select {0} Bonus Product(s)","SELECT_BONUS_PRODUCT":"Select","BONUS_PRODUCT_MAX":"The maximum number of bonus products have been selected. Please remove one in order to add additional bonus products.","SIMPLE_SEARCH":"Enter Keyword or Item #","SUBSCRIBE_EMAIL_DEFAULT":"Email Address","CURRENCY_SYMBOL":"$","MISSINGVAL":"Please Enter {0}","SERVER_ERROR":"Server connection failed!","MISSING_LIB":"jQuery is undefined.","BAD_RESPONSE":"Bad response, Parser error","INVALID_PHONE":"Please specify a valid phone number.","INVALID_POSTAL":"Please specify a valid postal code.","INVALID_EMAIL":"This doesn't appear to be an email address.","REMOVE":"Remove","QTY":"Qty","EMPTY_IMG_ALT":"Remove","COMPARE_BUTTON_LABEL":"Compare Items","COMPARE_CONFIRMATION":"This will remove the first product added to compare. Is that OK?","COMPARE_REMOVE_FAIL":"Unable to remove item from list","COMPARE_ADD_FAIL":"Unable to add item to list","ADD_TO_CART_FAIL":"Unable to add item '{0}' to your bag","REGISTRY_SEARCH_ADVANCED_CLOSE":"Close Advanced Search","GIFT_CERT_INVALID":"Invalid Gift Card Information","GIFT_CERT_BALANCE":"Your current gift certificate balance is ","GIFT_CERT_AMOUNT_INVALID":"Gift Certificate can only be purchased with a minimum of $5 and maximum of $5000","GIFT_CERT_MISSING":"Please enter your gift card number.","GIFT_CERT_PIN_MISSING":"Please enter a gift certificate PIN.","COUPON_CODE_MISSING":"Please Enter a Promotional Code.","COOKIES_DISABLED":"Your browser currently is not set to accept Cookies. Please turn it on or check if you have another program set to block cookies.","BML_AGREE_TO_TERMS":"You need to agree to the terms and conditions by activating this checkbox.","CHAR_LIMIT_MSG":"You have {0} characters left out of {1}","CONFIRM_DELETE":"Do you want to remove this {0}?","TITLE_GIFTREGISTRY":"gift registry","TITLE_ADDRESS":"address","TITLE_CREDITCARD":"credit card","SERVER_CONNECTION_ERROR":"Server connection failed!","IN_STOCK_DATE":"The expected in-stock date is {0}.","INIFINITESCROLL":"Show All","STORE_NEAR_YOU":"What's available at a store near you","SELECT_STORE":"Select Store","SELECTED_STORE":"Selected Store","PREFERRED_STORE":"Preferred Store","SET_PREFERRED_STORE":"Set Preferred Store","ENTER_ZIP":"Enter Zip Code","INVALID_ZIP":"Please enter a valid Zip Code","SEARCH":"Search","CHANGE_LOCATION":"Change Location","CONTINUE_WITH_STORE":"Continue with preferred store","CONTINUE":"Continue","SEE_MORE":"See More Stores","SEE_LESS":"See Less Stores","ADDTOCART":"Add to My Bag","DISABLEDCARTMESSAGE":"Please select size/color","DISABLEDGCCARTMESSAGE":"Please select an amount","VARIATIONLIMITMESSAGE":"Sorry, you are limited to purchase up to 2 pairs of the same shoe in the same color.","SHARE_MESSAGE":"Shop M.Gemi","JOINWAITLIST":"Join the Wait List","CONFIRMWAITLIST":"Thank you","WAITLISTED":"Waitlisted","THANK_YOU":"Successo!","SITE_LOCALE":"default","AMPLIENCE_CDN":"https://cdn-media.amplience.com/mgemi/","IN_STOCK":"In Stock","QTY_IN_STOCK":"{0} Item(s) In Stock","PREORDER":"Pre-Order","QTY_PREORDER":"{0} item(s) are available for pre-order.","REMAIN_PREORDER":"The remaining items are available for pre-order.","BACKORDER":"Back Order","QTY_BACKORDER":"Back Order {0} item(s)","REMAIN_BACKORDER":"The remaining items are available on back order.","NOT_AVAILABLE":"This item is currently not available.","REMAIN_NOT_AVAILABLE":"The remaining items are currently not available. Please adjust the quantity."}; app.urls = {"appResources":"/on/demandware.store/Sites-mgemi-Site/default/Resources-Load","pageInclude":"/on/demandware.store/Sites-mgemi-Site/default/Page-Include","continueUrl":"http://mgemi.com/search/?dwcont=C869796195","staticPath":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/","addGiftCert":"/e-gift-card/","minicartGC":"/on/demandware.store/Sites-mgemi-Site/default/GiftCert-ShowMiniCart","addProduct":"/on/demandware.store/Sites-mgemi-Site/default/Cart-AddProduct","minicart":"/on/demandware.store/Sites-mgemi-Site/default/Cart-MiniAddProduct","cartShow":"/cart/","giftRegAdd":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Address-GetAddressDetails?addressID=","paymentsList":"https://mgemi.com/wallet/","addressesList":"https://mgemi.com/addressbook/","wishlistAddress":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Wishlist-SetShippingAddress","deleteAddress":"/on/demandware.store/Sites-mgemi-Site/default/Address-Delete","getProductUrl":"/on/demandware.store/Sites-mgemi-Site/default/Product-Show","getBonusProducts":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetBonusProducts","addBonusProduct":"/on/demandware.store/Sites-mgemi-Site/default/Cart-AddBonusProduct","getSetItem":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetSetItem","productDetail":"/on/demandware.store/Sites-mgemi-Site/default/Product-Detail","getAvailability":"/on/demandware.store/Sites-mgemi-Site/default/Product-GetAvailability","removeImg":"/on/demandware.static/Sites-mgemi-Site/-/default/dwc8e53f09/images/interface/icon_remove.gif","searchsuggest":"/on/demandware.store/Sites-mgemi-Site/default/Search-GetSuggestions","productNav":"/on/demandware.store/Sites-mgemi-Site/default/Product-Productnav","summaryRefreshURL":"/on/demandware.store/Sites-mgemi-Site/default/COBilling-UpdateSummary","billingSelectCC":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-SelectCreditCard","updateAddressDetails":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-UpdateAddressDetails","updateAddressDetailsBilling":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-UpdateAddressDetails","shippingMethodsJSON":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-GetApplicableShippingMethodsJSON","shippingMethodsList":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-UpdateShippingMethodList","selectShippingMethodsList":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COShipping-SelectShippingMethod","resetPaymentForms":"/on/demandware.store/Sites-mgemi-Site/default/COBilling-ResetPaymentForms","compareShow":"/on/demandware.store/Sites-mgemi-Site/default/Compare-Show","compareAdd":"/on/demandware.store/Sites-mgemi-Site/default/Compare-AddProduct","compareRemove":"/on/demandware.store/Sites-mgemi-Site/default/Compare-RemoveProduct","compareEmptyImage":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/images/comparewidgetempty.png","giftCardCheckBalance":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/COBilling-GetGiftCertificateBalance","addCoupon":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Cart-AddCoupon","powerReviewsFullJs":"/on/demandware.static/-/Sites-mgemi-storefront-catalog-us/default/v1516554258483/pwr/engine/js/full.js","powerReviewsZip":"/on/demandware.static/-/Sites-mgemi-storefront-catalog-us/default/v1516554258483","storeLocatorPage":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Find","storesInventory":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Inventory","storesLookup":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-Lookup","setPreferredStore":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-SetPreferredStore","getPreferredStore":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-GetPreferredStore","setZipCode":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-SetZipCode","getZipCode":"/on/demandware.store/Sites-mgemi-Site/default/StoreInventory-GetZipCode","billing":"/billing/","currencyConverter":"/on/demandware.store/Sites-mgemi-Site/default/Currency-SetSessionCurrency","productMasterJSON":"/on/demandware.store/Sites-mgemi-Site/default/Product-DetailJSON","productVariationJSON":"/on/demandware.store/Sites-mgemi-Site/default/Product-VariationJSON","productZoom":"/on/demandware.store/Sites-mgemi-Site/default/Product-Zoom","productDayNight":"/on/demandware.store/Sites-mgemi-Site/default/Product-DayNight","waitlist":"/on/demandware.store/Sites-mgemi-Site/default/Product-Waitlist","accountShow":"https://mgemi.com/account/","lookupPostal":"https://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/USPS-Lookup","getProductVariantImages":"/on/demandware.store/Sites-mgemi-Site/default/ProductImages-GetVariantImages","getReferralData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetPhaseOneReferralData","getAnniversaryReferralData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetAnniversaryReferralData","getMensPreLaunchRefData":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-GetMensPreLaunchReferralData","referralSignup":"/on/demandware.store/Sites-mgemi-Site/default/ReferralAPI-ReferralSignup","postIterableEvent":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-PostEvent","getSvg":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Svg-Get","addToNewsletter":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-AddToNewsletter","removeFromNewsletter":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Iterable-RemoveFromNewsletter","default":"/on/demandware.store/Sites-mgemi-Site/default","smoochScript":"/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/vendor/rep.js","renderSubscriptionPreferenceCenterModal":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/SubscriptionPreferenceCenter-RenderModal","toggleSubscriptionsFromOptOutModal":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/OptOutSurvey-ToggleSubscriptionsFromModal","handlebarsRender":"http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/Handlebars-Render"}; app.clientcache = {"LISTING_INFINITE_SCROLL":true,"LISTING_REFINE_SORT":true,"LISTING_SEARCHSUGGEST_LEGACY":false}; app.instanceSettings = {"enableNewsletterPopup":true,"amplienceImageUrl":"//i1.adis.ws/i/mgemi/"}; app.user = app.user || {}; app.queryParams = {"cgid":"moccasins"}; var userSettings = {"zip":null,"storeId":null}; for(var userSetting in userSettings) { app.user[userSetting] = userSettings[userSetting]; } app.enabledStorePickup = false; app.settings.put({}); }(window.app = window.app || {}));</script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/lib/media.match.min.js" type="text/javascript"></script><script src="//connect.facebook.net/en_US/all.js"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/unified-min.js"></script><script>app.page.setContext({"title":"Product Search Results","type":"search","ns":"search"});</script><script> var meta = "Impeccably crafted Women's Italian Leather Driving Shoes &amp; Driving Moccasins, handmade in Italy. Fast, free shipping and returns."; var keywords = ""; </script><script> // dimension value is "mens" if user visited mens page, "womens" if user visited womens page, // "mixed" if user visited both mens and womens pages, and "unattributed" otherwise var dimensionValue = 'unattributed'; if(app.user.visitedMalePage && app.user.visitedFemalePage) { dimensionValue = 'mixed'; } else if(app.user.visitedMalePage) { dimensionValue = 'mens'; } else if(app.user.visitedFemalePage) { dimensionValue = 'womens'; } ga('set', 'dimension13', dimensionValue); </script><script> ga('set', 'dimension14', window.innerWidth + ',' + window.innerHeight); </script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/js/browserDetection.js"></script><script type="text/javascript">//<!-- /* <![CDATA[ */ function trackPage() { try{ var trackingUrl = "http://mgemi.com/on/demandware.store/Sites-mgemi-Site/default/__Analytics-Tracking"; var dwAnalytics = dw.__dwAnalytics.getTracker(trackingUrl); if (typeof dw.ac == "undefined") { dwAnalytics.trackPageView(); } else { dw.ac.setDWAnalytics(dwAnalytics); } }catch(err) {}; } /* ]]> */ // --> </script><script type="text/javascript" src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/internal/jscript/dwanalytics-16.9.js" async="async" onload="trackPage()"></script><script src="/on/demandware.static/Sites-mgemi-Site/-/default/v1516554258483/internal/jscript/dwac-16.9.js" type="text/javascript" async="async"></script><script src="https://cdn.cquotient.com/js/v2/gretel.min.js" type="text/javascript" async="async"></script>