1import{d as x,r as H,j as b,c as u,a as p,b as e,g as $,u as c,t as n,x as g,n as y,y as B,z as P,A as R,_ as I,F as Z,i as E,e as V,s as W,q,v as J}from"./De3Tc_Nx.js";import{u as K,a as Q}from"./Br7U9gKq.js";import{_ as X}from"./spfGE3Ib.js";import{_ as Y}from"./CcyI9vce.js";const ee="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%209.99935L6.19608%2013.3327L14%202.66602'%20stroke='%23414651'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",T="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%2010H4.5C3.67157%2010%203%2010.6716%203%2011.5V15C3%2015.8284%203.67157%2016.5%204.5%2016.5H6V10Z'%20fill='white'/%3e%3cpath%20d='M20%2010H18.5V16.5H20C20.8284%2016.5%2021.5%2015.8284%2021.5%2015V11.5C21.5%2010.6716%2020.8284%2010%2020%2010Z'%20fill='white'/%3e%3cpath%20d='M6%2010H7C7%209.44772%206.55228%209%206%209V10ZM6%2016.5V17.5C6.55228%2017.5%207%2017.0523%207%2016.5H6ZM18.5%2010V9C17.9477%209%2017.5%209.44772%2017.5%2010H18.5ZM18.5%2016.5H17.5C17.5%2017.0523%2017.9477%2017.5%2018.5%2017.5V16.5ZM13%2019C13%2018.4477%2012.5523%2018%2012%2018C11.4477%2018%2011%2018.4477%2011%2019H12H13ZM20.75%2016.5C20.75%2015.9477%2020.3023%2015.5%2019.75%2015.5C19.1977%2015.5%2018.75%2015.9477%2018.75%2016.5H19.75H20.75ZM4.5%2010V11H6V10V9H4.5V10ZM6%2010H5V16.5H6H7V10H6ZM6%2016.5V15.5H4.5V16.5V17.5H6V16.5ZM3%2015H4V11.5H3H2V15H3ZM4.5%2016.5V15.5C4.22386%2015.5%204%2015.2761%204%2015H3H2C2%2016.3807%203.11929%2017.5%204.5%2017.5V16.5ZM4.5%2010V9C3.11929%209%202%2010.1193%202%2011.5H3H4C4%2011.2239%204.22386%2011%204.5%2011V10ZM18.5%2010V11H20V10V9H18.5V10ZM21.5%2011.5H20.5V15H21.5H22.5V11.5H21.5ZM20%2016.5V15.5H18.5V16.5V17.5H20V16.5ZM18.5%2016.5H19.5V10H18.5H17.5V16.5H18.5ZM21.5%2015H20.5C20.5%2015.2761%2020.2761%2015.5%2020%2015.5V16.5V17.5C21.3807%2017.5%2022.5%2016.3807%2022.5%2015H21.5ZM20%2010V11C20.2761%2011%2020.5%2011.2239%2020.5%2011.5H21.5H22.5C22.5%2010.1193%2021.3807%209%2020%209V10ZM5%209.75H6C6%206.64046%208.72972%204%2012.25%204V3V2C7.76215%202%204%205.40369%204%209.75H5ZM12.25%203V4C15.7703%204%2018.5%206.64046%2018.5%209.75H19.5H20.5C20.5%205.40369%2016.7378%202%2012.25%202V3ZM5%209.75H4V10H5H6V9.75H5ZM19.5%209.75H18.5V10H19.5H20.5V9.75H19.5ZM15.25%2021V20H13.5V21V22H15.25V21ZM12%2019.5H13V19H12H11V19.5H12ZM19.75%2016.5H18.75C18.75%2018.433%2017.183%2020%2015.25%2020V21V22C18.2876%2022%2020.75%2019.5376%2020.75%2016.5H19.75ZM13.5%2021V20C13.2239%2020%2013%2019.7761%2013%2019.5H12H11C11%2020.8807%2012.1193%2022%2013.5%2022V21Z'%20fill='white'/%3e%3c/svg%3e",te={class:"price-calculator"},se={class:"price-calculator__header"},re={class:"price-calculator__price"},oe={class:"price-calculator__price-main"},ce={key:0,class:"price-calculator__crossed-price"},ie={class:"price-calculator__amount"},ae={class:"price-calculator__currency"},le={key:0,class:"price-calculator__controls"},ne={class:"price-calculator__row"},ue={class:"price-calculator__label"},pe={class:"price-calculator__input-wrapper"},de=["disabled"],_e={class:"price-calculator__row"},he={class:"price-calculator__label"},fe={class:"price-calculator__input-wrapper"},ve=["disabled"],me=["min"],be={class:"price-calculator__row"},we={class:"price-calculator__label"},Ce={class:"price-calculator__input-wrapper"},He=["disabled"],Ve=["min"],ke={key:0,class:"price-calculator__checkbox"},ge={class:"price-calculator__checkbox-wrapper"},Pe={class:"price-calculator__checkbox-label"},Me=x({__name:"price-calculator",props:{basePrice:{},monthlyBasePrice:{default:0},outletPrice:{default:519},additionalCashPrice:{default:249},productPrice:{default:18},productStep:{default:1e3},minProducts:{default:500},showCalculator:{type:Boolean,default:!1},showEcommerce:{type:Boolean,default:!1},buttonText:{},tariffName:{},selectedPeriod:{default:1}},emits:["startClick"],setup(w,{emit:f}){const s=w,C=f,i=H(1),l=H(1),t=H(Math.max(s.minProducts,500)),d=H(!1),a=b(()=>Math.max(i.value-1,0)),_=b(()=>Math.max(l.value-i.value,0)),h=b(()=>Math.max(s.minProducts,500)),v=b(()=>Math.max(t.value-h.value,0)),S=b(()=>{let o=s.basePrice;if(s.showCalculator){if(o+=a.value*s.outletPrice,o+=_.value*s.additionalCashPrice,v.value>0){const r=Math.ceil(v.value/s.productStep);o+=r*s.productPrice}d.value&&(o+=699)}return o}
1),k=b(()=>{if(s.selectedPeriod===12&&s.monthlyBasePrice){let o=s.monthlyBasePrice;if(s.showCalculator){if(o+=a.value*s.outletPrice,o+=_.value*s.additionalCashPrice,v.value>0){const r=Math.ceil(v.value/s.productStep);o+=r*s.productPrice}d.value&&(o+=699)}return o}return null}),A=()=>{i.value++,l.value++},N=()=>{i.value>1&&(i.value--,l.value=Math.max(l.value-1,i.value))},O=()=>{i.value<1&&(i.value=1),l.value<i.value&&(l.value=i.value)},U=()=>{l.value++},F=()=>{l.value>i.value&&l.value--},L=()=>{l.value<0&&(l.value=0),l.value<i.value&&(l.value=i.value)},D=()=>{t.value+=s.productStep},G=()=>{t.value>h.value&&(t.value=Math.max(h.value,t.value-s.productStep))},j=()=>{t.value<h.value&&(t.value=h.value)},z=()=>{C("startClick",s.tariffName)};return(o,r)=>(p(),u("div",te,[e("div",se,[e("div",re,[e("div",oe,[o.selectedPeriod===12&&c(k)?(p(),u("span",ce,n(c(k)),1)):$("",!0),e("span",ie,n(c(S)),1),e("span",ae,n(o.$t("prices.currency")),1)])]),e("button",{class:"price-calculator__button",onClick:z},n(o.buttonText),1)]),o.showCalculator?(p(),u("div",le,[e("div",ne,[e("label",ue,n(o.$t("prices.calculator.outlets",{price:o.outletPrice})),1),e("div",pe,[e("button",{class:y(["price-calculator__input-btn",{disabled:c(i)<=1}]),onClick:N,disabled:c(i)<=1},r[4]||(r[4]=[e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M4 8H12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)]),10,de),g(e("input",{"onUpdate:modelValue":r[0]||(r[0]=m=>P(i)?i.value=m:null),type:"number",min:"1",class:"price-calculator__input",onInput:O},null,544),[[B,c(i),void 0,{number:!0}]]),e("button",{class:"price-calculator__input-btn",onClick:A},r[5]||(r[5]=[e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M8 4V12M4 8H12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)]))])]),e("div",_e,[e("label",he,n(o.$t("prices.calculator.additionalCash",{price:o.additionalCashPrice})),1),e("div",fe,[e("button",{class:y(["price-calculator__input-btn",{disabled:c(l)<=c(i)}]),onClick:F,disabled:c(l)<=c(i)},r[6]||(r[6]=[e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M4 8H12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)]),10,ve),g(e("input",{"onUpdate:modelValue":r[1]||(r[1]=m=>P(l)?l.value=m:null),type:"number",min:c(i),class:"price-calculator__input",onInput:L},null,40,me),[[B,c(l),void 0,{number:!0}]]),e("button",{class:"price-calculator__input-btn",onClick:U},r[7]||(r[7]=[e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M8 4V12M4 8H12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)]))])]),e("div",be,[e("label",we,n(o.$t("prices.calculator.products",{price:o.productPrice,step:o.productStep})),1),e("div",Ce,[e("button",{class:y(["price-calculator__input-btn",{disabled:c(t)<=c(h)}]),onClick:G,disabled:c(t)<=c(h)},r[8]||(r[8]=[e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M4 8H12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)]),10,He),g(e("input",{"onUpdate:modelValue":r[2]||(r[2]=m=>P(t)?t.value=m:null),type:"number",min:c(h),step:1e3,class:"price-calculator__input",onInput:j},null,40,Ve),[[B,c(t),void 0,{number:!0}]]),e("button",{class:"price-calculator__input-btn",onClick:D},r[9]||(r[9]=[e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M8 4V12M4 8H12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)]))])]),o.showEcommerce?(p(),u("div",ke,[e("label",ge,[g(e("input",{type:"checkbox","onUpdate:modelValue":r[3]||(r[3]=m=>P(d)?d.value=m:null),class:"price-calculator__checkbox-input"},null,512),[[R,c(d)]]),r[10]||(r[10]=e("span",{class:"price-calculator__checkbox-custom"},null,-1)),e("span",Pe,n(o.$t("prices.calculator.ecommerce",{price:699})),1)])])):$("",!0)])):$("",!0)]))}}),$e=I(Me,[["__scopeId","data-v-176fe654"]]),ye={class:"support-banner"},Ze={class:"support-banner__icon"},xe=["src"],Se={class:"support-banner__text"},Be=x({__name:"support-banner",setup(w){return(f,s)=>(p(),u("div",ye,[e("div",Ze,[e("img",{src:c(T),alt:"support"},null,8,xe)]),e("div",Se,[e("p",null,n(f.$t("prices.support.title")),1)])]))}}),Ee=I(Be,[["__scopeId","data-v-5cce1aa5"]]),Ie={monthly:{start:219,business:549,pro:849}},M=w=>Ie.monthly[w],Te={class:"prices",id:"prices"},Ae={class:"container"},Ne={class:"prices__header"},Oe={class:"prices__title"},Ue={class:"prices__description"},Fe={class:"prices__tariffs"},Le=["onClick"],De={class:"prices__tariff-header"},Ge={class:"prices__tariff-title"},je={class:"prices__title-month-free"},ze={class:"prices__tariff-content"},Re={class:"prices__tariff-description"},We={class:"prices__tariff-features"},qe={class:"prices__tariff-feature"},Je=["src"],Ke={class:"prices__tariff-feature-text"},Qe={key:0,class:"prices__tariff-subfeatures"},Xe={class:"prices__tariff-subfeature-text"},Ye={class:"prices__enterprise"},et={class:"prices__enterprise-title"},tt={class:"prices__enterprise-content"},st={class:"prices__enterprise-description"},rt=["src"],ot=x({__name:"index",setup(w){const f=K(),s=H("business"),C=b(()=>[{type:"start",name:"prices.start.title",description:"prices.start.description",basePrice:M("start"),outletPrice:519,additionalCashPrice:249,productPrice:18,productStep:1e3,minProducts:500,showCalculator:!1,showEcommerce:!1,features:["prices.start.feature1","prices.start.feature2","prices.start.feature3","prices.start.feature4","prices.start.feature5","prices.start.feature6","prices.start.feature7"]},{type:"business",name:"prices.business.title",description:"prices.business.description",basePrice:M("business"),outletPrice:519,additionalCashPrice:249,productPrice:18,productStep:1e3,minProducts:500,showCalculator:!0,showEcommerce:!0,features:["prices.business.feature1",{key:"prices.business.feature2",subFeatures:["prices.business.feature2Sub1","prices.business.feature2Sub2","prices.business.feature2Sub3","prices.business.feature2Sub4"]},"prices.business.feature4","prices.business.feature5","prices.business.feature6","prices.business.feature7"]},{type:"pro",name:"prices.pro.title",description:"prices.pro.description",basePrice:M("pro"),outletPrice:519,additionalCashPrice:249,productPrice:18,productStep:1e3,minProducts:500,showCalculator:!0,showEcommerce:!0,features:["prices.pro.feature1","prices.pro.feature2","prices.pro.feature3","prices.pro.feature4"]}]),i=t=>{window.open(f.value,"_blank","noopener,noreferrer")},l=()=>
1{window.open("https://t.me/POS_UA_bot","_blank","external,noopener,noreferrer")};return(t,d)=>(p(),u("section",Te,[e("div",Ae,[e("div",Ne,[e("h2",Oe,n(t.$t("prices.title")),1),e("p",Ue,n(t.$t("prices.description")),1)]),e("div",Fe,[(p(!0),u(Z,null,E(c(C),a=>(p(),u("div",{class:y(["prices__tariff",{"prices__tariff--selected":a.type===c(s),"prices__tariff--featured":a.type==="business"}]),key:a.type,onClick:_=>s.value=a.type},[e("div",De,[e("h3",Ge,n(t.$t(a.name)),1),e("span",je,n(t.$t("prices.freeMonth")),1)]),e("div",ze,[e("p",Re,n(t.$t(a.description)),1),V($e,{"base-price":a.basePrice,"monthly-base-price":c(M)(a.type),"outlet-price":a.outletPrice,"additional-cash-price":a.additionalCashPrice,"product-price":a.productPrice,"product-step":a.productStep,"min-products":a.minProducts,"show-calculator":a.showCalculator,"show-ecommerce":a.showEcommerce,"button-text":t.$t("prices.startWith",{tariff:t.$t(a.name)}),"tariff-name":a.type,"selected-period":1,onStartClick:i},null,8,["base-price","monthly-base-price","outlet-price","additional-cash-price","product-price","product-step","min-products","show-calculator","show-ecommerce","button-text","tariff-name"]),e("div",We,[(p(!0),u(Z,null,E(a.features,(_,h)=>{var v;return p(),u("div",{class:"prices__tariff-feature-group",key:h},[e("div",qe,[e("img",{src:c(ee),alt:"check",class:"prices__tariff-feature-icon"},null,8,Je),e("p",Ke,n(t.$t(typeof _=="string"?_:_.key)),1)]),typeof _!="string"&&((v=_.subFeatures)!=null&&v.length)?(p(),u("div",Qe,[(p(!0),u(Z,null,E(_.subFeatures,(S,k)=>(p(),u("div",{class:"prices__tariff-subfeature",key:k},[d[0]||(d[0]=e("span",{class:"prices__tariff-subfeature-bullet"},null,-1)),e("p",Xe,n(t.$t(S)),1)]))),128))])):$("",!0)])}),128))]),V(Ee)])],10,Le))),128))]),e("div",Ye,[e("h3",et,n(t.$t("prices.enterprise.title")),1),e("div",tt,[e("p",st,n(t.$t("prices.enterprise.description")),1),e("button",{class:"prices__enterprise-button",onClick:l},[e("img",{src:c(T),alt:"support",class:"prices__enterprise-button-icon"},null,8,rt),W(" "+n(t.$t("prices.enterprise.button")),1)])])])])]))}}),ct=I(ot,[["__scopeId","data-v-f9ea451d"]]),ut=x({__name:"prices",setup(w){const{t:f}=q(),s=f("meta.prices.title"),C=f("meta.prices.description");return J({title:s,description:C}),Q({pageTitle:s,metaDescription:C}),(i,l)=>{const t=ct,d=X,a=Y;return p(),u(Z,null,[V(t),V(d),V(a)],64)}}});export{ut 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.