You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var l in r)n.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},144:function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeofe&&(e=[[null,e,""]]);for(varr={},o=0;o<this.length;o++){vari=this[o][0];"number"==typeofi&&(r[i]=!0)}for(o=0;o<e.length;o++){vara=e[o];"number"==typeofa[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},145:function(e,t,n){varr,o,i={},a=(r=function(){returnwindow&&document&&document.all&&!window.atob},function(){returnvoid0===o&&(o=r.apply(this,arguments)),o}),l=function(e,t){returnt?t.querySelector(e):document.querySelector(e)},u=function(e){vart={};returnfunction(e,n){if("function"==typeofe)returne();if(void0===t[e]){varr=l.call(this,e,n);if(window.HTMLIFrameElement&&rinstanceofwindow.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}returnt[e]}}(),s=null,c=0,f=[],d=n(364);functionp(e,t){for(varn=0;n<e.length;n++){varr=e[n],o=i[r.id];if(o){o.refs++;for(vara=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(b(r.parts[a],t))}else{varl=[];for(a=0;a<r.parts.length;a++)l.push(b(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:l}}}}functionh(e,t){for(varn=[],r={},o=0;o<e.length;o++){vari=e[o],a=t.base?i[0]+t.base:i[0],l={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}returnn}functionm(e,t){varn=u(e.insertInto);if(!n)thrownewError("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");varr=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),f.push(t);elseif("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeofe.insertAt||!e.insertAt.before)thrownewError("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");varo=u(e.insertAt.before,n);n.insertBefore(t,o)}}functiony(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);vart=f.indexOf(e);t>=0&&f.splice(t,1)}functionv(e){vart=document.createElement("style");if(void0===e.attrs.type&&(e.attrs.type="text/css"),void0===e.attrs.nonce){varr=function(){0;returnn.nc}();r&&(e.attrs.nonce=r)}returng(t,e.attrs),m(e,t),t}functiong(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}functionb(e,t){varn,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))returnfunction(){};e.css=i}if(t.singleton){vara=c++;n=s||(s=v(t)),r=C.bind(null,n,a,!1),o=C.bind(null,n,a,!0)}elsee.sourceMap&&"function"==typeofURL&&"function"==typeofURL.createObjectURL&&"function"==typeofURL.revokeObjectURL&&"function"==typeofBlob&&"function"==typeofbtoa?(n=function(e){vart=document.createElement("link");returnvoid0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),m(e,t),t}(t),r=x.bind(null,n,t),o=function(){y(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=E.bind(null,n),o=function(){y(n)});returnr(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}elseo()}}e.exports=function(e,t){if("undefined"!=typeofDEBUG&&DEBUG&&"object"!=typeofdocument)thrownewError("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeoft.attrs?t.attrs:{},t.singleton||"boolean"==typeoft.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");varn=h(e,t);returnp(n,t),function(e){for(varr=[],o=0;o<n.length;o++){vara=n[o];(l=i[a.id]).refs--,r.push(l)}e&&p(h(e,t),t);for(o=0;o<r.length;o++){varl;if(0===(l=r[o]).refs){for(varu=0;u<l.parts.length;u++)l.parts[u]();deletei[l.id]}}}};var_,w=(_=[],function(e,t){return_[e]=t,_.filter(Boolean).join("\n")});functionC(e,t,n,r){varo=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{vari=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}functionE(e,t){varn=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}functionx(e,t,n){varr=n.css,o=n.sourceMap,i=void0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");vara=newBlob([r],{type:"text/css"}),l=e.href;e.href=URL.createObjectURL(a),l&&URL.revokeObjectURL(l)}},32:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CONTENT_SECTION_CLASSNAME="section-content",t.MEMBERSHIP_PROMPT_CLASSNAME="postFade",t.MEMBERSHIP_PROMPT_ID="paywall-background-color",t.METERED_CONTENT_CLASSNAME="meteredContent",t.USER_ID_KEY="userId",t.READ_COUNT_KEY="readCount",t.FETCH_CONTENT_MESSAGE="fetchContent",t.FETCH_USER_ID="fetchUserId"},351:function(e,t,n){"use strict";varr=u(n(352)),o=u(n(69)),i=u(n(361)),a=n(47),l=n(32);functionu(e){returne&&e.__esModule?e:{default:e}}vars=window.location.href,c=void0,f=document.createElement("div");f.setAttribute("id","mediumUnlimited"),document.body.appendChild(f);vard=!0;r.default.render(o.default.createElement(i.default,null),f),setInterval((function(){window.location.href!=s&&(s=window.location.href,window.location.href=window.location.href),(0,a.hasMembershipPrompt)(document)?d&&(d=!1,(0,a.log)("Content is hidden"),function(){vare=chrome.extension.getURL("static/loader.gif");(c=document.createElement("div")).innerHTML='\n <div style="margin: 50px; text-align: center;">\n Unlocking content, please wait...\n <img\n src="'+e+'"\n style="width: 200px;">\n </div>\n ',c.src=e;vart=document.getElementById(l.MEMBERSHIP_PROMPT_ID);if(!t){varn=document.getElementsByTagName("article")[0];t=n.nextSibling.nextSibling}t.parentElement.replaceChild(c,t),document.getElementsByTagName("footer")[0]&&(document.getElementsByTagName("footer")[0].style="margin-top: 100px;")}(),fetch(window.location.href).then((function(e){returne.text()})).then((function(e){vart,n,r=function(e){vart=document.createElement("html");returnt.innerHTML=e,t}(e),o=(0,a.getMeteredContentElement)(r);if(o){vari=(0,a.getMeteredContentElement)();returni.parentElement.replaceChild(o,i),o.style.marginBottom="5rem",Array.from(document.querySelectorAll("img")).filter((function(e){return!e.hasAttribute("src")&&"NOSCRIPT"===e.nextSibling.tagName})).forEach((function(e){returne.outerHTML=e.nextSibling.innerHTML})),t=c.parentElement.parentElement,(n=t.previousSibling)&&"root"!==n.parentElement.getAttribute("id")?(t.remove(),n.remove()):c.previousSibling.remove(),c.parentElement.removeChild(c),voidsetTimeout((function(){returndocument.getElementsByTagName("h1")[0].scrollIntoView({behavior:"smooth"})}),100)}}))):(0,a.log)("Content is open, nothing to do")}),1500)},352:function(e,t,n){"use strict";!functione(){if("undefined"!=typeof__REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(353)},353:function(e,t,n){"use strict";
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Browser Brave on Windows 10
Uncaught TypeError: Cannot read properties of undefined (reading 'scrollIntoView')
Context
https://medium.com/enrique-dans/drones-are-a-perfect-example-of-technological-progress-96e683752f31
Stack Trace
main.bundle.js:11 (anonymous function)
The text was updated successfully, but these errors were encountered: