PageSourceSearch

https://www.j9hosting.com/static/scripts/639.5d642ea5.js

js j9hosting.com collected 2026-10-07 22:24:12 UTC 3,441 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_reseller_storefront=self.webpackChunk_reseller_storefront||[]).push([[639],{4639:(e,s,r)=>{r.r(s),r.d(s,{default:()=>f,errorGrowl:()=>j});var i=r(6540),t=r(6442),n=r(8065),c=r(5235),l=r(4877),d=r(2098),a=r(550),u=r(4108),b=r(6586),o=r(5583),h=r(8946),p=r(3932),m=r(2583),x=r(4848);const j=(e,s)=>{b.A.addGrowlMessage({id:`unsubscribe-${s}-error-growl`,title:e.formatMessage({id:"unsubscribe.growls.error.title"}),children:e.formatMessage({id:"unsubscribe.growls.error.content"}),emphasis:"critical",lifetime:5e3})},f=()=>{const{settings:{privateLabelId:e,envPrefix:s,displayName:r,location:{query:{ee:b}}},emailAddress:f}=(0,h.NT)(),g=(0,t.A)(),[A,v]=(0,i.useState)(!0),[N,y]=(0,i.useState)(!1),[k,w]=(0,i.useState)([]),[_,C]=(0,i.useState)([]);(0,i.useEffect)((()=>{(()=>{const r=`https://gui.${s}secureserver.net/v1/subscription/list`,i={headers:{"Content-Type":"application/json"},query:{EncryptedEmailAddress:b,plid:e}};o.request.get(r,i,((e,s)=>{if(e)return v(!1),j(g,"get");v(!1),w(s.subscriptions),0===s.subscriptions.length&&y(!0)}))})()}),[]);const S=(e,s)=>{const{value:r="",checked:i}=s.event.target||{};C(i?[..._,r]:_.filter((e=>e!==r)))},E=()=>{v(!0);const e={EncryptedEmailAddress:b,ListNames:_},r={headers:{"Content-Type":"application/json"},body:JSON.stringify(e)},i=`https://gui.${s}secureserver.net/v1/subscription/unsubscribe`;o.request.del(i,r,(e=>{if(e)return v(!1),j(g,"del");v(!1),y(!0)}))};let $;return $=A?(0,x.jsx)("div",{className:"text-center",children:(0,x.jsx)(d.A,{inline:"true",size:"lg"})}):N?(0,x.jsxs)(p.A,{className:"unsubscribe-card",children:[(0,x.jsx)("h2",{children:(0,x.jsx)(n.A,{id:"unsubscribe.card.unsubscribed.title"})}),(0,x.jsx)(c.A,{id:"unsubscribed-success-alert",title:"Unsubscribed Success Alert",emphasis:"success",dismissible:"false",children:(0,x.jsx)(n.A,{id:"unsubscribe.card.unsubscribed.alert"})}),(0,x.jsx)("p",{children:(0,x.jsx)(n.A,{id:"unsubscribe.card.unsubscribed.description",values:{emailAddress:f,strong:e=>(0,x.jsx)("strong",{children:e})}})}),(0,x.jsx)(l.A,{design:"primary",href:`https://account.${s}secureserver.net/preferences?plid=${e}`,"data-eid":"storefront.unsubscribe.email_preferences_button.click",children:(0,x.jsx)(n.A,{id:"unsubscribe.card.unsubscribed.button"})})]}):(0,x.jsxs)(p.A,{className:"unsubscribe-card",children:[(0,x.jsx)("h2",{children:(0,x.jsx)(n.A,{id:"unsubscribe.card.default.title",values:{displayName:r}})}),(0,x.jsx)("p",{children:(0,x.jsx)(n.A,{id:"unsubscribe.card.default.description",values:{emailAddress:f,strong:e=>(0,x.jsx)("strong",{children:e})}})}),(0,x.jsx)(u.A,{children:k?.map((e=>(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(a.default,{value:e.listName,id:e.displayName,name:e.displayName,label:e.displayName,onChange:S},e.listName),(0,x.jsx)("br",{})]})))}),(0,x.jsx)("br",{}),(0,x.jsx)(l.A,{design:"primary",type:"submit",onClick:E,"data-eid":"storefront.unsubscribe.unsubscribe_button.click",disabled:0===_.length,children:(0,x.jsx)(n.A,{id:"unsubscribe.card.default.button"})})]}),(0,x.jsxs)("div",{className:"unsubscribe",children:[(0,x.jsx)(m.A,{children:(0,x.jsx)("h1",{className:"headline-brand",children:(0,x.jsx)(n.A,{id:"unsubscribe.title"})})}),(0,x.jsx)("div",{className:"container",children:(0,x.jsx)("div",{className:"row",children:(0,x.jsx)("div",{className:"col-xs-12 col-sm-10 offset-sm-1 col-lg-8 offset-lg-2",children:$})})})]})}}}]);
2//# sourceMappingURL=639.5d642ea5.js.map

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.