PageSourceSearch

https://vc.ru/assets/Landing-5C24HGDd.js

js vc.ru collected 2026-09-24 07:38:42 UTC 3,345 bytes, 1 lines download raw bytes

1import{d as q,a4 as H,a5 as J,a6 as K,a7 as Q,a as s,b as o,p as n,F as r,e as p,f as e,a8 as U,a9 as C,t,m as a,s as c,c as d,S as W,aa as X,L as S,G as D,w as v,ab as k,D as A,ac as z,l as Y,v as Z,ad as y}from"./index-DcSVvNrM.js";import{P as ee,a as se}from"./PromotableFeature-CG5CkzCO.js";const te={class:"plus"},oe={class:"plus__main"},ae={class:"plus__title"},ie={class:"plus__summary"},le={class:"plus__title"},ne={class:"plus__summary"},re={key:3,class:"plus__options"},ce={key:4,class:"plus__promocode"},ue={class:"plus__features"},de={class:"plus__note"},_e={class:"plus__footer"},pe={key:1,class:"plus__note"},ge=q({__name:"Landing",props:{source:{default:`${H.DirectLink}`},giftTo:{default:void 0},period:{default:void 0}},setup(_){const m=_,{t:i}=J(),{options:B,features:N,buttonProperties:u,subscriptionInfoText:P,proceedToPayment:w,isLoadingPaymentData:O,isLoadingSubscriptionState:V,isShowConsent:$,isSubscriptionManagementAvailable:F,isOptionsAvailable:h,isOptionsLoaded:b,selectPeriod:G,selectedPeriod:E,isGift:g,selectedPeriodLabel:I}=K({source:y(m,"source"),giftTo:y(m,"giftTo"),period:y(m,"period")}),M=Z(()=>["Plus Popup — Settings — Click",{Source:m.source}]);return(me,L)=>{var T;const x=Q("gtm");return s(),o("div",te,[n("div",oe,[_.giftTo!==void 0?(s(),o(r,{key:0},[p(e(U),{class:"plus__avatar",source:_.giftTo.avatar,size:90},null,8,["source"]),p(C,{class:"plus__icon plus__icon--for-avatar",size:36}),n("div",ae,t(e(i)("plus.giftTitle")),1),n("div",ie,[n("span",null,t(_.giftTo.name),1),a(" "+t(e(i)("plus.giftDescription"))+" ",1),_.period?(s(),o(r,{key:0},[a(t(e(i)("plus.giftDescriptionPeriodNote",{period:e(I)})),1)],64)):c("",!0)])],64)):(s(),o(r,{key:1},[p(C,{class:"plus__icon",size:88}),n("div",le,t(e(i)("plus.title")),1),n("div",ne,t(e(i)("plus.description")),1)],64)),e(h)&&!e(b)?(s(),d(e(X),{key:2,class:W(["plus__options-skeleton",{"plus__options-skeleton--gift":e(g)}]),schema:({bar:l,circle:f,gapX:R,fillX:j})=>[...Array(e(g)?3:2)].fill([[f("22px")],[R("8px")],[l("100px")],[j()],[l("60px")]])},null,8,["class","schema"])):c("",!0),e(h)&&e(b)?(s(),o("div",re,[(s(!0),o(r,null,S(e(B),l=>(s(),d(e(ee),D({key:l.value},{ref_for:!0},l,{isActive:e(E)===l.value,onClick:f=>e(G)(l.value)}),null,16,["isActive","onClick"]))),128))])):c("",!0),e(g)?c("",!0):(s(),o("div",ce,[p(e(k),{to:{name:"PlusPromocode",params:{source:_.source}}},{default:v(()=>[a(t(e(i)("plus.promocode.haveOne")),1)]),_:1},8,["to"])])),n("div",ue,[(s(!0),o(r,null,S(e(N),(l,f)=>(s(),d(e(se),D({key:f},{ref_for:!0},l),null,16))),128))]),n("div",de,[e(V)?(s(),d(e(A),{key:0})):e($)?(s(),o(r,{key:1},[a(t(e(i)("common.consent.text"))+" ",1),p(e(k),{to:"/terms",target:"_blank"},{default:v(()=>[a(t(e(i)("common.consent.linkText")),1)]),_:1})],64)):e(P)?(s(),o(r,{key:2},[a(t(e(P)),1)],64)):c("",!0),L[0]||(L[0]=a()),e(F)?z((s(),d(e(k),{key:3,to:"/settings/general"},{default:v(()=>[a(t(e(i)("common.subscription.manage")),1)]),_:1})),[[x,M.value]]):c("",!0)])]),n("div",_e,[e(u)?z((s(),d(e(Y),{key:0,size:"xl",disabled:e(O),"is-loading":e(u).isLoading,onClick:e(w)},{default:v(()=>[a(t(e(u).label),1)]),_:1},8,["disabled","is-loading","onClick"])),[[x,e(u).gtm]]):c("",!0),(T=e(u))!=null&&T.note?(s(),o("div",pe,[e(u).isLoading?(s(),d(e(A),{key:0})):(s(),o(r,{key:1},[a(t(e(u).note),1)],64))])):c("",!0)])])}}});export{ge as default};

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.