PageSourceSearch

https://www.cmq.org/_nuxt/index.be050968.js

js cmq.org collected 2026-09-24 17:57:15 UTC 12,168 bytes, 66 lines download raw bytes

1import{_ as E}from"./ButtonBack.20dd8262.js";import{_ as C}from"./DirectorySearchForm.e104b3db.js";import{_ as L}from"./Icon.65c81faf.js";import{_ as R}from"./nuxt-link.f6263737.js";import{b as j,c as B,d as O,e as q,f as $,h as M}from"./entry.0e2b7217.js";import{u as P}from"./fetch.e86bd420.js";import{u as Q}from"./composables.c4a9b9ef.js";import{u as z}from"./useGTM.54d864fb.js";import{u as G}from"./useTheme.08f3e55c.js";import{d as H}from"./index.4622708c.js";import{f as J,a1 as F,u as m,G as K,H as k,y as v,R as w,N as U,J as W,B as X}from"./swiper-vue.5e86c732.js";import{_ as Y}from"./_plugin-vue_export-helper.c27b6911.js";var c={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MembersDirectory"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"lang"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entry"},arguments:[{kind:"Argument",name:{kind:"Name",value:"section"},value:{kind:"StringValue",value:"membersDirectory",block:!1}},{kind:"Argument",name:{kind:"Name",value:"site"},value:{kind:"Variable",name:{kind:"Name",value:"lang"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"membersDirectory_Entry"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"type"},name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"images_Asset"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"credit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"webpSmall"},name:{kind:"Name",value:"url"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"transform"},arguments:[{kind:"Argument",name:{kind:"Name",value:"mode"},value:{kind:"StringValue",value:"crop",block:!1}},{kind:"Argument",name:{kind:"Name",value:"format"},value:{kind:"StringValue",value:"webp",block:!1}},{kind:"Argument",name:{kind:"Name",value:"width"},value:{kind:"IntValue",value:"320"}},{kind:"Argument",name:{kind:"Name",value:"height"},value:{kind:"IntValue",value:"440"}}]}]},{kind:"Field",alias:{kind:"Name",value:"jpegSmall"},name:{kind:"Name",value:"url"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"transform"},arguments:[{kind:"Argument",name:{kind:"Name",value:"mode"},value:{kind:"StringValue",value:"crop",block:!1}},{kind:"Argument",name:{kind:"Name",value:"format"},value:{kind:"StringValue",value:"jpg",block:!1}},{kind:"Argument",name:{kind:"Name",value:"width"},value:{kind:"IntValue",value:"320"}},{kind:"Argument",name:{kind:"Name",value:"height"},value:{kind:"IntValue",value:"440"}}]}]},{kind:"Field",alias:{kind:"Name",value:"webpLarge"},name:{kind:"Name",value:"url"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"transform"},arguments:[{kind:"Argument",name:{kind:"Name",value:"mode"},value:{kind:"StringValue",value:"crop",block:!1}},{kind:"Argument",name:{kind:"Name",value:"format"},value:{kind:"StringValue",value:"webp",block:!1}},{kind:"Argument",name:{kind:"Name",value:"width"},value:{kind:"IntValue",value:"400"}},{kind:"Argument",name:{kind:"Name",value:"height"},value:{kind:"IntValue",value:"550"}}]}]},{kind:"Field",alias:{kind:"Name",value:"jpegLarge"},name:{kind:"Name",value:"url"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"transform"},arguments:[{kind:"Argument",name:{kind:"Name",value:"mode"},value:{kind:"StringValue",value:"crop",block:!1}},{kind:"Argument",name:{kind:"Name",value:"format"},value:{kind:"StringValue",value:"jpg",block:!1}},{kind:"Argument",name:{kind:"Name",value:"width"},value:{kind:"IntValue",value:"400"}},{kind:"Argument",name:{kind:"Name",value:"height"},value:{kind:"IntValue",value:"550"}}]}]}]}}]}},{kind:"Field",name:{kind:"Name",value:"physiciansTab"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"physiciansTabDescription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"residentsTab"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"residentsTabDescription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"seo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keywords"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"keyword"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rating"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"advanced"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canonical"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"robots"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"social"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"facebook"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"twitter"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1531}};c.loc.source={body:`query MembersDirectory($lang: [String]) {
2  entry(section: "membersDirectory", site: $lang) {
3    id
4    title
5    ... on membersDirectory_Entry {
6      description {
7        html
8      }
9      image {
10        type: __typename
11        ... on images_Asset {
12          id
13          title
14          description {
15            html
16          }
17          credit
18          alt
19          # @todo Image transform: change width and height for mobile devices.
20          webpSmall: url @transform(mode: "crop", format: "webp", width: 320, height: 440)
21          jpegSmall: url @transform(mode: "crop", format: "jpg", width: 320, height: 440)
22          # @todo Image transform: change width and height for desktop devices.
23          webpLarge: url @transform(mode: "crop", format: "webp", width: 400, height: 550)
24          jpegLarge: url @transform(mode: "crop", format: "jpg", width: 400, height: 550)
25        }
26      }
27      physiciansTab
28      physiciansTabDescription {
29        html
30      }
31      residentsTab
32      residentsTabDescription {
33        html
34      }
35      seo {
36        title
37        description
38        keywords {
39          keyword
40          rating
41        }
42        advanced {
43          canonical
44          robots
45        }
46        social {
47          facebook {
48            title
49            description
50            image {
51              url
52            }
53          }
54          twitter {
55            title
56            description
57            image {
58              url
59            }
60          }
61        }
62      }
63    }
64  }
65}
66`,name:"GraphQL request",locationOffset:{line:1,column:1}};function g(n,e){if(n.kind==="FragmentSpread")e.add(n.name.value);else if(n.kind==="VariableDefinition"){var i=n.type;i.kind==="NamedType"&&e.add(i.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(t){g(t,e)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(t){g(t,e)}),n.definitions&&n.definitions.forEach(function(t){g(t,e)})}var f={};(function(){c.definitions.forEach(function(e){if(e.name){var i=new Set;g(e,i),f[e.name.value]=i}})})();function D(n,e){for(var i=0;i<n.definitions.length;i++){var t=n.definitions[i];if(t.name&&t.name.value==e)return t}}function Z(n,e){var i={kind:n.kind,definitions:[D(n,e)]};n.hasOwnProperty("loc")&&(i.loc=n.loc);var t=f[e]||new Set,d=new Set,l=new Set;for(t.forEach(function(r){l.add(r)});l.size>0;){var p=l;l=new Set,p.forEach(function(r){if(!d.has(r)){d.add(r);var s=f[r]||new Set;
66s.forEach(function(u){l.add(u)})}})}return d.forEach(function(r){var s=D(n,r);s&&i.definitions.push(s)}),i}Z(c,"MembersDirectory");const ee={key:0,class:"page-directory-index"},ne={class:"page-directory-index__hero u-padding-top-xl"},ie={class:"o-container"},te={class:"page-directory-index__title u-type-serif"},ae=J({__name:"index",async setup(n){var S,h,y,b;let e,i;const{locale:t}=j(),d=B().query,l=Q(),p=O(),r=z(),s=d.search==="resident"?"resident":"",u={lang:t.value},{data:N,error:_}=d["x-craft-live-preview"]&&d.token?([e,i]=F(()=>{var a;return P(p.apolloEndpoint,{body:{query:(a=c.loc)==null?void 0:a.source.body,variables:u},query:{token:d.token},method:"POST"},"$x0tOSF7z7O")}),e=await e,i(),e):([e,i]=F(()=>M(c,u)),e=await e,i(),e),o=((h=(S=N.value)==null?void 0:S.data)==null?void 0:h.entry)??((y=N.value)==null?void 0:y.entry)??null;if(!o)throw q({statusCode:404,fatal:!0});if(!_.value&&o&&o.seo){const a=o.seo;$({title:H(a.title),meta:[{name:"description",content:a.description},{property:"og:title",content:a.social.facebook.title},{property:"og:description",content:a.social.facebook.description},{property:"og:image",content:(b=a.social.facebook.image)==null?void 0:b.url},{name:"twitter:card",content:"summary"},{name:"twitter:title",content:a.social.twitter.title},{name:"twitter:description",content:a.social.twitter.description}],bodyAttrs:{class:["page-directory-search",G("generic")]}})}const A=()=>{r&&r.trackEvent({event:"BottinInteraction",label:"Afficher les avis et décisions"})};return(a,re)=>{const V=E,x=C,I=L,T=R;return!m(_)&&m(o)?(X(),K("article",ee,[k("section",ne,[k("div",ie,[v(V,{class:"u-margin-bottom-l",label:a.$t("pages.directory.backLabel"),route:m(l)("/proteger-le-public/acceder-repertoire-medecins")},null,8,["label","route"]),k("h1",te,w(m(o).title),1),v(x,{"initial-status":m(s)},null,8,["initial-status"]),v(T,{class:"page-directory-index__notices-link",to:m(l)("directory-notices"),onClick:A},{default:U(()=>[k("span",null,w(a.$t("pages.directory.viewNoticesBanner")),1),v(I,{name:"arrow-right",size:"large"})]),_:1},8,["to"])])])])):W("",!0)}}});const Ne=Y(ae,[["__scopeId","data-v-128cb2a1"]]);export{Ne 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.