import{G as p,z as u,v as m,r as d,g as k,_ as f,o as c,c as l,I as h,a,t as _,L as M,M as y,d as T,q as A}from"./CibDhUcP.js";const R=()=>({signInURL:()=>{const{OUTER_APPLICATION_ROOT:t,OUTER_APPLICATION_ONBOARDING:o,WHM_EXTRAS:n}=p().public,s=t||window.location.origin,i=o||"";if(n){const r=u().cPanelSecurityToken();window.location.href=`${s}${r}${p().public.WHM_APPLICATION_PATH||""}/monitoring`;return}window.location.href=`${s}${i}`}}),C=m({__name:"MarketingConsent",props:{simple:{type:Boolean,default:!0}},emits:["agreeForMarketing"],setup(e,{expose:t,emit:o}){t();const n=e,s=d(!1),i=o;k(s,g=>{n.simple||i("agreeForMarketing",g)});const r={props:n,checkAgree:s,emit:i};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),b={class:"mb-4 font-medium text-lg"},x={class:"mb-3 text-gray-700 text-sm"},I={class:"flex gap-2 items-center cursor-pointer"},L={class:"bg-slate-100 px-6 py-4 rounded-md text-xs leading-4"},O=["innerHTML"],v=["innerHTML"];function H(e,t,o,n,s,i){return c(),l("div",null,[o.simple?A("",!0):(c(),l(h,{key:0},[a("h3",b,_(e.$t("MarketingConsent")),1),a("div",x,[a("label",I,[M(a("input",{"onUpdate:modelValue":t[0]||(t[0]=r=>n.checkAgree=r),type:"checkbox",name:"agree",class:"scale-110"},null,512),[[y,n.checkAgree]]),T(" "+_(e.$t("AgreeForMarketing")),1)])])],64)),a("div",L,[o.simple?(c(),l("p",{key:0,innerHTML:e.$t("MarketingConsentShort",{url:"https://360monitoring.com/legal/#privacy-policy"})},null,8,O)):(c(),l("p",{key:1,innerHTML:e.$t("MarketingConsentLong",{url:"https://360monitoring.com/legal/#privacy-policy"})},null,8,v))])])}const $=Object.assign(f(C,[["render",H],["__file","MarketingConsent.vue"]]),{__name:"MarketingConsent"});export{$ as _,R as u};
