File manager - Edit - /usr/local/cpanel/whostmgr/docroot/templates/monitoring/spa/_nuxt/CnajQ3Sl.js
Back
import{y as p,h as u,e as m,G as d,q as k,_ as f,o as c,c as l,F as h,a,t as _,H as y,I as M,d as T,k as A}from"./Bb0d5mhF.js";const R=()=>({signInURL:()=>{const{OUTER_APPLICATION_ROOT:t,OUTER_APPLICATION_ONBOARDING:o,WHM_EXTRAS:n}=p().public,s=t||window.location.origin,r=o||"";if(n){const i=u().cPanelSecurityToken();window.location.href=`${s}${i}${p().public.WHM_APPLICATION_PATH||""}/monitoring`;return}window.location.href=`${s}${r}`}}),C=m({__name:"MarketingConsent",props:{simple:{type:Boolean,default:!0}},emits:["agreeForMarketing"],setup(e,{expose:t,emit:o}){t();const n=e,s=k(!1),r=o;d(s,g=>{n.simple||r("agreeForMarketing",g)});const i={props:n,checkAgree:s,emit:r};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),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"},O={class:"bg-slate-100 px-6 py-4 rounded-md text-xs leading-4"},H=["innerHTML"],L=["innerHTML"];function v(e,t,o,n,s,r){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,[y(a("input",{"onUpdate:modelValue":t[0]||(t[0]=i=>n.checkAgree=i),type:"checkbox",name:"agree",class:"scale-110"},null,512),[[M,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,H)):(c(),l("p",{key:1,innerHTML:e.$t("MarketingConsentLong",{url:"https://360monitoring.com/legal/#privacy-policy"})},null,8,L))])])}const $=Object.assign(f(C,[["render",v],["__file","MarketingConsent.vue"]]),{__name:"MarketingConsent"});export{$ as _,R as u};
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings