1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="8021415d-b940-4eec-ac04-1c89c827d604",t._sentryDebugIdIdentifier="sentry-dbid-8021415d-b940-4eec-ac04-1c89c827d604")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28],{28:(t,e,n)=>{n.r(e),n.d(e,{CancellationWinbackModal:()=>d});var s=n(95155),i=n(12115),a=n(17652),c=n(99044),l=n(55427),r=n(43700);function d(t){let{tripId:e,onClose:n}=t,d=(0,a.c)("chat.cancellationWinback"),o="https://travelvibes.ai/trips/".concat(e),[u,h]=(0,i.useState)(null);(0,i.useEffect)(()=>{(0,l.captureEvent)(r.events.subscription.cancellationWinbackShown,{trip_id:e,trip_url:o})},[e,o]);let b=t=>{(0,l.captureEvent)(r.events.subscription.cancellationWinbackResponded,{trip_id:e,trip_url:o,sentiment:t}),h(t)},x=()=>{(0,l.captureEvent)(r.events.subscription.cancellationWinbackDismissed,{trip_id:e,trip_url:o,sentiment:null!=u?u:void 0,step:u?"offer":"intro"}),n()};return(0,s.jsxs)(c.E,{onClose:x,maxWidth:"md",padding:"p-8",zIndex:"z-[9999999]",children:[(0,s.jsxs)("div",{className:"mb-5 flex flex-col items-center",children:[(0,s.jsx)("h2",{className:"mb-4 text-center text-2xl font-bold text-(--tt-theme-text)",children:d(null===u?"headline":"unsatisfied"===u?"unsatisfiedHeadline":"satisfiedHeadline")}),(0,s.jsx)("img",{src:"/eugene-founder.png",alt:d("founderAlt"),width:96,height:96,fetchPriority:"high",className:"mb-2 h-24 w-24 rounded-full object-cover"}),(0,s.jsx)("p",{className:"text-center text-xs italic text-(--tt-gray-light-600) dark:text-(--tt-gray-dark-400)",children:d("founderName")})]}),null===u?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"mb-6 text-center text-sm text-(--tt-theme-text) leading-relaxed",children:d("question")}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("button",{onClick:()=>b("unsatisfied"),className:"tv-button tv-button--primary tv-button--lg tv-button--full-width tv-button--centered",children:(0,s.jsx)("span",{className:"tv-button__chrome",children:(0,s.jsx)("span",{className:"tv-button__content",children:d("choiceUnsatisfied")})})}),(0,s.jsx)("button",{onClick:()=>b("satisfied"),className:"tv-button tv-button--primary tv-button--lg tv-button--full-width tv-button--centered",children:(0,s.jsx)("span",{className:"tv-button__chrome",children:(0,s.jsx)("span",{className:"tv-button__content",children:d("choiceSatisfied")})})})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"mb-6 text-sm text-(--tt-theme-text) leading-relaxed",children:d.rich("unsatisfied"===u?"unsatisfiedBody":"satisfiedBody",{strong:t=>(0,s.jsx)("strong",{children:t}),nobr:t=>(0,s.jsx)("span",{className:"whitespace-nowrap",children:t})})}),(0,s.jsx)("a",{href:"https://calendar.app.google/TtzHcrDWC8FdWvcL7",target:"_blank",rel:"noopener noreferrer",onClick:()=>{(0,l.captureEvent)(r.events.subscription.cancellationWinbackScheduleClicked,{trip_id:e,trip_url:o,sentiment:null!=u?u:void 0})},className:"tv-button tv-button--primary tv-button--lg tv-button--full-width tv-button--centered block text-center",children:(0,s.jsx)("span",{className:"tv-button__chrome",children:(0,s.jsx)("span",{className:"tv-button__content",children:d("cta")})})}),(0,s.jsx)("button",{onClick:x,className:"mt-3 w-full text-center text-sm text-(--tt-gray-light-500) dark:text-(--tt-gray-dark-400) hover:text-(--tt-theme-text) transition-colors",children:d("decline")})]})]})}}}]);
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.