import{a as f,J as p,o as n,b as d,c as a,S as o,j as g,t as m,X as c,l as s,e as w,F as h}from"./entry.a6d6a783.js";const y=["src"],b=["src"],M=f({__name:"index",props:{props:{type:Object,required:!0}},setup(e){const{props:t}=e;return p(()=>{const r=`
  <!-- Google Tag Manager -->
    (function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ "gtm.start": new
    Date().getTime(), event: "gtm.js" }); var f = d.getElementsByTagName(s)[0],
    j = d.createElement(s), dl = l != "dataLayer" ? "&l=" + l : ""; j.async =
    true; j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
    f.parentNode.insertBefore(j, f); })(window, document, "script", "dataLayer",
    "${t==null?void 0:t.contentIdGTM}");
    <!-- End Google Tag Manager -->
  `;t!=null&&t.contentIdGTM&&i(r);function i(u){let l=document.createElement("script");l.innerHTML=u,document.head.appendChild(l)}}),(r,i)=>(n(),d(h,null,[e.props.contentIdPxFace?(n(),a(c("script"),{key:0},{default:o(()=>[g(" !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '"+m(e.props.contentIdPxFace)+"'); fbq('track', '"+m(e.props.contentTypeTrigger)+"'); ",1)]),_:1})):s("",!0),e.props.contentIdPxFace?(n(),a(c("script"),{key:1,src:`https://www.facebook.com/tr?id=${e.props.contentIdPxFace}&ev=PageView&noscript=1`,async:""},null,8,["src"])):s("",!0),(n(),a(c("noscript"),null,{default:o(()=>[w("img",{height:"1",width:"1",style:{display:"none"},src:`https://www.facebook.com/tr?id=${e.props.contentIdPxFace}&ev=PageView&noscript=1`},null,8,y)]),_:1})),(n(),a(c("noscript"),null,{default:o(()=>[e.props.contentIdGTM?(n(),d("iframe",{key:0,src:`https://www.googletagmanager.com/ns.html?id=${e.props.contentIdGTM}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}},null,8,b)):s("",!0)]),_:1}))],64))}});export{M as default};
