{
  "version": 3,
  "sources": ["/cdn/shop/t/92/assets/florame-pwa-runtime-loader.js?florame_pwa=20260814-performance-v325"],
  "sourcesContent": ["(function () {\n  var config = window.__floramePwaRuntimeConfig || {};\n  var runtimePromise = null;\n  var replaying = false;\n\n  window.addEventListener('beforeinstallprompt', function (event) {\n    event.preventDefault();\n    window.__florameDeferredInstallPrompt = event;\n  });\n\n  function loadScript(url) {\n    if (!url) return Promise.resolve();\n    return new Promise(function (resolve, reject) {\n      var script = document.createElement('script');\n      script.src = url;\n      script.async = false;\n      script.addEventListener('load', resolve, { once: true });\n      script.addEventListener('error', reject, { once: true });\n      document.head.appendChild(script);\n    });\n  }\n\n  function loadRuntime() {\n    if (runtimePromise) return runtimePromise;\n    runtimePromise = Promise.all([\n      config.installModuleUrl ? import(config.installModuleUrl).catch(function () {}) : Promise.resolve(),\n      loadScript(config.webPushUrl)\n    ]).then(function () { return window.FlorameWebPush || null; }).catch(function () { runtimePromise = null; return null; });\n    return runtimePromise;\n  }\n\n  function isRuntimeAction(target) {\n    return target && target.closest && target.closest([\n      '[data-florame-pwa-install-trigger]',\n      '[data-florame-push-menu-toggle]',\n      '[data-fac-notifications]'\n    ].join(','));\n  }\n\n  document.addEventListener('click', function (event) {\n    if (replaying || window.FlorameWebPush) return;\n    var action = isRuntimeAction(event.target);\n    if (!action) return;\n    event.preventDefault();\n    event.stopImmediatePropagation();\n    // Preserve the real tap on browsers requiring transient user activation.\n    var isPush = action.matches('[data-florame-push-menu-toggle], [data-fac-notifications]');\n    var native = window.FlorameNative && window.FlorameNative.isNative;\n    var apple = /iPad|iPhone|iPod/.test(navigator.userAgent || '') || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);\n    var standalone = navigator.standalone === true || window.matchMedia('(display-mode: standalone)').matches;\n    if (isPush && !native && (!apple || standalone) && 'Notification' in window && Notification.permission === 'default') {\n      window.__floramePushPermissionPromise = Notification.requestPermission().catch(function () { return 'default'; });\n    }\n    loadRuntime().then(function () {\n      replaying = true;\n      action.click();\n      replaying = false;\n    });\n  }, true);\n\n  window.__florameLoadPwaRuntime = loadRuntime;\n\n  function shouldWarmImmediately() {\n    try {\n      if (window.matchMedia('(display-mode: standalone)').matches || navigator.standalone === true) return true;\n      if ('Notification' in window && Notification.permission === 'granted') return true;\n      if (/[?&](?:florame_push|push)=/.test(window.location.search || '')) return true;\n      return Boolean(localStorage.getItem('florame_web_push_pending_permission_v1'));\n    } catch (_) {\n      return false;\n    }\n  }\n\n  if (shouldWarmImmediately()) {\n    loadRuntime();\n  }\n})();\n"],
  "mappings": "CAAC,UAAY,CACX,IAAI,OAAS,OAAO,2BAA6B,CAAC,EAC9C,eAAiB,KACjB,UAAY,GAEhB,OAAO,iBAAiB,sBAAuB,SAAU,MAAO,CAC9D,MAAM,eAAe,EACrB,OAAO,+BAAiC,KAC1C,CAAC,EAED,SAAS,WAAW,IAAK,CACvB,OAAK,IACE,IAAI,QAAQ,SAAU,QAAS,OAAQ,CAC5C,IAAI,OAAS,SAAS,cAAc,QAAQ,EAC5C,OAAO,IAAM,IACb,OAAO,MAAQ,GACf,OAAO,iBAAiB,OAAQ,QAAS,CAAE,KAAM,EAAK,CAAC,EACvD,OAAO,iBAAiB,QAAS,OAAQ,CAAE,KAAM,EAAK,CAAC,EACvD,SAAS,KAAK,YAAY,MAAM,CAClC,CAAC,EARgB,QAAQ,QAAQ,CASnC,CAEA,SAAS,aAAc,CACrB,OAAI,iBACJ,eAAiB,QAAQ,IAAI,CAC3B,OAAO,iBAAmB,OAAO,OAAO,kBAAkB,MAAM,UAAY,CAAC,CAAC,EAAI,QAAQ,QAAQ,EAClG,WAAW,OAAO,UAAU,CAC9B,CAAC,EAAE,KAAK,UAAY,CAAE,OAAO,OAAO,gBAAkB,IAAM,CAAC,EAAE,MAAM,UAAY,CAAE,sBAAiB,KAAa,IAAM,CAAC,EACjH,eACT,CAEA,SAAS,gBAAgB,OAAQ,CAC/B,OAAO,QAAU,OAAO,SAAW,OAAO,QAAQ,CACh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