PageSourceSearch

https://www.secretbenefits.co.uk/ng2/35986197244/browser/chunk-P4HGNNXU.js

js secretbenefits.co.uk collected 2026-10-07 02:57:20 UTC 51,069 bytes, 2 lines download raw bytes

1import{a as pe,b as A,c as P,e as E}from"./chunk-NIGH5DLG.js";import{a as Qe}from"./chunk-IKBLZFTM.js";import{b as Ye}from"./chunk-ZSVRWROI.js";import"./chunk-UYUDPBJQ.js";import"./chunk-I5GQSHDR.js";import"./chunk-YTG6SZMZ.js";import"./chunk-7T5QS3ZL.js";import{a as Ge}from"./chunk-HIOHYSC2.js";import"./chunk-PXME4BID.js";import{b as De}from"./chunk-SNS75EN6.js";import"./chunk-HRKNEJQZ.js";import"./chunk-MY7EGG5H.js";import"./chunk-TRQINIP2.js";import{c as Q}from"./chunk-L5YHFWSM.js";import{c as $e}from"./chunk-7BUK4ARO.js";import{b as Ne}from"./chunk-D7LAU3SM.js";import"./chunk-ATOS76WZ.js";import"./chunk-E3JIN7BN.js";import"./chunk-Y26ALEWI.js";import"./chunk-RXXRGGAX.js";import"./chunk-RKTRT47X.js";import"./chunk-EI7QXZH7.js";import"./chunk-CNANIY47.js";import"./chunk-H4MD5P5V.js";import{M as I,w as Ue}from"./chunk-PK44YO2F.js";import"./chunk-WLSROXM2.js";import"./chunk-4C3K6E2V.js";import{a as Ve}from"./chunk-NO4JCZV7.js";import{a as B}from"./chunk-3TJAF5E4.js";import"./chunk-C3DIAPIE.js";import"./chunk-D46O57DH.js";import"./chunk-64K7ZKCF.js";import{Cb as Ie,Dc as Re,Ec as ae,Fc as ce,Lc as ze,Nb as N,Sb as qe,Wb as Fe,l as we,la as oe,lc as Y,m as ke,q as ne,r as S,s as ie,va as Le}from"./chunk-4HBQJYJQ.js";import{Aa as fe,Bb as l,Cc as L,Ee as Ae,Fa as u,Fc as p,L as Z,Ma as w,Na as k,Oc as T,Rb as M,Rd as Pe,S as ee,Sd as b,Tb as he,Tc as o,Td as ye,U as xe,Vb as z,Vc as v,Wb as $,aa as Ce,bb as R,df as Ee,ed as y,ef as Te,fd as h,fe as Oe,ga as j,gd as V,gf as Be,hc as g,ic as X,if as me,jc as _,jd as x,jf as re,kd as C,lf as O,m as _e,mc as ve,n as ue,nc as Me,nd as G,oc as m,pc as s,qc as c,rc as d,vc as be,wc as Se,x as W,xc as le,yd as te,zc as F}from"./chunk-IATVJKUF.js";import{a as se,l as J,m as f}from"./chunk-C5P437M6.js";f();f();var He=e=>(t,n)=>{if(e.some(i=>t.queryParams[i]!==void 0)){let i=u(ne),r=e.reduce((a,H)=>(a[H]=null,a),{});return i.createUrlTree([n.url.split("?")[0]],{queryParams:se(se({},t.queryParams),r)})}else return!0};f();var je=()=>{let e=u(I),t=u(B);return e.account$.pipe(Z(Boolean),ee(1),W(n=>n.benefactor&&t.SA.Constants.secret_album_split))};f();f();var Xe=(()=>{let t=class t extends pe{constructor(){let i=u(Ae);super(i,"photo_access_requests",t.parseEndpoint)}static parseEndpoint(i){return i==="approved_requesters"?"approved_received_requests":i==="declined_requesters"?"declined_received_requests":i==="pending_requesters"?"pending_received_requests":i}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=fe({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var st=()=>["/next/access/approved"],lt=e=>[e],mt=(e,t)=>t.name;function dt(e,t){e&1&&d(0,"sb-icon",9),e&2&&m("name","circle")("size","7")}function gt(e,t){if(e&1&&(s(0,"a",7),g(1,dt,1,2,"sb-icon",9),x(2,"async"),o(3),x(4,"titlecase"),c()),e&2){let n=t.$implicit;m("routerLink",V(7,lt,"/next/access/".concat(n.route))),l(),_(C(2,3,n.dot$)?1:-1),l(2),v(" ",C(4,5,n.name)," ")}}var de=(()=>{let t=class t{constructor(){this.store=u(oe),this.memberService=u(I),this.siteStore=u(B),this.requestsNavItem={name:"Requests",route:"requests",dot$:this.store.select(N.hasAnyPendingRequesters)},this.myAccessNavItem={name:this.memberService.SA.Constants.secret_album_split&&this.memberService.account.benefactor?"Photos":"Albums",route:"my-access",dot$:this.store.select(N.hasAnyGranters)},this.questionsNavItem={name:"Questions",route:"questions",dot$:this.store.select(N.hasAnyGranters)},this.videosNavItem={name:"Videos",route:"videos",dot$:this.store.select(N.hasAnyGranters)},this.benefactorNavItems=[this.myAccessNavItem,...me(this.memberService.SA.Constants.secret_album_split,this.videosNavItem),...me(!this.siteStore.features().secret_questions_read_only,this.questionsNavItem),this.requestsNavItem],this.dependentNavItems=[this.requestsNavItem,this.myAccessNavItem],this.navItems=this.memberService.account.benefactor?this.benefactorNavItems:this.dependentNavItems}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=M({type:t,selectors:[["sb-access-page"]],features:[y([],[{provide:pe,useExisting:Xe}])],decls:14,vars:3,consts:[[1,"padded-container","display-flex","pt-4@r"],[1,"t-3@r"],[1,"ml-auto"],[1,"t-4@r"],[3,"routerLink"],[1,"padded-container"],[3,"type"],["routerLinkActive","","sbNavLink","",3,"routerLink"],[1,"border-bottom","subtract-border-top"],[1,"color-notification","mr-1",3,"name","size"]],template:function(r,a){r&1&&(s(0,"div",0)(1,"h2",1),o(2,"Access"),c(),s(3,"button",2)(4,"sb-context-menu",3)(5,"li")(6,"a",4),o(7,"Approved Requests"),c()()()()(),s(8,"div",5)(9,"sb-nav",6),ve(10,gt,5,9,"a",7,mt),c()(),d(12,"hr",8)(13,"router-outlet")),r&2&&(l(6),m("routerLink",h(2,st)),l(3),m("type","link"),l(),Me(a.navItems))},dependencies:[Y,S,ce,ae,ie,ke,re,ye,b],encapsulation:2,changeDetection:0});let e=t;return e})();f();var _t=e=>["/next/profile",e],ut=()=>({page_nav:"Secret"}),xt=()=>["/next/search"];function Ct(e,t){if(e&1&&d(0,"sb-favorite-button",5),e&2){let n=p().$implicit,i=p();m("elevated",!0)("favorited",!1)("profileId",n.id)("source",i.interactionListStore.group)}}function ft(e,t){if(e&1){let n=F();s(0,"li")(1,"a",11),L("click",function(){w(n);let r=p().$implicit,a=p();return k(a.accessService.request(r,"access-approved-context-menu"))}
1),o(2,"Request Secret Access"),c()()}}function ht(e,t){if(e&1){let n=F();g(0,Ct,1,4,"sb-favorite-button",5),d(1,"sb-send-message-button",6),s(2,"sb-context-menu",7),g(3,ft,3,0,"li"),x(4,"async"),s(5,"li")(6,"a",8),o(7,"View Profile"),c()(),s(8,"li")(9,"a",9),L("click",function(){let r=w(n).$implicit,a=p();return k(a.openMessages(r))}),o(10,"Message"),c()(),s(11,"li")(12,"a",10),L("click",function(){let r=w(n).$implicit,a=p();return k(a.accessService.decline(r.id))}),o(13,"Revoke Secret Access"),c()()()}if(e&2){let n=t.$implicit,i=p();_(n.favorited?-1:0),l(),m("elevated",!0)("profile",n),l(2),_(C(4,5,i.accessService.canRequest(n.id))?3:-1),l(3),m("routerLink",V(7,_t,n.browse_id))}}function vt(e,t){e&1&&(s(0,"p"),o(1,"Once you create a Secret Album, members who you grant access to view it will appear here."),c(),s(2,"a",12),o(3," Create Secret Album "),c()),e&2&&(l(2),m("queryParams",h(4,ut))("routerLink","/next/me/photos")("size","big")("variant","fill-green"))}function Mt(e,t){if(e&1){let n=F();d(0,"br"),o(1," Preliminary access grants are "),s(2,"a",15),L("click",function(){w(n);let r=p(3);return k(r.memberService.toggleExcludeSanction())}),o(3),x(4,"async"),c()}if(e&2){let n=p(3);l(3),v(" ",C(4,1,n.sanctionExcluded$)?"inactive":"active",". ")}}function bt(e,t){if(e&1&&(s(0,"p")(1,"span",13),o(2,"Members who you grant access to view your Secret Album will appear here."),c(),d(3,"br")(4,"br"),o(5," The best way to generate interest is to view, favorite, and message more members. "),g(6,Mt,5,3),c(),s(7,"a",14),o(8,"Begin Your Search"),c()),e&2){let n=p(2);l(6),_(n.memberService.account.dependent?6:-1),l(),m("routerLink",h(4,xt))("size","big")("variant","fill-green")}}function St(e,t){if(e&1&&(s(0,"div",4),g(1,vt,4,5),x(2,"async"),X(3,bt,9,5),c()),e&2){let n=p();l(),_(C(2,1,n.hasAlbum$)===!1?1:3)}}var Ke=(()=>{let t=class t{constructor(){this.accessService=u(Q),this.memberService=u(I),this.interactionListStore=u(P),this.siteStore=u(B),this.hasAlbum$=this.memberService.account$.pipe(j("has_secret_album")),this.sanctionExcluded$=this.memberService.account$.pipe(j("user_sanction_excluded")),this.isDependent$=this.memberService.account$.pipe(j("dependent"))}openMessages(i){this.memberService.openMessageModal(i)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=M({type:t,selectors:[["sb-approved"]],features:[y([{provide:A,useValue:{group:"approved_requesters"}},P])],decls:10,vars:9,consts:[["actions",""],[1,"wrapper"],[1,"ph-4","title"],[3,"actions","topAdmirerBadge"],[1,"placeholder"],[3,"elevated","favorited","profileId","source"],[3,"elevated","profile"],[1,"action-icon"],[3,"routerLink"],[3,"click"],[1,"ash-color",3,"click"],[1,"gold-color",3,"click"],["sbButton","",3,"queryParams","routerLink","size","variant"],[1,"font-weight-500"],["sbButton","",3,"routerLink","size","variant"],[1,"toggle-exclusion-link","inherit-color",3,"click"]],template:function(r,a){if(r&1&&(s(0,"div",1)(1,"div",2),o(2,"Approved requests"),c(),d(3,"sb-interaction-list",3),$(4,ht,14,9,"ng-template",null,0,G),g(6,St,4,3,"div",4),x(7,"async"),x(8,"async"),x(9,"async"),c()),r&2){let H=T(5);l(3),m("actions",H)("topAdmirerBadge",!0),l(3),_(C(7,3,a.interactionListStore.loading$)===!1&&(!C(8,5,a.interactionListStore.profiles$).length||a.memberService.account.dependent&&C(9,7,a.hasAlbum$)===!0)?6:-1)}},dependencies:[E,Ye,$e,Y,S,O,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */"],changeDetection:0});let e=t;return e})();f();f();f();var U=(()=>{let t=class t{constructor(){this.accessService=u(Q),this.memberService=u(I),this.interactionListStore=u(P),this.myAccessComponent=u(K),this.siteStore=u(B),this.ACCESS_TYPE_LABELS={albums:this.siteStore.SA.Constants.secret_album_split&&this.memberService.account.benefactor?"Photos":"Album",questions:"Questions",videos:"Videos"},this.ACCESS_TYPE_UNLOCKED_LABELS={albums:this.siteStore.SA.Constants.secret_album_split&&this.memberService.account.benefactor?"Photos":"Albums",questions:"Questions",videos:"Videos"},this.locked=!1}};t.\u0275fac=function(r){return new(r||t)},t.\u0275dir=he({type:t,inputs:{actions:"actions"}});let e=t;return e})();var Pt=()=>["/next/search"];function yt(e,t){if(e&1&&(o(0," Members who grant you access to view their "),s(1,"span",4),o(2),c(),o(3," will appear here. ")),e&2){let n=p(2);l(2),v("Secret ",n.ACCESS_TYPE_LABELS[n.myAccessComponent.type])}}function Ot(e,t){if(e&1&&o(0),e&2){let n=p(2);v(" Unlocked Secret ",n.ACCESS_TYPE_UNLOCKED_LABELS[n.myAccessComponent.type]," will appear here. ")}}function wt(e,t){if(e&1&&(s(0,"div",0)(1,"p")(2,"span",2),g(3,yt,4,1)(4,Ot,1,1),c(),d(5,"br")(6,"br"),o(7," You can request secret access from a members profile. "),c(),s(8,"a",3),o(9,"Begin Your Search"),c()()),e&2){let n=p();l(3),_(n.memberService.account.dependent||n.locked?3:4),l(5),m("routerLink",h(4,Pt))("size","big")("variant","fill-green")}}var Je=(()=>{let t=class t extends U{constructor(){super(...arguments),this.locked=!0}};t.\u0275fac=(()=>{let i;return function(a){return(i||(i=R(t)))(a||t)}})(),t.\u0275cmp=M({type:t,selectors:[["sb-locked-album-granter-list"]],features:[y([],[{provide:A,useValue:{group:"locked_granters",removeViaAction:!1}},P]),z],decls:4,vars:9,consts:[[1,"placeholder"],[3,"actions","showLockIcon","showSpecialText","topAdmirerBadge"],[1,"font-weight-500"],["sbButton","",3,"routerLink","size","variant"],[1,"white-space-nowrap"]],template:function(r,a){r&1&&(g(0,wt,10,5,"div",0),x(1,"async"),x(2,"async"),d(3,"sb-interaction-list",1)),r&2&&(_(C(1,5,a.interactionListStore.loading$)===!1&&!C(2,7,a.interactionListStore.profiles$).length?0:-1),l(3),m("actions",a.actions)("showLockIcon",a.locked)("showSpecialText",!0)("topAdmirerBadge",!0))},dependencies:[O,S,E,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */"],changeDetection:0});let e=t;return e})();f();var kt=()=>["/next/search"];function Lt(e,t){if(e&1&&(o(0," Members who grant you access to view their "),s(1,"span",4),o(2),c(),o(3," will appear here. ")),e&2){let n=p(2);l(2),v("Secret ",n.ACCESS_TYPE_LABELS[n.myAccessComponent.type])}}function At(e,t){if(e&1&&o(0),e&2){let n=p(2);v(" Unlocked Secret ",n.ACCESS_TYPE_UNLOCKED_LABELS[n.myAccessComponent.type]," will appear here. ")}}function Et(e,t){if(e&1&&(s(0,"div",0)(1,"p")(2,"span",2),g(3,Lt,4,1)(4,At,1,1),c(),d(5,"br")(6,"br"),o(7," You can request secret access from a members profile. "),c(),s(8,"a",3),o(9,"Begin Your Search"),c()()),e&2){let n=p();l(3),_(n.memberService.account.dependent||n.locked?3:4),l(5),m("routerLink",h(4,kt))("size","big")("variant","fill-green")}}var We=(()=>{let t=class t extends U{constructor(){super(...arguments),this.locked=!0}};t.\u0275fac=(()=>{let i;return function(a){return(i||(i=R(t)))(a||t)}})(),t.\u0275cmp=M({type:t,selectors:[["sb-locked-question-granter-list"]],features:[y([],[{provide:A,useValue:{group:"locked_question_granters",unreadGroup:"locked_granters",removeViaAction:!1}},P]),z],decls:4,vars:9,consts:[[1,"placeholder"],[3,"actions","showLockIcon","showSpecialText","topAdmirerBadge"],[1,"font-weight-500"],["sbButton","",3,"routerLink","size","variant"],[1,"white-space-nowrap"]],template:function(r,a){r&1&&(g(0,Et,10,5,"div",0),x(1,"async"),x(2,"async"),d(3,"sb-interaction-list",1)),r&2&&(_(C(1,5,a.interactionListStore.loading$)===!1&&!C(2,7,a.interactionListStore.profiles$).length?0:-1),l(3),m("actions",a.actions)("showLockIcon",a.locked)("showSpecialText",!0)("topAdmirerBadge",!0))},dependencies:[O,S,E,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */"],changeDetection:0});let e=t;return e})();f();var Tt=()=>["/next/search"];function Bt(e,t){if(e&1&&(o(0," Members who grant you access to view their "),s(1,"span",4),o(2),c(),o(3," will appear here. ")),e&2){let n=p(2);l(2),v("Secret ",n.ACCESS_TYPE_LABELS[n.myAccessComponent.type])}}function It(e,t){if(e&1&&o(0),e&2){let n=p(2);v(" Unlocked Secret ",n.ACCESS_TYPE_UNLOCKED_LABELS[n.myAccessComponent.type]," will appear here. ")}}function qt(e,t){if(e&1&&(s(0,"div",0)(1,"p")(2,"span",2),g(3,Bt,4,1)(4,It,1,1),c(),d(5,"br")(6,"br"),o(7," You can request secret access from a members profile. "),c(),s(8,"a",3),o(9,"Begin Your Search"),c()()),e&2){let n=p();l(3),_(n.memberService.account.dependent||n.locked?3:4),l(5),m("routerLink",h(4,Tt))("size","big")("variant","fill-green")}}var Ze=(()=>{let t=class t extends U{constructor(){super(...arguments),this.locked=!0}};t.\u0275fac=(()=>{let i;return function(a){return(i||(i=R(t)))(a||t)}})(),t.\u0275cmp=M({type:t,selectors:[["sb-locked-videos-granter-list"]],features:[y([],[{provide:A,useValue:{group:"locked_videos_granters",unreadGroup:"locked_granters",removeViaAction:!1}},P]),z],decls:4,vars:9,consts:[[1,"placeholder"],[3,"actions","showLockIcon","showSpecialText","topAdmirerBadge"],[1,"font-weight-500"],["sbButton","",3,"routerLink","size","variant"],[1,"white-space-nowrap"]],template:function(r,a){r&1&&(g(0,qt,10,5,"div",0),x(1,"async"),x(2,"async"),d(3,"sb-interaction-list",1)),r&2&&(_(C(1,5,a.interactionListStore.loading$)===!1&&!C(2,7,a.interactionListStore.profiles$).length?0:-1),l(3),m("actions",a.actions)("showLockIcon",a.locked)("showSpecialText",!0)("topAdmirerBadge",!0))},dependencies:[O,S,E,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ng
1content-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */"],changeDetection:0});let e=t;return e})();f();var Ft=()=>["/next/search"];function Rt(e,t){if(e&1&&(o(0," Members who grant you access to view their "),s(1,"span",4),o(2),c(),o(3," will appear here. ")),e&2){let n=p(2);l(2),v("Secret ",n.ACCESS_TYPE_LABELS[n.myAccessComponent.type])}}function zt(e,t){if(e&1&&o(0),e&2){let n=p(2);v(" Unlocked Secret ",n.ACCESS_TYPE_UNLOCKED_LABELS[n.myAccessComponent.type]," will appear here. ")}}function Ut(e,t){if(e&1&&(s(0,"div",0)(1,"p")(2,"span",2),g(3,Rt,4,1)(4,zt,1,1),c(),d(5,"br")(6,"br"),o(7," You can request secret access from a members profile. "),c(),s(8,"a",3),o(9,"Begin Your Search"),c()()),e&2){let n=p();l(3),_(n.memberService.account.dependent||n.locked?3:4),l(5),m("routerLink",h(4,Ft))("size","big")("variant","fill-green")}}var et=(()=>{let t=class t extends U{};t.\u0275fac=(()=>{let i;return function(a){return(i||(i=R(t)))(a||t)}})(),t.\u0275cmp=M({type:t,selectors:[["sb-unlocked-album-granter-list"]],features:[y([],[{provide:A,useValue:{group:"unlocked_granters"}},P]),z],decls:4,vars:9,consts:[[1,"placeholder"],[3,"actions","showLockIcon","showSpecialText","topAdmirerBadge"],[1,"font-weight-500"],["sbButton","",3,"routerLink","size","variant"],[1,"white-space-nowrap"]],template:function(r,a){r&1&&(g(0,Ut,10,5,"div",0),x(1,"async"),x(2,"async"),d(3,"sb-interaction-list",1)),r&2&&(_(C(1,5,a.interactionListStore.loading$)===!1&&!C(2,7,a.interactionListStore.profiles$).length?0:-1),l(3),m("actions",a.actions)("showLockIcon",a.locked)("showSpecialText",!0)("topAdmirerBadge",!0))},dependencies:[O,S,E,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */"],changeDetection:0});let e=t;return e})();f();var Vt=()=>["/next/search"];function Dt(e,t){if(e&1&&(o(0," Members who grant you access to view their "),s(1,"span",4),o(2),c(),o(3," will appear here. ")),e&2){let n=p(2);l(2),v("Secret ",n.ACCESS_TYPE_LABELS[n.myAccessComponent.type])}}function $t(e,t){if(e&1&&o(0),e&2){let n=p(2);v(" Unlocked Secret ",n.ACCESS_TYPE_UNLOCKED_LABELS[n.myAccessComponent.type]," will appear here. ")}}function Gt(e,t){if(e&1&&(s(0,"div",0)(1,"p")(2,"span",2),g(3,Dt,4,1)(4,$t,1,1),c(),d(5,"br")(6,"br"),o(7," You can request secret access from a members profile. "),c(),s(8,"a",3),o(9,"Begin Your Search"),c()()),e&2){let n=p();l(3),_(n.memberService.account.dependent||n.locked?3:4),l(5),m("routerLink",h(4,Vt))("size","big")("variant","fill-green")}}var tt=(()=>{let t=class t extends U{};t.\u0275fac=(()=>{let i;return function(a){return(i||(i=R(t)))(a||t)}})(),t.\u0275cmp=M({type:t,selectors:[["sb-unlocked-question-granter-list"]],features:[y([],[{provide:A,useValue:{group:"unlocked_question_granters",unreadGroup:"unlocked_granters"}},P]),z],decls:4,vars:9,consts:[[1,"placeholder"],[3,"actions","showLockIcon","showSpecialText","topAdmirerBadge"],[1,"font-weight-500"],["sbButton","",3,"routerLink","size","variant"],[1,"white-space-nowrap"]],template:function(r,a){r&1&&(g(0,Gt,10,5,"div",0),x(1,"async"),x(2,"async"),d(3,"sb-interaction-list",1)),r&2&&(_(C(1,5,a.interactionListStore.loading$)===!1&&!C(2,7,a.interactionListStore.profiles$).length?0:-1),l(3),m("actions",a.actions)("showLockIcon",a.locked)("showSpecialText",!0)("topAdmirerBadge",!0))},dependencies:[O,S,E,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */"],changeDetection:0});let e=t;return e})();f();var Nt=()=>["/next/search"];function Yt(e,t){if(e&1&&(o(0," Members who grant you access to view their "),s(1,"span",4),o(2),c(),o(3," will appear here. ")),e&2){let n=p(2);l(2),v("Secret ",n.ACCESS_TYPE_LABELS[n.myAccessComponent.type])}}function Qt(e,t){if(e&1&&o(0),e&2){let n=p(2);v(" Unlocked Secret ",n.ACCESS_TYPE_UNLOCKED_LABELS[n.myAccessComponent.type]," will appear here. ")}}function Ht(e,t){if(e&1&&(s(0,"div",0)(1,"p")(2,"span",2),g(3,Yt,4,1)(4,Qt,1,1),c(),d(5,"br")(6,"br"),o(7," You can request secret access from a members profile. "),c(),s(8,"a",3),o(9,"Begin Your Search"),c()()),e&2){let n=p();l(3),_(n.memberService.account.dependent||n.locked?3:4),l(5),m("routerLink",h(4,Nt))("size","big")("variant","fill-green")}}var nt=(()=>{let t=class t extends U{};t.\u0275fac=(()=>{let i;return function(a){return(i||(i=R(t)))(a||t)}})(),t.\u0275cmp=M({type:t,selectors:[["sb-unlocked-videos-granter-list"]],features:[y([],[{provide:A,useValue:{group:"unlocked_videos_granters",unreadGroup:"locked_granters",removeViaAction:!1}},P]),z],decls:4,vars:9,consts:[[1,"placeholder"],[3,"actions","showLockIcon","showSpecialText","topAdmirerBadge"],[1,"font-weight-500"],["sbButton","",3,"routerLink","size","variant"],[1,"white-space-nowrap"]],template:function(r,a){r&1&&(g(0,Ht,10,5,"div",0),x(1,"async"),x(2,"async"),d(3,"sb-interaction-list",1)),r&2&&(_(C(1,5,a.interactionListStore.loading$)===!1&&!C(2,7,a.interactionListStore.profiles$).length?0:-1),l(3),m("actions",a.actions)("showLockIcon",a.locked)("showSpecialText",!0)("topAdmirerBadge",!0))},dependencies:[O,S,E,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */"],changeDetection:0});let e=t;return e})();var jt=()=>({page_nav:"locked"}),it=()=>[],Xt=()=>({page_nav:"unlocked"}),Kt=e=>["/next/profile",e],ot=()=>({redirectedFrom:"secret-albums"}),ge=e=>["/next/access/profile",e],Jt=()=>({redirectedFrom:"secret-questions",section:"questions"}),Wt=()=>({redirectedFrom:"secret-videos",section:"videos"});function Zt(e,t){e&1&&d(0,"sb-icon",9),e&2&&m("name","circle")("size","7")}function en(e,t){e&1&&d(0,"sb-icon",9),e&2&&m("name","circle")("size","7")}function tn(e,t){e&1&&le(0)}function nn(e,t){if(e&1&&(be(0,5,3),s(2,"sb-nav",7)(3,"button",8),g(4,Zt,1,2,"sb-icon",9),x(5,"async"),o(6," Granted "),c(),s(7,"button",8),g(8,en,1,2,"sb-icon",9),x(9,"async"),o(10," Unlocked "),c()(),$(11,tn,1,0,"ng-container",10),x(12,"async"),Se()),e&2){let n=T(1),i=p(),r=T(5),a=T(7);l(2),m("type","pill"),l(),m("queryParams",h(16,jt))("routerLink",h(17,it))("template",r),l(),_(C(5,10,i.lockedDot$)?4:-1),l(3),m("queryParams",h(18,Xt))("routerLink",h(19,it))("template",a),l(),_(C(9,12,i.unlockedDot$)?8:-1),l(3),m("ngTemplateOutlet",C(12,14,n.activeTemplate$))}}function on(e,t){e&1&&(s(0,"div",6),o(1,"Access Granted"),c())}function rn(e,t){e&1&&le(0)}function an(e,t){if(e&1&&$(0,rn,1,0,"ng-container",10),e&2){p();let n=T(7);m("ngTemplateOutlet",n)}}function cn(e,t){if(e&1&&d(0,"sb-locked-album-granter-list",11),e&2){p(2);let n=T(9);m("actions",n)}}function pn(e,t){if(e&1&&d(0,"sb-locked-question-granter-list",11),e&2){p(2);let n=T(9);m("actions",n)}}function sn(e,t){if(e&1&&d(0,"sb-locked-videos-granter-list",11),e&2){p(2);let n=T(9);m("actions",n)}}function ln(e,t){if(e&1&&g(0,cn,1,1,"sb-locked-album-granter-list",11)(1,pn,1,1,"sb-locked-question-granter-list",11)(2,
1sn,1,1,"sb-locked-videos-granter-list",11),e&2){let n,i=p();_((n=i.type)==="albums"?0:n==="questions"?1:n==="videos"?2:-1)}}function mn(e,t){if(e&1&&d(0,"sb-unlocked-album-granter-list",11),e&2){p(2);let n=T(9);m("actions",n)}}function dn(e,t){if(e&1&&d(0,"sb-unlocked-question-granter-list",11),e&2){p(2);let n=T(9);m("actions",n)}}function gn(e,t){if(e&1&&d(0,"sb-unlocked-videos-granter-list",11),e&2){p(2);let n=T(9);m("actions",n)}}function _n(e,t){if(e&1&&g(0,mn,1,1,"sb-unlocked-album-granter-list",11)(1,dn,1,1,"sb-unlocked-question-granter-list",11)(2,gn,1,1,"sb-unlocked-videos-granter-list",11),e&2){let n,i=p();_((n=i.type)==="albums"?0:n==="questions"?1:n==="videos"?2:-1)}}function un(e,t){if(e&1&&(s(0,"button",16),d(1,"i",18),o(2," Unlock "),c()),e&2){let n=p(2).$implicit;m("openGallery",!1)("profileSecretAccessPageRedirectParams",h(6,ot))("sbUnlockButton",n)("size","small")("source","my-access-page")("variant","fill-gold")}}function xn(e,t){if(e&1&&(s(0,"button",17),d(1,"i",19),o(2," View "),c()),e&2){let n=p(2).$implicit;m("queryParams",h(3,ot))("routerLink",V(4,ge,n.browse_id))("size","small")}}function Cn(e,t){if(e&1&&(g(0,un,3,7,"button",16),x(1,"async"),x(2,"async"),X(3,xn,3,6,"button",17)),e&2){let n=p().$implicit,i=p();_(C(1,1,i.accessService.canUnlockAlbum(n.id))?0:C(2,3,i.accessService.isAlbumUnlocked(n.id))?3:-1)}}function fn(e,t){if(e&1){let n=F();s(0,"button",21),L("click",function(){w(n);let r=p(2).$implicit,a=p();return k(a.unlockQuestions(r))}),d(1,"i",18),o(2," Unlock "),c()}e&2&&m("size","small")("variant","fill-gold")}function hn(e,t){if(e&1&&(s(0,"button",17),d(1,"i",19),o(2," View "),c()),e&2){let n=p(2).$implicit;m("queryParams",h(3,Jt))("routerLink",V(4,ge,n.browse_id))("size","small")}}function vn(e,t){if(e&1&&(g(0,fn,3,2,"button",20),x(1,"async"),g(2,hn,3,6,"button",17),x(3,"async")),e&2){let n=p().$implicit,i=p();_(C(1,2,i.accessService.canUnlockQuestions(n.id))?0:-1),l(2),_(C(3,4,i.accessService.areQuestionsUnlocked(n.id))?2:-1)}}function Mn(e,t){if(e&1){let n=F();s(0,"button",24),L("click",function(){w(n);let r=p(2).$implicit,a=p();return k(a.unlockVideos(r))}),d(1,"i",18),o(2," Unlock "),c()}e&2&&m("size","small")("variant","fill-gold")}function bn(e,t){if(e&1&&(s(0,"button",23),d(1,"i",19),o(2," View "),c()),e&2){let n=p(2).$implicit;m("queryParams",h(3,Wt))("routerLink",V(4,ge,n.browse_id))("size","small")}}function Sn(e,t){if(e&1&&g(0,Mn,3,2,"button",22)(1,bn,3,6,"button",23),e&2){let n=p().list;_(n.group==="locked_videos_granters"?0:1)}}function Pn(e,t){if(e&1){let n=F();g(0,Cn,4,5)(1,vn,4,6)(2,Sn,2,1),s(3,"sb-context-menu",12)(4,"li")(5,"a",13),o(6,"View Profile"),c()(),s(7,"li")(8,"a",14),L("click",function(){let r=w(n).$implicit,a=p();return k(a.memberService.openMessageModal(r))}),o(9,"Message"),c()(),s(10,"li")(11,"a",15),L("click",function(){let r=w(n),a=r.list,H=r.$implicit,ct=p();return k(ct.profileHideService.openConfirmModal(H.id,a.group))}),o(12,"Hide"),c()()()}if(e&2){let n,i=t.$implicit,r=p();_((n=r.type)==="albums"?0:n==="questions"?1:n==="videos"?2:-1),l(5),m("routerLink",V(2,Kt,i.browse_id))}}var yn=["albums","questions","videos"],K=(()=>{var t;let e=(t=class{constructor(){if(this.accessService=u(Q),this.memberService=u(I),this.account=u(Le),this.store=u(oe),this.profileHideService=u(Ge),this.pageNavService=u(Qe),this.activatedRoute=u(we),this.changeDetectorRef=u(te),this.creditsNavigationService=u(Ue),this.router=u(ne),this.secretVideosService=u(De),this.popoverService=u(Ve),this.siteStore=u(B),this.lockedDot$=this.store.select(N.hasAnyLockedGranters),this.unlockedDot$=this.store.select(N.hasAnyUnlockedGranters),this.initialPageNav$=this.account.benefactor?this.pageNavService.activePageNav$.pipe(Z(i=>i!=="locked"&&i!=="unlocked"),xe("locked")):_e,this.type=this.activatedRoute.snapshot.data.myAccessType,this.busy=!1,this.initialPageNav$.pipe(Te(this)).subscribe(i=>this.pageNavService.set(i,!0)),this.type=this.activatedRoute.snapshot.data.myAccessType,!yn.includes(this.type))throw new Be(this,"type")}unlockQuestions(i){return J(this,null,function*(){this.busy=!0;try{let{new_balance:r}=yield this.accessService.unlockSecretQuestions(i.id,"my-access-page");this.memberService.updateCreditsBalance(r),this.store.dispatch(Ie.questionAccessUnlocked({id:i.id})),this.router.navigate(["/next/access/profile",i.browse_id],{queryParams:{redirectedFrom:"secret-questions",section:"questions"}})}catch(r){r instanceof Oe&&r.status===402&&this.creditsNavigationService.visitCredits("unlockSecretQuestions",{profile_id:i.id,source:"my-access-page"})}this.busy=!1,this.changeDetectorRef.markForCheck()})}unlockVideos(i){if(!this.siteStore.features().secret_videos_unlock){this.router.navigate(["/next/access/profile",i.browse_id],{queryParams:{redirectedFrom:"secret-videos",section:"videos",accessTab:"granted"}});return}this.secretVideosService.unlockSecretVideoAlbum(i,"my-access-page").pipe(Ce()).subscribe(()=>{this.popoverService.show("nc-unlock","Unlocked"),this.router.navigate(["/next/access/profile",i.browse_id],{queryParams:{redirectedFrom:"secret-videos",section:"videos"}})})}},t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=M({type:t,selectors:[["sb-my-access"]],decls:10,vars:2,consts:[["locked",""],["unlocked",""],["actions",""],["tabs","sbTabs"],[1,"wrapper"],["sbTabs",""],[1,"ph-4","title"],[1,"mt-4@r",3,"type"],["routerLinkActive","","sbNavLink","","sbTab","",3,"queryParams","routerLink","template"],[1,"color-notification","mr-1",3,"name","size"],[4,"ngTemplateOutlet"],[3,"actions"],[1,"action-icon"],[3,"routerLink"],[3,"click"],[1,"ash-color",3,"click"],["sbButton","",3,"openGallery","profileSecretAccessPageRedirectParams","sbUnlockButton","size","source","variant"],["sbButton","",3,"queryParams","routerLink","size"],[1,"nc-icon","nc-key"],[1,"nc-icon","nc-unlock"],["sbButton","",3,"size","variant"],["sbButton","",3,"click","
1size","variant"],["sbButton","",1,"action-button",3,"size","variant"],["sbButton","",1,"action-button",3,"queryParams","routerLink","size"],["sbButton","",1,"action-button",3,"click","size","variant"]],template:function(r,a){r&1&&(s(0,"div",4),g(1,nn,13,20,"ng-container",5)(2,on,2,0,"div",6),g(3,an,1,1,"ng-container"),c(),$(4,ln,3,1,"ng-template",null,0,G)(6,_n,3,1,"ng-template",null,1,G)(8,Pn,13,4,"ng-template",null,2,G)),r&2&&(l(),_(a.account.benefactor?1:2),l(2),_(a.account.dependent?3:-1))},dependencies:[ze,ce,ae,ie,Re,S,Pe,Je,We,Ze,et,tt,nt,O,qe,Y,re,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */","/*# sourceMappingURL=my-access.component-WCL3FVJP.css.map */"],changeDetection:0}),t);return e=ue([Ee()],e),e})();f();var On=()=>({page_nav:"Secret"}),wn=()=>["/next/search"],kn=e=>["/next/profile",e];function Ln(e,t){if(e&1&&o(0),e&2){let n=p(3);v(" Once you create a Secret Album",n.siteStore.features().secret_questions_read_only?"":" or add Secret Questions to your profile",", members who request to view them will appear here. ")}}function An(e,t){e&1&&o(0," Once you create a Secret Album, members who request to view it will appear here. ")}function En(e,t){if(e&1&&(s(0,"p"),g(1,Ln,1,1)(2,An,1,0),c(),s(3,"a",6),o(4," Create Secret Album "),c()),e&2){let n=p(2);l(),_(n.memberService.account.dependent?1:2),l(2),m("queryParams",h(5,On))("routerLink","/next/me/photos")("size","big")("variant","fill-green")}}function Tn(e,t){e&1&&o(0," You can request secret access from a members profile. ")}function Bn(e,t){e&1&&o(0," The best way to generate interest is to view, favorite, and message more members. ")}function In(e,t){if(e&1&&(s(0,"p")(1,"span",7),o(2," Members who request access to view your "),s(3,"span",8),o(4,"Secret Album"),c(),o(5," will appear here. "),c(),d(6,"br")(7,"br"),g(8,Tn,1,0)(9,Bn,1,0),c(),s(10,"a",9),o(11,"Begin Your Search"),c()),e&2){let n=p(2);l(8),_(n.memberService.account.dependent?8:9),l(2),m("routerLink",h(4,wn))("size","big")("variant","fill-green")}}function qn(e,t){if(e&1&&(s(0,"div",3),g(1,En,5,6),x(2,"async"),X(3,In,12,5),c()),e&2){let n=p();l(),_(C(2,1,n.hasAlbum$)===!1?1:3)}}function Fn(e,t){if(e&1){let n=F();s(0,"div",4)(1,"div",10)(2,"div",11)(3,"div",12),d(4,"i",13),o(5," Approve All "),c(),s(6,"div"),o(7," These members requested Secret Acce
1ss. "),s(8,"button",14),d(9,"i",15),c()()(),s(10,"button",16),L("click",function(){w(n);let r=p();return k(r.approveAll())}),o(11," Approve All "),c()()()}if(e&2){let n=p();l(8),m("sbTooltip","Use \u2018Approve All\u2019 to grant them access. Don\u2019t worry, you can always revoke someone\u2019s access afterwards."),l(2),m("processing",n.pending)}}function Rn(e,t){if(e&1){let n=F();s(0,"li")(1,"a",22),L("click",function(){w(n);let r=p().$implicit,a=p();return k(a.accessService.grant(r.id))}),o(2,"Grant Secret Access"),c()()}}function zn(e,t){if(e&1){let n=F();s(0,"li")(1,"a",23),L("click",function(){w(n);let r=p().$implicit,a=p();return k(a.accessService.request(r,"access-requests-context-menu"))}),o(2,"Request Secret Access"),c()()}}function Un(e,t){if(e&1){let n=F();s(0,"button",17),L("click",function(){let r=w(n).$implicit,a=p();return k(a.accessService.grant(r.id))}),o(1," Approve "),c(),s(2,"sb-context-menu",18),g(3,Rn,3,0,"li"),x(4,"async"),g(5,zn,3,0,"li"),x(6,"async"),s(7,"li")(8,"a",19),o(9,"View Profile"),c()(),s(10,"li")(11,"a",20),L("click",function(){let r=w(n).$implicit,a=p();return k(a.memberService.openMessageModal(r))}),o(12,"Message"),c()(),s(13,"li")(14,"a",21),L("click",function(){let r=w(n).$implicit,a=p();return k(a.accessService.decline(r.id))}),o(15,"Deny Secret Access"),c()()()}if(e&2){let n=t.$implicit,i=p();m("size","small")("variant","fill-green"),l(3),_(C(4,5,i.accessService.canGrant(n.id))?3:-1),l(2),_(C(6,7,i.accessService.canRequest(n.id))?5:-1),l(3),m("routerLink",V(9,kn,n.browse_id))}}var rt=(()=>{let t=class t{constructor(){this.changeDetectorRef=u(te),this.memberService=u(I),this.accessService=u(Q),this.interactionListStore=u(P),this.siteStore=u(B),this.hasAlbum$=this.memberService.account$.pipe(j("has_secret_album")),this.pluralize=Fe,this.pending=!1}approveAll(){this.pending||(this.pending=!0,J(this,null,function*(){yield this.accessService.approveAllPending(),this.pending=!1,this.interactionListStore.clear(),this.changeDetectorRef.markForCheck()}))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=M({type:t,selectors:[["sb-requests"]],features:[y([],[{provide:A,useValue:{group:"pending_requesters"}},P])],decls:11,vars:11,consts:[["actions",""],[1,"wrapper"],[1,"ph-4","title"],[1,"placeholder"],[1,"padded-container"],[3,"actions","topAdmirerBadge"],["sbButton","",3,"queryParams","routerLink","size","variant"],[1,"font-weight-500"],[1,"white-space-nowrap"],["sbButton","",3,"routerLink","size","variant"],[1,"approve-box"],[1,"flex-dynamic"],[1,"mb-2@r","t-6@r","font-weight-500"],[1,"nc-icon","nc-check-circle","i-4@r","green-color"],[3,"sbTooltip"],[1,"nc-icon","nc-help-circle"],["sbButton","","size","big","variant","fill-green",1,"approve-box__action","white-space-nowrap",3,"click","processing"],["sbButton","",1,"action-button",3,"click","size","variant"],[1,"action-icon"],[3,"routerLink"],[3,"click"],[1,"ash-color",3,"click"],[1,"green-color",3,"click"],[1,"gold-color",3,"click"]],template:function(r,a){if(r&1&&(s(0,"div",1)(1,"div",2),o(2),c(),g(3,qn,4,3,"div",3),x(4,"async"),x(5,"async"),g(6,Fn,12,2,"div",4),x(7,"async"),d(8,"sb-interaction-list",5),$(9,Un,16,11,"ng-template",null,0,G),c()),r&2){let H=T(10);l(2),v("",a.memberService.account.dependent?"Secret":"Incoming"," requests"),l(),_(C(4,5,a.interactionListStore.loading$)===!1&&!C(5,7,a.interactionListStore.profiles$).length?3:-1),l(3),_(C(7,9,a.interactionListStore.profiles$).length>1?6:-1),l(2),m("actions",H)("topAdmirerBadge",!0)}},dependencies:[O,S,Ne,E,Y,b],styles:[".wrapper[_ngcontent-%COMP%]{max-width:800px;margin-right:auto;margin-left:auto}.title[_ngcontent-%COMP%]{padding-top:24px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{padding-top:48px}}.title[_ngcontent-%COMP%]{font-weight:400;font-size:10px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{font-size:12px}}.title[_ngcontent-%COMP%]{line-height:16px}@media(min-width:1025px){.title[_ngcontent-%COMP%]{line-height:16px}}.title[_ngcontent-%COMP%]{color:#717171;text-transform:uppercase;letter-spacing:.06em}.loading[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}@media(min-width:1025px){.loading[_ngcontent-%COMP%]{margin-top:64px;margin-bottom:64px}}.loading[_ngcontent-%COMP%]{display:flex;margin-right:auto;margin-left:auto}.load-more-button[_ngcontent-%COMP%]{margin-bottom:32px;margin-bottom:calc(env(safe-area-inset-bottom) + 32px)}.placeholder[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]{padding-top:64px;padding-bottom:64px}}.placeholder[_ngcontent-%COMP%]{width:100%;max-width:432px;padding-right:16px;padding-left:16px;margin-right:auto;margin-left:auto;text-align:center}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:400;font-size:14px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:24px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:24px}@media(min-width:1025px){.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:48px}}.placeholder[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#717171}.special-text-lock-icon[_ngcontent-%COMP%]{margin-right:2px}\n/*# sourceMappingURL=_styles-USINHXLF.css.map */",".approve-box[_ngcontent-%COMP%]{margin-top:16px}@media(min-width:1025px){.approve-box[_ngcontent-%COMP%]{margin-top:32px}}.approve-box[_ngcontent-%COMP%]{padding:12px}@media(min-width:1025px){.approve-box[_ngcontent-%COMP%]{padding:24px}}.approve-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-width:800px;margin-right:auto;margin-left:auto;background-color:#fff;border-radius:16px;box-shadow:0 1px 4px 2px #00000014}@media screen and (min-width:481px){.approve-box[_ngcontent-%COMP%]{flex-direction:row;align-items:center}}@media screen and (max-width:480px){.approve-box__action[_ngcontent-%COMP%]{margin-top:8px}}@media screen and (max-width:480px)and (min-width:1025px){.approve-box__action[_ngcontent-%COMP%]{margin-top:16px}}\n/*# sourceMappingURL=requests.component-X56TVLFL.css.map */"],changeDetection:0});let e=t;return e})();var Vn=()=>u(I).account$.pipe(ee(1),W(t=>t.benefactor)),Dn=()=>!u(B).features().secret_questions_read_only,at=[{path:"requests",component:rt},{path:"my-access",component:K,data:{myAccessType:"albums"}},{path:"videos",component:K,data:{myAccessType:"videos"},canMatch:[je]},{path:"approved",component:Ke}],$n=[{path:"",component:de,canMatch:[Vn],children:[...at,{path:"questions",component:K,data:{myAccessType:"questions"},canMatch:[Dn]},{path:"**",redirectTo:"my-access",pathMatch:"full"}]}],Gn=[{path:"",component:de,canActivate:[He(["page_nav"])],children:[...at,{path:"**",redirectTo:"requests",pathMatch:"full"}]}],ra=[{path:"profile",loadChildren:()=>import("./chunk-MDLVSGJB.js").then(e=>e.PROFILE_SECRET_ACCESS_ROUTES)},...$n,...Gn];export{ra as ACCESS_ROUTES};
2//# sourceMappingURL=chunk-P4HGNNXU.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.