"use strict";(globalThis.webpackChunkdigtective=globalThis.webpackChunkdigtective||[]).push([[127],{7127:(e,t,r)=>{r.r(t),r.d(t,{default:()=>m});var l=r(9196),a=r(4532),i=r(5433),n=r(2277),c=r(8513),s=r(3775),g=r(1249),o=r(2600),d=r(8762);const m=()=>{const{data:e}=(0,n.p)("GET_INTEGRATIONS"),t=e?.data?.data||{};return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:"p-6 bg-white w-[calc(100%-20px)] rounded-lg flex items-center justify-between mt-4"},(0,l.createElement)("p",{className:"text-primary font-medium text-2xl"},t.salesforce?"Connected":"Connect Salesforce with Digger"),(0,l.createElement)("a",{target:"_blank",href:"https://digger-v2.digtective.com/integrations/crm/salesforce",className:"border w-[179px] h-[62px] relative rounded-lg flex gap-2 items-center justify-center p-4 "+(t.salesforce?"bg-[#DBEAE2] border-[#4C956C]":"")},(0,l.createElement)("img",{className:"h-[31px] w-[31px]",src:a.Z,alt:"Hubspot"}),(0,l.createElement)("p",{className:"text-base text-primary"},"Salesforce"),t.salesforce&&(0,l.createElement)("div",{className:"bg-white rounded-bl-lg rounded-tr-lg p-1 right-0 top-0 absolute"},(0,l.createElement)("img",{src:i.Z,alt:""})))),t.salesforce&&(0,l.createElement)("div",{className:"w-[calc(100%-20px)] flex justify-start gap-4"},(0,l.createElement)("div",{className:"bg-white flex flex-col justify-start items-start w-full gap-4 p-8 rounded-lg h-[197px] w-full mt-4 transition-all duration-300 "},(0,l.createElement)("p",null,"Connect your Ad Providers to Digger"),(0,l.createElement)("div",{className:"flex justify-between w-full gap-4 items-center"},(0,l.createElement)("a",{target:"_blank",href:"https://digger-v2.digtective.com/integrations/ad-providers/google",className:"border w-full h-[81px] relative gap-4 rounded-lg flex items-center justify-center p-4 "+(t.google?"bg-[#DBEAE2] border-[#4C956C]":"")},(0,l.createElement)("img",{src:c.Z,alt:"Google Ads"}),(0,l.createElement)("p",null,"Google Ads"),t.google&&(0,l.createElement)("div",{className:"bg-white rounded-bl-lg rounded-tr-lg p-1 right-0 top-0 absolute"},(0,l.createElement)("img",{src:i.Z,alt:""}))),(0,l.createElement)("a",{target:"_blank",href:"https://digger-v2.digtective.com/integrations/ad-providers/facebook",className:"border w-full h-[81px] gap-4 relative rounded-lg flex items-center justify-center p-4 "+(t.facebook?"bg-[#DBEAE2] border-[#4C956C]":"")},(0,l.createElement)("img",{src:s.Z,alt:"Meta"}),(0,l.createElement)("p",null,"Meta"),t.facebook&&(0,l.createElement)("div",{className:"bg-white rounded-bl-lg rounded-tr-lg p-1 right-0 top-0 absolute"},(0,l.createElement)("img",{src:i.Z,alt:""}))),(0,l.createElement)("a",{target:"_blank",href:"https://digger-v2.digtective.com/integrations/ad-providers/bing",className:"border w-full h-[81px] relative gap-4 rounded-lg flex items-center justify-center p-4 "+(t.microsoft?"bg-[#DBEAE2] border-[#4C956C]":"")},(0,l.createElement)("img",{src:g.Z,alt:"Bing"}),(0,l.createElement)("p",null,"Bing"),t.microsoft&&(0,l.createElement)("div",{className:"bg-white rounded-bl-lg rounded-tr-lg p-1 right-0 top-0 absolute"},(0,l.createElement)("img",{src:i.Z,alt:""}))),(0,l.createElement)("a",{target:"_blank",href:"https://digger-v2.digtective.com/integrations/ad-providers/bing",className:"border w-full h-[81px] relative gap-4 rounded-lg flex items-center justify-center p-4 "+(t.tiktok?"bg-[#DBEAE2] border-[#4C956C]":"")},(0,l.createElement)("img",{src:o.Z,alt:"Bing"}),(0,l.createElement)("p",null,"Tiktok"),t.tiktok&&(0,l.createElement)("div",{className:"bg-white rounded-bl-lg rounded-tr-lg p-1 right-0 top-0 absolute"},(0,l.createElement)("img",{src:i.Z,alt:""}))),(0,l.createElement)("a",{target:"_blank",href:"https://digger-v2.digtective.com/integrations/ad-providers/linked-in",className:"border w-full h-[81px] relative  gap-4 rounded-lg flex items-center justify-center p-4 "+(t.linkedin?"bg-[#DBEAE2] border-[#4C956C]":"")},(0,l.createElement)("img",{src:d.Z,alt:"LinkedIn"}),(0,l.createElement)("p",null,"LinkedIn"),t.linkedin&&(0,l.createElement)("div",{className:"bg-white rounded-bl-lg rounded-tr-lg p-1 right-0 top-0 absolute"},(0,l.createElement)("img",{src:i.Z,alt:""}))),(0,l.createElement)("div",null),(0,l.createElement)("div",null)))))}}}]);