{
  "version": 3,
  "sources": ["/cdn/shop/t/22/assets/ardor-rigid-ws.js?x=1792536036471"],
  "sourcesContent": ["// Ardor Rigid Sign Designer - sticker builder look helper. Ardor Printing.\n// New Oct 20, 2026 (RS-CORE). Copy of the LIVE assets/ardor-realestate-ws.js (unchanged), header changed by rigid/core/small.patch.\n// Loaded by sections/ardor-rigid-builder-ws-kit.liquid after ardor-rigid-builder.js, -app.js and -layers-kit.js.\n// Layout only: puts the Ardor logo at the top of the tool rail and tells the CSS how far the builder sits below the\n// stuck header so it fills the screen. It does not touch options, prices, proof or cart.\n(function () {\n  'use strict';\n  var root = document.querySelector('[data-abb-root]');\n  if (!root || root.__aaw) return;\n  root.__aaw = true;\n\n  // Ardor logo at the top of the rail (the CSS keeps it first even if more tools are added later)\n  function placeLogo() {\n    var rail = root.querySelector('.abx-rail'), logo = root.querySelector('[data-aaw-logo]');\n    if (!rail || !logo) return false;\n    if (logo.parentNode !== rail) rail.insertBefore(logo, rail.firstChild);\n    logo.hidden = false;\n    return true;\n  }\n  if (!placeLogo()) {\n    var tries = 0, timer = setInterval(function () { if (placeLogo() || ++tries > 50) clearInterval(timer); }, 100);\n  }\n\n  // like the sticker builder: on computers the builder fills the screen under the announcement bar and header\n  var lastTop = '';\n  function fit() {\n    var top = Math.round(root.getBoundingClientRect().top + window.scrollY);\n    if (!(top > 0 && top < 400) || top + 'px' === lastTop) return;\n    lastTop = top + 'px';\n    root.style.setProperty('--ardor-top', lastTop);\n    // the builder sizes its canvases on resize, so let it re-measure the new height\n    setTimeout(function () { try { window.dispatchEvent(new Event('resize')); } catch (e) {} }, 0);\n  }\n  fit();\n  window.addEventListener('resize', fit);\n  window.addEventListener('load', fit);\n})();\n"],
  "mappings": "CAKC,UAAY,CACX,aACA,IAAI,KAAO,SAAS,cAAc,iBAAiB,EACnD,GAAI,CAAC,MAAQ,KAAK,MAAO,OACzB,KAAK,MAAQ,GAGb,SAAS,WAAY,CACnB,IAAI,KAAO,KAAK,cAAc,WAAW,EAAG,KAAO,KAAK,cAAc,iBAAiB,EACvF,MAAI,CAAC,MAAQ,CAAC,KAAa,IACvB,KAAK,aAAe,MAAM,KAAK,aAAa,KAAM,KAAK,UAAU,EACrE,KAAK,OAAS,GACP,GACT,CACA,GAAI,CAAC,UAAU,EACb,IAAI,MAAQ,EAAG,MAAQ,YAAY,UAAY,EAAM,UAAU,GAAK,EAAE,MAAQ,KAAI,cAAc,KAAK,CAAG,EAAG,GAAG,EAIhH,IAAI,QAAU,GACd,SAAS,KAAM,CACb,IAAI,IAAM,KAAK,MAAM,KAAK,sBAAsB,EAAE,IAAM,OAAO,OAAO,EAClE,EAAE,IAAM,GAAK,IAAM,MAAQ,IAAM,OAAS,UAC9C,QAAU,IAAM,KAChB,KAAK,MAAM,YAAY,cAAe,OAAO,EAE7C,WAAW,UAAY,CAAE,GAAI,CAAE,OAAO,cAAc,IAAI,MAAM,QAAQ,CAAC,CAAG,OAAS,EAAG,CAAC,CAAE,EAAG,CAAC,EAC/F,CACA,IAAI,EACJ,OAAO,iBAAiB,SAAU,GAAG,EACrC,OAAO,iBAAiB,OAAQ,GAAG,CACrC,GAAG",
  "names": []
}
