{
  "version": 3,
  "sources": ["/cdn/shop/t/65/assets/mera-sa-trust.js?cb=20162"],
  "sourcesContent": ["/* mera-sa-trust.js \u2014 SneakerAsk-style trust badges for MeraFashion (Nov 2026)\n   Adds: product page share row, 72H pill next to the price, \"Guaranteed Authentic\" card,\n   footer \"Follow us\" + \"Our delivery partners\" + mobile accordions.\n   Self-contained; touches no cart/size logic. Remove the <script> tag in theme.liquid to undo. */\n(function(){\n  if (window.__meraSaTrust) return; window.__meraSaTrust = true;\n  var BOLT = '<svg viewBox=\"0 0 10 12\" width=\"10\" height=\"12\" aria-hidden=\"true\"><path d=\"M6.2.7 1 7h3.8l-.9 4.3L9 5H5.2z\" fill=\"url(#saGradB)\"/><defs><linearGradient id=\"saGradB\" x1=\"9.7\" y1=\"6\" x2=\".4\" y2=\"6.4\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#A357FF\"/><stop offset=\"1\" stop-color=\"#C146DF\"/></linearGradient></defs></svg>';\n  function el(html){ var t=document.createElement('template'); t.innerHTML=html.trim(); return t.content.firstChild; }\n  function enc(s){ return encodeURIComponent(s); }\n\n  /* ---------- PRODUCT PAGE ---------- */\n  function pdp(){\n    var root = document.querySelector('.OlyxPdp'); if (!root) return;\n    var title = (document.querySelector('.ProductMeta__Title')||{}).textContent || document.title;\n    title = title.trim();\n    var url = location.origin + location.pathname;\n    var og = document.querySelector('meta[property=\"og:image\"]');\n    var img = og ? og.getAttribute('content') : '';\n    if (img && img.indexOf('//')===0) img = 'https:' + img;\n\n    // 1. Share row (under the breadcrumb, like SneakerAsk)\n    if (!document.querySelector('.SaShare')) {\n      var share = el(\n        '<div class=\"SaShare\"><span class=\"SaShare__Label\">Share</span><ul class=\"SaShare__List\" role=\"list\">' +\n        '<li><a class=\"SaShare__Item\" target=\"_blank\" rel=\"noopener\" aria-label=\"Share on Facebook\" href=\"https://www.facebook.com/sharer/sharer.php?u='+enc(url)+'\"><svg viewBox=\"0 0 24 24\" width=\"20\" height=\"20\" aria-hidden=\"true\"><path d=\"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z\" fill=\"currentColor\"/></svg></a></li>' +\n        '<li><a class=\"SaShare__Item\" target=\"_blank\" rel=\"noopener\" aria-label=\"Share on X\" href=\"https://twitter.com/intent/tweet?url='+enc(url)+'&text='+enc(title)+'\"><svg viewBox=\"0 0 24 24\" width=\"17\" height=\"17\" aria-hidden=\"true\"><path d=\"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z\" fill=\"currentColor\"/></svg></a></li>' +\n        '<li><a class=\"SaShare__Item\" target=\"_blank\" rel=\"noopener\" aria-label=\"Share on Pinterest\" href=\"https://pinterest.com/pin/create/button/?url='+enc(url)+'&media='+enc(img)+'&description='+enc(title)+'\"><svg viewBox=\"0 0 24 24\" width=\"19\" height=\"19\" aria-hidden=\"true\"><path d=\"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z\" fill=\"currentColor\"/></svg></a></li>' +\n        '<li><a class=\"SaShare__Item\" aria-label=\"Share by email\" href=\"mailto:?subject='+enc(title)+'&body='+enc(url)+'\"><svg viewBox=\"0 0 24 24\" width=\"21\" height=\"21\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"3\" y=\"5.5\" width=\"18\" height=\"13\" rx=\"2\"/><path d=\"m3.5 6.5 8.5 6.5 8.5-6.5\"/></svg></a></li>' +\n        '</ul></div>');\n      var crumb = document.querySelector('.MeraCrumb');\n      if (crumb && crumb.parentNode) crumb.parentNode.insertBefore(share, crumb.nextSibling);\n      else { var meta = root.querySelector('.ProductMeta'); if (meta) meta.insertBefore(share, meta.firstChild); }\n    }\n\n    // 2. 72H pill next to the price (re-added if the price box re-renders on variant change)\n    var box = root.querySelector('.OlyxPrice');\n    function addPill(){\n      if (!box || box.querySelector('.SaPricePill')) return;\n      var pill = el('<span class=\"SaPricePill\"><span class=\"SaPricePill__In\">'+BOLT+'<span class=\"SaPricePill__Txt\">72H</span></span></span>');\n      var save = box.querySelector('.OlyxPrice__SaveBadge');\n      if (save) box.insertBefore(pill, save); else box.appendChild(pill);\n    }\n    if (box) {\n      addPill();\n      try { new MutationObserver(function(){ addPill(); }).observe(box, {childList:true}); } catch(e){}\n    }\n\n    // 3. \"Guaranteed Authentic\" card after the story circles (SneakerAsk \"Guaranteed\" card)\n    var circles = root.querySelector('.MeraCircles') || document.querySelector('.MeraCircles');\n    if (circles && !document.querySelector('.SaGuarantee')) {\n      var thumb = img ? img.replace(/(\\?|&)width=\\d+/,'') + (img.indexOf('?')>-1?'&':'?') + 'width=160' : '';\n      var card = el(\n        '<div class=\"SaGuarantee\">' +\n          '<div class=\"SaGuarantee__Head\">' +\n            (thumb ? '<span class=\"SaGuarantee__Img\"><img src=\"'+thumb+'\" alt=\"\" width=\"48\" height=\"48\" loading=\"lazy\"></span>' : '') +\n            '<span class=\"SaGuarantee__Icon\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" width=\"20\" height=\"20\" fill=\"#fff\"><path d=\"M9.5 2.5 11 7l4.5 1.5L11 10l-1.5 4.5L8 10 3.5 8.5 8 7z\"/><path d=\"M17 11.5l.9 2.6 2.6.9-2.6.9-.9 2.6-.9-2.6-2.6-.9 2.6-.9z\"/><path d=\"M6.5 15.5l.6 1.6 1.6.6-1.6.6-.6 1.6-.6-1.6-1.6-.6 1.6-.6z\"/></svg></span>' +\n            '<h3 class=\"SaGuarantee__Title\"><em>Guaranteed</em> Authentic</h3>' +\n          '</div>' +\n          '<p class=\"SaGuarantee__Text\">Each item is carefully checked for authenticity before it leaves us \u2014 100% authentic guaranteed.</p>' +\n        '</div>');\n      circles.parentNode.insertBefore(card, circles.nextSibling);\n    }\n  }\n\n  /* ---------- FOOTER ---------- */\n  function footer(){\n    var f = document.querySelector('.MeraFooter'); if (!f || f.getAttribute('data-sa')) return;\n    f.setAttribute('data-sa','1');\n    var social = f.querySelector('.MeraFooter__Social');\n    if (social) {\n      var row = el('<div class=\"SaFootRow\"><div class=\"SaFootRow__Col SaFootRow__Col--follow\"><h3 class=\"SaFootRow__Title\">Follow us</h3></div>' +\n        '<div class=\"SaFootRow__Col SaFootRow__Col--partners\"><h3 class=\"SaFootRow__Title\">Our delivery partners</h3><ul class=\"SaPartners\" role=\"list\">' +\n        '<li aria-label=\"PostNL\"><svg viewBox=\"0 0 30 30\" width=\"29\" height=\"29\" aria-hidden=\"true\"><circle cx=\"15\" cy=\"15\" r=\"13.6\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\"/><text x=\"15\" y=\"18.2\" text-anchor=\"middle\" font-family=\"Arial,Helvetica,sans-serif\" font-size=\"8.2\" font-weight=\"700\" fill=\"currentColor\">postnl</text></svg></li>' +\n        '<li aria-label=\"DHL\"><svg viewBox=\"0 10.2 24 3.6\" width=\"76\" height=\"12\" aria-hidden=\"true\"><path d=\"M4.22 10.303l-.767 1.043h4.18c.21 0 .208.078.105.218-.105.142-.28.39-.386.534-.054.073-.154.207.171.207h1.71l.505-.69c.314-.426.028-1.312-1.095-1.312H4.22zm7.204 0l-1.475 2.002h5.39l1.473-2.002H14.61l-.843 1.146h-.985l.846-1.146h-2.203zm6.105 0l-1.474 2.002h2.334l1.472-2.002H17.53zm-12.845 1.3l-1.54 2.094h3.754c1.24 0 1.932-.844 2.145-1.136h-2.56c-.326 0-.226-.133-.172-.207.107-.143.283-.388.388-.53.104-.14.107-.22-.105-.22h-1.91zM0 12.562v.242h3.398l.176-.242H0zm9.762 0l-.836 1.136h2.203l.836-1.136H9.762zm3.185 0l-.836 1.136h2.203l.836-1.136h-2.203zm2.918 0s-.159.22-.238.326c-.276.374-.033.81.87.81h3.538l.834-1.136h-5.004zm5.408 0l-.177.242H24v-.242h-2.727zM0 13.01v.24h3.068l.178-.24H0zm20.943 0l-.175.24H24v-.24h-3.057zM0 13.457v.24h2.74l.176-.24H0zm20.615 0l-.177.24H24v-.24h-3.385z\" fill=\"currentColor\"/></svg></li>' +\n        '<li aria-label=\"UPS\"><svg viewBox=\"0 0 24 24\" width=\"27\" height=\"27\" aria-hidden=\"true\"><path d=\"M11.668 14.544l-.028-5.226c.138-.055.387-.111.608-.111.995 0 1.41.774 1.41 2.682 0 1.853-.47 2.765-1.438 2.765-.22 0-.441-.055-.552-.11zM3.124 7.438c4.203-3.843 9.29-4.866 14.018-4.866 1.3 0 2.544.083 3.76.194h-.028v11.253c0 2.184-.774 3.926-2.295 5.171-1.355 1.134-5.447 2.959-6.581 3.456-1.161-.525-5.253-2.378-6.581-3.456-1.493-1.244-2.295-3.014-2.295-5.171V7.438zm12.664 2.599c.028.912.276 1.576 1.687 2.406.747.442 1.051.747 1.051 1.272 0 .581-.387.94-1.023.94-.553 0-1.189-.304-1.631-.691v1.576c.553.304 1.217.525 1.88.525 1.687 0 2.433-1.189 2.461-2.267.028-.995-.249-1.742-1.659-2.571-.608-.387-1.134-.636-1.106-1.244 0-.581.525-.802.995-.802.581 0 1.161.332 1.521.691V8.378c-.304-.221-.94-.581-1.88-.553-1.135.028-2.296.829-2.296 2.212zm-5.834 9.484h1.714l-.028-3.594c.166.028.415.083.774.083 1.908 0 2.986-1.687 2.986-4.175 0-2.461-1.106-4.009-3.152-4.009-.94 0-1.687.221-2.295.608v11.087zm-5.945-6.166c0 1.797.829 2.71 2.516 2.71 1.051 0 1.908-.249 2.571-.691V7.991H7.41v6.387c-.194.138-.47.221-.802.221-.774 0-.885-.719-.885-1.189V7.991H4.009v5.364zM22.12 2.295v11.723c0 2.516-.94 4.645-2.765 6.111-1.549 1.3-6.332 3.429-7.355 3.871-1.023-.442-5.806-2.571-7.355-3.843-1.797-1.465-2.765-3.594-2.765-6.111V2.295C4.756.747 8.074 0 12 0s7.244.747 10.12 2.295zm-.304.221c-2.71-1.465-6-2.184-9.788-2.184s-7.079.746-9.788 2.184v11.502c0 2.433.912 4.452 2.627 5.862 1.576 1.3 6.581 3.484 7.161 3.76.581-.249 5.585-2.433 7.161-3.733 1.714-1.41 2.627-3.429 2.627-5.862V2.516zm-2.433 20.295c0 .47-.387.829-.829.829a.831.831 0 0 1-.829-.829c0-.47.387-.829.829-.829.441 0 .801.359.829.829zm-.166 0a.679.679 0 0 0-.664-.691c-.359 0-.664.332-.664.691 0 .359.304.664.664.664a.673.673 0 0 0 .664-.664zm-.553.055c.028.055.304.442.304.442h-.221s-.276-.387-.276-.415h-.028v.415h-.194v-.995l.304-.028c.249 0 .332.166.332.304s-.083.25-.221.277zm.027-.276c0-.055 0-.138-.166-.138h-.083v.304h.028c.194 0 .221-.083.221-.166z\" fill=\"currentColor\"/></svg></li>' +\n        '<li aria-label=\"bpost\"><svg viewBox=\"0 0 46 29\" width=\"46\" height=\"29\" aria-hidden=\"true\"><text x=\"23\" y=\"19.5\" text-anchor=\"middle\" font-family=\"Arial Rounded MT Bold,Arial,Helvetica,sans-serif\" font-size=\"15\" font-weight=\"800\" letter-spacing=\"-.4\" fill=\"currentColor\">bpost</text></svg></li>' +\n        '</ul></div></div>');\n      social.parentNode.insertBefore(row, social);\n      row.querySelector('.SaFootRow__Col--follow').appendChild(social);\n    }\n    // mobile accordions for the link columns (SneakerAsk: MORE INFORMATION + / FIND YOUR PRODUCT +)\n    f.querySelectorAll('.MeraFooter__Col').forEach(function(col){\n      if (col.classList.contains('MeraFooter__Col--brand') || col.classList.contains('MeraFooter__Col--news')) return;\n      var t = col.querySelector('.MeraFooter__Title'), list = col.querySelector('.MeraFooter__Links');\n      if (!t || !list || t.querySelector('.SaAcc__Icon')) return;\n      col.classList.add('SaAcc');\n      t.setAttribute('role','button'); t.setAttribute('tabindex','0'); t.setAttribute('aria-expanded','false');\n      t.insertAdjacentHTML('beforeend','<span class=\"SaAcc__Icon\" aria-hidden=\"true\"></span>');\n      function toggle(){ var open = col.classList.toggle('is-open'); t.setAttribute('aria-expanded', open?'true':'false'); }\n      t.addEventListener('click', toggle);\n      t.addEventListener('keydown', function(e){ if (e.key==='Enter'||e.key===' '){ e.preventDefault(); toggle(); } });\n    });\n  }\n\n  function run(){ try{pdp();}catch(e){} try{footer();}catch(e){} }\n  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', run); else run();\n})();\n"],
  "mappings": "CAIC,UAAU,CACT,GAAI,OAAO,cAAe,OAAQ,OAAO,cAAgB,GACzD,IAAI,KAAO,0UACX,SAAS,GAAG,KAAK,CAAE,IAAI,EAAE,SAAS,cAAc,UAAU,EAAG,SAAE,UAAU,K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