PageSourceSearch

https://admin.univera.app/assets/plans.component-DuuqXHj1.js

js univera.app collected 2026-10-01 12:32:11 UTC 3,963 bytes, 1 lines download raw bytes

1import{j as e,e as N,Z as g,b5 as v,k as b,R as y,aL as x,b4 as d,B as C,n as I,G as A,Q as B,aK as w}from"./index-DVFA8SWk.js";import{C as m}from"./chip.component-Demi3_BY.js";import{u as f,t as p}from"./cart.hook-BGQrrSEB.js";import{V as h,H as S,t as n}from"./vacancy-wrapper-card.component-Ce0DI8mm.js";import{S as E}from"./icon-check-5WICN5Mi.js";import{v as P}from"./vacancy.service-BLcTbZE6.js";const _=({children:s,count:a})=>e.jsxs("div",{className:"relative inline-block",children:[s,a>0&&e.jsx("span",{className:"body2 absolute right-0 top-0 inline-flex h-[20px] min-w-[20px] -translate-x-1/2 translate-y-1/2 transform items-center justify-center rounded-full bg-ui-04 text-white",children:a})]}),k=()=>{const{getTotalItems:s}=f(),a=N(),c=()=>{a(b.vacancies.cart)},l=s();return e.jsx(g,{onClick:c,children:e.jsx(_,{count:l,children:e.jsx(v,{})})})},T=({data:s})=>{const{addItem:a}=f();y.useEffect(()=>{const o={currency:"UAH",value:s.price/100,items:[p(s)]};x(d.VIEW_ITEM,o)},[]);const c=()=>{I.newCartItem(s.name,s.amount),a({bundle:s}),x(d.ADD_TO_CART,p(s))},l=s.price/100+" ",i=s.fakePrice&&s.fakePrice/100,r=e.jsxs(e.Fragment,{children:[e.jsx("span",{children:l}),e.jsx("span",{className:"text-text-03 line-through",children:i}),e.jsx("span",{children:"грн/місяць"})]});return e.jsxs("div",{className:"flex h-full flex-col items-center justify-between gap-6 px-4 py-5",children:[e.jsxs("div",{className:"flex flex-col items-center gap-1",children:[e.jsx("span",{className:"body1",children:s.amount}),e.jsx("span",{className:"body2",children:s.name}),e.jsx("div",{className:"body2 flex w-full max-w-40 flex-wrap justify-center gap-0.5 px-2.5 py-[5px]",children:r})]}),e.jsx(C,{onClick:c,children:"Купити"})]})},u=({chip:s,description:a,name:c,planName:l,pros:i})=>{const{data:r}=A({queryKey:[B.BUNDLES],queryFn:P.getBundles,select:t=>t.filter(j=>j.plan.name===l)}),o=r==null?void 0:r.map(t=>e.jsx(T,{data:t},t.id));return e.jsxs(h,{className:"flex flex-col gap-4 bg-background-secondary p-6",children:[e.jsxs("div",{className:"flex flex-col gap-3",children:[e.jsxs("div",{className:"flex flex-row items-center gap-3",children:[e.jsx("span",{className:"body1",children:c}),s]}),e.jsx("span",{className:"body2 text-text-02",children:a})]}),e.jsx("div",{className:"flex flex-wrap gap-4",children:i.map(t=>e.jsxs("div",{className:"flex flex-row items-center gap-2 rounded-[8px] bg-event-blue-02 p-1",children:[e.jsx(E,{width:18,height:18,className:"rounded-[5px] bg-accent-03 text-event-blue-02"}),t]},crypto.randomUUID()))}),e.jsx("div",{className:"grid grid-cols-3 rounded-[10px] border border-accent-03 bg-event-blue-02",children:o})]})},U=()=>e.jsxs("div",{className:"flex w-full flex-col items-center overflow-y-auto px-12 py-10",children:[e.jsx(S,{content:e.jsx(k,{})}),e.jsxs("div",{className:"mt-6 flex w-full max-w-[650px] flex-col gap-4 overflow-y-auto",children:[e.jsxs(h,{className:"flex flex-col gap-6 bg-background-secondary",children:[e.jsx("h5",{className:"px-6",children:n.PLANS}),e.jsx(w,{className:"h-[0.5px] bg-detail"}),e.jsx("span",{className:"body2 px-6 text-text-02",children:n.PLANS_DESCRIPTION})]}),e.jsx(u,{description:n.BASIC_VACANCY_DESCRIPTION,name:n.BASIC_VACANCY,chip:e.jsx(m,{className:"bg-event-green-02 text-event-green-01",children:n.CHIP_BASIC}),planName:"basic",pros:["2 тижні із статусом “Свіжа вакансія”","Переглядайте резюме одразу після публікації","Аналітика"]}),e.jsx(u,{description:n.HOT_VACANCY_DESCRIPTION,name:n.HOT_VACANCY,chip:e.jsx(m,{className:"bg-event-red-02 text-event-red-01",children:n.CHIP_HOT}),planName:"hot",pros:["1 місяць із статусом “Гаряча вакансія”","Підйом вакансії в топ 2 рази на місяць","Переглядайте резюме одразу після публікації","Аналітика"]})]})]});export{U 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.