PageSourceSearch

https://app.ninjamock.com/chunk-YM37SBQZ.js

js ninjamock.com collected 2026-09-25 15:03:04 UTC 8,263 bytes, 1 lines download raw bytes

1import{a as z}from"./chunk-IR5SHBHK.js";import{b as K}from"./chunk-I23UH6B4.js";import{a as G}from"./chunk-E2IXKPAS.js";import"./chunk-C332HE7F.js";import{h as j,i as R}from"./chunk-BUPSVSKU.js";import{b as A}from"./chunk-JSEE3QHX.js";import{$ as E,Ca as I,Dc as q,Gc as L,Ha as $,Hb as U,Kc as N,Mb as V,Oa as P,Pa as p,Qa as m,Qb as B,T as u,Ta as x,Ua as _,Ub as f,Va as F,Wa as o,Xa as r,Y as v,Ya as h,Z as y,_ as C,ab as M,bb as D,db as S,fa as T,fb as k,hb as a,qa as w,sa as i,tb as g,ub as l,vb as s,wb as b}from"./chunk-FRXGJQCG.js";import"./chunk-HZ6M6AS2.js";var O=()=>({minimumFractionDigits:2}),H=(t,n)=>n.id,Q=(t,n)=>n.label;function W(t,n){if(t&1){let e=S();o(0,"button",16),k("click",function(){let d=v(e).$implicit,J=a(2);return y(J.selectedCycle.set(d.id))}),l(1),r()}if(t&2){let e=n.$implicit,c=a(2);g(c.selectedCycle()===e.id?"bg-brand text-ink":"text-ink-off hover:text-ink hover:bg-white/5"),P("aria-pressed",c.selectedCycle()===e.id),i(),s(e.label)}}function X(t,n){if(t&1){let e=S();o(0,"div",13)(1,"p",17),l(2),r(),o(3,"button",18),k("click",function(){v(e);let d=a(2);return y(d.subscriptionService.loadCatalog())}),l(4),r()()}if(t&2){let e=a().$implicit;i(2),s(e("account.subscription.plansUnavailable")),i(2),s(e("account.subscription.tryAgain"))}}function Z(t,n){if(t&1&&(o(0,"span",22),l(1),r()),t&2){let e=a(2).$implicit;i(),s(e("account.subscription.mostPopular"))}}function ee(t,n){if(t&1&&(o(0,"p",7),l(1),r()),t&2){let e=a(2).$implicit;i(),s(e("account.subscription.custom"))}}function te(t,n){if(t&1&&(o(0,"p",7),l(1),r()),t&2){let e=a(2).$implicit;i(),s(e("account.subscription.free"))}}function ne(t,n){if(t&1&&(o(0,"p",31),l(1),r()),t&2){let e=a(3).$implicit;i(),s(e("account.subscription.billedYearly"))}}function ie(t,n){if(t&1&&(o(0,"p",7),l(1),V(2,"translocoCurrency"),o(3,"span",30),l(4),r()(),p(5,ne,2,1,"p",31)),t&2){let e=a().$implicit,c=a().$implicit,d=a();i(),b(" ",B(2,3,(d.selectedCycle()==="yearly"?e.yearlyPrice:e.monthlyPrice)/100,"symbol",U(8,O),"USD")),i(3),s(c("account.subscription.perSeatMonth")),i(),m(d.selectedCycle()==="yearly"?5:-1)}}function oe(t,n){if(t&1&&(o(0,"li",32),C(),o(1,"svg",33),h(2,"path",34),r(),l(3),r()),t&2){let e=a().$implicit;i(3),b(" ",e.label," ")}}function re(t,n){if(t&1&&p(0,oe,4,1,"li",32),t&2){let e=n.$implicit;m(e.included?0:-1)}}function ae(t,n){if(t&1&&(o(0,"span",27),l(1),r()),t&2){let e=a(2).$implicit;i(),s(e("account.subscription.currentPlan"))}}function le(t,n){if(t&1&&(o(0,"a",28),l(1),r()),t&2){let e=a(2).$implicit;i(),s(e("account.subscription.contactSales"))}}function ce(t,n){if(t&1&&(o(0,"a",35),l(1),r()),t&2){let e=a().$implicit,c=a().$implicit,d=a();g(d.isUpgrade(e.tier)?"bg-brand hover:bg-brand-hover active:bg-brand-active text-ink":"border border-divider text-ink-off hover:text-ink"),F("href",d.legacyPricingUrl(),w),i(),s(d.isUpgrade(e.tier)?c("account.ui.upgrade"):c("account.ui.downgrade"))}}function se(t,n){if(t&1&&(o(0,"div",19)(1,"div",20)(2,"p",21),l(3),r(),p(4,Z,2,1,"span",22),r(),o(5,"p",23),l(6),r(),o(7,"div",24),p(8,ee,2,1,"p",7)(9,te,2,1,"p",7)(10,ie,6,9),r(),o(11,"ul",25),x(12,re,1,1,null,null,Q),r(),o(14,"div",26),p(15,ae,2,1,"span",27)(16,le,2,1,"a",28)(17,ce,2,4,"a",29),r()()),t&2){let e=n.$implicit,c=a(2);g(c.isEmphasised(e)?"border-brand bg-brand/5":"border-divider"),i(3),s(e.name),i(),m(e.isPopular?4:-1),i(2),s(e.description),i(2),m(e.monthlyPrice===-1?8:e.monthlyPrice===0?9:10),i(4),_(e.features),i(3),m(c.subscriptionService.currentTier()===e.tier?15:e.tier==="enterprise"?16:17)}}function de(t,n){if(t&1&&(M(0),o(1,"div",1)(2,"div",2)(3,"a",3),C(),o(4,"svg",4),h(5,"path",5),r(),l(6),r(),E(),o(7,"div",6)(8,"h1",7),l(9),r(),o(10,"p",8),l(11),r()(),o(12,"div",9)(13,"p",10),l(14),r(),o(15,"div",11),x(16,W,2,4,"button",12,H),r()(),p(18,X,5,2,"div",13),o(19,"div",14),x(20,se,18,7,"div",15,H),r()()(),D()),t&2){let e=n.$implicit,c=a();i(6),b(" ",e("account.subscription.backToDashboard")," "),i(3),s(e("account.subscription.plansTitle")),i(2),s(e("account.subscription.plansSubtitle")),i(3),s(e("account.subscription.availablePlans")),i(),P("aria-label",e("account.subscription.billingCycle")),i(),_(c.cycles()),i(2),m(c.subscriptionService.catalogFailed()?18:-1),i(2),_(c.subscriptionService.plans())}}var Y=class t{transloco=u(j);language=u(G);route=u(q);env=u(A);subscriptionService=u(z);queryParamMap=N(this.route.queryParamMap,{initialValue:this.route.
1snapshot.queryParamMap});highlightedPlanKey=f(()=>this.queryParamMap().get("plan"));isEmphasised(n){if(this.subscriptionService.currentTier()===n.tier)return!0;let e=this.highlightedPlanKey();return e!==null&&(n.id===e||n.tier===e)}cycles=f(()=>(this.language.translationsRevision(),[{id:"monthly",label:this.transloco.translate("account.ui.monthly")},{id:"yearly",label:this.transloco.translate("account.ui.yearly")}]));selectedCycle=T(this.queryParamMap().get("cycle")==="yearly"?"yearly":"monthly");legacyPricingUrl=f(()=>`${this.env.getLegacyBaseUrl()}/pricing`);constructor(){this.subscriptionService.ensureCatalog()}isUpgrade(n){let e={free:0,pro:1,enterprise:2};return(e[n]??0)>(e[this.subscriptionService.currentTier()]??0)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=I({type:t,selectors:[["app-plans-page"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"min-h-screen","px-6","py-12"],[1,"max-w-4xl","mx-auto"],["routerLink","/dashboard/home",1,"inline-flex","items-center","gap-1.5","text-xs","font-medium","text-ink","transition-colors"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","stroke-width","2",1,"w-3.5","h-3.5"],["stroke-linecap","round","stroke-linejoin","round","d","M15 19l-7-7 7-7"],[1,"mt-6","mb-8"],[1,"text-2xl","font-bold","text-ink"],[1,"mt-1","text-sm","text-ink"],[1,"flex","items-center","justify-between","gap-4","mb-4"],[1,"text-xs","font-medium","text-ink"],["role","group",1,"flex","rounded-md","border","border-divider","overflow-hidden"],["type","button",1,"px-3","py-1.5","text-xs","font-medium","transition-colors","focus:outline-none","focus-visible:ring-2","focus-visible:ring-brand","focus-visible:ring-inset",3,"class"],[1,"rounded-xl","border","border-divider","px-4","py-6","text-center"],[1,"grid","gap-4","md:grid-cols-3","items-stretch"],[1,"flex","flex-col","rounded-xl","border","p-5","transition-colors",3,"class"],["type","button",1,"px-3","py-1.5","text-xs","font-medium","transition-colors","focus:outline-none","focus-visible:ring-2","focus-visible:ring-brand","focus-visible:ring-inset",3,"click"],[1,"text-sm","text-ink"],["type","button",1,"mt-2","text-xs","font-medium","text-brand","hover:underline",3,"click"],[1,"flex","flex-col","rounded-xl","border","p-5","transition-colors"],[1,"flex","items-center","gap-2","flex-wrap"],[1,"text-base","font-semibold","text-ink"],[1,"px-2","py-0.5","rounded-full","text-xs","font-semibold","bg-brand/15","text-brand-hover"],[1,"text-xs","text-ink","mt-1"],[1,"mt-4","min-h-[3.5rem]"],[1,"mt-4","space-y-1.5","flex-1"],[1,"mt-5"],[1,"block","w-full","text-center","px-3","py-2","text-xs","font-semibold","text-ink"],["href","mailto:[email protected]?subject=Enterprise Plan Inquiry",1,"block","w-full","text-center","px-3","py-2","text-xs","font-semibold","rounded-lg","border","border-divider","text-ink","transition-colors","focus:outline-none","focus-visible:ring-2","focus-visible:ring-brand"],["rel","noopener",1,"block","w-full","text-center","px-3","py-2","text-xs","font-semibold","rounded-lg","transition-colors","focus:outline-none","focus-visible:ring-2","focus-visible:ring-brand",3,"href","class"],[1,"text-xs","font-normal","text-ink"],[1,"mt-0.5","text-xs","text-success"],[1,"flex","items-start","gap-1.5","text-xs","text-ink"],["fill","none","viewBox","0 0 24 24","stroke","currentColor","aria-hidden","true",1,"w-3","h-3","mt-0.5","text-success","shrink-0"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","3","d","M5 13l4 4L19 7"],["rel","noopener",1,"block","w-full","text-center","px-3","py-2","text-xs","font-semibold","rounded-lg","transition-colors","focus:outline-none","focus-visible:ring-2","focus-visible:ring-brand",3,"href"]],template:function(e,c){e&1&&$(0,de,22,6,"ng-container",0)},dependencies:[R,L,K],encapsulation:2,changeDetection:0})};export{Y as PlansPageComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.