1import{o as n,D as r,q as d,e as m,Y as C,a as o,X as h,c as M,_ as g,l as w,V as k,i as c,B,t as q}from"./hTA4SfFy.js";import{_ as i}from"./DlAUqK2U.js";const y={name:"AppModal",props:{name:{type:String,required:!0},cssClass:{type:String},show:{type:Boolean,default:!1,required:!0},closeBtn:{type:Boolean,default:!0},disableClickOutside:{type:Boolean,default:!1}},data(){return{mousedownCls:[],mouseupCls:[]}},watch:{},methods:{open(){this.name,this.$emit("open")},close(){this.name;const e=c(),{toggleModal:s}=e;s(this.name,!1),this.$emit("close")},modalMousedown(e){this.mousedownCls=[...e.target.classList]},modalMouseup(e){this.mouseupCls=[...e.target.classList]},beforeClose(){this.mousedownCls.includes("modal")&&this.mouseupCls.includes("modal")&&this.close(this.name)},onClickOutside(e){this.disableClickOutside||e.target.closest(".modal__content")||this.beforeClose()}}},b={class:"modal__content"};function v(e,s,l,_,u,t){const f=g,p=B;return n(),r(p,null,{default:d(()=>[m(C,{name:"modal"},{default:d(()=>[o("div",{class:h(["modal",l.cssClass]),onClick:s[1]||(s[1]=(...a)=>t.onClickOutside&&t.onClickOutside(...a)),onMousedown:s[2]||(s[2]=(...a)=>t.modalMousedown&&t.modalMousedown(...a)),onMouseup:s[3]||(s[3]=(...a)=>t.modalMouseup&&t.modalMouseup(...a))},[o("div",b,[l.closeBtn?(n(),M("button",{key:0,class:"modal__close",type:"button",onClick:s[0]||(s[0]=a=>t.close(l.name))},[m(f,{name:"cross"})])):w("",!0),k(e.$slots,"default"),s[4]||(s[4]=o("div",{class:"modal-frame"},[o("span",{class:"modal-frame__rect modal-frame__rect_top-left"}),o("span",{class:"modal-frame__rect modal-frame__rect_top-right"}),o("span",{class:"modal-frame__rect modal-frame__rect_bottom-left"}),o("span",{class:"modal-frame__rect modal-frame__rect_bottom-right"})],-1))])],34)]),_:3})]),_:3})}const S=i(y,[["render",v]]),x={class:"faq"},O={class:"faq__title"},L=["innerHTML"],V={__name:"ModalFaq",props:{show:{type:Boolean,default:!1,required:!0},item:Object},setup(e){const s=c(),{toggleModal:l}=s;return(_,u)=>{const t=S;return n(),r(t,{name:"faq",show:e.show},{default:d(()=>[o("div",x,[o("div",O,q(e.item.title),1),o("div",{class:"faq__answer",innerHTML:e.item.description},null,8,L)])]),_:1},8,["show"])}}},A=i(V,[["__scopeId","data-v-1871ca57"]]);export{A 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.