PageSourceSearch

https://app.sundancetv.com/code/js/84431.913dafd82baa9398191b.js

js sundancetv.com collected 2026-10-02 06:58:27 UTC 10,976 bytes, 3 lines download raw bytes

1(()=>{(function(){try{var O=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},E=new O.Error().stack;E&&(O._sentryDebugIds=O._sentryDebugIds||{},O._sentryDebugIds[E]="38bb5e7b-1704-4afb-8d92-65d049afac1f",O._sentryDebugIdIdentifier="sentry-dbid-38bb5e7b-1704-4afb-8d92-65d049afac1f")}catch(t){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[84431],{1249:((O,E,t)=>{t.d(E,{p:()=>C});var e=t(96540),f=t(58562),D=t(13516);const _={colorRed:"#b60e0e",textSecondaryDarkMode:"#c5cad3",alertDarkMode:"#ff6b6b",textDarkModeColor:"#fff",darkGreyDarkModeColor:"#2a2a2a"},C=({suggestedEmail:r,onAccept:R,onDismiss:g,show:P})=>{var I,p,u;const l=(0,f.b0)(["didYouMean","acceptSuggestion","dismissSuggestion"],{didYouMean:{email:r},acceptSuggestion:{email:r},dismissSuggestion:{email:r}}),m=n=>{n.preventDefault(),R(r)},U=n=>{n.preventDefault(),g()},d=(n,c)=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),c())},s=e.createElement("button",{type:"button",className:"email-suggestion__suggestion",onClick:m,onKeyPress:n=>d(n,()=>R(r)),"aria-label":(I=l.acceptSuggestion)==null?void 0:I.value,tabIndex:0},e.createElement("bdi",null,r)),o=(p=(0,f.jZ)(["didYouMean","acceptSuggestion","dismissSuggestion"],{didYouMean:{email:s}}).didYouMean)==null?void 0:p.value;return!P||!r?null:e.createElement("div",{className:(0,D.AH)("email-suggestion",P?"email-suggestion--visible":void 0),role:"region","aria-live":"polite","aria-label":l.didYouMean.value},e.createElement("div",{className:"email-suggestion__content"},e.createElement("span",{className:"email-suggestion__text"},Array.isArray(o)?o.map((n,c)=>e.createElement(e.Fragment,{key:c},n)):o),e.createElement("button",{type:"button",className:"email-suggestion__dismiss",onClick:U,onKeyPress:n=>d(n,g),"aria-label":(u=l.dismissSuggestion)==null?void 0:u.value,tabIndex:0},"\xD7")))},y=null}),3608:((O,E,t)=>{t.d(E,{q:()=>D});var e=t(32248),f=t(90953);const D=()=>{var _,C;return((C=(_=(0,f.U)())==null?void 0:_.settings)==null?void 0:C.EMAIL_SPELL_CHECKER)===e.X4.ENABLED}}),11036:(()=>{var O={colorRed:"#b60e0e",textSecondaryDarkMode:"#c5cad3",alertDarkMode:"#ff6b6b",textDarkModeColor:"#fff",darkGreyDarkModeColor:"#2a2a2a"}}),21678:((O,E,t)=>{t.d(E,{Z:()=>f});var e=t(96540);const f=D=>{const _=e.useRef(null);return e.useEffect(()=>{_.current=D}),_.current}}),36555:((O,E,t)=>{t.d(E,{y:()=>R});var e=t(96540),f=t(20181),D=t.n(f),_=t(3608);const C=300;let y=null;const r=async()=>{if(y)return y;try{return y=await t.e(97080).then(t.bind(t,97080)),y}catch(g){return console.error("Error loading email-misspelled library"),null}},R=g=>{const P=(0,_.q)(),[I,p]=(0,e.useState)(""),[u,l]=(0,e.useState)(!1),m=(0,e.useCallback)(D()(async s=>{var a;if(!P||!(s!=null&&s.includes("@"))){p(""),l(!1);return}const o=await r();if(o)try{const c=(a=o.default({domains:o.top100})(s).find(v=>v.corrected!==s&&v.corrected.trim()))==null?void 0:a.corrected;c?(p(c),l(!0)):(p(""),l(!1))}catch(n){p(""),l(!1)}},C),[P]),U=s=>{g(s),l(!1),p("")},d=()=>{l(!1),p("")};return(0,e.useEffect)(()=>()=>{m.cancel()},[m]),{isEnabled:P,suggestion:I,showSuggestion:u,checkEmailSpelling:m,acceptSuggestion:U,dismissSuggestion:d}}}),41949:((O,E,t)=>{t.d(E,{l:()=>U,t:()=>m});var e=t(96540),f=t(58562),D=t(58116),_=t(2275),C=t(11036),y=Object.defineProperty,r=Object.defineProperties,R=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,p=(d,s,a)=>s in d?y(d,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):d[s]=a,u=(d,s)=>{for(var a in s||(s={}))P.call(s,a)&&p(d,a,s[a]);if(g)for(var a of g(s))I.call(s,a)&&p(d,a,s[a]);return d},l=(d,s)=>r(d,R(s));const m=d=>{var s,a,o;if(!d)return null;const[n,c,v]=d.split("-"),M=(s=parseInt(n,10).toString())!=null?s:"",N=(a=parseInt(c,10).toString())!=null?a:"",S=(o=parseInt(v,10).toString())!=null?o:"";return{year:M,month:N,day:S}},U=(0,D.A)()(({label:d,value:s,onChange:a,error:o,id:n,className:c="",onFocus:v,required:M,moment:N,testId:S,onBlur:L})=>{const A=(0,f.b0)(["signupFieldYear","signupFieldMonth","signupFieldDay",d,"year","month","day"]),[{year:F,month:Y,day:W},w]=e.useState({year:(s==null?void 0:s.year)||null,month:(s==null?void 0:s.month)||null,day:(s==null?void 0:s.day)||null}),B=e.useRef(null),K=e.useRef(null),H=e.useRef(null),G=A[d].value;e.useEffect(()=>{Q({year:F,month:Y,day:W})},[F,Y,W]);const Z=({target:i})=>{const T=/^[0-9]{0,4}$/.test(i.value);let b;i.value?T&&(b=i.value):b="",w(h=>l(u({},h),{year:b!=null?b:h.year})),T&&i.value.length===4&&$("y")}
1,z=({target:i})=>{const T=parseInt(i.value,10),b=/^[0-9]{0,2}$/.test(i.value)&&T<=12;let h;i.value?b&&(h=i.value):h="",w(x=>l(u({},x),{month:h!=null?h:x.month})),b&&i.value.length===2&&$("m")},J=({target:i})=>{const T=parseInt(i.value,10),b=/^[0-9]{0,2}$/.test(i.value)&&T<=31;let h;i.value?b&&(h=i.value):h="",w(x=>l(u({},x),{day:h!=null?h:x.day})),b&&i.value.length===2&&$("d")},Q=({year:i,month:T,day:b})=>{if(i&&T&&b){const h=`${(0,_.eV)(i,4)}-${(0,_.eV)(T,2)}-${(0,_.eV)(b,2)}`;a(h)}else a(null)},$=i=>{const T=V.indexOf(i);T<2&&k[V[T+1]].ref.focus()},q=e.createElement("div",null,e.createElement("input",{id:"year",placeholder:A.signupFieldYear.value,name:"year",ref:H,type:"text",value:F||"",onChange:Z,"data-testId":`${S}InputYear`,onBlur:L,"aria-label":G,"aria-invalid":!!o,"aria-describedby":o&&n?`${n}-error`:void 0})),ee=e.createElement("div",null,e.createElement("input",{id:"month",placeholder:A.signupFieldMonth.value,name:"month",ref:B,type:"text",value:Y||"",onChange:z,"data-testId":`${S}InputMonth`,onBlur:L,"aria-label":G,"aria-invalid":!!o,"aria-describedby":o&&n?`${n}-error`:void 0})),te=e.createElement("div",null,e.createElement("input",{id:"date",placeholder:A.signupFieldDay.value,name:"date",ref:K,type:"text",value:W||"",onChange:J,"data-testId":`${S}InputDay`,onBlur:L,"aria-label":G,"aria-invalid":!!o,"aria-describedby":o&&n?`${n}-error`:void 0})),X=["yyyy/mm/dd","mm/dd/yyyy","dd/mm/yyyy"],ne=N.localeData().longDateFormat("L").toLowerCase(),V=(X.find(i=>i===ne)||X[0]).split("/").map(i=>i[0]),k={d:{element:te,ref:K.current},m:{element:ee,ref:B.current},y:{element:q,ref:H.current}},j=V.map(i=>k[i].element);return e.createElement("div",{className:"form-text"},e.createElement("label",{htmlFor:n},A[d].value,M?e.createElement("span",null," *"):null),e.createElement("div",{onFocus:v,className:`form-date ${c}`},j[0],e.createElement("span",{className:"form-date__separator"},"/"),j[1],e.createElement("span",{className:"form-date__separator"},"/"),j[2]),o?e.createElement("p",{id:n?`${n}-error`:void 0,className:"field-validation field-validation--error",role:"alert"},o):null)})}),51095:((O,E,t)=>{t.d(E,{A:()=>p});var e=t(96540),f=t(85092),D=Object.defineProperty,_=Object.defineProperties,C=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,g=(u,l,m)=>l in u?D(u,l,{enumerable:!0,configurable:!0,writable:!0,value:m}):u[l]=m,P=(u,l)=>{for(var m in l||(l={}))r.call(l,m)&&g(u,m,l[m]);if(y)for(var m of y(l))R.call(l,m)&&g(u,m,l[m]);return u},I=(u,l)=>_(u,C(l));const p=(u=>e.createElement(f.A,I(P({},u),{viewBox:"0 0 18 14"}),e.createElement(e.Fragment,null,e.createElement("path",{d:"M14.6793 1.08465C15.2783 0.485617 16.2495 0.485617 16.8486 1.08465C17.4476 1.68369 17.4476 2.65492 16.8486 3.25395L7.55013 12.5524C6.95109 13.1514 5.97986 13.1514 5.38083 12.5524C4.78179 11.9534 4.78179 10.9821 5.38083 10.3831L14.6793 1.08465Z"}),e.createElement("path",{d:"M1.06068 8.34863C0.474892 7.76284 0.474891 6.81309 1.06068 6.22731C1.64646 5.64152 2.59621 5.64152 3.182 6.22731L7.46174 10.507C8.04753 11.0928 8.04753 12.0426 7.46174 12.6284C6.87596 13.2142 5.92621 13.2142 5.34042 12.6284L1.06068 8.34863Z"}))))}),58116:((O,E,t)=>{t.d(E,{A:()=>s});var e=t(96540),f=t(71468),D=Object.defineProperty,_=Object.defineProperties,C=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,g=(a,o,n)=>o in a?D(a,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[o]=n,P=(a,o)=>{for(var n in o||(o={}))r.call(o,n)&&g(a,n,o[n]);if(y)for(var n of y(o))R.call(o,n)&&g(a,n,o[n]);return a},I=(a,o)=>_(a,C(o));const p="en-gb",u="gb",l="nz",m="en",U=({services:{labels:{activeLocale:a}}})=>({activeLocale:a}),d=a=>{a.updateLocale("en-gb",{longDateFormat:I(P({},{}),{LL:"Do MMM, YYYY",L:"DD/MM/YYYY"})}),a.updateLocale("en",{longDateFormat:I(P({},{}),{LL:"MMM Do, YYYY"})})},s=(()=>a=>{class o extends e.PureComponent{constructor(){super(...arguments),this.state={momentLib:null,activeLocale:null},this.getTime=(c,v=!0,M)=>{const{momentLib:N}=this.state;if(c){const S=v?"HH:mm:ss":"mm:ss",L=N.utc(c*1e3);return M&&L.locale(M),L.format(S)}else return v?"00:00:00":"00:00"},this.getFromNow=(c,v=!1,M)=>{const{momentLib:N}=this.state;if(!N||!c)return"";const S=N(c);return M&&S.locale(M),S.fromNow(v)}}async componentDidMount(){const{default:c}=await Promise.resolve().then(t.t.bind(t,95093,23));this.setState({momentLib:c},()=>{c&&d(c),this.setLocale()})}componentDidUpdate(){this.setLocale()}setLocale(){var c,v,M,N,S;const{activeLocale:L}=this.props,{momentLib:A}=this.state;if(!A||!L)return;const F=A.locale().slice(0,2).toLowerCase(),Y=L.slice(0,2).toLowerCase(),W=F!==Y,w=(v=(c=L==null?void 0:L.split("_"))==null?void 0:c[1])==null?void 0:v.toLowerCase(),B=(S=(N=(M=A.locale())==null?void 0:M.split("-"))==null?void 0:N[1])==null?void 0:S.toLowerCase();W?(A.locale(L),this.setState({activeLocale:L})):w!==B&&(w===u||w===l)&&Y===m&&(A.locale(p),this.setState({activeLocale:p}))}render(){const{momentLib:c,activeLocale:v}=this.state;return c?e.createElement(a,I(P({},this.props),{activeLocale:v,moment:c,getTime:this.getTime,getFromNow:this.getFromNow})):null}}return(0,f.Ng)(U,null,null)(o)})}),81412:((O,E,t)=>{t.d(E,{W0:()=>y,XK:()=>f,XS:()=>C,xM:()=>_});var e=t(35604),f=(r=>(r[r.DISABLE_PARENTAL_CONTROLS=0]="DISABLE_PARENTAL_CONTROLS",r[r.ENABLE_PARENTAL_CONTROLS=1]="ENABLE_PARENTAL_CONTROLS",r))(f||{});const D=14;var _=(r=>(r.SUBSCRIPTIONS="SUBSCRIPTIONS",r.ACCOUNT_DETAILS="ACCOUNT_DETAILS",r.ACCOUNT_SECURITY="ACCOUNT_SECURITY",r.PAYMENT_DETAILS="PAYMENT_DETAILS",r.PREFERENCES="PREFERENCES",r.PARTITIONS="PARTITIONS",r.ACCOUNT_SETTINGS="ACCOUNT_SETTINGS",r))(_||{});const C=[{title:"subscriptions",type:e.xU.VIEW,data:{view:"SUBSCRIPTIONS"}},{title:"accountDetails",type:e.xU.VIEW,data:{view:"ACCOUNT_DETAILS"}},{title:"accountSecurity",type:e.xU.VIEW,data:{view:"ACCOUNT_SECURITY"}},{title:"paymentDetails",type:e.xU.VIEW,data:{view:"PAYMENT_DETAILS"}},{title:"preferences",type:e.xU.VIEW,data:{view:"PREFERENCES"}},{title:"partitions",type:e.xU.VIEW,data:{view:"PARTITIONS"}},{title:"accountSettings",type:e.xU.VIEW,data:{view:"ACCOUNT_SETTINGS"}}],y="Something went wrong"})}]);})();
2
3//# sourceMappingURL=84431.913dafd82baa9398191b.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.