PageSourceSearch

https://begemot.ai/_nuxt/B3mrJe2K.js

js begemot.ai collected 2026-10-05 11:52:16 UTC 2,095 bytes, 2 lines download raw bytes

1import{x as I,b as x,y as B,G as C}from"./Csj5dC1w.js";import{e as D}from"./tk5Jx3gP.js";import P from"./DHTQxjTw.js";import{f as N,r as _,h as b,m as A,j as k,q as a,z as V,i as r,u as $,F as q,n as v,k as d,y as E}from"./WyaaXhhS.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="9989ed40-4d9c-46eb-a2c2-4553a85e160f",t._sentryDebugIdIdentifier="sentry-dbid-9989ed40-4d9c-46eb-a2c2-4553a85e160f")}catch{}})();const F={key:1,class:"promocode-applied-container"},M=N({__name:"PromocodeModalButton",props:{project:{},services:{}},emits:["update-action-block"],setup(t,{emit:s}){const o=t,i=s,n=_(!1),l=_(null),y=()=>{n.value=!0,v(()=>{var c;const e=(c=l.value)==null?void 0:c.querySelector("input");e==null||e.blur(),v(()=>e==null?void 0:e.focus())})},p=()=>{n.value=!1},g=()=>{D({projectId:o.project.id,services:o.services}).then(e=>{i("update-action-block",e)}).catch(()=>{})};return(e,c)=>{var m,u,f;const h=x,j=B;return d(),b(q,null,[(m=o.project.action_block.promocode)!=null&&m.code?(d(),b("div",F,[a("p",null,"Применен промокод "+V((f=o.project.action_block.promocode)==null?void 0:f.code),1),a("button",{onClick:g},[r(j,{src:"/images/icons/circle-close.svg",alt:"Remove Promocode icon",width:"18",height:"18"})])])):(d(),A(h,{key:0,schema:"outline",class:"promocode-button",medium:"",disabled:(u=o.project.action_block.bonuses)==null?void 0:u.isApplied,onClick:y},{default:k(()=>[E(" У меня есть промокод ")]),_:1},8,["disabled"])),r(I,{open:$(n),title:"Ввести промокод",closable:"",onClose:p},{default:k(()=>[a("div",{class:"promocode-modal",ref_key:"promocodeContainer",ref:l},[r(P,{variant:"new",project:o.project,services:o.services,style:{padding:"0",width:"100%"},onUpdateActionBlock:c[0]||(c[0]=w=>{i("update-action-block",w),p()})},null,8,["project","services"])],512)]),_:1},8,["open"])],64)}}}),G=C(M,[["__scopeId","data-v-5965ec95"]]);export{G as default};
2//# sourceMappingURL=B3mrJe2K.js.map

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.