PageSourceSearch

https://www.tokfame.co/_next/static/chunks/pages/unsubscribe-23d66c274880e8a3.js

js tokfame.co collected 2026-10-07 06:25:49 UTC 8,453 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5785],{6266:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/unsubscribe",function(){return n(1129)}])},3575:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var a=n(5893),r=n(9008),s=n.n(r);function l(e){let{title:t,description:n}=e;return(0,a.jsxs)(s(),{children:[(0,a.jsx)("title",{children:t||"default title"}),(0,a.jsx)("meta",{name:"description",content:n||"default description"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("link",{rel:"icon",href:"/images/favicon.ico"})]})}},1129:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return j}});var a=n(7340),r=n(5893),s=n(7294),l=n(9521),i=n(3067),o=n(3356),c=n(3575),d=n(6144),m=n(7571),u=n(4701),f=n(2727),h=n(6855),x=n(1649),p=n(9332),b=n(4853),v=n(5387);function w(){let e=(0,a._)(["\n  .content {\n    width: 600px;\n  }\n  @media (max-width: 991px) {\n    .content {\n      width: 70%;\n    }\n  }\n\n  @media (max-width: 768px) {\n    .content {\n      width: 90%;\n    }\n  }\n\n  hr {\n    height: 1px;\n    width: 200px;\n  }\n  .forgot-pwd {\n    font-size: 0.8rem;\n    font-weight: 400;\n  }\n  .modal-content {\n    align-items: center;\n  }\n  .modal-header {\n    flex-direction: column;\n    text-align: center;\n  }\n  .modal-body {\n    width: 100%;\n    max-width: 500px;\n  }\n  .title {\n    svg {\n      transform: scale(1.2);\n      top: auto;\n      bottom: -15px;\n    }\n  }\n  .logo {\n    height: auto;\n  }\n  p {\n    font-size: 1rem;\n    font-weight: 400;\n  }\n  button {\n    width: 100%;\n    max-width: 100%;\n  }\n"]);return w=function(){return e},e}let y=/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/;var j=!0;t.default=()=>{let e=(0,p.useRouter)(),t=(0,x.I0)(),[n,a]=(0,s.useState)(""),{handleCancelSubscription:l}=(0,o.m)(),[w,j]=(0,s.useState)(!1),[g,F]=(0,s.useState)(""),[k,C]=(0,s.useState)(!1),E=(0,s.useRef)(),[R,_]=(0,s.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{title:"".concat((0,v.t)("Unsubscribe.head.title")," | TOKFAME"),description:(0,v.t)("Unsubscribe.head.description")}),(0,r.jsxs)(d.Z,{className:"container",children:[(0,r.jsx)(m.Z,{}),(0,r.jsx)(N,{children:(0,r.jsxs)("div",{className:"d-flex flex-column align-items-center",children:[(0,r.jsx)("h2",{className:"font-semibold text-4xl text-center text-primary-yellow max-sm:text-3xl leading-[120%]",children:"Unsubscribe"})," ",(0,r.jsxs)("div",{className:"content",children:[(0,r.jsx)("p",{className:"mt-4 text-center",children:"Please provide the email address used during your registration to cancel your subscription."}),(0,r.jsx)("div",{className:"",children:(0,r.jsxs)("form",{children:[(0,r.jsx)(f.Z,{type:"email",id:"email",name:"email",placeholder:"Email address",className:"mb-3",format:y,label:"",redBorder:R,onChange:e=>{_(!1),F(e.target.value)}}),(0,r.jsx)(b.Z,{ref:E,sitekey:"6LcxuxcpAAAAALRZ8ej6UNQkkrrzKytVT1huKUXz",onChange:function(e){C(e),a("")}}),(0,r.jsx)(i.Z,{type:"button",loading:w,size:"lg",variant:"primary",className:"mt-3 mb-5",error:n,onClick:async n=>{try{a(""),j(!0),n.preventDefault(),g&&g.match(y)?k?(await l(g,String(k)),t((0,h.GA)("The cancellation process for your subscription has been completed successfully, and your subscription has been officially terminated as per your request.")),e.push("/")):a("Please verify that you are not a robot."):a("You needs to enter a valid email address."),j(!1)}catch(e){E.current&&E.current.reset(),a(String(e)),j(!1)}},children:"Unsubscribe"})]})})]})]})}),(0,r.jsx)(u.Z,{withOrder:!1})]})]})};let N=l.ZP.section.withConfig({componentId:"sc-7f8f4266-0"})(w())},2914:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var a=n(3967),r=n.n(a),s=n(5697),l=n.n(s),i=n(7294),o=n(5893);let c={type:l().string,tooltip:l().bool,as:l().elementType},d=i.forwardRef(({as:e="div",className:t,type:n="valid",tooltip:a=!1,...s},l)=>(0,o.jsx)(e,{...s,ref:l,className:r()(t,`${n}-${a?"tooltip":"feedback"}`)}));d.displayName="Feedback",d.propTypes=c;let m=i.createContext({});var u=n(6792);let f=i.forwardRef(({id:e,bsPrefix:t,className:n,type:a="checkbox",isValid:s=!1,isInvalid:l=!1,as:c="input",...d},f)=>{let{controlId:h}=(0,i.useContext)(m);return t=(0,u.vE)(t,"form-check-input"),(0,o.jsx)(c,{...d,ref:f,type:a,id:e||h,className:r()(n,t,s&&"is-valid",l&&"is-invalid")})});f.displayName="FormCheckInput";let h=i.forwardRef(({bsPrefix:e,className:t,htmlFor:n,...a},s)=>{let{controlId:l}=(0,i.useContext)(m);return e=(0,u.vE)(e,"form-check-label"),(0,o.jsx)("label",{...a,ref:s,htmlFor:n||l,className:r()(t,e)})});h.displayName="FormCheckLabel";let x=i.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:n,inline:a=!1,reverse:s=!1,disabled:l=!1,isValid:c=!1,isInvalid:x=!1,feedbackTooltip:p=!1,feedback:b,feedbackType:v,className:w,style:y,title:j="",type:N="checkbox",label:g,children:F,as:k="input",...C},E)=>{t=(0,u.vE)(t,"form-check"),n=(0,u.vE)(n,"form-switch");let{controlId:R}=(0,i.useContext)(m),_=(0,i.useMemo)(()=>({controlId:e||R}),[R,e]),$=!F&&null!=g&&!1!==g||i.Children.toArray(F).some(e=>i.isValidElement(e)&&e.type===h),S=(0,o.jsx)(f,{...C,type:"switch"===N?"checkbox":N,ref:E,isValid:c,isInvalid:x,disabled:l,as:k});return(0,o.jsx)(m.Provider,{value:_,children:(0,o.jsx)("div",{style:y,className:r()(w,$&&t,a&&`${t}-inline`,s&&`${t}-reverse`,"switch"===N&&n),children:F||(0,o.jsxs)(o.Fragment,{children:[S,$&&(0,o.jsx)(h,{title:j,children:g}),b&&(0,o.jsx)(d,{type:v,tooltip:p,children:b})]})})})});x.displayName="FormCheck";var p=Object.assign(x,{Input:f,Label:h});n(2473);let b=i.forwardRef(({bsPrefix:e,type:t,size:n,htmlSize:a,id:s,className:l,isValid:c=!1,isInvalid:d=!1,plaintext:f,readOnly:h,as:x="input",...p},b)=>{let{controlId:v}=(0,i.useContext)(m);return e=(0,u.vE)(e,"form-control"),(0,o.jsx)(x,{...p,type:t,size:a,ref:b,readOnly:h,id:s||v,className:r()(l,f?`${e}-plaintext`:e,n&&`${e}-${n}`,"color"===t&&`${e}-color`,c&&"is-valid",d&&"is-invalid")})});b.displayName="FormControl";var v=Object.assign(b,{Feedback:d});let w=i.forwardRef(({className:e,bsPrefix:t,as:n="div",...a},s)=>(t=(0,u.vE)(t,"form-floating"),(0,o.jsx)(n,{ref:s,className:r()(e,t),...a})));w.displayName="FormFloating";let y=i.forwardRef(({controlId:e,as:t="div",...n},a)=>{let r=(0,i.useMemo)(()=>({controlId:e}),[e]);return(0,o.jsx)(m.Provider,{value:r,children:(0,o.jsx)(t,{...n,ref:a})})});y.displayName="FormGroup";var j=n(1555);let N=i.forwardRef(({as:e="label",bsPrefix:t,column:n=!1,visuallyHidden:a=!1,className:s,htmlFor:l,...c},d)=>{let{controlId:f}=(0,i.useContext)(m);t=(0,u.vE)(t,"form-label");let h="col-form-label";"string"==typeof n&&(h=`${h} ${h}-${n}`);let x=r()(s,t,a&&"visually-hidden",n&&h);return(l=l||f,n)?(0,o.jsx)(j.Z,{ref:d,as:"label",className:x,htmlFor:l,...c}):(0,o.jsx)(e,{ref:d,className:x,htmlFor:l,...c})});N.displayName="FormLabel";let g=i.forwardRef(({bsPrefix:e,className:t,id:n,...a},s)=>{let{controlId:l}=(0,i.useContext)(m);return e=(0,u.vE)(e,"form-range"),(0,o.jsx)("input",{...a,type:"range",ref:s,className:r()(t,e),id:n||l})});g.displayName="FormRange";let F=i.forwardRef(({bsPrefix:e,size:t,htmlSize:n,className:a,isValid:s=!1,isInvalid:l=!1,id:c,...d},f)=>{let{controlId:h}=(0,i.useContext)(m);return e=(0,u.vE)(e,"form-select"),(0,o.jsx)("select",{...d,size:n,ref:f,className:r()(a,e,t&&`${e}-${t}`,s&&"is-valid",l&&"is-invalid"),id:c||h}
1)});F.displayName="FormSelect";let k=i.forwardRef(({bsPrefix:e,className:t,as:n="small",muted:a,...s},l)=>(e=(0,u.vE)(e,"form-text"),(0,o.jsx)(n,{...s,ref:l,className:r()(t,e,a&&"text-muted")})));k.displayName="FormText";let C=i.forwardRef((e,t)=>(0,o.jsx)(p,{...e,ref:t,type:"switch"}));C.displayName="Switch";var E=Object.assign(C,{Input:p.Input,Label:p.Label});let R=i.forwardRef(({bsPrefix:e,className:t,children:n,controlId:a,label:s,...l},i)=>(e=(0,u.vE)(e,"form-floating"),(0,o.jsxs)(y,{ref:i,className:r()(t,e),controlId:a,...l,children:[n,(0,o.jsx)("label",{htmlFor:a,children:s})]})));R.displayName="FloatingLabel";let _={_ref:l().any,validated:l().bool,as:l().elementType},$=i.forwardRef(({className:e,validated:t,as:n="form",...a},s)=>(0,o.jsx)(n,{...a,ref:s,className:r()(e,t&&"was-validated")}));$.displayName="Form",$.propTypes=_;var S=Object.assign($,{Group:y,Control:v,Floating:w,Check:p,Switch:E,Label:N,Text:k,Range:g,Select:F,FloatingLabel:R})}},function(e){e.O(0,[9427,5675,262,7236,7571,9774,2888,179],function(){return e(e.s=6266)}),_N_E=e.O()}]);

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.