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]="f2fc8b12-b0b3-4020-9367-10993e4bcf95",e._sentryDebugIdIdentifier="sentry-dbid-f2fc8b12-b0b3-4020-9367-10993e4bcf95")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2429],{98193:function(e,t,n){n.d(t,{AppProductHooksInitializer:function(){return j}});var r=n(78712),i=n(18103),a=n(7653),o=n(70089),u=n(26066),c=n(27479),s=n(6417),d=n(97410);let l=()=>{let{resolveRender:e}=(0,d.s)(),{data:t}=(0,c.bT)(void 0,{skip:!e}),n=(null==t?void 0:t.user)||null;(0,a.useEffect)(()=>{try{if(n){window.dataLayer||(window.dataLayer=[]),window.dataLayer.push({event:"ga4_custom_event",event_name:"set_user_id",UID:n.id,account_created_at:n.createdAt});let e=u.Z.get(s.DL)||"";!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{siteId:n,orgId:r}=t;if(!n||!r||!window)return;window._cio=[];let i=function(e){return function(){window._cio.push([e].concat(Array.prototype.slice.call(arguments,0)))}},a=["load","identify","sidentify","track","page"];for(let e=0;e<a.length;e++)window._cio[a[e]]=i(a[e]);if(!document)return;let o=document.createElement("script"),u=document.getElementsByTagName("script")[0];o.async=!0,o.id="cio-tracker",o.setAttribute("data-site-id",n),o.setAttribute("data-use-array-params","true"),o.setAttribute("data-in-app-org-id",r),o.setAttribute("data-use-in-app","true"),o.src="https://assets.customer.io/assets/track-eu.js",null===(e=u.parentNode)||void 0===e||e.insertBefore(o,u)}({siteId:"524c7be3b0c2cb93cbfa",orgId:"0eef4dcb-731f-4513-84dc-dc37a824513"}),window._cio.identify({id:n.id,"geo:country":e,lang:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})}(0,o.av)({id:null==n?void 0:n.id})}catch(e){(0,o.Tb)(e)}},[n])};var f=n(32289),_=n(3196),v=n(43392);let m=()=>{(0,a.useEffect)(()=>{if(!(0,_.s)()){let e=new URLSearchParams(window.location.search);v.K.init(e)}},[])};var p=n(83627);let g="signup_confirmed";var h=function(){let{resolveRender:e}=(0,d.s)(),{data:t,isSuccess:n}=(0,c.bT)(void 0,{skip:!e}),r=(0,f.t)();(0,a.useEffect)(()=>{try{var e;let i=new URL(window.location.href),a=null===(e=i.searchParams)||void 0===e?void 0:e.get(g),o=null==t?void 0:t.user;"1"===a&&o&&n&&(0,p.u2)({userId:o.id,createdAt:o.createdAt}),a&&n&&(i.searchParams.delete(g),r.replace(i.toString()))}catch(e){(0,o.Tb)(e)}},[null==t?void 0:t.user,n])},w=n(85495);let b=new(n(54123)).UniversalStorage({cookieDomain:(0,w.ZE)("COOKIE_DOMAIN"),onError:o.Tb}),y=(0,n(99163).Xw)(e=>({event:"universal_storage_data_setting",universal_storage_data:JSON.stringify(e)})),E=()=>{(0,a.useEffect)(()=>{let e=b.getItemWithTimestamp("test_device_id"),t=b.getItem("AB_test_storage");if(null!==e){let[n,r]=e;y({test_device_id:n,test_device_id_tmstp:r,AB_test_storage:t})}},[])};var k=n(79239);let I=e=>{let t=(0,f.t)(),{isVipUser:n}=(0,k.Z)();(0,a.useEffect)(()=>{try{"/"===e&&n&&t.replace("/vip")}catch(e){(0,o.Tb)(e)}},[n,e,t])},j=()=>{let e=(0,f.j)();return(0,r.My)(),(0,i.yO)(e),E(),h(),l(),I(e),m(),null}},24567:function(e,t,n){n.d(t,{PreloadResources:function(){return i}});var r=n(3458);function i(e){let{preload:t,preconnect:n,prefetchDNS:i}=e;return r.preload(t,{as:"script"}),r.preconnect(n),r.prefetchDNS(i),null}},27479:function(e,t,n){n.d(t,{H4:function(){return d},aC:function(){return o},bT:function(){return s}});var r=n(49018),i=n(22155);let a=i.a.injectEndpoints({endpoints:e=>({anonUpgrade:e.mutation({query:e=>{let{email:t,subscribed:n,referredBy:r}=e;return{url:(0,i.J)("/v1/auth/anon/upgrade","bff"),method:"POST",body:{email:t,subscribed:n,...r?{referredBy:r}:{}}}},transformErrorResponse:e=>null==e?void 0:e.data})})}),{useAuth:o,useLogoutMutation:u,useLazyUserQuery:c,useUserQuery:s}=(0,r.createUserApi)(i.a),{useAnonUpgradeMutation:d}=a},79239:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(26066),i=n(27479);function a(){var e,t;let n=(0,i.bT)();return{isVipUser:(null==n?void 0:null===(t=n.data)||void 0===t?void 0:null===(e=t.user)||void 0===e?void 0:e.highWealth)||"1"===r.Z.get("SYSTEM_VIP_TEST_USER")||!1,query:n}}},83627:function(e,t,n){n.d(t,{Bj:function(){return d},Hc:function(){return u},JG:function(){return o},Zf:function(){return v},hO:function(){return c},il:function(){return a},n2:function(){return i},on:function(){return l},sQ:function(){return s},u2:function(){return f},xC:function(){return _}});var r=n(99163);let i=(0,r.Xw)(e=>{let{txType:t,amountFrom:n="",amountTo:i="",currencyFrom:a="",currencyTo:o="",estimationId:u="",selectedProvider:c="",availableProviders:s=[],bestRateProvider:d="",providersLabels:l={},promocode:f="",responseTime:_}=e;return{event:r.gC,event_name:"processing_estimate",tx_type:t,currency_from:a,currency_to:o,amount_from:n,amount_to:i,applied_promocode:f,estimationId:u,provider:c,available_providers:s.join(","),best_rate_provider:d,providers_tags:l?JSON.stringify(l):"",response_time:_}}),a=(0,r.Xw)(e=>{let{txType:t,currencyFrom:n,currencyTo:i,amountTo:a,amountFrom:o,selectedProvider:u="",error:c}=e;return{event:r.gC,event_name:"processing_estimate_error",tx_type:t,currency_from:n,currency_to:i,amount_from:o,amount_to:a,provider:u,available_providers:"",best_rate_provider:"",providers_tags:"",error:c}}),o=(0,r.Xw)(e=>{let{type:t}=e;return{event:r.gC,event_name:"processing_view_modal",type:t}}),u=(0,r.Xw)(e=>{let{type:t}=e;return{event:r.gC,event_name:"tx_copy_element",type:t}}),c=(0,r.Xw)(e=>{let{type:t}=e;return{event:r.gC,event_name:"tx_feedback_rate",type:t}}),s=(0,r.Xw)({event:r.gC,event_name:"tx_feedback_send_tags"}),d=(0,r.Xw)({event:r.gC,event_name:"tx_feedback_close"}),l=(0,r.Xw)({event:r.gC,event_name:"tx_click_open_modal",type:"feedback"}),f=(0,r.Xw)(e=>{let{userId:t,createdAt:n}=e;return{event:r.gC,event_name:"auth_success",UID:t,account_created_at:n}}),_=(0,r.Xw)(e=>({event:r.gC,event_name:"auth_signup_send_request",type:"exchanging",email_subscription:e})),v=(0,r.Xw)(()=>({event:r.gC,event_name:"tx_click_receive_notifications"}))},6417:function(e,t,n){n.d(t,{DL:function(){return i},K$:function(){return d},Oe:function(){return l},WL:function(){return o},di:function(){return u},h9:function(){return s},jD:function(){return a},tD:function(){return c}});var r=n(85495);let i="ipcountry",a="atrid",o={expires:30,domain:(0,r.ZE)("COOKIE_DOMAIN")},u="subscribe-banner",c="disable",s="enabled",d="success",l="ref_promo_id"},3196:function(e,t,n){n.d(t,{s:function(){return r}});let r=()=>!1},47724:function(e,t,n){n.r(t),n.d(t,{ErrorBoundary:function(){return o}});var r=n(7653),i=n(70089);let a=["layout","calculator"];class o extends r.Component{static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{tags:t,context:n}=this.props,r="string"==typeof(null==t?void 0:t.scope)&&a.includes(t.scope);t&&(0,i.mG)(t),n&&(0,i.v)("Error Boundary",n),(0,i.Tb)(e||"Unknown Error",{level:r?"fatal":"error"})}render(){let{state:e,props:t}=this;return e.hasError?t.fallback||null:t.children}constructor(e){super(e),this.state={hasError:!1}}}},97118:function(e,t,n){n.d(t,{default:function(){return a}});var r=n(27573),i=n(47724);function a(e){return function(t){return(0,r.jsx)(i.ErrorBoundary,{children:(0,r.jsx)(e,{...t})})}}},78712:function(e,t,n){n.d(t,{VE:function(){return d},uT:function(){return f},Tm:function(){return m},My:function(){return v}});var r=n(7653),i=n(81695),a=n(26066),o=n(85495),u=n(18103);let c=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,s=(e,t)=>{let{cookieName:n,variants:r,cookieExpiresInDays:i=30}=t,a=r.reduce((e,t)=>
1e+t.weight,0);if(a>100)throw Error('Total weight for A/B test "'.concat(n,'" exceeds 100% (').concat(a,"%). Check your configuration."));let u={secure:!0,sameSite:"None",domain:(0,o.ZE)("COOKIE_DOMAIN"),expires:new Date(Date.now()+864e5*i)},s=e.get(n),d=r.map(e=>e.name);if(!s||!d.includes(s)){let t=c(0,99),i=0,a=r[0].name;for(let e of r)if(t<(i+=e.weight)){a=e.name;break}e.set(n,a,u)}},d="ab_lead_magnet",l=e=>s(e,{cookieName:d,cookieExpiresInDays:30,variants:[{name:"default",weight:50},{name:"new",weight:50}]}),f="SmartRouting3_1_ABvariant",_=e=>s(e,{cookieName:f,cookieExpiresInDays:90,variants:[{name:"new",weight:80},{name:"default",weight:20}]}),v=()=>{let e=(0,i.usePathname)();(0,r.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=(0,o.ZE)("COOKIE_DOMAIN");(0,u.kX)(e,{cookieDomain:t}),l(a.Z),_(a.Z)},[e])},m=e=>{let[t,n]=(0,r.useState)("default"),[i,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=a.Z.get(e),r="new"===t;(r||"default"===t)&&n(r?"new":"default"),o(!0)},[]),{variant:t,isReady:i}}},1882:function(e,t,n){n.r(t),n.d(t,{InitAnalytics:function(){return u}});var r=n(27573),i=n(7653),a=n(27522);let o=()=>(0,r.jsx)(a.default,{strategy:"lazyOnload",children:"\n
vendor: 110 bytes, line 1
1 (function(h,o,t,j,a,r){h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};h._hjSettings={hjid:
12540120
vendor: 216 bytes, line 1
1,hjsv:6};a=o.getElementsByTagName('head')[0];r=o.createElement('script');r.async=1;r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;a.appendChild(r);})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
1\n "}),u=()=>{let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=setTimeout(()=>{t(!0)},5e3);return()=>clearTimeout(e)},[]),e?(0,r.jsx)(o,{}):null}}}]);
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.