1import{bd as c,be as a}from"./DIPkJ2CL.js";import"./BWOhMDMl.js";import"./Q_j6PVt_.js";import"./CE9BS92s.js";function s(){if(!(typeof window>"u"))return window.fbq}function d(t){return a.SHA256(t.trim().toLowerCase()).toString()}function n(t,e,r,u){try{const o=c(),i=s();if(!o||!i)return;i("trackSingle",o,t,e,r)}catch(o){console.error(u,o)}}const p={init(t){try{const e=c(),r=s();if(!e||!r||!t)return;r("init",e,{em:d(t)})}catch(e){console.error("fb init Error:",e)}},registerEvent(t){n("CompleteRegistration",{},{eventID:`register_${t??""}`},"fb register Event Error:")},addToCartEvent({productId:t,productPrice:e,orderId:r}){n("AddToCart",{content_ids:[t],content_type:"product",num_items:1,value:e,currency:"USD"},{eventID:`add_to_cart_${r??""}`},"fb addToCart Event Error:"),n("InitiateCheckout",{value:e,currency:"USD",content_ids:[t],content_type:"product",num_items:1},{eventID:`initiate_checkout_${r??""}`},"fb addToCart Event Error:")},subscribeEvent({productId:t,productPrice:e,orderId:r}){n("Subscribe",{value:e,currency:"USD",num_items:1,order_id:`subscribe_${r??""}`,content_ids:[t],content_type:"product"},{eventID:r??""},"fb subscribe Event Error:")},purchaseEvent({productId:t,productPrice:e,orderId:r}){n("Purchase",{value:e,currency:"USD",num_items:1,order_id:`purchase_${r??""}`,content_ids:[t],content_type:"product"},{eventID:r??""},"fb purchase Event Error:")}};export{p 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.