1(()=>{(function(){try{var h=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},p=new h.Error().stack;p&&(h._sentryDebugIds=h._sentryDebugIds||{},h._sentryDebugIds[p]="5d06a1b9-e995-498f-877e-e9dc41bce75c",h._sentryDebugIdIdentifier="sentry-dbid-5d06a1b9-e995-498f-877e-e9dc41bce75c")}catch(t){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[12821],{10427:((h,p,t)=>{t.d(p,{C:()=>f});var O=t(47654),y=t.n(O),g=t(22325),M=t(43580),m=t(82511);const D=n=>n.userProfile,c=y()(n=>{const{ids:r,data:i}=n.userProfile;return(r==null?void 0:r.map(u=>i==null?void 0:i[u]))||[]}),T=n=>{var r;const{userProfile:{data:i}}=n,u=(0,M.a)(n),E=(r=u==null?void 0:u.pro)===null||r===void 0?void 0:r.id;return E?i==null?void 0:i[E]:void 0},W=(n,r)=>{const{userProfile:{data:i}}=n;return r?i==null?void 0:i[r]:void 0},L=n=>{const{userProfile:{pinProtection:r}}=n;return r===m.F4.PROTECTED},f={getCurrentUserProfile:T,getIsPinProtected:L,getProfileById:W,getState:D,getUserProfileList:c,makeGetCurrentUserProfile:()=>(0,g.Mz)([T],n=>n),makeGetIsPinProtected:()=>(0,g.Mz)([L],n=>n),makeGetProfileById:()=>(0,g.Mz)([W],n=>n),makeGetState:()=>(0,g.Mz)([D],n=>n),makeGetUserProfileList:()=>(0,g.Mz)([c],n=>n)}}),22325:((h,p,t)=>{t.d(p,{Mz:()=>W});var O="NOT_FOUND";function y(d){var o;return{get:function(a){return o&&d(o.key,a)?o.value:O},put:function(a,_){o={key:a,value:_}},getEntries:function(){return o?[o]:[]},clear:function(){o=void 0}}}function g(d,o){var e=[];function a(r){var i=e.findIndex(function(E){return o(r,E.key)});if(i>-1){var u=e[i];return i>0&&(e.splice(i,1),e.unshift(u)),u.value}return O}function _(r,i){a(r)===O&&(e.unshift({key:r,value:i}),e.length>d&&e.pop())}function f(){return e}function n(){e=[]}return{get:a,put:_,getEntries:f,clear:n}}var M=function(o,e){return o===e};function m(d){return function(e,a){if(e===null||a===null||e.length!==a.length)return!1;for(var _=e.length,f=0;f<_;f++)if(!d(e[f],a[f]))return!1;return!0}}function D(d,o){var e=typeof o=="object"?o:{equalityCheck:o},a=e.equalityCheck,_=a===void 0?M:a,f=e.maxSize,n=f===void 0?1:f,r=e.resultEqualityCheck,i=m(_),u=n===1?y(i):g(n,i);function E(){var C=u.get(arguments);if(C===O){if(C=d.apply(null,arguments),r){var I=u.getEntries(),A=I.find(function(R){return r(R.value,C)});A&&(C=A.value)}u.put(arguments,C)}return C}return E.clearCache=function(){return u.clear()},E}function c(d){var o=Array.isArray(d[0])?d[0]:d;if(!o.every(function(a){return typeof a=="function"})){var e=o.map(function(a){return typeof a=="function"?"function "+(a.name||"unnamed")+"()":typeof a}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+e+"]")}return o}function T(d){for(var o=arguments.length,e=new Array(o>1?o-1:0),a=1;a<o;a++)e[a-1]=arguments[a];var _=function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var u=0,E,C={memoizeOptions:void 0},I=r.pop();if(typeof I=="object"&&(C=I,I=r.pop()),typeof I!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof I+"]");var A=C,R=A.memoizeOptions,B=R===void 0?e:R,F=Array.isArray(B)?B:[B],v=c(r),l=d.apply(void 0,[function(){return u++,I.apply(null,arguments)}].concat(F)),s=d(function(){for(var K=[],N=v.length,x=0;x<N;x++)K.push(v[x].apply(null,arguments));return E=l.apply(null,K),E});return Object.assign(s,{resultFunc:I,memoizedResultFunc:l,dependencies:v,lastResult:function(){return E},recomputations:function(){return u},resetRecomputations:function(){return u=0}}),s};return _}
1var W=T(D),L=function(o,e){if(e===void 0&&(e=W),typeof o!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof o));var a=Object.keys(o),_=e(a.map(function(f){return o[f]}),function(){for(var f=arguments.length,n=new Array(f),r=0;r<f;r++)n[r]=arguments[r];return n.reduce(function(i,u,E){return i[a[E]]=u,i},{})});return _}}),43580:((h,p,t)=>{t.d(p,{a:()=>y});var O=t(56550);const y=g=>{var M,m;return(m=(M=(0,O.G)(g))===null||M===void 0?void 0:M.session)===null||m===void 0?void 0:m.user}}),56550:((h,p,t)=>{t.d(p,{G:()=>O});const O=y=>y.authentication}),82099:((h,p,t)=>{t.r(p),t.d(p,{default:()=>F});var O=t(96540),y=t(86364),g=t(56347),M=t(10427),m=t(82511),D=t(68472),c=t(21975),T=t(57554),W=t(55488),L=t(97963),d=t(2275),o=t(49688),e=t(31065),a=t(59530),_=Object.defineProperty,f=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,E=(v,l,s)=>l in v?_(v,l,{enumerable:!0,configurable:!0,writable:!0,value:s}):v[l]=s,C=(v,l)=>{for(var s in l||(l={}))i.call(l,s)&&E(v,s,l[s]);if(r)for(var s of r(l))u.call(l,s)&&E(v,s,l[s]);return v},I=(v,l)=>f(v,n(l));const A=O.lazy(()=>Promise.all([t.e(94708),t.e(44125),t.e(70077),t.e(52118),t.e(85128),t.e(43913),t.e(31865),t.e(19267),t.e(8899),t.e(72750)]).then(t.bind(t,8899))),R=(v,l,s,P)=>!v&&!l&&!(0,e.YW)(P[c.xW.ACCOUNT],s)&&!(0,e.YW)(P[c.xW.TV_LOGIN],s)&&!(0,e.YW)(P[c.xW.SIGNUP],s)&&!(0,e.YW)(P[c.xW.GIFTS],s,!1)&&!(0,e.YW)(P[c.xW.GIFT_REDEMPTION],s,!1)&&!(0,e.YW)(P[c.xW.PURCHASE],s)&&!(0,e.YW)(P[c.xW.PAYMENT_UPDATE],s)&&!(0,e.YW)(P[c.xW.PAY],s)&&!(0,e.YW)(P[c.xW.PAYMENT_CONFIRMATION],s)&&!(0,e.YW)(P[c.xW.EMAIL_CONFIRMATION],s)&&!(0,e.YW)("/disconnected",s)&&!(0,e.YW)("/authorize",s)&&!(0,e.YW)(P[c.xW.PROVIDERS],s,!1)&&!(0,e.YW)(P[c.xW.ACTIVATE_USER],s),F=()=>{const{flow:v,pinProtection:l,ids:s,isSettingPin:P}=(0,y.d4)(j=>M.C.getState(j)),{session:{user:{isGuest:K}},app:{previousLocation:N,stayOnSignup:x},invoice:{invoiceMode:X}}=(0,y.d4)(j=>j.services),{routes:U}=O.useContext(a.P),S=(0,g.zy)(),z=(0,g.W6)(),J=(0,d.V$)(K),Q=(0,o.u)(),{id:Z,type:k}=(0,L.sh)()||{},b=k===m.XE.CHILD,q=l===m.F4.PROTECTED,ee=localStorage.getItem(D.o_),te=q&&!ee&&!b&&!P,V=N==null?void 0:N.split(T.F)[0],ne=S.pathname===U[c.xW.SUBSCRIPTION_CONFIRMATION],w=v===m.b.CREATE_PROFILE&&(!s||(s==null?void 0:s.length)===1),H=!!(0,e.YW)(U[c.xW.ACTIVATE_USER],S.pathname),re=w&&!!(0,e.eM)(U,[c.xW.SIGNUP,c.xW.PURCHASE],V)&&!ne&&!H,oe=w&&V===U[c.xW.SUBSCRIPTION_CONFIRMATION]&&!H,$=re||oe,se=!!(0,e.YW)(U[c.xW.ACCOUNT],S.pathname)&&b,Y=S.hash.includes(W.OK)||S.hash.includes(W.q7),G=J&&!Q&&(se||te||Y||$||!Z&&R(X,x,S.pathname,U));return O.useEffect(()=>{G&&!Y&&z.replace(I(C({},z.location),{hash:W.OK}))},[G,Y,z]),G?O.createElement(A,{promptCreate:$}):null}})}]);})(); 2 3//# sourceMappingURL=profiles.ec670cf215bdf8a0307d.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.