!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@538433c"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5f40191b-713d-4e74-9d8e-d6b3176ee0dd",e._sentryDebugIdIdentifier="sentry-dbid-5f40191b-713d-4e74-9d8e-d6b3176ee0dd")}catch(e){}}(),(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["92536"],{6411:function(e){!function(t,n,i){if(t){for(var r,o={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},a={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},s={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},c={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},l=1;l<20;++l)o[111+l]="f"+l;for(l=0;l<=9;++l)o[l+96]=l.toString();h.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},h.prototype.unbind=function(e,t){return this.bind.call(this,e,function(){},t)},h.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},h.prototype.reset=function(){return this._callbacks={},this._directMap={},this},h.prototype.stopCallback=function(e,t){return!((" "+t.className+" ").indexOf(" mousetrap ")>-1||function e(t,i){return null!==t&&t!==n&&(t===i||e(t.parentNode,i))}(t,this.target))&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable)},h.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},h.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t]);r=null},h.init=function(){var e=h(n);for(var t in e)"_"!==t.charAt(0)&&(h[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},h.init(),t.Mousetrap=h,e.exports&&(e.exports=h),"function"==typeof define&&define.amd&&define(function(){return h})}function u(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function f(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return o[e.which]?o[e.which]:a[e.which]?a[e.which]:String.fromCharCode(e.which).toLowerCase()}function p(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function d(e,t){var n,i,a,l,u,f,d=[];for(f=0,l="+"===(n=e)?["+"]:(n=n.replace(/\+{2}/g,"+plus")).split("+");f95&&e<112||o.hasOwnProperty(e)&&(r[o[e]]=e);return r}()[i]?"keydown":"keypress"),"keypress"==a&&d.length&&(a="keydown"),{key:u,modifiers:d,action:t=a}}function h(e){var t,i=this;if(e=e||n,!(i instanceof h))return new h(e);i.target=e,i._callbacks={},i._directMap={};var r={},o=!1,a=!1,s=!1;function c(e){e=e||{};var t,n=!1;for(t in r){if(e[t]){n=!0;continue}r[t]=0}n||(s=!1)}function l(e,t,n,o,a,s){var c,l,u,f,d=[],h=n.type;if(!i._callbacks[e])return[];for("keyup"==h&&p(e)&&(t=[e]),u=0;u1?function(n,i,a,l){function u(e){y(a,e,n),"keyup"!==l&&(o=f(e)),setTimeout(c,10)}r[n]=0;for(var p=0;p