{"product_id":"hard-nesty™-funny-crochet-coaster-the-cheeky-novelty-cup-mat-a","title":"Hard Nesty™ – Funny Crochet Coaster | The Cheeky Novelty Cup Mat - A","description":"\u003cbody\u003e\n\u003carticle id=\"cheeky-coaster\" lang=\"en\" style=\"--ink:#71423c;--tint:#f6e5db\"\u003e\n\u003cstyle\u003e\n#cheeky-coaster {width:100%;container-type:inline-size;background:#fcfaf6;color:#302c2b;font:16px\/1.65 Arial,Helvetica,sans-serif}\n#cheeky-coaster, #cheeky-coaster * {box-sizing:border-box}\n#cheeky-coaster section {padding:clamp(32px,5%,64px) 5%}\n#cheeky-coaster .inner {max-width:1080px;margin:auto}\n#cheeky-coaster .grid {display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:clamp(22px,4cqi,46px)}\n#cheeky-coaster .gallery {margin-top:22px;align-items:start}\n#cheeky-coaster h2, #cheeky-coaster h3 {margin:0 0 12px;color:inherit;font:600 clamp(27px,4cqi,38px)\/1.15 Georgia,serif}\n#cheeky-coaster h2 {font-size:clamp(34px,5cqi,52px)}\n#cheeky-coaster p {max-width:54ch;margin:0;color:inherit}\n#cheeky-coaster img {display:block;width:100%;max-width:540px;height:auto;margin:auto;border-radius:8px}\n#cheeky-coaster .dark {background:var(--ink);color:#fffaf3}\n#cheeky-coaster .tint {background:var(--tint)}\n#cheeky-coaster .end {text-align:center}\n#cheeky-coaster a {display:inline-block;padding:13px 24px;border-radius:5px;background:#f4dfbd;color:#302923;font-weight:bold;text-decoration:none}\n#cheeky-coaster a:hover {text-decoration:underline}\n#cheeky-coaster a:focus-visible {outline:3px solid white;outline-offset:4px}\n@container(min-width:740px) {#cheeky-coaster .grid {grid-template-columns:repeat(2,minmax(0,1fr))}}\n\u003c\/style\u003e\n\u003csection class=\"dark\"\u003e\n\u003cdiv class=\"inner grid\"\u003e\n\u003cdiv\u003e\n\u003ch2\u003eCheeky Crochet-Style Coaster\u003c\/h2\u003e\n\u003cp\u003eLeave it on the coffee table and it lies flat. Set down your mug and the novelty detail stands up. Lift the mug and it settles back down.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cimg src=\"https:\/\/storage2.tianyierp.com\/public\/merc\/2026-11-18\/99448326910377985.webp\" alt=\"Hard Nesty funny crochet novelty coaster with a cup\" loading=\"eager\"\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003csection class=\"\"\u003e\n\u003cdiv class=\"inner\"\u003e\n\u003cdiv\u003e\n\u003ch3\u003eLet the cup deliver the punchline\u003c\/h3\u003e\n\u003cp\u003eSet it on a flat desk, counter or coffee table. It works as an everyday coaster for tea or coffee, with the surprise built into the design.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"grid gallery\"\u003e\n\u003cimg src=\"https:\/\/storage2.tianyierp.com\/public\/merc\/2026-11-18\/99448326860046337.webp\" alt=\"Friends laughing together while looking at the funny crochet coaster\" loading=\"lazy\"\u003e\n\u003cimg src=\"https:\/\/storage2.tianyierp.com\/public\/merc\/2026-11-18\/99448326725828609.webp\" alt=\"Hard Nesty crochet coaster lying flat without a cup\" loading=\"lazy\"\u003e\n\u003cimg src=\"https:\/\/storage2.tianyierp.com\/public\/merc\/2026-11-18\/99448326910377985.webp\" alt=\"Hard Nesty crochet coaster standing up with a cup\" loading=\"lazy\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003csection class=\"tint\"\u003e\n\u003cdiv class=\"inner\"\u003e\n\u003cdiv\u003e\n\u003ch3\u003eFor the friend who would try it twice\u003c\/h3\u003e\n\u003cp\u003eWrap one for a birthday, Christmas or an office gift swap with someone who shares your sense of humour.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"grid gallery\"\u003e\n\u003cimg src=\"https:\/\/storage2.tianyierp.com\/public\/merc\/2026-11-18\/99448327128481793.webp\" alt=\"Hard Nesty crochet coaster demonstrating how it works\" loading=\"lazy\"\u003e\n\u003cimg src=\"https:\/\/storage2.tianyierp.com\/public\/merc\/2026-11-18\/99448327212367873.webp\" alt=\"A woman laughing while using the Hard Nesty novelty coaster\" loading=\"lazy\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003csection class=\"\"\u003e\n\u003cdiv class=\"inner\"\u003e\n\u003cdiv\u003e\n\u003ch3\u003eChoose your colour\u003c\/h3\u003e\n\u003cp\u003ePick Tan \u0026amp; Pink for a lighter look or Brown \u0026amp; Pink for a deeper tone. For help with your purchase or the store’s 30-day guarantee, contact email support.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"grid gallery\"\u003e\n\u003cimg src=\"https:\/\/storage2.tianyierp.com\/public\/merc\/2026-11-18\/99448326725828609.webp\" alt=\"Tan crochet coaster with pink detail\" loading=\"lazy\"\u003e\n\u003cimg src=\"https:\/\/storage2.tianyierp.com\/public\/merc\/2026-11-18\/99448326709051393.webp\" alt=\"Brown crochet coaster with pink detail\" loading=\"lazy\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/section\u003e\n\u003csection class=\"dark end\"\u003e\u003ca href=\"#\"\u003eChoose my coaster\u003c\/a\u003e\u003c\/section\u003e\n\u003c\/article\u003e\u003cscript\u003eglobalThis.__codexVisualizationInitialGlobals={\"statePersistence\":\"none\",\"stateModelContext\":\"none\",\"visualizationStyleVariables\":{\"--accent\":\"rgb(232, 243, 254)\",\"--accent-foreground\":\"rgb(44, 103, 197)\",\"--background\":\"rgb(252, 252, 252)\",\"--border\":\"rgba(0, 0, 0, 0.1)\",\"--border-strong\":\"rgba(0, 0, 0, 0.15)\",\"--card\":\"color-mix(in oklab, rgb(13, 13, 13) 5%, transparent)\",\"--card-foreground\":\"rgb(13, 13, 13)\",\"--corner-shape\":\"round\",\"--control-spacing\":\"12px\",\"--cursor-interaction\":\"pointer\",\"--destructive\":\"rgb(146, 59, 15)\",\"--font-mono\":\"ui-monospace, SFMono-Regular, \\\"SF Mono\\\", menlo, consolas, \\\"Liberation Mono\\\", monospace\",\"--font-sans\":\"-apple-system-body, ui-sans-serif, -apple-system, system-ui, \\\"Segoe UI\\\", Helvetica, \\\"Apple Color Emoji\\\", Arial, sans-serif, \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\"\",\"--font-size-base\":\"16px\",\"--font-weight-normal\":\"400\",\"--foreground\":\"rgb(13, 13, 13)\",\"--input\":\"rgba(0, 0, 0, 0.15)\",\"--muted\":\"color-mix(in srgb, rgb(13, 13, 13) 10%, transparent)\",\"--muted-foreground\":\"rgb(143, 143, 143)\",\"--popover\":\"rgb(255, 255, 255)\",\"--popover-foreground\":\"rgb(13, 13, 13)\",\"--primary\":\"rgb(44, 103, 197)\",\"--primary-foreground\":\"rgb(255, 255, 255)\",\"--radius\":\"8px\",\"--radius-2xl\":\"16px\",\"--radius-lg\":\"8px\",\"--radius-md\":\"6px\",\"--radius-sm\":\"4px\",\"--ring\":\"rgb(1, 105, 204)\",\"--secondary\":\"rgb(243, 243, 243)\",\"--secondary-foreground\":\"rgb(13, 13, 13)\",\"--blue\":\"rgb(2, 133, 255)\",\"--orange\":\"rgb(251, 106, 34)\",\"--green\":\"rgb(4, 184, 76)\",\"--red\":\"rgb(250, 66, 62)\",\"--purple\":\"rgb(146, 79, 247)\",\"--yellow\":\"rgb(255, 195, 0)\",\"--visualize-paint-gutter\":\"0px\",\"--viz-series-1\":\"rgb(44, 103, 197)\",\"--viz-series-2\":\"#f2893c\",\"--viz-series-3\":\"#5ec978\",\"--viz-series-4\":\"#ea77b0\",\"--viz-series-5\":\"#9a7aeb\",\"--viz-series-6\":\"#3db9b0\"},\"visualizationTheme\":\"light\"};\u003c\/script\u003e\n\u003cstyle id=\"codex-visualization-host-theme\"\u003e\n:root {}\n\u003c\/style\u003e\n\u003cscript\u003e\n(() =\u003e {\n  \/\/ Host colors are defaults; later authored styles can give the same names\n  \/\/ their own meaning (for example, --muted as a chart's label color).\n  const hostStyles = document.getElementById(\"codex-visualization-host-theme\");\n  const hostStyle = hostStyles.sheet.cssRules[0].style;\n  \/\/ Typography, geometry and interaction cursors still follow the host.\n  const styleForProperty = (property) =\u003e\n    \/^--(?:font-|radius|corner-shape$|control-spacing$|cursor-interaction$|icon-size$|page-content-inline-inset$|page-header-clearance$|visualize-paint-gutter$)\/.test(property)\n      ? document.documentElement.style\n      : hostStyle;\n  const initialGlobals =\n    globalThis.__codexVisualizationInitialGlobals ?? globalThis.openai;\n  delete globalThis.__codexVisualizationInitialGlobals;\n  if (initialGlobals?.statePersistence != null) {\n    globalThis.openai ??= {};\n    globalThis.openai.statePersistence = initialGlobals.statePersistence;\n    globalThis.openai.stateModelContext = initialGlobals.stateModelContext ?? \"none\";\n  }\n  if (!false) {\n    return;\n  }\n  let appliedProperties = [];\n  const applyHostStyleVariables = (styleVariables) =\u003e {\n    if (styleVariables == null || typeof styleVariables !== \"object\") {\n      return;\n    }\n    document.documentElement.toggleAttribute(\n      \"data-visualize-page-inline-inset\", typeof styleVariables[\"--page-content-inline-inset\"] === \"string\",\n    );\n    document.documentElement.toggleAttribute(\n      \"data-visualize-page-header\", typeof styleVariables[\"--page-header-clearance\"] === \"string\",\n    );\n    document.documentElement.toggleAttribute(\n      \"data-visualize-live\", typeof styleVariables[\"--font-line-height-base\"] === \"string\",\n    );\n    for (const property of appliedProperties) {\n      styleForProperty(property).removeProperty(property);\n    }\n    appliedProperties = [];\n    for (const [property, value] of Object.entries(styleVariables)) {\n      if (property.startsWith(\"--\") \u0026\u0026 typeof value === \"string\") {\n        styleForProperty(property).setProperty(property, value);\n        appliedProperties.push(property);\n      }\n    }\n  };\n\n  const syncHostStyles = (globals) =\u003e {\n    applyHostStyleVariables(globals?.visualizationStyleVariables);\n    if (globals?.visualizationTheme != null) {\n      hostStyles.dataset.visualizationTheme = globals.visualizationTheme;\n    }\n    const sandboxDocument = globalThis.frameElement?.ownerDocument;\n    if (sandboxDocument != null \u0026\u0026 globals?.visualizationTheme != null) {\n      let colorSchemeMeta = sandboxDocument.querySelector(\n        'meta[name=\"color-scheme\"]',\n      );\n      if (colorSchemeMeta == null) {\n        colorSchemeMeta = sandboxDocument.createElement(\"meta\");\n        colorSchemeMeta.name = \"color-scheme\";\n        sandboxDocument.head.appendChild(colorSchemeMeta);\n      }\n      colorSchemeMeta.content = globals.visualizationTheme;\n      sandboxDocument.documentElement.style.colorScheme =\n        globals.visualizationTheme;\n      \/\/ Paint the host surface behind transparent saved visualization documents.\n      sandboxDocument.documentElement.style.backgroundColor =\n        hostStyle.getPropertyValue(\"--background\");\n    }\n  };\n\n  syncHostStyles(initialGlobals);\n  globalThis.addEventListener(\"openai:set_globals\", (event) =\u003e {\n    syncHostStyles(event.detail?.globals);\n  });\n})();\n\u003c\/script\u003e\n\n\n\u003cscript\u003e\n(() =\u003e {\n  const reportEnvironmentError = (value) =\u003e {\n    const error = value instanceof Error ? value : new Error(String(value));\n    void globalThis.openai\n      .callTool(\n        \"__codex_inline_visualization_error__\",\n        {\n          message: error.message,\n          name: error.name,\n          stack: error.stack,\n        },\n      )\n      .catch(() =\u003e {});\n  };\n  const scriptSourceForRepair = (source) =\u003e {\n    if (!source) { return \"\"; }\n    try {\n      const base = new globalThis.URL(\"https:\/\/visualization.invalid\/\");\n      const url = new globalThis.URL(source, base);\n      if (url.protocol !== \"http:\" \u0026\u0026 url.protocol !== \"https:\") {\n        return url.protocol;\n      }\n      url.username = \"\";\n      url.password = \"\";\n      url.search = \"\";\n      url.hash = \"\";\n      if (url.origin === base.origin \u0026\u0026 !source.startsWith(\"\/\/\")) {\n        return url.pathname;\n      }\n      return url.href;\n    } catch {\n      return \"\";\n    }\n  };\n\n  globalThis.addEventListener(\"error\", (event) =\u003e {\n    if (event.target?.localName === \"script\") {\n      \/\/ A script's own onerror may render a fallback or load an alternative.\n      \/\/ Let that handler run; failures it throws still reach the global error path.\n      const handlesError = typeof event.target.onerror === \"function\";\n      globalThis.queueMicrotask(() =\u003e {\n        if (!handlesError \u0026\u0026 !event.defaultPrevented) {\n          const source = scriptSourceForRepair(\n            event.target.getAttribute(\"src\")?.trim().slice(0, 2048),\n          );\n          const error = new Error(source\n            ? \"Visualization script could not be loaded: \" + source\n            : \"Visualization script could not be loaded\");\n          error.name = \"VisualizationScriptLoadError\";\n          reportEnvironmentError(error);\n        }\n      });\n    } else if (event.target === globalThis) {\n      \/\/ The browser defers resize notifications to another frame; no script threw.\n      if (event.error == null \u0026\u0026 (\n        event.message === \"ResizeObserver loop completed with undelivered notifications.\" ||\n        event.message === \"ResizeObserver loop limit exceeded\"\n      )) {\n        return;\n      }\n      reportEnvironmentError(event.error ?? event.message);\n    }\n  }, true);\n  globalThis.addEventListener(\"unhandledrejection\", (event) =\u003e {\n    reportEnvironmentError(event.reason);\n  });\n})();\n\u003c\/script\u003e\n\u003cscript id=\"codex-visualization-variants\"\u003e\n(() =\u003e {\n  let previousSnapshot = \"[]\";\n  let roots = [];\n  const report = () =\u003e {\n    roots = Array.from(\n      document.querySelectorAll(\".viz-carousel[data-active-variant]\"),\n    ).slice(0, 32);\n    const selectedVariants = roots.flatMap((root, carousel) =\u003e {\n      const variant = root.dataset.activeVariant;\n      const label = root.getAttribute(\"aria-label\")?.slice(0, 256);\n      return variant ? [{\n        carousel,\n        ...(label == null ? {} : { label }),\n        variant: variant.slice(0, 256),\n      }] : [];\n    });\n    const snapshot = JSON.stringify(selectedVariants);\n    if (snapshot !== previousSnapshot) {\n      previousSnapshot = snapshot;\n      void globalThis.openai.callTool(\"__codex_visualization_annotations__\", {\n        type: \"variants\",\n        selectedVariants,\n      }).catch(() =\u003e {});\n    }\n  };\n  const observer = new MutationObserver((records) =\u003e {\n    if (records.some((record) =\u003e record.type === \"attributes\") || roots.some((root) =\u003e !root.isConnected)) {\n      report();\n    }\n  });\n  observer.observe(document, {\n    childList: true,\n    subtree: true,\n    attributes: true,\n    attributeFilter: [\"data-active-variant\"],\n  });\n  report();\n  globalThis.addEventListener(\"pagehide\", () =\u003e observer.disconnect(), { once: true });\n})();\n\u003c\/script\u003e\n\u003cscript\u003e\n(() =\u003e {\n  const selectorInRoot = (target, root) =\u003e {\n    const parts = [];\n    for (let element = target; element != null \u0026\u0026 parts.length \u003c 64; element = element.parentElement) {\n      const id = element.id \u0026\u0026 globalThis.CSS?.escape?.(element.id);\n      if (id \u0026\u0026 id.length \u003c= 256) {\n        const selector = [\"#\" + id, ...parts].join(\" \u003e \");\n        const matches = root.querySelectorAll(selector);\n        if (matches.length === 1 \u0026\u0026 matches[0] === target) {\n          return selector;\n        }\n      }\n      let index = 1;\n      for (let sibling = element.previousElementSibling; sibling != null; sibling = sibling.previousElementSibling) {\n        if (sibling.localName === element.localName) { index += 1; }\n      }\n      const tag = globalThis.CSS?.escape?.(element.localName) ?? element.localName;\n      parts.unshift(tag + \":nth-of-type(\" + index + \")\");\n      if (parts.join(\" \u003e \").length \u003e 1024) { return null; }\n      if (element.parentElement == null) {\n        const selector = parts.join(\" \u003e \");\n        const matches = root.querySelectorAll(selector);\n        return matches.length === 1 \u0026\u0026 matches[0] === target ? selector : null;\n      }\n    }\n    return null;\n  };\n  const describeTarget = (element) =\u003e {\n    if (element == null || !element.isConnected) { return undefined; }\n    const tagName = element.localName.toLowerCase();\n    if (!\/^[a-z][a-z0-9-]{0,63}$\/.test(tagName)) { return undefined; }\n    const parts = [];\n    let current = element;\n    for (let depth = 0; depth \u003c 16; depth += 1) {\n      const root = current.getRootNode();\n      const selector = selectorInRoot(current, root);\n      if (selector == null) { return undefined; }\n      parts.unshift(selector);\n      if (root === document) {\n        const selector = parts.length === 1 ? parts[0] : \"shadow:\" + parts.join(\"\u003e\u003e\u003e\");\n        if (selector.length \u003e 1024) { return undefined; }\n        const label = (element.getAttribute(\"aria-label\") || element.getAttribute(\"title\") || \"\")\n          .replace(\/[\\u0000-\\u001f\\u007f-\\u009f\\u061c\\u200e\\u200f\\u2028-\\u202e\\u2066-\\u2069]\/gu, \" \")\n          .replace(\/\\s+\/g, \" \").trim().slice(0, 160);\n        return { selector, tagName, ...(label ? { label } : {}) };\n      }\n      if (!(root instanceof ShadowRoot) || root.mode !== \"open\") { return undefined; }\n      current = root.host;\n    }\n    return undefined;\n  };\n  let previousSnapshot = JSON.stringify({ isHovering: false });\n  const reportHover = (event, isHovering, isTouch = false, target) =\u003e {\n    const report = isTouch\n      ? { isHovering: false, pointerType: \"touch\" }\n      : { isHovering, ...(isHovering \u0026\u0026 target != null ? { target } : {}) };\n    const snapshot = JSON.stringify(report);\n    if (snapshot === previousSnapshot) {\n      return;\n    }\n    previousSnapshot = snapshot;\n    void globalThis.openai\n      .callTool(\n        \"__codex_inline_visualization_hover__\",\n        { ...report, eventTime: globalThis.performance.timeOrigin + event.timeStamp },\n      )\n      .catch(() =\u003e {});\n  };\n\n  let hoveredElement;\n  let isTouchHover = false;\n  let latestHover = null;\n  let latestResetTime = 0;\n  const handlePointerHover = (event) =\u003e {\n    const isTouch = event.pointerType === \"touch\";\n    const element = isTouch ? undefined : event.composedPath().find((element) =\u003e element instanceof Element);\n    latestHover = { event, element, isTouch };\n    if (event.type === \"pointermove\" \u0026\u0026 element === hoveredElement \u0026\u0026 isTouch === isTouchHover) {\n      return;\n    }\n    hoveredElement = element;\n    isTouchHover = isTouch;\n    reportHover(event, !isTouch, isTouch, isTouch ? undefined : describeTarget(element));\n  };\n  const clearHover = (event) =\u003e {\n    hoveredElement = undefined;\n    isTouchHover = false;\n    latestHover = null;\n    reportHover(event, false);\n  };\n  globalThis.addEventListener(\"openai:set_globals\", (event) =\u003e {\n    const resetTime = event.detail?.globals?.visualizationHoverReset;\n    if (typeof resetTime !== \"number\" || !Number.isFinite(resetTime) || resetTime \u003c= latestResetTime) {\n      return;\n    }\n    latestResetTime = resetTime;\n    const latest = latestHover;\n    hoveredElement = undefined;\n    isTouchHover = false;\n    latestHover = null;\n    previousSnapshot = JSON.stringify({ isHovering: false });\n    \/\/ A host-observed exit can arrive after the pointer has already reentered.\n    if (latest != null \u0026\u0026 globalThis.performance.timeOrigin + latest.event.timeStamp \u003e resetTime) {\n      latestHover = latest;\n      hoveredElement = latest.element;\n      isTouchHover = latest.isTouch;\n      reportHover(latest.event, !latest.isTouch, latest.isTouch,\n        latest.isTouch ? undefined : describeTarget(latest.element));\n    }\n  });\n  globalThis.addEventListener(\"pointerover\", handlePointerHover, { capture: true });\n  \/\/ Moves between descendants in one shadow root do not emit pointerover outside\n  \/\/ that root. The identity guard avoids selector work while a target is unchanged.\n  globalThis.addEventListener(\"pointermove\", handlePointerHover, { capture: true });\n  globalThis.addEventListener(\n    \"pointerout\",\n    (event) =\u003e {\n      if (event.pointerType !== \"touch\" \u0026\u0026 event.relatedTarget == null) {\n        clearHover(event);\n      }\n    },\n    { capture: true },\n  );\n  globalThis.addEventListener(\"pagehide\", clearHover);\n})();\n\u003c\/script\u003e\n\u003cscript\u003e\n(() =\u003e {\n  const report = (method) =\u003e {\n    void globalThis.openai.callTool(\"__codex_inline_visualization_input__\", { method }).catch(() =\u003e {});\n  };\n  globalThis.addEventListener(\"pointerdown\", () =\u003e report(\"pointer\"), { capture: true });\n  globalThis.addEventListener(\"keydown\", (event) =\u003e {\n    if (!event.isComposing \u0026\u0026 event.key !== \"Shift\" \u0026\u0026 !event.altKey \u0026\u0026 !event.ctrlKey \u0026\u0026 !event.metaKey) {\n      report([\"Tab\",\"ArrowLeft\",\"ArrowRight\",\"ArrowUp\",\"ArrowDown\"].includes(event.key) ? \"keyboard-navigation\" : \"keyboard\");\n    }\n  }, { capture: true });\n})();\n\u003c\/script\u003e\n\u003cscript\u003e\n(() =\u003e {\n  const bubbledClicks = new WeakSet();\n  const interactiveSelector = [\n    \"button\", \"input\", \"select\", \"textarea\", \"label\", \"summary\", \"a[href]\",\n    \"audio[controls]\", \"video[controls]\", \"[onclick]\", \"[data-visualization-interactive]\",\n    '[contenteditable]:not([contenteditable=\"false\"])',\n    ...[\n      \"button\", \"checkbox\", \"combobox\", \"gridcell\", \"link\", \"listbox\",\n      \"menuitem\", \"menuitemcheckbox\", \"menuitemradio\", \"option\", \"radio\",\n      \"scrollbar\", \"searchbox\", \"slider\", \"spinbutton\", \"switch\", \"tab\",\n      \"textbox\", \"treeitem\",\n    ].map((role) =\u003e '[role~=\"' + role + '\"]'),\n  ].join(\",\");\n\n  globalThis.addEventListener(\"click\", (event) =\u003e bubbledClicks.add(event));\n  globalThis.addEventListener(\"click\", (event) =\u003e {\n    \/\/ Capture the path before a control can remove itself. Custom delegated\n    \/\/ controls can opt in with data-visualization-interactive.\n    const elements = event.composedPath().filter((target) =\u003e target instanceof Element);\n    const control = elements.find((element) =\u003e element.matches(interactiveSelector));\n    const widgetControl = event.isTrusted \u0026\u0026 control != null \u0026\u0026\n      !control.matches('img, [role~=\"img\"]') \u0026\u0026\n      !elements.some((element) =\u003e element.matches('a[href], [role~=\"link\"]'));\n    const isInteractiveTarget = control != null || elements.some((element) =\u003e\n      element.hasAttribute(\"tabindex\") \u0026\u0026 element.tabIndex \u003e= 0) ||\n      (elements[0] != null \u0026\u0026 getComputedStyle(elements[0]).cursor === \"pointer\");\n    \/\/ Use a task, not a microtask: native dispatch can run microtasks between\n    \/\/ listeners. Propagation flags are reset when dispatch finishes:\n    \/\/ https:\/\/dom.spec.whatwg.org\/#concept-event-dispatch\n    globalThis.setTimeout(() =\u003e {\n      void globalThis.openai.callTool(\"__codex_inline_visualization_click__\", {\n        ...(widgetControl ? {widgetControl: true} : {}),\n        isInteractive: isInteractiveTarget || event.defaultPrevented ||\n          (event.bubbles \u0026\u0026 !bubbledClicks.has(event)),\n      }).catch(() =\u003e {});\n    }, 0);\n  }, { capture: true });\n})();\n\u003c\/script\u003e\n\u003cscript\u003e\n(() =\u003e {\n  globalThis.addEventListener(\"keydown\", (event) =\u003e {\n    if (event.isComposing || event.altKey || event.ctrlKey || event.metaKey ||\n      event.shiftKey || ![\"ArrowLeft\", \"ArrowRight\", \"Escape\"].includes(event.key)) {\n      return;\n    }\n    const target = event.composedPath().find((element) =\u003e element instanceof HTMLElement);\n    const editable = target?.closest(\"[contenteditable]\");\n    const editing = target \u0026\u0026 (target.isContentEditable ||\n      (editable \u0026\u0026 editable.getAttribute(\"contenteditable\") !== \"false\") ||\n      target.closest('input, textarea, select, [role=\"slider\"], [role=\"spinbutton\"], [role=\"combobox\"], [role=\"listbox\"], [role=\"grid\"], [role=\"tree\"], [role=\"tablist\"], [role=\"menu\"]'));\n    if (event.key !== \"Escape\" \u0026\u0026 editing) { return; }\n    \/\/ Let the widget handle the key before forwarding it across the sandbox.\n    globalThis.setTimeout(() =\u003e {\n      if (!event.defaultPrevented \u0026\u0026 globalThis.openai?.displayMode === \"fullscreen\") {\n        void globalThis.openai.callTool(\"__codex_inline_visualization_preview_key__\", {\n          key: event.key,\n        }).catch(() =\u003e {});\n      }\n    }, 0);\n  });\n})();\n\u003c\/script\u003e\n\n\n\n\n\n\n\n\n\u003cscript\u003e\n(() =\u003e {\n  const contentRange = document.createRange();\n  let waitingForStreamRoot = false ? document.querySelector(\"main\") : null;\n  const markStreamReady = () =\u003e {\n    waitingForStreamRoot = null;\n    globalThis.removeEventListener(\"openai:set_globals\", onStreamGlobals);\n    void globalThis.openai.callTool(\"__codex_inline_visualization_ready__\", {}).catch(() =\u003e {});\n  };\n  const onStreamGlobals = (event) =\u003e {\n    const update = event.detail?.globals?.__appBlockStream;\n    if (update?.isFinal) {\n      markStreamReady();\n    } else if (update != null) {\n      scheduleHeightReport();\n    }\n  };\n  let previousMeasurement = null;\n  let heightReportTimer = null;\n  const reportHeight = () =\u003e {\n    const bodyChildren = Array.from(document.body.children).filter(\n      (element) =\u003e\n        element.tagName !== \"SCRIPT\" \u0026\u0026\n        element.tagName !== \"STYLE\" \u0026\u0026\n        element.getAttribute(\"role\") !== \"tooltip\",\n    );\n    const bodyStyle = globalThis.getComputedStyle(document.body);\n    const contentWidth = Math.max(\n      0,\n      Math.round(\n        globalThis.innerWidth -\n          parseFloat(bodyStyle.paddingLeft) -\n          parseFloat(bodyStyle.paddingRight),\n      ),\n    );\n    let contentHeight;\n    if (bodyChildren.length === 0) {\n      contentRange.selectNodeContents(document.body);\n      contentHeight = contentRange.getBoundingClientRect().height;\n    } else if (bodyChildren.length === 1) {\n      const [bodyChild] = bodyChildren;\n      const childRect = bodyChild.getBoundingClientRect();\n      \/\/ Child margins can collapse above the root without adding to its height.\n      \/\/ The host adds body padding separately.\n      contentHeight =\n        Math.max(bodyChild.scrollHeight, childRect.height) +\n        Math.max(\n          0,\n          childRect.top -\n            document.body.getBoundingClientRect().top -\n            parseFloat(bodyStyle.paddingTop),\n        );\n    } else {\n      const bodyTop = document.body.getBoundingClientRect().top;\n      contentHeight = Math.max(\n        ...bodyChildren.map(\n          (bodyChild) =\u003e bodyChild.getBoundingClientRect().bottom - bodyTop,\n        ),\n      );\n    }\n    \/\/ A short first line is drawable before the chart is tall enough for a graphical preview.\n    \/\/ Check before deduplicating height: text can arrive inside a fixed-height empty box.\n    if (waitingForStreamRoot != null \u0026\u0026 contentWidth \u003e 0 \u0026\u0026 (\n      contentHeight \u003e= 32 ||\n      (contentHeight \u003e 0 \u0026\u0026 waitingForStreamRoot.innerText.trim() !== \"\")\n    )) {\n      markStreamReady();\n    }\n    const viewportHeight = globalThis.innerHeight;\n    const previous = previousMeasurement;\n    previousMeasurement = { contentHeight, contentWidth, viewportHeight };\n    if (\n      previous != null \u0026\u0026\n      contentWidth === previous.contentWidth \u0026\u0026\n      contentHeight - previous.contentHeight ===\n        viewportHeight - previous.viewportHeight\n    ) {\n      return;\n    }\n\n    void globalThis.openai\n      .callTool(\n        \"__codex_inline_visualization_height__\",\n        { height: contentHeight, width: contentWidth },\n      )\n      .catch(() =\u003e {});\n  };\n  const scheduleHeightReport = () =\u003e {\n    if (heightReportTimer != null) {\n      return;\n    }\n    \/\/ Offscreen frames can suspend animation callbacks while their content loads.\n    heightReportTimer = globalThis.setTimeout(() =\u003e {\n      heightReportTimer = null;\n      reportHeight();\n    }, 0);\n  };\n\n  const resizeObserver = new ResizeObserver(scheduleHeightReport);\n  const observeBodyChildren = () =\u003e {\n    for (const element of document.body.children) {\n      resizeObserver.observe(element);\n    }\n  };\n  resizeObserver.observe(document.body);\n  observeBodyChildren();\n  new MutationObserver(() =\u003e {\n    observeBodyChildren();\n    scheduleHeightReport();\n  }).observe(document.body, {\n    childList: true,\n    subtree: true,\n    attributes: true,\n    attributeFilter: [\"style\", \"class\", \"height\", \"width\"],\n  });\n  globalThis.addEventListener(\"resize\", scheduleHeightReport);\n  if (waitingForStreamRoot != null) {\n    globalThis.addEventListener(\"openai:set_globals\", onStreamGlobals);\n    if (globalThis.openai?.__appBlockStream?.isFinal) {\n      markStreamReady();\n    }\n  }\n  reportHeight();\n})();\n\u003c\/script\u003e\n\u003cstyle\u003e\nhtml, body {\n  scrollbar-width: none !important;\n  \n}\nhtml::-webkit-scrollbar, body::-webkit-scrollbar { display: none !important; }\n\u003c\/style\u003e\n\u003c\/body\u003e","brand":"coolmicraft","offers":[{"title":"A","offer_id":68194068201687,"sku":"T03F26111802-米色","price":17.99,"currency_code":"USD","in_stock":true},{"title":"B","offer_id":68194068234455,"sku":"T03F26111802-棕色","price":17.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0855\/5347\/9895\/files\/99448326910377985.webp?v=1795421408","url":"https:\/\/coolmicraft.com\/products\/hard-nesty%e2%84%a2-funny-crochet-coaster-the-cheeky-novelty-cup-mat-a","provider":"coolmicraft","version":"1.0","type":"link"}