import{_ as w}from"./ClausesKeeper-DVJgfLR3.js";import{M as b,N as f,g as y,d as k,r as _,H as g,c as S,o as M,a as t,b as V,n as i,t as $,I as n,J as u,L as c}from"./index-CipWZKo_.js";const B={class:"tw-flex tw-gap-8 tw-border-b tw-border-gray-200"},C={__name:"BlockOrderServiceWrapper",props:b({basic_title:{type:String,default:"basic_title"}},{modelValue:{type:String,default:"page"},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const d=f(o,"modelValue"),v=y(),a=k(),e=_(!0);function l(s=null){s?(e.value=!1,a.replace({query:{section:"Services"}})):(e.value=!0,a.replace({query:{}})),d.value=s||""}return g(()=>{v.query.section==="Services"&&(e.value=!1)}),(s,r)=>{const p=w;return M(),S("div",null,[t("div",B,[t("div",{class:i(["tw-pb-2 tw-cursor-pointer",{"tw-text-sky-400 tw-border-b-2 tw-border-sky-400":e.value}]),onClick:r[0]||(r[0]=m=>l())},$(o.basic_title),3),t("div",{class:i(["tw-pb-2 tw-cursor-pointer",{"tw-text-sky-400 tw-border-b-2 tw-border-sky-400":!e.value}]),onClick:r[1]||(r[1]=m=>l("Services"))}," Услуги ",2)]),V(p),t("div",null,[n(t("div",null,[c(s.$slots,"page")],512),[[u,e.value]]),n(t("div",null,[c(s.$slots,"services")],512),[[u,!e.value]])])])}}};export{C as _};
