Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/monitoring/spa/_nuxt/B_HLJI2r.min.js

import{_ as T}from"./DTeGIwgx.js";import{_ as $,a as w,b as S}from"./C1t6p9e5.js";import{v as m,E as x,_ as d,o as u,c as f,B as P,C as B,a as i,t as _,b as s,w as c,d as p,u as j,J as C}from"./okq41Fdn.js";import{_ as I}from"./ZZFlg-Cp.js";import{_ as R}from"./B34t_Hym.js";import{u as A}from"./D_nKbUby.js";import"./BVLr4EuM.js";import"./DiNxuV5w.js";import"./NJoZQAuf.js";import"./BVcmU43W.js";import"./BTD3f1Mb.js";import"./BF43V3aM.js";const M=m({__name:"Badge",props:{color:{type:String,default:"marketing"}},setup(n,{expose:r}){r();const e=n,t={marketing:"text-white bg-marketing",info:"text-white bg-inf"},a=x((()=>t[e.color])),o={props:e,colorDict:t,coloring:a};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function N(n,r,e,t,a,o){return u(),f("div",{class:B(["badge rounded px-2 inline-block text-sm leading-6 font-semibold",[t.coloring]])},[P(n.$slots,"default")],2)}const O=d(M,[["render",N],["__file","Badge.vue"]]),q=m({__name:"RedeemCard",props:{licenseType:{type:String,required:!0},activation:{type:Object,required:!0}},setup(n,{expose:r}){r();const e=n,t={platform:{link:"https://platform360.io/licensing/activate-license",title:"IUsePlatform",text:"PlatformActivation",imgSrc:"https://app.stage.360monitoring.com/img/plesk-360-logo.svg",altText:"Plesk 360"},standalone:{link:"https://app.stage.360monitoring.com/license/activate/",title:"IUseStandalone",text:"StandaloneActivation",imgSrc:"https://app.stage.360monitoring.com/img/360-sublogo.svg",altText:"360 Monitoring"}},a=x((()=>{const l=t[e.licenseType].link;return e.licenseType==="platform"?`${l}?code=${e.activation.license}&product=${e.activation.product}`:`${l}${e.activation.license}`})),o={props:e,licenseTypeInfo:t,linkResult:a};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),E={class:"border border-gray-300 hover:border-slate-400 hover:shadow-slate-200 transition duration-300 p-6 rounded-lg flex flex-col justify-between"},H=["src","alt"],V={class:"text-xl text-primary font-medium tracking-tight mb-2"},D={class:"flex flex-col w-auto h-full justify-between"},U={class:"text-slate-600 text-balance mb-4 sm:mb-8 text-sm leading-6"},W=["href"];function z(n,r,e,t,a,o){const l=I;return u(),f("div",E,[i("img",{src:t.licenseTypeInfo[e.licenseType].imgSrc,alt:t.licenseTypeInfo[e.licenseType].altText,class:"mb-6 sm:mb-10 h-8"},null,8,H),i("h3",V,_(n.$t(t.licenseTypeInfo[e.licenseType].title)),1),i("div",D,[i("p",U,_(n.$t(t.licenseTypeInfo[e.licenseType].text)),1),i("a",{href:t.linkResult,target:"_blank"},[s(l,{class:"sm:w-auto !w-full"},{default:c((()=>[p(_(n.$t(`${e.licenseType}Activate`)),1)])),_:1})],8,W)])])}const G=d(q,[["render",z],["__file","RedeemCard.vue"]]),J=m({__name:"[license]",setup(n,{expose:r}){r();const e=j(),t={product:e.query.product,license:e.params.license},{tracker:a}=A();a("page_view","page","redeem license");const o={route:e,activationParams:t,tracker:a};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),Y={class:"flex gap-4 w-full"},F={class:"flex flex-grow flex-col justify-center lg:justify-start w-full mb-12 @container/main lg:pt-10"},K={class:"grid sm:grid-cols-2 gap-4 sm:gap-6 mt-12"},L={class:"w-full"};function Q(n,r,e,t,a,o){const l=T,v=$,h=O,g=G,y=w,b=R,k=S;return u(),f("div",Y,[s(l,{class:"hidden lg:flex lg:w-[320px]"}),s(k,null,{default:c((()=>[s(v),i("div",F,[s(y,{"show-count":!1},C({headline:c((()=>[p(_(n.$t("ThankYou360Monitoring")),1)])),text:c((()=>[i("p",null,_(n.$t("ActivationWays360Monitoring")),1)])),redeemcards:c((()=>[i("div",K,[s(g,{"license-type":"standalone",activation:t.activationParams}),s(g,{"license-type":"platform",activation:t.activationParams})])])),_:2},[t.activationParams.product?{name:"label",fn:c((()=>[s(h,{color:"marketing",class:"bg-orange-100 !text-orange-600"},{default:c((()=>[p(_(t.activationParams.product+" "+n.$t("planPurchased")),1)])),_:1})])),key:"0"}:void 0]),1024)]),i("footer",L,[s(b)])])),_:1})])}const _e=d(J,[["render",Q],["__file","[license].vue"]]);export{_e as default};
Back to Directory File Manager