PageSourceSearch

https://static.wokiapp.com/_next/static/chunks/pages/user/guarantee-3d7b8b5916aa7ad7.js

js wokiapp.com collected 2026-09-26 04:53:03 UTC 19,255 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="22f429c0-4ede-4ede-aba2-6ce776ee897b",e._sentryDebugIdIdentifier="sentry-dbid-22f429c0-4ede-4ede-aba2-6ce776ee897b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4970,9175],{3991:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"}))})},16847:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))})},22749:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))})},23074:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z",clipRule:"evenodd"}))})},32164:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.217 10.9
107a2.25 2.25 0 1 0 0 2.186m0-2.186c.18.324.283.696.283 1.093s-.103.77-.283 1.093m0-2.186 9.566-5.314m-9.566 7.5 9.566 5.314m0 0a2.25 2.25 0 1 0 3.935 2.186 2.25 2.25 0 0 0-3.935-2.186Zm0-12.814a2.25 2.25 0 1 0 3.933-2.185 2.25 2.25 0 0 0-3.933 2.185Z"}))})},44571:e=>{"use strict";e.exports={DevTool:()=>null}},52143:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))})},55155:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(23798);r(21462);var l=r(53852),o=r(69135),a=r(2690);let i=e=>{let{width:t=13,height:r=14}=e;return(0,n.jsxs)("svg",{viewBox:"0 0 24 24",width:t,height:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),(0,n.jsx)("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsxs)("g",{id:"SVGRepo_iconCarrier",children:[(0,n.jsx)("path",{d:"M2 2L22 22",stroke:"#fb3f4a",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6.71277 6.7226C3.66479 8.79527 2 12 2 12C2 12 5.63636 19 12 19C14.0503 19 15.8174 18.2734 17.2711 17.2884M11 5.05822C11.3254 5.02013 11.6588 5 12 5C18.3636 5 22 12 22 12C22 12 21.3082 13.3317 20 14.8335",stroke:"#fb3f4a",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M14 14.2362C13.4692 14.7112 12.7684 15.0001 12 15.0001C10.3431 15.0001 9 13.657 9 12.0001C9 11.1764 9.33193 10.4303 9.86932 9.88818",stroke:"#fb3f4a",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})]})};var s=r(94516),d=r(46001),c=r.n(d);let u=e=>{let{isOpen:t=!1,closeModal:r,title:d,text:u,icon:m=!1,customIcon:h,onContinue:f,animateOnOpen:x=!0,buttonText:g="OK",cancelText:w,buttonPosition:p,continueOnClose:v=!0,mobileCustomTitleStyle:b}=e,{isMobile:y}=(0,a.e)();return(0,n.jsx)(o.bL,{open:t,onOpenChange:v&&null!=f?f:r,children:(0,n.jsxs)(o.ZL,{children:[(0,n.jsx)(o.hJ,{className:c()("fixed inset-0 z-[400] bg-black bg-opacity-25",{"data-[state=open]:animate-[dialog-overlay-show_500ms]":x})}),(0,n.jsx)(o.UC,{className:c()("fixed bottom-0 left-1/2 !z-[400] flex h-full max-h-[100%] w-full -translate-x-1/2 flex-col justify-end rounded-lg shadow lg:top-1/2 lg:h-fit lg:w-fit lg:-translate-y-1/2",{"transform transition-all data-[state=closed]:animate-[dialog-content-hide-to-bottom-mobile_200ms] data-[state=open]:animate-[dialog-content-show-from-bottom-mobile_500ms] lg:data-[state=open]:animate-[dialog-content-show-from-bottom_800ms]":x&&!y}),children:y?(0,n.jsxs)("div",{className:"mb-4 flex w-full flex-col gap-2 p-4",children:[(0,n.jsxs)("div",{className:"relative flex flex-col items-center justify-between rounded-lg bg-backgroundColor px-4 text-center shadow-xl md:max-h-[90vh]",children:[(0,n.jsxs)("div",{className:"flex w-full items-center justify-center gap-4 border-b-[1px] border-lightGray py-4",children:[m&&(h||(0,n.jsx)(i,{width:20,height:20})),(0,n.jsx)("h3",{className:c()("text-[16px] font-medium",b),children:d})]}),w?(0,n.jsx)(s.S,{backgroundColor:"bg-backgroundColor rounded-lg",textColor:"text-primaryColor",fontSize:"text-[16px]",fontWeight:"medium",onClick:null!=f?f:r,children:g}):(0,n.jsx)("p",{className:"lg:text-textColor whitespace-pre-line py-4 text-darkGray",children:u})]}),w?(0,n.jsx)(s.S,{onClick:r,backgroundColor:"bg-backgroundColor rounded-lg",textColor:"text-red",fontSize:"text-[16px]",fontWeight:"medium",children:w}):(0,n.jsx)(s.S,{backgroundColor:"bg-backgroundColor rounded-lg",textColor:"text-primaryColor",fontSize:"text-[16px]",fontWeight:"medium",onClick:null!=f?f:r,children:g})]}):(0,n.jsxs)("div",{className:"relative flex max-h-[300px] w-[422px] flex-col items-center justify-between gap-6 rounded-lg bg-backgroundColor p-8 text-center shadow-xl",children:[(0,n.jsx)("h3",{className:"text-[28px] font-semibold",children:d}),(0,n.jsx)("p",{className:"w-full whitespace-pre-line text-[14px]",children:u}),(0,n.jsxs)("div",{className:c()("flex w-full gap-2",{"flex-col":"col"===p,"flex-row-reverse":"row-reverse"===p}),children:[(0,n.jsx)(l.O,{onClick:null!=f?f:r,style:{whiteSpace:"nowrap"},children:g}),!!w&&(0,n.jsx)(l.O,{onClick:r,styledButtonType:"outline",children:w})]})]})})]})})}},55325:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"}))})},67182:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"}))})},68268:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(23798),l=r(21462),o=r(41987);let a=e=>{let{color:t,show:r,children:a,onAnimationEnd:i,samePage:s=!1}=e,d=(0,l.useRef)(!1);return(0,l.useEffect)(()=>
1{if(!r){d.current=!1;return}d.current||(d.current=!0,window.dispatchEvent(new CustomEvent(o.YY,{detail:{color:t,samePage:s,origin:{x:window.innerWidth/2,y:window.innerHeight,size:40}}})));let e=i?window.setTimeout(i,o.Am):void 0;return()=>{e&&window.clearTimeout(e)}},[t,r,i,s]),a?(0,n.jsx)("span",{className:"hidden",children:a}):null}},69870:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{d:"m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z"}))})},81605:(e,t,r)=>{"use strict";r.d(t,{J:()=>l});var n=r(23798);r(21462);let l=e=>{let{width:t=22,height:r=22}=e;return(0,n.jsx)("svg",{width:t,height:r,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M4.58333 2.75V6.41667M2.75 4.58333H6.41667M5.5 15.5833V19.25M3.66667 17.4167H7.33333M11.9167 2.75L14.0122 9.03558L19.25 11L14.0122 12.9644L11.9167 19.25L9.82117 12.9644L4.58333 11L9.82117 9.03558L11.9167 2.75Z",stroke:"currentColor",strokeWidth:"1.83333",strokeLinecap:"round",strokeLinejoin:"round"})})}},84076:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{d:"M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"}))})},91160:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/guarantee",function(){return r(95690)}])},93198:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94 8.28 7.22Z",clipRule:"evenodd"}))})},95689:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(21462);let l=n.forwardRef(function(e,t){let{title:r,titleId:l,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":l},o),r?n.createElement("title",{id:l},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"}))})},95690:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GuaranteeContent:()=>S,__N_SSG:()=>O,default:()=>M});var n=r(23798),l=r(21462),o=r(13775),a=r(44455),i=r(20878),s=r(26),d=r(75451),c=r(96196),u=r(55437),m=r(14125);let h=e=>{let{handleNextStep:t,customGoBack:r,timerOnClick:l}=e;return(0,n.jsx)(c.R,{children:(0,n.jsx)(u.w,{handleNextStep:t,children:(0,n.jsx)(m.N,{customGoBack:r,timerOnClick:l})})})};var f=r(32759),x=r(41104),g=r(56348),w=r(70609),p=r(13488),v=r(81533),b=r(55155),y=r(54713),k=r(68268),j=r(41987),C=r(27326),E=r(2690),L=r(28532),_=r(98319);let A=e=>{let{children:t,state:r,partnerInfoForCommunication:l,partnerInfo:o,handleOpenAnchoitaShare:a,partnerId:i,isSectorFlexible:s,isTimeFlexible:d,loadingPartnerInfoForCommunication:c,summaryDate:u,summaryQuantity:m,summarySector:h,shiftOptionals:f,
1summaryOptionals:x,bookingAdditionalProducts:g,bookingModality:w}=e,{isMobile:p}=(0,E.e)();return(0,n.jsxs)("div",{className:"flex h-full w-full flex-col lg:w-screen lg:max-w-[1120px] lg:flex-row lg:content-start lg:gap-x-[116px] lg:px-[25px] lg:py-[54px]",children:[(0,n.jsx)("div",{className:"lg:min-h-none flex w-screen flex-col items-start justify-start px-5 lg:max-w-[577px] lg:items-center lg:justify-start lg:px-0 lg:pt-0",children:t}),!p&&void 0!==r&&(0,n.jsx)(L.B,{partnerInfoForCommunication:l,loadingPartnerInfoForCommunication:c,state:r,handleOpenAnchoitaShare:a,partnerId:i,isSectorFlexible:s,isTimeFlexible:d,shareButton:!1,partnerImage:(null==o?void 0:o.bannerImageUrl)||"",isWaitListFlow:!1,partnerName:(null==o?void 0:o.name)||"",summaryDate:u,summaryQuantity:m,summarySector:h,showSummaryChips:!0,country:null==o?void 0:o.country,city:null==o?void 0:o.city,partnerAddress:null==o?void 0:o.address,shiftOptionals:f,summaryOptionals:x,bookingAdditionalProducts:g,bookingModality:w})]})};var O=!0;let S=e=>{let{show:t,setShow:r,showDay:l,politicInfo:o,timerOnClick:i,bookingId:c,partnerId:u,push:m,onPaymentMethodEnrolled:f,isAssociatingPaymentMethod:x=!1}=e,{handleOpenSelectPaymentMethod:g}=(0,a.j)();return x?(0,n.jsx)("div",{className:"flex min-h-[400px] w-full items-center justify-center",children:(0,n.jsx)(s.k,{width:50,height:50})}):(0,n.jsxs)(n.Fragment,{children:["summary"===t&&(0,n.jsx)(d.Guarantee,{redirect:()=>r("enroll"),showDay:l||"",politicInfo:o,timerOnClick:i,goBack:()=>{m(v.b.USER_MY_BOOKINGS_DETAIL(c,u))}}),"enroll"===t&&(0,n.jsx)(h,{handleNextStep:e=>{if(g(!1),null==e?void 0:e.id)return void f(e.id);r("summary")},customGoBack:()=>r("summary"),timerOnClick:i})]})},M=()=>{let{token:e,temporaryToken:t}=(0,p.A)(),{query:r,push:d,prefetch:c,locale:u}=(0,o.useRouter)(),m=(0,f.useQueryClient)(),[h,E]=(0,l.useState)("summary"),{formattedFormDate:L,selectedSectorAlias:O,quantity:M,showDay:N,politicInfo:R,policy:I,state:B,partnerInfoForCommunication:T,partnerInfo:D,loadingPartnerInfoForCommunication:F,shiftOptionals:G,alreadyExistingReservationOptionals:W,additionalProducts:Z,modalityData:P}=(0,i.f)({compressPolitics:!1}),{t:U}=(0,y.Bd)(),[z,V]=(0,l.useState)({start:!1,color:""}),[Y,K]=(0,l.useState)(!1),[Q,H]=(0,l.useState)(!1),X=(0,l.useRef)(void 0),q=(0,l.useRef)(void 0),J=!!(null==I?void 0:I.card),$=U("enrollment:".concat(J?I.type===C.eC.Deposit?"paymentMethodAlreadyExists.deposit":"paymentMethodAlreadyExists.guarantee":""),{returnObjects:!0}),ee=null==r?void 0:r.bookingId,et=null==r?void 0:r.partnerId,er=(0,l.useCallback)(()=>H(!0),[]);(0,l.useEffect)(()=>()=>{X.current&&clearTimeout(X.current),q.current&&window.removeEventListener(j.rl,q.current)},[]),(0,l.useEffect)(()=>{var e;ee&&et&&(null==c||null==(e=c(v.b.USER_MY_BOOKINGS_DETAIL(ee,et)))||e.catch(()=>{}))},[ee,et,c]);let{mutate:en,isLoading:el}=(0,f.useMutation)(["update-payment-method"],x.zA,{onSuccess(){K(!0);let r=()=>{X.current&&clearTimeout(X.current),window.removeEventListener(j.rl,r),q.current=void 0,d({pathname:v.b.USER_MY_BOOKINGS_DETAIL(ee,(null==D?void 0:D.id)||et),query:{...t&&{token:t}}})};q.current=r,window.addEventListener(j.rl,r,{once:!0}),X.current=setTimeout(r,2500),V({start:!0,color:B===C.X9.Created?"#FCBF49":"#35C18F"}),Promise.all([m.invalidateQueries(["get-standard-booking-info",ee,e]),m.invalidateQueries(["get-booking-extra-info",e,ee,u])]).then(()=>Promise.all([m.fetchQuery(["get-standard-booking-info",ee,e],()=>(0,w.U6)({bookingId:ee,token:e,locale:u||"es"}),{staleTime:15e3,retry:2,retryDelay:250}),m.fetchQuery(["get-booking-extra-info",e,ee,u],()=>(0,g.gd)({ids:ee,token:e,locale:u||"es"}),{staleTime:15e3,retry:2,retryDelay:250})])).catch(()=>{})},onError(){K(!1),H(!1)}});return D?et&&ee?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.X,{handleNext:t=>{if(!t)return void E("enroll");en({bookingId:ee,paymentMethodId:t,token:e})},redirect:()=>{"summary"===h?E("enroll"):E("summary")},updateForm:()=>{},formPaymentMethodId:"",date:N||"",enabled:!0,children:(0,n.jsx)(A,{state:B,partnerInfoForCommunication:T,partnerInfo:D,handleOpenAnchoitaShare:()=>{},partnerId:et,isSectorFlexible:!1,isTimeFlexible:!1,loadingPartnerInfoForCommunication:F,summaryDate:L,summaryQuantity:M||4,summarySector:O,shiftOptionals:G,summaryOptionals:W||{},bookingAdditionalProducts:Z,bookingModality:P,children:(0,n.jsx)(S,{show:h,setShow:E,showDay:N||"",politicInfo:R,timerOnClick:()=>{d(v.b.USER_MY_BOOKINGS_DETAIL(ee,et))},bookingId:ee,partnerId:et,push:d,onPaymentMethodEnrolled:t=>{en({bookingId:ee,paymentMethodId:t,token:e})},isAssociatingPaymentMethod:el||Y})})}),Q&&(0,n.jsx)("div",{className:"pointer-events-auto fixed inset-0 z-[2147482999]",style:{backgroundColor:z.color},"aria-hidden":!0}),(0,n.jsx)(k.A,{color:z.color,show:z.start,onAnimationEnd:er}),(0,n.jsx)(b.A,{isOpen:!!(null==I?void 0:I.card)&&!Y&&!z.start,closeModal:()=>d({pathname:v.b.USER_MY_BOOKINGS_DETAIL(ee,(null==D?void 0:D.id)||et),query:{...t&&{token:t}}}),title:$.title,text:$.description,buttonText:$.button,onContinue:()=>d({pathname:v.b.USER_MY_BOOKINGS_DETAIL(ee,(null==D?void 0:D.id)||et),query:{...t&&{token:t}}})})]}):(0,n.jsx)(_.default,{}):(0,n.jsx)(s.k,{})}},98319:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>d,default:()=>c});var n=r(23798),l=r(13775);r(21462);var o=r(89478),a=r(20635),i=r(81605),s=r(81533),d=!0;let c=()=>{let{push:e}=(0,l.useRouter)();return(0,n.jsx)(a.A,{title:"common:resultsNotFound",subtitle:"common:resultsNotFoundDescription",image:o.V$,action:{icon:(0,n.jsx)(i.J,{}),text:"marketplace:explore",onClick:()=>{e(s.b.HOME)}}})}}},e=>{e.O(0,[4629,9748,4610,2549,329,4455,8988,4026,8532,2651,5451,3700,4125,5107,636,6593,8792],()=>e(e.s=91160)),_N_E=e.O()}]);

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.