PageSourceSearch

https://www.desbrasenplus.com/997.76f64a85a7be2468b745.bundle.js

js desbrasenplus.com collected 2026-10-06 16:58:14 UTC 42,086 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdbep_www_v2=self.webpackChunkdbep_www_v2||[]).push([[997],{6891:(e,t)=>{t.DF={prefix:"fas",iconName:"arrow-down-long",icon:[384,512,["long-arrow-down"],"f175","M224 402.7V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V402.7L86.6 329.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7z"]},t.d9=t.DF},1152:(e,t)=>{t.DF={prefix:"fas",iconName:"arrow-down-up-across-line",icon:[576,512,[],"e4af","M137.4 502.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 402.7V288H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H448V109.3l41.4 41.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L384 109.3V224H192 128 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96V402.7L86.6 361.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96zM128 192h64V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V192zM448 320H384V448c0 17.7 14.3 32 32 32s32-14.3 32-32V320z"]},t.F0=t.DF},924:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var a="arrow-right-arrow-left",n=[8644,"exchange"],s="f0ec",l="M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z";t.definition={prefix:"fas",iconName:a,icon:[448,512,n,s,l]},t.faArrowRightArrowLeft=t.definition,t.prefix="fas",t.iconName=a,t.width=448,t.height=512,t.ligatures=n,t.unicode=s,t.svgPathData=l,t.aliases=n},2498:(e,t)=>{t.DF={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},t.y3=t.DF},5253:(e,t)=>{t.DF={prefix:"fas",iconName:"boxes-stacked",icon:[576,512,[62625,"boxes","boxes-alt"],"f468","M248 0H208c-26.5 0-48 21.5-48 48V160c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V48c0-26.5-21.5-48-48-48H328V80c0 8.8-7.2 16-16 16H264c-8.8 0-16-7.2-16-16V0zM64 256c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H224c35.3 0 64-28.7 64-64V320c0-35.3-28.7-64-64-64H184v80c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V256H64zM352 512H512c35.3 0 64-28.7 64-64V320c0-35.3-28.7-64-64-64H472v80c0 8.8-7.2 16-16 16H408c-8.8 0-16-7.2-16-16V256H352c-15 0-28.8 5.1-39.7 13.8c4.9 10.4 7.7 22 7.7 34.2V464c0 12.2-2.8 23.8-7.7 34.2C323.2 506.9 337 512 352 512z"]},t.Hf=t.DF},5322:(e,t)=>{t.DF={prefix:"fas",iconName:"calendar",icon:[448,512,[128197,128198],"f133","M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"]},t.fT=t.DF},5944:(e,t,a)=>{var n=a(924);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.W2=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},5736:(e,t)=>{t.DF={prefix:"fas",iconName:"headset",icon:[512,512,[],"f590","M256 48C141.1 48 48 141.1 48 256v40c0 13.3-10.7 24-24 24s-24-10.7-24-24V256C0 114.6 114.6 0 256 0S512 114.6 512 256V400.1c0 48.6-39.4 88-88.1 88L313.6 488c-8.3 14.3-23.8 24-41.6 24H240c-26.5 0-48-21.5-48-48s21.5-48 48-48h32c17.8 0 33.3 9.7 41.6 24l110.4 .1c22.1 0 40-17.9 40-40V256c0-114.9-93.1-208-208-208zM144 208h16c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H144c-35.3 0-64-28.7-64-64V272c0-35.3 28.7-64 64-64zm224 0c35.3 0 64 28.7 64 64v48c0 35.3-28.7 64-64 64H352c-17.7 0-32-14.3-32-32V240c0-17.7 14.3-32 32-32h16z"]},t.XK=t.DF},102:(e,t)=>{t.DF={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm0-96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm96 96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]},t.q2=t.DF},8386:(e,t,a)=>{var n=a(8758);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.Kl=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},8758:(e,t)=>
1{Object.defineProperty(t,"__esModule",{value:!0});var a="people-carry-box",n=["people-carry"],s="f4ce",l="M176 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM144 241.7v65.1l51 51c7.1 7.1 11.8 16.2 13.4 26.1l15.2 90.9c2.9 17.4-8.9 33.9-26.3 36.8s-33.9-8.9-36.8-26.3l-14.3-85.9L66.8 320C54.8 308 48 291.7 48 274.7V186.6c0-32.4 26.2-58.6 58.6-58.6c24.1 0 46.5 12 59.9 32l47.4 71.1 10.1 5V160c0-17.7 14.3-32 32-32H384c17.7 0 32 14.3 32 32v76.2l10.1-5L473.5 160c13.3-20 35.8-32 59.9-32c32.4 0 58.6 26.2 58.6 58.6v88.1c0 17-6.7 33.3-18.7 45.3l-79.4 79.4-14.3 85.9c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8l15.2-90.9c1.6-9.9 6.3-19 13.4-26.1l51-51V241.7l-19 28.5c-4.6 7-11 12.6-18.5 16.3l-59.6 29.8c-2.4 1.3-4.9 2.2-7.6 2.8c-2.6 .6-5.3 .9-7.9 .8H256.7c-2.5 .1-5-.2-7.5-.7c-2.9-.6-5.6-1.6-8.1-3l-59.5-29.8c-7.5-3.7-13.8-9.4-18.5-16.3l-19-28.5zM2.3 468.1L50.1 348.6l49.2 49.2-37.6 94c-6.6 16.4-25.2 24.4-41.6 17.8S-4.3 484.5 2.3 468.1zM512 96c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zm77.9 252.6l47.8 119.5c6.6 16.4-1.4 35-17.8 41.6s-35-1.4-41.6-17.8l-37.6-94 49.2-49.2z";t.definition={prefix:"fas",iconName:a,icon:[640,512,n,s,l]},t.faPeopleCarryBox=t.definition,t.prefix="fas",t.iconName=a,t.width=640,t.height=512,t.ligatures=n,t.unicode=s,t.svgPathData=l,t.aliases=n},4272:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var a="screwdriver-wrench",n=["tools"],s="f7d9",l="M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM104 432c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z";t.definition={prefix:"fas",iconName:a,icon:[512,512,n,s,l]},t.faScrewdriverWrench=t.definition,t.prefix="fas",t.iconName=a,t.width=512,t.height=512,t.ligatures=n,t.unicode=s,t.svgPathData=l,t.aliases=n},8361:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var a="shirt",n=[128085,"t-shirt","tshirt"],s="f553",l="M211.8 0c7.8 0 14.3 5.7 16.7 13.2C240.8 51.9 277.1 80 320 80s79.2-28.1 91.5-66.8C413.9 5.7 420.4 0 428.2 0h12.6c22.5 0 44.2 7.9 61.5 22.3L628.5 127.4c6.6 5.5 10.7 13.5 11.4 22.1s-2.1 17.1-7.8 23.6l-56 64c-11.4 13.1-31.2 14.6-44.6 3.5L480 197.7V448c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64V197.7l-51.5 42.9c-13.3 11.1-33.1 9.6-44.6-3.5l-56-64c-5.7-6.5-8.5-15-7.8-23.6s4.8-16.6 11.4-22.1L137.7 22.3C155 7.9 176.7 0 199.2 0h12.6z";t.definition={prefix:"fas",iconName:a,icon:[640,512,n,s,l]},t.faShirt=t.definition,t.prefix="fas",t.iconName=a,t.width=640,t.height=512,t.ligatures=n,t.unicode=s,t.svgPathData=l,t.aliases=n},2510:(e,t,a)=>{var n=a(8361);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.Df=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},5554:(e,t,a)=>{var n=a(4272);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.Cg=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},1647:(e,t,a)=>{a.d(t,{GE:()=>v,a_:()=>f,yS:()=>g});var n=a(7294),s=a(2769),l=a(982),c=a(1152),i=a(2498),r=a(5253),o=a(5322),m=a(102),d=a(5554),u=a(6452),p=a(2510);const f="Pour chaque 5m3 le pack inclut : 10 cartons standard, 5 cartons livre, 1 film bulles, 1 rouleau adhésif",v=[{icon:i.y3,label:"Vous souhaitez qu’on vous fournisse un pack cartons, bulle et adhésif ?",description:f,name:"movingKit"},{icon:o.fT,label:"Vous serez peut être amené à modifier la date du déménagement ?",description:"Reporter sans frais une fois la date du déménagement jusque 72h avant",name:"datePostponement"},{icon:c.F0,label:"Vous êtes flexible sur la date de la prestation ?",description:"Economiser sur le prix de votre déménagement en étant flexible sur 14 jours",name:"dateFlexibility"},{icon:d.Cg,label:"Vous souhaitez qu’on s’occupe du démontage et du remontage du mobilier quand c’est nécessaire ?",description:"",name:"disassemblyReassembly"},{icon:m.q2,label:"Vous préférez nous confier l’emballage du fragile ( vaisselles, tableaux, bibelots) ?",description:"",name:"fragileItemsPacking"},{icon:r.Hf,label:"Vous souhaitez qu’on emballe les cartons déclarés dans l’inventaire ?",description:"",name:"allItemsPacking"},{icon:u.$K,label:"L’autorisation de stationnement pour le camion est recommandé et parfois même obligatoire dans certaines communes. Vous souhaitez que nous fassions les démarches pour vous ?",description:"",name:"parkingAuthorizationProcess"},{icon:p.Df,label:"Il existe une solution pratique pour transporter vos vêtement sans les froisser. Vous souhaitez qu’on utilise des penderies pour transporter vos vêtements sur cintres ?",description:"",name:"clothesTransportation"}],h=({input:e,name:t})=>{const a=(0,n.useCallback)((t=>e.onChange(t.target.checked)),[e]);return n.createElement("div",{className:"form-check form-switch"},n.createElement("input",{className:"h2 form-check-input",type:"checkbox",id:"test",name:t,checked:e.value,onChange:a}))},g=({namePrefix:e="optionsConfiguration.",checkOptions:t,values:a})=>n.createElement("div",{className:"optionsSelector"},t.map(((t,c)=>n.createElement("div",{className:"row row-mb-3",key:c},n.createElement("div",{className:"col col-2 d-flex justify-content-center align-items-center"},n.createElement(l.G,{icon:t.icon,className:"h1"})),n.createElement("div",{className:"col col-8 d-flex align-items-center"},n.createElement("p",{className:"mb-1"},n.createElement("span",{className:"fw-bold"},t.label),n.createElement("br",null),n.createElement("span",{className:"font-weight-light",dangerouslySetInnerHTML:{__html:t.description}}))),n.createElement("div",{className:"col col-2 d-flex justify-content-center align-items-center"},n.createElement(s.gN,{name:`${e}${t.name}`,value:a[t.name],type:"checkbox"},(({input:a})=>n.createElement(h,{name:`${e}${t.name}`,input:a}))))))))},2997:(e,t,a)=>{a.r(t),a.d(t,{default:()=>Z});var n=a(982),s=a(6891),l=a(7294),c=a(7597),i=a(5998),r=a(7660);const o=Math.max,m=Math.min;var d=a(886),u=a(378),p=a(8055);const f=function({isCheck1Displayed:e=!0,isCheck2Displayed:t=!0,isCheck3Displayed:a=!0}){return l.createElement(l.Fragment,null,l.createElement("section",{className:"work-in-progress bg-grey"},l.createElement("div",{className:"container d-flex justify-content-center align-items-center vh-100"},l.createElement("div",{className:"text-center"},l.createElement("h4",{className:"fw-bold mb-4"},"Vos informations sont complètes"),l.createElement("div",{className:"text-center"},l.createElement("div",{className:"d-flex align-items-center justify-content-center p-3"},e?l.createElement(n.G,{icon:p.LE,className:"h2 mx-3"}):l.createElement("div",{role:"status",className:"spinner-border mx-3"}),l.createElement("p",{className:"fw-bold m-0"},"Vérification de la disponibilité")),l.createElement("div",{className:"d-flex align-items-center justify-content-center p-3"},t?l.createElement(n.G,{icon:p.LE,className:"h2 mx-3"}):l.createElement("div",{role:"status",className:"spinner-border mx-3"}),l.createElement("p",{className:"fw-bold m-0"},"Sélection des partenaires validés")),l.createElement("div",{className:"d-flex align-items-center justify-content-center p-3"},a?l.createElement(n.G,{icon:p.LE,className:"h2 mx-3"}):l.createElement("div",{role:"status",className:"spinner-border mx-3",style:{width:"2rem",height:"2rem",flexShrink:0}}),l.createElement("p",{className:"fw-bold m-0"},"Votre devis sur-mesure est en cours de création. Patientez quelques secondes svp")))))))};var v=a(768),h=a(8934);const g={weekday:"short",month:"numeric",day:"numeric"},E=Object.assign(Object.assign({},g),{year:"numeric"}),b=e=>{const t=new Date(e);return t.setHours(12),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t};function x({isWishedDate:e=!1,date:t,price:a,hasLimitedAvailability:n,isLowerPrice:s,hasSimulationErrors:c=!1}){const r=(0,i.I0)(),o=(0,l.useCallback)((()=>
1{if(c)return;const e=t.getFullYear(),a=String(t.getMonth()+1).padStart(2,"0"),n=String(t.getDate()).padStart(2,"0");r((0,d.hb)(`${e}-${a}-${n}`))}),[c,t,r]),m=b(new Date),u=b(t);return l.createElement("div",{className:e?"suggestion text-center position-relative bg-dark text-white px-5 rounded-pill py-2":"suggestion pointer text-center position-relative d-flex flex-column justify-content-center mx-3 mx-xl-0",onClick:u<m?null:o},l.createElement("p",{className:"mb-0 "+(c?"text-secondary":"")},l.createElement("small",null,t.toLocaleDateString("fr-FR",g))),c?l.createElement("p",{className:"fw-bold m-0"},"--"):l.createElement("p",{className:"fw-bold m-0"},a.toFixed(2)," €"),s&&n&&!c&&l.createElement(l.Fragment,null,l.createElement("p",{className:"fw-bold m-0 w-100 mt-n1 start-0 mb-0"},l.createElement("small",{className:"text-success"},"Moins cher")),l.createElement("p",{className:"fw-bold m-0 w-100 mt-n1 start-0 mb-0"},l.createElement("small",{className:"text-warning"},"1 dispo."))),s&&!n&&!c&&l.createElement("p",{className:"fw-bold text-success m-0 w-100 mt-n1 start-0 mb-0"},l.createElement("small",null,"Moins cher")),n&&!s&&!c&&l.createElement("p",{className:"fw-bold text-warning m-0 w-100 mt-n1 start-0 mb-0"},l.createElement("small",null,"1 dispo.")))}const N=({simulationsPrices:e})=>{const t=(0,l.useRef)(null);return(0,l.useEffect)((()=>{var a,n;e.length>0&&(t.current.scrollLeft=((null===(a=t.current)||void 0===a?void 0:a.scrollWidth)-(null===(n=t.current)||void 0===n?void 0:n.clientWidth))/2)}),[e]),e.length>0?l.createElement("div",{className:"suggestions-panel bg-white d-flex justify-content-between align-items-center px-5 rounded-pill",ref:t},e.map((({movingDate:e,isWishedDate:t,totalIncludingTaxesPrice:a,hasLimitedAvailability:n,isLowerPrice:s,warningMessage:c})=>l.createElement(x,{key:e.getTime(),isWishedDate:t,date:e,price:a,hasLimitedAvailability:n,isLowerPrice:s,hasSimulationErrors:!!c})))):l.createElement("div",{className:"d-flex align-items-center justify-content-center my-5 fw-bold"},l.createElement("div",{role:"status",className:"spinner-border mx-3"}),l.createElement("p",{className:"mb-0"},"Chargement des dates"))};var w=a(2769);const y=({input:e,itemAssuranceValues:t})=>{const a=(0,l.useCallback)((t=>{const a=parseInt(t.target.value);a!==e.value&&e.onChange(a)}),[e]);return l.createElement("div",{className:"itemAssurance"},l.createElement("div",{className:"row"},t.map(((t,n)=>l.createElement("div",{className:"col col-xs-4",key:n},l.createElement("button",{type:"button",value:t,className:`p-2 rounded-pill previous w-100 ${t===e.value&&"selected-franchise"}`,onClick:a},t," €"))))))},V=({name:e="optionsConfiguration.maxValuePerItem",itemAssuranceValues:t,value:a})=>l.createElement(w.gN,{name:e,value:a},(({input:e})=>l.createElement(y,{input:e,itemAssuranceValues:t})));var k=a(1647),C=a(5385);const S=({input:e})=>{const t=(0,l.useCallback)((t=>{e.onChange(t.target.value)}),[e]);return l.createElement("div",{className:"globalPropertyValueSlider"},l.createElement("h4",{className:"fw-bold text-center"},e.value," €"),l.createElement("input",{type:"range",className:"form-label",min:3e3,max:6e4,style:{width:"100%"},step:3e3,onChange:t,defaultValue:e.value||3e3}),l.createElement("div",{className:"ticks"},l.createElement("span",{className:"tick"},"3000€"),l.createElement("span",{className:"tick"},"60000€")))},D=({name:e="optionsConfiguration.globalPropertyValue",value:t})=>l.createElement(w.gN,{name:e,value:t},(({input:e})=>l.createElement(S,{input:e})));var P=a(5944),F=a(5736),z=a(8386),A=a(6452);const M=()=>l.createElement("section",{className:"booking-presentation bg-grey"},l.createElement("div",{className:"container"},l.createElement("div",{className:"px-lg-5"},l.createElement("div",{className:"presentation text-center"},l.createElement("div",{className:"col-lg-5 mx-auto mb-5"},l.createElement("div",{className:"w-100 rounded",id:"booking-pres"},l.createElement("img",{src:"/img/tunnel/bookingPage/booking.webp",alt:"",className:"w-100 rounded img-fluid",width:"500",height:"380"}))),l.createElement("h3",{className:"fw-bold"},"Toutes les prestations de déménagement professionnel avec Des bras en plus comprennent"),l.createElement("div",{className:"row mt-5"},l.createElement("div",{className:"col-12 col-xs-12 col-md-6 col-lg-3"},l.createElement(n.G,{icon:A.$K,className:"h1 mb-4"}),l.createElement("h6",{className:"fw-bold"},"Camion équipé"),l.createElement("p",{className:"px-4"},"Un camion aux normes, avec couvertures de déménagement, des sangles et le carburant")),l.createElement("div",{className:"col-12 col-xs-12 col-md-6 col-lg-3"},l.createElement(n.G,{icon:z.Kl,className:"h1 mb-4"}),l.createElement("h6",{className:"fw-bold"},"Déménageurs professionnels"),l.createElement("p",{className:"px-4"},"Une équipe dévouée et suivie, issue du réseau Des bras en plus")),l.createElement("div",{className:"col-12 col-xs-12 col-md-6 col-lg-3"},l.createElement(n.G,{icon:P.W2,className:"h1 mb-4"}),l.createElement("h6",{className:"fw-bold"},"Transport & remise en place"),l.createElement("p",{className:"px-4"},"Le chargement, le transport et la mise en place du mobilier dans la pièce de destination")),l.createElement("div",{className:"col-12 col-xs-12 col-md-6 col-lg-3"},l.createElement(n.G,{icon:F.XK,className:"h1 mb-4"}),l.createElement("h6",{className:"fw-bold"},"Service client dévoué"),l.createElement("p",{className:"px-4"},"Un service client disponible 7j/7")))))));var L=a(9328);const j=({title:e="Mon déménagement",values:t})=>l.createElement(l.Fragment,null,l.createElement("h5",{className:"my-3 mb-5 fw-bold"},e),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary"},"Date"),l.createElement("p",null,new Date(t.movingDate).toLocaleDateString("fr-FR",E))),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary"},"Volume déclaré"),"known"===t.isKnownVolume?l.createElement("p",null,t.volume," m3"):"unknown"===t.isKnownVolume?l.createElement("p",null,"(calculé par inventaire)"):l.createElement("p",null,"(calculé par IA)")),l.createElement("p",{className:"fw-bold mt-2"},"Départ"),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary col"},"Adresse"),l.createElement("p",{className:"col text-end"},t.departureAddress.formattedAddress)),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary"},"Etage"),l.createElement("p",null,t.departureFloor||"RDC")),t.stopOverCollection.uids.map(((e,a)=>l.createElement(l.Fragment,{key:e},l.createElement("p",{className:"fw-bold mt-2"},"Escale ",t.stopOverCollection.uids.length>1?` n°  ${a+1}`:""),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary col"},"Adresse"),l.createElement("p",{className:"col text-end"},t[(0,L.FJ)("stopover",`${e}`)].addressInTextInput)),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary"},"Etage"),l.createElement("p",null,t[(0,L.Kd)("stopover",`${e}`)]||"RDC"))))),t.needStorage&&l.createElement(l.Fragment,null,l.createElement("p",{className:"fw-bold mt-2"},"Stockage"),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary col"},"Date de fin de stockage"),l.createElement("p",{className:"col text-end"},t.unlimitedStorage?"indéterminé":new Date(t.endStorageDate).toLocaleDateString("fr-FR",E)))),!t.needStorage&&l.createElement(l.Fragment,null,l.createElement("p",{className:"fw-bold mt-2"},"Arrivée"),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary col"},"Adresse"),l.createElement("p",{className:"col text-end"},t.arrivalAddress.formattedAddress)),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("p",{className:"text-secondary"},"Etage"),l.createElement("p",null,t.arrivalFloor||"RDC"))));var H=a(9250),T=a(7704),R=a(1257),$=a(4282),I=function(e,t,a,n){return new(a||(a=Promise))((function(s,l){function c(e){try{r(n.next(e))}catch(e){l(e)}}function i(e){try{r(n.throw(e))}catch(e){l(e)}}function r(e){var t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(c,i)}r((n=n.apply(e,t||[])).next())}))};const O=({simulationUuid:e,isNewSimulationAsked:t,executeScroll:a,setIsNewSimulationAsked:n})=>{const s=(0,H.s0)(),c=(0,i.I0)(),[o,m]=(0,l.useState)(""),[u,p]=(0,l.useState)(!1),[f,v]=(0,l.useState)(!1),[h,g]=(0,l.useState)(!1),[E,b]=(0,l.useState)(!1),x=(0,i.v9)((e=>e.tunnel.codePromo)),N=(0,i.v9)(r.MU),w=(0,i.v9)(r.LH);(0,l.useEffect)((()=>{x.code?(p(!0),m(x.code),b(!0)):null!==w.simulationCodePromo&&(m(w.simulationCodePromo),p(!0),b(!0))}),[]),(0,l.useEffect)((()=>{""!==o&&y(N,o)}),[N]),(0,l.useEffect)((()=>{console.log("current code promo redux: ",x)}),[x]),(0,l.useEffect)((()=>{x&&console.log("Current simuation",w)}),[w]);const y=(e,t)=>I(void 0,void 0,void 0,(function*(){try{n(!0),yield R.default.post(`https://superapi.desbrasenplus.com/api/simulations/${e}/codePromoDiscount/add/${t}`,{}).then((e=>I(void 0,void 0,void 0,(function*(){console.log(e.data),c((0,$.g4)(e.data)),yield R.default.get(`https://superapi.desbrasenplus.com/api/simulations/${e.data.uuid}/dates/compare?numberOfDaysBefore=3&numberOfDaysAfter=3`).then((e=>{console.log("res2: ",e),c((0,$.PA)(e.data.simulationsPrices)),n(!1)}))}))))}catch(e){console.error(e)}}));return l.createElement(l.Fragment,null,l.createElement(T.iM,{onClick:()=>{s(`/simulation/${e}/paiement`)},className:"mb-3 mx-auto",style:{backgroundColor:"#FF5409",width:"100%",paddingBlock:"12px",textTransform:"uppercase",display:"flex",alignItems:"center",justifyContent:"center"},disabled:t},l.createElement("span",{style:{fontSize:"13px"}},"RESERVER")),l.createElement("p",{className:"text-center mb-3",style:{fontSize:"1.03em",fontWeight:"bold",cursor:"pointer",textDecoration:"underline"},onClick:()=>b(!E)},E?"Je n’ai pas un code client":"J’ai un code client"),E&&l.createElement("div",{className:"mb-2",style:{display:"flex",alignItems:"center",justifyContent:"center"}},l.createElement("div",{className:"code-promo-container",style:{border:"1px solid #939FAE",borderRadius:"40px",display:"flex",alignItems:"center",backgroundColor:u?"#EFEFEF":"white"}},l.createElement("input",{type:"text",placeholder:"Code client",disabled:u,style:{border:"none",outline:"none",margin:"8px 20px",backgroundColor:u?"#EFEFEF":"white"},value:o,onChange:e=>m(e.target.value)}),l.createElement("button",{style:{textTransform:"uppercase",backgroundColor:"#172333",color:"white",outline:"none",border:"none",borderRadius:"30px",padding:"10px 10px",transform:"scale(1.2)"},onClick:()=>I(void 0,void 0,void 0,(function*(){if(u)e=N,t=x.code,I(void 0,void 0,void 0,(function*(){try{n(!0),yield R.default.post(`https://superapi.desbrasenplus.com/api/simulations/${e}/codePromoDiscount/remove/${t}`,{}).then((e=>I(void 0,void 0,void 0,(function*(){c((0,$.g4)(e.data)),yield R.default.get(`https://superapi.desbrasenplus.com/api/simulations/${e.data.uuid}/dates/compare?numberOfDaysBefore=3&numberOfDaysAfter=3`).then((e=>{console.log("res2: ",e),c((0,$.PA)(e.data.simulationsPrices)),n(!1),b(!1)}))}))))}catch(e){console.error(e)}})),c((0,d.f1)(0)),c((0,d.qh)()),p(!1),v(!1),m("");else if(g(!0),""!==o){try{const e=yield R.default.get(`https://superapi.desbrasenplus.com/api/system/codes_promos/${o}
1`,{headers:{"X-AUTH-TOKEN":"d71f7066-17f7-4745-bd57-23d3d1b0af63"}});if(v(!0),e.data.code)if(e.data.isActive){const t=new Date;if(new Date(e.data.dateValiditer)>t||!e.data.dateValiditer){p(!0);const t={partenaire:e.data.partenaire,code:e.data.code,valeur:e.data.valeur,typeRemise:e.data.typeRemise,dateValiditer:e.data.dateValiditer,usageUnique:e.data.usageUnique,isActive:e.data.isActive};c((0,d._3)(t)),y(N,e.data.code),c((0,d.f1)(0))}else p(!1)}else p(!1)}catch(e){v(!0),console.error("Error fetching code promo data:",e),p(!1)}g(!1)}else g(!1),alert("Input est vide !");var e,t}))},l.createElement("span",{style:{fontWeight:"lighter",fontSize:"12px"}}," ",h?"EN COURS...":u?"Supprimer":"Appliquer")))),l.createElement("p",{className:"mb-4",style:{color:"red"}},!0===f&&!u&&"Code Promo Invalide"),l.createElement("div",{className:"mb-2"},l.createElement("p",{style:{marginBottom:"13px"}},l.createElement("svg",{style:{marginRight:"10px"},xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",className:"bi bi-heart",viewBox:"0 0 16 16"},l.createElement("path",{d:"m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143q.09.083.176.171a3 3 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15"})),"+100 000 clients satisfaits depuis 2011"),l.createElement("p",{style:{marginBottom:"13px"}},l.createElement("svg",{style:{marginRight:"10px"},xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",className:"bi bi-truck",viewBox:"0 0 16 16"},l.createElement("path",{d:"M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5zm1.294 7.456A2 2 0 0 1 4.732 11h5.536a2 2 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456M12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2m9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2"})),"Déménageurs professionnels suivis"),l.createElement("p",{style:{marginBottom:"13px"}},l.createElement("svg",{style:{marginRight:"10px"},xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",fill:"currentColor",className:"bi bi-telephone",viewBox:"0 0 16 16"},l.createElement("path",{d:"M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.6 17.6 0 0 0 4.168 6.608 17.6 17.6 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.68.68 0 0 0-.58-.122l-2.19.547a1.75 1.75 0 0 1-1.657-.459L5.482 8.062a1.75 1.75 0 0 1-.46-1.657l.548-2.19a.68.68 0 0 0-.122-.58zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.68.68 0 0 0 .178.643l2.457 2.457a.68.68 0 0 0 .644.178l2.189-.547a1.75 1.75 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.6 18.6 0 0 1-7.01-4.42 18.6 18.6 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877z"})),"Service client 7j/7 de 9h à 18h")),l.createElement("a",{href:null},l.createElement("p",{className:"fw-bold text-dark mb-0",style:{cursor:"pointer",textDecoration:"underline",paddingTop:"40px"},onClick:a},"Personnaliser et voir ce qui est inclus")),l.createElement("div",{className:"d-flex justify-content-between"},l.createElement("span",null)))},q=({wishedSimulationPrice:e,isNewSimulationAsked:t})=>{console.assert(e,"wishedSimulationPrice est obligatoire pour cet appel");const a=(0,i.v9)((e=>e.tunnel.codePromo)),n=(0,i.v9)(r.LH),[s,c]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{null!=a.code?c(!0):c(!1),console.log(n)}),[a]),l.createElement(l.Fragment,null,l.createElement("h3",null,l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"55",height:"55",fill:"currentColor",className:"bi bi-truck",viewBox:"0 0 16 16"},l.createElement("path",{d:"M0 3.5A1.5 1.5 0 0 1 1.5 2h9A1.5 1.5 0 0 1 12 3.5V5h1.02a1.5 1.5 0 0 1 1.17.563l1.481 1.85a1.5 1.5 0 0 1 .329.938V10.5a1.5 1.5 0 0 1-1.5 1.5H14a2 2 0 1 1-4 0H5a2 2 0 1 1-3.998-.085A1.5 1.5 0 0 1 0 10.5zm1.294 7.456A2 2 0 0 1 4.732 11h5.536a2 2 0 0 1 .732-.732V3.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .294.456M12 10a2 2 0 0 1 1.732 1h.768a.5.5 0 0 0 .5-.5V8.35a.5.5 0 0 0-.11-.312l-1.48-1.85A.5.5 0 0 0 13.02 6H12zm-9 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2m9 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2"}))),l.createElement("h3",{style:{fontWeight:"bold",fontSize:"1.35em"}},"Déménagement"),t?l.createElement("div",{role:"status",style:{width:"2rem",height:"2rem"},className:"me-3 spinner-border spinner-border-sm"}):l.createElement(l.Fragment,null,l.createElement("h2",null,e.movingPrice.toFixed(2)," €")),e.storagePrice>0&&l.createElement(l.Fragment,null,l.createElement("hr",{className:"my-3",style:{width:"50%",margin:"0 auto"}}),l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",fill:"currentColor",className:"bi bi-house-lock",viewBox:"0 0 16 16"},l.createElement("path",{d:"M7.293 1.5a1 1 0 0 1 1.414 0L11 3.793V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v3.293l2.354 2.353a.5.5 0 0 1-.708.708L8 2.207l-5 5V13.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 2 13.5V8.207l-.646.647a.5.5 0 1 1-.708-.708z"}),l.createElement("path",{d:"M10 13a1 1 0 0 1 1-1v-1a2 2 0 0 1 4 0v1a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm3-3a1 1 0 0 0-1 1v1h2v-1a1 1 0 0 0-1-1"})),l.createElement("h3",{style:{fontWeight:"bold",fontSize:"1.35em",marginTop:"12px"}},"Stockage"),l.createElement("h2",null,(e.storagePrice/100).toFixed(2)," €")),s&&l.createElement(l.Fragment,null,l.createElement("hr",{className:"my-3",style:{width:"50%",margin:"0 auto"}}),l.createElement("div",{className:"d-flex flex-column justify-content-center"},l.createElement("div",{className:"d-flex align-items-center justify-content-between"},l.createElement("span",null,"Total:"),t?l.createElement("div",{role:"status",style:{width:"1.5rem",height:"1.5rem"},className:"me-3 spinner-border spinner-border-sm"}):l.createElement("span",null,(e.movingPrice+n.codePromoAmountToDiscount/100).toFixed(2)," € TTC")),l.createElement("div",{className:"d-flex align-items-center justify-content-between",style:{color:"#05A86D"}},l.createElement("span",null,"CODE PROMO: "),t?l.createElement("div",{role:"status",style:{width:"1.5rem",height:"1.5rem"},className:"me-3 spinner-border spinner-border-sm"}):l.createElement("span",null,"-",(n.codePromoAmountToDiscount/100).toFixed(2)," € TTC")))),l.createElement("hr",null),l.createElement("div",{className:"d-flex justify-content-between mb-3"},l.createElement("h5",{className:"fw-bold"},s?"Total après réduction":"Total"," :"),t?l.createElement("div",{role:"status",style:{width:"1.5rem",height:"1.5rem"},className:"me-3 spinner-border spinner-border-sm"}):l.createElement("h5",{className:"fw-bold"},e.totalIncludingTaxesPrice.toFixed(2)," € TTC")),l.createElement("div",{className:"payment-eligibility-banner d-flex align-items-center justify-content-center mb-3"},l.createElement("div",{className:"payment-eligibility-banner-content d-flex align-items-center justify-content-center"},l.createElement("img",{src:"/img/check-mark-payment-banner.png",alt:"Check Mark"}),l.createElement("p",{style:{color:"#198754",marginLeft:"5px",marginBottom:"3px"}}," éligible au paiement en plusieurs fois "),l.createElement("div",{className:"popup"},"Sous réserve d’acceptation par notre partenaire. Vous disposez du délai de rétractation."))))};var _=a(9363);const U=({children:e})=>l.createElement("div",{className:"sticky-card"},e);function W(e,t){const a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(const n of a){const a=e[n],s=t[n],l=B(a)&&B(s);if(l&&!W(a,s)||!l&&a!==s)return!1}return!0}function B(e){return null!=e&&"object"==typeof e}function G(e){const t=Array.isArray(e)?[]:{};let a;for(const n in e)a=e[n],t[n]="object"==typeof a?G(a):a;return t}const K=(e,t)=>{const[a,n]=(0,l.useState)(e);(0,l.useEffect)((()=>
1{if(!W(e,a)){const a=G(e);n(a),t(a)}}),[e])},J=({devisAutonomeStatus:e,sendDevisAutonome:t,isNewSimulationAsked:a,operationStart:n})=>{const s=1===e;return l.createElement("div",{className:"devis-autonome pt-4 pb-5"},l.createElement("div",{className:"container d-flex flex-column justify-content-center align-items-center"},l.createElement("p",{className:"text-center"},"Recevoir le devis avec les modifications et options supplémentaires que j’ai ajouté"),!n&&l.createElement(T.iM,{onClick:()=>t(),title:s||a?"Vous êtes à jour. Le devis avec les dernières informations a été envoyé à votre e-mail":"",className:"devis-autonome-button "+(s||a?"desactiver":""),disabled:s||a},"Recevoir Mon devis"),n&&l.createElement(T.iM,{onClick:()=>t(),title:s||a?"Vous êtes à jour. Le devis avec les dernières informations a été envoyé à votre e-mail":"",className:"devis-autonome-button desactiver",disabled:!0},l.createElement("span",{className:"loader-devis-autonome"}))))};const X=function(e,t,a){let n,s,l,c,i,r,d=0,u=!1,p=!1,f=!0;if("function"!=typeof e)throw new TypeError("error function does not exist in debounce");function v(t){const a=n,l=s;return n=s=void 0,d=t,c=e.apply(l,a),c}function h(e){const a=e-r;return void 0===r||a>=t||a<0||p&&e-d>=l}function g(){const e=Date.now();if(h(e))return E(e);i=setTimeout(g,function(e){const a=e-d,n=t-(e-r);return console.log("remainingWait"),p?m(n,l-a):n}(e))}function E(e){return i=void 0,f&&n?v(e):(n=s=void 0,c)}function b(){const e=Date.now(),a=h(e);if(n=arguments,s=this,r=e,a){if(void 0===i)return function(e){return d=e,i=setTimeout(g,t),u?v(e):c}(r);if(p)return i=setTimeout(g,t),v(r)}return void 0===i&&(i=setTimeout(g,t)),c}return t=Number(t)||0,"object"==typeof a&&(u=!!a.leading,p="maxWait"in a,l=p?o(Number(a.maxWait)||0,t):l,f="trailing"in a?!!a.trailing:f),b.cancel=function(){void 0!==i&&clearTimeout(i),d=0,n=r=s=i=void 0},b.flush=function(){return void 0===i?c:E(Date.now())},b}(u.u0,300,{leading:!0}),Y=[250,500,1e3],Q=({handleSubmit:e,values:t,checkOptions:a})=>(K(t,e),l.createElement(l.Fragment,null,l.createElement("section",{className:"furniture-value"},l.createElement("div",{className:"container text-center py-5"},l.createElement("div",{className:"px-lg-5"},l.createElement("h3",{className:"fw-bold mb-3"},"Quelle est la valeur des biens transportés ?"),l.createElement("div",{className:"col col-xs-12 col-md-8 col-lg-6 my-3 mx-auto px-3 px-md-0"},l.createElement(D,{name:"globalPropertyValue",value:t.globalPropertyValue}))))),l.createElement("section",{className:"bg-grey text-center"},l.createElement("div",{className:"container py-5"},l.createElement("div",{className:"px-lg-5 text-center"},l.createElement("h3",{className:"fw-bold mb-3"},"Votre garantie par objet"),l.createElement("div",{className:"col col-lg-10 mx-auto mb-4"},l.createElement("p",{className:"w-100"},"Indiquez ici le montant maximal de garantie par élément transporté. Si cela ne suffit pas, vous pourrez faire une ",l.createElement("a",{href:"https://forms.gle/hNxyFfUrPi8nLb3y6",rel:"noreferrer",className:"link-dark",target:"_blank"},l.createElement("u",null,"déclaration de valeur")),".")),l.createElement("div",{className:"col col-lg-6 mx-auto"},l.createElement(V,{name:"maxValuePerItem",value:t.maxValuePerItem,itemAssuranceValues:Y}))))),l.createElement("section",{className:"options"},l.createElement("div",{className:"container py-5"},l.createElement("div",{className:"px-lg-5"},l.createElement("h3",{className:"fw-bold mb-5 text-center"},"Choisissez vos options"),l.createElement("div",{className:"col col-lg-10 mx-auto mt-5"},l.createElement(k.yS,{values:t,namePrefix:"",checkOptions:a}))))))),Z=function(){const e=(0,i.v9)(r.sD),{wishedSimulationPrice:t,simulationsPrices:a,wishedSimulationPriceDateString:o}=(0,i.v9)(r.CF),m=(0,i.v9)(r.HV),p=(0,i.v9)(r.R6),g=function(e){const t=(0,l.useRef)();return(0,l.useEffect)((()=>{t.current=e}),[e]),t.current}(o),E=(0,i.v9)((e=>(0,r.p0)(e))),b=(0,i.I0)(),x=(0,i.v9)(r.MU),y=(0,i.v9)(r.LH),[V,S]=(0,l.useState)(!1),[D,P]=(0,l.useState)(!1),[F,z]=(0,l.useState)(!1),[A,L]=(0,l.useState)(!1),[$,I]=(0,l.useState)(!1),[W,B]=(0,l.useState)(!1),[G,K]=(0,l.useState)(!1),[Y,Z]=(0,l.useState)(!1),ee=(0,i.v9)((e=>e.tunnel.devisAutonomeEnvoyé)),te=(0,i.v9)(r.LY),ae=(0,i.v9)(r.bg),ne=(0,i.oR)();ne.getState(),(0,l.useEffect)((()=>{const t=localStorage.getItem(d.Jp);0===p&&(B(!0),(0,u.u0)(b,e,ae,t).then((()=>B(!1))).then((()=>b((0,h.n2)()))).catch((e=>{b((0,h.iT)({message:"La mise à jour du devis a échoué"})),console.error(e)})))}),[]);const[se,le]=(0,l.useState)(k.GE);(0,C.v)(y,le),(0,l.useEffect)((()=>{2===p?(I(!0),L(!1)):(I(!1),L(!0),setTimeout((()=>S(!0)),1e3),setTimeout((()=>P(!0)),2e3),setTimeout((()=>{L(!1)}),5e3))}),[]);const ce=()=>{return e=this,t=void 0,n=function*(){0===ee&&(Z(!0),yield R.default.post(`https://superapi.desbrasenplus.com/api/simulations/${x}/send`,(0,r.LH)(ne.getState()),{headers:{"Content-Type":"application/json"}}).then((e=>{console.log("Devis autonome envoyé par e-mail",e.data),b((0,d.f1)(1)),console.log("Initialisation de la nouvelle simulation en cours..."),(0,u.Vc)(b,x),console.log("La nouvelle simulation a été cr
1éée!")})).catch((e=>{b((0,d.f1)(0)),console.log("devis autonome email not sent: ",e)})),Z(!1))},new((a=void 0)||(a=Promise))((function(s,l){function c(e){try{r(n.next(e))}catch(e){l(e)}}function i(e){try{r(n.throw(e))}catch(e){l(e)}}function r(e){var t;e.done?s(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(c,i)}r((n=n.apply(e,t||[])).next())}));var e,t,a,n};(0,l.useEffect)((()=>{2!==p||A||I(!0),!G&&x&&(ce(),K(!0))}),[A,p]);const[ie,re]=(0,l.useState)(E),oe=(0,l.useCallback)((e=>{console.log("SUBMIT",e),b((0,d.kS)(e))}),[b]),me=(0,l.useRef)(!0),de=(0,l.useCallback)((t=>{const a=X(b,e,ae,t);a&&(B(!0),a.then((()=>B(!1))),a.then((()=>b((0,h.n2)()))),a.then((()=>b((0,d.f1)(0)))),a.catch((e=>{b((0,h.iT)({message:"La mise à jour du devis a échoué"})),console.error(e)})))}),[e,b,ae]);(0,l.useEffect)((()=>{!me.current&&m&&g&&de(x),console.log("wishedSimulationPrice:",t)}),[o,e.optionsConfiguration]),(0,l.useEffect)((()=>{me.current=!1}),[]);const ue=(0,H.s0)(),pe=(0,l.useRef)(null),fe=(0,l.useCallback)((()=>pe.current.scrollIntoView()),[]);return te?l.createElement(l.Fragment,null,l.createElement(c.U,null),l.createElement(v.j,{title:te.title,message:te.message})):l.createElement(l.Fragment,null,l.createElement(_.Z,{title:"Réservez votre déménagement",metaDescription:void 0,image:void 0}),l.createElement(c.U,null),$?l.createElement(l.Fragment,null,l.createElement("section",{className:"booking bg-grey py-5"},l.createElement("div",{className:"container"},l.createElement("div",{className:"px-lg-5"},l.createElement(N,{simulationsPrices:a}),l.createElement("div",{className:"simulation"},l.createElement("div",{className:"d-flex flex-column-reverse flex-lg-row px-4 px-lg-5"},l.createElement("div",{className:"recap col p-4 my-lg-4 pe-5 bg-light"},l.createElement(j,{values:e})),l.createElement("div",{className:"quotation col bg-white rounded text-center p-2"},t&&l.createElement(q,{wishedSimulationPrice:t,isNewSimulationAsked:W}),l.createElement(O,{simulationUuid:x,isNewSimulationAsked:W,executeScroll:fe,updateSimulation:de,setIsNewSimulationAsked:B}))))),l.createElement("button",{className:"slide-down d-flex justify-content-center align-items-center mb-5",onClick:fe},l.createElement(n.G,{icon:s.d9,className:"h3 m-0"})))),l.createElement(M,null),l.createElement("div",{ref:pe},l.createElement(w.l0,{initialValues:e.optionsConfiguration,onSubmit:oe},(({handleSubmit:e,values:t,form:a})=>l.createElement(Q,{checkOptions:se,handleSubmit:e,values:t,form:a})))),l.createElement(J,{devisAutonomeStatus:ee,sendDevisAutonome:ce,isNewSimulationAsked:W,operationStart:Y}),l.createElement(U,null,l.createElement((()=>(console.log("wishedSimulationPrice:",t),l.createElement(l.Fragment,null,l.createElement("div",{className:"total pe-5"},l.createElement("small",null,"TOTAL TTC"),W?l.createElement("div",null,l.createElement("div",{style:{width:"1.5rem",height:"1.5rem"},role:"status",className:"spinner-border me-3 spinner-border-sm mb-1"})):t&&"totalIncludingTaxesPrice"in t?l.createElement("h5",{className:"fw-bold"},t.totalIncludingTaxesPrice.toFixed(2)," €"):l.createElement("h5",{className:"fw-bold"},"-")),l.createElement(T.iM,{onClick:()=>ue(`/simulation/${x}/paiement`),disabled:W||!t},"RESERVER")))),null))):l.createElement(f,{isCheck1Displayed:V,isCheck2Displayed:D,isCheck3Displayed:F}))}},5385:(e,t,a)=>{a.d(t,{O:()=>l,v:()=>c});var n=a(7294),s=a(1647);const l=e=>`${10*e} cartons standards, ${5*e} cartons livres, ${e} film${e>1?"s":""} bulles, ${e} rouleau${e>1?"x":""} adhésif${e>1?"s":""}`,c=(e,t,a=s.GE)=>(0,n.useEffect)((()=>{if(e){const n=[...a],{simulatedNbMovingKits:c}=e;n[0].description=c?`Votre pack, expédié sous 48h, contiendra : ${l(c)}`:s.a_,t(n)}else t(a)}),[e,t,a])}}]);

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.