imio.smartweb.core 1.2.22__py3-none-any.whl → 1.2.24__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. imio/smartweb/core/contents/cropping.py +1 -1
  2. imio/smartweb/core/contents/rest/events/endpoint.py +0 -4
  3. imio/smartweb/core/contents/sections/contact/content.py +2 -2
  4. imio/smartweb/core/tests/test_cropping.py +4 -4
  5. imio/smartweb/core/tests/test_rest.py +0 -2
  6. imio/smartweb/core/tests/test_vocabularies.py +1 -1
  7. imio/smartweb/core/utils.py +1 -1
  8. imio/smartweb/core/vocabularies.py +1 -0
  9. imio/smartweb/core/webcomponents/build/css/363.smartweb-webcomponents-compiled.css +1 -1
  10. imio/smartweb/core/webcomponents/build/js/363.smartweb-webcomponents-compiled.js +1 -1
  11. imio/smartweb/core/webcomponents/build/js/54.smartweb-webcomponents-compiled.js +1 -1
  12. imio/smartweb/core/webcomponents/build/js/647.smartweb-webcomponents-compiled.js +1 -1
  13. imio/smartweb/core/webcomponents/src/components/Annuaire/Annuaire.scss +16 -1
  14. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactCard/ContactCard.jsx +1 -1
  15. imio/smartweb/core/webcomponents/src/components/Annuaire/ContactContent/ContactContent.jsx +72 -18
  16. imio/smartweb/core/webcomponents/src/components/Events/EventContent/EventContent.jsx +1 -1
  17. imio/smartweb/core/webcomponents/src/components/News/NewsContent/NewsContent.jsx +1 -1
  18. {imio.smartweb.core-1.2.22.dist-info → imio.smartweb.core-1.2.24.dist-info}/METADATA +21 -1
  19. {imio.smartweb.core-1.2.22.dist-info → imio.smartweb.core-1.2.24.dist-info}/RECORD +25 -25
  20. /imio.smartweb.core-1.2.22-py3.10-nspkg.pth → /imio.smartweb.core-1.2.24-py3.10-nspkg.pth +0 -0
  21. {imio.smartweb.core-1.2.22.dist-info → imio.smartweb.core-1.2.24.dist-info}/LICENSE.GPL +0 -0
  22. {imio.smartweb.core-1.2.22.dist-info → imio.smartweb.core-1.2.24.dist-info}/LICENSE.rst +0 -0
  23. {imio.smartweb.core-1.2.22.dist-info → imio.smartweb.core-1.2.24.dist-info}/WHEEL +0 -0
  24. {imio.smartweb.core-1.2.22.dist-info → imio.smartweb.core-1.2.24.dist-info}/namespace_packages.txt +0 -0
  25. {imio.smartweb.core-1.2.22.dist-info → imio.smartweb.core-1.2.24.dist-info}/top_level.txt +0 -0
@@ -19,7 +19,7 @@ class SmartwebCroppingProvider(BaseCroppingProvider):
19
19
  return []
20
20
  elif fieldname == "image":
21
21
  # scales used for lead_image fields
22
- return ["portrait_affiche", "paysage_affiche"]
22
+ return ["portrait_affiche", "paysage_affiche", "carre_affiche"]
23
23
  else:
24
24
  return super(SmartwebCroppingProvider, self).get_scales(fieldname, request)
25
25
 
@@ -1,6 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- from datetime import date
4
3
  from imio.smartweb.core.config import EVENTS_URL
5
4
  from imio.smartweb.core.contents.rest.base import BaseEndpoint
6
5
  from imio.smartweb.core.contents.rest.base import BaseService
@@ -33,7 +32,6 @@ class BaseEventsEndpoint(BaseEndpoint):
33
32
 
34
33
  @property
35
34
  def query_url(self):
36
- today = date.today().isoformat()
37
35
  params = [
38
36
  "selected_agendas={}".format(self.context.selected_agenda),
39
37
  "metadata_fields=category",
@@ -42,8 +40,6 @@ class BaseEventsEndpoint(BaseEndpoint):
42
40
  "metadata_fields=end",
43
41
  "metadata_fields=has_leadimage",
44
42
  "metadata_fields=UID",
45
- "event_dates.query={}".format(today),
46
- "event_dates.range=min",
47
43
  "sort_on=event_dates",
48
44
  "fullobjects=1",
49
45
  "b_size={}".format(self.context.nb_results),
@@ -3,7 +3,7 @@
3
3
  from imio.smartweb.core.contents.sections.base import ISection
4
4
  from imio.smartweb.core.contents.sections.base import Section
5
5
  from imio.smartweb.locales import SmartwebMessageFactory as _
6
- from plone.app.z3cform.widget import SelectFieldWidget
6
+ from plone.app.z3cform.widget import AjaxSelectFieldWidget
7
7
  from plone.autoform import directives
8
8
  from plone.supermodel import model
9
9
  from z3c.form.browser.checkbox import CheckBoxFieldWidget
@@ -16,7 +16,7 @@ class ISectionContact(ISection):
16
16
 
17
17
  directives.widget(
18
18
  "related_contacts",
19
- SelectFieldWidget,
19
+ AjaxSelectFieldWidget,
20
20
  vocabulary="imio.smartweb.vocabulary.RemoteContacts",
21
21
  pattern_options={"multiple": True},
22
22
  )
@@ -56,7 +56,7 @@ class TestCropping(ImioSmartwebTestCase):
56
56
  view.enable()
57
57
  adapter = ICropping(self.folder, alternate=None)
58
58
  self.assertEqual(
59
- ["portrait_affiche", "paysage_affiche"],
59
+ ["portrait_affiche", "paysage_affiche", "carre_affiche"],
60
60
  adapter.get_scales("image", self.request),
61
61
  )
62
62
  self.assertEqual([], adapter.get_scales("banner", self.request))
@@ -68,7 +68,7 @@ class TestCropping(ImioSmartwebTestCase):
68
68
  view.enable()
69
69
  adapter = ICropping(self.folder, alternate=None)
70
70
  self.assertEqual(
71
- ["portrait_affiche", "paysage_affiche"],
71
+ ["portrait_affiche", "paysage_affiche", "carre_affiche"],
72
72
  adapter.get_scales("image", self.request),
73
73
  )
74
74
  self.assertEqual([], adapter.get_scales("banner", self.request))
@@ -84,7 +84,7 @@ class TestCropping(ImioSmartwebTestCase):
84
84
  # page cropping
85
85
  adapter = ICropping(self.page, alternate=None)
86
86
  self.assertEqual(
87
- ["portrait_affiche", "paysage_affiche"],
87
+ ["portrait_affiche", "paysage_affiche", "carre_affiche"],
88
88
  adapter.get_scales("image", self.request),
89
89
  )
90
90
 
@@ -116,7 +116,7 @@ class TestCropping(ImioSmartwebTestCase):
116
116
  (self.folder, self.request), name="croppingeditor"
117
117
  )
118
118
  self.assertEqual(len(list(cropping_view._scales("banner"))), 0)
119
- self.assertEqual(len(list(cropping_view._scales("image"))), 2)
119
+ self.assertEqual(len(list(cropping_view._scales("image"))), 3)
120
120
  self.assertNotIn("Banner", cropping_view())
121
121
  self.assertIn("Lead Image", cropping_view())
122
122
 
@@ -374,8 +374,6 @@ class SectionsFunctionalTest(ImioSmartwebTestCase):
374
374
  "metadata_fields=end&"
375
375
  "metadata_fields=has_leadimage&"
376
376
  "metadata_fields=UID&"
377
- "event_dates.query=2021-11-15&"
378
- "event_dates.range=min&"
379
377
  "sort_on=event_dates&"
380
378
  "fullobjects=1&"
381
379
  "b_size=20&"
@@ -85,7 +85,7 @@ class TestVocabularies(ImioSmartwebTestCase):
85
85
  self.assertVocabularyLen("imio.smartweb.vocabulary.BootstrapCSS", 6)
86
86
 
87
87
  def test_orientation(self):
88
- self.assertVocabularyLen("imio.smartweb.vocabulary.Orientation", 2)
88
+ self.assertVocabularyLen("imio.smartweb.vocabulary.Orientation", 3)
89
89
 
90
90
  def test_subsite_display_mode(self):
91
91
  self.assertVocabularyLen("imio.smartweb.vocabulary.SubsiteDisplayMode", 3)
@@ -132,7 +132,7 @@ def get_default_content_id(obj):
132
132
 
133
133
  def get_scale_url(context, request, fieldname, scale_name, orientation=""):
134
134
  if orientation:
135
- m = re.match(r"(portrait|paysage)_(\w+)", scale_name)
135
+ m = re.match(r"(portrait|paysage|carre)_(\w+)", scale_name)
136
136
  if m:
137
137
  # remove existing orientation (if any) from scale name
138
138
  scale_name = m.group(2)
@@ -140,6 +140,7 @@ class OrientationVocabularyFactory:
140
140
  values = [
141
141
  ("paysage", _("Paysage")),
142
142
  ("portrait", _("Portrait")),
143
+ ("carre", _("Carre")),
143
144
  ]
