"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime");function PostPurchaseCheckbox({checked:e,onChange:p,...o}){return jsxRuntime.jsxs("div",{className:"gp-h-[18px] gp-w-[18px] gp-inline-block gp-relative gp-flex-shrink-0",style:{gridArea:"checkbox"},children:[jsxRuntime.jsx("input",{...o,checked:e,className:'gp-box-content gp-block gp-h-full gp-w-full gp-rounded gp-cursor-pointer gp-border gp-border-solid gp-border-[#d9d9d9] gp-bg-clip-padding gp-transition-shadow gp-duration-200 gp-ease-out checked:gp-shadow-[inset_0_0_0_10px_#1879b9] gp-appearance-none before:gp-content-[""] before:gp-block before:gp-h-full before:gp-w-full before:gp-rounded-sm before:gp-opacity-30 before:gp-shadow-[inset_#1879b9] before:gp-transition-shadow before:gp-duration-200 before:gp-ease-out [outline:none]',onChange:p}),jsxRuntime.jsx("div",{className:(e?"gp-opacity-100 ":"gp-opacity-0 ")+" gp-pointer-events-none gp-absolute gp-left-[calc(50%+1px)] gp-top-1/2 gp-origin-center gp--translate-x-1/2 gp--translate-y-1/2 gp-text-white gp-transition-all gp-duration-200 gp-ease-in-out",children:jsxRuntime.jsx("span",{className:"gp-block gp-h-2.5 gp-max-h-full gp-w-2.5 gp-max-w-full gp-fill-current",children:jsxRuntime.jsx("svg",{viewBox:"0 0 20 20",focusable:"false","aria-hidden":"true",role:"presentation",className:"gp-block gp-max-w-full gp-max-h-full",children:jsxRuntime.jsx("path",{d:"M20 5.347 7.647 17.462 0 9.962l2.393-2.347 5.254 5.154L17.607 3z"})})})})]})}exports.default=PostPurchaseCheckbox;
