{
  "version": 3,
  "sources": ["/cdn/shop/t/9/assets/everylegend-account-modal-bridge.js?el_auth_v=20260709_1301"],
  "sourcesContent": ["(() => {\n  if (window.__everylegendAccountBridgeReady) return;\n  window.__everylegendAccountBridgeReady = true;\n\n  function removeStaleShopByInterestLabels() {\n    document.querySelectorAll('.etsy-header-nav__panel-heading').forEach((heading) => {\n      if (/shop by interest/i.test(heading.textContent || '')) heading.remove();\n    });\n  }\n\n  function normalizeEveryLegendDescriptionLists() {\n    const listSectionPattern = /(?:ABOUT THE DESIGN|PERFECT FOR|\\bDETAILS?\\b|GIFT IDEAS|EVERYDAY USES|DISPLAY AND GIFT IDEAS|PRODUCTION\\s*&\\s*SHIPPING)/i;\n    const narrativeBoundaryPattern = /^(?:This (?:is|artwork|design)|Each .+ made to order|Message\\b|Questions?\\b|If you\\b)/i;\n\n    document.querySelectorAll('.etsy-description-copy').forEach((description) => {\n      description.classList.add('everylegend-product-copy');\n      const headings = description.querySelectorAll(\n        'h2, h3, h4, h5, h6, .etsy-description-copy__heading'\n      );\n\n      headings.forEach((heading) => {\n        const label = (heading.textContent || '').replace(/\\s+/g, ' ').trim();\n        if (!listSectionPattern.test(label)) return;\n\n        const firstContent = heading.nextElementSibling;\n        if (!firstContent || firstContent.matches('ul, ol')) return;\n\n        const paragraphs = [];\n        let current = firstContent;\n        while (current?.matches('p')) {\n          const text = (current.textContent || '').replace(/\\s+/g, ' ').trim();\n          if (!text || narrativeBoundaryPattern.test(text)) break;\n          paragraphs.push(current);\n          current = current.nextElementSibling;\n        }\n\n        if (paragraphs.length < 2) return;\n\n        const list = document.createElement('ul');\n        heading.insertAdjacentElement('afterend', list);\n        paragraphs.forEach((paragraph) => {\n          const item = document.createElement('li');\n          while (paragraph.firstChild) item.appendChild(paragraph.firstChild);\n          list.appendChild(item);\n          paragraph.remove();\n        });\n      });\n    });\n  }\n\n  removeStaleShopByInterestLabels();\n  normalizeEveryLegendDescriptionLists();\n\n  if (document.readyState === 'loading') {\n    document.addEventListener(\n      'DOMContentLoaded',\n      () => {\n        removeStaleShopByInterestLabels();\n        normalizeEveryLegendDescriptionLists();\n      },\n      { once: true }\n    );\n  }\n  document.addEventListener('shopify:section:load', normalizeEveryLegendDescriptionLists);\n  window.setTimeout(normalizeEveryLegendDescriptionLists, 400);\n  window.setTimeout(normalizeEveryLegendDescriptionLists, 1200);\n})();\n"],
  "mappings": "CAAC,IAAM,CACL,GAAI,OAAO,gCAAiC,OAC5C,OAAO,gCAAkC,GAEzC,SAAS,iCAAkC,CACzC,SAAS,iBAAiB,iCAAiC,EAAE,QAAS,SAAY,CAC5E,oBAAoB,KAAK,QAAQ,aAAe,EAAE,GAAG,QAAQ,OAAO,CAC1E,CAAC,CACH,CAEA,SAAS,sCAAuC,CAC9C,MAAM,mBAAqB,2HACrB,yBAA2B,yFAEjC,SAAS,iBAAiB,wBAAwB,EAAE,QAAS,aAAgB,CAC3E,YAAY,UAAU,IAAI,0BAA0B,EACnC,YAAY,iBAC3B,qDACF,EAES,QAAS,SAAY,CAC5B,MAAM,OAAS,QAAQ,aAAe,IAAI,QAAQ,OAAQ,GAAG,EAAE,KAAK,EACpE,GAAI,CAAC,mBAAmB,KAAK,KAAK,EAAG,OAErC,MAAM,aAAe,QAAQ,mBAC7B,GAAI,CAAC,cAAgB,aAAa,QAAQ,QAAQ,EAAG,OAErD,MAAM,WAAa,CAAC,EACpB,IAAI,QAAU,aACd,KAAO,SAAS,QAAQ,GAAG,GAAG,CAC5B,MAAM,MAAQ,QAAQ,aAAe,IAAI,QAAQ,OAAQ,GAAG,EAAE,KAAK,EACnE,GAAI,CAAC,MAAQ,yBAAyB,KAAK,IAAI,EAAG,MAClD,WAAW,KAAK,OAAO,EACvB,QAAU,QAAQ,kBACpB,CAEA,GAAI,WAAW,OAAS,EAAG,OAE3B,MAAM,KAAO,SAAS,cAAc,IAAI,EACxC,QAAQ,sBAAsB,WAAY,IAAI,EAC9C,WAAW,QAAS,WAAc,CAChC,MAAM,KAAO,SAAS,c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