1try{!function(){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]="67ae1007-11ee-4870-b0fa-fba8cd863991",e._sentryDebugIdIdentifier="sentry-dbid-67ae1007-11ee-4870-b0fa-fba8cd863991")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6745],{2260:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/cc-consult",function(){return n(97187)}])},4241:(e,t,n)=>{"use strict";function r(e){return(r="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})(e)}n.d(t,{c:()=>b});var o,i="dahlia",s="https://js.stripe.com",a="".concat(s,"/").concat(i,"/stripe.js"),u=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,c=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,l=function(){for(var e=document.querySelectorAll('script[src^="'.concat(s,'"]')),t=0;t<e.length;t++){var n,r=e[t];if(n=r.src,u.test(n)||c.test(n))return r}return null},d=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(a).concat(t);var r=document.head||document.body;if(!r)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n},p=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"9.7.0",startTime:t})},f=null,m=null,h=null,y=function(e,t,n){if(null===e)return null;var o,s=t[0];if("string"!=typeof s)throw Error("Expected publishable key to be of type string, got type ".concat(r(s)," instead."));var a=s.match(/^pk_test/),u=3===(o=e.version)?"v3":o;a&&u!==i&&console.warn("Stripe.js@".concat(u," was loaded on the page, but @stripe/stripe-js@").concat("9.7.0"," expected Stripe.js@").concat(i,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var c=e.apply(void 0,t);return p(c,n),c},g=!1,v=function(){return o?o:o=(null!==f?f:(f=new Promise(function(e,t){if("undefined"==typeof window||"undefined"==typeof document)return void e(null);if(window.Stripe,window.Stripe)return void e(window.Stripe);try{var n,r=l();r?r&&null!==h&&null!==m&&(r.removeEventListener("load",h),r.removeEventListener("error",m),null==(n=r.parentNode)||n.removeChild(r),r=d(null)):r=d(null),h=function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))},m=function(e){t(Error("Failed to load Stripe.js",{cause:e}))},r.addEventListener("load",h),r.addEventListener("error",m)}catch(e){t(e);return}})).catch(function(e){return f=null,Promise.reject(e)})).catch(function(e){return o=null,Promise.reject(e)})};Promise.resolve().then(function(){return v()}).catch(function(e){g||console.warn(e)});var b=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];g=!0;var r=Date.now();return v().then(function(e){return y(e,t,r)})}},8345:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(14232),o=n(32468);function i(e){var t=(0,r.useContext)(o.Ay);if(!t)throw Error("Missing <CookiesProvider>");var n=t.getAll(),i=(0,r.useState)(n),s=i[0],a=i[1],u=(0,r.useRef)(s);return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement&&(0,r.useLayoutEffect)(function(){function n(){var n=t.getAll();(function(e,t,n){if(!e)return!0;for(var r=0;r<e.length;r++){var o=e[r];if(t[o]!==n[o])return!0}return!1})(e||null,n,u.current)&&a(n),u.current=n}return t.addChangeListener(n),function(){t.removeChangeListener(n)}},[t]),[s,(0,r.useMemo)(function(){return t.set.bind(t)},[t]),(0,r.useMemo)(function(){return t.remove.bind(t)},[t])]}},44717:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(14232),o=n(23520),i=n.n(o),s=n(32468),a=function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};
1function l(e){var t=e.displayName||e.name,n=function(n){function o(){var e=null!==n&&n.apply(this,arguments)||this;return e.onChange=function(){e.forceUpdate()},e}return a(o,n),o.prototype.listen=function(){this.props.cookies.addChangeListener(this.onChange)},o.prototype.unlisten=function(e){(e||this.props.cookies).removeChangeListener(this.onChange)},o.prototype.componentDidMount=function(){this.listen()},o.prototype.componentDidUpdate=function(e){e.cookies!==this.props.cookies&&(this.unlisten(e.cookies),this.listen())},o.prototype.componentWillUnmount=function(){this.unlisten()},o.prototype.render=function(){var t=this.props,n=t.forwardedRef,o=t.cookies,i=c(t,["forwardedRef","cookies"]),s=o.getAll();return r.createElement(e,u({},i,{ref:n,cookies:o,allCookies:s}))},o.displayName="withCookies("+t+")",o.WrappedComponent=e,o}(r.Component),o=r.forwardRef(function(e,t){return r.createElement(s.ZC,null,function(o){return r.createElement(n,u({cookies:o},e,{forwardedRef:t}))})});return o.displayName=n.displayName,o.WrappedComponent=n.WrappedComponent,i()(o,e)}},63853:(e,t,n)=>{"use strict";n.d(t,{YQ:()=>o,d7:()=>a});var r=n(14232);function o(e,t,n){var o=this,i=(0,r.useRef)(null),s=(0,r.useRef)(0),a=(0,r.useRef)(null),u=(0,r.useRef)([]),c=(0,r.useRef)(),l=(0,r.useRef)(),d=(0,r.useRef)(e),p=(0,r.useRef)(!0);(0,r.useEffect)(function(){d.current=e},[e]);var f=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");t=+t||0;var m=!!(n=n||{}).leading,h=!("trailing"in n)||!!n.trailing,y="maxWait"in n,g=y?Math.max(+n.maxWait||0,t):null;return(0,r.useEffect)(function(){return p.current=!0,function(){p.current=!1}},[]),(0,r.useMemo)(function(){var e=function(e){var t=u.current,n=c.current;return u.current=c.current=null,s.current=e,l.current=d.current.apply(n,t)},n=function(e,t){f&&cancelAnimationFrame(a.current),a.current=f?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!p.current)return!1;var n=e-i.current;return!i.current||n>=t||n<0||y&&e-s.current>=g},v=function(t){return a.current=null,h&&u.current?e(t):(u.current=c.current=null,l.current)},b=function e(){var o=Date.now();if(r(o))return v(o);if(p.current){var a=t-(o-i.current);n(e,y?Math.min(a,g-(o-s.current)):a)}},w=function(){var d=Date.now(),f=r(d);if(u.current=[].slice.call(arguments),c.current=o,i.current=d,f){if(!a.current&&p.current)return s.current=i.current,n(b,t),m?e(i.current):l.current;if(y)return n(b,t),e(i.current)}return a.current||n(b,t),l.current};return w.cancel=function(){a.current&&(f?cancelAnimationFrame(a.current):clearTimeout(a.current)),s.current=0,u.current=i.current=c.current=a.current=null},w.isPending=function(){return!!a.current},w.flush=function(){return a.current?v(Date.now()):l.current},w},[m,y,t,g,h,f])}function i(e,t){return e===t}function s(e){return"function"==typeof e?function(){return e}:e}function a(e,t,n){var a,u,c=n&&n.equalityFn||i,l=(u=(a=(0,r.useState)(s(e)))[1],[a[0],(0,r.useCallback)(function(e){return u(s(e))},[])]),d=l[0],p=l[1],f=o((0,r.useCallback)(function(e){return p(e)},[p]),t,n),m=(0,r.useRef)(e);return c(m.current,e)||(f(e),m.current=e),[d,f]}},97187:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CcConsultPage:()=>_,__N_SSP:()=>S,default:()=>P});var r=n(37876),o=n(14232),i=n(91703),s=n(43152),a=n(14663);let u={src:"https://frontend-assets.point.me/prod/760b5a6/default/_next/static/media/consult-yellow-tube.4d068760.png",height:1155,width:1732,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAS1BMVEUBkbT8yRX/1imnyHps0uJY0uTHkEBjzt110dwLscsDg6siuM88yNoAgKcLeZgKo8FQprKbpo2YoD9RiYbJj1p6zr2VokmVwsDdp3y04p6MAAAACXBIWXMAAC65AAAuuQFP9mjDAAAAM0lEQVR4nAXBCQLAEAwAwSVI0NbRg/+/tDOI8zv5r6HinjQvsPCO+yygFleHTNBomuvxAyDpAXBcmvhfAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5};var c=n(54587),l=n.n(c),d=n(99616),p=n(91408),f=n(35398),m=n(70262);let h=p.Ik().shape({...f.nB});function y(e){var t,n,o,s,a;let{stripeProduct:u,afterFormSubmit:c,successUrl:l}=e,d=(0,i.kH)(e=>e.user),p={...(0,f.r5)(d),contact:{sms_consent:!0},deal:{dealname:"".concat((null==d||null==(t=d.me)?void 0:t.display_name)||(null==d||null==(n=d.me)?void 0:n.email),"'s Credit Card Request"),dealtype:"Credit Card Consultation",deal_pid:(null==d||null==(s=d.me)||null==(o=s.affiliateId)?void 0:o.match(/^[0-9]+$/))!=null?null==d||null==(a=d.me)?void 0:a.affiliateId:""}};return(0,r.jsxs)("div",{className:"p-6 border border-gray5 rounded-lg",children:[(0,r.jsx)("h2",{className:"pb-4 sm:pb-6",children:"Submit a consultation request"}),(0,r.jsx)(m.A,{initialValues:p,validationSchema:h,stripeProduct:u,afterFormSubmit:c,successUrl:l,authorizeOnly:!1,renderForm:()=>{var e,t;
1return(0,r.jsx)(f.Ay,{showNameFields:!((null==d||null==(e=d.me)?void 0:e.first_name)&&(null==d||null==(t=d.me)?void 0:t.last_name))})}})]})}var g=n(61422);function v(e){let{list:t}=e,n=null==t?void 0:t.steps;return(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"my-3 md:text-lg",children:(0,r.jsx)("b",{children:null==t?void 0:t.heading})}),(0,r.jsx)("ol",{className:"list-decimal pl-6",children:n&&n.map(e=>(0,r.jsxs)("li",{className:"my-3 md:text-lg",children:[e.boldContent&&(0,r.jsx)("span",{className:"font-bold",children:e.boldContent}),e.content]},e.key))})]})}var b=n(14e3),w=n(83087),A=n(92558),j=n(7873),x=n(49952);let C=[{key:"consultPageParaOne",content:"Get a personalized approach to earning points that works for you and your budget."},{key:"consultPageParaTwo",content:"With point.me, your goals and spending comfort are in the driverâs seat. Our points specialists have years of expertise in helping all kinds of customers earn the points they need to achieve their travel dreams. Weâll help you design a strategy and action plan that ensures you accrue the optimal points for your unique spending habits and goals."}],k={heading:"Discover the personalized strategies our experienced concierge team can craft for you:",bulletPoints:[{key:"conciergeFormBulletOne",boldContent:"Earn the right miles and points: ",content:"Wondering how to align your points with your travel goals? Let us create a strategy that ensures you accumulate the perfect miles and points for your dream journeys."},{key:"conciergeFormBulletTwo",boldContent:"Optimize spending for maximum points: ",content:"Unlock the secrets to maximizing your point earnings through strategic spending. We'll guide you on how to get the most out of every purchase."},{key:"conciergeFormBulletThree",boldContent:"Choose the right credit cards: ",content:"Confused about which credit cards suit your spending patterns and travel objectives? Our experts will curate a list of cards that align perfectly with your needs."}]},E={heading:"How it works:",steps:[{key:"conciergeFormHowItWorksBulletOne",boldContent:"Submit the form and payment. ",content:"Simply enter your information, and we'll send you a survey to match you with the best team member for your situation."},{key:"conciergeFormHowItWorksBulletTwo",boldContent:"Fill out the questionnaire. ",content:"Once we receive your submission, we'll schedule a convenient day and time for your 30-minute consultation"},{key:"conciergeFormHowItWorksBulletThree",boldContent:"Meet with your points advisor and get ready to start earning. ",content:"After your appointment, you will receive a personalized action plan to follow to hit your goals. Weâll follow up with you to help make sure you stay on track."}]};var S=!0;let _=e=>{let{stripeProduct:t}=e,n=(0,i.kH)(e=>e.user),[c,p]=(0,o.useState)(!1),f=(0,o.useRef)(null),m=(0,b.useSearchParams)();(0,g.A)(n);let h=(0,o.useCallback)(()=>{let e=document.createElement("script");e.id="df-script",e.src="https://widgets.depositfix.com/v1/app.min.js",e.async=!0,document.body.appendChild(e)},[]);(0,o.useEffect)(()=>{c?(()=>{let e=document.createElement("script");e.src="https://js.hsforms.net/forms/v2.js",document.body.appendChild(e),e.addEventListener("load",()=>{window.hbspt&&window.hbspt.forms.create({region:"na1",portalId:"4846411",formId:"de1cba29-530e-4b72-a6f1-2f71c1bd6fab",target:"#hubspotForm"})})})():h()},[h,c]);let A=()=>{p(!0),f.current&&f.current.scrollIntoView()};return(0,o.useEffect)(()=>{(null==m?void 0:m.get("formSubmitted"))&&A()},[m]),(0,r.jsx)("div",{className:"bg-white",children:(0,r.jsxs)("div",{className:"w-auto inline-block",children:[(0,r.jsx)(w.A,{headerPre:"Ready to elevate your ",headerHighlight:"points",headerPost:" game?",breakBeforeHilight:!0}),(0,r.jsx)("div",{className:"maxWidthXLargePage pt-20 pb-10",ref:f,children:(0,r.jsx)("div",{id:"conciergeForm",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-12 lg:grid-cols-12 gap-6",children:[(0,r.jsxs)("div",{className:"col-span-5",children:[(0,r.jsxs)("div",{children:[C&&C.map(e=>(0,r.jsx)("div",{className:"my-3 md:text-lg",children:e.content},e.key)),(0,r.jsx)(a.A,{bullets:k}),(0,r.jsx)(v,{list:E}),(0,r.jsx)("p",{className:"text-primary-600 md:text-lg italic py-6",children:"*Points strategy consultations are billed at $200 per person and will be charged when this form is submitted."})]}),(0,r.jsx)(l(),{src:u,alt:"consult-yellow-tube"})," "]}),c?(0,r.jsxs)("div",{className:"col-span-7 hbspt-form p-6 border border-gray5 rounded-lg",children:[(0,r.jsx)("h2",{className:"pb-4 sm:pb-6",children:"Points Strategy Questionnaire "}),(0,r.jsx)("div",{id:"hubspotForm","data-testid":"hubspotForm"})]}):(0,r.jsx)("div",{className:"col-span-7",children:(0,r.jsx)(d.Ay,{stripeProduct:t,signUpCallback:"/cc-consult",authorizeOnly:!1,children:(0,r.jsx)(y,{stripeProduct:t,afterFormSubmit:A,successUrl:"/cc-consult?formSubmitted=true"})})})]})})}),(0,r.jsx)(s.A,{})]})})},P=(0,A.Z)((0,j.A)(_,x.Bd.ccConsult),{pageTitle:"Points Travel and Credit Card Consulting | Earn More Miles",pageDescription:"Meet with a point.me award travel expert to get a personalized plan to earn the miles you need to reach your travel goals."})}},e=>{e.O(0,[6701,9311,8230,4587,7666,4205,2451,3105,4342,9742,4e3,440,878,1446,754,1203,1905,6197,9481,636,6593,8792],()=>e(e.s=2260)),_N_E=e.O()}]); 2//# sourceMappingURL=cc-consult-8872a576f608e58f.js.map
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.