1import{_ as I}from"./BodNZix5.js";import{cj as p,au as h,bQ as i,b2 as E,dO as N,dR as D,dJ as w,ee as S,aQ as A,cD as R,n as T,dx as n,cI as s,aN as u,aJ as B,r as G,aK as c,aI as _,du as y}from"./BTBDsnWa.js";import{u as x}from"./C_ezjVwW.js";import{u as O}from"./B5cgye6G.js";import{u as P}from"./IUAQFSZ7.js";import{u as C}from"./vlawbDqU.js";import{a as V}from"./CWfZbZqv.js";import"./DqSH9ZDN.js";import"./BYOQs3re.js";import"./CaU3CAyx.js";import"./Ch8ZNBUt.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"[email protected]"};var t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="65f2e00e-2fb2-48c0-8dde-fd7ef53475ce",a._sentryDebugIdIdentifier="sentry-dbid-65f2e00e-2fb2-48c0-8dde-fd7ef53475ce")}catch{}})();i` 2*[_type == "store" && ($lang in uid[].language || $lang in uid[]._key)] { 3 _id, 4 locationsId, 5 "title": title[language == $lang || _key == $lang][0].value, 6 adresse, 7 info_horaire, 8}`;i` 9*[_type == "store" 10 && $uid in uid[].value 11 && ($lang in uid[].language || $lang in uid[]._key) 12] [0] { 13 _id, 14 _type, 15 locationsId, 16 "uid": uid[language == $lang || _key == $lang][0].value, 17 "alternate_languages": uid[coalesce(language, _key) != $lang]{ "_key": coalesce(language, _key), value }, 18 "title": title[language == $lang || _key == $lang][0].value, 19 adresse, 20 info_horaire, 21 image { 22 crop, 23 "image": ${p} 24 }, 25}`;const H=i` 26*[_type == "store" 27 && $uid in uid[].value 28 && ($lang in uid[].language || $lang in uid[]._key) 29][0] { 30 _id, 31 _type, 32 locationsId, 33 "uid": uid[language == $lang || _key == $lang][0].value, 34 "alternate_languages": uid[coalesce(language, _key) != $lang]{ "_key": coalesce(language, _key), value }, 35 "title": title[language == $lang || _key == $lang][0].value, 36 adresse, 37 info_horaire, 38 image { 39 crop, 40 "image": ${p} 41 }, 42 ${h} 43}`,M={key:0},Q={key:1},q={key:2},ae=E({__name:"[uid]",async setup(a){let t,l;const m=N(),{populateSanityHead:f}=x(),r=D(),d=r.params.uid,{locale:g}=w(),{data:e,status:k,error:$}=([t,l]=S(()=>O(H,{lang:g.value,uid:d},{key:`store-${g.value}-${d}`})),t=await t,l(),t);if(!e.value)throw A({statusCode:404,statusMessage:"Not Found",fatal:!0});const{title:v}=f(e.value);return P({title:v,name:"store",category:"content"}),C(e.value?{...e.value,context:r.params.context}:null),V(e.value?.alternate_languages,"store"),R(()=>{m.callHook(T.PAGE_MOUNTED)}),(o,J)=>{const b=I;return n(e)?(s(),u("div",M,[n(e).blocks?(s(),B(b,{key:0,blocks:n(e).blocks,origin:("ORIGIN"in o?o.ORIGIN:n(G)).PAGE},null,8,["blocks","origin"])):c("",!0)])):n($)?(s(),u("div",Q,[_("p",null,y(o.$t("errorLoadingPortal")),1)])):n(k)!=="success"?(s(),u("div",q,[_("p",null,y(o.$t("loading")),1)])):c("",!0)}}});export{ae 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.