PageSourceSearch

https://netzkms.de/packs/js/application-f0899bdabd03818a273e.chunk.js

js netzkms.de collected 2026-10-09 01:34:38 UTC 86,795 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[438],{1067:function(e,t,n){"use strict";n.r(t);n(104);var o=n(99),r=n(30),a=n(0),s=n(1),i=n.n(s),c=n(2),u=n.n(c),l=n(82),d=n(398),p=n(11),h=n(192),m=n(127),g=n(67),f=n(244),b=n(19),v=n(196),O=n.n(v),y=n(5);class _ extends c.PureComponent{constructor(){super(...arguments),this.state={hasError:!1,errorMessage:void 0,stackTrace:void 0,mappedStackTrace:void 0,componentStack:void 0},this.handleCopyStackTrace=()=>{const{errorMessage:e,stackTrace:t,mappedStackTrace:n}=this.state,o=document.createElement("textarea");let r=[e,t];n&&r.push(n),o.textContent=r.join("\n\n\n"),o.style.position="fixed",document.body.appendChild(o);try{o.select(),document.execCommand("copy")}catch(e){}finally{document.body.removeChild(o)}this.setState({copied:!0}),setTimeout((()=>this.setState({copied:!1})),700)}}componentDidCatch(e,t){this.setState({hasError:!0,errorMessage:e.toString(),stackTrace:e.stack,componentStack:t&&t.componentStack,mappedStackTrace:void 0}),O.a.fromError(e).then((e=>{this.setState({mappedStackTrace:e.map((e=>e.toString())).join("\n")})})).catch((()=>{this.setState({mappedStackTrace:void 0})}))}render(){const{hasError:e,copied:t,errorMessage:n}=this.state;if(!e)return this.props.children;const o=n&&n.includes("NotFoundError");return Object(a.a)("div",{className:"error-boundary"},void 0,Object(a.a)("div",{},void 0,Object(a.a)("p",{className:"error-boundary__error"},void 0,o?Object(a.a)(b.a,{id:"error.unexpected_crash.explanation_addons",defaultMessage:"This page could not be displayed correctly. This error is likely caused by a browser add-on or automatic translation tools."}):Object(a.a)(b.a,{id:"error.unexpected_crash.explanation",defaultMessage:"Due to a bug in our code or a browser compatibility issue, this page could not be displayed correctly."})),Object(a.a)("p",{},void 0,o?Object(a.a)(b.a,{id:"error.unexpected_crash.next_steps_addons",defaultMessage:"Try disabling them and refreshing the page. If that does not help, you may still be able to use Mastodon through a different browser or native app."}):Object(a.a)(b.a,{id:"error.unexpected_crash.next_steps",defaultMessage:"Try refreshing the page. If that does not help, you may still be able to use Mastodon through a different browser or native app."})),Object(a.a)("p",{className:"error-boundary__footer"},void 0,"Mastodon v",y.H," · ",Object(a.a)("a",{href:y.x,rel:"noopener noreferrer",target:"_blank"},void 0,Object(a.a)(b.a,{id:"errors.unexpected_crash.report_issue",defaultMessage:"Report issue"}))," · ",Object(a.a)("button",{onClick:this.handleCopyStackTrace,className:t?"copied":""},void 0,Object(a.a)(b.a,{id:"errors.unexpected_crash.copy_stacktrace",defaultMessage:"Copy stacktrace to clipboard"})))),Object(a.a)(l.a,{},void 0,Object(a.a)("meta",{name:"robots",content:"noindex"})))}}var j=n(87),C=n(59),w=n.n(C),M=n(75),x=n.n(M),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function k(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var T=function(e){function t(){var n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=Array(r),s=0;s<r;s++)a[s]=arguments[s];return n=o=k(this,e.call.apply(e,[this].concat(a))),o.state={match:o.computeMatch(o.props.history.location.pathname)},k(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:S({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.children,o=t.history;x()(null==n||1===u.a.Children.count(n),"A <Router> may have only one child element"),this.unlisten=o.listen((function(){e.setState({match:e.computeMatch(o.location.pathname)})}))},t.prototype.componentWillReceiveProps=function(e){w()(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?u.a.Children.only(e):null},t}(u.a.Component);T.propTypes={history:i.a.object.isRequired,children:i.a.node},T.contextTypes={router:i.a.object},T.childContextTypes={router:i.a.object.isRequired};var N=T,L=n(57);
1const E=Object(j.a)(),A=E.push.bind(E),R=E.replace.bind(E);E.push=(e,t)=>{var n;(t=null!=(n=t)?n:{}).fromMastodon=!0,"multi-column"!==Object(L.c)()||e.startsWith("/deck")?A(e,t):A(`/deck${e}`,t)},E.replace=(e,t)=>{var n,o;null!=(n=E.location.state)&&n.fromMastodon&&((t=null!=(o=t)?o:{}).fromMastodon=!0);"multi-column"!==Object(L.c)()||e.startsWith("/deck")?R(e,t):R(`/deck${e}`,t)};const P=e=>{let{children:t}=e;return Object(a.a)(N,{history:E},void 0,t)};var I=n(46),F=n.n(I),D=n(7),G=n(40),H=n(9),U=n.n(H),$=n(195),B=n.n($),q={},W=0,z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("/"===e)return e;var n=function(e){var t=e,n=q[t]||(q[t]={});if(n[e])return n[e];var o=B.a.compile(e);return W<1e4&&(n[e]=o,W++),o}(e);return n(t,{pretty:!0})},J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};var Q=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},t.prototype.componentWillMount=function(){x()(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=Object(j.b)(e.to),n=Object(j.b)(this.props.to);Object(j.c)(t,n)?w()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?z(n,t.params):J({},n,{pathname:z(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(u.a.Component);Q.propTypes={computedMatch:i.a.object,push:i.a.bool,from:i.a.string,to:i.a.oneOfType([i.a.string,i.a.object]).isRequired},Q.defaultProps={push:!1},Q.contextTypes={router:i.a.shape({history:i.a.shape({push:i.a.func.isRequired,replace:i.a.func.isRequired}).isRequired,staticContext:i.a.object}).isRequired};var Y=Q,V=n(1074),K=n(123),Z=n(97),X=n(68),ee=n(349),te=n(95),ne=n(108),oe=n(61),re=n(100),ae=n(90),se=n(16),ie=n.n(se),ce=n(18),ue=n(37),le=n(52),de=n(23);const pe=Object(D.d)({close:{id:"lightbox.close",defaultMessage:"Close"}});class he extends ce.a{render(){const{account:e,statusId:t,onClose:n,intl:o}=this.props;return Object(a.a)("div",{className:"picture-in-picture__header"},void 0,Object(a.a)(ae.a,{to:`/@${e.get("acct")}/${t}`,className:"picture-in-picture__header__account"},void 0,Object(a.a)(ue.a,{account:e,size:36}),Object(a.a)(le.a,{account:e})),Object(a.a)(de.a,{icon:"times",onClick:n,title:o.formatMessage(pe.close)}))}}he.propTypes={accountId:i.a.string.isRequired,statusId:i.a.string.isRequired,account:ie.a.map.isRequired,onClose:i.a.func.isRequired,intl:i.a.object.isRequired};var me=Object(p.connect)(((e,t)=>{let{accountId:n}=t;return{account:e.getIn(["accounts",n])}}))(Object(G.c)(he));class ge extends c.Component{constructor(){super(...arguments),this.handleClose=()=>{const{dispatch:e}=this.props;e(Object(te.d)())}}render(){const{type:e,src:t,currentTime:n,accountId:o,statusId:r}=this.props;if(!n)return null;let s;return"video"===e?s=Object(a.a)(oe.default,{src:t,currentTime:this.props.currentTime,volume:this.props.volume,muted:this.props.muted,autoPlay:!0,inline:!0,alwaysVisible:!0}):"audio"===e&&(s=Object(a.a)(ne.default,{src:t,currentTime:this.props.currentTime,volume:this.props.volume,muted:this.props.muted,poster:this.props.poster,backgroundColor:this.props.backgroundColor,foregroundColor:this.props.foregroundColor,accentColor:this.props.accentColor,autoPlay:!0})),Object(a.a)("div",{className:"picture-in-picture"},void 0,Object(a.a)(me,{accountId:o,statusId:r,onClose:this.handleClose}),s,Object(a.a)(re.a,{statusId:r}))}}var fe=Object(p.connect)((e=>({...e.get("picture_in_picture")})))(ge),be=n(12),ve=n(111),Oe=n(39),ye=n(21),_e=n(102),je=n(20),Ce=n(15),we=n(171);const Me=()=>Object(a.a)("svg",{viewBox:"0 0 261 66",className:"logo logo--wordmark",role:"img"},void 0,Object(a.a)("title",{},void 0,"Mastodon"),Object(a.a)("use",{xlinkHref:"#logo-symbol-wordmark"})),xe=()=>Object(a.a)("img",{src:we.default,alt:"Mastodon",className:"logo logo--icon"});var Se=n(4);const ke=Object(p.connect)((e=>({account:e.getIn(["accounts",y.o])})))((e=>{let{account:t}=e;return Object(a.a)(ae.a,{to:`/@${t.get("acct")}`,title:t.get("acct")},void 0,Object(a.a)(ue.a,{account:t,size:35}))}
1)),Te=Object(D.d)({search:{id:"navigation_bar.search",defaultMessage:"Search"}});class Ne extends c.PureComponent{componentDidMount(){const{dispatchServer:e}=this.props;e()}render(){const{signedIn:e}=this.context.identity,{location:t,openClosedRegistrationsModal:n,signupUrl:o,intl:r}=this.props;let s;if(e)s=Object(Se.jsxs)(Se.Fragment,{children:["/search"!==t.pathname&&Object(a.a)(ae.a,{to:"/search",className:"button button-secondary","aria-label":r.formatMessage(Te.search)},void 0,Object(a.a)(Ce.a,{id:"search"})),"/publish"!==t.pathname&&Object(a.a)(ae.a,{to:"/publish",className:"button button-secondary"},void 0,Object(a.a)(b.a,{id:"compose_form.publish_form",defaultMessage:"New post"})),Object(a.a)(ke,{})]});else if(y.y)s=Object(a.a)("a",{href:y.y,"data-method":"post",className:"button button--block button-tertiary"},void 0,Object(a.a)(b.a,{id:"sign_in_banner.sso_redirect",defaultMessage:"Login or Register"}));else{let e;e=y.t?Object(a.a)("a",{href:o,className:"button"},void 0,Object(a.a)(b.a,{id:"sign_in_banner.create_account",defaultMessage:"Create account"})):Object(a.a)("button",{className:"button",onClick:n},void 0,Object(a.a)(b.a,{id:"sign_in_banner.create_account",defaultMessage:"Create account"})),s=Object(Se.jsxs)(Se.Fragment,{children:[e,Object(a.a)("a",{href:"/auth/sign_in",className:"button button-tertiary"},void 0,Object(a.a)(b.a,{id:"sign_in_banner.sign_in",defaultMessage:"Login"}))]})}return Object(a.a)("div",{className:"ui__header"},void 0,Object(a.a)(ae.a,{to:"/",className:"ui__header__logo"},void 0,Object(a.a)(Me,{}),Object(a.a)(xe,{})),Object(a.a)("div",{className:"ui__header__links"},void 0,s))}}Ne.contextTypes={identity:i.a.object};var Le=Object(G.c)(Object(V.a)(Object(p.connect)((e=>({signupUrl:e.getIn(["server","server","registrations","url"],null)||"/auth/sign_up"})),(e=>({openClosedRegistrationsModal(){e(Object(je.b)({modalType:"CLOSED_REGISTRATIONS"}))},dispatchServer(){e(Object(Oe.o)())}})))(Ne))),Ee=n(66),Ae=n.n(Ee),Re=n(84);class Pe extends c.PureComponent{constructor(){super(...arguments),this.handleKeyUp=e=>{const t=e.keyCode;if(this.props.active&&27===t)e.preventDefault(),e.stopPropagation(),this.props.onClose()}}componentDidMount(){window.addEventListener("keyup",this.handleKeyUp,!1)}componentWillUnmount(){window.removeEventListener("keyup",this.handleKeyUp)}render(){const{active:e}=this.props;return Object(a.a)(Re.a,{defaultStyle:{backgroundOpacity:0,backgroundScale:.95},style:{backgroundOpacity:Ae()(e?1:0,{stiffness:150,damping:15}),backgroundScale:Ae()(e?1:.95,{stiffness:200,damping:3})}},void 0,(t=>{let{backgroundOpacity:n,backgroundScale:o}=t;return Object(a.a)("div",{className:"upload-area",style:{visibility:e?"visible":"hidden",opacity:n}},void 0,Object(a.a)("div",{className:"upload-area__drop"},void 0,Object(a.a)("div",{className:"upload-area__background",style:{transform:`scale(${o})`}}),Object(a.a)("div",{className:"upload-area__content"},void 0,Object(a.a)(b.a,{id:"upload_area.title",defaultMessage:"Drag & drop to upload"}))))}))}}var Ie=n(203),Fe=n(112),De=n(135),Ge=n(17),He=n(149),Ue=n(240);class $e extends ce.a{render(){let{title:e,icon:t,multiColumn:n}=this.props;return Object(a.a)(He.a,{},void 0,Object(a.a)(Ue.a,{icon:t,title:e,multiColumn:n,focusable:!1,placeholder:!0}),Object(a.a)("div",{className:"scrollable"}))}}$e.propTypes={title:i.a.oneOfType([i.a.node,i.a.string]),icon:i.a.string,multiColumn:i.a.bool},$e.defaultProps={title:"",icon:""};var Be=n(350),qe=n(47),We=n(64),ze=n(242);const Je=Object(D.d)({aboutActiveUsers:{id:"server_banner.about_active_users",defaultMessage:"People using this server during the last 30 days (Monthly Active Users)"}});class Qe extends c.PureComponent{componentDidMount(){const{dispatch:e}=this.props;e(Object(Oe.o)())}render(){const{server:e,intl:t}=this.props,n=e.get("isLoading");return Object(a.a)("div",{className:"server-banner"},void 0,Object(a.a)("div",{className:"server-banner__introduction"},void 0,Object(a.a)(b.a,{id:"server_banner.introduction",defaultMessage:"{domain} is part of the decentralized social network powered by {mastodon}.",values:{domain:Object(a.a)("strong",{},void 0,y.i),mastodon:Object(a.a)("a",{href:"https://joinmastodon.org",target:"_blank"},void 0,"Mastodon")}})),Object(a.a)(Be.a,{blurhash:e.getIn(["thumbnail","blurhash"]),src:e.getIn(["thumbnail","url"]),className:"server-banner__hero"}),Object(a.a)("div",{className:"server-banner__description"},void 0,n?Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)(We.a,{width:"100%"}),Object(a.a)("br",{}),Object(a.a)(We.a,{width:"100%"}),Object(a.a)("br",{}),Object(a.a)(We.a,{width:"70%"})]}):e.get("description")),Object(a.a)("div",{className:"server-banner__meta"},void 0,Object(a.a)("div",{className:"server-banner__meta__column"},void 0,Object(a.a)("h4",{},void 0,Object(a.a)(b.a,{id:"server_banner.administered_by",defaultMessage:"Administered by:"}
1)),Object(a.a)(ze.a,{id:e.getIn(["contact","account","id"]),size:36,minimal:!0})),Object(a.a)("div",{className:"server-banner__meta__column"},void 0,Object(a.a)("h4",{},void 0,Object(a.a)(b.a,{id:"server_banner.server_stats",defaultMessage:"Server stats:"})),n?Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)("strong",{className:"server-banner__number"},void 0,Object(a.a)(We.a,{width:"10ch"})),Object(a.a)("br",{}),Object(a.a)("span",{className:"server-banner__number-label"},void 0,Object(a.a)(We.a,{width:"5ch"}))]}):Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)("strong",{className:"server-banner__number"},void 0,Object(a.a)(qe.a,{value:e.getIn(["usage","users","active_month"])})),Object(a.a)("br",{}),Object(a.a)("span",{className:"server-banner__number-label",title:t.formatMessage(Je.aboutActiveUsers)},void 0,Object(a.a)(b.a,{id:"server_banner.active_users",defaultMessage:"active users"}))]}))),Object(a.a)("hr",{className:"spacer"}),Object(a.a)(ae.a,{className:"button button--block button-secondary",to:"/about"},void 0,Object(a.a)(b.a,{id:"server_banner.learn_more",defaultMessage:"Learn more"})))}}var Ye=Object(p.connect)((e=>({server:e.getIn(["server","server"])})))(Object(G.c)(Qe)),Ve=n(175),Ke=n(260),Ze=n(261),Xe=n(257);class et extends c.PureComponent{constructor(){super(...arguments),this.onFocus=()=>{const{dispatch:e}=this.props;e(Object(be.fb)(!0))},this.onBlur=()=>{const{dispatch:e}=this.props;e(Object(be.fb)(!1))}}componentDidMount(){const{dispatch:e}=this.props;e(Object(be.sb)())}componentWillUnmount(){const{dispatch:e}=this.props;e(Object(be.Db)())}render(){const{signedIn:e}=this.context.identity;return Object(a.a)("div",{className:"compose-panel",onFocus:this.onFocus},void 0,Object(a.a)(Ze.a,{openInRoute:!0}),!e&&Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)(Ye,{}),Object(a.a)("div",{className:"flex-spacer"})]}),e&&Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)(Ke.a,{onClose:this.onBlur}),Object(a.a)(Ve.a,{singleColumn:!0})]}),Object(a.a)(Xe.a,{}))}}et.contextTypes={identity:i.a.object.isRequired};var tt=Object(p.connect)()(et);var nt=()=>Object(a.a)("div",{className:"drawer"},void 0,Object(a.a)("div",{className:"drawer__pager"},void 0,Object(a.a)("div",{className:"drawer__inner"}))),ot=n(1244),rt=n(3),at=n(36),st=n(151);const it=Object(D.d)({lastStatusAt:{id:"account.featured_tags.last_status_at",defaultMessage:"Last post on {date}"},empty:{id:"account.featured_tags.last_status_never",defaultMessage:"No posts"}});class ct extends ce.a{render(){const{account:e,featuredTags:t,intl:n}=this.props;return!e||e.get("suspended")||t.isEmpty()?null:Object(a.a)("div",{className:"getting-started__trends"},void 0,Object(a.a)("h4",{},void 0,Object(a.a)(b.a,{id:"account.featured_tags.title",defaultMessage:"{name}'s featured hashtags",values:{name:Object(a.a)("bdi",{dangerouslySetInnerHTML:{__html:e.get("display_name_html")}})}})),t.take(3).map((t=>Object(a.a)(st.c,{name:t.get("name"),to:`/@${e.get("acct")}/tagged/${t.get("name")}`,uses:1*t.get("statuses_count"),withGraph:!1,description:1*t.get("statuses_count")>0?n.formatMessage(it.lastStatusAt,{date:n.formatDate(t.get("last_status_at"),{month:"short",day:"2-digit"})}):n.formatMessage(it.empty)},t.get("name")))))}}ct.contextTypes={router:i.a.object},ct.propTypes={account:ie.a.map,featuredTags:ie.a.list,tagged:i.a.string,intl:i.a.object.isRequired};var ut=Object(G.c)(ct);var lt=Object(p.connect)((()=>{const e=Object(at.e)();return(t,n)=>{let{accountId:o}=n;return{account:e(t,o),featuredTags:t.getIn(["user_lists","featured_tags",o,"items"],Object(rt.List)())}}}))(ut),dt=n(153);class pt extends c.PureComponent{render(){const{accountId:e,isLoading:t,match:{params:{tagged:n}}}=this.props;return t?null:Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)("div",{className:"flex-spacer"}),Object(a.a)(lt,{accountId:e,tagged:n})]})}}var ht=Object(p.connect)(((e,t)=>{let{match:{params:{acct:n}}}=t;const o=e.getIn(["accounts_map",Object(dt.b)(n)]);return o?{accountId:o,isLoading:!1}:{isLoading:!0}}))(pt),mt=n(375);const gt=()=>y.v?Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)("div",{className:"flex-spacer"}),Object(a.a)(mt.a,{})]}):null;
1class ft extends c.PureComponent{render(){return Object(a.a)(ot.a,{},void 0,Object(a.a)(d.a,{path:"/@:acct",exact:!0,component:ht}),Object(a.a)(d.a,{path:"/@:acct/tagged/:tagged?",exact:!0,component:ht}),Object(a.a)(d.a,{path:"/@:acct/with_replies",exact:!0,component:ht}),Object(a.a)(d.a,{path:"/@:acct/followers",exact:!0,component:ht}),Object(a.a)(d.a,{path:"/@:acct/following",exact:!0,component:ht}),Object(a.a)(d.a,{path:"/@:acct/media",exact:!0,component:ht}),Object(a.a)(d.a,{component:gt}))}}var bt=Object(V.a)(ft),vt=n(63),Ot=n(126);const yt=Object(D.d)({logoutMessage:{id:"confirmations.logout.message",defaultMessage:"Are you sure you want to log out?"},logoutConfirm:{id:"confirmations.logout.confirm",defaultMessage:"Log out"}});class _t extends c.PureComponent{constructor(){super(...arguments),this.handleLogOutClick=e=>(e.preventDefault(),e.stopPropagation(),this.props.onLogout(),!1)}render(){const{disabledAcct:e,movedToAcct:t}=this.props,n=Object(a.a)(ae.a,{to:`/@${e}`},void 0,e,"@",y.i);return Object(a.a)("div",{className:"sign-in-banner"},void 0,Object(a.a)("p",{},void 0,t?Object(a.a)(b.a,{id:"moved_to_account_banner.text",defaultMessage:"Your account {disabledAccount} is currently disabled because you moved to {movedToAccount}.",values:{disabledAccount:n,movedToAccount:Object(a.a)(ae.a,{to:`/@${t}`},void 0,t.includes("@")?t:`${t}@${y.i}`)}}):Object(a.a)(b.a,{id:"disabled_account_banner.text",defaultMessage:"Your account {disabledAccount} is currently disabled.",values:{disabledAccount:n}})),Object(a.a)("a",{href:"/auth/edit",className:"button button--block"},void 0,Object(a.a)(b.a,{id:"disabled_account_banner.account_settings",defaultMessage:"Account settings"})),Object(a.a)("button",{type:"button",className:"button button--block button-tertiary",onClick:this.handleLogOutClick},void 0,Object(a.a)(b.a,{id:"confirmations.logout.confirm",defaultMessage:"Log out"})))}}var jt=Object(G.c)(Object(p.connect)((e=>({disabledAcct:e.getIn(["accounts",y.g,"acct"]),movedToAcct:y.p?e.getIn(["accounts",y.p,"acct"]):void 0})),((e,t)=>{let{intl:n}=t;return{onLogout(){e(Object(je.b)({modalType:"CONFIRM",modalProps:{message:n.formatMessage(yt.logoutMessage),confirm:n.formatMessage(yt.logoutConfirm),closeWhenConfirm:!1,onConfirm:()=>Object(Ot.a)()}}))}}}))(_t)),Ct=n(10),wt=n(173);const Mt=Object(D.d)({text:{id:"navigation_bar.follow_requests",defaultMessage:"Follow requests"}});class xt extends c.Component{componentDidMount(){const{dispatch:e}=this.props;e(Object(Ct.P)())}render(){const{count:e,intl:t}=this.props;return 0===e?null:Object(a.a)(vt.a,{transparent:!0,to:"/follow_requests",icon:Object(a.a)(wt.a,{className:"column-link__icon",id:"user-plus",count:e}),text:t.formatMessage(Mt.text)})}}var St=Object(G.c)(Object(p.connect)((e=>({count:e.getIn(["user_lists","follow_requests","items"],Object(rt.List)()).size})))(xt)),kt=n(34),Tt=n(24);const Nt=Object(kt.a)([e=>e.get("lists")],(e=>e?e.toList().filter((e=>!!e)).sort(((e,t)=>e.get("title").localeCompare(t.get("title")))).take(4):e));class Lt extends ce.a{componentDidMount(){const{dispatch:e}=this.props;e(Object(Tt.I)())}render(){const{lists:e}=this.props;return!e||e.isEmpty()?null:Object(a.a)("div",{className:"list-panel"},void 0,Object(a.a)("hr",{}),e.map((e=>Object(a.a)(vt.a,{icon:"list-ul",strict:!0,text:e.get("title"),to:`/lists/${e.get("id")}`,transparent:!0},e.get("id")))))}}Lt.propTypes={dispatch:i.a.func.isRequired,lists:ie.a.list};var Et=Object(V.a)(Object(p.connect)((e=>({lists:Nt(e)})))(Lt));var At=Object(p.connect)((e=>({count:e.getIn(["notifications","unread"]),id:"bell"})))(wt.a),Rt=n(51);var Pt=()=>{const e=Object(Rt.b)(),t=Object(c.useCallback)((()=>e(Object(je.b)({modalType:"CLOSED_REGISTRATIONS"}))),[e]);let n;const o=Object(Rt.c)((e=>e.getIn(["server","server","registrations","url"],null)||"/auth/sign_up"));return y.y?Object(a.a)("div",{className:"sign-in-banner"},void 0,Object(a.a)("p",{},void 0,Object(a.a)(b.a,{id:"sign_in_banner.text",defaultMessage:"Login to follow profiles or hashtags, favorite, share and reply to posts. You can also interact from your account on a different server."})),Object(a.a)("a",{href:y.y,"data-method":"post",className:"button button--block button-tertiary"},void 0,Object(a.a)(b.a,{id:"sign_in_banner.sso_redirect",defaultMessage:"Login or Register"}))):(n=y.t?Object(a.a)("a",{href:o,className:"button button--block"},void 0,Object(a.a)(b.a,{id:"sign_in_banner.create_account",defaultMessage:"Create account"})):Object(a.a)("button",{className:"button button--block",onClick:t},void 0,Object(a.a)(b.a,{id:"sign_in_banner.create_account",defaultMessage:"Create account"})),Object(a.a)("div",{className:"sign-in-banner"},void 0,Object(a.a)("p",{},void 0,Object(a.a)(b.a,{id:"sign_in_banner.text",defaultMessage:"Login to follow profiles or hashtags, favorite, share and reply to posts. You can also interact from your account on a different server."})),n,Object(a.a)("a",{href:"/auth/sign_in",className:"button button--block button-tertiary"},void 0,Object(a.a)(b.a,{id:"sign_in_banner.sign_in",defaultMessage:"Login"}))))};const It=Object(D.d)({home:{id:"tabs_bar.home",defaultMessage:"Home"},notifications:{id:"tabs_bar.notifications",defaultMessage:"Notifications"},explore:{id:"explore.title",defaultMessage:"Explore"},firehose:{id:"column.firehose",defaultMessage:"Live feeds"},direct:{id:"navigation_bar.direct",defaultMessage:"Private mentions"},favourites:{id:"navigation_bar.favourites",defaultMessage:"Favorites"},bookmarks:{id:"navigation_bar.bookmarks",defaultMessage:"Bookmarks"},lists:{id:"navigation_bar.lists",defaultMessage:"Lists"},preferences:{id:"navigation_bar.preferences",defaultMessage:"Preferences"},followsAndFollowers:{id:"navigation_bar.follows_and_followers",defaultMessage:"Follows and followers"},about:{id:"navigation_bar.about",defaultMessage:"About"},search:{id:"navigation_bar.search",defaultMessage:"Search"},advancedInterface:{id:"navigation_bar.advanced_interface",defaultMessage:"Open in advanced web interface"},openedInClassicInterface:{id:"navigation_bar.opened_in_classic_interface",defaultMessage:"Posts, accounts, and other specific pages are opened by default in the classic web interface."}});class Ft extends c.Component{constructor(){super(...arguments),this.isFirehoseActive=(e,t)=>
1e||t.pathname.startsWith("/public")}render(){const{intl:e}=this.props,{signedIn:t,disabledAccountId:n}=this.context.identity;let o;return L.d&&(o=Object(a.a)("div",{className:"switch-to-advanced"},void 0,e.formatMessage(It.openedInClassicInterface)," ",Object(a.a)("a",{href:`/deck${location.pathname}`,className:"switch-to-advanced__toggle"},void 0,e.formatMessage(It.advancedInterface)))),Object(a.a)("div",{className:"navigation-panel"},void 0,Object(a.a)("div",{className:"navigation-panel__logo"},void 0,Object(a.a)(ae.a,{to:"/",className:"column-link column-link--logo"},void 0,Object(a.a)(Me,{})),!o&&Object(a.a)("hr",{})),o&&Object(a.a)("div",{class:"navigation-panel__banner"},void 0,o),t&&Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)(vt.a,{transparent:!0,to:"/home",icon:"home",text:e.formatMessage(It.home)}),Object(a.a)(vt.a,{transparent:!0,to:"/notifications",icon:Object(a.a)(At,{className:"column-link__icon"}),text:e.formatMessage(It.notifications)}),Object(a.a)(St,{})]}),y.D?Object(a.a)(vt.a,{transparent:!0,to:"/explore",icon:"hashtag",text:e.formatMessage(It.explore)}):Object(a.a)(vt.a,{transparent:!0,to:"/search",icon:"search",text:e.formatMessage(It.search)}),(t||y.A)&&Object(a.a)(vt.a,{transparent:!0,to:"/public/local",isActive:this.isFirehoseActive,icon:"globe",text:e.formatMessage(It.firehose)}),!t&&Object(a.a)("div",{className:"navigation-panel__sign-in-banner"},void 0,Object(a.a)("hr",{}),n?Object(a.a)(jt,{}):Object(a.a)(Pt,{})),t&&Object(Se.jsxs)(Se.Fragment,{children:[Object(a.a)(vt.a,{transparent:!0,to:"/conversations",icon:"at",text:e.formatMessage(It.direct)}),Object(a.a)(vt.a,{transparent:!0,to:"/bookmarks",icon:"bookmark",text:e.formatMessage(It.bookmarks)}),Object(a.a)(vt.a,{transparent:!0,to:"/favourites",icon:"star",text:e.formatMessage(It.favourites)}),Object(a.a)(vt.a,{transparent:!0,to:"/lists",icon:"list-ul",text:e.formatMessage(It.lists)}),Object(a.a)(Et,{}),Object(a.a)("hr",{}),Object(a.a)(vt.a,{transparent:!0,href:"/settings/preferences",icon:"cog",text:e.formatMessage(It.preferences)})]}),Object(a.a)("div",{className:"navigation-panel__legal"},void 0,Object(a.a)("hr",{}),Object(a.a)(vt.a,{transparent:!0,to:"/about",icon:"ellipsis-h",text:e.formatMessage(It.about)})),Object(a.a)(bt,{}))}}Ft.contextTypes={router:i.a.object.isRequired,identity:i.a.object.isRequired};var Dt=Object(G.c)(Ft);const Gt={COMPOSE:Ge.k,HOME:Ge.B,NOTIFICATIONS:Ge.L,PUBLIC:Ge.P,REMOTE:Ge.P,COMMUNITY:Ge.i,HASHTAG:Ge.A,DIRECT:Ge.l,FAVOURITES:Ge.r,BOOKMARKS:Ge.g,LIST:Ge.G,DIRECTORY:Ge.m};class Ht extends ce.a{constructor(){super(...arguments),this.mediaQuery="matchMedia"in window&&window.matchMedia("(max-width: 1174px)"),this.state={renderComposePanel:!(this.mediaQuery&&this.mediaQuery.matches)},this.handleLayoutChange=e=>{this.setState({renderComposePanel:!e.matches})},this.handleWheel=()=>{"function"==typeof this._interruptScrollAnimation&&this._interruptScrollAnimation()},this.setRef=e=>{this.node=e},this.renderLoading=e=>()=>"COMPOSE"===e?Object(a.a)(nt,{}):Object(a.a)($e,{multiColumn:!0}),this.renderError=e=>Object(Se.jsx)(_e.a,{multiColumn:!0,errorType:"network",...e})}componentDidMount(){this.props.singleColumn||this.node.addEventListener("wheel",this.handleWheel,!!Ie.a&&{passive:!0}),this.mediaQuery&&(this.mediaQuery.addEventListener?this.mediaQuery.addEventListener("change",this.handleLayoutChange):this.mediaQuery.addListener(this.handleLayoutChange),this.setState({renderComposePanel:!this.mediaQuery.matches})),this.isRtlLayout=document.getElementsByTagName("body")[0].classList.contains("rtl")}UNSAFE_componentWillUpdate(e){this.props.singleColumn!==e.singleColumn&&e.singleColumn&&this.node.removeEventListener("wheel",this.handleWheel)}componentDidUpdate(e){this.props.singleColumn===e.singleColumn||this.props.singleColumn||this.node.addEventListener("wheel",this.handleWheel,!!Ie.a&&{passive:!0})}componentWillUnmount(){this.props.singleColumn||this.node.removeEventListener("wheel",this.handleWheel),this.mediaQuery&&(this.mediaQuery.removeEventListener?this.mediaQuery.removeEventListener("change",this.handleLayoutChange):this.mediaQuery.removeListener(this.handleLayoutChange))}handleChildrenContentChange(){if(!this.props.singleColumn){const e=this.isRtlLayout?-1:1;this._interruptScrollAnimation=Object(Fe.a)(this.node,(this.node.scrollWidth-window.innerWidth)*e)}}render(){const{columns:e,children:t,singleColumn:n,isModalOpen:o}=this.props,{renderComposePanel:r}=this.state;return n?Object(a.a)("div",{className:"columns-area__panels"},void 0,Object(a.a)("div",{className:"columns-area__panels__pane columns-area__panels__pane--compositional"},void 0,Object(a.a)("div",{className:"columns-area__panels__pane__inner"},void 0,r&&Object(a.a)(tt,{}))),Object(a.a)("div",{className:"columns-area__panels__main"},void 0,Object(a.a)("div",{className:"tabs-bar__wrapper"},void 0,Object(a.a)("div",{id:"tabs-bar__portal"})),Object(a.a)("div",{className:"columns-area columns-area--mobile"},void 0,t)),Object(a.a)("div",{className:"columns-area__panels__pane columns-area__panels__pane--start columns-area__panels__pane--navigational"},void 0,Object(a.a)("div",{className:"columns-area__panels__pane__inner"},void 0,Object(a.a)(Dt,{}
1)))):Object(Se.jsxs)("div",{className:"columns-area "+(o?"unscrollable":""),ref:this.setRef,children:[e.map((e=>{const t=null===e.get("params",null)?null:e.get("params").toJS(),n=t&&t.other?t.other:{};return Object(a.a)(De.a,{fetchComponent:Gt[e.get("id")],loading:this.renderLoading(e.get("id")),error:this.renderError},e.get("uuid"),(o=>Object(Se.jsx)(o,{columnId:e.get("uuid"),params:t,multiColumn:!0,...n})))})),c.Children.map(t,(e=>Object(c.cloneElement)(e,{multiColumn:!0})))]})}}Ht.contextTypes={router:i.a.object.isRequired},Ht.propTypes={columns:ie.a.list.isRequired,isModalOpen:i.a.bool.isRequired,singleColumn:i.a.bool,children:i.a.node};var Ut=Object(p.connect)((e=>({columns:e.getIn(["settings","columns"]),isModalOpen:!!e.get("modal").modalType})),null,null,{forwardRef:!0})(Ht),$t=n(184),Bt=n(197),qt=n(188);class Wt extends c.PureComponent{render(){const{multiColumn:e,children:t}=this.props,{location:n}=this.context.router.route,o=e&&n.pathname.startsWith("/deck")?{...n,pathname:n.pathname.slice(5)}:n;return Object(a.a)(ot.a,{location:o},void 0,c.Children.map(t,(t=>t?Object(c.cloneElement)(t,{multiColumn:e}):null)))}}Wt.contextTypes={router:i.a.object};class zt extends c.Component{constructor(){super(...arguments),this.state={hasError:!1,stacktrace:""},this.renderComponent=e=>{let{match:t}=e;const{component:n,content:o,multiColumn:r,componentParams:s}=this.props,{hasError:i,stacktrace:c}=this.state;return i?Object(a.a)(_e.a,{stacktrace:c,multiColumn:r,errorType:"error"}):Object(a.a)(De.a,{fetchComponent:n,loading:this.renderLoading,error:this.renderError},void 0,(e=>Object(Se.jsx)(e,{params:t.params,multiColumn:r,...s,children:o})))},this.renderLoading=()=>{const{multiColumn:e}=this.props;return Object(a.a)($e,{multiColumn:e})},this.renderError=e=>Object(Se.jsx)(_e.a,{...e,errorType:"network"})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){O.a.fromError(e).then((t=>{this.setState({stacktrace:e.toString()+"\n"+t.map((e=>e.toString())).join("\n")})})).catch((e=>{console.error(e)}))}render(){const{component:e,content:t,...n}=this.props;return Object(Se.jsx)(d.a,{...n,render:this.renderComponent})}}zt.defaultProps={componentParams:{}};n(231);const Jt=Object(D.d)({beforeUnload:{id:"ui.beforeunload",defaultMessage:"Your draft will be lost if you leave Mastodon."}}),Qt={help:"?",new:"n",search:"s",forceNew:"option+n",toggleComposeSpoilers:"option+x",focusColumn:["1","2","3","4","5","6","7","8","9"],reply:"r",favourite:"f",boost:"b",mention:"m",open:["enter","o"],openProfile:"p",moveDown:["down","j"],moveUp:["up","k"],back:"backspace",goToHome:"g h",goToNotifications:"g n",goToLocal:"g l",goToFederated:"g t",goToDirect:"g d",goToStart:"g s",goToFavourites:"g f",goToPinned:"g p",goToProfile:"g u",goToBlocked:"g b",goToMuted:"g m",goToRequests:"g r",toggleHidden:"x",toggleSensitive:"h",openMedia:"e"};class Yt extends c.PureComponent{constructor(){super(...arguments),this.setRef=e=>{e&&(this.node=e)}}UNSAFE_componentWillMount(){this.props.singleColumn?(document.body.classList.toggle("layout-single-column",!0),document.body.classList.toggle("layout-multiple-columns",!1)):(document.body.classList.toggle("layout-single-column",!1),document.body.classList.toggle("layout-multiple-columns",!0))}componentDidUpdate(e){[this.props.location.pathname,"/"].includes(e.location.pathname)||this.node.handleChildrenContentChange(),e.singleColumn!==this.props.singleColumn&&(document.body.classList.toggle("layout-single-column",this.props.singleColumn),document.body.classList.toggle("layout-multiple-columns",!this.props.singleColumn))}render(){const{children:e,singleColumn:t}=this.props,{signedIn:n}=this.context.identity,o=this.props.location.pathname;let r;return r=n?t?Object(a.a)(Y,{from:"/",to:"/home",exact:!0}):Object(a.a)(Y,{from:"/",to:"/deck/getting-started",exact:!0}):y.w&&y.q&&null!=y.d&&y.d.accounts[y.q]?Object(a.a)(Y,{from:"/",to:`/@${y.d.accounts[y.q].username}`,exact:!0}):y.D&&y.C?Object(a.a)(Y,{from:"/",to:"/explore",exact:!0}):Object(a.a)(Y,{from:"/",to:"/about",exact:!0}),Object(Se.jsx)(Ut,{ref:this.setRef,singleColumn:t,children:Object(a.a)(Wt,{}
1,void 0,r,t?Object(a.a)(Y,{from:"/deck",to:"/home",exact:!0}):null,t&&o.startsWith("/deck/")?Object(a.a)(Y,{from:o,to:o.slice(5)}):null,t||"/getting-started"!==o?null:Object(a.a)(Y,{from:"/getting-started",to:"/deck/getting-started",exact:!0}),Object(a.a)(zt,{path:"/getting-started",component:Ge.z,content:e}),Object(a.a)(zt,{path:"/keyboard-shortcuts",component:Ge.D,content:e}),Object(a.a)(zt,{path:"/about",component:Ge.a,content:e}),Object(a.a)(zt,{path:"/privacy-policy",component:Ge.O,content:e}),Object(a.a)(zt,{path:["/home","/timelines/home"],component:Ge.B,content:e}),Object(a.a)(Y,{from:"/timelines/public",to:"/public",exact:!0}),Object(a.a)(Y,{from:"/timelines/public/local",to:"/public/local",exact:!0}),Object(a.a)(zt,{path:"/public",exact:!0,component:Ge.u,componentParams:{feedType:"public"},content:e}),Object(a.a)(zt,{path:"/public/local",exact:!0,component:Ge.u,componentParams:{feedType:"community"},content:e}),Object(a.a)(zt,{path:"/public/remote",exact:!0,component:Ge.u,componentParams:{feedType:"public:remote"},content:e}),Object(a.a)(zt,{path:["/conversations","/timelines/direct"],component:Ge.l,content:e}),Object(a.a)(zt,{path:"/tags/:id",component:Ge.A,content:e}),Object(a.a)(zt,{path:"/lists/:id",component:Ge.G,content:e}),Object(a.a)(zt,{path:"/notifications",component:Ge.L,content:e}),Object(a.a)(zt,{path:"/favourites",component:Ge.r,content:e}),Object(a.a)(zt,{path:"/bookmarks",component:Ge.g,content:e}),Object(a.a)(zt,{path:"/pinned",component:Ge.N,content:e}),Object(a.a)(zt,{path:"/start",exact:!0,component:Ge.M,content:e}),Object(a.a)(zt,{path:"/directory",component:Ge.m,content:e}),Object(a.a)(zt,{path:["/explore","/search"],component:Ge.q,content:e}),Object(a.a)(zt,{path:["/publish","/statuses/new"],component:Ge.k,content:e}),Object(a.a)(zt,{path:["/@:acct","/accounts/:id"],exact:!0,component:Ge.c,content:e}),Object(a.a)(zt,{path:"/@:acct/tagged/:tagged?",exact:!0,component:Ge.c,content:e}),Object(a.a)(zt,{path:["/@:acct/with_replies","/accounts/:id/with_replies"],component:Ge.c,content:e,componentParams:{withReplies:!0}}),Object(a.a)(zt,{path:["/accounts/:id/followers","/users/:acct/followers","/@:acct/followers"],component:Ge.x,content:e}),Object(a.a)(zt,{path:["/accounts/:id/following","/users/:acct/following","/@:acct/following"],component:Ge.y,content:e}),Object(a.a)(zt,{path:["/@:acct/media","/accounts/:id/media"],component:Ge.b,content:e}),Object(a.a)(zt,{path:"/@:acct/:statusId",exact:!0,component:Ge.S,content:e}),Object(a.a)(zt,{path:"/@:acct/:statusId/reblogs",component:Ge.Q,content:e}),Object(a.a)(zt,{path:"/@:acct/:statusId/favourites",component:Ge.s,content:e}),Object(a.a)(zt,{path:"/timelines/tag/:id",component:Ge.A,content:e}),Object(a.a)(zt,{path:"/timelines/list/:id",component:Ge.G,content:e}),Object(a.a)(zt,{path:"/statuses/:statusId",exact:!0,component:Ge.S,content:e}),Object(a.a)(zt,{path:"/statuses/:statusId/reblogs",component:Ge.Q,content:e}),Object(a.a)(zt,{path:"/statuses/:statusId/favourites",component:Ge.s,content:e}),Object(a.a)(zt,{path:"/follow_requests",component:Ge.v,content:e}),Object(a.a)(zt,{path:"/blocks",component:Ge.f,content:e}),Object(a.a)(zt,{path:"/domain_blocks",component:Ge.n,content:e}),Object(a.a)(zt,{path:"/followed_tags",component:Ge.w,content:e}),Object(a.a)(zt,{path:"/mutes",component:Ge.K,content:e}),Object(a.a)(zt,{path:"/lists",component:Ge.H,content:e}),Object(a.a)(d.a,{component:_e.a}))})}}Yt.contextTypes={identity:i.a.object};class Vt extends c.PureComponent{constructor(){super(...arguments),this.state={draggingOver:!1},this.handleBeforeUnload=e=>{const{intl:t,dispatch:n,isComposing:o,hasComposingText:r,hasMediaAttachments:a}=this.props;n(Object(X.e)()),o&&(r||a)&&(e.preventDefault(),e.returnValue=t.formatMessage(Jt.beforeUnload))},this.handleWindowFocus=()=>{this.props.dispatch(Object(Z.b)()),this.props.dispatch(Object(X.d)({immediate:!0}))},this.handleWindowBlur=()=>{this.props.dispatch(Object(Z.c)())},this.handleDragEnter=e=>{e.preventDefault(),this.dragTargets||(this.dragTargets=[]),-1===this.dragTargets.indexOf(e.target)&&this.dragTargets.push(e.target),e.dataTransfer&&Array.from(e.dataTransfer.types).includes("Files")&&this.props.canUploadMore&&this.context.
1identity.signedIn&&this.setState({draggingOver:!0})},this.handleDragOver=e=>{if(this.dataTransferIsText(e.dataTransfer))return!1;e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect="copy"}catch(e){}return!1},this.handleDrop=e=>{this.dataTransferIsText(e.dataTransfer)||(e.preventDefault(),this.setState({draggingOver:!1}),this.dragTargets=[],e.dataTransfer&&e.dataTransfer.files.length>=1&&this.props.canUploadMore&&this.context.identity.signedIn&&this.props.dispatch(Object(be.Eb)(e.dataTransfer.files)))},this.handleDragLeave=e=>{e.preventDefault(),e.stopPropagation(),this.dragTargets=this.dragTargets.filter((t=>t!==e.target&&this.node.contains(t))),this.dragTargets.length>0||this.setState({draggingOver:!1})},this.dataTransferIsText=e=>e&&1===Array.from(e.types).filter((e=>"text/plain"===e)).length,this.closeUploadModal=()=>{this.setState({draggingOver:!1})},this.handleServiceWorkerPostMessage=e=>{let{data:t}=e;"navigate"===t.type?this.context.router.history.push(t.path):console.warn("Unknown message type:",t.type)},this.handleLayoutChange=F()((()=>{this.props.dispatch(Object(ve.c)())}),500,{trailing:!0}),this.handleResize=()=>{const e=Object(L.c)();e!==this.props.layout?(this.handleLayoutChange.cancel(),this.props.dispatch(Object(Z.a)({layout:e}))):this.handleLayoutChange()},this.setRef=e=>{this.node=e},this.handleHotkeyNew=e=>{e.preventDefault();const t=this.node.querySelector(".compose-form__autosuggest-wrapper textarea");t&&t.focus()},this.handleHotkeySearch=e=>{e.preventDefault();const t=this.node.querySelector(".search__input");t&&t.focus()},this.handleHotkeyForceNew=e=>{this.handleHotkeyNew(e),this.props.dispatch(Object(be.yb)())},this.handleHotkeyToggleComposeSpoilers=e=>{e.preventDefault(),this.props.dispatch(Object(be.db)())},this.handleHotkeyFocusColumn=e=>{const t=1*e.key+1,n=this.node.querySelector(`.column:nth-child(${t})`);if(!n)return;const o=n.querySelector(".scrollable");if(o){const e=o.querySelector(".focusable");e&&(o.scrollTop>e.offsetTop&&e.scrollIntoView(!0),e.focus())}},this.handleHotkeyBack=()=>{var e;const{router:t}=this.context;null!=(e=t.history.location)&&null!=(e=e.state)&&e.fromMastodon?t.history.goBack():t.history.push("/")},this.setHotkeysRef=e=>{this.hotkeys=e},this.handleHotkeyToggleHelp=()=>{"/keyboard-shortcuts"===this.props.location.pathname?this.context.router.history.goBack():this.context.router.history.push("/keyboard-shortcuts")},this.handleHotkeyGoToHome=()=>{this.context.router.history.push("/home")},this.handleHotkeyGoToNotifications=()=>{this.context.router.history.push("/notifications")},this.handleHotkeyGoToLocal=()=>{this.context.router.history.push("/public/local")},this.handleHotkeyGoToFederated=()=>{this.context.router.history.push("/public")},this.handleHotkeyGoToDirect=()=>{this.context.router.history.push("/conversations")},this.handleHotkeyGoToStart=()=>{this.context.router.history.push("/getting-started")},this.handleHotkeyGoToFavourites=()=>{this.context.router.history.push("/favourites")},this.handleHotkeyGoToPinned=()=>{this.context.router.history.push("/pinned")},this.handleHotkeyGoToProfile=()=>{this.context.router.history.push(`/@${this.props.username}`)},this.handleHotkeyGoToBlocked=()=>{this.context.router.history.push("/blocks")},this.handleHotkeyGoToMuted=()=>{this.context.router.history.push("/mutes")},this.handleHotkeyGoToRequests=()=>{this.context.router.history.push("/follow_requests")}}componentDidMount(){const{signedIn:e}=this.context.identity;window.addEventListener("focus",this.handleWindowFocus,!1),window.addEventListener("blur",this.handleWindowBlur,!1),window.addEventListener("beforeunload",this.handleBeforeUnload,!1),window.addEventListener("resize",this.handleResize,{passive:!0}),document.addEventListener("dragenter",this.handleDragEnter,!1),document.addEventListener("dragover",this.handleDragOver,!1),document.addEventListener("drop",this.handleDrop,!1),document.addEventListener("dragleave",this.handleDragLeave,!1),document.addEventListener("dragend",this.handleDragEnd,!1),"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",this.handleServiceWorkerPostMessage),e&&(this.props.dispatch(Object(X.c)()),this.props.dispatch(Object(ye.u)()),this.props.dispatch(Object(r.o)()),this.props.dispatch(Object(Oe.p)()),setTimeout((()=>
1this.props.dispatch(Object(Oe.o)())),3e3)),this.hotkeys.__mousetrap__.stopCallback=(e,t)=>["TEXTAREA","SELECT","INPUT"].includes(t.tagName)}componentWillUnmount(){window.removeEventListener("focus",this.handleWindowFocus),window.removeEventListener("blur",this.handleWindowBlur),window.removeEventListener("beforeunload",this.handleBeforeUnload),window.removeEventListener("resize",this.handleResize),document.removeEventListener("dragenter",this.handleDragEnter),document.removeEventListener("dragover",this.handleDragOver),document.removeEventListener("drop",this.handleDrop),document.removeEventListener("dragleave",this.handleDragLeave),document.removeEventListener("dragend",this.handleDragEnd)}render(){const{draggingOver:e}=this.state,{children:t,isComposing:n,location:o,dropdownMenuIsOpen:r,layout:s}=this.props,i={help:this.handleHotkeyToggleHelp,new:this.handleHotkeyNew,search:this.handleHotkeySearch,forceNew:this.handleHotkeyForceNew,toggleComposeSpoilers:this.handleHotkeyToggleComposeSpoilers,focusColumn:this.handleHotkeyFocusColumn,back:this.handleHotkeyBack,goToHome:this.handleHotkeyGoToHome,goToNotifications:this.handleHotkeyGoToNotifications,goToLocal:this.handleHotkeyGoToLocal,goToFederated:this.handleHotkeyGoToFederated,goToDirect:this.handleHotkeyGoToDirect,goToStart:this.handleHotkeyGoToStart,goToFavourites:this.handleHotkeyGoToFavourites,goToPinned:this.handleHotkeyGoToPinned,goToProfile:this.handleHotkeyGoToProfile,goToBlocked:this.handleHotkeyGoToBlocked,goToMuted:this.handleHotkeyGoToMuted,goToRequests:this.handleHotkeyGoToRequests};return Object(Se.jsx)(K.HotKeys,{keyMap:Qt,handlers:i,ref:this.setHotkeysRef,attach:window,focused:!0,children:Object(Se.jsxs)("div",{className:U()("ui",{"is-composing":n}),ref:this.setRef,style:{pointerEvents:r?"none":null},children:[Object(a.a)(Le,{}),Object(a.a)(Yt,{location:o,singleColumn:"mobile"===s||"single-column"===s},void 0,t),"mobile"!==s&&Object(a.a)(fe,{}),Object(a.a)(qt.a,{}),Object(a.a)($t.a,{className:"loading-bar"}),Object(a.a)(Bt.a,{}),Object(a.a)(Pe,{active:e,onClose:this.closeUploadModal})]})})}}Vt.contextTypes={router:i.a.object.isRequired,identity:i.a.object.isRequired};var Kt=Object(p.connect)((e=>({layout:e.getIn(["meta","layout"]),isComposing:e.getIn(["compose","is_composing"]),hasComposingText:0!==e.getIn(["compose","text"]).trim().length,hasMediaAttachments:e.getIn(["compose","media_attachments"]).size>0,canUploadMore:!e.getIn(["compose","media_attachments"]).some((e=>["audio","video"].includes(e.get("type"))))&&e.getIn(["compose","media_attachments"]).size<4,dropdownMenuIsOpen:null!==e.getIn(["dropdown_menu","openId"]),firstLaunch:e.getIn(["settings","introductionVersion"],0)<ee.a,username:e.getIn(["accounts",y.o,"username"])})))(Object(G.c)(Object(V.a)(Vt))),Zt=n(77);const Xt=y.B,en=Object(g.b)(y.d);Rt.a.dispatch(en),y.d.meta.me&&Rt.a.dispatch(Object(m.b)());class tn extends c.PureComponent{constructor(){var e;super(...arguments),this.identity={signedIn:!!(e=y.d).meta.me,accountId:e.meta.me,disabledAccountId:e.meta.disabled_account_id,accessToken:e.meta.access_token,permissions:e.role?e.role.permissions:0}}getChildContext(){return{identity:this.identity}}componentDidMount(){this.identity.signedIn&&(this.disconnect=Rt.a.dispatch(Object(f.f)()))}componentWillUnmount(){this.disconnect&&(this.disconnect(),this.disconnect=null)}shouldUpdateScroll(e,t){var n,o,r;let{location:a}=t;return!(null!=(n=a.state)&&n.mastodonModalKey&&(null==(o=a.state)?void 0:o.mastodonModalKey)!==(null==e||null==(r=e.location)||null==(r=r.state)?void 0:r.mastodonModalKey))}render(){return Object(a.a)(Zt.a,{},void 0,Object(a.a)(p.Provider,{store:Rt.a},void 0,Object(a.a)(_,{},void 0,Object(a.a)(P,{},void 0,Object(a.a)(h.b,{shouldUpdateScroll:this.shouldUpdateScroll},void 0,Object(a.a)(d.a,{path:"/",component:Kt}))),Object(a.a)(l.a,{defaultTitle:Xt,titleTemplate:`%s - ${Xt}`}))))}}tn.childContextTypes={identity:i.a.shape({signedIn:i.a.bool.isRequired,accountId:i.a.string,disabledAccountId:i.a.string,accessToken:i.a.string}).isRequired};var nn="undefined"!=typeof performance&&performance,on=nn&&nn.now?function(){return nn.now()}:function(){return Date.now()};function rn(e){if(!e)throw new Error("name must be non-empty")}if(nn&&nn.mark&&nn.measure&&nn.getEntriesByName&&nn.getEntriesByType&&nn.clearMarks&&nn.clearMeasures)(function(e){rn(e),nn.mark("start "+e)}),function(e){rn(e),nn.mark("end "+e);var t=nn.measure(e,"start "+e,"end "+e);if(t)return t;var n=nn.getEntriesByName(e);return n[n.length-1]},function(){return nn.getEntriesByType("measure")},function(){nn.clearMarks(),nn.clearMeasures()};else{var an={},sn=[];(function(e){rn(e);var t=on();an["$"+e]=t}),function(e){rn(e);var t=on(),n=an["$"+e];if(!n)throw new Error("no known mark: "+e);var o={startTime:n,name:e,duration:t-n,entryType:"measure"};return function(e,t){for(var n,o=0,r=e.length;o<r;)e[n=o+r>>>1].startTime<t.startTime?o=n+1:r=n;e.splice(o,0,t)}(sn,o),o},function(){return sn},function(){an={},sn=[]}}var cn=n(43);var un=function(){return Object(cn.a)((async()=>{const e=document.getElementById("mastodon"),t=JSON.parse(e.getAttribute("data-props"));if(Object(o.createRoot)(e).render(Object(Se.jsx)(tn,{...t}
1)),Rt.a.dispatch(Object(r.v)()),y.o&&"serviceWorker"in navigator){const{Workbox:e}=await n.e(596).then(n.bind(null,1528)),t=new e("/sw.js");let o;try{o=await t.register()}catch(e){console.error(e)}if(o&&"Notification"in window&&"granted"===Notification.permission){const e=await Promise.resolve().then(n.bind(null,113));Rt.a.dispatch(e.register())}}}))},ln=n(133),dn=n(134);Object(ln.a)(),Object(dn.a)().then(Zt.c).then(un).catch((e=>{console.error(e)}))},144:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,o=/^data:.+\,.+$/;function r(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function a(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function s(e){var n=e,o=r(e);if(o){if(!o.path)return e;n=o.path}for(var s,i=t.isAbsolute(n),c=n.split(/\/+/),u=0,l=c.length-1;l>=0;l--)"."===(s=c[l])?c.splice(l,1):".."===s?u++:u>0&&(""===s?(c.splice(l+1,u),u=0):(c.splice(l,2),u--));return""===(n=c.join("/"))&&(n=i?"/":"."),o?(o.path=n,a(o)):n}t.urlParse=r,t.urlGenerate=a,t.normalize=s,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),i=r(e);if(i&&(e=i.path||"/"),n&&!n.scheme)return i&&(n.scheme=i.scheme),a(n);if(n||t.match(o))return t;if(i&&!i.host&&!i.path)return i.host=t,a(i);var c="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return i?(i.path=c,a(i)):c},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(n)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var o=e.lastIndexOf("/");if(o<0)return t;if((e=e.slice(0,o)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var i=!("__proto__"in Object.create(null));function c(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function l(e,t){return e===t?0:e>t?1:-1}t.toSetString=i?c:function(e){return u(e)?"$"+e:e},t.fromSetString=i?c:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var o=e.source-t.source;return 0!==o||0!==(o=e.originalLine-t.originalLine)||0!==(o=e.originalColumn-t.originalColumn)||n||0!==(o=e.generatedColumn-t.generatedColumn)||0!==(o=e.generatedLine-t.generatedLine)?o:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,n){var o=e.generatedLine-t.generatedLine;return 0!==o||0!==(o=e.generatedColumn-t.generatedColumn)||n||0!==(o=e.source-t.source)||0!==(o=e.originalLine-t.originalLine)||0!==(o=e.originalColumn-t.originalColumn)?o:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=l(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:l(e.name,t.name)}},196:function(e,t,n){var o,r,a;!function(s,i){"use strict";r=[n(957),n(958),n(959)],o=function(e,t,n){var o={filter:function(e){return-1===(e.functionName||"").indexOf("StackTrace$$")&&-1===(e.functionName||"").indexOf("ErrorStackParser$$")&&-1===(e.functionName||"").indexOf("StackTraceGPS$$")&&-1===(e.functionName||"").indexOf("StackGenerator$$")},sourceCache:{}},r=function(){try{throw new Error}catch(e){return e}};function a(e,t){var n={};return[e,t].forEach((function(e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n})),n}function s(e){return e.stack||e["opera#sourceloc"]}function i(e,t){return"function"==typeof t?e.filter(t):e}return{get:function(e){var t=r();return s(t)?this.fromError(t,e):this.generateArtificially(e)},getSync:function(n){n=a(o,n);var c=r();return i(s(c)?e.parse(c):t.backtrace(n),n.filter)},fromError:function(t,r){r=a(o,r);var s=new n(r);return new Promise(function(n){var o=i(e.parse(t),r.filter);n(Promise.all(o.map((function(e){return new Promise((function(t){function n(){t(e)}s.pinpoint(e).then(t,n).catch(n)}))}))))}.bind(this))},generateArtificially:function(e){e=a(o,e);var n=t.backtrace(e);return"function"==typeof e.filter&&(n=n.filter(e.filter)),Promise.resolve(n)},instrument:function(e,t,n,o){if("function"!=typeof e)throw new Error("Cannot instrument non-function object");
1if("function"==typeof e.__stacktraceOriginalFn)return e;var r=function(){try{return this.get().then(t,n).catch(n),e.apply(o||this,arguments)}catch(e){throw s(e)&&this.fromError(e).then(t,n).catch(n),e}}.bind(this);return r.__stacktraceOriginalFn=e,r},deinstrument:function(e){if("function"!=typeof e)throw new Error("Cannot de-instrument non-function object");return"function"==typeof e.__stacktraceOriginalFn?e.__stacktraceOriginalFn:e},report:function(e,t,n,o){return new Promise((function(r,a){var s=new XMLHttpRequest;if(s.onerror=a,s.onreadystatechange=function(){4===s.readyState&&(s.status>=200&&s.status<400?r(s.responseText):a(new Error("POST to "+t+" failed with status: "+s.status)))},s.open("post",t),s.setRequestHeader("Content-Type","application/json"),o&&"object"==typeof o.headers){var i=o.headers;for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&s.setRequestHeader(c,i[c])}var u={stack:e};null!=n&&(u.message=n),s.send(JSON.stringify(u))}))}}},void 0===(a="function"==typeof o?o.apply(t,r):o)||(e.exports=a)}()},224:function(e,t,n){var o,r,a;!function(n,s){"use strict";r=[],void 0===(a="function"==typeof(o=function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var o=["isConstructor","isEval","isNative","isToplevel"],r=["columnNumber","lineNumber"],a=["fileName","functionName","source"],s=["args"],i=["evalOrigin"],c=o.concat(r,a,s,i);function u(e){if(e)for(var n=0;n<c.length;n++)void 0!==e[c[n]]&&this["set"+t(c[n])](e[c[n]])}u.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof u)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new u(e)}},toString:function(){var e=this.getFileName()||"",t=this.getLineNumber()||"",n=this.getColumnNumber()||"",o=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+t+":"+n+")":"[eval]:"+t+":"+n:o?o+" ("+e+":"+t+":"+n+")":e+":"+t+":"+n}},u.fromString=function(e){var t=e.indexOf("("),n=e.lastIndexOf(")"),o=e.substring(0,t),r=e.substring(t+1,n).split(","),a=e.substring(n+1);if(0===a.indexOf("@"))var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a,""),i=s[1],c=s[2],l=s[3];return new u({functionName:o,args:r||void 0,fileName:i,lineNumber:c||void 0,columnNumber:l||void 0})};for(var l=0;l<o.length;l++)u.prototype["get"+t(o[l])]=n(o[l]),u.prototype["set"+t(o[l])]=function(e){return function(t){this[e]=Boolean(t)}}(o[l]);for(var d=0;d<r.length;d++)u.prototype["get"+t(r[d])]=n(r[d]),u.prototype["set"+t(r[d])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(r[d]);for(var p=0;p<a.length;p++)u.prototype["get"+t(a[p])]=n(a[p]),u.prototype["set"+t(a[p])]=function(e){return function(t){this[e]=String(t)}}(a[p]);return u})?o.apply(t,r):o)||(e.exports=a)}()},346:function(e,t,n){var o=n(347),r=n(144),a=n(348).ArraySet,s=n(962).MappingList;function i(e){e||(e={}),this._file=r.getArg(e,"file",null),this._sourceRoot=r.getArg(e,"sourceRoot",null),this._skipValidation=r.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new s,this._sourcesContents=null}i.prototype._version=3,i.fromSourceMap=function(e){var t=e.sourceRoot,n=new i({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var o={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(o.source=e.source,null!=t&&(o.source=r.relative(t,o.source)),o.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(o.name=e.name)),n.addMapping(o)})),e.sources.forEach((function(t){var o=e.sourceContentFor(t);null!=o&&n.setSourceContent(t,o)})),n},i.prototype.addMapping=function(e){var t=r.getArg(e,"generated"),n=r.getArg(e,"original",null),o=r.getArg(e,"source",null),a=r.getArg(e,"name",null);
vendor: 4,800 bytes, line 1
1this._skipValidation||this._validateMapping(t,n,o,a),null!=o&&(o=String(o),this._sources.has(o)||this._sources.add(o)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:o,name:a})},i.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=r.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},i.prototype.applySourceMap=function(e,t,n){var o=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');o=e.file}var s=this._sourceRoot;null!=s&&(o=r.relative(s,o));var i=new a,c=new a;this._mappings.unsortedForEach((function(t){if(t.source===o&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=r.join(n,t.source)),null!=s&&(t.source=r.relative(s,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var u=t.source;null==u||i.has(u)||i.add(u);var l=t.name;null==l||c.has(l)||c.add(l)}),this),this._sources=i,this._names=c,e.sources.forEach((function(t){var o=e.sourceContentFor(t);null!=o&&(null!=n&&(t=r.join(n,t)),null!=s&&(t=r.relative(s,t)),this.setSourceContent(t,o))}),this)},i.prototype._validateMapping=function(e,t,n,o){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||o)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:o}))},i.prototype._serializeMappings=function(){for(var e,t,n,a,s=0,i=1,c=0,u=0,l=0,d=0,p="",h=this._mappings.toArray(),m=0,g=h.length;m<g;m++){if(e="",(t=h[m]).generatedLine!==i)for(s=0;t.generatedLine!==i;)e+=";",i++;else if(m>0){if(!r.compareByGeneratedPositionsInflated(t,h[m-1]))continue;e+=","}e+=o.encode(t.generatedColumn-s),s=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=o.encode(a-d),d=a,e+=o.encode(t.originalLine-1-u),u=t.originalLine-1,e+=o.encode(t.originalColumn-c),c=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=o.encode(n-l),l=n)),p+=e}return p},i.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=r.relative(t,e));var n=r.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},i.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},i.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=i},347:function(e,t,n){var o=n(961);t.encode=function(e){var t,n="",r=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&r,(r>>>=5)>0&&(t|=32),n+=o.encode(t)}while(r>0);return n},t.decode=function(e,t,n){var r,a,s,i,c=e.length,u=0,l=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=o.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&a),u+=(a&=31)<<l,l+=5}while(r);n.value=(i=(s=u)>>1,1==(1&s)?-i:i),n.rest=t}},348:function(e,t,n){var o=n(144),r=Object.prototype.hasOwnProperty;function a(){this._array=[],this._set=Object.create(null)}a.fromArray=function(e,t){for(var n=new a,o=0,r=e.length;o<r;o++)n.add(e[o],t);return n},a.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=o.toSetString(e),a=r.call(this._set,n),s=this._array.length;a&&!t||this._array.push(e),a||(this._set[n]=s)},a.prototype.has=function(e){var t=o.toSetString(e);return r.call(this._set,t)},a.prototype.indexOf=function(e){var t=o.toSetString(e);if(r.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},t.ArraySet=a},957:function(e,t,n){var o,r,a;!function(s,i){"use strict";r=[n(224)],void 0===(a="function"==typeof(o=function(e){var t=/(^|@)\S+:\d+/,n=/^\s*
1at .*(\S+:\d+|\(native\))/m,o=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter((function(e){return!!e.match(n)}),this).map((function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),o=n.match(/ (\(.+\)$)/);n=o?n.replace(o[0],""):n;var r=this.extractLocation(o?o[1]:n),a=o&&n||void 0,s=["eval","<anonymous>"].indexOf(r[0])>-1?void 0:r[0];return new e({functionName:a,fileName:s,lineNumber:r[1],columnNumber:r[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(o)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,o=t.match(n),r=o&&o[1]?o[1]:void 0,a=this.extractLocation(t.replace(n,""));return new e({functionName:r,fileName:a[0],lineNumber:a[1],columnNumber:a[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,o=t.message.split("\n"),r=[],a=2,s=o.length;a<s;a+=2){var i=n.exec(o[a]);i&&r.push(new e({fileName:i[2],lineNumber:i[1],source:o[a]}))}return r},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,o=t.stacktrace.split("\n"),r=[],a=0,s=o.length;a<s;a+=2){var i=n.exec(o[a]);i&&r.push(new e({functionName:i[3]||void 0,fileName:i[2],lineNumber:i[1],source:o[a]}))}return r},parseOpera11:function(n){return n.stack.split("\n").filter((function(e){return!!e.match(t)&&!e.match(/^Error created at/)}),this).map((function(t){var n,o=t.split("@"),r=this.extractLocation(o.pop()),a=o.shift()||"",s=a.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;a.match(/\(([^)]*)\)/)&&(n=a.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var i=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:s,args:i,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:t})}),this)}}})?o.apply(t,r):o)||(e.exports=a)}()},958:function(e,t,n){var o,r,a;!function(s,i){"use strict";r=[n(224)],o=function(e){return{backtrace:function(t){var n=[],o=10;"object"==typeof t&&"number"==typeof t.maxStackSize&&(o=t.maxStackSize);for(var r=arguments.callee;r&&n.length<o&&r.arguments;){for(var a=new Array(r.arguments.length),s=0;s<a.length;++s)a[s]=r.arguments[s];/function(?:\s+([\w$]+))+\s*\(/.test(r.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:a})):n.push(new e({args:a}));try{r=r.caller}catch(e){break}}return n}}},void 0===(a="function"==typeof o?o.apply(t,r):o)||(e.exports=a)}()},959:function(e,t,n){var o,r,a;!function(s,i){"use strict";r=[n(960),n(224)],void 0===(a="function"==typeof(o=function(e,t){function n(e){return new Promise((function(t,n){var o=new XMLHttpRequest;o.open("get",e),o.onerror=n,o.onreadystatechange=function(){4===o.readyState&&(o.status>=200&&o.status<300||"file://"===e.substr(0,7)&&o.responseText?t(o.responseText):n(new Error("HTTP status: "+o.status+" retrieving "+e)))},o.send()}))}function o(e){if("undefined"!=typeof window&&window.atob)return window.atob(e);throw new Error("You must supply a polyfill for window.atob in this environment")}function r(e){if("undefined"!=typeof JSON&&JSON.parse)return JSON.parse(e);throw new Error("You must supply a polyfill for JSON.parse in this environment")}function a(e,t){for(var n=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],o=e.split("\n"),r="",a=Math.min(t,20),s=0;s<a;++s){var i=o[t-s-1],c=i.indexOf("//");if(c>=0&&(i=i.substr(0,c)),i){r=i+r;for(var u=n.length,l=0;l<u;l++){var d=n[l].exec(r);if(d&&d[1])return d[1]}}}}function s(){if("function"!=typeof Object.defineProperty||"function"!=typeof Object.create)throw new Error("Unable to consume source maps in older browsers")}function i(e){if("object"!=typeof e)throw new TypeError("Given StackFrame is not an object");
1if("string"!=typeof e.fileName)throw new TypeError("Given file name is not a String");if("number"!=typeof e.lineNumber||e.lineNumber%1!=0||e.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!=typeof e.columnNumber||e.columnNumber%1!=0||e.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}function c(e){for(var t,n,o=/\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/gm;n=o.exec(e);)t=n[1];if(t)return t;throw new Error("sourceMappingURL not found")}function u(e,n,o){return new Promise((function(r,a){var s=n.originalPositionFor({line:e.lineNumber,column:e.columnNumber});if(s.source){var i=n.sourceContentFor(s.source);i&&(o[s.source]=i),r(new t({functionName:s.name||e.functionName,args:e.args,fileName:s.source,lineNumber:s.line,columnNumber:s.column}))}else a(new Error("Could not get original source for given stackframe and source map"))}))}return function l(d){if(!(this instanceof l))return new l(d);d=d||{},this.sourceCache=d.sourceCache||{},this.sourceMapConsumerCache=d.sourceMapConsumerCache||{},this.ajax=d.ajax||n,this._atob=d.atob||o,this._get=function(e){return new Promise(function(t,n){var o="data:"===e.substr(0,5);if(this.sourceCache[e])t(this.sourceCache[e]);else if(d.offline&&!o)n(new Error("Cannot make network requests in offline mode"));else if(o){var r=/^data:application\/json;([\w=:"-]+;)*base64,/,a=e.match(r);if(a){var s=a[0].length,i=e.substr(s),c=this._atob(i);this.sourceCache[e]=c,t(c)}else n(new Error("The encoding of the inline sourcemap is not supported"))}else{var u=this.ajax(e,{method:"get"});this.sourceCache[e]=u,u.then(t,n)}}.bind(this))},this._getSourceMapConsumer=function(t,n){return new Promise(function(o){if(this.sourceMapConsumerCache[t])o(this.sourceMapConsumerCache[t]);else{var a=new Promise(function(o,a){return this._get(t).then((function(t){"string"==typeof t&&(t=r(t.replace(/^\)\]\}'/,""))),void 0===t.sourceRoot&&(t.sourceRoot=n),o(new e.SourceMapConsumer(t))})).catch(a)}.bind(this));this.sourceMapConsumerCache[t]=a,o(a)}}.bind(this))},this.pinpoint=function(e){return new Promise(function(t,n){this.getMappedLocation(e).then(function(e){function n(){t(e)}this.findFunctionName(e).then(t,n).catch(n)}.bind(this),n)}.bind(this))},this.findFunctionName=function(e){return new Promise(function(n,o){i(e),this._get(e.fileName).then((function(o){var r=e.lineNumber,s=e.columnNumber,i=a(o,r,s);n(i?new t({functionName:i,args:e.args,fileName:e.fileName,lineNumber:r,columnNumber:s}):e)}),o).catch(o)}.bind(this))},this.getMappedLocation=function(e){return new Promise(function(t,n){s(),i(e);var o=this.sourceCache,r=e.fileName;this._get(r).then(function(n){var a=c(n),s="data:"===a.substr(0,5),i=r.substring(0,r.lastIndexOf("/")+1);return"/"===a[0]||s||/^https?:\/\/|^\/\//i.test(a)||(a=i+a),this._getSourceMapConsumer(a,i).then((function(n){return u(e,n,o).then(t).catch((function(){t(e)}))}))}.bind(this),n).catch(n)}.bind(this))}}})?o.apply(t,r):o)||(e.exports=a)}()},960:function(e,t,n){t.SourceMapGenerator=n(346).SourceMapGenerator,t.SourceMapConsumer=n(963).SourceMapConsumer,t.SourceNode=n(966).SourceNode},961:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},962:function(e,t,n){var o=n(144);function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},r.prototype.add=function(e){var t,n,r,a,s,i;t=this._last,n=e,r=t.generatedLine,a=n.generatedLine,s=t.generatedColumn,i=n.generatedColumn,a>r||a==r&&i>=s||o.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(o.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=r},963:function(e,t,n){var o=n(144),r=n(964),a=n(348).ArraySet,s=n(347),i=n(965).quickSort;function c(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new d(t):new u(t)}function u(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=o.getArg(t,"version"),r=o.getArg(t,"sources"),s=o.getArg(t,"names",[]),i=o.getArg(t,"sourceRoot",null),c=o.getArg(t,"sourcesContent",null),u=o.getArg(t,"mappings"),l=o.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(o.normalize).map((function(e){return i&&o.isAbsolute(i)&&o.isAbsolute(e)?o.relative(i,e):e})),this._names=a.fromArray(s.map(String),!0),this._sources=a.fromArray(r,!0),this.sourceRoot=i,this.sourcesContent=c,this._mappings=u,this.file=l}function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=o.getArg(t,"version"),r=o.getArg(t,"sections");
vendor: 4,457 bytes, line 1
1if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new a,this._names=new a;var s={line:-1,column:0};this._sections=r.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=o.getArg(e,"offset"),n=o.getArg(t,"line"),r=o.getArg(t,"column");if(n<s.line||n===s.line&&r<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=t,{generatedOffset:{generatedLine:n+1,generatedColumn:r+1},consumer:new c(o.getArg(e,"map"))}}))}c.fromSourceMap=function(e){return u.fromSourceMap(e)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},c.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,t,n){var r,a=t||null;switch(n||c.GENERATED_ORDER){case c.GENERATED_ORDER:r=this._generatedMappings;break;case c.ORIGINAL_ORDER:r=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;r.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=s&&(t=o.join(s,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,a)},c.prototype.allGeneratedPositionsFor=function(e){var t=o.getArg(e,"line"),n={source:o.getArg(e,"source"),originalLine:t,originalColumn:o.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=o.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var a=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(s>=0){var i=this._originalMappings[s];if(void 0===e.column)for(var c=i.originalLine;i&&i.originalLine===c;)a.push({line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++s];else for(var u=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==u;)a.push({line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++s]}return a},t.SourceMapConsumer=c,u.prototype=Object.create(c.prototype),u.prototype.consumer=c,u.fromSourceMap=function(e){var t=Object.create(u.prototype),n=t._names=a.fromArray(e._names.toArray(),!0),r=t._sources=a.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var s=e._mappings.toArray().slice(),c=t.__generatedMappings=[],d=t.__originalMappings=[],p=0,h=s.length;p<h;p++){var m=s[p],g=new l;g.generatedLine=m.generatedLine,g.generatedColumn=m.generatedColumn,m.source&&(g.source=r.indexOf(m.source),g.originalLine=m.originalLine,g.originalColumn=m.originalColumn,m.name&&(g.name=n.indexOf(m.name)),d.push(g)),c.push(g)}return i(t.__originalMappings,o.compareByOriginalPositions),t},u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){return this._sources.toArray().map((function(e){return null!=this.sourceRoot?o.join(this.sourceRoot,e):e}),this)}}),u.prototype._parseMappings=function(e,t){for(var n,r,a,c,u,d=1,p=0,h=0,m=0,g=0,f=0,b=e.length,v=0,O={},y={},_=[],j=[];v<b;)if(";"===e.charAt(v))d++,v++,p=0;else if(","===e.charAt(v))v++;else{for((n=new l).generatedLine=d,c=v;c<b&&!this._charIsMappingSeparator(e,c);c++);if(a=O[r=e.slice(v,c)])v+=r.length;else{for(a=[];v<c;)s.decode(e,v,y),u=y.value,v=y.rest,a.push(u);if(2===a.length)throw new Error("Found a source, but no line and column");if(3===a.length)throw new Error("Found a source and line, but no column");O[r]=a}n.generatedColumn=p+a[0],p=n.generatedColumn,a.length>
vendor: 7,315 bytes, line 1
11&&(n.source=g+a[1],g+=a[1],n.originalLine=h+a[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=m+a[3],m=n.originalColumn,a.length>4&&(n.name=f+a[4],f+=a[4])),j.push(n),"number"==typeof n.originalLine&&_.push(n)}i(j,o.compareByGeneratedPositionsDeflated),this.__generatedMappings=j,i(_,o.compareByOriginalPositions),this.__originalMappings=_},u.prototype._findMapping=function(e,t,n,o,a,s){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return r.search(e,t,a,s)},u.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},u.prototype.originalPositionFor=function(e){var t={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",o.compareByGeneratedPositionsDeflated,o.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(n>=0){var r=this._generatedMappings[n];if(r.generatedLine===t.generatedLine){var a=o.getArg(r,"source",null);null!==a&&(a=this._sources.at(a),null!=this.sourceRoot&&(a=o.join(this.sourceRoot,a)));var s=o.getArg(r,"name",null);return null!==s&&(s=this._names.at(s)),{source:a,line:o.getArg(r,"originalLine",null),column:o.getArg(r,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},u.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=o.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=o.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(e){var t=o.getArg(e,"source");if(null!=this.sourceRoot&&(t=o.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")},r=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(r>=0){var a=this._originalMappings[r];if(a.source===n.source)return{line:o.getArg(a,"generatedLine",null),column:o.getArg(a,"generatedColumn",null),lastColumn:o.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=u,d.prototype=Object.create(c.prototype),d.prototype.constructor=c,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:o.getArg(e,"line"),generatedColumn:o.getArg(e,"column")},n=r.search(t,this._sections,(function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),a=this._sections[n];return a?a.consumer.originalPositionFor({line:t.generatedLine-(a.generatedOffset.generatedLine-1),column:t.generatedColumn-(a.generatedOffset.generatedLine===t.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},d.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var o=this._sections[n].consumer.sourceContentFor(e,!0);if(o)return o}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(o.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r)return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],a=r.consumer._generatedMappings,s=0;s<a.length;s++){var c=a[s],u=r.consumer._sources.at(c.source);null!==r.consumer.sourceRoot&&(u=o.join(r.consumer.sourceRoot,u)),this._sources.add(u),u=this._sources.indexOf(u);var l=r.consumer._names.at(c.name);this._names.add(l),l=this._names.indexOf(l);var d={source:u,generatedLine:c.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(r.generatedOffset.generatedLine===c.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:l};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}i(this.__generatedMappings,o.compareByGeneratedPositionsDeflated),i(this.__originalMappings,o.compareByOriginalPositions)},t.IndexedSourceMapConsumer=d},964:function(e,t){function n(e,o,r,a,s,i){var c=Math.floor((o-e)/2)+e,u=s(r,a[c],!0);return 0===u?c:u>0?o-c>1?n(c,o,r,a,s,i):i==t.LEAST_UPPER_BOUND?o<a.length?o:-1:c:c-e>1?n(e,c,r,a,s,i):i==t.LEAST_UPPER_BOUND?c:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,o,r,a){if(0===o.length)return-1;var s=n(-1,o.length,e,o,r,a||t.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&0===r(o[s],o[s-1],!0);)--s;return s}},965:function(e,t){function n(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function o(e,t,r,a){if(r<a){var s=r-1;n(e,(l=r,d=a,Math.round(l+Math.random()*(d-l))),a);for(var i=e[a],c=r;c<a;c++)t(e[c],i)<=0&&n(e,s+=1,c);n(e,s+1,c);var u=s+1;o(e,t,r,u-1),o(e,t,u+1,a)}var l,d}t.quickSort=function(e,t){o(e,t,0,e.length-1)}},966:function(e,t,n){var o=n(346).SourceMapGenerator,r=n(144),a=/(\r?\n)/,s="$$$isSourceNode$$$";function i(e,t,n,o,r){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==r?null:r,this[s]=!0,null!=o&&this.add(o)}i.fromStringWithSourceMap=function(e,t,n){var o=new i,s=e.split(a),c=function(){return s.shift()+(s.shift()||"")},u=1,l=0,d=null;return t.eachMapping((function(e){if(null!==d){if(!(u<e.generatedLine)){var t=(n=s[0]).substr(0,e.generatedColumn-l);return s[0]=n.substr(e.generatedColumn-l),l=e.generatedColumn,p(d,t),void(d=e)}p(d,c()),u++,l=0}for(;u<e.generatedLine;)o.add(c()),u++;if(l<e.generatedColumn){var n=s[0];o.add(n.substr(0,e.generatedColumn)),s[0]=n.substr(e.generatedColumn),l=e.generatedColumn}d=e}),this),s.length>
vendor: 2,730 bytes, line 1
10&&(d&&p(d,c()),o.add(s.join(""))),t.sources.forEach((function(e){var a=t.sourceContentFor(e);null!=a&&(null!=n&&(e=r.join(n,e)),o.setSourceContent(e,a))})),o;function p(e,t){if(null===e||void 0===e.source)o.add(t);else{var a=n?r.join(n,e.source):e.source;o.add(new i(e.originalLine,e.originalColumn,a,t,e.name))}}},i.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},i.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},i.prototype.walk=function(e){for(var t,n=0,o=this.children.length;n<o;n++)(t=this.children[n])[s]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},i.prototype.join=function(e){var t,n,o=this.children.length;if(o>0){for(t=[],n=0;n<o-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},i.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[s]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},i.prototype.setSourceContent=function(e,t){this.sourceContents[r.toSetString(e)]=t},i.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][s]&&this.children[t].walkSourceContents(e);var o=Object.keys(this.sourceContents);for(t=0,n=o.length;t<n;t++)e(r.fromSetString(o[t]),this.sourceContents[o[t]])},i.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},i.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new o(e),r=!1,a=null,s=null,i=null,c=null;return this.walk((function(e,o){t.code+=e,null!==o.source&&null!==o.line&&null!==o.column?(a===o.source&&s===o.line&&i===o.column&&c===o.name||n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name}),a=o.source,s=o.line,i=o.column,c=o.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),a=null,r=!1);for(var u=0,l=e.length;u<l;u++)10===e.charCodeAt(u)?(t.line++,t.column=0,u+1===l?(a=null,r=!1):r&&n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=i}
1},[[1067,0]]]);
2//# sourceMappingURL=application-f0899bdabd03818a273e.chunk.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.