1<!DOCTYPE html> 2<html lang="fr"> 3<head> 4 <meta charset="utf-8"> 5 <meta name="referrer" content="origin-when-crossorigin"> 6 <meta name="viewport" content="width=device-width, user-scalable=no" /> 7 8 <link rel="icon" href="https://hotel-berard.com/favicon.ico?64e32681e2e4790d9ef6e70b3b311a12851f7ea1" sizes="32x32"> 9 <link rel="apple-touch-icon" href="https://hapi.mmcreation.com/hapidam/efee4dbe-709e-48c0-8d80-4bbd057f5747/hostellerie-berard-logos-013.svg?size=md"><!-- 180Ã180 --> 10 <link rel="manifest" href="https://hotel-berard.com/fr/manifest.webmanifest.html"> 11 <title>MAISON BÃRARD</title> 12<link rel="canonical" href="https://hotel-berard.com/fr/book.html" /> 13<link rel="alternate" href="https://hotel-berard.com/fr/book.html" hreflang="fr" /> 14<link rel="alternate" href="https://hotel-berard.com/en/book.html" hreflang="en" /> 15<link rel="alternate" href="https://hotel-berard.com/en/book.html" hreflang="x-default" />
16<script>window.dataLayer = window.dataLayer || [];</script>
16
16<script type="application/ld+json">[ 17 { 18 "@context": "https:\/\/schema.org", 19 "@type": "WebSite", 20 "url": "https:\/\/hotel-berard.com\/", 21 "name": "MAISON B\u00c9RARD" 22 }, 23 { 24 "@context": "http:\/\/schema.org", 25 "@type": "Hotel", 26 "name": "MAISON B\u00c9RARD", 27 "description": "", 28 "telephone": [ 29 "+33494901143" 30 ], 31 "email": "[email protected]", 32 "address": { 33 "@type": "PostalAddress", 34 "streetAddress": "6 Rue Gabriel P\u00e9ri", 35 "addressLocality": "La Cadi\u00e8re d'Azur", 36 "postalCode": "83740", 37 "addressCountry": "France" 38 }, 39 "geo": { 40 "@type": "GeoCoordinates", 41 "latitude": "43.1963897", 42 "longitude": "5.7571176" 43 }, 44 "image": { 45 "@type": "ImageObject", 46 "url": "https:\/\/api.hapidam.com\/share\/59ff2fcb-69e8-4a66-b284-9c5a22a4477e\/hostellerie-berard-espace-piscine-001.jpg?size=lg", 47 "description": "", 48 "name": "Maison B\u00e9rard | H\u00f4tel 4 \u00e9toiles La Cadi\u00e8re d'Azur" 49 } 50 } 51]</script>
51 52
52<script src="https://hotel-berard.com/assets/vendors/klaro-gdpr/klaro_warmup.js"></script>
52 53
53<script src="https://hotel-berard.com/assets/vendors/klaro-gdpr/config.js"></script>
53 54
54<script>klaroConfig.privacyPolicy = '#privacy'; klaroConfig.theme = 'lite';</script>
54 55
55<script src="https://hotel-berard.com/assets/vendors/klaro-gdpr/klaro.js"></script>
55 56
56<script>setTimeout(klaro.getManager,2000);</script>
56 57 <!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 64 bytes, lines 57-58
57 58<script async src="https://www.googletagmanager.com/gtag/js?id=
58G-D242367YWY
vendor: 12 bytes, line 58
58"></script>
59<script type="application/javascript" >
vendor: 128 bytes, lines 60-63
60window.dataLayer = window.dataLayer || []; 61function gtag(){dataLayer.push(arguments);} 62gtag('js', new Date()); 63 gtag('config', '
63G-D242367YWY
vendor: 31 bytes, lines 63-64
63', { 'anonymize_ip': true }); 64
64</script>
64 65 66 <!-- Global site tag (gtag.js) - Google Ads: AW-722431275 -->
vendor: 64 bytes, lines 66-67
66 67<script async src="https://www.googletagmanager.com/gtag/js?id=
67AW-722431275
vendor: 12 bytes, line 67
67"></script>
68<script type="opt-in" data-type="application/javascript" data-name="app_marketing" >
vendor: 126 bytes, lines 69-72
69window.dataLayer = window.dataLayer || []; 70function gtag(){dataLayer.push(arguments);} 71gtag('js', new Date()); 72gtag('config','
72AW-722431275
vendor: 4 bytes, line 72
72');
73</script>
73 74 75
75<script> 76 var ms_ie = false; 77 var ua = window.navigator.userAgent; 78 var old_ie = ua.indexOf('MSIE '); 79 var new_ie = ua.indexOf('Trident/'); 80 if ((old_ie > -1) || (new_ie > -1)) { 81 ms_ie = true; 82 } 83 84 var ENV_PSPEED= false; 85 var ENV_ADMIN= false; 86 var ENV_HID= "784"; 87 var HOST = "https://hotel-berard.com"; 88 var BASEPATH = "https://hotel-berard.com/"; 89 var APPS_URL = "/"; 90 var ENV_PAGE= "book"; 91 var ENV_PARAM= ""; 92 var ENV_LNG= "fr"; 93 var IMAGE_CUSTOM_QUALITY= "70"; 94 var IMAGE_LAZY_MODE= "blur"; 95 var ENV_WEBP = false; 96 var ENV_MOBILE = false; 97 var ENV_TABLET = false; 98 var ENV_IE= 0; 99 100 var ENV_GOOGLE_UAC = "G-D242367YWY"; 101 var ENV_MATOMO_URL = ""; 102 var ENV_MATOMO_SID = ""; 103 104 var ENV_ID= ""; 105 var ENV_DEV= false; 106 var ENV_DEBUG= false; 107 108 var SKIN_map_cluster_lg = ""; 109 var SKIN_map_cluster_md = ""; 110 var SKIN_map_cluster_sm = ""; 111 112 var SKIN_map_cluster_lg_text = ""; 113 var SKIN_map_cluster_md_text = ""; 114 var SKIN_map_cluster_sm_text = ""; 115 116 var SKIN_map_cluster_lg_icon = ""; 117 var SKIN_map_cluster_md_icon = ""; 118 var SKIN_map_cluster_sm_icon = ""; 119 120 var slider_offres; 121 var cookiesDirectiveSettings = { 122 message : "Ce site utilise des cookies pour vous garantir la meilleure expérience. En poursuivant votre navigation sur ce site, vous acceptez l'utilisation de cookies.", 123 closeMessage : "Ne plus afficher ce message" 124 }; 125 126 var ENV_CONFIG = { 127 hid: 784, 128 rgpd_allow_video: false, 129 country_code: "FR", 130 } 131 132 // detect if the current page is called in iframe from the same website 133 var ENV_IFRAME = top.frames.length!=0 && top.frames[0].location.host==document.location.host; 134 if(ENV_IFRAME) 135 { 136 document.querySelector('html').classList.add('in-frame') 137 } 138 </script>
138 139 140 <style> 141 /* 142 Prevent content flickering without CSS 143 second style override after ending html tag to restore site display 144 */ 145 .loading .hapi_content_wrapper, 146 .loading .fsPanel { display: none; } 147 </style> 148 149 <!--HAPI-MOVE-TO-HEAD:CSS--> 150 <!--HAPI-MOVE-TO-HEAD:JS--> 151</head> 152<body 153 id="page-book" lang="fr" 154 data-page-id="" 155 data-page-code="" 156 data-page-slug="" 157 data-page_iframe="0" 158 data-lng="fr" 159 data-terminal="desktop" 160 data-header="false" 161 data-book-in-frame="0" 162 class="loading frontend "> 163 <div class="hapi_content_wrapper"> 164 <div id="content_container"> 165 <div id="content"> 166 <form class='' name='HPE_BOOK_FORM' method='GET' action='https://secure.reservit.com/reservit/reserhotel.php' target=''><input type='hidden' name='redirectHOST' value='hotel.reservit.com'/><input type='hidden' name='action' value='tabavail'/><input type='hidden' name='hotelid' value='4284'/><input type='hidden' name='id' value='2'/><input type='hidden' name='custid' value='2'/><input type='hidden' name='langcode' value='FR'/></form> 167 168 169 </div> 170 </div> 171 </div> 172 173 <link rel="stylesheet" media="all" async href="https://hotel-berard.com/assets/dist/_c784_css.css?uuid=1.1790258646" /> 174 175 176 <!--HAPI-MOVE-TO-BOTTOM:CSS--> 177<style data-src="Shortcode_Plugin_Service::CommonDependencies"> 178 .hapi-service_cardlist { 179 list-style: none; 180 margin: 0; 181 padding: 0; 182 display: flex; 183 flex-wrap:wrap; 184 position:relative; 185 left:-1em; 186 } 187 .hapi-service_cardlist li { 188 margin: 0; 189 padding: 0; 190 display: flex; 191 grid-template-columns: min-content; 192 flex-wrap:wrap; 193 flex-direction: column; 194 --text-align: center; 195 width: 100%; 196 padding: 0.5em 0 0.3em 1em; 197 } 198 .hapi-service_cardlist li svg { 199 width: auto; 200 } 201 .hapi-service_cardlist li * { 202 padding-bottom: 0.2em; 203 } 204 205 .service-icon { grid-area: i; display: block; } 206 .service-name { grid-area: n; display: block; } 207 .service-description { grid-area: d; display: block; } 208 209 .hapi-service_cardlist[desktop-layout="hleft"], 210 .hapi-service_cardlist[desktop-layout="hright"] { 211 align-items:start; 212 } 213 214 215 @media screen and (min-width:1281px) { 216 .hapi-service_cardlist[desktop-columns="1"] li { width: calc(100% / 1); } 217 .hapi-service_cardlist[desktop-columns="2"] li { width: calc(100% / 2); } 218 .hapi-service_cardlist[desktop-columns="3"] li { width: calc(100% / 3); } 219 .hapi-service_cardlist[desktop-columns="4"] li { width: calc(100% / 4); } 220 .hapi-service_cardlist[desktop-columns="5"] li { width: calc(100% / 5); } 221 .hapi-service_cardlist[desktop-columns="6"] li { width: calc(100% / 6); } 222 .hapi-service_cardlist[desktop-columns="7"] li { width: calc(100% / 7); } 223 .hapi-service_cardlist[desktop-columns="8"] li { width: calc(100% / 8); } 224 .hapi-service_cardlist[desktop-columns="9"] li { width: calc(100% / 9); } 225 .hapi-service_cardlist[desktop-columns="10"] li { width: calc(100% / 10); } 226 227 .hapi-service_cardlist[desktop-layout="vcenter"] { text-align: center; } 228 .hapi-service_cardlist[desktop-layout="vright"] { text-align: right; } 229 .hapi-service_cardlist[desktop-layout="hleft"] li { flex-direction: row; flex-wrap: unset; } 230 .hapi-service_cardlist[desktop-layout="hleft"] li .service-icon { margin-right: 0.5em; } 231 .hapi-service_cardlist[desktop-layout="hleft"] li .service-description { width: 100%;} 232 .hapi-service_cardlist[desktop-layout="hright"] li { flex-direction: row; flex-wrap: unset; direction:rtl; text-align: right; } 233 .hapi-service_cardlist[desktop-layout="hright"] li * { direction:ltr; } 234 .hapi-service_cardlist[desktop-layout="hright"] li .service-icon { margin-left: 0.5em; } 235 .hapi-service_cardlist[desktop-layout="hright"] li .service-description { width: 100%; } 236 237 .hapi-service_cardlist[desktop-layout="hleft"] li { display: grid; display: -ms-grid; grid-template-areas: "i n" "i d"; -ms-grid-columns:1fr 3fr; } 238 .hapi-service_cardlist[desktop-layout="hleft"] li .service-icon { -ms-grid-column:1; -ms-grid-row:1; -ms-grid-row-span:2; } 239 .hapi-service_cardlist[desktop-layout="hleft"] li .service-name { -ms-grid-column:2; -ms-grid-row:1; -ms-grid-row-span:1; } 240 .hapi-service_cardlist[desktop-layout="hleft"] li .service-description { -ms-grid-column:2; -ms-grid-row:2; -ms-grid-row-span:1; } 241 242 .hapi-service_cardlist[desktop-layout="hright"] li { display: grid; display: -ms-grid; grid-template-areas: "n i" "d i"; -ms-grid-columns:3fr 1fr; } 243 .hapi-service_cardlist[desktop-layout="hright"] li .service-icon { -ms-grid-column:2; -ms-grid-row:1; -ms-grid-row-span:2; } 244 .hapi-service_cardlist[desktop-layout="hright"] li .service-name { -ms-grid-column:1; -ms-grid-row:1; -ms-grid-row-span:1; } 245 .hapi-service_cardlist[desktop-layout="hright"] li .service-description { -ms-grid-column:1; -ms-grid-row:2; -ms-grid-row-span:1; } 246 247 .hapi-service_cardlist[desktop-alignment="left"] { justify-content: flex-start; } 248 .hapi-service_cardlist[desktop-alignment="center"] { justify-content: center; } 249 .hapi-service_cardlist[desktop-alignment="right"] { justify-content: flex-end; } 250 } 251 @media screen and (min-width:981px) and (max-width:1280px) { 252 .hapi-service_cardlist[tablet-columns="1"] li { width: calc(100% / 1); } 253 .hapi-service_cardlist[tablet-columns="2"] li { width: calc(100% / 2); } 254 .hapi-service_cardlist[tablet-columns="3"] li { width: calc(100% / 3); } 255 .hapi-service_cardlist[tablet-columns="4"] li { width: calc(100% / 4); } 256 .hapi-service_cardlist[tablet-columns="5"] li { width: calc(100% / 5); } 257 .hapi-service_cardlist[tablet-columns="6"] li { width: calc(100% / 6); } 258 .hapi-service_cardlist[tablet-columns="7"] li { width: calc(100% / 7); } 259 .hapi-service_cardlist[tablet-columns="8"] li { width: calc(100% / 8); } 260 .hapi-service_cardlist[tablet-columns="9"] li { width: calc(100% / 9); } 261 .hapi-service_cardlist[tablet-columns="10"] li { width: calc(100% / 10); } 262 263 .hapi-service_cardlist[tablet-layout="vcenter"] { text-align: center; } 264 .hapi-service_cardlist[tablet-layout="vright"] { text-align: right; } 265 .hapi-service_cardlist[tablet-layout="hleft"] li { flex-direction: row; flex-wrap: unset; } 266 .hapi-service_cardlist[tablet-layout="hleft"] li .service-icon { margin-right: 0.5em; } 267 .hapi-service_cardlist[tablet-layout="hleft"] li .service-description { width: 100%;} 268 .hapi-service_cardlist[tablet-layout="hright"] li { flex-direction: row; flex-wrap: unset; direction:rtl; text-align: right; } 269 .hapi-service_cardlist[tablet-layout="hright"] li * { direction:ltr; } 270 .hapi-service_cardlist[tablet-layout="hright"] li .service-icon { margin-left: 0.5em; } 271 .hapi-service_cardlist[tablet-layout="hright"] li .service-description { width: 100%; } 272 273 .hapi-service_cardlist[tablet-layout="hleft"] li { display: grid; display: -ms-grid; grid-template-areas: "i n" "i d"; -ms-grid-columns:1fr 3fr; } 274 .hapi-service_cardlist[tablet-layout="hleft"] li .service-icon { -ms-grid-column:1; -ms-grid-row:1; -ms-grid-row-span:2; } 275 .hapi-service_cardlist[tablet-layout="hleft"] li .service-name { -ms-grid-column:2; -ms-grid-row:1; -ms-grid-row-span:1; } 276 .hapi-service_cardlist[tablet-layout="hleft"] li .service-description { -ms-grid-column:2; -ms-grid-row:2; -ms-grid-row-span:1; } 277 278 .hapi-service_cardlist[tablet-layout="hright"] li { display: grid; display: -ms-grid; grid-template-areas: "n i" "d i"; -ms-grid-columns:3fr 1fr; } 279 .hapi-service_cardlist[tablet-layout="hright"] li .service-icon { -ms-grid-column:2; -ms-grid-row:1; -ms-grid-row-span:2; } 280 .hapi-service_cardlist[tablet-layout="hright"] li .service-name { -ms-grid-column:1; -ms-grid-row:1; -ms-grid-row-span:1; } 281 .hapi-service_cardlist[tablet-layout="hright"] li .service-description { -ms-grid-column:1; -ms-grid-row:2; -ms-grid-row-span:1; } 282 283 .hapi-service_cardlist[tablet-alignment="left"] { justify-content: flex-start; } 284 .hapi-service_cardlist[tablet-alignment="center"] { justify-content: center; } 285 .hapi-service_cardlist[tablet-alignment="right"] { justify-content: flex-end; } 286 } 287 @media screen and (max-width:980px) { 288 .hapi-service_cardlist[mobile-columns="1"] li { width: calc(100% / 1); } 289 .hapi-service_cardlist[mobile-columns="2"] li { width: calc(100% / 2); } 290 .hapi-service_cardlist[mobile-columns="3"] li { width: calc(100% / 3); } 291 .hapi-service_cardlist[mobile-columns="4"] li { width: calc(100% / 4); } 292 .hapi-service_cardlist[mobile-columns="5"] li { width: calc(100% / 5); } 293 .hapi-service_cardlist[mobile-columns="6"] li { width: calc(100% / 6); } 294 .hapi-service_cardlist[mobile-columns="7"] li { width: calc(100% / 7); } 295 .hapi-service_cardlist[mobile-columns="8"] li { width: calc(100% / 8); } 296 .hapi-service_cardlist[mobile-columns="9"] li { width: calc(100% / 9); } 297 .hapi-service_cardlist[mobile-columns="10"] li { width: calc(100% / 10); } 298 299 .hapi-service_cardlist[mobile-layout="vcenter"] { text-align: center; } 300 .hapi-service_cardlist[mobile-layout="vright"] { text-align: right; } 301 .hapi-service_cardlist[mobile-layout="hleft"] li { flex-direction: row; flex-wrap: unset; } 302 .hapi-service_cardlist[mobile-layout="hleft"] li .service-icon { margin-right: 0.5em; } 303 .hapi-service_cardlist[mobile-layout="hleft"] li .service-description { width: 100%;} 304 .hapi-service_cardlist[mobile-layout="hright"] li { flex-direction: row; flex-wrap: unset; direction:rtl; text-align: right; } 305 .hapi-service_cardlist[mobile-layout="hright"] li * { direction:ltr; } 306 .hapi-service_cardlist[mobile-layout="hright"] li .service-icon { margin-left: 0.5em; } 307 .hapi-service_cardlist[mobile-layout="hright"] li .service-description { width: 100%; } 308 309 .hapi-service_cardlist[mobile-layout="hleft"] li { display: grid; display: -ms-grid; grid-template-areas: "i n" "i d"; -ms-grid-columns:1fr 3fr; } 310 .hapi-service_cardlist[mobile-layout="hleft"] li .service-icon { -ms-grid-column:1; -ms-grid-row:1; -ms-grid-row-span:2; } 311 .hapi-service_cardlist[mobile-layout="hleft"] li .service-name { -ms-grid-column:2; -ms-grid-row:1; -ms-grid-row-span:1; } 312 .hapi-service_cardlist[mobile-layout="hleft"] li .service-description { -ms-grid-column:2; -ms-grid-row:2; -ms-grid-row-span:1; } 313 314 .hapi-service_cardlist[mobile-layout="hright"] li { display: grid; display: -ms-grid; grid-template-areas: "n i" "d i"; -ms-grid-columns:3fr 1fr; } 315 .hapi-service_cardlist[mobile-layout="hright"] li .service-icon { -ms-grid-column:2; -ms-grid-row:1; -ms-grid-row-span:2; } 316 .hapi-service_cardlist[mobile-layout="hright"] li .service-name { -ms-grid-column:1; -ms-grid-row:1; -ms-grid-row-span:1; } 317 .hapi-service_cardlist[mobile-layout="hright"] li .service-description { -ms-grid-column:1; -ms-grid-row:2; -ms-grid-row-span:1; } 318 319 .hapi-service_cardlist[mobile-alignment="left"] { justify-content: flex-start; } 320 .hapi-service_cardlist[mobile-alignment="center"] { justify-content: center; } 321 .hapi-service_cardlist[mobile-alignment="right"] { justify-content: flex-end; } 322 } 323 </style> 324<style > 325 .hapi-sc-countdown { 326 display: inline-block; 327 } 328 329 .hapi-countdown[data-theme="splitflap"] { 330 display: flex; 331 flex-direction: row; 332 } 333 .hapi-countdown[data-theme="splitflap"] .hapi-countdown-part{ 334 display: flex; 335 flex-direction: column; 336 align-items: center; 337 padding: 0 .5em; 338 } 339 .hapi-countdown[data-theme="splitflap"] .hapi-countdown-part strong { 340 order:2; 341 background: #020722; 342 border-radius:.25em; 343 padding:.5em; 344 box-shadow: 0px 2px 3px 1px rgba(68, 72, 90, 0.9) inset; 345 color:#fff; 346 position: relative; 347 display: block; 348 } 349 .hapi-countdown[data-theme="splitflap"] .hapi-countdown-part strong:before { 350 display: block; 351 position: absolute; 352 content: "\2000"; 353 height: 0.2em; 354 top:calc(50% - 0.1em); 355 left:0; 356 width:calc(100% - 2px); 357 border-left:1px solid #fff; 358 border-right:1px solid #fff; 359 } 360 .hapi-countdown[data-theme="splitflap"] .hapi-countdown-part span{ 361 order:1; 362 font-size:0.7em; 363 margin-bottom: 0.25em; 364 text-transform: uppercase; 365 } 366 </style> 367<style >@charset "UTF-8"; 368/* ---------- MIXINS_START ---------- */ 369/* COLORS */ 370/*Padding par défaut des cellules*/ 371body { 372 --padding-cell:5rem 4rem; 373 --margin-line:3.5em; 374} 375@media screen and (max-width: 1400px) { 376 body { 377 --padding-cell:4rem 3rem; 378 } 379} 380@media screen and (max-width: 980px) { 381 body { 382 --padding-cell:3rem 2rem; 383 } 384} 385@media screen and (max-width: 1400px) { 386 body { 387 --margin-line:2em; 388 } 389} 390/* ---------- MIXINS_END ------------ */ 391</style> 392<style >@charset "UTF-8"; 393 394</style> 395 396
396<script src="https://hapi.mmcreation.com/assets/dist/public.js?uuid=3.1790258646"></script>
396 397 398 <!--HAPI-DEFERED-JS:RM--> 399 400
400<script type="text/javascript" src="https://hotel-berard.com/assets/vendors/klaro-gdpr/config.js"></script>
400 401
401<script type="text/javascript">klaroConfig.privacyPolicy = '#privacy';</script>
401 402
402<script type="text/javascript">klaroConfig.theme = 'lite';</script>
402 403
403<script type="text/javascript" src="https://hotel-berard.com/assets/vendors/klaro-gdpr/klaro.js"></script>
403 404
404<script type="text/javascript">HAPI_PageCycle.onLoad(function(){ if(klaro) { klaro.getManager(); } })</script>
404 405 <style> 406 #gdpr-remainder-bar { border-bottom:5px solid rgba(0,0,0,0.8); position:fixed; z-index: 10000000; bottom: 0; left: 0; width: 100%; text-align: center;} 407 #gdpr-remainder-bar button { cursor: pointer; background: rgba(0,0,0,0.8); border-radius: 5px 5px 0 0; color:#fff; border:none; padding:0.5em 1em; font-size: 12px; } 408 </style> 409 410
410<script> 411 document.querySelector('body').classList.add('loaded'); 412 document.querySelector('body').classList.remove('loading'); 413 </script>
413 414 415 <!-- HAPI2 © www.mmcreation.com (V185)--> 416 417 418 419
419<script> 420 //https://github.com/jonnyhaynes/inline-svg/blob/master/dist/inlineSVG.min.js 421 !function(a,b){"function"==typeof define&&define.amd?define([],b(a)):"object"==typeof exports?module.exports=b(a):a.inlineSVG=b(a)}("undefined"!=typeof global?global:this.window||this.global,function(a){var b,c={},d=!!document.querySelector&&!!a.addEventListener,e={initClass:"js-inlinesvg",svgSelector:"img.svg"},f=function(a,b){return function(){if(--a<1)return b.apply(this,arguments)}},g=function(){var a={},b=!1,c=0,d=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(b=arguments[0],c++);for(var e=function(c){for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(b&&"[object Object]"===Object.prototype.toString.call(c[d])?a[d]=g(!0,a[d],c[d]):a[d]=c[d])};c<d;c++){e(arguments[c])}return a},h=function(){return document.querySelectorAll(b.svgSelector)},i=function(){return"_"+Math.random().toString(36).substr(2,9)},j=function(a){var c=h(),d=f(c.length,a);Array.prototype.forEach.call(c,function(a,c){var e=a.src||a.getAttribute("data-src"),f=a.attributes,g=new XMLHttpRequest;g.open("GET",e,!0),g.onload=function(){if(g.status>=200&&g.status<400){var c=new DOMParser,e=c.parseFromString(g.responseText,"text/xml"),h=e.getElementsByTagName("svg")[0];if(h.removeAttribute("xmlns:a"),h.removeAttribute("width"),h.removeAttribute("height"),h.removeAttribute("x"),h.removeAttribute("y"),h.removeAttribute("enable-background"),h.removeAttribute("xmlns:xlink"),h.removeAttribute("xml:space"),h.removeAttribute("version"),Array.prototype.slice.call(f).forEach(function(a){"src"!==a.name&&"alt"!==a.name&&"longdesc"!==a.name&&h.setAttribute(a.name,a.value)}),h.classList?h.classList.add("inlined-svg"):h.setAttribute("class",h.getAttribute("class")+" inlined-svg"),h.setAttribute("role","img"),f.alt){var j=document.createElementNS("http://www.w3.org/2000/svg","title"),k=document.createTextNode(f.alt.value);if(j.setAttribute("id",i()),j.appendChild(k),h.insertBefore(j,h.firstChild),f.id)h.setAttribute("aria-labelledby",f.id.value);else if(!f.id){var l=function(){if(h.getElementsByTagName("title").length>0){return h.getElementsByTagName("title")[0].getAttribute("id")}return""};h.setAttribute("aria-labelledby",l())}}if(f.alt||(h.setAttribute("aria-hidden","true"),h.setAttribute("role","presentation")),f.longdesc){var m=document.createElementNS("http://www.w3.org/2000/svg","desc"),n=document.createTextNode(f.longdesc.value);m.setAttribute("id",i()),m.appendChild(n),f.alt?h.insertBefore(m,h.firstChild.nextSibling):h.insertBefore(m,h.firstChild);var o=function(){if(h.getElementsByTagName("desc").length>0){return h.getElementsByTagName("desc")[0].getAttribute("id")}return""};if(f.alt){var p=h.getAttribute("aria-labelledby");h.setAttribute("aria-labelledby",p+=" "+o())}else h.setAttribute("aria-labelledby",o())}a.parentNode&&a.parentNode.replaceChild(h,a),d&&d(b.svgSelector)}else console.error("There was an error retrieving the source of the SVG.")},g.onerror=function(){console.error("There was an error connecting to the origin server.")},g.send()})};return c.init=function(a,c){d&&(b=g(e,a||{}),j(c||function(){}),document.documentElement.className+=" "+b.initClass)},c}); 422 423 inlineSVG.init( 424 { 425 svgSelector: 'img[data-inline="true"]', // the class attached to all images that should be inlined 426 initClass: 'svg-inlined', // class added to the <html> 427 }, 428 function () { 429 console.log('All SVGs inlined'); 430 } 431 ); 432 </script>
432 433 </body> 434</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.