PageSourceSearch

https://www.skyshowtime.com/idauth/_next/static/chunks/pages/forgotten-password-e5ea600eeccaf621.js

js skyshowtime.com collected 2026-09-24 09:30:02 UTC 15,385 bytes, 5 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8824],{50017:(e,t,r)=>{"use strict";r.d(t,{k:()=>o,y:()=>l});var i=r(81897),n=r(70124),a=r(32322),s=r(81812);async function o(){let{addV2Header:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{addV2Header:!1},{territory:t,proposition:r,provider:o,device:l,platform:d,identity:c}=(0,i.zj)(),[u,f]=await (0,n.E)({url:(0,s.Z)("rango","/resetpassword/service/international"),headers:(0,a.j)({territory:t,proposition:r,provider:o,device:l,platform:d,rangoV2Header:e}),timeout:5e3,service:"LOAD_FORGOTTEN_PASSWORD",withCredentials:!0,params:{resetPasswordUrl:c?.resetPasswordContextUrl??""}});return[u,f]}async function l(e){let{addV2Header:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{addV2Header:!1},{territory:r,proposition:o,provider:l,device:d,platform:c}=(0,i.zj)(),[u,f]=await (0,n.E)({url:(0,s.Z)("rango","/resetpassword/service/international"),method:"post",data:(0,a.X)(e),headers:(0,a.j)({territory:r,proposition:o,provider:l,device:d,platform:c,rangoV2Header:t}),timeout:1e4,service:"SUBMIT_FORGOTTEN_PASSWORD",withCredentials:!0,dangerouslyRetryPost:!0});return[u,f]}},52271:(e,t,r)=>{"use strict";r.d(t,{Eg:()=>w});var i=r(23532),n=r(64824),a=r(88182),s=r(37883),o=r(45538);let l=e=>i.createElement(o.A,{...e,iconName:"close",defaultSize:24,viewBox:"0 0 24 24"},i.createElement("path",{d:"M10.5849 11.9997L3.99881 18.586L5.41305 20.0002L11.9992 13.4139L18.5855 20L19.9997 18.5858L13.4133 11.9997L19.9996 5.41321L18.5853 3.99902L11.9991 10.5855L5.41273 3.9993L3.99854 5.41353L10.5849 11.9997Z",fill:"currentColor"}));var d=r(95613),c=r(56244);let u=["h1","h2","h3","h4","h5","h6"],f={ALLOWED_TAGS:["a","br","em","strong","span"],ALLOWED_ATTR:["href","target","rel"]},m=["noopener","noreferrer"],k=!1,p=e=>(k||(n.Ay.addHook("afterSanitizeAttributes",e=>{if(!e||"function"!=typeof e.getAttribute||"A"!==e.tagName||"_blank"!==e.getAttribute("target"))return;let t=Array.from(new Set([...(e.getAttribute("rel")??"").split(/\s+/).filter(Boolean),...m]));e.setAttribute("rel",t.join(" "))}),k=!0),n.Ay.sanitize(e,f)),g={info:"tk:bg-background-sentiment-inform",warning:"tk:bg-background-sentiment-inform",success:"tk:bg-background-sentiment-success",error:"tk:bg-background-sentiment-error"},h={info:e=>i.createElement(o.A,{...e,iconName:"notification-info",defaultSize:26,viewBox:"0 0 26 26"},i.createElement("path",{d:"M13 .396C6.083.396.427 5.833.427 12.552c0 6.718 5.656 12.155 12.571 12.155S25.57 19.27 25.57 12.552C25.57 5.833 19.914.396 12.999.396ZM2.3 12.552C2.3 6.885 7.086 2.239 13 2.239c5.912 0 10.698 4.646 10.698 10.313 0 5.667-4.786 10.312-10.699 10.312S2.3 18.22 2.3 12.552Zm12.065 5.532v-7.179h-2.652v7.179h2.652ZM11.618 8.009a1.369 1.369 0 0 0-.126.58c0 .193.042.375.126.548.074.183.185.336.332.457.137.133.3.234.49.305.189.082.389.122.6.122.21 0 .41-.04.599-.122.19-.07.353-.172.49-.305a1.55 1.55 0 0 0 .33-.472c.075-.173.111-.356.111-.549a1.27 1.27 0 0 0-.126-.564 1.612 1.612 0 0 0-.331-.457 1.44 1.44 0 0 0-.474-.305 1.693 1.693 0 0 0-.6-.106c-.21 0-.41.04-.6.122a1.54 1.54 0 0 0-.489.29 1.287 1.287 0 0 0-.332.456Z",fill:"#fff",fillRule:"evenodd",clipRule:"evenodd"})),warning:e=>i.createElement(o.A,{...e,iconName:"notification-warning",defaultSize:26,viewBox:"0 0 26 26"},i.createElement("path",{d:"M13 .396C6.083.396.427 5.833.427 12.552c0 6.718 5.656 12.155 12.571 12.155S25.57 19.27 25.57 12.552C25.57 5.833 19.914.396 12.999.396ZM2.3 12.552C2.3 6.885 7.086 2.239 13 2.239c5.912 0 10.698 4.646 10.698 10.313 0 5.667-4.786 10.312-10.699 10.312S2.3 18.22 2.3 12.552Zm12.065 5.532v-7.179h-2.652v7.179h2.652ZM11.618 8.009a1.369 1.369 0 0 0-.126.58c0 .193.042.375.126.548.074.183.185.336.332.457.137.133.3.234.49.305.189.082.389.122.6.122.21 0 .41-.04.599-.122.19-.07.353-.172.49-.305a1.55 1.55 0 0 0 .33-.472c.075-.173.111-.356.111-.549a1.27 1.27 0 0 0-.126-.564 1.612 1.612 0 0 0-.331-.457 1.44 1.44 0 0 0-.474-.305 1.693 1.693 0 0 0-.6-.106c-.21 0-.41.04-.6.122a1.54 1.54 0 0 0-.489.29 1.287 1.287 0 0 0-.332.456Z",fill:"#fff",fillRule:"evenodd",clipRule:"evenodd"})),success:e=>i.createElement(o.A,{...e,iconName:"notification-success",defaultSize:26,viewBox:"0 0 26 26"},i.createElement("path",{d:"M13 .429C6.067.429.427 6.069.427 13s5.64 12.572 12.571 12.572c6.932 0 12.572-5.64 12.572-12.572C25.57 6.07 19.93.43 12.999.43ZM2.3 13C2.3 7.104 7.103 2.301 13 2.301c5.895 0 10.698 4.803 10.698 10.7 0 5.895-4.803 10.698-10.699 10.698S2.3 18.896 2.3 13Zm14.533-3.713 1.382 1.38-6.906 6.906-.001-.002-.072.072-3.721-3.72 1.38-1.382 2.342 2.342 5.596-5.596Z",fill:"#fff",fillRule:"evenodd",clipRule:"evenodd"})),error:e=>i.createElement(o.A,{...e,iconName:"notification-error",defaultSize:26,viewBox:"0 0 26 26"},i.createElement("path",{d:"M13 .396C6.083.396.427 5.833.427 12.552c0 6.718 5.656 12.155 12.571 12.155S25.57 19.27 25.57 12.552C25.57 5.833 19.914.396 12.999.396ZM2.3 12.552C2.3 6.885 7.086 2.239 13 2.239c5.912 0 10.698 4.646 10.698 10.313 0 5.667-4.786 10.312-10.699 10.312S2.3 18.22 2.3 12.552Zm9.397-5.411v7.178h2.652V7.141h-2.652Zm2.747 10.074c.084-.183.126-.375.126-.579 0-.193-.042
1-.376-.126-.549a1.13 1.13 0 0 0-.332-.457 1.406 1.406 0 0 0-.489-.305 1.505 1.505 0 0 0-.6-.121c-.21 0-.41.04-.6.121a1.426 1.426 0 0 0-.489.305 1.55 1.55 0 0 0-.331.473c-.074.172-.11.355-.11.548 0 .204.041.392.125.564.085.173.195.326.332.458s.295.233.474.304c.189.072.389.107.6.107.21 0 .41-.04.6-.122.189-.07.352-.167.489-.29.147-.131.257-.284.331-.457Z",fill:"#fff",fillRule:"evenodd",clipRule:"evenodd"}))},x=e=>{let{cta:t,className:r}=e,{id:n,ctaText:a,onClick:s,href:o,to:l,style:d}=t;return i.createElement(c.$,{id:n,"data-testid":n,variant:"notification",onClick:s,href:o??l,style:d,wrapText:!0,className:r},a)},w=e=>{var t;let{id:r,mode:n="info",dismissable:o=!0,ariaLabelClose:c="close notification",title:f,titleLevel:m="h3",onClose:k,onTrack:w,content:E,children:v,cta:b,notificationRequestInfo:y,className:S,groupId:j,...C}=e,[_,A]=(0,i.useState)(!1),N=(0,i.useRef)(!1),L=(0,i.useRef)(null),P=`notification-${r}`,I=f?`${P}-title`:void 0,$=u.includes(m),M=$?m:"h3";(0,i.useEffect)(()=>{$||console.warn(`[Notification] Invalid \`titleLevel\` "${m}"; expected one of ${u.join(", ")}. Falling back to "h3".`)},[m,$]),(0,i.useEffect)(()=>{A(!1),N.current=!1},[r]),(0,i.useEffect)(()=>{if(!w)return;let e=JSON.stringify({id:r,mode:n,title:f,content:E});e!==L.current&&(w(),L.current=e)},[r,n,f,E,w]);let R=(0,i.useCallback)(()=>{N.current||(N.current=!0,A(!0),k?.())},[k]),T=Array.isArray(b)?b:null,Z=!Array.isArray(b)&&b?b:null,O=null!==T&&1===T.length?T[0]:null,z=null!==T&&T.length>1?T:null,F=[y?.errorCode,(t=y?.requestId)?t.slice(0,7):t].filter(Boolean).join("_")||null,H=(0,s.cn)("tk:text-tk-12 tk:md:text-tk-16 tk:leading-[1.825rem] tk:font-[var(--font-weight-notification-body)]","tk:[&_a]:text-content-sentiment-inverse tk:[&_a]:underline"),W=(0,i.useMemo)(()=>f?p(f):"",[f]),B=(0,i.useMemo)(()=>!v&&E?p(E):"",[v,E]),D=h[n]??h.info,V=!!(O||Z),q=o?" [close] 26px":"",U=o?" close":"",X=`"icon titleContent${U}"${V||z?` "ctas ctas${o?" ctas":""}"`:""}`,G=`[icon] 26px [titleContent] 1fr${q}`,Q=`"icon titleContent${V?" ctas":""}${U}"${z?` "ctas ctas${V?" ctas":""}${o?" ctas":""}"`:""}`,J=`[icon] 26px [titleContent] 1fr${V?" [ctas] fit-content(50%)":""}${q}`,K="u">typeof CSS&&"function"==typeof CSS.escape?CSS.escape(P):P.replace(/(["\\])/g,"\\$1"),Y=`[data-testid="${K}"] > .tk-notification-grid`,ee=`${Y}{display:grid;gap:16px;align-items:center;grid-template-areas:${X};grid-template-columns:${G};}@media (min-width: ${a.a.md}px){${Y}{grid-template-areas:${Q};grid-template-columns:${J};}}`;return i.createElement("div",{...C,"data-testid":P,"data-group-id":j,role:"error"===n?"alert":"status","aria-labelledby":I,"aria-hidden":_||void 0,className:(0,s.cn)("dark","tk:rounded-xl tk:py-4 tk:px-5 tk:md:py-[23px] tk:md:px-[22px]","tk:text-content-sentiment-inverse",g[n],_&&"tk:hidden",S)},i.createElement("style",null,ee),i.createElement("div",{className:"tk-notification-grid"},i.createElement("div",{"data-testid":`notification-icon-${n}`,className:"tk:[grid-area:icon] tk:w-[26px] tk:h-[26px]"},i.createElement(D,{size:26,"data-testid":`icon-notification-${n}`})),i.createElement("div",{className:"tk:[grid-area:titleContent] tk:flex tk:flex-col tk:items-start tk:min-w-0"},f&&i.createElement(M,{id:I,className:"tk:m-0 tk:font-bold tk:text-left tk:text-tk-16 tk:sm:text-tk-15 tk:md:text-tk-20 tk:md:leading-tk-20 tk:mr-4 tk:md:mr-5",dangerouslySetInnerHTML:{__html:W}}),v&&i.createElement("div",{className:H},v),!v&&E&&i.createElement("div",{className:H,dangerouslySetInnerHTML:{__html:B}}),F&&i.createElement(d.EY,{variant:"bodyXs","data-testid":`${P}-request-info`},F)),O&&i.createElement("div",{className:"tk:[grid-area:ctas] tk:justify-self-stretch"},i.createElement(x,{cta:O,className:"tk:w-full tk:md:w-auto"})),Z&&i.createElement("div",{className:"tk:[grid-area:ctas] tk:justify-self-stretch tk:w-full tk:md:w-auto"},Z),z&&i.createElement("div",{className:"tk:[grid-area:ctas] tk:flex tk:flex-col tk:gap-4 tk:md:flex-row tk:md:gap-5 tk:md:justify-between tk:w-full"},z.map(e=>i.createElement(x,{key:e.id,cta:e,className:"tk:w-full tk:md:w-auto"}))),o&&i.createElement("div",{className:"tk:[grid-area:close] tk:justify-self-end"},i.createElement("button",{type:"button","aria-label":c,onClick:R,"data-tracking-label":"close notification","data-tracking-action":"close",className:(0,s.cn)("tk:cursor-pointer tk:bg-transparent tk:border-0 tk:p-0 tk:leading-none tk:h-[26px]","tk:flex tk:items-center","tk:rounded-sm","tk:focus-visible:outline tk:focus-visible:outline-2 tk:focus-visible:outline-offset-2 tk:focus-visible:outline-content-sentiment-inverse")},i.createElement(l,{size:18,"aria-label":c})))))}},62839:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgotten-password",function(){return r(85885)}])},85885:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>R,default:()=>Z,getDataRequirements:()=>T});var i=r(37632),n=r(23532),a=r(50017),s=r(26066),o=r(59814),l=r(29774),d=r(47154),c=r(55518),u=r(51997),f=r(30002),m=r(94863),k=r(24377),p=r(17471),g=r(63874),h=r(16326),x=r(37565),w=r(75705),E=r(40189),v=r(57444),b=r(4120),y=r(86730),S=r(78991),j=r(56244),C=r(88992),_=r(16049);let A=()=>{let{t:e}=(0,c.Q)(),{control:t}=(0,C.xW)(),{isValid:r,isSubmitting:n}=(0,C.lN)({control:t});return(0,i.jsx)(j.$,{type:"submit",fullWidth:!0,disabled:!r||n,"data-testid":"submit-forgotten-password",dataTracking:!0,"data-tracking-module":"reset-password","data-tracking-action":"click","data-tracking-label":"continue",children:e("forgottenPassword.button.sendEmail")})},N=()=>{let{t:e}=(0,c.Q)(),t=(0,l.r)();return(0,i.jsx)(j.$,{"data-testid":"use-mobile",variant:"secondary",type:"button",fullWidth:!0,className:"tk:mt-[1.25rem]",dataTracking:!0,"data-tracking-module":"reset-password","data-tracking-action":"click","data-tracking-label":"use-mobile",onClick:()=>{let e=(0,k.RI)(h.W.MobileForgotPassword);e&&t.push(e)},children:e("forgottenPassword.button.useMobile")}
1)},L=e=>{let{result:t,email:r,onSubmit:a,forgotUsingMobile:s}=e,o=`
2    'userIdentifier userIdentifier userIdentifier userIdentifier userIdentifier userIdentifier userIdentifier userIdentifier userIdentifier userIdentifier userIdentifier userIdentifier'
3    'children children children children children children children children children children children children'
4  `,{defaultValues:l,schema:d,errors:c}=t;return d?(0,i.jsxs)(n.Fragment,{children:[(0,i.jsxs)(S.lV,{schema:d,layout:o,onSubmit:a,errors:c,defaultValues:{...l,email:l?.email??r},children:[(0,i.jsx)(_.Z,{shouldReset:!0,fields:["_csrf"],defaultValues:l??{}}),(0,i.jsx)(A,{})]}),s&&(0,i.jsx)(N,{})]}):null};var P=r(19439);let I={linkExpired:"link-expired-forgotten-password-form",emailAndLinkExpired:"link-expired-signed-in-forgotten-password-form",justEmail:"signed-in-forgotten-password-form",noEmailOrLinkExpired:"forgotten-password-form"},$=e=>{let{email:t,resetPasswordTokenExpired:r,serverFormError:s,result:o,setRangoSchema:d,userProfileLoading:S,forgotUsingMobile:j}=e,C=(0,l.r)(),{t:_}=(0,c.Q)(),A=(0,f.m)(),[N,$]=(0,n.useState)(!1),[M,R]=(0,n.useState)(s),[T,Z]=(0,n.useState)(void 0),[O,z]=(0,n.useState)(void 0),[F,H]=(0,n.useState)(),W={linkExpired:(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)("p",{children:_("forgottenPassword.expiredLink")}),(0,i.jsx)("p",{children:_("forgottenPassword.expiredLinkDescription")}),(0,i.jsx)("p",{children:_("forgottenPassword.helpText")})]}),emailAndLinkExpired:(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)("p",{children:_("forgottenPassword.expiredLink")}),(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:(0,x.A)(_("forgottenPassword.signedIn.expiredLinkDescription",{emailAddress:t}))}}),(0,i.jsx)("p",{children:_("forgottenPassword.signedIn.helpText")})]}),justEmail:(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:(0,x.A)(_("forgottenPassword.signedIn.description",{emailAddress:t}))}}),(0,i.jsx)("p",{children:_("forgottenPassword.signedIn.helpText")})]}),noEmailOrLinkExpired:(0,i.jsx)("p",{children:_("forgottenPassword.description")})},{schema:B}=o,D=!!(B&&B.length>0),V=t||A,q=e=>{let i="description"===e?W:I;return t&&r?i.emailAndLinkExpired:r?i.linkExpired:t?i.justEmail:i.noEmailOrLinkExpired},U=async e=>{let[t,r]=await (0,a.y)(e),i=String(e.userIdentifier);if(t){Z(t?.data?.errorCode),z(t?.data?.requestId),t?.data?.isShapeError?$(!0):(0,g.op)(t?.data)?d(t?.data):t?.data?.errorCode==="-1"&&(R(!0),H({userIdentifier:{type:"custom",message:_("forgottenPassword.email.domain.invalid")}}));return}if((0,p.G)(r)){(0,w.K6)({userIdentifier:i}),(0,p.K)(C,r?.properties?.data);return}(0,P.Cp)(i);{let e=(0,k.RI)(h.W.ForgottenPasswordConfirmation);e&&C.push(e)}},X=!!(M||N);return(0,n.useEffect)(()=>{X?(0,v.me)("forgottenPassword","error",{type:"error",notificationProps:{id:"forgotten-password-error",content:_("forgottenPassword.defaultError"),dismissable:!1,notificationRequestInfo:{errorCode:T,requestId:O}}}):(0,v.yk)("forgottenPassword","error")},[X,T,O,_]),(0,i.jsxs)("div",{children:[(0,i.jsx)(m.A,{children:_("forgottenPassword.resetpassword.title")}),(0,i.jsxs)(u.fI,{withSpacing:!0,children:[(0,i.jsx)(E.v,{scope:"forgottenPassword",id:"error"}),(0,i.jsx)(b.C,{className:"tk:p-[16px] tk:sm:p-[24px] tk:md:p-[32px]","data-id":q("dataAttribute"),gridAlignment:y.X.span7,children:(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)("div",{className:"forgotten-password__description",children:q("description")}),!S&&D&&(0,i.jsx)(L,{result:{...o,errors:{...o.errors,...F}},email:V,onSubmit:U,forgotUsingMobile:j})]})})]})]})};var M=r(76812),R=!0;let T=async e=>{let[t,[,r]]=await Promise.all([(0,M.x)(e),(0,a.k)()]),i=!1;try{(0,s.q)(r)}catch(e){i=!0}return{props:{...t.props,rangoResponse:r,serverFormError:i}}};function Z(e){let{rangoResponse:t,serverFormError:r}=e,a=(0,l.r)(),{email:s,userProfileLoading:c,result:u,setRangoSchema:f,loadForm:m,loadFormError:k}=(0,d.ri)({rangoResponse:t}),[{forgotUsingMobile:p}]=(0,o.J)(["forgotUsingMobile"]);(0,n.useEffect)(()=>{m({forceRefetch:!(r||k)})},[]);let g="true"===a.query.tokenExpired;return(0,i.jsx)($,{email:s,resetPasswordTokenExpired:g,serverFormError:r||k,result:u,setRangoSchema:f,userProfileLoading:c,forgotUsingMobile:p})}}},e=>{e.O(0,[8096,3825,5869,7883,8879,8991,3643,636,6593,8792],()=>e(e.s=62839)),_N_E=e.O()}]);
5//# sourceMappingURL=forgotten-password-e5ea600eeccaf621.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.