PageSourceSearch

https://rajasidesai.com/dist/payment-pages.3e03fb4d55907100a04f.js

js rajasidesai.com collected 2026-09-29 11:07:48 UTC 37,289 bytes, 2 lines download raw bytes

1/*! For license information please see payment-pages.3e03fb4d55907100a04f.js.LICENSE.txt */
2"use strict";(self.webpackChunkfolio=self.webpackChunkfolio||[]).push([[3132],{89119(e,t,n){n.d(t,{A:()=>y});var i=n(20641),o=n(90033),a={class:"faq-container"},r={class:"faq-table"},s=["onClick"],l={class:"question-container"},c={class:"question"},u=["innerHTML"];const d={name:"Faq",components:{Icon:n(46335).A},data:function(){return{faqEntryOpened:null}},props:{faqEntries:{type:Array,default:[]}},methods:{toggleFaqEntry:function(e){this.faqEntryOpened===e?this.faqEntryOpened=null:this.faqEntryOpened=e}}};const y=(0,n(66262).A)(d,[["render",function(e,t,n,d,y,f){var p=(0,i.g2)("Icon");return(0,i.uX)(),(0,i.CE)("div",a,[(0,i.Lk)("div",r,[t[0]||(t[0]=(0,i.Lk)("div",{class:"faq-title"},"FAQs",-1)),((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(n.faqEntries,function(e,t){return(0,i.uX)(),(0,i.CE)("div",{class:"faq-entry",key:t,onClick:function(e){return f.toggleFaqEntry(t)}},[(0,i.Lk)("div",l,[(0,i.Lk)("div",c,(0,o.v_)(e.question),1),(0,i.Lk)("div",{class:(0,o.C4)(["down-button",{open:y.faqEntryOpened===t}])},[(0,i.bF)(p,{"icon-name":"down"})],2)]),(0,i.Lk)("div",{class:(0,o.C4)(["answer",{open:y.faqEntryOpened===t}])},[(0,i.Lk)("div",{innerHTML:e.answer},null,8,u)],2)],8,s)}),128))])])}]])},80636(e,t,n){n.r(t),n.d(t,{default:()=>a});var i=n(20641);const o={name:"PaymentCenter"};const a=(0,n(66262).A)(o,[["render",function(e,t,n,o,a,r){var s=(0,i.g2)("router-view");return(0,i.uX)(),(0,i.CE)("div",null,[(0,i.bF)(s)])}]])},16481(e,t,n){n.r(t),n.d(t,{default:()=>D});var i=n(20641);function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var r={class:"ufo-payment"},s={class:"grid"},l={class:"payment-secondary-auth"},c={class:"secondary-auth-container"},u={class:"shadow-container"};var d=n(51739),y=n(13510),f=n(76647);function p(e){return p="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},p(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=p(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==p(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(){var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,i,o,a){var l=i&&i.prototype instanceof s?i:s,c=Object.create(l.prototype);return g(c,"_invoke",function(n,i,o){var a,s,l,c=0,u=o||[],d=!1,y={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return a=t,s=0,l=e,y.n=n,r}};function f(n,i){for(s=n,l=i,t=0;!d&&c&&!o&&t<u.length;t++){var o,a=u[t],f=y.p,p=a[2];n>3?(o=p===i)&&(l=a[(s=a[4])?5:(s=3,3)],a[4]=a[5]=e):a[0]<=f&&((o=n<2&&f<a[1])?(s=0,y.v=i,y.n=a[1]):f<p&&(o=n<3||a[0]>i||i>p)&&(a[4]=n,a[5]=i,y.n=p,s=0))}if(o||n>1)return r;throw d=!0,i}return function(o,u,p){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,p),s=u,l=p;(t=s<2?e:l)||!d;){a||(s?s<3?(s>1&&(y.n=-1),f(s,l)):y.n=l:y.v=l);try{if(c=2,a){if(s||(o="next"),t=a[o]){if(!(t=t.call(a,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=a.return)&&t.call(a),s<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),s=1);a=e}else if((t=(d=y.n<0)?l:n.call(i,y))!==r)break}catch(t){a=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,o,a),!0),c}var r={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][i]?t(t([][i]())):(g(t={},i,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,g(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,g(d,"constructor",c),g(c,"constructor",l),l.displayName="GeneratorFunction",g(c,o,"GeneratorFunction"),g(d),g(d,o,"Generator"),g(d,i,function(){return this}),g(d,"toString",function(){return"[object Generator]"}),(b=function(){return{w:a,m:y}})()}function g(e,t,n,i){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}g=function(e,t,n,i){function a(t,n){g(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},g(e,t,n,i)}function k(e,t,n,i,o,a,r){try{var s=e[a](r),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,o)}function P(e){return function(){var t=this,n=arguments;return new Promise(function(i,o){var a=e.apply(t,n);function r(e){k(a,i,o,r,s,"next",e)}function s(e){k(a,i,o,r,s,"throw",e)}r(void 0)})}}const w={name:"PaymentSecondaryAuth",components:{Cta:n(5412).A},props:["subscriptionPlan","paymentIntentStatus","clientSecret","billingCycle"],mounted:function(){this.checkPayment()},methods:{checkPayment:function(){var e=this;return P(b().m(function t(){var n;return b().w(function(t){for(;;)switch(t.n){case 0:if("requires_action"!==history.state.paymentIntentStatus){t.n=6;break}return t.n=1,y._4.confirmCardPayment(history.state.clientSecret);case 1:if(!(n=t.v).error){t.n=3;break}return t.n=2,e.$router.push({path:"/home/payment/failure",state:{paymentType:d.B.SUBSCRIPTION,failureDetails:{title:"",message:n.error.message},errorType:n.error.code,billingCycle:history.state.billingCycle}});case 2:case 7:return t.a(2);case 3:return t.n=4,e.getUser();case 4:return t.n=5,e.$router.replace({path:"/home/payment/success",state:{successDetails:{paymentType:d.B.SUBSCRIPTION,subscriptionPlan:history.state.subscriptionPlan}}});case 5:t.n=7;break;case 6:return t.n=7,e.$router.replace({path:"/home/payment/success",state:{successDetails:{paymentType:d.B.SUBSCRIPTION,subscriptionPlan:""}}})}},t)}))()},getUser:function(){var e=this;return P(b().m(function t(){var n;return b().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,f.A.getMyUser();case 1:return n=t.v,e.$store.state.user=m(m({},n.data.user),{},{paymentMethods:n.data.userPaymentMethods}),t.n=2,e.getUserSettings();case 2:return t.a(2)}},t)}))()},getUserSettings:function(){var e=this;return P(b().m(function t(){var n;return b().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,f.A.getUserSettings(e.$store.state.user._id);case 1:n=t.v,e.$store.state.userSettings=n.data,e.$store.state.currentSubscriptionPlan=n.data.currentSubscriptionPlan;case 2:return t.a(2)}},t)}))()},handleRestart:function(){this.$router.push({path:"/home/payment",state:{subscriptionData:{billingCycle:history.state.billingCycle}}})}}};const D=(0,n(66262).A)(w,[["render",function(e,t,n,a,d,y){var f=(0,i.g2)("Cta");return(0,i.uX)(),(0,i.CE)("div",r,[(0,i.Lk)("div",s,[(0,i.Lk)("div",l,[(0,i.Lk)("div",c,[(0,i.Lk)("div",u,[t[1]||(t[1]=(0,i.Fv)('<div class="secondary-auth-header-container" data-v-1cf8eb7b><h1 class="ufo-payment--headline" data-v-1cf8eb7b>Additional authentication required</h1></div><div class="secondary-auth-summary-container" data-v-1cf8eb7b><div class="content-box" data-v-1cf8eb7b><p class="auth-details" data-v-1cf8eb7b>Please wait patiently for the bank authentication popup.</p><p class="auth-details" data-v-1cf8eb7b>If the popup does not appear, please restart the payment process.</p></div></div>',2)),(0,i.bF)(f,{type:"primary",onClick:y.handleRestart},{default:(0,i.k6)(function(){return o(t[0]||(t[0]=[(0,i.eW)("Retry payment process",-1)]))}),_:1},8,["onClick"])])])])])])}],["__scopeId","data-v-1cf8eb7b"]])},52002(e,t,n){n.d(t,{A:()=>A});var i=n(20641),o=n(90033),a={class:"summary"},r={class:"price-summary"},s={class:"price-value"}
2,l={class:"plan-details"},c={class:"plan-details"},u={key:0,class:"after-first-period"},d={class:"after-label"},y={class:"after-amount"},f={key:0,class:"discount"},p={class:"discount-description"},h={class:"discount-amount"},m={key:1,class:"discount"},v={class:"discount-description"},b={class:"discount-amount"},g={class:"total"},k={class:"total-label"},P={class:"total-price-value"};var w=n(51739),D=n(5412),C=n(46335),S=n(14831);const I={name:"PaymentSummary",components:{Icon:C.A,CtaButton:D.A},props:{selectedPlanData:{type:Object,default:{type:w.B,billingCycle:String,price:Number,promoCodeData:{type:[Object,void 0,null],default:{},required:!1},domainData:{type:[Object,void 0,null],default:{},required:!1},isUpgrade:{type:Boolean,value:!1},userWasfree:Boolean,creditUsed:Number}},isResult:{type:Boolean,default:!1}},data:function(){return{planName:"",billingCycleFrequency:"",price:"",PaymentPageTypeEnum:w.B}},mounted:function(){this.selectedPlanData&&this.setPageInfo()},watch:{selectedPlanData:{handler:function(){this.setPageInfo()}}},methods:{setPageInfo:function(){this.selectedPlanData.type===w.B.SUBSCRIPTION?(this.planName="".concat(this.selectedPlanData.billingCycle," subscription"),"yearly"===this.selectedPlanData.billingCycle?this.billingCycleFrequency="paid yearly":this.billingCycleFrequency="paid monthly",this.price="includes VAT"):this.productIsDomain&&this.selectedPlanData.domainData&&(this.planName=".".concat(this.selectedPlanData.domainData.domain.split(".")[1]," domain"),this.billingCycleFrequency="1 year subscription",this.price="costs $".concat(this.unitPrice," / year"))}},computed:{unitPrice:function(){return this.productIsDomain?(this.selectedPlanData.domainData.price/100).toString().replace(/\D/g,""):this.selectedPlanData.price},monthlyPrice:function(){return this.$store.state.userSettings.stripePrices.monthlyPrice.price},finalPrice:function(){return(0,S.W)({price:this.unitPrice,monthlyPrice:this.monthlyPrice,isUpgrade:this.selectedPlanData.isUpgrade,promoCodeData:this.selectedPlanData.promoCodeData})},discount:function(){return this.selectedPlanData.promoCodeData.amountOff?this.selectedPlanData.promoCodeData.amountOff/100:this.selectedPlanData.promoCodeData.percentOff?(this.unitPrice/100*this.selectedPlanData.promoCodeData.percentOff).toFixed(1):void 0},credit:function(){return this.userIsInvited?10:this.maxCredit},maxCredit:function(){var e=this.selectedPlanData.creditUsed?this.selectedPlanData.creditUsed:Math.abs(this.$store.state.userSettings.creditBalance),t=this.unitPrice;return this.selectedPlanData.type===w.B.SUBSCRIPTION&&(t=this.selectedPlanData.isUpgrade?this.selectedPlanData.price-this.monthlyPrice:this.selectedPlanData.price),e>t?t:e},nextBillingDateText:function(){var e=new Date;return"yearly"===this.selectedPlanData.billingCycle?e.setFullYear(e.getFullYear()+1):e.setMonth(e.getMonth()+1),e.toLocaleDateString()},showPromoBlock:function(){return!(this.selectedPlanData.isUpgrade||this.selectedPlanData.promoCodeData||this.credit||this.productIsDomain||this.isResult)},productIsDomain:function(){return this.selectedPlanData.type===w.B.DOMAIN}}};const A=(0,n(66262).A)(I,[["render",function(e,t,n,w,D,C){var S,I=(0,i.g2)("Icon");return(0,i.uX)(),(0,i.CE)("div",null,[(0,i.Lk)("div",a,[(0,i.Lk)("div",r,[(0,i.Lk)("div",{class:(0,o.C4)(["price-label",{domain:C.productIsDomain}])},(0,o.v_)(D.planName),3),(0,i.Lk)("div",s,"$"+(0,o.v_)(C.unitPrice),1)]),(0,i.Lk)("div",l,(0,o.v_)(D.billingCycleFrequency),1),(0,i.Lk)("div",c,(0,o.v_)("Renews on "+C.nextBillingDateText),1),n.selectedPlanData.isUpgrade||n.selectedPlanData&&n.selectedPlanData.promoCodeData?((0,i.uX)(),(0,i.CE)("div",u,[(0,i.Lk)("div",d,(0,o.v_)("After first ".concat("yearly"===(null===(S=n.selectedPlanData)||void 0===S?void 0:S.billingCycle)?"year":"month")),1),(0,i.Lk)("div",y,"$"+(0,o.v_)(C.unitPrice),1)])):(0,i.Q3)("v-if",!0)]),n.selectedPlanData.isUpgrade?((0,i.uX)(),(0,i.CE)("div",f,[(0,i.Lk)("div",p,[(0,i.bF)(I,{"icon-name":"discount"}),t[0]||(t[0]=(0,i.eW)(" For your ongoing monthly subscription ",-1))]),(0,i.Lk)("div",h,"- $"+(0,o.v_)(C.monthlyPrice),1)])):(0,i.Q3)("v-if",!0),n.selectedPlanData&&n.selectedPlanData.promoCodeData?((0,i.uX)(),(0,i.CE)("div",m,[(0,i.Lk)("div",v,[(0,i.bF)(I,{"icon-name":"discount"}),(0,i.eW)(" "+(0,o.v_)(n.selectedPlanData.promoCodeData.promoCode),1)]),(0,i.Lk)("div",b,"- $"+(0,o.v_)(C.discount),1)])):(0,i.Q3)("v-if",!0),(0,i.Lk)("div",g,[(0,i.Lk)("div",k,(0,o.v_)(n.isResult?"Total":"You'll pay now"),1),(0,i.Lk)("div",P,"$"+(0,o.v_)(C.finalPrice),1)])])}],["__scopeId","data-v-1224b804"]])},19442(e,t,n){n.r(t),n.d(t,{default:()=>c});var i=n(20641);function o(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var r={class:"ufo--container result-page"},s={class:"ufo-payment--message ufo-payment--message-deleted"};const l={name:"card-deleted",components:{Cta:n(5412).A}
2,mounted:function(){this.resetPageBackgroundColor()},unmounted:function(){document.querySelector("body").style.removeProperty("--background-fill-color")},methods:{handleRedirectToAddCard:function(){this.$router.push({path:"/home/payment",state:{updateCardData:!0}})},handleRedirectToPortfolio:function(){this.$router.push("/home/portfolios/"+this.$store.state.portfolio.shortId)},resetPageBackgroundColor:function(){document.querySelector("body").style.setProperty("--background-fill-color","#FFFFFF")}}};const c=(0,n(66262).A)(l,[["render",function(e,t,n,a,l,c){var u=(0,i.g2)("Cta");return(0,i.uX)(),(0,i.CE)("div",r,[(0,i.Lk)("div",s,[t[2]||(t[2]=(0,i.Lk)("div",{class:"ufo-payment--message-illustration ufo-payment--message-illustration-deleted"},null,-1)),t[3]||(t[3]=(0,i.Lk)("h1",null,"Your card info was successfully removed",-1)),t[4]||(t[4]=(0,i.Lk)("p",null," Add a new card to your account otherwise, your Premium subscription will expire. ",-1)),(0,i.bF)(u,{type:"primary",onClick:c.handleRedirectToAddCard},{default:(0,i.k6)(function(){return o(t[0]||(t[0]=[(0,i.eW)("Add new card",-1)]))}),_:1},8,["onClick"]),(0,i.bF)(u,{type:"tertiary",onClick:c.handleRedirectToPortfolio},{default:(0,i.k6)(function(){return o(t[1]||(t[1]=[(0,i.eW)("Back to my portfolio",-1)]))}),_:1},8,["onClick"])])])}]])},3052(e,t,n){n.r(t),n.d(t,{default:()=>C});var i=n(20641),o=n(90033);const a=n.p+"src/assets/images/payment-failure.8bf3e6e8.svg";function r(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var l={class:"ufo-payment"},c={class:"payment-grid"},u={class:"payment-failure"},d={class:"failure-container"},y={class:"shadow-container"},f={class:"failure-header-container"},p={key:0,class:"ufo-payment--headline"},h={key:1,class:"ufo-payment--headline"},m={key:2,class:"ufo-payment--subheadline"},v={class:"failure-summary-container"},b={class:"error-details"},g={class:"button-container"};var k=n(51739),P=n(5412),w=n(89119);const D={name:"payment-failure",components:{Cta:P.A,Faq:w.A},data:function(){return{faqEntries:[]}},mounted:function(){this.resetPageBackgroundColor(),this.failureDetails||this.paymentType||this.domainData||this.billingCycle||this.$router.push("/home/settings"),window.scrollY&&window.scroll(0,0),this.setFaqData()},unmounted:function(){this.loaded=!1,document.querySelector("body").style.removeProperty("--background-fill-color")},methods:{setFaqData:function(){this.paymentType===k.B.DOMAIN?this.faqEntries=[{question:"My payment failed. What can I do?",answer:'<div>If your payment failed, you have three options: </div>\n                            <ul>\n                                <li>Try again in a few minutes.</li>\n                                <li>Follow the on-screen instructions, such as "choose a different payment method" or "contact your card issuer for more information." In such cases, the issue is on your bank\'s end.</li>\n                                <li>Contact us at [email protected] and include the following details in your email: </li>\n                                <ul>\n                                    <li>the error message you\'ve received,</li>\n                                    <li>and a screenshot of the error screen. </li>\n                                </ul>\n                            </ul>\n                            <div>Please understand that we have limited access to payment details due to strict safety and encryption protocols.</div>'}
2,{question:"Can I get a refund for my domain?",answer:"<div>We cannot refund domains, as they're registered for a year upon purchase, which is standard with any domain registrar. However, you can transfer your domain to a free Godaddy account anytime.</div>\n                                <div>Follow these steps to transfer a domain on UXfolio:</div>\n                                <ul>\n                                    <li>Open the Portfolio editor.</li>\n                                    <li>Click Settings in the menu bar.</li>\n                                    <li>Choose Own domain & URL from the sidebar.</li>\n                                    <li>Open the page and click transfer domain.</li>\n                                    <li>Fill out the domain name and email address.</li>\n                                    <li>Click transfer.</li>\n                                </ul>"},{question:"Do I have to pay to renew my domain?",answer:"<div>Yes, you will be charged every year for the renewal of your domain. We’ll notify you a week before the renewal date, which you can also check on your Account page under the Domains section. Please, add [email protected] to your safe senders' list to ensure you receive our notifications.</div>"}]:this.faqEntries=[{question:"My payment failed. What can I do?",answer:'<div>If your payment failed, you have three options: </div>\n                            <ul>\n                                <li>Try again in a few minutes.</li>\n                                <li>Follow the on-screen instructions, such as "choose a different payment method" or "contact your card issuer for more information." In such cases, the issue is on your bank\'s end.</li>\n                                <li>Contact us at [email protected] and include the following details in your email: </li>\n                                <ul>\n                                    <li>the error message you\'ve received,</li>\n                                    <li>and a screenshot of the error screen. </li>\n                                </ul>\n                            </ul>\n                            <div>Please understand that we have limited access to payment details due to strict safety and encryption protocols.</div>'},{question:"What's the difference between the plans?",answer:"<div>If you subscribe to the Yearly plan, your card will be charged US$108 on a yearly basis. This way, the Yearly plan will save you 60% (US$72) per year as compared to being charged US$15 every month for 12 months, which would total US$180. If you choose the Monthly plan, your card will be charged US$15 on a monthly basis.</div>"},{question:"What's included in the UXfolio subscription?",answer:"<div>By subscribing to the Monthly or Yearly plan, you’ll unlock the following features:</div>\n                            <ul>\n                                <li>Unlimited public portfolios,</li>\n                                <li>Case study & portfolio password protection,</li>\n                                <li>Easy portfolio feedback collection,</li>\n                                <li>Own domain options,</li>\n                                <li>Google Analytics connection,</li>\n                                <li>Custom favicon, and</li>\n                                <li>No UXfolio branding.</li>\n                            </ul>\n                            <div>You will continue to have access to all features you had during the free trial.</div>"}]},restartPaymentProcess:function(){var e={};e=this.paymentType===k.B.SUBSCRIPTION?{path:"/home/payment",state:{subscriptionData:{billingCycle:this.billingCycle}}}:{path:"/home/payment",state:{domainData:this.domainData}},this.$router.push(e)},handleRedirectToPortfolio:function(){this.$router.push("/home/portfolios/"+this.$store.state.portfolio.shortId)},resetPageBackgroundColor:function(){document.querySelector("body").style.setProperty("--background-fill-color","#FFFFFF")}},computed:{failureDetails:function(){return history.state.failureDetails},paymentType:function(){return history.state.paymentType},domainData:function(){return history.state.domainData},billingCycle:function(){return history.state.billingCycle}}};const C=(0,n(66262).A)(D,[["render",function(e,t,n,s,k,P){var w=(0,i.g2)("Cta"),D=(0,i.g2)("Faq");return(0,i.uX)(),(0,i.CE)("div",l,[(0,i.Lk)("div",c,[(0,i.Lk)("div",u,[(0,i.Lk)("div",d,[(0,i.Lk)("div",y,[t[0]||(t[0]=(0,i.Lk)("img",{src:a,alt:"payment successful"},null,-1)),(0,i.Lk)("div",f,["duplicate_subscription"===P.failureDetails.errorType?((0,i.uX)(),(0,i.CE)("h1",p,"You are already subscribed to this plan")):((0,i.uX)(),(0,i.CE)("h1",h,"Failed payment")),"duplicate_subscription"===P.failureDetails.errorType?((0,i.uX)(),(0,i.CE)("p",m,"Please wait patiently for the payment process to complete")):(0,i.Q3)("v-if",!0)]),(0,i.Lk)("div",v,[(0,i.Lk)("p",b,(0,o.v_)(P.failureDetails.message),1)])]),(0,i.Lk)("div",g,[(0,i.bF)(w,{type:"primary",onClick:P.restartPaymentProcess},{default:(0,i.k6)(function(){return r(t[1]||(t[1]=[(0,i.eW)("Retry payment process",-1)]))}),_:1},8,["onClick"]),(0,i.bF)(w,{type:"secondary",onClick:P.handleRedirectToPortfolio},{default:(0,i.k6)(function(){return r(t[2]||(t[2]=[(0,i.eW)("Back to the editor",-1)]))}),_:1},8,["onClick"])])])]),(0,i.bF)(D,{"faq-entries":k.faqEntries},null,8,["faq-entries"])])])}],["__scopeId","data-v-369967ad"]])},2425(e,t,n){n.r(t),n.d(t,{default:()=>B});var i=n(20641),o=n(90033);const a=n.p+"src/assets/images/payment-success.abb434f6.svg";function r(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var l={class:"ufo-payment"},c={class:"payment-grid"},u={class:"payment-success"},d={class:"success-container"},y={class:"shadow-container"},f={class:"success-header-container"},p={class:"ufo-payment--headline"},h={class:"ufo-payment--subheadline"},m={class:"success-info-block"},v={key:0,class:"success-summary-container"},b={class:"subscription-info"},g={key:0,class:"success-info-block"},k={class:"title"},P={class:"invoice-helper"},w={class:"btn-block"},D={class:"invoice-helper"},C={class:"lottie-container",ref:"lottieContainer"};var S=n(51739),I=n(5412),A=n(89119),T=n(52002),F=n(97073),O=n(74256),L=n(46335),q=n(49891),U=n.n(q);const $={name:"payment-success",components:{Icon:L.A,Cta:I.A,Faq:A.A,PaymentSummary:T.A},data:function(){return{title:"",subtitle:"",confirmationTitle:"",typeOfChange:"",PaymentPageTypeEnum:S.B,faqEntries:[],successDetail
2sLocal:null,promoCodeDataLocal:null}},mounted:function(){var e;this.resetPageBackgroundColor();var t,n,i,o,a,r=localStorage.getItem("paymentSuccessDetails");if(r){var s=JSON.parse(r),l=s.successDetails,c=s.promoCodeData;this.successDetailsLocal=l,this.promoCodeDataLocal=c,localStorage.removeItem("paymentSuccessDetails")}else this.$router.push("/home/settings");if(window.scrollY&&window.scroll(0,0),this.setFaqData(),(null===(e=this.successDetails)||void 0===e?void 0:e.paymentType)===S.B.SUBSCRIPTION){var u;(0,F.f0)("conversion",{send_to:"AW-16665415793/usbXCMabscwZEPGg2Io-",value:this.getPrice(null===(u=this.successDetails)||void 0===u?void 0:u.billingCycle),currency:"USD"});try{var d;window.fbq("track","Subscribe",{currency:"USD",value:this.getPrice(null===(d=this.successDetails)||void 0===d?void 0:d.billingCycle)})}catch(e){console.log("Failed to load facebook tracking script.")}try{window.lintrk("track",{conversion_id:19609537})}catch(e){console.log("Failed to load linkedIn tracking script.")}}this.successDetails.paymentType===S.B.SUBSCRIPTION?(this.successDetails.previousSubscription&&"Premium"!==this.successDetails.previousSubscription.type&&localStorage.setItem("show-welcome-to-premium","true"),this.title="Upgrade successful!",this.subtitle="Find the details below.",this.$store.commit("matomoTrack",{category:"Subscription",action:null===(t=this.successDetails)||void 0===t?void 0:t.currentSubscriptionPlan.type,name:null===(n=this.successDetails)||void 0===n?void 0:n.currentSubscriptionPlan.id,value:null===(i=this.successDetails)||void 0===i?void 0:i.currentSubscriptionPlan.price})):(this.$store.commit("showAlertMessage",{message:"Your domain will connect within 72 hours."}),this.title="Successful domain purchase",this.subtitle="You have successfully purchased a custom domain. Find the details below.",this.$store.state.user.checklistStatus&&!this.$store.state.user.checklistStatus.steps.domain&&this.$store.commit("updateChecklistItem",O.QT.DOMAIN),this.$store.commit("matomoTrack",{category:"Subscription",action:"Domain",name:null===(o=this.successDetails)||void 0===o?void 0:o.domain,value:null===(a=this.successDetails)||void 0===a?void 0:a.amount}));this.loadLottieAnimation()},unmounted:function(){this.loaded=!1,document.querySelector("body").style.removeProperty("--background-fill-color")},methods:{handleRedirectToPortfolio:function(){this.$store.commit("setPageToEdit","home"),this.$router.push("/home/portfolios/"+this.$store.state.portfolio.shortId)},handleRedirectToInvoices:function(){this.$router.push("/home/settings/plan-and-payment#invoices")},handleRedirectToPlans:function(){this.$router.push("/home/settings/plan-and-payment")},handleRedirectToConnectDomains:function(){this.$router.push("/home/domain/connect")},handleRedirectToBuyDomains:function(){this.$router.push("/home/domain/search")},setFaqData:function(){this.paymentType===S.B.DOMAIN?this.faqEntries=[{question:"Can I get a refund for my domain?",answer:"<div>We cannot refund domains, as they're registered for a year upon purchase, which is standard with any domain registrar. However, you can transfer your domain to a free Godaddy account anytime.</div>\n                                <div>Follow these steps to transfer a domain on UXfolio:</div>\n                                <ul>\n                                    <li>Open the Portfolio editor.</li>\n                                    <li>Click Settings in the menu bar.</li>\n                                    <li>Choose Own domain & URL from the sidebar.</li>\n                                    <li>Open the page and click transfer domain.</li>\n                                    <li>Fill out the domain name and email address.</li>\n                                    <li>Click transfer.</li>\n                                </ul>"},{question:"Do I have to pay to renew my domain?",answer:"<div>Yes, you will be charged every year for the renewal of your domain. We’ll notify you a week before the renewal date, which you can also check on your Account page under the Domains section. Please, add [email protected] to your safe senders' list to ensure you receive our notifications.</div>"},{question:"When do I get billed for the domain I have purchased?",answer:"<
2div>You get billed right after purchasing your domain. After that, you'll get billed yearly for the renewal of your domain registration. You can check your domain’s renewal date on your Account page under the Domains section. A week before your renewal date we’ll send you a notification. Make sure to add [email protected] to your safe sender list, so you don't miss the notification.</div>"}]:this.faqEntries=[{question:"What's the difference between the plans?",answer:"<div>If you subscribe to the Yearly plan, your card will be charged US$108 on a yearly basis. This way, the Yearly plan will save you 60% (US$72) per year as compared to being charged US$15 every month for 12 months, which would total US$180. If you choose the Monthly plan, your card will be charged US$15 on a monthly basis.</div>"},{question:"What's included in the UXfolio subscription?",answer:"<div>By subscribing to the Monthly or Yearly plan, you’ll unlock the following features:</div>\n                            <ul>\n                                <li>Unlimited public portfolios,</li>\n                                <li>Case study & portfolio password protection,</li>\n                                <li>Easy portfolio feedback collection,</li>\n                                <li>Own domain options,</li>\n                                <li>Google Analytics connection,</li>\n                                <li>Custom favicon, and</li>\n                                <li>No UXfolio branding.</li>\n                            </ul>\n                            <div>You will continue to have access to all features you had during the free trial.</div>"},{question:"My payment failed. What can I do?",answer:'<div>If your payment failed, you have three options: </div>\n                            <ul>\n                                <li>Try again in a few minutes.</li>\n                                <li>Follow the on-screen instructions, such as "choose a different payment method" or "contact your card issuer for more information." In such cases, the issue is on your bank\'s end.</li>\n                                <li>Contact us at [email protected] and include the following details in your email: </li>\n                                <ul>\n                                    <li>the error message you\'ve received,</li>\n                                    <li>and a screenshot of the error screen. </li>\n                                </ul>\n                            </ul>\n                            <div>Please understand that we have limited access to payment details due to strict safety and encryption protocols.</div>'}]},getPrice:function(e){return"yearly"===e?this.yearlyPrice:this.monthlyPrice},loadLottieAnimation:function(){var e=this,t=this.$refs.lottieContainer;if(t){var n=U().loadAnimation({container:t,renderer:"svg",loop:!1,autoplay:!0,path:"/lotti-animations/confetti-v2.json"});n.addEventListener("complete",function(){e.animationLoaded=!0}),n.addEventListener("error",function(e){console.log("animation had an error")})}},resetPageBackgroundColor:function(){document.querySelector("body").style.setProperty("--background-fill-color","#FFFFFF")}},computed:{currentSubscriptionPlan:function(){return this.$store.state.userSettings.currentSubscriptionPlan},successDetails:function(){var e;return(null===(e=history.state)||void 0===e?void 0:e.successDetails)||this.successDetailsLocal},promoCodeData:function(){var e;return(null===(e=history.state)||void 0===e?void 0:e.promoCodeData)||this.promoCodeDataLocal},buttonText:function(){return this.successDetails?this.successDetails.paymentType===S.B.DOMAIN?"Back to the editor":"Explore all UXfolio features":""},yearlyPrice:function(){return this.$store.state.userSettings.stripePrices.yearlyPrice.price},monthlyPrice:function(){return this.$store.state.userSettings.stripePrices.monthlyPrice.price},isUpgrade:function(){return this.successDetails.previousSubscription&&"Free"!==this.successDetails.previousSubscription.type},userWasfree:function(){return this.successDetails.previousSubscription&&"Free"===this.successDetail
2s.previousSubscription.type},userWasTrial:function(){return this.successDetails.previousSubscription&&"Trial"===this.successDetails.previousSubscription.type}}};const E=(0,n(66262).A)($,[["render",function(e,t,n,s,S,I){var A,T=(0,i.g2)("PaymentSummary"),F=(0,i.g2)("Cta"),O=(0,i.g2)("Icon"),L=(0,i.g2)("Faq");return(0,i.uX)(),(0,i.CE)("div",l,[(0,i.Lk)("div",c,[(0,i.Lk)("div",u,[(0,i.Lk)("div",d,[(0,i.Lk)("div",y,[(0,i.Lk)("div",f,[t[1]||(t[1]=(0,i.Lk)("img",{src:a,alt:"payment successful"},null,-1)),(0,i.Lk)("h1",p,(0,o.v_)(S.title),1),(0,i.Lk)("p",h,(0,o.v_)(S.subtitle),1)]),(0,i.Lk)("div",m,[I.successDetails?((0,i.uX)(),(0,i.CE)("div",v,[(0,i.bF)(T,{"selected-plan-data":{billingCycle:I.successDetails.billingCycle,price:I.getPrice(I.successDetails.billingCycle),domainData:I.successDetails.domainData,promoCodeData:I.promoCodeData,type:I.successDetails.paymentType,isUpgrade:I.successDetails.isUpgrade,userWasfree:I.userWasfree||I.userWasTrial,creditUsed:I.successDetails.creditUsed},isResult:!0},null,8,["selected-plan-data"])])):(0,i.Q3)("v-if",!0),(0,i.Lk)("div",b,[t[3]||(t[3]=(0,i.eW)(" Subscriptions will auto-renew unless canceled before the renewal date. To make changes to your subscription, ",-1)),(0,i.bF)(F,{type:"link",size:"small",onClick:I.handleRedirectToPlans},{default:(0,i.k6)(function(){return r(t[2]||(t[2]=[(0,i.eW)("go to Plan & payment",-1)]))}),_:1},8,["onClick"]),t[4]||(t[4]=(0,i.eW)(". ",-1))])]),"domain"!==(null===(A=I.successDetails)||void 0===A?void 0:A.paymentType)?((0,i.uX)(),(0,i.CE)("div",g,[(0,i.Lk)("div",{class:"success-summary-container domain-cta",onClick:t[0]||(t[0]=function(){return I.handleRedirectToBuyDomains&&I.handleRedirectToBuyDomains.apply(I,arguments)})},[(0,i.Lk)("div",k,[t[5]||(t[5]=(0,i.eW)(" Add a domain ",-1)),(0,i.bF)(O,{width:20,height:20,"icon-name":"right"})]),t[6]||(t[6]=(0,i.Lk)("div",{class:"description"}," Boost your portfolio’s impact with a custom domain, like yourname.com. ",-1))]),(0,i.Lk)("div",P,[t[8]||(t[8]=(0,i.eW)(" Got one already? ",-1)),(0,i.bF)(F,{type:"link",onClick:I.handleRedirectToConnectDomains},{default:(0,i.k6)(function(){return r(t[7]||(t[7]=[(0,i.eW)("Connect your domain",-1)]))}),_:1},8,["onClick"])])])):(0,i.Q3)("v-if",!0),(0,i.Lk)("div",w,[(0,i.bF)(F,{type:"primary",onClick:I.handleRedirectToPortfolio,id:"submit"},{default:(0,i.k6)(function(){return[(0,i.eW)((0,o.v_)(I.buttonText),1)]}),_:1},8,["onClick"]),(0,i.Lk)("div",D,[t[10]||(t[10]=(0,i.eW)(" Looking for an invoice? ",-1)),(0,i.bF)(F,{type:"link",onClick:I.handleRedirectToInvoices},{default:(0,i.k6)(function(){return r(t[9]||(t[9]=[(0,i.eW)("Go to your account",-1)]))}),_:1},8,["onClick"])])])])]),(0,i.Lk)("div",C,null,512)]),(0,i.bF)(L,{"faq-entries":S.faqEntries},null,8,["faq-entries"])])])}],["__scopeId","data-v-bb1c0a28"]]),B=E},51739(e,t,n){n.d(t,{B:()=>i});var i={SUBSCRIPTION:"subscription",DOMAIN:"domain"}},14831(e,t,n){function i(e){var t=e.price,n=e.monthlyPrice,i=e.isUpgrade,o=e.promoCodeData,a=0;return null!=o&&o.amountOff?a=o.amountOff/100:null!=o&&o.percentOff&&(a=t*o.percentOff/100),i?t-n-a:t-a}n.d(t,{W:()=>i})}}]);

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.