1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Overview-D0PFsqix.js","assets/index-BqKviU6K.js","assets/index-CeUeed82.css","assets/OpenInNew-BQDRi5Bz.js","assets/GetApp-C_8GlScR.js","assets/UserAreaLayout-CfuK0RY_.js","assets/Divider-D50PYcL1.js","assets/Profile-DPT4JwDY.js","assets/Installments-CxgP-AsS.js","assets/Pagination-B2Cc3RdV.js","assets/NoDataWarning-ByfDjeXs.js","assets/Chip-Jka4xbxB.js","assets/Pagination-iQWeNe8S.js","assets/Subscriptions-CROfzfrO.js","assets/PaymentHistory-ZQk8-6Ru.js","assets/Amount-B4iMHH3M.js","assets/react-number-format.es-BwYP-tag.js","assets/TableContainer-Db8nMZag.js","assets/EditCard-DI2KchA4.js","assets/react-stripe.esm-D6fejTHA.js","assets/Error404-g6fMQjBd.js"])))=>i.map(i=>d[i]); 2import{j as a,R as i,a as R,b as u,S as L,_ as d,g as P,u as T,C as I,c as O,r as h,d as M,H as C,N as V}from"./index-BqKviU6K.js";import{N as U,a as H}from"./NavBarSecondaryMobile-5KxuJkaJ.js";import{E as z}from"./react-stripe.esm-D6fejTHA.js";import"./Tabs-CPgjR-5A.js";import"./OpenInNew-BQDRi5Bz.js";function p(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(e){return typeof e}:p=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(r)}var x="clover",N=function(e){return e===3?"v3":e},A="https://js.stripe.com",k="".concat(A,"/").concat(x,"/stripe.js"),B=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,D=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,E="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",F=function(e){return B.test(e)||D.test(e)},G=function(){for(var e=document.querySelectorAll('script[src^="'.concat(A,'"]')),t=0;t<e.length;t++){var s=e[t];if(F(s.src))return s}return null},g=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",s=document.createElement("script");s.src="".concat(k).concat(t);var n=document.head||document.body;if(!n)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return n.appendChild(s),s},J=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"8.11.0",startTime:t})},c=null,f=null,m=null,W=function(e){return function(t){e(new Error("Failed to load Stripe.js",{cause:t}))}},q=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}},X=function(e){return c!==null?c:(c=new Promise(function(t,s){if(typeof window>"u"||typeof document>"u"){t(null);return}if(window.Stripe&&e&&console.warn(E),window.Stripe){t(window.Stripe);return}try{var n=G();if(n&&e)console.warn(E);else if(!n)n=g(e);else if(n&&m!==null&&f!==null){var o;n.removeEventListener("load",m),n.removeEventListener("error",f),(o=n.parentNode)===null||o===void 0||o.removeChild(n),n=g(e)}m=q(t,s),f=W(s),n.addEventListener("load",m),n.addEventListener("error",f)}catch(l){s(l);return}}),c.catch(function(t){return c=null,Promise.reject(t)}))},Y=function(e,t,s){if(e===null)return null;var n=t[0];if(typeof n!="string")throw new Error("Expected publishable key to be of type string, got type ".concat(p(n)," instead."));var o=n.match(/^pk_test/),l=N(e.version),_=x;o&&l!==_&&console.warn("Stripe.js@".concat(l," was loaded on the page, but @stripe/stripe-js@").concat("8.11.0"," expected Stripe.js@").concat(_,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var b=e.apply(void 0,t);return J(b,s),b},j=function(e){var t=`invalid load parameters; expected object of shape 3 4 {advancedFraudSignals: boolean} 5 6but received 7 8 `.concat(JSON.stringify(e),` 9`);if(e===null||p(e)!=="object")throw new Error(t);if(Object.keys(e).length===1&&typeof e.advancedFraudSignals=="boolean")return e;throw new Error(t)},v,S=!1,w=function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];S=!0;var n=Date.now();return X(v).then(function(o){return Y(o,t,n)})};w.setLoadParameters=function(r){if(S&&v){var e=j(r),t=Object.keys(e),s=t.reduce(function(n,o){var l;return n&&r[o]===((l=v)===null||l===void 0?void 0:l[o])},!0);if(s)return}if(S)throw new Error("You cannot change load parameters after calling loadStripe");v=j(r)};const K=i.lazy(()=>d(()=>import("./Overview-D0PFsqix.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),$=i.lazy(()=>d(()=>import("./Profile-DPT4JwDY.js"),__vite__mapDeps([7,1,2,3,5]))),Q=i.lazy(()=>d(()=>import("./Installments-CxgP-AsS.js"),__vite__mapDeps([8,1,2,5,9,10,11,12]))),Z=i.lazy(()=>d(()=>import("./Subscriptions-CROfzfrO.js"),__vite__mapDeps([13,1,2,5,9,10,12]))),ee=i.lazy(()=>d(()=>import("./PaymentHistory-ZQk8-6Ru.js"),__vite__mapDeps([14,1,2,4,15,16,9,10,17,12,5]))),re=i.lazy(()=>d(()=>import("./EditCard-DI2KchA4.js"),__vite__mapDeps([18,1,2,11,5,19,10]))),te=i.lazy(()=>d(()=>import("./Error404-g6fMQjBd.js"),__vite__mapDeps([20,1,2])));let y;const ae={alpha:"pk_test_OOa8OCH3zVhhaietHY5sA7Hp",dev:"pk_test_OOa8OCH3zVhhaietHY5sA7Hp",prod:"pk_live_f7fPkBO6ffUB0LtnuTab7NFm"},ne=()=>{if(!y){const r=P("VITE_CURRENT_STAGE")||"dev";y=w(ae[r])}return y},se=()=>a.jsx(z,{stripe:ne(),children:a.jsx(i.Suspense,{fallback:a.jsx(L,{}),children:a.jsxs(R,{children:[a.jsx(u,{path:"/",element:a.jsx(K,{})}),a.jsx(u,{path:"/profile",element:a.jsx($,{})}),a.jsx(u,{path:"/subscriptions",element:a.jsx(Z,{})}),a.jsx(u,{path:"/installments",element:a.jsx(Q,{})}),a.jsx(u,{path:"/payment-history",element:a.jsx(ee,{})}),a.jsx(u,{path:"/payment-method",element:a.jsx(re,{})}),a.jsx(u,{path:"*",element:a.jsx(te,{})})]})})});function ce(){const r=T(),e=i.useContext(I),t=O(s=>s.accountReducer.userInfo);return h.useEffect(()=>{M.gtag("event","User_Area_Visit",{userId:t?.MemberId})},[]),a.jsxs(h.Fragment,{children:[e.isSmallScreen?a.jsx(U,{title:"User Area",navBarSecondaryTab:[{label:r.formatMessage({id:"userArea.general"}),url:"/user-area"},{label:r.formatMessage({id:"userArea.profile"}),url:"/user-area/profile"},{label:r.formatMessage({id:"userArea.subscriptions"}),url:"/user-area/subscriptions"},{label:r.formatMessage({id:"userArea.installments"}),url:"/user-area/installments"},{label:r.formatMessage({id:"userArea.paymentHistory"}),url:"/user-area/payment-history"},{label:r.formatMessage({id:"userArea.paymentMethod"}),url:"/user-area/payment-method"}]}):a.jsxs(C,{children:[a.jsx(V,{}),a.jsx(H,{navBarSecondaryTab:[{label:r.formatMessage({id:"userArea.general"}),url:"/user-area"},{label:r.formatMessage({id:"userArea.profile"}),url:"/user-area/profile",dataCy:"userArea-profile-button"},{label:r.formatMessage({id:"userArea.subscriptions"}),url:"/user-area/subscriptions",dataCy:"userArea-subscriptions-button"},{label:r.formatMessage({id:"userArea.installments"}),url:"/user-area/installments",dataCy:"userArea-installments-button"},{label:r.formatMessage({id:"userArea.paymentHistory"}),url:"/user-area/payment-history",dataCy:"userArea-paymentHistory-button"},{label:r.formatMessage({id:"userArea.paymentMethod"}),url:"/user-area/payment-method",dataCy:"userArea-paymentMethod-button"}]})]}),a.jsx(se,{})]})}
9export{ce as default};
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.