import{H as p,z as u,v as m,r as d,g as k,_ as f,o as c,c as l,J as h,a,t as _,L as M,M as y,d as T,q as A}from"./CChoqk00.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"},L={class:"flex gap-2 items-center cursor-pointer"},O={class:"bg-slate-100 px-6 py-4 rounded-md text-xs leading-4"},v=["innerHTML"],H=["innerHTML"];function I(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",L,[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",O,[o.simple?(c(),l("p",{key:0,innerHTML:e.$t("MarketingConsentShort",{url:"https://360monitoring.com/legal/#privacy-policy"})},null,8,v)):(c(),l("p",{key:1,innerHTML:e.$t("MarketingConsentLong",{url:"https://360monitoring.com/legal/#privacy-policy"})},null,8,H))])])}const $=Object.assign(f(C,[["render",I],["__file","MarketingConsent.vue"]]),{__name:"MarketingConsent"});export{$ as _,R as u};
