Module 471505

323 characters · in c25181274c1b7f28.js, 86e08886d4d9c8cd.js
Dependencies
Required by (2)
Lazily required by (0)none
Requires (3)
Lazily requires (0)none
Source Raw
function(i,t,e){e.d(t,{G:()=>o});var n=e(64700),a=e(152472),l=e(486318);function o(i){let{userId:t,sku:e,location:o,trackButtonClick:s,onError:d}=i,{handleToggle:r,...u}=(0,a.c)({userId:t,skuId:e.id,nuxGraphic:(0,l.N)(e),location:o,onError:d}),c=n.useCallback(async()=>{s?.(),await r()},[s,r]);return{...u,handleToggle:c}}}