1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4089],{54089:function(t){/*! For license information please see main.js.LICENSE.txt */self,t.exports=(()=>{"use strict";var t={287:(t,e)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator,y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},d=Object.assign,v={};function m(t,e,r){this.props=t,this.context=e,this.refs=v,this.updater=r||y}function b(){}function g(t,e,r){this.props=t,this.context=e,this.refs=v,this.updater=r||y}m.prototype.isReactComponent={},m.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},m.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=m.prototype;var _=g.prototype=new b;_.constructor=g,d(_,m.prototype),_.isPureReactComponent=!0;var w=Array.isArray,E=Object.prototype.hasOwnProperty,S={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function x(t,e,n){var o,i={},a=null,u=null;
1if(null!=e)for(o in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(a=""+e.key),e)E.call(e,o)&&!k.hasOwnProperty(o)&&(i[o]=e[o]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var l=Array(c),s=0;s<c;s++)l[s]=arguments[s+2];i.children=l}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:r,type:t,key:a,ref:u,props:i,_owner:S.current}}function j(t){return"object"==typeof t&&null!==t&&t.$$typeof===r}var O=/\/+/g;function L(t,e){var r,n;return"object"==typeof t&&null!==t&&null!=t.key?(r=""+t.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(t){return n[t]})):e.toString(36)}function P(t,e,o){if(null==t)return t;var i=[],a=0;return function t(e,o,i,a,u){var c,l,s,f=typeof e;"undefined"!==f&&"boolean"!==f||(e=null);var p=!1;if(null===e)p=!0;else switch(f){case"string":case"number":p=!0;break;case"object":switch(e.$$typeof){case r:case n:p=!0}}if(p)return u=u(p=e),e=""===a?"."+L(p,0):a,w(u)?(i="",null!=e&&(i=e.replace(O,"$&/")+"/"),t(u,o,i,"",function(t){return t})):null!=u&&(j(u)&&(c=u,l=i+(!u.key||p&&p.key===u.key?"":(""+u.key).replace(O,"$&/")+"/")+e,u={$$typeof:r,type:c.type,key:l,ref:c.ref,props:c.props,_owner:c._owner}),o.push(u)),1;if(p=0,a=""===a?".":a+":",w(e))for(var y=0;y<e.length;y++){var d=a+L(f=e[y],y);p+=t(f,o,i,d,u)}else if("function"==typeof(d=null===(s=e)||"object"!=typeof s?null:"function"==typeof(s=h&&s[h]||s["@@iterator"])?s:null))for(e=d.call(e),y=0;!(f=e.next()).done;)p+=t(f=f.value,o,i,d=a+L(f,y++),u);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(o=String(e))?"object with keys {"+Object.keys(e).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return p}(t,i,"","",function(t){return e.call(o,t,a++)}),i}function C(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var R={current:null},N={transition:null};e.Children={map:P,forEach:function(t,e,r){P(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return P(t,function(){e++}),e},toArray:function(t){return P(t,function(t){return t})||[]},only:function(t){if(!j(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=m,e.Fragment=o,e.Profiler=a,e.PureComponent=g,e.StrictMode=i,e.Suspense=s,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:N,ReactCurrentOwner:S},e.cloneElement=function(t,e,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=d({},t.props),i=t.key,a=t.ref,u=t._owner;if(null!=e){if(void 0!==e.ref&&(a=e.ref,u=S.current),void 0!==e.ke
1y&&(i=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(l in e)E.call(e,l)&&!k.hasOwnProperty(l)&&(o[l]=void 0===e[l]&&void 0!==c?c[l]:e[l])}var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){c=Array(l);for(var s=0;s<l;s++)c[s]=arguments[s+2];o.children=c}return{$$typeof:r,type:t.type,key:i,ref:a,props:o,_owner:u}},e.createContext=function(t){return(t={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:t},t.Consumer=t},e.createElement=x,e.createFactory=function(t){var e=x.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:l,render:t}},e.isValidElement=j,e.lazy=function(t){return{$$typeof:p,_payload:{_status:-1,_result:t},_init:C}},e.memo=function(t,e){return{$$typeof:f,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=N.transition;N.transition={};try{t()}finally{N.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return R.current.useCallback(t,e)},e.useContext=function(t){return R.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return R.current.useDeferredValue(t)},e.useEffect=function(t,e){return R.current.useEffect(t,e)},e.useId=function(){return R.current.useId()},e.useImperativeHandle=function(t,e,r){return R.current.useImperativeHandle(t,e,r)},e.useInsertionEffect=function(t,e){return R.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return R.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return R.current.useMemo(t,e)},e.useReducer=function(t,e,r){return R.current.useReducer(t,e,r)},e.useRef=function(t){return R.current.useRef(t)},e.useState=function(t){return R.current.useState(t)},e.useSyncExternalStore=function(t,e,r){return R.current.useSyncExternalStore(t,e,r)},e.useTransition=function(){return R.current.useTransition()},e.version="18.2.0"},540:(t,e,r)=>{t.exports=r(287)}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{r.r(n),r.d(n,{default:()=>s});var t=r(540);function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){o=function(){return r};var t,r={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",s=u.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function p(e,r,n,o){var i,u,c=Object.create((r&&r.prototype instanceof b?r:b).prototype);return a(c,"_invoke",{value:(i=new P(o||[]),u=y,function(r,o){if(u===d)throw Error("Generator is already running");if(u===v){if("throw"===r)throw o;return{value:t,done:!0}}for(i.method=r,i.arg=o;;){var a=i.delegate;if(a){var c=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),m;var a=h(i,r.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var u=a.arg;return u?u.done?(n[r.resultName]=u.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):u:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,m)}(a,i);if(c){if(c===m)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(u===y)throw u=v,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);u=d;var l=h(e,n,i);if("normal"===l.type){if(u=i.done?v:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(u=v,i.method="throw",i.arg=l.arg)}})}),c}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=p;var y="suspendedStart",d="executing",v="completed",m={};function b(){}function g(){}function _(){}var w={};f(w,c,function(){return this});var E=Object.getPrototypeOf,S=E&&E(E(C([])));
1S&&S!==n&&i.call(S,c)&&(w=S);var k=_.prototype=b.prototype=Object.create(w);function x(t){["next","throw","return"].forEach(function(e){f(t,e,function(t){return this._invoke(e,t)})})}function j(t,r){var n;a(this,"_invoke",{value:function(o,a){function u(){return new r(function(n,u){(function n(o,a,u,c){var l=h(t[o],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==e(f)&&i.call(f,"__await")?r.resolve(f.__await).then(function(t){n("next",t,u,c)},function(t){n("throw",t,u,c)}):r.resolve(f).then(function(t){s.value=t,u(s)},function(t){return n("throw",t,u,c)})}c(l.arg)})(o,a,n,u)})}return n=n?n.then(u,u):u()}})}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(r){if(r||""===r){var n=r[c];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o<r.length;)if(i.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e};return a.next=a}}throw TypeError(e(r)+" is not iterable")}return g.prototype=_,a(k,"constructor",{value:_,configurable:!0}),a(_,"constructor",{value:g,configurable:!0}),g.displayName=f(_,s,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,f(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},r.awrap=function(t){return{__await:t}},x(j.prototype),f(j.prototype,l,function(){return this}),r.AsyncIterator=j,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new j(p(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next()})},x(k),f(k,s,"Generator"),f(k,c,function(){return this}),f(k,"toString",function(){return"[object Generator]"}),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=C,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},r}function i(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(a=function(){return!!t})()}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var s=function(r){var n,s,f;function p(t){var r,n,o;return function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,p),(n=p,o=[t],n=u(n),r=function(t,r){if(r&&("object"===e(r)||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return c(t)}(this,a()?Reflect.construct(n,o||[],u(this).constructor):n.apply(this,o))).state={loading:!0,title:"",content:""},r.handleNetworkErrors=r.handleNetworkErrors.bind(c(r)),r}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(p,r),n=[{key:"componentDidMount",value:function(){this.getGist()}},{key:"componentDidUpdate",value:function(t,e,r){t.gist!==this.props.gist&&this.getGist()}},{key:"getGist",value:(s=o().mark(function t(){var e,r,n,i,a,u,c=this;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(e=this.props).gist,n=e.file,i=r.split("/")[1]){t.next=3;break}return t.abrupt("return",this.setState({loading:!1,error:"".concat(r," is not val
1id format")}));case 3:return t.next=5,this.setState({loading:!0});case 5:this.setupCallback(i),a=document.createElement("script"),u="https://gist.github.com/".concat(r,".json?callback=gist_callback_").concat(i),n&&(u+="&file=".concat(n)),a.type="text/javascript",a.src=u,a.onerror=function(t){return c.handleNetworkErrors(t)},document.head.appendChild(a);case 13:case"end":return t.stop()}},t,this)}),f=function(){var t=this,e=arguments;return new Promise(function(r,n){var o=s.apply(t,e);function a(t){i(o,r,n,a,u,"next",t)}function u(t){i(o,r,n,a,u,"throw",t)}a(void 0)})},function(){return f.apply(this,arguments)})},{key:"handleNetworkErrors",value:function(t){this.setState({loading:!1,error:"".concat(this.props.gist," failed to load")})}},{key:"setupCallback",value:function(t){window["gist_callback_".concat(t)]=(function(t){var e={loading:!1,error:t.error||null};if(e.error||(e.title=t.description,e.content="".concat(t.div.replace(/href=/g,'target="_blank" href='))),this.setState(e),-1===document.head.innerHTML.indexOf(t.stylesheet)){var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=t.stylesheet,document.head.appendChild(r)}}).bind(this)}},{key:"render",value:function(){var e=this.props,r=e.loadingClass,n=e.wrapperClass,o=e.titleClass,i=e.contentClass,a=e.errorClass,u=e.loadingFallback;return this.state.loading?t.createElement("article",{className:r},u||"Loading ..."):this.state.error?t.createElement("article",{className:a},this.state.error):t.createElement("article",{className:n},t.createElement("h2",{className:o},this.state.title),t.createElement("section",{className:i,dangerouslySetInnerHTML:{__html:this.state.content}}))}}],function(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,function(t){var r=function(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!=e(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==e(r)?r:String(r)}(o.key),o)}}(p.prototype,n),Object.defineProperty(p,"prototype",{writable:!1}),p}(t.Component)})(),n})()}}]);
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.