PageSourceSearch

https://www.dacia.fr/client/dacia-one-config-1deca0629df2cf54.js

js dacia.fr collected 2026-09-24 09:34:27 UTC 445,404 bytes, 1 lines download raw bytes

1(self.rspackChunkOne=self.rspackChunkOne||[]).push([[52521],{86959(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 168 84"},e),a||(a=n.createElement("path",{fill:"#FFF",d:"M135.947 53.61 153.514 0h-18.275L65.511 53.61H37.945l7.587-23.19L0 65.411h50.158L25.99 83.971 48.583 84l24.196-18.559h41.075L107.763 84h18.274l6.062-18.559h20.587L168 53.678h-32.053zm-18.244 0h-29.61l39.54-30.391-9.94 30.39z"})))})},64514(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M12.7 20.6h-1.555l-.18-.21c-.055-.07-5.645-6.7-9.17-13.255l1.055-.57c3.115 5.795 7.88 11.66 8.855 12.835h.46c.97-1.09 5.725-6.595 8.835-12.815l1.075.535c-3.535 7.075-9.14 13.225-9.2 13.285z"})))})},54502(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M22.22 12.6H3.885a62 62 0 0 0 10.025 6.825l-.56 1.075a63.7 63.7 0 0 1-10.97-7.61l-.2-.18v-1.405l.18-.175A46.6 46.6 0 0 1 13.365 3.5l.53 1.08a46.9 46.9 0 0 0-10.06 6.82H22.22z"})))})},70385(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M21.83 11.32v1.405l-.2.18a63.6 63.6 0 0 1-11 7.64l-.54-1.045a62 62 0 0 0 10.035-6.885H1.77v-1.2h18.41a46.8 46.8 0 0 0-10.075-6.86l.53-1.055a47 47 0 0 1 11 7.665z"})))})},50946(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"M17 19.11H3.93V8.285l4.155-3.12h11.81v11.4zm-1.09-.96V9.1h-5v3.17h-1V9.1h-5v9.05zM13.195 6.06 10.41 8.15H5.695L8.5 6.06zm2.9 2.09 2.57-2.09h-4l-2.78 2.09zm2.82 7.895-2 1.73V8.81l2-1.68z",clipRule:"evenodd"})))})},33779(e,t,r){"use strict";var a,n,i,s=r(71763);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>s.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=s.createElement("path",{fillRule:"evenodd",d:"M6.9 9.6h10.2v-5H6.9zm1.2-1.2h7.8V5.815H8.1z",clipRule:"evenodd"})),n||(n=s.createElement("path",{d:"M9.5 12.255h-2v1.2h2zm1.5 0h2v1.2h-2zm5.5 0h-2v1.2h2zm-9 2.465h2v1.2h-2zm5.5 0h-2v1.2h2zm1.5 0h2v1.2h-2zm-5 2.465h-2v1.2h2zm1.5 0h2v1.2h-2zm5.5 0h-2v1.2h2z"})),i||(i=s.createElement("path",{fillRule:"evenodd",d:"M17.56 22.1H6.44a2.04 2.04 0 0 1-2.04-2.04V3.94A2.04 2.04 0 0 1 6.44 1.9h11.12a2.04 2.04 0 0 1 2.04 2.04v16.12a2.04 2.04 0 0 1-2.04 2.04M6.44 3.1a.84.84 0 0 0-.84.84v16.12c0 .464.376.84.84.84h11.12a.84.84 0 0 0 .84-.84V3.94a.84.84 0 0 0-.84-.84z",clipRule:"evenodd"})))})},31911(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M22.94 13.525c-.065-.53-.11-1.07-.335-1.65a3.2 3.2 0 0 0-.455-.81c-.19-.24
1-.41-.47-.715-.66-.575-.34-1.135-.435-1.64-.54-.255-.05-.5-.095-.71-.15a5 5 0 0 1-.635-.225c-.88-.37-1.74-.89-2.65-1.38a10 10 0 0 0-.725-.36 5 5 0 0 0-.815-.27 12 12 0 0 0-1.57-.295 11 11 0 0 0-1.6-.09l-1.53.035-3.05.095-1.525.055-.765.03c-.27.015-.48.015-.81.045l.075.59c.315.17.625.36.935.545 1.945-.08 3.905-.14 5.855-.19.485-.005.985-.03 1.425-.01.46.02.925.08 1.385.155.45.075.93.185 1.32.32.375.14.81.385 1.23.615.855.47 1.71.98 2.705 1.35.535.205 1.06.26 1.505.365.445.095.87.225 1.095.415.275.235.49.56.61.935.065.19.105.4.14.62.03.215.07.49.08.675.015.2 0 .39-.04.495-.015.04 0 .01-.005.02h-.805a2.595 2.595 0 0 0-2.59-2.515 2.593 2.593 0 0 0-2.59 2.505H7.91a2.597 2.597 0 0 0-2.59-2.505c-1.25 0-2.3.89-2.545 2.07l-.045-.01-.25-.05a.6.6 0 0 1-.135-.065.6.6 0 0 1-.2-.195.3.3 0 0 1-.03-.1v-2.44L3.99 9.085 2.81 8.57.915 10.45v2.86c0 .05.005.155.015.23.025.165.075.335.15.485.155.305.395.525.645.68.13.075.255.14.42.19.12.035.145.035.2.045l.15.03.34.07a2.6 2.6 0 0 0 2.49 1.895A2.6 2.6 0 0 0 7.67 15.44h8.325a2.59 2.59 0 0 0 2.345 1.495c1.04 0 1.93-.62 2.35-1.5h1.04c.045 0 .12 0 .18-.01.25-.02.49-.135.665-.32.175-.175.29-.445.33-.605.095-.36.085-.67.06-.965zm-17.63 2.2c-.77 0-1.4-.63-1.4-1.4s.63-1.4 1.4-1.4 1.4.63 1.4 1.4-.63 1.4-1.4 1.4m13.01 0c-.77 0-1.4-.63-1.4-1.4s.63-1.4 1.4-1.4 1.4.63 1.4 1.4-.63 1.4-1.4 1.4"})))})},33238(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"M22.818 5.755 11.032 19.786l-3.058.006-6.792-8.027 3.053-2.584 5.26 6.216 10.26-12.215z",clipRule:"evenodd"})))})},3861(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M15.5 20.725 6.35 12l9.15-8.725 1.38 1.45L9.245 12l7.635 7.275z"})))})},18799(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M22.5 21.15v1.2h-21v-1.2h8.85a37.5 37.5 0 0 1-4.145-5.715l1.04-.595a37 37 0 0 0 4.155 5.685V2.25h1.2v18.33a28.3 28.3 0 0 0 4.15-5.725l1.06.565a28.5 28.5 0 0 1-4.095 5.73z"})))})},68396(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M13.458 19.765c.945.55 1.954 1.064 2.964 1.528a37 37 0 0 0 1.35.59l.294.117.836-.803-.015-.236a42 42 0 0 0-.178-1.797 38 38 0 0 0-.676-3.946q-.074-.316-.152-.621a18 18 0 0 0 3.146-2.708q.374-.408.645-.75.165-.21.227-.298l.101-.144-.01-.176a6 6 0 0 0-.05-.5 3 3 0 0 0-.042-.23l-.056-.245-.228-.102a23 23 0 0 0-1.553-.616 41 41 0 0 0-4.24-1.23q-.008-.016-.016-.033a39 39 0 0 0-1.404-2.825 17 17 0 0 0-1.205-1.904 7 7 0 0 0-.584-.689L12.467 2h-.934l-.145.147a7 7 0 0 0-.584.69A17 17 0 0 0 9.599 4.74a36 36 0 0 0-1.404 2.825l-.015.033a34 34 0 0 0-1.157.287c-1.05.276-2.1.592-3.084.943q-.836.3-1.553.616l-.227.101-.057.246a3 3 0 0 0-.043.23 5 5 0 0 0-.05.5L2 10.698l.1.144q.062.088.228.298.271.342.644.75a18 18 0 0 0 3.147 2.708q-.079.304-.152.622a38 38 0 0 0-.676 3.945 42 42 0 0 0-.178 1.796l-.015.236.835.804.294-.117a37 37 0 0 0 1.351-.59c1.01-.465 2.02-.979 2.964-1.528a23 23 0 0 0 1.458-.92q.674.464 1.458.92z"})))})},71856(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"m17.79 21.96.355.14.915-.875v-.28a39 39 0 0 0-1-6.28 16.7 16.7 0 0 0 4-3.72l.12-.17v-.21a5 5 0 0 0-.095-.745l-.07-.29-.275-.12a35.7 35.7 0 0 0-5.815-1.835C15.5 6.62 14.03 3.5 12.68 2.18L12.5 2h-1l-.19.175C9.97 3.5 8.5 6.62 8.09 7.575A35.7 35.7 0 0 0 2.275 9.41L2 9.53l-.09.29q-.076.369-.095.745v.21l.12.17a16.7 16.7 0 0 0 4 3.72 39 39 0 0 0-1 6.28v.28l.92.875.355-.14a34.7 34.7 0 0 0 5.79-3 34.7 34.7 0 0 0 5.79 3m-5.445-4.215L12 17.5l-.32.27a31.5 31.5 0 0 1-5.5 2.925 37.4 37.4 0 0 1 1.045-6.11l.12-.43-.375-.24a16.6 16.6 0 0 1-3.93-3.5v-.035a37 37 0 0 1 5.585-1.695l.3-.065.125-.285c.015-.035 1.58-3.615 2.98-5.165 1.365 1.525 2.945 5.105 2.945 5.14l.125.285.3.065a37 37 0 0 1 5.585 1.695v.035a16.6 16.6 0 0 1-3.93 3.5l-.375.24.12.43a37.4 37.4 0 0 1 1.045 6.11 31.5 31.5 0 0 1-5.5-2.925",clipRule:"evenodd"})))})},81579(e,t,r){"use strict";var a,n,i=r(71763);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=i.createElement("path",{fillRule:"evenodd",d:"M13.17 1h.69a4.76 4.76 0 0 1 4.755 4.765v.69a4.765 4.765 0 0 1-3.585 4.61l-1.395 6.325-1.175-.26 1.305-5.92h-.6q-.333 0-.665-.045l-1.365 6.225-1.175-.26 1.39-6.295a4.765 4.765 0 0 1-2.935-4.39v-.69A4.76 4.76 0 0 1 13.17 1m4.245 5.445A3.56 3.56 0 0 1 13.86 10h-.69a3.56 3.56 0 0 1-3.555-3.555v-.68A3.56 3.56 0 0 1 13.17 2.21h.69a3.56 3.56 0 0 1 3.555 3.555z",clipRule:"evenodd"})),n||(n=i.createElement("path",{d:"M20.055 21.79H3.975v1.2h16.08zm-2.94-2.94H6.92v1.2h10.195z"})))})},29339(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M17.533 4.223 6.03 19.219l.952.73L18.485 4.954l-.952-.73zM13.67 6.215l-.325 1.155A4.9 4.9 0 0 0 12 7.185h-.27
15A4.915 4.915 0 0 0 7.1 12.08a4.86 4.86 0 0 0 .795 2.67l-1 .655a6.065 6.065 0 0 1 .135-6.84 25.7 25.7 0 0 0-4.925 3.285v.455A26.2 26.2 0 0 0 6.78 15.5l-.55 1.065a26.7 26.7 0 0 1-5.125-3.5l-.2-.18V11.32l.2-.18c.225-.205 5.5-4.955 10.585-5.145h.315a6 6 0 0 1 1.665.22m9.435 5.105v1.53l-.195.18c-.225.205-5.5 4.955-10.59 5.145h-.315a6.2 6.2 0 0 1-1.66-.23l.325-1.155c.432.13.88.2 1.33.21h.275a4.91 4.91 0 0 0 3.835-7.57l1-.655c.65.99.997 2.146 1 3.33a6.03 6.03 0 0 1-1.125 3.5 25.5 25.5 0 0 0 4.925-3.295v-.455A25.8 25.8 0 0 0 17.1 8.62l.54-1.07a26.4 26.4 0 0 1 5.275 3.59z"})))})},77646(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M22.1 12c0 2.86-4.435 5.1-10.1 5.1S1.9 14.86 1.9 12c0-1.12.675-2.17 1.91-3.03-.255.005-.52.02-.785.045l-.12-1.195c1.475-.15 2.92.05 2.98.055l.265.04.395.595-.055.245c-.01.06-.315 1.44-1.115 2.81L4.34 10.96c.265-.45.46-.9.61-1.295-1.18.68-1.85 1.51-1.85 2.33 0 1.885 3.575 3.9 8.9 3.9s8.9-2.015 8.9-3.9c0-1.11-1.22-2.23-3.26-2.985l.415-1.125c2.57.95 4.045 2.45 4.045 4.11zm-7.665-4.955a20.6 20.6 0 0 0-4.865 0l.145 1.19c1.485-.18 3.09-.18 4.575 0zM11.995 20.9c-1.12 0-2.24-1.23-2.995-3.295l-1.125.415c.95 2.595 2.455 4.08 4.125 4.08s3.17-1.49 4.125-4.08L15 17.605c-.755 2.065-1.875 3.295-2.995 3.295zM8.23 14.285c-.09-.74-.135-1.51-.135-2.28 0-5.325 2.015-8.9 3.9-8.9s3.9 3.575 3.9 8.9c0 .255-.01.505-.02.755-.18-.32-.365-.69-.525-1.09l-1.115.44a10.4 10.4 0 0 0 1.52 2.615l.16.195.71.055.195-.185a13.7 13.7 0 0 0 1.885-2.305l-1.015-.645a10 10 0 0 1-.615.855c.01-.23.02-.465.02-.7 0-5.665-2.24-10.1-5.1-10.1s-5.1 4.435-5.1 10.1c0 .82.05 1.64.145 2.425l1.19-.145zm2.515-2.28a1.25 1.25 0 1 0 2.5 0 1.25 1.25 0 0 0-2.5 0"})))})},74526(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"M.9 20.1h22.2V3.9H.9zm21-2.14-4.46-4.865-.88.81 4.58 5H2.86l4.58-5-.88-.81L2.1 17.96V6.24a44.1 44.1 0 0 0 9.585 8.26h.63A44.1 44.1 0 0 0 21.9 6.24zM12 13.29c1.24-.79 5.91-3.995 9.28-8.19H2.72c3.37 4.195 8.04 7.4 9.28 8.19",clipRule:"evenodd"})))})},96024(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"M1.9 22.1h8.2V1.9H1.9zm7-1.2H3.1V3.1h5.8zm5 1.2h8.2V1.9h-8.2zm1.2-1.2h5.8V3.1h-5.8z",clipRule:"evenodd"})))})},77773(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"M1.9 12c0 5.578 4.522 10.1 10.1 10.1 5.576-.006 10.094-4.524 10.1-10.1 0-5.578-4.522-10.1-10.1-10.1S1.9 6.422 1.9 12m7.102 5-.802-.754V7.768L9.017 7l.372.16c.19.084 4.715 2.051 7.576 4.07l.235.165v1.251l-.274.165-.163.095c-.964.56-5.744 3.337-7.404 3.96z",clipRule:"evenodd"})))})},67977(e,t,r){"use strict";var a,n,i,s,l=r(71763);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=l.createElement("path",{d:"M21.52 17.815h1.2V3.885H4.335v1.2H21.52z"})),n||(n=l.createElement("path",{d:"M13.495 17.975H12.28L9.89 12.4l-2.235 5.21-1.105-.475 2.73-6.36h1.22l2.395 5.59 1.535-3.45h1.17l2.315 4.165-1.05.585-1.795-3.235z"})),i||(i=l.createElement("path",{fillRule:"evenodd",d:"M4.88 11.48c.36.36.857.55 1.365.52a1.79 1.79 0 0 0 1.89-1.885 1.785 1.785 0 0 0-1.89-1.885 1.785 1.785 0 0 0-1.885 1.885c-.029.508.16 1.005.52 1.365m1.365-2.05a.6.6 0 0 0-.685.685.605.605 0 0 0 .685.685.6.6 0 0 0 .685-.685.6.6 0 0 0-.685-.71z",clipRule:"evenodd"})),s||(s=l.createElement("path",{fillRule:"evenodd",d:"M1.36 20.115h19.2V6.06H1.36zm18-1.2H2.56V7.26h16.8z",clipRule:"evenodd"})))})},6559(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"m8.705 19.15-.24 1.175c-3.99-.81-6.565-2.87-6.565-5.255 0-1.28.75-2.48 2.1-3.45-.265 0-.545.02-.82.045l-.12-1.195c1.475-.15 2.915.05 2.98.055l.265.04.395.59-.055.245c-.01.06-.315 1.44-1.115 2.81l-1.035-.605A9 9 0 0 0 5.1 12.33c-1.275.785-1.995 1.745-1.995 2.735 0 1.76 2.25 3.4 5.605 4.08zM22.1 15.07c0-1.86-1.545-3.53-4.235-4.58l-.435 1.12c2.175.845 3.47 2.14 3.47 3.465 0 2.35-3.96 4.34-8.695 4.395.305-.21.66-.425 1.05-.615l-.525-1.08c-1.43.7-2.445 1.68-2.485 1.725l-.18.175v.71l.2.18c.045.04 1.14 1.005 2.45 1.695l.56-1.06a12 12 0 0 1-.895-.535c5.48-.11 9.72-2.52 9.72-5.59zm-11.535-.195v-2.3l-.075-.29C9.495 10.47 7.87 7.49 7.755 7.23c-.025-.06-.025-.09-.03-.09.005-.01.045-.065.195-.15a.6.6 0 0 1 .155-.065c.01.01.015.025.03.04.075.125.86 1.53 1.34 2.385l1.125-.29c0-.25.015-6.175 0-6.65 0-.055.01-.13.06-.185.075-.075.265-.06.265-.06.02.02.05.115.05.205v5.01h1.2V5.165q-.001-.255.23-.255c.05 0 .17 0 .19.15.015.175.005 1.66 0 2.66l1.2.01c0-.465.01-1.1.01-1.645 0-.255.17-.255.23-.255.05 0 .17 0 .19.155.01.145.01 1.17 0 2.08l1.2.01c0-.27.005-.705.005-1.12 0-.255.17-.255.23-.255.05 0 .17 0 .19.16.015.135.01.275.01.415v1.17c0 .345-.025.64-.07.925q-.066.442-.155.885c-.045.21-.1.45-.195.
1655-.12.265-.315.515-.52.785l-.1.125q-.254.329-.515.65l-.135.165v2.23h1.2v-1.8l.405-.51.095-.12c.23-.295.49-.63.665-1.025.14-.315.22-.635.275-.905.065-.31.115-.625.165-.94.055-.35.085-.7.085-1.105V7.3c0-.17.005-.365-.015-.56-.065-.61-.56-1.23-1.38-1.23q-.174-.001-.325.035a1.36 1.36 0 0 0-1.3-.905q-.164 0-.305.03a1.355 1.355 0 0 0-1.32-.955c-.08 0-.155.015-.23.025V2.4c0-.105.005-.655-.385-1.06-.165-.175-.465-.38-.945-.38-.405 0-.78.155-1.05.43s-.41.65-.4 1.055c.005.255.005 2.355 0 4.32-.125-.225-.22-.39-.25-.435-.405-.645-1.05-.79-1.775-.395-.735.4-.99 1.035-.7 1.745.115.29 2.025 3.77 2.72 5.045v2.145h1.2z"})))})},26135(e,t,r){"use strict";var a,n,i,s=r(71763);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>s.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=s.createElement("path",{d:"M13.605 17.6h1.285l1.89-4.255 2.195 3.945 1.05-.58-2.67-4.81H16.11l-1.855 4.175-2.86-6.675h-1.29L6.95 16.765l1.1.47 2.7-6.295z"})),n||(n=s.createElement("path",{fillRule:"evenodd",d:"M6.5 10.6a2 2 0 0 1-2.1-2.1 2 2 0 0 1 2.1-2.1 2 2 0 0 1 2.1 2.1 2 2 0 0 1-2.1 2.1m-.673-2.773A.8.8 0 0 1 6.5 7.6a.8.8 0 0 1 .9.9.8.8 0 0 1-.9.9.8.8 0 0 1-.9-.9.8.8 0 0 1 .227-.673",clipRule:"evenodd"})),i||(i=s.createElement("path",{fillRule:"evenodd",d:"M23.1 20.1H.9V3.9h22.2zm-21-1.2h19.8V5.1H2.1z",clipRule:"evenodd"})))})},94168(e,t,r){"use strict";var a,n,i=r(71763);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=i.createElement("path",{d:"m20.64 6.67-.055.25a17.4 17.4 0 0 1-1.86 4.665L17.69 11a16 16 0 0 0 1.355-3l-4.735 3.135-.66-1L18.33 7a20 20 0 0 0-3.28.035l-.12-1.195a23 23 0 0 1 5 .1l.265.04zm-.47 11.035.47-.705-.055-.24a17.4 17.4 0 0 0-1.86-4.665l-1.035.605a16.2 16.2 0 0 1 1.355 3.025l-4.735-3.14-.66 1 4.68 3.1c-1.093.075-2.19.063-3.28-.035l-.12 1.19q.968.098 1.94.095 1.523 0 3.035-.19zM9.69 11.09 4.955 7.955a16 16 0 0 0 1.355 3l-1.035.61A17.4 17.4 0 0 1 3.415 6.9l-.055-.25.47-.7.265-.04a23 23 0 0 1 5-.1l-.12 1.195A20 20 0 0 0 5.67 7l4.68 3.1zm-.62 6.755-.12-1.19a21 21 0 0 1-3.28.03l4.68-3.105-.66-1-4.735 3.14c.347-1.052.8-2.066 1.355-3.025l-1.035-.605a17.4 17.4 0 0 0-1.86 4.665L3.36 17l.47.71.265.04q1.511.19 3.035.19.972.003 1.94-.095"})),n||(n=i.createElement("path",{fillRule:"evenodd",d:"M.9 20.44V3.24h22.2v17.2zm1.2-1.2h19.8V4.44H2.1z",clipRule:"evenodd"})))})},13323(e,t,r){"use strict";var a,n,i=r(71763);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=i.createElement("path",{d:"m10.16 10.5-.47.705-.265.04q-1.511.19-3.035.19a19 19 0 0 1-1.94-.095l.12-1.19c1.09.098 2.187.11 3.28.035l-4.68
1-3.1.66-1 4.735 3.14a16 16 0 0 0-1.355-3l1.035-.605a17.4 17.4 0 0 1 1.86 4.665zm-.055 3.92.055-.25-.445-.7-.265-.04a23 23 0 0 0-5-.1l.12 1.205c1.09-.1 2.187-.112 3.28-.035l-4.68 3.09.66 1 4.735-3.09a16 16 0 0 1-1.355 3l1.035.585a17.4 17.4 0 0 0 1.86-4.665m9.325-4.265.12 1.19q-.968.098-1.94.095-1.524 0-3.035-.19l-.265-.04-.47-.71.055-.245a17.4 17.4 0 0 1 1.86-4.665l1.035.605a16 16 0 0 0-1.355 3l4.735-3.14.66 1-4.68 3.135c1.093.075 2.19.063 3.28-.035m-3.995 5.3 4.735 3.135.66-.99-4.68-3.1c1.1-.088 2.205-.087 3.305.005l.12-1.195a23 23 0 0 0-5 .1l-.265.04-.47.7.055.25a17.4 17.4 0 0 0 1.86 4.665l1.035-.61a16 16 0 0 1-1.355-3"})),n||(n=i.createElement("path",{fillRule:"evenodd",d:"M.9 20.94V3.74h22.2v17.2zm1.2-1.2h19.8V4.94H2.1z",clipRule:"evenodd"})))})},99247(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"M15.51 4.055a8.105 8.105 0 0 1 .625 11.23l5.79 5.79-.85.85-5.79-5.79a8.105 8.105 0 1 1 .224-12.08zM10 3.1a6.9 6.9 0 1 0 0 13.8 6.9 6.9 0 0 0 0-13.8",clipRule:"evenodd"})))})},31020(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"m12.085 15.165 7.58.03h.71q.176.006.35.04c.481.094.9.388 1.15.81a1.75 1.75 0 0 1 .045 1.71l-.105.21-2.09 4.135H6.635a1.8 1.8 0 0 1-.6-.075A1.4 1.4 0 0 1 5.125 21L5 20.205l-.9-4.84L2.875 8.91l-.6-3.23L2 4.065l-.08-.425a2 2 0 0 1 0-.59c.033-.232.125-.452.265-.64a1.24 1.24 0 0 1 .94-.5h1.51c.32.003.64.045.95.125.323.08.632.21.915.385.29.195.542.44.745.725q.074.114.14.235l.1.19.185.37.745 1.465 1.5 2.94.72 1.5c.24.5.47.97.7 1.57a5.6 5.6 0 0 1 .225 1.82A7.6 7.6 0 0 1 11.31 15c-.19.605-.395 1.08-.6 1.605l-.635 1.5L8.835 18c.42-1 .86-2.03 1.225-3.025a5 5 0 0 0 .265-1.475 5.5 5.5 0 0 0-.09-1.5 8 8 0 0 0-.58-1.4L8.94 9.1 7.465 6.15 6.72 4.71 6.345 4A1.4 1.4 0 0 0 6 3.525a1.94 1.94 0 0 0-1.2-.445 11 11 0 0 0-1.55 0h-.12c-.02 0 0 0 0 .04a.5.5 0 0 0-.03.18q.005.151.04.3l.305 1.625L4 8.5l1.815 9.75.3 1.625.155.815v.11l.025.045a.2.2 0 0 0 .07.06h12.59l1.585-3.135q.196-.355.345-.73a.56.56 0 0 0-.105-.43.54.54 0 0 0-.39-.21h-.89l-7.755-.03z"})))})},57196(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"M14.31 16.215A4.1 4.1 0 1 1 13.9 18q0-.316.045-.63L9.07 14.715a4.1 4.1 0 1 1 0-5.44l4.875-2.655a4.1 4.1 0 1 1 .365 1.165l-4.585 2.5a4.11 4.11 0 0 1 0 3.43zM20.9 6a2.9 2.9 0 1 0-5.8 0 2.9 2.9 0 0 0 5.8 0M6 14.9a2.9 2.9 0 1 1 0-5.8 2.9 2.9 0 0 1 0 5.8m9.1 3.1a2.9 2.9 0 1 0 5.8 0 2.9 2.9 0 0 0-5.8 0",clipRule:"evenodd"})))})},5138(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M9.29 16.7h10.005v-1.2H9.29a.17.17 0 0 1-.165-.13l-.285-1.235h10.55l2.425-7.875H7.02l-.705-3.045a1.364 1.364 0 0 0-1.335-1.06H2v1.2h2.98c.08 0 .15.055.165.13L7.95 15.64c.145.625.695 1.06 1.335 1.06zM7.3 7.455h12.89l-1.685 5.475h-9.94zm2.79 10.355c-1.205 0-2.01.81-2.01 2.01s.81 2.01 2.01 2.01 2.01-.81 2.01-2.01-.81-2.01-2.01-2.01m0 2.825c-.545 0-.81-.265-.81-.81s.265-.81.81-.81.81.265.81.81-.265.81-.81.81m7.705-2.825c-1.205 0-2.01.81-2.01 2.01s.81 2.01 2.01 2.01 2.01-.81 2.01-2.01-.81-2.01-2.01-2.01m0 2.825c-.545 0-.81-.265-.81-.81s.265-.81.81-.81.81.265.81.81-.265.81-.81.81"})))})},66864(e,t,r){"use strict";var a,n,i=r(71763);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=i.createElement("path",{d:"M14.5 12.25a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0"})),n||(n=i.createElement("path",{fillRule:"evenodd",d:"m22.854 11.396.146.147v1.414l-.146.147c-.063.062-.26.266-.475.489l-.002.001c-.242.251-.51.528-.637.657a24 24 0 0 1-1.612 1.498C17.676 17.81 15.038 19 12 19s-5.676-1.191-8.128-3.25a24 24 0 0 1-1.612-1.5c-.128-.129-.395-.405-.638-.656a47 47 0 0 0-.476-.49L1 12.957v-1.414l.146-.147c.063-.062.26-.266.476-.49.243-.25.51-.527.638-.657A24 24 0 0 1 3.872 8.75C6.324 6.691 8.962 5.5 12 5.5s5.676 1.191 8.128 3.25c.548.461 1.062.943 1.612 1.5.128.128.394.404.637.655l.001.002c.216.223.413.427.476.49zM4.516 14.984c.761.64 1.538 1.188 2.338 1.634A6.72 6.72 0 0 1 5.25 12.25c0-1.666.
1604-3.191 1.604-4.368-.8.446-1.577.994-2.338 1.634-.523.44-1.015.9-1.545 1.437-.121.122-.377.387-.616.634L2 11.954v.592l.354.366c.24.248.496.513.617.635.53.537 1.022.998 1.545 1.437M6.25 12.25a5.75 5.75 0 1 0 11.5 0 5.75 5.75 0 0 0-11.5 0m12.5 0a6.72 6.72 0 0 0-1.604-4.369c.8.447 1.577.995 2.338 1.635.523.44 1.015.9 1.545 1.437.12.122.377.387.616.634h.001l.354.367v.592l-.35.363-.004.003c-.24.248-.496.513-.617.635a22 22 0 0 1-1.544 1.437 15 15 0 0 1-2.34 1.635 6.72 6.72 0 0 0 1.605-4.369",clipRule:"evenodd"})))})},41974(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{d:"M1.11 12.725a48 48 0 0 0 7.105 4.92l.57-1.055A47 47 0 0 1 2.11 12a34.5 34.5 0 0 1 6.66-4.58l-.54-1.07a35.4 35.4 0 0 0-7.135 4.94l-.195.175v1.08zm14.105 3.86.57 1.06a48 48 0 0 0 7.105-4.915l.21-.18v-1.08l-.195-.175a35.4 35.4 0 0 0-7.135-4.94l-.54 1.07A34.4 34.4 0 0 1 21.89 12a47 47 0 0 1-6.675 4.585"})))})},26560(e,t,r){"use strict";var a,n,i=r(71763);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=i.createElement("path",{fillRule:"evenodd",d:"M16.58 12.59a2 2 0 0 1 0 .31h3.055l-.095.685a7 7 0 0 1-6.5 6l-.635.035v-3.54h-.12q-.285.018-.57 0h-.11v3.525l-.635-.035a7 7 0 0 1-6.5-6l-.095-.685H7.38a2 2 0 0 1 0-.31V12.1h-3v-.715a7 7 0 0 1 7-7h1.2a7 7 0 0 1 7 7v.73h-3zM5.62 10.9a5.785 5.785 0 0 1 5.76-5.3h1.235a5.79 5.79 0 0 1 5.765 5.3h-2.1l-.018-.038a2 2 0 0 0-.077-.157 2 2 0 0 0-.16-.27 3 3 0 0 0-.275-.36 3 3 0 0 0-.75-.64 2 2 0 0 0-.215-.12 2 2 0 0 0-.225-.105 1 1 0 0 0-.195-.075 2 2 0 0 0-.33-.1 2 2 0 0 0-.21-.05 2 2 0 0 0-.265-.045l-.27-.025h-2.57l-.27.025a2 2 0 0 0-.265.045 2 2 0 0 0-.21.05 2 2 0 0 0-.33.1 1 1 0 0 0-.195.075 2 2 0 0 0-.225.105 2 2 0 0 0-.215.12 3 3 0 0 0-.745.63q-.081.091-.155.19-.075.093-.14.195a7 7 0 0 0-.12.21 3 3 0 0 0-.11.225zm.175 3.2a5.8 5.8 0 0 0 4.605 4.21l-.005-2.475a5 5 0 0 1-.39-.14l-.35-.155a5 5 0 0 1-.415-.22l-.29-.19a4 4 0 0 1-.28-.21 4 4 0 0 1-.32-.285 3 3 0 0 1-.235-.255q-.076-.091-.145-.19l-.03-.04a.4.4 0 0 1-.035-.05zm7.805 4.21v-2.47c.135-.04.265-.09.39-.14l.35-.155a4.6 4.6 0 0 0 1.015-.645q.147-.117.28-.25a4 4 0 0 0 .465-.55h2.105a5.8 5.8 0 0 1-4.605 4.21m-4.755-4.95a3.7 3.7 0 0 0 2.29 1.45v-.01a3.8 3.8 0 0 0 1.675-.035h.055a3.58 3.58 0 0 0 2.35-1.57 1.3 1.3 0 0 0 .165-.63v-.15a2.4 2.4 0 0 0-.11-.745l-.04-.13v-.05a2 2 0 0 0-.16-.325A2.3 2.3 0 0 0 13 10.1h-2a2.255 2.255 0 0 0-2.23 1.4l-.06.19a2.4 2.4 0 0 0-.11.745v.15c.001.224.06.444.17.64z",clipRule:"evenodd"})),n||(n=i.createElement("path",{fillRule:"evenodd",d:"M12.835 1.9H11.16a9.275 9.275 0 0 0-9.26 9.265v1.67a9.275 9.275 0 0 0 9.26 9.265h1.675a9.275 9.275 0 0 0 9.265-9.265v-1.67A9.275 9.275 0 0 0 12.835 1.9M20.9 12.835a8.075 8.075 0 0 1-8.065 8.065H11.16a8.075 8.075 0 0 1-8.06-8.065v-1.67A8.075 8.075 0 0 1 11.16 3.1h1.675a8.075 8.075 0 0 1 8.065 8.065z",clipRule:"evenodd"})))})},87e3(e,t,r){"use strict";var a,n,i,s,l=r(71763);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=l.createElement("path",{d:"m23.047 15.973-.008-.175c-.058-1.225-.14-2.377-.482-2.966-.306-.52-.772-.683-1.704-1.007l-.383-.133c-.272-.136-1.101-1.237-1.547-1.83l-.322-.427a2.56 2.56 0 0 0-2.05-1.033H6.58c-.528 0-.92.14-1.196.431-.3.312-.45.785-.445 1.438 0 .807-.017 1.75-.033 2.68-.017.875-.033 1.737-.033 2.459 0 1.519.89 1.724 1.765 1.724h.082c.301.516.842.8
166 1.465.866.622 0 1.196-.371 1.488-.913l8.6.017c.296.533.845.896 1.48.896s1.167-.35 1.468-.87c.075 0 .153 0 .223-.005.165-.004.322-.008.483-.004.255.004.627-.017.878-.286.243-.26.256-.614.243-.858zm-14.863.999a.74.74 0 0 1-.726-.752.74.74 0 0 1 .726-.75c.4 0 .725.336.725.75a.74.74 0 0 1-.725.752m11.568 0a.74.74 0 0 1-.726-.752.74.74 0 0 1 .726-.75c.4 0 .726.336.726.75a.74.74 0 0 1-.726.752m2.194-.88q-.239-.001-.49.005c-.062-.922-.8-1.652-1.704-1.652s-1.629.721-1.7 1.63l-8.17-.017c-.078-.9-.808-1.613-1.698-1.613-.891 0-1.642.734-1.704 1.656-.59-.017-.618-.154-.618-.696 0-.717.016-1.57.033-2.436.016-.94.033-1.891.033-2.702 0-.358.053-.606.156-.713.083-.085.252-.128.495-.128h9.968c.5 0 .962.235 1.275.64l.318.419c.927 1.237 1.53 2.001 1.996 2.168l.4.14c.783.274 1.06.376 1.171.564.243.418.31 1.814.342 2.488l.009.18v.063h-.116l.004.005z"})),n||(n=l.createElement("path",{fillRule:"evenodd",d:"M15.74 6.947h-.286v-.4h.286q.226.002.433.065l-.115.383a1.1 1.1 0 0 0-.318-.048m-.768.002-.579.003-.001-.4.579-.003zm-1.063.005-.577.003-.002-.4.577-.003zm-1.06.006-.578.003-.002-.4.578-.003zm-1.06.007-.579.003-.003-.4.579-.003zm-1.061.006-.58.004-.002-.4.58-.004zm-1.061.008-.58.003-.002-.4.579-.003zm-1.061.007-.58.003-.002-.4.58-.003zm-1.062.006-.58.003-.002-.4.58-.003zM6.484 7h-.29q-.146 0-.281.037l-.107-.385c.126-.035.259-.052.389-.052h.288zm10.23.505a.9.9 0 0 0-.189-.244l.273-.293c.113.106.207.226.273.356l.12.235-.356.182zM5.56 7.26a.4.4 0 0 0-.072.214q-.008.144-.017.263l-.399-.03.017-.255a.8.8 0 0 1 .143-.42zm11.717 1.343-.24-.47.356-.183.24.47zM5.38 8.464l-.385-.108v.001l.001-.004a3 3 0 0 0 .035-.223l.397.049a4 4 0 0 1-.042.263l-.004.015v.004l-.001.002v.002zm12.217.768-.12-.236.356-.182.12.236z",clipRule:"evenodd"})),i||(i=l.createElement("path",{fillRule:"evenodd",d:"M14.822 5.2h-.292v-.4h.292q.227.001.432.064l-.115.383a1.1 1.1 0 0 0-.317-.047m-.783 0h-.589v-.4h.59zm-1.079 0h-.588v-.4h.588zm-1.079.001h-.588v-.4h.588zm-1.078 0h-.589v-.4h.588v.4zm-1.08.001h-.588v-.4h.588zm-1.077 0h-.589v-.4h.588v.4zm-1.08.001h-.589v-.4h.59zm-1.078 0h-.293c-.096 0-.193.013-.282.038l-.107-.386c.126-.035.259-.051.39-.051h.292v.4zm9.308.554a.9.9 0 0 0-.19-.243l.273-.293c.113.105.207.226.273.355l.12.235-.356.182zM5.559 5.465a.4.4 0 0 0-.072.213l-.024.428-.4-.022.025-.428a.8.8 0 0 1 .143-.42zm10.799 1.392-.241-.471.356-.182.24.47zm-10.961.39-.4-.023.026-.427.399.023zm11.282.237-.12-.235.355-.182.12.235zM5.848 8.817h-.54v-.4h.54zm-.99 0h-.27q-.12 0-.232.014l-.048-.398q.138-.016.28-.016h.27zm1.44 0v-.4h.27v.4zm-2.31.102a1 1 0 0 0-.358.225l-.286-.28a1.4 1.4 0 0 1 .502-.32zm-.529.509a.8.8 0 0 0-.035.202l-.016.329-.4-.02.017-.329a1.2 1.2 0 0 1 .053-.302zm-.08 1.08-.035.66-.4-.022.036-.66zm-.063 1.208-.034.658-.4-.02.034-.659zm-.06 1.207-.029.658-.4-.017.03-.66zm-.05 1.206q-.012.341-.02.657l-.4-.01.02-.661zm-.03 1.204q-.003.171-.002.327a1 1 0 0 0 .027.23l-.39.092a1.4 1.4 0 0 1-.037-.322q0-.158.002-.332zm.183.905a1 1 0 0 0 .35.298l-.185.355a1.4 1.4 0 0 1-.489-.419zm.728.418q.114.018.246.018h.439v.4h-.439q-.16 0-.308-.023zm1.416.018h.438v.4h-.438z",clipRule:"evenodd"})),s||(s=l.createElement("path",{fillRule:"evenodd",d:"M4.024 8.817h-.605v-.4h.605zm-1.108 0h-.302q-.12 0-.232.014l-.048-.398q.138-.016.28-.016h.302zm1.612 0v-.4h.3l.001.4zm-2.514.102a1 1 0 0 0-.358.225l-.286-.28a1.4 1.4 0 0 1 .502-.32zm-.529.508a.8.8 0 0 0-.035.202l-.016.33-.4-.02.017-.329a1.2 1.2 0 0 1 .053-.302zm-.08 1.081-.035.66-.4-.022.036-.66.4.022zm-.064 1.208-.033.658-.4-.02.034-.659.4.02zm-.059 1.207-.029.658-.4-.017.03-.66.4.019zm-.05 1.206q-.012.341-.02.657l-.4-.01q.008-.319.02-.661zm-.03 1.204q-.002.171-.002.327 0 .116.027.23l-.39.092A1.4 1.4 0 0 1 .8 15.66q0-.158.002-.332zm.183.905a1 1 0 0 0 .35.298l-.185.355a1.4 1.4 0 0 1-.489-.419zm.727.418q.116.018.247.018h.252v.4h-.252q-.16 0-.308-.023zm1.839.018h.251v.4h-.251zm-.922 0h.503v.4H3.03z",clipRule:"evenodd"})))})},54376(e,t,r){"use strict";var a,n,i=r(71763);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>i.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=i.createElement("path",{fillRule:"evenodd",d:"m2.4 6 .6-.6h18l.6.6v5h-1.2V6.6H3.6v12.8h16.8V15h1.2v5l-.6.6H3l-.6-.6z",clipRule:"evenodd"})),n||(n=i.createElement("path",{fillRule:"evenodd",d:"M14.806 2.833 3.38 6.536l-.37-1.142 
112.212-3.957.785.57v3.397h-1.2V2.833zM15.4 11l.6-.6h6l.6.6v4l-.6.6h-6l-.6-.6zm1.2.6v2.8h4.8v-2.8z",clipRule:"evenodd"})))})},69634(e,t,r){"use strict";var a,n,i,s=r(71763);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>s.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),a||(a=s.createElement("path",{fillRule:"evenodd",d:"M4.706 9.011a.584.584 0 0 1 .568-.456h6.278c.271 0 .507.19.568.456l2.69 11.768a.6.6 0 0 1-.112.499.58.58 0 0 1-.456.222H2.583a.58.58 0 0 1-.456-.222.6.6 0 0 1-.112-.499l2.69-11.768zm1.031.721L3.316 20.323h10.193l-2.421-10.59h-5.35z",clipRule:"evenodd"})),n||(n=s.createElement("path",{fillRule:"evenodd",d:"M12.463 12.176h7.16c.274 0 .51.192.57.461l1.793 8.147a.6.6 0 0 1-.114.496.58.58 0 0 1-.455.22h-7.608v-1.177h6.881l-1.534-6.97h-6.693zm-3.035-5.32a1.8 1.8 0 0 0 .763-1.474c0-.992-.796-1.796-1.779-1.796s-1.778.804-1.778 1.796c0 .61.301 1.15.763 1.474l-.485.978a2.89 2.89 0 0 1-1.355-2.452C5.557 3.79 6.836 2.5 8.412 2.5s2.855 1.29 2.855 2.882a2.89 2.89 0 0 1-1.354 2.452zm6.997 3.661c.366-.264.604-.696.604-1.184 0-.803-.645-1.455-1.441-1.455s-1.441.652-1.441 1.455c0 .488.237.92.602 1.183l-.484.98a2.54 2.54 0 0 1-1.195-2.163 2.53 2.53 0 0 1 2.518-2.54c1.39 0 2.517 1.137 2.517 2.54 0 .913-.478 1.714-1.195 2.162z",clipRule:"evenodd"})),i||(i=s.createElement("path",{d:"M7.964 6h.897v3.687h-.897zm7.175 4h.897v3.28h-.897z"})))})},12036(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 40"},e),a||(a=n.createElement("path",{fillRule:"evenodd",d:"m20.783 26.298 4.224-4.008 4.21 4.008c.557.53.914.702 1.713.702H48v-4.395H32.243v-4.21H48V14H30.93c-.8 0-1.156.172-1.713.702l-4.21 4.008-4.224-4.008c-.557-.53-.914-.702-1.713-.702H2v4.395h15.757v4.21H2V27h17.07c.8 0 1.156-.172 1.713-.702"})))})},69985(e,t,r){"use strict";var a,n=r(71763);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}r.d(t,{},{A:e=>n.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 66 86"},e),a||(a=n.createElement("path",{d:"m52.3 43-23 43H23L0 43 22.9 0h6.5L6.5 43l19.6 36.9L45.7 43 34.3 21.5l3.3-6.1zM42.5 0h-6.6L13.1 43l14.7 27.6 3.2-6.1L19.6 43 39.2 6l19.6 37-22.9 43h6.6l22.8-43z"})))})},22595(e,t,r){function a(){var e;try{e=t.storage.debug}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=r(79568)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),r){var a="color: "+this.color;e.splice(1,0,a,"color: inherit");var n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))}),e.splice(i,0,a)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=a,t.useColors=function(){return"u">typeof window&&!!window.process&&"renderer"===window.process.type||"u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="u">typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(a())},79568(e,t,r){var a;function n(e){function r(){if(r.enabled){var e=+new Date;r.diff=e-(a||e),r.prev=a,r.curr=e,a=e;for(var n=Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");var s=0;
1n[0]=n[0].replace(/%([a-zA-Z%])/g,function(e,a){if("%%"===e)return e;s++;var i=t.formatters[a];if("function"==typeof i){var l=n[s];e=i.call(r,l),n.splice(s,1),s--}return e}),t.formatArgs.call(r,n),(r.log||t.log||console.log.bind(console)).apply(r,n)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var r,a=0;for(r in e)a=(a<<5)-a+e.charCodeAt(r)|0;return t.colors[Math.abs(a)%t.colors.length]}(e),"function"==typeof t.init&&t.init(r),r}(t=e.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var r=("string"==typeof e?e:"").split(/[\s,]+/),a=r.length,n=0;n<a;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.substr(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){var r,a;for(r=0,a=t.skips.length;r<a;r++)if(t.skips[r].test(e))return!1;for(r=0,a=t.names.length;r<a;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(20971),t.names=[],t.skips=[],t.formatters={}},93212(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((a=t.length)!=r.length)return!1;for(n=a;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((a=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(n=a;0!=n--;)if(!Object.prototype.hasOwnProperty.call(r,i[n]))return!1;for(n=a;0!=n--;){var a,n,i,s=i[n];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},37892(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,a){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("script");"function"==typeof r&&(a=r,r={}),a=a||function(){},i.type=(r=r||{}).type||"text/javascript",i.charset=r.charset||"utf8",i.async=!("async"in r)||!!r.async,i.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(i,r.attrs),r.text&&(i.text=""+r.text),("onload"in i?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(i,a),i.onload||t(i,a),n.appendChild(i)}},57652(e){e.exports=function(e,t,r,a){for(var n=-1,i=null==e?0:e.length;++n<i;){var s=e[n];t(a,s,r(s),e)}return a}},33699(e){e.exports=function(e,t,r,a){var n=-1,i=null==e?0:e.length;for(a&&i&&(r=e[++n]);++n<i;)r=t(r,e[n],n,e);return r}},76146(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},86602(e,t,r){var a=r(21938);e.exports=function(e,t,r,n){return a(e,function(e,a,i){t(n,e,r(e),i)}),n}},21938(e,t,r){var a=r(32858);e.exports=r(12194)(a)},32858(e,t,r){var a=r(12956),n=r(45731);e.exports=function(e,t){return e&&a(e,t,n)}},39772(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},87778(e,t,r){var a=r(95284),n=r(44983);e.exports=function(e,t,r,i){var s=r.length,l=s,o=!i;if(null==e)return!l;for(e=Object(e);s--;){var c=r[s];if(o&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++s<l;){var d=(c=r[s])[0],u=e[d],m=c[1];if(o&&c[2]){if(void 0===u&&!(d in e))return!1}else{var p=new a;if(i)var h=i(u,m,d,e,t,p);if(!(void 0===h?n(m,u,3,i,p):h))return!1}}return!0}},79966(e,t,r){var a=r(96102),n=r(91887),i=r(77421),s=r(62958),l=r(78298);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?n(e[0],e[1]):a(e):l(e)}},96102(e,t,r){var a=r(87778),n=r(44055),i=r(53976);e.exports=function(e){var t=n(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||a(r,e,t)}}},91887(e,t,r){var a=r(44983),n=r(44803),i=r(59348),s=r(36043),l=r(82683),o=r(53976),c=r(81600);e.exports=function(e,t){return s(e)&&l(t)?o(c(e),t):function(r){var s=n(r,e);return void 0===s&&s===t?i(r,e):a(t,s,3)}}},62690(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},70056(e,t,r){var a=r(70971);e.exports=function(e){return function(t){return a(t,e)}}},21659(e,t,r){var a=r(57652),n=r(86602),i=r(79966),s=r(62958);e.exports=function(e,t){return function(r,l){var o=s(r)?a:n,c=t?t():{};return o(r,e,i(l,2),c)}}},12194(e,t,r){var a=r(88537);e.exports=function(e,t){return function(r,n){if(null==r)return r;if(!a(r))return e(r,n);for(var i=r.length,s=t?i:-1,l=Object(r);(t?s--:++s<i)&&!1!==n(l[s],s,l););return r}}},72816(e,t,r){var a=r(33699),n=r(71521),i=r(40658),s=RegExp("['’]","g");e.exports=function(e){return function(t){return a(i(n(t).replace(s,"")),e,"")}}},46472(e,t,r){e.exports=r(44755)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},44055(e,t,r){var a=r(82683),n=r(45731);e.exports=function(e){for(var t=n(e),r=t.length;r--;){var i=t[r],s=e[i];t[r]=[i,s,a(s)]}return t}},61859(e,t,r){var a=r(73070),n=r(19707),i=r(62958),s=r(87192),l=r(88723),o=r
1(81600);e.exports=function(e,t,r){t=a(t,e);for(var c=-1,d=t.length,u=!1;++c<d;){var m=o(t[c]);if(!(u=null!=e&&r(e,m)))break;e=e[m]}return u||++c!=d?u:!!(d=null==e?0:e.length)&&l(d)&&s(m,d)&&(i(e)||n(e))}},70653(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},82683(e,t,r){var a=r(97604);e.exports=function(e){return e==e&&!a(e)}},53976(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},29786(e){var t="\\ud800-\\udfff",r="\\u2700-\\u27bf",a="a-z\\xdf-\\xf6\\xf8-\\xff",n="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="['’]",l="["+i+"]",o="["+a+"]",c="[^"+t+i+"\\d+"+r+a+n+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",m="["+n+"]",p="(?:"+o+"|"+c+")",h="(?:"+m+"|"+c+")",g="(?:"+s+"(?:d|ll|m|re|s|t|ve))?",f="(?:"+s+"(?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",C="[\\ufe0e\\ufe0f]?",y="(?:\\u200d(?:"+["[^"+t+"]",d,u].join("|")+")"+C+v+")*",x="(?:"+["["+r+"]",d,u].join("|")+")"+(C+v+y),E=RegExp([m+"?"+o+"+"+g+"(?="+[l,m,"$"].join("|")+")",h+"+"+f+"(?="+[l,m+p,"$"].join("|")+")",m+"?"+p+"+"+g,m+"+"+f,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",x].join("|"),"g");e.exports=function(e){return e.match(E)||[]}},71521(e,t,r){var a=r(46472),n=r(38307),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
17f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=n(e))&&e.replace(i,a).replace(s,"")}},26470(e,t,r){var a=r(10681),n=r(21659),i=Object.prototype.hasOwnProperty;e.exports=n(function(e,t,r){i.call(e,r)?e[r].push(t):a(e,r,[t])})},59348(e,t,r){var a=r(39772),n=r(61859);e.exports=function(e,t){return null!=e&&n(e,t,a)}},35014(e,t,r){e.exports=r(72816)(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})},78298(e,t,r){var a=r(62690),n=r(70056),i=r(36043),s=r(81600);e.exports=function(e){return i(e)?a(s(e)):n(e)}},59635(e,t,r){var a=r(79966),n=r(39926);e.exports=function(e,t){return e&&e.length?n(e,a(t,2)):[]}},40658(e,t,r){var a=r(76146),n=r(70653),i=r(38307),s=r(29786);e.exports=function(e,t,r){return(e=i(e),void 0===(t=r?void 0:t))?n(e)?s(e):a(e):e.match(t)||[]}},20971(e){function t(e,t,r){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+r:Math.ceil(e/t)+" "+r+"s"}e.exports=function(e,r){r=r||{};var a,n,i=typeof e;if("string"===i&&e.length>0){var s=e;if(!((s=String(s)).length>100)){var l=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(s);if(l){var o=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return 864e5*o;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*o;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*o;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*o;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:break}}}return}if("number"===i&&!1===isNaN(e)){return r.long?t(a=e,864e5,"day")||t(a,36e5,"hour")||t(a,6e4,"minute")||t(a,1e3,"second")||a+" ms":(n=e)>=864e5?Math.round(n/864e5)+"d":n>=36e5?Math.round(n/36e5)+"h":n>=6e4?Math.round(n/6e4)+"m":n>=1e3?Math.round(n/1e3)+"s":n+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},20619(e){(function(){var t,r,a,n;"u">typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"u">typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-n)/1e6},r=process.hrtime,n=(t=function(){var e;return 1e9*(e=r())[0]+e[1]})()-1e9*process.uptime()):Date.now?(e.exports=function(){return Date.now()-a},a=Date.now()):(e.exports=function(){return new Date().getTime()-a},a=new Date().getTime())}).call(this)},95249(e,t,r){for(var a=r(20619),n="u"<typeof window?r.g:window,i=["moz","webkit"],s="AnimationFrame",l=n["request"+s],o=n["cancel"+s]||n["cancelRequest"+s],c=0;!l&&c<i.length;c++)l=n[i[c]+"Request"+s],o=n[i[c]+"Cancel"+s]||n[i[c]+"CancelRequest"+s];if(!l||!o){var d=0,u=0,m=[],p=1e3/60;l=function(e){if(0===m.length){var t=a(),r=Math.max(0,p-(t-d));d=r+t,setTimeout(function(){var e=m.slice(0);m.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(d)}catch(e){setTimeout(function(){throw e},0)}},Math.round(r))}return m.push({handle:++u,callback:e,cancelled:!1}),u},o=function(e){for(var t=0;t<m.length;t++)m[t].handle===e&&(m[t].cancelled=!0)}}e.exports=function(e){return l.call(n,e)},e.exports.cancel=function(){o.apply(n,arguments)},e.exports.polyfill=function(e){e||(e=n),e.requestAnimationFrame=l,e.cancelAnimationFrame=o}},14334(e,t,r){"use strict";r.d(t,{ot:()=>R,hM:()=>O,Ap:()=>Y,R_:()=>M,X5:()=>V});var a=r(63730),n=r.n(a),i=r(71763),s=Math.sqrt(50),l=Math.sqrt(10),o=Math.sqrt(2);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){var a,n,i;a=e,n=t,i=r[t],n in a?Object.defineProperty(a,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function p(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){var t=function(){if("u"<typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,a=g(e);r=t?Reflect.construct(a,arguments,g(this).constructor):a.apply(this,arguments);if(r&&("object"==typeof r||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return v(this)}}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,a,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i=[],s=!0,l=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{s||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||E(e,t)||function(){throw TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}var b="react-compound-slider:";function P(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,r){return t.val>r.val?e?-1:1:r.val>t.val?e?1:-1:0}}function T(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=e.findIndex(function(e){return e.key===t});if(-1!==n){var i=e[n],s=i.key;return i.val===r?e:[].concat(x(e.slice(0,n)),[{key:s,val:r}],x(e.slice(n+1))).sort(P(a))}return e}function j(e,t){if(!e)return[0,0];var r=e.getBoundingClientRect();return[t?r.top:r.left,t?r.bottom:r.right]}function N(e){var t=e.type,r=e.touches;return!r||r.length>1||"touchend"===(void 0===t?"":t).toLowerCase()&&r.length>0}function I(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,i=0;return{handles:e.map(function(e){var t=r.getValue(e);return e!==t&&(i+=1,n()(!a,"".concat(b," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t}).map(function(e,t){return{key:"$$-".concat(t),val:e}}).sort(P(t)),changes:i}}function A(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.forEach(function(t){return t&&t(e)})}}var w=function(){return{value:0,percent:0}},O=function(e){h(r,e);var t=C(r);function r(){var e;u(this,r);for(var a=arguments.length,n=Array(a),i=0;i<a;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))).getRailProps=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.props,a=r.emitMouse,n=r.emitTouch;return d(d({},t),{},{onMouseDown:A(t&&t.onMouseDown,a),onTouchStart:A(t&&t.onTouchStart,n)})},e}return p(r,[{key:"render",value:function(){var e=this.getRailProps,t=this.props,r=t.getEventData,a=t.activeHandleID,n=(0,t.children)({getEventData:r||w,activeHandleID:void 0===a?"":a,getRailProps:e});return n&&i.Children.only(n)}}]),r}(i.Component),R=function(e){h(r,e);var t=C(r);function r(){var e;u(this,r);for(var a=arguments.length,n=Array(a),i=0;i<a;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))).autofocus=function(e){e.target instanceof HTMLElement&&e.target.focus()},e.getHandleProps=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.props,n=a.emitKeyboard,i=a.emitMouse,s=a.emitTouch;return d(d({},r),{},{onKeyDown:A(r&&r.onKeyDown,function(e){return n&&n(e,t)}),onMouseDown:A(r&&r.onMouseDown,e.autofocus,function(e){return i&&i(e,t)}),onTouchStart:A(r&&r.onTouchStart,function(e){return s&&s(e,t)})})},e}return p(r,[{key:"render",value:function(){var e=this.getHandleProps,t=this.props,r=t.activeHandleID,a=t.children,n=t.handles,s=a({handles:void 0===n?[]:n,activeHandleID:void 0===r?"":r,getHandleProps:e});return s&&i.Children.only(s)}}]),r}(i.Component),D=function(){function e(){u(this,e),this.interpolator=void 0,this.domain=[0,1],this.range=[0,1],this.domain=[0,1],this.range=[0,1],this.interpolator=null}return p(e,[{key:"createInterpolator",value:function(e,t){var r=this,a=e[0],n=e[1],i=t[0],s=t[1];return n<a?function(e){return r.interpolateValue(s,i)(r.deinterpolateValue(n,a)(e))}:function(e){return r.interpolateValue(i,s)(r.deinterpolateValue(a,n)(e))}}},{key:"interpolateValue",value:function(e,t){return e*=1,t-=e,function(r){return e+t*r}}},{key:"deinterpolateValue",value:function(e,t){return(t-=e*=1)?function(r){return(r-e)/t}:function(){return t}}},{key:"rescale",value:function(){return this.interpolator=null,this}},{key:"getValue",value:function(e){var t=this.domain,r=this.range;return(this.interpolator||(this.interpolator=this.createInterpolator(t,r)))(+e)}},{key:"setDomain",value:function(e){return this.domain=[e[0],e[1]],this.rescale(),this}},{key:"getDomain",value:function(){return this.domain}},{key:"setRange",value:function(e){return this.range=[e[0],e[1]],this}},{key:"getRange",value:function(){return this.range}},{key:"getTicks",value:function(e){var t=this.domain;return function(e,t,r){var a,n,i,c,d,u,m,p=-1;if(r*=1,(e*=1)==(t*=1)&&r>0)return[e];if((c=t<e)&&(d=e,e=t,t=d),0==(n=Math.floor(Math.log(a=(t-e)/Math.max(0,r))/Math.LN10),i=a/Math.pow(10,n),m=n>=0?(i>=s?10:i>=l?5:i>=o?2:1)*Math.pow(10,n):-Math.pow(10,-n)/(i>=s?10:i>=l?5:i>=o?2:1))||!isFinite(m))return[];if(m>0){let r=Math.round(e/m),a=Math.round(t/m);for(r*m<e&&++r,a*m>t&&--a,u=Array(d=a-r+1);
1++p<d;)u[p]=(r+p)*m}else{let r=Math.round(e*(m=-m)),a=Math.round(t*m);for(r/m<e&&++r,a/m>t&&--a,u=Array(d=a-r+1);++p<d;)u[p]=(r+p)/m}return c&&u.reverse(),u}(t[0],t[t.length-1],e||10)}}]),e}(),L=function(){return{value:0,percent:0}},M=function(e){h(r,e);var t=C(r);function r(){return u(this,r),t.apply(this,arguments)}return p(r,[{key:"render",value:function(){var e=this.props,t=e.children,r=e.values,a=e.scale,n=void 0===a?new D:a,s=e.count,l=e.getEventData,o=e.activeHandleID,c=t({getEventData:void 0===l?L:l,activeHandleID:void 0===o?"":o,ticks:(r||n.getTicks(void 0===s?10:s)).map(function(e){return{id:"$$-".concat(e),value:e,percent:n.getValue(e)}})});return c&&i.Children.only(c)}}]),r}(i.Component),k=function(){return{value:0,percent:0}},V=function(e){h(r,e);var t=C(r);function r(){var e;u(this,r);for(var a=arguments.length,n=Array(a),i=0;i<a;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))).getTrackProps=function(t){var r=e.props,a=r.emitMouse,n=r.emitTouch;return d(d({},t||{}),{},{onMouseDown:A(t&&t.onMouseDown,a),onTouchStart:A(t&&t.onTouchStart,n)})},e}return p(r,[{key:"render",value:function(){for(var e=this.getTrackProps,t=this.props,r=t.children,a=t.left,n=void 0===a||a,s=t.right,l=void 0===s||s,o=t.scale,c=void 0===o?new D:o,d=t.handles,u=void 0===d?[]:d,m=t.getEventData,p=t.activeHandleID,h=c.getDomain(),g=[],f=0;f<u.length+1;f++){var v=u[f-1],C=u[f];0===f&&!0===n?v={id:"$",value:h[0],percent:0}:f===u.length&&!0===l&&(C={id:"$",value:h[1],percent:100}),v&&C&&g.push({id:"".concat(v.id,"-").concat(C.id),source:v,target:C})}var y=r({getEventData:void 0===m?k:m,activeHandleID:void 0===p?"":p,tracks:g,getTrackProps:e});return y&&i.Children.only(y)}}]),r}(i.Component);function H(e,t,r){return Math.min(Math.max(e,t),r)}var F=p(function e(){var t=this;u(this,e),this.step=1,this.domain=[0,1],this.range=[0,1],this.setDomain=function(e){return t.domain=[e[0],e[1]],t},this.setRange=function(e){return t.range=[e[0],e[1]],t},this.setStep=function(e){return t.step=e,t},this.getValue=function(e){var r=y(t.domain,2),a=r[0],n=r[1],i=y(t.range,2),s=i[0],l=i[1],o=t.step,c=o*Math.round((H(e,a,n)-a)/(n-a)*(l-s)/o)+s;return H(c,s<l?s:l,l>s?l:s)}}),U="u">typeof window&&"u">typeof document,G=function(){},B=function(e,t){return e===t||e.length===t.length&&e.reduce(function(e,r,a){return e&&t[a]===r},!0)},z=function(e){if(!(0,i.isValidElement)(e))return!1;var t=e.type,r=t?t.name:"";return r===R.name||r===O.name||r===M.name||r===V.name},q=function(e,t,r,a){var n=a?e-t:e+t;return a?Math.max(r[0],n):Math.min(r[1],n)},W=function(e,t,r,a){var n=a?e+t:e-t;return a?Math.min(r[1],n):Math.max(r[0],n)},$=[0,100],Y=function(e){h(r,e);var t=C(r);function r(){var e;u(this,r);for(var a=arguments.length,n=Array(a),s=0;s<a;s++)n[s]=arguments[s];return(e=t.call.apply(t,[this].concat(n))).state={step:.1,values:[],domain:$,handles:[],reversed:!1,activeHandleID:"",valueToPerc:null,valueToStep:null,pixelToStep:null},e.slider=i.createRef(),e.onKeyDown=function(t,r){var a=["ArrowRight","ArrowUp"],n=["ArrowDown","ArrowLeft"],i=v(e),s=i.state.handles,l=i.props,o=l.step,c=void 0===o?.1:o,d=l.reversed,u=void 0!==d&&d,m=l.vertical,p=l.domain,h=void 0===p?[0,100]:p,g=t.key||"".concat(t.keyCode);if(a.concat(n).includes(g)){if(void 0!==m&&m){var f=[n,a];a=f[0],n=f[1]}t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault();var C=s.find(function(e){return e.key===r});if(C){var y=C.val,x=y;a.includes(g)?x=q(y,c,h,u):n.includes(g)&&(x=W(y,c,h,u));var E=s.map(function(e){return e.key===r?{key:e.key,val:x}:e});e.submitUpdate(E,!0)}}},e.onMouseDown=function(t,r){e.onStart(t,r,!1)},e.onTouchStart=function(t,r){N(t)||e.onStart(t,r,!0)},e.getEventData=function(t,r){var a,n=v(e),i=n.state,s=i.pixelToStep,l=i.valueToPerc,o=n.props.vertical;return s.setDomain(j(e.slider.current,o)),r&&t instanceof TouchEvent?a=s.getValue(I(o,t)):t instanceof MouseEvent&&(a=s.getValue(o?t.clientY:t.pageX)),{value:a,percent:l.getValue(a)}},e.onMouseMove=function(t){var r=v(e),a=r.state,n=a.handles,i=a.pixelToStep,s=a.activeHandleID,l=r.props,o=l.vertical,c=l.reversed;i.setDomain(j(e.slider.current,o));var d=T(n,void 0===s?"":s,i.getValue(o?t.clientY:t.pageX),void 0!==c&&c);e.submitUpdate(d)},e.onTouchMove=function(t){var r=v(e),a=r.state,n=a.handles,i=a.pixelToStep,s=a.activeHandleID,l=r.props,o=l.vertical,c=l.reversed;if(!(null===i||N(t))){i.setDomain(j(e.slider.current,o));var d=T(n,s,i.getValue(I(o,t)),c);e.submitUpdate(d)}},e.onMouseUp=function(){var t=v(e),r=t.state,a=r.handles,n=void 0===a?[]:a,i=r.activeHandleID,s=t.props,l=s.onChange,o=void 0===l?G:l,c=s.onSlideEnd,d=void 0===c?G:c;o(n.map(function(e){return e.val})),d(n.map(function(e){return e.val}),{activeHandleID:i}),e.setState({activeHandleID:""}),U&&(document.removeEventListener("mousemove",e.onMouseMove),document.removeEventListener("mouseup",e.onMouseUp))},e.onTouchEnd=function(){var t=v(e),r=t.state,a=r.handles,n=r.activeHandleID,i=t.props,s=i.onChange,l=void 0===s?G:s,o=i.onSlideEnd,c=void 0===o?G:o;l(a.map(function(e){return e.val})),c(a.map(function(e){return e.val}),{activeHandleID:n}),e.setState({activeHandleID:""}),U&&(document.removeEventListener("touchmove",e.onTouchMove),document.removeEventListener("touchend",e.onTouchEnd))},e}
1return p(r,[{key:"componentDidMount",value:function(){var e=this.state.pixelToStep,t=this.props.vertical;e.setDomain(j(this.slider.current,t))}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"removeListeners",value:function(){U&&(document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"onStart",value:function(e,t,r){var a=this.state.handles,n=this.props.onSlideStart,i=void 0===n?G:n;!r&&e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),a.find(function(e){return e.key===t})?(this.setState({activeHandleID:t}),i(a.map(function(e){return e.val}),{activeHandleID:t}),r?this.addTouchEvents():this.addMouseEvents()):(this.setState({activeHandleID:""}),this.handleRailAndTrackClicks(e,r))}},{key:"handleRailAndTrackClicks",value:function(e,t){var r,a=this,n=this.state,i=n.handles,s=n.pixelToStep,l=this.props,o=l.vertical,c=l.reversed,d=this.slider;s.setDomain(j(d.current,o)),r=t?s.getValue(I(o,e)):s.getValue(o?e.clientY:e.pageX);for(var u="",m=1/0,p=0;p<i.length;p++){var h=i[p],g=h.key,f=Math.abs(h.val-r);f<m&&(u=g,m=f)}var v=T(i,u,r,void 0!==c&&c);this.setState({activeHandleID:u},function(){a.submitUpdate(v,!0),t?a.addTouchEvents():a.addMouseEvents()})}},{key:"addMouseEvents",value:function(){U&&(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp))}},{key:"addTouchEvents",value:function(){U&&(document.addEventListener("touchmove",this.onTouchMove),document.addEventListener("touchend",this.onTouchEnd))}},{key:"submitUpdate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.props,a=r.mode,i=void 0===a?1:a,s=r.step,l=void 0===s?.1:s,o=r.onUpdate,c=void 0===o?G:o,d=r.onChange,u=void 0===d?G:d,m=r.reversed,p=void 0!==m&&m,h=this.state.valueToStep.getValue;this.setState(function(r){var a=r.handles,s=[];if("function"==typeof i)s=i(a,e,l,p,h),n()(Array.isArray(s),"Custom mode function did not return an array.");else switch(i){case 1:s=e;break;case 2:s=function(e,t){for(var r=0;r<e.length;r++)if(e[r].key!==t[r].key||t[r+1]&&t[r].val===t[r+1].val)return e;return t}(a,e);break;case 3:s=function e(t,r,a,n,i){for(var s=-1,l=!0,o=0;o<t.length;o++){var c=t[o],d=r[o];if(!d||d.key!==c.key)return t;d.val!==c.val&&(s=o,l=d.val-c.val>0)}if(-1===s)return t;for(var u=l?a:-a,m=0;m<r.length;m++){var p=r[m],h=r[m+1];if(h&&p.val===h.val)if(m===s){var g=h.val+u;if(i(g)!==g)return t;var f=T(r,h.key,h.val+u,n),v=e(r,f,a,n,i);if(v===r)return t;return v}else{var C=p.val+u;if(i(C)!==C)return t;var y=T(r,p.key,p.val+u,n),x=e(r,y,a,n,i);if(x===r)return t;return x}}return r}(a,e,l,p,h);break;default:s=e,n()(!1,"".concat(b," Invalid mode value."))}return c(s.map(function(e){return e.val})),t&&u(s.map(function(e){return e.val})),{handles:s}})}},{key:"render",value:function(){var e=this,t=this.state,r=t.handles,a=t.valueToPerc,n=t.activeHandleID,s=this.props,l=s.className,o=s.rootStyle,c=void 0===o?{}:o,u=s.rootProps,m=void 0===u?{}:u,p=s.component,h=void 0===p?"div":p,g=s.disabled,f=void 0!==g&&g,v=s.flatten,C=r.map(function(e){var t=e.key,r=e.val;return{id:t,value:r,percent:a.getValue(r)}}),y=i.Children.map(this.props.children,function(t){return!0===z(t)?i.cloneElement(t,{scale:a,handles:C,activeHandleID:n,getEventData:e.getEventData,emitKeyboard:f?G:e.onKeyDown,emitMouse:f?G:e.onMouseDown,emitTouch:f?G:e.onTouchStart}):t});return void 0!==v&&v?i.createElement(i.Fragment,null,i.createElement(h,d(d({},m),{},{style:c,className:l,ref:this.slider})),y):i.createElement(i.Fragment,null,i.createElement(h,d(d({},m),{},{style:c,className:l,ref:this.slider}),y))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=e.step,a=void 0===r?.1:r,i=e.values,s=e.domain,l=void 0===s?$:s,o=e.reversed,c=void 0!==o&&o,d=e.onUpdate,u=void 0===d?G:d,m=e.onChange,p=void 0===m?G:m,h=e.warnOnChanges,g=void 0!==h&&h,f=t.valueToPerc,v=t.valueToStep,C=t.pixelToStep,E={};if(f&&v&&C||(f=new D,v=new F,C=new F,E.valueToPerc=f,E.valueToStep=v,E.pixelToStep=C),t.domain===$||null===t.step||null===t.domain||null===t.reversed||a!==t.step||l[0]!==t.domain[0]||l[1]!==t.domain[1]||c!==t.reversed){var _=y(l,2),P=_[0],T=_[1];v.setStep(a).setRange([P,T]).setDomain([P,T]),!0===c?(f.setDomain([P,T]).setRange([100,0]),C.setStep(a).setRange([T,P])):(f.setDomain([P,T]).setRange([0,100]),C.setStep(a).setRange([P,T])),n()(T>P,"".concat(b," Max must be greater than min (even if reversed). Max is ").concat(T,". Min is ").concat(P,"."));var j=S(i||t.values,c,v,g),N=j.handles;(j.changes||void 0===i||i===t.values)&&(u(N.map(function(e){return e.val})),p(N.map(function(e){return e.val}))),E.step=a,E.values=i,E.domain=l===$?x(l):l,E.handles=N,E.reversed=c}else if(!B(i,t.values)){var I=S(i,c,v,g),A=I.handles;I.changes&&(u(A.map(function(e){return e.val})),p(A.map(function(e){return e.val}))),E.values=i,E.handles=A}return Object.keys(E).length?E:null}}]),r}(i.PureComponent)},45543(e,t,r){"use strict";let a,n;r.d(t,{Op:()=>x,WD:()=>C});var i,s,l=r(95249),o=r.n(l);(i=s||(s={}))[i.MODE_TIMEOUT=0]="MODE_TIMEOUT",i[i.MODE_INTERVAL=1]="MODE_INTERVAL";let c=new Map,d=new Set,u=!1,m=0;function p(){return new Date().getTime()}function h(e){let{fn:t,args:r}=e;t(...r)}function g(){if(0===c.size){u=!1;return}let e=p();if(c.forEach((t,r)=>{let{nextTick:a,ms:n,mode:i}=t;e-a>=0&&(d.add(t),i===s.MODE_TIMEOUT?c.delete(r):c.set(r,{...t,nextTick:a+n}))}
1),0!==d.size&&(d.forEach(h),d.clear()),0===c.size){u=!1;return}o()(g)}let f=function(e){null!=e&&c.has(e)&&c.delete(e)};var v=r(71763);let C=(e,t,r,a,n)=>{let i=t/n;return-a*i*(i-2)+r};function y(e){return"string"==typeof e?e.replace(/^#/,""):""}let x=e=>{var{to:t,target:r,animate:i={},beforeAnimate:l,afterAnimate:d,disableHistory:h=!1,children:x}=e,E=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n<a.length;n++)0>t.indexOf(a[n])&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]])}return r}(e,["to","target","animate","beforeAnimate","afterAnimate","disableHistory","children"]);let _=(0,v.useMemo)(()=>y(t),[t]),b=(0,v.useMemo)(()=>y(r),[r]),P=(0,v.useMemo)(()=>{let{offset:e=0,duration:t=400,easing:r=C}=i;return{offset:e,duration:t,easing:r}},[i]),T=(0,v.useCallback)(e=>{l&&l(e),e.preventDefault(),((e,t,r)=>{let i;if(""!==t)try{let e=document.getElementById(t);null!==e&&(i=e)}catch(e){console.error(`Failed to get element by id ${t}, falling back to default`)}function l(){return i?i.scrollTop:document.documentElement.scrollTop||document.body.scrollTop}return new Promise((t,d)=>{let h,v=e?document.getElementById(e):document.body;if(!v)return void d(Error(`Cannot find element: #${e}`));let{offset:C,duration:y,easing:x}=r,E=Date.now(),_=l(),b=(h=i?i.getBoundingClientRect().top:0,v.getBoundingClientRect().top-h+l()+C);a&&(f(a),n()),n=t,function r(){var n;let l=1-(Math.max(0,E+y-Date.now())/y||0);(n=(b-_)*x(l,y*l,0,1,y)+_,i?i.scrollTop=n:(document.documentElement.scrollTop=n,document.body.scrollTop=n),l<1)?a=((e,t=0,...r)=>(function({fn:e,ms:t,args:r,mode:a}){if(!e)return null;let n=m;return c.set(n,{fn:e,ms:t,nextTick:p()+t,args:r,mode:a}),u||(u=!0,o()(g)),m+=1,n})({fn:e,ms:t,args:r,mode:s.MODE_TIMEOUT}))(r,20):(a=void 0,t(e))}()})})(_,b,P).then(t=>{let r;t&&(h||(r=`#${t}`,"function"==typeof window.history.pushState?window.history.pushState({},"",r):window.location.hash=r),d&&d(e))})},[d,P,l,h,b,_]);return x?v.createElement("a",Object.assign({href:`#${_}`,onClick:T},E),x):null}},88619(e){"use strict";e.exports=function(){var e={},t={};return e.on=function(e,r){var a={name:e,handler:r};return t[e]=t[e]||[],t[e].unshift(a),a},e.off=function(e){var r=t[e.name].indexOf(e);-1!==r&&t[e.name].splice(r,1)},e.trigger=function(e,r){var a,n=t[e];if(n)for(a=n.length;a--;)n[a].handler(r)},e}},63730(e){"use strict";e.exports=function(){}},50687(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,n=(a=r(99947))&&a.__esModule?a:{default:a};t.default={pauseVideo:{acceptableStates:[n.default.ENDED,n.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[n.default.ENDED,n.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[n.default.ENDED,n.default.PLAYING,n.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},78504(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(r(22595)),n=l(r(34396)),i=l(r(31682)),s=l(r(50687));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,a.default)("youtube-player"),c={};c.proxyEvents=function(e){var t={},r=function(r){var a="on"+r.slice(0,1).toUpperCase()+r.slice(1);t[a]=function(t){o('event "%s"',a,t),e.trigger(r,t)}},a=!0,n=!1,s=void 0;try{for(var l,c=i.default[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var d=l.value;r(d)}}catch(e){n=!0,s=e}finally{try{!a&&c.return&&c.return()}finally{if(n)throw s}}return t},c.promisifyPlayer=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},a=function(a){t&&s.default[a]?r[a]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.then(function(e){var t=s.default[a],n=e.getPlayerState(),i=e[a].apply(e,r);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(n)?new Promise(function(r){e.addEventListener("onStateChange",function a(){var n=e.getPlayerState(),i=void 0;"number"==typeof t.timeout&&(i=setTimeout(function(){e.removeEventListener("onStateChange",a),r()},t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(n)&&(e.removeEventListener("onStateChange",a),clearTimeout(i),r()
1)})}).then(function(){return i}):i})}:r[a]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.then(function(e){return e[a].apply(e,r)})}},i=!0,l=!1,o=void 0;try{for(var c,d=n.default[Symbol.iterator]();!(i=(c=d.next()).done);i=!0){var u=c.value;a(u)}}catch(e){l=!0,o=e}finally{try{!i&&d.return&&d.return()}finally{if(l)throw o}}return r},t.default=c,e.exports=t.default},99947(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},31682(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},34396(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
1setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},46708(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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},n=l(r(88619)),i=l(r(91173)),s=l(r(78504));function l(e){return e&&e.__esModule?e:{default:e}}var o=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=(0,n.default)();if(o||(o=(0,i.default)(l)),t.events)throw Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw Error('Element "'+e+'" does not exist.');t.events=s.default.proxyEvents(l);var c=new Promise(function(r){(void 0===e?"undefined":a(e))==="object"&&e.playVideo instanceof Function?r(e):o.then(function(a){var n=new a.Player(e,t);return l.on("ready",function(){r(n)}),null})}),d=s.default.promisifyPlayer(c,r);return d.on=l.on,d.off=l.off,d},e.exports=t.default},91173(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,n=(a=r(37892))&&a.__esModule?a:{default:a};t.default=function(e){return new Promise(function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)return void t(window.YT);var r="http:"===window.location.protocol?"http:":"https:";(0,n.default)(r+"//www.youtube.com/iframe_api",function(t){t&&e.trigger("error",t)});var a=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){a&&a(),t(window.YT)}})},e.exports=t.default},65204(e,t,r){"use strict";var a,n=((a={}).CONFIG="CONFIG",a.NCI="NCI",a.TRADEIN="TRADEIN",a.UCI="UCI",a);r.d(t,{xu:()=>n},{JP:e=>!!e&&e?.category==="CONFIG",W8:e=>!!e&&e?.category==="UCI",ko:e=>!!e&&e?.category==="TRADEIN",zh:e=>!!e&&e?.category==="NCI"})},71928(e,t,r){"use strict";var a,n=((a={}).LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XLARGE="xlarge",a);r.d(t,{W:()=>n},{v:(e,t=!1)=>t})},87082(e,t,r){"use strict";var a,n,i,s,l,o,c,d=((a={}).ACCESSORY_REQUEST="Accessory request",a.BROCHURE_REQUEST="Brochure Request",a.CALLBACK="Callback",a.E_COMMERCE="E-commerce",a.FINANCE_REQUEST="Finance request",a.FLEET_REQUEST="Fleet Request",a.GAME="Game",a.GENERAL_REQUEST="General request",a.NEWSLETTER="Newsletter",a.OFFER_REQUEST="Offer request",a.ONLINE_PURCHASE="Online Purchase",a.PURCHASE_REQUEST="Purchase request",a.QUOTE_REQUEST="Quote request",a.REVEAL="Reveal",a.SERVICE_REQUEST="Service request",a.SPONSORSHIP="Sponsorship",a.TEST_DRIVE_REQUEST="TestDrive Request",a),u=((n={}
1).APV="APV",n.MOBILITY="MOBILITY",n.NONE="NONE",n.SERVICES="SERVICES",n.VN="VN",n.VO="VO",n),m=((i={}).DATACATCHING="DATACATCHING",i.INTERNET="INTERNET",i),p=((s={}).ALPINE="national-website",s.CAX="cax-website",s.DACIA="national-website",s.DWS="dealer-website",s.MOBILIZE="national-website",s.NCI="nci-website",s.QOL="Online Quote",s.RENAULT="national-website",s.RVP="rvp-website",s.TRADEINV2="tradein-website",s.UCIV2="uci-website",s),h=((l={}).CAX="pro-cax-website",l.DACIA="pro-national-website",l.DWS="dealer-website",l.NCI="pro-nci-website",l.RENAULT="pro-national-website",l.TRADEINV2="tradein-website",l.UCI="uci-website",l.UCIV2="uci-website",l),g=((o={}).AUTO_PROJECT="auto-project",o.DEALER_WEB_SITE="dealer-web-site",o),f=((c={}).CNG="CNG",c.DIESEL="Diesel",c.ELECTRIC="Electric",c.FLEXFUEL="FlexFuel",c.GASOLINE="Gasoline",c.HYBRID="Hybrid",c.HYBRID_PLUGIN="Hybrid plugin",c.LPG="LPG",c.MILDHYBRID="mildhybrid",c);r.d(t,{H4:()=>f,gE:()=>h,jo:()=>d,kL:()=>m,w8:()=>u,z_:()=>p},{um:e=>Object.values(g).includes(e)})},96175(e,t,r){"use strict";var a,n,i=((a={}).DEFAULT="default",a.ELECTRIC="electric",a.HEV="hev",a.ICEBIFUELCNG="icebifuelcng",a.ICEBIFUELLPG="icebifuellpg",a.ICEMONOFUEL="icemonofuel",a.MILDHYBRID="mildhybrid",a.PHEV="phev",a),s=((n={}).DIESEL="DIESEL",n.DISEL="DISEL",n.ELEC="ELEC",n.ELECT="ELECT",n.ELECX="ELECX",n.ESS="ESS",n.FLEXFL="FLEXFL",n.GAS="GAS",n.GASLN="GASLN",n);r.d(t,{D:()=>i,H:()=>s})},12347(e,t,r){"use strict";var a,n,i,s,l,o,c,d,u,m,p,h,g=((a={}).CATEGORY="category",a.CONFIG_VEHICLE="config_vehicle",a.DEALER_SERVICES="dealer_services",a.GLOSSARY_NOTES="glossary_notes",a.ONLINE_QUOTE="online_quote",a.PARTS_ACCESSORIES="parts_accessories",a.PRIORITY_PASS="priority_pass",a.SERVICE="service",a.SERVICE_CONTRACT_PRICES="service_contract_prices",a.TYRE="tyre",a.VEHICLE="vehicle",a.VEHICLE_NCI="vehicle_nci",a.VEHICLE_NCP="vehicle_ncp",a.VEHICLE_RSTOCK="vehicle_rstock",a.VEHICLE_UCI="vehicle_uci",a),f=((n={}).ANIMATION_LOWERCASE="animation",n.PICTURE="PICTURE",n.PICTURE_LOWERCASE="picture",n.VIDEO_LOWERCASE="video",n.YOUTUBE_LOWERCASE="youtube",n),v=((i={}).EXTERNAL="EXTERNAL",i.INTERNAL="INTERNAL",i),C=((s={}).DISCOUNT_ONLINE_QUOPTE="discountOnlineQuote",s.DISCOUNT_OVERALL="discountOverall",s),y=((l={}).BONMAL="BONMAL",l.CUMULATED_TRADE_IN_BONUS="CUMULATED_TRADE_IN_BONUS_AMOUNT",l.DEALER_TRADE_IN_BONUS="DEALER_TRADE_IN_BONUS",l.EEC_BONUS="EEC_BONUS",l.MINIMUM_MOUNTED_PRICE="MINIMUM_MOUNTED_PRICE",l.PREPARATION_FEES="PREPARATION_FEES",l.PiVG="PiVG",l.TAXMASS="TAXMASS",l),x=((o={}).OFFERED_PRODUCT="OFFERED_PRODUCT",o.PURCHASED_PRODUCT="PURCHASED_PRODUCT",o),E=((c={}).ADDITIONAL="ADDITIONAL",c.CROSSSELL="CROSSSELL",c.UPSELL="UPSELL",c.VEHICLE="VEHICLE",c),_=((d={}).CONFIG_URI="CONFIG_URI",d.DEALER="DEALER",d.PERSON="PERSON",d.PRODUCT="PRODUCT",d),b=((u={}).AMOUNT="AMOUNT",u.RATE="RATE",u),P=((m={}).DEL_CHARGE="DEL CHARGE",m.FRF="FRF",m.IA="IA",m.VAT="VAT",m.VED="VED",m),T=((p={}).MONTHLY="MONTHLY",p.ONE_TIME="ONE_TIME",p),j=((h={}).HOW_TO="HOW_TO",h.MAIN="MAIN",h.MARKETING="MARKETING",h.NEXT_STEPS="NEXT_STEPS",h.OPTIONAL="OPTIONAL",h.SHORT_DESCRIPTION="SHORT",h.VEHICLE_MODEL="VEHICLE_MODEL",h);r.d(t,{$z:()=>g,Fe:()=>x,PW:()=>f,UB:()=>C,Zl:()=>P,k8:()=>y,ls:()=>T,mZ:()=>j,nS:()=>_,pd:()=>b,s8:()=>v,zZ:()=>E})},57625(e,t,r){"use strict";var a,n=r(12347),i=((a={}).DEALER="dealer",a.SUBSIDIARY="subsidiary",a);function s(e){return!!e?.productType&&[n.$z.VEHICLE_NCI,n.$z.VEHICLE_NCP].includes(e.productType)}function l(e){return!!e&&s(e.originalData)}r.d(t,{CO:()=>i,OU:()=>s,mT:()=>l})},47219(e,t,r){"use strict";var a=r(12347);function n(e){return!!e&&e.productType===a.$z.VEHICLE}function i(e){return!!e&&n(e.originalData)}r.d(t,{Y$:()=>i,qH:()=>n})},67324(e,t,r){"use strict";var a,n=r(12347),i=((a={}).CARPASS="CARPASS",a.DIGITAL_CERTIFICATE="DIGITAL_CERTIFICATE",a);function s(e){return!!e&&e?.productType===n.$z.VEHICLE_UCI}function l(e){return!!e&&s(e.originalData)}r.d(t,{Vm:()=>i,ni:()=>s,rU:()=>l})},14680(e,t,r){"use strict";var a,n,i=((a={}).CCC_PHOTOS="CCC_PHOTOS",a.CCE="CCE",a.CERFA_REGISTRATION_CARD="CERFA_REGISTRATION_CARD",a.CERTIFICATE="CERTIFICATE",a.CONFIGURATION_ORDER="CONFIGURATION_ORDER",a.CONTRACT="CONTRACT",a.CONTRACTANNEX="CONTRACTANNEX",a.CONTRACT_MOBILITY="CONTRACT_MOBILITY",a.CREDIT_MEMO="CREDIT_MEMO",a.DELIVERY="DELIVERY",a.DEVIS="DEVIS",a.DIAGNOSTIC_BATTERY="DIAGNOSTIC_BATTERY",a.DISCLAIMER="DISCLAIMER",a.ECU="ECU",a.ENERGY_PERF_PDF="ENERGY_PERF_PDF",a.FICHE_SYNTHESE_TDV="FICHE_SYNTHESE_TDV",a.GENERAL_TERMS_AND_CON
1DITIONS="GENERAL_TERMS_AND_CONDITIONS",a.INVOICE="INVOICE",a.ORDER="ORDER",a.PERSONALDOCUMENT="PERSONALDOCUMENT",a.PROPOSAL="PROPOSAL",a.PURCHASE_ORDER="PURCHASE_ORDER",a.QUOTATION="QUOTATION",a.QUOTATION_ONLINE="QUOTATION_ONLINE",a.REGISTRATION="REGISTRATION",a.REPAIR_ORDER="REPAIR_ORDER",a.RFORCE_CASE="RFORCE_CASE",a.SEPA_MANDATE="SEPA_MANDATE",a.TECHNICAL_CONTROL="TECHNICAL_CONTROL",a.TRADE_IN="TRADE_IN",a.TURNAROUND_SUMMARY="TURNAROUND_SUMMARY",a.TURN_AROUND_SYNTHESIS="TURN_AROUND_SYNTHESIS",a),s=((n={}).BATTERY_CERTIFICATE="BATTERY_CERTIFICATE",n);r.d(t,{F:()=>s,V:()=>i})},62427(e,t,r){"use strict";var a,n=((a={}).CONFIGURATOR="configurator",a.CONSUMPTIONSIMULATOR="consumptionSimulator",a.GRADEPAGE="gradePage",a.LEADFORM="leadform",a.MODEL_BROCHURE="modelBrochure",a.MODEL_HOMEPAGE="modelHomepage",a.NEWCARINVENTORY="newCarInventory",a.OTHER="other",a.PRIORITY_PASS="priorityPass",a.RPASS="rpass",a);r.d(t,{b:()=>n})},26181(e,t,r){"use strict";var a,n=((a={}).ECOLOGICAL="ecological",a.ELECTRIC="electric",a.ERROR="error",a.HIGHLIGHT="highlight",a.INFO="info",a.PRIMARY="primary",a.PROMO="promo",a.SUCCESS="success",a.WARNING="warning",a);r.d(t,{K:()=>n})},71242(e,t,r){"use strict";var a,n,i,s,l=((a={}).BASIC="STANDARD",a.INTENSE="PREMIUM",a),o=((n={}).COMBINED="VERSATILE",n.HIGHWAY="HIGHWAYS",n.URBAN="URBAN",n),c=((i={}).CUSTOM="CUSTOM",i.WLTP="WLTP",i),d=((s={}).DOMESTIC="DOMESTIC",s.PUBLIC="PUBLIC",s);r.d(t,{SL:()=>l,XH:()=>o,eD:()=>c,tt:()=>d})},22569(e,t,r){"use strict";var a=r(91987),n=r(96024),i=r(77773);r.d(t,{},{A:({isRunning:e,onClick:t})=>{let r=e?n.A:i.A;return(0,a.jsx)("button",{className:"VideoControlButton",type:"button",onClick:t,children:(0,a.jsx)(r,{className:"VideoControlButton__icon"})})}})},42715(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(98481),s=r(20496),l=r(97500),o=r.n(l),c=r(54502),d=r(70385),u=r(3861),m=r(33496),p=r(78948),h=r(20409),g=r(84759),f=r(40119),v=r(5839);let C=50,y="alpine",x=(0,s.Ng)(({app:e,page:{data:{siteParams:t}}})=>({isRtl:t?.rtl??!1,brand:t?.brand||"",isMobile:e.threshold===v.qN})),E=({navBarData:e,onClickDots:t,dotMode:r,displayMode:n,portalDots:s})=>{if(!e.globalWidth||!e.childrenWidths||1===e.childrenWidths.length||!e.pages||1===e.pages.length)return null;let l=(0,a.jsxs)("ul",{className:o()("CustomScroll__dots",{"is-below":["dots-below","dots-below-mobile-only"].includes(r),"is-mobile-only":"dots-below-mobile-only"===r}),children:[("fullwidth"===n||"card"===n)&&e?.childrenWidths?.map((r,i)=>{let s=`dot-${i}`;return(0,a.jsx)("li",{className:"CustomScroll__dot",children:(0,a.jsx)("button",{type:"button",className:o()("CustomScroll__dotButton",{"is-active":"card"===n?e?.activeChildIndex===i:r?.isVisible}),onClick:()=>t(r?.middle),children:(0,a.jsx)("span",{className:"u-hidden-wording",children:`slide ${i}`})})},s)}),!n&&e?.pages?.map((e,r)=>{let n=`dot-${r}`;return(0,a.jsx)("li",{className:"CustomScroll__dot",children:(0,a.jsx)("button",{type:"button",className:o()("CustomScroll__dotButton",{"is-active":e?.isActive}),onClick:()=>t(e?.middle),children:(0,a.jsx)("span",{className:"u-hidden-wording",children:`slide ${r}`})})},n)})]});return s?(0,i.createPortal)(l,s):l},_=({isLeftArrowDisplayed:e,isRightArrowDisplayed:t,isRightBottomArrowsDisplayed:r,handleArrowClick:n,isRtl:s,portalElement:l,isDarkMode:u})=>{let m=(0,a.jsxs)("div",{className:o()("CustomScroll__bottomArrows",{"is-darkmode":u,"is-right-bottom-arrows-displayed":r}),children:[(0,a.jsx)("button",{type:"button",className:o()("CustomScroll__bottomArrowsButton CustomScroll__bottomArrowsLeft",{CustomScroll__bottomArrows_disabled:!e}),onClick:n(-1),children:(0,a.jsx)(c.A,{className:o()("CustomScroll__Arrows_arrow",{"is-rtl":s})})}),(0,a.jsx)("button",{type:"button",className:o()("CustomScroll__bottomArrowsButton CustomScroll__bottomArrowsRight",{CustomScroll__bottomArrows_disabled:!t}),onClick:n(1),children:(0,a.jsx)(d.A,{className:o()("CustomScroll__Arrows_arrow",{"is-rtl":s})})})]});return l?(0,i.createPortal)(m,l):m},b=({navBarData:e,onClickDots:t,tabs:r,brand:i})=>{let s=(0,n.useRef)(null),l=e?.childrenWidths.find(e=>e?.isVisible);if((0,n.useEffect)(()=>{let e=s.current;if(e){let t=e.querySelector(".CustomScroll__tabButton.is-active");t&&(t.getBoundingClientRect().left+t.clientWidth>window.innerWidth||t.getBoundingClientRect().left<0)&&e.scrollTo({top:0,left:t.offsetLeft})}},[l]),!e.globalWidth||!e.childrenWidths||1===e.childrenWidths.length)return null;
1let c="mobilize"===i;return(0,a.jsx)("ul",{className:"CustomScroll__tabs",ref:s,children:e?.childrenWidths?.map((e,n)=>{let i=`tab-${n}`;return(0,a.jsx)("li",{className:"CustomScroll__tab",children:(0,a.jsx)("button",{className:o()("CustomScroll__tabButton",{"is-active":e?.isVisible}),onClick:()=>t(e?.middle),type:"button",children:c?(0,g.G2)(n+1,2):r?.[n]})},i)})})},P=x(({bottomArrowsPortalElement:e,children:t=[],className:r="",darkMode:s=!1,defaultSelectedSlideIndex:l,displayMode:g,interactionType:x,isCentered:P=!1,isFullScreen:T=!1,isRtl:j,isSimplified:N=!1,isCardCentered:I=!1,isRightBottomArrowsDisplayed:S=!0,arrowMode:A,dotMode:w,onInteraction:O,snapMode:R,tabs:D=[],minInterval:L=C,brand:M,isMobile:k,portalsCustomElement:V={}})=>{let{ref:H,isVisible:F}=(0,h.A)({role:"technical",stayVisible:!1}),U=(0,n.useRef)(0),G=(0,n.useRef)(void 0),B=(0,n.useRef)(null),z=(0,n.useRef)(0),[q,W]=(0,n.useState)({childrenWidths:[],globalWidth:void 0,activeChildIndex:void 0,isScrolling:!1,pages:[]}),$=(0,n.useRef)(!1),[Y,K]=(0,n.useState)(!1),[X,Z]=(0,n.useState)(!1),[Q,J]=(0,n.use
1State)(0),[ee,et]=(0,n.useState)(0),er=q?.childrenWidths?.[0]?.width,ea=(0,n.useMemo)(()=>{if(I&&!k){let e=B?.current;if(e){let{clientWidth:t}=e;return(t-(er||0))/2}}return 0},[er,I,k]),en=(0,n.useCallback)(()=>{let e=B.current;if(e&&F){let{scrollLeft:t=0,scrollWidth:r=0,clientWidth:a=0}=e,n=r-a,i=n>0?n:0,s=j?-1:1;K(s*t>L),Z(i>0&&s*t+L<i);let l=Array.from(e.children)||[],o=l.map(e=>({promoText:(e.innerText||"").substring(0,50).replace(/\s+/g," ").trim(),width:e.offsetWidth,percent:e.offsetWidth/r*100,middle:e.offsetLeft+e.offsetWidth/2,left:e.getBoundingClientRect().left,right:e.getBoundingClientRect().right,isVisible:e.offsetLeft+e.offsetWidth/2>t&&e.offsetLeft+e.offsetWidth/2<t+a})),c=l.findIndex(e=>I?e.getBoundingClientRect().right>window.innerWidth/2:e?.offsetLeft>=Math.round(t));$.current||($.current=!0);let d=a?Array(Math.round(r/a)).fill(void 0).map((e,r)=>({isActive:r===Math.floor((t+a/2)/a),middle:a*r+a/2})):[],u=t!==U.current;U.current=t,W({isScrolling:u,activeChildIndex:c,pages:d,childrenWidths:o,globalWidth:r}),!o[c]||u&&Q||(J(o[c].right),et(o[c].left)),O?.({isScrolling:u,activeChildIndex:c,scrollLeft:t})}},[F,j,L,Q,O,I]),ei=e=>t=>{t?.stopPropagation();let r=B.current;if(r){let t,{scrollLeft:a=0,clientWidth:n=0}=r,i=j?-1:1,s=Array.from(r.children),{clientWidth:l=0}=s?.[0]||{};switch(g){case"fullwidth":t=n;break;case"card":t=l;break;default:t=9*n/10}r.scrollLeft=a+t*e*i}},es=0;(0,n.useEffect)(()=>{let e=q?.childrenWidths.findIndex(e=>e.isVisible);z.current!==e&&e>-1&&x&&!q.isScrolling&&((0,p.d)({interactionType:x,itemNumber:`${e+1}/${q?.childrenWidths.length}`,event:"carouselInteraction",promoText:q?.childrenWidths[e].promoText,scrollDirection:z.current<e?"right":"left"}),z.current=e)},[q,x]),(0,f.A)(en),(0,n.useEffect)(()=>(B?.current&&("u">typeof window&&window.addEventListener(v.jn,en),en()),()=>{"u">typeof window&&window.removeEventListener(v.jn,en)}),[en]),(0,n.useEffect)(()=>{if(void 0!==l){let e=requestAnimationFrame(()=>{let e=B?.current;if(e){let{clientWidth:t}=e;if(window){let r=Array.from(e.children);if(r.length>1&&r[l]){let{offsetLeft:a,clientWidth:n}=r[l];I?e.scrollLeft=a-(t-n)/2:e.scrollLeft="center"===R?a-(t-n)/2:a}}}});return()=>cancelAnimationFrame(e)}},[l,R,ea,I]);let el=o()("CustomScroll__child",{[`is-snap-${R||""}`]:R,[`is-display-${g||""}`]:g}),eo="arrows-left-right-all"===A||"arrows-left-right-desktop-only"===A,ec="tabs-inside"===w?b:E,ed=M===y?c.A:u.A,eu=M===y?d.A:m.A,em=(q?.activeChildIndex||0)+1;return(0,a.jsxs)("div",{className:o()("CustomScroll",{CustomScroll_center:P,"is-navbar-dots-below":["dots-below","dots-below-mobile-only"].includes(w)&&!V?.portalDots,"is-navbar-arrows-bottom":"arrows-bottom"===A,"is-darkmode":s},r),ref:H,children:[(0,a.jsx)("div",{className:o()("CustomScroll__container",{"is-simplified":N,[`is-display-${g||""}`]:g,"is-fullscreen":T,"has-smooth-scroll":$.current}),ref:B,style:ea?{scrollPadding:`0 ${ea}px`,padding:`0 ${ea}px`}:void 0,onScroll:()=>{es&&window.cancelAnimationFrame(es),es=window.requestAnimationFrame(()=>{en(),clearTimeout(G.current),G.current=setTimeout(en,100)})},children:t&&Array.isArray(t)&&R?t.map((e,r)=>{let n=`dot-${r}`;return(0,a.jsx)("div",{className:o()(el,{"is-first-slide":0===r,"is-last-slide":r===t.length-1}),children:e},n)}):t}),"counter"===w&&!!t&&Array.isArray(t)&&q?.activeChildIndex!==void 0&&!!R&&(0,a.jsxs)("div",{className:"CustomScroll__counter",children:[em," / ",t?.length]}),"arrows-bottom"===A&&(0,a.jsx)(_,{isLeftArrowDisplayed:Y,isRightArrowDisplayed:X,isRtl:j,isRightBottomArrowsDisplayed:S,handleArrowClick:ei,portalElement:e,portalsCustomElement:V,isDarkMode:s}),(()=>{if(eo&&Y){let e=(0,a.jsx)("button",{style:{"--leftArrowPosition":`${ee}px`},className:o()("CustomScroll__arrow CustomScroll__arrowLeft",{"is-simplified":N,"is-left-right-all":"arrows-left-right-all"===A}),onClick:ei(-1),type:"button",children:(0,a.jsx)(ed,{className:o()("CustomScroll__Arrows_arrow",{"is-rtl":j})})});return V.portalPreviousButton?(0,i.createPortal)(e,V.portalPreviousButton):e}return null})(),(()=>{if(eo&&X){let e=(0,a.jsx)("button",{style:{"--rightArrowPosition":`${Q}px`},className:o()("CustomScroll__arrow CustomScroll__arrowRight",{"is-simplified":N,"is-left-right-all":"arrows-left-right-all"===A}),onClick:ei(1),type:"button",children:(0,a.jsx)(eu,{className:o()("CustomScroll__Arrows_arrow",{"is-rtl":j})})});return V.portalNextButton?(0,i.createPortal)(e,V.portalNextButton):e}return null})(),!["none","counter"].includes(w)&&(0,a.jsx)(ec,{dotMode:w,displayMode:g,navBarData:q,arrowMode:A,onClickDots:e=>(e=>{let t=B.current;if(t){let{clientWidth:r=0}=t,a=e-r/2;t.scrollLeft=a>0?a:0}})(e),tabs:D,brand:M,isMobile:!!k,portalDots:V.portalDots})]})});r.d(t,{},{A:P})},52723(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(44803),o=r.n(l),c=r(35813);let d={},u=(e,t)=>
1{let r=new CustomEvent("sticky-change",{detail:{sticky:e,target:t}});document.dispatchEvent(r)},m=e=>o()(e,"isIntersecting"),p=e=>!m(e),h={isVisible:m,isNotVisible:p,isAbovePage:e=>p(e)&&0>o()(e,"boundingClientRect.y",0)};r.d(t,{},{$:({sentinelRef:e,direction:t="top",offset:r=0,offsetUnit:n="px",debugMode:i=!1})=>(0,a.jsx)("div",{className:s()({[`Sentinel__${t}`]:!0,Sentinel__debug:i}),ref:e,style:{[t]:`${r}${n}`}}),W:(e={root:null,testType:"isNotVisible",onChange:void 0})=>{let t=(0,n.useRef)(null),[r,a]=(0,n.useState)(!1);return(0,c.A)(()=>{let r=((e=null,t="isNotVisible")=>{let r=e?o()(e,"dataset.containerId"):"empty";if(!d[r]){let a=h[t];d[r]="u">typeof window&&window.IntersectionObserver?new IntersectionObserver(e=>{for(let t of e)u(a(t),t.target)},{threshold:[0],root:e}):null}return d[r]})(e.root?e.root.current:null,e.testType);if(t.current&&r){let n=t.current;r.observe(n);let i=r=>{let{target:n,sticky:i}=r.detail;n===t.current&&(e.onChange?.(i),a(i))};return"u">typeof document&&document.addEventListener("sticky-change",i),()=>{r.unobserve(n),"u">typeof document&&document.removeEventListener("sticky-change",i)}}return()=>null},[e]),{isTriggered:r,sentinelRef:t}}})},25756(e,t,r){"use strict";var a=r(91987),n=r(71763);r.d(t,{},{R:({bClassName:e,content:t="",supportReturnCarriage:r=!1,tag:i="div",className:s})=>{let l=(0,n.useMemo)(()=>{let a=t.replace(/<[^>]+>/gi,"");return a=a.replace(/\[(\/?[bi])\]/gi,"<$1>"),e&&(a=a.replace(/<b>/gi,`<b class="${e}">`)),r&&(a=a.replace(/\r?\n/g,"<br>")),{__html:a}},[t,e,r]);return(0,a.jsx)(i,{dangerouslySetInnerHTML:l,className:s})}})},52357(e,t,r){"use strict";var a=r(25756);r.d(t,{R:()=>a.R})},80715(e,t,r){"use strict";var a=r(91987),n=r(20496),i=r(84759),s=r(16777),l=r(90939),o=r(55595);let c=(0,n.Ng)(({page:e})=>({brand:e.data?.siteParams?.brand||"renault"})),d=(e,t,r,a,n)=>{if(r)return void 0!==n?(0,i.sB)((0,l.A)("/agg/v1/cfg/scene"),{uri:e,profile:r,viewpoint:t,index:n,decorName:a}):(0,i.sB)((0,l.A)("/agg/vn/unique/{profile}/{viewPoint}.png",{viewPoint:t,profile:r}),{uri:e,decorName:a})},u=c(({uri:e,aspectRatio:t,viewPoint:r,profiles:n,index:i,decorName:l,width:c,height:u,disableLazyLoaded:m,objectFit:p="contain",sizes:h,brand:g})=>{let f,v;return(0,a.jsx)(o._,{alt:"",aspectRatio:t,width:c,height:u,objectFit:p,src:(f=r??`${g.charAt(0)}_brandSite_carPicker_1`,v=n||{},(0,s.yb)({small:d(e,f,v.small,l,i),medium:d(e,f,v.medium,l,i),large:d(e,f,v.large,l,i),xlarge:d(e,f,v.xlarge,l,i),smallx2:d(e,f,v.smallx2,l,i),mediumx2:d(e,f,v.mediumx2,l,i),largex2:d(e,f,v.largex2,l,i),xlargex2:d(e,f,v.xlargex2,l,i)})),disableLazyLoaded:m,sizes:h})});r.d(t,{},{F:u})},71376(e,t,r){"use strict";r.d(t,{E:()=>E});var a,n,i=r(91987),s=r(71763),l=r(20496),o=r(97500),c=r.n(o),d=r(16383),u=r(9897),m=r(20409),p=r(86959),h=r(12036);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}let f=e=>s.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 460 460"},e),a||(a=s.createElement("path",{fill:"#EB411D",fillRule:"evenodd",d:"m69.967 430.044-55.545-61.137L390.866 32.989l55.545 61.137z",clipRule:"evenodd"})),n||(n=s.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M79.341 222.13c0-77.927 63.731-141.1 142.349-141.1 26.989 0 52.222 7.445 73.727 20.38V15.743A222.4 222.4 0 0 0 221.69 3.21C99.711 3.21.832 101.222.832 222.13c0 20.888 3.026 41.053 8.51 60.2H92.93c-8.699-18.29-13.589-38.669-13.589-60.2m302.15 18.773c0 77.927-63.732 141.099-142.349 141.099-26.989 0-52.222-7.444-73.727-20.379v85.667a222.4 222.4 0 0 0 73.727 12.533C361.12 459.823 460 361.811 460 240.903c0-20.888-3.026-41.053-8.51-60.2h-83.589c8.7 18.29 13.59 38.669 13.59 60.2",clipRule:"evenodd"})));var v=r(69985),C=r(619);let y=(0,l.Ng)(({page:e})=>({brand:e.data?.siteParams?.brand})),x=({brand:e})=>{switch(e){case"dacia":return(0,i.jsx)("div",{className:"ImagePim__placeholder",children:(0,i.jsx)(h.A,{className:"ImagePim__placeholderIcon"})});case"mobilize":return(0,i.jsx)("div",{className:"ImagePim__placeholder",children:(0,i.jsx)(f,{className:"ImagePim__placeholderIcon"})});case"alpine":return(0,i.jsx)("div",{className:"ImagePim__placeholder",children:(0,i.jsx)(p.A,{className:"ImagePim__placeholderIcon"})});default:return(0,i.jsx)("div",{className:"ImagePim__placeholder",children:(0,i.jsx)(v.A,{className:"ImagePim__placeholderIcon"})})}},E=y(({src:e,alt:t,brand:r})=>
1{let[a,n]=(0,s.useState)(),[{isLoading:l},o]=(0,u.A)({method:"get",url:"/agg/v1/pim/size",returnPromise:!0}),p=(0,s.useMemo)(()=>e?{small:e}:{},[e]),{ref:h,isVisible:g}=(0,m.A)({role:"lazyload",stayVisible:!0});(0,s.useEffect)(()=>{let t=async()=>{if(g&&e)try{let t=await o({params:{url:e},timeout:5e3});n(t?.data?.size)}catch(e){n(-1)}};g&&e&&t()},[g,o,e]);let f=l||!g,v=void 0!==a&&a<=1536&&-1!==a;return(0,i.jsxs)("div",{className:"ImagePim",ref:h,children:[!e&&(0,i.jsx)(x,{brand:r}),e&&f&&(0,i.jsx)(C.E,{width:"100%",height:"100%"}),e&&!f&&!v&&(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(x,{brand:r}),(0,i.jsx)("div",{className:c()("ImagePim__infoPixel",{"is-invalid":-1===a})})]}),e&&!f&&v&&(0,i.jsx)(d._,{src:p,width:"100%",height:"100%",alt:t||"",objectFit:"cover"})]})})},77048(e,t,r){"use strict";var a=r(80715);r.d(t,{F:()=>a.F})},7285(e,t,r){"use strict";var a=r(71376);r.d(t,{E:()=>a.E})},88764(e,t,r){"use strict";r.d(t,{k:()=>k,Y:()=>L});var a=r(91987),n=r(71763),i=r(2736),s=r.n(i),l=r(93212),o=r.n(l),c=r(46708),d=r.n(c),u=Object.defineProperty,m=Object.defineProperties,p=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,v=(e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,C=(e,t)=>{for(var r in t||(t={}))g.call(t,r)&&v(e,r,t[r]);if(h)for(var r of h(t))f.call(t,r)&&v(e,r,t[r]);return e};function y(e={}){let t,r;return t=C({},e),r={height:0,width:0,playerVars:m(C({},e.playerVars),p({autoplay:0,start:0,end:0}))},m(t,p(r))}var x={videoId:s().string,id:s().string,className:s().string,iframeClassName:s().string,style:s().object,title:s().string,loading:s().oneOf(["lazy","eager"]),opts:s().objectOf(s().any),onReady:s().func,onError:s().func,onPlay:s().func,onPause:s().func,onEnd:s().func,onStateChange:s().func,onPlaybackRateChange:s().func,onPlaybackQualityChange:s().func},E=class extends n.Component{constructor(e){super(e),this.destroyPlayerPromise=void 0,this.onPlayerReady=e=>{var t,r;return null==(r=(t=this.props).onReady)?void 0:r.call(t,e)},this.onPlayerError=e=>{var t,r;return null==(r=(t=this.props).onError)?void 0:r.call(t,e)},this.onPlayerStateChange=e=>{var t,r,a,n,i,s,l,o;switch(null==(r=(t=this.props).onStateChange)||r.call(t,e),e.data){case E.PlayerState.ENDED:null==(n=(a=this.props).onEnd)||n.call(a,e);break;case E.PlayerState.PLAYING:null==(s=(i=this.props).onPlay)||s.call(i,e);break;case E.PlayerState.PAUSED:null==(o=(l=this.props).onPause)||o.call(l,e)}},this.onPlayerPlaybackRateChange=e=>{var t,r;return null==(r=(t=this.props).onPlaybackRateChange)?void 0:r.call(t,e)},this.onPlayerPlaybackQualityChange=e=>{var t,r;return null==(r=(t=this.props).onPlaybackQualityChange)?void 0:r.call(t,e)},this.destroyPlayer=()=>this.internalPlayer?(this.destroyPlayerPromise=this.internalPlayer.destroy().then(()=>this.destroyPlayerPromise=void 0),this.destroyPlayerPromise):Promise.resolve(),this.createPlayer=()=>{if("u"<typeof document)return;if(this.destroyPlayerPromise)return void this.destroyPlayerPromise.then(this.createPlayer);let e=m(C({},this.props.opts),p({videoId:this.props.videoId}));this.internalPlayer=d()(this.container,e),this.internalPlayer.on("ready",this.onPlayerReady),this.internalPlayer.on("error",this.onPlayerError),this.internalPlayer.on("stateChange",this.onPlayerStateChange),this.internalPlayer.on("playbackRateChange",this.onPlayerPlaybackRateChange),this.internalPlayer.on("playbackQualityChange",this.onPlayerPlaybackQualityChange),(this.props.title||this.props.loading)&&this.internalPlayer.getIframe().then(e=>{this.props.title&&e.setAttribute("title",this.props.title),this.props.loading&&e.setAttribute("loading",this.props.loading)})},this.resetPlayer=()=>this.destroyPlayer().then(this.createPlayer),this.updatePlayer=()=>{var e;null==(e=this.internalPlayer)||e.getIframe().then(e=>{this.props.id?e.setAttribute("id",this.props.id):e.removeAttribute("id"),this.props.iframeClassName?e.setAttribute("class",this.props.iframeClassName):e.removeAttribute("class"),this.props.opts&&this.props.opts.width?e.setAttribute("width",this.props.opts.width.toString()):e.removeAttribute("width"),this.props.opts&&this.props.opts.height?e.setAttribute("height",this.props.opts.height.toString()):e.removeAttribute("height"),this.props.title?e.setAttribute("title",this.props.title):e.setAttribute("title","YouTube video player"),this.props.loading?e.setAttribute("loading",this.props.loading):e.removeAttribute("loading")})},this.getInternalPlayer=()=>this.internalPlayer,this.updateVideo=()=>{var e,t,r,a;if(void 0===this.props.videoId||null===this.props.videoId){null==(e=this.internalPlayer)||e.stopVideo();return}let n=!1,i={videoId:this.props.videoId};if((null==(t=this.props.opts)?void 0:t.playerVars)&&(n=1===this.props.opts.playerVars.autoplay,"start"in this.props.opts.playerVars&&(i.startSeconds=this.props.opts.playerVars.start),"end"in this.props.opts.playerVars&&(i.endSeconds=this.props.opts.playerVars.end)),n){null==(r=this.internalPlayer)||r.loadVideoById(i);return}null==(a=this.internalPlayer)||a.cueVideoById(i)},this.refContainer=e=>{this.container=e},this.container=null,this.internalPlayer=null}componentDidMount(){this.createPlayer()}componentDidUpdate(e){let t,r;return t=this,r=function*(){var t,r,a,n,i,s;t=this.props,(e.id!==t.id||e.className!==t.className||(null==(r=e.opts)?void 0:r.width)!==(null==(a=t.opts)?void 0:a.width)||(null==(n=e.opts)?void 0:n.height)!==(null==(i=t.opts)?void 0:i.height)||e.iframeClassName!==t.iframeClassName||e.title!==t.title)&&this.updatePlayer(),s=this.props,e.videoId===s.videoId&&o()(y(e.opts),y(s.opts))||(yield this.resetPlayer()),function(e,t){var r,a;if(e.videoId!==t.videoId)return!0;let n=(null==(r=e.opts)?void 0:r.playerVars)||{},i=(null==(a=t.opts)?void 0:a.playerVars)||{};return n.start!==i.start||n.end!==i.end}(e,this.props)&&this.updateVideo()},new Promise((e,a)=>{var n=e=>
1{try{s(r.next(e))}catch(e){a(e)}},i=e=>{try{s(r.throw(e))}catch(e){a(e)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(n,i);s((r=r.apply(t,null)).next())})}componentWillUnmount(){this.destroyPlayer()}render(){return n.createElement("div",{className:this.props.className,style:this.props.style},n.createElement("div",{id:this.props.id,className:this.props.iframeClassName,ref:this.refContainer}))}};E.propTypes=x,E.defaultProps={videoId:"",id:"",className:"",iframeClassName:"",style:{},title:"",loading:void 0,opts:{},onReady:()=>{},onError:()=>{},onPlay:()=>{},onPause:()=>{},onEnd:()=>{},onStateChange:()=>{},onPlaybackRateChange:()=>{},onPlaybackQualityChange:()=>{}},E.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5};var _=r(20496),b=r(50865),P=r(16383),T=r(78948),j=r(20409),N=r(38337),I=r(22569),S=r(619),A=r(73437);let w=(0,n.createContext)(null),O="mobilize",R=[0,25,50,75],D=(0,_.Ng)(({app:e,page:t})=>({cookieAuthorization:e?.cookieAuthorization,brand:t?.data?.siteParams?.brand})),L=({alt:e,description:t,onClick:r,src:i,title:s,youtubeVideoId:l})=>{let[o,c]=(0,n.useState)(!0),{player:d}=(0,n.useContext)(w)||{},u=e=>{d&&(c(!1),d.playVideo()),r?.(),e?.stopPropagation()};return o?(0,a.jsxs)("div",{className:"Youtube__overlay",children:[(0,a.jsx)("button",{type:"button",className:"Youtube__button",onClick:u,children:(0,a.jsx)(P._,{src:i||{small:`https://img.youtube.com/vi/${l}/maxresdefault.jpg`},alt:e||"",objectFit:"cover",width:"100%",height:"100%"})}),i&&t&&(0,a.jsxs)("div",{className:"Youtube__textContent",children:[s&&(0,a.jsx)("p",{className:"Youtube__title",children:s}),t&&(0,a.jsx)("p",{className:"Youtube__bodycopy",children:t})]}),(0,a.jsx)("div",{className:"Youtube__control",children:(0,a.jsx)(I.A,{isRunning:!1,onClick:u})})]}):null},M=({brand:e})=>(0,a.jsxs)("div",{className:"Youtube__socialCookies",children:[(0,a.jsx)(b.d,{className:"Youtube__socialCookiesMessage",content:(0,N.kH)("wording.youtubeCookieError")}),(0,a.jsxs)("div",{className:"Youtube__socialCookiesCtas",children:[(0,a.jsx)(A.l,{isInverted:e!==O,useButtonMarkup:!0,variant:"cta-ghost",children:(0,N.kH)("wording.refuseCTA")}),(0,a.jsx)(A.l,{isInverted:e!==O,onClick:()=>window.consentToSocialCookies(),useButtonMarkup:!0,variant:"cta-primary",children:(0,N.kH)("wording.acceptCTA")})]})]}),k=D(({children:e,cookieAuthorization:t,isMuted:r,isAutoPlay:i,meta:s,youtubeVideoId:l,brand:o,...c})=>{let d=(0,n.useRef)(null),u=(0,n.useRef)(new Set),{ref:m,isVisible:p}=(0,j.A)({role:"lazyload"}),[h,g]=(0,n.useState)(!1),[f,v]=(0,n.useState)(),[C,y=0]=l?l.split("|"):[],{alt:x,description:_}=s||{},b=t?.ccSocial==="accept",P=(0,n.useMemo)(()=>({player:f}),[f]),N=()=>{d.current&&(clearInterval(d.current),d.current=null)};return(0,n.useEffect)(()=>{u.current.clear(),N()},[l]),(0,n.useEffect)(()=>()=>N(),[]),(0,a.jsx)("div",{className:"Youtube",itemProp:"video",itemScope:!0,itemType:"http://schema.org/VideoObject",ref:m,children:b?(0,a.jsxs)(w.Provider,{value:P,children:[p?e:null,p?(0,a.jsxs)(n.Fragment,{children:[!h&&(0,a.jsx)("div",{className:"Youtube__skeleton",children:(0,a.jsx)(S.E,{width:"100%",height:"100%"})}),(0,a.jsx)(E,{videoId:C,opts:{height:"100%",width:"100%",playerVars:{start:y,autoplay:+!!i,modestbranding:1,rel:0}},onReady:e=>{let t=e.target;v(t),g(!0),r&&t.mute()},onPlay:e=>{d.current||(d.current=window.setInterval(()=>{let t=e.target.getDuration();if(!t)return;let r=e.target.getCurrentTime()/t*100;R.forEach(t=>{r>=t&&!u.current.has(t)&&(u.current.add(t),0===t?(0,T.d)({event:"videoStart",sound:e.target.isMuted()?"off":"on",videoId:C}):(0,T.d)({event:"videoProgress",sound:e.target.isMuted()?"off":"on",videoPercent:`${t}%`,videoId:C}))})},1e3))},onEnd:e=>{(0,T.d)({event:"videoProgress",sound:e.target.isMuted()?"off":"on",videoPercent:"100%",videoId:C}),u.current.clear(),N()},onPause:()=>N(),onError:()=>N(),...c})]}):null,x&&(0,a.jsx)("meta",{itemProp:"name",content:x}),l&&(0,a.jsx)("meta",{itemProp:"thumbnailUrl",content:`https://img.youtube.com/vi/${l}/maxresdefault.jpg`}),l&&(0,a.jsx)("meta",{itemProp:"embedUrl",content:`https://www.youtube.com/watch?v=${l}`}),_&&(0,a.jsx)("meta",{itemProp:"description",content:_})]}):(0,a.jsx)(M,{brand:o})})})},16019(e,t,r){"use strict";r.d(t,{Ay:()=>A});var a=r(91987),n=r(71763),i=r(20496),s=r(97500),l=r.n(s),o=r(65204),c=r(50865),d=r(47702),u=r(73437),m=r(68396),p=r(71856),h=r(32464),g=r(78948),f=r(49143),v=r(9897),C=r(54449),y=r(58055),x=r(33761),E=r(42488),_=r(1842),b=r(84315),P=r(27374);let T="bookmarkData",j={addUserProfileBookmark:(e,t)=>async r=>{r({type:b.z.ADD_USER_PROFILE_BOOKMARK,payload:{bookmark:e,bookmarkListId:t}})},deleteUserProfileBookmark:P.K,setNotification:_.G},N=(0,i.Ng)(({auth:e,page:t,profile:r})=>({isAuthenticated:e.isAuthenticated,bookmarkParams:t?.data?.bookmarkParams,language:t?.data?.siteParams?.language||"",locale:t.data.siteParams?.locale||"",country:t.data.siteParams?.country||"",brand:t.data.siteParams?.brand||"",bookmarkListId:r?.bookmarkListId||"",bookmarks:r?.bookmarks}),j),I=(e,t)=>{if(!e||!t||0===t.length)return;let r={...e,brand:"",country:"",language:""};return t.find(e=>{let t=!1;return(0,o.JP)(r)&&(0,o.JP)(e.bookmarkData)&&(t=!!r?.uri&&e.bookmarkData?.ur
1i===r?.uri),(0,o.ko)(r)&&(0,o.ko)(e.bookmarkData)&&(t=!!r?.quotationId&&e.bookmarkData?.quotationId?.toString()===r?.quotationId.toString()),((0,o.zh)(r)&&(0,o.zh)(e.bookmarkData)||(0,o.W8)(r)&&(0,o.W8)(e.bookmarkData))&&(t=!!r?.productId&&e.bookmarkData?.productId===r?.productId),t})},S=(e,t)=>!!e&&!!t&&0!==t.length&&!!I(e,t),A=N(({variant:e,bookmarkData:t,isAuthenticated:r,bookmarkParams:i,bookmarkListId:s,bookmarks:o,brand:_,country:b,language:P,locale:j,setNotification:N,addUserProfileBookmark:A,deleteUserProfileBookmark:w,size:O="medium"})=>{let R,[,D]=(0,v.A)({method:"POST",url:"/wired/commerce/v1/bookmark-lists",data:{label:"default"},returnPromise:!0}),[,L]=(0,v.A)({method:"POST",returnPromise:!0}),[,M]=(0,v.A)({method:"DELETE",returnPromise:!0}),k=(0,C.q)(),[V,H]=(0,n.useState)(!1),F=(0,n.useRef)(!1),U=!k||V,G=(0,n.useMemo)(()=>(0,y.s)(JSON.stringify(t)).toString(),[t]),B=S(t,o)&&k&&r,[z,q]=(0,n.useState)(!1),[W,$]=(0,n.useState)(!1),Y=(R=t.category,{general:i?.general,bookmarkType:(0,h.Hj)(i?.bookmarkTypes).find(e=>e.type===R)}),K=(0,n.useCallback)(()=>{N({level:x.op.ERROR,emitter:"bookmarkButton",message:(0,x.LW)(x.op.WARNING)}),H(!1)},[N]),X=(0,n.useCallback)(async()=>{H(!0);try{let e=await D();return H(!1),e?.data?.id||""}catch(e){return K(),""}},[D,K]),Z=async(e,t,r)=>{let a=I(e,t);if(a&&r)try{H(!0),await M({url:`/wired/commerce/v1/bookmark-lists/${r}/bookmarks/${a.id}`}),w(a.id),N({duration:5,level:x.op.SUCCESS,emitter:"bookmarkButton",message:Y?.bookmarkType?.removeSuccesNotif}),H(!1),$(!1)}catch(e){K(),$(!1)}},Q=(0,n.useCallback)(async(e,t)=>{try{H(!0);let r=await L({url:`/wired/commerce/v1/bookmark-lists/${t}/bookmarks`,data:{...e,brand:_.toUpperCase(),country:b,language:P,locale:j,origin:"ONE"}});if(!r?.data)return void K();s?A(r.data):A(r.data,t),N({duration:5,level:x.op.SUCCESS,emitter:"bookmarkButton",message:Y?.bookmarkType?.addSuccesNotif}),H(!1)}catch(e){K()}},[L,_,b,P,j,s,A,N,Y,K]),J=e=>{let t="u"<typeof window?"":window?.location.href||"",r=(0,E.HE)(t,{[T]:G});(0,g.d)({event:"alert",popinType:"auth_mybrand_bookmark",action:"click"}),(0,f.sd)({nextUrl:r||"",signupTab:e,locale:j||""})},ee=async e=>{if(!e){(0,g.d)({event:"alert",popinType:"auth_mybrand_bookmark",action:"view"}),q(!0);return}let r=s;r||(r=await X()),t?.category&&(S(t,o)?((0,g.d)({event:"bookmark_interaction",bookmark_action:"remove",bookmark_source:t.category}),$(!0)):((0,g.d)({event:"bookmark_interaction",bookmark_action:"add",bookmark_source:t.category}),await Q(t,r)))};return((0,n.useEffect)(()=>{(async()=>{if(!k||F.current||"u"<typeof window)return;let e=((e,t)=>{try{return new URL(t).searchParams.get(e)}catch(e){return null}})(T,window.location.href);if(!e||e!==G||S(t,o))return;F.current=!0;let r=s;r||(r=await X()),r&&await Q(t,r)})().then()},[k,t,G,s,o,X,Q]),Y?.bookmarkType)?(0,a.jsxs)(n.Fragment,{children:["link"===e&&(0,a.jsx)(u.l,{variant:"link-hyper",size:O,icon:B?m.A:p.A,isLoading:U,onClick:()=>ee(r),useButtonMarkup:!0,children:B?Y?.bookmarkType?.addedBookmark:Y?.bookmarkType?.addToBookmark}),"picto"===e&&(0,a.jsxs)("div",{className:l()("BookmarkButton","is-picto",{"is-disabled":U,"is-active":B,"is-large":"large"===O}),onClick:()=>ee(r),children:[!B&&(0,a.jsx)(p.A,{className:"BookmarkButton__icon"}),B&&(0,a.jsx)(m.A,{className:"BookmarkButton__icon"})]}),z&&(0,a.jsxs)(d.lG,{title:Y?.bookmarkType?.addConnectionModalTitle,onClose:()=>q(!1),children:[(0,a.jsx)(d.Cf,{children:Y?.bookmarkType?.addConnectionModalDescription&&(0,a.jsx)(c.d,{className:"BookmarkButton__dialogMessage",content:Y?.bookmarkType?.addConnectionModalDescription})}),(0,a.jsxs)(d.ii,{children:[(0,a.jsx)(u.l,{onClick:()=>J(!0),useButtonMarkup:!0,variant:"cta-ghost",children:Y?.general?.addConnectionModalCreateAccount}),(0,a.jsx)(u.l,{onClick:()=>J(!1),useButtonMarkup:!0,variant:"cta-primary",children:Y?.general?.addConnectionModalAlreadyAccount})]})]}),W&&(0,a.jsxs)(d.lG,{onClose:()=>$(!1),children:[(0,a.jsx)(d.Cf,{children:(0,a.jsx)("p",{className:"BookmarkButton__dialogMessage",children:Y?.bookmarkType?.removeConfirmation})}),(0,a.jsxs)(d.ii,{children:[(0,a.jsx)(u.l,{onClick:()=>$(!1),useButtonMarkup:!0,variant:"cta-ghost",children:Y?.general?.removeConfirmationRefuseCtaLabel}),(0,a.jsx)(u.l,{onClick:()=>Z(t,o,s),useButtonMarkup:!0,variant:"cta-primary",children:Y?.general?.removeConfirmationAcceptCtaLabel})]})]})]}):null})},97744(e,t,r){"use strict";var a=r(16019);r.d(t,{T:()=>a.Ay})},62266(e,t,r){"use strict";r.d(t,{e:()=>b});var a=r(91987),n=r(71763),i=r(20496),s=r(97500),l=r.n(s),o=r(53282),c=r.n(o),d=r(71928),u=r(18847),m=r(35866),p=r(619),h=r(73437),g=r(33779),f=r(38337),v=r(92861),C=r(81766),y=r(45568),x=r(83901),E=r(5511);let _={addFinanceOfferToWatchList:x.e,removeFinanceOfferFromPage:function(e){return{type:E.I.FINANCE_REMOVE_OFFER_FROM_PAGE,payload:{uniqueZoneId:e}}}},b=(0,i.Ng)(({page:{data:e,slingList:t},finance:{offersOnPage:r}},a)=>({hidePrices:e.priceParams?.hidePrices??!1,isSearchPage:(t??[]).some(e=>v.SE.includes(e)),vehicleModel:a?.tracking?.vehicleModel??e.analyticsPageParams?.vehicleModel,offersOnPage:r}),_)(({addFinanceOfferToWatchList:e,withProductType:t=!0,hidePrices:r,isLoading:i,isSearchPage:s,offer:o,onSimulatorClick:v,vehicleModel:x,tracking:E,expiration:_,isInverted:b,variant:P="left",size:T=d.W.MEDIUM,removeFinanceOfferFromPage:j,offersOnPage:N=[]})=>{let I=(0,n.useId)(),{offerSummary:S,monthlyPayment:A,offerTeachingSentence:w,offerTeachingSentenceMultiple:O,global:R}=o||{},{displayType:D}=R||{},{message:L="",offerLabel:M=""}=_||{},{simulatorHeader:k}=S||{},V=s&&D===C.Z6?O:w,H=k?.componentsList?.[1]?.label,F=N.findIndex(e=>e.uniqueZoneId===I)+1;return((0,n.useEffect)(()=>
1{if(!c()(o?.monthlyPayment)&&o)return e?.(o,I),()=>{j?.(I)}},[e,o,j,I]),i||A||V)?r?null:(0,a.jsxs)("div",{className:l()("FinancialOffer",{"is-dark-mode":b,"is-centered":"center"===P}),children:[i?(0,a.jsx)(p.E,{height:"20px",width:"135px"}):(0,a.jsx)(y.A,{type:"monthlyPayment",value:A,uniqueOfferId:D===C.KV?`${F}`:"",size:T,offerSummary:S,isDarkMode:b}),t&&H&&(i?(0,a.jsx)(p.E,{height:"10px",width:"50%"}):(0,a.jsx)(y.A,{className:"FinancialOffer__productLabel",type:"productLabel",label:H,size:T,isDarkMode:b})),i?(0,a.jsxs)("div",{className:"FinancialOffer__SkeletonContainer",children:[(0,a.jsx)(p.E,{height:"10px",width:"100%"}),(0,a.jsx)(p.E,{height:"10px",width:"100%"}),(0,a.jsx)(p.E,{height:"10px",width:"100%"})]}):(0,a.jsx)(y.A,{label:V,type:"legalMention",size:T,isDarkMode:b}),L&&M&&(0,a.jsx)("div",{className:"FinancialOffer__expirationOffer",children:i?(0,a.jsx)(p.E,{height:"10px",width:"150px"}):(0,a.jsxs)(n.Fragment,{children:[(0,a.jsxs)(u.m_,{children:[(0,a.jsx)(u.k$,{children:(0,a.jsx)(m.m,{})}),(0,a.jsx)(u.ZI,{children:L})]}),(0,a.jsx)("p",{className:"FinancialOffer__expirationOfferLabel",children:M})]})}),"function"==typeof v&&(i?(0,a.jsx)(p.E,{height:"15px",width:"25%"}):(0,a.jsx)(h.l,{variant:"link-hyper",isInverted:b,onClick:()=>v?.(o?.offerKey),useButtonMarkup:!0,"data-track":"click","data-track-interaction-type":"simulator-modify","data-track-tool-name":"finance - calculator","data-track-event":"virtualPageview","data-track-vehicle-model":x?.toLowerCase(),"data-track-location-in-page":E?.locationInPage,icon:g.A,children:(0,f.kH)("wording.financing")}))]}):null})},45568(e,t,r){"use strict";r.d(t,{A:()=>C});var a=r(91987),n=r(71763),i=r(45543),s=r(20496),l=r(97500),o=r.n(l),c=r(50865),d=r(47702),u=r(35866),m=r(67505),p=r(81766);let h=({order:e=0},{order:t=0})=>e-t,g=({containerTitle:e,componentsList:t,className:r})=>e||t?.length?(0,a.jsxs)("div",{className:o()("RCIOfferLegal",r),children:[e&&(0,a.jsx)(c.d,{className:"RCIOfferLegal__title",content:e}),!!t?.length&&(0,a.jsx)("ul",{className:"RCIOfferLegal__list",children:t.sort(h).map(({id:e,class:t,...r})=>(0,a.jsx)("li",{className:"RCIOfferLegal__item",children:(0,a.jsx)(C,{className:t,...r})},e))})]}):null,f=({order:e=0},{order:t=0})=>e-t,v=({containerTitle:e,componentsList:t,className:r})=>e||t?.length?(0,a.jsxs)("div",{className:o()("RCIOfferSummary",r),children:[e&&(0,a.jsx)(c.d,{className:"RCIOfferSummary__title",content:e}),!!t?.length&&(0,a.jsx)("ul",{className:"RCIOfferSummary__list",children:t.sort(f).map(({id:e,class:t,...r})=>(0,a.jsx)("li",{className:"RCIOfferSummary__item",children:r.componentType===p.dy?(0,a.jsx)("hr",{}):(0,a.jsx)(C,{className:t,...r})},e))})]}):null,C=(0,s.Ng)(({page:e})=>({sameFontSize:e.data.priceParams?.sameFontSize}))(({label:e,value:t,className:r,type:s,offerSummary:l,sameFontSize:h,uniqueOfferId:f,size:C="medium",isDarkMode:y})=>{let[x,E]=(0,n.useState)(!1),_="monthlyPayment"===s||s&&h,b=(0,a.jsxs)("button",{type:"button",onClick:()=>E(!0),className:"RCIOfferLabel__cta",children:[(0,a.jsx)(u.m,{size:"small"}),(0,a.jsx)("span",{className:"u-hidden-wording",children:"Show details"})]},"trigger");return(0,a.jsxs)("div",{className:o()("RCIOfferLabel",r,{"is-legal-mention":"legalMention"===s,"is-dark-mode":y}),children:[e&&!_&&(0,a.jsx)(c.d,{className:o()("RCIOfferLabel__label",r),content:e}),e&&_&&(0,a.jsx)(m.P,{size:C,children:(0,a.jsx)(c.d,{content:e})}),t&&!_&&(0,a.jsx)(c.d,{className:o()("RCIOfferLabel__value",r),content:t}),t&&_&&(0,a.jsxs)(m.P,{size:C,children:[(0,a.jsx)(c.d,{content:t,className:"RCIOfferLabel__inline"}),"monthlyPayment"!==s||f?null:b]}),f&&(0,a.jsx)(i.Op,{to:`#numbered-legal-${f}`,title:f,children:(0,a.jsx)("sup",{className:"RCIOfferLabel__numberedValue",children:f})}),"monthlyPayment"!==s||f||_?null:b,x?(0,a.jsx)(d.lG,{onClose:()=>E(!1),children:(0,a.jsx)(d.Cf,{children:(0,a.jsx)("div",{className:"RCIOfferLabel__offerSummary",children:(0,a.jsxs)("div",{className:"RCIOfferLabel__offerSummaryContent",children:[(0,a.jsx)("div",{className:"RCIOfferLabel__offerSummaryItem",children:(0,a.jsx)(v,{...l&&l[p.UD.SUMMARY]})}),(0,a.jsx)("div",{className:"RCIOfferLabel__offerSummaryItem",children:(0,a.jsx)(g,{...l&&l[p.UD.LEGAL_INFO]})})]})})})}):null]})})},80381(e,t,r){"use strict";var a=r(62266);r.d(t,{e:()=>a.e})},93457(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(14334),s=r(97500),l=r.n(s),o=r(41974),c=r(20987);let d=(e,t,r)=>Number.parseFloat((Math.floor(e/t)*t).toFixed(r)),u=(e,t,r)=>Number.parseFloat((Math.ceil(e/t)*t).toFixed(r)),m=({tick:{percent:e}})=>{let t=Math.min(Math.max(e,.5),99.6);
1return(0,a.jsx)("div",{className:"Slider__tick",style:{left:`${t}%`}})},p=({source:e,target:t,getTrackProps:r})=>(0,a.jsx)("div",{className:"Slider__track",style:{left:`${e.percent}%`,width:`${t.percent-e.percent}%`},...r()}),h=({domain:[e,t],handle:{id:r,value:n,percent:i},getHandleProps:s})=>(0,a.jsx)("div",{"aria-valuemin":e,"aria-valuemax":t,"aria-valuenow":n,style:{left:`${i}%`},...s(r),className:"Slider__handle",children:(0,a.jsx)(o.A,{className:"Slider__move"})}),g=({values:e,formatTipValue:t,variant:r,label:i})=>"range"===r?(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("p",{className:"Slider__value is-left",children:t(e[0])}),(0,a.jsx)("p",{className:"Slider__value is-right",children:t(e[1])})]}):(0,a.jsxs)(n.Fragment,{children:[i&&(0,a.jsx)("p",{className:"Slider__value is-left",children:i}),(0,a.jsx)("p",{className:l()("Slider__value",i?"is-right":"is-left"),children:t(e)})]});r.d(t,{},{Ap:({variant:e,formatTipValue:t=e=>e?.toString(),step:r=1,min:s=0,max:o=0,mode:f=2,skipValues:v,onChange:C,onUpdate:y,label:x,disabled:E,hideValues:_,withGraduation:b=!1,defaultValues:P,isInverted:T,size:j="medium"})=>{let[N,I]=(0,n.useState)(P),S=(0,n.useRef)(!1);(0,c.A)(()=>{S.current=!0});let A=(0,n.useMemo)(()=>{let e=r.toString().split(".")[1];return e?.length||0},[r]),w=t=>r=>{let a=r.map(e=>Number.parseFloat(e.toFixed(A)));if("range"===e){let[e,t]=a;I([e,t]),y?.([e,t])}else I(a[0]),y?.(a[0]);"change"===t&&S.current&&("range"===e?C([a[0],a[1]]):C(a[0]))},O=(0,n.useMemo)(()=>v?[s,o]:[d(s,r,A),u(o,r,A)],[s,o,r,A,v]),R=(0,n.useMemo)(()=>{if("range"===e){let e=Array.isArray(N)?N:[void 0,void 0],t=[e?.[0]!==void 0&&e?.[0]>=O[0]?e?.[0]:O[0],e?.[1]!==void 0&&e?.[1]<=O[1]?e?.[1]:O[1]];return[d(t[0],r,A),u(t[1],r,A)]}{let e,t=!Array.isArray(N)&&void 0!==N&&N>=O[0]?N:O[0];return[(e=void 0!==t&&t<=O[1]?t:O[1],Number.parseFloat((Math.round(e/r)*r).toFixed(A)))]}},[e,N,O,r,A]);return 0===o||o<=s||0===r||Number.isNaN(s)&&Number.isNaN(o)?null:(0,a.jsxs)(i.Ap,{className:l()("Slider",{"is-inverted":T,"is-disabled":E,"is-range":"range"===e,"is-simple":"simple"===e,"is-large":"large"===j,"has-label":!!x}),mode:f,step:r,domain:O,values:R,onUpdate:w("update"),onSlideEnd:w("change"),disabled:!!E,children:[(0,a.jsx)(i.hM,{children:({getRailProps:e})=>(0,a.jsx)("div",{className:"Slider__rail",...e()})}),!_&&"range"===e&&(0,a.jsx)(g,{values:[R[0],R[1]],formatTipValue:t,variant:e}),!_&&"simple"===e&&(0,a.jsx)(g,{values:R[0],label:x,formatTipValue:t,variant:e}),(0,a.jsx)(i.ot,{children:({handles:e,getHandleProps:t})=>(0,a.jsx)(n.Fragment,{children:e.map(e=>(0,a.jsx)(h,{handle:e,domain:O,getHandleProps:t},e.id))})}),(0,a.jsx)(i.X5,{right:b,left:"simple"===e||b,children:({tracks:e,getTrackProps:t})=>(0,a.jsx)(n.Fragment,{children:e.map(({id:e,source:r,target:n})=>(0,a.jsx)(p,{source:r,target:n,getTrackProps:t},e))})}),b&&(0,a.jsx)(i.R_,{values:((e,t)=>{let r=[];for(let a=e[0];a<=e[1];a+=t)r.push(a);return r})(O,r),children:({ticks:e})=>(0,a.jsx)(n.Fragment,{children:e.map(e=>(0,a.jsx)(m,{tick:e},e.id))})})]})}})},43871(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(97500),s=r.n(i);r.d(t,{},{d:({value:e=!1,onChange:t,leftIcon:r,rightIcon:i,disabled:l,name:o,id:c,size:d="medium",isInverted:u,withOnOffLabels:m})=>(0,a.jsxs)("div",{className:s()("Switch",{"has-icons":!!r&&!!i,"is-disabled":l,"is-large":"large"===d,"is-medium":"medium"===d,"is-small":"small"===d,"is-checked":e,"is-inverted":u,"has-on-off-labels":m}),children:[(0,a.jsx)("input",{className:"Switch__input",type:"checkbox",checked:e,onChange:()=>{t(!e)},name:o,id:c,disabled:l}),(0,a.jsx)("div",{className:"Switch__slider",children:r&&i&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(r,{className:"Switch__icon"}),(0,a.jsx)(i,{className:"Switch__icon"})]})}),(0,a.jsx)("label",{className:"Switch__switch",htmlFor:c})]})})},29439(e,t,r){"use strict";r.d(t,{S:()=>o});var a=r(91987),n=r(97500),i=r.n(n),s=r(601),l=r(33238);let o=({onChange:e,hasError:t,errorLabel:r,label:n,value:o,id:c,name:d,disabled:u=!1,variant:m="default","aria-hidden":p=!1})=>(0,a.jsxs)("div",{className:i()("Checkbox",{"has-error":t,"is-disabled":u,"is-compact":"compact"===m}),children:[(0,a.jsxs)("div",{className:"Checkbox__content",children:[(0,a.jsx)("input",{disabled:u,id:c,className:"Checkbox__box",type:"checkbox",name:d,checked:o,onChange:t=>{e(t.target.checked)},tabIndex:p?-1:0,"aria-hidden":p}),(0,a.jsxs)("label",{htmlFor:c,className:"Checkbox__label",children:[(0,a.jsx)("div",{className:"Checkbox__boxContainer",role:"checkbox",children:(0,a.jsx)(l.A,{className:"Checkbox__icon"})}),(0,a.jsx)("div",{className:"Checkbox__labelContent",children:n})]})]}),t&&(0,a.jsx)(s.Q,{variant:"error",children:r})]})},98964(e,t,r){"use strict";r.d(t,{p:()=>g});var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(3584),o=r(601),c=r(47702),d=r(35866),u=r(18677),m=r(29339),p=r(99247),h=r(66864);let g=(0,n.forwardRef)(({disabled:e=!1,errorLabel:t,hasError:r,hasGlass:i,hideNumberArrows:g=!1,id:f,infoDialog:v,isBoxed:C=!0,isCentered:y=!1,isLoading:x=!1,isMandatory:E=!1,label:_,legalLabel:b,onBlur:P,onChange:T,onDelete:j,onFocus:N,showStatus:I=!1,t
1ype:S="text",value:A="",...w},O)=>{let[R,D]=(0,n.useState)(!1),[L,M]=(0,n.useState)(!1),{title:k,content:V}=v||{},H="password"===S,F="date"===S,U="search"===S;return(0,a.jsxs)("div",{className:s()("Input",{"is-filled":!!A,"has-error":r,"has-label":!!_,"has-status":I,"is-disabled":e,"is-boxed":C,"is-centered":y,"is-date":"date"===S,"is-password":"password"===S,"has-no-arrows":g}),children:[(0,a.jsxs)("div",{className:"Input__wrapper",children:[I&&(0,a.jsx)("div",{className:"Input__status",children:(0,a.jsx)(l.C,{variant:r?"error":"success"})}),(0,a.jsx)("input",{className:"Input__input",id:f,value:A,onChange:e=>{T(e.target.value)},onBlur:()=>{P?.()},onFocus:()=>{N?.()},type:L?"text":S,disabled:e,ref:O,"aria-required":E,"aria-invalid":r,"aria-describedby":`${f}--error ${f}--legal`,...w}),_&&(0,a.jsxs)("label",{className:"Input__label",htmlFor:f,children:[_," ",E&&!_.endsWith("*")&&(0,a.jsx)("span",{className:"Input__mandatory","aria-hidden":!0,children:"*"})]}),(0,a.jsxs)("div",{className:s()({Input__indicator:!F}),children:[U&&(0,a.jsxs)(n.Fragment,{children:[!x&&!A&&i&&(0,a.jsx)(p.A,{className:"Input__indicatorIcon"}),!x&&A&&(0,a.jsx)("button",{className:"Input__indicatorButton",type:"button",onClick:j,children:(0,a.jsx)(u.A,{className:"Input__indicatorIcon"})}),x&&(0,a.jsx)("div",{className:"Input__loadingBox",children:(0,a.jsx)("span",{className:"Input__loading"})})]}),H&&(0,a.jsxs)("button",{className:"Input__indicatorButton",onClick:()=>M(e=>!e),type:"button",children:[!L&&(0,a.jsx)(h.A,{className:"Input__indicatorIcon"}),L&&(0,a.jsx)(m.A,{className:"Input__indicatorIcon"})]}),!H&&!F&&!U&&v&&(0,a.jsx)("button",{className:"Input__indicatorButton",onClick:()=>D(!0),type:"button",children:(0,a.jsx)(d.m,{size:"xlarge"})}),R?(0,a.jsx)(c.lG,{onClose:()=>D(!1),title:k,children:(0,a.jsx)(c.Cf,{children:V})}):null]})]}),r&&(0,a.jsx)(o.Q,{variant:"error",id:`${f}--error`,role:"alert",children:t}),(0,a.jsx)(o.Q,{variant:"legal",id:`${f}--legal`,children:b})]})});g.displayName="Input"},40640(e,t,r){"use strict";r.d(t,{z:()=>m,C:()=>p});var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(35014),o=r.n(l),c=r(619),d=r(601);let u=(0,n.createContext)({onChange:()=>{},name:"radio-group"}),m=({children:e,disabled:t,value:r,onChange:i,name:l,label:o,hasError:c=!1,errorLabel:m,isLoading:p,isMandatory:h=!1,variant:g="default"})=>{let f=(0,n.useMemo)(()=>({currentValue:r,onChange:i,name:l,disabled:t,isLoading:p}),[t,p,l,i,r]);return(0,a.jsx)(u.Provider,{value:f,children:(0,a.jsxs)("div",{className:s()("RadioGroup",{"has-error":c,"is-compact":"compact"===g,"is-partially-vertical":"partially-vertical"===g,"is-stacked":"stacked-items"===g,"is-no-style":"no-style"===g}),children:[(0,a.jsxs)("fieldset",{className:"RadioGroup__wrapper",children:[o&&(0,a.jsxs)("legend",{className:"RadioGroup__sectionLabel",children:[o,h?" *":""]}),(0,a.jsx)("div",{className:"RadioGroup__choices",children:e})]}),c&&(0,a.jsx)(d.Q,{variant:"error",children:m})]})})},p=({text:e,value:t})=>{let{currentValue:r,disabled:i,isLoading:l,onChange:d,name:m}=(0,n.useContext)(u),p=r===t,h=`${m}-${o()(t)}`,g=(0,n.useCallback)(()=>{d(t)},[d,t]);return(0,a.jsxs)("div",{className:s()("RadioGroup__item",{"is-disabled":i}),children:[l&&(0,a.jsx)(c.E,{isAbsolute:!0,zIndex:1}),(0,a.jsx)("input",{type:"radio",className:"RadioGroup__input",value:t,name:m,id:h,onChange:g,checked:p,disabled:i},h),(0,a.jsx)("label",{htmlFor:h,className:"RadioGroup__label",children:e})]},h)}},49232(e,t,r){"use strict";r.d(t,{B:()=>c,y:()=>d});var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(3584);let o=(0,n.createContext)({onChange:()=>{},name:"radio-group",isLoading:!1}),c=({"aria-label":e,"aria-labelledby":t="",children:r,disabled:i,value:l,onChange:c,name:d,variant:u,withTick:m=!1,isLoading:p=!1,isWrappable:h=!1})=>{let g=(0,n.useMemo)(()=>({currentValue:l,disabled:i,onChange:c,name:d,isLoading:p}),[i,p,d,c,l]);return(0,a.jsx)(o.Provider,{value:g,children:(0,a.jsx)("div",{className:s()("RadioGroupButton",{"has-same-size":"same-size"===u,"is-square":"is-square"===u,"has-tick":m,"is-loading":p,"is-wrappable":h}),role:"radiogroup","aria-label":e,"aria-labelledby":t,children:r})})},d=({text:e,value:t,icon:r})=>{let{currentValue:i,disabled:s,isLoading:c,name:d,onChange:u}=(0,n.useContext)(o),m=i===t,p=`${d}-${t.replace(/\s+/g,"")}`,h=(0,n.useCallback)(()=>{c||u(t)}
1,[u,t,c]);return(0,a.jsxs)("div",{className:"RadioGroupButton__item",children:[m&&!c&&(0,a.jsx)("div",{className:"RadioGroupButton__tick",children:(0,a.jsx)(l.C,{variant:"tick"})}),(0,a.jsxs)("div",{className:"RadioGroupButton__button",children:[(0,a.jsx)("input",{type:"radio",className:"RadioGroupButton__input",value:t,name:d,id:p,onChange:h,checked:m,disabled:s,tabIndex:m?0:-1},p),(0,a.jsxs)("label",{htmlFor:p,className:"RadioGroupButton__label",children:[r&&(0,a.jsx)("span",{className:"RadioGroupButton__iconContainer",children:(0,a.jsx)(r,{className:"RadioGroupButton__icon"})}),(0,a.jsx)("span",{className:"RadioGroupButton__textContainer",children:e})]})]},p)]})}},66255(e,t,r){"use strict";var a=r(93457);r.d(t,{A:()=>a.Ap})},57830(e,t,r){"use strict";var a=r(43871);r.d(t,{d:()=>a.d})},50618(e,t,r){"use strict";r.d(t,{w:()=>i});var a=r(20496),n=r(84759);let i=(0,a.Ng)(({page:e})=>({locale:e.data.siteParams?.locale}))(({value:e,currency:t,isPrecise:r=!1,maximumFractionDigits:a,minimumFractionDigits:i,isInteger:s,isPercent:l=!1,locale:o})=>{let c=(0,n.ZV)(e,{currency:t,toInteger:s,maximumFractionDigits:a,minimumFractionDigits:i,isPrecise:r,toPercent:l,locale:o});return c||null})},29777(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(78948);let o=(0,n.createContext)({isExpanded:!1,onClick:()=>{},contentId:""});r.d(t,{},{$m:({children:e,tag:t})=>{let{isExpanded:r,onClick:i,contentId:l}=(0,n.useContext)(o),c=s()("Accordion__trigger",{"is-expanded":r}),d=(0,a.jsx)("button",{className:c,onClick:()=>i(!r),type:"button","aria-expanded":r,"aria-controls":l,"aria-haspopup":"true",children:e});return t?(0,a.jsx)(t,{children:d}):d},nD:({onChange:e,children:t,size:r="medium",variant:i="default",isInverted:c,defaultExpanded:d=!1,isExpanded:u,tracking:m,transitionDisabled:p=!1})=>{let[h,g]=(0,n.useState)(d),f=(0,n.useId)(),v=u??h,C=(0,n.useCallback)(t=>{e?.(t),void 0===u&&g(t),(0,l.d)({event:"toggle",toggleType:m?.type,toggleValue:t,toggleName:m?.name??""})},[e,m,u]),y=(0,n.useMemo)(()=>({isExpanded:v,onClick:C,contentId:f}),[v,C,f]);return(0,a.jsx)(o.Provider,{value:y,children:(0,a.jsx)("div",{className:s()("Accordion",{"is-inverted":c,"is-small":"small"===r,"is-medium":"medium"===r,"is-large":"large"===r,"is-light":"light"===i,"has-no-transition":p}),children:t})})},ub:({children:e})=>{let{isExpanded:t,contentId:r}=(0,n.useContext)(o),i=s()("Accordion__content",{"is-hidden":!t});return(0,a.jsx)("div",{className:i,role:"region",inert:!t,id:r,"aria-hidden":!t,children:(0,a.jsx)("div",{className:"Accordion__wrapper",children:e})})}})},78867(e,t,r){"use strict";var a,n=r(91987),i=r(71763),s=r(20496),l=r(97500),o=r.n(l),c=r(54502),d=r(70385),u=r(15641),m=((a={}).DEFAULT="default",a.NONE="none",a);let p=(0,i.createContext)(null),h=()=>{let e=(0,i.useContext)(p);if(!e)throw Error("Carousel subcomponent must be used inside <Carousel>");return e},g=(e,t,r)=>{e.style.scrollBehavior="auto",e.style.scrollSnapType="none",e.scrollLeft=t,requestAnimationFrame(()=>{e.style.removeProperty("scroll-behavior"),e.style.removeProperty("scroll-snap-type"),r&&r()})},f=(0,s.Ng)(({page:{data:e}})=>({isRtl:e?.siteParams?.rtl??!1})),v=()=>{let{variant:e,navBarData:t,handleArrowClick:r,isRtl:a}=h();if(!t.globalWidth||!t.childrenWidths||1===t.childrenWidths.length)return null;let s=t.childrenWidths.filter(e=>e.isOriginal).length,l="default"===e&&s>0&&void 0!==t.activeChildIndex,u=1;return u=t.activeChildIndex-1<0?s:Math.max(1,t.activeChildIndex%(s+1)),(0,n.jsxs)(i.Fragment,{children:["default"===e&&(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)("button",{className:"Carousel__arrowButton is-arrow-left",onClick:r(-1),type:"button","aria-label":"Previous slide",children:(0,n.jsx)(c.A,{className:o()("Carousel__icon",{"is-rtl":a})})}),(0,n.jsx)("button",{className:"Carousel__arrowButton is-arrow-right",onClick:r(1),type:"button","aria-label":"Next slide",children:(0,n.jsx)(d.A,{className:o()("Carousel__icon",{"is-rtl":a})})})]}),l&&(0,n.jsxs)("div",{className:"Carousel__counter","aria-live":"polite",children:[u," / ",s]})]})},C=({children:e})=>
1(0,n.jsx)("div",{className:"Carousel__item",children:e}),y=({children:e,isInfiniteEnabled:t,childrenArrayLength:r})=>{let{containerRef:a,handleScroll:s}=h(),l=Array.isArray(e)?e:[e];return(0,n.jsx)("div",{className:"Carousel__container",ref:a,onScroll:s,"aria-live":"polite",children:t&&r>0?(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)(C,{children:l[r-1]},"duplicate-last"),l.map((e,t)=>(0,n.jsx)(C,{children:e},`original-${t}`)),(0,n.jsx)(C,{children:l[0]},"duplicate-first")]}):l.map((e,t)=>(0,n.jsx)(C,{children:e},`slide-${t}`))})},x=f(({children:e,defaultSelectedSlideIndex:t=0,variant:r="default",isRtl:a,onInteraction:s})=>{let l=(0,i.useRef)(null),o=(0,i.useRef)(0),c=(0,i.useRef)(null),d=(0,i.useRef)(!1),m=(0,i.useRef)(!1),[h,f]=(0,i.useState)({childrenWidths:[],globalWidth:void 0,activeChildIndex:1,isScrolling:!1}),C=(0,i.useMemo)(()=>Array.isArray(e)?e:[e],[e]).length,x=C>1,E=(0,i.useCallback)(({isScrollEnd:e})=>{if(d.current)return;let t=l.current;if(!t)return;let{scrollLeft:r=0,scrollWidth:a=0}=t,n=Array.from(t.children).map((e,r)=>({width:e.offsetWidth,left:Math.ceil(e.offsetLeft),isVisible:e.offsetLeft+e.offsetWidth/2>t.scrollLeft&&e.offsetLeft+e.offsetWidth/2<t.scrollLeft+t.clientWidth,isOriginal:!x||r>=1&&r<=C})),i=Math.max(0,n.findIndex(e=>e.isVisible)),c=r!==o.current;
1if(f({isScrolling:c,activeChildIndex:i,childrenWidths:n,globalWidth:a}),o.current=r,x&&e&&(0===i||i===C+1)){let e=0===i?C:1,r=Array.from(t.children);if(!r[e])return;d.current=!0,g(t,r[e].offsetLeft,()=>{d.current=!1})}e&&s?.({isScrolling:c,activeChildIndex:i})},[C,x,s]),_=(0,i.useCallback)((e,t=!1)=>{let r=l.current;r&&(t?g(r,e):r.scrollLeft=e)},[]),b=(0,i.useCallback)(e=>()=>{let t=a?-1:1,r=l.current;r&&void 0!==h.activeChildIndex&&(r.scrollLeft+=r.clientWidth*e*t)},[a,h.activeChildIndex]),P=(0,i.useCallback)(()=>{let e=l.current;if(e&&!d.current&&m.current){if(c.current&&clearTimeout(c.current),h.globalWidth!==e?.scrollWidth){let t=(a?-1:1)*h.activeChildIndex*(e?.clientWidth||0);(0,u.nr)()&&g(e,t+1),g(e,t),E({isScrollEnd:!0});return}c.current=setTimeout(()=>E({isScrollEnd:!0}),100),(e?.scrollLeft||0)>0?E({isScrollEnd:!1}):g(e,o.current)}},[a,E,h.globalWidth,h.activeChildIndex]);(0,i.useEffect)(()=>{let e=l.current;if(!e||0===C)return;let r=Array.from(e.children)[x?t+1:t];r&&g(e,r.offsetLeft-(e.clientWidth-r.offsetWidth)/2,()=>{m.current=!0,E({isScrollEnd:!1})})},[C,t,x,E]);let T=(0,i.useMemo)(()=>({variant:r,navBarData:h,scrollTo:_,handleArrowClick:b,containerRef:l,handleScroll:P,isJumpingRef:d,isRtl:a}),[r,h,_,b,l,P,d,a]);return(0,n.jsx)(p.Provider,{value:T,children:(0,n.jsxs)("div",{className:"Carousel",children:[(0,n.jsx)(y,{isInfiniteEnabled:x,childrenArrayLength:C,children:e}),(0,n.jsx)("div",{className:"Carousel__markersWrapper",children:(0,n.jsx)(v,{})})]})})});r.d(t,{mi:()=>m},{Ay:x})},92500(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(96329),o=r(75457),c=r(16383),d=r(63481);r.d(t,{},{A:({"aria-label":e,onChange:t,thumbnails:r,value:i})=>{let u=(0,n.useRef)(null),m=(0,n.useRef)(null),p=e=>{t(Number(e.currentTarget.value))};return((0,l.E)(()=>{m.current=u.current?.children[i];let e=m.current,t=u.current;e&&t&&(t.scrollLeft=e?.offsetLeft-(t?.offsetWidth-e?.offsetWidth)/2)}),r.length<2)?null:(0,a.jsx)("div",{className:"CarouselThumbnails",role:"radiogroup","aria-label":e,children:(0,a.jsx)(d.u,{children:(0,a.jsx)("ul",{className:"CarouselThumbnails__thumbnailwrapper",ref:u,children:r.map(({alt:e,src:t},r)=>t.small&&(0,a.jsx)("li",{tabIndex:r===i?0:-1,role:"radio","aria-checked":r===i,"aria-label":e||t.small,children:(0,a.jsx)("button",{type:"button",className:s()("CarouselThumbnails__thumbnail",{"is-active":r===i}),value:r,onClick:p,children:(0,a.jsx)(o.FW,{children:(0,a.jsx)(o.Ny,{children:(0,a.jsx)(o.PY.div,{exit:{opacity:0},transition:{type:"tween",ease:"easeOut"},className:"CarouselThumbnails__thumbnailInnerwrapper",children:(0,a.jsx)(c._,{src:t,alt:e||t.small,sizes:"120px",aspectRatio:"16 / 9",width:"100%"})},t.small)})})})},t.small))})})})}})},15229(e,t,r){"use strict";var a=r(91987),n=r(97500),i=r.n(n);r.d(t,{},{K:({icon:e,isActive:t=!1,onClick:r,text:n})=>(0,a.jsx)("button",{className:i()("Panel__item",{"is-active":t}),onClick:r,type:"button",title:n,tabIndex:0,children:(0,a.jsx)(e,{className:"Panel__itemIcon"})}),Z:({children:e,variant:t="control"})=>(0,a.jsx)("div",{className:i()("Panel",{"is-action":"action"===t}),children:e})})},70625(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(93801),o=r(54502),c=r(70385),d=r(3861),u=r(33496),m=r(40119);r.d(t,{},{u:({children:e,isInverted:t,variant:r="default"})=>{let i=(0,n.useRef)(null),[p,h]=(0,n.useState)(!1),[g,f]=(0,n.useState)(!1),v="button"===r?o.A:d.A,C="button"===r?c.A:u.A,y=(0,n.useCallback)(e=>{let t=i.current?.querySelector(".ScrollArrows__innerWraper")?.firstElementChild;if(t){let r="left"===e?-t.clientWidth/2:t.clientWidth/2;t.scrollBy({left:r,behavior:"smooth"})}},[]),x=(0,n.useCallback)(()=>y("left"),[y]),E=(0,n.useCallback)(()=>y("right"),[y]),_=(0,n.useCallback)(()=>{let e=i.current?.querySelector(".ScrollArrows__innerWraper")?.firstElementChild;if(e){let{scrollLeft:t,scrollWidth:r,clientWidth:a}=e;h(t>0),f(t+a<r-1&&r>=a)}},[]);return(0,n.useEffect)(()=>{let e=i.current?.querySelector(".ScrollArrows__innerWraper")?.firstElementChild;return e?(e.addEventListener("scroll",_),_(),()=>{e.removeEventListener("scroll",_)}
1):()=>{}},[_]),(0,m.A)(_),(0,a.jsxs)("div",{className:s()("ScrollArrows",{"is-inverted":t,"is-variant-button":"button"===r}),ref:i,children:[p&&(0,a.jsx)(l.R,{className:"ScrollArrows__button is-left",onClick:x,useButtonMarkup:!0,children:(0,a.jsx)(v,{className:"ScrollArrows__svg"})}),g&&(0,a.jsx)(l.R,{className:"ScrollArrows__button is-right",onClick:E,useButtonMarkup:!0,children:(0,a.jsx)(C,{className:"ScrollArrows__svg"})}),(0,a.jsx)("div",{className:"ScrollArrows__innerWraper",children:e})]})}})},55927(e,t,r){"use strict";var a=r(91987),n=r(35866),i=r(38337),s=r(41316),l=r(73437),o=r(18847);let c=({"aria-labelledby":e,children:t,ref:r,id:n})=>(0,a.jsx)("fieldset",{className:"SidePanelSection",id:n,ref:r,"aria-labelledby":e,children:t});c.displayName="SidePanelSection";let d=({title:e,actionLabel:t,actionOnClick:r,counter:c,id:d,tooltip:u,subTitle:m})=>(0,a.jsxs)("legend",{className:"SidePanelSection__headerWrapper",children:[(0,a.jsxs)("div",{className:"SidePanelSection__header",children:[(0,a.jsx)("h2",{id:d,className:"SidePanelSection__title",children:e}),void 0!==c&&(0,a.jsx)("div",{className:"SidePanelSection__headerCounter","aria-live":"polite","aria-atomic":"true",children:(0,a.jsx)(s.E,{variant:"info",design:"outlined","aria-label":`${c} ${(0,i.kH)("wording.characteristics.option")}`,children:c})}),u&&(0,a.jsxs)(o.m_,{children:[(0,a.jsx)(o.k$,{children:(0,a.jsx)(n.m,{size:"small","aria-label":(0,i.kH)("wording.findOutMore")})}),(0,a.jsx)(o.ZI,{children:u})]})]}),t&&(0,a.jsx)(l.l,{variant:"link-arrow",size:"small",useButtonMarkup:!0,onClick:r,children:t}),m&&(0,a.jsx)("h3",{className:"SidePanelSection__subTitle",children:m})]});d.displayName="SidePanelSectionHeader";let u=({children:e})=>(0,a.jsx)("div",{className:"SidePanelSection__content",children:e});u.displayName="SidePanelSectionContent",r.d(t,{},{GT:d,VZ:c,gT:u})},52230(e,t,r){"use strict";var a=r(29777);r.d(t,{$m:()=>a.$m,nD:()=>a.nD,ub:()=>a.ub})},52964(e,t,r){"use strict";var a=r(78867);r.d(t,{F:()=>a.Ay,m:()=>a.mi})},22053(e,t,r){"use strict";var a=r(92500);r.d(t,{O:()=>a.A})},38120(e,t,r){"use strict";r.d(t,{T:()=>l});var a=r(91987),n=r(71763),i=r(47702),s=r(35866);let l=({title:e,iconSize:t,children:r})=>{let[l,o]=(0,n.useState)(!1),c=()=>o(!l);return r?(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("button",{onClick:c,type:"button",className:"InfoDialog__trigger",children:(0,a.jsx)(s.m,{size:t})}),l&&(0,a.jsx)(i.lG,{title:e,onClose:c,children:(0,a.jsx)(i.Cf,{children:(0,a.jsx)("div",{className:"InfoDialog__content",children:r})})})]}):null}},13654(e,t,r){"use strict";var a=r(15229);r.d(t,{K:()=>a.K,Z:()=>a.Z})},63481(e,t,r){"use strict";var a=r(70625);r.d(t,{u:()=>a.u})},45706(e,t,r){"use strict";r.d(t,{M:()=>n});var a=r(91987);let n=({anchor:e,className:t})=>(0,a.jsx)("div",{id:e,className:t})},41316(e,t,r){"use strict";r.d(t,{E:()=>l});var a=r(91987),n=r(97500),i=r.n(n),s=r(26181);let l=({children:e,variant:t=s.K.PRIMARY,design:r,leftIcon:n,rightIcon:l})=>{let o=n||l;return(0,a.jsxs)("span",{className:i()("Badge",{"is-primary":t===s.K.PRIMARY,"is-electric":t===s.K.ELECTRIC,"is-success":t===s.K.SUCCESS,"is-highlight":t===s.K.HIGHLIGHT,"is-error":t===s.K.ERROR,"is-warning":t===s.K.WARNING,"is-info":t===s.K.INFO,"is-strong":"strong"===r,"is-ecological":t===s.K.ECOLOGICAL,"is-promo":t===s.K.PROMO}),children:[n&&(0,a.jsx)(n,{className:"Badge__icon"}),o?(0,a.jsx)("span",{children:e}):e,l&&(0,a.jsx)(l,{className:"Badge__icon"})]})}},35866(e,t,r){"use strict";r.d(t,{m:()=>s});var a=r(91987),n=r(21323);let i=e=>{switch(e){case"xlarge":return 20;case"large":return 18;case"small":return 14;default:return 16}},s=({size:e="medium"})=>{let t={"--InfoIcon-size-default":"string"==typeof e?`${i(e)}px`:`${i(e[0])}px`,"--InfoIcon-size-medium":"string"==typeof e?`${i(e)}px`:`${i(e[1])}px`,"--InfoIcon-size-large":"string"==typeof e?`${i(e)}px`:`${i(e[2])}px`};return(0,a.jsx)(n.A,{style:t,className:"InfoIcon"})}},94889(e,t,r){"use strict";r.d(t,{J:()=>s});var a=r(91987),n=r(97500),i=r.n(n);let s=({value:e,variant:t,design:r})=>(0,a.jsx)("span",{"aria-hidden":"true",className:i()("NumberIndicator",{"is-primary":"primary"===t,"is-highlight":"highlight"===t,"is-strong":"strong"===r}),children:(0,a.jsx)("span",{className:"NumberIndicator__number",children:e})})},27224(e,t,r){"use strict";var a=r(91987),n=r(97500),i=r.n(n),s=r(73437),l=r(38337);r.d(t,{},{A:({src:e,url:t,alt:r,align:n="center"})=>(0,a.jsxs)("div",{className:i()("TyreEprel",{"is-left":"left"===n}),children:[e&&(0,a.jsx)("img",{className:"TyreEprel__image",src:e,alt:r||"tyre eprel"}),t&&(0,a.jsx)(s.l,{href:t,target:"_blank",variant:"link-hyper",size:"large",children:(0,l.kH)("wording.findOutMore")})]})})},11197(e,t,r){"use strict";var a=r(27224);r.d(t,{J:()=>a.A})},51753(e,t,r){"use strict";r.d(t,{A:()=>H});var a=r(91987),n=r(71763),i=r(20496),s=r(97500),l=r.n(s),o=r(50618),c=r(67505),d=r(99601),u=r(63342),m=r(4186),p=r(46361),h=r(48159),g=r(38337),f=r(47702),v=r(35866),C=r(83680),y=r(3936),x=r(58226),E=r(9897);let _=(0,i.Ng)(({page:{data:e}})=>({decompositionTitle:e?.priceParams?.pricing?.decompositionTitle,pricingDetails:e?.priceParams?.pricing?.details,country:e.siteParams?.country,currency:e.c2gParams?.currency,language:e.siteParams?.language}))(({prices:e,pricingUri:t,hideDiscount:r=!0,decompositionTitle:i,pricingDetails:s,country:l,currency:o,language:c})=>
1{let[d,u]=(0,n.useState)(!!e),[m,p]=(0,n.useState)(e),[,h]=(0,E.A)({returnPromise:!0}),g=(e?.length??0)>0,f=(0,n.useMemo)(()=>(0,x.kz)(s),[s]);return((0,n.useEffect)(()=>{!t||t.startsWith("https://cdn.group.renault.com/packshots/")||!f||g?u(!1):(async()=>{try{let e=await h({method:"get",url:"/wired/commerce/v2/models/prices",params:{uri:t,priceTypes:f,currency:o,language:c,country:l}});p(e?.data?.prices||[]),u(!1)}catch(e){u(!1)}})()},[t,f,g,o,c,l,h]),d||m&&0!==m.length)?(0,a.jsxs)("div",{className:"DisclaimerTooltipPriceDetails",children:[d&&(0,a.jsx)("div",{className:"DisclaimerTooltipPriceDetails__loader",children:(0,a.jsx)(C.l,{variant:"absolute",size:"xsmall"})}),!d&&m&&m.length>0&&(0,a.jsxs)(n.Fragment,{children:[i&&(0,a.jsx)("div",{className:"DisclaimerTooltipPriceDetails__title",children:i}),(0,a.jsx)("div",{className:"DisclaimerTooltipPriceDetails__list",children:(0,a.jsx)(y.P,{prices:m,hideDiscount:r})})]})]}):null});var b=r(50865),P=r(84759),T=r(8095),j=r(23e3);let N=(0,i.Ng)(({page:{data:e}})=>({initialPrice:e.ecologicalParams?.initialPrice}))(({initialPrice:e,displayPrice:t,minPriceWithoutBonus:r,currency:n,modelLabel:i,pricedVersion:s})=>e&&"number"==typeof r&&t!==r?(0,a.jsx)("span",{className:"InitialPrice",children:(0,T.A)(e,{minPriceWithoutBonus:(0,P.ZV)(r,{currency:n}),startingModel:(0,a.jsx)(j.A,{modelLabel:i,pricedVersion:s,hasInheritColor:!0})})}):null);var I=r(52357),S=r(619),A=r(67486);let w=({isInverted:e,modelDisclaimer:t,modelLabel:r,pricedVersion:n,pricingUri:i})=>{let{isLoading:s,interpolatedModelDisclaimerString:l}=(0,A.A)({modelDisclaimer:t,modelLabel:r,pricedVersion:n,pricingUri:i||""});return s?(0,a.jsx)(S.E,{isInverted:e,width:"100%",height:"16px"}):(0,a.jsx)(I.R,{tag:"p",content:l,supportReturnCarriage:!0})};var O=r(66806),R=r(90469),D=r(20987),L=r(90939);let M=(0,i.Ng)(({page:{data:e}})=>({modelDisclaimerLabel:e.ecologicalParams?.modelDisclaimerLabel,ecologicalRebateDisclaimer:e.ecologicalParams?.ecologicalRebateDisclaimer,ecologicalBonusDescription:e.ecologicalParams?.ecologicalBonusDescription,modelName:e.modelParams?.model?.modelName,country:e.siteParams?.country,language:e.siteParams?.language,currency:e.c2gParams?.currency}))(({uri:e,priceType:t,country:r,currency:i,language:s,modelDisclaimerLabel:l,ecologicalRebateDisclaimer:c,ecologicalBonusDescription:d,modelName:m})=>{let h=!!e&&!e.startsWith("https://cdn.group.renault.com/packshots/")&&!!l,[g,f]=(0,n.useState)(void 0),[v,C]=(0,n.useState)(h),[,y]=(0,E.A)({returnPromise:!0});if((0,D.A)(async()=>{if(h)try{let a=await y({method:"get",url:"/agg/v1/vn/modelsummary",params:{uri:e,priceType:t,currency:i,language:s,country:r}});f(a?.data),C(!1)}catch(e){(0,O.FZ)(e)||C(!1)}}),h&&v)return(0,a.jsx)(S.E,{width:"100%",height:"16px"});if(!h||!g)return null;let{label:x,pricedVersion:{label:_}={},uniqOffers:T=[],offer:{offerId:j}={},webDisplayPrices:N,homologatedEfficiency:I,homologatedCo2:A,homologatedUnit:w}=g,M=x||m,{legalDescription:k}=(0,p.D)(T,j)||{},{displayPrice:V,bonusPrice:H,eecBonus:F,eecDisclaimer:U}=N||{};return(0,a.jsxs)("div",{className:"ModelDisclaimerLabel__relatedModel",children:[(0,a.jsxs)("p",{children:[(0,a.jsxs)("span",{children:[l," "]}),M&&(0,a.jsxs)("span",{children:[M," "]}),_&&(0,a.jsx)("span",{children:_}),V&&(0,a.jsxs)("span",{children:[", ",(0,a.jsx)(o.w,{value:V,currency:i})]}),V&&c&&H&&(0,a.jsxs)("span",{children:[","," ",(0,L.A)(c,{ecologicalRebate:(0,P.ZV)(-H,{currency:i})})]}),V&&c&&H&&(0,a.jsxs)("span",{children:[", ",d]})]}),k&&(0,a.jsx)(b.d,{content:k}),I&&(0,a.jsx)(R.e,{co2:A,efficiency:I,unit:w}),F&&(0,a.jsx)(u.Z,{value:F,eecDisclaimer:U})]})}),k=(0,i.Ng)(({page:{data:e}})=>{let{ecologicalParams:t,modelParams:r,siteParams:a,c2gParams:n}=e,{model:i}=r||{},{country:s,language:l}=a||{},{modelDisclaimerLabel:o,ecologicalRebateDisclaimer:c,ecologicalBonusDescription:d}=t||{};return{modelName:i?.modelName,currency:n?.currency,ecologicalRebateDisclaimer:c,ecologicalBonusDescription:d,modelDisclaimerLabel:o,language:l,country:s}})(({uri:e,priceType:t,legalDescription:r,legalMention:n,currency:i,displayPrice:s,minPriceWithoutBonus:l,modelLabel:o,pricedVersion:c,pricingUri:d})=>(0,a.jsxs)("div",{className:"ModalModelDisclaimerContent",children:[(0,a.jsx)(N,{displayPrice:s,minPriceWithoutBonus:l,currency:i,modelLabel:o,pricedVersion:c}),(0,a.jsx)(w,{modelDisclaimer:n,pricingUri:d,modelLabel:o,pricedVersion:c}),r&&(0,a.jsx)(b.d,{content:r}),(0,a.jsx)(M,{uri:e,priceType:t})]})),V=(0,i.Ng)(({page:{data:e}})=>{let t=e?.priceParams,r=t?.pricing,a=e.ecologicalParams,n=r?.details&&Object.keys(r?.details).length>0&&t?.pricing?.tooltipPriceDecomposition||!1;return{ecologicalParams:a,disclaimerTooltipDisplay:t?.disclaimerTooltipDisplay||!1,tooltipPriceDecomposition:n}})(({legalMention:e,legalDescription:t,uri:r,priceType:i,ecologicalParams:s,minPriceWithoutBonus:l,dis
1playPrice:o,modelLabel:c,pricedVersion:d,prices:u,hideDiscount:m,pricingUri:p,disclaimerTooltipDisplay:h,tooltipPriceDecomposition:g})=>{let[C,y]=(0,n.useState)(!1),x=r&&i&&s?.modelDisclaimerLabel||!1;return h&&e||g||x||t?(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("button",{onClick:e=>{e?.stopPropagation(),y(!0)},className:"DisclaimerTooltip__cta",type:"button",children:(0,a.jsx)(v.m,{size:"small"})}),C&&(0,a.jsx)(f.lG,{title:s?.modelDisclaimerTitle,onClose:()=>y(!1),children:(0,a.jsxs)(f.Cf,{children:[g&&(0,a.jsx)(_,{prices:u,hideDiscount:m,pricingUri:p}),(h||x||t)&&(0,a.jsx)(k,{uri:r,priceType:i,legalDescription:t,legalMention:h?e:void 0,displayPrice:o,minPriceWithoutBonus:l,modelLabel:c,pricedVersion:d,pricingUri:p})]})})]}):null}),H=({startingLabel:e,isInverted:t=!1,size:r="medium",align:s="left",confData:f,hideEfficiencyGraph:v=!1,hideVersionEngine:C=!1,hideBonus:y=!1,relatedImageURI:x,prices:E,modelParams:_})=>{let b=(0,i.d4)(e=>e.page.data?.c2gParams?.currency),P=(0,i.d4)(e=>e.page.data?.priceParams),T=(0,i.d4)(e=>_??e.page.data?.modelParams),N=P?.hidePrices||!1,{data:I,model:S}=T||{},{showVersionEngine:A=!1,disclaimerDirectDisplay:O=!1,pricing:R}=P||{},{modelStartingFrom:D}=R||{},{modelName:L,priceType:M,modelDisclaimer:k,overridenEnergyClass:H,overridenConsumptionCo2Km:F}=S||{},{label:U,uniqOffers:G}=I||{},{pricedVersion:B,priceInfo:z,offer:q,uniqOffers:W=G,webDisplayPrices:$}=f||I||{},Y=f?.uri||f?.nextURI||I?.uri||S?.modelURI,K=L||U,{legalDescription:X,hideDiscount:Z}=(0,p.D)(W,q?.offerId)||{},Q=z?.currency||b,J=z?.priceType||M,{displayPrice:ee,minPriceWithoutBonus:et,bonusPrice:er,eecBonus:ea,eecDisclaimer:en}=$||{},ei=!f&&S?.modelPrice||ee,{homologatedEfficiency:es,homologatedCo2:el="",homologatedUnit:eo="",airQualityCertificate:ec,efficiencyClassMin:ed}=(0,h.Y)(f,I);return N?null:(0,a.jsxs)("div",{className:l()("ModelStartingPrice",{"is-centered":"center"===s,"is-dark-background":t}),children:[ei&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("div",{className:"ModelStartingPrice__price",children:(0,a.jsx)("span",{className:"ModelStartingPrice__priceWrapper",children:(0,a.jsxs)(c.P,{size:r,children:[`${e??(D||(0,g.kH)("wording.startingFrom"))} `,(0,a.jsx)(o.w,{value:ei,currency:Q}),O&&k&&" *",(0,a.jsx)("span",{className:"ModelStartingPrice__SvgIconInfo",children:(0,a.jsx)(V,{legalDescription:X,legalMention:k,uri:x,priceType:J,displayPrice:ei,minPriceWithoutBonus:et,modelLabel:K,pricedVersion:B,pricingUri:Y,prices:E,hideDiscount:Z})})]})})}),!y&&(0,a.jsx)(d.o,{value:er,currency:Q}),!y&&(0,a.jsx)(u.Z,{value:ea,eecDisclaimer:en}),!C&&A&&(0,a.jsx)(j.A,{className:"ModelStartingPrice__modelVersionAndEngine",modelLabel:K,pricedVersion:B,hasInheritColor:!0})]}),!v&&(0,a.jsx)(m.h,{variant:"horizontal",align:"left",efficiency:H||es,aocEfficiency:ed,co2:F||el,unit:eo,urbanAccessClass:ec,isInverted:t}),ei&&O&&k&&(0,a.jsx)("div",{className:"ModelStartingPrice__mentions",children:(0,a.jsx)(w,{modelDisclaimer:k,pricingUri:Y,isInverted:t,pricedVersion:B})})]})}},82276(e,t,r){"use strict";var a=r(91987),n=r(97500),i=r.n(n);r.d(t,{},{A:({children:e,size:t="medium"})=>(0,a.jsx)("span",{className:i()("NormalizedPrice",{"is-xlarge":"xlarge"===t,"is-large":"large"===t,"is-small":"small"===t}),children:e})})},33712(e,t,r){"use strict";var a,n=r(91987),i=r(97500),s=r.n(i),l=r(50618),o=r(38337),c=r(815),d=((a={}).LARGE="large",a.MEDIUM="medium",a.SMALL="small",a.XLARGE="xlarge",a);r.d(t,{or:()=>d},{Ay:({currency:e,isInverted:t,isMonthlyPrice:r,isPrecise:a=!0,isPromo:i=!1,isStartingPrice:d,isStriked:u,price:m,quantity:p,size:h="medium",tax:g})=>(0,n.jsx)("div",{className:s()("Price",{"is-inverted":t,"is-promo":i,"is-small":"small"===h,"is-large":"large"===h,"is-xlarge":"xlarge"===h}),children:(0,n.jsxs)("div",{className:s()("Price__content",{"is-struck-out":u}),children:[d?(0,n.jsx)("p",{className:"Price__starting",children:(0,o.kH)("wording.startingFrom")}):null,(0,n.jsx)("p",{className:"Price__price",children:(0,n.jsx)(l.w,{value:m,currency:e,isPrecise:a})}),r?(0,n.jsxs)("p",{className:"Price__monthly",children:[" ",`/${(0,o.kH)("months.month")}`]}):null,g?(0,n.jsx)("sup",{className:"Price__tax",children:(0,o.kH)(`wording.${g}`)}):null,p?(0,n.jsxs)("p",{className:"Price__quantity",children:[c.A.MULTIPLY,p]}):null]})})})},55014(e,t,r){"use strict";var a=r(91987),n=r(97500),i=r.n(n),s=r(38120),l=r(80874),o=r(50865);r.d(t,{},{A:({alignLeft:e,title:t,currency:r,inlineMention:n,isInverted:c,isMonthlyPrice:d,originalPrice
1:u,price:m,priceAlt:p,quantity:h,isStartingPrice:g,size:f,tax:v,tooltipMention:C})=>(0,a.jsxs)("div",{className:i()("ProductPrice",{"is-inverted":c,"is-left":e,"is-large":f===l.or.LARGE,"is-xlarge":f===l.or.XLARGE}),children:[u&&u!==m?(0,a.jsx)(l.gm,{currency:r,isInverted:c,isMonthlyPrice:d,isStriked:!0,price:u,quantity:h,size:f===l.or.XLARGE?l.or.MEDIUM:l.or.SMALL,tax:v}):null,(0,a.jsxs)("div",{className:"ProductPrice__price",children:[p?(0,a.jsx)("span",{className:"ProductPrice__priceAlt",children:p}):(0,a.jsx)(l.gm,{isPromo:!!u&&u!==m,currency:r,isInverted:c,isMonthlyPrice:d,isStartingPrice:g,price:m,quantity:h,size:f,tax:v}),C&&(0,a.jsx)(s.T,{title:t,iconSize:"medium",children:(0,a.jsx)(o.d,{content:C})})]}),n?(0,a.jsx)("div",{className:"ProductPrice__inlineMention",children:n}):null]})})},27189(e,t,r){"use strict";var a=r(51753);r.d(t,{r:()=>a.A})},3936(e,t,r){"use strict";r.d(t,{P:()=>d});var a=r(91987),n=r(20496),i=r(32464),s=r(84759);let l=({priceInfo:e,itemLabel:t,itemPrice:r,labelClassName:n,priceClassName:i})=>(0,a.jsxs)("p",{className:"ModelStartingPriceDetailsItem",children:[(0,a.jsx)("span",{className:n,children:t}),(0,a.jsx)("span",{className:"ModelStartingPriceDetailsItem__dots"}),(0,a.jsx)("span",{className:i,children:e?.currency==="%"?(0,s.ZV)(r,{toPercent:!0}):(0,s.ZV)(r,{currency:e?.currency})})]}),o=(0,n.Ng)(({page:{data:e}})=>({detailsI18n:e?.priceParams?.pricing?.details})),c=(e,t)=>e?.find(e=>e?.priceInfo?.priceType===t),d=o(({detailsI18n:e,hideDiscount:t=!0,prices:r})=>{if(!r)return null;let n=!!e,s=(0,i.Hj)(e);return n&&s?.length?(0,a.jsx)("div",{className:"ModelStartingPriceDetails__taxesList",children:s.map((e,n)=>{let s,o,d,u,m;return s=(0,i.Hj)(e?.subPrices),o=c(r,e?.pricetypeCode),d=o?.priceInfo,u=t?o?.totalPrice:o?.offer?.discountedPrice||o?.totalPrice,m=e?.label,(0,a.jsxs)("div",{className:"ModelStartingPriceDetails__item",children:[void 0!==u&&m?(0,a.jsx)(l,{priceInfo:d,itemLabel:m,itemPrice:u,labelClassName:"ModelStartingPriceDetails__priceLabel",priceClassName:"ModelStartingPriceDetails__priceNumber"}):null,s?.length>0&&(0,a.jsx)("ul",{className:"ModelStartingPriceDetails__subPrices",children:s.map((e,n)=>{let i,s,o,d;return i=e?.label,s=c(r??[],e?.pricetypeCode),o=s?.priceInfo,void 0!==(d=t?s?.totalPrice:s?.offer?.discountedPrice)&&i?(0,a.jsx)("li",{children:(0,a.jsx)(l,{priceInfo:o,itemLabel:i,itemPrice:d,labelClassName:"ModelStartingPriceDetails__subPriceLabel",priceClassName:"ModelStartingPriceDetails__subPriceNumber"})},`${n}-${e?.pricetypeCode}`):null})})]},`${n}-${e?.pricetypeCode}`)})}):null})},67505(e,t,r){"use strict";var a=r(82276);r.d(t,{P:()=>a.A})},80874(e,t,r){"use strict";var a=r(33712);r.d(t,{gm:()=>a.Ay,or:()=>a.or})},64511(e,t,r){"use strict";var a=r(55014);r.d(t,{N:()=>a.A})},72098(e,t,r){"use strict";r.d(t,{x:()=>l});var a=r(91987),n=r(36334),i=r(20496),s=r(20973);let l=(0,i.Ng)(({page:e},t)=>({locale:e?.data.siteParams?.locale,description:t.description||e.data.meta?.find(e=>"description"===e.name)?.content,url:t.url||e.data.link?.find(e=>"canonical"===e.rel)?.href,title:t.title||e.data.title}))(({title:e,url:t,image:r,description:i,locale:l})=>e&&t&&r?(0,a.jsxs)(n.m,{encodeSpecialCharacters:!1,children:[(0,a.jsx)("html",{prefix:"og: http://ogp.me/ns#"}),(0,a.jsx)("meta",{property:"og:type",content:"article"}),(0,a.jsx)("meta",{property:"og:title",content:e}),(0,a.jsx)("meta",{property:"og:url",content:t}),(0,a.jsx)("meta",{property:"og:image",content:(0,s.qS)(r)}),i&&(0,a.jsx)("meta",{property:"og:description",content:i}),l&&(0,a.jsx)("meta",{property:"og:locale",content:l}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:e}),(0,a.jsx)("meta",{name:"twitter:url",content:t}),(0,a.jsx)("meta",{name:"twitter:image",content:(0,s.qS)(r)}),i&&(0,a.jsx)("meta",{name:"twitter:description",content:i})]}):null)},65055(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(20496),s=r(50865),l=r(47702),o=r(41316),c=r(21323),d=r(96047);let u=({disclaimer:e,children:t})=>{let[r,i]=(0,n.useState)(!1);return e?(0,a.jsxs)(n.Fragment,{children:[r&&(0,a.jsx)(l.lG,{onClose:()=>i(!1),children:(0,a.jsx)(l.Cf,{children:(0,a.jsx)(s.d,{className:"Bonus__modal",content:e})})}),(0,a.jsx)("button",{className:"Bonus__button",type:"button",onClick:()=>i(!0),children:t})]}):t};r.d(t,{},{o:({value:e=0,currency:t,variant:r="default"})=>{let{ecologicalRebateDisclaimer:n,ecologicalBonusDescription:s,shortEcoBonusLabel:l}=(0,i.d4)(e=>e.page.data?.ecologicalParams)||{},m=(0,i.d4)(e=>t||e.page.data?.c2gParams?.currency||""),p=(0,d.p)({bonusPrice:e,currency:m,ecologicalParams:{ecologicalRebateDisclaimer:n,ecologicalBonusDescription:s},eecBonus:0})?.ecoRebate,h="short"===r;return p?(0,a.jsx)(u,{disclaimer:s&&!h?s:void 0,children:(0,a.jsx)(o.E,{design:"strong",variant:"ecological",rightIcon:s&&!h?c.A:void 0,children:h?l:p})}):null}})},47537(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(20496),s=r(50865),l=r(47702),o=r(41316),c=r(21323),d=r(84759),u=r(90939);let m=({eecDisclaimer:e,children:t})=>
1{let[r,i]=(0,n.useState)(!1);return e?(0,a.jsxs)(a.Fragment,{children:[r&&(0,a.jsx)(l.lG,{onClose:()=>i(!1),children:(0,a.jsx)(l.Cf,{children:(0,a.jsx)(s.d,{className:"CEEBonus__modal",content:e})})}),(0,a.jsx)("button",{className:"CEEBonus__button",type:"button",onClick:()=>i(!0),children:t})]}):t};r.d(t,{},{Z:({value:e,currency:t,variant:r="default",hideEditorialFallbackBonus:n,eecDisclaimer:s})=>{let{energySavingBonusLabel:l,energySavingBonusTooltip:p}=(0,i.d4)(e=>e.page.data?.modelParams)||{},{ceeBonusDisclaimer:h,ceeBonusLabel:g,ceeBonusLabelPro:f,ceeShortBonusLabel:v}=(0,i.d4)(e=>e.page.data?.ecologicalParams)||{},C=(0,i.d4)(e=>e.page.data?.c2gParams?.currency),y=(0,i.d4)(e=>e.page.data?.professionalParams?.isPro||!1),x=!n&&p,E=y?f??g:g,_=!n&&l;e&&e>0&&E&&(_=(0,u.A)(E,{eecRebate:(0,d.ZV)(e,{currency:t||C||""})}),x=s||h);let b="short"===r;return(b&&(_=v),_)?s&&e&&e>0&&!b?(0,a.jsx)(m,{eecDisclaimer:s,children:(0,a.jsx)(o.E,{variant:"electric",design:"strong",rightIcon:s?c.A:void 0,children:_})}):(0,a.jsx)(m,{eecDisclaimer:x&&!b?x:void 0,children:(0,a.jsx)(o.E,{variant:"electric",design:"strong",rightIcon:x&&!b?c.A:void 0,children:b?v:_})}):null}})},14439(e,t,r){"use strict";var a=r(91987),n=r(20496),i=r(97500),s=r.n(i),l=r(16383),o=r(18847),c=r(76785),d=r(90834);r.d(t,{},{e:({aocEfficiency:e,co2:t,efficiency:r,hideLabel:i,isInverted:u,unit:m})=>{let p,h=(0,n.d4)(e=>e.page.data?.consumptionEfficiencyGraph),g=(0,n.d4)(e=>e.page.data?.siteParams?.country||""),f=(0,n.d4)(e=>e.page.data?.siteParams?.language||""),{efficiencyTitle:v,displayEfficiencyGraph:C}=h||{};if(!C)return null;if(r)p=(0,a.jsx)("span",{className:s()("EfficiencyClass__thumbnail",{[`is-class${r}`]:r}),children:r});else{if(!e)return null;let t=(0,d.k)({country:g,language:f,imageSize:"light",itemClass:e});p=(0,a.jsx)(l._,{alt:e,aspectRatio:"1/1",objectFit:"contain",src:{small:t},width:"100%"})}return(0,a.jsxs)("div",{className:s()("EfficiencyClass",{"is-inverted":u}),children:[!i&&(0,a.jsx)("span",{className:"EfficiencyClass__label",children:v}),(0,a.jsxs)(o.m_,{children:[(0,a.jsx)(o.ZI,{children:(0,a.jsx)(c.e,{aocEfficiency:e,co2:t,unit:m,efficiency:r})}),(0,a.jsx)(o.k$,{children:(0,a.jsx)("span",{className:"EfficiencyClass__icon",children:p})})]})]})}})},9047(e,t,r){"use strict";var a=r(91987),n=r(20496),i=r(97500),s=r.n(i),l=r(50865),o=r(16383),c=r(90834);
1let d=["A","B","C","D","E","F","G"],u=({co2:e,efficiency:t,unit:r})=>{let n=e&&!Number.isNaN(Number(e))&&r?`${e} ${r}`:e;return(0,a.jsx)("div",{className:"EfficiencyGraph__classes",children:d.map(e=>{let r=e===t;return(0,a.jsxs)("div",{className:s()(`EfficiencyGraph__class is-class${e}`,{"is-current":r}),children:[(0,a.jsx)("span",{className:"EfficiencyGraph__code",children:e}),r&&(0,a.jsx)("span",{className:"EfficiencyGraph__value",children:n})]},e)})})},m=({country:e,efficiency:t,language:r})=>{let n=(0,c.k)({country:e,imageSize:"full",language:r,itemClass:t});return(0,a.jsx)(o._,{alt:t,aspectRatio:"1/1",objectFit:"contain",src:{small:n},width:"100%"})};r.d(t,{},{e:({aocEfficiency:e,co2:t,efficiency:r,unit:i})=>{let s,o=(0,n.d4)(e=>e.page.data?.consumptionEfficiencyGraph),c=(0,n.d4)(e=>e.page.data?.siteParams?.country||""),d=(0,n.d4)(e=>e.page.data?.siteParams?.language||""),{efficiencyTitle:p,efficiencyCopy:h}=o||{};if(r)s=(0,a.jsx)(u,{co2:t,efficiency:r,unit:i});else{if(!e)return null;s=(0,a.jsx)(m,{country:c,efficiency:e,language:d})}return(0,a.jsxs)("div",{className:"EfficiencyGraph",children:[(0,a.jsx)("p",{className:"EfficiencyGraph__title",children:p}),h&&(0,a.jsx)(l.d,{className:"EfficiencyGraph__body",content:h}),s]})}})},62161(e,t,r){"use strict";r.d(t,{P:()=>C});var a=r(91987),n=r(71763),i=r(20496),s=r(97500),l=r.n(s),o=r(12347),c=r(14680),d=r(16383),u=r(73437),m=r(18799),p=r(78948),h=r(9897),g=r(15863),f=r(38337);let v=r.p+"e7728471b7bca905.png",C=(0,i.Ng)(({page:e})=>({siteParams:e.data.siteParams,energyPdfLabel:e.data.consumptionEfficiencyGraph?.energyPdfLabel}))(({energyPdfLabel:e,isInverted:t,vin:r,uri:i,siteParams:s,productId:C,productType:y,productName:x,withTitle:E})=>{let{language:_,brand:b,country3:P,locale:T}=s||{},j=E?(0,f.kH)("wording.downloadCta"):e,[{isLoading:N=!1},I]=(0,h.A)({method:"POST",returnPromise:!0,url:"/wired/commerce/v2/models/docs/pdf/energy-performance"}),[{isLoading:S=!1},A]=(0,h.A)({method:"GET",returnPromise:!0,url:`/wired/commerce/v2/products/${C}`}),w=N||S,O=(0,n.useCallback)(async e=>{if(e.preventDefault(),w)return;let t="";if(y&&C&&[o.$z.VEHICLE_NCI,o.$z.VEHICLE_NCP].includes(y)){let e=await A({params:{productTypes:y,channel:"main",locale:T||"",runtimeDataRules:"GENERATE_ENERGY_PERF_PDF",includeSourceFields:"vin,productType,brand.group,vehicleConfigUri"}});t=e?.data?.documents?.find(({documentType:e})=>e===c.V.ENERGY_PERF_PDF)?.url||""}else{let e=await I({data:{templateId:"49a08dd7-0fca-4d49-b8be-612069b53fe5",uri:i,vin:r,asAttachment:!0,language:_,customKeys:{brand:b},market:P}});t=e?.data?.temporaryUrl||""}t&&((0,p.d)({event:"download",brochureType:"Ebrochure",brochureName:"EnergyPdf",...x?{vehicleModel:x}:{},...C?{vehicleId:C}:{}}),(0,g.El)(t,""))},[w,A,I,b,P,_,T,C,y,i,r,x]);return(0,a.jsxs)("div",{className:l()("EnergyPdf",{"is-inverted":t,"is-loading":w}),children:[E&&e&&(0,a.jsx)("div",{className:"EnergyPdf__label",children:e}),(0,a.jsx)("div",{className:"EnergyPdf__img",onClick:O,children:(0,a.jsx)(d._,{src:{small:v},alt:"Energy PDF image",width:"94px",height:"100%"})}),(0,a.jsx)(u.l,{variant:"link-hyper",icon:m.A,isInverted:t,onClick:O,isLoading:w,children:j})]})})},98899(e,t,r){"use strict";var a=r(91987),n=r(97500),i=r.n(n),s=r(90469),l=r(64974);let o={left:"",center:"is-centered"};r.d(t,{},{h:({isInverted:e,urbanAccessClass:t,ignoreDisplayCritair:r,aocEfficiency:n,co2:c,efficiency:d,unit:u,variant:m="vertical",align:p="left"})=>(0,a.jsxs)("div",{className:i()("EnvironmentalData",o[p],{"is-horizontal":"horizontal"===m}),children:[(0,a.jsx)(s.e,{isInverted:e,aocEfficiency:n,co2:c,efficiency:d,unit:u}),(0,a.jsx)(l.n,{isInverted:e,ignoreDisplayCritair:r,urbanAccessClass:t})]})})},93581(e,t,r){"use strict";var a=r(91987),n=r(20496),i=r(97500),s=r.n(i),l=r(16383),o=r(18847),c=r(24619),d=r(90834);let u=(0,n.Ng)(({page:{data:e}})=>({consumptionEfficiencyGraph:e?.consumptionEfficiencyGraph,country:e.siteParams?.country,language:e.siteParams?.language}))(({consumptionEfficiencyGraph:e,country:t="",language:r="",urbanAccessClass:n,hideLabel:i=!1,isInverted:u=!1,ignoreDisplayCritair:m=!1})=>{let{displayCritair:p,titleCritair:h}=e||{};if(!p&&!m||!n||"NC"===n)return null;let g=(0,d.k)({country:t,language:r,imageSize:"light",itemClass:n});return(0,a.jsxs)("div",{className:s()("UrbanAccessClass",{"is-inverted":u}),children:[!i&&(0,a.jsx)("span",{className:"UrbanAccessClass__label",children:h}),(0,a.jsxs)(o.m_,{children:[(0,a.jsx)(o.ZI,{children:(0,a.jsx)("div",{className:"UrbanAccessClass__tooltipContent",children:(0,a.jsx)(c.i,{urbanAccessClass:n})})}),(0,a.jsx)(o.k$,{children:(0,a.jsx)("span",{className:"UrbanAccessClass__icon",children:(0,a.jsx)(l._,{alt:n,aspectRatio:"1/1",objectFit:"contain",src:{small:g},width:"100%"})})})]})]})});r.d(t,{},{n:u})},98275(e,t,r){"use strict";r.r(t);var a=r(91987),n=r(20496),i=r(16383),s=r(90834);let l=(0,n.Ng)(({page:{data:e}})=>({consumptionEfficiencyGraph:e.consumptionEfficiencyGraph,country:e.siteParams?.country,language:e.siteParams?.language}))(({consumptionEfficiencyGraph:e,country:t="",language:r="",urbanAccessClass:n})=>{if(!n)return null;let{titleCritair:l}=e||{},o=(0,s.k)({country:t,imageSize:"full",language:r,itemClass:n});return(0,a.jsxs)("div",{className:"UrbanAccessImage",children:[l&&(0,a.jsx)("p",{className:"UrbanAccessImage__title",children:l}),(0,a.jsx)(i._,{alt:n,aspectRatio:"1/1",objectFit:"contain",src:{small:o},width:"100%"})]})});r.d(t,{},{UrbanAccessImage:l})},99601(e,t,r){"use strict";var a=r(65055);r.d(t,{o:()=>a.o})},63342(e,t,r){"use strict";var a=r(47537);r.d(t,{Z:()=>a.Z})},90469(e,t,r){"use strict";var a=r(14439);r.d(t,{e:()=>a.e})},76785(e,t,r){"use strict";var a=r(9047);r.d(t,{e:()=>a.e})},6277(e,t,r){"use strict";r.d(t,{w:()=>x});var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(50865),o=r(7285),c=r(88764),d=r(47702),u=r(41316),m=r(21323),p=r(32464),h=r(8322),g=r(29224),f=r(38337);let v=(0,n.createContext)({variant:"default"}),C=({multimediaCard:e})=>{let{description:t,assets:r=[],name:n}=e||{},i=r&&(0,g.Lh)(r,"MAIN_PICTURE"),s=r&&(0,g.Lh)(r,"MAIN_VIDEO_THUMBNAIL"),d=r&&(0,g.Lh)(r,"MAIN_VIDEO"),u=r?.find(e=>"MAIN_VIDEO"===e.assetRole)?.assetAutoplay||!1;return(0,a.jsxs)("div",{className:"EnergyBadgeList__modal",children:[d&&(0,a.jsx)("div",{className:"EnergyBadgeList__modalYoutube",children:(0,a.jsx)(c.k,{youtubeVideoId:d,isAutoPlay:u,children:(0,a.jsx)(c.Y,{youtubeVideoId:d,src:{small:s},alt:n})})}),!d&&i&&(0,a.jsx)(o.E,{src:i,alt:n||""}
1),t&&(0,a.jsx)(l.d,{className:"EnergyBadgeList__modalDescription",content:t})]})},y=({energyCategory:e,mainFuelTypeCode:t,multimediaCard:r,energyCode:i,isInverted:l})=>{let{variant:o}=(0,n.useContext)(v),[c,p]=(0,n.useState)(!1),{value:g}=(0,h.Tb)(e,t)||{},y=(0,f.kH)(i?`engines.${i}`:`engines.${g?.code}`),x=i?[h.qY.ELECTRIC,h.qY.HYBRID,h.qY.HYBRID_PLUGIN].includes(i):(0,h.AI)(e),E=r?.description?"button":"span";return"text"===o?y?(0,a.jsx)("div",{className:s()("EnergyBadgeList__text",{"is-ev":x,"is-inverted":l}),children:y}):null:y?(0,a.jsxs)(n.Fragment,{children:[c&&(0,a.jsx)(d.lG,{title:y,variant:"side-panel",size:"medium",alternativeBackground:!0,onClose:()=>p(!1),children:(0,a.jsx)(d.Cf,{children:(0,a.jsx)(C,{multimediaCard:r})})}),(0,a.jsx)(E,{className:"EnergyBadgeList__button",onClick:r?.description?()=>p(!0):void 0,children:(0,a.jsx)(u.E,{variant:x?"electric":"info",design:"outlined",rightIcon:r?.description?m.A:void 0,children:y})})]}):null},x=({onlyEv:e=!1,engines:t=[],variant:r="default",multimediaCards:i=[],overridenModelEnergies:s,isInverted:l})=>{let o=(0,p.Hj)(s).map(e=>e.type).filter(e=>void 0!==e),c=(0,n.useMemo)(()=>({variant:r}),[r]),d="text"===r?"span":"div",{engines:u,shouldDisplayExistIn:m}=(({engines:e=[],multimediaCards:t=[],onlyEv:r=!1})=>{let a=(e||[]).map(({energyCategory:e,mainFuelTypeCode:r})=>{let a=(0,h.Tb)(e,r);return{energyCategory:e,mainFuelTypeCode:r,energyTag:a,multimediaCard:t?.find(t=>e&&t?.accessoryCode?.includes(e))}}),n=a.filter(({energyCategory:e})=>!r||(0,h.AI)(e));return{shouldDisplayExistIn:r&&n.length!==a.length&&n.length>0,engines:n.reduce((e,t)=>e.some(({energyTag:e})=>e?.value?.code===t.energyTag?.value?.code)?e:[...e,t],[]).sort((e,t)=>Number((0,h.AI)(t.energyCategory))-Number((0,h.AI)(e.energyCategory))).map(({energyCategory:e,mainFuelTypeCode:t,multimediaCard:r})=>({energyCategory:e,mainFuelTypeCode:t,multimediaCard:r,key:`${e}-${t}`}))}})({engines:t,onlyEv:e,multimediaCards:i}),g=o.length>0?o.map(e=>(0,a.jsx)(y,{energyCode:e},e)):u.map(e=>(0,a.jsx)(y,{energyCategory:e.energyCategory,mainFuelTypeCode:e.mainFuelTypeCode,multimediaCard:e.multimediaCard,isInverted:l},e.key));return(0,a.jsxs)(v.Provider,{value:c,children:[m&&(0,a.jsxs)(d,{className:"EnergyBadgeList__existsIn",children:[(0,f.kH)("wording.existsIn")," "]}),"text"===r?g:(0,a.jsx)(d,{className:"EnergyBadgeList",children:g})]})}},78416(e,t,r){"use strict";var a=r(62161);r.d(t,{P:()=>a.P})},4186(e,t,r){"use strict";var a=r(98899);r.d(t,{h:()=>a.h})},64974(e,t,r){"use strict";var a=r(93581);r.d(t,{n:()=>a.n})},24619(e,t,r){"use strict";var a=r(98275);r.d(t,{i:()=>a.UrbanAccessImage})},40431(e,t,r){"use strict";r.d(t,{D:()=>g});var a=r(91987),n=r(71763),i=r(20496),s=r(97500),l=r.n(s),o=r(7285),c=r(29439),d=r(41316),u=r(35866),m=r(82084),p=r(38337),h=r(75743);let g=({item:e,onToggle:t,onDialogToggle:r,isLoading:s,disabled:g})=>{let f=(0,i.d4)(({page:{data:e}})=>e?.configuratorParams?.clientChoice?.title),v=(0,i.d4)(({page:{data:e}})=>e?.priceParams?.hidePrices||!1),C=(0,i.d4)(({page:{data:e}})=>e?.configuratorParams?.accessories?.fittingCostShort),y=(0,i.d4)(({page:{data:e}})=>e?.configuratorParams?.accessories?.priceDisclaimerShort),[x,E]=(0,n.useState)(!1),{selected:_,priceLabel:b,description:P,image:T,defaultPictureSources:j,label:N,youtubeId:I,isMount:S,code:A,versionCategory:w,images:O,isCustomerChoice:R}=e||{},D=(0,n.useCallback)(t=>{r?.({item:e,isOpen:t}),E(t)},[r,e]),L=!!(P||I||O?.length),M=(0,n.useCallback)(()=>D(!0),[D]),k=w===h.Lu.SYSTEMATIC||w===h.Lu.DEFAULT,V=!v&&b;return(0,a.jsxs)("div",{className:l()("VehicleEquipmentCard",{"is-selected":_,"is-loading":s,"is-disabled":g}),children:[L&&(0,a.jsx)("button",{type:"button",className:"VehicleEquipmentCard__icon",onClick:M,children:(0,a.jsx)(u.m,{size:"xlarge"})}),(0,a.jsxs)("button",{className:"VehicleEquipmentCard__trigger",type:"button",role:"checkbox",onClick:()=>{s||g||t?.(e)},"aria-checked":_,"aria-disabled":g,tabIndex:0,"aria-label":P,children:[P&&(0,a.jsx)("p",{className:"u-hidden-wording",children:P}),(0,a.jsx)("figure",{className:"VehicleEquipmentCard__figure",children:(0,a.jsx)(o.E,{alt:N||"",src:T??j?.small})}),R&&f&&(0,a.jsx)("div",{className:"VehicleEquipmentCard__customerChoice",children:(0,a.jsx)(d.E,{variant:"highlight",design:"strong",children:f})}),N&&(0,a.jsx)("p",{className:"VehicleEquipmentCard__label",children:N}),(0,a.jsxs)("div",{className:"VehicleEquipmentCard__actions",children:[(0,a.jsx)("div",{className:"VehicleEquipmentCard__checkboxWrapper",children:(0,a.jsx)(c.S,{label:"",value:_,onCh
1ange:()=>void 0,name:A,id:A,disabled:g,"aria-hidden":!0})}),V&&(0,a.jsxs)("div",{className:"VehicleEquipmentCard__priceInfoWrapper",children:[(0,a.jsx)("span",{className:"VehicleEquipmentCard__price",children:k?(0,p.kH)("wording.systematicEquip"):b}),S&&(0,a.jsx)("span",{className:"VehicleEquipmentCard__mountInfo",children:C}),y&&(0,a.jsx)("span",{className:"VehicleEquipmentCard__priceDisclaimer",children:y})]})]})]}),x&&(0,a.jsx)(m.T,{onClose:()=>D(!1),item:e,onToggle:()=>t?.(e),hideActions:g})]})}},82084(e,t,r){"use strict";r.d(t,{T:()=>h});var a=r(91987),n=r(71763),i=r(20496),s=r(50865),l=r(16383),o=r(52964),c=r(22053),d=r(47702),u=r(41316),m=r(73437),p=r(38337);let h=({onToggle:e,item:t,onClose:r,hideActions:h=!1})=>{let g=(0,i.d4)(({page:{data:e}})=>e?.priceParams?.hidePrices||!1),{packItems:f=[],description:v,label:C="",priceLabel:y,inCompletion:x,images:E=[],isCustomerChoice:_}=t||{},b=(0,i.d4)(({page:{data:e}})=>e?.configuratorParams?.clientChoice?.tooltipText),P=(0,i.d4)(({page:{data:e}})=>e?.configuratorParams?.clientChoice?.title),[T,j]=(0,n.useState)(0),N=(0,n.useCallback)(({isScrolling:e,activeChildIndex:t})=>{e||j(t-1<0?E.length-1:(t-1)%E.length)},[E.length]);return(0,a.jsxs)(d.lG,{variant:"side-panel",onClose:r,size:"medium",title:C,alternativeBackground:!0,children:[(0,a.jsx)(d.Cf,{children:(0,a.jsxs)("div",{className:"VehicleEquipmentDialog__wrapper",children:[E.length>0&&(0,a.jsxs)("div",{className:"VehicleEquipmentDialog__asset",children:[(0,a.jsx)("div",{className:"VehicleEquipmentDialog__carouselWrapper",children:(0,a.jsx)(o.F,{variant:o.m.DEFAULT,defaultSelectedSlideIndex:T,onInteraction:N,children:E.map((e,t)=>(0,a.jsx)("div",{className:"VehicleEquipmentDialog__imageWrapper",children:(0,a.jsx)(l._,{src:{small:e},alt:C,width:"100%",aspectRatio:"16/9"})},`rendition-${t}`))},"equipment-carousel")}),(0,a.jsx)("div",{className:"VehicleEquipmentDialog__thumbnailsWrapper",children:(0,a.jsx)(c.O,{"aria-label":"Carousel Thumbnails",onChange:j,thumbnails:E.map(e=>({alt:C,src:{small:e}})),value:T})})]}),_&&(P||b)&&(0,a.jsxs)("div",{className:"VehicleEquipmentDialog__customerChoice",children:[P&&(0,a.jsx)(u.E,{variant:"highlight",design:"strong",children:P}),b&&(0,a.jsx)(s.d,{className:"VehicleEquipmentDialog__customerChoiceText",content:b})]}),v&&(0,a.jsx)(s.d,{className:"VehicleEquipmentDialog__description",content:v}),f&&f.length>0&&(0,a.jsx)("ul",{className:"VehicleEquipmentDialog__packItems",children:f.map(e=>(0,a.jsx)("li",{children:e?.label},e?.code))})]})}),!h&&(0,a.jsx)(d.ii,{alternativeBackground:!0,children:e&&(0,a.jsxs)("div",{className:"VehicleEquipmentDialog__price",children:[(0,a.jsx)("div",{children:!g&&y}),(0,a.jsx)("div",{children:(0,a.jsx)(m.l,{variant:"cta-primary",onClick:()=>void(e?.(),r()),useButtonMarkup:!0,children:x?(0,p.kH)("wording.deleteCTA"):(0,p.kH)("wording.addCTA")})})]})})]})}},5789(e,t,r){"use strict";r.d(t,{H:()=>o});var a=r(91987),n=r(97500),i=r.n(n),s=r(16383),l=r(3584);let o=({value:e=!1,isLoading:t=!1,imgSrc:r,alt:n,isInverted:o,onChange:c,onMouseEnter:d,onMouseLeave:u})=>(0,a.jsxs)("button",{onClick:()=>!t&&c(!e),onMouseEnter:d,onMouseLeave:u,className:i()("VehicleItemSelector",{"is-selected":!t&&e,"is-invert":o,"is-loading":t}),type:"button","aria-label":n,children:[(0,a.jsx)("div",{className:"VehicleItemSelector__img",children:(0,a.jsx)(s._,{width:"100%",aspectRatio:"1",src:r,alt:n})}),!t&&e&&(0,a.jsx)("div",{className:"VehicleItemSelector__tick",children:(0,a.jsx)(l.C,{variant:"tick"})})]})},12786(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(20496),s=r(50865),l=r(47702),o=r(73437),c=r(78948);let d=(0,i.Ng)(({page:e})=>({locale:e.data?.siteParams?.locale,analyticsPageParams:e.data?.analyticsPageParams||{},isSSO:e.isSSO||"ACCOUNTS"===(e.data?.siteParams?.product||e.data?.data?.product)}))(({i18n:e,locale:t="",isSSO:r,onCreateBasket:i,onClose:d,analyticsPageParams:u})=>{let{alreadyAccountLabel:m,createAccountLabel:p,introduction:h,title:g}=e||{},{pageName:f,vehicleId:v,vehicleModel:C}=u;(0,n.useEffect)(()=>{(0,c.d)({event:"virtualPageView",virtualPageName:`${f}|BTO-connexion-register-popin`})},[f]);let y=(e=!1)=>{(0,c.d)({event:"navigationClick",buttonText:e?p:m,locationInPage:"BTO-connexion-register-popin",vehicleId:v,vehicleModel:C}),i({nextUrl:"",locale:t,signupTab:e,isSSO:r}),d()};return(0,a.jsxs)(l.lG,{title:g,onClose:d,children:[(0,a.jsx)(l.Cf,{children:(0,a.jsx)(s.d,{className:"UnauthenticatedCartView__introduction",content:h})}),(0,a.jsxs)(l.ii,{children:[p&&(0,a.jsx)(o.l,{onClick:()=>y(!0),useButtonMarkup:!0,variant:"cta-ghost",children:p}),m&&(0,a.jsx)(o.l,{onClick:()=>y(),useButtonMarkup:!0,variant:"cta-primary",children:m})]})]})});r.d(t,{},{A:d})},48501(e,t,r){"use strict";let a=(0,r(10194).A)("intra/asyncRCIFInancing");r.d(t,{},{A:a})},89629(e,t,r){"use strict";r.d(t,{_K:()=>m,dt:()=>u,iU:()=>d,v7:()=>p});var a=r(91987),n=r(71763),i=r(29016),s=r(71242),l=r(80271),o=r(66994);let c=(0,n.createContext)(void 0),d=(e,t)=>Math.round(e*Math.pow(10,t))/Math.pow(10,t),u=(e,t=!0,r=!1,a)=>{let{oilInfo:{gasoline:n,lpg:o,diesel:c}={},electricInfo:u}=e||{},{home:m,public:p}=u||{}
1,h=e?.chargingSubscriptionProgram?.some(e=>e.code===s.SL.BASIC)??!1,g=(0,l.b9)({currentProgram:h?s.SL.BASIC:void 0,energyPrices:e});return{annualMileage:r?15e3:1e4,chargeSubscriptionProgram:h?s.SL.BASIC:void 0,chargingProfile:s.tt.DOMESTIC,domesticChargePrice:d(Number(m??0),2),drivingProfile:s.XH.COMBINED,dieselPrice:d(Number(c??0),2),lpgPrice:d(Number(o??0),2),fuelPrice:d(Number(n??0),2),publicChargePrice:d(Number(p??0),2),superChargePrice:g,thermalConsumption:a===i.P.LCV?7:6,suitableUseDisclaimer:!1,withMobilizeChargePass:h,wltpConsumption:t}},m=({children:e,currency:t,isInAlternativeVersionComparatorBody:r,leftSelectedModel:s,rightSelectedModel:d,leftSelectedEngine:u,rightSelectedEngine:m,leftOfferFinancing:p,rightOfferFinancing:h,leftAnnualEnergyCost:g,rightAnnualEnergyCost:f,formModal:v,energyPrices:C,onFormModalChange:y,tcoParams:x,gradeLabelLeft:E,gradeLabelRight:_,isLoadingAnnualEnergyCost:b,isAlternativeMode:P,isLiteVersion:T})=>{let[j,N]=(0,n.useState)(!1),[I,S]=(0,n.useState)(!1),[A,w]=(0,n.useState)(!1),O=p?.numMonthlyPayment,R=h?.numMonthlyPayment,D=O?parseFloat(O):void 0,L=R?parseFloat(R):void 0,M=!!(s?.modelAdmin?.isPro||d?.modelAdmin?.isPro),k=s?.modelAdmin?.modelType===i.P.LCV||d?.modelAdmin?.modelType===i.P.LCV,V=M?x?.displayTco?.displayFinanceforPro:x?.displayTco?.displayFinance,H=!!(D&&L)&&!!V,F=(0,n.useCallback)(e=>{let t={...v,...e};y?.(t)},[y,v]),{leftPossibleEngine:U,rightPossibleEngine:G,showBanner:B,showModalBanner:z,label:q,energyCategory:W,mainFuelTypeCode:$,vehicleModelName:Y,imageURI:K,winningModel:X,winning:Z,annualSavings:Q}=(({isInAlternativeVersionComparatorBody:e,leftSelectedEngine:t,leftSelectedModel:r,rightSelectedEngine:a,rightSelectedModel:i,leftAnnualEnergyCostValue:s,rightAnnualEnergyCostValue:c,leftModelMonthlyPayment:d,rightModelMonthlyPayment:u,hasFinancingOffer:m,isLiteVersion:p})=>{let h=(0,n.useMemo)(()=>(0,l.OF)(t,r),[t,r]),g=(0,n.useMemo)(()=>(0,l.OF)(a,i),[a,i]),{showBanner:f,showModalBanner:v,winning:C,annualSavings:y}=(0,n.useMemo)(()=>(0,o.Q)(h?.energyCategory,g?.energyCategory,s,c,e,d,u,m,p),[e,m,h?.energyCategory,g?.energyCategory,s,c,d,u,p]),x=(0,n.useMemo)(()=>C===o.$.LEFT?r:C===o.$.RIGHT?i:void 0,[C,r,i]),E=(0,n.useMemo)(()=>C===o.$.LEFT?h:C===o.$.RIGHT?g:void 0,[C,h,g]),_=(0,n.useMemo)(()=>(0,l.OF)(E,x),[E,x]),{label:b,energyCategory:P,mainFuelTypeCode:T}=_||{},{vehicleModelName:j,imageURI:N}=(0,l.DC)(x);return{leftPossibleEngine:h,rightPossibleEngine:g,showBanner:f,showModalBanner:v,winning:C,winningModel:x,winningEngine:E,winningPossibleEngine:_,label:b,energyCategory:P,mainFuelTypeCode:T,vehicleModelName:j,imageURI:N,annualSavings:y}})({isInAlternativeVersionComparatorBody:r,leftSelectedEngine:u,leftSelectedModel:s,rightSelectedEngine:m,rightSelectedModel:d,leftAnnualEnergyCostValue:g?.annualEnergyCost.value,rightAnnualEnergyCostValue:f?.annualEnergyCost.value,leftModelMonthlyPayment:D,rightModelMonthlyPayment:L,hasFinancingOffer:H,isLiteVersion:T}),J=(0,n.useMemo)(()=>({formModal:v,handleTCOModalChange:F,isAccordionExpanded:A,isInAlternativeVersionComparatorBody:r,isModalShown:j,setIsAccordionExpanded:w,setIsModalShown:N,isStickyHeaderVisible:I,setIsStickyHeaderVisible:S,leftSelectedModel:s,rightSelectedModel:d,leftSelectedEngine:u,rightSelectedEngine:m,annualSavings:Q,tcoParams:x,leftPossibleEngine:U,rightPossibleEngine:G,showBanner:B,showModalBanner:z,label:q,energyCategory:W,mainFuelTypeCode:$,vehicleModelName:Y,imageURI:K,winningModel:X,winning:Z,energyPrices:C,currency:t,leftAnnualEnergyCost:g,rightAnnualEnergyCost:f,isLoadingAnnualEnergyCost:b,gradeLabelLeft:E,gradeLabelRight:_,leftOfferFinancing:p,rightOfferFinancing:h,hasFinancingOffer:H,isAlternativeMode:P,isPro:M,isLcv:k}),[p,h,H,M,k,v,t,C,F,A,r,j,I,s,d,u,m,Q,x,U,G,B,z,q,W,$,Y,K,X,Z,g,f,b,E,_,P]);return(0,a.jsx)(c.Provider,{value:J,children:e})},p=()=>{let e=(0,n.useContext)(c);if(void 0===e)throw Error("useTCOContext must be used within a TCOProvider");return e}},6794(e,t,r){"use strict";r.d(t,{A:()=>W});var a=r(91987),n=r(71763),i=r(20496),s=r(619),l=r(80271),o=r(9897),c=r(81766),d=r(21283),u=r(48501),m=r(89629),p=r(97500),h=r.n(p),g=r(50865),f=r(47702),v=r(73437),C=r(52357),y=r(77048),x=r(18847),E=r(35866),_=r(6277),b=r(78948),P=r(84759),T=r(38337);let j={small:"ONE_DACIA_PP_LARGE_DENSITY1",smallx2:"ONE_DACIA_PP_LARGE_DENSITY2",medium:"ONE_DACIA_PP_XLARGE_DENSITY2",mediumx2:"ONE_DACIA_PP_XLARGE_DENSITY2"},N=()=>{let{tcoParams:e,setIsModalShown:t,imageURI:r,vehicleModelName:i,label:l,energyCategory:o,mainFuelTypeCode:c,annualSavings:d=0,currency:u,winning:p,leftSelectedEngine:f,rightSelectedEngine:N,hasFinancingOffer:I,isLoadingAnnualEnergyCost:S,isAlternativeMode:A,isPro:w,leftPossibleEngine:O,rightPossibleEngine:R}=(0,m.v7)(),D=(0,n.useRef)(!1);(0,n.useEffect)(()=>{l&&!D.current&&((0,b.d)({event:"TCU_banner_display",vehicleVersion:l}),D.current=!0)},[l]);let{general:L,savingsBanner:M,pro:k}=e||{},{youSaveLabel:V,simulateEnergyCostsCtaLabel:H}=L||{},{priceTooltip:F,legalMentions:U,priceWithFinanceTooltip:G}=M||{},B=I?k?.priceWithFinanceTooltip:k?.priceTooltip,z=w?B:I?G:F,q=w?k?.legalMentions:U;return(0,a.jsxs)("div",{className:h()("TCOBanner",{"is-alternative-mode":A}),children:[(0,a.jsx)("div",{className:"TCOBanner__image",children:r&&(0,a.jsx)(y.F,{aspectRatio:["3/2","16/9","3/2"],width:"100%",uri:("left"===p?f:"right"===p?N:void 0)?.nextURI||r,profiles:j})}),(0,a.jsxs)("div",{className:"TCOBanner__title",children:[(0,a.jsx)("span",{className:"TCOBanner__titleLabel",children:V}),(0,a.jsx)("div",{className:"TCOBanner__priceInfo",children:S?(0,a.jsx)(s.E,{isInverted:A,width:"150px",height:"24px"}):(0,a.jsxs)(n.Fragment,{children:[(0,a.jsxs)("strong",{className:"TCOBanner__titleAmount",children:[d," ",(0,P.Qn)(u||"EUR")]}),(0,a.jsxs)("span",{className:"TCOBanner__titleUnit",children:[" /",(0,T.kH)("months.year")]}),z&&(0,a.jsxs)(x.m_,{children:[(0,a.jsx)(x.k$,{children:(0,a.jsx)(E.m,{})}),(0,a.jsx)(x.ZI,{children:(0,a.jsx)(C.R,{content:z})})]})]})})]}),(0,a.jsx)("div",{className:"TCOBanner__modelInfo",children:(0,a.jsxs)("div",{className:"TCOBanner__modelHeader",children:[i&&(0,a.jsxs)("div",{className:"TCOBanner__modelName",children:[(0,a.jsxs)("span",{children:[(0,T.kH)("wording.with")," "]}),i]}),(0,a.jsx)(_.w,{variant:"text",isInverted:A,engines:[{energyCategory:o,mainFuelTypeCode:c}]}),(0,a.jsx)("div",{className:"TCOBanner__engine",children:l})]})}),(0,a.jsx)("div",{className:"TCOBanner__link",children:(0,a.jsx)(v.l,{variant:"cta-ghost",useButtonMarkup:!0,onClick:()=>t(!0),disabled:S,isInverted:A,"data-track":"click","data-track-event":"navigationClick","data-track-button-text":H,"data-track-vehicle-version-compare":O?.label,"data-track-vehicle-grade-compare":R?.label,children:H})}),q&&(0,a.jsx)("div",{className:"TCOBanner__legal",children:(0,a.jsx)(g.d,{content:q})})]})};var I=r(79655),S=r(80381);let A={small:"ONE_DACIA_PP_SMALL_DENSITY1",smallx2:"ONE_DACIA_PP_SMALL_DENSITY2"},w=({hasFinancingOffer:e,annualEnergyCost:t,engine:r,isWinner:n,vehicleModelName:i,gradeLabel:s,offerFinancing:l,tcoContextParams:o,currency:c})=>{let{numMonthlyPayment:d}=l||{},{finance:u,costsAndSavings:m}=o||{},{totalCostLabel:p,totalCostTooltip:g,financeLabel:f,financeTooltip:v}=u||{},{annualEnergyCostLabel:C,annualEnergyCostTooltip:b,consumptionDescription:j,consumptionTooltip:N}=m||{},{annualEnergyCost:I,usageBasedConsumption:w}=t||{},O=I?.value||0,R=w?.value||0,D=w?.unit,L=`/${(0,T.kH)("months.month")}`,M=O?Math.round(O/12):void 0,k=c&&(0,P.Qn)(c),V=r?.nextURI;return(0,a.jsxs)("div",{className:h()("TCOModalHeader__card",{"is-winner":n,"has-not-financing-offer":!e}),children:[(0,a.jsx)("div",{className:"TCOModalHeader__cardImage",children:V&&(0,a.jsx)(y.F,{aspectRatio:"3/2",width:"100%",uri:V,profiles:A})}),(0,a.jsxs)("div",{className:"TCOModalHeader__cardModelNameAndBadgeList",children:[(0,a.jsx)("div",{className:"TCOModalHeader__cardModelName",children:i}),(0,a.jsx)("div",{className:"TCOModalHeader__cardEnergyBadgeList",children:(0,a.jsx)(_.w,{variant:"text",engines:[{energyCategory:r?.energyCategory,mainFuelTypeCode:r?.mainFuelTypeCode}]})}),(0,a.jsxs)("div",{className:"TCOModalHeader__cardEngineLabel",children:[s&&(0,a.jsx)("div",{className:"TCOModalHeader__cardGradeLabel",children:s})," ",r?.label]})]}),e&&(0,a.jsxs)("div",{className:"TCOModalHeader__cardCharacteristics",children:[(0,a.jsxs)("div",{className:"TCOModalHeader__totalCostLabel",children:[(0,a.jsxs)("span",{children:[" ",p]}),g&&(0,a.jsxs)(x.m_,{children:[(0,a.jsx)(x.k$,{children:(0,a.jsx)(E.m,{size:"small"})}),(0,a.jsx)(x.ZI,{children:g})]})]}),(0,a.jsx)("div",{className:"TCOModalHeader__cardTotalCostValue",children:M&&d?(0,a.jsxs)(a.Fragment,{children:[M+parseFloat(d)," ",k,(0,a.jsx)("span",{className:"TCOModalHeader__cardTotalCostValueUnit",children:L})]}):"-"})]}),(0,a.jsx)("div",{className:h()("TCOModalHeader__divider",{"is-not-visible":!e})}),(0,a.jsxs)("div",{className:"TCOModalHeader__cardCharacteristics",children:[(0,a.jsxs)("div",{className:"TCOModalHeader__label",children:[(0,a.jsx)("span",{children:C}),b&&(0,a.jsxs)(x.m_,{children:[(0,a.jsx)(x.k$,{children:(0,a.jsx)(E.m,{size:"small"})}),(0,a.jsx)(x.ZI,{children:b})]})]}),(0,a.jsx)("div",{className:"TCOModalHeader__cardEnergyCostValue",children:void 0!==M?(0,a.jsxs)(a.Fragment,{children:[M," ",k,(0,a.jsx)("span",{className:"TCOModalHeader__cardEnergyCostValueUnit",children:L})]}):"-"})]}),(0,a.jsxs)("div",{className:"TCOModalHeader__cardCharacteristics",children:[(0,a.jsxs)("div",{className:"TCOModalHeader__label",children:[j," ",N&&(0,a.jsxs)(x.m_,{children:[(0,a.jsx)(x.k$,{children:(0,a.jsx)(E.m,{size:"small"})}),(0,a.jsx)(x.ZI,{children:N})]})]}),(0,a.jsx)("div",{className:"TCOModalHeader__cardConsumptionValue",children:void 0!==R?(0,a.jsxs)(a.Fragment,{children:[R," ",(0,a.jsx)("span",{className:"TCOModalHeader__cardConsumptionUnit",children:D})]}):"-"})]}),(0,a.jsx)("div",{className:h()("TCOModalHeader__divider",{"is-not-visible":!e})}),e&&(0,a.jsxs)("div",{className:"TCOModalHeader__cardCharacteristics",children:[(0,a.jsxs)("div",{className:"TCOModalHeader__label is-finance-label",children:[f," ",v&&(0,a.jsxs)(x.m_,{children:[(0,a.jsx)(x.k$,{children:(0,a.jsx)(E.m,{size:"small"})}),(0,a.jsx)(x.ZI,{children:v})]})]}),(0,a.jsx)(S.e,{size:"medium",offer:l})]})]})},O=()=>{let{leftSelectedModel:e,rightSelectedModel:t,leftPossibleEngine:r,rightPossibleEngine:n,winning:i,showBanner:s,gradeLabelLeft:o,gradeLabelRight:c,leftOfferFinancing:d,rightOfferFinancing:u,tcoParams:p,hasFinancingOffer:h,leftAnnualEnergyCost:g,rightAnnualEnergyCost:f,currency:v,isInAlternativeVersionComparatorBody:C}=(0,m.v7)(),{vehicleModelName:y,imageURI:x}=(0,l.DC)(e),{vehicleModelName:E,imageURI:_}=(0,l.DC)(t);return(0,a.jsxs)("div",{className:"TCOModalHeader",children:[(0,a.jsx)(w,{selectedModel:e,engine:r,vehicleModelName:y,imageURI:x,isWinner:"left"===i&&s,annualEnergyCost:g,gradeLabel:o,offerFinancing:d,tcoContextParams:p,hasFinancingOffer:h,currency:v,isInAlternativeVersionComparatorBody:C}),(0,a.jsx)(w,{selectedModel:t,engine:n,vehicleModelName:E,imageURI:_,isWinner:"right"===i&&s,annualEnergyCost:f,gradeLabel:c,offerFinancing:u,tcoContextParams:p,hasFinancingOffer:h,currency:v,isInAlternativeVersionComparatorBody:C})]})};var R=r(66994);let D={small:"ONE_DACIA_PP_LARGE_DENSITY1",smallx2:"ONE_DACIA_PP_LARGE_DENSITY2",medium:"ONE_DACIA_PP_XLARGE_DENSITY2",mediumx2:"ONE_DACIA_PP_XLARGE_DENSITY2"},L=()=>{let{showModalBanner:e,annualSavings:t,tcoParams:r,energyCategory:n,mainFuelTypeCode:i,vehicleModelName:s,label:l,currency:o,winning:c,gradeLabelLeft:d,gradeLabelRight:u,leftPossibleEngine:p,rightPossibleEngine:h}=(0,m.v7)();if(!e)return null;let{youSaveLabel:g}=r?.general||{},f=c===R.$.LEFT?d:u,v=c===R.$.LEFT?p?.nextURI:h?.nextURI;return(0,a.jsxs)("div",{className:"TCOModalStickyHeader",children:[v&&(0,a.jsx)("figure",{className:"TCOModalStickyHeader__image",children:(0,a.jsx)(y.F,{aspectRatio:"3/2",width:"100%",uri:v,profiles:D})}),(0,a.jsxs)("div",{className:"TCOModalStickyHeader__Infos",children:[(0,a.jsx)("div",{className:"TCOModalStickyHeader__savingLabel",children:g}),(0,a.jsx)("div",{className:"TCOModalStickyHeader__savingsAmount",children:(0,a.jsxs)("div",{className:"TCOModalStickyHeader__savingsAmountValue",children:[Math.round(t||0)," ",(0,P.Qn)(o||"EUR"),(0,a.jsxs)("span",{className:"TCOModalStickyHeader__savingsAmountPeriod",children:["/",(0,T.kH)("months.year")]})]})}),s&&(0,a.jsxs)("div",{className:"TCOModalStickyHeader__modelName",children:[(0,a.jsxs)("span",{children:[(0,T.kH)("wording.with")," "]}),s]}),(0,a.jsx)("div",{children:(0,a.jsx)(_.w,{variant:"text",engines:[{energyCategory:n,mainFuelTypeCode:i}]})}),(0,a.jsxs)("div",{className:"TCOModalStickyHeader__engine",children:[f&&(0,a.jsx)("div",{children:f}),l]})]})]})};var M=r(52723);let k={small:"ONE_DACIA_PP_LARGE_DENSITY1",smallx2:"ONE_DACIA_PP_LARGE_DENSITY2",medium:"ONE_DACIA_PP_XLARGE_DENSITY2",mediumx2:"ONE_DACIA_PP_XLARGE_DENSITY2"},V=()=>{let{annualSavings:e,setIsStickyHeaderVisible:t,label:r,energyCategory:i,mainFuelTypeCode:l,vehicleModelName:o,currency:c,formModal:d,gradeLabelLeft:u,gradeLabelRight:p,winning:h,leftSelectedEngine:g,rightSelectedEngine:f,hasFinancingOffer:v,isLoadingAnnualEnergyCost:b,tcoParams:j,isPro:N}=(0,m.v7)(),{data:I,general:S,pro:A}=j||{},{suitableUseLabel:w}=I||{},{annualSavingsEstimatedTooltip:O,youSaveLabel:R,annualSavingsWithFinanceTooltip:D}=S||{},L=(0,n.useCallback)(e=>{t?.(e)},[t]),{sentinelRef:V}
1=(0,M.W)({testType:"isAbovePage",onChange:L}),H=d?.wltpConsumption,F="left"===h?u:p,U=v?A?.annuelSavingsWithFinanceTooltip:A?.annualSavingsEstimatedTooltip,G=N?U:v?D:O,B=("left"===h?g:"right"===h?f:void 0)?.nextURI;return(0,a.jsxs)("div",{className:"TCOModalWinningCard",children:[B&&(0,a.jsx)("figure",{className:"TCOModalWinningCard__image",children:(0,a.jsx)(y.F,{aspectRatio:"3/2",width:"100%",uri:B,profiles:k})}),(0,a.jsxs)("div",{className:"TCOModalWinningCard__infos",children:[(0,a.jsx)("div",{className:"TCOModalWinningCard__savingLabel",children:R}),b?(0,a.jsx)(s.E,{width:"85%",height:"60px"}):(0,a.jsxs)("div",{className:"TCOModalWinningCard__savingsAmount",children:[(0,a.jsxs)("div",{className:"TCOModalWinningCard__savingsAmountValue",children:[e," ",(0,P.Qn)(c||"EUR"),(0,a.jsxs)("span",{className:"TCOModalWinningCard__savingsAmountPeriod",children:["/",(0,T.kH)("months.year")]})]}),G&&(0,a.jsxs)(x.m_,{children:[(0,a.jsx)(x.k$,{children:(0,a.jsx)(E.m,{size:"small"})}),(0,a.jsx)(x.ZI,{children:(0,a.jsx)(C.R,{content:G})})]})]}),o&&(0,a.jsxs)("div",{className:"TCOModalWinningCard__modelName",children:[(0,a.jsxs)("span",{children:[(0,T.kH)("wording.with")," "]}),o]}),(0,a.jsx)("div",{className:"TCOModalWinningCard__energy",children:(0,a.jsx)("div",{children:(0,a.jsx)(_.w,{variant:"text",engines:[{energyCategory:i,mainFuelTypeCode:l}]})})}),F&&(0,a.jsx)("div",{className:"TCOModalWinningCard__grade",children:F}),(0,a.jsx)("div",{className:"TCOModalWinningCard__engine",children:r}),w&&!H&&(0,a.jsx)("div",{className:"TCOModalWinningCard__disclaimer",children:w})]}),(0,a.jsx)("div",{className:"TCOModalWinningCard__sentinel",children:(0,a.jsx)(M.$,{direction:"bottom",sentinelRef:V})})]})};var H=r(54767);let F=()=>{let{setIsModalShown:e,isLoadingAnnualEnergyCost:t}=(0,m.v7)(),{actionButton:r}=(0,n.useContext)(d.A);return(0,a.jsx)("div",{className:"TCOModalInner__TCOCtaLink",children:(0,a.jsx)(v.l,{variant:"cta-ghost",disabled:t,useButtonMarkup:!0,"data-track":"click","data-track-event":"navigationClick","data-track-button-text":r?.ctaLabel,onClick:()=>{e(!0)},children:r?.ctaLabel})})},U=()=>{let{isModalShown:e,setIsModalShown:t,tcoParams:r,isStickyHeaderVisible:n,isInAlternativeVersionComparatorBody:i,showBanner:s,showModalBanner:l}=(0,m.v7)(),{general:o}=r||{},{title:c,legalMentions:d}=o||{};return(0,a.jsxs)("div",{className:"TCOModalInner",children:[i?(0,a.jsx)(F,{}):null,s&&!i?(0,a.jsx)(N,{}):null,e&&(0,a.jsx)(f.lG,{size:"fullscreen",onClose:()=>{t?.(!1)},children:(0,a.jsx)(f.Cf,{children:(0,a.jsxs)("div",{className:"TCOModalInner__modal",children:[(0,a.jsx)("div",{className:"TCOModalInner__title",children:c}),(0,a.jsxs)("div",{className:"TCOModalInner__contentWrapper",children:[(0,a.jsx)("div",{className:h()("TCOModalInner__headerWrapper",{"is-sticky":n}),children:(0,a.jsx)(L,{})}),(0,a.jsxs)("div",{className:"TCOModalInner__content",children:[(0,a.jsxs)("div",{className:"TCOModalInner__leftSection",children:[l&&(0,a.jsx)(V,{}),(0,a.jsx)(O,{}),(0,a.jsx)("div",{className:"TCOModalInner__v2gDesktop",children:(0,a.jsx)(H.A,{})})]}),(0,a.jsx)("div",{className:"TCOModalInner__rightSection",children:(0,a.jsx)(I.A,{})}),(0,a.jsx)("div",{className:"TCOModalInner__legalMentions",children:(0,a.jsx)(g.d,{content:d})})]})]})]})})})]})},G=({page:{data:e}})=>e?.tcoParams,B=({page:{data:e}})=>e?.c2gParams?.currency,z=({page:{data:e}})=>e?.modelParams?.model?.modelType,q="/wired/commerce/v1/usage-based-consumptions/annual-energy-cost",W=({energyPrices:e})=>{let t=(0,i.d4)(G),r=(0,i.d4)(z),p=(0,i.d4)(B),{leftSelectedModel:h,rightSelectedModel:g,leftSelectedEngine:f,rightSelectedEngine:v,leftModelData:C,rightModelData:y,gradeLeft:x,gradeRight:E,isInAlternativeVersionComparatorBody:_,isAlternativeMode:b,isLiteVersion:P}=(0,n.useContext)(d.A),T=!!(h?.modelAdmin?.isPro||g?.modelAdmin?.isPro),j=T?t?.displayTco?.displayFinanceforPro:t?.displayTco?.displayFinance,[N,I]=(0,n.useState)((0,m.dt)(e,!0,T,r)),[S,A]=(0,n.use
1State)(!1),[w,O]=(0,n.useState)(),[R,D]=(0,n.useState)(),[,L]=(0,o.A)({method:"POST",url:q}),[,M]=(0,o.A)({method:"POST",url:q}),k=f?.nextURI,V=v?.nextURI,H=(0,n.useCallback)(async()=>{if(k||V){A(!0);try{let[e,t]=await Promise.allSettled([k?L({data:{...N,uri:k}}):Promise.resolve(void 0),V?M({data:{...N,uri:V}}):Promise.resolve(void 0)]);"fulfilled"===e.status&&e.value?.data&&O(e.value.data),"fulfilled"===t.status&&t.value?.data&&D(t.value.data)}finally{A(!1)}}},[k,V,L,M,N]);(0,n.useEffect)(()=>{H()},[H]);let F=(0,n.useMemo)(()=>[C?.finance,y?.finance].filter(Boolean),[C,y]);return(0,a.jsx)(u.A,{vehicleProxyParams:(0,l.FY)(F),dealer:c.IN.ONE_CONFIG,enabled:2===F.length&&j,renderWhenWaitingOffer:!0,isMultiple:!0,children:({offers:r={},isLoadingOffer:n})=>{let[i,l]=F.map(e=>{let t=e?.versionId;return t&&r?.[t]?r[t]:void 0});return(0,a.jsx)("div",{className:"TCOModal",children:n&&!_?(0,a.jsx)(s.E,{isInverted:b,width:"100%",height:"280px"}):(0,a.jsx)(m._K,{currency:p,leftSelectedModel:h,rightSelectedModel:g,leftSelectedEngine:f,rightSelectedEngine:v,leftOfferFinancing:i,rightOfferFinancing:l,leftAnnualEnergyCost:w,rightAnnualEnergyCost:R,formModal:N,energyPrices:e,onFormModalChange:I,tcoParams:t,isLoadingAnnualEnergyCost:S,gradeLabelLeft:x?.label,gradeLabelRight:E?.label,isInAlternativeVersionComparatorBody:_,isAlternativeMode:b,isLiteVersion:P,children:(0,a.jsx)(U,{})})})}})}},79655(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(20496),s=r(97500),l=r.n(s),o=r(71242),c=r(52357),d=r(40640),u=r(49232),m=r(66255),p=r(57830),h=r(50618),g=r(52230),f=r(18847),v=r(35866),C=r(78948),y=r(80271),x=r(32118),E=r(8322),_=r(38337),b=r(89629),P=r(54767);let T=e=>{(0,C.d)({event:"TCU",searchFilters:Object.keys(e).join(";"),searchFiltersValue:Object.values(e).join(";")})},j={homeOrWork:({leftEnergyCode:e,rightEnergyCode:t,chargingProfile:r})=>(e===E.qY.ELECTRIC||t===E.qY.ELECTRIC)&&r!==o.tt.PUBLIC,fastCharge:({leftEnergyCode:e,rightEnergyCode:t})=>e===E.qY.ELECTRIC||t===E.qY.ELECTRIC,chargingPoints:({leftEnergyCode:e,rightEnergyCode:t})=>e===E.qY.ELECTRIC||t===E.qY.ELECTRIC,gas:({leftEnergyCode:e,rightEnergyCode:t})=>(e!==E.qY.ELECTRIC||t!==E.qY.ELECTRIC)&&(e===E.qY.GASOLINE||t===E.qY.GASOLINE||e===E.qY.HYBRID||t===E.qY.HYBRID),diesel:({leftEnergyCode:e,rightEnergyCode:t})=>(e!==E.qY.ELECTRIC||t!==E.qY.ELECTRIC)&&(e===E.qY.DIESEL||t===E.qY.DIESEL),lpg:({leftEnergyCode:e,rightEnergyCode:t})=>(e!==E.qY.ELECTRIC||t!==E.qY.ELECTRIC)&&(e===E.qY.LPG||t===E.qY.LPG),thermalConsumption:()=>!1},N=(0,i.Ng)(({page:{data:e}})=>({tcoParams:e?.tcoParams}))(({tcoParams:e,hideSlidersWhenExpanded:t,hideSimulationType:r})=>{let{currency:i,formModal:s,handleTCOModalChange:C,isAccordionExpanded:N,leftPossibleEngine:I,rightPossibleEngine:S,setIsAccordionExpanded:A,energyPrices:w,isLcv:O}=(0,b.v7)(),R=(0,n.useCallback)(e=>{A(e??!1)},[A]),{annualMileage:D,chargingProfile:L,drivingProfile:M,withMobilizeChargePass:k,chargeSubscriptionProgram:V,domesticChargePrice:H,publicChargePrice:F,superChargePrice:U,fuelPrice:G,dieselPrice:B,lpgPrice:z,wltpConsumption:q}=s,{general:W,costsAndSavings:$,recharge:Y,data:K}=e||{},{suitableUseLabel:X,wltpDisclaimer:Z,suitableUseDisclaimer:Q,simulationTypeTitle:J,simulationTypeTooltip:ee}=K||{},{simulationTitle:et,moreParametersLabel:er}=W||{},{annualMileageLabel:ea,annualMileageTooltip:en,routeType:ei,price:es}=$||{},{title:el,urbanLabel:eo,mixedLabel:ec,highwayLabel:ed,tooltip:eu}=ei||{},{gasPriceLabel:em,gasPriceTooltip:ep,chargeWithMobilizeLabel:eh,chargeWithMobilizeTooltip:eg,fastChargePriceLabel:ef,fastChargePriceTooltip:ev,chargingPointsPriceLabel:eC,chargingPointsPriceTooltip:ey,homeOrWorkPriceLabel:ex,homeOrWorkPriceTooltip:eE,dieselPriceLabel:e_,dieselPriceTooltip:eb,lpgPriceLabel:eP,lpgPriceTooltip:eT,title:ej,titleTooltip:eN}=es||{},{sectionTitle:eI,homeWorkLabel:eS,onChargingPointsLabel:eA,chargePassLabel:ew,basicContractLabel:eO,basicContractDescription:eR,intenseContractDescription:eD,intenseContractLabel:eL,useRechargeCardLabel:eM,useRechargeCardTooltip:ek,sectionTitleTooltip:eV}=Y||{},eH=(0,n.useCallback)(e=>{C?.({annualMileage:e}),T({annualMileage:e})},[C]),eF=(0,n.useCallback)(e=>{C?.({wltpConsumption:e===o.eD.WLTP,suitableUseDisclaimer:e===o.eD.CUSTOM}),T({simulationType:e})},[C]),eU=(0,n.useCallback)(e=>{C?.({drivingProfile:e}),T({drivingProfile:e})},[C]),eG=(0,n.useCallback)(e=>{C?.({chargingProfile:e}),T({chargingProfile:e})},[C]),eB=(0,n.useCallback)(e=>{if(e){let t=(0,y.b9)({currentProgram:o.SL.BASIC,energyPrices:w});C?.({withMobilizeChargePass:e,chargeSubscriptionProgram:o.SL.BASIC,superChargePrice:t}),T({withMobilizeChargePass:e,chargeSubscriptionProgram:o.SL.BASIC,superChargePrice:t})}else C?.({withMobilizeChargePass:e,chargeSubscriptionProgram:void 0,superChargePrice:(0,b.iU)(Number(w?.electricInfo?.quickCharge??0),2)}),T({withMobilizeChargePass:e,superChargePrice:(0,b.iU)(Number(w?.electricInfo?.quickCharge??0),2)})},[w,C]),ez=(0,n.useCallback)(e=>{let t=(0,y.b9)({currentProgram:e,energyPrices:w});C?.({chargeSubscriptionProgram:e,superChargePrice:t}),T({chargeSubscriptionProgram:e})},[C,w]),eq=(0,n.useCallback)((e,t)=>{switch(t){case x.E.WORK_HOME:C?.({domesticChargePrice:e}),T({domesticChargePrice:e});break;case x.E.CHARGING_POINTS:C?.({publicChargePrice:e}),T({publicChargePrice:e});break;case x.E.DIESEL:C?.({dieselPrice:e}),T({dieselPrice:e});break;case x.E.GAS:C?.({fuelPrice:e}),T({fuelPrice:e});break;case x.E.LPG:C?.({lpgPrice:e}),T({lpgPrice:e});break;case x.E.FAST_CHARGE:C?.({superChargePrice:e}),T({superChargePrice:e})}},[C]),eW=(0,n.useMemo)(()=>
1({domesticCharge:{min:0,max:1,step:.01},publicCharge:{min:0,max:1,step:.01},diesel:{min:0,max:4,step:.01},lpg:{min:0,max:2,step:.01},gas:{min:0,max:4,step:.01},superCharge:{min:0,max:2,step:.01}}),[]),e$=(0,n.useMemo)(()=>[{label:ex,tooltip:eE,unit:(0,_.kH)("units.electricUnit"),price:H,minPrice:eW.domesticCharge.min,maxPrice:eW.domesticCharge.max,step:eW.domesticCharge.step,type:x.E.WORK_HOME,disabled:!1},{label:eC,tooltip:ey,unit:(0,_.kH)("units.electricUnit"),price:F,minPrice:eW.publicCharge.min,maxPrice:eW.publicCharge.max,step:eW.publicCharge.step,type:x.E.CHARGING_POINTS,disabled:!1},{label:e_,tooltip:eb,unit:(0,_.kH)("units.volumeUnits"),price:B||0,minPrice:eW.diesel.min,maxPrice:eW.diesel.max,step:eW.diesel.step,type:x.E.DIESEL,disabled:!1},{label:eP,tooltip:eT,unit:(0,_.kH)("units.volumeUnits"),price:z||0,minPrice:eW.lpg.min,maxPrice:eW.lpg.max,step:eW.lpg.step,type:x.E.LPG,disabled:!1},{label:em,tooltip:ep,unit:(0,_.kH)("units.volumeUnits"),price:G,minPrice:eW.gas.min,maxPrice:eW.gas.max,step:eW.gas.step,type:x.E.GAS,disabled:!1},{label:k?eh:ef,tooltip:k?eg:ev,unit:(0,_.kH)("units.electricUnit"),price:U,minPrice:eW.superCharge.min,maxPrice:eW.superCharge.max,step:eW.superCharge.step,type:x.E.FAST_CHARGE,disabled:k}],[ex,eE,H,eW.domesticCharge.min,eW.domesticCharge.max,eW.domesticCharge.step,eW.publicCharge.min,eW.publicCharge.max,eW.publicCharge.step,eW.diesel.min,eW.diesel.max,eW.diesel.step,eW.lpg.min,eW.lpg.max,eW.lpg.step,eW.gas.min,eW.gas.max,eW.gas.step,eW.superCharge.min,eW.superCharge.max,eW.superCharge.step,eC,ey,F,e_,eb,B,eP,eT,z,G,em,ep,ef,ev,U,eh,eg,k]),eY=[w?.chargingSubscriptionProgram?.some(e=>e.code===o.SL.BASIC)&&{value:o.SL.BASIC,label:eO,description:eR},w?.chargingSubscriptionProgram?.some(e=>e.code===o.SL.INTENSE)&&{value:o.SL.INTENSE,label:eL,description:eD}].filter(Boolean),eK=0===eY.length,{value:eX}=(0,E.Tb)(I?.energyCategory,I?.mainFuelTypeCode)||{},{value:eZ}=(0,E.Tb)(S?.energyCategory,S?.mainFuelTypeCode)||{},eQ=eX?.code,eJ=eZ?.code,e0=eQ!==E.qY.ELECTRIC&&eJ!==E.qY.ELECTRIC,e1=(0,n.useMemo)(()=>[...e$].filter(e=>j[e.type]?.({chargingProfile:L,withMobilizeChargePass:k,leftEnergyCode:eQ,rightEnergyCode:eJ})).sort((e,t)=>(0,x._)(e,t,eQ,eJ)),[eQ,e$,eJ,L,k]);return(0,a.jsxs)("div",{className:"TCOModalCostSimulator",children:[(0,a.jsx)("div",{className:"TCOModalCostSimulator__title",children:et}),(0,a.jsxs)("div",{className:"TCOModalCostSimulator__content",children:[(0,a.jsxs)("div",{className:"TCOModalCostSimulator__route",children:[(0,a.jsx)("div",{className:"TCOModalCostSimulator__routeDistance",children:(0,a.jsx)("fieldset",{className:"TCOModalCostSimulator__fieldset",children:(0,a.jsx)(m.A,{variant:"simple",min:0,max:5e4,step:1e3,defaultValues:D,size:"large",label:(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("span",{className:"TCOModalCostSimulator__mileageLabel",children:ea}),en&&(0,a.jsxs)(f.m_,{children:[(0,a.jsx)(f.k$,{children:(0,a.jsx)(v.m,{size:"small"})}),(0,a.jsx)(f.ZI,{children:(0,a.jsx)(c.R,{content:en,supportReturnCarriage:!0})})]})]}),formatTipValue:e=>(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(h.w,{value:e})," ",(0,_.kH)("units.distance").toLowerCase()]}),onChange:eH})})}),(0,a.jsxs)("div",{className:l()("TCOModalCostSimulator__simulationType",{"TCOModalCostSimulator__simulationType--hidden":r||O}),children:[(0,a.jsxs)("div",{className:"TCOModalCostSimulator__label",children:[(0,a.jsx)("span",{children:J}),ee&&(0,a.jsxs)(f.m_,{children:[(0,a.jsx)(f.k$,{children:(0,a.jsx)(v.m,{size:"small"})}),(0,a.jsx)(f.ZI,{children:(0,a.jsx)(c.R,{content:ee,supportReturnCarriage:!0})})]})]}),(0,a.jsxs)(u.B,{name:"simulation-radio",value:q?o.eD.WLTP:o.eD.CUSTOM,onChange:eF,withTick:!0,children:[(0,a.jsx)(u.y,{value:o.eD.WLTP,text:o.eD.WLTP},o.eD.WLTP),X&&(0,a.jsx)(u.y,{value:o.eD.CUSTOM,text:X},o.eD.CUSTOM)]}),q&&Z&&(0,a.jsx)("div",{className:"TCOModalCostSimulator__disclaimer",children:Z}),s.suitableUseDisclaimer&&Q&&(0,a.jsx)("div",{className:"TCOModalCostSimulator__disclaimer",children:Q})]}),(r||!q)&&!O&&(0,a.jsxs)("div",{className:"TCOModalCostSimulator__routeType",children:[(0,a.jsxs)("div",{className:"TCOModalCostSimulator__label",children:[(0,a.jsx)("span",{children:el}),eu&&(0,a.jsxs)(f.m_,{children:[(0,a.jsx)(f.k$,{children:(0,a.jsx)(v.m,{size:"small"})}),(0,a.jsx)(f.ZI,{children:(0,a.jsx)(c.R,{content:eu,supportReturnCarriage:!0})})]})]}),(0,a.jsxs)(u.B,{name:"route-radio",value:M,onChange:eU,withTick:!0,children:[eo&&(0,a.jsx)(u.y,{value:o.XH.URBAN,text:eo},o.XH.URBAN),ec&&(0,a.jsx)(u.y,{value:o.XH.COMBINED,text:ec},o.XH.COMBINED),ed&&(0,a.jsx)(u.y,{value:o.XH.HIGHWAY,text:ed},o.XH.HIGHWAY)]})]})]}),(0,a.jsx)("div",{className:"TCOModalCostSimulator__moreParameters",children:(0,a.jsxs)(g.nD,{variant:"light",isExpanded:N,onChange:R,children:[(0,a.jsx)(g.$m,{children:er}),(0,a.jsxs)(g.ub,{children:[!e0&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsxs)("div",{className:"TCOModalCostSimulator__charge",children:[(0,a.jsxs)("div",{className:"TCOModalCostSimulator__label",children:[(0,a.jsx)("span",{children:eI}
1),eV&&(0,a.jsxs)(f.m_,{children:[(0,a.jsx)(f.k$,{children:(0,a.jsx)(v.m,{size:"small"})}),(0,a.jsx)(f.ZI,{children:(0,a.jsx)(c.R,{content:eV,supportReturnCarriage:!0})})]})]}),(0,a.jsxs)("div",{className:"TCOModalCostSimulator__chargeTypes",children:[(0,a.jsxs)("div",{className:"TCOModalCostSimulator__chargeType",children:[(0,a.jsx)(p.d,{size:"small",id:"domestic",name:"domestic",value:L===o.tt.DOMESTIC,onChange:()=>eG(L===o.tt.DOMESTIC?o.tt.PUBLIC:o.tt.DOMESTIC)}),(0,a.jsx)("div",{className:l()("TCOModalCostSimulator__chargeTypeLabel",{"is-bold":L===o.tt.DOMESTIC}),children:eS})]}),(0,a.jsxs)("div",{className:"TCOModalCostSimulator__chargeType",children:[(0,a.jsx)(p.d,{size:"small",id:"public",name:"public",value:L===o.tt.PUBLIC,onChange:()=>eG(L===o.tt.PUBLIC?o.tt.DOMESTIC:o.tt.PUBLIC)}),(0,a.jsx)("div",{className:l()("TCOModalCostSimulator__chargeTypeLabel",{"is-bold":L===o.tt.PUBLIC}),children:eA})]})]})]}),(0,a.jsx)("div",{className:"TCOModalCostSimulator__v2gMobile",children:(0,a.jsx)(P.A,{})}),!eK&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsxs)("div",{className:"TCOModalCostSimulator__chargeCard",children:[(0,a.jsxs)("div",{className:"TCOModalCostSimulator__label",children:[(0,a.jsx)("span",{children:eM}),ek&&(0,a.jsxs)(f.m_,{children:[(0,a.jsx)(f.k$,{children:(0,a.jsx)(v.m,{size:"small"})}),(0,a.jsx)(f.ZI,{children:(0,a.jsx)(c.R,{content:ek,supportReturnCarriage:!0})})]})]}),(0,a.jsxs)("div",{className:"TCOModalCostSimulator__chargeType",children:[(0,a.jsx)(p.d,{size:"small",id:"mobilize",name:"mobilize",value:k,onChange:()=>eB(!k)}),(0,a.jsx)("div",{className:l()("TCOModalCostSimulator__chargeTypeLabel",{"is-bold":k}),children:ew})]})]}),k&&(0,a.jsx)("div",{className:"TCOModalCostSimulator__plan",children:(0,a.jsx)(d.z,{name:"my-radio",value:V,onChange:ez,variant:"stacked-items",children:(0,a.jsx)("div",{className:"TCOModalCostSimulator__planTypes",children:eY.map(e=>e.label&&(0,a.jsxs)("div",{className:"TCOModalCostSimulator__planType",children:[(0,a.jsx)(d.C,{value:e.value,text:(0,a.jsx)("span",{className:"TCOModalCostSimulator__planTypeLabel",children:e.label})}),(0,a.jsx)("div",{className:"TCOModalCostSimulator__planTypeDescription",children:e.description})]},`plan-item-${e.value}`))})})})]})]}),(0,a.jsxs)("div",{className:"TCOModalCostSimulator__price",children:[(!t||!N)&&(0,a.jsxs)("div",{className:"TCOModalCostSimulator__label",children:[(0,a.jsx)("span",{children:ej}),eN&&(0,a.jsxs)(f.m_,{children:[(0,a.jsx)(f.k$,{children:(0,a.jsx)(v.m,{size:"small"})}),(0,a.jsx)(f.ZI,{children:(0,a.jsx)(c.R,{content:eN,supportReturnCarriage:!0})})]})]}),(!t||!N)&&(0,a.jsx)("div",{className:"TCOModalCostSimulator__priceItems",children:e1.map(e=>(0,a.jsx)("div",{className:"TCOModalCostSimulator__priceItem",children:(0,a.jsx)("fieldset",{className:"TCOModalCostSimulator__priceItemSlider",children:(0,a.jsx)(m.A,{label:e.label,disabled:e.disabled,min:e.minPrice,max:e.maxPrice,step:e.step,defaultValues:Number(e.price),variant:"simple",formatTipValue:t=>(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(h.w,{value:t,isPrecise:!0,minimumFractionDigits:2,currency:i}),"/",e.unit]}),onChange:t=>eq(t,e.type)},e.type===x.E.FAST_CHARGE?`${k}-${e.price}`:void 0)})},`price-item-${e.label}`))})]})]})]})})]})]})});r.d(t,{},{A:N})},54767(e,t,r){"use strict";var a=r(91987),n=r(20496),i=r(97500),s=r.n(i),l=r(96175),o=r(16383),c=r(73437),d=r(89629);let u=({page:{data:e}})=>e?.tcoParams?.v2g,m=({page:{data:e}})=>e?.tcoParams?.displayTco?.v2gBloc,p=({page:{data:e}})=>e?.tcoParams?.displayTco?.v2gBlocforPro;r.d(t,{},{A:()=>{let e,t,{isPro:r,leftSelectedEngine:i,rightSelectedEngine:h}=(0,d.v7)(),g=(0,n.d4)(u),f=(0,n.d4)(m),v=(0,n.d4)(p);if(!(r?v:f)||(e=i?.energyCategory,t=h?.energyCategory,e!==l.D.ELECTRIC&&t!==l.D.ELECTRIC))return null;let{strapline:C,title:y,description:x,ctaLabel:E,ctaLink:_,image:b,alternativeMode:P}=g||{},{imageDesktop:T,imageDesktopAlt:j,imageMobile:N,imageMobileAlt:I}=b||{},S=T||N,A=!!S,w=C||y||x||E;return w||A?(0,a.jsxs)("div",{className:s()("V2GEditoBlock",{"is-dark-mode":P}),children:[(0,a.jsx)("div",{className:"V2GEditoBlock__asset",children:A&&(0,a.jsx)(o._,{src:S,alt:j||I||"",width:"100%",height:"100%",objectFit:"cover"})}),w&&(0,a.jsxs)("div",{className:"V2GEditoBlock__content",children:[(0,a.jsxs)("div",{children:[C&&
1(0,a.jsx)("span",{className:"V2GEditoBlock__strapline",children:C}),y&&(0,a.jsx)("p",{className:"V2GEditoBlock__title",children:y})]}),x&&(0,a.jsx)("p",{className:"V2GEditoBlock__description",children:x}),E&&_&&(0,a.jsx)(c.l,{href:_,variant:"cta-ghost",isInverted:P,children:E})]})]}):null}})},67486(e,t,r){"use strict";r.d(t,{A:()=>p});var a=r(91987),n=r(71763),i=r(20496),s=r(66806),l=r(50618),o=r(9897),c=r(20987),d=r(84759),u=r(8095),m=r(23e3);let p=({modelDisclaimer:e,modelLabel:t,pricedVersion:r,pricingUri:p})=>{let h=(0,i.d4)(e=>e.page.data.siteParams?.country),g=(0,i.d4)(e=>e.page.data.c2gParams?.currency),f=(0,i.d4)(e=>e.page.data.siteParams?.language),[v,C]=(0,n.useState)(void 0),[y,x]=(0,n.useState)(!1),[,E]=(0,o.A)({returnPromise:!0}),{priceTypes:_,hasPriceTypes:b}=(0,n.useMemo)(()=>{let t;return{priceTypes:(t=(e=>{if(!e)return[];let t=/\{pricetype_([A-Z0-9]+)\}/gi,r=[],a=t.exec(e);for(;a;){let n=a[1];n&&-1===r.indexOf(n)&&r.push(n),a=t.exec(e)}return r})(e)).join(","),hasPriceTypes:t.length>0}},[e]),P=b&&!!p&&!!_&&!p.startsWith("https://cdn.group.renault.com/packshots/");(0,c.A)(async()=>{if(P){x(!0);try{let e=await E({method:"get",url:"/agg/v1/models/prices",params:{uri:p,priceTypes:_,currency:g,language:f,country:h}});C(e?.data),x(!1)}catch(e){(0,s.FZ)(e)||x(!1)}}});let T=(0,n.useMemo)(()=>v?.prices||[],[v?.prices]),j=(0,n.useMemo)(()=>{if(!e||!b||0===T.length)return(0,u.A)(e,{startingModel:(0,a.jsx)(m.A,{modelLabel:t,pricedVersion:r,hasInheritColor:!0})});let i=[],s=/\{pricetype_([A-Z0-9]+)\}/gi,o=0,c=s.exec(e);for(;c;){let d=c.index,p=c[0],h=c[1],f=e.slice(o,d);if(f){let e=(0,u.A)(f,{startingModel:(0,a.jsx)(m.A,{modelLabel:t,pricedVersion:r,hasInheritColor:!0})});Array.isArray(e)?i.push(...e):i.push((0,a.jsx)(n.Fragment,{children:e},`text-${o}`))}let v=T.find(e=>e.priceInfo&&e.priceInfo.priceType===h);i.push(v&&void 0!==v.totalPrice?(0,a.jsx)(l.w,{value:v.totalPrice,currency:v.priceInfo&&v.priceInfo.currency||g},`price-${h}-${d}`):(0,a.jsx)(n.Fragment,{children:p},`raw-${h}-${d}`)),o=d+p.length,c=s.exec(e)}let d=e.slice(o);if(d){let e=(0,u.A)(d,{startingModel:(0,a.jsx)(m.A,{modelLabel:t,pricedVersion:r,hasInheritColor:!0})});Array.isArray(e)?i.push(...e):i.push((0,a.jsx)(n.Fragment,{children:e},`text-${o}`))}return i},[g,T,b,e,t,r]);return{interpolatedModelDisclaimer:j,interpolatedModelDisclaimerString:(0,n.useMemo)(()=>{if(!e)return"";let a=[t,r?.label].filter(Boolean).join(" "),n=e.replace(/\{startingModel\}/gi,a);return b&&0!==T.length?n=n.replace(/\{pricetype_([A-Z0-9]+)\}/gi,(e,t)=>{let r=T.find(e=>e.priceInfo&&e.priceInfo.priceType===t);return r&&void 0!==r.totalPrice?(0,d.ZV)(r.totalPrice,{currency:g}):e}):n},[g,T,b,e,t,r]),isLoading:b&&y}}},23e3(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(97500),s=r.n(i);r.d(t,{},{A:({modelLabel:e="",pricedVersion:t,className:r="",hasInheritColor:i,noMarkup:l})=>{let{label:o}=t||{};if(!e)return null;let c=`${e||""} ${o||""}`;return l?(0,a.jsx)(n.Fragment,{children:"displayedLabel"}):(0,a.jsx)("p",{className:s()("ModelVersionEngine",r,{"has-inheritColor":i}),children:c})}})},36402(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(20496),s=r(97500),l=r.n(s),o=r(77951),c=r.n(o),d=r(26117),u=r(78948),m=r(20409),p=r(75743),h=r(39666),g=r(74752);let f=(0,i.Ng)(({page:e,app:t},a)=>{var n;let i,s=e?.data?.stepperParams;return{views:(n=e?.data?.configSummaryParams?.views||a?.viewsNode,i=r.g?.navigator?.connection?.effectiveType||"4g",n?.[i]||n?.["4g"]),stepNumber:s?.currentStep||0,steps:s?.i18n?.stepper||[],isBrowserEngine:t?.isBrowserEngine||!1}}),v="fullscreen-is-active",C=(e,t)=>({...e,...t}),y=f(({scene:e,withoutControls:t,isInterior:r=!1,handleLoadStart:i,handleLoadProgress:s,handleLoadEnd:o,onMultiStaticClick:f,views:y=[],stepNumber:x,steps:E=[],isBlockLayout:_=!1,isBrowserEngine:b,withMultiStatic:P=!1,isFullScreenControlled:T,toggleFullScreenControlled:j})=>{let{ref:N,isVisible:I}=(0,m.A)({role:"lazyload"})||{},S=(0,n.useMemo)(()=>(e?.backgrounds||[])?.map(t=>({database:t?.decorDatabaseId,translation:{x:0,y:e?.deltaAltitude||0,z:0},decorName:t?.decorName,pattern:t?.pattern,configuration:t?.configuration||null})),[e]),A=(0,n.useMemo)(()=>((e,t=!1)=>e?.length>0?e?.map(e=>e?.enableMultiLayer&&t?{...e,camera:e?.cameraMultiLayer??e?.camera}:e):[])(y,e?.isMultiLayer),[y,e?.isMultiLayer]),w=A?.[0]||null,O=A?.[1]||null,[{selectedDecor:R,selectedView:D,isInteractionHelperVisible:L,isFullScreen:M,isFirstLoadEnded:k,isFirstInteractionDone:V},H]=(0,n.useReducer)(C,{selectedDecor:S?.length?S[0]:null,selectedView:w,isInteractionHelperVisible:!1,isFullScreen:!1,isFirstLoadEnded:!1,isFirstInteractionDone:{vrcube:!1,vrobject:!1}}),F=T??M,U=(0,n.useCallback)(e=>H({isFullScreen:e}),[]),G=j??U,B=(0,n.useRef)(void 0),z=(0,n.useRef)(void 0);B.current=V,z.current=L;let q=A?.[0]?.decor,W=c()(q,!0)?S:[],$=D?.mode,Y=(0,n.useMemo)(()=>{let{configuration:t,database:r}=R||{},a=e?.modelDatabaseId?{database:e?.modelDatabaseId,configuration:t?`${e?.visualVCD}/${t}`:e?.visualVCD}:void 0;return q&&r?[{database:r,translation:R?.translation,decor:!0}
1,a].filter(Boolean):[a].filter(Boolean)},[q,e,R]),K=(0,n.useCallback)(e=>{("Escape"===e.key||"Escape"===e.code)&&(G(!1),window.document.body.classList.remove(v))},[G]),X=(e,t)=>(0,u.d)({configStepName:E.find((e,t)=>t===x)?.title??"",configStepNumber:x,"3DViewMode":e,event:t});return((0,n.useEffect)(()=>{H({selectedView:r?O:w})},[w,r,O]),(0,n.useEffect)(()=>(window?.document?.addEventListener("keydown",K),()=>{window?.document?.removeEventListener("keydown",K)}),[K]),b)?(0,a.jsx)("div",{ref:N,role:"button",tabIndex:0,className:l()("CarViewer3D",{"is-fullScreen":F,"is-blockLayout":_,"is-config-pageHeader":E?.length>0}),children:I&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(d.Q,{server:e?.serverBaseURL,scene:Y,view:D,encoder:p.OM.JPEG_80,onInteraction:()=>{let e=D?.mode||"vrobject";(B.current&&!B.current[e]||z.current)&&(X(D?.icon||"","3DInteraction"),H({isInteractionHelperVisible:!1,isFirstInteractionDone:{...V,[e]:!0}}))},onLoadEnd:()=>{let e=["vrcube","vrobject"].includes(D?.mode||"");!k&&e&&H({isInteractionHelperVisible:!0,isFirstLoadEnded:!0}),o?.()},onLoadStart:i,onLoadProgress:s}),!t&&(0,a.jsx)(h.A,{onMultiStaticClick:f,withMultiStatic:P,decors:W,views:A,selectedView:D,onChangeView:e=>()=>{let t=e?.tracking??"",r=e?.mode??"";H({isInteractionHelperVisible:["vrcube","vrobject"].includes(r)&&!V[r],selectedView:e}),X(t,"3DViewChange")},onChangeDecor:()=>()=>{if(R){let e=(W.findIndex(e=>e.database===R.database)+1)%W.length;H({selectedDecor:W[e]}),X("Background","3DViewChange")}},onChangeScreen:()=>{X("Fullscreen","3DViewChange"),G(!F),j||(F?window.document.body.classList.remove(v):window.document.body.classList.add(v))},isFullScreen:F}),L&&(0,a.jsx)(g.A,{viewMode:$,isMultiLayer:D?.enableMultiLayer&&e?.isMultiLayer})]})}):(0,a.jsx)("div",{ref:N})});r.d(t,{},{Ay:y,kh:v})},39666(e,t,r){"use strict";var a=r(91987),n=r(13654),i=r(50946),s=r(31911),l=r(67977),o=r(26135),c=r(94168),d=r(13323),u=r(31020),m=r(26560);r.d(t,{},{A:({decors:e,withMultiStatic:t=!1,isFullScreen:r,onChangeDecor:p,onChangeScreen:h,onChangeView:g,selectedView:f=null,onMultiStaticClick:v,views:C=[]})=>{let y=r?d.A:c.A;return(0,a.jsx)("div",{className:"CarViewerControlPanel",children:(0,a.jsxs)(n.Z,{children:[t&&(0,a.jsx)(n.K,{icon:o.A,onClick:v},"multistatic"),C?.length>=2&&f&&C?.map(e=>{var t;let r="exterior"===(t=e?.icon)?s.A:"interior"===t?u.A:"interior-steering-wheel"===t?m.A:"box"===t?i.A:void 0;return r&&e?.key?(0,a.jsx)(n.K,{isActive:f?.key===e?.key,icon:r,onClick:g?.(e)},e?.key):null}),(0,a.jsx)(n.K,{icon:y,onClick:h},"fullscreen"),e?.length>=2&&(0,a.jsx)(n.K,{icon:l.A,onClick:p?.()},"landscape")]})})}})},74752(e,t,r){"use strict";var a=r(91987),n=r(77646),i=r(6559);r.d(t,{},{A:({viewMode:e,isMultiLayer:t=!1})=>{let r;return["vrcube","vrobject"].includes(e)?(r=t?n.A:"vrobject"===e?i.A:n.A,(0,a.jsx)("div",{className:"CarViewerInteractionHelper",children:(0,a.jsx)(r,{className:"CarViewerInteractionHelper__svg"})})):null}})},21916(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(28145),s=r(20496),l=r(80068),o=r(12347),c=r(83680),d=r(73437),u=r(78948),m=r(49143),p=r(84759),h=r(37686),g=r(33761),f=r(42488),v=r(12786),C=r(24453);let y={setNotification:r(1842).G},x=(0,s.Ng)(({page:{data:e},auth:t})=>({authenticationPopin:e.authenticationParams?.authenthificationPopin,isAuthenticated:t.isAuthenticated,isProcessingLoginDone:!1===t.isProcessingLogin,siteParams:e.siteParams,currency:e.c2gParams?.currency,productId:e.modelParams?.model?.priorityPassProductId}),y)(({authenticationPopin:e,variant:t,configUri:r,ctaLabel:s,ctaLink:y,currency:x,isAuthenticated:E,isProcessingLoginDone:_,productId:b="",saveCode:P,setNotification:T,siteParams:j,isInverted:N,tracking:I})=>
1{let[S,A]=(0,n.useState)(!1),[w,O]=(0,n.useState)(!1),[R,D]=(0,n.useState)(!1),{hash:L}=(0,i.zy)(),{brand:M,language:k,country:V}=j||{},{locationInPage:H="sub-nav"}=I||{},F=(0,n.useCallback)(e=>{let{orders:t,totalCustomerDisplayPrice:r}=e||{},{name:a,customerDisplayPrice:n}=t?.[0].products?.[0]||{};(0,u.d)({ecommerce:null}),(0,u.d)({event:"add_to_cart",ecommerce:{currency:x,value:r,items:[{item_name:a,item_id:b,price:n,quantity:1,item_brand:M,item_category:"prioritypass",item_variant:"withoutconfig"}]}})},[M,x,b]),U=(0,n.useCallback)(async e=>{try{D(!0);let t={brand:M,businessModel:"B2C",channel:l.c3.MAIN,country:V,currency:x,language:k,products:[{additionalInfo:r?{originalConfiguredVehicleInfo:{primaryCode:P,uri:r}}:void 0,productId:b,productType:o.$z.PRIORITY_PASS,quantity:1}],salesChannel:l.wc.STORE,storeId:l.pp.PPA,zone:"IDF"};await (0,C.zf)({initialCartValues:t,onNextClick:(t,r)=>{let a="";try{a=y?new URL(y,window.location.href).href:""}catch(e){}if(e)(0,m.sd)({...e,nextUrl:(0,f.HE)(a,{orderGroupUuid:t})});else if(y&&200===r)(0,f.bw)((0,p.sB)(y,{orderGroupUuid:t}));else throw Error("CREATE_ORDER_AND_GO_FAILED")},handlePushTracking:F})}catch(e){T({level:g.op.WARNING,emitter:"cart.priorityPass",message:(0,g.LW)(g.op.WARNING)})}finally{D(!1)}},[M,r,V,y,x,F,k,b,P,T]);return((0,n.useEffect)(()=>{L===h.c&&(_?(O(!1),(0,f.bw)(`${window.location.pathname}${window.location.search}`,{historyMethod:"replace"}),!0===E?U():A(!0)):O(!0))},[U,E,_,L]),w)?(0,a.jsx)(c.l,{size:"large",variant:"fullscreen"}):(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)(d.l,{useButtonMarkup:!0,variant:t,isInverted:N,onClick:()=>{E?U():A(!0)},isLoading:R,"data-track":"click","data-track-event":"navigationClick","data-track-destination":y,"data-track-button-text":s,"data-track-location-in-page":H,children:s}),S&&(0,a.jsx)(v.A,{i18n:e,onCreateBasket:e=>U(e),onClose:()=>A(!1)})]})});r.d(t,{},{A:x})},64744(e,t,r){"use strict";r.d(t,{A:()=>y});var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(66255),o=r(64514),c=r(78948),d=r(44803),u=r.n(d),m=r(26117),p=r(75743),h=r(39666),g=r(41974);let f=(0,n.memo)(({onPositionChanged:e=()=>{},isFullScreen:t,isOverlaid:r=!1})=>{let[i,s]=(0,n.useState)(p._e),l=(0,n.useRef)(null),o=t=>{let r=u()(l,"current.parentElement");if(!r)return;let a=["touchstart","touchmove","touchend"].includes(t.type)?u()(t,"touches[0].pageX",u()(t,"changedTouches[0].pageX")):t.pageX,n=r.getBoundingClientRect(),i={left:`${Math.min(Math.max(0,a-n.left),n.width)}px`,right:`${Math.min(Math.max(0,n.right-a),n.width)}px`};s(i),e(i)},c=()=>{document.removeEventListener("mousemove",o)},d=()=>{document.removeEventListener("touchmove",o)};return(0,n.useEffect)(()=>{s(p._e)},[t]),(0,a.jsxs)("div",{ref:l,children:[(0,a.jsx)("div",{className:"ModelsViewerSlider__line",style:r?{left:i.left}:p._e}),r&&(0,a.jsx)("button",{className:"ModelsViewerSlider__button",style:{left:i.left},onMouseDown:()=>{document.addEventListener("mousemove",o),document.addEventListener("mouseup",c)},onTouchStart:()=>{document.addEventListener("touchmove",o),document.addEventListener("touchend",d)},children:(0,a.jsx)(g.A,{className:" ModelsViewerSlider__svgIconMove"})})]})}),v="fullscreen-is-active",C=(0,n.memo)(({className:e,view:t={},scene1:r,scene2:i,withoutControls:l,isOverlaid:o=!1})=>{let d=(0,n.useMemo)(()=>{let e;return e=u()(r,"deltaAltitude",u()(i,"deltaAltitude",0)),u()(r,"backgrounds",u()(i,"backgrounds",[])).map(({decorDatabaseId:t,decorName:r,pattern:a,configuration:n=null})=>({database:t,translation:{x:0,y:e,z:0},decorName:r,pattern:a,configuration:n}))},[r,i]),g=u()(t,"decor",!1)?d:[],[C,y]=(0,n.useState)(d.length?d[0]:null),[x,E]=(0,n.useState)(!1),[_,b]=(0,n.useState)(p._e),[P,T]=(0,n.useState)(null),[j,N]=(0,n.useState)(null),I=(0,n.useRef)(!1),S=e=>{"Escape"===e.key&&(E(!1),window.document.body.classList.remove(v))},A=e=>{T(e)},w=e=>{N(e)},O=(e,r)=>{let n,i;return(0,a.jsx)(m.Q,{server:u()(e,"serverBaseURL"),scene:(n=u()(C,"configuration"),i={database:u()(e,"modelDatabaseId"),configuration:n?`${u()(e,"visualVCD")}/${n}`:u()(e,"visualVCD")},u()(t,"[0].decor")&&u()(C,"database")?[{database:u()(C,"database"),translation:u()(C,"translation")},i]:[i]),view:t,encoder:p.OM.JPEG_80,vrcube:P,vrobject:j,onVrcubeInteraction:A,onVrobjectInteraction:w,style:o?{position:"absolute",clipPath:`${r}`}:{}})};return(0,n.useEffect)(()=>(window.document.addEventListener("keydown",S),()=>{window.document.body.classList.remove(v),window.document.removeEventListener("keydown",S)}),[]),!!t&&!!u()(r,"visualVCD")&&!!u()(i,"visualVCD")&&(0,a.jsxs)("div",{role:"button",tabIndex:0,onKeyDown:e=>S(e),className:s()("ModelsViewer",{"is-fullScreen":x},e),children:[O(r,`inset(0 ${_.right} 0 0)`),O(i,`inset(0 0 0 ${_.left})`),(0,a.jsx)(f,{isOverlaid:o,isFullScreen:x,onPositionChanged:e=>{b(e)}}),!l&&(0,a.jsx)(h.A,{decors:g,onChangeDecor:()=>()=>{if(C){let e=(g.findIndex(e=>e.database===C.database)+1)%g.length;y(g[e])}I.current||(I.current=!0,(0,c.d)({"3DViewMode":u()(t,"tracking",""),event:"Decor",locationFeature:"3D Model Compare"}))},onChangeScreen:()=>{x?window.document.body.classList.remove(v):window.document.body.classList.add(v),E(!x),b(p._e),(0,c.d)({"3DViewMode":"FullScreen",event:"3DViewChange",locationFeature:"3D Model Compare"})},isFullScreen:x})]})}),y=({className:e,isOverlaid:t=!0,scene1:r,scene2:i,viewPoints:d=[],visualCompareLabel:u,withoutControls:m})=>
1{let p=(0,n.useRef)(!1),[h,g]=(0,n.useState)(d[1]);return r&&i?(0,a.jsxs)("div",{className:s()("StaticModelsViewer",e),children:[(0,a.jsx)(C,{className:"StaticModelsViewer__mainViewer",scene1:r,scene2:i,view:h,withoutControls:m,isOverlaid:t},h?.key),u&&(0,a.jsx)("span",{className:"StaticModelsViewer__label",children:u}),(0,a.jsx)(o.A,{className:"StaticModelsViewer__iconArrowDown"}),(0,a.jsx)("div",{className:"StaticModelsViewer__slider",children:(0,a.jsx)(l.A,{variant:"simple",step:1,min:0,max:d.length-1,defaultValues:1,onChange:e=>{p.current||(p.current=!0,(0,c.d)({"3DViewMode":h?.tracking||"",event:"sliderViewChange",locationFeature:"3D Model Compare"})),d.length>e&&g(d[e])},hideValues:!0})})]}):null}},76755(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>ac});var a,n,i,s=r(91987),l=r(71763),o=r(20496),c=r(48412),d=r(97500),u=r.n(d),m=r(84122),p=r(41546),h=r(94889),g=r(72098),f=r(93196),v=r(78948),C=r(26470),y=r.n(C),x=r(96175),E=r(24591),_=r(75743),b=r(81766);let P={BODY_TYPES:{componentKey:"bodyTypes",name:"Technical Characteristics",stepNumber:0,multiStaticViewerIndex:0,isInterior:!1},DIMENSIONS:{componentKey:"dimensions",name:"Technical Characteristics",stepNumber:0,multiStaticViewerIndex:0,isInterior:!1},PTACS:{componentKey:"ptacs",name:"Technical Characteristics",stepNumber:0,multiStaticViewerIndex:0,isInterior:!1},TRANSMISSIONS:{componentKey:"transmissions",name:"transmissions",stepNumber:0,multiStaticViewerIndex:0,isInterior:!1},TWINWHEELS:{componentKey:"twinwheels",name:"twinwheels",stepNumber:0,multiStaticViewerIndex:0,isInterior:!1},ENGINES:{componentKey:"engines",name:"engines",stepNumber:1,multiStaticViewerIndex:0,isInterior:!1},GRADES:{componentKey:"grades",name:"grades",stepNumber:2,multiStaticViewerIndex:0,isInterior:!1},DESIGN:{componentKey:"design",name:"design",stepNumber:3,multiStaticViewerIndex:0,isInterior:!1},DESIGN_COLORS:{componentKey:"colors",name:"design",stepNumber:3,multiStaticViewerIndex:0,isInterior:!1},DESIGN_WHEELS:{componentKey:"wheels",name:"design",stepNumber:3,multiStaticViewerIndex:3,isInterior:!1},DESIGN_UPHOLSTERIES:{componentKey:"upholsteries",name:"design",stepNumber:3,multiStaticViewerIndex:5,isInterior:!0},EQUIPMENTS:{componentKey:"equipments",name:"equipments",stepNumber:4,multiStaticViewerIndex:0,isInterior:!1},RECHARGE:{componentKey:"recharge",name:"recharge",stepNumber:4,multiStaticViewerIndex:0,isInterior:!1},ACCESSORIES:{componentKey:"accessories",name:"accessories",stepNumber:5,multiStaticViewerIndex:0,isInterior:!1},SUMMARY:{componentKey:"summary",name:"summary",stepNumber:6,multiStaticViewerIndex:0,isInterior:!1}},T={GRADES:{componentKey:"grades",name:"grades",stepNumber:0,multiStaticViewerIndex:0,isInterior:!1},ENGINES:{componentKey:"engines",name:"engines",stepNumber:1,multiStaticViewerIndex:0,isInterior:!1},DESIGN:{componentKey:"design",name:"design",stepNumber:2,multiStaticViewerIndex:0,isInterior:!1},DESIGN_COLORS:{componentKey:"colors",name:"design",stepNumber:2,multiStaticViewerIndex:0,isInterior:!1},DESIGN_UPHOLSTERIES:{componentKey:"upholsteries",name:"design",stepNumber:2,multiStaticViewerIndex:5,isInterior:!0},DESIGN_WHEELS:{componentKey:"wheels",name:"design",stepNumber:2,multiStaticViewerIndex:3,isInterior:!1},EQUIPMENTS:{componentKey:"equipments",name:"equipments",stepNumber:3,multiStaticViewerIndex:0,isInterior:!1},RECHARGE:{componentKey:"recharge",name:"recharge",stepNumber:3,multiStaticViewerIndex:0,isInterior:!1},ACCESSORIES:{componentKey:"accessories",name:"accessories",stepNumber:4,multiStaticViewerIndex:0,isInterior:!1},SUMMARY:{componentKey:"summary",name:"summary",stepNumber:5,multiStaticViewerIndex:0,isInterior:!1}},j=e=>{let t={...T,...P},r=Object.keys(t).find(r=>t[r].componentKey===e);return r?t[r]:void 0},N={small:"640x480_43_jpg",smallx2:"1280x960_43_jpg",medium:"852x639_43_jpg",mediumx2:"1600x1200_43_jpg",large:"1704x960_169_jpg",largex2:"1920x1080_169_jpg"},I="CONFIG_MULTISTATIC",S=(0,l.createContext)({multiStaticUrls:[],currentStepName:T.GRADES.name,isFinanceSwitchHidden:!0,isDynamicDataLoading:!1,isViewerLoading:!1,financeInfo:{isLoading:!0},conflict:void 0});var A=r(32464),w=r(8322),O=r(29224),R=r(84759),D=r(58226),L=r(46361);let M=[_.Lu.DEFAULT,_.Lu.FORBIDDEN,_.Lu.SYSTEMATIC,_.Lu.OPTION,_.Lu.OPTION_PACK],k=[_.EG.COLORS,_.EG.COLORS_QUALITY,_.EG.RDIF,_.EG.RALU,_.EG.UPHOLSTERY],V=[_.R6.AMBIANCE,_.R6.EQUIPMENTS,_.R6.OUTDOOR_CUSTOMIZATION,_.R6.INDOOR_CUSTOMIZATION,_.R6.ACCESSORIES,_.R6.EV],H=["PEDIV","PESTR"],F=(e,t)=>parseInt(e?.order||"",10)-parseInt(t?.order||"",10),U=e=>[...e?.possibles||[],...e?.implications||[],...e?.conflicts||[]].filter(e=>e?.versionCategory!=="FORBIDDEN"),G=()=>Object.values(T).reduce((e,t)=>
1Math.max(e,t.stepNumber),0)+1,B=e=>!!e&&(0,E.oO)(e.versionCategory,M)&&(!("specCatCode"in e)||!(0,E.oO)(e.specCatCode,k)),z=e=>!!e&&(0,E.oO)(e.code,[_.R6.AMBIANCE,_.R6.EQUIPMENTS,_.R6.EV]),q=e=>!!e&&(0,E.oO)(e.code,[_.R6.OUTDOOR_CUSTOMIZATION,_.R6.INDOOR_CUSTOMIZATION]),W=(e=[])=>e.reduce((e,t)=>t?.items?[...e,t.items]:[...e,...W(t?.presentationGroups||[])],[]),$=({key:e,multimediaCards:t=[],isAccessory:r})=>t.find(t=>{let a;return r&&"identifier"in t&&(a=`AXS$${t.identifier}`),!r&&"accessoryCode"in t&&(a=t.accessoryCode),e===a?t:void 0}),Y=({multimediaCards:e,key:t})=>t?$({multimediaCards:e?.equipment,isAccessory:!1,key:t})??$({multimediaCards:e?.accessory,isAccessory:!0,key:t}):void 0,K=({conflict:e,currency:t,multimediaCards:r,imageUri:a,brand:n,offers:i,locale:s})=>l=>{let o=Y({multimediaCards:r,key:l.code}),c=l.code?o?.assets??[]:[],d=l.code?o?.description??"":"",u=(0,O.CF)(c,n),m=(0,O.re)(c,n),p=(0,O.Lh)(c,"MAIN_VIDEO_THUMBNAIL"),h=(0,O.Lh)(c,"MAIN_VIDEO"),g=c.find(e=>"MAIN_VIDEO"===e.assetRole)?.assetAutoplay??!1,f=(l.code&&o?.labourInfo?.mount)??!1,{hideDiscount:v=!0}=(0,L.D)(i,l?.offer?.offerId)||{};return{...l,conflict:e,priceLabel:(0,R.ZV)(v?l?.optionPrice:l?.offer?.discountedPrice,{currency:t,locale:s}),image:u,selected:l.inCompletion??!1,description:d,youtubeId:h,videoAutoplay:g,videoThumbnail:p,imageUri:a,label:l.label,type:l.versionCategory===_.Lu.OPTION||l.versionCategory===_.Lu.OPTION_PACK||l.versionCategory===_.Lu.FORBIDDEN?"options":"standard",isMount:f,code:l.code||"",images:m}},X=({groups:e,code:t,label:r,currency:a,brand:n,multimediaCards:i,displayStandards:s,imageUri:l,offers:o,locale:c})=>{let d=(0,D.Cl)(e).reduce((e,t)=>({possibles:[...e.possibles,...t?.possibles?.filter(B)||[]],implications:[...e.implications,...t?.implications?.filter(B)||[]],conflicts:[...e.conflicts,...t?.conflicts?.filter(B)||[]],versionConflicts:[...e.versionConflicts,...t?.versionConflicts?.filter(B)||[]]}),{possibles:[],implications:[],conflicts:[],versionConflicts:[]}),u=y()([...d.possibles.map(K({conflict:!1,currency:a,multimediaCards:i,imageUri:l,brand:n,offers:o,locale:c})),...d.implications.map(K({conflict:!1,currency:a,multimediaCards:i,imageUri:l,brand:n,offers:o,locale:c})),...d.conflicts.map(K({conflict:!0,currency:a,multimediaCards:i,imageUri:l,brand:n,offers:o,locale:c})),...d.versionConflicts.map(K({conflict:!0,currency:a,multimediaCards:i,imageUri:l,brand:n,offers:o,locale:c}))],"type");return{code:t,label:r,options:u?.options??[],standard:u?.standard??[],itemCount:(u?.options??[]).length,itemSelectedCount:(u?.options??[]).filter(e=>e.selected).length,display:(!!(u?.options??[]).length||s&&!!(u?.standard??[]).length)??!1}},Z=e=>e.display&&!(e?.options||[]).every(e=>e?.conflict||e?.versionCategory==="FORBIDDEN"),Q=e=>{let t=e?.options?.filter(e=>e?.versionCategory!=="FORBIDDEN");return t&&0!==t.length?{...e,options:t,itemCount:t?.length??e?.itemCount,itemSelectedCount:e?.itemSelectedCount}:null},J=(e,t)=>{let{items:r=[],presentationGroups:a=[]}=t;return a?.length?a.filter(e=>!H.includes(e?.code||"")).reduce(J,e):[...e,...r]},ee=(e,t)=>{let{items:r=[],presentationGroups:a=[]}=t;return a?.length?a.reduce(ee,e):[...e,...r]},et=(e,t)=>{let{items:{possibles:r=[],implications:a=[],conflicts:n=[]}={},presentationGroups:i=[]}=t;return i?.length?i.reduce(et,e):[...e,...r,...a,...n]},er=(e,t)=>{let r=t?.reduce(et,[]).filter(e=>e.inCompletion&&e.versionCategory!==_.Lu.FORBIDDEN).map(e=>e.code);return e.reduce(ee,[]).filter(e=>e.code&&r?.includes(e.code))},ea=(e,t)=>{let r=Number(!!t.isCustomerChoice)-Number(!!e.isCustomerChoice);if(r)return r;if(e.isCustomerChoice&&t.isCustomerChoice){let r=(e.customerChoiceOrder??Number.MAX_SAFE_INTEGER)-(t.customerChoiceOrder??Number.MAX_SAFE_INTEGER);if(r)return r}let a=(e?.code||"").startsWith("AXS$");if(a!==(t?.code||"").startsWith("AXS$"))return a?1:-1;let n=e?.versionCategory===_.Lu.SYSTEMATIC||e?.versionCategory===_.Lu.DEFAULT,i=t?.versionCategory===_.Lu.SYSTEMATIC||t?.versionCategory===_.Lu.DEFAULT;return a||n===i?(0,D.of)(e?.order)-(0,D.of)(t?.order):n?-1:1},en=({groups:e=[],code:t,label:r,multimediaCards:a,brand:n})=>{let i=W(e).reduce((e,t)=>
1[...e,...t],[]).filter(B).map(e=>{if(!e?.code)return;let t=$({multimediaCards:a,isAccessory:!1,key:e.code});return{...e,image:t?.media,images:(0,O.re)(t?.assets,n),description:t?.description,youtubeId:t?.youtubeId,videoAutoplay:t?.videoAutoplay,videoThumbnail:t?.videoThumbnail}}).filter(Boolean);return{code:t,label:r,standard:i,itemCount:i.length}},ei=({multimediaCards:e,groups:t})=>{let r=((e=[])=>e.filter(e=>!!e&&(0,E.oO)(e.code,V)))(t||[]);return[...(({groups:e,multimediaCards:t})=>(e||[]).filter(z).reduce((e,r)=>{if(r?.items)return[...e,{...en({groups:[r],code:r.code,label:r.label,multimediaCards:t}),order:r.order}];let a=r?.presentationGroups?.map(e=>({...en({groups:[e],code:e.code,label:e.label,multimediaCards:t}),order:e.order}));return a?[...e,...a]:e},[]))({groups:r,multimediaCards:e}),...(({groups:e})=>e.reduce((e,t)=>q(t)?[...e,{...en({groups:(t?.presentationGroups||[]).filter(e=>!H.includes(e.code||"")),code:t?.code,label:t?.label}),order:t?.order}]:e,[]))({groups:r})].filter(e=>e.standard?.length>0)},es=({technicalSpecification:e,energyCategory:t,filterMode:r})=>{let a=t&&r?_.n7[t][r]:[];return e.filter(e=>{let a=(e.items||[]).some(D.sM);return r&&t&&![x.D.ICEBIFUELCNG,x.D.DEFAULT].includes(t)?_._O.includes(e.code||"")&&a:a}).map(e=>{let t=(e.items||[]).filter(e=>_.n7&&a.length>0?(0,D.sM)(e)&&a.includes(e.code||""):(0,D.sM)(e)).sort((e,t)=>a.indexOf(e.code||"")-a.indexOf(t.code||""));return t.length>0?{...e,items:t}:null}).filter(Boolean).sort((e,t)=>_._O.indexOf(e?.code||"")-_._O.indexOf(t?.code||""))},el=(e,t)=>e&&t?.length?t?.length>1?t?.find(t=>t?.code===e):t?.[0]:void 0,eo=(e,t)=>e?.filter(e=>e.categoryLabel?e.pictureCode===t:e.code===t)||[],ec=async({item:e,params:t,getConflicts:r})=>{try{var a,n;let i=await r({params:t});if(!i)return{conflictData:void 0,hasConflict:!1};let s=i.data;if(a=e.code,n=s?.involvements,a&&n?.length&&1===n.length&&n[0]?.code===a)return{conflictData:void 0,hasConflict:!1};let l=(e=>{if(!e?.data)return!1;let t=e.data.newPrice,r=e.data.oldPrice;return!!(t&&r&&t>r)})({data:s});return{conflictData:s,hasConflict:l}}catch(e){return console.error("Error fetching conflict info:",e),{conflictData:void 0,hasConflict:!1}}},ed=({step:e,onStepChange:t,options:r})=>({options:{rootMargin:"0px 0px -25% 0px",triggerOnce:!1,threshold:.5,...r,onChange:t(e)},role:"custom",stayVisible:!1}),eu=e=>"FORBIDDEN"!==e.versionCategory&&!(("SYSTEMATIC"===e.versionCategory||"DEFAULT"===e.versionCategory)&&e.conflict),em=(e,t,r=!0)=>{let a=[...e.standard,...e.options],n=r?e.options.length>3?3:1:a.length;return new Set(a.filter(e=>t.has(e.code)).sort((e,r)=>(t.get(e.code)??Number.MAX_SAFE_INTEGER)-(t.get(r.code)??Number.MAX_SAFE_INTEGER)).slice(0,n).map(e=>e.code))},ep=(e,t,r)=>({customerChoiceOrder:t.has(e)?r.get(e):void 0,isCustomerChoice:t.has(e)}),eh=(e,t,r=!0)=>{let a=em(e,t,r),n=e=>({...e,...ep(e.code,a,t)});return{...e,standard:e.standard.map(n),options:e.options.map(n)}};var eg=r(9897),ef=r(55397),ev=r(33761),eC=r(42488),ey=r(35813),ex=r(5839),eE=r(10194),e_=r(3613),eb=r(73437);let eP=(0,o.Ng)(({page:{data:e}})=>({modelAdmin:e?.modelParams?.model,consumptionSimulator:e?.configuratorParams?.consumptionSimulator,isRtl:e?.siteParams?.rtl||!1})),eT=({consumptionCtaLabel:e,consumptionCtaLink:t,currentUri:r,modelAdminId:a})=>{let n=t&&(0,R.sB)(t,{modelURI:r,modelAdminId:a});return(0,s.jsx)(eb.l,{variant:"cta-primary",onClick:()=>{(0,v.d)({event:"navigationClick",buttonText:e,destination:n,locationInPage:"footer"})},href:n,title:e})},ej=eP(({modelAdmin:e={},consumptionSimulator:t,isRtl:r})=>{let{currentUri:a}=(0,l.useContext)(S),{description:n,ctaLink:i,ctaLabel:o,title:c}=t||{},{modelAdminId:d}=e;return(0,s.jsxs)("div",{className:u()("OneConfigConsumptionSimulator",{"is-rtl":r}),children:[c&&(0,s.jsx)("span",{className:"OneConfigConsumptionSimulator__consumptionTitle",children:c}),n&&(0,s.jsx)("span",{className:"OneConfigConsumptionSimulator__consumptionIntroduction",children:n}),(0,s.jsx)("div",{children:(0,s.jsx)(eT,{consumptionCtaLabel:o,consumptionCtaLink:i,currentUri:a||"",modelAdminId:d})})]})});var eN=r(65204),eI=r(16383),eS=r(77048),eA=r(97744),ew=r(90939),eO=r(4186),eR=r(38337);let eD=(0,o.Ng)(({page:{data:e}})=>({displayEfficiencyGraph:!!e?.consumptionEfficiencyGraph?.displayEfficiencyGraph,efficiencyTitle:e?.consumptionEfficiencyGraph?.efficie
1ncyTitle??"",modelData:e?.modelParams?.data,modelAdmin:e?.modelParams?.model}))(({modelData:e,modelAdmin:t={}})=>{let{dynamicData:r}=(0,l.useContext)(S),{prices:a,details:n}=r||{},{modelName:i}=t,{label:o}=e||{},c=i||n?.label||o||"",d=n?.version?.homologatedCo2,u=n?.version?.homologatedUnit,m=n?.version?.homologatedEfficiency,p=n?.version?.efficiencyClass,h=n?.version?.airQualityCertificate,g=a?.prices?.find(e=>e.priceInfo?.priceType===a?.defaultPriceInfo?.priceType)?.version?.label||"";return(0,s.jsxs)("div",{className:"OneConfigFinalizeTitle",children:[(0,s.jsx)("div",{className:"OneConfigFinalizeTitle__title",children:(0,s.jsxs)("p",{children:[(0,eR.kH)("wording.yours")," ",(0,s.jsx)("span",{className:"OneConfigFinalizeTitle__titleColored",children:c})]})}),g&&(0,s.jsxs)("p",{className:"OneConfigFinalizeTitle__versionLabel",children:[c," ",g]}),(0,s.jsx)(eO.h,{variant:"horizontal",align:"left",aocEfficiency:p,efficiency:m,urbanAccessClass:h,co2:d,unit:u})]})});var eL=r(18799),eM=r(96047),ek=r(90834),eV=r(15863),eH=r(16777),eF=r(67486),eU=r(1842);let eG=(0,o.Ng)(({page:{location:e,data:t}})=>{let r=t?.configuratorParams,a=t?.priceParams,n=t?.siteParams;return{modelParams:t?.modelParams,baseUrl:e?.base,shareParams:r?.share,hidePrices:!!t?.priceParams?.hidePrices,ecologicalParams:t?.ecologicalParams,pdfTemplateId:r?.share?.pdfTemplateId,brand:n?.brand,language:n?.language,country:n?.country||"",pricing:a?.pricing}})(({modelParams:e,baseUrl:t,hidePrices:r,pdfTemplateId:a,brand:n="",language:i,country:o,pricing:c,shareParams:d,ecologicalParams:u})=>{let{dynamicData:m}=(0,l.useContext)(S),{details:p,saveCode:h}=m||{},{model:g,data:f}=e||{},{modelName:C=""}=g||{},{uri:y,priceInfo:x,webDisplayPrices:E}=p||{},_=C||p?.label||f?.label||"",{interpolatedModelDisclaimerString:b}=(0,eF.A)({modelDisclaimer:g?.modelDisclaimer,modelLabel:_,pricedVersion:p?.version,pricingUri:y||""}),{bonusPrice:P=0,eecBonus:T=0}=E||{},j=x?.currency,N=(0,eM.p)({bonusPrice:P,currency:j,ecologicalParams:u,eecBonus:T}),I=(0,A.Hj)(d?.ctas)?.find(e=>
1e?.type==="pdf"),w=p?.version?.efficiencyClass||"",[{isLoading:O},R]=(0,eg.A)({returnPromise:!0}),D=async e=>{(0,v.d)({event:"navigationClick",buttonText:e,destination:t,locationInPage:"config-recap"}),(0,v.d)({brochureName:"personalised-pdf",event:"download"}),(0,v.d)({saveConfigurationItem:"downloadPdf",event:"saveConfiguration"});let s=(0,eR.nR)("currency.maximumFractionDigits")?(0,eR.wd)("currency.maximumFractionDigits"):0,l=(0,eR.nR)("currency.minimumFractionDigits")?(0,eR.wd)("currency.minimumFractionDigits"):0,d=w&&i&&(0,ek.k)({country:o,language:i,imageSize:"full",itemClass:w});try{let e,t=await R({method:"post",url:"/wired/commerce/v2/models/docs/pdf",data:{templateId:a,uri:y,language:i,customKeys:(0,eH.yb)({brand:n,model:_,saveCode:h,minimumFractionDigits:l,maximumFractionDigits:s,efficiencyClass:d,prices:{...(e=c?.details??{},{...c,details:(0,A.Hj)(e).filter(e=>e?.label&&e?.pricetypeCode).map(e=>(0,A.I2)({...e,subPrices:(0,A.Hj)(e?.subPrices)?.map(e=>(0,A.I2)(e))}))}),versionpriceCode:p?.priceInfo?.priceType||p?.priceInfo?.priceTypeOption,optionpriceCode:p?.priceInfo?.priceTypeOption},hidePrices:r||!p?.webDisplayPrices,modelDisclaimer:b,ecologicalData:N,showSaveCode:!1}),asAttachment:!0}}),o=t?.data?.temporaryUrl;if("u">typeof window&&o){let e=`${C} ${p?.version?.label}`.trim();await (0,eV.El)(o,e)}}catch{(0,eU.G)({level:ev.op.WARNING,emitter:"configurator.summary.pdf",duration:5})}},L=I?.label;return L?(0,s.jsx)(eb.l,{variant:"link-hyper",size:"large",onClick:()=>D(I?.label),icon:eL.A,isLoading:O,useButtonMarkup:!0,children:L}):null});var eB=r(57196),ez=r(88182);let eq=({onClick:e,onError:t,onSuccess:r,shareData:a,shareMobileNativeLabel:n,virtualPageName:i,pageName:l})=>{let{isSharable:o,handleShareClick:c}=(0,ez.R)({onClick:e,onError:t,onSuccess:r,shareData:a}),d=a?.url;return o&&n?(0,s.jsx)(eb.l,{variant:"link-hyper",size:"large",useButtonMarkup:!0,icon:eB.A,onClick:()=>{(0,v.d)({eventCategory:"Navigation Click",eventAction:"share-config-recap",eventLabel:`share-config-recap|${d}|${i}|${l})|configurator-v2-recap`,nonInteractional:!1,"Page Title":i||"configurator-v2"}),c()},"data-track":"click","data-track-event":"navigationClick","data-track-destination":d,"data-track-button-text":a?.title,"data-track-location-in-page":"share-button",children:n}):null};var eW=r(50865),e$=r(98964),eY=r(47702),eK=r(74526),eX=r(67804),eZ=r(9083),eQ=r(27189);let eJ=(0,o.Ng)(({page:{data:e}})=>{let t=e?.configuratorParams;return{saveCodeLabel:t?.share?.saveCodeLabel}})(({saveCodeLabel:e})=>{let{currentUri:t,dynamicData:r}=(0,l.useContext)(S),a=(0,l.useMemo)(()=>({...r?.details,pricedVersion:r?.details?.version}),[r?.details]);return(0,s.jsxs)("div",{className:"OneConfigModalSummary",children:[t&&(0,s.jsx)("div",{className:"OneConfigModalSummary__img",children:(0,s.jsx)(eS.F,{uri:t,alt:"model",profiles:e2.PROFILES,height:"100%",width:"100%",viewPoint:e2.VIEWPOINT})}),(0,s.jsx)("div",{className:"OneConfigModalSummary__price",children:(0,s.jsx)(eQ.r,{startingLabel:"",confData:a,prices:r?.prices?.prices,hideEfficiencyGraph:!0})}),(0,s.jsxs)("div",{className:"OneConfigModalSummary__saveCode",children:[e," ",(0,s.jsx)("span",{className:"OneConfigModalSummary__code",children:r?.saveCode})]})]})}),e0=({mailSharingError:e,i18n:t,closeModal:r})=>(0,s.jsxs)(l.Fragment,{children:[e&&(0,s.jsx)("span",{className:"OneConfigMailConfirmationBox__mailNotSent",children:(0,eR.kH)("wording.error.generic")}),!e&&(0,s.jsx)("span",{className:"OneConfigMailConfirmationBox__mailSent",children:t?.emailSuccessMsg}),(0,s.jsx)("div",{className:"OneConfigMailConfirmationBox__emailSharingBoxActions OneConfigMailConfirmationBox__button ",children:(0,s.jsx)(eb.l,{onClick:()=>r(""),variant:"cta-ghost",children:(0,eR.kH)("wording.close")})})]}),e1="SHARE_BY_MAIL",e5=(0,o.Ng)(({page:{location:e,data:t}})=>{let r=t?.configuratorParams;return{shareParams:r?.share,baseUrl:e?.base,hidePrices:!!t?.priceParams?.hidePrices}})(({baseUrl:e,hidePrices:t,shareParams:r})=>{let{dynamicData:a}=(0,l.useContext)(S),{details:n,saveCode:i}=a||{},[o,c]=(0,l.useState)(!1),[d,u]=(0,l.useState)(""),[m,p]=(0,l.useState)(!1),[h,g]=(0,l.useState)(!1),[{isLoading:f,error:C,response:y},x]=(0,eg.A)(),[E,_]=(0,eX.A)({id:"inline-badge",isActive:o,action:e1}),b="ERROR"===(y?.data?.content?.contentZone?.configurator?.notification?.status??"").toUpperCase()||E.error,P=(0,A.Hj)(r?.ctas),T=P?.find(e=>"email"===e.type),j=t=>{(0,v.d)({event:"navigationClick",buttonText:t,destination:e,locationInPage:"config-recap"}),c(e=>!e),p(!1),g(!1)},N=async()=>
1{if(!d||!eZ.iB.test(d))return void p(!0);if(E.ready)try{let e=await _();x({method:"post",url:(0,eC.zG)(window.location.href,".html",".data"),data:{recaptchaToken:e,recaptchaAction:e1,recipientId:d,uri:n?.uri,configurationCode:i,...t&&{hidePrices:t}}}),g(!0),(0,v.d)({event:"saveConfiguration",saveConfigurationItem:"receiveByMail-completed"})}catch(e){console.error(e)}finally{(0,v.d)({shareType:"email",event:"shareConfiguration"})}};return T?(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(eb.l,{useButtonMarkup:!0,icon:eK.A,variant:"link-hyper",size:"large",onClick:()=>j(T?.label),children:T?.label}),o&&(0,s.jsx)(eY.lG,{onClose:()=>c(!1),title:r?.emailMainTitle,children:(0,s.jsxs)(eY.Cf,{children:[(0,s.jsx)(eJ,{}),(0,s.jsx)("div",{className:"OneConfigShareByEmail__emailSharingBox",children:!f&&h?(0,s.jsx)(e0,{mailSharingError:C||b,i18n:r,closeModal:j}):(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(e$.p,{id:"emailAddress",name:"emailAddress",value:d,type:"email",label:r?.emailFieldTitle,onChange:e=>{u(e)},onFocus:()=>{p(!1)},errorLabel:d?r?.emailErrorFormat:r?.emailErrorMsg,hasError:m}),(0,s.jsx)("div",{id:"inline-badge"}),(0,s.jsx)(eW.d,{className:"OneConfigShareByEmail__legalDisclaimer",content:r?.emailLegalDisclaimer}),(0,s.jsxs)(eY.ii,{children:[(0,s.jsx)(eb.l,{onClick:()=>j(""),useButtonMarkup:!0,variant:"cta-ghost",children:(0,eR.kH)("wording.cancelCTA")}),(0,s.jsx)(eb.l,{onClick:N,isLoading:f,useButtonMarkup:!0,variant:"cta-primary",children:(0,eR.kH)("wording.validateCTA")})]})]})})]})})]}):null}),e2={VIEWPOINT:"r_brandSite_carPicker_1",PROFILES:{small:"grade_carrousel_main_1_small",smallx2:"grade_carrousel_main_1_small",medium:"grade_carrousel_main_1_medium",mediumx2:"grade_carrousel_main_1_medium"}},e6=(0,o.Ng)(({page:{location:e,data:t}})=>{let r=t?.configuratorParams;return{analyticsPageParams:t?.analyticsPageParams,modelParams:t?.modelParams,shareParams:r?.share,metaLink:t?.link,metaTitle:t?.title,meta:t?.meta,isConfigFromGuide:e?.queryParams?.mode?.toLowerCase()==="guide",isInStoreMode:e?.queryParams?.mode==="instore"}}),e3=({design:e,designPictures:t,code:r})=>{let a=eo(e,r);return(0,s.jsx)(l.Fragment,{children:a.map(e=>{let a=U(e)?.find(e=>e.inCompletion),n=t?.find(e=>e.code===r);return a?(0,s.jsxs)("div",{className:"OneConfigFinalize__choice",children:[(0,s.jsx)("div",{className:"OneConfigFinalize__choiceImg",children:(0,s.jsx)(eI._,{alt:"choiceImg",width:"100%",aspectRatio:"1/1",src:{small:n?.pictures?.find(e=>e.specCode===a?.code)?.url}})}),(0,s.jsx)("p",{className:"OneConfigFinalize__choiceLabel",children:a?.label})]},a.code):null})})},e4=e6(({shareParams:e,modelParams:t,analyticsPageParams:r,metaTitle:a,metaLink:n,meta:i,isConfigFromGuide:o,isInStoreMode:c})=>{let{currentUri:d,dynamicData:u,staticData:m}=(0,l.useContext)(S),{designPictures:p}=m||{},{details:h,saveCode:g,prices:f,design:v}=u||{},{modelAdminId:C,model:y}=t||{},{virtualPageName:x,pageName:E}=r||{},{batdIsActive:b=!1,pricePdf:P,modelConfigHomepageURL:T}=y||{},j=(0,A.Hj)(e?.ctas),{modelSpecCode:N,version:I}=h||{},w={brandsiteDomainUrl:T,category:eN.xu.CONFIG,modelConfigHomepageURL:T,modelName:y?.modelName,modelVersion:I?.label,primaryCode:g,uri:f?.uri},O=n?.find(e=>e?.rel==="canonical")||{},D=i?.find(e=>e?.name==="description")||{},L={title:a,text:D?.content,url:(0,R.sB)(O?.href??"",{confuri:d})};return(0,s.jsx)("div",{className:"OneConfigFinalize",children:(0,s.jsxs)("div",{className:"OneConfigFinalize__content",children:[(0,s.jsx)("div",{className:"OneConfigFinalize__header",children:(0,s.jsx)(eD,{})}),(0,s.jsxs)("div",{className:"OneConfigFinalize__choices",children:[(0,s.jsx)(e3,{design:v,designPictures:p,code:_.b1.COLORS},_.b1.COLORS),(0,s.jsx)(e3,{design:v,designPictures:p,code:_.b1.WHEELS},_.b1.WHEELS),(0,s.jsx)(e3,{design:v,designPictures:p,code:_.b1.UPHOLSTERIES},_.b1.UPHOLSTERIES)]}),d&&(0,s.jsx)("div",{className:"OneConfigFinalize__blockPicture",children:(0,s.jsx)(eS.F,{uri:d,alt:"model",profiles:e2.PROFILES,height:"100%",width:"100%",viewPoint:e2.VIEWPOINT})}),(0,s.jsxs)("div",{className:"OneConfigFinalize__ctas",children:[(0,s.jsx)(eq,{virtualPageName:x,pageName:E,shareData:L,shareMobileNativeLabel:e?.shareMobileNativeLabel}),j?.map(({type:e,link:t="",label:r,ctaIsLinkFormat:a,isBatd:n})=>{if(n&&!b||c)return null;let i=a?"link-hyper":"cta-ghost",l="link-hyper"===i;switch(e){case"email":return(0,s.jsx)(e5,{},"email");case"pdf":return(0,s.jsx)(eG,{},"pdf");case"pricePdf":return r&&P&&(0,s.jsx)(eb.l,{href:P,target:"_blank",variant:i,children:r},"pricePdf");case"other":return!o&&(0,s.jsx)(eb.l,{target:"_blank",variant:i,size:l?"large":void 0,href:(0,ew.A)(t,{specCode:N,modelAdminId:C,modelURI:d,saveCode:g}),children:r},r);case"project":return!o&&(0,s.jsx)(eA.T,{variant:"link",size:"large",bookmarkData:w},"project");default:return!o&&(0,s.jsx)(eb.l,{target:"_blank",variant:i,size:l?"large":void 0,href:(0,R.sB)(t,{modelURI:d,modelAdminId:C,saveCode:g}),children:r},r)}})]})]})})});var e7=r(48501);let e8=(0,o.Ng)(({page:e})=>({showFinanceDataConfigurator:e?.data?.modelParams?.model?.showFinanceDataConfigurator,financeDataConfigDisplayMode:e?.data?.modelParams?.model?.financeDataConfigDisplayMode,modelAdminId:e?.data?.modelParams?.model?.modelAdminId}))(({showFinanceDataConfigurator:e,financeDataConfigDisplayMode:t,modelAdminId:r})=>{let{setIsFinanceSwitchHidden:a,setFinanceInfo:n,dynamicData:i}=(0,l.useContext)(S),o=!!e&&!!t&&(0,E.oO)(t,[b.zH.CALCULATOR_AND_PRICE,b.zH.MONTHLY_PRICE]),c=!!e&&!!t&&(0,E.oO)(t,[b.zH.CALCULATOR_AND_PRICE,b.zH.CALCULATOR]);
1return(0,s.jsx)(e7.A,{storageParams:{key:r,detail:{uri:i?.details?.uri}},enabled:o,vehicleProxyParams:i?.financeMapping,dealer:b.IN.ONE_CONFIG,handleOffer:(e,t)=>{let r=Array.isArray(e)&&e.some(e=>!e?.monthlyPayment);n?.({offer:e,showSimulatorModalHandler:c?t:void 0,isLoading:!1,desactivateFinanceSwitch:r}),r&&a?.(!0)}})});var e9=r(52230),te=r(55927),tt=r(20409),tr=r(40431);let ta=({group:e,step:t,isGrid:r})=>{let{setCurrentUri:a,handleConflictItem:n,isDynamicDataLoading:i}=(0,l.useContext)(S),o=t?.name===T.RECHARGE.name?[...e?.standard||[],...e?.options||[]]:e?.options||[],c=async e=>{e&&(e?.selected&&e?.unselectURI?a?.(e.unselectURI):(e.conflict&&await n?.(e)||a?.(e.nextURI),(0,v.d)({event:"configuratorSelect",itemName:e?.label,componentKey:"equipments"})))},d=({item:e,isOpen:r})=>{r&&(0,v.d)({componentKey:"equipments",configStepNumber:t?.stepNumber,itemName:e?.label,event:"detailedInformation"})};return(0,s.jsx)("div",{className:"OneConfigPresentation",children:!!o?.length&&(0,s.jsx)("div",{className:u()("OneConfigPresentation__options",{OneConfigPresentation__optionsGrid:r}),children:o.filter(eu).sort(t?.name===T.RECHARGE.name?ea:D.fQ).map(e=>(0,s.jsx)(tr.D,{item:e,onToggle:c,onDialogToggle:d,isLoading:i,disabled:e?.versionCategory==="SYSTEMATIC"||e?.versionCategory==="DEFAULT"},e.code))})})};var tn=r(82084),ti=r(21323);let ts=({item:e,isUsp:t=!1})=>{let{currentStepName:r}=(0,l.useContext)(S),[a,n]=(0,l.useState)(!1),i=Object.values(T).find(e=>e.name===r)?.stepNumber,o=(t,r=!0)=>()=>{r&&(n(t),t&&(0,v.d)({componentKey:"grades",configStepNumber:i,itemName:e?.label,event:"detailedInformation"}))},{description:c,image:d,youtubeId:m,label:p,images:h}=e||{},g=!!(c||d||m||h?.length),f=e?.optionPrice===0&&e?.implied;return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("li",{className:u()("OneConfigEquipmentListItem",{"is-usp":t}),children:(0,s.jsx)("div",{className:u()("OneConfigEquipmentListItem__item",{"is-clickable":g}),onClick:o(!0,g),role:"button",tabIndex:g?0:-1,children:(0,s.jsxs)("span",{className:"OneConfigEquipmentListItem__label",children:[p,"\uFEFF",g&&(0,s.jsx)(ti.A,{className:"OneConfigEquipmentListItem__infoIcon"})]})})}),a&&(0,s.jsx)(tn.T,{onClose:o(!1),item:e,hideActions:f})]})},tl=()=>{let{dynamicData:e,staticData:t}=(0,l.useContext)(S),r=(0,l.useMemo)(()=>ei({groups:e?.details?.standardEquipments,multimediaCards:t?.equipmentGlossaryNotes}),[e?.details?.standardEquipments,t?.equipmentGlossaryNotes]);return r?.map(e=>(0,s.jsxs)("div",{className:"OneConfigEquipmentsGroups",children:[(0,s.jsx)("div",{className:"OneConfigEquipmentsGroups__header",children:e?.label}),(0,s.jsx)("ul",{className:"OneConfigEquipmentsGroups__wrap",children:(e?.standard||[]).map(e=>(0,s.jsx)(ts,{item:e},e.code))})]},e?.code||e?.label))},to=(0,o.Ng)(({page:{data:e}})=>{let t=e?.configuratorParams?.equipment;return{dialogTitleEquipments:t?.dialogTitleEquipments,numberOfUspIncluded:t?.numberOfUspIncluded,seeAllEquipments:t?.seeAllEquipments,isEngineDisplayedFirst:e?.modelParams?.model?.isEngineDisplayedFirst,modelData:e?.modelParams?.data,brand:e.siteParams?.brand}})(({numberOfUspIncluded:e,seeAllEquipments:t,dialogTitleEquipments:r,brand:a})=>{let[n,i]=(0,l.useState)(!1),{staticData:o,dynamicData:c}=(0,l.useContext)(S),d=c?.details?.version,{equipments:u=[]}=o?.usp?.find(e=>e.code===d?.grade?.code)||{},m=(0,l.useMemo)(()=>u?.map(e=>{let t=$({multimediaCards:o?.equipmentGlossaryNotes,isAccessory:!1,key:e.code});return{...e,image:t?.media,images:(0,O.re)(t?.assets,a),description:t?.description,youtubeId:t?.youtubeId,videoAutoplay:t?.videoAutoplay,videoThumbnail:t?.videoThumbnail}})||[],[u,o?.equipmentGlossaryNotes,a]);return(0,s.jsxs)("div",{className:"OneConfigUspList",children:[(0,s.jsxs)("div",{className:"OneConfigUspList__usp",children:[(0,s.jsxs)("span",{className:"OneConfigUspList__NumberOfUspIncluded",children:[u?.length," ",e]}),(0,s.jsx)(eb.l,{variant:"link-arrow",size:"small",onClick:()=>i(!0),useButtonMarkup:!0,children:t})]}),m.length>0&&(0,s.jsx)("ul",{className:"OneConfigUspList__specsList",children:m.slice(0,4).map(e=>(0,s.jsx)(ts,{isUsp:!0,item:e},e?.code))}),n&&(0,s.jsx)(eY.lG,{onClose:()=>i(!1),size:"fullscreen",title:`${r||""}`,variant:"wrapper",children:(0,s.jsx)(eY.Cf,{children:(0,s.jsx)(tl,{})})})]})}),tc=(0,l.createContext)({currentStepName:T.GRADES.name,onStepChange:()=>()=>{}}),td=({tabs:e=[],total:t=0,sectionTitle:r,countLabel:a,step:n,showUspList:i=!1})=>{let{onStepChange:o}=(0,l.useContext)(tc),{ref:c}=(0,tt.A)(ed({step:n,onStepChange:o}));return 0===t||0===e.length?null:(0,s.jsxs)(te.VZ,{id:n.name,ref:c,children:[(0,s.jsx)(te.GT,{title:r,subTitle:a?`${t} ${a}`:void 0}),(0,s.jsxs)(te.gT,{children:[e.map((e,t)=>(0,s.jsxs)(e9.nD,{defaultExpanded:0===t,children:[(0,s.jsx)(e9.$m,{children:e.title}),(0,s.jsx)(e9.ub,{children:(0,s.jsx)(ta,{group:e?.content,step:n,isGrid:!0})})]},`${e?.code}-${e.label}-${t}`)),n.name!==T.RECHARGE.name&&i&&(0,s.jsx)(to,{})]})]})};
1var tu=r(93801),tm=r(5138),tp=r(53282),th=r.n(tp),tg=r(80381),tf=r(54376);let tv=(0,o.Ng)(({page:{data:e}})=>({modelParams:e?.modelParams,ctas:e?.configuratorParams?.receipt?.ctas}))(({ctas:e,modelParams:t})=>{let{financeInfo:r,dynamicData:a}=(0,l.useContext)(S),{saveCode:n="",uriWithoutAxs:i,confURI:o}=a||{},c=t?.model?.isRPISimplifiedEnabled?(0,A.Hj)(e)?.find(e=>"rpiSimplified"===e.type):void 0,{link:d,label:u}=c||{},m=d?(0,R.sB)(d,{uriWithAxs:o,uriWithoutAxs:i,modelAdminId:t?.model?.modelAdminId,saveCode:n}):void 0;return!th()(r?.offer)&&(0,s.jsxs)("div",{className:"OneConfigNewReceiptFinance",children:[(0,s.jsx)("div",{className:"OneConfigNewReceiptFinance__financingTitle",children:(0,eR.kH)("wording.financingTitle")}),(0,s.jsxs)("div",{className:"OneConfigNewReceiptFinance__rci",children:[(0,s.jsx)(tg.e,{withProductType:!0,offer:r?.offer,onSimulatorClick:c?void 0:r?.showSimulatorModalHandler,tracking:{locationInPage:"ConfiguratorReceipt"},isLoading:r?.isLoading}),m&&(0,s.jsx)(eb.l,{href:m,onClick:()=>{(0,v.d)({event:"navigationClick",buttonText:u,destination:d,locationInPage:"config-receipt"})},variant:"link-hyper",size:"large",icon:tf.A,children:u})]})]})});var tC=r(3936);let ty=(0,o.Ng)(({page:{data:e}})=>({hidePrices:e?.priceParams?.hidePrices||!1,modelTotalPrice:e?.priceParams?.pricing?.modelTotalPrice,recapPriceDecomposition:e?.priceParams?.pricing?.recapPriceDecomposition}))(({hidePrices:e,recapPriceDecomposition:t,modelTotalPrice:r})=>{let{dynamicData:a}=(0,l.useContext)(S),{details:n,prices:i}=a||{},{offers:o,offer:c}=n||{},{hideDiscount:d}=(0,L.D)(o,c?.offerId)||{},u=(0,l.useMemo)(()=>({...a?.details,pricedVersion:a?.details?.version}),[a?.details]);return!e&&n?.webDisplayPrices?.displayPrice?(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPrice",children:[(0,s.jsx)("p",{className:"OneConfigReceiptSummaryPrice__totalPrice",children:r||(0,eR.kH)("wording.totalPrice")}),(0,s.jsx)(eQ.r,{startingLabel:"",confData:u,prices:i?.prices}),t&&(0,s.jsx)(tC.P,{prices:i?.prices,hideDiscount:d})]}):null});var tx=r(45543),tE=r(29016),t_=r(83680),tb=r(35866),tP=r(7285);let tT=({value:e,onClose:t,children:r})=>{let[a,n]=(0,l.useState)(!1),{staticData:i}=(0,l.useContext)(S),o=(0,l.useMemo)(()=>(({glossaryNotes:e})=>{if(!e?.length)return[];let t=new Set;return e.reduce((e,r)=>{let a=r?.sourceName;return a&&!t.has(a)&&(t.add(a),e.push({sourceName:a,fromGlossary:!0})),e},[])})({glossaryNotes:i?.technicalDataGlossaryNotes}),[i?.technicalDataGlossaryNotes]),c=!!(e&&o?.some(t=>t.sourceName===e)),d=(0,l.useMemo)(()=>{if(!e||!o?.length)return;let t=o.find(t=>t.sourceName===e);if(!t)return;let r=(({sourceName:e,multimediaCards:t=[]})=>t.find(t=>t?.sourceName===e?t:void 0))({multimediaCards:i?.equipmentGlossaryNotes,sourceName:e});return{...t,label:r?.name,description:r?.description,image:r?.media||r?.assets?.find(e=>"PICTURE"===e.assetType)?.renditions?.[0]?.url,videoAutoplay:r?.videoAutoplay,videoThumbnail:r?.videoThumbnail||r?.assets?.find(e=>"MAIN_VIDEO_THUMBNAIL"===e.assetRole)?.renditions?.[0]?.url,youtubeId:r?.youtubeId}},[e,o,i?.equipmentGlossaryNotes]),{label:u="",description:m,image:p}=(0,l.useMemo)(()=>({label:d?.label||"",description:d?.description||"",image:d?.image||""}),[d]);return c?(0,s.jsxs)(l.Fragment,{children:[r?(0,s.jsx)("span",{onClick:()=>{n(!0)},role:"button",children:r}):null,a&&(0,s.jsx)(eY.lG,{variant:"side-panel",onClose:()=>{n(!1),t?.()},size:"medium",title:u,alternativeBackground:!0,children:(0,s.jsx)(eY.Cf,{children:(p||m)&&(0,s.jsxs)("div",{className:"OneConfigTechnicalSpecificationSidePanel__wrapper",children:[p&&(0,s.jsx)(tP.E,{src:p,alt:u}),m&&(0,s.jsx)(eW.d,{className:"OneConfigTechnicalSpecificationSidePanel__description",content:m})]})})})]}):null},tj=(0,o.Ng)(({page:{data:e}})=>({hidePrices:e?.priceParams?.hidePrices}))(({details:e,items:t,itemPrice:r,itemLabel:a,isPack:n,isPackAndEquipments:i,hidePrices:l=!1})=>{let o=!r&&0!==r||l,c=u()("OneConfigItemDetails__summaryItemDetail",{OneConfigItemDetails__equipmentsItemDetail:i&&!n,OneConfigItemDetails__packItemDetail:i&&n,OneConfigItemDetails__withoutPrice:o}),d=t?.find(e=>e.inCompletion);return(0,s.jsxs)("div",{className:c,children:[(0,s.jsxs)("div",{className:"OneConfigItemDetails__presentationItemLabel",children:[(0,s.jsx)("span",{children:d?.label??a}),(0,s.jsx)(tT,{value:d?.label,children:(0,s.jsx)(tb.m,{size:"small"})})]}),(0,s.jsx)("span",{className:"OneConfigItemDetails__presentationItemDots"}),!o&&(0,s.jsx)("span",{className:"OneConfigItemDetails__presentationItemPrice",children:(0,R.ZV)(r,{currency:e?.priceInfo?.currency})})]})}),tN=({details:e,packAndEquipments:t,withoutPrice:r})=>{let a=((e=[])=>e.reduce((e,t)=>
1t?.packItems?.length?[...e,...t?.packItems||[]]:[...e],[]).reduce((e,t)=>[...e,t.code].filter(Boolean),[]))(t);return t.map(t=>{let n,{hideDiscount:i=!0}=(0,L.D)(e?.offers,t?.offer?.offerId)||{};return n=r?void 0:i?t?.price:t?.offer?.discountedPrice,!a.includes(t?.code||"")&&(0,s.jsxs)("div",{className:"OneConfigPackAndEquipments",children:[(0,s.jsx)("div",{className:"OneConfigPackAndEquipments__wrapper",children:(0,s.jsx)(tj,{details:e,itemLabel:t.label,itemPrice:n,isPack:!!t?.packItems,isPackAndEquipments:!0})}),t?.packItems&&(0,s.jsx)("ul",{className:"OneConfigPackAndEquipments__packItems",children:t.packItems.map(e=>(0,s.jsx)("li",{className:"OneConfigPackAndEquipments__packItem",children:e?.label},e?.code))})]},t.code)})},tI=(0,o.Ng)(({page:{data:e}})=>{let t=e?.configuratorParams;return{lcv:t?.lcv}}),tS={offset:-140,duration:400,easing:tx.WD},tA=({title:e,step:t,onClick:r})=>(0,s.jsxs)("div",{className:"OneConfigLCVSelection__titleWrapper",children:[(0,s.jsx)("p",{className:"OneConfigLCVSelection__sectionTitle",children:e}),(0,s.jsx)(tx.Op,{onClickCapture:r,to:t,className:"OneConfigLCVSelection__scrollButton",disableHistory:!0,animate:tS,children:(0,eR.kH)("wording.changeCTA")})]}),tw=({label:e})=>e?(0,s.jsxs)("div",{className:"OneConfigLCVSelection__section",children:[(0,s.jsx)("p",{className:"OneConfigLCVSelection__selection",children:e}),(0,s.jsx)("span",{className:"OneConfigLCVSelection__dots"}),(0,s.jsx)("p",{className:"OneConfigLCVSelection__included",children:(0,eR.kH)("wording.systematicEquip")})]}):null,tO=tI(({lcvSelectionData:e,lcv:t})=>{let{bodyType:r,dimension:a,ptac:n}=e||{},{bodyTypelabel:i="",dimensionLabel:o="",ptacLabel:c=""}=t||{},{setIsCartOpened:d}=(0,l.useContext)(S),u=()=>d?.(!1);return(0,s.jsxs)("div",{className:"OneConfigLCVSelection",children:[(0,s.jsx)(tA,{title:i,step:P.BODY_TYPES.componentKey,onClick:u}),(0,s.jsx)(tw,{label:r?.label}),(0,s.jsx)(tA,{title:o,step:P.DIMENSIONS.componentKey,onClick:u}),(0,s.jsx)(tw,{label:a?.label}),(0,s.jsx)(tA,{title:c,step:P.PTACS.componentKey,onClick:u}),(0,s.jsx)(tw,{label:n?.label})]})});var tR=r(11197),tD=r(42715);let tL=(0,o.Ng)(({page:{data:e}})=>({tyreLabelling:e?.tyreLabelling})),tM=(e,t)=>(0,s.jsx)(tD.A,{snapMode:"center-start",arrowMode:"arrows-left-right-desktop-only",dotMode:"none",interactionType:"tyres-labels-modal",children:e.filter(t).filter(e=>e?.tyresLink).map(({tyresLink:e,eprelLink:t})=>(0,s.jsx)("div",{className:"OneConfigTyresLabelsModal__tyreLabel",children:(0,s.jsx)(tR.J,{src:e,url:t})},e))},"tyres-labels-elements"),tk=(e,t)=>e.filter(t).map(e=>e?.code),tV=tL(({tyreLabelling:e})=>{let{dynamicData:t}=(0,l.useContext)(S),r=t?.details?.wheel?.tyresLabels??[],a=tM(r,e=>e?.position==="front"),n=tM(r,e=>e?.position==="rear"),i=tk(r,e=>e?.position==="front"),o=tk(r,e=>e?.position==="rear"),c=i.length===o.length&&i.every(e=>o.includes(e));return(0,s.jsxs)("div",{className:"OneConfigTyresLabelsModal",children:[(0,s.jsx)(eW.d,{className:"OneConfigTyresLabelsModal__bodyCopy",content:e?.bodyCopy}),!c&&(0,s.jsx)("p",{className:"OneConfigTyresLabelsModal__title",children:e?.frontTyresLabel}),(0,s.jsx)("div",{className:"OneConfigTyresLabelsModal__tyresLabels",children:a}),!c&&(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("p",{className:"OneConfigTyresLabelsModal__title",children:e?.rearTyresLabel}),(0,s.jsx)("div",{className:"OneConfigTyresLabelsModal__tyresLabels",children:n})]})]})}),tH={offset:-30,duration:400,easing:tx.WD},tF={...tH,offset:-80},tU=(0,o.Ng)(({page:{data:e}})=>({tyreLabelling:e.tyreLabelling,modelParams:e?.modelParams,hidePrices:e?.priceParams?.hidePrices||!1,decompositionTitle:e?.priceParams?.pricing?.decompositionTitle}))(({tyreLabelling:e,modelParams:t,hidePrices:r,decompositionTitle:a})=>{let n,i,{dynamicData:o,isDynamicDataLoading:c,setIsCartOpened:d,staticData:m}=(0,l.useContext)(S),{details:p,design:h,equipments:g,recharge:f,accessories:v}=o||{},{designPictures:C}=m||{},[y,x]=(0,l.useState)(!1),{offers:E,offer:b}=p||{},{legalDescription:P="",hideDiscount:j=!0}=(0,L.D)(E,b?.offerId)||{},N=b?{...p,offer:{...b,legalDescription:P,hideDiscount:j}}:p,I=(0,R.ZV)(j?p?.price:p?.offer?.discountedPrice,{currency:p?.priceInfo?.currency}),A=r||!I,w=t?.model?.modelType===tE.P.LCV,O=N?.options||[],D=(n=N?.lcv,{bodyType:(i=e=>!!e?.label)(n?.bodyType)?n?.bodyType:void 0,ptac:i(n?.grossVehicleMass)?n?.grossVehicleMass:void 0,dimension:i(n?.dimension)?n?.dimension:void 0}),M=er(O,v?.presentationGroups),k=er(O,g?.presentationGroups?.filter(e=>z(e)&&e.code!==_.R6.EV)),V=er(O,f?.presentationGroups),H=w&&(D.bodyType||D.dimension||D.ptac),F=N?.version?.price,G=(0,eR.kH)("wording.changeCTA"),B=N?.version?.label,q=(e,t)=>
1{if(!A)return j?e:t},W=e?.tooltipTitle,$=W?(0,s.jsxs)(l.Fragment,{children:[W,(0,s.jsx)(ti.A,{className:"OneConfigReceiptSummaryPriceDetails__wheelInfo",onClick:()=>x(!0)},"iconInfo"),y&&(0,s.jsx)(eY.lG,{onClose:()=>x(!1),title:W,children:(0,s.jsx)(eY.Cf,{children:(0,s.jsx)(tV,{})})})]}):(0,eR.kH)("wording.characteristics.wheel");return(0,s.jsx)("div",{className:u()("OneConfigReceiptSummaryPriceDetails",{OneConfigReceiptSummaryPriceDetails_withoutPrice:!!A}),children:(0,s.jsxs)(e9.nD,{variant:"light",defaultExpanded:!0,children:[(0,s.jsx)(e9.$m,{children:a}),(0,s.jsx)(e9.ub,{children:c?(0,s.jsx)(t_.l,{}):(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__steps",children:[(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__step",children:[(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__ScrollChor",children:[(0,s.jsx)("p",{className:"OneConfigReceiptSummaryPriceDetails__stepTitle",children:(0,eR.kH)("wording.characteristics.trim")}),(0,s.jsx)(tx.Op,{onClickCapture:()=>d?.(!1),to:T.GRADES.name,className:"OneConfigReceiptSummaryPriceDetails__scrollButton",disableHistory:!0,animate:tH,children:G})]}),B&&(0,s.jsx)(tj,{details:N,itemLabel:B,itemPrice:q(F||0,N?.version?.offer?.discountedPrice??(F||0)),isPack:!1,isPackAndEquipments:!1})]}),H&&(0,s.jsx)("div",{className:"OneConfigReceiptSummaryPriceDetails__step",children:(0,s.jsx)(tO,{lcvSelectionData:D})}),C?.map(e=>{let t=e?.code===_.b1.WHEELS,r=eo(h,e.code);return(0,s.jsx)(l.Fragment,{children:r.map(r=>{let a=U(r)?.find(e=>e.inCompletion);if(!a)return null;let n=a.optionPrice||0,i=a?.offer?.discountedPrice;return(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__step",children:[(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__ScrollChor",children:[(0,s.jsx)("p",{className:"OneConfigReceiptSummaryPriceDetails__stepTitle",children:t?$:e?.label}),e?.code&&(0,s.jsx)(tx.Op,{onClickCapture:()=>d?.(!1),to:e?.code,className:"OneConfigReceiptSummaryPriceDetails__scrollButton",disableHistory:!0,animate:tH,children:G})]}),(0,s.jsx)(tj,{items:U(r),details:N,itemPrice:q(n,i??n),isPack:!1,isPackAndEquipments:!1})]},r.code)})},e?.code)}),0!==V.length&&(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__step",children:[(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__ScrollChor",children:[(0,s.jsx)("p",{className:"OneConfigReceiptSummaryPriceDetails__stepTitle",children:(0,eR.kH)("wording.characteristics.recharge")}),(0,s.jsx)(tx.Op,{onClickCapture:()=>d?.(!1),to:T.RECHARGE.name,className:"OneConfigReceiptSummaryPriceDetails__scrollButton",disableHistory:!0,animate:tF,children:G})]}),(0,s.jsx)(tN,{details:N,packAndEquipments:V,withoutPrice:A})]}),0!==k.length&&(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__step",children:[(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__ScrollChor",children:[(0,s.jsx)("p",{className:"OneConfigReceiptSummaryPriceDetails__stepTitle",children:(0,eR.kH)("wording.characteristics.equipment")}),(0,s.jsx)(tx.Op,{onClickCapture:()=>d?.(!1),to:T.EQUIPMENTS.name,className:"OneConfigReceiptSummaryPriceDetails__scrollButton",disableHistory:!0,animate:tF,children:G})]}),(0,s.jsx)(tN,{details:N,packAndEquipments:k,withoutPrice:A})]}),0!==M.length&&(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__step",children:[(0,s.jsxs)("div",{className:"OneConfigReceiptSummaryPriceDetails__ScrollChor",children:[(0,s.jsx)("p",{className:"OneConfigReceiptSummaryPriceDetails__stepTitle",children:(0,eR.kH)("wording.characteristics.accessories")}),(0,s.jsx)(tx.Op,{onClickCapture:()=>d?.(!1),to:T.ACCESSORIES.name,className:"OneConfigReceiptSummaryPriceDetails__scrollButton",disableHistory:!0,animate:tF,children:G})]}),M.map(e=>(0,s.jsx)("div",{className:"OneConfigReceiptSummaryPriceDetails__AccessoriesDiv",children:(0,s.jsx)(tj,{details:p,itemLabel:e.label,itemPrice:q(e?.price,(e?.offer?.discountedPrice,e?.price)),isPack:!1,isPackAndEquipments:!1},e?.code)},e?.code))]})]})})]},"details")})});var tG=r(80068),tB=r(12347),tz=r(49143),tq=r(24453),tW=r(12786);let t$={setNotification:eU.G},tY=(0,o.Ng)(({page:{data:e,location:t,isSSO:r},auth:a,vehicleInventory:n})=>{let{siteParams:i,c2gParams:s,modelParams:l,ecologicalParams:o,configSummaryParams:c,authenticationParams:d}=e,u=a?.isAuthenticated,m=a?.isProcessingLogin,p=n?.tradeInQuotation,h=i?.locale,g=d?.link;return{siteParams:i,currency:s?.currency,modelParams:l,primaryCode:c?.saveCode||"",isLoggedIn:u&&!1===m,tradeInQuotation:p,ecologicalParams:o,shouldRedirectToLogin:t.queryParams.orderGroupUUID&&!1===m&&!1===u,authLink:g,isSSO:r,locale:h,orderGroupUUID:t.queryParams.orderGroupUUID}},t$)(({variant:e,configUri:t,i18nPopin:r,label:a,orderCtaLink:n,uriWithoutAxs:i,currency:o,ecologicalParams:c,isLoggedIn:d,modelParams:u,primaryCode:m,siteParams:p,tradeInQuotation:h,setNotification:g,isDisabled:f,shouldRedirectToLogin:v,authLink:C,isSSO:y,locale:x="",orderGroupUUID:E})=>{let[_,b]=(0,l.useState)(!1),[P,T]=(0,l.useState)(!1),j="u"<typeof window?"":window?.location.href||"",N=(0,eC.HE)(j,{orderGroupUUID:E});(0,l.useEffect)(()=>{v&&(0,tz.sd)({url:C,nextUrl:N,locale:x,isSSO:y})},[v,y,C,x,N]);let I=async e=>{let{mileage:r,registration:a,vehicleVersion:s}=h?.formState||{},{quotationPrice:l,quotationValidity:d}=h?.quotation||{},{brand:f,model:v,finition:C,version:y=""}=s||{},x=h?{brand:f,model:v,mileage:r?parseInt(r,10):void 0,registrationNumber:a,tradeInQuotation:l,additionalInfo:d,version:C?`${y} - ${C}`:y}:void 0,_=[{type:tB.zZ.UPSELL,targetObjectId:t,targetObjectType:tB.nS.CONFIG_URI}],b={productId:i,productType:tB.$z.CONFIG_VEHICLE,priceInfo:{priceType:u?.model?.priceType||""},quantity:1,additionalInfo:{originalConfiguredVehicleInfo:{primaryCode:m}},relations:i!==t?_:void 0},P={brand:(p?.brand||"").toUpperCase(),language:p?.language||"",country:(p?.country||"").toUpperCase(),currency:o||"",channel:tG.c3.MAIN,storeId:tG.pp.NVS,salesChannel:tG.wc.STORE,zone:"IDF",contextParams:{globalParameters:[{value:c?.ecoBonusDeducted?"true":"false",name:tG.D$.ECO_BONUS_DEDUCTED},{value:u?.model?.showFinanceDataConfigurator?"true":"false",name:tG.D$.SHOW_FINANCE_DATA_CONFIGURATOR}]},products:[b],leadInfo:{originalClientRequestInfo:{ownedVehicle:x}}};T(!0);try{await (0,tq.zf)({initialCartValues:(0,eH.yb)(P),onNextClick:(t,r)=>{let a="";try{a=n?new URL(n,window.location.href).href:""}catch(e){}if(e)(0,tz.sd)({...e,nextUrl:(0,eC.HE)(a,{orderGroupUuid:t})});else if(n&&200===r)(0,eC.bw)((0,R.sB)(n,{orderGroupUuid:t}));else throw Error("CREATE_ORDER_AND_GO_FAILED")},orderGroupUuidQueryParams:E})}catch(e){T(!1),g({level:ev.op.WARNING,emitter:"cart.config.nvs",message:(0,ev.LW)(ev.op.WARNING)})}};return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(eb.l,{onClick:()=>{d?I():b(!0)},variant:e,disabled:f,isLoading:P,useButtonMarkup:!0,children:a}),_&&(0,s.jsx)(tW.A,{i18n:r,onCreateBasket:e=>I(e),onClose:()=>b(!1)})]})});var tK=r(21916);
1let tX=({cta:e,saveCode:t,variant:r,useButtonMarkup:a,currentUri:n,modelAdminId:i,modelSpecCode:l,trackCtaClick:o})=>{let{link:c="",label:d,type:u}=e,m="leadform"===u?(0,R.sB)(c,{modelURI:n,modelAdminId:i,saveCode:t}):(0,ew.A)(c,{specCode:l,modelAdminId:i,modelURI:n,saveCode:t});return(0,s.jsx)(eb.l,{title:d,useButtonMarkup:a,href:m,onClick:o,variant:r,children:d})},tZ=({RPISimplifiedCtaUri:e,trackCtaClick:t,label:r,variant:a,isDisabled:n=!1})=>(0,s.jsx)(eb.l,{disabled:n,variant:a,onClick:()=>{t?.(),(0,eC.bw)(e)},children:r}),tQ=({cta:e,saveCode:t,variant:r,currentUri:a="",uriWithoutAxs:n="",modelParams:i,trackCtaClick:l,isDisabled:o=!1,uriWithAxs:c="",authenticationPopin:d})=>{let{modelAdminId:u}=i?.model||{},{modelSpecCode:m}=i?.data||{},{type:p,link:h="",label:g}=e;if("rpiSimplified"===p){let e=(0,R.sB)(h,{uriWithAxs:c,uriWithoutAxs:n,modelAdminId:u,saveCode:t});return(0,s.jsx)(tZ,{isDisabled:o,RPISimplifiedCtaUri:e,trackCtaClick:l,label:g,variant:r})}return"priorityPass"===p?(0,s.jsx)(tK.A,{variant:r,configUri:a,ctaLabel:g,ctaLink:h,saveCode:t}):"nvs"===p?(0,s.jsx)(tY,{configUri:a,uriWithoutAxs:n,orderCtaLink:h,label:g,variant:r,isDisabled:!n,i18nPopin:d}):"leadform"===p||"other"===p?(0,s.jsx)(tX,{variant:r,cta:e,currentUri:a,modelAdminId:u,modelSpecCode:m,saveCode:t,trackCtaClick:l}):null},tJ=(0,o.Ng)(({page:{data:e,location:t}})=>({modelParams:e?.modelParams,ctas:e?.configuratorParams?.receipt?.ctas,authenticationPopin:e?.authenticationParams?.authenthificationPopin,isConfigFromGuide:t?.queryParams?.mode?.toLowerCase()==="guide",temporaryCtas:e?.configPageProperties?.temporaryCtas?.ctas}))(({ctas:e,modelParams:t,authenticationPopin:r,variant:a="default",isConfigFromGuide:n,locationInPage:i,temporaryCtas:o})=>{let{dynamicData:c,financeInfo:d}=(0,l.useContext)(S),[,u]=(0,eg.A)();if(n)return null;let{details:m,saveCode:p="",uriWithoutAxs:h,confURI:g}=c||{},{uri:f="",cta:C}=m||{},y=(d.isLoading||!h)??!1,{isRPISimplifiedEnabled:x=!1,onlineSale:E,modelName:_,isPro:b=!1}=t?.model||{},{bto:P,rpass:T}=C||{},j=(({ctas:e,onlineSale:t,isRPISimplifiedEnabled:r,isBto:a,isRpass:n,isPro:i})=>e.filter(e=>(({forCustomerType:e,isPro:t})=>{switch(e){case"pro":return t;case"perso":return!t;default:return!0}})({forCustomerType:e?.forCustomerType||"",isPro:i})&&(({cta:e,onlineSale:t,isRPISimplifiedEnabled:r,isBto:a,isRpass:n})=>{let i=e?.type==="rpiSimplified"&&r,s=e?.type==="leadform"||e?.type==="other",l=e?.type==="nvs"&&"nvs"===t&&a;return e?.type==="priorityPass"&&"priorityPass"===t&&n||s||i||l})({cta:e,onlineSale:t,isRPISimplifiedEnabled:r,isBto:a,isRpass:n})))({ctas:o?(0,A.Hj)(o):(0,A.Hj)(e),onlineSale:E,isRPISimplifiedEnabled:x,isBto:P??!0,isRpass:T??!0,isPro:b}).slice(0,2).map((e,a)=>(0,s.jsx)(tQ,{cta:e,uriWithoutAxs:h,currentUri:f,modelParams:t,saveCode:p,variant:0===a?"cta-ghost":"cta-primary",trackCtaClick:()=>(e=>{let{link:r,label:a,type:n}=e||{},{label:s}=t?.data||{};"leadform"==n&&u({method:"post",url:"/wired/commerce/v2/models/configured-vehicles/config-complete",data:{origin:"ONE",uri:f}}),(0,eC.sB)(r)?(0,v.d)({brochureType:"model-brochure",brochureName:r,vehicleModel:_||s||"",event:"download"}):(0,v.d)({event:"navigationClick",buttonText:a,destination:r,locationInPage:i})})(e),isDisabled:y,uriWithAxs:g,authenticationPopin:r,isBto:P},e?.label));return"onlyCta"===a?j:(0,s.jsx)("div",{className:"OneConfigReceiptCta",children:j})}),t0=(0,o.Ng)(({page:{location:e,data:t}})=>({hidePrices:t?.priceParams?.hidePrices||!1,isInStoreMode:e?.queryParams?.mode==="instore"}))(({hidePrices:e,hideCta:t,isInStoreMode:r})=>{let{dynamicData:a}=(0,l.useContext)(S),n=a?.financeMapping?.model;return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsxs)("div",{className:"OneConfigReceipt",children:[n&&!e&&(0,s.jsx)(tv,{}),(0,s.jsx)(ty,{}),(0,s.jsx)(tU,{})]}),!t&&!r&&(0,s.jsx)(tJ,{locationInPage:"config-recap"})]})});var t1=r(57830);let t5=(0,o.Ng)(({page:e})=>({hidePrices:e?.data?.priceParams?.hidePrices||!1,modelTotalPrice:e?.data?.priceParams?.pricing?.modelTotalPrice,showFinanceDataConfigurator:e?.data?.modelParams?.model?.showFinanceDataConfigurator,isRtl:e?.data?.siteParams?.rtl??!1}))(({showFinanceDataConfigurator:e,hidePrices:t,isRtl:r,modelTotalPrice:a})=>{let{financeInfo:n,isFinanceSwitchHidden:i,dynamicData:o,setIsFinanceSwitchHidden:c}=(0,l.useContext)(S),{details:d,prices:m}=o||{}
1,p=!d?.webDisplayPrices?.displayPrice||t,h=n?.desactivateFinanceSwitch,g=(0,l.useMemo)(()=>({...d,pricedVersion:d?.version}),[d]),f=p?null:(0,s.jsx)("div",{className:"OneConfigHeaderSwitch__container",children:(0,s.jsx)(eQ.r,{startingLabel:a||(0,eR.kH)("wording.totalPrice"),confData:g,hideEfficiencyGraph:!0,prices:m?.prices},d?.uri)});return(0,s.jsx)("div",{className:u()("OneConfigHeaderSwitch",{"is-rtl":r}),children:p?f:(0,s.jsxs)(l.Fragment,{children:[!h&&e&&(0,s.jsxs)("div",{className:"OneConfigHeaderSwitch__toggle",children:[(0,s.jsx)(t1.d,{id:"headerFinanceToggle",name:"headerFinanceToggle",value:!i,size:"small",onChange:()=>{c?.(!i),(0,v.d)({event:"toggle",toggleType:"financeOptions",toggleValue:i?"on":"off"})},disabled:n?.isLoading}),(0,s.jsx)("span",{className:"OneConfigHeaderSwitch__toggleLabel",children:i?(0,eR.kH)("wording.financingOption"):(0,eR.kH)("wording.cashPurchase")})]}),i?f:(0,s.jsx)("div",{className:u()("OneConfigHeaderSwitch__toggleContent",{"is-show":!i}),children:(0,s.jsxs)("div",{className:u()("OneConfigHeaderSwitch__FinancialOffer OneConfigHeaderSwitch__contentDisplay",{"is-hidden":i}),children:[(0,s.jsx)(tg.e,{withProductType:!0,offer:n?.offer,tracking:{locationInPage:"ModelHeader"},isLoading:n?.isLoading,onSimulatorClick:n?.showSimulatorModalHandler}),!th()(n?.offer)&&(0,s.jsx)("span",{className:"OneConfigHeaderSwitch__separator"})]})})]})})}),t2=(0,o.Ng)(({page:e})=>({summaryOfYourModel:e?.data?.configuratorParams?.cartOverlay?.summaryOfYourModel,receiptTitle:e?.data?.configuratorParams?.receipt?.title,receiptAccessLabel:e?.data?.configuratorParams?.receipt?.receiptAccessLabel,homePage:e?.data?.homePage,modelParams:e?.data?.modelParams,lastSlugWithoutPopinOrConfig:e?.lastSlugWithoutPopinOrConfig,modelHomepageURL:e?.data?.modelParams?.model?.modelHomepageURL,isInStoreMode:e.location?.queryParams?.mode==="instore"}))(({modelHomepageURL:e,lastSlugWithoutPopinOrConfig:t,homePage:r,receiptTitle:a,summaryOfYourModel:n,receiptAccessLabel:i,modelParams:o,isInStoreMode:c})=>{let{isCartOpened:d,setIsCartOpened:u}=(0,l.useContext)(S),{data:m,model:p}=o||{},h=p?.modelName||m?.label,g=n&&h?`${n} ${h}`:a;return(0,s.jsxs)("div",{className:"OneConfigHeader",children:[d&&(0,s.jsxs)(eY.lG,{variant:"side-panel",onClose:()=>u?.(!1),title:g,size:"medium",alternativeBackground:!0,children:[(0,s.jsx)(eY.Cf,{children:(0,s.jsx)(t0,{hideCta:!0})}),(0,s.jsx)(eY.ii,{variant:"sticky",alternativeBackground:!0,children:!c&&(0,s.jsx)(tJ,{locationInPage:"config-ticket",variant:"onlyCta"})})]}),!c&&(0,s.jsx)(tu.R,{href:t||e||r,className:"OneConfigHeader__back",children:(0,eR.kH)("wording.backCTA")}),(0,s.jsxs)("div",{className:"OneConfigHeaderSwitch__scrollchor",children:[!c&&(0,s.jsx)("div",{className:"OneConfigHeaderSwitch__cta",children:(0,s.jsx)(tJ,{locationInPage:"config-header",variant:"onlyCta"})}),(0,s.jsx)(eb.l,{variant:"cta-ghost",isRounded:!0,useButtonMarkup:!0,icon:i?void 0:tm.A,type:"button",onClick:()=>{(0,v.d)({event:"navigationClick",buttonText:n,destination:T.SUMMARY.name,locationInPage:"config-header"}),u?.(!0)},children:i})]}),(0,s.jsx)(t5,{})]})}),t6=()=>(0,s.jsx)("div",{className:"OneConfigProgressBar"});var t3=r(41316),t4=r(64511);let t7=({currency:e,label:t,price:r,isTotal:a})=>(0,s.jsxs)("div",{className:u()("OneConfigConflictPrice"),children:[t&&(0,s.jsx)("div",{className:u()("OneConfigConflictPrice__label",{"is-total":a}),children:t}),(0,s.jsx)("div",{className:"OneConfigConflictPrice__dots"}),(0,s.jsx)("div",{className:"OneConfigConflictPrice__value",children:(0,s.jsx)(t4.N,{currency:e,price:r})})]}),t8=({title:e,children:t,isPack:r})=>(0,s.jsxs)("div",{className:"OneConfigConflictSummary",children:[e&&(0,s.jsx)("div",{className:u()("OneConfigConflictSummary__title",{"is-pack":r}),children:e}),(0,s.jsx)("div",{className:"OneConfigConflictSummary__children",children:t})]}),t9=({allPictures:e,itemCode:t,altText:r="",equipmentGlossaryNotes:a,accessoryGlossaryNotes:n,brand:i})=>{let l=e.find(e=>e?.specCode===t)?.url;if(l)return(0,s.jsx)(eI._,{alt:r,src:{small:l},sizes:"100vw",height:"100%",width:"100%"});if(a?.length&&t){let e=$({multimediaCards:a,isAccessory:!1,key:t})?.assets;if(e?.length){let t=(0,O.CF)(e,i);if(t)return(0,s.jsx)(eI._,{alt:r,src:{small:t},sizes:"100vw",height:"100%",width:"100%"})}}if(n?.length&&t){let e=$({multimediaCards:n,isAccessory:!0,key:`A
1XS$${t}`})?.assets;if(e?.length){let t=(0,O.CF)(e,i);if(t)return(0,s.jsx)(eI._,{alt:r,src:{small:t},sizes:"100vw",height:"100%",width:"100%"})}}return(0,s.jsx)(tP.E,{alt:r})},re=(0,o.Ng)(({page:{data:e}})=>{let t=e?.configuratorParams?.conflict;return{impliedItemLabel:t?.impliedItemLabel,totalPriceLabel:t?.totalPriceLabel,title:t?.title,yourChoiceLabel:t?.yourChoiceLabel,selectedItemLabel:t?.selectedItemLabel,siteParams:e?.siteParams}}),rt=(e,t=!0)=>{let r="price"in e?e.price:"optionPrice"in e?e.optionPrice:0;return t?r??0:"offer"in e&&e.offer?.discountedPrice!==void 0?e.offer.discountedPrice:r??0},rr=re(({impliedItemLabel:e,totalPriceLabel:t,title:r,yourChoiceLabel:a,selectedItemLabel:n,siteParams:i})=>{let{conflict:o,setConflict:c,staticData:d,dynamicData:u,setCurrentUri:m}=(0,l.useContext)(S),{offers:p,offer:h}=u?.details||{},{designPictures:g,equipmentGlossaryNotes:f,accessoryGlossaryNotes:v}=d||{},C=i?.brand,y=(0,l.useMemo)(()=>{let e;return e=g||[],e?.filter(e=>Array.isArray(e?.pictures)).flatMap(e=>e?.pictures||[])||[]},[g]),{hideDiscount:x=!0}=(0,L.D)(p,h?.offerId)||{},E=o?.data?.priceInfo?.currency||"EUR",_=x?o?.data?.oldPrice:o?.data?.offerOldPrice?.discountedPrice,b=x?o?.data?.newPrice:o?.data?.offerNewPrice?.discountedPrice,{itemsWithPack:P,itemsWithoutPack:T}=(0,l.useMemo)(()=>{let e,t,r=(e=o?.data?.involvements||[],t=o?.item?.code,e.filter(e=>{if(e.code===t||"OPTION_PACK"===e.versionCategory||"OPTION"!==e.versionCategory&&"PACK"!==e.versionCategory)return!1;let r=e.offer?.discountedPrice,a=e.price;return void 0!==r||void 0!==a}));return{itemsWithPack:r.filter(e=>Array.isArray(e.packItems)&&e.packItems.length>0),itemsWithoutPack:r.filter(e=>!e.packItems||0===e.packItems.length)}},[o?.data?.involvements,o?.item?.code]),j=(0,l.useMemo)(()=>T.filter(e=>0!==rt(e,x)),[T,x]),N=(0,l.useMemo)(()=>P.filter(e=>0!==rt(e,x)).map(e=>({...e,packItems:e.packItems?.filter(e=>(0,D.Ib)(e.label))})),[P,x]);if(!o)return null;let I=()=>{c?.(void 0)};return(0,s.jsxs)(eY.lG,{variant:"side-panel",onClose:I,title:r,size:"medium",alternativeBackground:!0,children:[(0,s.jsx)(eY.Cf,{children:(0,s.jsxs)("div",{className:"OneConfigConflicts__container",children:[(0,s.jsxs)(t8,{title:n,children:[(0,s.jsx)(t3.E,{variant:"info",design:"strong",children:a}),o?.item&&(0,s.jsxs)("div",{className:"OneConfigConflicts__row",children:[(0,s.jsx)("div",{className:"OneConfigConflicts__picture",children:(0,s.jsx)(t9,{allPictures:y,itemCode:o?.item?.code,altText:o?.item?.label,equipmentGlossaryNotes:f,accessoryGlossaryNotes:v,brand:C})}),(0,s.jsx)(t7,{label:o?.item.label,price:rt(o?.item,x),currency:E},o?.item.code)]})]}),j.length>0&&(0,s.jsx)(t8,{title:e,children:j.map(e=>(0,s.jsxs)("div",{className:"OneConfigConflicts__row",children:[(0,s.jsx)("div",{className:"OneConfigConflicts__picture",children:(0,s.jsx)(t9,{allPictures:y,itemCode:e.code,altText:e.label,equipmentGlossaryNotes:f,accessoryGlossaryNotes:v,brand:C})}),(0,s.jsx)(t7,{label:e.label,price:rt(e,x),currency:E},e.code)]},e.code))}),N.length>0&&(0,s.jsx)(t8,{title:e,isPack:!0,children:N.map(e=>(0,s.jsxs)("div",{className:"OneConfigConflicts__row",children:[(0,s.jsx)("div",{className:"OneConfigConflicts__picture",children:(0,s.jsx)(t9,{allPictures:y,itemCode:e.code,altText:e.label,equipmentGlossaryNotes:f,accessoryGlossaryNotes:v,brand:C})}),(0,s.jsx)(tN,{packAndEquipments:[e],details:o?.data,withoutPrice:!1},e.code)]},e.code))}),(0,s.jsx)(t8,{children:(0,s.jsx)(t7,{label:t,price:(b||0)-(_||0),currency:E,isTotal:!0})})]})}),(0,s.jsxs)(eY.ii,{alternativeBackground:!0,children:[(0,s.jsx)(eb.l,{onClick:I,useButtonMarkup:!0,variant:"cta-ghost",children:(0,eR.kH)("wording.cancelCTA")}),(0,s.jsx)(eb.l,{onClick:()=>{o?.item?.nextURI&&m?.(o.item.nextURI),c?.(void 0)},useButtonMarkup:!0,variant:"cta-primary",children:(0,eR.kH)("wording.confirm")})]})]})});var ra=((a={}).PESELL="PESELL",a.PECOUL="PECOUL",a.PEJANT="PEJANT",a),rn=r(50618),ri=r(18847),rs=r(5789),rl=r(36402);let ro=()=>(0,s.jsx)("div",{className:"OneConfigLoader"});var rc=r(75457),rd=r(52964),ru=r(22053),rm=r(13654),rp=r(94168),rh=r(13323);function rg(){return(rg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(null,arguments)}let rf=e=>l.createElement("svg",rg({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),n||(n=l.createElement("path",{d:"M19.926 6.3a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0m1 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M1.098 12.685c0-.824.455-1.531 1.11-2.097.656-.567 1.57-1.045 2.64-1.426l.402 1.131c-.99.352-1.752.768-2.257 1.203-.506.437-.696.842-.696 1.189 0 .296.136.63.488.993.355.367.899.73 1.626 1.062 1.453.66 3.523 1.142 5.91 1.297l-.078 1.198c-2.485-.162-4.707-.664-6.329-1.403-.81-.368-1.498-.81-1.992-1.32-.496-.513-.824-1.13-.824-1.827m20.604 0c0-.333-.174-.717-.634-1.134s-1.159-.819-2.072-1.167l.428-1.121c.994.379 1.841.847 2.45 1.398.61.552 1.028 1.236 1.028 2.024 0 .697-.328 1.314-.825 1.827-.494.51-1.182.952-1.992 1.32-1.622.739-3.844 1.24-6.33 1.403l-.077-1.198c2.387-.155 4.457-.636 5.91-1.297.727-.332 1.272-.695 1.627-1.062.352-.364.487-.697.487-.993"})),i||(i=l.createElement("path",{d:"M9.206 14.086c.376.347.811.785 1.188 1.191.366.394.713.797.882 1.062l-.081.747c-.238.237-.733.602-1.244.942-.523.347-1.126.71-1.609.938l-.543.255-.511-1.085.542-.256c.407-.191.955-.518 1.457-.85.249-.167.472-.325.652-.46a22 22 0 0 0-1.547-1.604l-.441-.406.814-.881.44.407zm6.71-1.524q-.475 0-.86-.157a1.3 1.3 0 0 1-.605-.512q-.22-.355-.22-.942V9.14q0-.587.22-.942.227-.356.605-.512.385-.157.86-.157.474 0 .86.157.384.156.605.512.227.355.227.942v1.81q0 .586-.227.942a1.25 1.25 0 0 1-.605.512 2.3 2.3 0 0 1-.86.157zm0-.928q.288 0 .454-.164.165-.165.165-.52V9.142q0-.355-.165-.519-.166-.164-.454-.164-.29 0-.454.164-.159.164-.158.52v1.809q0 .355.158.519.165.164.454.164zm-3.856.928q-.474 0-.86-.157a1.3 1.3 0 0 1-.605-.512q-.227-.355-.227-.942V9.14q0-.587.234-.942.234-.356.626-.512.399-.157.894-.157.434 0 .743.123.31.116.502.307a1.18 1.18 0 0 1 .378.853q0 .246-.123.342-.117.09-.379.089a1 1 0 0 1-.392-.075q-.165-.082-.165-.315a.3.3 0 0 0-.082-.218.5.5 0 0 0-.22-.13.9.9 0 0 0-.296-.048q-.303 0-.475.164t-.172.52v.614a.8.8 0 0 1 .385-.24q.228-.06.475-.06.392 0 .715.13.33.13.53.443.2.315.2.86v.062q0 .586-.228.942a1.25 1.25 0 0 1-.605.512 2.2 2.2 0 0 1-.853.157zm0-.86q.29 0 .447-.157.165-.164.165-.52v-.06q0-.375-.165-.533-.157-.157-.454-.157a.68.68 0 0 0-.447.143q-.165.144-.165.485v.123q0 .355.165.519.165.157.454.157m-3.887.86a2.2 2.2 0 0 1-.757-.116 1.6 1.6 0 0 1-.509-.314 1.22 1.22 0 0 1-.371-.86q0-.233.11-.308.116-.081.399-.082.33 0 .44.082.11.075.11.274 0 .123.048.198.056.074.138.123a1 1 0 0 0 .2.061q.11.014.226.014.351 0 .489-.137.144-.143.144-.478v-.13q0-.34-.193-.444a.96.96 0 0 0-.467-.102q-.172 0-.241-.13a.6.6 0 0 1-.069-.28q0-.156.069-.28.069-.13.24-.13.132 0 .255-.027a.34.34 0 0 0 .2-.157q.082-.129.082-.403 0-.3-.151-.396a.63.63 0 0 0-.358-.095q-.123 0-.22.02a.4.4 0 0 0-.165.055.3.3 0 0 0-.096.11.4.4 0 0 0-.028.163.4.4 0 0 1-.103.28q-.096.11-.399.11-.247 0-.364-.035a.25.25 0 0 1-.159-.137.8.8 0 0 1-.034-.259q0-.198.076-.41.083-.218.261-.403a1.3 1.3 0 0 1 .488-.293q.303-.116.743-.116t.784.116.544.389q.206.267.206.73 0 .376-.137.69-.131.315-.393.43.303.11.503.349.2.24.199.655v.13q0 .56-.234.902a1.36 1.36 0 0 1-.633.491q-.392.15-.873.15"}))),rv=({is3DViewer:e,isFullScreen:t,onChangeScreen:r,onCarViewer3DClick:a})=>{let n=t?rh.A:rp.A;return(0,s.jsx)("div",{className:"OneConfigMultiStaticControlPanel",children:(0,s.jsxs)(rm.Z,{children:[(0,s.jsx)(rm.K,{onClick:a,icon:rf,isActive:e},"interaction-spinner"),(0,s.jsx)(rm.K,{onClick:r,icon:n,isActive:t},"fullscreen")]})})},rC=({is3DViewer:e,isFullScreenControlled:t,toggleFullScreenControlled:r,confURI:a,currentStepName:n,onCarViewer3DClick:i})=>{let{dynamicData:o,multiStaticPlaceholders:c,multiStaticUrls:d}=(0,l.useContext)(S),m=o?.details?.label??"Vehicle 3D Image",p=d?.length,h=j(n),g=h?.multiStaticViewerIndex,[f,v]=(0,l.useState)(void 0),C=Array.from({length:p},(e,t)=>t),y=(0,l.useCallback)(({isScrolling:e,activeChildIndex:t})=>{e||v(t-1<0?p-1:(t-1)%p)}
1,[p]);return(0,l.useEffect)(()=>{v(g)},[g]),(0,s.jsxs)("div",{className:u()("OneConfigMultiStatic",{"is-fullScreen":t}),children:[!t&&0===g&&c?.[g]&&(0,s.jsx)("div",{className:"OneConfigMultiStatic__placeholder",children:(0,s.jsx)(eI._,{src:c[g],alt:m,sizes:"100vw",height:"100%",width:"100%",disableLazyLoaded:!0})}),(0,s.jsxs)("div",{className:"OneConfigMultiStatic__carousel",children:[!!p&&n!==T.SUMMARY.name&&a&&(0,s.jsx)(rd.F,{variant:rd.m.DEFAULT,defaultSelectedSlideIndex:void 0!==f?f:g,onInteraction:y,children:C.map(e=>(0,s.jsx)("div",{className:"OneConfigMultiStatic__img",children:(0,s.jsx)(rc.FW,{children:(0,s.jsx)(rc.Ny,{children:void 0!==e&&d?.[e]&&(0,s.jsx)(rc.PY.div,{className:"OneConfigMultiStatic__imgInnerwrapper",exit:{opacity:0},transition:{ease:"easeOut",type:"tween"},children:(0,s.jsx)(eI._,{src:{small:d[e]},alt:m,sizes:"100vw",height:"100%",width:"100%"})},d[e])})})},`${I}-${e}`))},"multistatic-carousel"),(0,s.jsx)(rv,{is3DViewer:e,isFullScreen:t,onChangeScreen:()=>r(!t),onCarViewer3DClick:i})]}),(0,s.jsx)("div",{className:"OneConfigMultiStatic__thumbnails",children:(0,s.jsx)(ru.O,{value:f||0,onChange:v,thumbnails:d.map(e=>({src:{small:e}}))})})]})},ry=(0,l.memo)(({withoutControls:e,isInterior:t=!1,forMobileStep:r})=>{let[a,n]=(0,l.useState)(!1),[i,o]=(0,l.useState)(!1),{dynamicData:c,staticData:d,isDynamicDataLoading:u,currentUri:m,isViewerLoading:p}=(0,l.useContext)(S),{currentStepName:h}=(0,l.useContext)(tc),[g,f]=(0,l.useState)(!1),{scene:v}=c||{},{views:C}=d||{},y=e=>()=>{f(e)};return(0,ey.A)(()=>(i?document.body.classList.add(rl.kh):document.body.classList.remove(rl.kh),()=>{document.body.classList.remove(rl.kh)})),(0,s.jsxs)("div",{className:"OneConfigViewer",children:[(u||g||p)&&(0,s.jsx)("div",{className:"OneConfigViewer__loaderWrapper",children:(0,s.jsx)("div",{className:"OneConfigViewer__loader",children:(0,s.jsx)(ro,{})})}),a&&C&&v&&(0,s.jsx)("div",{className:"OneConfigViewer__CarViewer3D",children:(0,s.jsx)(rl.Ay,{isFullScreenControlled:i,toggleFullScreenControlled:o,withoutControls:e,handleLoadStart:y(!0),handleLoadEnd:y(!1),isInterior:t||r?.isInterior,viewsNode:C,scene:v,isBlockLayout:!0,onMultiStaticClick:()=>n(!a),withMultiStatic:!0})}),!a&&(0,s.jsx)(rC,{is3DViewer:a,isFullScreenControlled:i,toggleFullScreenControlled:o,confURI:m||"",currentStepName:r?.componentKey??h,onCarViewer3DClick:()=>n(!a)})]})}),rx=({step:e})=>(0,s.jsx)("div",{className:"OneConfigSideViewer",children:(0,s.jsx)(ry,{forMobileStep:e})}),rE=(0,o.Ng)(({page:{data:e}})=>({hidePrices:e?.priceParams?.hidePrices||!1,currency:e?.c2gParams?.currency,includedLabel:e?.configuratorParams?.design?.includedLabel}))(({label:e,includedLabel:t,currency:r,optionPrice:a,isInTooltip:n,hidePrices:i=!1,isPack:l})=>{let o=a&&"0"!==a,c=!o&&l?(0,eR.kH)("wording.packagedEquip"):t;return(0,s.jsxs)("div",{className:u()("OneConfigDesignSubSectionSelectionTitle",{"is-inTooltip":n}),children:[(0,s.jsxs)("div",{className:"OneConfigDesignSubSectionSelectionTitle__label",children:[(0,s.jsx)("p",{children:e}),(0,s.jsx)(tT,{value:e,children:(0,s.jsx)("button",{className:"OneConfigDesignSubSectionSelectionTitle__cta",type:"button",children:(0,s.jsx)(tb.m,{size:"small"})})})]}),!i&&(0,s.jsx)("div",{className:"OneConfigDesignSubSectionSelectionTitle__optionPrice",children:o?(0,s.jsxs)("div",{children:["+ ",(0,s.jsx)(rn.w,{value:a,currency:r})]}):(0,s.jsx)("p",{children:c})})]})}),r_=(0,o.Ng)(({page:{data:e}})=>({hidePrices:e?.priceParams?.hidePrices||!1,includedLabel:e?.configuratorParams?.design?.includedLabel,currency:e?.c2gParams?.currency,isLCV:e?.modelParams?.model?.modelType==="LCV"})),rb=(e,t)=>{let r=e?.offer===void 0||t?e?.optionPrice:e?.offer?.discountedPrice;return r?.toString()},rP=({designItems:e,hideDiscount:t})=>e.map(({category:e=[],label:r},a)=>(0,s.jsx)(l.Fragment,{children:e.map(e=>{let{label:r,inCompletion:a,code:n,versionCategory:i}=e||{},l=rb(e,t);return r&&a&&(0,s.jsx)(rE,{isPack:"PACK"===i,label:r,optionPrice:l},n)})},r??a)),rT=({option:e,itemPictures:t,currency:r,hideDiscount:a,hidePrices:n,isLoading:i,onChange:o,includedLabel:c})=>{let{label:d,code:m,versionCategory:p,inCompletion:h}=e||{},g=rb(e,a),f="PACK"===p;return(0,s.jsxs)("li",{className:u()("OneConfigDesignSubSection__option",{"is-selected":!i&&h}),children:[(0,s.jsxs)(ri.m_,{children:[(0,s.jsx)(ri.k$,{tabIndex:-1,
1children:(0,s.jsx)(rs.H,{imgSrc:{small:t?.find(e=>e.specCode===m)?.url},alt:d||"",value:h,isLoading:i,onChange:()=>o(e)})}),(0,s.jsx)(ri.ZI,{children:(0,s.jsx)(rE,{isInTooltip:!0,isPack:f,label:d,optionPrice:g})})]}),!n&&(0,s.jsx)("div",{className:"OneConfigDesignSubSection__price",children:g&&"0"!==g?(0,s.jsxs)(l.Fragment,{children:["+ ",(0,s.jsx)(rn.w,{value:g,currency:r})]}):g&&f?(0,eR.kH)("wording.packagedEquip"):c})]})},rj=r_(({items:e,itemPictures:t,groupCode:r,label:a,currency:n,scene:i,includedLabel:o,tooltipDescription:c,hideDiscount:d=!0,hidePrices:m,isLCV:p,ref:h})=>{let{setCurrentUri:g,isDynamicDataLoading:f,handleConflictItem:C}=(0,l.useContext)(S),y=async e=>{e.inConflict&&await C?.(e)||g?.(e?.nextURI),(0,v.d)({event:"configuratorSelect",itemName:e?.label,componentKey:r?.toLowerCase()})};if(!a&&(!e||0===e.length))return null;let x=e?.map(e=>e.category?.length??0).reduce((e,t)=>e+t,0);return(0,s.jsxs)(l.Fragment,{children:[!!i&&!!e?.length&&(0,s.jsx)(rx,{step:((e,t)=>{let r={[ra.PECOUL]:"DESIGN_COLORS",[ra.PEJANT]:"DESIGN_WHEELS",[ra.PESELL]:"DESIGN_UPHOLSTERIES"},a=e?r[e]:void 0;if(a)return t?P[a]:T[a]})(r,p)}),!!e?.length&&(0,s.jsxs)(te.VZ,{ref:h,"aria-labelledby":a?"subsection-heading":void 0,children:[!!a&&!!e?.length&&(0,s.jsx)(te.GT,{id:"subsection-heading",title:a,counter:x,tooltip:c}),(0,s.jsxs)(te.gT,{children:[(0,s.jsx)("div",{className:"OneConfigDesignSubSection__optionPriceWrapper",children:(0,s.jsx)(rP,{designItems:e,hideDiscount:d})}),(0,s.jsx)("div",{className:"OneConfigDesignSubSection__optionsGroupWrapper",children:e.map(({category:r,label:a},i)=>{let l=r?.find(e=>void 0!==e.categoryOrder)?.categoryOrder??1;return(0,s.jsxs)("fieldset",{className:u()("OneConfigDesignSubSection__category",{"is-extra-category":l>1}
1),children:[a&&e.length>1&&(0,s.jsx)("legend",{className:"OneConfigDesignSubSection__legend",children:(0,s.jsxs)("span",{className:"OneConfigDesignSubSection__optionTitle",children:[a,(0,s.jsx)("span",{className:"OneConfigDesignSubSection__badgeWrapper",children:(0,s.jsx)(t3.E,{variant:"info","aria-label":`${r?.length} options`,design:"outlined",children:r?.length})})]})}),r?.map(({code:t,inCompletion:r})=>t&&r&&(0,s.jsx)("div",{className:"OneConfigDesignSubSection__optionInfo",children:(0,s.jsx)(rP,{designItems:e,hideDiscount:d})},t)),(0,s.jsx)("ul",{className:"OneConfigDesignSubSection__optionList",role:"list",children:r?.map(e=>(0,s.jsx)(rT,{option:e,itemPictures:t,hideDiscount:d,includedLabel:o,isLoading:f,onChange:y,currency:n,hidePrices:m},e.code))})]},a??i)})})]})]})]})}),rN=()=>{let{staticData:e,dynamicData:t}=(0,l.useContext)(S),{onStepChange:r}=(0,l.useContext)(tc),{design:a,scene:n,details:i}=t||{},{designPictures:c}=e||{},{offers:d,offer:u}=i||{},{hideDiscount:m=!0}=(0,L.D)(d,u?.offerId)||{},p=(0,o.d4)(({page:{data:e}})=>e?.configPageProperties?.personalization?.hideColor||!1),h=(0,l.useMemo)(()=>{let e;return e=[],c?.forEach(t=>{let r=eo(a,t.code||"");r&&0!==r.length&&r.forEach(r=>{if(!((r?.possibles?.length??0)>0||(r?.implications?.length??0)>0||(r?.conflicts?.length??0)>0))return;let a=U(r).map(e=>({...e,inConflict:r?.implications?.some(t=>t.code===e.code)||r?.conflicts?.some(t=>t.code===e.code)})),n=t.code,i={label:r?.categoryLabel,category:(0,D.oV)(a)},s=e.find(e=>e.designCode===n);s?s.items?.push(i):i?.category?.length&&e.push({anchorId:t.code,key:r?.code,items:[i],itemPictures:t.pictures,groupCode:t.groupCode,label:t?.label,designCode:t.code})})}),e},[a,c]),{ref:g}=(0,tt.A)(ed({step:T.DESIGN_COLORS,onStepChange:r})),{ref:f}=(0,tt.A)(ed({step:T.DESIGN_UPHOLSTERIES,onStepChange:r})),{ref:v}=(0,tt.A)(ed({step:T.DESIGN_WHEELS,onStepChange:r}));return h.map(({anchorId:e,designCode:t,groupCode:r,itemPictures:a,items:i,key:l,label:o})=>{let c=null;return t===_.b1.COLORS&&(c=g),t===_.b1.WHEELS&&(c=v),t===_.b1.UPHOLSTERIES&&(c=f),p&&t===_.b1.COLORS?void 0:(0,s.jsx)("div",{className:"OneConfigDesign",id:e,children:(0,s.jsx)(rj,{scene:n,items:i,itemPictures:a,groupCode:r,label:o,ref:c,hideDiscount:m})},l)})};var rI=r(87e3),rS=r(49232);let rA=({label:e,value:t})=>(0,s.jsx)("div",{className:"OneConfigDetailsLine",children:(0,s.jsxs)("dl",{className:"OneConfigDetailsLine__wrapper",children:[(0,s.jsx)("dd",{children:(0,s.jsxs)("p",{className:"OneConfigDetailsLine__label",children:[e," ",(0,s.jsx)(tT,{value:t,children:(0,s.jsx)(tb.m,{size:"small"})})]})}),(0,s.jsx)("dd",{className:"OneConfigDetailsLine__value",children:(0,s.jsx)(t3.E,{variant:"info",design:"strong",children:t})})]})});var rw=r(89502);let rO=({isEngineDisplayedFirst:e=!1,isLCV:t=!1,dynamicData:r,staticData:a,modelData:n})=>{let i,s,l,o,c,d=r?.details?.version;if(t&&r?.details?.lcv&&a?.bodyTypes?.length)return((e,t)=>{let r,a,n=e?.details?.lcv,i=e?.details?.version?.engine?.label,s=e?.details?.version?.grade?.code,l=t?.bodyTypes?.find(e=>e.code===n?.bodyType?.code),o=l?.dimensions?.find(e=>e.code===n?.dimension?.code),c=o?.ptacs?.find(e=>e.code===n?.grossVehicleMass?.code),d=c?.transmissions?.find(e=>e.code===n?.transmission?.code),u=n?.twinWheels?n?.twinWheels?.specCode:n?.transmission?.code,m=d?.twinWheels?.find(e=>e?.code===u)?.constrainedDocs,p=Array.isArray(m?.engines)?m.engines:[],h=p.find(e=>e.label===i);return h&&"grades"in h&&(r=h.grades?.find(e=>e?.code===s),a=h.grades?.map(e=>({value:e?.label||"",text:e?.label||"",nextURI:e?.nextURI}))),{gradeEnergyCategories:[h].map(e=>({code:e?.code,energyCategory:e?.energyCategory,mainFuelTypeCode:e?.mainFuelTypeCode})),gradeOptions:a,gradeSelected:r?.label,gradeUri:r?.nextURI,currentGrade:r,currentVersion:h,currentEngine:h,engineSelected:h?.label,engineOptions:p.map(e=>({value:e.label||"",text:e.label||"",nextURI:e.nextURI}))}})(r,a);if(e){let e,t,r;return a?.engines,e=a?.engines,t=e?.find(e=>e?.label===d?.engine?.label),r=t?.grades?.find(e=>e?.code===d?.grade?.code),{gradeEnergyCategories:[t].map(e=>({code:e?.code,energyCategory:e?.energyCategory,mainFuelTypeCode:e?.mainFuelTypeCode})),gradeOptions:t?.grades?.map(e=>({value:e?.label||"",text:e?.label||"",nextURI:e?.nextURI,fastTrack:e?.fastTrack})),gradeSelected:r?.label,gradeUri:r?.nextURI,currentGrade:r,currentVersion:t,currentEngine:t,engineSelected:t?.label,engineOptions:e?.map(e=>({value:e?.label||"",text:e?.label||"",nextURI:e?.nextURI}))}}return i=n?.grades?.find(e=>e?.code===d?.grade?.code),s=i?.versions?.find(e=>e?.label===d?.label),l=n?.engines?.find(e=>e?.label===s?.engineName),o=i?.versions?.reduce((e,t)=>
1t?.engineName&&t?.uri?[...e,{value:t.engineName,text:t.engineName,nextURI:t.uri}]:e,[]),c=n?.grades?.reduce((e,t)=>t?.label&&t?.uri?[...e,{value:t.label,text:t.label,nextURI:t.uri,fastTrack:t.fastTrack}]:e,[]),{gradeEnergyCategories:i?.versions?.map(e=>({code:e?.code,energyCategory:e?.energyCategory,mainFuelTypeCode:e?.mainFuelTypeCode})),gradeOptions:c,gradeSelected:i?.label,gradeUri:i?.uri,currentGrade:i,currentVersion:s,currentEngine:l,engineSelected:s?.engineName,engineOptions:o}},rR=(e,t=[])=>1===t.length?t[0]:e?t.find(t=>t?.code===e):void 0,rD=(e,t)=>{let r=e||[],a=rR(t.bodyType,r),n=a?.dimensions||[],i=rR(t.dimension,n),s=i?.ptacs||[],l=rR(t.ptac,s),o=l?.transmissions||[],c=rR(t.transmission,o),d=c?.twinWheels||[],u=rR(t.twinWheels,d),m=u?.constrainedDocs?.engines||[],p=rR(t.engine,m),h=(p?.grades||[]).filter(e=>!!e),g=rR(t.grade,h);return{bodyType:{options:r,current:a,isDisabled:r.length<=1},dimension:{options:n,current:i,isDisabled:n.length<=1},ptac:{options:s,current:l,isDisabled:s.length<=1},transmission:{options:o,current:c,isDisabled:o.length<=1},twinWheels:{options:d,current:u,isDisabled:d.length<=1},engine:{options:m,current:p,isDisabled:m.length<=1},grade:{options:h,current:g,isDisabled:h.length<=1}}};var rL=r(20987),rM=r(54961),rk=r(62496),rV=r(81569),rH=r(69588),rF=r(84938),rU=r(51421);let rG=["bodyType","dimension","ptac","transmission","twinWheels","engine","grade"],rB=()=>{let{staticData:e,dynamicData:t}=(0,l.useContext)(S),{showOnlyDifferences:r}=(0,rH.iM)(),a=(0,o.d4)(({page:{data:e}})=>e?.modelParams?.data),n=(0,o.d4)(({page:{data:e}})=>e?.modelParams?.model),i=(0,o.d4)(({page:{data:e}})=>e?.modelParams?.gradesParams),c=(0,o.d4)(({page:{data:e}})=>e?.siteParams?.language),d=(0,o.d4)(({page:{data:e}})=>e?.siteParams?.country),u=(0,o.d4)(({page:{data:e}})=>e?.c2gParams?.currency),m=(0,o.d4)(({page:{data:e}})=>e?.professionalParams?.isPro),p=(0,o.d4)(({page:{data:e}})=>e?.priceParams?.hidePrices||!1),h=(0,o.d4)(({page:{data:e}})=>e?.configuratorParams?.lcv),g=(0,o.d4)(({page:{data:e}})=>e?.configuratorParams?.grade),f=(0,o.d4)(({page:{data:e}})=>e?.vehicleComparatorParams),{priceType:v}=n||{},{bodyTypeTitle:C,dimensionTitle:y,ptacTitle:x,transmissionTitle:E,wheelTitle:_}=h||{},{engineLabel:b,title:P}=g||{},{priceFinancingLabel:T,specificationsLabel:j,slideChangeAngleLabel:N,displayDifferencesLabel:I,optionalLabel:A}=f?.labels||{},{lcv:w}=t?.details||{},{currentEngine:O,currentGrade:R}=rO({isLCV:!0,dynamicData:t,staticData:e}),[D,L]=(0,l.useState)(()=>({bodyType:w?.bodyType?.code,dimension:w?.dimension?.code,ptac:w?.grossVehicleMass?.code,transmission:w?.transmission?.code,twinWheels:w?.twinWheels?.specCode,engine:O?.code,grade:R?.code})),[M,k]=(0,l.useState)({}),[V,H]=(0,l.useState)(!1),[F,U]=(0,l.useState)(!1),[G,B]=(0,l.useState)(),[z,q]=(0,l.useState)(),[,W]=(0,eg.A)({method:"get",url:"/agg/v1/vn/model/slice43vC",returnPromise:!0}),[,$]=(0,eg.A)({method:"get",url:"/agg/v1/vn/model/slice43vC",returnPromise:!0}),Y=(0,l.useMemo)(()=>rD(e?.bodyTypes,D),[e,D]),K=(0,l.useMemo)(()=>rD(e?.bodyTypes,M),[e,M]),X=(0,l.useCallback)(async(e,t,r)=>{if(!e||!t)return;r?H(!0):U(!0);let a=r?W:$;try{let r=await a({params:{language:c,priceType:v,country:d,uri:t,isPro:String(m)}});if(!r)return;return{...e,...r.data}}catch(e){return}finally{r?H(!1):U(!1)}},[d,m,c,v,W,$]),Z=Y.grade.current,Q=K.grade.current,J=Y.engine.current?.nextURI||Y.bodyType.current?.nextURI,ee=K.engine.current?.nextURI||K.bodyType.current?.nextURI,et=(0,l.useCallback)((t,r,a)=>{let n=t?D:M,i=t?L:k,s=t?B:q,l=rG.indexOf(r),o={};rG.slice(0,l).forEach(e=>{o[e]=n[e]}),o[r]=a,i(o);let c=rD(e?.bodyTypes,o),d=c.engine.current,u=c.grade.current;d&&(0===c.grade.options.length||u)?X(d,u?.nextURI||d?.nextURI,t).then(e=>{s(e)}):s(void 0)},[X,D,M,e]);(0,rL.A)(()=>{let e=Y.engine.current,t=Y.grade.current;e&&X(e,t?.nextURI||e?.nextURI,!0).then(B)});let er=G?.energyCategory==="electric"?rU.A:rF.A,ea=(0,rM.WC)(er,u,G,z,r);return T&&ea.unshift({title:T,code:"priceFinancing",type:"financing"}),(0,s.jsxs)("div",{className:"OneConfigLCVComparator",children:[(0,s.jsxs)("div",{className:"OneConfigLCVComparator__columns",children:[(0,s.jsxs)("div",{className:"OneConfigLCVComparator__column",children:[(0,s.jsx)("div",{className:"OneConfigLCVComparator__image",children:J&&(0,s.jsx)(eS.F,{uri:J,width:"100%",aspectRatio:"16/9",profiles:rM.eq,viewPoint:"lcv_version_comparator_1"})}),(0,s.jsx)(rw.l,{id:"left-bodyType",name:"left-bodyType",placeholder:C,value:Y.bodyType.current?.code||"",disabled:Y.bodyType.isDisabled,options:Y.bodyType.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!0,"bodyType",e)}),(0,s.jsx)(rw.l,{id:"left-dimension",name:"left-dimension",placeholder:y,value:Y.dimension.current?.code||"",disabled:Y.dimension.isDisabled,options:Y.dimension.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!0,"dimension",e)}),(0,s.jsx)(rw.l,{id:"left-ptacCode",name:"left-ptacCode",placeholder:x,value:Y.ptac.current?.code||"",disabled:Y.ptac.isDisabled,options:Y.ptac.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!0,"ptac",e)}
1),(0,s.jsx)(rw.l,{id:"left-transmission",name:"left-transmission",placeholder:E,value:Y.transmission.current?.code||"",disabled:Y.transmission.isDisabled,options:Y.transmission.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!0,"transmission",e)}),(0,s.jsx)(rw.l,{id:"left-twinWheels",name:"left-twinWheels",placeholder:_,value:Y.twinWheels.current?.code||"",disabled:Y.twinWheels.isDisabled,options:Y.twinWheels.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!0,"twinWheels",e)}),(0,s.jsx)(rw.l,{id:"left-engine",name:"left-engine",placeholder:b,value:Y.engine.current?.code||"",disabled:Y.engine.isDisabled,options:Y.engine.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!0,"engine",e)}),(0,s.jsx)(rw.l,{id:"left-grade",name:"left-grade",placeholder:P,value:Y.grade.current?.code||"",disabled:Y.grade.isDisabled,options:Y.grade.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!0,"grade",e)})]}),(0,s.jsxs)("div",{className:"OneConfigLCVComparator__column",children:[(0,s.jsx)("div",{className:"OneConfigLCVComparator__image",children:ee&&(0,s.jsx)(eS.F,{uri:ee,aspectRatio:"16/9",width:"100%",profiles:rM.eq,viewPoint:"lcv_version_comparator_1"})}),(0,s.jsx)(rw.l,{id:"right-bodyType",name:"right-bodyType",placeholder:C,value:K.bodyType.current?.code||"",disabled:K.bodyType.isDisabled,options:K.bodyType.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!1,"bodyType",e)}),(0,s.jsx)(rw.l,{id:"right-dimension",name:"right-dimension",placeholder:y,value:K.dimension.current?.code||"",disabled:K.dimension.isDisabled,options:K.dimension.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!1,"dimension",e)}),(0,s.jsx)(rw.l,{id:"right-ptac",name:"right-ptac",placeholder:x,value:K.ptac.current?.code||"",disabled:K.ptac.isDisabled,options:K.ptac.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!1,"ptac",e)}),(0,s.jsx)(rw.l,{id:"right-transmission",name:"right-transmission",placeholder:E,value:K.transmission.current?.code||"",disabled:K.transmission.isDisabled,options:K.transmission.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!1,"transmission",e)}),(0,s.jsx)(rw.l,{id:"right-twinWheels",name:"right-twinWheels",placeholder:_,value:K.twinWheels.current?.code||"",disabled:K.twinWheels.isDisabled,options:K.twinWheels.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!1,"twinWheels",e)}),(0,s.jsx)(rw.l,{id:"right-engine",name:"right-engine",placeholder:b,value:K.engine.current?.code||"",disabled:K.engine.isDisabled,options:K.engine.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!1,"engine",e)}),(0,s.jsx)(rw.l,{id:"right-grade",name:"right-grade",placeholder:P,value:K.grade.current?.code||"",disabled:K.grade.isDisabled,options:K.grade.options.map(e=>({text:e.label||"",value:e.code||""})),onChange:e=>et(!1,"grade",e)})]})]}),(V||F)&&(0,s.jsx)(t_.l,{}),G&&z&&(0,s.jsx)(rV.A,{variant:rk.Variant.IN_MODAL,modelAdmin:n,modelData:a,gradesParams:i,hidePrices:p,selectedDimensions:[Y.dimension.current,K.dimension.current],selectedGrades:[Z,Q],selectedVersions:[G,z],allSpecifications:ea,tabs:{priceFinancingLabel:T,specificationsLabel:j},model:{optionalLabel:A,showDifferencesLabel:I,slideAngleLabel:N}})]})},rz=()=>(0,s.jsx)(rH.BM,{children:(0,s.jsx)(rB,{})}),rq=e=>!!e&&"object"==typeof e&&"loadingLength"in e&&"interiorHeight"in e&&"payloads"in e&&"volumes"in e,rW=({label:e,values:t})=>{var r;let a,{min:n,max:i}=0===(a=(r=t)?r.reduce((e,t)=>{let r=parseFloat(t.replace(",","."));return Number.isNaN(r)||e.push({label:t,value:r}),e},[]):[]).length?{}:{min:a.reduce((e,t)=>e.value<=t.value?e:t,{}),max:a.reduce((e,t)=>e.value>=t.value?e:t,{})};return n?(0,s.jsxs)(l.Fragment,{children:[e," :"," ",(0,s.jsxs)("span",{children:[n.label,i&&i.value>n.value&&(0,s.jsxs)("span",{children:[" - ",i.label]})]})]}):null},r$=({stepName:e,currentOption:t})=>t?"ptacs"===e&&"grossVehicleMasses"in t?(0,s.jsxs)(l.Fragment,{children:[t.grossVehicleMasses?.label," : ",(0,s.jsx)("span",{children:t.label})]}):rq(t)?(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("span",{children:t.label}),t.lengths?.label&&(0,s.jsxs)(l.Fragment,{children:[" - ",(0,s.jsx)(rW,{label:t.lengths.label,values:t.lengths.values?.map(String)||[]})]}),t.heights?.values?.[0]&&" /",(0,s.jsx)(rW,{label:t.heights?.label||"",values:t.heights?.values?.map(String)||[]})]}):t.label:null,rY=({title:e,options:t,currentOptionCode:r,isSquareVariant:a,icon:n,stepName:i,stepNumber:c,id:d,ref:u})=>{let m=(0,o.d4)(e=>e.page.data.analyticsPageParams),p=(0,o.d4)(e=>e.page.data.vehicleComparatorParams),{isDynamicDataLoading:h,setCurrentUri:g,dynamicData:f}=(0,l.useContext)(S),{vehicleId:C,vehicleModel:y}=m||{},{details:x,scene:E}=f||{},_=x?.version?.label,[b,T]=(0,l.useState)(!1),N=i===P.BODY_TYPES.componentKey,{compareLabel:I}=p?.labels||{},{title:A}=p?.titles||{},w=el(r,t),O={homologatedCo2:w?.homologatedCo2,homologatedUnit:w?.homologatedUnit,homologatedEfficiency:w?.homologatedEfficiency,airQualityCertificate:w?.airQualityCertificate,pricedVersion:w?.pricedVersion,webDisplayPrices:w?.webDis
1playPrices,uri:w?.nextURI};return(0,s.jsxs)("div",{className:"OneStandardLCVCriteria",id:d,ref:u,children:[E&&i!==P.PTACS.componentKey&&(0,s.jsx)(rx,{step:j(i)}),(0,s.jsxs)(te.VZ,{children:[(0,s.jsx)(te.GT,{title:e,actionLabel:N?I:void 0,actionOnClick:()=>T(!0)}),(0,s.jsxs)(te.gT,{children:[w&&i!==P.BODY_TYPES.componentKey&&(0,s.jsx)("div",{className:"OneStandardLCVCriteria__value",children:(0,s.jsx)(r$,{stepName:i,currentOption:w})}),(0,s.jsx)(rS.B,{name:`config-${w?.code}`,value:w?.code,onChange:e=>{let r=t?.find(t=>t?.code===e);g?.(r?.nextURI),(0,v.d)({event:"configuratorSelect",componentKey:i,configStepName:i,configStepNumber:c,configTotalStepNumber:G(),itemName:r?.label??"",vehicleId:C,vehicleModel:y,vehicleVersion:_})},isLoading:h,withTick:!0,variant:a?"is-square":void 0,children:t?.map(e=>(0,s.jsx)(rS.y,{icon:n,value:e?.code||"",text:e?.label||""},e?.code))}),(0,s.jsx)("div",{className:"OneStandardLCVCriteria__modelPrice",children:i===P.BODY_TYPES.componentKey&&(0,s.jsx)(eQ.r,{confData:O})}),rq(w)&&(0,s.jsxs)(l.Fragment,{children:[w.loadingLength?.label&&w.loadingLength?.values?.[0]&&(0,s.jsx)(rA,{label:w.loadingLength.label,value:w.loadingLength.values[0].toString()}),w.interiorHeight?.label&&w.interiorHeight?.values?.[0]&&(0,s.jsx)(rA,{label:w.interiorHeight.label,value:w.interiorHeight.values[0].toString()}),w.payloads?.label&&w.payloads?.values?.[0]&&(0,s.jsx)(rA,{label:w.payloads.label,value:w.payloads.values[0].toString()}),w.volumes?.label&&w.volumes?.values?.[0]&&(0,s.jsx)(rA,{label:w.volumes.label,value:w.volumes.values[0].toString()})]})]})]}),N&&b&&(0,s.jsx)(eY.lG,{variant:"side-panel",onClose:()=>T(!1),title:A,size:"large",alternativeBackground:!0,children:(0,s.jsx)(eY.Cf,{children:(0,s.jsx)(rz,{})})})]})},rK=({idRef:e,title:t,options:r,currentOptionCode:a})=>{let{onStepChange:n}=(0,l.useContext)(tc),{ref:i}=(0,tt.A)(ed({step:P.DIMENSIONS,onStepChange:n}));return(0,s.jsx)("div",{className:"OneConfigDimensionsSection",children:(0,s.jsx)(rY,{id:e,ref:i,title:t,icon:rI.A,isSquareVariant:!0,options:r,currentOptionCode:a,stepName:P.DIMENSIONS.componentKey,stepNumber:P.DIMENSIONS.stepNumber,hidePrices:!0})})};var rX=r(32739),rZ=r(6277),rQ=r(81579);let rJ=({filterMode:e})=>{let{dynamicData:t}=(0,l.useContext)(S),r=t?.details?.version?.energyCategory,a=(0,l.useMemo)(()=>es({technicalSpecification:t?.details?.technicalSpecification||[],energyCategory:r,filterMode:e}),[t?.details?.technicalSpecification,r,e]);return a?.length?(0,s.jsx)(l.Fragment,{children:a.map(e=>(0,s.jsxs)("div",{className:"OneConfigEngineTechSpecGroups",children:[(0,s.jsx)("div",{className:"OneConfigEngineTechSpecGroups__header",children:e.label}),(0,s.jsx)("div",{className:"OneConfigEngineTechSpecGroups__wrapper",children:e.items?.map(e=>(0,s.jsxs)("dl",{className:"OneConfigEngineTechSpecGroups__line",children:[(0,s.jsxs)("dd",{className:"OneConfigEngineTechSpecGroups__label",children:[e?.label,(0,s.jsx)(tT,{value:e.value,children:(0,s.jsx)(tb.m,{size:"small"})})]}),(0,s.jsx)("dd",{className:"OneConfigEngineTechSpecGroups__value",children:e?.value})]},e?.code||e?.label))})]},e?.code||e?.label))}):null},r0=({engine:e={},details:t})=>{let r,a=(0,l.useMemo)(()=>es({technicalSpecification:t?.technicalSpecification||[],energyCategory:e?.energyCategory,filterMode:"preview"}),[t?.technicalSpecification,e?.energyCategory]),n=e?.energyCategory&&(r=_.n7[e?.energyCategory].preview,a.flatMap(e=>e?.items).filter(e=>r.includes(e?.code||"")).sort((e,t)=>r.indexOf(e?.code||"")-r.indexOf(t?.code||"")));return n?.map(e=>(0,s.jsx)(rA,{label:e?.label,value:e?.value},e?.label))},r1=(0,o.Ng)(({page:{data:e}})=>{let t=e?.configuratorParams;return{seeTechnicalSpecifications:t?.engine?.seeTechnicalSpecifications,technicalSpecificationLabel:t?.characteristics?.technicalSpecificationLabel,isEngineDisplayedFirst:e?.modelParams?.model?.isEngineDisplayedFirst}}),r5=({energyCategory:e=x.D.DEFAULT,mainFuelTypeCode:t,multimediaCards:r})=>(0,s.jsx)("div",{className:"OneConfigEngineCard__motorType",children:(0,s.jsx)(rZ.w,{engines:[{energyCategory:e,mainFuelTypeCode:t}],multimediaCards:r})}),r2=r1(({engine:e,offers:t=[],engineLabel:r,currentVersion:a,seeTechnicalSpecifications:n,technicalSpecificationLabel:i})=>{let[o,c]=(0,l.useState)(!1),{gearboxType:d,energyCategory:u,mainFuelTypeCode:m}=e||{},{dynamicData:p,staticData:h}=(0,l.useContext)(S),{equipmentGlossaryNotes:g}=h||{};return(0,s.jsxs)("div",{className:"OneConfigEngineCard",children:[(0,s.jsxs)("div",{className:"OneConfigEngineCard__wrapper",children:[(0,s.jsx)("div",{className:"OneConfigEngineCard__modelPrice",children:(0,s.jsx)(eQ.r,{confData:{...a,pricedVersion:a,uniqOffers:t}})}),(0,s.jsxs)("div",{className:"OneConfigEngineCard__tags",children:[(0,s.jsxs)("div",{className:"OneConfigEngineCard__tagsLabel",children:[(0,s.jsx)("span",{children:r}),(0,s.jsx)(eb.l,{onClick:()=>c(!0),variant:"link-arrow",size:"small",useButtonMarkup:!0,children:n})]}),(0,s.jsxs)("div",{className:"OneConfigEngineCard__tagsBadges",children:[(0,s.jsx)(r5,{energyCategory:u,mainFuelTypeCode:m,multimediaCards:g}),(0,s.jsx)(t3.E,{variant:"primary",leftIcon:rQ.A,design:"outlined",children:d?.value})]})]}),(0,s.jsx)(r0,{engine:e,details:p?.details})]}),o&&(0,s.jsx)(eY.lG,{title:i,onClose:()=>c(!1),size:"fullscreen",variant:"wrapper",children:(0,s.jsx)(eY.Cf,{children:(0,s.jsx)(rJ,{filterMode:"full"})})})]})}),r6=(0,o.Ng)(({page:{data:e}})=>{let t=e?.configuratorParams,r=e?.modelParams;return{isLCV:r?.model?.modelType==="LCV",engineLabel:t?.engine?.engineLabel,engineTitle:t?.engine?.title,modelData:r?.data,isEngineDisplayedFirst:r?.model?.isEngineDisplayedFirst}})(({engineLabel:e="",modelData:t,isEngineDisplayedFirst:r,engineTitle:a,isLCV:n})=>{let{setCurrentUri:i,staticData:o,dynamicData:c,isDynamicDataLoading:d,enginesPromoZone:u}=(0,l.useContext)(S),{onStepChange:m}=(0,l.useContext)(tc),p=(0,l.useMemo)(()=>(0,rX.NR)(u),[u]),{ref:h}=(0,tt.A)(ed({step:T.ENGINES,onStepChange:m})),g=c?.details?.offers,C=c?.scene,{currentVersion:y,currentEngine:x,engineSelected:E,engineOptions:_}=rO({isEngineDisplayedFirst:r,dynamicData:c,staticData:o,modelData:t,isLCV:n});return _&&_?.length!==0?(0,s.jsxs)("div",{className:"OneConfigEngines",id:T.ENGINES.name,ref:h,children:[C&&o?.type==="STANDARD_ENGINE_FIRST"&&(0,s.jsx)(rx,{step:T.ENGINES}),(0,s.jsxs)(te.VZ,{children:[(0,s.jsx)(te.GT,{title:a}),(0,s.jsxs)(te.gT,{children:[(0,s.jsx)("div",{className:"OneConfigEngines__engineOptionsWrapper",children:(0,s.jsx)(rS.B,{name:"config-engines",value:E,onChange:e=>{i?.(_?.find(t=>t?.value===e)?.nextURI),(0,v.d)({event:"configuratorSelect",itemName:e,componentKey:"grades"})},isLoading:d,withTick:!0,children:_.map(e=>(0,s.jsx)(rS.y,{value:e?.value,text:e?.text},e?.value))})}),(0,s.jsx)(rc.FW,{children:E&&(0,s.jsx)(rc.PY.div,{initial:{x:50,opacity:0}
1,animate:{x:0,opacity:1,transition:{bounce:0,duration:.25}},"aria-live":"polite","aria-atomic":"true",children:(0,s.jsx)(r2,{currentVersion:y,modelData:t,engineLabel:e,engine:x,offers:g},`engine-card-${y?.code}`)},`engine-card-wrapper-${y?.code}`)}),p>0&&(0,s.jsxs)("div",{children:[u&&(0,rX._n)(u,e=>({...e})),(0,s.jsx)(f.Cq,{editContext:u?.editContext})]})]})]})]}):null}),r3=()=>{let e=(0,o.d4)(({page:{data:e}})=>e.modelParams),t=(0,o.d4)(({page:{data:e}})=>e.vehicleComparatorParams),r=(0,o.d4)(({page:{data:e}})=>e?.configuratorParams?.grade),a=(0,o.d4)(({page:{data:e}})=>e?.configPageProperties?.personalization),n=e?.model?.modelType==="LCV",i=e?.model?.isEngineDisplayedFirst,{engineLabel:c,title:d,availableColorsLabel:u}=r||{},{hideColor:m,versionAlternativeTitle:p}=a||{},{setCurrentUri:h,dynamicData:g,isDynamicDataLoading:C,staticData:y,gradesPromoZone:x}=(0,l.useContext)(S),{onStepChange:E}=(0,l.useContext)(tc),{design:b}=g||{},P=(0,l.useMemo)(()=>(0,rX.NR)(x),[x]),[j,N]=(0,l.useState)(!1),{ref:I}=(0,tt.A)(ed({step:T.GRADES,onStepChange:E})),{compareLabel:A,priceFinancingLabel:w="",specificationsLabel:O="",slideChangeAngleLabel:R="",displayDifferencesLabel:D="",optionalLabel:L=""}=t?.labels||{},{title:M}=t?.titles||{},{currentGrade:k,gradeSelected:V,gradeOptions:H,gradeEnergyCategories:F,engineOptions:G}=rO({isEngineDisplayedFirst:i,dynamicData:g,staticData:y,modelData:e?.data,isLCV:n}),B=(0,l.useMemo)(()=>b?b.reduce((e,t)=>e+(t.pictureCode===_.b1.COLORS&&U(t)?.length||0),0):0,[b]),z=(0,l.useCallback)(e=>{let t=H?.find(t=>t?.value===e)?.nextURI;t&&h&&h(t),(0,v.d)({event:"configuratorSelect",itemName:e,componentKey:"grades"})},[H,h]),q=e?.data?.grades?.find(e=>e?.code===k?.code),W=H&&H.length>1,$=G&&G.length>1,Y=!n&&(W||$);return(0,s.jsx)(rc.FW,{children:(0,s.jsxs)("div",{className:"OneConfigGrades",id:T.GRADES.name,ref:I,children:[g?.scene&&(0,s.jsx)(rx,{step:T.GRADES}),(0,s.jsxs)(te.VZ,{children:[(0,s.jsx)(te.GT,{title:p||d,actionLabel:Y?A:void 0,actionOnClick:()=>N(!0)}),(0,s.jsxs)(te.gT,{children:[(0,s.jsx)("div",{className:"OneConfigGrades__gradeOptionsWrapper",children:(0,s.jsx)(rS.B,{name:"config-grades",value:V,onChange:z,isLoading:C,withTick:!0,children:[...H||[]].map(e=>(0,s.jsx)(rS.y,{value:e?.value||"",text:e?.text||""},e?.value))})}),j&&(0,s.jsx)(eY.lG,{variant:"side-panel",onClose:()=>N(!1),title:M,size:"large",alternativeBackground:!0,children:(0,s.jsx)(eY.Cf,{children:(0,s.jsx)(rk.default,{variant:"in-modal",currentGrade:q,model:{optionalLabel:L,showDifferencesLabel:D,slideAngleLabel:R},tabs:{priceFinancingLabel:w,specificationsLabel:O}})})})]})]}),(0,s.jsxs)(rc.PY.div,{initial:{x:50,opacity:0},animate:{x:0,opacity:1,transition:{bounce:0,duration:.25}},className:"OneConfigGrades__details",children:[(0,s.jsx)("div",{className:"OneConfigGrades__price","aria-live":"polite","aria-atomic":"true",children:(0,s.jsx)(eQ.r,{confData:k})}),(0,s.jsxs)("div",{className:"OneConfigGrades__tagsListWrapper",children:[(0,s.jsx)("span",{className:"OneConfigGrades__engineLabel",children:c}),(0,s.jsx)(rZ.w,{engines:F,multimediaCards:y?.equipmentGlossaryNotes})]}),!m&&(0,s.jsxs)("div",{className:"OneConfigGrades__colors",children:[B," ",u]}),(0,s.jsx)(to,{}),P>0&&(0,s.jsxs)("div",{children:[x&&(0,rX._n)(x,e=>({...e})),(0,s.jsx)(f.Cq,{editContext:x?.editContext})]})]},k?.label)]})})};var r4=r(69634);let r7=({currentOptionCode:e,idRef:t,title:r,options:a})=>{let{onStepChange:n}=(0,l.useContext)(tc),{ref:i}=(0,tt.A)(ed({step:P.PTACS,onStepChange:n}));return(0,s.jsx)("div",{className:"OneConfigPTACSection",children:(0,s.jsx)(rY,{id:t,ref:i,title:r,isSquareVariant:!0,options:a,currentOptionCode:e,icon:r4.A,stepName:P.PTACS.componentKey,stepNumber:P.PTACS.stepNumber,hidePrices:!0})})},r8=(0,o.Ng)(({page:{data:e}})=>{let t=e?.configuratorParams,r=e?.configPageProperties?.lcv?.hidePtac,a=t?.lcv;return{hidePtac:r,modelParams:e?.modelParams,lcv:a}}),r9=(0,l.memo)(r8(({modelParams:e,lcv:t,hidePtac:r})=>{let{dynamicData:a,staticData:n,conflict:i}=(0,l.useContext)(S),{onStepChange:o}=(0,l.useContext)(tc),{type:c,bodyTypes:d}=n||{},{bodyTypeTitle:u,dimensionTitle:m,ptacTitle:p,transmissionTitle:h,wheelTitle:g}=t||{},{details:f}=a||{},{lcv:v}=f||{},{bodyType:C,dimension:y,grossVehicleMass:x,transmission:E,twinWheels:_}=v||{},{data:b,model:T}=e||{},j=T?.modelName||b?.label,{ref:N}=(0,tt.A)(ed({step:P.BODY_TYPES,onStepChange:o})),{ref:I}=(0,tt.A)(ed({step:P.TRANSMISSIONS,onStepChange:o})),{ref:A}=(0,tt.A)(ed({step:P.TWINWHEELS,onStepChange:o})),w=el(C?.code,d),O=w?.dimensions,R=O?.find(e=>e.code===y?.code),D=R?.ptacs?.map(e=>({...e,grossVehicleMasses:R?.grossVehicleMasses})),L=D?.find(e=>e.code===x?.code)?.transmissions,M=L?.find(e=>e.code===E?.code)?.twinWheels,k=(0,s.jsxs)(l.Fragment,{children:[d&&(0,s.jsx)(rY,{ref:N,id:P.BODY_TYPES.componentKey,title:u,options:d,currentOptionCode:C?.code,stepName:P.BODY_TYPES.componentKey,stepNumber:P.BODY_TYPES.stepNumber}),O&&(0,s.jsx)(rK,{idRef:P.DIMENSIONS.componentKey,options:O,currentOptionCode:y?.code,title:m}),D&&!r&&(0,s.jsx)(r7,{title:p,idRef:P.PTACS.componentKey,options:D,currentOptionCode:x?.code}),L&&L?.length>1&&(0,s.jsx)(rY,{ref:I,id:P.TRANSMISSIONS.componentKey,title:h,options:L,currentOptionCode:E?.code,stepName:P.TRANSMISSIONS.componentKey,stepNumber:P.TRANSMISSIONS.stepNumber}),M&&M?.length>1&&(0,s.jsx)(rY,{ref:A,id:P.TWINWHEELS.componentKey,title:g,options:M,currentOptionCode:_?.specCode,stepName:P.TWINWHEELS.componentKey,stepNumber:P.TWINWHEELS.stepNumber}),(0,s.jsx)(r6,{}),(0,s.jsx)(r3,{})]}),V=(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(r6,{}),(0,s.jsx)(r3,{})]}),H=(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(r3,{}),(0,s.jsx)(r6,{})]});return(0,s.jsxs)("div",{className:"OneConfigSidePanel",children:[!!i&&(0,s.jsx)(rr,{}),j&&(0,s.jsx)("h1",{className:"OneConfigSidePanel__vehicleLabel",children:j?.toUpperCase()}),"STANDARD"===c&&H,"STANDARD_ENGINE_FIRST"===c&&V,"LCV"===c&&k,(0,s.jsx)(rN,{})]})})),ae=()=>{let e=(0,o.d4)(({page:{data:e}})=>e?.configuratorParams?.receipt?.title),t=(0,o.d4)(({page:{data:e}})=>e?.configuratorParams?.receipt?.description),r=(0,o.d4)(({page:{data:e}})=>e?.siteParams?.rtl||!1),{onStepChange:a}=(0,l.useContext)(tc),{ref:n}=(0,tt.A)(ed({step:T.SUMMARY,onStepChange:a,options:{threshold:.1}}));return(0,s.jsxs)("div",{ref:n,id:T.SUMMARY.name,className:u()("OneConfigSummarySection",{"is-rtl":r}),children:[(0,s.jsx)("div",{className:"OneConfigSummarySection__left",children:(0,s.jsx)(e4,{})}),(0,s.jsx)("div",{className:"OneConfigSummarySection__right",children:(0,s.jsxs)(te.VZ,{children:[(0,s.jsx)(te.GT,{title:e,subTitle:t}),(0,s.jsx)(te.gT,{children:(0,s.jsx)(t0,{})})]})})]})};var at=r(76785),ar=r(78416),aa=r(24619);let an=(0,o.Ng)(({page:{data:e}})=>{let{displayCritair:t,displayEfficiencyGraph:r,displayEnergyPdf:a,energyPdfLabel:n}=e?.consumptionEfficiencyGraph||{};return{displayCritair:t,displayEfficiencyGraph:r,modelParams:e?.modelParams,displayEnergyPdf:a,energyPdfLabel:n}})(({modelParams:e,characteristics:t,displayCritair:r,displayEfficiencyGraph:a,displayEnergyPdf:n,energyPdfLabel:i})=>{let{dynamicData:o,staticData:c}=(0,l.useContext)(S),{details:d,confURI:u}=o||{}
1,m=d?.technicalSpecification||[],p=d?.version?.efficiencyClass,h=d?.version?.homologatedUnit,g=d?.version?.homologatedCo2,f=d?.version?.homologatedEfficiency,v=d?.version?.airQualityCertificate,{data:C,model:y}=e||{},x=y?.modelName||C?.label,{standardSpecificationsTitle:E="",technicalSpecificationLabel:_="",energyEfficiencyClassLabel:b="",standardEquipmentLabel:P=""}=t||{},T=(0,l.useMemo)(()=>ei({groups:o?.details?.standardEquipments,multimediaCards:c?.equipmentGlossaryNotes}),[o?.details?.standardEquipments,c?.equipmentGlossaryNotes]),j=a&&(p||f)||r&&v||n;return(0,s.jsxs)("div",{className:"OneConfigTechnicalSpecs",children:[(0,s.jsxs)("p",{className:"OneConfigTechnicalSpecs__title",children:[E,(0,s.jsxs)("span",{className:"OneConfigTechnicalSpecs__modelName",children:[" ",x]})]}),!!T?.length&&(0,s.jsxs)(e9.nD,{variant:"light",tracking:{type:"equipement|category",name:E},children:[(0,s.jsx)(e9.$m,{children:P}),(0,s.jsx)(e9.ub,{children:(0,s.jsx)(tl,{})})]},"standardEquipments"),!!m?.length&&(0,s.jsxs)(e9.nD,{variant:"light",tracking:{type:"equipement|category",name:_},children:[(0,s.jsx)(e9.$m,{children:_}),(0,s.jsx)(e9.ub,{children:(0,s.jsx)(rJ,{})})]},"specification"),j&&(0,s.jsxs)(e9.nD,{variant:"light",tracking:{type:"equipement|category",name:b},children:[(0,s.jsx)(e9.$m,{children:b}),(0,s.jsx)(e9.ub,{children:(0,s.jsxs)("div",{className:"OneConfigTechnicalSpecs__efficiencyGraphWrapper",children:[a&&(0,s.jsx)("div",{className:"OneConfigTechnicalSpecs__efficiencyGraph",children:(0,s.jsx)(at.e,{co2:g,efficiency:f,unit:h,aocEfficiency:p})}),r&&(0,s.jsx)(aa.i,{urbanAccessClass:v}),n&&i&&u&&(0,s.jsx)(ar.P,{uri:u,withTitle:!0})]})})]},"efficiencyClass")]})});var ai=r(52663);let as=(0,eE.A)("one/components/dacia/cfg/slice161v0"),al=(0,eE.A)("one/components/tradeinv2/slice304v0"),ao={resetNotification:ai.P,setNotification:eU.G},ac=(0,o.Ng)(({page:{data:e,location:t},app:r})=>({modelParams:e.modelParams,newTradeInParams:e.newTradeInParams,c2gParams:e.c2gParams,siteParams:e.siteParams,configuratorParams:e?.configuratorParams,canStore:(0,v.oz)(r?.cookieAuthorization,["ccWebAnalytics","ccAdvertising"]),showConsumptionSimulator:e?.configPageProperties?.personalization?.showConsumptionSimulator??!1,mode:t?.queryParams?.mode,pricingDetails:e?.priceParams?.pricing?.details,analyticsPageParams:e?.analyticsPageParams,wltpError:e?.configuratorParams?.message?.wltpErrorMsg,isBrowserEngine:r.isBrowserEngine,isRtl:e?.siteParams?.rtl||!1,threshold:r.threshold??ex.qN}),ao)(({editContext:e,modelParams:t,newTradeInParams:r,staticData:a,enginesPromoZone:n,gradesPromoZone:i,dynamicData:o,c2gParams:d,siteParams:C,configuratorParams:y,canStore:x,showConsumptionSimulator:E,multiStaticPlaceholders:_,mode:b,pricingDetails:j,analyticsPageParams:A,wltpError:L,isBrowserEngine:M,isRtl:k,threshold:V,setNotification:U,resetNotification:B})=>{let{hasNciStock:W=!1,showFinanceFirst:$,priceType:K,modelType:ee,isPro:et}=t?.model||{},{tradeInConfig:er=!1}=r?.general||{},[ea,en]=(0,l.useState)(!1),[ei,es]=(0,l.useState)(!1),[el,eo]=(0,l.useState)(o),[ed,eu]=(0,l.useState)(void 0),[ex,eE]=(0,l.useState)("LCV"===ee?P.BODY_TYPES.componentKey:T.GRADES.componentKey),[eb,eP]=(0,l.useState)(!$),[eT,eN]=(0,l.useState)(!1),[eI,eS]=(0,l.useState)({isLoading:!0}),[eA,ew]=(0,l.useState)([]),eO=(0,l.useMemo)(()=>ex===T.SUMMARY.name,[ex]),eR=(0,l.useRef)(!1),[,eD]=(0,eg.A)({method:"GET",url:"/agg/v1/cfg/dynamic",returnPromise:!0}),[,eL]=(0,eg.A)({method:"GET",url:"/wired/commerce/v2/models/conflicts",returnPromise:!0}),[,eM]=(0,eg.A)({method:"GET",returnPromise:!0,url:"https://3dv.renault.com/ImagesFromBookmarkSet"}),[ek,eV]=(0,l.useState)(96),eH=(0,l.useRef)(null),eF=(0,l.useRef)(null),[eU,eG]=(0,l.useState)(0),eB=(0,l.useCallback)(e=>{eV(e[0].borderBoxSize[0]?.blockSize)},[]);(0,ey.A)(()=>{let e=eH.current;if(!e)return;let t=new ResizeObserver(eB);return t.observe(e),()=>t.unobserve(e)},[eB]);let{scrollYProgress:ez}=(0,m.L)({target:eF,offset:["start start","end end"]});(0,p.L)(ez,"change",e=>{eG(e)});let eq=(0,l.useCallback)(async e=>{try{let{priceType:r,priceTypeOption:a}=t?.data?.priceInfo||{},{currency:n}=d||{},{language:i}=C||{},{conflictData:s,hasConflict:l}=await ec({item:e,params:{priceType:r,priceTypeOption:a,currency:n,language:i,uri:el?.confURI,nextUri:e.nextURI},getConflicts:eL});return l&&eu({item:e,data:s}),l}catch(e){return console.error("Error handling conflict item:",e),eu(void 0),!1}},[t,d,C,el?.confURI,eL,eu]),eW=(0,l.useMemo)(()=>(0,D.kz)(j,K),[j,K]),e$=ex===T.DESIGN_UPHOLSTERIES.componentKey,{vehicleId:eY,vehicleModel:eK}=A||{},eX=y?.message?.errorOptionMsg,{equipmentGroups:eZ,equipmentTotal:eQ,rechargeGroups:eJ,rechargeTotal:e0,accessoryGroups:e1,accessoryTotal:e5,shouldShowRecharge:e2}=(0,l.useMemo)(()=>(({dynamicData:e,siteParams:t,staticData:r,configuratorParams:a})=>{let n,{equipments:i,accessories:s,recharge:l}=e||{},o=t?.brand||"",c=new Map((e?.statistics?.topEquipments||[]).map((e,t)=>[e.code,t])),d=new Map((e?.statistics?.topAccessories||[]).map((e,t)=>[e.code,t])),u=i?(({equipments:e,brand:t,multimediaCards:r})=>{let a=e?.presentationGroups||[],n=e?.priceInfo||{},i=e?.uri,s=e?.offers||[],l=(({groups:e,build:t})=>(e||[]).filter(z).reduce((e,r)=>z(r)?r?.items?[...e,{...t({groups:[r],code:r.code,label:r.label}),order:r.order}]:[...e,...(r?.presentationGroups||[]).map(e=>({...t({groups:[e],code:e.code,label:e.label}),order:e.order}))]:e,[]))({groups:a,build:({groups:e,code:a,label:l})=>X({groups:e,code:a,label:l,currency:n.currency,brand:t,multimediaCards:{equipment:r},displayStandards:!1,imageUri:i,offers:s})}),o=(({groups:e=[],build:t})=>e.reduce((e,r)=>q(r)?[...e,{...t((r?.presentationGroups||[]).filter(e=>!H.includes(e.code||"")),r?.code,r?.label,r?.order),order:r?.order}]:e,[]))({groups:a,build:(e,a,l)=>X({groups:e,code:a,label:l,currency:n.currency,brand:t,multimediaCards:{equipment:r},displayStandards:!1,imageUri:i,offers:s})});
1return[...l,...o].filter(Z).sort(F).map(Q).filter(Boolean)})({equipments:i,brand:o,multimediaCards:r?.equipmentGlossaryNotes}).filter(e=>e?.code!=="all").map(e=>eh(e,c)):[],m=s?(({accessories:e,brand:t,multimediaCards:r})=>{let a=e?.presentationGroups||[],n=e?.priceInfo||{},i=e?.uri,s=e?.offers||[];return(({groups:e=[],build:t})=>e.reduce((e,r)=>[...e,...(r?.presentationGroups||[]).map(e=>t([e],e.code,e.label,e.order))],[]))({groups:a,build:(e,a,l)=>X({groups:e,code:a,label:l,currency:n.currency,brand:t,multimediaCards:{accessory:r},displayStandards:!1,imageUri:i,offers:s})}).filter(e=>e.display).map(e=>{let t=e?.options?.filter(e=>e?.versionCategory!=="FORBIDDEN");return t&&0!==t.length?{...e,options:t,itemCount:t.length??e.itemCount,itemSelectedCount:e.itemSelectedCount}:null}).filter(Boolean)})({accessories:s,brand:o,multimediaCards:r?.accessoryGlossaryNotes||[]}).map(e=>eh(e,d)):[],p=(0,w.AI)(e?.details?.version?.energyCategory)&&!!a?.charging?.title,h=p?(n=t?.brand,(l?.groups||[]).filter(e=>(e?.options?.length||0)+(e?.standard?.length||0)>0).map(e=>{let t=em(e,c,!1),a=e=>{let a=Y({multimediaCards:{equipment:r?.equipmentGlossaryNotes,accessory:r?.accessoryGlossaryNotes},key:e.code}),i=a?.assets??[];return{...e,...ep(e.code,t,c),image:e.image??(0,O.CF)(i,n),images:e.images?.length?e.images:(0,O.re)(i,n),description:e.description||(a?.description??"")}};return{...e,options:e.options.map(a),standard:e.standard.map(a)}})):[];return{equipmentGroups:u,equipmentTotal:u.reduce((e,t)=>e+(t?.itemCount||0),0),rechargeGroups:h,rechargeTotal:h.reduce((e,t)=>e+(t?.options?.length||0)+(t?.standard?.length||0),0),accessoryGroups:m,accessoryTotal:m.reduce((e,t)=>e+(t?.itemCount||0),0),shouldShowRecharge:p}})({dynamicData:el,siteParams:C,staticData:a,configuratorParams:y}),[el,C,a,y]),e6=(0,l.useCallback)(async({currentDynamicData:e})=>{if(e?.confURI&&M)try{let t,r=(t=window.devicePixelRatio>1,"large"===V?t?"largex2":"large":"medium"===V?t?"mediumx2":"medium":t?"smallx2":"small"),a=await eM({params:{configuration:e?.scene?.visualVCD,profile:N[r],bookmarkSet:I,decorDeltaAltitude:e?.scene?.deltaAltitude,databaseId:e?.scene?.modelDatabaseId,decorDatabaseId:e?.scene?.backgrounds?.[0]?.decorDatabaseId,decorName:e?.scene?.backgrounds?.[0]?.pattern}});if(a?.data){let e=[...(new DOMParser).parseFromString(a?.data,"text/xml").querySelectorAll("frame")].map(e=>e.getAttribute("url")).filter(Boolean);await Promise.all(e.map(async e=>{let t=await fetch(e);await t.blob()})),ew?.(e||[])}}catch(e){}},[eM,M,V]),e3=(0,l.useCallback)(({details:e})=>{if(!L||eR.current)return;let{wltpStatus:t=0}=e||{};1===t&&(eR.current=!0,U({level:ev.op.WARNING,emitter:"configurator.config.wltp",message:L}))},[L,U]),e7=(0,l.useCallback)(({newStepName:e,newConfUri:r})=>{x&&(0,e_.rQ)({modelAdminId:t?.modelAdminId,uri:r||el?.confURI||"",stepType:e||ex,updatedDate:Date.now(),isCompleted:T.SUMMARY.stepNumber===Object.values(T).find(t=>t.name===(e||ex))?.stepNumber})},[x,t?.modelAdminId,el?.confURI,ex]),e9=(0,l.useCallback)(async e=>{if(e){eu(void 0);try{B("configurator.config.option");let{priceType:r,modelType:a,modelName:n,priorityPassProductId:i}=t?.model||{},{currency:s}=d||{},{language:l,locale:o,country:c,brand:u}=C||{};es(!0),en(!0);let m=e;if("/diag"===new URL(e).pathname){let t=await eL({params:{priceType:r,currency:s,language:l,uri:e,nextUri:e}});t?.data?.nextUri&&(m=t.data.nextUri)}let p=await eD({params:{confURI:m,priceType:r,priceList:eW,currency:s,language:l,locale:o,country:c,modelType:a,modelName:n,priorityPassProductId:i,accessoriesHomeLabel:y?.charging?.accessoriesHomeLabel,accessoriesRoadLabel:y?.charging?.accessoriesRoadLabel,brand:u,isPro:et?"true":"false"}});eo(p?.data),e7({newConfUri:p?.data?.confURI}),(0,eC.bw)((0,R.sB)(`${window.location.pathname}`,{conf:p?.data?.confURI,mode:b}),{doNotRefreshData:!0,historyMethod:"replace"}),en(!1),await e6({currentDynamicData:p?.data}),es(!1)}catch(e){c.A.isCancel(e)||(c.A.isAxiosError(e)&&e.response?.status===500&&eX?U({level:ev.op.ERROR,emitter:"configurator.config.option",message:eX}):console.error("Error while fetching dynamic data",e))}finally{en(!1),es(!1)}}},[B,t?.model,d,C,eD,eW,e7,b,e6,eL,eX,U,y?.charging?.accessoriesHomeLabel,y?.charging?.accessoriesRoadLabel,et]);(0,ef.A)(()=>{window&&window.scrollTo(0,0),e6({currentDynamicData:el}),e7({}),e3({details:el?.details}),(0,v.d)({event:"virtualPageview",pageType:"configurator-v2",componentKey:ex,configStepName:Object.values(T).find(e=>e.componentKey===ex)?.name,configStepNumber:Object.values(T).find(e=>e.componentKey===ex)?.stepNumber,configTotalStepNumber:G(),vehicleId:eY,vehicleModel:eK,virtualPageName:"configurator-v2",modelAdminId:t?.modelAdminId})});let te=(0,l.useCallback)(e=>r=>{var n,i;let s;if(!r)return;let l=(n=a?.type==="LCV",i=e?.componentKey,s=Object.values(n?P:T).find(e=>e.componentKey===i),s?.stepNumber||0);(0,v.d)({event:"virtualPageview",pageType:"configurator-v2",componentKey:e.componentKey,configStepName:e.n
1ame,configStepNumber:l,configTotalStepNumber:G(),vehicleId:eY,vehicleModel:eK,...e.componentKey===T.SUMMARY.componentKey&&{vehicleVersion:el?.details?.version?.label||""},virtualPageName:"configurator-v2",modelAdminId:t?.modelAdminId}),e7({newStepName:e.componentKey}),eE?.(e.componentKey),e.componentKey===T.SUMMARY.componentKey&&el?.details&&(({details:e})=>{let t=e?.color?.label||"",r=e?.color?.code||"",a=e?.wheel?.code||"",n=e?.version,i=n?.code||"",s=n?.grade?.code||"",l=n?.engine?.code||"",o=e?.upholstery?.code||"",c=(e?.options||[]).reduce(J,[]).reduce((e,t)=>t.choice&&t.code?[...e,t.code]:e,[]),d=`${i}|${s}|${l}|${r}|${a}|${o}|${[...c].join("|")}`;(r||d)&&((0,v.d)({configurationId:d,configStepName:T.SUMMARY.name,colorKey:r,colorLabel:t,event:"specsReview"}),(0,v.d)({configurationId:d,configStepName:T.SUMMARY.name,colorKey:r,colorLabel:t,event:"configuratorCompletion"}))})({details:el.details})},[a?.type,e7,el?.details,eY,eK,t?.modelAdminId]),tt=(0,l.useMemo)(()=>({currentUri:el?.confURI,setCurrentUri:e9,staticData:a,dynamicData:el,enginesPromoZone:n,gradesPromoZone:i,isDynamicDataLoading:ea,isViewerLoading:ei,currentStepName:ex,setCurrentStepName:eE,financeInfo:eI,isFinanceSwitchHidden:eb,isCartOpened:eT,setIsCartOpened:eN,multiStaticUrls:eA,multiStaticPlaceholders:_,setFinanceInfo:eS,setIsFinanceSwitchHidden:eP,setMultiStaticUrls:ew,conflict:ed,setConflict:eu,handleConflictItem:eq}),[el,e9,a,n,i,ea,ei,ex,eI,eE,eb,eT,eA,_,ed,eu,eq]),tr=(0,l.useMemo)(()=>({currentStepName:ex,onStepChange:te}),[ex,te]);return(0,s.jsx)(S.Provider,{value:tt,children:(0,s.jsxs)(tc.Provider,{value:tr,children:[(0,s.jsx)(g.x,{image:_?.[0]?.large,url:el?.confURI}),(0,s.jsx)(e8,{}),(0,s.jsxs)("div",{className:u()("OneConfig",{"is-scrolled":eU>0,"is-rtl":k}),style:{"--oneConfigProgress":eU,"--one-config-header-size":`${ek}px`},children:[(0,s.jsxs)("div",{ref:eH,className:"OneConfig__headerContainer",children:[(0,s.jsx)(t2,{}),(0,s.jsx)("div",{className:"OneConfig__progressBarContainer",children:(0,s.jsx)(t6,{})})]}),(0,s.jsx)("div",{className:"OneConfig__mainPanel",children:(0,s.jsxs)("div",{className:"OneConfig__content",children:[(0,s.jsx)("div",{className:u()("OneConfig__viewer",{"is-hidden":eO}),children:(0,s.jsx)(ry,{isInterior:e$})}),(0,s.jsx)("div",{className:u()("OneConfig__finalize",{"is-visible":eO}),children:(0,s.jsx)(e4,{})})]})}),(0,s.jsx)("div",{className:"OneConfig__sidePanel",ref:eF,children:(0,s.jsx)(r9,{})}),(0,s.jsxs)("div",{className:"OneConfig__gridPresentation",children:[e2&&(0,s.jsx)("div",{className:"OneConfig__gridItem",children:(0,s.jsx)(td,{tabs:eJ.map(e=>{let t=(e.code?el?.recharge?.labelMap?.[e.code]:void 0)??e?.label;return{label:t,title:(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("span",{children:t?.toUpperCase()}),!!e?.itemSelectedCount&&(0,s.jsx)(h.J,{design:"strong",variant:"primary",value:e?.itemSelectedCount})]}),code:e?.code,content:e}}),total:e0,sectionTitle:y?.charging?.title,step:T.RECHARGE,showUspList:!0})}),(0,s.jsx)("div",{className:"OneConfig__gridItem",children:(0,s.jsx)(td,{tabs:eZ.map(e=>({label:e?.label,title:(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("span",{children:e?.label?.toUpperCase()}),!!e?.itemSelectedCount&&(0,s.jsx)(h.J,{design:"strong",variant:"primary",value:e?.itemSelectedCount})]}),code:e?.code,content:e})),total:eQ,sectionTitle:y?.equipment?.title,countLabel:y?.equipment?.optionalEquipmentLabel,step:T.EQUIPMENTS})}),(0,s.jsx)("div",{className:"OneConfig__gridItem",children:(0,s.jsx)(td,{tabs:e1.map(e=>({label:e?.label,title:(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("span",{children:e?.label?.toUpperCase()}),!!e?.itemSelectedCount&&(0,s.jsx)(h.J,{design:"strong",variant:"primary",value:e?.itemSelectedCount})]}),code:e?.code,content:e})),total:e5,sectionTitle:y?.accessories?.title,countLabel:y?.accessories?.accessoriesIncludeLabel,step:T.ACCESSORIES,showUspList:!1})})]}),(0,s.jsx)("div",{className:"OneConfig__summarySection",children:(0,s.jsx)(ae,{})}),er&&(0,s.jsx)(al,{data:a?.funnels}),W&&el?.confURI&&(0,s.jsx)(as,{confUri:el?.confURI,nationalExposition:a?.nationalExposition,pageContext:"config"}),E&&(0,s.jsx)(ej,{}),(0,s.jsx)("div",{className:"OneConfig__technicalSpecs",children:(0,s.jsx)(an,{characteristics:y?.characteristics})}),(0,s.jsx)(f.Cq,{editContext:e,displayEditionZone:!0})]})]})})})},21283(e,t,r){"use strict";let a=(0,r(71763).createContext)({});r.d(t,{},{A:a})},3613(e,t,r){"use strict";let a="contextStore",n="lastPP",i="lastConfig",s=()=>
1{if("u">typeof window&&window?.localStorage)try{return JSON.parse(window.localStorage.getItem(a))||{}}catch(e){}return{}},l=e=>{if("u">typeof window&&window?.localStorage)try{if(window.localStorage.setItem(a,JSON.stringify(e)),document){let e=new CustomEvent("context-store-update");document.dispatchEvent(e)}}catch(e){}};r.d(t,{},{Tn:()=>s()[i]||{},c4:()=>s()[n]||{},k5:({updatedDate:e,modelAdminId:t,uri:r})=>{let a=s();a[n]={modelAdminId:t,updatedDate:e,uri:r},l(a)},rQ:({modelAdminId:e,updatedDate:t,uri:r,isCompleted:a,stepType:n,saveCode:o})=>{let c=s();c[i]={modelAdminId:e,updatedDate:t,uri:r,isCompleted:a,stepType:n,saveCode:o},l(c)}})},62496(e,t,r){"use strict";r.r(t),r.d(t,{Variant:()=>A,default:()=>R});var a,n=r(91987),i=r(71763),s=r(20496),l=r(48412),o=r(97500),c=r.n(o),d=r(15957),u=r(61124),m=r(93196),p=r(32464),h=r(9897),g=r(20987),f=r(84759),v=r(54961),C=r(89629);let y=[{code:"ENGINESCAT",i18nKey:"characteristics.engine",specCodes:["engineName","PT5545","PT5646","PT5546","PT41","PT1623","PT1625","PT1633","PT21","PT47","PT42","PT44","PT3641","PT3401","PT5651","PT1627","PT1628"]},{code:"CONSOCAT",i18nKey:"characteristics.consumptions",specCodes:["PT5609","PT5619","PT5610","PT5620","PT1640","PT1641","PT1642","PT1643","PT5645"]},{code:"PERFSCAT",i18nKey:"performances",specCodes:["PT1121","PT1122","PT1123","PT1124"]},{code:"TYRESCAT",i18nKey:"tyres",specCodes:["PT1635","PT1653","PT1652"]},{code:"DIMCAT",i18nKey:"characteristics.dimensions",specCodes:["PT141","PT1671","PT1674","PT1673","PT892","PT1118","PT1119","PT1120","PT1682","PT1686","PT329","PT885","PT1667","PT662","PT1664","PT1683","PT1666","PT602","PT802","PT923","PT301"]},{code:"WEIGHTCAT",i18nKey:"characteristics.weight",specCodes:["PT1660","PT1663","PT1661","PT1662","PT1657","PT1654"]},{code:"OTHERSCAT",i18nKey:"others",specCodes:["PT1691","PT1262","PT1690","PT1637"]}],x=[{code:"ENGINESCAT",i18nKey:"characteristics.engine",specCodes:y.find(e=>"ENGINESCAT"===e.code)?.specCodes.concat(["PT5563","PT5562"])},{code:"CONSOCAT",i18nKey:"characteristics.consumptions",specCodes:y.find(e=>"CONSOCAT"===e.code)?.specCodes.concat(["PT5543"])},{code:"PERFSCAT",i18nKey:"performances",specCodes:y.find(e=>"PERFSCAT"===e.code)?.specCodes.concat(["PT1625"])},{code:"TYRESCAT",i18nKey:"tyres",specCodes:y.find(e=>"TYRESCAT"===e.code)?.specCodes},{code:"WEIGHTCAT",i18nKey:"characteristics.weight",specCodes:y.find(e=>"WEIGHTCAT"===e.code)?.specCodes},{code:"DIMCAT",i18nKey:"characteristics.dimensions",specCodes:y.find(e=>"DIMCAT"===e.code)?.specCodes},{code:"OTHERSCAT",i18nKey:"others",specCodes:y.find(e=>"OTHERSCAT"===e.code)?.specCodes}];var E=r(81569),_=r(69588),b=r(77048),P=r(89502),T=r(83680),j=r(78948),N=r(38337),I=r(88695);let S=({activeSection:e,grades:t=[],gradesParams:r,isLoadingRight:a,isLoadingLeft:i,onChangeGrades:s,onChangeVersions:l,selectedGrades:o=[{},{}],selectedVersions:d=[{},{}],variant:u,allSpecifications:m,isSticky:h=!1,modelName:g})=>{let[f,C]=o,[y,x]=d,E=(0,N.kH)("wording.characteristics.trim"),_=(0,N.kH)("wording.characteristics.engine"),S=(0,p.Hj)(r),{code:w,label:O,uri:R}=f||{},{code:D,label:L,uri:M}=C||{},{code:k,engineName:V}=y||{},{code:H,engineName:F}=x||{},U=S.find(({code:e})=>e===w)?.imageUri||R||t[0]?.uri,G=S.find(({code:e})=>e===D)?.imageUri||M||t[0]?.uri,B=t.map(({label:e="",code:t=""})=>({text:e,value:t}));B.unshift({text:E,value:""});let z=e=>{let t=(e?.versions||[]).map(({engineName:e,code:t=""})=>({text:e,value:t}));return t.length||t.unshift({text:_,value:""}),t},q=[{gradeCode:w,gradeLabel:O,imageUri:U,isLeft:!0,isLoading:i,versionCode:k,engineLabel:V,versionOptions:z(f)},{gradeCode:D,gradeLabel:L,imageUri:G,isLeft:!1,isLoading:a,versionCode:H,engineLabel:F,versionOptions:z(C)}],W=u===A.IN_MODAL;return h?(0,n.jsxs)("div",{className:c()("AlternativeVersionComparatorHeader__stickyBar",{"is-in-modal":W}),children:[(0,n.jsx)("div",{className:"AlternativeVersionComparatorHeader__row",children:q.map(({gradeCode:e,gradeLabel:t,imageUri:r,engineLabel:a},i)=>(0,n.jsxs)("div",{className:"AlternativeVersionComparatorHeader__column",children:[r&&(0,n.jsx)("figure",{className:c()("AlternativeVersionComparatorHeader__stickyImage",{"is-selected":e}),children:(0,n.jsx)(b.F,{aspectRatio:"3/2",height:"100%",uri:r,profiles:v.eh,viewPoint:"r_brandSite_carPicker_1"})}),(0,n.jsxs)("div",{className:"AlternativeVersionComparatorHeader__stickyLabels",children:[(0,n.jsx)("p",{children:t}),(0,n.jsx)("p",{children:a})]})]},i))}),m?.some(e=>e.items?.length)&&(0,n.jsx)("div",{className:"AlternativeVersionComparatorHeader__nav",children:(0,n.jsx)(I.A,{activeSection:e,allSpecifications:m})})]}):(0,n.jsx)("div",{className:c()("AlternativeVersionComparatorHeader",{"is-in-modal":W}),children:(0,n.jsx)("div",{className:"AlternativeVersionComparatorHeader__row",children:q.map(({gradeCode:e,imageUri:r,isLeft:a,isLoading:i,versionCode:o,versionOptions:d},u)=>(0,n.jsxs)("div",{className:"AlternativeVersionComparatorHeader__column",children:[r&&(0,n.jsxs)("div",{className:"AlternativeVersionComparatorHeader__top",children:[(0,n.jsx)("div",{className:c()("AlternativeVersionComparatorHeader__image",{"is-selected":e}),children:(0,n.jsx)(b.F,{aspectRatio:"3/2",width:"100%",uri:r,profiles:v.eh,viewPoint:"r_brandSite_carPicker_1"})}),i&&(0,n.jsx)("div",{className:"AlternativeVersionComparatorHeader__loader",children:(0,n.jsx)(T.l,{size:"small"})})]}),(0,n.jsxs)("fieldset",{children:[(0,n.jsx)("legend",{className:"u-hidden-wording",children:`${g} ${u+1}`}),(0,n.jsxs)("div",{className:"AlternativeVersionComparatorHeader__selects",children:[(0,n.jsx)(P.l,{id:`${a?"left":"right"}-grade-select`,"aria-label":E,options:B,value:e||B[0]?.value,onChange:e=>((e,r=!1)=>{let a=t.find(({code:t})=>e===t);if(a){let{label:e,versions:t}=a,{label:n}=t?.[0]||{};(0,j.d)({event:"compare",vehicleGradeCompare:e,vehicleVersionCompare:n}),s?.(a,r)}})(e??"",a)}),(0,n.jsx)(P.l,{id:`${a?"left":"right"}-version-select`,"aria-label":_,options:d,value:o||d[0]?.value,onChange:e=>((e,t=!1)=>{let r=t?f:C,a=(r?.versions||[]).find(({code:t})=>t===e);a&&(l?.(a,t),(0,j.d)({event:"compare",vehicleGradeCompare:r?.label,vehicleVersionCompare:a?.label}))})(e??"",a),disabled:!e})]})]})]},u))})})};var A=((a={}).IN_MODAL="in-modal",a);let w=(0,s.Ng)(({page:{data:e={}}})=>{let{c2gParams:t,modelParams:r,professionalParams:a,siteParams:n,priceParams:i}=e;return{modelData:r?.data,gradesParams:r?.gradesParams,modelAdmin:r?.model,language:n?.language||"fr",country:n?.country||"fr",currency:t?.currency,isPro:a?.isPro,hidePrices:i?.hidePrices||!1}}),O=({tabs:e,model:t,actionButton:r,modelData:a,modelAdmin:s,gradesParams:o,currentGrade:b,data:P,language:T,country:j,currency:N,isPro:I,variant:A,editContext:w,hidePrices:O,energyPrices:R})=>{let{showOnlyDifferences:D}=(0,_.iM)(),{priceType:L,modelName:M}=s||{},{grades:k=[]}=a||{},[V,H]=(0,i.useState)(!1),[F,U]=(0,i.useState)(!1),[G,B]=(0,i.useState)(b??k[0]),[z,q]=(0,i.useState)(),[W,$]=(0,i.useState)(G?.ver
1sions?.[0]&&P?{...G?.versions?.[0],...P}:void 0),[Y,K]=(0,i.useState)(),[X,Z]=(0,i.useState)(""),Q="/wired/commerce/v1/usage-based-consumptions/annual-energy-cost",[,J]=(0,h.A)({method:"POST",url:Q,returnPromise:!0}),[,ee]=(0,h.A)({method:"POST",url:Q,returnPromise:!0}),[et,er]=(0,i.useState)(),[ea,en]=(0,i.useState)(),ei=(0,p.Hj)(o),es=(0,i.useCallback)(async(e,t)=>{if(!t)return;let r=(0,C.dt)(R);try{let a=await ("left"===e?J:ee)({data:{...r,uri:t}});"left"===e?a?.data&&er(a.data):a?.data&&en(a.data)}catch{"left"===e?er(void 0):en(void 0)}},[R,J,ee]);(0,g.A)(()=>{let e=a?.engines?.find(e=>e.label===W?.engineName)?.nextURI;e&&es("left",e)});let el=async(e,t,r)=>{let{code:a,uri:n}=r||{},i=ei.find(({code:e})=>e===a)?.imageUri||n;e?H(e):U(!e);try{let{data:e}=await l.A.get((0,f.sB)("/agg/v1/vn/model/slice43vC",{language:T,priceType:L,country:j,imageURI:i,uri:t?.uri,isPro:I}));return{...t,...e}}catch(e){throw Error(`Failed to fetch version comparator data: ${e instanceof Error?e.message:String(e)}`)}finally{H(!1),U(!1)}},eo=async(e,t)=>{let r=await el(t,e,t?G:z),n=a?.engines?.find(e=>e.label===r?.engineName)?.nextURI;t?($(r),es("left",n)):(K(r),es("right",n))},ec=async(e,t)=>{let{versions:r}=e,n=r?.[0],i=await el(t,n,e),s=a?.engines?.find(e=>e.label===i?.engineName)?.nextURI;t?(B(e),$(i),es("left",s)):(q(e),K(i),es("right",s))},ed=(0,i.useRef)(!1);!ed.current&&b&&(ec(b,!0),ed.current=!0);let eu=W?.energyCategory==="electric"?x:y,em=(0,v.WC)(eu,N,W,Y,D);e?.priceFinancingLabel&&em.unshift({title:e.priceFinancingLabel,code:"priceFinancing",type:"financing"});let ep=(0,i.useRef)(null),eh=(0,d.W)(ep,{initial:!0,margin:"0px 0px 9999px 0px"});return(0,n.jsx)(u.G,{padding:"no-padding",isFullWidth:"in-modal"!==A,children:(0,n.jsxs)("div",{className:c()("AlternativeVersionComparator",{"is-in-modal":"in-modal"===A}),children:[(0,n.jsx)("div",{className:c()("AlternativeVersionComparator__headerSticky",{"is-visible":!eh}),children:(0,n.jsx)(S,{variant:A,grades:k,gradesParams:o,onChangeVersions:eo,onChangeGrades:ec,selectedVersions:[W,Y],selectedGrades:[G,z],isLoadingRight:F,isLoadingLeft:V,allSpecifications:em,activeSection:X,isSticky:!0})}),(0,n.jsxs)("div",{className:"AlternativeVersionComparator__body",children:[(0,n.jsx)("div",{ref:ep,className:"AlternativeVersionComparator__sentinel"}),(0,n.jsx)(S,{variant:A,grades:k,gradesParams:o,onChangeVersions:eo,onChangeGrades:ec,selectedVersions:[W,Y],selectedGrades:[G,z],isLoadingRight:F,isLoadingLeft:V,allSpecifications:em,activeSection:X,modelName:M}),(0,n.jsx)(E.A,{variant:A,tabs:e,actionButton:r,gradesParams:o,hidePrices:O,leftAnnualEnergyCost:et,selectedVersions:[W,Y],selectedGrades:[G,z],model:t,modelAdmin:s,allSpecifications:em,energyPrices:R,modelData:a,onActiveSectionChange:Z,rightAnnualEnergyCost:ea})]}),(0,n.jsx)(m.Cq,{editContext:w})]})})},R=w(e=>(0,n.jsx)(_.BM,{children:(0,n.jsx)(O,{...e})}))},81569(e,t,r){"use strict";r.d(t,{A:()=>M});var a=r(91987),n=r(71763),i=r(20496),s=r(97500),l=r.n(s),o=r(15957),c=r(29016),d=r(57830),u=r(45706),m=r(67364),p=r(84759),h=r(38337),g=r(75743),f=r(6794),v=r(64744),C=r(21283),y=r(62496),x=r(69588),E=r(62427),_=r(77048),b=r(73437),P=r(78948),T=r(84588),j=r(54961);let N=({actions:e,gradesParams:t,modelAdmin:r,modelData:i,selectedDimensions:s,selectedGrades:l,selectedVersions:o})=>{let{type:c,text:d,link:u}=e||{},{imageURI:m="",modelConfigHomepageURL:g,modelType:f}=r||{},v=(0,h.kH)("wording.actions.configure"),C="LCV"===f,y=C?j.eq:j.eh;return(0,a.jsx)("div",{className:"ComparatorCtaZone",children:o?.map((e,o)=>{let{label:h}=s?.[o]||{},{label:f,code:x}=l?.[o]||{},{uri:N}=e||{},I=(0,j.ts)(e)?e.nextURI:N,S=Object.values(t||{}).find(e=>e.code===x)?.imageUri||I||m,A=e&&!(0,j.ts)(e)?e.engineName:void 0,w=g&&(0,p.sB)(g,{conf:I,stepType:"design"}),O=(0,T.I)({type:c,url:u,modelAdmin:r,modelURI:I});return(0,a.jsx)("div",{className:"ComparatorCtaZone__column",children:I&&(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("figure",{className:"ComparatorCtaZone__image",children:(0,a.jsx)(_.F,{uri:S,alt:"",profiles:y,width:"100%",aspectRatio:"3/2",viewPoint:C?"lcv_version_comparator_1":"r_brandSite_carPicker_1"})}),(0,a.jsxs)("div",{className:"ComparatorCtaZone__gradeVersionTitle",children:[h&&(0,a.jsx)("p",{children:h}),f&&(0,a.jsx)("p",{children:f}),A&&(0,a.jsx)("p",{children:A})]}),(0,a.jsxs)("div",{className:"ComparatorCtaZone__ctaButtons",children:[(0,a.jsx)(b.l,{variant:"cta-primary",useButtonMarkup:!0,title:v,href:w,onClick:()=>{(0,P.d)({event:"navigationClick",buttonText:v,destination:w,locationInPage:"comparator"})}}),(0,a.jsx)(b.l,{variant:"cta-ghost",useButtonMarkup:!0,title:d,href:O,target:c===E.b.MODEL_BROCHURE?"_blank":"",onClick:()=>(0,T.E)({destination:O,modelAdmin:r,modelData:i,locationInPage:"comparator",buttonText:d,type:c})})]})]})},`versioncomparator-ctas-${0===o?"left":"right"}`)})})};var I=r(80381),S=r(27189),A=r(81766),w=r(48501);let O=({selectedVersions:e,showMonthlyPayment:t,showCalculator:r,locationInPageTracking:n,variant:i})=>{let[s,o]=e||[],{finance:c={}}=s||{},{finance:d={}}=o||{},u=[c,d].reduce((e,t)=>
1t.versionId?{...e,[t.versionId]:t}:e,{});return(0,a.jsx)(w.A,{vehicleProxyParams:u,dealer:A.IN.ONE_COMPARE,isMultiple:!0,renderWhenWaitingOffer:!0,children:({offers:e,showSimulatorModalHandler:u,isLoadingOffer:m})=>{let p=e?.[c?.versionId],h=e?.[d?.versionId];return(0,a.jsxs)("div",{className:l()("PricesComparator__columns",{"is-in-modal":i===y.Variant.IN_MODAL}),children:[(0,a.jsxs)("div",{className:"PricesComparator__column",children:[s&&(0,a.jsx)("div",{className:"PricesComparator__startingFrom",children:(0,a.jsx)(S.r,{size:"small",confData:s})}),t&&p&&(0,a.jsx)(I.e,{withProductType:!0,size:"small",offer:p,onSimulatorClick:u,tracking:{vehicleModel:c?.modelC,locationInPage:n},isLoading:m})]}),(0,a.jsxs)("div",{className:"PricesComparator__column",children:[o&&(0,a.jsx)("div",{className:"PricesComparator__startingFrom",children:(0,a.jsx)(S.r,{size:"small",confData:o})}),t&&h&&(0,a.jsx)("div",{children:(0,a.jsx)(I.e,{withProductType:!0,size:"small",offer:h,onSimulatorClick:r?()=>u(d?.versionId):void 0,tracking:{vehicleModel:d?.modelC,locationInPage:n}})})]})]})}})},R=(e,t,r,i)=>{let{value:s,optionPrice:l}=e||{};switch(s){case"standard":return t;case"option":return(0,a.jsxs)(n.Fragment,{children:[!i&&(0,a.jsx)("span",{className:"AlternativeVersionComparatorBody__optionPrices",children:l})," ",r]});case"none":return"—";default:return null}},D=({children:e,onVisibilityChange:t})=>{let r=(0,n.useRef)(null),i=(0,o.W)(r,{amount:0,margin:"-190px 0px -80% 0px"});return(0,n.useEffect)(()=>{t(i)},[i,t]),(0,a.jsx)("div",{ref:r,className:"AlternativeVersionComparatorBody__section",children:e})},L=(e,t)=>e&&"engineName"in e?t?.engines?.find(t=>t.label===e?.engineName):e&&"nextURI"in e?e:void 0,M=({actionButton:e,allSpecifications:t=[],energyPrices:r,gradesParams:s,leftAnnualEnergyCost:o,model:E,modelAdmin:_,modelData:b,onActiveSectionChange:P,rightAnnualEnergyCost:T,selectedDimensions:j,selectedGrades:I,selectedVersions:S,tabs:A,variant:w,hidePrices:M})=>{let{showOnlyDifferences:k,setShowOnlyDifferences:V}=(0,x.iM)(),{showFinanceDataProduct:H,financeDataDisplayMode:F,modelType:U}=_||{},{optionalLabel:G,showDifferencesLabel:B,slideAngleLabel:z}=E||{},{priceFinancingLabel:q}=A||{},W=(0,i.d4)(({page:{data:e}})=>e?.tcoParams?.costsAndSavings?.annualEnergyCostLabel),[$,Y]=j||[],[K,X]=I||[],[Z,Q]=S||[],J=U===c.P.LCV,ee=U===c.P.STANDARD&&K?.code===X?.code,et=J&&$?.code===Y?.code,er=k&&(ee||et),ea=(0,n.useCallback)((e,t)=>{t&&P?.(e)},[P]),en=J?g.IF.LCV:g.IF.STANDARD,{technicalSpecifications:ei=[],equipments:es=[],scene:el,code:eo}=Z||{},{technicalSpecifications:ec=[],equipments:ed=[],scene:eu,code:em}=Q||{},ep=(0,h.kH)("wording.yes"),eh=w===y.Variant.IN_MODAL,eg=(0,n.useMemo)(()=>{let[t,r]=I||[],[a,n]=S||[],i=Object.values(s||{}).find(e=>e.code===t?.code)?.imageUri,l=Object.values(s||{}).find(e=>e.code===r?.code)?.imageUri;return{leftSelectedModel:{modelAdmin:{..._,imageURI:i??t?.uri}},rightSelectedModel:{modelAdmin:{..._,imageURI:l??r?.uri}},leftSelectedEngine:L(a,b),rightSelectedEngine:L(n,b),leftModelData:a,rightModelData:n,gradeLeft:t,gradeRight:r,actionButton:e,isInAlternativeVersionComparatorBody:!0}},[e,s,_,b,I,S]);return(0,a.jsxs)("div",{className:l()("AlternativeVersionComparatorBody",{"is-in-modal":eh}),children:[eo&&em&&(0,a.jsxs)("div",{className:"AlternativeVersionComparatorBody__toggle",children:[(0,a.jsx)("div",{className:"AlternativeVersionComparatorBody__radioLabel",children:B}),(0,a.jsx)("div",{children:(0,a.jsx)(d.d,{id:"onlyDifferences",name:"onlyDifferences",size:"large",value:k,onChange:V})})]}),el&&eu&&!er&&(0,a.jsx)("div",{className:"AlternativeVersionComparatorBody__modelViewerZone",children:(0,a.jsx)(v.A,{className:"AlternativeVersionComparatorBody__modelViewer",scene1:el,scene2:eu,viewPoints:en,visualCompareLabel:z,withoutControls:eh})}),(0,a.jsxs)("div",{className:"AlternativeVersionComparatorBody__specs",children:[(0,a.jsxs)(D,{onVisibilityChange:e=>ea("priceFinancing",e),children:[(0,a.jsxs)("div",{className:"AlternativeVersionComparatorBody__title",children:[(0,a.jsx)(u.M,{className:"AlternativeVersionComparatorBody__anch
1or",anchor:"anchor-priceFinancing"}),q]}),(0,a.jsx)(O,{variant:w,selectedVersions:S,showMonthlyPayment:(0,m.fB)(H,F),showCalculator:(0,m.kZ)(H,F),locationInPageTracking:"AltVersionComparator"})]},"priceFinancing"),t.map(({title:t,code:n,items:i=[],type:s},l)=>i.length>0&&(0,a.jsxs)(D,{onVisibilityChange:e=>ea(n||`section-${l}`,e),children:[(0,a.jsxs)("div",{className:"AlternativeVersionComparatorBody__title",children:[(0,a.jsx)(u.M,{className:"AlternativeVersionComparatorBody__anchor",anchor:`anchor-${n?.replace(/\s/g,"")}`}),t]}),(0,a.jsxs)("div",{className:"AlternativeVersionComparatorBody__subCategories",children:[i.map(({title:e,code:t,values:r})=>{let n="techSpecs"===s?[{data:ei,displayValue:r?.[0]?.value},{data:ec,displayValue:r?.[1]?.value}]:[{data:es,displayValue:R(r?.[0],ep,G,M)},{data:ed,displayValue:R(r?.[1],ep,G,M)}];return(0,a.jsx)("div",{className:"AlternativeVersionComparatorBody__row","data-code":t,children:n.map(({data:t,displayValue:r},n)=>t.length>0&&(0,a.jsxs)("dl",{className:"AlternativeVersionComparatorBody__item",children:[(0,a.jsx)("dt",{className:"AlternativeVersionComparatorBody__itemKey",children:e}),(0,a.jsx)("dd",{className:"AlternativeVersionComparatorBody__itemValue",children:r})]},n))},t)}),"CONSOCAT"===n&&W&&(0,a.jsxs)("div",{className:"AlternativeVersionComparatorBody__row",children:[o&&(0,a.jsxs)("dl",{className:"AlternativeVersionComparatorBody__item",children:[(0,a.jsx)("dt",{className:"AlternativeVersionComparatorBody__itemKey",children:W}),(0,a.jsx)("dd",{className:"AlternativeVersionComparatorBody__itemValue",children:o?.annualEnergyCost?.value!==void 0?`${Math.round(o.annualEnergyCost.value/12)} ${(0,p.Qn)(o.annualEnergyCost.currency)}/${(0,h.kH)("months.month")}`:"-"})]}),T&&(0,a.jsxs)("dl",{className:"AlternativeVersionComparatorBody__item",children:[(0,a.jsx)("dt",{className:"AlternativeVersionComparatorBody__itemKey",children:W}),(0,a.jsx)("dd",{className:"AlternativeVersionComparatorBody__itemValue",children:T?.annualEnergyCost?.value!==void 0?`${Math.round(T.annualEnergyCost.value/12)} ${(0,p.Qn)(T.annualEnergyCost.currency)}/${(0,h.kH)("months.month")}`:"-"})]})]})]}),"CONSOCAT"===n&&e?.ctaLabel&&eo&&em&&!eh&&(0,a.jsx)(C.A.Provider,{value:eg,children:(0,a.jsx)(f.A,{energyPrices:r})})]},`${n}-${t}`))]}),w!==y.Variant.IN_MODAL&&(0,a.jsx)(N,{actions:e,gradesParams:s,modelData:b,modelAdmin:_,selectedGrades:I,selectedVersions:S,selectedDimensions:j})]})}},69588(e,t,r){"use strict";var a=r(91987),n=r(71763);let i=(0,n.createContext)(void 0);r.d(t,{},{BM:({children:e})=>{let[t,r]=(0,n.useState)(!1);return(0,a.jsx)(i.Provider,{value:{showOnlyDifferences:t,setShowOnlyDifferences:r},children:e})},iM:()=>{let e=(0,n.useContext)(i);if(void 0===e)throw Error("useAlternativeVersionComparatorContext must be used within AlternativeVersionComparatorProvider");return e}})},88695(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(97500),s=r.n(i),l=r(63481),o=r(93801);r.d(t,{},{A:({activeSection:e,allSpecifications:t})=>{let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(r.current&&i.current&&e){let e=r.current,t=i.current,a=e.offsetLeft-t.clientWidth/2+e.clientWidth/2;t.scrollTo({left:a,behavior:"smooth"})}},[e]),(0,a.jsx)("nav",{className:"AlternativeVersionComparatorMenu",children:(0,a.jsx)(l.u,{children:(0,a.jsx)("ul",{className:"AlternativeVersionComparatorMenu__list",ref:i,children:t?.map(({code:t,title:n,items:i,type:l})=>i?.length||"financing"===l?(0,a.jsx)("li",{ref:e===t?r:null,children:(0,a.jsx)(o.R,{className:s()("AlternativeVersionComparatorMenu__link",{"is-active":e===t}),href:`#anchor-${t?.replace(/\s/g,"")}`,"data-track":"click","data-track-event":"navigationClick","data-track-button-text":n,children:n})},t):null)})})})}})},84938(e,t,r){"use strict";r.d(t,{},{A:[{code:"ENGINESCAT",i18nKey:"characteristics.engine",specCodes:["PT1633","PT21","PT1623","PT1625","PT42","PT44","PT1690","PT1122"]},{code:"CONSOCAT",i18nKey:"characteristics.consumptions",specCodes:["PT5609","PT5619","PT5610","PT5620"]},{code:"DIMCAT",i18nKey:"characteristics.dimensions",specCodes:["PT1691","PT1118","PT141","PT1120","PT1686","PT151"]}
1,{code:"WEIGHTCAT",i18nKey:"characteristics.weight",specCodes:["PT1660","PT1657","PT1661"]}]})},51421(e,t,r){"use strict";r.d(t,{},{A:[{code:"ENGINESCAT",i18nKey:"characteristics.engine",specCodes:["PT5545","PT5646","PT5546","PT1633","PT21","PT1623","PT1625","PT1690","PT1122"]},{code:"CONSOCAT",i18nKey:"characteristics.consumptions",specCodes:["PT5609","PT5643"]},{code:"DIMCAT",i18nKey:"characteristics.dimensions",specCodes:["PT1691","PT1118","PT141","PT1120","PT1686","PT151"]},{code:"WEIGHTCAT",i18nKey:"characteristics.weight",specCodes:["PT1660","PT1657","PT1661"]}]})},54961(e,t,r){"use strict";var a=r(44803),n=r.n(a),i=r(59635),s=r.n(i),l=r(58226),o=r(84759),c=r(38337);let d=e=>(t,r)=>e.map(({i18nKey:e,code:a,specCodes:n})=>({title:(0,c.hO)(`wording.${e}`),code:a,items:n.reduce((e,a)=>{let n=t.reduce((e,{version:t})=>{if(!t)return{...e,values:[...e.values,{value:null}]};let{engineName:r,technicalSpecifications:n=[]}=t,{label:i,values:s=[]}=n.find(({code:e})=>e===a)||{},o="engineName"===a?(0,c.hO)("wording.characteristics.engine"):i,d={value:"engineName"===a?r:s.filter(e=>(0,l.hx)(e)).join(" - ")||"—"};return{...e,title:e.title||o,values:[...e.values,d]}},{code:a,title:void 0,values:[]}),i=n.values.every(({value:e})=>!e||"—"===e),s=n.values.every(({value:e},t,r)=>!e||e===r[0].value);return r&&s||i?e:[...e,n]},[])})),u=e=>(t,r)=>{let a=t.reduce((t,{version:r},a)=>[...t,...n()(r,"equipments",[]).reduce((t,{code:r,label:n,standards:i,options:s})=>[...t,...i.map(({code:e,label:t})=>({column:a,categoryCode:r,categoryTitle:n,equipmentCode:e,equipmentTitle:t,value:"standard"})),...s.map(({code:t,label:i,optionPrice:s})=>({column:a,categoryCode:r,categoryTitle:n,equipmentCode:t,equipmentTitle:i,value:"option",optionPrice:s&&e?(0,o.ZV)(s,{currency:e}):void 0}))],[])],[]);return s()(a,"categoryCode").map(({categoryCode:e,categoryTitle:n})=>({code:e,title:n,items:s()(a?.filter(t=>t.categoryCode===e),"equipmentCode").reduce((n,{equipmentCode:i,equipmentTitle:s})=>{let l=t.map(({version:t},r)=>{let{value:n,optionPrice:s}=a.find(t=>t.categoryCode===e&&t.equipmentCode===i&&t.column===r)||{value:"none",optionPrice:void 0};return t?{value:n,optionPrice:s}:{value:null}});return r&&l.filter(({value:e})=>!!e).every(({value:e},t,r)=>e===r[0].value)?n:[...n,{code:i,title:s,values:l}]},[])})).sort(({title:e},{title:t})=>e<t?-1:1)};r.d(t,{},{R4:d,WC:(e,t,r,a,n=!1)=>{let i=d(e)([{version:r},{version:a}],n),s=u(t)([{version:r},{version:a}],n);return[...i.map(e=>({...e,type:"techSpecs"})),...s.map(e=>({...e,type:"equipments"}))]},eh:{small:"ONE_DACIA_PP_SMALL_DENSITY1",medium:"ONE_DACIA_PP_LARGE_DENSITY1",large:"ONE_DACIA_PP_XLARGE_DENSITY1",xlarge:"ONE_DACIA_PP_XLARGE_DENSITY1",smallx2:"ONE_DACIA_PP_SMALL_DENSITY2",mediumx2:"ONE_DACIA_PP_LARGE_DENSITY2",largex2:"ONE_DACIA_PP_XLARGE_DENSITY2",xlargex2:"ONE_DACIA_PP_XLARGE_DENSITY2"},ej:u,eq:{small:"lcv_version_comparator_1_medium",medium:"lcv_version_comparator_1_medium",large:"lcv_version_comparator_1_medium",xlarge:"lcv_version_comparator_1_medium",smallx2:"lcv_version_comparator_1_medium_density_2",mediumx2:"lcv_version_comparator_1_medium_density_2",largex2:"lcv_version_comparator_1_medium_density_2",xlargex2:"lcv_version_comparator_1_medium_density_2"},ts:e=>void 0!==e&&"nextURI"in e})},24453(e,t,r){"use strict";var a=r(48412),n=r(53572),i=r.n(n),s=r(44803),l=r.n(s),o=r(15227),c=r.n(o),d=r(17063),u=r.n(d),m=r(57625),p=r(47219),h=r(61300),g=r(90939),f=r(65996);let v={channel:"main",salesChannel:"STORE",zone:"IDF"},C="err.func.cma.validation.mandatory-commercial-actions",y=async()=>{let{data:e,status:t}=await a.A.post((0,h.A)("api.orders.initCart"))||{};return{data:e,status:t}},x=async(e,t)=>{if(!t)throw Error("NO_ORDERGROUPUUID");let{data:r,status:n}=await a.A.put((0,g.A)((0,h.A)("api.orders.updateCart"),{orderGroupUuid:t}),e);return{data:r,status:n}},E=async e=>{if(!e)throw Error("NO_ORDERGROUPUUID");let{data:t,status:r}=await a.A.get(`wired/commerce/v1/carts/${e}/cart-request`);return{data:t,status:r}};function _(e,t){let{initialformValue:r={},onNextClick:a,orderGroupUuidQueryParams:n}=e||{},{storeId:s,initCart:o}=t||{},d=n;return async(e={})=>{let t,{delta:n,updatedCartValue:m,stepName:p}=e,h=s?{...v,storeId:s}:v,g=i()(l()(r,"mm18.request",h)),f=c()(g,n),E=i()(r);if(u()(E,"mm18.request",f),o){let{data:{orderGroupUuid:e}}=await y();d=e,n&&(n.orderGroupUuid=e)}if(n||m||p){let e;if(p){f.customerFrontOfficeCheckoutTracking||(f.customerFrontOfficeCheckoutTracking=[]);
1let e={step:p,validationDateTime:new Date().toISOString()},t=f.customerFrontOfficeCheckoutTracking.findIndex(({step:e})=>e===p);-1===t?f.customerFrontOfficeCheckoutTracking.push(e):f.customerFrontOfficeCheckoutTracking[t]=e}if(m)e=m;else{let{data:r,status:a}=await x(f,d).catch(({response:e={}})=>e);if(e=r,400===(t=a)&&l()(e,"messages[0].code","")===C)throw Error("SELECTDEALER_FAILED");if(200!==t)throw Error("UPDATECART_FAILED")}u()(E,"mm18.cartValue",e)}a(E,{status:t})}}let b=async({handlePushTracking:e,initialCartValues:t,onNextClick:r,orderGroupUuidQueryParams:a})=>{let n,i=a||"",s=t;if(i){let{data:e,status:t}=await E(i);if(200!==(n=t))throw Error("GET_CART_REQUEST_FAILED");s=e}else{let{data:{orderGroupUuid:e=""}={},status:t}=await y();if(200!==(n=t))throw Error("CREATE_CART_FAILED");i=e}let{data:l={},status:o}=await x({...s,products:t?.products,leadInfo:t?.leadInfo},i).catch(({response:e={}})=>e);if(400===(n=o)&&(l.message?.[0]?.code||"")===C)throw Error("SELECT_DEALER_FAILED");if(200!==n)throw Error("UPDATE_CART_FAILED");e&&e(l),r(i,n)};function P(e){let{modelCode:t,modelLabel:r,prices:a=[],brandLabel:n}=((0,m.OU)(e)||(0,p.qH)(e)?(0,f.DE)(e):void 0)||{},{discountedPriceWithTaxes:i}=a[0]||{};return{name:r,id:t,price:i?i.toString():void 0,brand:n,category:"newCars",quantity:1}}let T=async(e,t,r)=>{let n=`/wired/commerce/v1/order-groups/${e}/status`,{data:i,status:s}=await a.A.post(n,{externalStatusCode:"ORDER_FINANCING_OFFER_RECEIVED",processInfo:{executionDate:new Date().toISOString(),processStatus:"IN_PROGRESS",processName:"ORDER_FINANCING_OFFER_RECEIVED",resultInfo:{result:{offerId:t,originalRciInfo:r}}}});return{data:i,status:s}};r.d(t,{CV:()=>_,JE:()=>P},{$A:T,L8:(e={})=>{let{version:{code:t="",label:r=""}={}}=e;return`${t}${t&&r?"|":""}${r}`},iH:x,zf:b})},75743(e,t,r){"use strict";var a,n=r(96175);Object.values(((a={}).HOME="HOME",a.HOMEA="HOMEA",a.HOMEP="HOMEP",a.ROAD="ROAD",a.ROADA="ROADA",a.ROADP="ROADP",a));let i=["PT1623","PT5609","PT5619","PT1640","PT1643"],s={[n.D.ICEMONOFUEL]:{full:["PT1623","PT1625","PT42","PT44","PT5609","PT5619","PT1121","PT1122","PT21","PT1662"],preview:i},[n.D.MILDHYBRID]:{full:["PT1623","PT1625","PT42","PT44","PT5609","PT5619","PT1121","PT1122","PT21","PT1662"],preview:i},[n.D.ICEBIFUELLPG]:{full:["PT1623","PT1625","PT5716","PT42","PT44","PT5609","PT5619","PT5610","PT5620","PT1121","PT1122","PT5718","PT5717","PT21","PT1662"],preview:["PT1623","PT5609","PT5619","PT5610","PT5620","PT1640","PT1643"]},[n.D.HEV]:{full:["PT1623","PT1625","PT42","PT44","PT5545","PT5673","PT5712","PT5609","PT5619","PT1121","PT1122","PT21","PT1662"],preview:i},[n.D.ELECTRIC]:{full:["PT1623","PT5545","PT5712","PT5563","PT5714","PT5562","PT5715","PT5646","PT5643","PT5694","PT5695","PT5696","PT5697","PT1121","PT1122","PT21","PT1662"],preview:["PT1633","PT1623","PT1122","PT5646","PT5643","PT5545","PT5546","PT5543"]},[n.D.PHEV]:{full:["PT1623","PT5701","PT1625","PT5545","PT5673","PT5712","PT5719","PT5713","PT5563","PT5714","PT5666","PT5668","PT5698","PT5687","PT1121","PT1122","PT21","PT1662"],preview:["PT1623","PT5666","PT5668","PT5698","PT5687","PT1640","PT1643","PT5546","PT5543"]},[n.D.ICEBIFUELCNG]:{full:[],preview:[]},[n.D.DEFAULT]:{full:[],preview:[]}};r.d(t,{},{$8:{RENAULT:{STANDARD:[{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_34_RIGHT_FRONT"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_RIGHT_SIDE"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_34_RIGHT_REAR"}],LCV:[{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"MULTIMODEL_LCV/MM_LCV_EXT_FRONT_FACE"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"MULTIMODEL_LCV/MM_LCV_EXT_RIGHT_SIDE"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"MULTIMODEL_LCV/MM_LCV_EXT_REAR_FACE"}]},DACIA:{STANDARD:[{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_34_LEFT_REAR"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_LEFT_SIDE"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_34_LEFT_FRONT"}],LCV:[{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"MULTIMODEL_LCV/MM_LCV_EXT_REAR_FACE"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"MULTIMODEL_LCV/MM_LCV_EXT_LEFT_SIDE"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"MULTIMODEL_LCV/MM_LCV_EXT_FRONT_FACE"}]}},EG:{GRADES:"VersionGroup",COLORS:"141",COLORS_QUALITY:"Qualite Peinture",WHEELS:"PT5556",RDIF:"497",RALU:"087",UPHOLSTERY:"122",ENGINES:"PT5554",MARKETING_MODE:"2RR$",BODY:"PT1261"},IF:{STANDARD:[{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_34_RIGHT_FRONT"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_RIGHT_SIDE"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"CARPICKER/EXT_34_RIGHT_REAR"}],LCV:[{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"TOURNETTE/Ext_13"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"TOURNETTE/Ext_16"},{key:"CFG_STATIC_MODELS_VIEWER",tracking:"Exterior",icon:"exterior",mode:"image",camera:"TOURNETTE/Ext_19"}]},Lu:{SYSTEMATIC:"SYSTEMATIC",DEFAULT:"DEFAULT",OPTION:"OPTION",OPTION_PACK:"OPTION_PACK",PACK:"PACK",FORBIDDEN:"FORBIDDEN"},OM:{JPEG_80:{format:"jpeg",quality:80},JPEG_90:{format:"jpeg",quality:90}},R6:{EQUIPMENTS:"NIVEQT",ACCESSORIES:"SPARC",EV:"Spe ZE",AMBIANCE:"AMBIAN",OUTDOOR_CUSTOMIZATION:"PERSEX",INDOOR_CUSTOMIZATION:"PERSIN",COLOR_CUSTOMIZATION:"PECOUL",WHEEL_CUSTOMIZATION:"PEJANT",UPHOLSTERY_CUSTOMIZATION:"PESELL"},_O:["DEC41","DEC3182","DEC3184","DEC362","DEC391","DEC409"],_e:{left:"50%",right:"50%"},b1:{COLORS:"CATCOLORS1",WHEELS:"CATWHEELS1",UPHOLSTERIES:"CATUPHOLSTERIES1"},n7:s})},815(e,t,r){"use strict";r.d(t,{},{A:{PLUS:"+",MULTIPLY:"\xd7",COPYRIGHT:"\xa9",LEFT_MARK:"‏",NON_BREAKING_SPACE:"\xa0"}})},83901(e,t,r){"use strict";var a=r(5511);function n(e,t){return{type:a.I.FINANCE_ADD_OFFER_ON_PAGE,payload:{uniqueZoneId:t,offer:e}}}r.d(t,{e:()=>n})},27374(e,t,r){"use strict";var a=r(84315);r.d(t,{},{K:e=>async t=>{t({type:a.z.DELETE_USER_PROFILE_BOOKMARK,payload:e})}})},80271(e,t,r){"use strict";r.d(t,{DC:()=>E,FY:()=>y,OF:()=>x,QK:()=>g,QU:()=>C,b9:()=>_,qv:()=>f});var a=r(53282),n=r.n(a),i=r(29016),s=r(89629),l=r(38337);let o={ENGINE:(0,l.kH)("wording.characteristics.engine"),CONSUMPTIONS:(0,l.kH)("wording.characteristics.consumptions"),DIMENSIONS:(0,l.kH)("wording.characteristics.dimensions"),WEIGHT:(0,l.kH)("wording.characteristics.weight")},c={[o.ENGINE]:["PT5545","PT1633","PT21","PT1623","PT1625","PT1690","PT1122"],[o.CONSUMPTIONS]:["PT5609","PT5643","PT5619"],[o.DIMENSIONS]:["PT1691","PT1118","PT141","PT1120","PT802","PT923"],[o.WEIGHT]:["PT1660","PT1657"]},d={[o.ENGINE]:["PT1633","PT21","PT1623","PT1625","PT1690","PT1122"],[o.CONSUMPTIONS]:["PT5609","PT5619"],[o.DIMENSIONS]:["PT1691","PT1118","PT141","PT1120","PT802","PT923"],[o.WEIGHT]:["PT1660","PT1657"]},u={[o.ENGINE]:["PT1633","PT21","PT1623","PT1625","PT1690","PT1122"],[o.CONSUMPTIONS]:["PT5609","PT5619","PT5610","PT5620"],[o.DIMENSIONS]:["PT1691","PT1118","PT141","PT1120","PT802","PT923"],[o.WEIGHT]:["PT1660","PT1657"]},m={[o.ENGINE]:["PT5545","PT5646","PT5546","PT1633","PT21","PT1623","PT1625","PT1690","PT1122"],[o.CONSUMPTIONS]:["PT5609","PT5643"],[o.DIMENSIONS]:["PT1691","PT1118","PT141","PT1120","PT1686","PT151"],[o.WEIGHT]:["PT1660","PT1657","PT1661"]},p={[o.ENGINE]:["PT1633","PT21","PT1623","PT1625","PT42","PT44","PT1690","PT1122"],[o.CONSUMPTIONS]:["PT5609","PT5619","PT5610","PT5620"],[o.DIMENSIONS]:["PT1691","PT1118","PT141","PT1120","PT1686","PT151"],[o.WEIGHT]:["PT1660","PT1657","PT1661"]},h={VP:{ev:c,lpg:u,th:d},VU:{ev:m,th:p,lpg:p}},g=(e,t)=>e.flatMap(e=>e?.items||[]).filter(e=>void 0!==e&&t.includes(e.code||"")).sort((e,r)=>t.indexOf(e.code||"")-t.indexOf(r.code||"")),f=(e,t)=>h[t?.commercialKind==="VP"?"VP":"VU"][e],v=["-","nc","NC","tbc","TBC","at","AT","NA","na"],C=e=>!!(e&&!v.includes(e)),y=e=>e.reduce((e,t)=>
1{let r=t?.versionId;return!n()(t)&&r&&(e[r]=t),e},{}),x=(e,t)=>{let r=t?.modelSummary?.engines;if(t?.modelAdmin?.modelType===i.P.LCV&&e||!r?.length)return e;if(!e)return r[0];let a=e.nextURI,n=e.pricedVersion?.code;return r.find(t=>!!t&&(a&&t.nextURI?t.nextURI===a:n&&t.pricedVersion?.code?t.pricedVersion.code===n:t.label===e.label&&t.energyCategory===e.energyCategory&&t.mainFuelTypeCode===e.mainFuelTypeCode))||r[0]},E=e=>{if(!e)return{};let{modelAdmin:t,modelSummary:r}=e,{imageURI:a,modelName:n,shortModelName:i,modelHomepageURL:s}=t||{};return{vehicleModelName:i||n||r?.label||"",imageURI:a,modelHomepageURL:s}},_=({currentProgram:e,energyPrices:t})=>{let r=t?.chargingSubscriptionProgram?.find(t=>t.code===e);return(0,s.iU)(Number((r?r?.quickChargeDiscountValue:t?.electricInfo?.quickCharge)??0),2)}},32118(e,t,r){"use strict";var a,n=r(8322),i=((a={}).CHARGING_POINTS="chargingPoints",a.DIESEL="diesel",a.FAST_CHARGE="fastCharge",a.GAS="gas",a.LPG="lpg",a.THERMAL_CONSUMPTION="thermalConsumption",a.WORK_HOME="homeOrWork",a);r.d(t,{E:()=>i},{_:(e,t,r,a)=>{let i=["gas","diesel","lpg"],s=i.includes(e.type);if(s!==i.includes(t.type))return s?1:-1;if(s){let i="gas"===e.type&&(r===n.qY.GASOLINE||r===n.qY.HYBRID)||"diesel"===e.type&&r===n.qY.DIESEL||"lpg"===e.type&&r===n.qY.LPG;if(i!==("gas"===t.type&&(r===n.qY.GASOLINE||r===n.qY.HYBRID)||"diesel"===t.type&&r===n.qY.DIESEL||"lpg"===t.type&&r===n.qY.LPG))return i?-1:1;let s="gas"===e.type&&a===n.qY.GASOLINE||"diesel"===e.type&&a===n.qY.DIESEL||"lpg"===e.type&&a===n.qY.LPG,l="gas"===t.type&&a===n.qY.GASOLINE||"diesel"===t.type&&a===n.qY.DIESEL||"lpg"===t.type&&a===n.qY.LPG;return s?-1:+!!l}return 0}})},66994(e,t,r){"use strict";var a,n=r(96175),i=((a={}).LEFT="left",a.NONE="none",a.RIGHT="right",a);let s=(e,t,r)=>"none"===e?{showBanner:!1,annualSavings:0,winning:r,showModalBanner:!!r}:{showBanner:!0,winning:e,annualSavings:t,showModalBanner:!0};r.d(t,{$:()=>i},{Q:(e,t,r,a,i,l,o,c,d)=>{let u=r??0,m=a??0,p=l??0,h=o??0,g=Math.round(u/12),f=Math.round(m/12),v=u,C=m,y=12*Math.abs(g-f);if(c&&p&&h&&(y=Math.abs((v=12*(g+p))-(C=12*(f+h)))),!e||!t||!r||!a)return s("none",y);let x=v<C,E=C<v;if(d||i)return s(x?"left":"right",y);if(e===n.D.ELECTRIC!=(t===n.D.ELECTRIC))return x&&e===n.D.ELECTRIC?s("left",y,"left"):E&&t===n.D.ELECTRIC?s("right",y,"right"):s("none",y,e===n.D.ELECTRIC?"left":"right");return r===a?s("none",y):e===n.D.HEV&&t===n.D.MILDHYBRID&&x||e===n.D.MILDHYBRID&&t===n.D.HEV&&E||e===n.D.HEV&&(t===n.D.ICEMONOFUEL||t===n.D.ICEBIFUELLPG)&&x||t===n.D.HEV&&(e===n.D.ICEMONOFUEL||e===n.D.ICEBIFUELLPG)&&E||e===n.D.MILDHYBRID&&t===n.D.ICEMONOFUEL&&x||t===n.D.MILDHYBRID&&e===n.D.ICEMONOFUEL&&E||e===n.D.MILDHYBRID&&t===n.D.ICEBIFUELLPG||t===n.D.MILDHYBRID&&e===n.D.ICEBIFUELLPG||e===n.D.ICEMONOFUEL&&t===n.D.ICEMONOFUEL?s(x?"left":"right",y):t===n.D.ICEBIFUELLPG&&e===n.D.ICEMONOFUEL&&E||e===n.D.ICEBIFUELLPG&&t===n.D.ICEMONOFUEL&&x?s(x?"left":"right",y):s("none")}})},58226(e,t,r){"use strict";var a=r(32464),n=r(1547);let i=["","-","nc","NC","tbc","TBC","at","AT","NA","na"],s=["-","NC"],l=e=>(0,n.A)(e)?e:"string"==typeof e&&/^\d+$/.test(e)?parseInt(e,10):0;function o(e){return!s.includes(e??"NC")}let c=e=>!i.includes(e?.toString()??"NC");function d(e){return o(e?.label)&&c(e?.value)}let u=(e=[])=>e.reduce((e,t)=>t?.items?[...e,t.items]:[...e,...u(t?.presentationGroups||[])],[]);r.d(t,{Ib:()=>o,sM:()=>d},{Cl:u,fQ:(e,t)=>{let r=Number(!!t.isCustomerChoice)-Number(!!e.isCustomerChoice);if(r)return r;if(e.isCustomerChoice&&t.isCustomerChoice){let r=(e.customerChoiceOrder??Number.MAX_SAFE_INTEGER)-(t.customerChoiceOrder??Number.MAX_SAFE_INTEGER);if(r)return r}if(!e.packItems&&t.packItems)return 1;if(e.packItems&&!t.packItems)return -1;if(e.packItems){if(0===(e.packItems||[]).length&&0!==(t.packItems||[]).length)return 1;if(0!==(e.packItems||[]).length&&0===(t.packItems||[]).length)return -1}let a=e.order,n=t.order;return a&&n?a.localeCompare(n):0},hx:c,kz:(e,t)=>{if(!e)return t||"";let r=e=>(0,a.Hj)(e).flatMap(e=>[...e?.pricetypeCode?[e.pricetypeCode]:[],...e?.subPrices?r(e.subPrices):[]]),n=[t,...r(e)];
1return Array.from(new Set(n.filter(Boolean)))?.join(",")},l$:e=>(e||"").replace("AXS$",""),oV:e=>e?.slice().sort((e,t)=>{let r=(0,n.A)(e.optionPrice)?e.optionPrice:Number.MAX_VALUE,a=(0,n.A)(t.optionPrice)?t.optionPrice:Number.MAX_VALUE;return r!==a?r-a:l(e.order)-l(t.order)}),of:l})},96047(e,t,r){"use strict";var a=r(84759),n=r(90939);r.d(t,{},{p:({bonusPrice:e,currency:t,ecologicalParams:r,eecBonus:i,isPro:s=!1})=>{let{ecologicalRebateDisclaimer:l,ecologicalBonusDescription:o,ceeBonusLabel:c,ceeBonusLabelPro:d,ceeBonusDisclaimer:u}=r||{},m=s?d??c:c,p=l&&e<0&&(0,n.A)(l,{ecologicalRebate:(0,a.ZV)(Math.abs(e),{currency:t})}),h=m&&i>0&&(0,n.A)(m,{eecRebate:(0,a.ZV)(i,{currency:t})});return{...p?{ecoRebate:p||"",ecologicalBonusDescription:o||""}:{},...h?{eecBonus:h||"",eecBonusDescription:u||""}:{}}}})},46361(e,t,r){"use strict";r.d(t,{},{D:(e=[],t)=>e.find(e=>"id"in e?e.id===t:e.offerId===t)})},90834(e,t,r){"use strict";var a=r(61300);r.d(t,{},{k:({country:e,imageSize:t,itemClass:r,language:n})=>`${(0,a.A)("cdn")}/efficiencyclass/${e}/${n}/${r.toLowerCase().replace(/\+/g,"-plus")}-${t}.png`})},9897(e,t,r){"use strict";var a=r(71763),n=r(48412);let i={isLoading:void 0,response:void 0,error:void 0};r.d(t,{},{A:({afterMount:e=!1,returnPromise:t=!1,...r}={})=>{let s=(0,a.useRef)(void 0),l=(0,a.useRef)(!1),o=(0,a.useRef)(r),[c,d]=(0,a.useReducer)((e,t)=>{switch(t.type){case"AXIOS_HOOK_ACTIONS_START":return{...e,isLoading:!0};case"AXIOS_HOOK_ACTIONS_END":return{...e,isLoading:!1,response:t.payload,error:t.error};case"AXIOS_HOOK_ACTIONS_RESET":return i;default:return e}},i),u=(0,a.useCallback)(async(e,r)=>{let a=new AbortController;r?.abort(),s.current=a;try{d({type:"AXIOS_HOOK_ACTIONS_START"});let r=await (0,n.A)({...e,signal:s.current?.signal});return t?d({type:"AXIOS_HOOK_ACTIONS_END"}):d({type:"AXIOS_HOOK_ACTIONS_END",payload:r}),r}catch(e){if(l.current&&n.A.isAxiosError(e)&&(t?d({type:"AXIOS_HOOK_ACTIONS_END"}):d({type:"AXIOS_HOOK_ACTIONS_END",error:e})),t)throw e;return}},[t]),m=(0,a.useCallback)(()=>{s.current?.abort(),s.current=new AbortController,d({type:"AXIOS_HOOK_ACTIONS_RESET"})},[]);return(0,a.useEffect)(()=>(e&&!l.current&&(s.current=new AbortController,u(o.current,s.current)),l.current=!0,()=>{l.current=!1,s.current?.abort()}),[e,u]),[c,(0,a.useCallback)(e=>u({...o.current,...e},s.current),[]),m]}})},54449(e,t,r){"use strict";var a=r(20496);r.d(t,{},{q:()=>{let e=(0,a.d4)(e=>e?.page?.data?.gigyaParams?.enabled),t=(0,a.d4)(e=>e?.auth?.isProcessingLogin),r=(0,a.d4)(e=>e?.auth?.isAuthenticated),n=(0,a.d4)(e=>e?.profile?.isReady);return(!e||!1===t)&&(!r||r&&n)}})},55397(e,t,r){"use strict";var a=r(71763),n=r(20496);r.d(t,{},{A:e=>{let t=(0,n.d4)(e=>e.app.isBrowserEngine||!1);(0,a.useEffect)(()=>{t&&e()},[t])}})},67804(e,t,r){"use strict";var a=r(71763),n=r(61300),i=r(57592);let s=(0,n.A)("api.google.recaptchaEnterprise"),l="https://www.google.com/recaptcha/enterprise.js?render=explicit";r.d(t,{},{A:({id:e="inline-badge",isActive:t,action:r="VALIDATE_RECAPTCHA"})=>{let[n,o]=(0,a.useState)({loading:!0,ready:!1,error:null}),c=()=>{"u">typeof window&&window.grecaptcha.enterprise&&window.grecaptcha.enterprise.ready(()=>{o({loading:!1,ready:!0,error:null})})},d=()=>{o({loading:!1,ready:!1,error:Error("An error occurred while loading Recaptcha")})};return(0,a.useEffect)(()=>{let e=async()=>{let e=`script[src='${l}']`;document.querySelector(e)||await (0,i.lF)(l,!0,c,d)};t&&e()},[t]),(0,a.useEffect)(()=>()=>(()=>{let e="u">typeof document,{parentNode:t}=e&&document.querySelector(".grecaptcha-badge")||{};t&&t.parentNode&&e&&t.parentNode.removeChild(t);let r=document.querySelector("script[src='https://www.google.com/recaptcha/enterprise.js?render=explicit']");r&&r.remove&&r.remove()})(),[]),[n,()=>new Promise((t,a)=>{"u">typeof window&&(window.grecaptcha.enterprise&&n.ready||a(Error("Recaptcha script not yet loaded")),window.grecaptcha.enterprise.execute((()=>{try{"u">typeof window&&window.grecaptcha.enterprise.render(e,{sitekey:s,badge:"inline",size:"invisible"})}catch{}})(),{action:r}).then(t,e=>{e||a(Error("Error while receiving token")),a(e)}))})]}})},88182(e,t,r){"use strict";var a=r(71763);function n({onClick:e,onError:t,onSuccess:r,shareData:i}){let[s,l]=(0,a.useState)(!1),o=async()=>{let a=await e?.();try{await navigator?.share(a??i),r?.()}catch(e){t?.(e)}};return(0,a.useEffect)(()=>
1{l(navigator?.canShare?.(i))},[i]),{isSharable:s,handleShareClick:o}}r.d(t,{R:()=>n})},20409(e,t,r){"use strict";var a=r(71763),n=r(24948),i=r(5839);r.d(t,{},{A:e=>{let t=(0,a.useMemo)(()=>(e=>{let t="u">typeof window&&i.LO.large&&window.innerWidth>=i.LO.large,{role:r,options:a={},stayVisible:n=!0}=e;return"lazyload"===r?a.rootMargin=`0px -10px ${t?"200px":"30px"} 0px`:"animation"===r?a.rootMargin=`0px -10px ${t?"-140px":"-100px"} 0px`:"technical"===r&&(a.rootMargin="0px -10px 0px 0px"),{...a,triggerOnce:n}})(e),[e]),{ref:r,inView:s=!1,entry:l}=(0,n.Wx)(t);return{ref:r,isVisible:s,entry:l}}})},9458(e,t,r){"use strict";var a=r(85606),n=r(59180),i=r(38337);let s=(e,t,r)=>{if(!/^[0-9]{2}[-][0-9]{2}[-][0-9]{4}$/.test(`${e}-${t}-${r}`)||1e3>parseInt(r,10)||parseInt(r,10)>3e3||0===parseInt(t,10)||parseInt(t,10)>12)return!1;let a=[31,28,31,30,31,30,31,31,30,31,30,31];return(parseInt(r,10)%400==0||parseInt(r,10)%100!=0&&parseInt(r,10)%4==0)&&(a[1]=29),parseInt(e,10)>0&&parseInt(e,10)<=a[parseInt(t,10)-1]};function l(e,t){switch(t){case"yyyy-MM-dd-H-m":{let[t,r,a,n,i]=e.split("-");if(s(a,r,t)){let e=new Date(`${t}/${r}/${a}`);return e.setHours(parseInt(n,10)),e.setMinutes(parseInt(i,10)),e}return new Date("Invalid date")}case"H m":{let[t,r]=e.split(" "),a=new Date(Date.now());return a.setHours(parseInt(t,10)),a.setMinutes(parseInt(r,10)),a}case"yyyy-MM-dd":{let[t,r,a]=e.split("-");return new Date(s(a,r,t)?`${t}/${r}/${a}`:"Invalid date")}case"dd-MM-yyyy":{let[t,r,a]=e.split("-");return new Date(s(t,r,a)?`${a}/${r}/${t}`:"Invalid date")}case"dd/MM/yyyy":{let[t,r,a]=e.split("/");return new Date(s(t,r,a)?`${a}/${r}/${t}`:"Invalid date")}default:return new Date("Invalid date")}}function o(e){return new Date(e.getTime()+6e4*e.getTimezoneOffset())}function c(e,t,r){let a={weekday:"long",month:"long",day:"numeric",...r};return new Date(e).toLocaleDateString(t,a)}let d=(e,t)=>{try{let r=(0,a.H)(e);return new Intl.DateTimeFormat((0,i.JK)(),t).format(r)}catch(t){return e}},u=e=>{let[t,r=""]=e.split(":"),[a,n]=r.toString().split(" "),i=(parseInt(t,10)+12*("PM"===n&&"12"!==t)).toString();return[t,r,a,i]},m=(e,t,r)=>(0,n.GP)("string"==typeof e?(0,a.H)(e):e,t,r);function p(e){let t=[],r=Math.floor(e/3600),a=Math.round(e%3600/60);return t.push(`${r} h`),a>=0&&t.push(`${String(a).padStart(2,"0")}`),t.join(" ")}r.d(t,{P0:()=>p,VE:()=>c,q5:()=>o,qg:()=>l},{Gq:()=>new Date().toISOString().slice(0,10),Lj:(e,t,r=30,a=!1)=>{let[n,i]=e.split(":").map(e=>parseInt(e,10)),[s,l]=t.split(":").map(e=>parseInt(e,10)),o=new Date(new Date().setHours(n)).setMinutes(i),c=Math.floor(Math.abs(new Date(new Date(new Date().setHours(s)).setMinutes(l)).getTime()-new Date(o).getTime())/36e5),d=Math.floor((l-i)/10),p=60/r*c,h=p>1?p:r/10*d,g=[],f=e;for(let e=0;e<h;e+=1){let[e,t,n,i]=u(f),s=new Date(new Date().setHours(a?parseInt(i,10):parseInt(e,10),a?parseInt(n,10):parseInt(t,10))),l=new Date(new Date().setHours(a?parseInt(i,10):parseInt(e,10),a?parseInt(n,10)+r:parseInt(t,10)+r)),o=a?"hh:mm a":"HH:mm";g.push({text:m(s,o),value:`${m(s,"HH:mm")}-${m(l,"HH:mm")}`}),f=m(l,o)}return g},OG:e=>{let t=new Date(e),r=6e4*t.getTimezoneOffset();return new Date(t.getTime()-r)},Yq:m,_Q:d,hY:()=>new Date(Date.now()),lA:e=>{if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:t},oc:(e="",t)=>{let r=d(`1971-01-01T${e}`,{timeStyle:"short"});return"fr-FR"===t?r.replace(":","h"):r}})},15863(e,t,r){"use strict";var a=r(48412),n=r(15641);function i(e,t="document",r){let a=document.createElement("a");a.setAttribute("href",e),a.setAttribute("target","_blank"),r||a.setAttribute("download",t),a.click()}function s(e,t="document",r){return a.A.get(e,{responseType:"blob"}).then(e=>{i(window.URL.createObjectURL(new File([e.data],t,{type:r?.mimeType||e.data?.type||"application/pdf"})),t,r?.withoutDownloadAttribute)})}function l(e,t="document",r=!0){r?s(e,t,{mimeType:"application/pdf",withoutDownloadAttribute:!(0,n.un)()}):i(e,t,!(0,n.un)())}r.d(t,{El:()=>s,sS:()=>l,zc:()=>i})},48159(e,t,r){"use strict";r.d(t,{},{Y:(e,t)=>{let{homologatedEfficiency:r,homologatedCo2:a,homologatedUnit:n,airQualityCertificate:i,pricedVersion:s}=e||t||{};if(r)return{homologatedEfficiency:r,homologatedCo2:a,homologatedUnit:n,airQualityCertificate:i};let l=e?.versions?.find(e=>e.code===s?.code)||t?.grades?.reduce((e,t)=>
1t.versions?.find(e=>e.code===s?.code)||e,{})||{};return{homologatedEfficiency:l?.homologatedEfficiency,homologatedCo2:l?.homologatedCo2,homologatedUnit:l?.homologatedUnit,airQualityCertificate:l?.airQualityCertificate||i,efficiencyClassMin:l?.efficiencyClassMin}}})},8322(e,t,r){"use strict";var a,n=r(87082),i=r(96175),s=r(32464),l=((a={}).CNG="cng",a.DIESEL="diesel",a.ELECTRIC="electric",a.FLEX_FUEL="flexFuel",a.GASOLINE="gasoline",a.HYBRID="hybrid",a.HYBRID_PLUGIN="hybridPlugin",a.LPG="lpg",a.MILD_HYBRID="mildHybrid",a);let o=[{mainFuelTypeCode:[i.H.ESS],energyCategory:i.D.ICEMONOFUEL,value:{code:"gasoline",value:n.H4.GASOLINE,"energy.group":"ESS"}},{mainFuelTypeCode:[i.H.GASLN],energyCategory:i.D.ICEMONOFUEL,value:{code:"gasoline",value:n.H4.GASOLINE,"energy.group":"ESS"}},{mainFuelTypeCode:[i.H.GAS],energyCategory:i.D.ICEMONOFUEL,value:{code:"gasoline",value:n.H4.GASOLINE,"energy.group":"ESS"}},{mainFuelTypeCode:[i.H.FLEXFL],energyCategory:i.D.ICEMONOFUEL,value:{code:"flexFuel",value:n.H4.FLEXFUEL,"energy.group":"FLEXFL"}},{mainFuelTypeCode:[i.H.ESS,i.H.GASLN,i.H.GAS],energyCategory:i.D.ICEBIFUELCNG,value:{code:"cng",value:n.H4.CNG,"energy.group":"ICEBIFUELCNG"}},{mainFuelTypeCode:[i.H.DIESEL,i.H.DISEL],energyCategory:i.D.ICEMONOFUEL,value:{code:"diesel",value:n.H4.DIESEL,"energy.group":"DIESEL"}},{mainFuelTypeCode:[i.H.ESS,i.H.GASLN,i.H.GAS],energyCategory:i.D.ICEBIFUELLPG,value:{code:"lpg",value:n.H4.LPG,"energy.group":"ICEBIFUELLPG"}},{mainFuelTypeCode:[i.H.ESS,i.H.GASLN,i.H.GAS],energyCategory:i.D.HEV,value:{code:"hybrid",value:n.H4.HYBRID,"energy.group":"HEV"}},{mainFuelTypeCode:[i.H.ESS,i.H.GASLN,i.H.GAS],energyCategory:i.D.PHEV,value:{code:"hybridPlugin",value:n.H4.HYBRID_PLUGIN,"energy.group":"PHEV"}},{mainFuelTypeCode:[i.H.ELEC,i.H.ELECX,i.H.ELECT],energyCategory:i.D.ELECTRIC,value:{code:"electric",value:n.H4.ELECTRIC,"energy.group":"ELECTRIC"}},{mainFuelTypeCode:[i.H.ELEC,i.H.ELECX,i.H.ELECT],value:{code:"electric",value:n.H4.ELECTRIC,"energy.group":"ELECTRIC"}},{mainFuelTypeCode:[i.H.ESS,i.H.GASLN],energyCategory:i.D.MILDHYBRID,value:{code:"mildHybri
1d",value:n.H4.MILDHYBRID,"energy.group":"MILDHYBRID"}}],c=[i.D.HEV,i.D.PHEV,i.D.ELECTRIC],d=[i.D.HEV,i.D.PHEV],u=[i.D.ELECTRIC,i.D.PHEV],m=["ESS","ICEBIFUELLPG","DIESEL"],p=(e,t)=>o.find(r=>r.energyCategory===e&&t&&r.mainFuelTypeCode?.includes(t)),h=e=>o.find(t=>t.value.code===e);r.d(t,{qY:()=>l},{AI:e=>c.some(t=>t===e),DZ:e=>m.some(t=>t===e?.toUpperCase()),Tb:p,iV:({engines:e,overridenModelEnergies:t})=>{let r=e?.map(({energyCategory:e,mainFuelTypeCode:t})=>p(e,t)?.value.code)||[],a=[];return t&&(0,s.Hj)(t).forEach(e=>{if("object"==typeof e&&e.type){let t=h(e.type);t?.value?.code&&a.push(t.value.code)}}),[...new Set([...r,...a].filter(Boolean))]},jh:({energyCategory:e,energyGroup:t})=>e?u.some(t=>t===e):"ELECTRICAL"===t,kv:h,lL:e=>d.some(t=>t===e)})},29224(e,t,r){"use strict";r.d(t,{},{CF:(e,t)=>{if(!e)return;let r=t?`MAIN_PICTURE_${t.toUpperCase()}`:"";return e.find(e=>e.assetRole===r)?.renditions?.[0]?.url||e.find(e=>"MAIN_PICTURE"===e.assetRole)?.renditions?.[0]?.url},Lh:(e,t)=>e?.find(e=>e.assetRole===t)?.renditions?.[0]?.url||"",re:(e,t)=>{if(!e)return;let r=t?`MAIN_PICTURE_${t.toUpperCase()}`:"",a=e.find(e=>e.assetRole===r)?.renditions?.map(e=>e.url).filter(Boolean)||[];return a?.length>0?a:e.find(e=>"MAIN_PICTURE"===e.assetRole)?.renditions?.map(e=>e.url).filter(Boolean)}})},67364(e,t,r){"use strict";let a;var n=r(81766),i=r(16777);r.d(t,{},{Cu:"/vendor/jquery/jquery-3.7.1.min.js",fB:(e,t)=>!!e&&!!t&&(t===n.zH.CALCULATOR_AND_PRICE||t===n.zH.MONTHLY_PRICE),kZ:(e,t)=>!!e&&!!t&&(t===n.zH.CALCULATOR||t===n.zH.CALCULATOR_AND_PRICE),ku:(e=[])=>{let t=e.find(e=>e&&"financingInfo"in e&&!!e?.financingInfo?.financeMapping?.dealer);return t&&"financingInfo"in t&&t?.financingInfo?.financeMapping?.dealer?t?.financingInfo?.financeMapping?.dealer:""},mo:(e={},t,r)=>r&&e.key===r||t&&e.detail?.uri===t?e.data?.rlead:void 0,mv:e=>{if(!e)return{};let{brand:t,model:r,finition:a,version:n}=e?.formState?.vehicleVersion||{},{mileage:s,registration:l}=e?.formState||{},{quotationPrice:o,quotationValidity:c}=e?.quotation||{};return(0,i.yb)({tradeInVehBrand:t,tradeInVehModelC:r,tradeInVehVersionC:a?`${n}-${a}`:n,tradeInVehKm:s,tradeInVehRegistrationNumber:l,tradeInValueInfo:o,tradeInDate:c})},qh:(e,t)=>(void 0===a&&(a=e(t)),a)})},8095(e,t,r){"use strict";var a=r(91987),n=r(71763),i=r(44803),s=r.n(i);function l(e,t){return(e||"").split(/({[^}]+})/g).filter(e=>e).map((e,r)=>{let i=e.match(/^{([^}]+)}$/),l=s()(i,"[1]","");return(0,a.jsx)(n.Fragment,{children:s()(t,l,e)},r)})}r.d(t,{A:()=>l})},1547(e,t,r){"use strict";r.d(t,{},{A:e=>"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)})},74877(e,t,r){"use strict";var a=r(67324),n=r(32464);function i(e,t="LARGE"){let r=(0,n.tP)(e,"assets").find(e=>"PICTURE"===e.assetType);return(0,n.tP)(r,"renditions").find(e=>e.resolutionType&&e.resolutionType.includes(t))}let s=({vehicle:e,assetRole:t,assetType:r,resolutionType:a})=>{let n=(e?.assets??[]).find(e=>t&&e.assetRole===t||r&&e.assetType===r),i=(n?.renditions??[]).find(e=>e.resolutionType===a);return i?.url};r.d(t,{ar:()=>i},{bj:e=>(0,a.ni)(e)?{small:s({vehicle:e,assetType:"picture",resolutionType:"large"}),smallx2:s({vehicle:e,assetType:"picture",resolutionType:"small"})}:{small:s({vehicle:e,assetRole:"r_inventory_card_1",resolutionType:"r_inventory_card_1_density1_large"}),smallx2:s({vehicle:e,assetRole:"r_inventory_card_1",resolutionType:"r_inventory_card_1_density2_large"})},zl:s})},65996(e,t,r){"use strict";r.d(t,{bO:()=>p,Od:()=>c,Up:()=>m,DE:()=>u});var a=r(53282),n=r.n(a),i=r(12347),s=r(9458),l=r(90939),o=r(74877);let c={ELECTRIC:{consumption:"PT5643",coii:"PT5609"},PHEV:{consumption:"PT5668",coii:"PT5666"},ICEBIFUELLPG:{consumption:"PT5620",coii:"PT5610"},ESS:{consumption:"PT5619",coii:"PT5609"},DIESEL:{consumption:"PT5619",coii:"PT5609"},MILDHYBRID:{consumption:"PT5619",coii:"PT5609"},HEV:{consumption:"PT5619",coii:"PT5609"}},d=(e={})=>(e.discounts||[]).some(e=>"discountOverall"===e.marketingDiscountType&&(e.discountValue||e.discountAmount)),u=(e,t)=>{let{rDealer:r={},nciTransverseParams:a={},catalogPriceDescription:n="",localeSiteParams:u=""}=t||{},{productId:m,accountType:p,nationalExposition:h=!1,scene:g,views:f,brand:v,model:C,version:y,energy:x,vehicleClassification:E="",co2:_,transmission:b,eligibilityZE:P,colorMarketing:T,section:j,technicalSpecifications:N=[],financingInfo:I,dealers:S=[],prices:A=[],segment:w,environmentalIncentives:O,equipments:R=[],wheel:D,tarif:L=0,tariffApplicationDate:M="",distributionDeliveryTime:k,productType:V=i.$z.VEHICLE_NCI,vehicleConfigUri:H,warnings:F=[],warrantyInfo:U={},deliveryInfo:G}=e||{},{groupLabel:B,label:z}=v||{},{adminId:q,code:W,label:$}=C||{},{label:Y,code:K}=y||{},{groupLabel:X,group:Z}=x||{},{label:Q,groupLabel:J,group:ee}=b||{},{label:et}=T||{},{label:er}=j||{},{code:ea,label:en}=w||{},{defaultOriginalRciOffer:ei,financeMapping:es={}}=I||{},{monthlyPayment:el,teachingSentence:eo}=ei||{},{consumption:ec,coii:ed}=Z&&c[Z]||{},eu=e=>N?.find(t=>t.code===e),em=eu(ec)||{},ep=eu(ed)||{},eh=em?.label,eg=em?.value,ef=ep?.label,ev=ep?.value,{value:eC}=(({technicalSpecifications:e,specificationCode:t})=>e.reduce((e,{items:r=[]})=>{let{value:a}=r.find(({code:e})=>e===t)||{};return a?{...e,code:t,value:a}:e},{}))({technicalSpecifications:N,specificationCode:ec}),ey=S.length>1,ex=ey?r&&r.dealerId&&(m===r.productId||!r.productId)&&S.find(({dealerId:e})=>r.dealerId===e)||{}:S[0],eE=ex?.dealerName||"",e_=ex?.dealerAddress?.postalCode||"",eb=ex?.dealerAddress?.locality||"",eP=D?.tyres||[],{newVehicleLabel:eT="",demonstrationVehicleLabel:ej=""}=a,eN="";"NC"===E?eN=eT:"DC"===E&&(eN=ej);let eI=n&&u&&(0,l.A)(n,{number:L,date:M&&u?(0,s.VE)(M,u,{year:"numeric"}):""}),eS=F.some(({code:e})=>"VEHICLE_UNAVAILABLE"===e)||!1,eA=F.some(({code:e})=>"DEALER_WEB_RESERVATION_NOT_AVAILABLE"===e)||!1,{currency:ew,priceDetails:eO={},actions:eR=[]}=A?.[0]||{},{intermediatePrices:eD=[],summary:eL}=eO.receiptDetails||{},{price:eM,includedInCustomerDisplayPrice:ek}=eD.find(e=>e.type&&[i.k8.BONMAL,i.k8.PiVG].includes(e.type))||{},{price:eV,includedInCustomerDisplayPrice:eH}=eD.find(({type:e})=>e===i.k8.EEC_BONUS)||{},eF=eD.find(({type:e})=>e===i.k8.TAXMASS)?.price,{customerDisplayPrice:eU,priceWithoutTaxes:eG,discounts:eB=[],discountedPriceWithTaxes:ez,discountedPriceWithoutTaxes:eq,taxes:eW=[],priceWithTaxes:e$}=eL||{},{discountValue:eY,discountAmount:eK}=eB.find(e=>e?.marketingDiscountType===i.UB.DISCOUNT_OVERALL)||{},eX=((e=[],t)=>{var r;if(!t)return"";let a=t.toLowerCase(),n=e[0];return(r=n?.content?.legalInformation||[]).length&&r.find(e=>(e.locale||"").toLowerCase()===a&&e.value)?.value||""})(eR,u),eZ={customerDisplayPrice:eU,discountedPriceWithTaxes:ez,discountedPriceWithoutTaxes:eq,priceWithoutTaxes:eG,priceWithTaxes:e$,discountOverallValue:eY,discountOverall:eK,VAT:eW.find(e=>e.taxCode===i.Zl.VAT)?.taxValue,VATAmount:eW.find(e=>e.taxCode===i.Zl.VAT)?.taxAmount,IA:eW.find(e=>e.taxCode===i.Zl.IA)?.taxAmount,tradeInBonus:A[0]?.priceDetails?.receiptDetails?.intermediatePrices?.find(e=>e.type===i.k8.DEALER_TRADE_IN_BONUS)?.price,preparationFees:eD.find(e=>e.type===i.k8.PREPARATION_FEES)?.price,eecBonusPrice:eV,eecDisclaimer:eX,environmentalIncentivesValue:eM,hasDiscount:d(eL),VED:eW.find(({taxCode:e})=>e===i.Zl.VED)?.taxAmount,DeliveryCharge:eW.find(({taxCode:e})=>e===i.Zl.DEL_CHARGE)?.taxAmount,FRF:eW.find(({taxCode:e})=>e===i.Zl.FRF)?.taxAmount,currency:ew,taxMassPrice:eF,displayBonmalPrice:ek,displayEecBonusPrice:eH},eQ=((e=[],t=[])=>{let r=t.find(({code:e})=>"homologatedUnit"===e)?.value,a=t.find(({code:e})=>"homologatedCo2"===e)?.value,n=t.find(({code:e})=>"homologatedEfficiency"===e)?.value,i=t.find(({code:e})=>"airQualityCertificate"===e)?.value;
1return i||(i=e.find(({technicalGroup:e,code:t})=>e?.code==="CLAENE"&&t?.startsWith("NFG$"))?.label),{emissionRating:i,homologatedUnit:r,homologatedCo2:a,homologatedEfficiency:n}})(R,e?.certificationData),{groupLabel:eJ,duration:e0}=U,{weeks:e1}=G?.customerForecastedDeliveryDelay||{};return{scene:g,views:f,modelAdminId:q,brandLabel:z,brandGroupLabel:B,modelLabel:$?.toUpperCase(),modelCode:W,energyLabel:X,energyGroup:Z,vehicleClassification:E,vehicleClassificationLabel:eN,sectionLabel:er,colorMarketingLabel:et,versionCode:K,versionLabel:Y,transmissionGroup:ee,transmissionLabel:Q,transmissionGroupLabel:J,vehicleTyresInformation:eP,eligibilityZE:P,consoValue:eC,coiiValue:_,productId:m,accountType:p,nationalExposition:h,hasMultipleDealers:ey,vehicleDealer:S[0]||null,dealerName:eE,dealerPostalCode:e_,dealerCity:eb,segmentCode:ea,segmentLabel:en,defaultOriginalRciOffer:{monthlyPayment:el,offerTeachingSentence:eo},financeMapping:es,prices:A,pricesV2:eZ,hasDiscount:d(A?.[0]),publicPriceDescription:eI,dealers:S,environmentalIncentives:O||[{value:eM,currency:ew}],equipments:R,picture:e?(({vehicle:e})=>(0,o.zl)({vehicle:e,assetRole:"ONE_RVP_LISTE_STOCK_3/4_AVD",resolutionType:"RVP_LISTE_MEDIUM"}))({vehicle:e}):void 0,pictureSourcesCard:e?(0,o.bj)(e):void 0,pictureSourcesHero:e?{small:(0,o.zl)({vehicle:e,assetRole:"r_inventory_productHero_1",resolutionType:"r_inventory_productHero_1_density1_small"}),smallx2:(0,o.zl)({vehicle:e,assetRole:"r_inventory_productHero_1",resolutionType:"r_inventory_productHero_1_density2_small"}),large:(0,o.zl)({vehicle:e,assetRole:"r_inventory_productHero_1",resolutionType:"r_inventory_productHero_1_density1_large"}),largex2:(0,o.zl)({vehicle:e,assetRole:"r_inventory_productHero_1",resolutionType:"r_inventory_productHero_1_density2_large"})}:void 0,distributionDeliveryTime:k,deliveryDelay:e1,isDealerWebReservationNotAvailable:eA,isVehicleUnavailable:eS,productType:V,vehicleConfigUri:H,bonmalPrice:eM,vehicleEfficiencyData:eQ,warrantyDuration:e0,warrantyLabel:eJ,wltpConsommationLabel:eh,wltpConsommationValue:eg,wltpCoiiLabel:ef,wltpCoiiValue:ev}},m=e=>{let{originalData:t,customerDisplayPrice:r,relations:a}=e||{},{originalTargetObjectInfo:n}=a?.find(e=>e.type===i.zZ.VEHICLE)||{},{model:s}=n||{},{label:l=""}=s||{},{name:c,prices:d=[],extendedDescriptions:u,legalNotice:m}=t||{},p=u?.find(e=>e?.type===i.mZ.VEHICLE_MODEL)?.title,{currency:h,priceDetails:g}=d[0]||{},f=g?.receiptDetails?.summary.discountedPriceWithTaxes,{description:v}=u?.find(e=>e?.type===i.mZ.MAIN)||{},{description:C}=u?.find(e=>e?.type===i.mZ.NEXT_STEPS)||{},{description:y}=u?.find(e=>e?.type===i.mZ.VEHICLE_MODEL)||{},x={small:u?.find(e=>e?.type===i.mZ.MAIN)?.assets?.find(e=>e?.assetType===i.PW.PICTURE)?.renditions?.[0]?.url||""};return{name:c,vehicleOfInterest:p,legalNotice:m,extendedDescription:v,imageFirstStep:x,price:f,currency:h,imageConfirmation:{small:u?.find(e=>e?.type===i.mZ.NEXT_STEPS)?.assets?.find(e=>e?.assetType===i.PW.PICTURE)?.renditions?.[0]?.url||""},imageReceiptSummary:{small:u?.find(e=>e?.type===i.mZ.VEHICLE_MODEL)?.assets?.find(e=>e?.assetType===i.PW.PICTURE)?.renditions?.[0]?.url||""},blocReassurance:C,shortDescription:y,customerDisplayPrice:r,modelLabel:l?.toUpperCase(),pictureSourcesCard:n?(0,o.bj)(n):void 0}};function p(e){return e.reduce((e,{productId:t,financingInfo:{financeMapping:r}={}}={})=>t&&!n()(r)?{...e,[t]:r}:e,{})}},84588(e,t,r){"use strict";var a=r(62427),n=r(78948),i=r(84759);r.d(t,{},{E:({destination:e,modelAdmin:t,modelData:r,locationInPage:i,buttonText:s,type:l})=>{if(l===a.b.MODEL_BROCHURE){let{modelName:a}=t||{},{modelSpecCode:i,label:s}=r||{};(0,n.d)({event:"download",vehicleId:i,vehicleModel:a||s,brochureName:e,brochureType:"brochure"})}else(0,n.d)({event:"navigationClick",buttonText:s,destination:e,locationInPage:i})},I:({type:e,url:t="",modelAdmin:r,modelSpecCode:n,modelURI:s,gradeCode:l})=>{let{eBrochureURL:o="",modelConfigHomepageURL:c="",modelHomepageURL:d="",modelAdminId:u}=r||{};switch(e){case a.b.LEADFORM:return(0,i.sB)(t,{modelAdminId:u,modelURI:s});case a.b.CONFIGURATOR:return(0,i.sB)(c,{conf:s});case a.b.MODEL_BROCHURE:return o;case a.b.MODEL_HOMEPAGE:return d;case a.b.CONSUMPTIONSIMULATOR:return(0,i.sB)(t,{modelURI:s});case a.b.GRADEPAGE:return(0,i.sB)(t,{gradeCode:l});case a.b.NEWCARINVENTORY:return(0,i.sB)(t,{"model.adminId":u,"model.code":n});default:return t}}})},66806(e,t,r){"use strict";let{Axios:a,AxiosError:n,CanceledError:i,isCancel:s,CancelToken:l,VERSION:o,all:c,Cancel:d,isAxiosError:u,spread:m,toFormData:p,AxiosHeaders:h,HttpStatusCode:g,formToJSON:f,getAdapter
1:v,mergeConfig:C,create:y}=r(48412).A;r.d(t,{},{FZ:s,kG:g})},78605(e,t,r){"use strict";var a=r(51581);function n(e,...t){let r=a.w.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}r.d(t,{x:()=>n})},42881(e,t,r){"use strict";let a=Symbol.for("constructDateFrom");r.d(t,{},{_P:a,my:6048e5,s0:36e5,w4:864e5})},51581(e,t,r){"use strict";var a=r(42881);function n(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&a._P in e?e[a._P](t):e instanceof Date?new e.constructor(t):new Date(t)}r.d(t,{w:()=>n})},71093(e,t,r){"use strict";r.d(t,{m:()=>o});var a=r(9067);function n(e){let t=(0,a.a)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}var i=r(78605),s=r(42881);function l(e,t){let r=(0,a.a)(e,t?.in);return r.setHours(0,0,0,0),r}function o(e,t,r){let[a,o]=(0,i.x)(r?.in,e,t),c=l(a),d=l(o);return Math.round((c-n(c)-(d-n(d)))/s.w4)}},59180(e,t,r){"use strict";r.d(t,{GP:()=>V});let a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function n(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let i={date:n({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:n({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:n({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return(t,r)=>{let a;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,n=r?.width?String(r.width):t;a=e.formattingValues[n]||e.formattingValues[t]}else{let t=e.defaultWidth,n=r?.width?String(r.width):e.defaultWidth;a=e.values[n]||e.values[t]}return a[e.argumentCallback?e.argumentCallback(t):t]}}function o(e){return(t,r={})=>{let a,n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i);if(!s)return null;let l=s[0],o=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(o)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(o,e=>e.test(l)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(o,e=>e.test(l));return a=e.valueCallback?e.valueCallback(c):c,{value:a=r.valueCallback?r.valueCallback(a):a,rest:t.slice(l.length)}}}let c={code:"en-US",formatDistance:(e,t,r)=>{let n,i=a[e];if(n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:i,formatRelative:(e,t,r,a)=>s[e],localize:{ordinalNumber:(e,t)=>{let r=Number(e),a=r%100;if(a>20||a<10)switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(u={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let r=e.match(u.matchPattern);if(!r)return null;let a=r[0],n=e.match(u.parsePattern);if(!n)return null;let i=u.valueCallback?u.valueCallback(n[0]):n[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(a.length)}}),era:o({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},d={};var u,m=r(71093),p=r(9067),h=r(42881);function g(e,t){let r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??d.weekStartsOn??d.locale?.options?.weekStartsOn??0,a=(0,p.a)(e,t?.in),n=a.getDay();return a.setDate(a.getDate()-(7*(n<r)+n-r)),a.setHours(0,0,0,0),a}function f(e,t){return g(e,{...t,weekStartsOn:1})}var v=r(51581);function C(e,t){let r=(0,p.a)(e,t?.in),a=r.getFullYear(),n=(0,v.w)(r,0);n.setFullYear(a+1,0,4),n.setHours(0,0,0,0);let i=f(n),s=(0,v.w)(r,0);s.setFullYear(a,0,4),s.setHours(0,0,0,0);let l=f(s);return r.getTime()>=i.getTime()?a+1:r.getTime()>=l.getTime()?a:a-1}function y(e,t){let r=(0,p.a)(e,t?.in),a=r.getFullYear(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??d.firstWeekContainsDate??d.locale?.options?.firstWeekContainsDate??1,i=(0,v.w)(t?.in||e,0);i.setFullYear(a+1,0,n),i.setHours(0,0,0,0);let s=g(i,t),l=(0,v.w)(t?.in||e,0);l.setFullYear(a,0,n),l.setHours(0,0,0,0);let o=g(l,t);return+r>=+s?a+1:+r>=+o?a:a-1}function x(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}let E={y(e,t){let r=e.getFullYear(),a=r>0?r:1-r;return x("yy"===t?a%100:a,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):x(r+1,2)},d:(e,t)=>x(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];
1default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>x(e.getHours()%12||12,t.length),H:(e,t)=>x(e.getHours(),t.length),m:(e,t)=>x(e.getMinutes(),t.length),s:(e,t)=>x(e.getSeconds(),t.length),S(e,t){let r=t.length;return x(Math.trunc(e.getMilliseconds()*Math.pow(10,r-3)),t.length)}},_={G:function(e,t,r){let a=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});default:return r.era(a,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear();return r.ordinalNumber(t>0?t:1-t,{unit:"year"})}return E.y(e,t)},Y:function(e,t,r,a){let n=y(e,a),i=n>0?n:1-n;return"YY"===t?x(i%100,2):"Yo"===t?r.ordinalNumber(i,{unit:"year"}):x(i,t.length)},R:function(e,t){return x(C(e),t.length)},u:function(e,t){return x(e.getFullYear(),t.length)},Q:function(e,t,r){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return x(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,r){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return x(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,r){let a=e.getMonth();switch(t){case"M":case"MM":return E.M(e,t);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,r){let a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return x(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,r,a){let n,i,s,l,o=Math.round((g(n=(0,p.a)(e,a?.in),a)-(i=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??d.firstWeekContainsDate??d.locale?.options?.firstWeekContainsDate??1,s=y(n,a),(l=(0,v.w)(a?.in||n,0)).setFullYear(s,0,i),l.setHours(0,0,0,0),g(l,a)))/h.my)+1;return"wo"===t?r.ordinalNumber(o,{unit:"week"}):x(o,t.length)},I:function(e,t,r){let a,n,i,s=Math.round((f(a=(0,p.a)(e,void 0))-(n=C(a,void 0),(i=(0,v.w)(a,0)).setFullYear(n,0,4),i.setHours(0,0,0,0),f(i)))/h.my)+1;return"Io"===t?r.ordinalNumber(s,{unit:"week"}):x(s,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):E.d(e,t)},D:function(e,t,r){let a,n,i=(a=(0,p.a)(e,void 0),(0,m.m)(a,((n=(0,p.a)(a,void 0)).setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n))+1);return"Do"===t?r.ordinalNumber(i,{unit:"dayOfYear"}):x(i,t.length)},E:function(e,t,r){let a=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,r,a){let n=e.getDay(),i=(n-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return x(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,r,a){let n=e.getDay(),i=(n-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return x(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(n,{width:"narrow",context:"standalone"});case"cccccc":return r.day(n,{width:"short",context:"standalone"});default:return r.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,r){let a=e.getDay(),n=0===a?7:a;switch(t){case"i":return String(n);case"ii":return x(n,t.length);case"io":return r.ordinalNumber(n,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,r){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,r){let a,n=e.getHours();switch(a=12===n?"noon":0===n?"midnight":n/12>
1=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){let a,n=e.getHours();switch(a=n>=17?"evening":n>=12?"afternoon":n>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return E.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):E.H(e,t)},K:function(e,t,r){let a=e.getHours()%12;return"Ko"===t?r.ordinalNumber(a,{unit:"hour"}):x(a,t.length)},k:function(e,t,r){let a=e.getHours();return(0===a&&(a=24),"ko"===t)?r.ordinalNumber(a,{unit:"hour"}):x(a,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):E.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):E.s(e,t)},S:function(e,t){return E.S(e,t)},X:function(e,t,r){let a=e.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return P(a);case"XXXX":case"XX":return T(a);default:return T(a,":")}},x:function(e,t,r){let a=e.getTimezoneOffset();switch(t){case"x":return P(a);case"xxxx":case"xx":return T(a);default:return T(a,":")}},O:function(e,t,r){let a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+b(a,":");default:return"GMT"+T(a,":")}},z:function(e,t,r){let a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+b(a,":");default:return"GMT"+T(a,":")}},t:function(e,t,r){return x(Math.trunc(e/1e3),t.length)},T:function(e,t,r){return x(+e,t.length)}};function b(e,t=""){let r=e>0?"-":"+",a=Math.abs(e),n=Math.trunc(a/60),i=a%60;return 0===i?r+String(n):r+String(n)+t+x(i,2)}function P(e,t){return e%60==0?(e>0?"-":"+")+x(Math.abs(e)/60,2):T(e,t)}function T(e,t=""){let r=Math.abs(e);return(e>0?"-":"+")+x(Math.trunc(r/60),2)+t+x(r%60,2)}let j=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},N=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},I={p:N,P:(e,t)=>{let r,a=e.match(/(P+)(p+)?/)||[],n=a[1],i=a[2];if(!i)return j(e,t);switch(n){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",j(n,t)).replace("{{time}}",N(i,t))}},S=/^D+$/,A=/^Y+$/,w=["D","DD","YY","YYYY"];var O=r(49688);let R=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,D=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,L=/^'([^]*?)'?$/,M=/''/g,k=/[a-zA-Z]/;function V(e,t,r){let a=r?.locale??d.locale??c,n=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??d.firstWeekContainsDate??d.locale?.options?.firstWeekContainsDate??1,i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??d.weekStartsOn??d.locale?.options?.weekStartsOn??0,s=(0,p.a)(e,r?.in);if(!(0,O.f)(s))throw RangeError("Invalid time value");let l=t.match(D).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,I[t])(e,a.formatLong):e}).join("").match(R).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var r;let t;return{isToken:!1,value:(t=(r=e).match(L))?t[1].replace(M,"'"):r}}if(_[t])return{isToken:!0,value:e};if(t.match(k))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(l=a.localize.preprocessor(s,l));let o={firstWeekContainsDate:n,weekStartsOn:i,locale:a};return l.map(n=>{if(!n.isToken)return n.value;let i=n.value;return(!r?.useAdditionalWeekYearTokens&&A.test(i)||!r?.useAdditionalDayOfYearTokens&&S.test(i))&&function(e,t,r){var a,n,i;let s,l=(a=e,n=t,i=r,s="Y"===a[0]?"years":"days of the month",`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${n}\`) for formatting ${s} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(l),w.includes(e))throw RangeError(l)}(i,t,String(e)),(0,_[i[0]])(s,i,a.localize,o)}).join("")}},49688(e,t,r){"use strict";r.d(t,{f:()=>n});var a=r(9067);function n(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,a.a)(e)))}},85606(e,t,r){"use strict";var a=r(42881),n=r(51581),i=r(9067);function s(e,t){let r,s,v=()=>
1(0,n.w)(t?.in,NaN),C=t?.additionalDigits??2,y=function(e){let t,r={},a=e.split(l);if(a.length>2)return r;if(/:/.test(a[0])?t=a[0]:(r.date=a[0],t=a[1],o.test(r.date)&&(r.date=e.split(o)[0],t=e.substr(r.date.length,e.length))),t){let e=c.exec(t);e?(r.time=t.replace(e[1],""),r.timezone=e[1]):r.time=t}return r}(e);if(y.date){let e=function(e,t){let r=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),a=e.match(r);if(!a)return{year:NaN,restDateString:""};let n=a[1]?parseInt(a[1]):null,i=a[2]?parseInt(a[2]):null;return{year:null===i?n:100*i,restDateString:e.slice((a[1]||a[2]).length)}}(y.date,C);r=function(e,t){var r,a,n,i,s,l,o,c,u,m;if(null===t)return new Date(NaN);let h=e.match(d);if(!h)return new Date(NaN);let v=!!h[4],C=p(h[1]),y=p(h[2])-1,x=p(h[3]),E=p(h[4]),_=p(h[5])-1;if(v){let e,l;return(r=E,a=_,r>=1&&r<=53&&a>=0&&a<=6)?(n=t,i=E,s=_,(e=new Date(0)).setUTCFullYear(n,0,4),l=e.getUTCDay()||7,e.setUTCDate(e.getUTCDate()+((i-1)*7+s+1-l)),e):new Date(NaN)}{let e=new Date(0);return(l=t,o=y,c=x,o>=0&&o<=11&&c>=1&&c<=(g[o]||(f(l)?29:28))&&(u=t,(m=C)>=1&&m<=(f(u)?366:365)))?(e.setUTCFullYear(t,y,Math.max(C,x)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!r||isNaN(+r))return v();let x=+r,E=0;if(y.time&&isNaN(E=function(e){var t,r,n;let i=e.match(u);if(!i)return NaN;let s=h(i[1]),l=h(i[2]),o=h(i[3]);return(t=s,r=l,n=o,24===t?0===r&&0===n:n>=0&&n<60&&r>=0&&r<60&&t>=0&&t<25)?s*a.s0+6e4*l+1e3*o:NaN}(y.time)))return v();if(y.timezone){if(isNaN(s=function(e){var t;if("Z"===e)return 0;let r=e.match(m);if(!r)return 0;let n="+"===r[1]?-1:1,i=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;return(t=s)>=0&&t<=59?n*(i*a.s0+6e4*s):NaN}(y.timezone)))return v()}else{let e=new Date(x+E),r=(0,i.a)(0,t?.in);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}return(0,i.a)(x+E+s,t?.in)}let l=/[T ]/,o=/[Z ]/i,c=/([Z+-].*)$/,d=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,u=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,m=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p(e){return e?parseInt(e):1}function h(e){return e&&parseFloat(e.replace(",","."))||0}let g=[31,null,31,30,31,30,31,31,30,31,30,31];function f(e){return e%400==0||e%4==0&&e%100!=0}r.d(t,{H:()=>s})},9067(e,t,r){"use strict";var a=r(51581);function n(e,t){return(0,a.w)(t||e,e)}r.d(t,{a:()=>n})},88911(e,t,r){"use strict";var a=r(71763);function n(e){let t=(0,a.useRef)(null);return null===t.current&&(t.current=e()),t.current}r.d(t,{M:()=>n})},15957(e,t,r){"use strict";r.d(t,{W:()=>s});var a=r(71763),n=r(92922);let i={some:0,all:1};function s(e,{root:t,margin:r,amount:l,once:o=!1,initial:c=!1}={}){let[d,u]=(0,a.useState)(c);return(0,a.useEffect)(()=>{if(!e.current||o&&d)return;let a={root:t&&t.current||void 0,margin:r,amount:l};return function(e,t,{root:r,margin:a,amount:s="some"}={}){let l=(0,n.K)(e),o=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let r=o.get(e.target);if(!!r!==e.isIntersecting)if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?o.set(e.target,r):c.unobserve(e.target)}else"function"==typeof r&&(r(e),o.delete(e.target))})},{root:r,rootMargin:a,threshold:"number"==typeof s?s:i[s]});return l.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(u(!0),o?void 0:()=>u(!1)),a)},[t,e,r,o,l]),d}},96329(e,t,r){"use strict";r.d(t,{E:()=>n});var a=r(71763);let n="u">typeof window?a.useLayoutEffect:a.useEffect},41546(e,t,r){"use strict";var a=r(71763);function n(e,t,r){(0,a.useInsertionEffect)(()=>e.on(t,r),[e,t,r])}r.d(t,{L:()=>n})},84122(e,t,r){"use strict";let a,n;r.d(t,{L:()=>er});var i=r(46960),s=r(69525),l=r(19540),o=r(14419),c=r(71763),d=r(3158),u=r(53921);function m(e,t){let r,a=()=>{let{currentTime:a}=t,n=(null===a?0:a.value)/100;r!==n&&e(n),r=n};return u.Gt.preUpdate(a,!0),()=>(0,u.WG)(a)}function p(e){return!("u"<typeof window)&&(e?(0,l.d)():(0,l.J)())}var h=r(6986),g=r(92922);let f=new WeakMap,v=(e,t,r)=>(a,n)=>n&&n[0]?n[0][e+"Size"]:(0,h.G)(a)&&"ownerSVGElement"in a&&"getBBox"in a?a.getBBox()[t]:a[r],C=v("inl
1ine","width","offsetWidth"),y=v("block","height","offsetHeight");function x({target:e,borderBoxSize:t}){f.get(e)?.forEach(r=>{r(e,{get width(){return C(e,t)},get height(){return y(e,t)}})})}function E(e){e.forEach(x)}let _=new Set;var b=r(41487),P=r(44558);let T=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),j={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function N(e,t,r,a){let n=r[t],{length:i,position:s}=j[t],l=n.current,o=r.time;n.current=Math.abs(e[`scroll${s}`]),n.scrollLength=e[`scroll${i}`]-e[`client${i}`],n.offset.length=0,n.offset[0]=0,n.offset[1]=n.scrollLength,n.progress=(0,b.q)(0,n.scrollLength,n.current);let c=a-o;n.velocity=c>50?0:(0,P.f)(n.current-l,c)}var I=r(87205),S=r(13326),A=r(67059),w=r(5129);let O={start:0,center:.5,end:1};function R(e,t,r=0){let a=0;if(e in O&&(e=O[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?a=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?a=t/100*document.documentElement.clientWidth:e.endsWith("vh")?a=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(a=t*e),r+a}let D=[0,0],L=[[0,0],[1,1]],M={x:0,y:0},k=new WeakMap,V=new WeakMap,H=new WeakMap,F=new WeakMap,U=new WeakMap,G=e=>e===document.scrollingElement?window:e;function B(e,{container:t=document.scrollingElement,trackContentSize:r=!1,...i}={}){if(!t)return d.l;let s=H.get(t);s||(s=new Set,H.set(t,s));let l=function(e,t,r,a={}){return{measure:t=>{!function(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let a=t;for(;a&&a!==e;)r.x.targetOffset+=a.offsetLeft,r.y.targetOffset+=a.offsetTop,a=a.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}(e,a.target,r),N(e,"x",r,t),N(e,"y",r,t),r.time=t,(a.offset||a.target)&&function(e,t,r){let{offset:a=L}=r,{target:n=e,axis:i="y"}=r,s="y"===i?"height":"width",l=n!==e?function(e,t){let r={x:0,y:0},a=e;for(;a&&a!==t;)if((0,w.s)(a))r.x+=a.offsetLeft,r.y+=a.offsetTop,a=a.offsetParent;else if("svg"===a.tagName){let e=a.getBoundingClientRect(),t=(a=a.parentElement).getBoundingClientRect();r.x+=e.left-t.left,r.y+=e.top-t.top}else if(a instanceof SVGGraphicsElement){let{x:e,y:t}=a.getBBox();r.x+=e,r.y+=t;let n=null,i=a.parentNode;for(;!n;)"svg"===i.tagName&&(n=i),i=a.parentNode;a=n}else break;return r}(n,e):M,o=n===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in n&&"svg"!==n.tagName?n.getBBox():{width:n.clientWidth,height:n.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let d=!t[i].interpolate,u=a.length;for(let e=0;e<u;e++){let r=function(e,t,r,a){let n=Array.isArray(e)?e:D,i=0;return"number"==typeof e?n=[e,e]:"string"==typeof e&&(n=(e=e.trim()).includes(" ")?e.split(" "):[e,O[e]?e:"0"]),(i=R(n[0],r,a))-R(n[1],t)}(a[e],c[s],o[s],l[i]);d||r===t[i].interpolatorOffsets[e]||(d=!0),t[i].offset[e]=r}d&&(t[i].interpolate=(0,I.G)(t[i].offset,(0,S.Z)(a),{clamp:!1}),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=(0,A.q)(0,1,t[i].interpolate(t[i].current))}(e,r,a)},notify:()=>t(r)}}(t,e,{time:0,x:T(),y:T()},i);if(s.add(l),!k.has(t)){let e,r=()=>{for(let e of s)e.measure(u.uv.timestamp);u.Gt.preUpdate(i)},i=()=>{for(let e of s)e.notify()},l=()=>u.Gt.read(r);k.set(t,l);let o=G(t);window.addEventListener("resize",l),t!==document.documentElement&&V.set(t,"function"==typeof t?(_.add(t),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};_.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{_.delete(t),_.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!a&&"u">typeof ResizeObserver&&(a=new ResizeObserver(E)),(e=(0,g.K)(t)).forEach(e=>{let t=f.get(e);t||(t=new Set,f.set(e,t)),t.add(l),a?.observe(e)}),()=>{e.forEach(e=>{let t=f.get(e);t?.delete(l),t?.size||a?.unobserve(e)})})),o.addEventListener("scroll",l),l()}if(r&&!U.has(t)){let e=k.get(t),r={width:t.scrollWidth,height:t.scrollHeight};F.set(t,r);let a=u.Gt.read(()=>{let a=t.scrollWidth,n=t.scrollHeight;
1(r.width!==a||r.height!==n)&&(e(),r.width=a,r.height=n)},!0);U.set(t,a)}let o=k.get(t);return u.Gt.read(o,!1,!0),()=>{(0,u.WG)(o);let e=H.get(t);if(!e||(e.delete(l),e.size))return;let r=k.get(t);k.delete(t),r&&(G(t).removeEventListener("scroll",r),V.get(t)?.(),window.removeEventListener("resize",r));let a=U.get(t);a&&((0,u.WG)(a),U.delete(t)),F.delete(t)}}let z=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[L,"contain"]],q={start:0,end:1};function W(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,r]of z)if(function(e,t){let r=function(e){if(2!==e.length)return;let t=[];for(let r of e)if(Array.isArray(r))t.push(r);else{if("string"!=typeof r)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let r=q[t[0]],a=q[t[1]];if(void 0!==r&&void 0!==a)return[r,a]}(r);if(!e)return;t.push(e)}return t}(e);if(!r)return!1;for(let e=0;e<2;e++){let a=r[e],n=t[e];if(a[0]!==n[0]||a[1]!==n[1])return!1}return!0}(e,t))return{rangeStart:`${r} 0%`,rangeEnd:`${r} 100%`}}let $=new Map;function Y(e){let t={value:0},r=B(r=>{t.value=100*r[e.axis].progress},e);return{currentTime:t,cancel:r}}function K({source:e,container:t,...r}){let{axis:a}=r;e&&(t=e);let n=$.get(t);n||(n=new Map,$.set(t,n));let i=r.target??"self",s=n.get(i);s||(s={},n.set(i,s));let l=a+(r.offset??[]).join(",");return s[l]||(r.target&&p(r.target)?W(r.offset)?s[l]=new ViewTimeline({subject:r.target,axis:a}):s[l]=Y({container:t,...r}):p()?s[l]=new ScrollTimeline({source:t,axis:a}):s[l]=Y({container:t,...r})),s[l]}function X(e,{axis:t="y",container:r=document.scrollingElement,...a}={}){let n,i,s;if(!r)return d.l;let l={axis:t,container:r,...a};return"function"==typeof e?function(e,t){return 2===e.length||t&&(t.target||t.offset)?B(r=>{e(r[t.axis].progress,r)},t):m(e,K(t))}(e,l):(n=K(l),i=l.target?W(l.offset):void 0,s=l.target?p(l.target)&&!!i:p(),e.attachTimeline({timeline:s?n:void 0,...i&&s&&{rangeStart:i.rangeStart,rangeEnd:i.rangeEnd},observe:e=>(e.pause(),m(t=>{e.time=e.iterationDuration*t},n))}))}var Z=r(88911),Q=r(96329);let J=()=>({scrollX:(0,i.OQ)(0),scrollY:(0,i.OQ)(0),scrollXProgress:(0,i.OQ)(0),scrollYProgress:(0,i.OQ)(0)}),ee=e=>!!e&&!e.current;function et(e,t,r,a){return{factory:n=>{let i,l=()=>{ee(r)||ee(a)?s.k.read(l):i=X(n,{...t,axis:e,container:r?.current||void 0,target:a?.current||void 0})};return s.k.read(l),()=>{(0,s.c)(l),i?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function er({container:e,target:t,...r}={}){var a;let n=(0,Z.M)(J);a=r.offset,!("u"<typeof window)&&(t?(0,l.d)()&&!!W(a):(0,l.J)())&&(n.scrollXProgress.accelerate=et("x",r,e,t),n.scrollYProgress.accelerate=et("y",r,e,t));let i=(0,c.useRef)(null),d=(0,c.useRef)(!1),u=(0,c.useCallback)(()=>(i.current=X((e,{x:t,y:r})=>{n.scrollX.set(t.current),n.scrollXProgress.set(t.progress),n.scrollY.set(r.current),n.scrollYProgress.set(r.progress)},{...r,container:e?.current||void 0,target:t?.current||void 0}),()=>{i.current?.()}),[e,t,JSON.stringify(r.offset)]);return(0,Q.E)(()=>{if(d.current=!1,!(ee(e)||ee(t)))return u();d.current=!0},[u]),(0,c.useEffect)(()=>{let r;if(!d.current)return;let a=()=>{let a=ee(e),n=ee(t);(0,o.V)(!a,"Container ref is defined but not hydrated","use-scroll-ref"),(0,o.V)(!n,"Target ref is defined but not hydrated","use-scroll-ref"),a||n||(r=u())};return s.k.read(a),()=>{(0,s.c)(a),r?.()}},[u]),n}},13326(e,t,r){"use strict";r.d(t,{Z:()=>i});var a=r(41487),n=r(86826);function i(e){let t=[0];return!function(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let s=(0,a.q)(0,t,i);e.push((0,n.k)(r,1,s))}}(t,e.length-1),t}},14160(e,t,r){"use strict";let a=e=>t=>"string"==typeof t&&t.startsWith(e),n=a("--"),i=a("var(--"),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}r.d(t,{rm:()=>l},{j4:n,pG:e=>!!i(e)&&s.test(e.split("/*")[0].trim())})},50984(e,t,r){"use strict";r.d(t,{I:()=>i});var a=r(78958);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function i(e,t){let r=!1,i=!0,s={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,o=n.reduce((e,t)=>
1(e[t]=function(e){let t=new Set,r=new Set,a=!1,n=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function l(t){i.has(t)&&(o.schedule(t),e()),t(s)}let o={schedule:(e,n=!1,s=!1)=>{let l=s&&a?t:r;return n&&i.add(e),l.add(e),e},cancel:e=>{r.delete(e),i.delete(e)},process:e=>{if(s=e,a){n=!0;return}a=!0;let i=t;t=r,r=i,t.forEach(l),t.clear(),a=!1,n&&(n=!1,o.process(e))}};return o}(l),e),{}),{setup:c,read:d,resolveKeyframes:u,preUpdate:m,update:p,preRender:h,render:g,postRender:f}=o,v=()=>{let n=a.W.useManualTiming,l=n?s.timestamp:performance.now();r=!1,n||(s.delta=i?1e3/60:Math.max(Math.min(l-s.timestamp,40),1)),s.timestamp=l,s.isProcessing=!0,c.process(s),d.process(s),u.process(s),m.process(s),p.process(s),h.process(s),g.process(s),f.process(s),s.isProcessing=!1,r&&t&&(i=!1,e(v))};return{schedule:n.reduce((t,a)=>{let n=o[a];return t[a]=(t,a=!1,l=!1)=>(!r&&(r=!0,i=!0,s.isProcessing||e(v)),n.schedule(t,a,l)),t},{}),cancel:e=>{for(let t=0;t<n.length;t++)o[n[t]].cancel(e)},state:s,steps:o}}},53921(e,t,r){"use strict";var a=r(3158);let{schedule:n,cancel:i,state:s}=(0,r(50984).I)("u">typeof requestAnimationFrame?requestAnimationFrame:a.l,!0);r.d(t,{},{Gt:n,WG:i,uv:s})},69525(e,t,r){"use strict";let{schedule:a,cancel:n}=(0,r(50984).I)(queueMicrotask,!1);r.d(t,{},{c:n,k:a})},3871(e,t,r){"use strict";let a;var n=r(78958),i=r(53921);function s(){a=void 0}let l={now:()=>(void 0===a&&l.set(i.uv.isProcessing||n.W.useManualTiming?i.uv.timestamp:performance.now()),a),set:e=>{a=e,queueMicrotask(s)}};r.d(t,{},{k:l})},87205(e,t,r){"use strict";var a=r(78958),n=r(3158),i=r(53258),s=r(14419),l=r(41487),o=r(67059),c=r(67462);function d(e,t,{clamp:r=!0,ease:u,mixer:m}={}){let p=e.length;if((0,s.V)(p===t.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>t[0];if(2===p&&t[0]===t[1])return()=>t[1];let h=e[0]===e[1];e[0]>e[p-1]&&(e=[...e].reverse(),t=[...t].reverse());let g=function(e,t,r){let s=[],l=r||a.W.mix||c.j,o=e.length-1;for(let r=0;r<o;r++){let a=l(e[r],e[r+1]);if(t){let e=Array.isArray(t)?t[r]||n.l:t;a=(0,i.F)(e,a)}s.push(a)}return s}(t,u,m),f=g.length,v=r=>{if(h&&r<e[0])return t[0];let a=0;if(f>1)for(;a<e.length-2&&!(r<e[a+1]);a++);let n=(0,l.q)(e[a],e[a+1],r);return g[a](n)};return r?t=>v((0,o.q)(e[0],e[p-1],t)):v}r.d(t,{G:()=>d})},5129(e,t,r){"use strict";var a=r(6986);function n(e){return(0,a.G)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}r.d(t,{s:()=>n})},67462(e,t,r){"use strict";r.d(t,{j:()=>P});var a=r(53258),n=r(14419),i=r(14160),s=r(3218),l=r(40706),o=r(96985),c=r(2512);function d(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var u=r(60892);function m(e,t){return r=>r>0?t:e}var p=r(86826);let h=(e,t,r)=>{let a=e*e,n=r*(t*t-a)+a;return n<0?0:Math.sqrt(n)},g=[o.u,u.B,c.V];function f(e){let t=g.find(t=>t.test(e));if((0,n.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===c.V&&(r=function({hue:e,saturation:t,lightness:r,alpha:a}){e/=360,r/=100;let n=0,i=0,s=0;if(t/=100){let a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;n=d(l,a,e+1/3),i=d(l,a,e),s=d(l,a,e-1/3)}else n=i=s=r;return{red:Math.round(255*n),green:Math.round(255*i),blue:Math.round(255*s),alpha:a}}(r)),r}let v=(e,t)=>{let r=f(e),a=f(t);if(!r||!a)return m(e,t);let n={...r};return e=>(n.red=h(r.red,a.red,e),n.green=h(r.green,a.green,e),n.blue=h(r.blue,a.blue,e),n.alpha=(0,p.k)(r.alpha,a.alpha,e),u.B.transform(n))},C=new Set(["none","hidden"]);function y(e,t){return r=>(0,p.k)(e,t,r)}function x(e){return"number"==typeof e?y:"string"==typeof e?(0,i.pG)(e)?m:s.y.test(e)?v:b:Array.isArray(e)?E:"object"==typeof e?s.y.test(e)?v:_:m}function E(e,t){let r=[...e],a=r.length,n=e.map((e,r)=>x(e)(e,t[r]));return e=>{for(let t=0;t<a;t++)r[t]=n[t](e);return r}}function _(e,t){let r={...e,...t},a={};for(let n in r)void 0!==e[n]&&void 0!==t[n]&&(a[n]=x(e[n])(e[n],t[n]));return e=>{for(let t in a)r[t]=a[t](e);return r}}let b=(e,t)=>{let r=l.f.createTransformer(t),i=(0,l.V)(e),s=(0,l.V)(t);if(!(i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length))return(0,n.$)(!0,`Complex values '${e}' and '${t}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),m(e,t);if(C.has(e)&&!s.values.length||C.has(t)&&!i.values.length)return C.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return(0,a.F)(E(function(e,t){let r=[],a={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let i=t.types[n],s=e.indexes[i][a[i]],l=e.values[s]??0;r[n]=l,a[i]++}return r}(i,s),s.values),r)};function P(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?(0,p.k)(e,t,r):x(e)(e,t)}},86826(e,t,r){"use strict";r.d(t,{},{k:(e,t,r)=>e+(t-e)*r})},92922(e,t,r){"use strict";function a(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let a=document;t&&(a=t.current);let n=r?.[e]??a.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}r.d(t,{K:()=>a})},21184(e,t,r){"use strict";r.d(t,{J:()=>i});var a=r(7616);let n={};function i(e,t){let r=(0,a.p)(e);return()=>n[t]??r()}},19540(e,t,r){"use strict";var a=r(21184);let n=(0,a.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),i=(0,a.J)(()=>void 0!==window.ViewTimeline,"viewTimeline");r.d(t,{},{J:n,d:i})},46960(e,t,r){"use strict";var a=r(60191),n=r(44558),i=r(3871),s=r(53921);let l={current:void 0};class o{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=i.k.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=i.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new a.v);let r=this.events[e].add(t);return"change"===e?()=>{r(),s.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=i.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(e,t){return new o(e,t)}r.d(t,{OQ:()=>c},{bt:l})},96985(e,t,r){"use strict";var a=r(60892);let n={test:(0,r(87356).$)("#"),parse:function(e){let t="",r="",a="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),a=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),a=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,a+=a,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(a,16),alph
1a:n?parseInt(n,16)/255:1}},transform:a.B.transform};r.d(t,{},{u:n})},2512(e,t,r){"use strict";var a=r(39021),n=r(36788),i=r(99525),s=r(87356);let l={test:(0,s.$)("hsl","hue"),parse:(0,s.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:s=1})=>"hsla("+Math.round(e)+", "+n.KN.transform((0,i.a)(t))+", "+n.KN.transform((0,i.a)(r))+", "+(0,i.a)(a.X4.transform(s))+")"};r.d(t,{},{V:l})},3218(e,t,r){"use strict";var a=r(96985),n=r(2512),i=r(60892);let s={test:e=>i.B.test(e)||a.u.test(e)||n.V.test(e),parse:e=>i.B.test(e)?i.B.parse(e):n.V.test(e)?n.V.parse(e):a.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?i.B.transform(e):n.V.transform(e),getAnimatableNone:e=>{let t=s.parse(e);return t.alpha=0,s.transform(t)}};r.d(t,{},{y:s})},60892(e,t,r){"use strict";var a=r(67059),n=r(39021),i=r(99525),s=r(87356);let l={...n.ai,transform:e=>Math.round((0,a.q)(0,255,e))},o={test:(0,s.$)("rgb","red"),parse:(0,s.q)("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:a=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(r)+", "+(0,i.a)(n.X4.transform(a))+")"};r.d(t,{},{B:o})},87356(e,t,r){"use strict";r.d(t,{$:()=>i,q:()=>s});var a=r(86280);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,i=(e,t)=>r=>!!("string"==typeof r&&n.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),s=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,s,l,o]=n.match(a.S);return{[e]:parseFloat(i),[t]:parseFloat(s),[r]:parseFloat(l),alpha:void 0!==o?parseFloat(o):1}}},40706(e,t,r){"use strict";r.d(t,{V:()=>d,f:()=>m});var a=r(3218);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var i=r(86280),s=r(99525);let l="number",o="color",c=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function d(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],s=0,d=t.replace(c,e=>(a.y.test(e)?(n.color.push(s),i.push(o),r.push(a.y.parse(e))):e.startsWith("var(")?(n.var.push(s),i.push("var"),r.push(e)):(n.number.push(s),i.push(l),r.push(parseFloat(e))),++s,"${}")).split("${}");return{values:r,split:d,indexes:n,types:i}}function u({split:e,types:t}){let r=e.length;return n=>{let i="";for(let c=0;c<r;c++)if(i+=e[c],void 0!==n[c]){let e=t[c];e===l?i+=(0,s.a)(n[c]):e===o?i+=a.y.transform(n[c]):i+=n[c]}return i}}let m={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(i.S)?.length||0)+(e.match(n)?.length||0)>0},parse:function(e){return d(e).values},createTransformer:function(e){return u(d(e))},getAnimatableNone:function(e){let t=d(e);return u(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:a.y.test(e)?a.y.getAnimatableNone(e):e)(e,t.split[r])))}}},39021(e,t,r){"use strict";var a=r(67059);let n={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},i={...n,transform:e=>(0,a.q)(0,1,e)},s={...n,default:1};r.d(t,{},{X4:i,ai:n,hs:s})},36788(e,t,r){"use strict";let a=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),n=a("deg"),i=a("%"),s=a("px"),l=a("vh"),o=a("vw"),c={...i,parse:e=>i.parse(e)/100,transform:e=>i.transform(100*e)};r.d(t,{},{KN:i,gQ:c,px:s,uj:n,vh:l,vw:o})},86280(e,t,r){"use strict";r.d(t,{},{S:/-?(?:\d+(?:\.\d+)?|\.\d+)/gu})},99525(e,t,r){"use strict";r.d(t,{},{a:e=>Math.round(1e5*e)/1e5})},67059(e,t,r){"use strict";r.d(t,{},{q:(e,t,r)=>r>t?t:r<e?e:r})},14419(e,t,r){"use strict";let a=()=>{},n=()=>{};r.d(t,{$:()=>a,V:()=>n})},78958(e,t,r){"use strict";r.d(t,{},{W:{}})},6986(e,t,r){"use strict";r.d(t,{},{G:e=>"object"==typeof e&&null!==e})},7616(e,t,r){"use strict";function a(e){let t;return()=>(void 0===t&&(t=e()),t)}r.d(t,{p:()=>a})},3158(e,t,r){"use strict";r.d(t,{},{l:e=>e})},53258(e,t,r){"use strict";r.d(t,{},{F:(...e)=>e.reduce((e,t)=>
1r=>t(e(r)))})},41487(e,t,r){"use strict";r.d(t,{},{q:(e,t,r)=>{let a=t-e;return a?(r-e)/a:1}})},60191(e,t,r){"use strict";r.d(t,{v:()=>a});class a{constructor(){this.subscriptions=[]}add(e){var t;return t=this.subscriptions,-1===t.indexOf(e)&&t.push(e),()=>{var t;let r;return t=this.subscriptions,void((r=t.indexOf(e))>-1&&t.splice(r,1))}}notify(e,t,r){let a=this.subscriptions.length;if(a)if(1===a)this.subscriptions[0](e,t,r);else for(let n=0;n<a;n++){let a=this.subscriptions[n];a&&a(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},44558(e,t,r){"use strict";r.d(t,{},{f:(e,t)=>t?1e3/t*e:0})},24948(e,t,r){"use strict";var a,n,i=r(71763),s=Object.defineProperty,l=new Map,o=new WeakMap,c=0;function d({threshold:e,delay:t,trackVisibility:r,rootMargin:n,scrollMargin:s,root:u,triggerOnce:m,skip:p,initialInView:h,fallbackInView:g,onChange:f}={}){var v;let[C,y]=i.useState(null),x=i.useRef(f),E=i.useRef(h),[_,b]=i.useState({inView:!!h,entry:void 0});x.current=f,i.useEffect(()=>{let i;if(void 0===E.current&&(E.current=h),!p&&C)return i=function(e,t,r={},n=a){if(void 0===window.IntersectionObserver&&void 0!==n){let a=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:a,intersectionRect:a,rootBounds:a}),()=>{}}let{id:i,observer:s,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?!(r=e.root)?"0":(o.has(r)||(c+=1,o.set(r,c.toString())),o.get(r)):e[t]}`}).toString(),r=l.get(t);if(!r){let a,n=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var r;let i=t.isIntersecting&&a.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),[...null!=(r=n.get(t.target))?r:[]].forEach(e=>{e(i,t)})})},e);a=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:i,elements:n},l.set(t,r)}return r}(r),u=d.get(e)||[];return d.has(e)||d.set(e,u),u.push(t),s.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(d.delete(e),s.unobserve(e)),0===d.size&&(s.disconnect(),l.delete(i))}}(C,(e,t)=>{let r=E.current;E.current=e,(void 0!==r||e)&&(b({inView:e,entry:t}),x.current&&x.current(e,t),t.isIntersecting&&m&&i&&(i(),i=void 0))},{root:u,rootMargin:n,scrollMargin:s,threshold:e,trackVisibility:r,delay:t},g),()=>{i&&i()}},[Array.isArray(e)?e.toString():e,C,u,n,s,m,p,r,g,t]);let P=null==(v=_.entry)?void 0:v.target,T=i.useRef(void 0);C||!P||m||p||T.current===P||(T.current=P,b({inView:!!h,entry:void 0}),E.current=h);let j=[y,_.inView,_.entry];return j.ref=j[0],j.inView=j[1],j.entry=j[2],j}i.Component,null!=(null!=(n=i.useInsertionEffect)?n:i.useLayoutEffect)||i.useEffect,r.d(t,{Wx:()=>d})}}]);

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.