1import{j as e}from"./vendor-react.ELhBuE2q.js";import{b as y,n as f,o as x,A as C,W as b,am as S}from"./app-shared.CdUkAbk4.js";import{u as j}from"./vendor-i18n.DvM0XvO9.js";import"./vendor-ui.BSTRh9Ug.js";import"./vendor-router.aN8wpDPU.js";import"./vendor-moment.BLMuvzoS.js";import"./vendor-axios.NIGUFBhG.js";function z({data:o,onClose:c,children:d}){var a,i,n,m;const{t:u}=j(),{jsonSetting:t}=y(),{setSelectedElement:p}=f(),r="base_liquid";let l;try{const s=x(t,"modal",r)||((i=(a=t.modal)==null?void 0:a.name)==null?void 0:i.base);l=(s==null?void 0:s.style)||"default",$forwardCreateCSS(l,(n=t==null?void 0:t.modal)==null?void 0:n.styles)}catch{console.error("forwardCreateCSS error:")}const h=s=>{s.stopPropagation(),p({styleName:r,classStyle:l,type:"modal",ref:s.target})};return e.jsxs("div",{className:`relative base-modal-style liquid_glass ${l||""}`,style:{overflow:"visible"},children:[e.jsx(C,{onClick:h,className:"!right-auto !left-1"}),((m=o==null?void 0:o.events)==null?void 0:m.showCloseButton)&&e.jsx("div",{className:"absolute top-3 right-3 z-[1020]",children:e.jsxs(b,{onClick:()=>c(o.id),styleName:"btn_close_modal_liquid",className:"liquid_glass_round cursor-pointer",children:[e.jsx(S,{size:18,strokeWidth:2.4,"aria-hidden":"true"}),e.jsx("span",{className:"sr-only",children:u("close")})]})}),d]})}export{z 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.