{
  "version": 3,
  "sources": ["/cdn/shop/t/5/assets/home-personalizer.js?psv=home-personalizer-v2-20260820"],
  "sourcesContent": ["(() => {\n  const geometry = globalThis.PosterCropGeometry;\n  const cropMode = globalThis.PosterCropMode;\n  const sceneFactory = globalThis.PosterHomePersonalizerScene;\n  if (!geometry || !cropMode) return;\n\n  const allowedTypes = new Set(['image/jpeg', 'image/png', 'image/webp']);\n  const allowedExtension = /\\.(jpe?g|png|webp)$/i;\n  const handles = ['nw', 'ne', 'sw', 'se'];\n\n  const inspectImage = (url) => new Promise((resolve, reject) => {\n    const image = new Image();\n    image.onload = () => resolve(image);\n    image.onerror = () => reject(new Error('This image could not be read. Please choose another file.'));\n    image.src = url;\n  });\n\n  const formatFileSize = (bytes) => bytes >= 1048576\n    ? `${(bytes / 1048576).toFixed(1)} MB`\n    : `${Math.max(1, Math.round(bytes / 1024))} KB`;\n\n  const initializeCropper = (root, modal, track) => {\n    const workspace = modal.querySelector('[data-home-personalizer-crop-workspace]');\n    const canvas = modal.querySelector('[data-home-personalizer-crop-canvas]');\n    const context = canvas?.getContext('2d');\n    const confirmButton = modal.querySelector('[data-home-personalizer-crop-confirm]');\n    const cancelButtons = [...modal.querySelectorAll('[data-home-personalizer-crop-cancel]')];\n    const ratioButtons = [...modal.querySelectorAll('[data-home-personalizer-ratio]')];\n    if (!workspace || !canvas || !context || !confirmButton || ratioButtons.length !== 3) return null;\n\n    let state = null;\n    let resolver = null;\n    let previousFocus = null;\n    let pointerState = null;\n\n    const pointFromEvent = (event) => {\n      const bounds = canvas.getBoundingClientRect();\n      return { x: event.clientX - bounds.left, y: event.clientY - bounds.top };\n    };\n\n    const displayedImageRect = () => {\n      const availableWidth = canvas.clientWidth;\n      const availableHeight = canvas.clientHeight;\n      const scale = Math.min(availableWidth / state.image.naturalWidth, availableHeight / state.image.naturalHeight);\n      const width = state.image.naturalWidth * scale;\n      const height = state.image.naturalHeight * scale;\n      return { x: (availableWidth - width) / 2, y: (availableHeight - height) / 2, width, height };\n    };\n\n    const handlePoints = (crop) => ({\n      nw: { x: crop.x, y: crop.y },\n      ne: { x: crop.x + crop.width, y: crop.y },\n      sw: { x: crop.x, y: crop.y + crop.height },\n      se: { x: crop.x + crop.width, y: crop.y + crop.height },\n    });\n\n    const hitHandle = (point) => {\n      const points = handlePoints(state.crop);\n      return handles.find((name) => Math.hypot(point.x - points[name].x, point.y - points[name].y) <= 18) || '';\n    };\n\n    const isInsideCrop = (point) => point.x >= state.crop.x\n      && point.x <= state.crop.x + state.crop.width\n      && point.y >= state.crop.y\n      && point.y <= state.crop.y + state.crop.height;\n\n    const draw = () => {\n      if (!state) return;\n      const width = canvas.clientWidth;\n      const height = canvas.clientHeight;\n      if (!width || !height) return;\n      const density = Math.min(globalThis.devicePixelRatio || 1, 2);\n      if (canvas.width !== Math.round(width * density) || canvas.height !== Math.round(height * density)) {\n        canvas.width = Math.round(width * density);\n        canvas.height = Math.round(height * density);\n      }\n      context.setTransform(density, 0, 0, density, 0, 0);\n      context.clearRect(0, 0, width, height);\n      context.fillStyle = '#292b2b';\n      context.fillRect(0, 0, width, height);\n\n      const imageRect = displayedImageRect();\n      context.drawImage(state.image, imageRect.x, imageRect.y, imageRect.width, imageRect.height);\n\n      const crop = state.crop;\n      context.save();\n      context.fillStyle = 'rgb(0 0 0 / 58%)';\n      context.beginPath();\n      context.rect(imageRect.x, imageRect.y, imageRect.width, imageRect.height);\n      context.rect(crop.x, crop.y, crop.width, crop.height);\n      context.fill('evenodd');\n      context.restore();\n\n      context.save();\n      context.strokeStyle = '#fff';\n      context.lineWidth = 2;\n      context.strokeRect(crop.x, crop.y, crop.width, crop.height);\n      context.strokeStyle = 'rgb(255 255 255 / 72%)';\n      context.lineWidth = 1;\n      context.beginPath();\n      for (let index = 1; index < 3; index += 1) {\n        const x = crop.x + crop.width * index / 3;\n        const y = crop.y + crop.height * index / 3;\n        context.moveTo(x, crop.y);\n        context.lineTo(x, crop.y + crop.height);\n        context.moveTo(crop.x, y);\n        context.lineTo(crop.x + crop.width, y);\n      }\n      context.stroke();\n      context.fillStyle = '#fff';\n      Object.values(handlePoints(crop)).forEach((point) => context.fillRect(point.x - 7, point.y - 7, 14, 14));\n      context.restore();\n    };\n\n    const resetCrop = () => {\n      if (!state || !canvas.clientWidth || !canvas.clientHeight) return;\n      state.crop = geometry.fitCrop(displayedImageRect(), cropMode.ratios[state.orientation], 0.72);\n      draw();\n    };\n\n    const syncRatioSelection = () => {\n      ratioButtons.forEach((button) => {\n        const selected = button.dataset.homePersonalizerRatio === state.orientation;\n        button.classList.toggle('is-selected', selected);\n        button.setAttribute('aria-checked', String(selected));\n      });\n    };\n\n    const setOrientation = (orientation, { shouldTrack = true } = {}) => {\n      const selected = cropMode.select(orientation, false);\n      if (!state || !selected || selected.cropMode !== 'fixed') return;\n      state.orientation = selected.orientation;\n      syncRatioSelection();\n      resetCrop();\n      if (shouldTrack) {\n        track('home_personalizer_crop_ratio_selected', {\n          orientation: selected.orientation,\n          ratio: cropMode.ratios[selected.orientation],\n        });\n      }\n    };\n\n    const close = (result) => {\n      modal.hidden = true;\n      document.body.classList.remove('ps-cropper-open');\n      pointerState = null;\n      const resolve = resolver;\n      resolver = null;\n      if (state?.url) URL.revokeObjectURL(state.url);\n      state = null;\n      previousFocus?.focus?.();\n      previousFocus = null;\n      resolve?.(result);\n    };\n\n    const cancel = () => {\n      if (!state) return;\n      track('home_personalizer_crop_cancelled');\n      close(null);\n    };\n\n    const createOutput = () => new Promise((resolve, reject) => {\n      const imageRect = displayedImageRect();\n      const source = geometry.toSourceRect(state.crop, imageRect, state.image.naturalWidth, state.image.naturalHeight);\n      const longest = Math.max(source.width, source.height);\n      const scale = Math.min(1, 3200 / longest);\n      const width = Math.max(1, Math.round(source.width * scale));\n      const height = Math.max(1, Math.round(source.height * scale));\n      const output = document.createElement('canvas');\n      output.width = width;\n      output.height = height;\n      const outputContext = output.getContext('2d');\n      outputContext.drawImage(state.image, source.x, source.y, source.width, source.height, 0, 0, width, height);\n      const requestedType = allowedTypes.has(state.file.type) ? state.file.type : 'image/jpeg';\n      output.toBlob((blob) => {\n        if (!blob) {\n          reject(new Error('The cropped image could not be prepared. Please try again.'));\n          return;\n        }\n        const extension = requestedType === 'image/png' ? 'png' : requestedType === 'image/webp' ? 'webp' : 'jpg';\n        const baseName = state.file.name.replace(/\\.[^.]+$/, '') || 'custom-artwork';\n        const file = new File([blob], `${baseName}-${state.orientation}.${extension}`, {\n          type: blob.type || requestedType,\n          lastModified: Date.now(),\n        });\n        resolve({ file, orientation: state.orientation, ratio: width / height, width, height });\n      }, requestedType, requestedType === 'image/png' ? undefined : 0.92);\n    });\n\n    const confirm = async () => {\n      if (!state || confirmButton.disabled) return;\n      confirmButton.disabled = true;\n      const label = confirmButton.textContent;\n      confirmButton.textContent = 'Preparing\u2026';\n      try {\n        const result = await createOutput();\n        track('home_personalizer_crop_applied', {\n          orientation: result.orientation,\n          ratio: result.ratio,\n          output_width: result.width,\n          output_height: result.height,\n        });\n        close(result);\n      } catch (error) {\n        console.error('Homepage artwork crop failed.', error);\n      } finally {\n        confirmButton.disabled = false;\n        confirmButton.textContent = label;\n      }\n    };\n\n    const open = async (file) => {\n      if (resolver) close(null);\n      const url = URL.createObjectURL(file);\n      const image = await inspectImage(url).catch((error) => {\n        URL.revokeObjectURL(url);\n        throw error;\n      });\n      const imageRatio = image.naturalWidth / image.naturalHeight;\n      const orientation = imageRatio > 1.08 ? 'landscape' : imageRatio < 0.92 ? 'portrait' : 'square';\n      state = { file, url, image, orientation, crop: null };\n      previousFocus = document.activeElement;\n      modal.hidden = false;\n      document.body.classList.add('ps-cropper-open');\n      syncRatioSelection();\n      requestAnimationFrame(() => {\n        resetCrop();\n        ratioButtons.find((button) => button.classList.contains('is-selected'))?.focus();\n      });\n      track('home_personalizer_crop_opened', { suggested_orientation: orientation, fixed_ratio_count: 3 });\n      return new Promise((resolve) => { resolver = resolve; });\n    };\n\n    ratioButtons.forEach((button) => button.addEventListener('click', () => setOrientation(button.dataset.homePersonalizerRatio)));\n    cancelButtons.forEach((button) => button.addEventListener('click', cancel));\n    confirmButton.addEventListener('click', confirm);\n    canvas.addEventListener('pointerdown', (event) => {\n      if (!state) return;\n      const point = pointFromEvent(event);\n      const handle = hitHandle(point);\n      if (!handle && !isInsideCrop(point)) return;\n      event.preventDefault();\n      pointerState = {\n        id: event.pointerId,\n        mode: handle ? 'resize' : 'move',\n        handle,\n        point,\n        crop: { ...state.crop },\n      };\n      canvas.setPointerCapture(event.pointerId);\n      canvas.style.cursor = handle ? `${handle}-resize` : 'grabbing';\n    });\n    canvas.addEventListener('pointermove', (event) => {\n      if (!state) return;\n      const point = pointFromEvent(event);\n      if (!pointerState) {\n        const handle = hitHandle(point);\n        canvas.style.cursor = handle ? `${handle}-resize` : isInsideCrop(point) ? 'move' : 'default';\n        return;\n      }\n      if (pointerState.id !== event.pointerId) return;\n      state.crop = pointerState.mode === 'move'\n        ? geometry.moveCrop(pointerState.crop, point.x - pointerState.point.x, point.y - pointerState.point.y, displayedImageRect())\n        : geometry.resizeCrop(pointerState.crop, pointerState.handle, point, displayedImageRect(), cropMode.ratios[state.orientation]);\n      draw();\n    });\n\n    const releasePointer = (event) => {\n      if (!pointerState || pointerState.id !== event.pointerId) return;\n      pointerState = null;\n      canvas.style.cursor = 'move';\n    };\n    canvas.addEventListener('pointerup', releasePointer);\n    canvas.addEventListener('pointercancel', releasePointer);\n    modal.addEventListener('keydown', (event) => {\n      if (event.key === 'Escape') cancel();\n    });\n    if (typeof ResizeObserver === 'function') {\n      const resizeObserver = new ResizeObserver(() => state && resetCrop());\n      resizeObserver.observe(workspace);\n    }\n\n    return { open };\n  };\n\n  document.querySelectorAll('[data-home-personalizer]').forEach((root) => {\n    const upload = root.querySelector('[data-home-personalizer-upload]');\n    const input = upload?.querySelector('[data-home-personalizer-input]');\n    const dropzone = upload?.querySelector('[data-home-personalizer-dropzone]');\n    const selection = upload?.querySelector('[data-home-personalizer-selection]');\n    const fileName = upload?.querySelector('[data-home-personalizer-file-name]');\n    const removeButton = upload?.querySelector('[data-home-personalizer-remove]');\n    const status = upload?.querySelector('[data-home-personalizer-status]');\n    const preview = root.querySelector('[data-home-personalizer-preview]');\n    const previewImage = preview?.querySelector('[data-home-personalizer-preview-image]');\n    const modal = root.querySelector('[data-home-personalizer-cropper]');\n    if (!upload || !input || !dropzone || !selection || !fileName || !removeButton || !status || !preview || !previewImage || !modal) return;\n\n    const sectionId = root.dataset.homePersonalizerId || '';\n    const maxBytes = Number(upload.dataset.maxFileBytes || 20971520);\n    const maxPixels = Number(upload.dataset.maxImagePixels || 20000000);\n    let previewUrl = '';\n\n    const track = (event, detail = {}) => window.dataLayer?.push({ event, section_id: sectionId, ...detail });\n    const sceneController = sceneFactory?.initialize(root);\n    const cropper = initializeCropper(root, modal, track);\n    if (!cropper) return;\n\n    const setStatus = (message = '', type = '') => {\n      status.textContent = message;\n      status.classList.toggle('is-error', type === 'error');\n      status.classList.toggle('is-success', type === 'success');\n    };\n\n    const revokePreview = () => {\n      if (!previewUrl) return;\n      URL.revokeObjectURL(previewUrl);\n      previewUrl = '';\n    };\n\n    const clearPreview = ({ announce = true } = {}) => {\n      input.value = '';\n      selection.hidden = true;\n      fileName.textContent = '';\n      upload.dataset.state = 'empty';\n      preview.hidden = true;\n      preview.removeAttribute('data-orientation');\n      previewImage.removeAttribute('src');\n      sceneController?.showInitial();\n      revokePreview();\n      setStatus(announce ? 'Image removed.' : '', announce ? 'success' : '');\n      if (announce) track('home_personalizer_image_removed');\n    };\n\n    const validateFile = (file) => {\n      if (!file) return 'Choose an image to continue.';\n      if (!allowedTypes.has(file.type) && !allowedExtension.test(file.name)) return 'Use a JPEG, PNG or WebP image.';\n      if (file.size > maxBytes) return 'The image must be 20 MB or smaller.';\n      return '';\n    };\n\n    const applyFile = async (file, source) => {\n      const validationError = validateFile(file);\n      if (validationError) {\n        input.value = '';\n        setStatus(validationError, 'error');\n        track('home_personalizer_upload_error', { reason: 'file_validation' });\n        return;\n      }\n\n      track('home_personalizer_upload_started', { source, file_type: file.type, file_size_bytes: file.size });\n      setStatus('Preparing crop\u2026');\n      const inspectionUrl = URL.createObjectURL(file);\n      try {\n        const sourceImage = await inspectImage(inspectionUrl);\n        URL.revokeObjectURL(inspectionUrl);\n        if (sourceImage.naturalWidth * sourceImage.naturalHeight > maxPixels) {\n          input.value = '';\n          setStatus('The image must be 20 megapixels or smaller.', 'error');\n          track('home_personalizer_upload_error', { reason: 'pixel_limit' });\n          return;\n        }\n\n        const result = await cropper.open(file);\n        input.value = '';\n        if (!result) {\n          setStatus(previewUrl ? 'Your existing preview is unchanged.' : '', previewUrl ? 'success' : '');\n          return;\n        }\n\n        revokePreview();\n        previewUrl = URL.createObjectURL(result.file);\n        preview.style.aspectRatio = String(result.ratio);\n        preview.dataset.orientation = result.orientation;\n        previewImage.src = previewUrl;\n        preview.hidden = false;\n        const sceneChanged = sceneController?.showPersonalized() || false;\n        fileName.textContent = `${result.file.name} \u00B7 ${result.width}\u00D7${result.height}px \u00B7 ${formatFileSize(result.file.size)}`;\n        selection.hidden = false;\n        upload.dataset.state = 'ready';\n        setStatus('Here is your photo on the wall. Pick a painting on the next page and we will email you the finished artwork within 2 working days for your approval.', 'success');\n        track('home_personalizer_preview_applied', {\n          orientation: result.orientation,\n          ratio: result.ratio,\n          output_width: result.width,\n          output_height: result.height,\n          scene_state: sceneChanged ? 'personalized' : 'initial',\n        });\n      } catch (error) {\n        URL.revokeObjectURL(inspectionUrl);\n        input.value = '';\n        setStatus(error.message || 'This image could not be read. Please choose another file.', 'error');\n        track('home_personalizer_upload_error', { reason: 'image_processing' });\n      }\n    };\n\n    input.addEventListener('change', () => applyFile(input.files?.[0], 'file_picker'));\n    removeButton.addEventListener('click', () => clearPreview());\n    dropzone.addEventListener('dragover', (event) => {\n      event.preventDefault();\n      dropzone.classList.add('is-dragging');\n    });\n    dropzone.addEventListener('dragleave', () => dropzone.classList.remove('is-dragging'));\n    dropzone.addEventListener('drop', (event) => {\n      event.preventDefault();\n      dropzone.classList.remove('is-dragging');\n      const file = event.dataTransfer?.files?.[0];\n      if (file) applyFile(file, 'drag_drop');\n    });\n    window.addEventListener('beforeunload', revokePreview, { once: true });\n    sceneController?.showInitial();\n    upload.dataset.state = 'empty';\n  });\n})();\n\n"],
  "mappings": "CAAC,IAAM,CACL,MAAM,SAAW,WAAW,mBACtB,SAAW,WAAW,eACtB,aAAe,WAAW,4BAChC,GAAI,CAAC,UAAY,CAAC,SAAU,OAE5B,MAAM,aAAe,IAAI,IAAI,CAAC,aAAc,YAAa,YAAY,CAAC,EAChE,iBAAmB,uBACnB,QAAU,CAAC,KAAM,KAAM,KAAM,IAAI,EAEjC,aAAgB,KAAQ,IAAI,QAAQ,CAAC,QAAS,SAAW,CAC7D,MAAM,MAAQ,IAAI,MAClB,MAAM,OAAS,IAAM,QAAQ,KAAK,EAClC,MAAM,QAAU,IAAM,OAAO,IAAI,MAAM,2DAA2D,CAAC,EACnG,MAAM,IAAM,GACd,CAAC,EAEK,eAAkB,OAAU,OAAS,QACvC,IAAI,MAAQ,SAAS,QAAQ,CAAC,CAAC,MAC/B,GAAG,KAAK,IAAI,EAAG,KAAK,MAAM,MAAQ,IAAI,CAAC,CAAC,MAEtC,kBAAoB,CAAC,KAAM,MAAO,QAAU,CAChD,MAAM,UAAY,MAAM,cAAc,yCAAyC,EACzE,OAAS,MAAM,cAAc,sCAAsC,EACnE,QAAU,QAAQ,WAAW,IAAI,EACjC,cAAgB,MAAM,cAAc,uCAAuC,EAC3E,cAAgB,CAAC,GAAG,MAAM,iBAAiB,sCAAsC,CAAC,EAClF,aAAe,CAAC,GAAG,MAAM,iBAAiB,gCAAgC,CAAC,EACjF,GAAI,CAAC,WAAa,CAAC,QAAU,CAAC,SAAW,CAAC,eAAiB,aAAa,SAAW,EAAG,OAAO,KAE7F,IAAI,MAAQ,KACR,SAAW,KACX,cAAgB,KAChB,aAAe,KAEnB,MAAM,eAAkB,OAAU,CAChC,MAAM,OAAS,OAAO,sBAAsB,E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