"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["5970"],{30516:function(n,t,e){e.d(t,{Ac:()=>d,Vh:()=>f,WB:()=>u,XJ:()=>s});var o=e(36808),i=e(98914),a=e(48884),r=e(31742),l=e(60308),c=e(69332);async function s(n){var t;(null===(t=window._preloads)||void 0===t?void 0:t.language)&&void 0===window._preloads.customPublicationThemePreviewId&&a.TO.indexOf(window._preloads.language)>-1&&"function"==typeof fetch&&await fetch("/api/v1/i18n/translations?language=".concat(n),{method:"GET"}).then(n=>n.json()).then(t=>{a.mb.l(n,t)}).catch(()=>{})}function d(){let n=(0,c.m)(window.location.href);if(!n.token&&!n.lli||!window.history.replaceState)return;n.token&&!n.pt&&delete n.token,delete n.lli;let t="".concat((0,l.n1t)(window.location.pathname,n)).concat(window.location.hash);window.history.replaceState({},document.title,t)}function u(){if("object"==typeof window._analyticsConfig&&null!==window._analyticsConfig&&!window._analyticsConfig.anonymousId){let n;try{let t=o.get(r.Ic.ANONYMOUS_ID);t&&(n=JSON.parse(t))}catch(n){}n||(n=(0,i.EH)(),o.set(r.Ic.ANONYMOUS_ID,JSON.stringify(n),{expires:365})),window._analyticsConfig.anonymousId=n}}function f(){var n,t;!(!(null===(n=console)||void 0===n?void 0:n.log)||window.location.hostname.includes(".localhost")||window.location.pathname.startsWith("/embed")||window.location.pathname.startsWith("/visited-surface-frame"))&&(null===(t=window._preloads.user)||void 0===t||!t.is_global_admin)&&console.log("%c\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░ SUBSTACK WANTS YOU ░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▒▒░░░░░░░░░░░░░░▒▒▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░▒▓▓▓▓▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░▓▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▓░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░ TO BUILD A NEW ECONOMIC ENGINE FOR CULTURE ░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░\n https://substack.com/jobs\n","font-family:monospace")}e(82190)},35702:function(n,t,e){let o;e.d(t,{Z:()=>d,a:()=>u});var i,a,r=e(16584);e(98661);var l=e(6400),c=e(30516),s=e(68833);function d(n){if(o)throw Error("Cannot re-render the things");o=n,window._preloads&&(window._preloads.original_url=window.location.href),(0,s.uF)(),(0,c.WB)(),(0,c.Ac)(),function(){if(!window.history||!window.history.pushState||!window.scrollTo)return;let n=window.history.pushState;history.pushState=function(t,e,o){var i;let a=n.apply(history,arguments);return(null===(i=null==t?void 0:t.resetScroll)||void 0===i||i)&&-1===o.indexOf("#")&&window.scrollTo(0,0),a}}(),(0,c.XJ)(window._preloads.language).finally(()=>{f()}),(0,c.Vh)()}function u(n){let t=!1;if("object"==typeof window._preloads&&null!==window._preloads)for(let e in n)("object"==typeof n[e]&&null!==n[e]||n[e]!==window._preloads[e])&&(window._preloads[e]=n[e],t=!0);t&&f()}function f(){if(!o)return;let n=document.getElementById("entry");(0,l.render)((0,r.tZ)(o,{initialData:window._preloads}),n||document.body)}e(82190),"undefined"!=typeof window&&(null===(a=window._preloads)||void 0===a?void 0:null===(i=a.user)||void 0===i?void 0:i.is_global_admin)&&new URLSearchParams(window.location.search).get("devtools")&&e(14369)},48884:function(n,t,e){let o;e.d(t,{G3:()=>v,TO:()=>w,mb:()=>b,u8:()=>y});var i=e(84864);let a=e(41595),r=(o=a&&a.hasOwnProperty("default")?a.default:a)();r.setLocale("de");let l=o();l.setLocale("fr");let c=o();c.setLocale("es");let s=o();s.setLocale("pt");let d=o();d.setLocale("pt");let u=o();u.setLocale("it");let f=o();o().setLocale("en");let w=["de","es","fr","pt","pt-br","it"],p={"/":"/home-i","/going-paid":"/going-paid-i","/about":"/about-i"};[...new Set([...Object.keys(p),...Object.values(p),"/signup","/get-started"])];let g=n=>({de:r,es:c,fr:l,pt:s,"pt-br":d,it:u})[n]||f,h=n=>(Array.isArray(n)?(n[0]||"")+n.slice(1).map((n,t)=>"%".concat(t+1).concat(n)).join(""):n).toString(),y=function(n){for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};switch(null==e?void 0:e.language){case"de":n="de";break;case"es":n="es";break;case"fr":n="fr";break;case"pt":n="pt";break;case"pt-br":n="pt-br";break;case"it":n="it";break;default:n="en"}return o?n:(null==t?void 0:t.language)||n||"en"},b={i:function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=g("string"==typeof n?n:n?v({pub:n.pub}):"en"),e=n=>n.replace(/%%([A-Za-z_]+)%($|\w){1}/g,"%%$1%% ");return{iString:function(n){for(var o=arguments.length,i=Array(o>1?o-1:0),a=1;a3?a-3:0),l=3;l2?i-2:0),r=2;r1?o-1:0),a=1;a4?r-4:0),c=4;cn}},p:n=>[n,null],l:(n,t)=>{let e=g(n),o=JSON.parse(JSON.stringify(t));e.loadJSON(o,"messages")},n:()=>{let n={},t={};return i.CORE_SUPPORTED_LANGUAGES.forEach(n=>{t[n]=b.i(n)}),n.iStringN=function(n){for(var e=arguments.length,o=Array(e>1?e-1:0),a=1;a{r[e]=t[e].iString(n,...o)}),r},n.iTemplateN=function(n){for(var e=arguments.length,o=Array(e>1?e-1:0),a=1;a{r[e]=t[e].iTemplate(n,...o)}),r},n.iPluralN=function(n,e,o){for(var a=arguments.length,r=Array(a>3?a-3:0),l=3;l{c[i]=t[i].iPlural(n,e,o,...r)}),c},n}};"undefined"!=typeof window?window.I18N=b:e.g.I18N=b}}]);