PageSourceSearch

https://leafwell-eylpbaxjp-leafwell.vercel.app/_next/static/chunks…/widgets/edible-dosage-52f7d65e8eab65a2.js

js leafwell-eylpbaxjp-leafwell.vercel.app collected 2026-10-03 07:15:28 UTC 11,633 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8198,6360,5033],{51998:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/widgets/edible-dosage",function(){return r(50153)}])},50153:function(e,t,r){"use strict";r.r(t);var l=r(31549),n=r(44194),a=r(63662);t.default=()=>{let e=(0,n.useRef)(null),t=()=>{if(e.current){let t=e.current.offsetHeight;window.parent.postMessage({type:"resize",height:t},"*")}};return(0,n.useEffect)(()=>{t();let r=new MutationObserver(t);return e.current&&r.observe(e.current,{childList:!0,subtree:!0}),()=>{r.disconnect()}},[]),(0,l.jsx)("div",{ref:e,children:(0,l.jsx)(a.Z,{})})}},73254:function(e,t,r){"use strict";r.d(t,{f:function(){return n}});var l=r(44194);let n=({label:e="Close",onClick:t,size:r=12,variant:n="black",...a})=>l.createElement("button",{onClick:t,"aria-label":e,className:"px-2 duration-150 hover:opacity-50",...a},"black"===n?l.createElement("img",{src:"/close.svg",alt:"",height:r,width:r}):l.createElement("img",{src:"/close-white.svg",alt:"",height:r,width:r}))},77575:function(e,t,r){"use strict";r.d(t,{J:function(){return i}});var l=r(44194);function n({filled:e,...t}){return e?l.createElement("svg",{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{fill:"currentColor",d:"M10 0a10 10 0 110 20 10 10 0 010-20zm3.3 6.3l-4.8 4.3-1.8-1.8-1.4 1.4 3.2 3.2 6.2-5.7z"})):l.createElement("svg",{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 127 127",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"currentColor",transform:"translate(3 3)"},l.createElement("circle",{cx:"60.5",cy:"60.5",r:"60.5",strokeWidth:"5"}),l.createElement("path",{d:"M37 54l15 21 31-29",strokeWidth:"8"})))}function a({filled:e,...t}){return e?l.createElement("svg",{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("path",{d:"M10 0a10 10 0 110 20 10 10 0 010-20zm2.3 6.3L10 8.7 7.7 6.3 6.3 7.7 8.7 10l-2.4 2.3 1.4 1.4 2.3-2.4 2.3 2.4 1.4-1.4-2.4-2.3 2.4-2.3z",fill:"currentColor"})):l.createElement("svg",{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 124 124",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"currentColor"},l.createElement("circle",{cx:"62",cy:"62",r:"60.5",strokeWidth:"5"}),l.createElement("g",{strokeWidth:"8"},l.createElement("path",{d:"M43.4 80.6l37.2-37.2M80.6 80.6L43.4 43.4"}))))}function c({filled:e,...t}){return e?l.createElement("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",...t},l.createElement("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"})):l.createElement("svg",{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 142 127",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("g",{fill:"none"},l.createElement("path",{d:"M137.6 107c4.4 7.5-1.1 17-9.8 17H14.4c-8.8 0-14.2-9.5-9.9-17L61.2 8.7a11.4 11.4 0 0119.7 0z",stroke:"currentColor",strokeWidth:"5"}),l.createElement("g",{fill:"currentColor"},l.createElement("path",{d:"M71 86.7a10.9 10.9 0 100 21.7 10.9 10.9 0 000-21.7zM60.7 47.6l1.8 32.1c0 1.5 1.3 2.7 2.8 2.7h11.5c1.5 0 2.7-1.2 2.8-2.7l1.8-32.1c0-1.6-1.2-3-2.8-3h-15c-1.7 0-3 1.4-2.9 3z"}))))}function s({filled:e,...t}){return e?l.createElement("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...t},l.createElement("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"})):l.createElement("svg",{"aria-hidden":"true",focusable:"false",role:"img",viewBox:"0 0 127 127",xmlns:"http://www.w3.org/2000/svg",...t},l.createElement("g",{fill:"none"},l.createElement("path",{d:"M63.5 3a60.5 60.5 0 100 121 60.5 60.5 0 000-121z",stroke:"currentColor",strokeWidth:"5"}),l.createElement("g",{fill:"currentColor"},l.createElement("path",{d:"M63.5 29.8a10.2 10.2 0 110 20.5 10.2 10.2 0 010-20.5zM77.2 91.8a3 3 0 01-3 3H52.8a3 3 0 01-3-3v-5.9a3 3 0 013-2.9h2.9V67.4h-3a3 3 0 01-2.9-3v-5.8a3 3 0 013-3h15.6a3 3 0 013 3V83h2.8a3 3 0 013 3z"}))))}let i=({className:e="",filled:t=!0,type:r="info",...i})=>{let o=function(e){switch(e){case"positive":return n;case"negative":return a;case"danger":return c;default:return s}}(r);return l.createElement(o,{className:[function(e){switch(e){case"positive":return"text-green-500";case"negative":return"text-red";case"danger":return"text-yellow";default:return"text-gray-400"}}(r),e].join(" "),...{...i,filled:t}})}},78227:function(e,t,r){"use strict";r.d(t,{T:function(){return n}});var l=r(44194);let n=({classNameButton:e="",href:t="/",title:r="Leafwell",className:n="",variant:a="dark",width:c,...s})=>{let i=l.useMemo(()=>"light"===a?"#fff":"#36DC90",[a]),o=(0,l.useMemo)(()=>c||40,[c]),u=(0,l.useMemo)(()=>`col-start-1 row-start-1 h-auto max-w-full ${n}`,[n,o]);return l.createElement(t?"a":"span",{className:["inline-grid",e].join(" "),...t?{href:t,title:r}:{}},l.createElement("svg",{focusable:"false",role:"img",viewBox:"0 0 45 40",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",...{className:"iconMobile"===a?`${u} md:hidden`:"icon"===a?u:"hidden",...o?{width:o}:{},...s}},l.createElement("path",{d:"M19 38.5v-6.8H0V25h14.1L1.4 12.4l4.9-4.8L19 20V.6h7V20L38.6 7.6l4.9 4.8L30.9 25h14v6.8H26v6.8z",fill:i})),l.createElement("svg",{focusable:"false",role:"img",viewBox:"0 0 288 40",preserveAspectRatio:"xMidYMid meet",xmlns:"http://www.w3.org/2000/svg",...{className:"iconMobile"===a?`${u} hidden md:inline-grid`:"icon"===a?"hidden":u,...c?{width:c}:{},...s}},l.createElement("path",{d:"m105.4 10c8.9 0 15 5.9 15 14.2v2.5h-24.3c1 3.9 4.6 6.3 9.3 6.3 4.2 0 7.5-2 8.8-5.3l.1-.4 5.7 3-.1.3c-1.7 4.2-6.8 8.5-14.5 8.5-9.4 0-16-6-16-14.6 0-8.4 6.7-14.5 16-14.5zm141.6 0c8.8 0 15 5.9 15 14.2v2.5h-24.3c1 3.9 4.6 6.3 9.3 6.3 4.2 0 7.4-2 8.8-5.3l.1-.4 5.7 3-.2.3c-1.6 4.2-6.7 8.5-14.4 8.5-9.4 0-16-6-16-14.6 0-8.4 6.7-14.5 16-14.5zm-107.6 0c8.7 0 13.5 3.7 13.5 10.4v11.4c0 .6.1 1 .4 1.1.4.4 1.5.4 3.2 0h.4v5.5h-.3c-6.3 1.4-8.6-1.3-9.5-3.3-2.7 2.5-7 4-11.6 4-7 0-11.6-3.5-11.6-8.9 0-4.8 3.8-7.9 10.8-8.7l11.3-1.5c0-2.6-2.6-4-7-4-3.9 0-7.5 1.8-8.5 4.3l-.1.4-5.8-2.6v-.4c1.8-4.6 7.8-7.8 14.7-7.8zm-55.1-9.4v37.9h-7v-38zm189.6 0v37.9h-7v-38zm13.8 0v37.9h-7v-38zm-111.4-.6c1.8 0 4.6.2 6.4.9l.3.1-1.2 6.2-.4-.1c-1.7-.5-3.4-.7-5-.6-4 0-5.5 1.2-5.5 4h10.7v6.1h-10.7v21.9h-6.9v-21.9h-6.8v-6h6.8v-.2c0-6.7 4.4
1-10.4 12.3-10.4zm13.8 10.6 7 18.7 6.6-18.7h5.8l6.7 18.7 6.8-18.7h7.2l-11 27.9h-5.9l-6.9-18.3-6.8 18.3h-5.9l-11-28zm-44 15.2-10.5 1.2c-3.7.4-5.1 1.3-5.1 3.2 0 2.7 3.4 3 5.4 3 4.8 0 10-2.1 10-5.6zm-41.1-9.8c-4.2 0-7.4 2-8.7 5.3h17.1c-.6-2.6-3.9-5.3-8.4-5.3zm141.5 0c-4.2 0-7.4 2-8.7 5.3h17.2c-.6-2.6-4-5.3-8.4-5.3z",fill:"currentColor"}),l.createElement("path",{d:"M19 38.5v-6.8H0V25h14.1L1.4 12.4l4.9-4.8L19 20V.6h7V20L38.6 7.6l4.9 4.8L30.9 25h14v6.8H26v6.8z",fill:i})))}},16360:function(e,t,r){"use strict";r.d(t,{n:function(){return n}});var l=r(44194);let n=l.forwardRef(({children:e,className:t="",size:r="medium",tagName:n="p",variant:a="default",...c},s)=>l.createElement(n,{ref:s,className:["font-sans","prose",function(e){switch(e){case"small":default:return"text-base lg:text-lg";case"xsmall":return"text-sm lg:text-base";case"large":return"text-lg lg:text-2xl"}}(r),function(e){switch(e){case"medium":return"text-gray-600";case"light":return"text-white";case"primary":return"text-green";case"dark":return"text-black";default:return""}}(a),t].join(" "),...c},e))},548:function(e,t,r){"use strict";r.d(t,{E:function(){return n}});var l=r(44194);let n=l.forwardRef(({center:e=!0,children:t,className:r="",size:n="large",spacer:a=!0,tagName:c="section",...s},i)=>l.createElement(c,{ref:i,className:["w-full px-4 lg:px-10 grid gap-y-6 lg:gap-y-12",e?"mx-auto":"",a?"py-6 md:py-16":"",function(e){switch(e){case"large":return"max-w-screen-2xl";case"small":return"max-w-screen-lg";default:return"max-w-screen-xl"}}(n),r].join(" "),...s},t))},53049:function(e,t,r){"use strict";r.d(t,{V:function(){return g},p:function(){return v}});var l=r(44194),n=r(56321);let a=e=>!!("function"==typeof e&&e.constructor&&e.call&&e.apply),c={cancelOnUnmount:!0},s=(e,t,r=c)=>{let n=Object.assign(Object.assign({},c),r||{}),s=(0,l.useRef)(),i=(0,l.useRef)(e),[o,u]=(0,l.useState)(!1),m=(0,l.useCallback)(()=>{s.current&&(clearTimeout(s.current),u(!0))},[]);return(0,l.useEffect)(()=>{a(e)&&(i.current=e)},[e]),(0,l.useEffect)(()=>(s.current=setTimeout(()=>{i.current()},t),m),[t]),(0,l.useEffect)(()=>()=>{n.cancelOnUnmount&&m()},[]),[o,m]};var i=r(73254),o=r(77575);let u=({animate:e=!1,children:t,closeLabel:r="Close",hasIcon:n=!0,id:a,onClose:c=()=>null,persistent:u=!1,shouldRemove:m=!1,type:f="info",...d})=>{let[h,g]=(0,l.useState)(!0),[v,w]=s(()=>{m&&(w(),p())},5e3,{cancelOnUnmount:!0}),p=(0,l.useCallback)(()=>{m&&!v&&w(),g(!1),c(a)},[w,c,g]);return h?l.createElement("div",{"aria-live":"polite",role:"alert",className:["flex","justify-between","shadow-lg","w-full","text-sm","py-4","pr-2","pl-4","border-l-4","bg-white","pointer-events-auto",e?"animate-fade-in":"",function(e){switch(e){case"positive":return"border-green-500";case"negative":return"border-red";case"danger":return"border-yellow";default:return"border-gray-300"}}(f)].join(" "),...d},n&&l.createElement(o.J,{type:f,className:"shrink-0 w-5 self-center mr-3"}),l.createElement("div",{className:"pr-6 self-center grow grid gap-y-2"},t),!u&&l.createElement(i.f,{onClick:p,label:r})):null},m=({toasts:e})=>{let{removeToast:t}=v(),r=(0,l.useCallback)(e=>{t(e)},[t]);return l.createElement("div",{className:"fixed z-40 w-full max-w-sm max-h-full bottom-0 sm:top-0 sm:bottom-auto left-0 right-0 mx-auto p-4 grid gap-3 pointer-events-none"},e.map(({animate:e=!0,id:t,content:n,onClose:a=()=>null,...c})=>l.createElement(u,{animate:!0,...{...c,animate:e,key:t,id:t,onClose:e=>{a(e),r(e)}}},n)))},f=0,d=(0,l.createContext)(null),h=({children:e})=>{let[t,r]=(0,l.useState)(null);return((0,l.useEffect)(()=>{let e="leafwell-toast-container",t=document.getElementById(e);t||((t=document.createElement("div")).setAttribute("id",e),document.body.appendChild(t)),r(t)},[]),t)?(0,n.createPortal)(e,t):null},g=({children:e})=>{let[t,r]=(0,l.useState)([]),n=(0,l.useCallback)(e=>{r(t=>[...t.filter(t=>t.key!==e.key),{...e,id:`${f++}`}])},[]),a=(0,l.useCallback)(e=>{r(t=>t.filter(t=>t.id!==e))},[]);return l.createElement(d.Provider,{value:{addToast:n,removeToast:a}},e,l.createElement(h,null,l.createElement(m,{toasts:t})))},v=()=>{let e=(0,l.useContext)(d);if(null===e)throw Error('No "ToastProvider" configured');return e}}},function(e){e.O(0,[7006,3840,2235,3826,4032,2888,9774,179],function(){return e(e.s=51998)}),_N_E=e.O()}]);
2//# sourceMappingURL=edible-dosage-52f7d65e8eab65a2.js.map

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.