144
145
  terms = [
145
146
  SimpleVocabulary.createTerm(value[0], value[0], value[1])
@@ -1 +1 @@
1
- .flexbin{display:flex;flex-wrap:wrap;margin:-2.5px;overflow:hidden}.flexbin:after{content:"";flex-grow:999999999;height:0;min-width:300px}.flexbin>*{display:block;flex-grow:1;height:300px;margin:2.5px;position:relative}.flexbin>*>img{height:300px;max-width:100%;min-width:100%;object-fit:cover;vertical-align:bottom}.flexbin.flexbin-margin{margin:2.5px}@media (max-width:980px){.flexbin{display:flex;flex-wrap:wrap;margin:-2.5px;overflow:hidden}.flexbin:after{content:"";flex-grow:999999999;height:0;min-width:150px}.flexbin>*{display:block;flex-grow:1;height:150px;margin:2.5px;position:relative}.flexbin>*>img{height:150px;max-width:100%;min-width:100%;object-fit:cover;vertical-align:bottom}.flexbin.flexbin-margin{margin:2.5px}}@media (max-width:400px){.flexbin{display:flex;flex-wrap:wrap;margin:-2.5px;overflow:hidden}.flexbin:after{content:"";flex-grow:999999999;height:0;min-width:100px}.flexbin>*{display:block;flex-grow:1;height:100px;margin:2.5px;position:relative}.flexbin>*>img{height:100px;max-width:100%;min-width:100%;object-fit:cover;vertical-align:bottom}.flexbin.flexbin-margin{margin:2.5px}}.leaflet-container{height:100vh}.leaflet-popup{padding:0}.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{-moz-box-sizing:border-box;box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:hsla(0,0%,100%,.5);border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px rgba(0,0,0,.4)}.leaflet-control-layers-toggle{background-image:url(../assets/layers.416d91365b44e4b4f4777663e6f009f3.png);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(../assets/layers-2x.8f2c4d11474275fbc1614b9098334eae.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(../assets/marker-icon.2b3e1faf89f94a4835397e7a43b4f77d.png)}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:baseline!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:hsla(0,0%,100%,.8);border:2px solid #777;border-top:none;-moz-box-sizing:border-box;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid rgba(0,0,0,.2)}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4);color:#333}.leaflet-container a.leaflet-popup-close-button{background:transparent;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.4);color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:transparent;border:6px solid transparent;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}body,html{max-width:100%;overflow-x:initial!important}.row{margin:0}.breadcrumb,.row{padding:0}body .outer-wrapper>.container{max-width:100%!important;padding:0!important}@media screen and (min-width:1200px){.r-annuaire-wrapper{margin-right:inherit;max-width:100%;padding-left:0;padding-right:0}}#portal-column-content{padding:0!important}.r-result-filter-container{background:#fff;z-index:1}@media screen and (min-width:1200px){.r-result-filter-container{position:-webkit-sticky;position:sticky}}.annuaire-result-filter{padding:0 .75rem}#portal-column-content h1{font-size:0;position:absolute}header#content-header{background:#fff;position:-webkit-sticky;position:sticky;top:0}#viewlet-below-content-description,#viewlet-below-content-title{display:none}article>header{margin-bottom:0}.r-annuaire-result{grid-area:1/1/3/2}.r-map.annuaire-map{grid-area:1/2/2/3;position:-webkit-sticky;position:sticky}.r-results-numbers{margin-bottom:.5rem;width:100%}.r-results-numbers span{font-weight:700}.r-wrapper{display:block}@media screen and (min-width:1200px){.r-wrapper{display:grid;gap:40px;grid-template-columns:minmax(20px,800px) minmax(20px,100%);justify-content:space-between;margin-left:auto;width:calc(558px + 50vw)}}@media screen and (min-width:1400px){.r-wrapper{width:calc(648px + 50vw)}}.r-wrapper .r-result{padding-bottom:2rem}.r-wrapper .r-result-list{padding:0}.r-wrapper .r-result-list .r-list-item-group{list-style:none;margin:1rem 0;position:relative}.r-wrapper .r-result-list .r-list-item-group .r-list-item-link{inset:0!important;position:absolute!important}.r-wrapper .r-result-list .r-list-item-group .r-list-item{display:flex;flex-direction:column;height:100%}@media screen and (min-width:600px){.r-wrapper .r-result-list .r-list-item-group .r-list-item{flex-direction:row}}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-img{background-color:#000;background-size:cover;border-radius:5px;padding-bottom:56%;position:relative;width:100%;z-index:-1}@media screen and (min-width:600px){.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-img{flex:246px 0 0;height:149px;padding-bottom:0;width:246px}}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-img div,.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-img img{border-radius:5px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text{flex-grow:1;margin-top:.6rem}@media screen and (min-width:600px){.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text{margin-left:1.5rem;margin-top:0}}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text a{position:relative}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-title{display:block;font-weight:700}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-categorie{display:block}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all{display:flex;gap:10px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-adresse{width:36%}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .phones{display:flex;flex-wrap:wrap;gap:0 5px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .mails{display:flex;flex-direction:column}.r-content-description{border-bottom:1px solid #e6e6e6}.contactTextAll{margin-top:1rem;position:relative}@media screen and (min-width:700px){.contactTextAll{padding-right:128px}}.contactTextAll .annuaire-logo{margin-top:.5rem;max-width:128px}@media screen and (min-width:700px){.contactTextAll .annuaire-logo{position:absolute;right:0;top:0}}.annuaire-info-title{font-weight:700}.annaire-adresse,.annuaire-phone,.annuaire-social-link,.annuaire-website-link,.annuaire-website-mails{align-items:first baseline;display:flex;gap:10px;margin-bottom:.5rem}.annuaire-phone span,.annuaire-website-mails span{display:block;font-weight:500}.annuaire-phone span a,.annuaire-website-mails span a{font-weight:400}.annuaire-website-mails div span{display:block}.annuaire-social-link{margin:.5rem 0}.annuaire-social-link ul{display:flex;gap:10px;margin:0}.annuaire-social-link ul li,.annuaire-website-link ul li{list-style:none}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text{font-size:13px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text:after{background:#ff0;border-radius:50px;content:"";height:50px;width:50px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-title{font-size:18px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-categorie{margin-bottom:5px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all{color:#727272}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all a{color:#000}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-adresse .itineraty{margin-top:5px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-adresse .itineraty:before{background-size:contain;background:url(../assets/location-bla.1423bcce16ddcb21141430cac1428dc1.svg) no-repeat;content:"";display:inline-block;height:15px;vertical-align:middle;width:15px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-contact{width:100%}.r-load-more{margin-bottom:2rem;text-align:center}.r-load-more button{background:#000;border:1px solid transparent;border-radius:10px;border-bottom-left-radius:10px;border-bottom-left-radius:0;color:#fff;display:block;font-size:14px;font-weight:700;margin:0 auto;padding:.4rem 1rem}.r-load-more button:hover{background:rgba(0,0,0,.871)}@media screen and (max-width:1200px){.r-map{margin-top:2rem!important}.r-map .leaflet-container{height:50vh!important}}@media screen and (min-width:600px){.no-map .r-annuaire-wrapper{display:block}.no-map .r-wrapper .r-result-list{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(244px,1fr));max-width:1296px}.no-map .r-wrapper .r-list-item-group{display:block!important;transition:all .2s ease}.no-map .r-wrapper .r-list-item-group:focus,.no-map .r-wrapper .r-list-item-group:hover{-webkit-transform:translateY(-10px)!important;transform:translateY(-10px)!important}.no-map .r-wrapper .r-list-item-group .r-list-item{box-shadow:0 8px 26px rgba(0,0,0,.08);flex-direction:column!important}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-img{aspect-ratio:5/3;flex:inherit;height:auto;margin-bottom:0;width:100%!important}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text{display:block;margin-bottom:.5rem;margin-right:1.5rem;margin-top:.5rem}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text:after{display:none}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-categorie{margin-bottom:.25rem;margin-top:.25rem}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-title{font-size:16px;margin-bottom:.25rem;margin-top:.25rem}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all{display:block!important}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-adresse{margin-bottom:.25rem;margin-top:.25rem;width:auto}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all .mails,.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all .phones,.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all .topics{margin-bottom:.25rem;margin-top:.25rem}}.no-map .r-result.r-annuaire-result{max-width:1296px}.no-map .annuaire-content{margin:0 auto;max-width:700px}
1
+ .flexbin{display:flex;flex-wrap:wrap;margin:-2.5px;overflow:hidden}.flexbin:after{content:"";flex-grow:999999999;height:0;min-width:300px}.flexbin>*{display:block;flex-grow:1;height:300px;margin:2.5px;position:relative}.flexbin>*>img{height:300px;max-width:100%;min-width:100%;object-fit:cover;vertical-align:bottom}.flexbin.flexbin-margin{margin:2.5px}@media (max-width:980px){.flexbin{display:flex;flex-wrap:wrap;margin:-2.5px;overflow:hidden}.flexbin:after{content:"";flex-grow:999999999;height:0;min-width:150px}.flexbin>*{display:block;flex-grow:1;height:150px;margin:2.5px;position:relative}.flexbin>*>img{height:150px;max-width:100%;min-width:100%;object-fit:cover;vertical-align:bottom}.flexbin.flexbin-margin{margin:2.5px}}@media (max-width:400px){.flexbin{display:flex;flex-wrap:wrap;margin:-2.5px;overflow:hidden}.flexbin:after{content:"";flex-grow:999999999;height:0;min-width:100px}.flexbin>*{display:block;flex-grow:1;height:100px;margin:2.5px;position:relative}.flexbin>*>img{height:100px;max-width:100%;min-width:100%;object-fit:cover;vertical-align:bottom}.flexbin.flexbin-margin{margin:2.5px}}.leaflet-container{height:100vh}.leaflet-popup{padding:0}.leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{left:0;position:absolute;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{height:1600px;-webkit-transform-origin:0 0;width:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-height:none!important;max-width:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-height:none!important;max-width:none!important;padding:0;width:auto}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{-moz-box-sizing:border-box;box-sizing:border-box;height:0;width:0;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{height:1px;width:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{pointer-events:visiblePainted;pointer-events:auto;position:relative;z-index:800}.leaflet-bottom,.leaflet-top{pointer-events:none;position:absolute;z-index:1000}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{clear:both;float:left}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:hsla(0,0%,100%,.5);border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;color:#000;display:block;height:26px;line-height:26px;text-align:center;text-decoration:none;width:26px}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:focus,.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-bar a.leaflet-disabled{background-color:#f4f4f4;color:#bbb;cursor:default}.leaflet-touch .leaflet-bar a{height:30px;line-height:30px;width:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px rgba(0,0,0,.4)}.leaflet-control-layers-toggle{background-image:url(../assets/layers.416d91365b44e4b4f4777663e6f009f3.png);height:36px;width:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(../assets/layers-2x.8f2c4d11474275fbc1614b9098334eae.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{height:44px;width:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{background:#fff;color:#333;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{overflow-x:hidden;overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(../assets/marker-icon.2b3e1faf89f94a4835397e7a43b4f77d.png)}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;line-height:1.4;padding:0 5px}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:focus,.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;height:.6669em;vertical-align:baseline!important;width:1em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{background:hsla(0,0%,100%,.8);border:2px solid #777;border-top:none;-moz-box-sizing:border-box;box-sizing:border-box;line-height:1.1;padding:2px 5px 1px;text-shadow:1px 1px #fff;white-space:nowrap}.leaflet-control-scale-line:not(:first-child){border-bottom:none;border-top:2px solid #777;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{background-clip:padding-box;border:2px solid rgba(0,0,0,.2)}.leaflet-popup{margin-bottom:20px;position:absolute;text-align:center}.leaflet-popup-content-wrapper{border-radius:12px;padding:1px;text-align:left}.leaflet-popup-content{font-size:13px;font-size:1.08333em;line-height:1.3;margin:13px 24px 13px 20px;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{height:20px;left:50%;margin-left:-20px;margin-top:-1px;overflow:hidden;pointer-events:none;position:absolute;width:40px}.leaflet-popup-tip{height:17px;margin:-10px auto 0;padding:1px;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);width:17px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4);color:#333}.leaflet-container a.leaflet-popup-close-button{background:transparent;border:none;color:#757575;font:16px/24px Tahoma,Verdana,sans-serif;height:24px;position:absolute;right:0;text-align:center;text-decoration:none;top:0;width:24px}.leaflet-container a.leaflet-popup-close-button:focus,.leaflet-container a.leaflet-popup-close-button:hover{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678);margin:0 auto;width:24px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{background-color:#fff;border:1px solid #fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.4);color:#222;padding:6px;pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{background:transparent;border:6px solid transparent;content:"";pointer-events:none;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{border-top-color:#fff;bottom:0;margin-bottom:-12px}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-left:-6px;margin-top:-12px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;left:0;margin-left:-12px}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}body,html{max-width:100%;overflow-x:initial!important}.row{margin:0}.breadcrumb,.row{padding:0}body .outer-wrapper>.container{max-width:100%!important;padding:0!important}@media screen and (min-width:1200px){.r-annuaire-wrapper{margin-right:inherit;max-width:100%;padding-left:0;padding-right:0}}#portal-column-content{padding:0!important}.r-result-filter-container{background:#fff;z-index:1}@media screen and (min-width:1200px){.r-result-filter-container{position:-webkit-sticky;position:sticky}}.annuaire-result-filter{padding:0 .75rem}#portal-column-content h1{font-size:0;position:absolute}header#content-header{background:#fff;position:-webkit-sticky;position:sticky;top:0}#viewlet-below-content-description,#viewlet-below-content-title{display:none}article>header{margin-bottom:0}.r-annuaire-result{grid-area:1/1/3/2}.r-map.annuaire-map{grid-area:1/2/2/3;position:-webkit-sticky;position:sticky}.r-results-numbers{margin-bottom:.5rem;width:100%}.r-results-numbers span{font-weight:700}.r-wrapper{display:block}@media screen and (min-width:1200px){.r-wrapper{display:grid;gap:40px;grid-template-columns:minmax(20px,800px) minmax(20px,100%);justify-content:space-between;margin-left:auto;width:calc(558px + 50vw)}}@media screen and (min-width:1400px){.r-wrapper{width:calc(648px + 50vw)}}.r-wrapper .r-result{padding-bottom:2rem}.r-wrapper .r-result-list{padding:0}.r-wrapper .r-result-list .r-list-item-group{list-style:none;margin:1rem 0;position:relative}.r-wrapper .r-result-list .r-list-item-group .r-list-item-link{inset:0!important;position:absolute!important}.r-wrapper .r-result-list .r-list-item-group .r-list-item{display:flex;flex-direction:column;height:100%}@media screen and (min-width:600px){.r-wrapper .r-result-list .r-list-item-group .r-list-item{flex-direction:row}}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-img{background-color:#000;background-size:cover;border-radius:5px;padding-bottom:56%;position:relative;width:100%;z-index:-1}@media screen and (min-width:600px){.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-img{flex:246px 0 0;height:149px;padding-bottom:0;width:246px}}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-img div,.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-img img{border-radius:5px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text{flex-grow:1;margin-top:.6rem}@media screen and (min-width:600px){.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text{margin-left:1.5rem;margin-top:0}}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text a{position:relative}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-title{display:block;font-weight:700}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-categorie{display:block}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all{display:flex;gap:10px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-adresse{width:36%}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .phones{display:flex;flex-wrap:wrap;gap:0 5px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .mails{display:flex;flex-direction:column}.r-content-description{border-bottom:1px solid #e6e6e6}.contactTextAll{margin-top:1rem;position:relative}@media screen and (min-width:700px){.contactTextAll{padding-right:128px}}.contactTextAll .annuaire-logo{margin-top:.5rem;max-width:128px}@media screen and (min-width:700px){.contactTextAll .annuaire-logo{position:absolute;right:0;top:0}}.annuaire-info-title{font-weight:700}.annaire-adresse,.annuaire-phone,.annuaire-schedul,.annuaire-social-link,.annuaire-website-link,.annuaire-website-mails{align-items:first baseline;display:flex;gap:10px;margin-bottom:.5rem}.annaire-adresse a,.annuaire-phone a,.annuaire-schedul a,.annuaire-social-link a,.annuaire-website-link a,.annuaire-website-mails a{text-decoration:none}.annuaire-phone span,.annuaire-website-mails span{display:block;font-weight:500}.annuaire-phone span a,.annuaire-website-mails span a{font-weight:400}.annuaire-website-mails div span{display:block}.annuaire-social-link{margin:.5rem 0}.annuaire-social-link ul{display:flex;gap:10px;margin:0}.annuaire-social-link ul li,.annuaire-website-link ul li{list-style:none}.annuaire-day-close{color:#e61d1d}.annuaire-day-open{color:#81c995}.annuaire-schedul li{list-style:none}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text{font-size:13px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text:after{background:#ff0;border-radius:50px;content:"";height:50px;width:50px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-title{font-size:18px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-categorie{margin-bottom:5px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all{color:#727272}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all a{color:#000}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-adresse .itineraty{margin-top:5px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-adresse .itineraty:before{background-size:contain;background:url(../assets/location-bla.1423bcce16ddcb21141430cac1428dc1.svg) no-repeat;content:"";display:inline-block;height:15px;vertical-align:middle;width:15px}.r-wrapper .r-result-list .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-contact{width:100%}.r-load-more{margin-bottom:2rem;text-align:center}.r-load-more button{background:#000;border:1px solid transparent;border-radius:10px;border-bottom-left-radius:10px;border-bottom-left-radius:0;color:#fff;display:block;font-size:14px;font-weight:700;margin:0 auto;padding:.4rem 1rem}.r-load-more button:hover{background:rgba(0,0,0,.871)}@media screen and (max-width:1200px){.r-map{margin-top:2rem!important}.r-map .leaflet-container{height:50vh!important}}@media screen and (min-width:600px){.no-map .r-annuaire-wrapper{display:block}.no-map .r-wrapper .r-result-list{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(244px,1fr));max-width:1296px}.no-map .r-wrapper .r-list-item-group{display:block!important;transition:all .2s ease}.no-map .r-wrapper .r-list-item-group:focus,.no-map .r-wrapper .r-list-item-group:hover{-webkit-transform:translateY(-10px)!important;transform:translateY(-10px)!important}.no-map .r-wrapper .r-list-item-group .r-list-item{box-shadow:0 8px 26px rgba(0,0,0,.08);flex-direction:column!important}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-img{aspect-ratio:5/3;flex:inherit;height:auto;margin-bottom:0;width:100%!important}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text{display:block;margin-bottom:.5rem;margin-right:1.5rem;margin-top:.5rem}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text:after{display:none}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-categorie{margin-bottom:.25rem;margin-top:.25rem}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-title{font-size:16px;margin-bottom:.25rem;margin-top:.25rem}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all{display:block!important}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all .r-item-adresse{margin-bottom:.25rem;margin-top:.25rem;width:auto}.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all .mails,.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all .phones,.no-map .r-wrapper .r-list-item-group .r-list-item .r-item-text .r-item-all .topics{margin-bottom:.25rem;margin-top:.25rem}}.no-map .r-result.r-annuaire-result{max-width:1296px}.no-map .annuaire-content{margin:0 auto;max-width:700px}
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 363.smartweb-webcomponents-compiled.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkimio_smartweb_core_webcomponents=self.webpackChunkimio_smartweb_core_webcomponents||[]).push([[363],{27528:function(e,t,r){r.r(t),r.d(t,{default:function(){return R}});var n=r(78709),a=r(12707),l=r(51031),c=r(60563),o=r(14844),i=r(93580);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,c,o=[],i=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=l.call(r)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{if(!i&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(u)throw a}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var g=function(e){var t=(0,l.k6)(),a=r(31296),u=v((0,n.useState)(e.activeFilter),2),m=u[0],y=u[1],g=v((0,n.useState)(null),2),d=g[0],b=g[1],E=v((0,n.useState)(null),2),w=E[0],x=E[1],N=v((0,n.useState)(null),2),S=N[0],O=N[1],j=(0,o.Z)({method:"get",url:"",baseURL:e.url,headers:{Accept:"application/json"},params:m}),_=j.response;j.error,j.isLoading,(0,n.useEffect)((function(){if(null!==_){var e=_.topics&&_.topics.map((function(e){return{value:e.token,label:e.title}})),t=_.taxonomy_contact_category&&_.taxonomy_contact_category.map((function(e){return{value:e.token,label:e.title}})),r=_.facilities&&_.facilities.map((function(e){return{value:e.token,label:e.title}}));b(e),x(t),O(r)}}),[_]);var A=(0,n.useCallback)((function(e){var t=e.target,r=t.name,n=t.value;n.length>2?y((function(e){return f(f({},e),{},p({},r,n))}),[]):y((function(e){var t=f({},e);t[r];return s(t,[r].map(h))}))})),k=(0,n.useCallback)((function(e,t){var r=t.name;e?y((function(t){return f(f({},t),{},p({},r,e.value))}),[]):y((function(e){var t=f({},e);t[r];return s(t,[r].map(h))}))})),C=(0,n.useRef)(!0);(0,n.useEffect)((function(){C.current?C.current=!1:(t.push({pathname:"./",search:a.stringify(m)}),e.onChange(m))}),[m]);var L=d&&d.filter((function(t){return t.value===e.activeFilter.topics})),P=w&&w.filter((function(t){return t.value===e.activeFilter.taxonomy_contact_category})),z=S&&S.filter((function(t){return t.value===e.activeFilter.facilities})),I={control:function(e){return f(f({},e),{},{backgroundColor:"white",borderRadius:"0",height:"50px"})},placeholder:function(e){return f(f({},e),{},{color:"000",fontWeight:"bold",fontSize:"12px",textTransform:"uppercase",letterSpacing:"1.2px"})},option:function(e,t){t.data,t.isDisabled,t.isFocused,t.isSelected;return f({},e)}};return n.createElement(n.Fragment,null,n.createElement("form",{className:"r-filter",onSubmit:function(t){t.preventDefault(),e.onChange(m)}},n.createElement("div",{className:"r-filter-search"},n.createElement(i.$H,null,(function(e){var t=e.translate;return n.createElement("input",{className:"input-custom-class",name:"SearchableText",type:"text",value:m.SearchableText,onChange:A,placeholder:t({text:"Recherche"})})})),n.createElement("button",{type:"submit"}))),n.createElement("div",{className:"r-filter topics-Filter"},n.createElement(i.$H,null,(function(e){var t=e.translate;return n.createElement(c.ZP,{styles:I,name:"topics",className:"select-custom-class library-topics",isClearable:!0,onChange:k,options:d&&d,placeholder:t({text:"Thématiques"}),value:L&&L[0]})}))),n.createElement("div",{className:"r-filter facilities-Filter"},n.createElement(i.$H,null,(function(e){var t=e.translate;return n.createElement(c.ZP,{styles:I,name:"taxonomy_contact_category_for_filtering",className:"select-custom-class library-facilities",isClearable:!0,onChange:k,options:w&&w,placeholder:t({text:"Catégories"}),value:P&&P[0]})}))),n.createElement("div",{className:"r-filter facilities-Filter"},n.createElement(i.$H,null,(function(e){var t=e.translate;return n.createElement(c.ZP,{styles:I,name:"facilities",className:"select-custom-class library-facilities",isClearable:!0,onChange:k,options:S&&S,placeholder:t({text:"Facilités"}),value:z&&z[0]})}))))},d=r(6489),b=r(61584),E=(r(17110),["u"]);function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,c,o=[],i=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=l.call(r)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{if(!i&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(u)throw a}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function N(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var S=function(e){var t=e.queryUrl,a=e.onChange,c=(0,l.k6)(),u=r(31296),s=Object.assign({UID:u.parse((0,d.Z)().toString()).u,fullobjects:1}),m=(s.u,N(s,E)),f=w((0,n.useState)(m),2),p=f[0],h=f[1],v=w((0,n.useState)({}),2),y=v[0],g=v[1],x=w((0,n.useState)(),2),S=x[0],O=x[1],j=w((0,n.useState)(),2),_=j[0],A=j[1],k=w((0,n.useState)([]),2),C=k[0],L=k[1],P=w((0,n.useState)(),2),z=P[0],I=P[1],M=(0,o.Z)({method:"get",url:"",baseURL:t,headers:{Accept:"application/json"},params:p},[]).response;(0,n.useEffect)((function(){h(m)}),[u.parse((0,d.Z)().toString()).u]),(0,n.useEffect)((function(){null!==M&&g(M.items[0]),window.scrollTo(0,0)}),[M]),(0,n.useEffect)((function(){if(y.image_affiche_scale){var e=new Image;e.src=y.image_affiche_scale,e.onload=function(){I(e)}}}),[y]),(0,n.useEffect)((function(){y.urls&&L(y.urls.filter((function(e){return"website"!==e.type})))}),[y]),(0,n.useEffect)((function(){y.items&&y.items.length>0&&(O(y.items.filter((function(e){return"File"===e["@type"]}))),A(y.items.filter((function(e){return"Image"===e["@type"]}))))}),[y]);var U=y.country&&y.country.title,F="https://www.google.com/maps/dir/?api=1&destination="+y.street+"+"+y.number+"+"+y.complement+"+"+y.zipcode+"+"+y.city+"+"+U;return F=F.replaceAll("+null",""),n.createElement("div",{className:"annuaire-content r-content"},n.createElement("button",{type:"button",onClick:function(){c.push("./"),a(null)}},n.createElement(i.vN,{text:"Retour"})),n.createElement("article",null,n.createElement("header",null,n.createElement("h2",{className:"r-content-title"},y.title),y.subtitle?n.createElement("h3",{className:"r-content-subtitle"},y.subtitle):""),y.image_affiche_scale&&n.createElement("figure",{className:"r-content-figure"},n.createElement("div",{className:"r-content-figure-blur",style:{backgroundImage:"url("+y.image_affiche_scale+")"}}),n.createElement("img",{className:"r-content-figure-img",src:y.image_affiche_scale,style:{objectFit:z&&z.width>=z.height?"cover":"contain"}}))),n.createElement("div",{className:"contactCard"},n.createElement("div",{className:"contactText"},n.createElement("div",{className:"r-content-description"},n.createElement(b.D,null,y.description)),n.createElement("div",{className:"contactTextAll"},n.createElement("p",{className:"annuaire-info-title"},"Infos pratiques"),y.category?n.createElement("span",null,y.category):"",y.street?n.createElement("div",{className:"annaire-adresse"},n.createElement("div",{className:"annaire-adresse-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"}))),n.createElement("div",{className:"annaire-adresse-content"},n.createElement("a",{href:F,target:"_blank",rel:"noreferrer"},y.number?n.createElement("span",null,y.number+" "):"",y.street?n.createElement("span",null,y.street+", "):"",y.complement?n.createElement("span",null,y.complement+", "):"",y.zipcode?n.createElement("span",null,y.zipcode+" "):"",y.city?n.createElement("span",null,y.city):""))):"",y.phones&&y.phones.length>0?n.createElement("div",{className:"annuaire-phone"},n.createElement("div",{className:"annuaire-phone-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"}))),n.createElement("div",{className:"annuaire-phone-content"},y.phones.map((function(e,t){return n.createElement("span",{key:t},e.label?e.label+": ":"",n.createElement("a",{href:"tel:"+e.number},e.number))})))):"",y.mails&&y.mails.length>0?n.createElement("div",{className:"annuaire-website-mails"},n.createElement("div",{className:"annuaire-website-mails-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z"}))),n.createElement("div",{className:"annuaire-website-mails-content"},y.mails.map((function(e,t){return n.createElement("span",{key:t},e.label?e.label+": ":"",n.createElement("a",{href:"mailto:"+e.mail_address},e.mail_address))})))):"",y.urls&&y.urls.length>0?n.createElement("div",{className:"annuaire-website-link"},n.createElement("div",{className:"annuaire-website-link-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},n.createElement("path",{d:"M2.5 2A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2h-11zM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5z"}))),n.createElement("ul",{className:"annuaire-website-link-content"},y.urls.filter((function(e){return"website"===e.type})).map((function(e,t){return n.createElement(n.Fragment,null,n.createElement("li",{key:t},n.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},e.url)))})))):"",C&&n.createElement("div",{className:"annuaire-social-link"},C.length>1?n.createElement("ul",null,C.map((function(e,t){return n.createElement("li",{key:t},n.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},"facebook"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z"})):"instagram"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"})):"twitter"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"})):"youtube"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"})):"pinterest"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.938-3.977.938-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.682 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.222.907-.035.146-.116.177-.268.107-1-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z"})):""))}))):n.createElement("div",null,n.createElement("a",{href:C[0]&&C[0].url,target:"_blank",rel:"noreferrer"},C[0]&&"facebook"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z"})):C[0]&&"instagram"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"})):C[0]&&"twitter"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"})):C[0]&&"youtube"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"})):C[0]&&"pinterest"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.938-3.977.938-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.682 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.222.907-.035.146-.116.177-.268.107-1-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z"})):""))),n.createElement("div",{className:"topics"},y.topics?y.topics.map((function(e,t){return n.createElement("span",{key:t},e.title)})):""),y.logo_thumb_scale?n.createElement("img",{className:"annuaire-logo",src:y.logo_thumb_scale,alt:"Logo"}):"",y.logo_thumb_scale&&n.createElement("img",{className:"annuaire-logo",src:y.logo_thumb_scale,alt:"Logo"}))),S&&n.createElement("div",{className:"r-content-files"},S.map((function(e,t){return n.createElement("div",{key:t,className:"r-content-file"},n.createElement("a",{href:e.targetUrl,className:"r-content-file-link",rel:"nofollow"},n.createElement("span",{className:"r-content-file-title"},e.title),n.createElement("span",{className:"r-content-file-icon"},n.createElement("svg",{width:"21",height:"21",viewBox:"0 0 24 24",fill:"none",stroke:"#8899a4","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"arcs"},n.createElement("path",{d:"M3 15v4c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-4M17 9l-5 5-5-5M12 12.8V2.5"})))))}))),_&&n.createElement("div",{className:"r-content-gallery"},n.createElement("div",{className:"spotlight-group flexbin r-content-gallery"},_.map((function(e,t){return n.createElement("a",{key:t,className:"spotlight",href:e.image_full_scale},n.createElement("img",{src:e.image_preview_scale}))}))))))};function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function j(){j=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",o=l.asyncIterator||"@@asyncIterator",i=l.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var l=t&&t.prototype instanceof g?t:g,c=Object.create(l.prototype),o=new P(n||[]);return a(c,"_invoke",{value:A(e,r,o)}),c}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",p="suspendedYield",h="executing",v="completed",y={};function g(){}function d(){}function b(){}var E={};u(E,c,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(z([])));x&&x!==r&&n.call(x,c)&&(E=x);var N=b.prototype=g.prototype=Object.create(E);function S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(a,l,c,o){var i=m(e[a],e,l);if("throw"!==i.type){var u=i.arg,s=u.value;return s&&"object"==O(s)&&n.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,c,o)}),(function(e){r("throw",e,c,o)})):t.resolve(s).then((function(e){u.value=e,c(u)}),(function(e){return r("throw",e,c,o)}))}o(i.arg)}var l;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return l=l?l.then(a,a):a()}})}function A(t,r,n){var a=f;return function(l,c){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===l)throw c;return{value:e,done:!0}}for(n.method=l,n.arg=c;;){var o=n.delegate;if(o){var i=k(o,n);if(i){if(i===y)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var u=m(t,r,n);if("normal"===u.type){if(a=n.done?v:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=v,n.method="throw",n.arg=u.arg)}}}function k(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var l=m(a,t.iterator,r.arg);if("throw"===l.type)return r.method="throw",r.arg=l.arg,r.delegate=null,y;var c=l.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function z(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,l=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return l.next=l}}throw new TypeError(O(t)+" is not iterable")}return d.prototype=b,a(N,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:d,configurable:!0}),d.displayName=u(b,i,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,i,"GeneratorFunction")),e.prototype=Object.create(N),e},t.awrap=function(e){return{__await:e}},S(_.prototype),u(_.prototype,o,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,n,a,l){void 0===l&&(l=Promise);var c=new _(s(e,r,n,a),l);return t.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},S(N),u(N,i,"Generator"),u(N,c,(function(){return this})),u(N,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=z,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return o.type="throw",o.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var l=this.tryEntries.length-1;l>=0;--l){var c=this.tryEntries[l],o=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(i&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var l=a;break}}l&&("break"===e||"continue"===e)&&l.tryLoc<=t&&t<=l.finallyLoc&&(l=null);var c=l?l.completion:{};return c.type=e,c.arg=t,l?(this.method="next",this.next=l.finallyLoc,y):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:z(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function _(e,t,r,n,a,l,c){try{var o=e[l](c),i=o.value}catch(e){return void r(e)}o.done?t(i):Promise.resolve(i).then(n,a)}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,c,o=[],i=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=l.call(r)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{if(!i&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(u)throw a}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var C=function(e){var t=e.item,r=A((0,n.useState)(new Image),2),a=r[0],l=r[1],c=A((0,n.useState)(""),2),o=c[0],i=c[1],u=t.title&&t.title,s=t.taxonomy_contact_category&&t.taxonomy_contact_category[0],m=t.number?t.number:"",f=t.street?t.street:"",p=t.complement?t.complement:"",h=t.zipcode?t.zipcode:"",v=t.city?t.city:"",y=t.phones?t.phones:"",g=t.mails?t.mails:"",d=t.topics?t.topics:"",b=t.country&&t.country.title,E="https://www.google.com/maps/dir/?api=1&destination="+t.street+"+"+t.number+"+"+t.complement+"+"+t.zipcode+"+"+t.city+"+"+b;return E=E.replaceAll("+null",""),(0,n.useEffect)((function(){var e=function(){var e,r=(e=j().mark((function e(){var r,n,a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new Image,n=t.image_affiche_scale||t.logo_thumb_scale||"",r.src=n,e.prev=3,e.next=6,r.decode();case 6:l(r),a=r.width<r.height?"img-contain":"img-cover",i(a),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),console.error("Error loading image:",e.t0);case 14:case"end":return e.stop()}}),e,null,[[3,11]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var l=e.apply(t,r);function c(e){_(l,n,a,c,o,"next",e)}function o(e){_(l,n,a,c,o,"throw",e)}c(void 0)}))});return function(){return r.apply(this,arguments)}}();(t.image_affiche_scale||t.logo_thumb_scale)&&e()}),[t]),n.createElement("div",{className:"r-list-item"},a&&a.src?n.createElement(n.Fragment,null,n.createElement("div",{className:"r-item-img"},n.createElement("div",{className:"r-content-figure-blur",style:{backgroundImage:"url("+a.src+")"}}),n.createElement("img",{className:"r-content-figure-img "+o,src:a.src}))):n.createElement(n.Fragment,null,n.createElement("div",{className:"r-item-img r-item-img-placeholder"})),n.createElement("div",{className:"r-item-text"},n.createElement("span",{className:"r-item-title"},u),s?n.createElement("span",{className:"r-item-categorie"},s.title):"",n.createElement("div",{className:"r-item-all"},f?n.createElement("div",{className:"r-item-adresse"},m?n.createElement("span",null,m+" "):"",f?n.createElement("span",null,f+", "):"",p?n.createElement("span",null,p+", "):"",n.createElement("br",null),h?n.createElement("span",null,h+" "):"",v?n.createElement("span",null,v):"",n.createElement("div",{className:"itineraty"},n.createElement("a",{href:E,target:"_blank",rel:"noreferrer"},"Itinéraire"))):"",n.createElement("div",{className:"r-item-contact"},n.createElement("div",{className:"phones"},y?y.map((function(e,t){return n.createElement("span",{key:t},e.number)})):""),n.createElement("div",{className:"mails"},g?g.map((function(e,t){return n.createElement("span",{key:t},e.mail_address)})):""),n.createElement("div",{className:"topics"},d?d.map((function(e,t){return n.createElement("span",{key:t},e.title)})):"")))))},L=r(29924),P=r.n(L),z=function(e){var t=e.contactArray,r=e.onChange,l=e.onHover;e.parentCallback;function c(e){l(e)}return n.createElement(n.Fragment,null,n.createElement("ul",{className:"r-result-list annuaire-result-list"},t.map((function(e,t){return n.createElement("li",{key:t,className:"r-list-item-group",onMouseEnter:function(){return c(e.UID)},onMouseLeave:function(){return c(null)},onClick:function(){return t=e.UID,void r(t);var t}},n.createElement(a.rU,{className:"r-list-item-link",style:{textDecoration:"none"},to:{pathname:P()(e.title).replace(/[^a-zA-Z ]/g,"").replace(/\s/g,"-").toLowerCase(),search:"?u=".concat(e.UID),state:{idItem:e.UID}}}),n.createElement(C,{item:e,key:e.created}))}))))},I=r(57493),M=r(38401);function U(e){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U(e)}var F=["u"];function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){B(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function B(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==U(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==U(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===U(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||H(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,c,o=[],i=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=l.call(r)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{if(!i&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(u)throw a}}return o}}(e,t)||H(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){if(e){if("string"==typeof e)return V(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(e,t):void 0}}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function G(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function R(e){return n.createElement(a.VK,{basename:e.viewPath},n.createElement(i.zt,{language:e.currentLanguage,translation:M.Z},n.createElement($,{queryFilterUrl:e.queryFilterUrl,queryUrl:e.queryUrl,proposeUrl:e.proposeUrl,batchSize:e.batchSize,displayMap:e.displayMap})))}function $(e){var t=r(31296),a=Object.assign({b_start:0,fullobjects:1},t.parse((0,d.Z)().toString())),c=(a.u,G(a,F)),u=q((0,n.useState)([]),2),s=u[0],m=u[1],f=q((0,n.useState)([]),2),p=f[0],h=f[1],v=q((0,n.useState)(null),2),y=v[0],b=v[1],E=q((0,n.useState)(null),2),w=E[0],x=E[1],N=q((0,n.useState)(c),2),O=N[0],j=N[1],_=q((0,n.useState)(0),2),A=_[0],k=_[1],C=q((0,n.useState)(!1),2),L=C[0],P=C[1],M="True"===e.displayMap,U=(0,o.Z)({method:"get",url:"",baseURL:e.queryUrl,headers:{Accept:"application/json"},params:O,load:L},[]),T=U.response,B=(U.error,U.isLoading),H=U.isMore;(0,n.useEffect)((function(){null!==T&&(m(H?function(e){return[].concat(Z(e),Z(T.items))}:T.items),h(T.items_total))}),[T]);var V=function(e){b(e)};(0,n.useEffect)((function(){j((function(e){return D(D({},e),{},{b_start:A})}))}),[A]);var R,$,W=document.getElementById("portal-header").offsetHeight,Y=(0,n.useRef)(),K=q(n.useState({height:0}),2),J=K[0],Q=K[1];(0,n.useEffect)((function(){Q({height:Y.current.clientHeight})}),[Y.current]),s&&s.length>0?(R=n.createElement(z,{onChange:V,contactArray:s,onHover:function(e){x(e)}}),$=n.createElement(I.Z,{headerHeight:J.height+W,clickId:y,hoverId:w,items:s,queryUrl:e.queryUrl})):B||(R=n.createElement("p",null,n.createElement(i.vN,{text:"Aucun contact n'a été trouvé"})));var X=n.createElement("div",{className:"lds-roller-container"},n.createElement("div",{className:"lds-roller"},n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null)));return n.createElement("div",{className:"ref ".concat(M?"view-map":"no-map")},n.createElement("div",{className:"r-result-filter-container",ref:Y,style:{top:W}},n.createElement("div",{id:"r-result-filter",className:"r-result-filter container annuaire-result-filter"},n.createElement(g,{url:e.queryFilterUrl,activeFilter:O,onChange:function(e){P(!1),k((function(){return 0})),j(e),window.scrollTo(0,0)}}),e.proposeUrl&&n.createElement("div",{className:"r-add-contact"},n.createElement("a",{target:"_blank",rel:"noreferrer",href:e.proposeUrl},n.createElement(i.vN,{text:"Proposer un contact"}))),p>0?n.createElement("p",{className:"r-results-numbers"},n.createElement("span",null,p),p>1?n.createElement(i.vN,{text:"contacts trouvés"}):n.createElement(i.vN,{text:"contact trouvé"})):n.createElement("p",{className:"r-results-numbers"},n.createElement(i.vN,{text:"Aucun résultat"})))),n.createElement(l.rs,null,n.createElement(l.AW,{exact:!0,path:"/"},n.createElement("div",{className:"r-wrapper container r-annuaire-wrapper"},n.createElement("div",{className:"r-result r-annuaire-result"},n.createElement("div",null,R),n.createElement("div",{className:"r-load-more"},p-e.batchSize>A?n.createElement("div",null,n.createElement("span",{className:"no-more-result"},B?X:""),n.createElement("button",{onClick:function(){k((function(t){return t+parseInt(e.batchSize)})),P(!0)},className:"btn-grad"},B?n.createElement(i.vN,{text:"Chargement..."}):n.createElement(i.vN,{text:"Plus de résultats"}))):n.createElement("span",{className:"no-more-result"},B?X:""))),M&&n.createElement("div",{className:"r-map annuaire-map",style:{top:J.height+W,height:"calc(100vh-"+J.height+W}},$))),n.createElement(l.AW,{path:"/:name"},n.createElement("div",{className:"r-wrapper container r-annuaire-wrapper"},n.createElement("div",{className:"r-result r-annuaire-result"},n.createElement(S,{queryUrl:e.queryUrl,onChange:V})),M&&n.createElement("div",{className:"r-map annuaire-map",style:{top:J.height+W,height:"calc(100vh-"+J.height+W}},$)))))}}}]);
2
+ "use strict";(self.webpackChunkimio_smartweb_core_webcomponents=self.webpackChunkimio_smartweb_core_webcomponents||[]).push([[363],{27528:function(e,t,r){r.r(t),r.d(t,{default:function(){return R}});var n=r(78709),a=r(12707),l=r(51031),c=r(60563),o=r(14844),i=r(93580);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return(t=h(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,c,o=[],i=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=l.call(r)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{if(!i&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(u)throw a}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var g=function(e){var t=(0,l.k6)(),a=r(31296),u=v((0,n.useState)(e.activeFilter),2),m=u[0],y=u[1],g=v((0,n.useState)(null),2),d=g[0],b=g[1],E=v((0,n.useState)(null),2),w=E[0],x=E[1],N=v((0,n.useState)(null),2),S=N[0],O=N[1],j=(0,o.Z)({method:"get",url:"",baseURL:e.url,headers:{Accept:"application/json"},params:m}),_=j.response;j.error,j.isLoading,(0,n.useEffect)((function(){if(null!==_){var e=_.topics&&_.topics.map((function(e){return{value:e.token,label:e.title}})),t=_.taxonomy_contact_category&&_.taxonomy_contact_category.map((function(e){return{value:e.token,label:e.title}})),r=_.facilities&&_.facilities.map((function(e){return{value:e.token,label:e.title}}));b(e),x(t),O(r)}}),[_]);var A=(0,n.useCallback)((function(e){var t=e.target,r=t.name,n=t.value;n.length>2?y((function(e){return f(f({},e),{},p({},r,n))}),[]):y((function(e){var t=f({},e);t[r];return s(t,[r].map(h))}))})),k=(0,n.useCallback)((function(e,t){var r=t.name;e?y((function(t){return f(f({},t),{},p({},r,e.value))}),[]):y((function(e){var t=f({},e);t[r];return s(t,[r].map(h))}))})),C=(0,n.useRef)(!0);(0,n.useEffect)((function(){C.current?C.current=!1:(t.push({pathname:"./",search:a.stringify(m)}),e.onChange(m))}),[m]);var L=d&&d.filter((function(t){return t.value===e.activeFilter.topics})),P=w&&w.filter((function(t){return t.value===e.activeFilter.taxonomy_contact_category})),z=S&&S.filter((function(t){return t.value===e.activeFilter.facilities})),I={control:function(e){return f(f({},e),{},{backgroundColor:"white",borderRadius:"0",height:"50px"})},placeholder:function(e){return f(f({},e),{},{color:"000",fontWeight:"bold",fontSize:"12px",textTransform:"uppercase",letterSpacing:"1.2px"})},option:function(e,t){t.data,t.isDisabled,t.isFocused,t.isSelected;return f({},e)}};return n.createElement(n.Fragment,null,n.createElement("form",{className:"r-filter",onSubmit:function(t){t.preventDefault(),e.onChange(m)}},n.createElement("div",{className:"r-filter-search"},n.createElement(i.$H,null,(function(e){var t=e.translate;return n.createElement("input",{className:"input-custom-class",name:"SearchableText",type:"text",value:m.SearchableText,onChange:A,placeholder:t({text:"Recherche"})})})),n.createElement("button",{type:"submit"}))),n.createElement("div",{className:"r-filter topics-Filter"},n.createElement(i.$H,null,(function(e){var t=e.translate;return n.createElement(c.ZP,{styles:I,name:"topics",className:"select-custom-class library-topics",isClearable:!0,onChange:k,options:d&&d,placeholder:t({text:"Thématiques"}),value:L&&L[0]})}))),n.createElement("div",{className:"r-filter facilities-Filter"},n.createElement(i.$H,null,(function(e){var t=e.translate;return n.createElement(c.ZP,{styles:I,name:"taxonomy_contact_category_for_filtering",className:"select-custom-class library-facilities",isClearable:!0,onChange:k,options:w&&w,placeholder:t({text:"Catégories"}),value:P&&P[0]})}))),n.createElement("div",{className:"r-filter facilities-Filter"},n.createElement(i.$H,null,(function(e){var t=e.translate;return n.createElement(c.ZP,{styles:I,name:"facilities",className:"select-custom-class library-facilities",isClearable:!0,onChange:k,options:S&&S,placeholder:t({text:"Facilités"}),value:z&&z[0]})}))))},d=r(6489),b=r(61584),E=(r(17110),["u"]);function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,c,o=[],i=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=l.call(r)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{if(!i&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(u)throw a}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function N(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var S=function(e){var t=e.queryUrl,a=e.onChange,c=(0,l.k6)(),u=r(31296),s=Object.assign({UID:u.parse((0,d.Z)().toString()).u,fullobjects:1}),m=(s.u,N(s,E)),f=w((0,n.useState)(m),2),p=f[0],h=f[1],v=w((0,n.useState)({}),2),y=v[0],g=v[1],x=w((0,n.useState)(),2),S=x[0],O=x[1],j=w((0,n.useState)(),2),_=j[0],A=j[1],k=w((0,n.useState)([]),2),C=k[0],L=k[1],P=w((0,n.useState)(),2),z=P[0],I=P[1],M=w((0,n.useState)(!0),2),U=M[0],F=M[1],T=(0,o.Z)({method:"get",url:"",baseURL:t,headers:{Accept:"application/json"},params:p},[]).response;(0,n.useEffect)((function(){h(m)}),[u.parse((0,d.Z)().toString()).u]),(0,n.useEffect)((function(){null!==T&&g(T.items[0]),window.scrollTo(0,0)}),[T]),(0,n.useEffect)((function(){if(y.image_affiche_scale){var e=new Image;e.src=y.image_affiche_scale,e.onload=function(){I(e)}}}),[y]),(0,n.useEffect)((function(){y.urls&&L(y.urls.filter((function(e){return"website"!==e.type})))}),[y]),(0,n.useEffect)((function(){y.items&&y.items.length>0&&(O(y.items.filter((function(e){return"File"===e["@type"]}))),A(y.items.filter((function(e){return"Image"===e["@type"]}))))}),[y]);var B=y.country&&y.country.title,D="https://www.google.com/maps/dir/?api=1&destination="+y.street+"+"+y.number+"+"+y.complement+"+"+y.zipcode+"+"+y.city+"+"+B;D=D.replaceAll("+null","");return n.createElement("div",{className:"annuaire-content r-content"},n.createElement("button",{type:"button",onClick:function(){c.push("./"),a(null)}},n.createElement(i.vN,{text:"Retour"})),n.createElement("article",null,n.createElement("header",null,n.createElement("h2",{className:"r-content-title"},y.title),y.subtitle?n.createElement("h3",{className:"r-content-subtitle"},y.subtitle):""),y.image_affiche_scale&&n.createElement("figure",{className:"r-content-figure"},n.createElement("div",{className:"r-content-figure-blur",style:{backgroundImage:"url("+y.image_affiche_scale+")"}}),n.createElement("img",{className:"r-content-figure-img",src:y.image_affiche_scale,style:{objectFit:z&&z.width>=z.height?"cover":"contain"},alt:""}))),n.createElement("div",{className:"contactCard"},n.createElement("div",{className:"contactText"},n.createElement("div",{className:"r-content-description"},n.createElement(b.D,null,y.description)),n.createElement("div",{className:"contactTextAll"},n.createElement("p",{className:"annuaire-info-title"},"Infos pratiques"),y.category?n.createElement("span",null,y.category):"",y.street?n.createElement("div",{className:"annaire-adresse"},n.createElement("div",{className:"annaire-adresse-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"}))),n.createElement("div",{className:"annaire-adresse-content"},n.createElement("a",{href:D,target:"_blank",rel:"noreferrer"},y.number?n.createElement("span",null,y.number+" "):"",y.street?n.createElement("span",null,y.street+", "):"",y.complement?n.createElement("span",null,y.complement+", "):"",y.zipcode?n.createElement("span",null,y.zipcode+" "):"",y.city?n.createElement("span",null,y.city):""))):"",y.table_date&&n.createElement("div",{onClick:function(){F(!U)},className:"annuaire-schedul",role:"button","aria-expanded":"false"},n.createElement("div",{className:"annuaire-schedul-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-clock-fill",viewBox:"0 0 16 16"},n.createElement("path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71z"}))),n.createElement("div",{className:"annuaire-schedul-content"},U?n.createElement(n.Fragment,null,n.createElement("span",{className:"Fermé"===y.schedule_for_today?"annuaire-day-close":"annuaire-day-open"},y.schedule_for_today),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",fill:"currentColor",class:"bi bi-caret-down-fill",viewBox:"0 0 16 16"},n.createElement("path",{d:"M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"}))):n.createElement("div",null,n.createElement("ul",null,y.table_date.map((function(e,t){var r=Object.keys(e)[0],a=e[r];return n.createElement("li",{key:t},n.createElement("strong",null,r,":")," ",a)})))))),y.phones&&y.phones.length>0?n.createElement("div",{className:"annuaire-phone"},n.createElement("div",{className:"annuaire-phone-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"}))),n.createElement("div",{className:"annuaire-phone-content"},y.phones.map((function(e,t){return n.createElement("span",{key:t},e.label?e.label+": ":"",n.createElement("a",{href:"tel:"+e.number},e.number))})))):"",y.mails&&y.mails.length>0?n.createElement("div",{className:"annuaire-website-mails"},n.createElement("div",{className:"annuaire-website-mails-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z"}))),n.createElement("div",{className:"annuaire-website-mails-content"},y.mails.map((function(e,t){return n.createElement("span",{key:t},e.label?e.label+": ":"",n.createElement("a",{href:"mailto:"+e.mail_address},e.mail_address))})))):"",y.urls&&y.urls.length>0?n.createElement("div",{className:"annuaire-website-link"},n.createElement("div",{className:"annuaire-website-link-icon"},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},n.createElement("path",{d:"M2.5 2A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2h-11zM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5z"}))),n.createElement("ul",{className:"annuaire-website-link-content"},y.urls.filter((function(e){return"website"===e.type})).map((function(e,t){return n.createElement(n.Fragment,null,n.createElement("li",{key:t},n.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},e.url)))})))):"",C&&n.createElement("div",{className:"annuaire-social-link"},C.length>1?n.createElement("ul",null,C.map((function(e,t){return n.createElement("li",{key:t},n.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},"facebook"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z"})):"instagram"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"})):"twitter"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"})):"youtube"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"})):"pinterest"===e.type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.938-3.977.938-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.682 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.222.907-.035.146-.116.177-.268.107-1-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z"})):""))}))):n.createElement("div",null,n.createElement("a",{href:C[0]&&C[0].url,target:"_blank",rel:"noreferrer"},C[0]&&"facebook"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z"})):C[0]&&"instagram"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"})):C[0]&&"twitter"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"})):C[0]&&"youtube"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"})):C[0]&&"pinterest"===C[0].type?n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"currentColor",viewBox:"0 0 16 16"},n.createElement("path",{d:"M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.938-3.977.938-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.682 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.222.907-.035.146-.116.177-.268.107-1-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z"})):""))),y.logo_thumb_scale?n.createElement("img",{className:"annuaire-logo",src:y.logo_thumb_scale,alt:"Logo"}):"",y.logo_thumb_scale&&n.createElement("img",{className:"annuaire-logo",src:y.logo_thumb_scale,alt:"Logo"}))),S&&n.createElement("div",{className:"r-content-files"},S.map((function(e,t){return n.createElement("div",{key:t,className:"r-content-file"},n.createElement("a",{href:e.targetUrl,className:"r-content-file-link",rel:"nofollow"},n.createElement("span",{className:"r-content-file-title"},e.title),n.createElement("span",{className:"r-content-file-icon"},n.createElement("svg",{width:"21",height:"21",viewBox:"0 0 24 24",fill:"none",stroke:"#8899a4","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"arcs"},n.createElement("path",{d:"M3 15v4c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-4M17 9l-5 5-5-5M12 12.8V2.5"})))))}))),_&&n.createElement("div",{className:"r-content-gallery"},n.createElement("div",{className:"spotlight-group flexbin r-content-gallery"},_.map((function(e,t){return n.createElement("a",{key:t,className:"spotlight",href:e.image_full_scale},n.createElement("img",{src:e.image_preview_scale,alt:""}))}))))))};function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function j(){j=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",o=l.asyncIterator||"@@asyncIterator",i=l.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var l=t&&t.prototype instanceof g?t:g,c=Object.create(l.prototype),o=new P(n||[]);return a(c,"_invoke",{value:A(e,r,o)}),c}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var f="suspendedStart",p="suspendedYield",h="executing",v="completed",y={};function g(){}function d(){}function b(){}var E={};u(E,c,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(z([])));x&&x!==r&&n.call(x,c)&&(E=x);var N=b.prototype=g.prototype=Object.create(E);function S(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(a,l,c,o){var i=m(e[a],e,l);if("throw"!==i.type){var u=i.arg,s=u.value;return s&&"object"==O(s)&&n.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,c,o)}),(function(e){r("throw",e,c,o)})):t.resolve(s).then((function(e){u.value=e,c(u)}),(function(e){return r("throw",e,c,o)}))}o(i.arg)}var l;a(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return l=l?l.then(a,a):a()}})}function A(t,r,n){var a=f;return function(l,c){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===l)throw c;return{value:e,done:!0}}for(n.method=l,n.arg=c;;){var o=n.delegate;if(o){var i=k(o,n);if(i){if(i===y)continue;return i}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var u=m(t,r,n);if("normal"===u.type){if(a=n.done?v:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=v,n.method="throw",n.arg=u.arg)}}}function k(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var l=m(a,t.iterator,r.arg);if("throw"===l.type)return r.method="throw",r.arg=l.arg,r.delegate=null,y;var c=l.arg;return c?c.done?(r[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function z(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,l=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return l.next=l}}throw new TypeError(O(t)+" is not iterable")}return d.prototype=b,a(N,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:d,configurable:!0}),d.displayName=u(b,i,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,i,"GeneratorFunction")),e.prototype=Object.create(N),e},t.awrap=function(e){return{__await:e}},S(_.prototype),u(_.prototype,o,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,n,a,l){void 0===l&&(l=Promise);var c=new _(s(e,r,n,a),l);return t.isGeneratorFunction(r)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},S(N),u(N,i,"Generator"),u(N,c,(function(){return this})),u(N,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=z,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return o.type="throw",o.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var l=this.tryEntries.length-1;l>=0;--l){var c=this.tryEntries[l],o=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var i=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(i&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var l=a;break}}l&&("break"===e||"continue"===e)&&l.tryLoc<=t&&t<=l.finallyLoc&&(l=null);var c=l?l.completion:{};return c.type=e,c.arg=t,l?(this.method="next",this.next=l.finallyLoc,y):this.complete(c)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:z(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function _(e,t,r,n,a,l,c){try{var o=e[l](c),i=o.value}catch(e){return void r(e)}o.done?t(i):Promise.resolve(i).then(n,a)}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,c,o=[],i=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=l.call(r)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{if(!i&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(u)throw a}}return o}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var C=function(e){var t=e.item,r=A((0,n.useState)(new Image),2),a=r[0],l=r[1],c=A((0,n.useState)(""),2),o=c[0],i=c[1],u=t.title&&t.title,s=t.taxonomy_contact_category&&t.taxonomy_contact_category[0],m=t.number?t.number:"",f=t.street?t.street:"",p=t.complement?t.complement:"",h=t.zipcode?t.zipcode:"",v=t.city?t.city:"",y=t.phones?t.phones:"",g=t.mails?t.mails:"",d=t.topics?t.topics:"",b=t.country&&t.country.title,E="https://www.google.com/maps/dir/?api=1&destination="+t.street+"+"+t.number+"+"+t.complement+"+"+t.zipcode+"+"+t.city+"+"+b;return E=E.replaceAll("+null",""),(0,n.useEffect)((function(){var e=function(){var e,r=(e=j().mark((function e(){var r,n,a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new Image,n=t.image_affiche_scale||t.logo_thumb_scale||"",r.src=n,e.prev=3,e.next=6,r.decode();case 6:l(r),a=r.width<r.height?"img-contain":"img-cover",i(a),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),console.error("Error loading image:",e.t0);case 14:case"end":return e.stop()}}),e,null,[[3,11]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var l=e.apply(t,r);function c(e){_(l,n,a,c,o,"next",e)}function o(e){_(l,n,a,c,o,"throw",e)}c(void 0)}))});return function(){return r.apply(this,arguments)}}();(t.image_affiche_scale||t.logo_thumb_scale)&&e()}),[t]),n.createElement("div",{className:"r-list-item"},a&&a.src?n.createElement(n.Fragment,null,n.createElement("div",{className:"r-item-img"},n.createElement("div",{className:"r-content-figure-blur",style:{backgroundImage:"url("+a.src+")"}}),n.createElement("img",{className:"r-content-figure-img "+o,src:a.src,alt:""}))):n.createElement(n.Fragment,null,n.createElement("div",{className:"r-item-img r-item-img-placeholder"})),n.createElement("div",{className:"r-item-text"},n.createElement("span",{className:"r-item-title"},u),s?n.createElement("span",{className:"r-item-categorie"},s.title):"",n.createElement("div",{className:"r-item-all"},f?n.createElement("div",{className:"r-item-adresse"},m?n.createElement("span",null,m+" "):"",f?n.createElement("span",null,f+", "):"",p?n.createElement("span",null,p+", "):"",n.createElement("br",null),h?n.createElement("span",null,h+" "):"",v?n.createElement("span",null,v):"",n.createElement("div",{className:"itineraty"},n.createElement("a",{href:E,target:"_blank",rel:"noreferrer"},"Itinéraire"))):"",n.createElement("div",{className:"r-item-contact"},n.createElement("div",{className:"phones"},y?y.map((function(e,t){return n.createElement("span",{key:t},e.number)})):""),n.createElement("div",{className:"mails"},g?g.map((function(e,t){return n.createElement("span",{key:t},e.mail_address)})):""),n.createElement("div",{className:"topics"},d?d.map((function(e,t){return n.createElement("span",{key:t},e.title)})):"")))))},L=r(29924),P=r.n(L),z=function(e){var t=e.contactArray,r=e.onChange,l=e.onHover;e.parentCallback;function c(e){l(e)}return n.createElement(n.Fragment,null,n.createElement("ul",{className:"r-result-list annuaire-result-list"},t.map((function(e,t){return n.createElement("li",{key:t,className:"r-list-item-group",onMouseEnter:function(){return c(e.UID)},onMouseLeave:function(){return c(null)},onClick:function(){return t=e.UID,void r(t);var t}},n.createElement(a.rU,{className:"r-list-item-link",style:{textDecoration:"none"},to:{pathname:P()(e.title).replace(/[^a-zA-Z ]/g,"").replace(/\s/g,"-").toLowerCase(),search:"?u=".concat(e.UID),state:{idItem:e.UID}}}),n.createElement(C,{item:e,key:e.created}))}))))},I=r(57493),M=r(38401);function U(e){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U(e)}var F=["u"];function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==U(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==U(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===U(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(e){return function(e){if(Array.isArray(e))return V(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||H(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,c,o=[],i=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;i=!1}else for(;!(i=(n=l.call(r)).done)&&(o.push(n.value),o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{if(!i&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(u)throw a}}return o}}(e,t)||H(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){if(e){if("string"==typeof e)return V(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(e,t):void 0}}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function G(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function R(e){return n.createElement(a.VK,{basename:e.viewPath},n.createElement(i.zt,{language:e.currentLanguage,translation:M.Z},n.createElement($,{queryFilterUrl:e.queryFilterUrl,queryUrl:e.queryUrl,proposeUrl:e.proposeUrl,batchSize:e.batchSize,displayMap:e.displayMap})))}function $(e){var t=r(31296),a=Object.assign({b_start:0,fullobjects:1},t.parse((0,d.Z)().toString())),c=(a.u,G(a,F)),u=q((0,n.useState)([]),2),s=u[0],m=u[1],f=q((0,n.useState)([]),2),p=f[0],h=f[1],v=q((0,n.useState)(null),2),y=v[0],b=v[1],E=q((0,n.useState)(null),2),w=E[0],x=E[1],N=q((0,n.useState)(c),2),O=N[0],j=N[1],_=q((0,n.useState)(0),2),A=_[0],k=_[1],C=q((0,n.useState)(!1),2),L=C[0],P=C[1],M="True"===e.displayMap,U=(0,o.Z)({method:"get",url:"",baseURL:e.queryUrl,headers:{Accept:"application/json"},params:O,load:L},[]),T=U.response,D=(U.error,U.isLoading),H=U.isMore;(0,n.useEffect)((function(){null!==T&&(m(H?function(e){return[].concat(Z(e),Z(T.items))}:T.items),h(T.items_total))}),[T]);var V=function(e){b(e)};(0,n.useEffect)((function(){j((function(e){return B(B({},e),{},{b_start:A})}))}),[A]);var R,$,W=document.getElementById("portal-header").offsetHeight,Y=(0,n.useRef)(),K=q(n.useState({height:0}),2),J=K[0],Q=K[1];(0,n.useEffect)((function(){Q({height:Y.current.clientHeight})}),[Y.current]),s&&s.length>0?(R=n.createElement(z,{onChange:V,contactArray:s,onHover:function(e){x(e)}}),$=n.createElement(I.Z,{headerHeight:J.height+W,clickId:y,hoverId:w,items:s,queryUrl:e.queryUrl})):D||(R=n.createElement("p",null,n.createElement(i.vN,{text:"Aucun contact n'a été trouvé"})));var X=n.createElement("div",{className:"lds-roller-container"},n.createElement("div",{className:"lds-roller"},n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null),n.createElement("div",null)));return n.createElement("div",{className:"ref ".concat(M?"view-map":"no-map")},n.createElement("div",{className:"r-result-filter-container",ref:Y,style:{top:W}},n.createElement("div",{id:"r-result-filter",className:"r-result-filter container annuaire-result-filter"},n.createElement(g,{url:e.queryFilterUrl,activeFilter:O,onChange:function(e){P(!1),k((function(){return 0})),j(e),window.scrollTo(0,0)}}),e.proposeUrl&&n.createElement("div",{className:"r-add-contact"},n.createElement("a",{target:"_blank",rel:"noreferrer",href:e.proposeUrl},n.createElement(i.vN,{text:"Proposer un contact"}))),p>0?n.createElement("p",{className:"r-results-numbers"},n.createElement("span",null,p),p>1?n.createElement(i.vN,{text:"contacts trouvés"}):n.createElement(i.vN,{text:"contact trouvé"})):n.createElement("p",{className:"r-results-numbers"},n.createElement(i.vN,{text:"Aucun résultat"})))),n.createElement(l.rs,null,n.createElement(l.AW,{exact:!0,path:"/"},n.createElement("div",{className:"r-wrapper container r-annuaire-wrapper"},n.createElement("div",{className:"r-result r-annuaire-result"},n.createElement("div",null,R),n.createElement("div",{className:"r-load-more"},p-e.batchSize>A?n.createElement("div",null,n.createElement("span",{className:"no-more-result"},D?X:""),n.createElement("button",{onClick:function(){k((function(t){return t+parseInt(e.batchSize)})),P(!0)},className:"btn-grad"},D?n.createElement(i.vN,{text:"Chargement..."}):n.createElement(i.vN,{text:"Plus de résultats"}))):n.createElement("span",{className:"no-more-result"},D?X:""))),M&&n.createElement("div",{className:"r-map annuaire-map",style:{top:J.height+W,height:"calc(100vh-"+J.height+W}},$))),n.createElement(l.AW,{path:"/:name"},n.createElement("div",{className:"r-wrapper container r-annuaire-wrapper"},n.createElement("div",{className:"r-result r-annuaire-result"},n.createElement(S,{queryUrl:e.queryUrl,onChange:V})),M&&n.createElement("div",{className:"r-map annuaire-map",style:{top:J.height+W,height:"calc(100vh-"+J.height+W}},$)))))}}}]);