PageSourceSearch

https://recipefix.app/assets/RecipeFullPreviewSheet-hnAceYPW.js

js recipefix.app collected 2026-09-24 14:09:56 UTC 2,526 bytes, 1 lines download raw bytes

1import{r as p,j as e}from"./vendor-react-WTlcpp_v.js";import{D as i}from"./vendor-ui-Ciej6rkM.js";import{R as x}from"./AdaptLeftPanel-CdqI6giK.js";import{X as h}from"./vendor-icons-Zl1GJZx9.js";import"./vendor-radix-Dg0RGC_0.js";import"./useFoodProfile-Bw7a4sew.js";import"./index-CfbuGyp0.js";import"./vendor-shell-BcsIXhhh.js";import"./vendor-query-D9r2JgXi.js";import"./vendor-supabase-CsMrTuoW.js";import"./foodProfile-DHR0vdgR.js";import"./DietChip-B1PPLW_l.js";import"./cookTime-VOcH_GxO.js";import"./extensionPromo-DVvlB-IF.js";import"./exampleRecipe-DbKWYCs1.js";import"./RecentlyCooked-DLwSFnG7.js";import"./RecipeCard-CaoKwbZy.js";import"./ingredientParse-BXmza-FF.js";import"./NutritionTargetBuilder-CmDiLV0E.js";const I=({open:a,onOpenChange:t,result:c,initialDietary:f,initialServings:u,onAdapt:n,onCopyFromWebsite:o,onUseScreenshot:l,onPasteManually:s})=>(p.useEffect(()=>{if(!a)return;const r=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=r}},[a]),c?e.jsx(i.Root,{open:a,onOpenChange:t,shouldScaleBackground:!1,children:e.jsxs(i.Portal,{children:[e.jsx(i.Overlay,{className:"fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",style:{background:"rgba(0,0,0,0.5)"}}),e.jsxs(i.Content,{"aria-label":"Recipe preview",className:"fixed inset-x-0 bottom-0 z-50 flex flex-col outline-none",style:{height:"94dvh",maxHeight:"calc(100dvh - max(10px, env(safe-area-inset-top)))",borderRadius:"28px 28px 0 0",background:"hsl(var(--background))",overflow:"hidden",WebkitTapHighlightColor:"transparent"},children:[e.jsxs("div",{className:"relative flex h-11 shrink-0 items-center justify-center",style:{touchAction:"manipulation"},children:[e.jsx("div",{"aria-hidden":"true",className:"h-1 w-10 rounded-full bg-border"}),e.jsx("button",{type:"button","aria-label":"Close recipe preview",onClick:()=>t(!1),className:"absolute right-2.5 top-1/2 flex h-9 w-9 -translate-y-1/2 items-center justify-center rounded-full text-muted-foreground hover:bg-secondary hover:text-foreground",children:e.jsx(h,{size:17})})]}),e.jsx("div",{className:"flex-1 min-h-0",style:{overflow:"hidden",touchAction:"manipulation"},children:e.jsx(x,{result:c,initialDietary:f,initialServings:u,onAdapt:(r,d,m)=>{n(r,d,m),t(!1)},onCopyFromWebsite:(r,d,m)=>{o==null||o(r,d,m),t(!1)},onUseScreenshot:()=>{l==null||l(),t(!1)},onPasteManually:()=>{s==null||s(),t(!1)}})})]})]})}):null);export{I as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.