!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"substack@67116bc"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="34b8388f-f7d3-4e0a-9523-5f7dd91285d6",e._sentryDebugIdIdentifier="sentry-dbid-34b8388f-f7d3-4e0a-9523-5f7dd91285d6")}catch(e){}}();"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["17372"],{5370:function(e,t,r){r.d(t,{A:()=>n});let n={group:"group-JuxKi2",segment:"segment-XiSgAE",outlined:"outlined-kJWSK2"}},51419:function(e,t,r){r.d(t,{WJ:()=>l});var n=r(4006),i=r(17402);let a={name:null,version:null,major:null},o={chrome:130,firefox:130,safari:16,edge:130},s=(0,i.createContext)({browser:a,isSupported:!0,webviewPlatform:null});function l(e){let{browser:t=a,webviewPlatform:r=null,children:l}=e,c=(0,i.useMemo)(()=>{let{name:e,version:n,major:i}=t,a=!0,s=o[null==e?void 0:e.toLowerCase()];return e&&s&&(a=!!(n&&i&&Number(i)>=s)),{browser:t,isSupported:a,webviewPlatform:r}},[t,r]);return(0,n.Y)(s.Provider,{value:c,children:l})}},55157:function(e,t,r){r.d(t,{r:()=>y});var n=r(4006),i=r(17402),a=r(24078),o=r(35369),s=r(97515),l=r(76977),c=r(57820),d=r(45974),u=r(63136),p=r(49095),E=r(39318),S=r(30396);let _=e=>{let{items:t,selectItem:r,selectedItem:i,setSelectedItem:a,selectedItemRef:o,query:s}=e;return(0,n.Y)(n.FK,{children:t.map(e=>(0,n.Y)(Y,{isSelected:i&&e.id===i.id&&e.type===i.type,onClick:()=>r(e),onMouseEnter:()=>a(e),elemRef:i&&e.id===i.id&&e.type===i.type?o:void 0,children:(0,n.FD)(l.Ye,{flex:"grow",alignItems:"center",gap:12,padding:8,children:["user"===e.type&&(0,n.Y)(A,{item:e,query:s}),"pub"===e.type&&(0,n.FD)(n.FK,{children:[(0,n.Y)(d.Nq,{className:S.A.profileImg,logoUrl:e.photo_url||(0,E.Ji1)(e.id),size:32,publicationName:e.name}),(0,n.FD)(l.I1,{style:{maxWidth:"260px"},children:[(0,n.Y)(u.EY.B4,{weight:"semibold",color:"primary",ellipsis:!0,as:"div",children:e.name}),e.author_name&&e.author_name.length>0?(0,n.FD)(u.EY.B5,{color:"secondary",ellipsis:!0,translated:!0,children:["by ",I18N.p(e.author_name)]}):null]})]})]})},e.id+e.type))})};function A(e){var t,r,i;let{item:o}=e,s=o.publication_name;return!s&&o.publications&&o.publications.length>0&&(s=o.primary_publication_id?null==(r=o.publications.find(e=>{let{id:t}=e;return t===o.primary_publication_id})||o.publications[0])?void 0:r.name:null==(i=o.publications[0])?void 0:i.name),(0,n.FD)(n.FK,{children:[(0,n.Y)(a.eu,{className:S.A.avatar,photoUrl:(0,E.dJ9)(o.photo_url||(0,E.Ji1)(o.id),80),size:36}),(0,n.FD)(l.I1,{maxWidth:220,children:[(0,n.FD)(l.Ye,{gap:4,minWidth:0,children:[(0,n.Y)(u.EY.B4,{color:"primary",weight:"semibold",ellipsis:!0,children:o.name}),(0!==o.bestseller_tier||(null==(t=o.status)?void 0:t.vip))&&(0,n.Y)(p.UserStatusSymbols,{className:S.A.badge,tier:o.bestseller_tier,status:o.status,size:"sm",userId:o.id})]}),s&&o.handle?(0,n.FD)(u.EY.B4,{color:"secondary",ellipsis:!0,children:[o.handle," • ",s]}):s?(0,n.Y)(u.EY.B5,{color:"secondary",ellipsis:!0,children:s}):o.handle?(0,n.Y)(u.EY.B4,{color:"secondary",ellipsis:!0,children:o.handle}):null]})]})}let Y=e=>{let{children:t,isSelected:r,onClick:i,onMouseEnter:a,elemRef:o,className:s}=e;return(0,n.Y)("button",{className:"".concat(S.A.item," ").concat(r?S.A.isSelected:""," ").concat(null!=s?s:""),onClick:i,onMouseEnter:a,onMouseDown:e=>{e.preventDefault();let{target:t}=e;t&&void 0!==t.focus&&t.focus()},ref:o,tabIndex:-1,children:t})},y=(0,i.forwardRef)((e,t)=>{var r;let{items:a,selectItem:d,query:u,isLoading:p,placeholderText:E,noResultsText:_,minQueryLength:A=0,language:y}=e,{iString:m}=I18N.i(y),[h,f]=(0,i.useState)(0),[T,C]=(0,i.useState)(!1),g=a.size>1,N=Array.from(a.values()).some(e=>e.length>(g?3:6))&&!T,b=Array.from(a.values()).map(e=>T?e:e.slice(0,g?3:6)).flat(),U=(0,i.useRef)(),O=null!=(r=b[h])?r:null,w=b.length+ +!!N,F=!!N&&h===w-1,R=(0,i.useRef)(null);(0,i.useEffect)(()=>{h>=0&&U.current&&U.current.scrollIntoView({behavior:"smooth",block:"nearest"})},[h,U]),(0,i.useEffect)(()=>{f(0),C(!1)},[a]);let k=e=>{let t=b.findIndex(t=>t.id===e.id);-1!==t?f(t):f(0)};return((0,i.useImperativeHandle)(t,()=>({getElement:()=>R.current,onKeyDown:e=>{let{event:t}=e;return"ArrowUp"===t.key?(f((h+w-1)%w),!0):"ArrowDown"===t.key?(f((h+1)%w),!0):"Enter"===t.key&&(O&&d(O),F&&C(!0),!0)}})),E&&(!u||u.length{let[t,r]=e;return(0,n.Y)(I,{title:g?m(t):void 0,maxItemsToDisplay:T?void 0:g?3:6,items:r,selectItem:d,selectedItem:O,setSelectedItem:k,selectedItemRef:U,query:u})}),p&&(0,n.Y)(l.I1,{padding:8,alignItems:"center",children:(0,n.Y)(c.y$,{})}),!p&&0===w&&(0,n.Y)(l.Ye,{padding:8,children:(0,n.Y)(s.p,{title:_,description:m("Try another search...")})}),N&&(0,n.Y)(l.I1,{padding:8,children:(0,n.Y)(Y,{isSelected:F,onMouseEnter:()=>f(w-1),onClick:()=>C(!0),elemRef:F?U:void 0,className:S.A.showMore,children:(0,n.Y)(o.$n,{priority:"secondary",flex:"grow",children:m("Load more...")})})})]})}),I=e=>{let{title:t,maxItemsToDisplay:r,items:i,selectItem:a,selectedItem:o,setSelectedItem:s,selectedItemRef:c,query:d}=e,p=r?i.slice(0,r):i;return(0,n.FD)(n.FK,{children:[t&&(0,n.Y)(l.I1,{padding:8,children:(0,n.Y)(u.EY.Meta,{color:"secondary",weight:"semibold",children:t})}),(0,n.Y)(_,{items:p,selectItem:a,selectedItem:o,setSelectedItem:s,selectedItemRef:c,query:d})]})}},29528:function(e,t,r){r.d(t,{A:()=>N});var n=r(69277),i=r(70408),a=r(4006),o=r(12215),s=r(97213),l=r(17402),c=r(84605),d=r(25006),u=r(86500),p=r(94729),E=r(12501),S=r(35369),_=r(60322),A=r(76977),Y=r(16993),y=r(57820),I=r(414),m=r(63136),h=r(36372),f=r(66511),T=r(23380),C=r(91392);let g="cellPadding-f5tfb5",N=e=>{let{open:t,onSubdomain:r,close:n}=e,[i,s]=(0,l.useState)(r?C.pz.PUBLISHER:C.pz.SUBSTACK),[_,m]=(0,l.useState)(!1),[f,g]=(0,l.useState)(!0),[N,U]=(0,l.useState)(!1),[O,w]=(0,l.useState)(new Set),F=(0,d.df)(),{popToast:R}=(0,h.d)(),{iString:k}=(0,c.GO)(),{language:v}=(0,c.GO)(),P=(0,T.NN)(v),{refetch:D}=(0,E.st)({pathname:"/api/v1/cookie_preferences",method:"POST"});(0,l.useEffect)(()=>{let e=async()=>{g(!0),m(!1);try{var e,t,r,n;let i=await (0,p.x6)("/api/v1/cookie_preferences"),a=null==(e=i.pubPreferences)?void 0:e.find(e=>e.pubId===(null==F?void 0:F.id)),o=new Set([...null!=(r=null==(t=i.substackPreferences)?void 0:t.disabledCookies)?r:[],...null!=(n=null==a?void 0:a.disabledCookies)?n:[]]);w(o)}catch(e){w(new Set([...T.FB,...T.F7]))}finally{g(!1)}};t&&((0,u.u4)(u.qY.COOKIE_MANAGEMENT_MODAL_SEEN,{}),e())},[t,null==F?void 0:F.id]);let H=async e=>{let{substackDisabledCookies:t,pubDisabledCookies:r}=e;o.set(C.HY.HIDE_COOKIE_BANNER,new Date().toJSON(),{expires:365}),await D({json:{pubDisabledCookies:r,substackDisabledCookies:t}})},B=async()=>{let e,t;if(N)return;U(!0);let r=Array.from(O),o=Object.values(C.Pv),s=Object.values(C.HY);_?(t=r.filter(e=>o.includes(e)),e=r.filter(e=>s.includes(e))):(t=[...T.F7],e=[...T.FB]);try{await H({substackDisabledCookies:e,pubDisabledCookies:t});let o=_?r:[...T.FB,...T.F7];(0,u.u4)(u.qY.COOKIE_PREFERENCES_SET,{disabledCookies:o,tab:i}),(0,u.u4)(u.qY.COOKIE_MANAGEMENT_MODAL_SUBMITTED,{disabledCookies:o,tab:i}),R(()=>(0,a.Y)(h.y,{text:k("Preferences saved")})),window.location.reload(),n()}catch(e){R(()=>(0,a.Y)(h.y,{text:k("Failed to save preferences. Please try again.")})),U(!1)}},M=async()=>{if(!N){U(!0);try{await H({substackDisabledCookies:[],pubDisabledCookies:[]}),(0,u.u4)(u.qY.COOKIE_PREFERENCES_SET,{disabledCookies:[],tab:i}),(0,u.u4)(u.qY.COOKIE_MANAGEMENT_MODAL_SUBMITTED,{disabledCookies:[],tab:i}),R(()=>(0,a.Y)(h.y,{text:k("Preferences saved")})),window.location.reload(),n()}catch(e){R(()=>(0,a.Y)(h.y,{text:k("Failed to save preferences. Please try again.")})),U(!1)}}},K=e=>{_||m(!0),w(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r}),(0,u.u4)(u.qY.COOKIE_MANAGEMENT_MODAL_COOKIE_TOGGLED,{cookie:e})},L=[{value:C.pz.PUBLISHER,label:k("Publisher")},{value:C.pz.SUBSTACK,label:k("Substack")}];return(0,a.FD)(Y.aF,{isOpen:t,onClose:B,className:"modal-bBpQD3",disableCloseOnBackdropClick:!0,children:[(0,a.Y)(Y.rQ,{onClose:()=>{(0,u.u4)(u.qY.COOKIE_MANAGEMENT_MODAL_DISMISSED,{}),B()},title:k("Cookie Preferences")}),(0,a.Y)(Y.cw,{className:"grow-CBXF8f",children:f?(0,a.Y)(A.VP,{flex:"grow",justifyContent:"center",alignItems:"center",children:(0,a.Y)(y.y$,{})}):(0,a.FD)(A.I1,{flex:"fill",gap:8,children:[r&&(0,a.Y)(I.r,{tabs:L,value:i,onChange:s}),(0,a.FD)(A.I1,{flex:"fill",children:["publisher"===i&&(0,a.Y)(b,{cookies:P.filter(e=>e.owner===C.pz.PUBLISHER),disabledCookies:O,toggleState:K}),"substack"===i&&(0,a.Y)(b,{cookies:P.filter(e=>e.owner===C.pz.SUBSTACK),disabledCookies:O,toggleState:K})]})]})}),(0,a.Y)(Y.jl,{primaryButton:(0,a.Y)(S.$n,{onClick:B,disabled:f||N,children:_?k("Save preferences"):k("Reject All")}),secondaryButton:(0,a.Y)(S.$n,{onClick:M,disabled:f||N,children:k("Accept all")}),showDivider:!0})]})},b=e=>{let{cookies:t,disabledCookies:r,toggleState:o}=e;return(0,a.Y)("table",{className:"table-m2WTld",children:(0,a.Y)("tbody",{children:t.map(e=>(0,a.Y)(U,(0,i._)((0,n._)({},e),{onToggle:()=>o(e.id),enabled:!r.has(e.id)})))})})},U=e=>{let{name:t,type:r,description:n,enabled:i,onToggle:o}=e;return(0,a.FD)("tr",{className:"rowBorderBottom-tHD_Mb",children:[(0,a.Y)("td",{className:g,children:(0,a.FD)(A.I1,{gap:2,alignItems:"start",children:[(0,a.Y)(m.EY.B4,{children:t}),(0,a.Y)(O,{cookieType:r})]})}),(0,a.Y)("td",{className:g,children:(0,a.Y)(m.EY.B5,{color:"secondary",children:n})}),(0,a.Y)("td",{className:g,children:r!==C.UF.NECESSARY&&(0,a.Y)(_.S,{checked:i,onChange:o})})]},t)},O=e=>{let{cookieType:t}=e,{language:r}=(0,c.GO)(),n=(0,T.ks)(r);return(0,a.Y)(f.m_,{text:n[t],children:(0,a.FD)(A.Ye,{justifyContent:"start",alignItems:"center",gap:4,children:[(0,a.Y)(m.EY.Meta,{children:t}),(0,a.Y)(s.A,{size:16,stroke:"var(--color-fg-secondary)"})]})})}},74297:function(e,t,r){r.d(t,{M:()=>S});var n=r(69277),i=r(4006),a=r(48697),o=r(45773),s=r(58050),l=r(46271),c=r(86500),d=r(1683),u=r(12501),p=r(36372),E=r(32848);function S(e){let{publication:t,profileId:r,onSuccess:S=()=>{},source:_,params:A={}}=e,Y=(0,l.Jd)(),y=(0,E.n7)(),I=(0,s.uy)(),{popToast:m}=(0,p.d)(),{isLoading:h,refetch:f}=(0,u.st)({pathname:"/api/v1/reader/signup/pub",method:"POST",json:(0,n._)({publication_id:null==t?void 0:t.id,email:null==Y?void 0:Y.email,source:_,first_url:d.R9,first_referrer:d.b7,first_session_url:d.K0,first_session_referrer:d.OG,current_url:d.AT,current_referrer:d.uC},A)});return{isLoading:h,subscribe:async()=>{if(!Y||!t)return void m(()=>(0,i.Y)(p.y,{text:"Something went wrong. Please try again.",Icon:a.A}));try{await f(),m(()=>(0,i.Y)(p.y,{text:"Subscribed to ".concat(t.name),Icon:o.A})),S(),y.refetchPublication(t.id),r&&I(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.includes(r)?e:[r,...e]},{revalidate:!1}),(0,c.u4)(c.qY.FEED_ONE_CLICK_SUBSCRIBE,{source:_,publication_id:t.id})}catch(e){console.error(e),m(()=>(0,i.Y)(p.y,{text:"There was an issue subscribing to this profile.",Icon:a.A}))}}}}},59922:function(e,t,r){r.d(t,{A:()=>i});var n=r(17402);let i=(e,t)=>{let r=(0,n.useRef)();(0,n.useEffect)(()=>{r.current=e},[e]),(0,n.useEffect)(()=>{if(null!==t){let e=setInterval(function(){var e;null==(e=r.current)||e.call(r)},t);return()=>clearInterval(e)}},[t])}},64127:function(e,t,r){r.d(t,{JZ:()=>T,PJ:()=>f,g:()=>C,gz:()=>N,tH:()=>g,yg:()=>h});var n=r(4006),i=r(82853),a=r(93164),o=r(27775),s=r(60996),l=r(83126),c=r(49031),d=r(70357),u=r(38685),p=r(84605),E=r(40691),S=r(35369),_=r(45859),A=r(87370),Y=r(78526),y=r(2481),I=r(39318),m=r(49807);let h=e=>{let{variant:t,url:r,onLinkClicked:i}=e,{iString:a}=(0,p.GO)(),o=()=>{window.open((0,m.yRP)("https://www.facebook.com/sharer/sharer.php",{u:r}),"_blank"),null==i||i("facebook")};return"icon"===t?(0,n.Y)(S.K0,{priority:"secondary-outline",onClick:o,children:(0,n.Y)(c.A,{size:20})}):(0,n.Y)(_.Dr,{leading:(0,n.Y)(c.A,{}),onClick:o,children:a("Share to Facebook")})},f=e=>{let{variant:t,url:r,twitterText:i,onLinkClicked:a}=e,{iString:o}=(0,p.GO)(),s=()=>{window.open((0,I.gKg)({url:r,text:i||""}),"_blank"),null==a||a("twitter")};return"icon"===t?(0,n.Y)(S.K0,{priority:"secondary-outline",onClick:s,children:(0,n.Y)(u.A,{size:20})}):(0,n.Y)(_.Dr,{leading:(0,n.Y)(u.A,{}),onClick:s,children:o("Share to X")})},T=e=>{let{variant:t,url:r,twitterText:i,onLinkClicked:a}=e,{iString:o}=(0,p.GO)(),s=()=>{window.open((0,I.man)({text:i?"".concat(i,"\n").concat(r):null!=r?r:""}),"_blank"),null==a||a("bluesky")};return"icon"===t?(0,n.Y)(S.K0,{priority:"secondary-outline",onClick:s,children:(0,n.Y)(l.A,{size:20})}):(0,n.Y)(_.Dr,{leading:(0,n.Y)(l.A,{}),onClick:s,children:o("Share to Bluesky")})},C=e=>{let{variant:t,url:r,onLinkClicked:a}=e,{iString:o}=(0,p.GO)(),s=(0,Y.L)(),l=()=>{r&&(s(r),null==a||a("copy"))};return"icon"===t?(0,n.Y)(S.K0,{priority:"secondary-outline",onClick:l,children:(0,n.Y)(i.A,{height:20})}):(0,n.Y)(_.Dr,{leading:(0,n.Y)(i.A,{}),onClick:l,children:o("Copy link")})},g=e=>{let{variant:t,url:r,onLinkClicked:i}=e,{iString:a}=(0,p.GO)(),o=(0,y.NP)(),s=()=>{o.open({restackUrl:r||""}),null==i||i("notes")};return"icon"===t?(0,n.Y)(S.K0,{priority:"secondary-outline",onClick:s,children:(0,n.Y)(d.A,{size:20})}):(0,n.Y)(_.Dr,{leading:(0,n.Y)(d.A,{}),onClick:s,children:a("Share to Notes")})};function N(e){let t=h(e),r=T(e),i=f(e),l=C(e),c=g(e),d=(e=>{let{onLinkClicked:t,comment:r}=e,{iString:i}=(0,p.GO)(),{openModal:o,closeModal:l}=(0,E.hS)();return r?(0,n.Y)(_.Dr,{leading:(0,n.Y)(a.A,{}),onClick:()=>{null==t||t("embed"),o({children:(0,n.Y)(s.k,{comment:r||void 0,onClose:l}),width:540})},children:i("Embed note")}):null})(e),u=function(e){let{url:t,onLinkClicked:r}=e,{iString:i}=(0,p.GO)(),a=(0,A.$)();return(0,n.Y)(_.Dr,{leading:(0,n.Y)(o.A,{}),onClick:()=>{a.open({linkAttachmentUrl:null!=t?t:void 0,source:"share_post"}),null==r||r("chat")},children:i("Send as message")})}(e);return(0,n.FD)(n.FK,{children:[(0,n.FD)(_.H9,{isFirst:!0,children:[l,u]}),(0,n.FD)(_.H9,{children:[c,t,r,i]}),(0,n.Y)(_.H9,{children:d})]})}},68391:function(e,t,r){r.d(t,{C4:()=>l,Kl:()=>s});var n=r(4006),i=r(17402),a=r(46271);let o=(0,i.createContext)({registerVideo:()=>void 0,unregisterVideo:()=>void 0,updatePaywallState:()=>void 0}),s=e=>{let{children:t}=e,[r,s]=(0,i.useState)(0),l=(0,i.useRef)([]),c=(0,i.useRef)(new Map),d=(0,a.Qg)().autoPlayVideo;(0,i.useEffect)(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.target;"true"===t.getAttribute("data-user-changed-playback")||(e.isIntersecting?!c.current.get(t)&&d&&t.play().catch(e=>{console.log("Unable to autoplay prior to user interaction with the dom.",e),t.muted=!0,t.play().catch(e=>{console.error("Unable to autoplay prior to user interaction with the dom when muted.",e)})}):t.pause())})},{threshold:1});return l.current.forEach(t=>{var r;(null==(r=t.current)?void 0:r.player)&&e.observe(t.current.player)}),()=>{l.current.forEach(t=>{var r;(null==(r=t.current)?void 0:r.player)&&e.unobserve(t.current.player)})}},[r]);let u=(0,i.useCallback)(e=>{e&&!l.current.includes(e)&&(l.current.push(e),s(e=>e+1))},[]),p=(0,i.useCallback)(e=>{l.current=l.current.filter(t=>t!==e),s(e=>e+1)},[]),E=(0,i.useCallback)(e=>{var t;let{videoPlayerRef:r,showPaywall:n}=e;(null==(t=r.current)?void 0:t.player)&&c.current.set(r.current.player,n)},[]);return(0,n.Y)(o.Provider,{value:{registerVideo:u,unregisterVideo:p,updatePaywallState:E},children:t})},l=e=>{let{disable:t,showPaywall:r,videoPlayerRef:n}=e,{registerVideo:a,unregisterVideo:s,updatePaywallState:l}=(0,i.useContext)(o);(0,i.useEffect)(()=>{if(n.current&&!t)return a(n),()=>{s(n)}},[t,a,s,n]),(0,i.useEffect)(()=>{l({showPaywall:r,videoPlayerRef:n})},[r,l,n])}},23380:function(e,t,r){r.d(t,{F7:()=>l,FB:()=>s,NN:()=>o,ks:()=>a});var n=r(96400),i=r(91392);let a=e=>{let{iString:t}=n.TH.i(e||"en");return{Necessary:t("These cookies are essential for you to browse the website and use its features."),Performance:t("These cookies collect information about how you use a website, like which pages you visited and which links you clicked on."),Functionality:t("These cookies allow us to remember choices you have made in the past, and do things like auto-login")}},o=e=>{let{iString:t}=n.TH.i(e||"en");return[{name:"_ga family",id:i.Pv.GA_TRACKING,type:i.UF.PERFORMANCE,description:t("3rd party analytics tracking."),owner:i.pz.PUBLISHER},{name:"Google Tag Manager",id:i.Pv.GA_TAG_MANAGER,type:i.UF.PERFORMANCE,description:t("Used for Google tag management and 3rd party analytics tracking."),owner:i.pz.PUBLISHER},{name:"Facebook Pixel",id:i.Pv.FB_PIXEL,type:i.UF.PERFORMANCE,description:t("Used for facebook ad campaign 3rd party analytics."),owner:i.pz.PUBLISHER},{name:"Twitter Pixel",id:i.Pv.TWITTER_PIXEL,type:i.UF.PERFORMANCE,description:t("Used for X (formerly known as Twitter) ad campaign 3rd party analytics."),owner:i.pz.PUBLISHER},{name:"Parse.ly Pixel",id:i.Pv.PARSELY_PIXEL,type:i.UF.PERFORMANCE,description:t("Used for parse.ly 3rd party analytics."),owner:i.pz.PUBLISHER},{name:"intro_popup_last_hidden_at",id:i.HY.INTRO_POPUP_LAST_HIDDEN_AT,type:i.UF.FUNCTIONALITY,description:t("Prevents showing introductory information the user has already seen."),owner:i.pz.SUBSTACK},{name:"muxData",id:i.HY.MUX_DATA,type:i.UF.FUNCTIONALITY,description:t("Used for anonymous video metric collection and aggregation."),owner:i.pz.SUBSTACK},{name:"like_upsell_last_shown_at",id:i.HY.LIKE_UPSELL_LAST_SHOWN_AT,type:i.UF.FUNCTIONALITY,description:t("Prevents users from repeatedly being shown features."),owner:i.pz.SUBSTACK},{name:"chatbot_terms_last_accepted_at",id:i.HY.CHATBOT_TERMS_LAST_ACCEPTED_AT,type:i.UF.FUNCTIONALITY,description:t("Prevents users from repeatedly having to accept chatbot terms."),owner:i.pz.SUBSTACK},{name:"preferred_language",id:i.HY.PREFERRED_LANGUAGE,type:i.UF.FUNCTIONALITY,description:t("Stores the user's preferred language"),owner:i.pz.SUBSTACK},{name:"visit_id",id:i.HY.VISIT_ID,type:i.UF.PERFORMANCE,description:t("First party analytics tracking."),owner:i.pz.SUBSTACK},{name:"ajs_anonymous_id",id:i.HY.ANONYMOUS_ID,type:i.UF.PERFORMANCE,description:t("First party analytics tracking."),owner:i.pz.SUBSTACK},{name:"ab_testing_id",id:i.HY.AB_TESTING_ID,type:i.UF.PERFORMANCE,description:t("First party analytics tracking."),owner:i.pz.SUBSTACK},{name:"ab_experiment_sampled",id:i.HY.AB_EXPERIMENT_SAMPLED,type:i.UF.PERFORMANCE,description:t("First party analytics tracking."),owner:i.pz.SUBSTACK},{name:"_ga family",id:i.HY.GA_TRACKING,type:i.UF.PERFORMANCE,description:t("3rd party analytics tracking."),owner:i.pz.SUBSTACK},{name:"AdQuick tracking pixel",id:i.HY.AD_QUICK_TRACKING_PIXEL,type:i.UF.PERFORMANCE,description:t("3rd party analytics tracking."),owner:i.pz.SUBSTACK},{name:"Meta tracking pixel",id:i.HY.META_TRACKING_PIXEL,type:i.UF.PERFORMANCE,description:t("3rd party analytics tracking."),owner:i.pz.SUBSTACK},{name:"_dd_s",id:i.HY.DATADOG_S,type:i.UF.PERFORMANCE,description:t("First party cookie used to identify and diagnose technical problems on the site."),owner:i.pz.SUBSTACK},{name:"fs_uid",id:i.HY.FULLSTORY_UID,type:i.UF.PERFORMANCE,description:t("Used to track user actions across the site for debugging purposes."),owner:i.pz.SUBSTACK},{name:"__zlcmid",id:i.HY.ZENDESK_ID,type:i.UF.PERFORMANCE,description:t("Stores visitor’s machine-id for authentication with Zendesk chat widget."),owner:i.pz.SUBSTACK},{name:"substack.sid",id:i.HY.SESSION_SID,type:i.UF.NECESSARY,description:t("Session identifier."),owner:i.pz.SUBSTACK},{name:"connect.sid",id:i.HY.CUSTOM_DOMAIN_SESSION_SID,type:i.UF.NECESSARY,description:t("Session identifier."),owner:i.pz.SUBSTACK},{name:"substack.lli",id:i.HY.LIKELY_LOGGED_IN,type:i.UF.NECESSARY,description:t("Communicates login state across first party domains"),owner:i.pz.SUBSTACK},{name:"disable_html_pixels",id:i.HY.DISABLE_HTML_PIXELS,type:i.UF.NECESSARY,description:t("Ensures a consistent user experience across network requests."),owner:i.pz.SUBSTACK},{name:"experiment_",id:i.HY.DISABLE_EXPERIMENTS,type:i.UF.NECESSARY,description:t("Ensures a consistent user experience across network requests."),owner:i.pz.SUBSTACK},{name:"hideCookieBanner",id:i.HY.HIDE_COOKIE_BANNER,type:i.UF.NECESSARY,description:t("Ensures a consistent user experience across network requests."),owner:i.pz.SUBSTACK},{name:"cf_clearance",id:i.HY.CF_CLEARENCE,type:i.UF.NECESSARY,description:t("Used to grant access to our servers from our Content Delivery Network."),owner:i.pz.SUBSTACK},{name:"__cf_bm",id:i.HY.CF_BM,type:i.UF.NECESSARY,description:t("Used to block bot access to the site"),owner:i.pz.SUBSTACK},{name:"AWSALBTG / AWSALBTGCORS",id:i.HY.AWSALB,type:i.UF.NECESSARY,description:t("Ensures a consistent user experience across network requests."),owner:i.pz.SUBSTACK},{name:"cookie_storage_key",id:i.HY.COOKIE_STORAGE_KEY,type:i.UF.NECESSARY,description:t("Allows us to store your cookie preferences."),owner:i.pz.SUBSTACK},{name:"substack.oauth_interaction",id:i.HY.OAUTH_INTERACTION,type:i.UF.NECESSARY,description:t("Manages your current step in a multi-stage OAuth process like login or consent."),owner:i.pz.SUBSTACK},{name:"substack.oauth_session",id:i.HY.OAUTH_SESSION,type:i.UF.NECESSARY,description:t("Keeps your OAuth logins active."),owner:i.pz.SUBSTACK},{name:"substack.oauth_resume",id:i.HY.OAUTH_RESUME,type:i.UF.NECESSARY,description:t("Helps continue a multi-stage process after you have completed an action, like logging in or giving consent."),owner:i.pz.SUBSTACK}]},s=o().filter(e=>e.owner===i.pz.SUBSTACK&&e.type!==i.UF.NECESSARY).map(e=>e.id),l=o().filter(e=>e.owner===i.pz.PUBLISHER&&e.type!==i.UF.NECESSARY).map(e=>e.id),c={[i.HY.GA_TRACKING]:"_ga",[i.HY.GA_TAG_MANAGER]:"_ga",[i.HY.MUX_DATA]:"muxData",[i.HY.ANONYMOUS_ID]:i.FI.ANONYMOUS_ID,[i.HY.VISIT_ID]:i.FI.VISIT_ID,[i.HY.AB_TESTING_ID]:i.FI.AB_TESTING_ID,[i.HY.AB_EXPERIMENT_SAMPLED]:i.FI.AB_EXPERIMENT_SAMPLED,[i.HY.LIKE_UPSELL_LAST_SHOWN_AT]:i.FI.LIKE_UPSELL_LAST_SHOWN_AT,[i.HY.INTRO_POPUP_LAST_HIDDEN_AT]:i.FI.INTRO_POPUP_LAST_HIDDEN_AT,[i.HY.DISABLE_HTML_PIXELS]:i.FI.DISABLE_HTML_PIXELS,[i.HY.COOKIE_STORAGE_KEY]:i.FI.COOKIE_STORAGE_KEY,[i.HY.OAUTH_INTERACTION]:i.FI.OAUTH_INTERACTION,[i.HY.OAUTH_SESSION]:i.FI.OAUTH_SESSION,[i.HY.OAUTH_RESUME]:i.FI.OAUTH_RESUME,[i.HY.EXPERIMENTS]:"experiment_",[i.HY.DATADOG_S]:"_dd_s",[i.HY.FULLSTORY_UID]:"fs_",[i.HY.ZENDESK_ID]:"__zlcmid",[i.Pv.GA_TAG_MANAGER]:"_ga",[i.Pv.GA_TRACKING]:"_ga",[i.Pv.FB_PIXEL]:"_fbp",[i.Pv.TWITTER_PIXEL]:"_twq",[i.Pv.PARSELY_PIXEL]:"_parsely_visitor"};i.HY.AB_TESTING_ID,i.HY.AB_EXPERIMENT_SAMPLED,i.HY.ANONYMOUS_ID,i.HY.VISIT_ID,i.HY.EXPERIMENTS,i.HY.DISABLE_HTML_PIXELS,i.HY.DISABLE_EXPERIMENTS,i.HY.COOKIE_STORAGE_KEY,null==c||c[i.HY.ANONYMOUS_ID]},55714:function(e,t,r){function n(e){let{streamId:t}=e;return"live-stream:".concat(t)}r.d(t,{sl:()=>n}),RegExp("^live-stream:(?\\d+)$"),RegExp("^live-stream:(?\\d+)-host$"),RegExp("^live-stream:(?\\d+)-pub:(?\\d+)$")}}]);