/*! For license information please see GithubPicker.05dc77bb0347f7838962.js.LICENSE.txt */ (self.webpackChunkapp=self.webpackChunkapp||[]).push([[3203],{27926:function(t,e,n){"use strict";n.d(e,{Z:function(){return C}});var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),c=n(90569),s=n.n(c),u=n(3565),l=n.n(u),f=n(19216),d=n.n(f),h=n(44589),p=n.n(h),y=n(56281),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=s().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=d(),o()(y.Z,m);var v=y.Z&&y.Z.locals?y.Z.locals:void 0,g=n(85893);function b(t){return b="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},b(t)}var A=["children","secondary","className"];function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function w(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,A);return(0,g.jsx)("button",w(w({className:[r,v.action,n&&v.secondary].join(" ")},o),{},{children:e}))}E.defaultProps={className:""};var C=E},72054:function(t,e,n){"use strict";n.d(e,{Z:function(){return E}});var r=n(67294),o=n(45697),i=n.n(o),a=n(41051),c=n(93379),s=n.n(c),u=n(7795),l=n.n(u),f=n(90569),d=n.n(f),h=n(3565),p=n.n(h),y=n(19216),m=n.n(y),v=n(44589),g=n.n(v),b=n(56634),A={};A.styleTagTransform=g(),A.setAttributes=p(),A.insert=d().bind(null,"head"),A.domAPI=l(),A.insertStyleElement=m(),s()(b.Z,A);var x=b.Z&&b.Z.locals?b.Z.locals:void 0,w=n(85893);function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,w),c=e(i)||!i&&r&&"cannot be empty";return(0,A.jsxs)("span",{className:b.wrapper,children:[(0,A.jsx)("input",E({type:"text",value:i},a)),c&&(0,A.jsx)("span",{className:b.error,children:c})]})}O.propTypes={value:o().any.isRequired,required:o().bool,validator:o().func}},92087:function(t,e,n){"use strict";var r=n(45697),o=n.n(r),i=n(96186),a=n(64261),c=n(80031),s=n(85893);function u(t){var e=t.onDismiss;return(0,s.jsx)(a.Z,{children:(0,s.jsxs)(i.Z,{onDismiss:e,children:[(0,s.jsx)("h2",{children:"Automatic Layout Generation Failed"}),(0,s.jsx)("p",{children:"No accompanying layout was found with your keymap file and the Keymap Editor was unable to generate one automatically for you."}),(0,s.jsx)("p",{children:"Something went wrong with the attempted automatic layout generation for your keyboard and there's no automatic way to recover, but if you want to reach out for assistance maybe we can work together to resolve any technical issues or else craft a manual layout for your keyboard."}),(0,s.jsxs)("p",{children:["Share your experience at ",c.qM,"."]})]})})}u.propTypes={onDismiss:o().func.isRequired},e.Z=u},12160:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return Ue}});var r=n(13311),o=n.n(r),i=n(66379),a=n.n(i),c=n(67294),s=n(45697),u=n.n(s),l=n(93965),f=n(96186),d=n(64261),h=n(85893),p={maxHeight:"300px",overflow:"auto",padding:"10px",fontFamily:"monospace",fontSize:"80%",backgroundColor:"rgb(239, 239, 239, 0.5)"},y={margin:"10px"};function m(t){var e=t.onDismiss,n=t.title,r=t.errors,o=function(t){if("InfoValidationError"===t)return"config/info.json"}(n);return(0,h.jsx)(d.Z,{children:(0,h.jsxs)(f.Z,{onDismiss:e,children:[(0,h.jsx)("h2",{children:n}),o&&(0,h.jsxs)("p",{children:["Errors in the file ",(0,h.jsx)("code",{children:o}),"."]}),(0,h.jsx)("ul",{style:p,children:r.map((function(t,e){return(0,h.jsx)("li",{style:y,children:t},e)}))})]})})}var v=n(97168),g=n(35161),b=n.n(g),A="selectedGithubRepository",x="selectedGithubBranch",w="selectedGithubKeyboard";function j(t,e){try{return JSON.parse(localStorage.getItem("".concat(w,":").concat(t,":").concat(e)))}catch(t){return null}}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(e=r[0].id),t.initialized=!0,t.selectedRepoId=e},loadingBranchesList:function(t){t.noBranches=!1,t.loading=!0},loadedBranchesList:function(t,e){var n=t.selectedRepoId,r=e.payload.branches,i=o()(l.Z.repositories,{id:n});t.noBranches=0===r.length,t.branches=r,t.keyboard=null,t.keyboards=[],t.loading=!1;for(var a=b()(r,"name"),c=i.default_branch,s=function(t){try{return JSON.parse(localStorage.getItem("".concat(x,":").concat(t)))}catch(t){return null}}(n),u=0,f=[1===r.length?r[0].name:null,s,c];u.json"}),"."]}),D.Yo,D.t6]})})}$.propTypes={onDismiss:u().func.isRequired};var R=$;function Y(){return(0,h.jsx)(d.Z,{centerOnly:!0,children:(0,h.jsxs)(f.Z,{dismissText:null,style:{width:"400px"},children:[(0,h.jsx)("h2",{children:"Authenticate with GitHub"}),(0,h.jsx)("p",{children:"Please log-in to GitHub to continue."}),(0,h.jsx)(Z.Z,{collection:"brands",icon:"github",text:"Login with GitHub",style:{display:"block",margin:"0 auto"},onClick:function(){return l.Z.beginLoginFlow()}})]})})}Y.propTypes={};var F=Y;function q(){var t=l.Z.username?"Welcome, ".concat(l.Z.username,"!"):"Welcome!";return(0,h.jsx)(d.Z,{centerOnly:!0,children:(0,h.jsxs)(f.Z,{style:{maxWidth:"min-content"},dismissText:null,children:[(0,h.jsx)("h2",{children:t}),(0,h.jsxs)("p",{children:["To begin importing your own keymaps, you'll need to grant the Keymap Editor app access to your relevant GitHub repositories. Please make sure to ",(0,h.jsx)("em",{children:"only"})," select repositories that are set up for ZMK keyboard configurations."]}),(0,h.jsxs)("p",{children:["This app requires read and write access to the repositories you select in order to write to arbitrary ",(0,h.jsx)("code",{children:".keymap"})," files. It also receives all build action events for the repository, which generates quite a bit of traffic."]}),(0,h.jsxs)("div",{style:{display:"flex",gap:"20px",textAlign:"center"},children:[(0,h.jsxs)("div",{children:[(0,h.jsx)("p",{children:(0,h.jsx)("img",{alt:"Example correct GitHub installation selection",src:"repo-selection-good.png"})}),(0,h.jsx)("p",{children:(0,h.jsx)("strong",{children:"Do this!"})})]}),(0,h.jsxs)("div",{children:[(0,h.jsx)("p",{children:(0,h.jsx)("img",{alt:"Example incorrect GitHub installation selection",src:"repo-selection-bad.png"})}),(0,h.jsx)("p",{children:(0,h.jsx)("strong",{children:"Don't do this!"})})]})]}),(0,h.jsxs)("p",{children:["Selecting ",(0,h.jsx)("code",{children:"All repositories"})," for the app installation will lead to a suspension."]}),(0,h.jsx)(Z.Z,{collection:"brands",icon:"github",text:"Add Repository",style:{display:"block",margin:"0 auto",fontSize:"120%",padding:"5px 10px"},onClick:function(){return l.Z.beginInstallAppFlow()}})]})})}q.propTypes={};var H=q,K=(0,h.jsx)(P.Z,{external:!0,href:"https://zmk.dev/docs/user-setup#user-config-setup-script",children:"User Config Setup Script"});function W(t){var e=t.onDismiss;return(0,h.jsx)(d.Z,{children:(0,h.jsxs)(f.Z,{onDismiss:e,children:[(0,h.jsx)("h2",{children:"Empty Repository"}),(0,h.jsxs)("p",{children:["The selected repository doesn't appear to contain anything yet. please be sure to use ZMK's ",K," to initialize your repo first."]}),D.t6]})})}var z=n(41051);function U(t){var e=t.onDismiss;return(0,h.jsx)(d.Z,{children:(0,h.jsxs)(f.Z,{onDismiss:e,children:[(0,h.jsx)("h2",{children:"No Keymap Available"}),(0,h.jsxs)("p",{children:["We couldn't find a ",(0,h.jsx)("code",{children:".keymap"})," file in your ",(0,h.jsx)("code",{children:"config/"})," folder."]}),(0,h.jsxs)("p",{children:["Please ensure that any keymap(s) you wish to edit are placed in that directory even if an accompanying keyboard definition exists in your under the ",(0,h.jsx)("code",{children:"config/boards/..."})," directory."]}),(0,h.jsxs)("p",{children:["If you have any questions please feel free to reach out by creating an issue at ",D.qM,"."]})]})})}U.propTypes={onDismiss:u().func.isRequired};var V=U,J=n(93379),Q=n.n(J),X=n(7795),tt=n.n(X),et=n(90569),nt=n.n(et),rt=n(3565),ot=n.n(rt),it=n(19216),at=n.n(it),ct=n(44589),st=n.n(ct),ut=n(92127),lt={};lt.styleTagTransform=st(),lt.setAttributes=ot(),lt.insert=nt().bind(null,"head"),lt.domAPI=tt(),lt.insertStyleElement=at(),Q()(ut.Z,lt);var ft=ut.Z&&ut.Z.locals?ut.Z.locals:void 0;function dt(t){return dt="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},dt(t)}var ht=["children"];function pt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function yt(t){for(var e=1;e=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,ht);return(0,h.jsxs)("div",yt(yt({},n),{},{className:ft.spinner,children:[(0,h.jsx)("i",{className:"".concat(ft.icon," fa fa-spinner")}),e]}))}function gt(){return(0,h.jsx)(z.Z,{name:"shield",title:"Branch is protected -- cannot commit changes"})}function bt(t){var e=t.state,n=t.actions,r=t.choices,i=t.selections,a=r.repositories,c=r.repositoryChoices,s=r.branchChoices,u=r.keyboardChoices,f=i.selectedRepoChoice,d=i.selectedBranchChoice,p=i.selectedKeyboardChoice,y=e.branches,m=e.keyboards,v=e.loading;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(S.Ph,{label:"Repository",value:f,options:c,onChange:function(t){var e=t.id;if("installation"!==t.type){var r=o()(a,{id:e});n.selectedRepository({repository:r})}else l.Z.manageInstallationRepos(e)},getValue:function(t){return t.id},getOptionValue:function(t){return t.id},getOptionLabel:function(t){return t.full||t.name},formatOptionLabel:function(t,e){var n=e.context;return(0,h.jsx)(h.Fragment,{children:"value"===n?t.name:t.full||t.name})}}),y.length>1&&(0,h.jsx)(S.Ph,{label:"Branch",value:d,options:s,onChange:function(t){var e=t.id;return n.selectedBranch({name:e})},getOptionValue:function(t){return t.id},getOptionLabel:function(t){return t.name},formatOptionLabel:function(t){return(0,h.jsxs)(h.Fragment,{children:[t.protected&&(0,h.jsx)(gt,{})," ",t.name]})}}),m.length>1&&(0,h.jsx)(S.Ph,{label:"Keyboard",value:p,options:u,getOptionValue:function(t){return t.id},getOptionLabel:function(t){return t.name},onChange:function(t){var e=t.id;return n.selectedKeyboard({name:e})}}),v&&(0,h.jsx)(S.oT,{children:(0,h.jsx)(vt,{})})]})}var At=n(80047),xt={};xt.styleTagTransform=st(),xt.setAttributes=ot(),xt.insert=nt().bind(null,"head"),xt.domAPI=tt(),xt.insertStyleElement=at(),Q()(At.Z,xt);var wt=At.Z&&At.Z.locals?At.Z.locals:void 0;function jt(t){var e,n=t.choices,r=t.selections,o=t.state,i=t.onExpand,a=n.keyboardChoices,c=r.selectedRepoChoice,s=o.selectedBranchName,u=o.selectedKeyboard,l=o.loading;return(0,h.jsx)("div",{onClick:i,children:(0,h.jsxs)("div",{className:wt.compactWrapper,children:[(0,h.jsxs)(S.oT,{id:"compact-github-picker",style:{display:"flex",flexDirection:"column",justifyContent:"center",lineHeight:"normal"},children:[(0,h.jsx)("span",{children:c.name}),(0,h.jsxs)("span",{style:{marginLeft:"10px",fontSize:"65%"},children:[(0,h.jsx)(z.Z,{name:"code-branch"}),(0,h.jsx)("span",{children:s})]})]}),(0,h.jsxs)(S.oT,{children:["/ ",l?(0,h.jsx)(vt,{}):(0,h.jsx)("span",{children:u||(null===(e=a[0])||void 0===e?void 0:e.name)})]})]})})}function Et(t){return Et="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},Et(t)}function Ct(){Ct=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function u(t,e,n,o){var i=e&&e.prototype instanceof d?e:d,a=Object.create(i.prototype),c=new C(o||[]);return r(a,"_invoke",{value:x(t,n,c)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function d(){}function h(){}function p(){}var y={};s(y,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==e&&n.call(v,i)&&(y=v);var g=p.prototype=d.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function o(r,i,a,c){var s=l(t[r],t,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==Et(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,c)}))}c(s.arg)}var i;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){o(t,n,e,r)}))}return i=i?i.then(r,r):r()}})}function x(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=l(t,e,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function w(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function j(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 E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Ot(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,o)}function kt(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Ot(i,r,o,a,c,"next",t)}function c(t){Ot(i,r,o,a,c,"throw",t)}a(void 0)}))}}function St(t){return function(t){if(Array.isArray(t))return Bt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Bt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Xt(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,o)}function te(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Xt(i,r,o,a,c,"next",t)}function c(t){Xt(i,r,o,a,c,"throw",t)}a(void 0)}))}}function ee(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ne(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Ee(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,o)}function Ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Le(t,e,n,r,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,o)}function Pe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);s=!0);}catch(t){u=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||Ze(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(t,e){if(t){if("string"==typeof t)return _e(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_e(t,e):void 0}}function _e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function Ne(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ge(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),o=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(o,2,"0")},m:function t(e,n){if(e.date()1)return t(a[0])}else{var c=e.name;b[c]=e,o=c}return!r&&o&&(g=o),o||!r&&g},w=function(t,e){if(A(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new E(n)},j=v;j.l=x,j.i=A,j.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var E=function(){function y(t){this.$L=x(t.locale,null,!0),this.parse(t)}var m=y.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(j.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return j},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)0,m<=y.r||!y.r){m<=1&&p>0&&(y=d[p-1]);var v=f[y.l];c&&(m=c(""+m)),u="string"==typeof v?v.replace("%d",m):v(m,r,y.l,l);break}}if(r)return u;var g=l?f.future:f.past;return"function"==typeof g?g(u):g.replace("%s",u)},r.to=function(t,e){return i(t,e,this,!0)},r.from=function(t,e){return i(t,e,this)};var a=function(t){return t.$u?n.utc():n()};r.toNow=function(t){return this.to(a(this),t)},r.fromNow=function(t){return this.from(a(this),t)}}}()},66379:function(t,e,n){var r=n(2958),o=n(1499);t.exports=function(t,e){return t===e||r(t,e,o(e))}},66317:function(){},99918:function(){}}]); //# sourceMappingURL=GithubPicker.05dc77bb0347f7838962.js.map