1import{_ as g}from"./D7F_yzGf.js";import{_ as h}from"./BROqZMRH.js";import{d as x,aT as w,aU as y,n as v,k as s,w as d,l as e,z as a,q as i,j as l,F as m,s as u,b,aY as k}from"./Dl4lv6OR.js";const V={class:"inside_model"},B={class:"modal_header"},C={class:"min-w-0 flex-1 py-px text-h5 font-semibold"},M={class:"modal_demis_head"},$={class:"wrapper_modal_cont"},I={class:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3"},L={class:"mb-3 flex items-center gap-2"},N=["src"],S={class:"min-w-0"},j={class:"truncate text-body-sm font-semibold text-new-text"},z={class:"truncate text-[12px] text-new-gray-500"},F={class:"space-y-1.5"},U=["href"],q=["src"],R={class:"truncate group-hover:lg:text-new-primary"},T="Close modal",Y=x({__name:"LanguageSwitcherMarketsModal",props:w({groups:{},title:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const r=y(n,"modelValue"),_=()=>{r.value=!1};return(A,c)=>{const f=g,p=h;return s(),v(b(k),{modelValue:r.value,"onUpdate:modelValue":c[0]||(c[0]=t=>r.value=t),"content-transition":"zv-modal-scale","overlay-transition":"vfm-fade",class:"wrapper_modal","content-class":"inner_popup !mx-auto !my-0 !w-[880px] flex-none self-start","focus-trap":{allowOutsideClick:!0,preventScroll:!0}},{default:d(()=>[e("div",V,[e("div",B,[e("h5",C,a(n.title),1),e("div",M,[i(p,{type:"button","aria-label":T,color:"gray","rounded-full":"",size:"sm",class:"text-new-gray-400",onClick:_},{icon:d(()=>[i(f,{"custom-color":"text-new-text"})]),_:1})])]),e("div",$,[e("div",I,[(s(!0),l(m,null,u(n.groups,t=>(s(),l("section",{key:`${t.key}-${t.host}`,class:"rounded-xl border border-new-gray-200 p-3"},[e("div",L,[e("img",{class:"h-5 w-5 flex-none rounded-full border border-new-gray-200 object-cover",src:t.marketFlagIcon,alt:""},null,8,N),e("div",S,[e("div",j,a(t.marketTitle),1),e("div",z,a(t.marketRegionLabel),1)])]),e("ul",F,[(s(!0),l(m,null,u(t.items,o=>(s(),l("li",{key:`${t.key}-${o.hreflang}`},[e("a",{href:o.href,class:"group inline-flex w-full items-center gap-2 rounded-lg px-1.5 py-1 text-body-sm text-new-text transition hover:lg:bg-new-secondary-100"},[e("img",{class:"h-4 w-4 flex-none rounded-full border border-new-gray-200 object-cover",src:o.languageIcon,alt:""},null,8,q),e("span",R,a(o.languageName),1)],8,U)]))),128))])]))),128))])])])]),_:1},8,["modelValue"])}}});export{Y 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.