1import{d as h,U as v,a as C,g as _,w as n,b as c,t as r,f as d,j as g,_ as p,e as u,z as x,l as k,aN as S}from"./app-BQDhJ1BG.js";try{let l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new l.Error().stack;s&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[s]="37518c42-78f1-4b00-806b-cc0987a720e2",l._sentryDebugIdIdentifier="sentry-dbid-37518c42-78f1-4b00-806b-cc0987a720e2")}catch{}const I={class:"my-4"},N={class:"flex flex-row-reverse gap-4"},M=h({__name:"CountryChangeModal",emits:["closeModal"],setup(l,{emit:s}){const m=k(),a=v(),o=S(),w=s,f=()=>{w("closeModal")};function b(){var i,e,t,y;o.value&&(m.navClick(null,{area:"header",section1:"flag",item:a.us?"switch to canada":"switch to us",destination:a.us?(i=o.value.host)==null?void 0:i.replace("gallerycollection.com","gallerycollection.ca"):(e=o.value.host)==null?void 0:e.replace("gallerycollection.ca","gallerycollection.com")}),a.us?o.value.href="//"+((t=o.value.host)==null?void 0:t.replace("gallerycollection.com","gallerycollection.ca")):o.value.href="//"+((y=o.value.host)==null?void 0:y.replace("gallerycollection.ca","gallerycollection.com")))}return(i,e)=>(C(),_(x,{"show-modal":!0,width:"max-w-2xl",onCloseModal:e[2]||(e[2]=t=>f())},{header:n(()=>[u("Leaving "+r(d(a).us?"U.S.":"Canada")+" Gallery Collection",1)]),default:n(()=>[c("div",null,[c("p",null,"Are you sure you want to go to the "+r(d(a).us?"Canada":"U.S.")+" branch of Gallery Collection?",1),c("p",I,"If you proceed, your cart will be emptied and you will be taken to the home page of the "+r(d(a).us?"Canada":"U.S.")+" Gallery Collection site.",1),c("div",N,[g(p,{primary:"",class:"w-36",onClick:e[0]||(e[0]=t=>b()),title:"Yes"},{default:n(()=>[...e[3]||(e[3]=[u("Yes",-1)])]),_:1}),g(p,{class:"w-36",onClick:e[1]||(e[1]=t=>f()),title:"No"},{default:n(()=>[...e[4]||(e[4]=[u("No",-1)])]),_:1})])])]),_:1}))}});export{M 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.