{
  "version": 3,
  "sources": ["/cdn/shop/t/19/assets/pdp.js?ocv=runtime-split-20260501-1"],
  "sourcesContent": ["// ========================================\n// PDP Runtime\n// Variant selection, gallery overlay, video controls, AJAX cart\n// ========================================\n\n(function () {\n  \"use strict\";\n\n  function getLabel(root, key) {\n    return root ? root.getAttribute(\"data-label-\" + key) || \"\" : \"\";\n  }\n\n  // Tur 148 (29 May 2026) \u2014 price-format unification \u2192 \"1.890 TL\".\n  // Hakan direktifi: \"price format 1.890 TL\". cart-drawer.js (kilitli, kanonik) ile\n  // B\u0130REB\u0130R ayn\u0131 parse mant\u0131\u011F\u0131: {{amount_no_decimals}} = binlik nokta'l\u0131 `whole`.\n  // \u00D6nceki bug: {{amount_no_decimals}} \u2192 toFixed(0) (noktas\u0131z \"1890\"); fallback \"1890.00 TRY\".\n  // formatMoney YALNIZCA varyant de\u011Fi\u015Fiminde \u00E7a\u011Fr\u0131l\u0131r (updatePrice); ilk render server-side\n  // `| money` ile gelir ve DE\u011E\u0130\u015EMEZ \u2192 default g\u00F6r\u00FCn\u00FCr state birebir korunur.\n  function formatMoney(cents, productData) {\n    const amount = (Number(cents || 0) / 100).toFixed(2);\n    const whole = (Number(cents || 0) / 100).toFixed(0).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \".\");\n    const format = productData.money_format || \"\";\n    if (format) {\n      return format\n        .replace(/{{\\s*amount_no_decimals\\s*}}/g, whole)\n        .replace(/{{\\s*amount\\s*}}/g, amount)\n        .replace(/{{\\s*amount_with_comma_separator\\s*}}/g, amount.replace(\".\", \",\"));\n    }\n    return whole + \" TL\";\n  }\n\n  class ProductPage {\n    constructor(section) {\n      this.section = section;\n      if (!this.section) return;\n\n      this.productData = this.getProductData();\n      if (!this.productData) return;\n\n      this.variantId = this.section.querySelector(\"[data-pdp-variant-id]\");\n      this.priceEl = this.section.querySelector(\"[data-pdp-price]\");\n      this.atcBtn = this.section.querySelector(\"[data-pdp-atc]\");\n      this.atcText = this.section.querySelector(\"[data-pdp-atc-text]\");\n      this.form = this.section.querySelector(\"[data-pdp-form]\");\n      this.gallery = this.section.querySelector(\"[data-pdp-gallery]\");\n      this.currentOptions = this.getCurrentOptions();\n\n      this.initVariants();\n      this.initForm();\n    }\n\n    getProductData() {\n      const el =\n        this.section.querySelector(\"[data-pdp-json]\") || document.querySelector(\"[data-pdp-json]\");\n      if (!el) return null;\n      try {\n        return JSON.parse(el.textContent);\n      } catch (error) {\n        return null;\n      }\n    }\n\n    getCurrentOptions() {\n      const options = [];\n      this.section.querySelectorAll(\".pdp-form__variant-pill.is-selected\").forEach(function (pill) {\n        options[parseInt(pill.dataset.optionIndex, 10)] = pill.dataset.optionValue;\n      });\n      return options;\n    }\n\n    initVariants() {\n      this.section.querySelectorAll(\".pdp-form__variant-pill\").forEach((pill) => {\n        pill.addEventListener(\"click\", (event) => {\n          const target = event.currentTarget;\n          const idx = parseInt(target.dataset.optionIndex, 10);\n          const value = target.dataset.optionValue;\n          const group = target.closest(\".pdp-form__variant-group\");\n          if (!group) return;\n\n          group.querySelectorAll(\".pdp-form__variant-pill\").forEach(function (item) {\n            item.classList.remove(\"is-selected\");\n            item.setAttribute(\"aria-pressed\", \"false\");\n          });\n          target.classList.add(\"is-selected\");\n          target.setAttribute(\"aria-pressed\", \"true\");\n\n          this.currentOptions[idx] = value;\n          const variant = this.findVariant();\n          if (variant) this.updateVariant(variant);\n        });\n      });\n    }\n\n    findVariant() {\n      return this.productData.variants.find((variant) => {\n        return variant.options.every((option, index) => option === this.currentOptions[index]);\n      });\n    }\n\n    updateVariant(variant) {\n      if (this.variantId) this.variantId.value = variant.id;\n      this.updatePrice(variant);\n      this.updateAtcButton(variant);\n      this.updateGalleryForVariant(variant);\n      this.updateURL(variant);\n    }\n\n    updatePrice(variant) {\n      if (!this.priceEl) return;\n      const current = document.createElement(\"span\");\n      current.className =\n        \"pdp__price-current\" +\n        (variant.compare_at_price && variant.compare_at_price > variant.price\n          ? \" pdp__price-current--sale\"\n          : \"\");\n      current.textContent = formatMoney(variant.price, this.productData);\n      this.priceEl.replaceChildren(current);\n\n      if (variant.compare_at_price && variant.compare_at_price > variant.price) {\n        const compare = document.createElement(\"span\");\n        compare.className = \"pdp__price-compare\";\n        compare.textContent = formatMoney(variant.compare_at_price, this.productData);\n        this.priceEl.appendChild(compare);\n      }\n    }\n\n    updateAtcButton(variant) {\n      if (!this.atcBtn || !this.atcText) return;\n      this.atcBtn.disabled = !variant.available;\n      this.atcText.textContent = variant.available\n        ? getLabel(this.section, \"add-to-cart\")\n        : getLabel(this.section, \"sold-out\");\n    }\n\n    updateGalleryForVariant(variant) {\n      if (!this.gallery || !variant.featured_image) return;\n      const imageName = variant.featured_image.split(\"?\")[0].split(\"/\").pop();\n      this.gallery.querySelectorAll(\".pdp-form__slide\").forEach(function (item) {\n        const img = item.querySelector(\".pdp-form__img\");\n        if (img && img.src.includes(imageName))\n          item.scrollIntoView({ behavior: \"smooth\", block: \"start\" });\n      });\n    }\n\n    updateURL(variant) {\n      if (!history.replaceState) return;\n      const url = new URL(window.location.href);\n      url.searchParams.set(\"variant\", variant.id);\n      history.replaceState({}, \"\", url.toString());\n    }\n\n    initForm() {\n      if (!this.form) return;\n      this.form.addEventListener(\"submit\", async (event) => {\n        event.preventDefault();\n        const variantId = this.variantId ? this.variantId.value : null;\n        if (!variantId) return;\n\n        this.atcBtn.classList.add(\"is-loading\");\n        this.atcBtn.disabled = true;\n\n        try {\n          const response = await fetch(\"/cart/add.js\", {\n            method: \"POST\",\n            credentials: \"same-origin\",\n            headers: {\n              \"Content-Type\": \"application/json\",\n              Accept: \"application/json\",\n              \"X-Requested-With\": \"XMLHttpRequest\",\n            },\n            body: JSON.stringify({ id: parseInt(variantId, 10), quantity: 1 }),\n          });\n          if (!response.ok) throw await response.json();\n          this.onAddSuccess();\n        } catch (error) {\n          this.onAddError(error || {});\n        } finally {\n          this.atcBtn.classList.remove(\"is-loading\");\n          this.atcBtn.disabled = false;\n        }\n      });\n    }\n\n    onAddSuccess() {\n      this.atcText.textContent = getLabel(this.section, \"added\");\n      setTimeout(() => {\n        this.atcText.textContent = getLabel(this.section, \"add-to-cart\");\n      }, 1500);\n\n      this.updateCartCount();\n      if (window.refreshCartDrawer) window.refreshCartDrawer();\n      if (window.openDrawer) window.openDrawer(\"CartDrawer\");\n    }\n\n    onAddError(error) {\n      this.atcText.textContent =\n        error.description ||\n        getLabel(this.section, \"add-error\") ||\n        getLabel(this.section, \"generic-error\");\n      setTimeout(() => {\n        const variant = this.findVariant();\n        this.atcText.textContent =\n          variant && variant.available\n            ? getLabel(this.section, \"add-to-cart\")\n            : getLabel(this.section, \"sold-out\");\n      }, 2500);\n    }\n\n    async updateCartCount() {\n      try {\n        const response = await fetch(\"/cart.js\", { credentials: \"same-origin\" });\n        const cart = await response.json();\n        document.querySelectorAll(\"[data-cart-count]\").forEach(function (el) {\n          el.textContent = cart.item_count;\n          if (cart.item_count > 0) el.style.display = \"\";\n        });\n      } catch (error) {}\n    }\n  }\n\n  function initExpandToggles(root) {\n    document.querySelectorAll(\"[data-pdp-expand]\").forEach(function (btn) {\n      btn.addEventListener(\"click\", function () {\n        const target = btn.parentElement.querySelector(\"[data-pdp-expand-target]\");\n        if (!target) return;\n        const isHidden = target.hidden;\n        target.hidden = !isHidden;\n        const textEl = btn.querySelector(\"[data-pdp-expand-text]\");\n        if (textEl)\n          textEl.textContent = isHidden\n            ? \"\u2212 \" + getLabel(root, \"collapse\")\n            : \"+ \" + getLabel(root, \"expand\");\n      });\n    });\n  }\n\n  function initMainGallerySwiper(root) {\n    const swiperEl = document.querySelector(\"[data-pdp-main-swiper]\");\n    if (!swiperEl || !window.loadSwiperAssets) return;\n    const counter = document.querySelector(\"[data-pdp-current]\");\n    const slides = swiperEl.querySelectorAll(\".pdp-form__slide\");\n    if (slides.length <= 1) return;\n\n    let mainSwiper = null;\n\n    window\n      .loadSwiperAssets()\n      .then(function () {\n        if (typeof Swiper === \"undefined\") return;\n        mainSwiper = new Swiper(swiperEl, {\n          effect: \"fade\",\n          fadeEffect: { crossFade: true },\n          rewind: true,\n          speed: 400,\n          slidesPerView: 1,\n          allowTouchMove: true,\n          on: {\n            slideChange: function () {\n              if (counter) counter.textContent = this.activeIndex + 1;\n              slides.forEach(function (s) {\n                s.classList.remove(\"is-active\");\n              });\n              const active = swiperEl.querySelector(\".swiper-slide-active\");\n              if (active) active.classList.add(\"is-active\");\n            },\n          },\n        });\n\n        swiperEl.addEventListener(\"click\", function (e) {\n          if (e.target.closest(\"[data-gallery-expand]\")) return;\n          if (e.target.closest(\"a, button\")) return;\n          if (!mainSwiper) return;\n          if (mainSwiper.isEnd) {\n            mainSwiper.slideTo(0);\n          } else {\n            mainSwiper.slideNext();\n          }\n        });\n      })\n      .catch(function () {});\n  }\n\n  function initGalleryOverlay(root) {\n    const expandBtn = document.querySelector(\"[data-gallery-expand]\");\n    const overlay = document.querySelector(\"[data-gallery-overlay]\");\n    const closeBtn = document.querySelector(\"[data-gallery-close]\");\n    const swiperEl = document.querySelector(\"[data-gallery-swiper]\");\n    let gallerySwiper = null;\n    let returnFocusEl = null;\n    if (!expandBtn || !overlay || !swiperEl) return;\n\n    const FOCUSABLE =\n      'a[href], button:not([disabled]), input:not([disabled]):not([type=\"hidden\"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])';\n    function getFocusables() {\n      return Array.prototype.filter.call(overlay.querySelectorAll(FOCUSABLE), function (n) {\n        if (n.hasAttribute(\"hidden\")) return false;\n        return n.getClientRects().length > 0;\n      });\n    }\n    function trapHandler(e) {\n      if (e.key !== \"Tab\") return;\n      const items = getFocusables();\n      if (!items.length) {\n        e.preventDefault();\n        return;\n      }\n      const first = items[0],\n        last = items[items.length - 1];\n      const active = document.activeElement;\n      if (e.shiftKey) {\n        if (active === first || !overlay.contains(active)) {\n          e.preventDefault();\n          last.focus();\n        }\n      } else {\n        if (active === last || !overlay.contains(active)) {\n          e.preventDefault();\n          first.focus();\n        }\n      }\n    }\n\n    function closeOverlay() {\n      overlay.classList.remove(\"is-open\");\n      document.body.style.overflow = \"\";\n      document.documentElement.style.overflow = \"\";\n      overlay.removeEventListener(\"keydown\", trapHandler);\n      setTimeout(function () {\n        if (!overlay.classList.contains(\"is-open\")) {\n          overlay.style.display = \"none\";\n          overlay.setAttribute(\"hidden\", \"\");\n          if (gallerySwiper) gallerySwiper.slideTo(0, 0);\n        }\n      }, 550);\n      // Restore focus to the trigger that opened the overlay\n      if (\n        returnFocusEl &&\n        typeof returnFocusEl.focus === \"function\" &&\n        document.contains(returnFocusEl)\n      ) {\n        try {\n          returnFocusEl.focus();\n        } catch (e) {}\n      }\n      returnFocusEl = null;\n    }\n\n    expandBtn.addEventListener(\"click\", function () {\n      returnFocusEl = expandBtn;\n      overlay.removeAttribute(\"hidden\");\n      overlay.style.display = \"block\";\n      overlay.offsetHeight;\n\n      if (!gallerySwiper) {\n        if (typeof Swiper === \"undefined\" && window.loadSwiperAssets) {\n          window\n            .loadSwiperAssets()\n            .then(function () {\n              expandBtn.click();\n            })\n            .catch(function () {});\n          return;\n        }\n        if (typeof Swiper === \"undefined\") return;\n        gallerySwiper = new Swiper(swiperEl, {\n          direction: \"vertical\",\n          loop: true,\n          slidesPerView: 1,\n          spaceBetween: 0,\n          speed: 400,\n          mousewheel: { sensitivity: 1, thresholdDelta: 10 },\n          keyboard: { enabled: true, onlyInViewport: true },\n          watchSlidesProgress: true,\n          touchRatio: 1.5,\n          threshold: 5,\n          resistance: true,\n          resistanceRatio: 0.65,\n          longSwipesRatio: 0.25,\n          shortSwipes: true,\n          followFinger: true,\n          grabCursor: false,\n          cssMode: false,\n          touchStartPreventDefault: false,\n          touchMoveStopPropagation: true,\n          observer: true,\n          observeParents: true,\n        });\n      }\n\n      const currentIndex = document.querySelector(\"[data-pdp-current]\");\n      if (currentIndex && gallerySwiper) {\n        const idx = parseInt(currentIndex.textContent, 10) - 1;\n        if (idx >= 0) gallerySwiper.slideTo(idx, 0);\n      }\n\n      overlay.offsetHeight;\n      overlay.classList.add(\"is-open\");\n      document.body.style.overflow = \"hidden\";\n      document.documentElement.style.overflow = \"hidden\";\n      // Attach focus trap and move focus to the close button\n      overlay.addEventListener(\"keydown\", trapHandler);\n      setTimeout(function () {\n        if (gallerySwiper) gallerySwiper.update();\n        if (closeBtn) {\n          try {\n            closeBtn.focus();\n          } catch (e) {}\n        }\n      }, 600);\n    });\n\n    if (closeBtn) closeBtn.addEventListener(\"click\", closeOverlay);\n    document.addEventListener(\"keydown\", function (event) {\n      if (event.key === \"Escape\" && overlay.classList.contains(\"is-open\")) closeOverlay();\n    });\n    overlay.addEventListener(\"click\", function (event) {\n      if (event.target === overlay) closeOverlay();\n    });\n  }\n\n  function initVideoControls(root) {\n    document.querySelectorAll(\"[data-pdp-video-wrap]\").forEach(function (wrap) {\n      const video = wrap.querySelector(\"[data-pdp-video]\");\n      const timeEl = wrap.querySelector(\"[data-pdp-video-time]\");\n      const pauseBtn = wrap.querySelector(\"[data-pdp-video-pause]\");\n      if (!video) return;\n\n      if (timeEl) {\n        const updateTime = function () {\n          const t = video.currentTime || 0;\n          const h = String(Math.floor(t / 3600)).padStart(2, \"0\");\n          const m = String(Math.floor((t % 3600) / 60)).padStart(2, \"0\");\n          const s = String(Math.floor(t % 60)).padStart(2, \"0\");\n          timeEl.textContent = h + \":\" + m + \":\" + s;\n          requestAnimationFrame(updateTime);\n        };\n        requestAnimationFrame(updateTime);\n      }\n\n      if (pauseBtn) {\n        pauseBtn.addEventListener(\"click\", function () {\n          if (video.paused) {\n            video.play();\n            pauseBtn.textContent = getLabel(root, \"video-pause\");\n          } else {\n            video.pause();\n            pauseBtn.textContent = getLabel(root, \"video-play\");\n          }\n        });\n      }\n    });\n  }\n\n  function initIngredientToggles() {\n    document.querySelectorAll(\"[data-ingredient-toggle]\").forEach(function (btn) {\n      btn.addEventListener(\"click\", function () {\n        const item = btn.closest(\"[data-ingredient-item]\");\n        if (!item) return;\n        const detail = item.querySelector(\"[data-ingredient-detail]\");\n        const plus = btn.querySelector(\".ingredient-card__plus\");\n        const isOpen = btn.getAttribute(\"aria-expanded\") === \"true\";\n        btn.setAttribute(\"aria-expanded\", !isOpen);\n        if (detail) detail.hidden = isOpen;\n        if (plus) plus.textContent = isOpen ? \"+\" : \"\u2212\";\n      });\n    });\n  }\n\n  function initIngredientPanels() {\n    document.querySelectorAll(\".pdp-ingredients\").forEach(function (section) {\n      const items = section.querySelectorAll(\".pdp-ingredients__item[data-ingredient-index]\");\n      const panels = section.querySelectorAll(\n        \".pdp-ingredients__detail-panel[data-ingredient-panel]\",\n      );\n      if (!items.length || !panels.length) return;\n\n      const activate = function (idx) {\n        items.forEach(function (it) {\n          it.classList.toggle(\"is-active\", it.dataset.ingredientIndex === idx);\n        });\n        panels.forEach(function (p) {\n          p.classList.toggle(\"is-active\", p.dataset.ingredientPanel === idx);\n        });\n      };\n\n      const isDesktop = window.matchMedia(\"(min-width: 1240px)\");\n      items.forEach(function (item) {\n        item.addEventListener(\"click\", function () {\n          activate(item.dataset.ingredientIndex);\n        });\n        item.addEventListener(\"mouseenter\", function () {\n          if (isDesktop.matches) activate(item.dataset.ingredientIndex);\n        });\n      });\n    });\n  }\n\n  function initPdpRuntime() {\n    const root = document.querySelector(\"[data-pdp-root]\");\n    if (root) new ProductPage(root);\n    initExpandToggles(root);\n    initMainGallerySwiper(root);\n    initGalleryOverlay(root);\n    initVideoControls(root);\n    initIngredientToggles();\n    initIngredientPanels();\n  }\n\n  if (document.readyState === \"loading\") {\n    document.addEventListener(\"DOMContentLoaded\", initPdpRuntime, { once: true });\n  } else {\n    initPdpRuntime();\n  }\n})();\n"],
  "mappings": "CAKC,UAAY,CACX,aAEA,SAAS,SAAS,KAAM,IAAK,CAC3B,OAAO,MAAO,KAAK,aAAa,cAAgB,GAAG,GAAK,EAC1D,CAQA,SAAS,YAAY,MAAO,YAAa,CACvC,MAAM,QAAU,OAAO,OAAS,CAAC,EAAI,KAAK,QAAQ,CAAC,EAC7C,OAAS,OAAO,OAAS,CAAC,EAA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