PageSourceSearch

https://www.tubenxt.com/assets/AccountSetting-CIJTzX2-.js

js tubenxt.com collected 2026-10-02 01:47:32 UTC 24,918 bytes, 1 lines download raw bytes

1import{ad as n,j as r,ag as e,ah as s,d as l,P as i}from"./index-BivhYt2x.js";import{b as a}from"./vendor-uAoOi1mV.js";import{C as t}from"./ConfirmPrompt-BuuiYT_W.js";import{C as d,b as c,c as o,S as m,u as x,a as u,E as h,l as p}from"./cvv-Dhm1177b.js";import{L as f}from"./LoadingOverlay-OOnWAPV7.js";function w({ac:i,setAccountData:d}){const{appLoginInfo:c,upgradeChannel:o}=a.useContext(n),[m,x]=a.useState(!1),[u,h]=a.useState(null),[p,f]=a.useState(!1);return a.useEffect(()=>{null!==u&&(u&&(f(!0),l.get("/api/AccountSetting/CancelSubscription",{params:{channelId:null==o?void 0:o.echannelId},headers:{Authorization:`${null==c?void 0:c.token}`}}).then(n=>{d(n.data)}).catch(n=>{}).finally(()=>{f(!1)})),x(!1),h(null))},[u]),a.useEffect(()=>{},[m]),r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"\r\n          w-full\r\n          min-w-0\r\n          max-w-[600px]\r\n          overflow-hidden\r\n          rounded-2xl\r\n          border-2\r\n          bg-white\r\n          text-[15px]\r\n        ",children:[r.jsxs("div",{className:"\r\n            flex\r\n            items-center\r\n            gap-3\r\n            border-b-2\r\n            bg-sky-50\r\n            p-3\r\n            text-sky-600\r\n\r\n            sm:p-4\r\n          ",children:[r.jsx("span",{className:"shrink-0",children:r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"32",viewBox:"0 -960 960 960",width:"32",children:r.jsx("path",{d:"M480-480q-33.846 0-56.923-23.077Q400-526.154 400-560q0-33.846 23.077-56.923Q446.154-640 480-640q33.846 0 56.923 23.077Q560-593.846 560-560q0 33.846-23.077 56.923Q513.846-480 480-480ZM280-101.538v-263.616q-38-37.384-59-87.698Q200-503.165 200-560q0-117.25 81.339-198.625Q362.679-840 479.878-840q117.199 0 198.661 81.375Q760-677.25 760-560q0 56.835-21 107.148-21 50.314-59 87.698v263.616l-200-60-200 60ZM480-320q100 0 170-70t70-170q0-100-70-170t-170-70q-100 0-170 70t-70 170q0 100 70 170t170 70ZM320-158.231l160-44.846 160 44.846v-173.23q-33.462 24.615-74.515 38.038Q524.432-280 479.832-280q-44.601 0-85.486-13.423-40.884-13.423-74.346-38.038v173.23Zm160-86.615Z"})})}),r.jsx("span",{className:"text-xl",children:"License"})]}),r.jsxs("div",{className:"\r\n            min-w-0\r\n            px-3\r\n\r\n            sm:px-6\r\n          ",children:[r.jsxs("div",{className:"\r\n              flex\r\n              min-w-0\r\n              flex-col\r\n              gap-2\r\n              p-3\r\n\r\n              sm:flex-row\r\n              sm:gap-6\r\n            ",children:[r.jsx("div",{className:"\r\n                shrink-0\r\n                font-medium\r\n\r\n                sm:w-48\r\n                sm:font-normal\r\n              ",children:"Channel"}),r.jsxs("div",{className:"\r\n                flex\r\n                min-w-0\r\n                items-center\r\n                gap-3\r\n              ",children:[r.jsx("img",{src:null==i?void 0:i.pictureURL,className:"\r\n                  size-[30px]\r\n                  shrink-0\r\n                  rounded-full\r\n                  object-cover\r\n                ",referrerPolicy:"no-referrer",alt:`${(null==i?void 0:i.channelName)??""} channel`}),r.jsx("a",{href:`https://www.youtube.com/channel/${null==i?void 0:i.channelId}`,target:"_blank",rel:"noreferrer",className:"\r\n                  min-w-0\r\n                  truncate\r\n                  text-sky-600\r\n                  underline\r\n                ",children:null==i?void 0:i.channelName})]})]}),r.jsxs("div",{className:"\r\n              flex\r\n              min-w-0\r\n              flex-col\r\n              gap-1\r\n              border-t-2\r\n              p-3\r\n\r\n              sm:flex-row\r\n              sm:gap-6\r\n            ",children:[r.jsx("div",{className:"\r\n                shrink-0\r\n                font-medium\r\n\r\n                sm:w-48\r\n                sm:font-normal\r\n              ",children:"License Status"}),r.jsx("div",{className:"min-w-0 break-words",children:(null==i?void 0:i.isActive)?r.jsx("span",{children:"Active"}):r.jsx("span",{children:"Inactive"})})]}),r.jsxs("div",{className:"\r\n              flex\r\n              min-w-0\r\n              flex-col\r\n              gap-1\r\n              border-t-2\r\n              p-3\r\n\r\n              sm:flex-row\r\n              sm:gap-6\r\n            ",children:[r.jsx("div",{className:"\r\n                shrink-0\r\n                font-medium\r\n\r\n                sm:w-48\r\n                sm:font-normal\r\n              ",children:"License"}),r.jsx("div",{className:"min-w-0 break-words",children:null==i?void 0:i.productName})]}),r.jsxs("div",{className:"\r\n              flex\r\n              min-w-0\r\n              flex-col\r\n              gap-1\r\n              border-t-2\r\n              p-3\r\n\r\n              sm:flex-row\r\n              sm:gap-6\r\n            ",children:[r.jsx("div",{className:"\r\n                shrink-0\r\n                font-medium\r\n\r\n                sm:w-48\r\n                sm:font-normal\r\n              ",children:"Subscription Start Date"}),r.jsx("div",{className:"utcDate min-w-0 break-words",children:e(null==i?void 0:i.licenseStartDtUTC)})]}),!(null==i?void 0:i.subscriptionEnabled)&&r.jsxs("div",{id:"LicenseEndSection",className:"\r\n                flex\r\n                min-w-0\r\n                flex-col\r\n                gap-1\r\n                border-t-2\r\n                p-3\r\n\r\n                sm:flex-row\r\n                sm:gap-6\r\n              ",children:[r.jsx("div",{className:"\r\n                  shrink-0\r\n                  font-medium\r\n\r\n                  sm:w-48\r\n                  sm:font-normal\r\n                ",children:"Subscription 
1End Date"}),r.jsx("div",{className:"utcDate min-w-0 break-words",children:e(null==i?void 0:i.licenseEndDtUTC)})]}),r.jsxs("div",{className:"\r\n              flex\r\n              min-w-0\r\n              flex-col\r\n              gap-2\r\n              border-t-2\r\n              p-3\r\n\r\n              sm:flex-row\r\n              sm:items-center\r\n              sm:gap-6\r\n            ",children:[r.jsx("div",{className:"\r\n                shrink-0\r\n                font-medium\r\n\r\n                sm:w-48\r\n                sm:font-normal\r\n              ",children:"Subscription status"}),r.jsx("div",{id:"SubscriptionStatusSection",className:"\r\n                flex\r\n                min-w-0\r\n                flex-1\r\n                items-center\r\n              ",children:(null==i?void 0:i.subscriptionEnabled)?r.jsxs("div",{className:"\r\n                    flex\r\n                    w-full\r\n                    min-w-0\r\n                    flex-col\r\n                    gap-3\r\n\r\n                    sm:flex-row\r\n                    sm:items-center\r\n                    sm:gap-6\r\n                  ",children:[r.jsx("span",{className:"shrink-0",children:"Recurring"}),r.jsx("button",{id:"btnCancelSubscription",type:"button",className:"\r\n                      w-full\r\n                      cursor-pointer\r\n                      rounded-full\r\n                      border\r\n                      bg-indigo-200\r\n                      px-3\r\n                      py-2\r\n                      text-indigo-600\r\n\r\n                      disabled:cursor-not-allowed\r\n                      disabled:opacity-60\r\n\r\n                      sm:w-[180px]\r\n                      sm:shrink-0\r\n                    ",onClick:()=>{x(!0)},disabled:p,children:p?r.jsxs("div",{className:"\r\n                          z-40\r\n                          flex\r\n                          items-center\r\n                          justify-center\r\n                          gap-3\r\n                        ",children:[r.jsx("div",{className:"\r\n                            size-6\r\n                            animate-spin\r\n                            rounded-full\r\n                            border-4\r\n                            border-white\r\n                            border-t-transparent\r\n                          "}),r.jsx("span",{children:"Processing"})]}):"Cancel Subscription"})]}):r.jsx("div",{children:r.jsx("span",{id:"cancelledSection",children:"Cancelled"})})})]}),i&&!(null==i?void 0:i.subscriptionEnabled)&&!s(null==i?void 0:i.subscriptionCancelledOnUTC)&&r.jsxs("div",{id:"CancellationDtSection",className:"\r\n                  flex\r\n                  min-w-0\r\n                  flex-col\r\n                  gap-1\r\n                  border-t-2\r\n                  p-3\r\n\r\n                  sm:flex-row\r\n                  sm:gap-6\r\n                ",children:[r.jsx("div",{className:"\r\n                    shrink-0\r\n                    font-medium\r\n\r\n                    sm:w-48\r\n                    sm:font-normal\r\n                  ",children:"Subscription cancelled on"}),r.jsx("div",{id:"subscriptionCancellationDt",className:"\r\n                    utcDate\r\n                    min-w-0\r\n                    break-words\r\n                  ",children:e(null==i?void 0:i.subscriptionCancelledOnUTC)})]})]})]}),m&&r.jsx("div",{className:"\r\n            fixed\r\n            inset-0\r\n            z-50\r\n            flex\r\n            items-center\r\n            justify-center\r\n            overflow-y-auto\r\n            bg-black/50\r\n            px-3\r\n            py-5\r\n\r\n            sm:px-4\r\n          ",children:r.jsx("div",{className:"w-full max-w-md",children:r.jsx(t,{msg:{title:"Cancel Subscription",description:"Are you sure you want to cancel subscription?",noText:"No",yesText:"Yes"},setAcceptance:h})})})]})}function v(){const n={showIcon:!0,style:{base:{fontSize:"16px",color:"#333","::placeholder":{color:"#a0a0a0"}},invalid:{color:"#e53e3e"}}};return r.jsxs("div",{className:"flex flex-col  bg-white  rounded-md",children:[r.jsxs("div",{className:"flex flex-col",children:[r.jsxs("div",{children:["Card number",r.jsx("span",{className:"text-red-500",children:"*"})]}),r.jsx("div",{className:"border-2 p-2 rounded-sm",children:r.jsx(d,{options:n})})]}),r.jsxs("div",{className:"flex w-full gap-3 mt-2",children:[r.jsxs("div",{className:"flex flex-col w-1/2",children:[r.jsxs("div",{children:["Expiration",r.jsx("span",{className:"text-red-500",children:"*"})]}),r.jsx("div",{className:"border-2 p-2 rounded-sm",children:r.jsx(c,{options:n})})]}),r.jsxs("div",{className:"flex flex-col w-1/2",children:[r.jsxs("div",{children:["CVC",r.jsx("span",{className:"text-red-500",children:"*"})]}),r.jsxs("div",{className:"border-2  rounded-sm flex flex-row items-center-safe",children:[r.jsx("div",{className:"w-full m-2",children:r.jsx(o,{options:n})}),r.jsx(m,{className:"size-9 mr-2  fill-gray-400 hover:fill-gray-500"})]})]})]})]})}function j({setShowUpdateCard:e,getAccountSetting:s}){const{appLoginInfo:i,upgradeChannel:t}
1=a.useContext(n),[c,o]=a.useState(!1),[m,h]=a.useState(""),p=x(),f=u();return r.jsxs("div",{id:"cardDetail",className:"\r\n        z-[2000]\r\n        flex\r\n        w-full\r\n        min-w-0\r\n        max-w-[500px]\r\n        flex-col\r\n        gap-3\r\n        overflow-hidden\r\n        rounded-lg\r\n        border\r\n        border-slate-400\r\n        bg-white\r\n      ",children:[r.jsxs("div",{className:"\r\n          flex\r\n          items-center\r\n          bg-sky-100\r\n          p-3\r\n          text-lg\r\n          text-sky-600\r\n\r\n          sm:p-4\r\n        ",children:[r.jsx("div",{className:"min-w-0 flex-1",children:"Update Card"}),r.jsx("div",{id:"btnCloseCardupdate",role:"button",tabIndex:0,className:"\r\n            ml-auto\r\n            flex\r\n            size-8\r\n            shrink-0\r\n            cursor-pointer\r\n            items-center\r\n            justify-center\r\n          ",onClick:()=>e(!1),onKeyDown:n=>{"Enter"!==n.key&&" "!==n.key||e(!1)},"aria-label":"Close update card",children:r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24",className:"fill-red-500",children:r.jsx("path",{d:"M256-213.847 213.847-256l224-224-224-224L256-746.153l224 224 224-224L746.153-704l-224 224 224 224L704-213.847l-224-224-224 224Z"})})})]}),r.jsx("div",{className:"\r\n          w-full\r\n          min-w-0\r\n          px-3\r\n          py-2\r\n\r\n          sm:p-4\r\n        ",children:r.jsx("div",{className:"w-full min-w-0",children:r.jsx(v,{})})}),r.jsx("div",{className:"\r\n          mx-auto\r\n          mb-3\r\n          w-full\r\n          px-3\r\n          text-center\r\n\r\n          sm:w-auto\r\n          sm:px-0\r\n        ",children:r.jsx("button",{type:"button",onClick:async()=>{try{if(!p||!f)return;o(!0),h("");const n=f.getElement(d);if(!n)return void h("Card information is not available.");const{error:r,paymentMethod:a}=await p.createPaymentMethod({type:"card",card:n});if(r)return void h(r.message||"Failed to create payment method");const c={PaymentMethodId:a.id,ChannelId:null==t?void 0:t.echannelId,ChannelGId:null==t?void 0:t.echannelGId};await l.post("/api/payment/UpdateCardDetail",c,{headers:{Authorization:`${null==i?void 0:i.token}`}});await s(),e(!1)}catch(n){h((null==n?void 0:n.message)||"Payment failed")}finally{o(!1)}},id:"btnUpdateCardDetail",className:"\r\n            w-full\r\n            cursor-pointer\r\n            rounded-full\r\n            border\r\n            bg-indigo-500\r\n            px-6\r\n            py-2\r\n            text-white\r\n\r\n            disabled:cursor-not-allowed\r\n            disabled:opacity-60\r\n\r\n            sm:w-auto\r\n            sm:min-w-[150px]\r\n          ",disabled:c||!p||!f,children:c?r.jsxs("div",{className:"\r\n                z-40\r\n                flex\r\n                items-center\r\n                justify-center\r\n                gap-3\r\n              ",children:[r.jsx("div",{className:"\r\n                  size-6\r\n                  animate-spin\r\n                  rounded-full\r\n                  border-4\r\n                  border-white\r\n                  border-t-transparent\r\n                "}),r.jsx("span",{children:"Processing"})]}):"Update Card"})}),""!==m&&r.jsxs("div",{id:"cardErrorph",className:"\r\n            mb-6\r\n            flex\r\n            w-full\r\n            min-w-0\r\n            items-start\r\n            justify-center\r\n            px-3\r\n            text-red-400\r\n\r\n            sm:items-center\r\n            sm:px-4\r\n          ",role:"alert",children:[r.jsx("svg",{className:"\r\n              mt-0.5\r\n              size-[18px]\r\n              shrink-0\r\n              fill-red-400\r\n\r\n              sm:mt-0\r\n            ",xmlns:"http://www.w3.org/2000/svg",height:"18",viewBox:"0 -960 960 960",width:"18",children:r.jsx("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q
1-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})}),r.jsx("div",{id:"cardError",className:"\r\n              ml-2\r\n              min-w-0\r\n              break-words\r\n              text-left\r\n            ",children:m})]})]})}function b({ac:e,getAccountSetting:s}){const[i,t]=a.useState(!1),{appLoginInfo:d}=a.useContext(n),[c,o]=a.useState(null);return a.useEffect(()=>{(async()=>{try{const n=(await l.get("/api/Payment/GetPublishableKey",{headers:{Authorization:`${null==d?void 0:d.token}`}})).data.publishableKey;o(p(n))}catch(n){}})()},[null==d?void 0:d.token]),r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"relative w-full min-w-0",children:r.jsx("div",{id:"paymentBlock",className:"\r\n            mt-6\r\n            flex\r\n            w-full\r\n            min-w-0\r\n            flex-col\r\n            items-start\r\n          ",children:r.jsxs("div",{className:"\r\n              w-full\r\n              min-w-0\r\n              max-w-[600px]\r\n              overflow-hidden\r\n              rounded-2xl\r\n              border-2\r\n              bg-white\r\n            ",children:[r.jsxs("div",{className:"\r\n                flex\r\n                items-center\r\n                gap-3\r\n                border-b-2\r\n                bg-sky-50\r\n                p-3\r\n                text-sky-600\r\n\r\n                sm:p-4\r\n              ",children:[r.jsx("span",{className:"shrink-0",children:r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"32",viewBox:"0 -960 960 960",width:"32",children:r.jsx("path",{d:"M840-695.385v430.77Q840-237 821.5-218.5 803-200 775.385-200h-590.77Q157-200 138.5-218.5 120-237 120-264.615v-430.77Q120-723 138.5-741.5 157-760 184.615-760h590.77Q803-760 821.5-741.5 840-723 840-695.385Zm-680 87.692h640v-87.692q0-9.23-7.692-16.923Q784.615-720 775.385-720h-590.77q-9.23 0-16.923 7.692Q160-704.615 160-695.385v87.692Zm0 95.386v247.692q0 9.23 7.692 16.923Q175.385-240 184.615-240h590.77q9.23 0 16.923-7.692Q800-255.385 800-264.615v-247.692H160ZM160-240v-480 480Z"})})}),r.jsx("span",{className:"text-xl",children:"Payment"})]}),r.jsx("div",{className:"\r\n                bg-slate-100\r\n                px-3\r\n                py-3\r\n                font-semibold\r\n              ",children:"Last payment"}),r.jsxs("div",{className:"\r\n                min-w-0\r\n                px-3\r\n\r\n                sm:px-6\r\n              ",children:[r.jsxs("div",{className:"\r\n                  flex\r\n                  min-w-0\r\n                  flex-col\r\n                  gap-1\r\n                  p-3\r\n\r\n                  sm:flex-row\r\n                  sm:gap-6\r\n                ",children:[r.jsx("div",{className:"\r\n                    shrink-0\r\n                    font-medium\r\n\r\n                    sm:w-48\r\n                    sm:font-normal\r\n                  ",children:"Amount"}),r.jsxs("div",{className:"min-w-0 break-words",children:[null==e?void 0:e.currencySymbol,(((null==e?void 0:e.amount)??0)/100).toFixed(2)]})]}),r.jsxs("div",{className:"\r\n                  flex\r\n                  min-w-0\r\n                  flex-col\r\n                  gap-1\r\n                  border-t-2\r\n                  p-3\r\n\r\n                  sm:flex-row\r\n                  sm:gap-6\r\n                ",children:[r.jsx("div",{className:"\r\n                    shrink-0\r\n                    font-medium\r\n\r\n                    sm:w-48\r\n                    sm:font-normal\r\n                  ",children:"Promo code"}),r.jsx("div",{className:"min-w-0 break-words",children:null==e?void 0:e.promoCode})]}),r.jsxs("div",{className:"\r\n                  flex\r\n                  min-w-0\r\n                  flex-col\r\n                  gap-1\r\n                  border-t-2\r\n                  p-3\r\n\r\n                  sm:flex-row\r\n                  sm:gap-6\r\n                ",children:[r.jsx("div",{className:"\r\n                    shrink-0\r\n                    font-medium\r\n\r\n                    sm:w-48\r\n                    sm:font-normal\r\n                  ",children:"Billing Cycle"}),r.jsx("div",{className:"min-w-0 break-words",children:null==e?void 0:e.period})]})]}),r.jsx("div",{className:"\r\n                bg-slate-100\r\n                px-3\r\n                py-3\r\n                font-semibold\r\n              ",children:"Card on File"}),r.jsxs("div",{className:"\r\n                min-w-0\r\n                px-3\r\n\r\n                sm:px-6\r\n              ",children:[r.jsxs("div",{id:"NextPayment",className:"\r\n                  flex\r\n                  min-w-0\r\n                  flex-col\r\n                  gap-1\r\n                  p-3\r\n\r\n                  sm:flex-row\r\n                  sm:gap-6\r\n                ",children:[r.jsx("div",{className:"\r\n                    shrink-0\r\n                    font-medium\r\n\r\n                    sm:w-48\r\n                    sm:font-normal\r\n                  ",children:"Next Payment"}),r.jsx("div",{className:"min-w-0 break-words",children:(null==e?void 0:e.licenseEndDtUTC)?new Date(e.licenseEndDtUTC).toLocaleDateString("en-US"):""})]}),r.jsxs("div",{className:"\r\n                  flex\r\n                  min-w-0\r\n                  flex-col\r\n                  gap-1\r\n                  border-t-2\r\n                  p-3\r\n\r\n                  sm:flex-row\r\n                  sm:gap-6\r\n                ",children:[r.jsx("div",{className:"\r\n                    shrink-0\r\n                    font-medium\r\n\r\n                    sm:w-48\r\n                    sm:font-normal\r\n                  ",children:"Card Type"}),r.jsx("div",{className:"min-w-0 break-words",children:null==e?void 0:e.brand})]}),r.jsxs("div",{className:"\r\n                  flex\r\n                  min-w-0\r\n                  flex-col\r\n                  gap-1\r\n                  border-t-2\r\n                  p-3\r\n\r\n                  sm:flex-row\r\n                  sm:gap-6\r\n                ",children:[r.jsx("div",{className:"\r\n                    shrink-0\r\n                    font-medium\r\n\r\n                    sm:w-48\r\n                    sm:font-normal\r\n                  ",children:"Card last 4"}),r.jsx("div",{className:"min-w-0 break-words",children:null==e?void 0:e.cardLast4})]}),r.jsxs("div",{className:"\r\n                  flex\r\n                  min-w-0\r\n                  flex-col\r\n                  gap-2\r\n                  border-t-2\r\n                  p-3\r\n\r\n                  sm:flex-row\r\n                  sm:items-center\r\n                  sm:gap-6\r\n                ",children:[r.jsx("div",{className:"\r\n                    shrink-0\r\n                    font-medium\r\n\r\n                    sm:w-48\r\n                    sm:font-normal\r\n                  ",children:"Expiration"}),r.jsxs("div",{className:"\r\n                    flex\r\n                    min-w-0\r\n                    flex-col\r\n                    gap-3\r\n\r\n                    sm:flex-1\r\n                    sm:flex-row\r\n                    sm:items-center\r\n                    sm:gap-6\r\n                  ",children:[r.jsxs("span",{className:"shrink-0",children:[null==e?void 0:e.expMonth,"-",null==e?void 0:e.expYear]}),r.jsx("button",{type:"button",onClick:()=>{t(!i)},className:"\r\n                      w-full\r\n                      cursor-pointer\r\n                      rounded-full\r\n                      border\r\n                      bg-indigo-200\r\n                      px-3\r\n                      py-2\r\n                      text-indigo-600\r\n\r\n                      sm:w-[180px]\r\n                      sm:shrink-0\r\n                    ",children:"Update Card"})]})]})]})]})})}),i&&r.jsx("div",{className:"\r\n            fixed\r\n            inset-0\r\n            z-50\r\n            flex\r\n            items-center\r\n            justify-center\r\n            overflow-y-auto\r\n            bg-black/50\r\n            px-3\r\n            py-5\r\n\r\n            sm:px-4\r\n          ",children:r.jsx("div",{className:"w-full min-w-0 max-w-lg",children:r.jsx(h,{stripe:c,children:r.jsx(j,{setShowUpdateCard:t,getAccountSetting:s})})})})]})}function g(){const{appLoginInfo:e,upgradeChannel:s}
1=a.useContext(n),[t,d]=a.useState(void 0),[c,o]=a.useState(!1),m=async()=>{l.get("/api/AccountSetting/GetAccountSetting",{params:{channelId:null==s?void 0:s.echannelId},headers:{Authorization:`${null==e?void 0:e.token}`}}).then(n=>{d(n.data)}).catch(n=>{}).finally(()=>{o(!1)})};return a.useEffect(()=>{o(!0),m()},[]),r.jsxs("div",{className:"\r\n      relative\r\n      my-4\r\n      flex\r\n      w-full\r\n      min-w-0\r\n      flex-col\r\n      items-stretch\r\n      justify-start\r\n      overflow-x-hidden\r\n      px-2\r\n\r\n      sm:my-6\r\n      sm:px-3\r\n\r\n      md:px-4\r\n    ",children:[r.jsx(i,{title:"TubeNXT Account Settings – Manage Subscription & Payment",description:"Manage your TubeNXT account settings, update your subscription, view the last card used, and customize your YouTube growth tools and analytics preferences.",keywords:"TubeNXT account settings, manage subscription, update payment, last card used, YouTube tools"}),r.jsx(f,{show:c,message:""}),r.jsxs("div",{className:"\r\n        flex\r\n        flex-col\r\n        items-start\r\n        w-full\r\n        min-w-0\r\n        justify-start\r\n        overflow-x-auto\r\n\r\n        [&>*]:w-full\r\n        [&>*]:min-w-0\r\n\r\n        [scrollbar-width:none]\r\n        [-ms-overflow-style:none]\r\n        [&::-webkit-scrollbar]:hidden\r\n      ",children:[r.jsx(w,{ac:t,setAccountData:d}),r.jsx(b,{ac:t,getAccountSetting:m})]})]})}export{g 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.